1 2014-04-30 David S. Miller <davem@davemloft.net>
3 * sysdeps/sparc/bits/string.h (_STRING_ARCH_unaligned): Define to
6 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (EMT_TAGOVF): Protect
9 2014-04-30 Julian Brown <julian@codesourcery.com>
12 * sysdeps/arm/dl-machine.h (elf_machine_rela): Fix R_ARM_IRELATIVE
15 2014-04-30 Joseph Myers <joseph@codesourcery.com>
18 * sysdeps/unix/sysv/linux/configure.ac (LIBC_LINUX_VERSION):
20 (arch_minimum_kernel): Change all 2.6.16 settings to 2.6.32.
21 * sysdeps/unix/sysv/linux/configure: Regenerated.
22 * sysdeps/unix/sysv/linux/microblaze/configure.ac: Remove file.
23 * sysdeps/unix/sysv/linux/microblaze/configure: Likewise.
24 * sysdeps/unix/sysv/linux/tile/configure.ac: Likewise.
25 * sysdeps/unix/sysv/linux/tile/configure: Likewise.
26 * README: Update reference to required Linux kernel version.
27 * manual/install.texi (Linux): Update reference to required Linux
28 kernel headers version.
29 * INSTALL: Regenerated.
31 * conform/data/stdlib.h-data [POSIX] (stddef.h): Do not allow
33 [POSIX] (limits.h): Likewise.
34 [POSIX] (math.h): Likewise.
35 [POSIX] (sys/wait.h): Likewise.
36 * conform/data/string.h-data [POSIX || UNIX98] (strtok_r): Require
38 [POSIX] (stddef.h): Do not allow header inclusion.
40 2014-04-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
42 * sysdeps/generic/symbol-hacks.h (memcpy): Add internal alias.
44 2014-04-30 Yang Yingliang <yangyingliang@huawei.com>
46 * nptl/pthread_cond_broadcast.c (__pthread_cond_broadcast):
47 Return immediately after lll_futex_wake.
49 2014-04-30 Siddhesh Poyarekar <siddhesh@redhat.com>
52 * nscd/nscd-client.h (datahead_init_common): Initialize entire
54 (datahead_init_pos): Call datahead_init_common early.
55 (datahead_init_neg): Likewise.
57 * nscd/nscd-client.h (datahead_init_common, datahead_init_pos,
58 datahead_init_neg): New functions.
59 * nscd/aicache.c (addhstaiX): Use them.
60 * nscd/grpcache.c (cache_addgr): Likewise.
61 * nscd/hstcache.c (cache_addhst): Likewise.
62 * nscd/initgrcache.c (addinitgroupsX): Likewise.
63 * nscd/netgroupcache.c (do_notfound): Likewise.
64 (addgetnetgrentX): Likewise.
65 (addinnetgrX): Likewise.
66 * nscd/pwdcache.c (cache_addpw): Likewise.
67 * nscd/servicescache.c (cache_addserv): Likewise.
69 2014-04-30 Siddhesh Poyarekar <siddhesh@redhat.com>
70 Atsushi Onoe <atsushi@onoe.org>
75 * resolv/res_query.c (__libc_res_nsearch): Return if at least
76 one response is valid.
77 * resolv/res_send.c (send_dg): Check for validity of other
78 response if the current response is a referral.
80 2014-04-29 Steve Ellcey <sellcey@mips.com>
82 * iconv/skeleton.c (ONE_DIRECTION): Set default value if not set.
84 2014-04-29 Stefan Liebler <stli@linux.vnet.ibm.com>
87 * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl):
88 Always divide by positive zero when computing -Inf result.
89 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Likewise.
90 * sysdeps/ieee754/flt-32/s_log1pf.c (__log1pf): Likewise.
92 2014-04-28 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
94 * sysdeps/powerpc/fpu/fclrexcpt.c (__feclearexcept): Do not update
95 FPSCR if value do not change.
96 * sysdeps/powerpc/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
97 * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Likewise.
98 * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Likewise.
99 * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Likewise.
100 * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Likewise.
101 * sysdeps/powerpc/fpu/fenv_libc.h (fenv_reg_to_exceptions): New helper
104 2014-05-29 Carlos O'Donell <carlos@systemhalted.org>
106 * sysdeps/hppa: Move directory from ports/sysdeps/hppa.
107 * sysdeps/unix/sysv/linux/hppa: Move directory from
108 ports/systeps/unix/sysv/linux/hppa.
109 * README: Update listing for hppa-*-linux-gnu.
111 2014-04-28 Ondřej Bílka <neleai@seznam.cz>
114 * manual/stdio.texi (Hook functions): Fix types of stream hook
117 * socket/sys/socket.h: Fix typo in comment.
119 2014-04-28 Wilco <wdijkstr@arm.com>
121 * sysdeps/arm/fenv_private.h: New file.
122 * sysdeps/arm/math_private.h: New file.
123 * sysdeps/arm/fpu_control.h: Add _FPU_MASK_NCZV and _FPU_MASK_EXCEPT.
125 2014-04-25 H.J. Lu <hongjiu.lu@intel.com>
127 * sysdeps/x86/bits/link.h (La_x86_64_regs): Replace __int128
129 (La_x86_64_retval): Likewise.
131 2014-04-24 Ian Bolton <ian.bolton@arm.com>
133 * sysdeps/aarch64/fpu/fclrexcpt.c (feclearexcept): Don't write to
134 fpsr if value didn't change.
135 * sysdeps/aarch64/fpu/fedisblxcpt.c (fedisableexcept): Don't write
136 to fpcr if value didn't change.
137 * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept): Likewise.
138 * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept): Don't write to
139 fpsr or fpcr if value didn't change.
140 * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Likewise.
141 * sysdeps/aarch64/fpu/fesetround.c (fesetround): Don't write to
142 fpcr if value didn't change.
143 * sysdeps/aarch64/fpu/fsetexcptflg.c (fesetexceptflag): Don't write
144 to fpsr if value didn't change.
146 2014-02-23 Siddhesh Poyarekar <siddhesh@redhat.com>
148 * nptl/tst-sem3.c: Use test-skeleton.c
149 (main): Rename to do_test. Use return instead of
151 * nptl/tst-sem4.c: Use test-skeleton.c
152 (main): Rename to do_test.
154 2014-04-22 David S. Miller <davem@davemloft.net>
156 * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h
157 (struct sigaction): New struct member __glibc_reserved0, change
158 type of sa_flags to int.
160 2014-04-22 Yufeng Zhang <yufeng.zhang@arm.com>
162 * stdlib/longlong.h (count_leading_zeros, count_trailing_zeros)
163 (COUNT_LEADING_ZEROS_0): Define for AArch64.
165 2014-04-22 Siddhesh Poyarekar <siddhesh@redhat.com>
167 * nptl/sysdeps/unix/sysv/linux/sem_trywait.c: Include atomic.h.
168 * nptl/sysdeps/unix/sysv/linux/sem_wait.c: Likewise.
170 2014-04-22 Will Newton <will.newton@linaro.org>
171 Venkataramanan Kumar <venkataramanan.kumar@linaro.org>
173 * sysdeps/aarch64/__longjmp.S: Include stap-probe.h.
174 (__longjmp): Add longjmp and longjmp_target SystemTap
176 * sysdeps/aarch64/setjmp.S: Include stap-probe.h.
177 (__sigsetjmp): Add setjmp SystemTap probe.
179 2014-04-17 Carlos O'Donell <carlos@redhat.com>
181 * manual/intro.texi (Roadmap to the manual): Sort chapter listing to
184 2014-04-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
186 * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_once.c: Remove file.
188 * sysdeps/powerpc/fpu/fenv_private.h
189 (libc_feholdexcept_setroundl_ctx): Define to
190 libc_feholdexcept_setround_ppc_ctx.
191 (libc_fesetenvl_ctx): Define to libc_fesetenv_ppc_ctx.
192 (libc_feholdsetroundl_ctx): Define to libc_feholdsetround_ppc_ctx.
193 (libc_feresetroundl_ctx): Define to libc_feresetround_ppc_ctx.
194 (libc_feupdateenvl_ctx): libc_feupdateenv_ppc_ctx.
196 2014-04-17 Ian Bolton <ian.bolton@arm.com>
198 * sysdeps/aarch64/math-tests.h: New file.
200 2014-04-17 Sihai Yao <sihai.ysh@alibaba-inc.com>
202 * sysdeps/x86_64/multiarch/ifunc-defines.sym (COMMON_CPUID_INDEX_7):
204 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
205 Check and set bit_AVX2_Usable.
206 * sysdeps/x86_64/multiarch/init-arch.h (bit_AVX2_Usable): New
208 (bit_AVX2): Likewise.
209 (index_AVX2_Usable): Likewise.
210 (CPUID_AVX2): Likewise.
211 (HAS_AVX2): Likewise.
213 2014-04-17 Will Newton <will.newton@linaro.org>
215 * manual/setjmp.texi (System V contexts): Add note that
216 calling setcontext on a context created by a call to a
217 signal handler is undefined. Update text to note that
218 setcontext from a signal handler is possible but not
222 * stdlib/tst-setcontext.c: Include signal.h.
223 (main): Check that the signal stack before and
224 after swapcontext is the same.
226 * sysdeps/unix/sysv/linux/aarch64/setcontext.S (__setcontext):
227 Re-implement to restore registers in user code and avoid
228 rt_sigreturn system call.
230 2014-04-17 Wilco <wdijkstr@arm.com>
232 * sysdeps/arm/math-tests.h: New file: Set ARM math-test settings.
233 * sysdeps/generic/math-tests.h: Add macro (EXCEPTION_ENABLE_SUPPORTED).
234 * math/test-fenv.c: Skip exception trap tests on targets which only
235 support non-stop mode.
237 2014-04-17 Ian Bolton <ian.bolton@arm.com>
238 Wilco Dijkstra <wilco.dijkstra@arm.com>
240 * sysdeps/aarch64/fpu/math_private.h (HAVE_RM_CTX)
241 (libc_feholdsetround_aarch64_ctx)
242 (libc_feholdsetround_ctx, libc_feholdsetroundf_ctx)
243 (libc_feholdsetroundl_ctx, libc_feresetround_aarch64_ctx)
244 (libc_feresetround_ctx, libc_feresetroundf_ctx)
245 (libc_feresetroundl_ctx, libc_feresetround_noex_aarch64_ctx)
246 (libc_feresetround_noex_ctx, libc_feresetround_noexf_ctx)
247 (libc_feresetround_noexl_ctx): Define.
249 2014-04-16 Richard Henderson <rth@redhat.com>
251 * sysdeps/unix/sysv/linux/alpha/nptl/pthread_once.c: Remove.
253 * sysdeps/alpha/Makefile [debug] (CFLAGS-backtrace.c): Enable
256 * sysdeps/unix/alpha/sysdep.h (__pointer_chk_guard): Remove
257 const from the non-libc, non-ldso copy.
259 * sysdeps/alpha/libm-test-ulps: Regenerate.
261 2014-04-16 Ian Bolton <ian.bolton@arm.com>
262 Wilco Dijkstra <wilco.dijkstra@arm.com>
264 * sysdeps/aarch64/fpu/math_private.h: New file.
266 2014-04-16 Marcus Shawcroft <marcus.shawcroft@arm.com>
268 * sysdeps/aarch64/libm-test-ulps: Regenerate.
270 2014-04-16 Igor Zamyatin <igor.zamyatin@intel.com>
272 * sysdeps/x86_64/bits/link.h (La_x86_64_regs): Add lr_bnd.
273 (La_x86_64_retval): Add lrv_bnd0 and lrv_bnd1.
274 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Save
275 Intel MPX bound registers before _dl_profile_fixup.
276 * sysdeps/x86_64/dl-trampoline.h: Restore Intel MPX bound
277 registers after _dl_profile_fixup. Save and restore bound
278 registers bnd0/bnd1 when calling _dl_call_pltexit.
279 * sysdeps/x86_64/link-defines.sym (BND_SIZE): New.
280 (LR_BND_OFFSET): Likewise.
281 (LRV_BND0_OFFSET): Likewise.
282 (LRV_BND1_OFFSET): Likewise.
284 2014-04-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
286 * sysdeps/mach/hurd/tls.h (dtv, dtv_t, tcbhead_t): Move declarations
288 * sysdeps/mach/hurd/i386/tls.h: ... here.
289 (tcbhead_t): Add multiple_threads, sysinfo, stack_guard,
290 pointer_guard, gscope_flag, private_futex, __private_tm, __private_ss
293 2014-04-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
295 * sysdeps/mach/munmap.c (__munmap): Return EINVAL if `addr' is 0.
297 2014-04-16 Stefan Liebler <stli@linux.vnet.ibm.com>
299 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
301 2014-04-16 Stefan Liebler <stli@linux.vnet.ibm.com>
304 * sysdeps/s390/configure.ac: Check for Binutils >= 2.24.
305 * sysdeps/s390/configure: Regenerate.
308 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l):
309 Set round-to-nearest internally to reduce error accumulation.
311 2014-04-16 Alan Modra <amodra@gmail.com>
315 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Rewrite.
316 * math/libm-test.inc (frexp_test_data): Add tests.
317 * NEWS: Update fixed bug list.
319 2014-04-15 Siddhesh Poyarekar <siddhesh@redhat.com>
321 * benchtests/Makefile: Depend on libraries in build directory.
322 (bench-math): Separate out math tests.
323 (bench-pthread): Separate out pthread tests.
324 (bench): Include math and pthread tests.
326 2014-04-14 Carlos O'Donell <carlos@redhat.com>
329 * csu/libc-start.c (LIBC_START_MAIN) [!SHARED]: Call
330 _dl_debug_initialize.
332 * configure.ac: Remove SELinux header check.
333 * configure: Regenerate.
334 * nscd/selinux.c (perms): Array of const char* to permission names.
335 (nscd_request_avc_has_perm): Call security_deny_unknown to find
336 default policy. Call string_to_security_class and string_to_av_perm to
337 translate strings. Enforce default policy and call avs_has_perm with
338 results of translated strings.
340 2014-04-13 David S. Miller <davem@davemloft.net>
342 * sysdeps/sparc/fpu/libm-test-ulps: Update.
344 2014-04-12 Allan McRae <allan@archlinux.org>
347 * manual/string.texi (Collation Functions): Fix qsort argument
349 Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
351 2014-04-11 Chris Metcalf <cmetcalf@tilera.com>
353 * math/test-fenv-preserve.c [FE_ALL_EXCEPT == 0] (do_test):
354 Make the test a no-op if there are no exceptions defined.
356 2014-04-11 Paul Pluzhnikov <ppluzhnikov@google.com>
358 * elf/Makefile (tests): make tst-dlopen-aout conditional on
359 enable-hardcoded-path-in-tests
361 2014-04-11 Will Newton <will.newton@linaro.org>
363 * benchtests/Makefile (extra-objs): Add json-lib.o.
364 (bench-func): Tidy up JSON output.
365 * benchtests/bench-skeleton.c: Include json-lib.h.
366 (main): Use JSON library functions to do output of
368 * benchtests/bench-timing-type.c (main): Output the
369 timing type simply, leaving formatting to the user.
370 * benchtests/json-lib.c: New file.
371 * benchtests/json-lib.h: Likewise.
373 2014-04-11 Torvald Riegel <triegel@redhat.com>
376 * nptl/sysdeps/unix/sysv/linux/sparc/pthread_once.c: Moved to ...
377 * nptl/sysdeps/unix/sysv/linux/pthread_once.c: ... here. Add missing
378 memory barriers. Add comments.
379 * sysdeps/unix/sysv/linux/aarch64/nptl/pthread_once.c: Remove file.
380 * sysdeps/unix/sysv/linux/arm/nptl/pthread_once.c: Remove file.
381 * sysdeps/unix/sysv/linux/ia64/nptl/pthread_once.c: Remove file.
382 * sysdeps/unix/sysv/linux/m68k/nptl/pthread_once.c: Remove file.
383 * sysdeps/unix/sysv/linux/mips/nptl/pthread_once.c: Remove file.
384 * sysdeps/unix/sysv/linux/tile/nptl/pthread_once.c: Remove file.
386 2014-04-11 Stefan Liebler <stli@linux.vnet.ibm.com>
388 * sysdeps/s390/s390-32/configure.ac: Unify file with ...
389 * sysdeps/s390/s390-64/configure.ac: ... this ...
390 * sysdeps/s390/configure.ac: ... to here.
391 * sysdeps/s390/s390-32/configure: Delete file.
392 * sysdeps/s390/s390-64/configure: Delete file.
393 * sysdeps/s390/configure: Regenerate.
395 2014-04-11 Joseph Anthony Pasquale Holsten <joseph@josephholsten.com>
397 * resolv/res_query.c (__libc_res_nsearch): Fix typo in comment.
399 2014-04-11 Will Newton <will.newton@linaro.org>
401 * malloc/malloc.c [!MALLOC_DEBUG]: #define MALLOC_DEBUG
402 to zero if it is not defined elsewhere. (mtrim): Test
403 the value of MALLOC_DEBUG with #if rather than #ifdef.
405 2014-04-10 Torvald Riegel <triegel@redhat.com>
407 * benchtests/pthread_once-inputs: New file.
408 * benchtests/pthread_once-source.c: New file.
409 * benchtests/README: Update documentation.
411 2014-04-09 Igor Zamyatin <igor.zamyatin@intel.com>
412 H.J. Lu <hongjiu.lu@intel.com>
414 * config.h.in (HAVE_MPX_SUPPORT): New #undef.
415 * sysdeps/x86_64/configure.ac: Set HAVE_MPX_SUPPORT.
416 * sysdeps/x86_64/configure: Regenerated.
417 * sysdeps/x86_64/dl-trampoline.S (REGISTER_SAVE_AREA): New
419 (REGISTER_SAVE_RAX): Likewise.
420 (REGISTER_SAVE_RCX): Likewise.
421 (REGISTER_SAVE_RDX): Likewise.
422 (REGISTER_SAVE_RSI): Likewise.
423 (REGISTER_SAVE_RDI): Likewise.
424 (REGISTER_SAVE_R8): Likewise.
425 (REGISTER_SAVE_R9): Likewise.
426 (REGISTER_SAVE_BND0): Likewise.
427 (REGISTER_SAVE_BND1): Likewise.
428 (REGISTER_SAVE_BND2): Likewise.
429 (_dl_runtime_resolve): Use them. Save and restore Intel MPX
430 bound registers when calling _dl_fixup.
432 2014-04-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
434 * bits/string.h (_STRING_ARCH_unaligned): Define it to 0.
435 * crypt/sha256.c (_STRING_ARCH_unaligned): Check its value instead
437 * iconv/gconv_simple.c (_STRING_ARCH_unaligned): Likewise.
438 * iconv/loop.c (_STRING_ARCH_unaligned): Likewise.
439 * iconv/skeleton.c (_STRING_ARCH_unaligned): Likewise.
440 * nscd/nscd_gethst_r.c (_STRING_ARCH_unaligned): Likewise.
441 * nscd/nscd_getserv_r.c (_STRING_ARCH_unaligned): Likewise.
442 * nscd/nscd_helper.c (_STRING_ARCH_unaligned): Likewise.
443 * resolv/res_send.c (_STRING_ARCH_unaligned): Likewise.
445 2014-04-09 Peter Brett <peter@peter-b.co.uk>
448 * sysdeps/posix/pathconf.c (__pathconf): Use statvfs64() for
449 pathconf(_PC_NAME_MAX).
451 2014-04-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
453 * nptl/sysdeps/pthread/pthread.h (__PTHREAD_MUTEX_HAVE_ELISION):
455 (__PTHREAD_SPINS): Move definition to ...
456 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
457 (__PTHREAD_SPINS): ... here.
458 * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
459 (__PTHREAD_SPIN): Likewise.
460 * nptl/sysdeps/unix/sysv/linux/sh/bits/pthreadtypes.h
461 (__PTHREAD_SPIN): Likewise.
462 * nptl/sysdeps/unix/sysv/linux/sparc/bits/pthreadtypes.h
463 (__PTHREAD_SPIN): Likewise.
464 * nptl/sysdeps/unix/sysv/linux/x86/bits/pthreadtypes.h
465 (__PTHREAD_SPIN): Likewise.
466 * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h
467 (__PTHREAD_SPIN): Likewise.
468 * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h
469 (__PTHREAD_SPIN): Likewise.
470 * sysdeps/unix/sysv/linux/arm/nptl/bits/pthreadtypes.h
471 (__PTHREAD_SPIN): Likewise.
472 * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h
473 (__PTHREAD_SPIN): Likewise.
474 * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h
475 (__PTHREAD_SPIN): Likewise.
476 * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h
477 (__PTHREAD_SPIN): Likewise.
478 * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h
479 (__PTHREAD_SPIN): Likewise.
480 * sysdeps/unix/sysv/linux/tile/nptl/bits/pthreadtypes.h
481 (__PTHREAD_SPIN): Likewise.
483 * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: New file.
484 * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: new file.
485 * sysdeps/powerpc/powerpc64/power6x/multiarch/Implies: New file.
486 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove multiarch
488 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Likewise.
489 * sysdeps/powerpc/powerpc64/power7/fpu/Implies: Likewise.
490 * sysdeps/powerpc/powerpc64/power8/fpu/Implies: Likewise.
491 * sysdeps/powerpc/powerpc64/power6x/fpu/multiarch/Implies: Adjust
493 * sysdeps/powerpc/powerpc64/power7/strncat.S (STRLEN): Define correct
494 strlen symbol for non multi-arch builds.
495 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (__isnan): Add
496 missing hidden_def and weak_alias.
498 2014-04-08 Carlos O'Donell <carlos@redhat.com>
500 * manual/ipc.texi (sem_close): AC-unsafe because of aculock.
502 2014-04-07 Will Newton <will.newton@linaro.org>
504 * string/basename.c [HAVE_CONFIG_H]: Remove #ifdef and
505 and contents. [!_LIBC] Remove #ifndef and contents.
506 (basename): Use ANSI prototype. [_LIBC] Remove #idef.
507 * string/memccpy.c (__memccpy): Use ANSI prototype.
508 * string/memfrob.c (memfrob): Likewise.
509 * string/strcoll.c (STRCOLL): Likewise.
510 * string/strlen.c (strlen): Likewise.
511 * string/strtok.c (STRTOK): Likewise.
512 * string/strcat.c: Remove unused #include of memcopy.h.
513 (strcat): Use ANSI prototype.
514 * string/strchr.c: Remove unused #include of memcopy.h.
515 (strchr): Use ANSI prototype.
516 * string/strcmp.c: Remove unused #include of memcopy.h.
517 (strcmp): Use ANSI prototype.
518 * string/strcpy.c: Remove unused #include of memcopy.h.
519 (strcpy): Use ANSI prototype.
521 2014-04-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
523 * Makeconfig (CPPFLAGS): Add config-extra-cppflags to list.
524 * config.make.in (config-extra-cppflags): Set it from
526 * configure.ac (libc_extra_cflags): Make it accumulate over
528 (libc_extra_cppflags): New flag.
529 * configure. Regenerate.
530 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac
531 (libc_cv_ppc64_def_call_elf): Define it to yes if compiler does
532 not set _CALL_ELF and add -D_CALL_ELF=1 to libc_extra_cppflags.
533 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Regenerate.
536 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (__nearbyint): Fix
537 result for FE_DOWNWARD rounding mode.
538 * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S (__nearbyintf):
540 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
542 2014-04-04 Chris Metcalf <cmetcalf@tilera.com>
544 * sysdeps/tile/dl-runtime.c (_dl_unmap): Fix cut-and-paste bug
545 in function argument name.
547 2014-04-03 David Svoboda <svoboda@cert.org>
550 * manual/stdio.texi (Line-Oriented Input): Document buffer allocation
553 2014-04-03 Roland McGrath <roland@hack.frob.com>
555 * elf/dl-unmap-segments.h: New file.
556 * sysdeps/generic/ldsodefs.h
557 (DL_UNMAP): Use _dl_unmap_segments in place of __munmap.
558 * elf/dl-close.c: Include <dl-unmap-segments.h>.
559 * elf/dl-fptr.c: Likewise.
560 (_dl_unmap): Use _dl_unmap_segments in place of __munmap.
561 * sysdeps/aarch64/tlsdesc.c: Likewise.
562 * sysdeps/arm/tlsdesc.c: Likewise.
563 * sysdeps/i386/tlsdesc.c: Likewise.
564 * sysdeps/tile/dl-runtime.c: Likewise.
565 * sysdeps/x86_64/tlsdesc.c: Likewise.
566 * elf/dl-load.h: New file.
567 * elf/dl-load.c: Include it.
568 (MAP_FILE, MAP_COPY, MAP_BASE_ADDR):
569 Macros moved to dl-load.h.
570 (ELF_PREFERRED_ADDRESS_DATA, ELF_PREFERRED_ADDRESS): Likewise.
571 (_dl_map_object_from_fd): Type 'struct loadcmd' moved to dl-load.h.
572 Use _dl_unmap_segments in place of __munmap.
573 Break out segment-mapping loop into ...
574 * elf/dl-map-segments.h (_dl_map_segments): ... here, in new file.
576 2014-04-03 Will Newton <will.newton@linaro.org>
578 * elf/dl-lookup.c (do_lookup_x): Remove comment
579 referring to nested function and move variable
580 declarations down to before first use.
582 2014-04-02 Joseph Myers <joseph@codesourcery.com>
586 * math/s_catan.c (__catan): Avoid passing -0 denominator to atan2
588 * math/s_catanf.c (__catanf): Likewise.
589 * math/s_catanh.c (__catanh): Likewise.
590 * math/s_catanhf.c (__catanhf): Likewise.
591 * math/s_catanhl.c (__catanhl): Likewise.
592 * math/s_catanl.c (__catanl): Likewise.
593 * sysdeps/ieee754/flt-32/e_logf.c (__ieee754_logf): Always divide
594 by positive zero when computing -Inf result.
595 * math/libm-test.inc (catan_test): Use ALL_RM_TEST.
596 (catanh_test): Likewise.
597 * sysdeps/i386/fpu/libm-test-ulps: Update.
598 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
601 * math/s_clog.c (__clog): Use math_force_eval to ensure underflow
602 instead of using underflowing value in computing result.
603 * math/s_clog10.c (__clog10): Likewise.
604 * math/s_clog10f.c (__clog10f): Likewise.
605 * math/s_clog10l.c (__clog10l): Likewise.
606 * math/s_clogf.c (__clogf): Likewise.
607 * math/s_clogl.c (__clogl): Likewise.
608 * math/libm-test.inc (clog_test): Use ALL_RM_TEST.
609 (clog10_test): Likewise.
610 * sysdeps/i386/fpu/libm-test-ulps: Update.
611 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
613 2014-04-02 Alan Modra <amodra@gmail.com>
616 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl): Correct
617 output when value is near a power of two. Use int64_t for lx and
618 remove casts. Use decimal rather than hex exponent constants.
619 Don't use long double multiplication when double will suffice.
620 * math/libm-test.inc (nextafter_test_data): Add tests.
621 * NEWS: Add 16739 and 16786 to bug list.
623 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Correct stream hint.
625 * sysdeps/powerpc/powerpc64/start.S: Add @toc to toc symbol reference.
627 2014-04-01 Will Newton <will.newton@linaro.org>
629 * benchtests/Makefile (CFLAGS-bench-ffs.c): Add
630 -fno-builtin. (CFLAGS-bench-ffsll.c): Likewise.
632 2014-04-01 Florian Weimer <fweimer@redhat.com>
635 * nptl/nptl-init.c (sighandler_setxid): Check system call result.
636 * nptl/tst-setuid2.c: New file.
637 * nptl/Makefile (xtests): Add tst-setuid2.
639 2014-04-01 Alan Modra <amodra@gmail.com>
642 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S: Don't trash stack.
644 2014-03-31 Joseph Myers <joseph@codesourcery.com>
648 * math/w_scalb.c (__scalb): For non-SVID mode, check result and
649 set errno as appropriate.
650 * math/w_scalbf.c (__scalbf): Likewise.
651 * math/w_scalbl.c (__scalbl): Likewise.
652 * math/gen-libm-test.pl (parse_args): Handle ERRNO_PLUS_OFLOW,
653 ERRNO_MINUS_OFLOW, ERRNO_PLUS_UFLOW and ERRNO_MINUS_UFLOW.
654 * math/libm-test.inc (scalb_test_data): Add errno expectations.
658 * math/w_atan2.c: Include <errno.h>.
659 (__atan2): Set errno for result underflowing to zero.
660 * math/w_atan2f.c: Include <errno.h>.
661 (__atan2f): Set errno for result underflowing to zero.
662 * math/w_atan2l.c: Include <errno.h>.
663 (__atan2l): Set errno for result underflowing to zero.
664 * math/auto-libm-test-in: Don't allow missing errno for some atan2
666 * math/auto-libm-test-out: Regenerated.
668 2014-03-31 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
670 * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S (MFVSRD_R3_V1):
671 Encode instruction correctly in little endian.
672 * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S (MFVSRD_R3_V1):
674 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (MFVSRD_R3_V1):
676 * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S (MFVSRD_R3_V1):
678 * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S (MFVSRD_R3_V1):
681 2014-03-31 Joseph Myers <joseph@codesourcery.com>
684 * sysdeps/unix/sysv/linux/kernel-features.h
685 [__sparc__ && !__arch64__ && !__sparc_v9__]
686 (__ASSUME_SET_ROBUST_LIST): Do not define.
687 [__sparc__ && !__arch64__ && !__sparc_v9__]
688 (__ASSUME_FUTEX_LOCK_PI): Likewise.
689 [__sparc__ && !__arch64__ && !__sparc_v9__] (__ASSUME_REQUEUE_PI):
691 * sysdeps/unix/sysv/linux/arm/kernel-features.h
692 (__ASSUME_FUTEX_LOCK_PI): Undefine.
693 (__ASSUME_REQUEUE_PI): Likewise.
694 (__ASSUME_SET_ROBUST_LIST): Likewise.
695 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
696 [__LINUX_KERNEL_VERSION < 0x030a00] (__ASSUME_FUTEX_LOCK_PI):
698 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
699 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_FUTEX_LOCK_PI):
701 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_REQUEUE_PI):
703 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_SET_ROBUST_LIST):
705 * sysdeps/unix/sysv/linux/mips/kernel-features.h
706 [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_FUTEX_LOCK_PI):
708 [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_REQUEUE_PI): Likewise.
709 [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_SET_ROBUST_LIST):
713 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
714 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_FUTIMESAT): Define.
715 * sysdeps/unix/sysv/linux/microblaze/futimesat.c: New file.
717 2014-03-31 Will Newton <will.newton@linaro.org>
719 * benchtests/Makefile (bench): Add ffs and ffsll to list
721 * benchtests/ffs-inputs: New file.
722 * benchtests/ffsll-inputs: Likewise.
724 2014-03-29 Joseph Myers <joseph@codesourcery.com>
727 * math/e_scalb.c (__ieee754_scalb): Check second argument is not
728 too large before casting to int.
729 * math/e_scalbf.c (__ieee754_scalbf): Likewise.
730 * math/e_scalbl.c (__ieee754_scalbl): Likewise.
731 * math/libm-test.inc (scalb_test_data): Add more tests.
733 2014-03-29 Siddhesh Poyarekar <siddhesh@redhat.com>
735 * benchtests/Makefile (DETAILED_OPT): New make option.
736 (bench-func): Run benchmark program with -d if DETAILED_OPT is
738 * benchtests/bench-skeleton.c: Include stdbool.h.
739 (main): Store and print timings per input.
740 * benchtests/scripts/bench.py (STRUCT_TEMPLATE): Add timing
741 member to each argument value.
742 (EPILOGUE): Define new macros RESULT and RESULT_ACCUM.
743 (_print_arg_data): Initialize per-input timing to 0.
745 * benchtests/Makefile (timing-type): New binary.
746 (bench-clean): Also remove bench-timing-type.
747 (bench): New target for timing-type.
748 (bench-func): Print output in JSON format.
749 * benchtests/bench-skeleton.c (main): Print output in JSON
751 * benchtests/bench-timing-type.c: New file.
752 * benchtests/bench-timing.h (TIMING_TYPE): New macro.
753 (TIMING_PRINT_STATS): Remove.
754 * benchtests/scripts/bench.py (_print_arg_data): Store variant
757 * benchtests/bench-modf.c: Remove.
758 * benchtests/modf-inputs: New inputs file.
760 2014-03-28 Joseph Myers <joseph@codesourcery.com>
763 * math/s_clog10.c (M_PI_LOG10E): New macro.
764 (__clog10): Use M_PI_LOG10E instead of M_PI when real and
765 imaginary parts are 0.
766 * math/s_clog10f.c (M_PI_LOG10Ef): New macro.
767 (__clog10f): Use M_PI_LOG10Ef instead of M_PI when real and
768 imaginary parts are 0.
769 * math/s_clog10l.c (M_PI_LOG10El): New macro.
770 (__clog10l): Use M_PI_LOG10El instead of M_PIl when real and
771 imaginary parts are 0.
772 * math/libm-test.inc (clog10_test_data): Update expected results
773 for when real and imaginary parts are 0.
775 2014-03-27 Paul Pluzhnikov <ppluzhnikov@google.com>
777 * elf/dl-load.c: Finish conversion of __builtin_expect into
780 2014-03-27 Joseph Myers <joseph@codesourcery.com>
783 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [!USE_AS_EXPM1L]: Use
784 1+x for argument with exponent below -67.
785 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [!USE_AS_EXPM1L]:
787 * math/auto-libm-test-in: Add more tests of exp.
788 * math/auto-libm-test-out: Regenerated.
790 2014-03-27 Siddhesh Poyarekar <siddhesh@redhat.com>
793 * inet/getnetgrent_r.c (get_nonempty_val): New function.
794 (nscd_getnetgrent): Use it.
797 * nscd/netgroupcache.c (addgetnetgrentX): Use memmove instead
800 2014-03-27 Andi Kleen <ak@linux.intel.com>
802 * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.h (lll_lock)
803 (lll_robust_lock, lll_cond_lock, lll_timedlock)
804 (lll_robust_cond_lock, lll_robust_timedlock, lll_unlock)
805 (lll_robust_unlock): Remove out of line section. Use cfi
807 (LLL_STUB_UNWIND_INFO*): Remove.
808 * nptl/sysdeps/unix/sysv/linux/i386/lowlevellock.h (lll_lock)
809 (lll_robust_lock, lll_cond_lock, lll_timedlock)
810 (lll_robust_cond_lock, lll_robust_timedlock, lll_unlock)
811 (lll_robust_unlock): Remove out of line section. Use cfi
813 (LLL_STUB_UNWIND_INFO*): Remove.
815 2014-03-27 Siddhesh Poyarekar <siddhesh@redhat.com>
818 * nscd/netgroupcache.c (addinnetgrX): Succeed if triplet has
821 2014-03-26 Paul Pluzhnikov <ppluzhnikov@google.com>
823 * elf/dl-load.c: Convert __builtin_expect into __glibc_{un}likely.
825 2014-03-26 Joseph Myers <joseph@codesourcery.com>
828 * sysdeps/x86_64/fpu/fegetenv.c (fegetenv): Use fldenv after
830 * math/test-fenv-preserve.c: New file.
831 * math/Makefile (tests): Add test-fenv-preserve.
833 2014-03-26 Will Newton <will.newton@linaro.org>
835 * benchtests/bench-strtod.c (TIMEOUT): Define to 10.
837 2014-03-25 Roland McGrath <roland@hack.frob.com>
839 * scripts/versionlist.awk: Partition the version sets and emit all
840 GLIBC_* (sorted) before all others (sorted).
842 2014-03-25 Joseph Myers <joseph@codesourcery.com>
844 * elf/Versions (libc) [EXPORT_UNWIND_FIND_FDE]: Add empty
847 2014-03-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
849 * scripts/localplt.awk: Check for PLT generated by internal IFUNC
852 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: Revert
855 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
857 2014-03-25 Andreas Schwab <schwab@suse.de>
859 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Add out_fail2
860 label to be used after in6ailist is initialized.
862 2014-03-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
864 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
865 (__PTHREAD_MUTEX_HAVE_ELISION): New define.
867 2014-03-25 Joseph Myers <joseph@codesourcery.com>
871 * math/gen-auto-libm-tests.c (fp_format_desc): Add field
873 (fp_formats): Update initializers.
874 (init_fp_formats): Initialize new field.
875 (output_for_one_input_case): Allow underflow for results up to
877 * math/libm-test.inc (log1p_test): Use ALL_RM_TEST.
878 * math/auto-libm-test-in: Don't mark some underflows from asin and
880 * math/auto-libm-test-out: Regenerated.
881 * sysdeps/i386/fpu/libm-test-ulps: Update.
882 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
884 2014-03-25 Andreas Schwab <schwab@suse.de>
886 * libio/Makefile (tst-ftell-partial-wide-ENV)
887 (tst-ftell-active-handler-ENV): Define.
889 2014-03-25 Stefan Liebler <stli@linux.vnet.ibm.com>
891 * NEWS: Add 16712, 16713, 16714 to fixed bug list.
893 2014-03-24 Paul Pluzhnikov <ppluzhnikov@google.com>
895 * elf/tst-dlopen-aout.c: Adjust comments. Use test-skeleton.c
897 2014-03-24 Joseph Myers <joseph@codesourcery.com>
899 * sysdeps/ieee754/dbl-64/e_exp.c: Include <math.h>.
900 * sysdeps/x86_64/fpu/multiarch/e_exp.c
901 [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
903 2014-03-24 Paul Pluzhnikov <ppluzhnikov@google.com>
906 * elf/dl-load.c (open_verify): Add mode parameter.
907 Error early when ET_EXEC and mode does not have __RTLD_OPENEXEC.
908 (open_path): Change from boolean 'secure' to complete flag 'mode'
909 (_dl_map_object): Adjust.
910 * elf/Makefile (tests): Add tst-dlopen-aout.
911 * elf/tst-dlopen-aout.c: New test.
913 2014-03-24 Stefan Liebler <stli@linux.vnet.ibm.com>
916 * sysdeps/unix/sysv/linux/s390/bits/stat.h
917 (struct stat): Rename member pad0 to __glibc_reserved0.
920 * sysdeps/s390/s390-32/bits/wordsize.h
921 (__WORDSIZE32_SIZE_ULONG): New define.
922 * sysdeps/s390/s390-64/bits/wordsize.h
923 (__WORDSIZE32_SIZE_ULONG): Likewise.
924 * sysdeps/generic/stdint.h (SIZE_MAX):
925 Define as UL if __WORDSIZE32_SIZE_ULONG.
928 * sysdeps/unix/sysv/linux/s390/bits/sigaction.h
929 (__glibc_reserved0): New variable.
930 (sa_flags): Change type to int.
932 * posix/Makefile (before-compile): Use += before-compile instead
935 * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
936 (__PTHREAD_MUTEX_HAVE_ELISION): New define.
938 2014-03-20 Andreas Schwab <schwab@suse.de>
941 * sysdeps/posix/getaddrinfo.c (gaih_inet): Properly skip over
942 non-matching result from nscd.
944 2014-03-24 Siddhesh Poyarekar <siddhesh@redhat.com>
946 * scripts/bench.py: Moved to ...
947 * benchtests/scripts/bench.py: ... here.
948 * benchtests/Makefile ($(objpfx)bench-%.c): Adjust.
950 2014-03-24 Andreas Schwab <schwab@suse.de>
953 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Use
954 alloca_account and account alloca use for struct in6ailist.
956 2014-03-24 Joseph Myers <joseph@codesourcery.com>
959 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use original
960 rounding mode to recompute results that overflow to infinity or
962 * math/auto-libm-test-in: Don't mark tests as expected to fail for
964 * math/auto-libm-test-out: Regenerated.
965 * math/libm-test.inc (ccos_test): Use ALL_RM_TEST.
966 (ccosh_test): Likewise.
967 (csin_test_data): Use plus_oflow.
968 (csin_test): Use ALL_RM_TEST.
969 (csinh_test_data): Use plus_oflow.
970 (csinh_test): Use ALL_RM_TEST.
971 * sysdeps/i386/fpu/libm-test-ulps: Update.
972 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
974 2014-03-21 Joseph Myers <joseph@codesourcery.com>
976 * sysdeps/mips/bits/wordsize.h: Include <sgidefs.h>.
977 * sysdeps/unix/sysv/linux/mips/getrlimit64.c: Likewise.
978 * sysdeps/unix/sysv/linux/mips/setrlimit64.c: Likewise.
981 * sysdeps/i386/fpu/e_log.S (__ieee754_log): Take absolute value
983 * sysdeps/i386/fpu/e_logf.S (__ieee754_logf): Likewise.
984 * sysdeps/i386/fpu/e_logl.S (__ieee754_logl): Likewise.
985 * sysdeps/i386/i686/fpu/e_logl.S (__ieee754_logl): Likewise.
986 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Return +0 when
988 * sysdeps/ieee754/ldbl-128/e_logl.c (__ieee754_logl): Likewise.
989 * sysdeps/x86_64/fpu/e_logl.S: Take absolute value when x - 1 is
991 * math/libm-test.inc (log_test): Use ALL_RM_TEST.
992 * sysdeps/i386/fpu/libm-test-ulps: Update.
993 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
995 2014-03-21 Siddhesh Poyarekar <siddhesh@redhat.com>
997 * scripts/bench.pl: Remove file.
998 * scripts/bench.py: New benchmark script.
999 * benchtests/Makefile ($(objpfx)bench-%.c): Use it.
1000 * benchtests/README: Mention python dependency.
1001 * scripts/pylintrc: New file.
1002 * scripts/pylint: New file.
1004 * bits/mathdef.h: Use #ifdef instead of #if.
1005 * sysdeps/arm/bits/mathdef.h [defined __USE_ISOC99 && defined
1006 _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
1007 * sysdeps/tile/bits/mathdef.h [defined __USE_ISOC99 && defined
1008 _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
1009 * sysdeps/x86/bits/mathdef.h [defined __USE_ISOC99 && defined
1010 _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
1012 2014-03-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1013 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
1015 * string/strpbrk.c (strpbrk): Using macro to redefine symbol name.
1016 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strpbrk-power7
1017 and strpbrk-ppc64 objects.
1018 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
1019 (__libc_ifunc_impl_list): Add new strpbrk optimized symbols.
1020 * sysdeps/powerpc/powerpc64/multiarch/strpbrk-power7.S: New file:
1021 multiarch strpbrk for POWER7.
1022 * sysdeps/powerpc/powerpc64/multiarch/strpbrk-ppc64.c: New file:
1023 multiarch strpbrk for PPC64.
1024 * sysdeps/powerpc/powerpc64/multiarch/strpbrk.c: New file: strpbrk
1026 * sysdeps/powerpc/powerpc64/power7/strpbrk.S: New file: optimited
1029 2014-03-20 Joseph Myers <joseph@codesourcery.com>
1031 * math/libm-test.inc (asinh_test): Use ALL_RM_TEST.
1032 (atan_test): Likewise.
1033 (atanh_test_data): Use NO_TEST_INLINE for two tests.
1034 (atanh_test): Use ALL_RM_TEST.
1035 (atan2_test_data): Likewise.
1036 (cabs_test): Likewise.
1037 (cacosh_test): Likewise.
1038 (carg_test): Likewise.
1039 (casin_test): Likewise.
1040 (casinh_test): Likewise.
1041 (cbrt_test): Likewise.
1042 (csqrt_test): Likewise.
1043 (erf_test): Likewise.
1044 (erfc_test): Likewise.
1045 (pow10_test): Likewise.
1046 (exp2_test): Likewise.
1047 (hypot_test): Likewise.
1048 (j0_test): Likewise.
1049 (j1_test): Likewise.
1050 (lgamma_test): Likewise.
1051 (gamma_test): Likewise.
1052 (sincos_test): Likewise.
1053 (tanh_test): Likewise.
1054 (y0_test): Likewise.
1055 (y1_test): Likewise.
1056 * sysdeps/i386/fpu/libm-test-ulps: Update.
1057 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1059 2014-03-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1061 * string/strcspn.c (strcspn): Using macro to redefine symbol name.
1062 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcspn-power7
1063 and strcspn-ppc64 objects.
1064 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
1065 (__libc_ifunc_impl_list): Add new strcspn optimized symbols.
1066 * sysdeps/powerpc/powerpc64/multiarch/strcspn-power7.S: New file:
1067 multiarch strcspn for POWER7.
1068 * sysdeps/powerpc/powerpc64/multiarch/strcspn-ppc64.c: New file:
1069 multiarch strcspn for PPC64.
1070 * sysdeps/powerpc/powerpc64/multiarch/strcspn.c: New file: strcspn
1072 * sysdeps/powerpc/powerpc64/power7/strcspn.S: New file: optimited
1075 2014-03-20 Joseph Myers <joseph@codesourcery.com>
1077 * math/gen-libm-test.pl (generate_testfile): Expect only function
1078 name as argument to AUTO_TESTS_* and pass results for all rounding
1079 modes to parse_args.
1080 (parse_auto_input): Separate inputs of automatic tests from
1081 outputs before storing in %auto_tests.
1082 * math/libm-test.inc (acos_test_data): Update call to
1084 (acos_test): Use ALL_RM_TEST.
1085 (acos_tonearest_test_data): Remove.
1086 (acos_test_tonearest): Likewise.
1087 (acos_towardzero_test_data): Likewise.
1088 (acos_test_towardzero): Likewise.
1089 (acos_downward_test_data): Likewise.
1090 (acos_test_downward): Likewise.
1091 (acos_upward_test_data): Likewise.
1092 (acos_test_upward): Likewise.
1093 (acosh_test_data): Update call to AUTO_TESTS_f_f.
1094 (asin_test_data): Likewise.
1095 (asin_test): Use ALL_RM_TEST.
1096 (asin_tonearest_test_data): Remove.
1097 (asin_test_tonearest): Likewise.
1098 (asin_towardzero_test_data): Likewise.
1099 (asin_test_towardzero): Likewise.
1100 (asin_downward_test_data): Likewise.
1101 (asin_test_downward): Likewise.
1102 (asin_upward_test_data): Likewise.
1103 (asin_test_upward): Likewise.
1104 (asinh_test_data): Update call to AUTO_TESTS_f_f.
1105 (atan_test_data): Likewise.
1106 (atanh_test_data): Likewise.
1107 (atan2_test_data): Update call to AUTO_TESTS_ff_f.
1108 (cabs_test_data): Update call to AUTO_TESTS_c_f.
1109 (carg_test_data): Likewise.
1110 (cbrt_test_data): Update call to AUTO_TESTS_f_f.
1111 (ccos_test_data): Update call to AUTO_TESTS_c_c.
1112 (ccosh_test_data): Likewise.
1113 (cexp_test_data): Likewise.
1114 (clog_test_data): Likewise.
1115 (clog10_test_data): Likewise.
1116 (cos_test_data): Update call to AUTO_TESTS_f_f.
1117 (cos_test): Use ALL_RM_TEST.
1118 (cos_tonearest_test_data): Remove.
1119 (cos_test_tonearest): Likewise.
1120 (cos_towardzero_test_data): Likewise.
1121 (cos_test_towardzero): Likewise.
1122 (cos_downward_test_data): Likewise.
1123 (cos_test_downward): Likewise.
1124 (cos_upward_test_data): Likewise.
1125 (cos_test_upward): Likewise.
1126 (cosh_test_data): Update call to AUTO_TESTS_f_f.
1127 (cosh_test): Use ALL_RM_TEST.
1128 (cosh_tonearest_test_data): Remove.
1129 (cosh_test_tonearest): Likewise.
1130 (cosh_towardzero_test_data): Likewise.
1131 (cosh_test_towardzero): Likewise.
1132 (cosh_downward_test_data): Likewise.
1133 (cosh_test_downward): Likewise.
1134 (cosh_upward_test_data): Likewise.
1135 (cosh_test_upward): Likewise.
1136 (cpow_test_data): Update call to AUTO_TESTS_cc_c.
1137 (csqrt_test_data): Update call to AUTO_TESTS_c_c.
1138 (ctan_test_data): Likewise.
1139 (ctan_test): Use ALL_RM_TEST.
1140 (ctan_tonearest_test_data): Remove.
1141 (ctan_test_tonearest): Likewise.
1142 (ctan_towardzero_test_data): Likewise.
1143 (ctan_test_towardzero): Likewise.
1144 (ctan_downward_test_data): Likewise.
1145 (ctan_test_downward): Likewise.
1146 (ctan_upward_test_data): Likewise.
1147 (ctan_test_upward): Likewise.
1148 (ctanh_test_data): Update call to AUTO_TESTS_c_c.
1149 (ctanh_test): Use ALL_RM_TEST.
1150 (ctanh_tonearest_test_data): Remove.
1151 (ctanh_test_tonearest): Likewise.
1152 (ctanh_towardzero_test_data): Likewise.
1153 (ctanh_test_towardzero): Likewise.
1154 (ctanh_downward_test_data): Likewise.
1155 (ctanh_test_downward): Likewise.
1156 (ctanh_upward_test_data): Likewise.
1157 (ctanh_test_upward): Likewise.
1158 (erf_test_data): Update call to AUTO_TESTS_f_f.
1159 (erfc_test_data): Likewise.
1160 (exp_test_data): Likewise.
1161 (exp_test): Use ALL_RM_TEST.
1162 (exp_tonearest_test_data): Remove.
1163 (exp_test_tonearest): Likewise.
1164 (exp_towardzero_test_data): Likewise.
1165 (exp_test_towardzero): Likewise.
1166 (exp_downward_test_data): Likewise.
1167 (exp_test_downward): Likewise.
1168 (exp_upward_test_data): Likewise.
1169 (exp_test_upward): Likewise.
1170 (exp10_test_data): Update call to AUTO_TESTS_f_f.
1171 (exp10_test): Use ALL_RM_TEST.
1172 (exp10_tonearest_test_data): Remove.
1173 (exp10_test_tonearest): Likewise.
1174 (exp10_towardzero_test_data): Likewise.
1175 (exp10_test_towardzero): Likewise.
1176 (exp10_downward_test_data): Likewise.
1177 (exp10_test_downward): Likewise.
1178 (exp10_upward_test_data): Likewise.
1179 (exp10_test_upward): Likewise.
1180 (exp2_test_data): Update call to AUTO_TESTS_f_f.
1181 (expm1_test_data): Likewise.
1182 (expm1_test): Use ALL_RM_TEST.
1183 (expm1_tonearest_test_data): Remove.
1184 (expm1_test_tonearest): Likewise.
1185 (expm1_towardzero_test_data): Likewise.
1186 (expm1_test_towardzero): Likewise.
1187 (expm1_downward_test_data): Likewise.
1188 (expm1_test_downward): Likewise.
1189 (expm1_upward_test_data): Likewise.
1190 (expm1_test_upward): Likewise.
1191 (fma_test_data): Update call to AUTO_TESTS_fff_f.
1192 (fma_test): Use ALL_RM_TEST.
1193 (fma_towardzero_test_data): Remove.
1194 (fma_test_towardzero): Likewise.
1195 (fma_downward_test_data): Likewise.
1196 (fma_test_downward): Likewise.
1197 (fma_upward_test_data): Likewise.
1198 (fma_test_upward): Likewise.
1199 (hypot_test_data): Update call to AUTO_TESTS_ff_f.
1200 (j0_test_data): Update call to AUTO_TESTS_f_f.
1201 (j1_test_data): Likewise.
1202 (jn_test_data): Update call to AUTO_TESTS_if_f.
1203 (lgamma_test_data): Update call to AUTO_TESTS_f_f1.
1204 (log_test_data): Update call to AUTO_TESTS_f_f.
1205 (log10_test_data): Likewise.
1206 (log1p_test_data): Likewise.
1207 (log2_test_data): Likewise.
1208 (pow_test_data): Update call to AUTO_TESTS_ff_f.
1209 (pow_tonearest_test_data): Likewise.
1210 (sin_test_data): Update call to AUTO_TESTS_f_f.
1211 (sin_test): Use ALL_RM_TEST.
1212 (sin_tonearest_test_data): Remove.
1213 (sin_test_tonearest): Likewise.
1214 (sin_towardzero_test_data): Likewise.
1215 (sin_test_towardzero): Likewise.
1216 (sin_downward_test_data): Likewise.
1217 (sin_test_downward): Likewise.
1218 (sin_upward_test_data): Likewise.
1219 (sin_test_upward): Likewise.
1220 (sincos_test_data): Update call to AUTO_TESTS_fFF_11.
1221 (sinh_test_data): Update call to AUTO_TESTS_f_f.
1222 (sinh_test): Use ALL_RM_TEST.
1223 (sinh_tonearest_test_data): Remove.
1224 (sinh_test_tonearest): Likewise.
1225 (sinh_towardzero_test_data): Likewise.
1226 (sinh_test_towardzero): Likewise.
1227 (sinh_downward_test_data): Likewise.
1228 (sinh_test_downward): Likewise.
1229 (sinh_upward_test_data): Likewise.
1230 (sinh_test_upward): Likewise.
1231 (sqrt_test_data): Update call to AUTO_TESTS_f_f.
1232 (sqrt_test): Use ALL_RM_TEST.
1233 (sqrt_tonearest_test_data): Remove.
1234 (sqrt_test_tonearest): Likewise.
1235 (sqrt_towardzero_test_data): Likewise.
1236 (sqrt_test_towardzero): Likewise.
1237 (sqrt_downward_test_data): Likewise.
1238 (sqrt_test_downward): Likewise.
1239 (sqrt_upward_test_data): Likewise.
1240 (sqrt_test_upward): Likewise.
1241 (tan_test_data): Update call to AUTO_TESTS_f_f.
1242 (tan_test): Use ALL_RM_TEST.
1243 (tan_tonearest_test_data): Remove.
1244 (tan_test_tonearest): Likewise.
1245 (tan_towardzero_test_data): Likewise.
1246 (tan_test_towardzero): Likewise.
1247 (tan_downward_test_data): Likewise.
1248 (tan_test_downward): Likewise.
1249 (tan_upward_test_data): Likewise.
1250 (tan_test_upward): Likewise.
1251 (tanh_test_data): Update call to AUTO_TESTS_f_f.
1252 (tgamma_test_data): Likewise.
1253 (y0_test_data): Likewise.
1254 (y1_test_data): Likewise.
1255 (yn_test_data): Update call to AUTO_TESTS_if_f.
1256 (main): Do not call removed functions.
1258 2014-03-19 Joseph Myers <joseph@codesourcery.com>
1260 * math/libm-test.inc (fdim_test): Use ALL_RM_TEST.
1261 (ldexp_test_data): Remove.
1262 (ldexp_test): Move to after scalbn_test. Use ALL_RM_TEST with
1264 (scalb_test): Use ALL_RM_TEST.
1266 2014-03-19 Andreas Schwab <schwab@suse.de>
1268 * nscd/nscd.service: Also invalidate netgroup cache on reload.
1270 2014-03-19 Joseph Myers <joseph@codesourcery.com>
1273 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
1274 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_PREADV): Undefine.
1275 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_PWRITEV): Likewise.
1276 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
1277 (__ASSUME_PREADV): Undefine.
1278 (__ASSUME_PWRITEV): Likewise.
1280 2014-03-18 Roland McGrath <roland@hack.frob.com>
1282 * bits/mman-linux.h: Add comment about non-Linux use.
1283 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add comment about
1284 bits/mman-linux.h resting place.
1286 * sysdeps/unix/sysv/linux/bits/mman-linux.h: Moved to ...
1287 * bits/mman-linux.h: ... here.
1289 2014-03-18 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1291 * conform/conformtest.pl: Add standard definition when calling C
1292 preprocessor on data files.
1293 (checknamespace): Remove unused variable.
1295 2014-03-18 Joseph Myers <joseph@codesourcery.com>
1297 * math/gen-libm-test.pl (parse_args): Handle plus_oflow,
1298 minus_oflow, plus_uflow and minus_uflow in expected results.
1299 * math/libm-test.inc (scalbn_test_data): Add more tests of
1300 negative arguments. Use plus_oflow, minus_oflow, plus_uflow and
1302 (scalbn_test): Use ALL_RM_TEST.
1303 (scalbln_test_data): Add more tests of negative arguments. Use
1304 plus_oflow, minus_oflow, plus_uflow and minus_uflow.
1305 (scalbln_test): Use ALL_RM_TEST.
1307 2014-03-18 Roland McGrath <roland@hack.frob.com>
1309 * scripts/abilist.awk: Ignore symbols marked with .hidden.
1311 2014-03-18 Will Newton <will.newton@linaro.org>
1313 * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Remove
1316 2014-03-18 Joseph Myers <joseph@codesourcery.com>
1318 * Makerules [!subdir] (check-abi): Exit with error status if a
1321 2014-03-17 Joseph Myers <joseph@codesourcery.com>
1323 * math/libm-test.inc (nearbyint_test_data): Include all tests used
1324 for rint. Include results for all rounding modes.
1325 (nearbyint_test): Use ALL_RM_TEST.
1326 (rint_test_data): Include all tests used for nearbyint.
1328 2014-03-17 Will Newton <will.newton@linaro.org>
1330 * nptl/sysdeps/pthread/pthread.h: Revert previous
1333 * sysdeps/generic/ldsodefs.h: Revert previous
1336 * libio/genops.c: Revert previous change.
1337 * libio/libioP.h: Likewise.
1338 * stdio-common/vfprintf.c: Likewise.
1340 * sysdeps/generic/math_private.h: Revert previous
1343 * sysdeps/generic/math_private.h: Check whether
1344 HAVE_RM_CTX is defined with #ifdef rather
1347 * argp/argp-fmtstream.h: Check whether
1348 __STRICT_ANSI__ is defined with #ifdef rather
1350 * argp/argp.h: Likewise.
1352 * libio/genops.c: Check whether
1353 _IO_JUMPS_OFFSET is defined with #ifdef rather
1355 * libio/libioP.h: Likewise.
1356 * stdio-common/vfprintf.c: Likewise.
1358 * sysdeps/generic/ldsodefs.h: Check whether
1359 HP_SMALL_TIMING_AVAIL is defined with #ifdef rather
1362 * nptl/sysdeps/pthread/pthread.h: Check
1363 __PTHREAD_MUTEX_HAVE_ELISION is defined before testing
1366 2014-03-17 Siddhesh Poyarekar <siddhesh@redhat.com>
1368 * libio/iofdopen.c (_IO_new_fdopen): Seek to end only if
1370 * libio/tst-ftell-active-handler.c (do_append_test): Add a
1374 * libio/fileops.c (_IO_file_open): Seek to end of file but
1375 don't cache the offset.
1376 (get_file_offset): Remove function.
1377 (do_ftell): Use cached offset when available.
1378 * libio/iofdopen.c (_IO_new_fdopen): Seek to end of file but
1379 don't cache the offset.
1380 * libio/tst-ftell-active-handler.c (do_rewind_test): New test
1382 (do_one_test): Call it.
1383 (do_ftell_test): Fix up expected old offset for a+ mode.
1384 * libio/wfileops.c (do_ftell_wide): Used cached offset when
1387 * libio/tst-ftell-active-handler.c (do_ftell_test): Don't mix
1388 up test status with function return status.
1389 (do_write_test): Likewise.
1390 (do_append_test): Likewise.
1392 * nptl/sysdeps/pthread/bits/libc-lockP.h [defined NOT_IN_libc
1393 && !defined IS_IN_libpthread && __LT_SPINNOCK_INIT != 0]:
1396 2014-03-17 Joseph Myers <joseph@codesourcery.com>
1398 * math/gen-libm-test.pl (parse_args): Handle results specified for
1399 each rounding mode separately.
1400 * math/libm-test.inc (lrint_test_data): Merge in per-rounding-mode
1401 tests and results from lrint_tonearest_test_data,
1402 lrint_towardzero_test_data, lrint_downward_test_data and
1403 lrint_upward_test_data.
1404 (lrint_test): Use ALL_RM_TEST.
1405 (lrint_tonearest_test_data): Remove.
1406 (lrint_test_tonearest): Likewise.
1407 (lrint_towardzero_test_data): Likewise.
1408 (lrint_test_towardzero): Likewise.
1409 (lrint_downward_test_data): Likewise.
1410 (lrint_test_downward): Likewise.
1411 (lrint_upward_test_data): Likewise.
1412 (lrint_test_upward): Likewise.
1413 (llrint_test_data): Merge in per-rounding-mode tests and results
1414 from llrint_tonearest_test_data, llrint_towardzero_test_data,
1415 llrint_downward_test_data and llrint_upward_test_data.
1416 (llrint_test): Use ALL_RM_TEST.
1417 (llrint_tonearest_test_data): Remove.
1418 (llrint_test_tonearest): Likewise.
1419 (llrint_towardzero_test_data): Likewise.
1420 (llrint_test_towardzero): Likewise.
1421 (llrint_downward_test_data): Likewise.
1422 (llrint_test_downward): Likewise.
1423 (llrint_upward_test_data): Likewise.
1424 (llrint_test_upward): Likewise.
1425 (rint_test_data): Merge in per-rounding-mode tests and results
1426 from rint_tonearest_test_data, rint_towardzero_test_data,
1427 rint_downward_test_data and rint_upward_test_data. Add
1428 per-rounding-mode results for tests not in those arrays.
1429 (rint_test): Use ALL_RM_TEST.
1430 (rint_tonearest_test_data): Remove.
1431 (rint_test_tonearest): Likewise.
1432 (rint_towardzero_test_data): Likewise.
1433 (rint_test_towardzero): Likewise.
1434 (rint_downward_test_data): Likewise.
1435 (rint_test_downward): Likewise.
1436 (rint_upward_test_data): Likewise.
1437 (rint_test_upward): Likewise.
1438 (main): Don't call removed functions.
1440 2014-03-14 Roland McGrath <roland@hack.frob.com>
1442 * csu/Makefile ($(objpfx)version-info.h): Remove linux-specific
1443 "Compiled on ..." crapola. It is anti-useful.
1445 2014-03-14 Joseph Myers <joseph@codesourcery.com>
1447 * scripts/evaluate-test.sh: Handle fourth argument to determine
1448 whether test run should stop on failure.
1449 * Makeconfig (stop-on-test-failure): New variable.
1450 (evaluate-test): Pass fourth argument to evaluate-test.sh based on
1451 $(stop-on-test-failure).
1452 * Makefile (tests): Give a summary of results from testing and
1453 exit with failure status if they include an ERROR or FAIL.
1455 * manual/install.texi (Configuring and compiling): Mention
1456 stop-on-test-failure=y.
1457 * INSTALL: Regenerated.
1459 2014-03-14 Roland McGrath <roland@hack.frob.com>
1461 * scripts/versionlist.awk: New file.
1462 * Makerules [$(build-shared) = yes]
1463 (postclean-generated): Add Versions.def, not Versions.def.v and
1465 ($(common-objpfx)Versions.def.v.i): Target removed.
1466 ($(common-objpfx)Versions.def): New target.
1467 ($(common-objpfx)Versions.all): Depend on that rather that
1468 $(common-objpfx)Versions.def.v.
1469 * Versions.def: File removed.
1471 * Makeconfig (+gccwarn): Add -Wundef.
1472 * include/errno.h [IS_IN_rtld] [!RTLD_PRIVATE_ERRNO]: #error to catch
1473 a dl-sysdep.h breaking its contract.
1474 [!IS_IN_rtld] (RTLD_PRIVATE_ERRNO): Define it to 0.
1475 * include/stackinfo.h: New file.
1476 * nptl/sysdeps/i386/tls.h (TLS_DTV_AT_TP): New macro.
1477 * nptl/sysdeps/powerpc/tls.h (TLS_TCB_AT_TP): New macro.
1478 * nptl/sysdeps/s390/tls.h (TLS_DTV_AT_TP): New macro.
1479 * nptl/sysdeps/sh/tls.h (TLS_TCB_AT_TP): New macro.
1480 * nptl/sysdeps/sparc/tls.h (TLS_DTV_AT_TP): New macro.
1481 * nptl/sysdeps/x86_64/tls.h (TLS_DTV_AT_TP): New macro.
1482 * sysdeps/aarch64/nptl/tls.h (TLS_TCB_AT_TP): New macro.
1483 * sysdeps/alpha/nptl/tls.h (TLS_TCB_AT_TP): New macro.
1484 * sysdeps/arm/nptl/tls.h (TLS_TCB_AT_TP): New macro.
1485 * sysdeps/ia64/nptl/tls.h (TLS_TCB_AT_TP): New macro.
1486 * sysdeps/m68k/nptl/tls.h (TLS_TCB_AT_TP): New macro.
1487 * sysdeps/mach/hurd/i386/tls.h (TLS_DTV_AT_TP): New macro.
1488 * sysdeps/microblaze/nptl/tls.h (TLS_TCB_AT_TP): New macro.
1489 * sysdeps/mips/nptl/tls.h (TLS_TCB_AT_TP): New macro.
1490 * sysdeps/tile/nptl/tls.h (TLS_TCB_AT_TP): New macro.
1492 2014-03-14 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1495 * sysdeps/powerpc/powerpc64/fpu/s_roundl.S: Remove wrong
1497 * math/libm-test.inc (round_test_data): Add more tests.
1500 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Remove wrong
1502 * math/libm-test.inc (nearbyint_test_data): Add more tests.
1505 * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Remove wrong
1507 * math/libm-test.inc (ceil_test_data): Add more tests.
1509 * math/libm-test.inc (trunc_test_data): Add more tests related to
1512 2014-03-14 Roland McGrath <roland@hack.frob.com>
1514 * nptl/pthread_create.c (__pthread_create_2_1): Test TLS_TCB_AT_TP
1515 with #if rather than #ifdef.
1516 * nptl/sysdeps/pthread/createthread.c (create_thread): Likewise.
1518 2014-03-14 H.J. Lu <hongjiu.lu@intel.com>
1520 * sysdeps/x86_64/configure.ac: Check AVX-512 assembler support
1521 first. Disable AVX-512 GCC support if assembler doesn't support
1523 * sysdeps/x86_64/configure: Regenerated.
1525 2014-03-13 Carlos O'Donell <carlos@redhat.com>
1527 * nptl/pthread_attr_setstack.c (__pthread_attr_setstack)
1528 [!_STACK_GROWS_DOWN]: Don't add stacksize to stackaddr.
1529 (__old_pthread_attr_setstack): Likewise.
1530 * nptl/pthread_attr_getstack.c (__pthread_attr_getstack)
1531 [!_STACK_GROWS_DOWN]: Likewise.
1533 2014-03-13 Mike Frysinger <vapier@gentoo.org>
1535 * config.make.in (have-bash2): Delete.
1536 * configure.ac (libc_cv_have_bash2): Delete.
1537 * configure: Regenerate.
1538 * elf/Makefile (common-ldd-rewrite): Rename to ...
1539 (ldd-rewrite): ... this. Move bash-ldd-rewrite content to end.
1540 (sh-ldd-rewrite): Delete.
1541 (bash-ldd-rewrite): Delete.
1542 (have-bash2): Delete checks.
1543 [ldd-rewrite-script]: Change $(ldd-shell)-ldd-rewrite to
1546 * config.make.in (have-ksh): Delete.
1548 * configure.ac (libc_cv_have_ksh): Delete.
1549 * configure: Regenerate.
1551 * elf/Makefile: Delete $(have-ksh) check.
1552 ($(objpfx)sotruss): Change KSH to BASH.
1553 * elf/sotruss.ksh: Rename to ...
1554 * elf/sotruss.sh: ... this. Change @KSH@ to @BASH@. Change
1555 function style to match POSIX. Drop ksh vim mode setting.
1557 * manual/time.texi (Specifying the Time Zone with TZ): Change
1558 Tuesday to Thursday.
1560 * debug/tst-longjmp_chk2.c: Update header comment.
1561 (stackoverflow_handler): Add comment. Call assert on pass value.
1563 2014-03-13 Igor Zamyatin <igor.zamyatin@intel.com>
1565 * config.h.in (HAVE_AVX512_SUPPORT): New #undef.
1566 (HAVE_AVX512_ASM_SUPPORT): Likewise.
1567 * sysdeps/x86_64/bits/link.h (La_x86_64_zmm): New.
1568 (La_x86_64_vector): Add zmm.
1569 * sysdeps/x86_64/Makefile (tests): Add tst-audit10.
1570 (modules-names): Add tst-auditmod10a and tst-auditmod10b.
1571 ($(objpfx)tst-audit10): New target.
1572 ($(objpfx)tst-audit10.out): Likewise.
1573 (tst-audit10-ENV): New.
1574 (AVX512-CFLAGS): Likewise.
1575 (CFLAGS-tst-audit10.c): Likewise.
1576 (CFLAGS-tst-auditmod10a.c): Likewise.
1577 (CFLAGS-tst-auditmod10b.c): Likewise.
1578 * sysdeps/x86_64/configure.ac: Set config-cflags-avx512,
1579 HAVE_AVX512_SUPPORT and HAVE_AVX512_ASM_SUPPORT.
1580 * sysdeps/x86_64/configure: Regenerated.
1581 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Add
1582 AVX-512 zmm register support.
1583 (_dl_x86_64_save_sse): Likewise.
1584 (_dl_x86_64_restore_sse): Likewise.
1585 * sysdeps/x86_64/dl-trampoline.h: Updated to support different
1586 size vector registers.
1587 * sysdeps/x86_64/link-defines.sym (YMM_SIZE): New.
1588 (ZMM_SIZE): Likewise.
1589 * sysdeps/x86_64/tst-audit10.c: New file.
1590 * sysdeps/x86_64/tst-auditmod10a.c: Likewise.
1591 * sysdeps/x86_64/tst-auditmod10b.c: Likewise.
1593 2014-03-13 Roland McGrath <roland@hack.frob.com>
1595 * configure.ac (HAVE_EHDR_START): New check.
1596 * configure: Regenerated.
1597 * config.h.in (HAVE_EHDR_START): New #undef.
1598 * elf/rtld.c (dl_main) [HAVE_EHDR_START]: Use __ehdr_start rather than
1599 assuming the lowest-addressed segment maps the start of the file.
1601 2014-03-13 Joseph Myers <joseph@codesourcery.com>
1603 * INSTALL: Regenerated.
1605 2014-03-13 Will Newton <will.newton@linaro.org>
1607 * manual/setjmp.texi (System V contexts): Improve
1608 clarity and grammar of documentation.
1610 2014-03-12 Paul Pluzhnikov <ppluzhnikov@google.com>
1613 * elf/Makefile (tests): Add tst-pie2.
1614 (tests-pie): Add tst-pie2.
1615 * elf/tst-pie2.c: New file.
1616 * elf/dl-load.c (_dl_map_object_from_fd): Assert correct l_type
1618 * elf/rtld.c (map_doit): Load executable as lt_executable.
1619 (dl_main): Likewise.
1621 2014-03-12 Joseph Myers <joseph@codesourcery.com>
1624 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
1625 (__ASSUME_PSELECT): Undefine.
1627 2014-03-12 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1630 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-ppc32.S
1631 (__bzero_ppc): Call memset@local instead of __memset_ppc@local for
1633 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: Build IFUNC
1634 selector for static builds.
1636 2014-03-12 Siddhesh Poyarekar <siddhesh@redhat.com>
1639 * nscd/netgroupcache.c (addgetnetgrentX): Factor in space for
1642 2014-03-12 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1644 * sysdeps/powerpc/powerpc64/multiarch/strspn.c (strspn): Build
1645 IFUNC selector for static builds.
1647 2014-03-11 Joseph Myers <joseph@codesourcery.com>
1649 * sysdeps/mips/math_private.h [__mips_hard_float]
1650 (libc_feresetround_ctx): Define to libc_feupdateenv_mips_ctx not
1651 libc_feresetround_mips_ctx.
1652 [__mips_hard_float] (libc_feresetroundf_ctx): Likewise.
1653 [__mips_hard_float] (libc_feresetroundl_ctx): Likewise.
1654 [__mips_hard_float] (libc_feresetround_mips_ctx): Remove.
1657 * math/s_nextafter.c (__nextafter): Do not return value from
1658 overflowing computation.
1659 * sysdeps/i386/fpu/s_nextafterl.c (__nextafterl): Likewise.
1660 * sysdeps/ieee754/flt-32/s_nextafterf.c (__nextafterf): Likewise.
1661 * sysdeps/ieee754/ldbl-128/s_nextafterl.c (__nextafterl):
1663 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl):
1665 * sysdeps/m68k/m680x0/fpu/s_nextafterl.c (__nextafterl): Likewise.
1666 * math/libm-test.inc (nextafter_test): Use ALL_RM_TEST.
1668 2014-03-11 Roland McGrath <roland@hack.frob.com>
1670 * sysdeps/arm/setjmp.S: Use sfi_breg on stores of mangled registers.
1671 * sysdeps/arm/__longjmp.S: Use sfi_breg on loads of mangled registers.
1672 Move sfi_sp use from the load-multiple (that no longer sets sp) to
1673 the new mov targetting sp.
1675 2014-03-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1678 * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S (__bzero_ppc):
1679 Define it for static builds as well.
1680 (NO_BZERO_IMPL): Likewise.
1682 2014-03-11 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
1684 * sysdeps/powerpc/powerpc64/power7/strspn.S: New file: Optimization.
1685 * sysdeps/powerpc/powerpc64/multiarch/strspn.c: New file:
1686 multiarch strspn for PPC64.
1687 * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c: New file
1688 * sysdeps/powerpc/powerpc64/multiarch/strspn-power7.S: New file
1689 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
1690 (__libc_ifunc_impl_list): Likewise.
1691 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strspn
1692 multiarch optimizations
1693 * string/strspn.c (strspn): Using macro to redefine symbol name.
1695 2014-03-10 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
1696 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1698 * sysdeps/powerpc/powerpc64/power7/strncat.S: New file: Optimization.
1699 * sysdeps/powerpc/powerpc64/multiarch/strncat.c: New file:
1700 multiarch strncat for PPC64.
1701 * sysdeps/powerpc/powerpc64/multiarch/strncat-ppc64.c: New file
1702 * sysdeps/powerpc/powerpc64/multiarch/strncat-power7.S: New file
1703 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
1704 (__libc_ifunc_impl_list): Likewise.
1705 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncat
1706 multiarch optimizations
1708 2014-03-10 Siddhesh Poyarekar <siddhesh@redhat.com>
1711 * nscd/nscd.service: Make service type forking.
1713 2014-03-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1715 * sysdeps/powerpc/power5+/fpu/s_modf.c (__modf): Fix to return correct
1716 sign in non default rounding modes.
1717 * sysdeps/powerpc/power5+/fpu/s_modff.c (__modff): Likewise.
1719 2014-03-08 Joseph Myers <joseph@codesourcery.com>
1721 * math/libm-test.inc (ALL_RM_TEST): New macro.
1722 (ceil_test): Use ALL_RM_TEST.
1723 (cimag_test): Likewise.
1724 (conj_test): Likewise.
1725 (copysign_test): Likewise.
1726 (cproj_test): Likewise.
1727 (creal_test): Likewise.
1728 (fabs_test): Likewise.
1729 (floor_test): Likewise.
1730 (fmax_test): Likewise.
1731 (fmin_test): Likewise.
1732 (fmod_test): Likewise.
1733 (fpclassify_test): Likewise.
1734 (frexp_test): Likewise.
1735 (ilogb_test): Likewise.
1736 (isfinite_test): Likewise.
1737 (finite_test): Likewise.
1738 (isgreater_test): Likewise.
1739 (isgreaterequal_test): Likewise.
1740 (isinf_test): Likewise.
1741 (isless_test): Likewise.
1742 (islessequal_test): Likewise.
1743 (islessgreater_test): Likewise.
1744 (isnan_test): Likewise.
1745 (isnormal_test): Likewise.
1746 (issignaling_test): Likewise.
1747 (isunordered_test): Likewise.
1748 (logb_test): Likewise.
1749 (logb_downward_test_data): Remove.
1750 (logb_test_downward): Likewise.
1751 (lround_test): Use ALL_RM_TEST.
1752 (llround_test): Likewise.
1753 (modf_test): Likewise.
1754 (nexttoward_test): Likewise.
1755 (remainder_test): Likewise.
1756 (drem_test): Likewise.
1757 (remainder_tonearest_test_data): Likewise.
1758 (remainder_test_tonearest): Likewise.
1759 (drem_test_tonearest): Likewise.
1760 (remainder_towardzero_test_data): Likewise.
1761 (remainder_test_towardzero): Likewise.
1762 (drem_test_towardzero): Likewise.
1763 (remainder_downward_test_data): Likewise.
1764 (remainder_test_downward): Likewise.
1765 (drem_test_downward): Likewise.
1766 (remainder_upward_test_data): Likewise.
1767 (remainder_test_upward): Likewise.
1768 (drem_test_upward): Likewise.
1769 (remquo_test): Use ALL_RM_TEST. Remove comment about x.
1770 (round_test): Use ALL_RM_TEST.
1771 (signbit_test): Likewise.
1772 (trunc_test): Likewise.
1773 (significand_test): Likewise.
1774 (main): Don't call removed functions.
1776 2014-03-07 Joseph Myers <joseph@codesourcery.com>
1779 * bits/siginfo.h (ILL_ILLOPC): Condition on [__USE_XOPEN_EXTENDED
1781 (ILL_ILLOPN): Likewise.
1782 (ILL_ILLADR): Likewise.
1783 (ILL_ILLTRP): Likewise.
1784 (ILL_PRVOPC): Likewise.
1785 (ILL_PRVREG): Likewise.
1786 (ILL_COPROC): Likewise.
1787 (ILL_BADSTK): Likewise.
1788 (FPE_INTDIV): Likewise.
1789 (FPE_INTOVF): Likewise.
1790 (FPE_FLTDIV): Likewise.
1791 (FPE_FLTOVF): Likewise.
1792 (FPE_FLTUND): Likewise.
1793 (FPE_FLTRES): Likewise.
1794 (FPE_FLTINV): Likewise.
1795 (FPE_FLTSUB): Likewise.
1796 (SEGV_MAPERR): Likewise.
1797 (SEGV_ACCERR): Likewise.
1798 (BUS_ADRALN): Likewise.
1799 (BUS_ADRERR): Likewise.
1800 (BUS_OBJERR): Likewise.
1801 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
1802 (TRAP_TRACE): Likewise.
1803 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
1805 (CLD_KILLED): Likewise.
1806 (CLD_DUMPED): Likewise.
1807 (CLD_TRAPPED): Likewise.
1808 (CLD_STOPPED): Likewise.
1809 (CLD_CONTINUED): Likewise.
1810 (POLL_IN): Likewise.
1811 (POLL_OUT): Likewise.
1812 (POLL_MSG): Likewise.
1813 (POLL_ERR): Likewise.
1814 (POLL_PRI): Likewise.
1815 (POLL_HUP): Likewise.
1816 * sysdeps/unix/sysv/linux/alpha/bits/siginfo.h (ILL_ILLOPC):
1818 (ILL_ILLOPN): Likewise.
1819 (ILL_ILLADR): Likewise.
1820 (ILL_ILLTRP): Likewise.
1821 (ILL_PRVOPC): Likewise.
1822 (ILL_PRVREG): Likewise.
1823 (ILL_COPROC): Likewise.
1824 (ILL_BADSTK): Likewise.
1825 (FPE_INTDIV): Likewise.
1826 (FPE_INTOVF): Likewise.
1827 (FPE_FLTDIV): Likewise.
1828 (FPE_FLTOVF): Likewise.
1829 (FPE_FLTUND): Likewise.
1830 (FPE_FLTRES): Likewise.
1831 (FPE_FLTINV): Likewise.
1832 (FPE_FLTSUB): Likewise.
1833 (SEGV_MAPERR): Likewise.
1834 (SEGV_ACCERR): Likewise.
1835 (BUS_ADRALN): Likewise.
1836 (BUS_ADRERR): Likewise.
1837 (BUS_OBJERR): Likewise.
1838 (BUS_MCEERR_AR): Likewise.
1839 (BUS_MCEERR_AO): Likewise.
1840 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
1841 (TRAP_TRACE): Likewise.
1842 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
1844 (CLD_KILLED): Likewise.
1845 (CLD_DUMPED): Likewise.
1846 (CLD_TRAPPED): Likewise.
1847 (CLD_STOPPED): Likewise.
1848 (CLD_CONTINUED): Likewise.
1849 (POLL_IN): Likewise.
1850 (POLL_OUT): Likewise.
1851 (POLL_MSG): Likewise.
1852 (POLL_ERR): Likewise.
1853 (POLL_PRI): Likewise.
1854 (POLL_HUP): Likewise.
1855 * sysdeps/unix/sysv/linux/bits/siginfo.h (ILL_ILLOPC): Likewise.
1856 (ILL_ILLOPN): Likewise.
1857 (ILL_ILLADR): Likewise.
1858 (ILL_ILLTRP): Likewise.
1859 (ILL_PRVOPC): Likewise.
1860 (ILL_PRVREG): Likewise.
1861 (ILL_COPROC): Likewise.
1862 (ILL_BADSTK): Likewise.
1863 (FPE_INTDIV): Likewise.
1864 (FPE_INTOVF): Likewise.
1865 (FPE_FLTDIV): Likewise.
1866 (FPE_FLTOVF): Likewise.
1867 (FPE_FLTUND): Likewise.
1868 (FPE_FLTRES): Likewise.
1869 (FPE_FLTINV): Likewise.
1870 (FPE_FLTSUB): Likewise.
1871 (SEGV_MAPERR): Likewise.
1872 (SEGV_ACCERR): Likewise.
1873 (BUS_ADRALN): Likewise.
1874 (BUS_ADRERR): Likewise.
1875 (BUS_OBJERR): Likewise.
1876 (BUS_MCEERR_AR): Likewise.
1877 (BUS_MCEERR_AO): Likewise.
1878 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
1879 (TRAP_TRACE): Likewise.
1880 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
1882 (CLD_KILLED): Likewise.
1883 (CLD_DUMPED): Likewise.
1884 (CLD_TRAPPED): Likewise.
1885 (CLD_STOPPED): Likewise.
1886 (CLD_CONTINUED): Likewise.
1887 (POLL_IN): Likewise.
1888 (POLL_OUT): Likewise.
1889 (POLL_MSG): Likewise.
1890 (POLL_ERR): Likewise.
1891 (POLL_PRI): Likewise.
1892 (POLL_HUP): Likewise.
1893 * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h (ILL_ILLOPC):
1895 (ILL_ILLOPN): Likewise.
1896 (ILL_ILLADR): Likewise.
1897 (ILL_ILLTRP): Likewise.
1898 (ILL_PRVOPC): Likewise.
1899 (ILL_PRVREG): Likewise.
1900 (ILL_COPROC): Likewise.
1901 (ILL_BADSTK): Likewise.
1902 (ILL_BADIADDR): Likewise.
1903 (ILL_BREAK): Likewise.
1904 (FPE_INTDIV): Likewise.
1905 (FPE_INTOVF): Likewise.
1906 (FPE_FLTDIV): Likewise.
1907 (FPE_FLTOVF): Likewise.
1908 (FPE_FLTUND): Likewise.
1909 (FPE_FLTRES): Likewise.
1910 (FPE_FLTINV): Likewise.
1911 (FPE_FLTSUB): Likewise.
1912 (FPE_DECOVF): Likewise.
1913 (FPE_DECDIV): Likewise.
1914 (FPE_DECERR): Likewise.
1915 (FPE_INVASC): Likewise.
1916 (FPE_INVDEC): Likewise.
1917 (SEGV_MAPERR): Likewise.
1918 (SEGV_ACCERR): Likewise.
1919 (SEGV_PSTKOVF): Likewise.
1920 (BUS_ADRALN): Likewise.
1921 (BUS_ADRERR): Likewise.
1922 (BUS_OBJERR): Likewise.
1923 (BUS_MCEERR_AR): Likewise.
1924 (BUS_MCEERR_AO): Likewise.
1925 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
1926 (TRAP_TRACE): Likewise.
1927 (TRAP_BRANCH): Likewise.
1928 (TRAP_HWBKPT): Likewise.
1929 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
1931 (CLD_KILLED): Likewise.
1932 (CLD_DUMPED): Likewise.
1933 (CLD_TRAPPED): Likewise.
1934 (CLD_STOPPED): Likewise.
1935 (CLD_CONTINUED): Likewise.
1936 (POLL_IN): Likewise.
1937 (POLL_OUT): Likewise.
1938 (POLL_MSG): Likewise.
1939 (POLL_ERR): Likewise.
1940 (POLL_PRI): Likewise.
1941 (POLL_HUP): Likewise.
1942 * sysdeps/unix/sysv/linux/mips/bits/siginfo.h (ILL_ILLOPC): Likewise.
1943 (ILL_ILLOPN): Likewise.
1944 (ILL_ILLADR): Likewise.
1945 (ILL_ILLTRP): Likewise.
1946 (ILL_PRVOPC): Likewise.
1947 (ILL_PRVREG): Likewise.
1948 (ILL_COPROC): Likewise.
1949 (ILL_BADSTK): Likewise.
1950 (FPE_INTDIV): Likewise.
1951 (FPE_INTOVF): Likewise.
1952 (FPE_FLTDIV): Likewise.
1953 (FPE_FLTOVF): Likewise.
1954 (FPE_FLTUND): Likewise.
1955 (FPE_FLTRES): Likewise.
1956 (FPE_FLTINV): Likewise.
1957 (FPE_FLTSUB): Likewise.
1958 (SEGV_MAPERR): Likewise.
1959 (SEGV_ACCERR): Likewise.
1960 (BUS_ADRALN): Likewise.
1961 (BUS_ADRERR): Likewise.
1962 (BUS_OBJERR): Likewise.
1963 (BUS_MCEERR_AR): Likewise.
1964 (BUS_MCEERR_AO): Likewise.
1965 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
1966 (TRAP_TRACE): Likewise.
1967 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
1969 (CLD_KILLED): Likewise.
1970 (CLD_DUMPED): Likewise.
1971 (CLD_TRAPPED): Likewise.
1972 (CLD_STOPPED): Likewise.
1973 (CLD_CONTINUED): Likewise.
1974 (POLL_IN): Likewise.
1975 (POLL_OUT): Likewise.
1976 (POLL_MSG): Likewise.
1977 (POLL_ERR): Likewise.
1978 (POLL_PRI): Likewise.
1979 (POLL_HUP): Likewise.
1980 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (ILL_ILLOPC): Likewise.
1981 (ILL_ILLOPN): Likewise.
1982 (ILL_ILLADR): Likewise.
1983 (ILL_ILLTRP): Likewise.
1984 (ILL_PRVOPC): Likewise.
1985 (ILL_PRVREG): Likewise.
1986 (ILL_COPROC): Likewise.
1987 (ILL_BADSTK): Likewise.
1988 (FPE_INTDIV): Likewise.
1989 (FPE_INTOVF): Likewise.
1990 (FPE_FLTDIV): Likewise.
1991 (FPE_FLTOVF): Likewise.
1992 (FPE_FLTUND): Likewise.
1993 (FPE_FLTRES): Likewise.
1994 (FPE_FLTINV): Likewise.
1995 (FPE_FLTSUB): Likewise.
1996 (SEGV_MAPERR): Likewise.
1997 (SEGV_ACCERR): Likewise.
1998 (BUS_ADRALN): Likewise.
1999 (BUS_ADRERR): Likewise.
2000 (BUS_OBJERR): Likewise.
2001 (BUS_MCEERR_AR): Likewise.
2002 (BUS_MCEERR_AO): Likewise.
2003 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
2004 (TRAP_TRACE): Likewise.
2005 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
2007 (CLD_KILLED): Likewise.
2008 (CLD_DUMPED): Likewise.
2009 (CLD_TRAPPED): Likewise.
2010 (CLD_STOPPED): Likewise.
2011 (CLD_CONTINUED): Likewise.
2012 (POLL_IN): Likewise.
2013 (POLL_OUT): Likewise.
2014 (POLL_MSG): Likewise.
2015 (POLL_ERR): Likewise.
2016 (POLL_PRI): Likewise.
2017 (POLL_HUP): Likewise.
2018 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (ILL_ILLOPC): Likewise.
2019 (ILL_ILLOPN): Likewise.
2020 (ILL_ILLADR): Likewise.
2021 (ILL_ILLTRP): Likewise.
2022 (ILL_PRVOPC): Likewise.
2023 (ILL_PRVREG): Likewise.
2024 (ILL_COPROC): Likewise.
2025 (ILL_BADSTK): Likewise.
2026 (FPE_INTDIV): Likewise.
2027 (FPE_INTOVF): Likewise.
2028 (FPE_FLTDIV): Likewise.
2029 (FPE_FLTOVF): Likewise.
2030 (FPE_FLTUND): Likewise.
2031 (FPE_FLTRES): Likewise.
2032 (FPE_FLTINV): Likewise.
2033 (FPE_FLTSUB): Likewise.
2034 (SEGV_MAPERR): Likewise.
2035 (SEGV_ACCERR): Likewise.
2036 (BUS_ADRALN): Likewise.
2037 (BUS_ADRERR): Likewise.
2038 (BUS_OBJERR): Likewise.
2039 (BUS_MCEERR_AR): Likewise.
2040 (BUS_MCEERR_AO): Likewise.
2041 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
2042 (TRAP_TRACE): Likewise.
2043 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
2045 (CLD_KILLED): Likewise.
2046 (CLD_DUMPED): Likewise.
2047 (CLD_TRAPPED): Likewise.
2048 (CLD_STOPPED): Likewise.
2049 (CLD_CONTINUED): Likewise.
2050 (POLL_IN): Likewise.
2051 (POLL_OUT): Likewise.
2052 (POLL_MSG): Likewise.
2053 (POLL_ERR): Likewise.
2054 (POLL_PRI): Likewise.
2055 (POLL_HUP): Likewise.
2056 * sysdeps/unix/sysv/linux/tile/bits/siginfo.h (ILL_ILLOPC): Likewise.
2057 (ILL_ILLOPN): Likewise.
2058 (ILL_ILLADR): Likewise.
2059 (ILL_ILLTRP): Likewise.
2060 (ILL_PRVOPC): Likewise.
2061 (ILL_PRVREG): Likewise.
2062 (ILL_COPROC): Likewise.
2063 (ILL_BADSTK): Likewise.
2064 (ILL_DBLFLT): Likewise.
2065 (ILL_HARDWALL): Likewise.
2066 (FPE_INTDIV): Likewise.
2067 (FPE_INTOVF): Likewise.
2068 (FPE_FLTDIV): Likewise.
2069 (FPE_FLTOVF): Likewise.
2070 (FPE_FLTUND): Likewise.
2071 (FPE_FLTRES): Likewise.
2072 (FPE_FLTINV): Likewise.
2073 (FPE_FLTSUB): Likewise.
2074 (SEGV_MAPERR): Likewise.
2075 (SEGV_ACCERR): Likewise.
2076 (BUS_ADRALN): Likewise.
2077 (BUS_ADRERR): Likewise.
2078 (BUS_OBJERR): Likewise.
2079 (BUS_MCEERR_AR): Likewise.
2080 (BUS_MCEERR_AO): Likewise.
2081 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
2082 (TRAP_TRACE): Likewise.
2083 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
2085 (CLD_KILLED): Likewise.
2086 (CLD_DUMPED): Likewise.
2087 (CLD_TRAPPED): Likewise.
2088 (CLD_STOPPED): Likewise.
2089 (CLD_CONTINUED): Likewise.
2090 (POLL_IN): Likewise.
2091 (POLL_OUT): Likewise.
2092 (POLL_MSG): Likewise.
2093 (POLL_ERR): Likewise.
2094 (POLL_PRI): Likewise.
2095 (POLL_HUP): Likewise.
2096 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (ILL_ILLOPC): Likewise.
2097 (ILL_ILLOPN): Likewise.
2098 (ILL_ILLADR): Likewise.
2099 (ILL_ILLTRP): Likewise.
2100 (ILL_PRVOPC): Likewise.
2101 (ILL_PRVREG): Likewise.
2102 (ILL_COPROC): Likewise.
2103 (ILL_BADSTK): Likewise.
2104 (FPE_INTDIV): Likewise.
2105 (FPE_INTOVF): Likewise.
2106 (FPE_FLTDIV): Likewise.
2107 (FPE_FLTOVF): Likewise.
2108 (FPE_FLTUND): Likewise.
2109 (FPE_FLTRES): Likewise.
2110 (FPE_FLTINV): Likewise.
2111 (FPE_FLTSUB): Likewise.
2112 (SEGV_MAPERR): Likewise.
2113 (SEGV_ACCERR): Likewise.
2114 (BUS_ADRALN): Likewise.
2115 (BUS_ADRERR): Likewise.
2116 (BUS_OBJERR): Likewise.
2117 (BUS_MCEERR_AR): Likewise.
2118 (BUS_MCEERR_AO): Likewise.
2119 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
2120 (TRAP_TRACE): Likewise.
2121 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
2123 (CLD_KILLED): Likewise.
2124 (CLD_DUMPED): Likewise.
2125 (CLD_TRAPPED): Likewise.
2126 (CLD_STOPPED): Likewise.
2127 (CLD_CONTINUED): Likewise.
2128 (POLL_IN): Likewise.
2129 (POLL_OUT): Likewise.
2130 (POLL_MSG): Likewise.
2131 (POLL_ERR): Likewise.
2132 (POLL_PRI): Likewise.
2133 (POLL_HUP): Likewise.
2134 * conform/Makefile (test-xfail-POSIX/signal.h/conform): Remove.
2135 (test-xfail-POSIX/sys/wait.h/conform): Likewise.
2138 * posix/sched.h [!__USE_XOPEN2K] (__need_time_t): Don't define
2139 before #include of <time.h>.
2140 [!__USE_XOPEN2K] (__need_timespec): Likewise.
2141 * conform/Makefile (test-xfail-POSIX/sched.h/conform): Remove.
2142 (test-xfail-UNIX98/sched.h/conform): Likewise.
2144 2014-03-07 Marcus Shawcroft <marcus.shawcroft@arm.com>
2146 * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept): Detect and
2147 error absence of trapping exception support.
2148 * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Likewise.
2150 2014-03-07 Joseph Myers <joseph@codesourcery.com>
2152 * catgets/Makefile (tests-special): Add $(objpfx)sample.SJIS.cat.
2153 ($(objpfx)sample.SJIS.cat): Use $(evaluate-test).
2154 * timezone/Makefile (testdata): Move definition above include of
2156 (test-zones): New variable.
2157 (tests-special): Add zone files.
2158 (build-testdata): Use $(evaluate-test).
2160 * elf/Makefile (tests-special): Rename tests to end with .out.
2161 ($(objpfx)noload-mem): Likewise.
2162 ($(objpfx)tst-leaks1-mem): Likewise.
2163 ($(objpfx)tst-leaks1-static-mem.out): Likewise.
2164 * iconv/Makefile (xtests-special): Change test-iconvconfig to
2165 $(objpfx)test-iconvconfig.out.
2166 (test-iconvconfig): Change to $(objpfx)test-iconvconfig.out. Use
2167 set -e inside subshell and redirect output to file.
2168 * iconvdata/Makefile (generated): Rename tests to end with .out.
2170 (tests-special): Rename tests to end with .out.
2171 ($(objpfx)mtrace-tst-loading): Likewise.
2172 * intl/Makefile (generated): Likewise.
2173 (tests-special): Likewise.
2174 ($(objpfx)mtrace-tst-gettext): Likewise.
2175 * misc/Makefile (generated): Likewise.
2176 (tests-special): Likewise.
2177 ($(objpfx)tst-error1-mem): Likewise.
2178 * nptl/Makefile (tests-special): Likewise.
2179 ($(objpfx)tst-stack3-mem): Likewise.
2180 (generated): Likewise.
2181 * posix/Makefile (generated): Likewise.
2182 (tests-special): Likewise.
2183 (xtests-special): Likewise.
2184 ($(objpfx)tst-fnmatch-mem): Likewise.
2185 ($(objpfx)bug-regex2-mem): Likewise.
2186 ($(objpfx)bug-regex14-mem): Likewise.
2187 ($(objpfx)bug-regex21-mem): Likewise.
2188 ($(objpfx)bug-regex31-mem): Likewise.
2189 ($(objpfx)tst-vfork3-mem): Likewise.
2190 ($(objpfx)tst-rxspencer-no-utf8-mem): Likewise.
2191 ($(objpfx)tst-pcre-mem): Likewise.
2192 ($(objpfx)tst-boost-mem): Likewise.
2193 ($(objpfx)bug-ga2-mem): Likewise.
2194 ($(objpfx)bug-glob2-mem): Likewise.
2195 * resolv/Makefile (generate): Likewise.
2196 (tests-special): Likewise.
2197 (xtests-special): Likewise.
2198 (generated): Likewise.
2199 ($(objpfx)mtrace-tst-leaks): Likewise.
2200 ($(objpfx)mtrace-tst-leaks2): Likewise.
2202 * scripts/merge-test-results.sh: New file.
2203 * Makefile (tests-special-notdir): New variable.
2204 (tests): Run merge-test-results.sh.
2206 * Rules (tests-special-notdir): New variable.
2207 (xtests-special-notdir): Likewise.
2208 (tests): Run merge-test-results.sh
2211 * Makeconfig (test-xfail-name): New variable.
2212 (evaluate-test): Use $(test-xfail-name) instead of $(@F:.out=) to
2213 compute variable name for expected failures.
2214 * conform/Makefile (conformtest-headers-data): New variable.
2215 (conformtest-standards): Likewise.
2216 (conformtest-headers-ISO): Likewise.
2217 (conformtest-headers-ISO99): Likewise.
2218 (conformtest-headers-ISO11): Likewise.
2219 (conformtest-headers-POSIX): Likewise.
2220 (conformtest-headers-XPG3): Likewise.
2221 (conformtest-headers-XPG4): Likewise.
2222 (conformtest-headers-UNIX98): Likewise.
2223 (conformtest-headers-XOPEN2K): Likewise.
2224 (conformtest-headers-POSIX2008): Likewise.
2225 (conformtest-headers-XOPEN2K8): Likewise.
2226 (conformtest-header-list-base): Likewise.
2227 (conformtest-header-list-tests): Likewise.
2228 (conformtest-header-base): Likewise.
2229 (conformtest-header-tests): Likewise.
2230 (tests-special): Add $(conformtest-header-list-tests). If
2231 [$(fast-check) && !$(cross-compiling)], add
2232 $(conformtest-header-tests) instead of
2233 $(objpfx)run-conformtest.out.
2234 (generated): Add $(conformtest-header-list-base). If
2235 [$(fast-check) && !$(cross-compiling)], add
2236 $(conformtest-header-base). Remove previous setting.
2237 ($(conformtest-header-list-tests)): New target.
2238 (test-xfail-run-conformtest): Remove variable.
2239 ($(objpfx)run-conformtest.out): Remove target.
2240 (test-xfail-ISO11/complex.h/conform): New variable.
2241 (test-xfail-ISO11/stdalign.h/conform): Likewise.
2242 (test-xfail-ISO11/stdnoreturn.h/conform): Likewise.
2243 (test-xfail-XPG3/varargs.h/conform): Likewise.
2244 (test-xfail-XPG4/varargs.h/conform): Likewise.
2245 (test-xfail-UNIX98/varargs.h/conform): Likewise.
2246 (test-xfail-XPG4/ndbm.h/conform): Likewise.
2247 (test-xfail-UNIX98/ndbm.h/conform): Likewise.
2248 (test-xfail-XOPEN2K/ndbm.h/conform): Likewise.
2249 (test-xfail-XOPEN2K8/ndbm.h/conform): Likewise.
2250 (test-xfail-XPG3/fcntl.h/conform): Likewise.
2251 (test-xfail-XPG3/ftw.h/conform): Likewise.
2252 (test-xfail-XPG3/grp.h/conform): Likewise.
2253 (test-xfail-XPG3/langinfo.h/conform): Likewise.
2254 (test-xfail-XPG3/limits.h/conform): Likewise.
2255 (test-xfail-XPG3/pwd.h/conform): Likewise.
2256 (test-xfail-XPG3/search.h/conform): Likewise.
2257 (test-xfail-XPG3/signal.h/conform): Likewise.
2258 (test-xfail-XPG3/stdio.h/conform): Likewise.
2259 (test-xfail-XPG3/stdlib.h/conform): Likewise.
2260 (test-xfail-XPG3/string.h/conform): Likewise.
2261 (test-xfail-XPG3/sys/ipc.h/conform): Likewise.
2262 (test-xfail-XPG3/sys/msg.h/conform): Likewise.
2263 (test-xfail-XPG3/sys/sem.h/conform): Likewise.
2264 (test-xfail-XPG3/sys/shm.h/conform): Likewise.
2265 (test-xfail-XPG3/sys/stat.h/conform): Likewise.
2266 (test-xfail-XPG3/sys/types.h/conform): Likewise.
2267 (test-xfail-XPG3/sys/wait.h/conform): Likewise.
2268 (test-xfail-XPG3/termios.h/conform): Likewise.
2269 (test-xfail-XPG3/time.h/conform): Likewise.
2270 (test-xfail-XPG3/unistd.h/conform): Likewise.
2271 (test-xfail-XPG4/arpa/inet.h/conform): Likewise.
2272 (test-xfail-XPG4/fcntl.h/conform): Likewise.
2273 (test-xfail-XPG4/langinfo.h/conform): Likewise.
2274 (test-xfail-XPG4/netdb.h/conform): Likewise.
2275 (test-xfail-XPG4/netinet/in.h/conform): Likewise.
2276 (test-xfail-XPG4/signal.h/conform): Likewise.
2277 (test-xfail-XPG4/stdio.h/conform): Likewise.
2278 (test-xfail-XPG4/stdlib.h/conform): Likewise.
2279 (test-xfail-XPG4/stropts.h/conform): Likewise.
2280 (test-xfail-XPG4/sys/ipc.h/conform): Likewise.
2281 (test-xfail-XPG4/sys/msg.h/conform): Likewise.
2282 (test-xfail-XPG4/sys/sem.h/conform): Likewise.
2283 (test-xfail-XPG4/sys/shm.h/conform): Likewise.
2284 (test-xfail-XPG4/sys/socket.h/conform): Likewise.
2285 (test-xfail-XPG4/sys/stat.h/conform): Likewise.
2286 (test-xfail-XPG4/sys/time.h/conform): Likewise.
2287 (test-xfail-XPG4/sys/types.h/conform): Likewise.
2288 (test-xfail-XPG4/sys/wait.h/conform): Likewise.
2289 (test-xfail-XPG4/termios.h/conform): Likewise.
2290 (test-xfail-XPG4/ucontext.h/conform): Likewise.
2291 (test-xfail-XPG4/unistd.h/conform): Likewise.
2292 (test-xfail-XPG4/utmpx.h/conform): Likewise.
2293 (test-xfail-POSIX/sched.h/conform): Likewise.
2294 (test-xfail-POSIX/signal.h/conform): Likewise.
2295 (test-xfail-POSIX/sys/wait.h/conform): Likewise.
2296 (test-xfail-POSIX/tar.h/conform): Likewise.
2297 (test-xfail-UNIX98/arpa/inet.h/conform): Likewise.
2298 (test-xfail-UNIX98/fcntl.h/conform): Likewise.
2299 (test-xfail-UNIX98/langinfo.h/conform): Likewise.
2300 (test-xfail-UNIX98/netdb.h/conform): Likewise.
2301 (test-xfail-UNIX98/netinet/in.h/conform): Likewise.
2302 (test-xfail-UNIX98/sched.h/conform): Likewise.
2303 (test-xfail-UNIX98/signal.h/conform): Likewise.
2304 (test-xfail-UNIX98/stdio.h/conform): Likewise.
2305 (test-xfail-UNIX98/stdlib.h/conform): Likewise.
2306 (test-xfail-UNIX98/stropts.h/conform): Likewise.
2307 (test-xfail-UNIX98/sys/ipc.h/conform): Likewise.
2308 (test-xfail-UNIX98/sys/msg.h/conform): Likewise.
2309 (test-xfail-UNIX98/sys/sem.h/conform): Likewise.
2310 (test-xfail-UNIX98/sys/shm.h/conform): Likewise.
2311 (test-xfail-UNIX98/sys/socket.h/conform): Likewise.
2312 (test-xfail-UNIX98/sys/time.h/conform): Likewise.
2313 (test-xfail-UNIX98/sys/wait.h/conform): Likewise.
2314 (test-xfail-UNIX98/ucontext.h/conform): Likewise.
2315 (test-xfail-UNIX98/unistd.h/conform): Likewise.
2316 (test-xfail-UNIX98/utmpx.h/conform): Likewise.
2317 (test-xfail-XOPEN2K/aio.h/conform): Likewise.
2318 (test-xfail-XOPEN2K/arpa/inet.h/conform): Likewise.
2319 (test-xfail-XOPEN2K/fcntl.h/conform): Likewise.
2320 (test-xfail-XOPEN2K/langinfo.h/conform): Likewise.
2321 (test-xfail-XOPEN2K/math.h/conform): Likewise.
2322 (test-xfail-XOPEN2K/mqueue.h/conform): Likewise.
2323 (test-xfail-XOPEN2K/netdb.h/conform): Likewise.
2324 (test-xfail-XOPEN2K/netinet/in.h/conform): Likewise.
2325 (test-xfail-XOPEN2K/semaphore.h/conform): Likewise.
2326 (test-xfail-XOPEN2K/signal.h/conform): Likewise.
2327 (test-xfail-XOPEN2K/stdarg.h/conform): Likewise.
2328 (test-xfail-XOPEN2K/stdio.h/conform): Likewise.
2329 (test-xfail-XOPEN2K/stropts.h/conform): Likewise.
2330 (test-xfail-XOPEN2K/sys/ipc.h/conform): Likewise.
2331 (test-xfail-XOPEN2K/sys/msg.h/conform): Likewise.
2332 (test-xfail-XOPEN2K/sys/sem.h/conform): Likewise.
2333 (test-xfail-XOPEN2K/sys/shm.h/conform): Likewise.
2334 (test-xfail-XOPEN2K/sys/socket.h/conform): Likewise.
2335 (test-xfail-XOPEN2K/sys/wait.h/conform): Likewise.
2336 (test-xfail-XOPEN2K/termios.h/conform): Likewise.
2337 (test-xfail-XOPEN2K/tgmath.h/conform): Likewise.
2338 (test-xfail-XOPEN2K/ucontext.h/conform): Likewise.
2339 (test-xfail-XOPEN2K/utmpx.h/conform): Likewise.
2340 (test-xfail-POSIX2008/arpa/inet.h/conform): Likewise.
2341 (test-xfail-POSIX2008/fcntl.h/conform): Likewise.
2342 (test-xfail-POSIX2008/netdb.h/conform): Likewise.
2343 (test-xfail-POSIX2008/netinet/in.h/conform): Likewise.
2344 (test-xfail-POSIX2008/signal.h/conform): Likewise.
2345 (test-xfail-POSIX2008/stropts.h/conform): Likewise.
2346 (test-xfail-POSIX2008/sys/socket.h/conform): Likewise.
2347 (test-xfail-POSIX2008/sys/wait.h/conform): Likewise.
2348 (test-xfail-XOPEN2K8/arpa/inet.h/conform): Likewise.
2349 (test-xfail-XOPEN2K8/fcntl.h/conform): Likewise.
2350 (test-xfail-XOPEN2K8/limits.h/conform): Likewise.
2351 (test-xfail-XOPEN2K8/math.h/conform): Likewise.
2352 (test-xfail-XOPEN2K8/netdb.h/conform): Likewise.
2353 (test-xfail-XOPEN2K8/netinet/in.h/conform): Likewise.
2354 (test-xfail-XOPEN2K8/signal.h/conform): Likewise.
2355 (test-xfail-XOPEN2K8/stdio.h/conform): Likewise.
2356 (test-xfail-XOPEN2K8/stropts.h/conform): Likewise.
2357 (test-xfail-XOPEN2K8/sys/ipc.h/conform): Likewise.
2358 (test-xfail-XOPEN2K8/sys/msg.h/conform): Likewise.
2359 (test-xfail-XOPEN2K8/sys/select.h/conform): Likewise.
2360 (test-xfail-XOPEN2K8/sys/sem.h/conform): Likewise.
2361 (test-xfail-XOPEN2K8/sys/shm.h/conform): Likewise.
2362 (test-xfail-XOPEN2K8/sys/socket.h/conform): Likewise.
2363 (test-xfail-XOPEN2K8/sys/time.h/conform): Likewise.
2364 (test-xfail-XOPEN2K8/sys/wait.h/conform): Likewise.
2365 (test-xfail-XOPEN2K8/termios.h/conform): Likewise.
2366 (test-xfail-XOPEN2K8/tgmath.h/conform): Likewise.
2367 (test-xfail-XOPEN2K8/utmpx.h/conform): Likewise.
2368 (conformtest-cc-flags): Likewise.
2369 ($(conformtest-header-tests): New target.
2370 * conform/check-header-lists.sh: New file.
2371 * conform/run-conformtest.sh: Remove.
2373 * conform/conformtest.pl: Allow ' and \ in values given for
2375 * conform/data/semaphore.h-data [POSIX] (fcntl.h): Allow header
2377 [POSIX] (sys/types.h): Likewise.
2378 [POSIX2008 || XOPEN2K8] (sys/types.h): Don't allow header
2380 [POSIX || UNIX98 || XOPEN2K] (time.h): Don't allow header
2382 * conform/data/signal.h-data (SIGIO): Remove expectation.
2383 [XPG3] (SIGBUS): Do not expect.
2384 [POSIX || XPG3] (SIGPOLL): Likewise.
2385 [POSIX || XPG3] (SIGPROF): Likewise.
2386 [POSIX || XPG3] (SIGSYS): Likewise.
2387 [XPG3] (SIGTRAP): Likewise.
2388 [POSIX || XPG3] (SIGURG): Likewise.
2389 [POSIX || XPG3] (SIGVTALRM): Likewise.
2390 [POSIX || XPG3] (SIGXCPU): Likewise.
2391 [POSIX || XPG3] (SIGXFSZ): Likewise.
2392 [POSIX] (SA_SIGINFO): Expect.
2393 [XPG3] (siginfo_t): Do not expect type or contents.
2394 [POSIX] (si_pid): Do not expect element.
2395 [POSIX] (si_uid): Likewise.
2396 [POSIX] (si_addr): Likewise.
2397 [POSIX] (si_status): Likewise.
2398 [POSIX] (si_band): Likewise.
2399 [XPG4] (si_value): Likewise.
2400 [POSIX || XPG3] (ILL_ILLOPC): Do not expect.
2401 [POSIX || XPG3] (ILL_ILLOPN): Likewise.
2402 [POSIX || XPG3] (ILL_ILLADR): Likewise.
2403 [POSIX || XPG3] (ILL_ILLTRP): Likewise.
2404 [POSIX || XPG3] (ILL_PRVOPC): Likewise.
2405 [POSIX || XPG3] (ILL_PRVREG): Likewise.
2406 [POSIX || XPG3] (ILL_COPROC): Likewise.
2407 [POSIX || XPG3] (ILL_BADSTK): Likewise.
2408 [POSIX || XPG3] (FPE_INTDIV): Likewise.
2409 [POSIX || XPG3] (FPE_INTOVF): Likewise.
2410 [POSIX || XPG3] (FPE_FLTDIV): Likewise.
2411 [POSIX || XPG3] (FPE_FLTOVF): Likewise.
2412 [POSIX || XPG3] (FPE_FLTUND): Likewise.
2413 [POSIX || XPG3] (FPE_FLTRES): Likewise.
2414 [POSIX || XPG3] (FPE_FLTINV): Likewise.
2415 [POSIX || XPG3] (FPE_FLTSUB): Likewise.
2416 [POSIX || XPG3] (SEGV_MAPERR): Likewise.
2417 [POSIX || XPG3] (SEGV_ACCERR): Likewise.
2418 [POSIX || XPG3] (BUS_ADRALN): Likewise.
2419 [POSIX || XPG3] (BUS_ADRERR): Likewise.
2420 [POSIX || XPG3] (BUS_OBJERR): Likewise.
2421 [POSIX || XPG3] (CLD_EXITED): Likewise.
2422 [POSIX || XPG3] (CLD_KILLED): Likewise.
2423 [POSIX || XPG3] (CLD_DUMPED): Likewise.
2424 [POSIX || XPG3] (CLD_TRAPPED): Likewise.
2425 [POSIX || XPG3] (CLD_STOPPED): Likewise.
2426 [POSIX || XPG3] (CLD_CONTINUED): Likewise.
2427 [POSIX || XPG3] (POLL_IN): Likewise.
2428 [POSIX || XPG3] (POLL_OUT): Likewise.
2429 [POSIX || XPG3] (POLL_MSG): Likewise.
2430 [POSIX || XPG3] (POLL_ERR): Likewise.
2431 [POSIX || XPG3] (POLL_PRI): Likewise.
2432 [POSIX || XPG3] (POLL_HUP): Likewise.
2433 [POSIX || XPG3 || POSIX2008] (TRAP_BRKPT): Likewise.
2434 [POSIX || XPG3 || POSIX2008] (TRAP_TRACE): Likewise.
2435 (SIG*): Do not allow.
2436 [XPG3] (si_*): Likewise.
2437 [XPG3] (SI_*): Likewise.
2438 [XPG3 || XPG4] (sigev_*): Likewise.
2439 [XPG3 || XPG4] (SIGEV_*): Likewise.
2440 [XPG3 || XPG4] (sival_*): Likewise.
2441 [POSIX || XPG3 || XPG4] (uc_*): Likewise.
2442 [POSIX || XPG3] (BUS_*): Likewise.
2443 [POSIX || XPG3] (CLD_*): Likewise.
2444 [POSIX || XPG3] (FPE_*): Likewise.
2445 [POSIX || XPG3] (ILL_*): Likewise.
2446 [POSIX || XPG3] (POLL_*): Likewise.
2447 [POSIX || XPG3] (SEGV_*): Likewise.
2448 [POSIX || XPG3 || POSIX2008] (SS_*): Likewise.
2449 [POSIX || XPG3 || POSIX2008] (SV_*): Likewise.
2450 [POSIX || XPG3 || POSIX2008] (TRAP_*): Likewise.
2451 [POSIX || XPG3 || POSIX2008] (ss_*): Likewise.
2452 [POSIX || XPG3 || POSIX2008] (sv_*): Likewise.
2453 * conform/data/tar.h-data (TMAGLEN): Use macro-int-constant.
2454 Specify type and value.
2455 (TVERSLEN): Likewise.
2456 (REGTYPE): Likewise.
2457 (AREGTYPE): Likewise.
2458 (LNKTYPE): Likewise.
2459 (SYMTYPE): Likewise.
2460 (CHRTYPE): Likewise.
2461 (BLKTYPE): Likewise.
2462 (DIRTYPE): Likewise.
2463 (FIFOTYPE): Likewise.
2464 (CONTTYPE): Likewise.
2469 (TUWRITE): Likewise.
2472 (TGWRITE): Likewise.
2475 (TOWRITE): Likewise.
2477 [POSIX] (TSVTX): Expect constant.
2479 2014-03-06 Joseph Myers <joseph@codesourcery.com>
2481 * Makefile (tests): Change dependencies to ....
2482 (tests-special): ... additions to this variable.
2483 (tests): Depend on $(tests-special).
2484 * Makerules (check-abi-list): New variable.
2485 (check-abi): Depend on $(check-abi-list).
2486 [$(subdir) = elf] (tests-special): Add
2487 $(objpfx)check-abi-libc.out.
2488 [$(build-shared) = yes && subdir] (tests-special): Add
2490 [$(build-shared) = yes && subdir] (tests): Do not depend on
2492 * Rules (tests): Depend on $(tests-special).
2493 (xtests): Depend on $(xtests-special).
2494 * catgets/Makefile (tests): Change dependencies to ....
2495 (tests-special): ... additions to this variable.
2496 * conform/Makefile (tests): Change dependencies to ....
2497 (tests-special): ... additions to this variable.
2498 * elf/Makefile (tests): Change dependencies to ....
2499 (tests-special): ... additions to this variable.
2500 * grp/Makefile (tests): Change dependencies to ....
2501 (tests-special): ... additions to this variable.
2502 * iconv/Makefile (xtests): Change dependencies to ....
2503 (xtests-special): ... additions to this variable.
2504 * iconvdata/Makefile (tests): Change dependencies to ....
2505 (tests-special): ... additions to this variable.
2506 * intl/Makefile (tests): Change dependencies to ....
2507 (tests-special): ... additions to this variable. Also add
2508 $(objpfx)tst-gettext.out.
2509 * io/Makefile (tests): Change dependencies to ....
2510 (tests-special): ... additions to this variable.
2511 * libio/Makefile (tests): Change dependencies to ....
2512 (tests-special): ... additions to this variable.
2513 * malloc/Makefile (tests): Change dependencies to ....
2514 (tests-special): ... additions to this variable.
2515 * misc/Makefile (tests): Change dependencies to ....
2516 (tests-special): ... additions to this variable.
2517 * nptl/Makefile (tests): Change dependencies to ....
2518 (tests-special): ... additions to this variable.
2519 * nptl_db/Makefile (tests): Change dependencies to ....
2520 (tests-special): ... additions to this variable.
2521 * posix/Makefile (tests): Change dependencies to ....
2522 (tests-special): ... additions to this variable.
2523 (xtests): Change dependencies to ....
2524 (xtests-special): ... additions to this variable.
2525 * resolv/Makefile (tests): Change dependencies to ....
2526 (tests-special): ... additions to this variable.
2527 (xtests): Change dependencies to ....
2528 (xtests-special): ... additions to this variable.
2529 * stdio-common/Makefile (tests): Change dependencies to ....
2530 (tests-special): ... additions to this variable.
2531 (do-tst-unbputc): Remove target.
2532 (do-tst-printf): Likewise.
2533 * stdlib/Makefile (tests): Change dependencies to ....
2534 (tests-special): ... additions to this variable.
2535 * string/Makefile (tests): Change dependencies to ....
2536 (tests-special): ... additions to this variable.
2537 * sysdeps/x86/Makefile (tests): Change dependencies to ....
2538 (tests-special): ... additions to this variable.
2540 * conform/data/netinet/tcp.h-data [POSIX2008 || XOPEN2K8]: Enable
2542 * conform/data/sys/timeb.h-data [POSIX2008 || XOPEN2K8]: Disable
2544 * conform/data/sys/uio.h-data [POSIX2008]: Likewise.
2545 * conform/data/ucontext.h-data [POSIX2008 || XOPEN2K8]: Likewise.
2547 * conform/data/aio.h-data [XPG3 || XPG4]: Disable whole file.
2548 * conform/data/arpa/inet.h-data [XPG3]: Likewise.
2549 * conform/data/dlfcn.h-data [XPG3 || XPG4]: Likewise.
2550 * conform/data/fmtmsg.h-data [XPG3]: Likewise.
2551 * conform/data/libgen.h-data [XPG3]: Likewise.
2552 * conform/data/mqueue.h-data [XPG3 || XPG4]: Likewise.
2553 * conform/data/ndbm.h-data [XPG3]: Likewise.
2554 * conform/data/net/if.h-data [XPG3 || XPG4 || UNIX98]: Likewise.
2555 * conform/data/netdb.h-data [XPG3]: Likewise.
2556 * conform/data/netinet/in.h-data [XPG3]: Likewise.
2557 * conform/data/poll.h-data [XPG3]: Likewise.
2558 * conform/data/spawn.h-data [XPG3 || XPG4 || UNIX98]: Likewise.
2559 * conform/data/strings.h-data [XPG3]: Likewise.
2560 * conform/data/stropts.h-data [XPG3]: Likewise.
2561 * conform/data/sys/mman.h-data [XPG3]: Likewise.
2562 * conform/data/sys/resource.h-data [XPG3]: Likewise.
2563 * conform/data/sys/select.h-data [XPG3 || XPG4 || UNIX98]:
2565 * conform/data/sys/statvfs.h-data [XPG3]: Likewise.
2566 * conform/data/sys/time.h-data [XPG3]: Likewise.
2567 * conform/data/sys/timeb.h-data [XPG3]: Likewise.
2568 * conform/data/sys/uio.h-data [XPG3]: Likewise.
2569 * conform/data/sys/un.h-data [XPG3]: Likewise.
2570 * conform/data/syslog.h-data [XPG3]: Likewise.
2571 * conform/data/ucontext.h-data [XPG3]: Likewise.
2572 * conform/data/utmpx.h-data [XPG3]: Likewise.
2573 * conform/data/varargs.h-data [UNIX98]: Enable file.
2575 * manual/Makefile (INSTALL_INFO): Remove variable setting.
2577 * math/libm-test.inc (struct test_f_f_data): Move expected results
2578 into structure for each rounding mode.
2579 (struct test_ff_f_data): Likewise.
2580 (struct test_ff_f_data_nexttoward): Likewise.
2581 (struct test_fi_f_data): Likewise.
2582 (struct test_fl_f_data): Likewise.
2583 (struct test_if_f_data): Likewise.
2584 (struct test_fff_f_data): Likewise.
2585 (struct test_c_f_data): Likewise.
2586 (struct test_f_f1_data): Likewise.
2587 (struct test_fF_f1_data): Likewise.
2588 (struct test_ffI_f1_data): Likewise.
2589 (struct test_c_c_data): Likewise.
2590 (struct test_cc_c_data): Likewise.
2591 (struct test_f_i_data): Likewise.
2592 (struct test_ff_i_data): Likewise.
2593 (struct test_f_l_data): Likewise.
2594 (struct test_f_L_data): Likewise.
2595 (struct test_fFF_11_data): Likewise.
2597 (RM_FE_DOWNWARD): Likewise.
2598 (RM_FE_TONEAREST): Likewise.
2599 (RM_FE_TOWARDZERO): Likewise.
2600 (RM_FE_UPWARD): Likewise.
2601 (RUN_TEST_LOOP_f_f): Update references to expected results.
2602 (RUN_TEST_LOOP_2_f): Likewise.
2603 (RUN_TEST_LOOP_fff_f): Likewise.
2604 (RUN_TEST_LOOP_c_f): Likewise.
2605 (RUN_TEST_LOOP_f_f1): Likewise.
2606 (RUN_TEST_LOOP_fF_f1): Likewise.
2607 (RUN_TEST_LOOP_fI_f1): Likewise.
2608 (RUN_TEST_LOOP_ffI_f1): Likewise.
2609 (RUN_TEST_LOOP_c_c): Likewise.
2610 (RUN_TEST_LOOP_cc_c): Likewise.
2611 (RUN_TEST_LOOP_f_i): Likewise.
2612 (RUN_TEST_LOOP_f_i_tg): Likewise.
2613 (RUN_TEST_LOOP_ff_i_tg): Likewise.
2614 (RUN_TEST_LOOP_f_b): Likewise.
2615 (RUN_TEST_LOOP_f_b_tg): Likewise.
2616 (RUN_TEST_LOOP_f_l): Likewise.
2617 (RUN_TEST_LOOP_f_L): Likewise.
2618 (RUN_TEST_LOOP_fFF_11): Likewise.
2619 * math/gen-libm-test.pl (parse_args): Output four copies of
2620 expected results for each test.
2622 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
2623 (__ASSUME_UTIMES): Remove.
2624 * sysdeps/unix/sysv/linux/tile/kernel-features.h
2625 (__ASSUME_UTIMES): Likewise.
2627 * math/gen-auto-libm-tests.c: Update comment on output format.
2628 (output_for_one_input_case): Generate before-rounding and
2629 after-rounding information as conditions on output flags not
2630 floating-point format.
2631 * math/auto-libm-test-out: Regenerated.
2632 * math/gen-libm-test.pl (cond_value): New function.
2633 (or_cond_value): Use cond_value.
2634 (generate_testfile): Handle conditional exceptions.
2636 2014-03-05 Joseph Myers <joseph@codesourcery.com>
2638 * math/libm-test.inc (max_valid_error): New variable.
2639 (init_max_error): Take new argument specifying whether function
2640 results are exactly determined. Set max_valid_error and bound
2641 other variables for errors based on this argument.
2642 (set_max_error): Do not record results above max_valid_error.
2643 (check_float_internal): Only accept errors of up to 0.5ulps if
2644 also at most max_valid_error.
2645 (START): Take new argument EXACT and pass it to init_max_error.
2646 (acos_test): Update call to START.
2647 (acos_test_tonearest): Likewise.
2648 (acos_test_towardzero): Likewise.
2649 (acos_test_downward): Likewise.
2650 (acos_test_upward): Likewise.
2651 (acosh_test): Likewise.
2652 (asin_test): Likewise.
2653 (asin_test_tonearest): Likewise.
2654 (asin_test_towardzero): Likewise.
2655 (asin_test_downward): Likewise.
2656 (asin_test_upward): Likewise.
2657 (asinh_test): Likewise.
2658 (atan_test): Likewise.
2659 (atanh_test): Likewise.
2660 (atan2_test): Likewise.
2661 (cabs_test): Likewise.
2662 (cacos_test): Likewise.
2663 (cacosh_test): Likewise.
2664 (carg_test): Likewise.
2665 (casin_test): Likewise.
2666 (casinh_test): Likewise.
2667 (catan_test): Likewise.
2668 (catanh_test): Likewise.
2669 (cbrt_test): Likewise.
2670 (ccos_test): Likewise.
2671 (ccosh_test): Likewise.
2672 (ceil_test): Likewise.
2673 (cexp_test): Likewise.
2674 (cimag_test): Likewise.
2675 (clog_test): Likewise.
2676 (clog10_test): Likewise.
2677 (conj_test): Likewise.
2678 (copysign_test): Likewise.
2679 (cos_test): Likewise.
2680 (cos_test_tonearest): Likewise.
2681 (cos_test_towardzero): Likewise.
2682 (cos_test_downward): Likewise.
2683 (cos_test_upward): Likewise.
2684 (cosh_test): Likewise.
2685 (cosh_test_tonearest): Likewise.
2686 (cosh_test_towardzero): Likewise.
2687 (cosh_test_downward): Likewise.
2688 (cosh_test_upward): Likewise.
2689 (cpow_test): Likewise.
2690 (cproj_test): Likewise.
2691 (creal_test): Likewise.
2692 (csin_test): Likewise.
2693 (csinh_test): Likewise.
2694 (csqrt_test): Likewise.
2695 (ctan_test): Likewise.
2696 (ctan_test_tonearest): Likewise.
2697 (ctan_test_towardzero): Likewise.
2698 (ctan_test_downward): Likewise.
2699 (ctan_test_upward): Likewise.
2700 (ctanh_test): Likewise.
2701 (ctanh_test_tonearest): Likewise.
2702 (ctanh_test_towardzero): Likewise.
2703 (ctanh_test_downward): Likewise.
2704 (ctanh_test_upward): Likewise.
2705 (erf_test): Likewise.
2706 (erfc_test): Likewise.
2707 (exp_test): Likewise.
2708 (exp_test_tonearest): Likewise.
2709 (exp_test_towardzero): Likewise.
2710 (exp_test_downward): Likewise.
2711 (exp_test_upward): Likewise.
2712 (exp10_test): Likewise.
2713 (exp10_test_tonearest): Likewise.
2714 (exp10_test_towardzero): Likewise.
2715 (exp10_test_downward): Likewise.
2716 (exp10_test_upward): Likewise.
2717 (pow10_test): Likewise.
2718 (exp2_test): Likewise.
2719 (expm1_test): Likewise.
2720 (expm1_test_tonearest): Likewise.
2721 (expm1_test_towardzero): Likewise.
2722 (expm1_test_downward): Likewise.
2723 (expm1_test_upward): Likewise.
2724 (fabs_test): Likewise.
2725 (fdim_test): Likewise.
2726 (floor_test): Likewise.
2727 (fma_test): Likewise.
2728 (fma_test_towardzero): Likewise.
2729 (fma_test_downward): Likewise.
2730 (fma_test_upward): Likewise.
2731 (fmax_test): Likewise.
2732 (fmin_test): Likewise.
2733 (fmod_test): Likewise.
2734 (fpclassify_test): Likewise.
2735 (frexp_test): Likewise.
2736 (hypot_test): Likewise.
2737 (ilogb_test): Likewise.
2738 (isfinite_test): Likewise.
2739 (finite_test): Likewise.
2740 (isgreater_test): Likewise.
2741 (isgreaterequal_test): Likewise.
2742 (isinf_test): Likewise.
2743 (isless_test): Likewise.
2744 (islessequal_test): Likewise.
2745 (islessgreater_test): Likewise.
2746 (isnan_test): Likewise.
2747 (isnormal_test): Likewise.
2748 (issignaling_test): Likewise.
2749 (isunordered_test): Likewise.
2750 (j0_test): Likewise.
2751 (j1_test): Likewise.
2752 (jn_test): Likewise.
2753 (ldexp_test): Likewise.
2754 (lgamma_test): Likewise.
2755 (gamma_test): Likewise.
2756 (lrint_test): Likewise.
2757 (lrint_test_tonearest): Likewise.
2758 (lrint_test_towardzero): Likewise.
2759 (lrint_test_downward): Likewise.
2760 (lrint_test_upward): Likewise.
2761 (llrint_test): Likewise.
2762 (llrint_test_tonearest): Likewise.
2763 (llrint_test_towardzero): Likewise.
2764 (llrint_test_downward): Likewise.
2765 (llrint_test_upward): Likewise.
2766 (log_test): Likewise.
2767 (log10_test): Likewise.
2768 (log1p_test): Likewise.
2769 (log2_test): Likewise.
2770 (logb_test): Likewise.
2771 (logb_test_downward): Likewise.
2772 (lround_test): Likewise.
2773 (llround_test): Likewise.
2774 (modf_test): Likewise.
2775 (nearbyint_test): Likewise.
2776 (nextafter_test): Likewise.
2777 (nexttoward_test): Likewise.
2778 (pow_test): Likewise.
2779 (pow_test_tonearest): Likewise.
2780 (pow_test_towardzero): Likewise.
2781 (pow_test_downward): Likewise.
2782 (pow_test_upward): Likewise.
2783 (remainder_test): Likewise.
2784 (drem_test): Likewise.
2785 (remainder_test_tonearest): Likewise.
2786 (drem_test_tonearest): Likewise.
2787 (remainder_test_towardzero): Likewise.
2788 (drem_test_towardzero): Likewise.
2789 (remainder_test_downward): Likewise.
2790 (drem_test_downward): Likewise.
2791 (remainder_test_upward): Likewise.
2792 (drem_test_upward): Likewise.
2793 (remquo_test): Likewise.
2794 (rint_test): Likewise.
2795 (rint_test_tonearest): Likewise.
2796 (rint_test_towardzero): Likewise.
2797 (rint_test_downward): Likewise.
2798 (rint_test_upward): Likewise.
2799 (round_test): Likewise.
2800 (scalb_test): Likewise.
2801 (scalbn_test): Likewise.
2802 (scalbln_test): Likewise.
2803 (signbit_test): Likewise.
2804 (sin_test): Likewise.
2805 (sin_test_tonearest): Likewise.
2806 (sin_test_towardzero): Likewise.
2807 (sin_test_downward): Likewise.
2808 (sin_test_upward): Likewise.
2809 (sincos_test): Likewise.
2810 (sinh_test): Likewise.
2811 (sinh_test_tonearest): Likewise.
2812 (sinh_test_towardzero): Likewise.
2813 (sinh_test_downward): Likewise.
2814 (sinh_test_upward): Likewise.
2815 (sqrt_test): Likewise.
2816 (sqrt_test_tonearest): Likewise.
2817 (sqrt_test_towardzero): Likewise.
2818 (sqrt_test_downward): Likewise.
2819 (sqrt_test_upward): Likewise.
2820 (tan_test): Likewise.
2821 (tan_test_tonearest): Likewise.
2822 (tan_test_towardzero): Likewise.
2823 (tan_test_downward): Likewise.
2824 (tan_test_upward): Likewise.
2825 (tanh_test): Likewise.
2826 (tgamma_test): Likewise.
2827 (trunc_test): Likewise.
2828 (y0_test): Likewise.
2829 (y1_test): Likewise.
2830 (yn_test): Likewise.
2831 (significand_test): Likewise.
2833 * math/libm-test.inc (struct ulp_data): Don't refer to ulps for
2834 individual tests in comment.
2835 (libm-test-ulps.h): Don't refer to test_ulps in #include comment.
2836 (prev_max_error): New variable.
2837 (prev_real_max_error): Likewise.
2838 (prev_imag_max_error): Likewise.
2839 (compare_ulp_data): Don't refer to test names in comment.
2840 (find_test_ulps): Remove function.
2841 (find_function_ulps): Likewise.
2842 (find_complex_function_ulps): Likewise.
2843 (init_max_error): Take function name as argument. Look up ulps
2845 (print_ulps): Remove function.
2846 (print_max_error): Use prev_max_error instead of calling
2848 (print_complex_max_error): Use prev_real_max_error and
2849 prev_imag_max_error instead of calling find_complex_function_ulps.
2850 (check_float_internal): Take max_ulp parameter instead of calling
2851 find_test_ulps. Don't call print_ulps.
2852 (check_float): Update call to check_float_internal.
2853 (check_complex): Update calls to check_float_internal.
2854 (START): Pass argument to init_max_error.
2855 * math/gen-libm-test.pl (%results): Don't include "kind"
2857 (parse_ulps): Don't handle ulps of individual tests.
2858 (print_ulps_file): Likewise.
2859 (output_ulps): Likewise.
2860 * math/README.libm-test: Update.
2861 * manual/libm-err-tab.pl (parse_ulps): Don't handle ulps of
2863 * sysdeps/aarch64/libm-test-ulps: Remove individual test ulps.
2864 * sysdeps/alpha/fpu/libm-test-ulps: Likewise.
2865 * sysdeps/arm/libm-test-ulps: Likewise.
2866 * sysdeps/i386/fpu/libm-test-ulps: Likewise.
2867 * sysdeps/ia64/fpu/libm-test-ulps: Likewise.
2868 * sysdeps/m68k/coldfire/fpu/libm-test-ulps: Likewise.
2869 * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Likewise.
2870 * sysdeps/microblaze/libm-test-ulps: Likewise.
2871 * sysdeps/mips/mips32/libm-test-ulps: Likewise.
2872 * sysdeps/mips/mips64/libm-test-ulps: Likewise.
2873 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
2874 * sysdeps/powerpc/nofpu/libm-test-ulps: Likewise.
2875 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
2876 * sysdeps/sh/libm-test-ulps: Likewise.
2877 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
2878 * sysdeps/tile/libm-test-ulps: Likewise.
2879 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2881 2014-03-04 Joseph Myers <joseph@codesourcery.com>
2883 * math/libm-test.inc (print_complex_max_error): Check separately
2884 whether real and imaginary errors are within allowed range and
2885 pass 0 to print_complex_function_ulps instead of value within
2888 2014-03-04 Siddhesh Poyarekar <siddhesh@redhat.com>
2890 * libio/tst-ftell-active-handler.c (get_handles_fdopen): Fix
2892 (get_handles_fopen): Likewise.
2893 (do_write_test): Likewise.
2895 * libio/wfileops.c (do_ftell_wide): Fix up formatting.
2897 * libio/fileops.c (do_ftell): Use cached offset when
2899 * libio/iofwide.c (do_ftell_wide): Likewise.
2900 * libio/iofdopen.c (_IO_new_fdopen): Don't use
2902 * libio/wfileops.c (_IO_fwide): Don't cache offset.
2905 * libio/libioP.h (get_file_offset): New function.
2906 * libio/fileops.c (get_file_offset): Likewise.
2907 (do_ftell): Likewise.
2908 (_IO_new_file_seekoff): Split out ftell logic.
2909 * libio/wfileops.c (do_ftell_wide): Likewise.
2910 (_IO_wfile_seekoff): Split out ftell logic.
2911 * libio/tst-ftell-active-handler.c: New test case.
2912 * libio/Makefile (tests): Add it.
2914 2014-03-03 Roland McGrath <roland@hack.frob.com>
2916 * nptl/ChangeLog: Renamed to nptl/ChangeLog.old, no longer used.
2917 * nptl_db/ChangeLog: Renamed to nptl_db/ChangeLog.old, no longer used.
2919 2014-03-03 Siddhesh Poyarekar <siddhesh@redhat.com>
2922 * nscd/connections.c (nscd_init): Call do_exit.
2923 (start_threads): Call do_exit and notify_parent.
2924 (begin_drop_privileges): Call do_exit.
2925 (finish_drop_privileges): Likewise.
2926 * nscd/selinux.c (preserve_capabilities): Likewise.
2927 (install_real_capabilities): Likewise.
2928 (nscd_selinux_enabled): Likewise.
2929 (avc_create_thread): Likewise.
2930 (avc_alloc_lock): Likewise.
2931 (nscd_avc_init): Likewise.
2932 * nscd/nscd.c (parent_fd): New static variable.
2933 (main): Create a pipe between parent and child processes.
2934 Skip closing parent_fd.
2935 (monitor_child): New function.
2936 (do_exit): Likewise.
2937 (notify_parent): Likewise.
2938 * nscd/nscd.h (notify_parent): Likewise.
2939 (do_exit): Likewise.
2941 2014-03-03 Carlos O'Donell <carlos@redhat.com>
2943 * malloc/malloc.c (__libc_calloc): Revert last change.
2945 2014-03-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2947 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
2949 2014-03-03 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
2951 * sysdeps/powerpc/powerpc64/power7/strrchr.S: New file.
2952 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strrchr multiarch
2954 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
2955 (__libc_ifunc_impl_list): Likewise.
2956 * sysdeps/powerpc/powerpc64/multiarch/strrchr.c: New file.
2957 * sysdeps/powerpc/powerpc64/multiarch/strrchr-ppc64.c: New file.
2958 * sysdeps/powerpc/powerpc64/multiarch/strrchr-power7.S: New file.
2959 * string/strrchr.c: Define STRRCHR.
2961 2014-02-28 Ondřej Bílka <neleai@seznam.cz>
2963 * benchtest/bench-strtok.c (simple_strtok): Delete.
2964 (strtok_string): Use as benchmark.
2965 * string/strtok (STRTOK): New macro.
2967 2014-02-28 Carlos O'Donell <carlos@redhat.com>
2969 * manual/threads.texi: Add header and standard comments to all
2972 * elf/dl-lookup.c (check_match): New function.
2973 (ELF_MACHINE_SYM_NO_MATCH): Adjust comment.
2974 (do_lookup_x): Remove nested function check_match. Use non-nested
2975 function check_match.
2977 2014-02-28 Roland McGrath <roland@hack.frob.com>
2979 * csu/Makefile (generated, before-compile): Use += rather than =.
2980 * catgets/Makefile (generated, generated-dirs): Likewise.
2981 * debug/Makefile (generated): Likewise.
2982 * dlfcn/Makefile (generated): Likewise.
2983 * elf/Makefile (before-compile, generated, generated-dirs): Likewise.
2984 * iconvdata/Makefile (before-compile, generated): Likewise.
2985 * intl/Makefile (before-compile, generated, generated-dirs): Likewise.
2986 * libio/Makefile (generated): Likewise.
2987 * malloc/Makefile (generated): Likewise.
2988 * manual/Makefile (generated, generated-dirs): Likewise.
2989 * misc/Makefile (generated): Likewise.
2990 * posix/Makefile (generated): Likewise.
2991 * resolv/Makefile (generated): Likewise.
2992 * sunrpc/Makefile (generated, generated-dirs): Likewise.
2993 * timezone/Makefile (generated, generated-dirs): Likewise.
2995 * stdio-common/Versions (libc: GLIBC_PRIVATE): Add missing }.
2997 2014-02-27 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2999 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llround
3000 power8 implementation.
3001 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power8.S: New
3002 file: POWER8 llround ifunc implementation.
3003 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c
3004 (__lllround): Add POWER8 implementation.
3005 * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S: New file:
3006 POWER8 llround implementation.
3008 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llrint
3009 power8 implementation.
3010 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power8.S: New
3011 file: POWER8 llrint ifunc implementation.
3012 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint.c (__lllrint):
3013 Add POWER8 implementation.
3014 * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S: New file:
3015 POWER8 llrint implementation.
3017 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add finite
3018 power8 implementation.
3019 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power8.S: New
3020 file: POWER8 finite ifunc implementation.
3021 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c (__finite):
3022 Add POWER8 implementation.
3023 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef.c (__finitef):
3025 * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S: New file:
3026 POWER8 finite implementation.
3027 * sysdeps/powerpc/powerpc64/power8/fpu/s_finitef.S: New file.
3029 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isinf
3030 power8 implementation.
3031 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power8.S: New
3032 file: POWER8 isinf ifunc implementation.
3033 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c (__isinf): Add
3034 POWER8 implementation.
3035 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff.c (__isinff):
3037 * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S: New file: POWER8
3038 isinf implementation.
3039 * sysdeps/powerpc/powerpc64/power8/fpu/s_isinff.S: New file.
3041 * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h
3042 (INIT_ARCH): Add hwcap2 initialization.
3043 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isnan
3044 power8 implementation.
3045 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power8.S: New
3046 file: POWER8 isnan ifunc implementation.
3047 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c (__isnan): Add
3048 POWER8 implementation.
3049 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnanf.c (__isnanf):
3051 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S: New file: POWER8
3052 isnan implementation.
3053 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnanf.S: New file.
3055 2014-02-27 Joey Ye <joey.ye@arm.com>
3057 * sysdeps/arm/soft-fp/sfp-machine.h (_FP_NANFRAC_S, _FP_NANFRAC_D)
3058 (_FP_NANFRAC_Q): Set to zero.
3060 2014-02-27 Siddhesh Poyarekar <siddhesh@redhat.com>
3063 * math/auto-libm-test-in: New test inputs.
3064 * math/auto-libm-test-out: Regenerate.
3065 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Preserve sign of A
3068 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
3070 2014-02-27 Joseph Myers <joseph@codesourcery.com>
3072 * scripts/evaluate-test.sh: Take new argument indicating whether
3073 failure is expected.
3074 * Makeconfig (evaluate-test): Pass argument to evaluate-test.sh
3075 indicating whether failure is expected.
3076 * conform/Makefile (test-xfail-run-conformtest): New variable.
3077 ($(objpfx)run-conformtest.out): Don't expect to fail at makefile
3079 * posix/Makefile (test-xfail-annexc): New variable.
3080 ($(objpfx)annexc.out): Don't expect to fail at makefile level.
3082 2014-02-26 Joseph Myers <joseph@codesourcery.com>
3084 * argp/Makefile: Include Makeconfig immediately after defining
3086 * assert/Makefile: Likewise.
3087 * benchtests/Makefile: Likewise.
3088 * catgets/Makefile: Likewise.
3089 * conform/Makefile: Likewise.
3090 * crypt/Makefile: Likewise.
3091 * csu/Makefile: Likewise.
3092 (all): Remove target.
3093 * ctype/Makefile: Include Makeconfig immediately after defining
3095 * debug/Makefile: Likewise.
3096 * dirent/Makefile: Likewise.
3097 * dlfcn/Makefile: Likewise.
3098 * gmon/Makefile: Likewise.
3099 * gnulib/Makefile: Likewise.
3100 * grp/Makefile: Likewise.
3101 * gshadow/Makefile: Likewise.
3102 * hesiod/Makefile: Likewise.
3103 * hurd/Makefile: Likewise.
3104 (all): Remove target.
3105 * iconvdata/Makefile: Include Makeconfig immediately after
3107 * inet/Makefile: Likewise.
3108 * intl/Makefile: Likewise.
3109 * io/Makefile: Likewise.
3110 * libio/Makefile: Likewise.
3111 (all): Remove target.
3112 * locale/Makefile: Include Makeconfig immediately after defining
3114 * login/Makefile: Likewise.
3115 * mach/Makefile: Likewise.
3116 (all): Remove target.
3117 * malloc/Makefile: Include Makeconfig immediately after defining
3119 (all): Remove target.
3120 * manual/Makefile: Include Makeconfig immediately after defining
3122 * math/Makefile: Likewise.
3123 * misc/Makefile: Likewise.
3124 * nis/Makefile: Likewise.
3125 * nss/Makefile: Likewise.
3126 * po/Makefile: Likewise.
3127 (all): Remove target.
3128 * posix/Makefile: Include Makeconfig immediately after defining
3130 * pwd/Makefile: Likewise.
3131 * resolv/Makefile: Likewise.
3132 * resource/Makefile: Likewise.
3133 * rt/Makefile: Likewise.
3134 * setjmp/Makefile: Likewise.
3135 * shadow/Makefile: Likewise.
3136 * signal/Makefile: Likewise.
3137 * socket/Makefile: Likewise.
3138 * soft-fp/Makefile: Likewise.
3139 * stdio-common/Makefile: Likewise.
3140 * stdlib/Makefile: Likewise.
3141 * streams/Makefile: Likewise.
3142 * string/Makefile: Likewise.
3143 * sunrpc/Makefile: Likewise.
3144 (all): Remove target.
3145 * sysvipc/Makefile: Include Makeconfig immediately after defining
3147 * termios/Makefile: Likewise.
3148 * time/Makefile: Likewise.
3149 * timezone/Makefile: Likewise.
3150 (all): Remove target.
3151 * wcsmbs/Makefile: Include Makeconfig immediately after defining
3153 * wctype/Makefile: Likewise.
3155 2014-02-26 Steve Ellcey <sellcey@mips.com>
3157 * sysdeps/mips/math_private.h (_FPU_MASK_ALL) New.
3158 (libc_feholdexcept_mips): Use _FPU_MASK_ALL.
3159 (libc_feholdexcept_setround_mips): Ditto.
3160 (libc_feholdsetround): New.
3161 (libc_feholdsetroundf): New.
3162 (libc_feholdsetroundl): New.
3163 (libc_feupdateenv_test_mips): New.
3164 (libc_feupdateenv_test): New.
3165 (libc_feupdateenv_testf): New.
3166 (libc_feupdateenv_testl): New.
3167 (libc_feresetround): New.
3168 (libc_feresetroundf): New.
3169 (libc_feresetroundl): New.
3170 (libc_fetestexcept_mips): New.
3171 (libc_fetestexcept): New.
3172 (libc_fetestexceptf): New.
3173 (libc_fetestexceptl): New.
3175 (libc_feholdexcept_setround_mips_ctx): New.
3176 (libc_feholdexcept_setround_ctx): New.
3177 (libc_feholdexcept_setroundf_ctx): New.
3178 (libc_feholdexcept_setroundl_ctx): New.
3179 (libc_fesetenv_mips_ctx): New.
3180 (libc_fesetenv_ctx): New.
3181 (libc_fesetenv_ctxf): New.
3182 (libc_fesetenv_ctxl): New.
3183 (libc_feupdateenv_mips_ctx): New.
3184 (libc_feupdateenv_ctx): New.
3185 (libc_feupdateenvf_ctx): New.
3186 (libc_feupdateenvl_ctx): New.
3187 (libc_feholdsetround_mips_ctx): New.
3188 (libc_feholdsetround_ctx): New.
3189 (libc_feholdsetroundf_ctx): New.
3190 (libc_feholdsetroundl_ctx): New.
3191 (libc_feresetround_mips_ctx): New.
3192 (libc_feresetround_ctx): New.
3193 (libc_feresetroundf_ctx): New.
3194 (libc_feresetroundl_ctx): New.
3196 2014-02-26 Carlos O'Donell <carlos@redhat.com>
3198 * manual/ipc.texi (Semaphores): Use @Theglibc{}.
3200 * manual/ipc.texi: New file.
3201 * manual/Makefile (chapters): Add ipc.
3202 * manual/job.texi: Add "Inter-Process Communication" to next.
3203 * manual/process.texi: Add "Inter-Process Communication" to prev.
3205 2014-02-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3207 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
3209 2014-02-26 Ondřej Bílka <neleai@seznam.cz>
3211 * malloc/malloc.c (__libc_calloc): Simplify implementation.
3213 * manual/arith.texi: Fix spaces after sentences.
3214 * manual/charset.texi: Likewise.
3215 * manual/errno.texi: Likewise.
3216 * manual/install.texi: Likewise.
3217 * manual/llio.texi: Likewise.
3218 * manual/locale.texi: Likewise.
3219 * manual/maint.texi: Likewise.
3220 * manual/math.texi: Likewise.
3221 * manual/memory.texi: Likewise.
3222 * manual/message.texi: Likewise.
3223 * manual/probes.texi: Likewise.
3224 * manual/resource.texi: Likewise.
3225 * manual/signal.texi: Likewise.
3226 * manual/socket.texi: Likewise.
3227 * manual/stdio.texi: Likewise.
3228 * manual/string.texi: Likewise.
3229 * manual/time.texi: Likewise.
3230 * manual/users.texi: Likewise.
3232 2014-02-25 Carlos O'Donell <carlos@redhat.com>
3235 * include/features.h: Don't warn about _BSD_SOURCE or _SVID_SOURCE if
3236 _DEFAULT_SOURCE is defined.
3238 2014-02-25 Ulrich Drepper <drepper@gmail.com>
3239 Carlos O'Donell <carlos@redhat.com>
3242 * elf/dl-tls.c (_dl_count_modids): New function.
3243 * sysdeps/generic/ldsodefs.h: Declare _dl_count_modids.
3244 * elf/rtld.c (dl_main): Call _dl_count_modids to track TLS usage in
3245 audit library and increment generation counter.
3246 (_dl_allocate_tls_init): Add assertion to check TLS generation count.
3247 * elf/tst-audit9.c: New file.
3248 * elf/tst-auditmod9a.c: New file.
3249 * elf/tst-auditmod9b.c: New file.
3250 * elf/Makefile: Add rules to build and run tst-audit9.
3252 2014-02-25 Florian Weimer <fweimer@redhat.com>
3255 * misc/sys/select.h (__FD_MASK): Avoid signed integer overflow.
3257 2014-02-25 Will Newton <will.newton@linaro.org>
3259 * sysdeps/arm/__longjmp.S: Include stap-probe.h.
3260 (__longjmp): Restore sp and lr before restoring callee
3261 saved registers. Add longjmp and longjmp_target
3262 SystemTap probe point.
3263 * sysdeps/arm/bits/setjmp.h (__jmp_buf): Update comment.
3264 * sysdeps/arm/include/bits/setjmp.h (__JMP_BUF_SP):
3265 Define to zero to match jmpbuf layout.
3266 * sysdeps/arm/setjmp.S: Include stap-probe.h.
3267 (__sigsetjmp): Save sp and lr before saving callee
3268 saved registers. Add setjmp SystemTap probe point.
3270 2014-02-24 Stefan Liebler <stli@linux.vnet.ibm.com>
3272 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
3274 2014-02-24 Andreas Schwab <schwab@suse.de>
3277 * elf/pldd.c (wait_for_ptrace_stop): New function.
3278 (main): Call it after attaching.
3280 2014-02-22 Roland McGrath <roland@hack.frob.com>
3282 * Makerules ($(common-objpfx)Versions.v.i): No longer depend
3283 on $(common-objpfx)abi-versions.h; using <shlib-compat.h> inside
3284 Versions files is now verboten.
3285 * hurd/Versions (libc: GLIBC_2.0):
3286 Remove various [SHLIB_COMPAT (libc, GLIBC_2_0, ...)] sections.
3287 (libc: HURD_CTHREADS_0.3): Remove conditionalization, was under
3288 [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_2)].
3289 * mach/Versions: Likewise.
3291 * csu/Versions: Remove unused %include.
3292 * resolv/Versions: Likewise.
3294 2014-02-21 Joseph Myers <joseph@codesourcery.com>
3296 * Makefile ($(objpfx)c++-types-check.out): Use $(evaluate-test).
3297 ($(objpfx)check-local-headers.out): Likewise.
3298 ($(objpfx)begin-end-check.out): Likewise.
3299 * Makerules (check-abi-%.out): Likewise.
3300 * catgets/Makefile ($(objpfx)test1.cat): Likewise.
3301 ($(objpfx)test2.cat): Likewise.
3302 ($(objpfx)de/libc.cat): Likewise.
3303 ($(objpfx)test-gencat.out): Likewise.
3304 * conform/Makefile ($(objpfx)run-conformtest.out): Likewise.
3305 * elf/Makefile ($(objpfx)order-cmp.out): Likewise.
3306 ($(objpfx)noload-mem): Likewise.
3307 ($(objpfx)tst-pathopt.out): Likewise.
3308 ($(objpfx)tst-rtld-load-self.out): Likewise.
3309 ($(objpfx)tst-array1-cmp.out): Likewise.
3310 ($(objpfx)tst-array1-static-cmp.out): Likewise.
3311 ($(objpfx)tst-array2-cmp.out): Likewise.
3312 ($(objpfx)tst-array3-cmp.out): Likewise.
3313 ($(objpfx)tst-array4-cmp.out): Likewise.
3314 ($(objpfx)tst-array5-cmp.out): Likewise.
3315 ($(objpfx)tst-array5-static-cmp.out): Likewise.
3316 ($(objpfx)check-textrel.out): Likewise.
3317 ($(objpfx)check-execstack.out): Likewise.
3318 ($(objpfx)check-localplt.out): Likewise.
3319 ($(objpfx)order2-cmp.out): Likewise.
3320 ($(objpfx)tst-leaks1-mem): Likewise.
3321 ($(objpfx)tst-leaks1-static-mem): Likewise.
3322 ($(objpfx)tst-initorder-cmp.out): Likewise.
3323 ($(objpfx)tst-initorder2-cmp.out): Likewise.
3324 ($(objpfx)tst-unused-dep.out): Likewise.
3325 ($(objpfx)tst-unused-dep-cmp.out): Likewise.
3326 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Likewise.
3327 * iconv/Makefile (test-iconvconfig): Likewise.
3328 * iconvdata/Makefile ($(objpfx)mtrace-tst-loading): Likewise.
3329 ($(objpfx)iconv-test.out): Likewise.
3330 ($(objpfx)tst-tables.out): Likewise.
3331 * intl/Makefile ($(objpfx)mtrace-tst-gettext): Likewise.
3332 ($(objpfx)tst-gettext.out): Likewise.
3333 ($(objpfx)tst-translit.out): Likewise.
3334 ($(objpfx)tst-gettext2.out): Likewise.
3335 ($(objpfx)tst-gettext4.out): Likewise.
3336 ($(objpfx)tst-gettext6.out): Likewise.
3337 * io/Makefile ($(objpfx)ftwtest.out): Likewise.
3338 * libio/Makefile ($(objpfx)test-freopen.out): Likewise.
3339 ($(objpfx)tst-fopenloc-cmp.out): Likewise.
3340 ($(objpfx)tst-fopenloc-mem.out): Likewise.
3341 * malloc/Makefile ($(objpfx)tst-mtrace.out): Likewise.
3342 * misc/Makefile ($(objpfx)tst-error1-mem): Likewise.
3343 * posix/Makefile ($(objpfx)globtest.out): Likewise.
3344 ($(objpfx)wordexp-tst.out): Likewise.
3345 ($(objpfx)annexc.out): Likewise.
3346 ($(objpfx)tst-fnmatch-mem): Likewise.
3347 ($(objpfx)bug-regex2-mem): Likewise.
3348 ($(objpfx)bug-regex14-mem): Likewise.
3349 ($(objpfx)bug-regex21-mem): Likewise.
3350 ($(objpfx)bug-regex31-mem): Likewise.
3351 ($(objpfx)tst-vfork3-mem): Likewise.
3352 ($(objpfx)tst-rxspencer-no-utf8-mem): Likewise.
3353 ($(objpfx)tst-pcre-mem): Likewise.
3354 ($(objpfx)tst-boost-mem): Likewise.
3355 ($(objpfx)tst-getconf.out): Likewise.
3356 ($(objpfx)bug-ga2-mem): Likewise.
3357 ($(objpfx)bug-glob2-mem): Likewise.
3358 * resolv/Makefile ($(objpfx)mtrace-tst-leaks): Likewise.
3359 ($(objpfx)mtrace-tst-leaks2): Likewise.
3360 * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Likewise.
3361 ($(objpfx)tst-printf.out): Likewise.
3362 ($(objpfx)tst-setvbuf1.out): Likewise.
3363 ($(objpfx)tst-setvbuf1-cmp.out): Likewise.
3364 * stdlib/Makefile ($(objpfx)isomac.out): Likewise.
3365 ($(objpfx)tst-fmtmsg.out): Likewise.
3366 * string/Makefile ($(objpfx)tst-svc-cmp.out): Likewise.
3367 * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Likewise.
3369 * bits/fcntl.h [__USE_MISC]: Remove redundant conditionals.
3370 * bits/sigaction.h [__USE_MISC]: Likewise.
3371 * bits/waitstatus.h: Update #endif comments.
3372 * ctype/ctype.h: Likewise.
3373 * dirent/dirent.h: Likewise.
3374 [__USE_MISC]: Remove redundant conditionals.
3375 * grp/grp.h: Update #endif comments.
3376 [__USE_GNU]: Remove redundant conditionals.
3377 [__USE_MISC]: Likewise.
3378 * inet/netinet/in.h [__USE_GNU]: Likewise.
3379 * io/sys/stat.h [__USE_MISC]: Likewise.
3380 * libio/bits/stdio-ldbl.h [__USE_MISC]: Likewise.
3381 * libio/bits/stdio.h: Update #endif comments.
3382 [__USE_MISC]: Remove redundant conditionals.
3383 * libio/bits/stdio2.h [__USE_MISC]: Likewise.
3384 * libio/stdio.h: Update #endif comments.
3385 [__USE_MISC]: Remove redundant conditionals.
3386 * math/bits/math-finite.h [__USE_MISC]: Likewise.
3387 * math/bits/mathcalls.h [__USE_MISC]: Likewise.
3388 * math/math.h: Update #else and #endif comments.
3389 [__USE_MISC]: Remove redundant conditionals.
3390 * misc/sys/uio.h: Update #endif comments.
3391 * posix/bits/unistd.h [__USE_MISC]: Remove redundant conditionals.
3392 * posix/glob.h [__USE_MISC]: Likewise.
3393 * posix/sys/types.h: Update #endif comments.
3394 [__USE_MISC]: Remove redundant conditionals.
3395 * posix/sys/wait.h: Update #endif comments.
3396 [__USE_MISC]: Remove redundant conditionals.
3397 * posix/unistd.h: Update #endif comments.
3398 [__USE_MISC]: Remove redundant conditionals.
3399 * pwd/pwd.h [__USE_GNU]: Likewise.
3400 [__USE_MISC]: Likewise.
3401 * resolv/netdb.h [__USE_GNU]: Likewise.
3402 * signal/signal.h: Update #endif comments.
3403 [__USE_MISC]: Remove redundant conditionals.
3404 * stdlib/stdlib.h: Update #else and #endif comments.
3405 [__USE_MISC]: Remove redundant conditionals.
3406 [__USE_GNU]: Likewise.
3407 * string/bits/string2.h [__USE_MISC]: Likewise.
3408 * string/string.h: Update #endif comments.
3409 [__USE_MISC]: Remove redundant conditionals.
3410 * sysdeps/m68k/m680x0/fpu/bits/mathinline.h [__USE_MISC]:
3412 * sysdeps/mach/hurd/bits/fcntl.h [__USE_MISC]: Likewise.
3413 * sysdeps/mach/hurd/bits/stat.h [__USE_MISC]: Likewise.
3414 * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h [__USE_MISC]:
3416 * sysdeps/unix/sysv/linux/alpha/bits/stat.h [__USE_MISC]:
3418 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: Update #endif
3420 [__USE_MISC]: Remove redundant conditionals.
3421 * sysdeps/unix/sysv/linux/bits/in.h [__USE_GNU]: Likewise.
3422 * sysdeps/unix/sysv/linux/bits/sigaction.h [__USE_MISC]: Likewise.
3423 * sysdeps/unix/sysv/linux/bits/socket.h [__USE_GNU]: Likewise.
3424 * sysdeps/unix/sysv/linux/bits/stat.h [__USE_MISC]: Likewise.
3425 * sysdeps/unix/sysv/linux/ia64/bits/sigaction.h [__USE_MISC]:
3427 * sysdeps/unix/sysv/linux/m68k/bits/stat.h [__USE_MISC]: Likewise.
3428 * sysdeps/unix/sysv/linux/mips/bits/sigaction.h [__USE_MISC]:
3430 * sysdeps/unix/sysv/linux/mips/bits/stat.h [__USE_MISC]: Likewise.
3431 * sysdeps/unix/sysv/linux/powerpc/bits/stat.h [__USE_MISC]:
3433 * sysdeps/unix/sysv/linux/s390/bits/sigaction.h [__USE_MISC]:
3435 * sysdeps/unix/sysv/linux/s390/bits/stat.h [__USE_MISC]: Likewise.
3436 * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h [__USE_MISC]:
3438 * sysdeps/unix/sysv/linux/sparc/bits/stat.h [__USE_MISC]:
3440 * sysdeps/unix/sysv/linux/x86/bits/stat.h [__USE_MISC]: Likewise.
3441 * sysdeps/x86/bits/string.h: Update #endif comments.
3442 * sysdeps/x86/fpu/bits/mathinline.h [__USE_MISC]: Remove redundant
3444 * time/sys/time.h: Update #endif comments.
3445 * time/time.h: Likewise.
3446 [__USE_MISC]: Remove redundant conditionals.
3448 2014-02-21 Yury Gribov <y.gribov@samsung.com>
3451 * sysdeps/arm/libm-test-ulps: Update for VFPv4.
3453 2014-02-21 Andreas Schwab <schwab@linux-m68k.org>
3455 * Versions.def (librt): Add GLIBC_2.17.
3457 2014-02-21 Adam Conrad <adconrad@0c3.net>
3459 * sysdeps/powerpc/bits/hwcap.h: Allow _SYSDEPS_SYSDEP_H guard as a
3460 synonym for _SYS_AUXV_H to allow direct inclusion.
3461 * sysdeps/sparc/bits/hwcap.h: Likewise.
3462 * sysdeps/powerpc/sysdep.h: Define _SYSDEPS_SYSDEP_H instead of
3463 _SYS_AUXV_H so we can include sysdep.h and sys/auxv.h together.
3464 * sysdeps/sparc/sysdep.h: Likewise.
3466 2014-02-21 Siddhesh Poyarekar <siddhesh@redhat.com>
3468 * benchtests/bench-strrchr.c (do_test): Fix minor formatting.
3470 2014-02-21 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
3472 * benchtests/bench-strrchr.c: Print length instead of position.
3474 2014-02-20 Joseph Myers <joseph@codesourcery.com>
3477 * sysdeps/unix/sysv/linux/kernel-features.h
3478 [__LINUX_KERNEL_VERSION >= 0x030000 && __ASSUME_SOCKETCALL]
3479 (__ASSUME_SENDMMSG_SOCKETCALL): Define.
3480 [__LINUX_KERNEL_VERSION >= 0x030000 && (__i386__ || __x86_64__ ||
3481 __powerpc__ || __sh__ || __sparc__)] (__ASSUME_SENDMMSG_SYSCALL):
3483 [__i386__ || __powerpc__ || __sh__ || __sparc__]
3484 (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
3485 [__ASSUME_SENDMMSG_SOCKETCALL || __ASSUME_SENDMMSG_SYSCALL]
3486 (__ASSUME_SENDMMSG): Define instead of using previous
3487 [__LINUX_KERNEL_VERSION >= 0x020627] condition.
3488 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
3489 (__ASSUME_SENDMMSG_SYSCALL): Define.
3490 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
3491 [__LINUX_KERNEL_VERSION >= 0x030200] (__ASSUME_SENDMMSG_SYSCALL):
3493 * sysdeps/unix/sysv/linux/arm/kernel-features.h
3494 [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
3496 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
3497 [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
3499 * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SOCKETCALL
3500 && !__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL &&
3501 !__ASSUME_SENDMMSG_SYSCALL] (__NR_sendmmsg): Undefine.
3502 [__ASSUME_SENDMMSG]: Change conditionals to
3503 [__ASSUME_SENDMMSG_SOCKETCALL].
3504 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
3505 [__LINUX_KERNEL_VERSION >= 0x030300] (__ASSUME_SENDMMSG_SYSCALL):
3507 * sysdeps/unix/sysv/linux/mips/kernel-features.h
3508 [__LINUX_KERNEL_VERSION >= 0x030100] (__ASSUME_SENDMMSG_SYSCALL):
3510 * sysdeps/unix/sysv/linux/sendmmsg.c [__ASSUME_SOCKETCALL &&
3511 !__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL &&
3512 !__ASSUME_SENDMMSG_SYSCALL] (__NR_sendmmsg): Undefine.
3513 [!__ASSUME_SENDMMSG]: Change conditional to
3514 [!__ASSUME_SENDMMSG_SOCKETCALL].
3515 * sysdeps/unix/sysv/linux/tile/kernel-features.h
3516 [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
3520 * sysdeps/unix/sysv/linux/kernel-features.h
3521 [__LINUX_KERNEL_VERSION >= 0x020621 && __ASSUME_SOCKETCALL]
3522 (__ASSUME_RECVMMSG_SOCKETCALL): Define.
3523 [(__LINUX_KERNEL_VERSION >= 0x020621 && (__i386__ || __x86_64__ ||
3524 __sparc__)) || (__LINUX_KERNEL_VERSION >= 0x020625 && (__powerpc__
3525 || __sh__))] (__ASSUME_RECVMMSG_SYSCALL): Likewise.
3526 [__i386__ || __sparc__]
3527 (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
3528 [__ASSUME_RECVMMSG_SOCKETCALL || __ASSUME_RECVMMSG_SYSCALL]
3529 (__ASSUME_RECVMMSG): Define instead of using previous
3530 [__LINUX_KERNEL_VERSION >= 0x020621] condition.
3531 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
3532 (__ASSUME_RECVMMSG_SYSCALL): Define.
3533 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
3534 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
3536 * sysdeps/unix/sysv/linux/arm/kernel-features.h
3537 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
3539 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
3540 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
3542 * sysdeps/unix/sysv/linux/internal_recvmmsg.S [__ASSUME_SOCKETCALL
3543 && !__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL &&
3544 !__ASSUME_RECVMMSG_SYSCALL] (__NR_recvmmsg): Undefine.
3545 [__ASSUME_RECVMMSG]: Change condition to
3546 [__ASSUME_RECVMMSG_SOCKETCALL].
3547 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
3548 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
3550 (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
3551 * sysdeps/unix/sysv/linux/mips/kernel-features.h
3552 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
3554 * sysdeps/unix/sysv/linux/recvmmsg.c [__ASSUME_SOCKETCALL &&
3555 !__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL &&
3556 !__ASSUME_RECVMMSG_SYSCALL] (__NR_recvmmsg): Undefine.
3557 [!__ASSUME_RECVMMSG]: Change condition to
3558 [!__ASSUME_RECVMMSG_SOCKETCALL].
3559 * sysdeps/unix/sysv/linux/tile/kernel-features.h
3560 (__ASSUME_RECVMMSG_SYSCALL): Define.
3563 * sysdeps/unix/sysv/linux/kernel-features.h [__i386__ ||
3564 __powerpc__ || __s390__ || __sh__ || __sparc__]
3565 (__ASSUME_SOCKETCALL): Define.
3566 [__LINUX_KERNEL_VERSION && __ASSUME_SOCKETCALL]
3567 (__ASSUME_ACCEPT4_SOCKETCALL): Likewise.
3568 [(__LINUX_KERNEL_VERSION >= 0x02061c && (__x86_64__ || __sparc__))
3569 || (__LINUX_KERNEL_VERSION >= 0x020625 && (__powerpc__ ||
3570 __sh__))] (__ASSUME_ACCEPT4_SYSCALL): Likewise.
3571 [__sparc__] (__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL): Likewise.
3572 [__ASSUME_ACCEPT4_SOCKETCALL || __ASSUME_ACCEPT4_SYSCALL]
3573 (__ASSUME_ACCEPT4): Define instead of using previous
3574 [__LINUX_KERNEL_VERSION >= 0x02061c && (__i386__ || __x86_64__ ||
3575 __powerpc__ || __sparc__ || __s390__)] condition.
3576 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
3577 (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.
3578 * sysdeps/unix/sysv/linux/accept4.c [__ASSUME_SOCKETCALL &&
3579 !__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL &&
3580 !__ASSUME_ACCEPT4_SYSCALL] (__NR_accept4): Undefine.
3581 [!__ASSUME_ACCEPT4]: Change condition to
3582 [!__ASSUME_ACCEPT4_SOCKETCALL].
3583 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
3584 (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL. Correct
3585 condition to [__LINUX_KERNEL_VERSION >= 0x030200].
3586 * sysdeps/unix/sysv/linux/arm/kernel-features.h
3587 [__LINUX_KERNEL_VERSION >= 0x020624] (__ASSUME_ACCEPT4): Change to
3588 __ASSUME_ACCEPT4_SYSCALL.
3589 * sysdeps/unix/sysv/linux/i386/accept4.S [__ASSUME_ACCEPT4]:
3590 Change conditions to [__ASSUME_ACCEPT4_SOCKETCALL].
3591 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
3592 [__LINUX_KERNEL_VERSION >= 0x030300] (__ASSUME_ACCEPT4): Change to
3593 __ASSUME_ACCEPT4_SYSCALL.
3594 * sysdeps/unix/sysv/linux/internal_accept4.S [__ASSUME_SOCKETCALL
3595 && !__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL &&
3596 !__ASSUME_ACCEPT4_SYSCALL] (__NR_accept4): Undefine.
3597 [__ASSUME_ACCEPT4]: Change condition to
3598 [__ASSUME_ACCEPT4_SOCKETCALL].
3599 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
3600 (__ASSUME_SOCKETCALL): Define.
3601 [__LINUX_KERNEL_VERSION >= 0x02061c] (__ASSUME_ACCEPT4): Remove.
3602 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
3603 (__ASSUME_SOCKETCALL): Define.
3604 (__ASSUME_ACCEPT4): Remove.
3605 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_ACCEPT4_SYSCALL):
3607 * sysdeps/unix/sysv/linux/mips/kernel-features.h
3608 [__LINUX_KERNEL_VERSION >= 0x02061f] (__ASSUME_ACCEPT4_SYSCALL):
3610 * sysdeps/unix/sysv/linux/tile/kernel-features.h
3611 (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.
3613 * sysdeps/unix/sysv/linux/arm/bits/hwcap.h (HWCAP_ARM_VFPD32): New
3615 (HWCAP_ARM_LPAE): Likewise.
3616 (HWCAP_ARM_EVTSTRM): Likewise.
3617 * sysdeps/unix/sysv/linux/arm/dl-procinfo.c (_dl_arm_cap_flags):
3618 Add vpfd32, lpae and evtstrm.
3619 * sysdeps/unix/sysv/linux/arm/dl-procinfo.h (_DL_HWCAP_COUNT):
3622 2014-02-19 Joseph Myers <joseph@codesourcery.com>
3624 * math/auto-libm-test-in: Add tests of clog10.
3625 * math/auto-libm-test-out: Regenerated.
3626 * math/libm-test.inc (clog10_test_data): Use AUTO_TESTS_c_c.
3627 * sysdeps/i386/fpu/libm-test-ulps: Update.
3628 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3630 2014-02-18 Andreas Schwab <schwab@suse.de>
3633 * resolv/res_send.c (send_vc): Add parameter ansp2_malloced.
3634 Store non-zero if the second buffer was newly allocated.
3635 (send_dg): Likewise.
3636 (__libc_res_nsend): Add parameter ansp2_malloced and pass it down
3637 to send_vc and send_dg.
3638 (res_nsend): Pass NULL for ansp2_malloced.
3639 * resolv/res_query.c (__libc_res_nquery): Add parameter
3640 answerp2_malloced and pass it down to __libc_res_nsend.
3641 (res_nquery): Pass additional NULL to __libc_res_nquery.
3642 (__libc_res_nsearch): Add parameter answerp2_malloced and pass it
3643 down to __libc_res_nquery and __libc_res_nquerydomain. Deallocate
3644 second answer buffer if answerp2_malloced was set.
3645 (res_nsearch): Pass additional NULL to __libc_res_nsearch.
3646 (__libc_res_nquerydomain): Add parameter
3647 answerp2_malloced and pass it down to __libc_res_nquery.
3648 (res_nquerydomain): Pass additional NULL to
3649 __libc_res_nquerydomain.
3650 * resolv/nss_dns/dns-network.c (_nss_dns_getnetbyname_r): Pass
3651 additional NULL to __libc_res_nsend and __libc_res_nquery.
3652 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Pass
3653 additional NULL to __libc_res_nsearch.
3654 (_nss_dns_gethostbyname4_r): Revert last change. Use new
3655 parameter of __libc_res_nsearch to check for separately allocated
3657 (_nss_dns_gethostbyaddr2_r): Pass additional NULL to
3659 * resolv/nss_dns/dns-canon.c (_nss_dns_getcanonname_r): Pass
3660 additional NULL to __libc_res_nquery.
3661 * resolv/gethnamaddr.c (gethostbyname2): Pass additional NULL to
3663 (gethostbyaddr): Pass additional NULL to __libc_res_nquery.
3664 * include/resolv.h: Update prototypes of __libc_res_nquery,
3665 __libc_res_nsearch, __libc_res_nsend.
3667 2014-02-18 Joseph Myers <joseph@codesourcery.com>
3669 * math/auto-libm-test-in: Add tests of fma.
3670 * math/auto-libm-test-out: Regenerated.
3671 * math/libm-test.inc (fma_test_data): Use AUTO_TESTS_fff_f.
3672 (fma_towardzero_test_data): Likewise.
3673 (fma_downward_test_data): Likewise.
3674 (fma_upward_test_data): Likewise.
3675 * math/gen-auto-libm-tests.c (rounding_mode_desc): Add field
3677 (rounding_modes): Add values for new field.
3678 (func_calc_method): Add value mpfr_fff_f.
3679 (func_calc_desc): Add mpfr_fff_f union field.
3680 (test_function): Add field exact_args.
3681 (FUNC): Add macro argument EXACT_ARGS.
3682 (FUNC_mpfr_f_f): Update call to FUNC.
3683 (FUNC_mpfr_f_f): Likewise.
3684 (FUNC_mpfr_ff_f): Likewise.
3685 (FUNC_mpfr_if_f): Likewise.
3686 (FUNC_mpc_c_f): Likewise.
3687 (FUNC_mpc_c_c): Likewise.
3688 (test_functions): Add fma. Update calls to FUNC.
3689 (handle_input_arg): Add argument exact_args.
3690 (add_test): Update call to handle_input_arg.
3691 (calc_generic_results): Add argument mode. Handle mpfr_fff_f.
3692 (output_for_one_input_case): Update call to calc_generic_results.
3693 Recalculate exact zero results in each rounding mode.
3695 * math/gen-auto-libm-tests.c (adjust_real): Ensure integers are
3696 non-negative before setting low bit.
3697 * math/auto-libm-test-in: Mark one asin test possibly having
3699 * math/auto-libm-test-out: Regenerated.
3700 * sysdeps/i386/fpu/libm-test-ulps: Update.
3701 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3703 2014-02-17 David Holsgrove <david.holsgrove@xilinx.com>
3705 * sysdeps/microblaze: Move directory from ports/sysdeps/microblaze.
3706 * sysdeps/unix/sysv/linux/microblaze: Move directory from
3707 ports/sysdeps/unix/sysv/linux/microblaze.
3708 * README: Add missing listing for microblaze*-*-linux-gnu.
3710 2014-02-16 Mike Frysinger <vapier@gentoo.org>
3712 * sysdeps/ia64: Move directory from ports/sysdeps/ia64.
3713 * sysdeps/unix/sysv/linux/ia64: Move directory from
3714 ports/sysdeps/unix/sysv/linux/ia64.
3715 * README: Update listing for ia64-*-linux-gnu.
3717 2014-02-14 Tomas Dohnalek <tdohnale@redhat.com>
3718 Joseph Myers <joseph@codesourcery.com>
3720 * Makeconfig (test-name): New variable.
3721 (evaluate-test): Likewise.
3722 * Makerules (do-test-clean): Remove .test-result files.
3723 (common-mostlyclean): Likewise.
3724 * Rules ($(objpfx)%.out): Use $(evaluate-test) in both rules.
3725 * scripts/evaluate-test.sh: New file.
3727 2014-02-14 Joseph Myers <joseph@codesourcery.com>
3729 * libio/Makefile ($(objpfx)tst-fopenloc.check): Split into
3730 separate $(objpfx)tst-fopenloc-cmp.out and
3731 $(objpfx)tst-fopenloc-mem.out targets.
3732 (tests): Update dependencies.
3733 * posix/Makefile (tests variable): Add tst-rxspencer-no-utf8.
3734 (generated): Change tst-rxspencer-mem and tst-rxspencer.mtrace to
3735 tst-rxspencer-no-utf8-mem and tst-rxspencer-no-utf8.mtrace.
3736 (tst-rxspencer-no-utf8-ARGS): New variable.
3737 (tst-rxspencer-no-utf8-ENV): Likewise.
3738 (tests target): Depend on $(objpfx)tst-rxspencer-no-utf8-mem
3739 instead of $(objpfx)tst-rxspencer-mem.
3740 ($(objpfx)tst-rxspencer-mem): Change target to
3741 $(objpfx)tst-rxspencer-no-utf8-mem. Depend on
3742 $(objpfx)tst-rxspencer-no-utf8.out instead of running test program.
3743 * posix/tst-rxspencer-no-utf8.c: New file.
3745 * elf/Makefile ($(objpfx)order.out): Remove rule.
3746 [$(run-built-tests) = yes] (tests): Depend on
3747 $(objpfx)order-cmp.out.
3748 ($(objpfx)order-cmp.out): New rule.
3749 [$(run-built-tests) = yes] (tests): Depend on
3750 $(objpfx)tst-array1-cmp.out, $(objpfx)tst-array1-static-cmp.out,
3751 $(objpfx)tst-array2-cmp.out, $(objpfx)tst-array3-cmp.out,
3752 $(objpfx)tst-array4-cmp.out, $(objpfx)tst-array5-cmp.out and
3753 $(objpfx)tst-array5-static-cmp.out.
3754 ($(objpfx)tst-array1.out): Remove rule.
3755 ($(objpfx)tst-array1-cmp.out): New rule.
3756 ($(objpfx)tst-array1-static.out): Remove rule.
3757 ($(objpfx)tst-array1-static-cmp.out): New rule.
3758 ($(objpfx)tst-array2.out): Remove rule.
3759 ($(objpfx)tst-array2-cmp.out): New rule.
3760 ($(objpfx)tst-array3.out): Remove rule.
3761 ($(objpfx)tst-array3-cmp.out): New rule.
3762 ($(objpfx)tst-array4.out): Remove rule.
3763 ($(objpfx)tst-array4-cmp.out): New rule.
3764 ($(objpfx)tst-array5.out): Remove rule.
3765 ($(objpfx)tst-array5-cmp.out): New rule.
3766 ($(objpfx)tst-array5-static.out): Remove rule.
3767 ($(objpfx)tst-array5-static-cmp.out): New rule.
3768 [$(run-built-tests) = yes] (tests): Depend on
3769 $(objpfx)order2-cmp.out.
3770 ($(objpfx)order2.out): Remove rule.
3771 ($(objpfx)order2-cmp.out): New rule.
3772 ($(objpfx)tst-initorder.out): Remove rule.
3773 [$(run-built-tests) = yes] (tests): Depend on
3774 $(objpfx)tst-initorder-cmp.out.
3775 ($(objpfx)tst-initorder-cmp.out): New rule.
3776 ($(objpfx)tst-initorder2.out): Remove rule.
3777 [$(run-built-tests) = yes] (tests): Depend on
3778 $(objpfx)tst-initorder2-cmp.out.
3779 ($(objpfx)tst-initorder2-cmp.out): New rule.
3780 [$(run-built-tests) = yes] (tests): Depend on
3781 $(objpfx)tst-unused-dep-cmp.out.
3782 ($(objpfx)tst-unused-dep-cmp.out): Do not run cmp.
3783 ($(objpfx)tst-unused-dep-cmp.out): New rule.
3784 * stdio-common/Makefile [$(run-built-tests) = yes] (tests): Depend
3785 on $(objpfx)tst-setvbuf1-cmp.out.
3786 ($(objpfx)tst-setvbuf1.out): Do not run cmp.
3787 ($(objpfx)tst-setvbuf1-cmp.out): New rule.
3788 * string/Makefile [$(run-built-tests) = yes] (tests): Depend
3789 $(objpfx)tst-svc-cmp.out instead of $(objpfx)tst-svc.out.
3790 ($(objpfx)tst-svc.out): Remove rule.
3791 ($(objpfx)tst-svc-cmp.out): New rule.
3793 2014-02-13 Joseph Myers <joseph@codesourcery.com>
3795 * bits/mman.h [__USE_MISC]: Remove redundant conditionals.
3796 * ctype/ctype.h [__USE_MISC]: Likewise.
3797 * dirent/dirent.h [__USE_MISC]: Likewise.
3798 * grp/grp.h [__USE_MISC]: Likewise.
3799 * io/fcntl.h [__USE_MISC]: Likewise.
3800 * io/sys/stat.h [__USE_MISC]: Likewise.
3801 * libio/stdio.h [__USE_MISC]: Likewise.
3802 * posix/unistd.h [__USE_MISC]: Likewise.
3803 * pwd/pwd.h [__USE_MISC]: Likewise.
3804 * stdlib.h [__USE_MISC]: Likewise.
3805 * string/bits/string2.h [__USE_MISC]: Likewise.
3806 * string/string.h [__USE_MISC]: Likewise.
3807 * time/time.h [__USE_MISC]: Likewise.
3809 2014-02-13 Andreas Schwab <schwab@suse.de>
3812 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname4_r): Free the
3813 second answer buffer if it was separately allocated.
3815 2014-02-12 Joseph Myers <joseph@codesourcery.com>
3817 * sysdeps/mips/math-tests.h: Include <features.h>.
3818 [!__mips_soft_float && _MIPS_SIM != _ABIO32 && __GNUC_PREREQ (4, 9)]
3819 (ROUNDING_TESTS_long_double): Do not define.
3820 [!__mips_soft_float && _MIPS_SIM != _ABIO32 && __GNUC_PREREQ (4, 9)]
3821 (EXCEPTION_TESTS_long_double): Likewise.
3822 * sysdeps/mips/mips64/libm-test-ulps: Update.
3824 * include/features.h (__USE_BSD): Remove macro definitions.
3825 (__USE_SVID): Likewise.
3826 (_BSD_SOURCE): Likewise.
3827 (_SVID_SOURCE): Likewise.
3828 [!defined _BSD_SOURCE && !defined _SVID_SOURCE]: Remove condition
3829 from definition of _DEFAULT_SOURCE.
3830 [_BSD_SOURCE || _SVID_SOURCE]: Change condition to
3832 * bits/fcntl.h [__USE_BSD]: Change condition to [__USE_MISC].
3833 * bits/mman.h [__USE_BSD]: Likewise.
3834 * bits/termios.h [__USE_BSD]: Likewise.
3835 * bits/waitstatus.h [__USE_BSD]: Likewise.
3836 * ctype/ctype.h [__USE_SVID]: Likewise.
3837 * dirent/dirent.h [__USE_BSD]: Likewise.
3838 * grp/grp.h [__USE_SVID]: Likewise.
3839 [__USE_BSD]: Likewise.
3840 * inet/netinet/igmp.h [__USE_BSD]: Likewise.
3841 * io/fcntl.h [__USE_BSD]: Likewise.
3842 * io/ftw.h [__USE_BSD]: Likewise.
3843 * io/sys/stat.h [__USE_BSD]: Likewise.
3844 * libio/bits/stdio-ldbl.h [__USE_BSD]: Likewise.
3845 * libio/bits/stdio2.h [__USE_BSD]: Likewise.
3846 * libio/stdio.h [__USE_SVID]: Likewise.
3847 [__USE_BSD]: Likewise.
3848 * math/math.h [__USE_SVID]: Likewise.
3849 [__USE_BSD]: Likewise.
3850 * misc/bits/syslog-ldbl.h [__USE_BSD]: Likewise.
3851 * misc/bits/syslog.h [__USE_BSD]: Likewise.
3852 * misc/search.h [__USE_SVID]: Likewise.
3853 * misc/sys/mman.h [__USE_BSD]: Likewise.
3854 * misc/sys/syslog.h [__USE_BSD]: Likewise.
3855 * misc/sys/uio.h [__USE_BSD]: Likewise.
3856 * posix/bits/unistd.h [__USE_BSD]: Likewise.
3857 * posix/glob.h [__USE_BSD]: Likewise.
3858 * posix/regex.h [__USE_BSD]: Likewise.
3859 * posix/sys/types.h [__USE_BSD]: Likewise.
3860 [__USE_SVID]: Likewise.
3861 * posix/sys/utsname.h [__USE_SVID]: Likewise.
3862 * posix/sys/wait.h [__USE_BSD]: Likewise.
3863 [__USE_SVID]: Likewise.
3864 * posix/unistd.h [__USE_BSD]: Likewise.
3865 [__USE_SVID]: Likewise.
3866 * pwd/pwd.h [__USE_SVID]: Likewise.
3867 * resolv/netdb.h [__USE_BSD]: Likewise.
3868 * setjmp/setjmp.h [__USE_BSD]: Likewise.
3869 * signal/signal.h [__USE_BSD]: Likewise.
3870 [__USE_SVID]: Likewise.
3871 * socket/sys/socket.h [__USE_BSD]: Likewise.
3872 * stdlib/fmtmsg.h [__USE_SVID]: Likewise.
3873 * stdlib/stdlib.h [__USE_BSD]: Likewise.
3874 [__USE_SVID]: Likewise.
3875 * string/bits/string2.h [__USE_BSD]: Likewise.
3876 [__USE_SVID]: Likewise.
3877 * string/bits/string3.h [__USE_BSD]: Likewise.
3878 * string/endian.h [__USE_BSD]: Likewise.
3879 * string/string.h [__USE_SVID]: Likewise.
3880 [__USE_BSD]: Likewise.
3881 * string/strings.h [__USE_BSD]: Likewise.
3882 * sysdeps/generic/netinet/ip.h [__USE_BSD]: Likewise.
3883 * sysdeps/gnu/netinet/ip_icmp.h [__USE_BSD]: Likewise.
3884 * sysdeps/mach/hurd/bits/fcntl.h [__USE_BSD]: Likewise.
3885 * sysdeps/mach/hurd/bits/stat.h [__USE_BSD]: Likewise.
3886 * sysdeps/unix/sysv/linux/alpha/bits/mman.h [__USE_BSD]: Likewise.
3887 * sysdeps/unix/sysv/linux/alpha/bits/termios.h [__USE_BSD]:
3889 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_BSD]:
3891 * sysdeps/unix/sysv/linux/bits/mman-linux.h [__USE_BSD]: Likewise.
3892 * sysdeps/unix/sysv/linux/bits/sys_errlist.h [__USE_BSD]:
3894 * sysdeps/unix/sysv/linux/bits/termios.h [__USE_BSD]: Likewise.
3895 * sysdeps/unix/sysv/linux/mips/bits/termios.h [__USE_BSD]:
3897 * sysdeps/unix/sysv/linux/netinet/if_ether.h [__USE_BSD]:
3899 * sysdeps/unix/sysv/linux/netinet/if_fddi.h [__USE_BSD]: Likewise.
3900 * sysdeps/unix/sysv/linux/netinet/if_tr.h [__USE_BSD]: Likewise.
3901 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h [__USE_BSD]:
3903 * sysdeps/unix/sysv/linux/sparc/bits/termios.h [__USE_BSD]:
3905 * sysdeps/x86/bits/string.h [__USE_BSD]: Likewise.
3906 * sysvipc/sys/ipc.h [__USE_SVID]: Likewise.
3907 * termios/termios.h [__USE_BSD]: Likewise.
3908 * time/sys/time.h [__USE_BSD]: Likewise.
3909 * time/time.h [__USE_BSD]: Likewise.
3910 [__USE_SVID]: Likewise.
3912 * Makefile (subdir_targets): Remove subdir_lint.out.
3914 * stdio-common/Makefile (do-tst-unbputc): Remove target.
3915 (do-tst-printf): Likewise.
3916 (tests): Depend directly on $(objpfx)tst-unbputc.out and
3917 $(objpfx)tst-printf.out.
3919 * io/ftwtest-sh (testout): Change to $tmp/ftwtest-tmp.out.
3921 * Makerules (check-abi-%): Change target to
3922 $(objpfx)check-abi-%.out.
3923 (check-abi target): Update dependencies.
3924 (check-abi-pattern variable): Redirect output of diff to $@.
3925 (check-abi variable): Likewise.
3926 * elf/Makefile (check-abi): Update dependencies.
3928 * soft-fp/op-common.h (_FP_DECL): Mark exponent as possibly
3930 (_FP_PACK_SEMIRAW): Determine tininess based on rounding shifted
3931 value if _FP_TININESS_AFTER_ROUNDING and unrounded value is in
3933 (_FP_PACK_CANONICAL): Determine tininess based on rounding to
3934 normal precision if _FP_TININESS_AFTER_ROUNDING and unrounded
3935 value has largest subnormal exponent.
3936 * soft-fp/soft-fp.h [FP_NO_EXCEPTIONS]
3937 (_FP_TININESS_AFTER_ROUNDING): Undefine and redefine to 0.
3938 * sysdeps/aarch64/soft-fp/sfp-machine.h
3939 (_FP_TININESS_AFTER_ROUNDING): New macro.
3940 * sysdeps/alpha/soft-fp/sfp-machine.h
3941 (_FP_TININESS_AFTER_ROUNDING): Likewise.
3942 * sysdeps/arm/soft-fp/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
3944 * sysdeps/mips/mips64/soft-fp/sfp-machine.h
3945 (_FP_TININESS_AFTER_ROUNDING): Likewise.
3946 * sysdeps/mips/soft-fp/sfp-machine.h
3947 (_FP_TININESS_AFTER_ROUNDING): Likewise.
3948 * sysdeps/powerpc/soft-fp/sfp-machine.h
3949 (_FP_TININESS_AFTER_ROUNDING): Likewise.
3950 * sysdeps/sh/soft-fp/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
3952 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
3953 (_FP_TININESS_AFTER_ROUNDING): Likewise.
3954 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
3955 (_FP_TININESS_AFTER_ROUNDING): Likewise.
3956 * sysdeps/tile/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
3959 2014-02-12 Dylan Alex Simon <dylan@dylex.net>
3962 * sysdeps/x86_64/fpu/libm-test-ulps: Update on AMD family 21h
3965 2014-02-12 Richard Henderson <rth@redhat.com>
3967 * sysdeps/alpha: Move directory from ports/sysdeps/alpha.
3968 * sysdeps/unix/alpha: Move directory from ports/sysdeps/unix/alpha.
3969 * sysdeps/unix/sysv/linux/alpha: Move directory from
3970 ports/sysdeps/unix/sysv/linux/alpha.
3971 * README: Update listing for alpha-*-linux-gnu.
3973 2014-02-11 Joseph Myers <joseph@codesourcery.com>
3975 * include/features.h: Update comment documenting feature test
3977 [_BSD_SOURCE || _SVID_SOURCE]: Give #warning. Define
3979 * manual/creature.texi (_BSD_SOURCE): Remove documentation.
3980 (_SVID_SOURCE): Likewise.
3981 (_DEFAULT_SOURCE): Update description of default features.
3982 (Feature Test Macros): Don't mention _SVID_SOURCE in conjunction
3984 * manual/filesys.texi (__ftw_func_t): Do not refer to _BSD_SOURCE.
3985 (S_ISVTX): Likewise.
3986 * manual/math.texi (Mathematical Constants): Likewise.
3987 * manual/signal.texi (Interrupted Primitives): Likewise.
3988 * manual/startup.texi (putenv): Do not refer to _SVID_SOURCE.
3989 * math/test-matherr.c (_SVID_SOURCE): Do not define.
3990 * sysvipc/sys/ipc.h [__USE_SVID && !__USE_XOPEN && __GNUC__ >= 2]:
3991 Don't refer to _SVID_SOURCE in warning text.
3993 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
3995 * elf/dl-lookup.c (ELF_MACHINE_SYM_NO_MATCH): Define if not
3997 (do_lookup_x): Use ELF_MACHINE_SYM_NO_MATCH.
3998 * sysdeps/mips/dl-lookup.c: Remove.
3999 * sysdeps/mips/dl-machine.h (ELF_MACHINE_SYM_NO_MATCH): New macro.
4001 2014-02-11 Stefan Liebler <stli@linux.vnet.ibm.com>
4004 * math/auto-libm-test-in: Add testcase for expl.
4005 * math/auto-libm-test-out: Regenerate.
4006 * sysdeps/ieee754/ldbl-128/e_expl.c (__ieee754_expl): Fix
4007 calculation of unsafe.
4008 * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for added testcase.
4010 2014-02-11 Marcus Shawcroft <marcus.shawcroft@arm.com>
4012 * sysdeps/aarch64: Move directory from ports/sysdeps/aarch64.
4013 * sysdeps/unix/sysv/linux/aarch64: Move directory from
4014 ports/sysdeps/unix/sysv/linux/aarch64.
4015 * README: Update listing for aarch64*-*-linux-gnu.
4017 2014-02-11 Will Newton <will.newton@linaro.org>
4019 * manual/probes.texi (Mathematical Function Probes): Use
4020 "triggered" instead of "hit".
4022 * manual/probes.texi (Internal Probes): Add documentation
4023 of setjmp, longjmp and longjmp_target probes.
4025 * include/stap-probe.h: Add comment about probe argument
4028 * malloc/mtrace.c (attribute_hidden): Remove unused macro
4029 definition. (tr_where, tr_freehook, tr_mallochook,
4030 tr_reallochook, tr_memalignhook): Use ANSI protoype.
4032 2014-02-11 David S. Miller <davem@davemloft.net>
4034 * stdio-common/tst-sscanf.c (main): Use 'long' for 'dummy' when
4035 processing int_tests.
4037 2014-02-10 Joseph Myers <joseph@codesourcery.com>
4039 * sysdeps/mips: Move directory from ports/sysdeps/mips.
4040 * sysdeps/unix/mips: Move directory from ports/sysdeps/unix/mips.
4041 * sysdeps/unix/sysv/linux/mips: Move directory from
4042 ports/sysdeps/unix/sysv/linux/mips.
4043 * README: Update listing for mips-*-linux-gnu and
4046 2014-02-10 Andreas Schwab <schwab@linux-m68k.org>
4048 * sysdeps/m68k: Move directory from ports/sysdeps/m68k.
4049 * sysdeps/unix/sysv/linux/m68k: Move directory from
4050 ports/sysdeps/unix/sysv/linux/m68k.
4051 * README: Update listing for m68k-*-linux-gnu.
4053 2014-02-10 Chris Metcalf <cmetcalf@tilera.com>
4055 * sysdeps/tile: Move directory from ports/sysdeps/tile.
4056 * sysdeps/unix/sysv/linux/generic: Move directory from
4057 ports/sysdeps/unix/sysv/linux/generic.
4058 * sysdeps/unix/sysv/linux/tile: Move directory from
4059 ports/sysdeps/unix/sysv/linux/tile.
4060 * README: Update listing for tile*-*-linux-gnu.
4062 2014-02-10 Ondřej Bílka <neleai@seznam.cz>
4064 * assert/assert.c (__assert_fail_base): Use glibc_likely instead
4066 * benchtests/bench-memmem.c (simple_memmem): Likewise.
4067 * catgets/open_catalog.c (__open_catalog): Likewise.
4068 * csu/libc-start.c (LIBC_START_MAIN): Likewise.
4069 * debug/confstr_chk.c: Likewise.
4070 * debug/fread_chk.c (__fread_chk): Likewise.
4071 * debug/fread_u_chk.c (__fread_unlocked_chk): Likewise.
4072 * debug/getgroups_chk.c: Likewise.
4073 * debug/mbsnrtowcs_chk.c: Likewise.
4074 * debug/mbsrtowcs_chk.c: Likewise.
4075 * debug/mbstowcs_chk.c: Likewise.
4076 * debug/memcpy_chk.c: Likewise.
4077 * debug/memmove_chk.c: Likewise.
4078 * debug/mempcpy_chk.c: Likewise.
4079 * debug/memset_chk.c: Likewise.
4080 * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
4081 * debug/strcat_chk.c (__strcat_chk): Likewise.
4082 * debug/strcpy_chk.c (__strcpy_chk): Likewise.
4083 * debug/strncat_chk.c (__strncat_chk): Likewise.
4084 * debug/vsnprintf_chk.c (___vsnprintf_chk): Likewise.
4085 * debug/vswprintf_chk.c (__vswprintf_chk): Likewise.
4086 * debug/wcpcpy_chk.c (__wcpcpy_chk): Likewise.
4087 * debug/wcpncpy_chk.c: Likewise.
4088 * debug/wcscat_chk.c (__wcscat_chk): Likewise.
4089 * debug/wcscpy_chk.c (__wcscpy_chk): Likewise.
4090 * debug/wcsncat_chk.c (__wcsncat_chk): Likewise.
4091 * debug/wcsncpy_chk.c: Likewise.
4092 * debug/wcsnrtombs_chk.c: Likewise.
4093 * debug/wcsrtombs_chk.c: Likewise.
4094 * debug/wcstombs_chk.c: Likewise.
4095 * debug/wmemcpy_chk.c: Likewise.
4096 * debug/wmemmove_chk.c: Likewise.
4097 * debug/wmempcpy_chk.c: Likewise.
4098 * debug/wmemset_chk.c: Likewise.
4099 * dirent/scandirat.c (SCANDIRAT): Likewise.
4100 * dlfcn/dladdr1.c (dladdr1): Likewise.
4101 * dlfcn/dladdr.c (dladdr): Likewise.
4102 * dlfcn/dlclose.c (dlclose_doit): Likewise.
4103 * dlfcn/dlerror.c (__dlerror): Likewise.
4104 * dlfcn/dlinfo.c (dlinfo_doit): Likewise.
4105 * dlfcn/dlmopen.c (dlmopen_doit): Likewise.
4106 * dlfcn/dlopen.c (dlopen_doit): Likewise.
4107 * dlfcn/dlopenold.c (__dlopen_nocheck): Likewise.
4108 * dlfcn/dlsym.c (dlsym_doit): Likewise.
4109 * dlfcn/dlvsym.c (dlvsym_doit): Likewise.
4110 * elf/dl-cache.c (_dl_load_cache_lookup): Likewise.
4111 * elf/dl-close.c (remove_slotinfo, _dl_close_worker, _dl_close):
4113 * elf/dl-conflict.c: Likewise.
4114 * elf/dl-deps.c (_dl_build_local_scope, _dl_map_object_deps): Likewise.
4115 * elf/dl-dst.h: Likewise.
4116 * elf/dl-fini.c (_dl_sort_fini, _dl_fini): Likewise.
4117 * elf/dl-fptr.c (_dl_make_fptr): Likewise.
4118 * elf/dl-hwcaps.c (_dl_important_hwcaps): Likewise.
4119 * elf/dl-init.c (call_init, _dl_init): Likewise.
4120 * elf/dl-libc.c (__libc_dlopen_mode, __libc_dlsym): Likewise.
4121 * elf/dl-load.c (_dl_dst_substitute, fillin_rpath, _dl_init_paths)
4122 (_dl_map_object_from_fd, open_verify, open_path, _dl_map_object):
4124 * elf/dl-lookup.c (do_lookup_x, add_dependency, _dl_lookup_symbol_x):
4126 * elf/dl-minimal.c (__libc_memalign): Likewise.
4127 * elf/dl-open.c (add_to_global, dl_open_worker, _dl_open): Likewise.
4128 * elf/dl-reloc.c (_dl_relocate_object): Likewise.
4129 * elf/dl-runtime.c (_dl_fixup, _dl_profile_fixup): Likewise.
4130 * elf/dl-sym.c (do_sym): Likewise.
4131 * elf/dl-tls.c (tls_get_addr_tail, update_get_addr)
4132 (__tls_get_addr, _dl_tls_get_addr_soft): Likewise.
4133 * elf/dl-version.c (match_symbol, _dl_check_map_versions): Likewise.
4134 * elf/dl-writev.h (_dl_writev): Likewise.
4135 * elf/ldconfig.c (search_dir): Likewise.
4136 * elf/rtld.c (_dl_start_final, _dl_start, init_tls, do_preload)
4137 (dl_main): Likewise.
4138 * elf/setup-vdso.h (setup_vdso): Likewise.
4139 * grp/compat-initgroups.c (compat_call): Likewise.
4140 * grp/fgetgrent.c (fgetgrent): Likewise.
4141 * grp/initgroups.c (getgrouplist, initgroups): Likewise.
4142 * grp/putgrent.c (putgrent): Likewise.
4143 * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
4145 * hurd/hurdinit.c: Likewise.
4146 * iconvdata/8bit-gap.c (struct): Likewise.
4147 * iconvdata/ansi_x3.110.c : Likewise.
4148 * iconvdata/big5.c : Likewise.
4149 * iconvdata/big5hkscs.c : Likewise.
4150 * iconvdata/cp1255.c: Likewise.
4151 * iconvdata/cp1258.c : Likewise.
4152 * iconvdata/cp932.c : Likewise.
4153 * iconvdata/euc-cn.c: Likewise.
4154 * iconvdata/euc-jisx0213.c : Likewise.
4155 * iconvdata/euc-jp.c: Likewise.
4156 * iconvdata/euc-jp-ms.c : Likewise.
4157 * iconvdata/euc-kr.c (euckr_from_ucs4): Likewise.
4158 * iconvdata/gb18030.c : Likewise.
4159 * iconvdata/gbbig5.c (const): Likewise.
4160 * iconvdata/gbgbk.c: Likewise.
4161 * iconvdata/gbk.c : Likewise.
4162 * iconvdata/ibm1364.c : Likewise.
4163 * iconvdata/ibm930.c : Likewise.
4164 * iconvdata/ibm932.c: Likewise.
4165 * iconvdata/ibm933.c : Likewise.
4166 * iconvdata/ibm935.c : Likewise.
4167 * iconvdata/ibm937.c : Likewise.
4168 * iconvdata/ibm939.c : Likewise.
4169 * iconvdata/ibm943.c: Likewise.
4170 * iconvdata/iso_11548-1.c: Likewise.
4171 * iconvdata/iso-2022-cn.c : Likewise.
4172 * iconvdata/iso-2022-cn-ext.c : Likewise.
4173 * iconvdata/iso-2022-jp-3.c: Likewise.
4174 * iconvdata/iso-2022-jp.c (gconv_end): Likewise.
4175 * iconvdata/iso-2022-kr.c : Likewise.
4176 * iconvdata/iso646.c (gconv_end): Likewise.
4177 * iconvdata/iso_6937-2.c : Likewise.
4178 * iconvdata/iso_6937.c : Likewise.
4179 * iconvdata/iso8859-1.c: Likewise.
4180 * iconvdata/johab.c (johab_sym_hanja_to_ucs): Likewise.
4181 * iconvdata/shift_jisx0213.c : Likewise.
4182 * iconvdata/sjis.c : Likewise.
4183 * iconvdata/t.61.c : Likewise.
4184 * iconvdata/tcvn5712-1.c : Likewise.
4185 * iconvdata/tscii.c: Likewise.
4186 * iconvdata/uhc.c : Likewise.
4187 * iconvdata/unicode.c (gconv_end): Likewise.
4188 * iconvdata/utf-16.c (gconv_end): Likewise.
4189 * iconvdata/utf-32.c (gconv_end): Likewise.
4190 * iconvdata/utf-7.c (base64): Likewise.
4191 * iconv/gconv_cache.c (__gconv_load_cache): Likewise.
4192 * iconv/gconv_close.c (__gconv_close): Likewise.
4193 * iconv/gconv_open.c (__gconv_open): Likewise.
4194 * iconv/gconv_simple.c (internal_ucs4_loop_single)
4195 (ucs4_internal_loop, ucs4_internal_loop_unaligned)
4196 (ucs4_internal_loop_single, internal_ucs4le_loop_single)
4197 (ucs4le_internal_loop, ucs4le_internal_loop_unaligned)
4198 (ucs4le_internal_loop_single): Likewise.
4199 * iconv/iconv.c (iconv): Likewise.
4200 * iconv/iconv_close.c: Likewise.
4201 * iconv/loop.c (SINGLE): Likewise.
4202 * iconv/skeleton.c (FUNCTION_NAME): Likewise.
4203 * include/atomic.h: Likewise.
4204 * inet/inet6_option.c (option_alloc): Likewise.
4205 * intl/bindtextdom.c (set_binding_values): Likewise.
4206 * intl/dcigettext.c (DCIGETTEXT, _nl_find_msg): Likewise.
4207 * intl/loadmsgcat.c (_nl_load_domain): Likewise.
4208 * intl/localealias.c (read_alias_file): Likewise.
4209 * libio/filedoalloc.c (_IO_file_doallocate): Likewise.
4210 * libio/fileops.c (_IO_file_open, _IO_file_underflow_mmap)
4211 (_IO_new_file_overflow, _IO_file_xsgetn_mmap): Likewise.
4212 * libio/fmemopen.c (fmemopen): Likewise.
4213 * libio/iofgets.c (_IO_fgets): Likewise.
4214 * libio/iofgets_u.c (fgets_unlocked): Likewise.
4215 * libio/iofgetws.c (fgetws): Likewise.
4216 * libio/iofgetws_u.c (fgetws_unlocked): Likewise.
4217 * libio/iogetdelim.c (_IO_getdelim): Likewise.
4218 * libio/wfileops.c (_IO_wfile_underflow, _IO_wfile_underflow_mmap)
4219 (adjust_wide_data, _IO_wfile_seekoff): Likewise.
4220 * locale/findlocale.c (_nl_find_locale): Likewise.
4221 * locale/loadarchive.c (_nl_load_locale_from_archive): Likewise.
4222 * locale/loadlocale.c (_nl_intern_locale_data, _nl_load_locale):
4224 * locale/setlocale.c (setlocale): Likewise.
4225 * login/programs/pt_chown.c (main): Likewise.
4226 * malloc/arena.c (ptmalloc_init, shrink_heap, arena_get2): Likewise.
4227 * malloc/malloc.c (_int_malloc, _int_free): Likewise.
4228 * malloc/memusage.c (update_data, malloc, realloc, calloc, free)
4229 (mmap, mmap64, mremap, munmap): Likewise.
4230 * math/e_exp2l.c: Likewise.
4231 * math/e_scalb.c (invalid_fn, __ieee754_scalb): Likewise.
4232 * math/e_scalbf.c (invalid_fn, __ieee754_scalbf): Likewise.
4233 * math/e_scalbl.c (invalid_fn, __ieee754_scalbl): Likewise.
4234 * math/s_catan.c (__catan): Likewise.
4235 * math/s_catanf.c (__catanf): Likewise.
4236 * math/s_catanh.c (__catanh): Likewise.
4237 * math/s_catanhf.c (__catanhf): Likewise.
4238 * math/s_catanhl.c (__catanhl): Likewise.
4239 * math/s_catanl.c (__catanl): Likewise.
4240 * math/s_ccosh.c (__ccosh): Likewise.
4241 * math/s_ccoshf.c (__ccoshf): Likewise.
4242 * math/s_ccoshl.c (__ccoshl): Likewise.
4243 * math/s_cexp.c (__cexp): Likewise.
4244 * math/s_cexpf.c (__cexpf): Likewise.
4245 * math/s_cexpl.c (__cexpl): Likewise.
4246 * math/s_clog10.c (__clog10): Likewise.
4247 * math/s_clog10f.c (__clog10f): Likewise.
4248 * math/s_clog10l.c (__clog10l): Likewise.
4249 * math/s_clog.c (__clog): Likewise.
4250 * math/s_clogf.c (__clogf): Likewise.
4251 * math/s_clogl.c (__clogl): Likewise.
4252 * math/s_csin.c (__csin): Likewise.
4253 * math/s_csinf.c (__csinf): Likewise.
4254 * math/s_csinh.c (__csinh): Likewise.
4255 * math/s_csinhf.c (__csinhf): Likewise.
4256 * math/s_csinhl.c (__csinhl): Likewise.
4257 * math/s_csinl.c (__csinl): Likewise.
4258 * math/s_csqrt.c (__csqrt): Likewise.
4259 * math/s_csqrtf.c (__csqrtf): Likewise.
4260 * math/s_csqrtl.c (__csqrtl): Likewise.
4261 * math/s_ctan.c (__ctan): Likewise.
4262 * math/s_ctanf.c (__ctanf): Likewise.
4263 * math/s_ctanh.c (__ctanh): Likewise.
4264 * math/s_ctanhf.c (__ctanhf): Likewise.
4265 * math/s_ctanhl.c (__ctanhl): Likewise.
4266 * math/s_ctanl.c (__ctanl): Likewise.
4267 * math/w_pow.c: Likewise.
4268 * math/w_powf.c: Likewise.
4269 * math/w_powl.c: Likewise.
4270 * math/w_scalb.c (sysv_scalb): Likewise.
4271 * math/w_scalbf.c (sysv_scalbf): Likewise.
4272 * math/w_scalbl.c (sysv_scalbl): Likewise.
4273 * misc/error.c (error_tail): Likewise.
4274 * misc/pselect.c (__pselect): Likewise.
4275 * nis/nis_callback.c (__nis_create_callback): Likewise.
4276 * nis/nis_call.c (__nisfind_server): Likewise.
4277 * nis/nis_creategroup.c (nis_creategroup): Likewise.
4278 * nis/nis_domain_of_r.c (nis_domain_of_r): Likewise.
4279 * nis/nis_findserv.c (__nis_findfastest_with_timeout): Likewise.
4280 * nis/nis_getservlist.c (nis_getservlist): Likewise.
4281 * nis/nis_lookup.c (nis_lookup): Likewise.
4282 * nis/nis_subr.c (nis_leaf_of_r, nis_getnames): Likewise.
4283 * nis/nis_table.c (__create_ib_request, nis_list, nis_add_entry)
4284 (nis_modify_entry, nis_first_entry, nis_next_entry): Likewise.
4285 * nis/nis_xdr.c (xdr_endpoint): Likewise.
4286 * nis/nss_compat/compat-grp.c (getgrent_next_file)
4287 (internal_getgrnam_r, internal_getgrgid_r): Likewise.
4288 * nis/nss_compat/compat-initgroups.c (add_group)
4289 (internal_getgrent_r): Likewise.
4290 * nis/nss_compat/compat-pwd.c (getpwent_next_file)
4291 (internal_getpwnam_r, internal_getpwuid_r): Likewise.
4292 * nis/nss_compat/compat-spwd.c (getspent_next_file)
4293 (internal_getspnam_r): Likewise.
4294 * nis/nss_nis/nis-alias.c (internal_nis_getaliasent_r)
4295 (_nss_nis_getaliasbyname_r): Likewise.
4296 * nis/nss_nis/nis-ethers.c (_nss_nis_gethostton_r)
4297 (_nss_nis_getntohost_r): Likewise.
4298 * nis/nss_nis/nis-grp.c (internal_nis_setgrent)
4299 (internal_nis_getgrent_r, _nss_nis_getgrnam_r)
4300 (_nss_nis_getgrgid_r): Likewise.
4301 * nis/nss_nis/nis-hosts.c (_nss_nis_sethostent)
4302 (internal_nis_gethostent_r, internal_gethostbyname2_r)
4303 (_nss_nis_gethostbyname_r, _nss_nis_gethostbyaddr_r)
4304 (_nss_nis_gethostbyname4_r): Likewise.
4305 * nis/nss_nis/nis-initgroups.c (internal_getgrent_r)
4306 (initgroups_netid): Likewise.
4307 * nis/nss_nis/nis-netgrp.c (_nss_nis_setnetgrent): Likewise.
4308 * nis/nss_nis/nis-network.c (internal_nis_getnetent_r)
4309 (_nss_nis_getnetbyname_r, _nss_nis_getnetbyaddr_r): Likewise.
4310 * nis/nss_nis/nis-proto.c (_nss_nis_getprotobyname_r)
4311 (_nss_nis_getprotobynumber_r): Likewise.
4312 * nis/nss_nis/nis-publickey.c (_nss_nis_getpublickey)
4313 (_nss_nis_getsecretkey): Likewise.
4314 * nis/nss_nis/nis-pwd.c (_nis_saveit, internal_nis_setpwent)
4315 (internal_nis_getpwent_r, _nss_nis_getpwnam_r)
4316 (_nss_nis_getpwuid_r): Likewise.
4317 * nis/nss_nis/nis-rpc.c (internal_nis_getrpcent_r)
4318 (_nss_nis_getrpcbyname_r, _nss_nis_getrpcbynumber_r): Likewise.
4319 * nis/nss_nis/nis-service.c (dosearch, internal_nis_getservent_r)
4320 (_nss_nis_getservbyname_r, _nss_nis_getservbyport_r): Likewise.
4321 * nis/nss_nis/nis-spwd.c (_nss_nis_setspent)
4322 (internal_nis_getspent_r, _nss_nis_getspnam_r): Likewise.
4323 * nis/nss_nisplus/nisplus-alias.c (_nss_nisplus_getaliasbyname_r):
4325 * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_gethostton_r)
4326 (_nss_nisplus_getntohost_r): Likewise.
4327 * nis/nss_nisplus/nisplus-grp.c (internal_nisplus_getgrent_r)
4328 (_nss_nisplus_getgrnam_r, _nss_nisplus_getgrgid_r): Likewise.
4329 * nis/nss_nisplus/nisplus-hosts.c (internal_gethostbyname2_r)
4330 (_nss_nisplus_gethostbyaddr_r, _nss_nisplus_gethostbyname4_r):
4332 * nis/nss_nisplus/nisplus-initgroups.c
4333 (_nss_nisplus_initgroups_dyn): Likewise.
4334 * nis/nss_nisplus/nisplus-network.c (_nss_nisplus_getnetbyname_r)
4335 (_nss_nisplus_getnetbyaddr_r): Likewise.
4336 * nis/nss_nisplus/nisplus-proto.c (_nss_nisplus_getprotobyname_r)
4337 (_nss_nisplus_getprotobynumber_r): Likewise.
4338 * nis/nss_nisplus/nisplus-pwd.c (internal_nisplus_getpwent_r)
4339 (_nss_nisplus_getpwnam_r, _nss_nisplus_getpwuid_r): Likewise.
4340 * nis/nss_nisplus/nisplus-rpc.c (_nss_nisplus_getrpcbyname_r):
4342 * nis/nss_nisplus/nisplus-service.c
4343 (internal_nisplus_getservent_r, _nss_nisplus_getservbyname_r)
4344 (_nss_nisplus_getservbyport_r): Likewise.
4345 * nis/nss_nisplus/nisplus-spwd.c (internal_nisplus_getspent_r)
4346 (_nss_nisplus_getspnam_r): Likewise.
4347 * nis/ypclnt.c (__yp_bind, yp_match, yp_all, yp_maplist):
4349 * nscd/aicache.c (addhstaiX): Likewise.
4350 * nscd/cache.c (cache_search, prune_cache): Likewise.
4351 * nscd/connections.c (register_traced_file, send_ro_fd)
4352 (handle_request, nscd_run_prune, nscd_run_worker, fd_ready)
4353 (main_loop_epoll): Likewise.
4354 * nscd/grpcache.c (addgrbyX): Likewise.
4355 * nscd/hstcache.c (addhstbyX): Likewise.
4356 * nscd/initgrcache.c (addinitgroupsX): Likewise.
4357 * nscd/mem.c (gc, mempool_alloc): Likewise.
4358 * nscd/netgroupcache.c (do_notfound, addgetnetgrentX)
4359 (addinnetgrX): Likewise.
4360 * nscd/nscd-client.h (__nscd_acquire_maplock)
4361 (__nscd_drop_map_ref): Likewise.
4362 * nscd/nscd_getai.c (__nscd_getai): Likewise.
4363 * nscd/nscd_getgr_r.c (nscd_getgr_r): Likewise.
4364 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp, nscd_gethst_r):
4366 * nscd/nscd_getpw_r.c (nscd_getpw_r): Likewise.
4367 * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
4368 * nscd/nscd_helper.c (__readvall, open_socket, __nscd_get_mapping)
4369 (__nscd_get_map_ref): Likewise.
4370 * nscd/nscd_initgroups.c (__nscd_getgrouplist): Likewise.
4371 * nscd/nscd_netgroup.c (__nscd_setnetgrent, __nscd_innetgr):
4373 * nscd/pwdcache.c (addpwbyX): Likewise.
4374 * nscd/selinux.c (preserve_capabilities): Likewise.
4375 * nscd/servicescache.c (addservbyX): Likewise.
4376 * nss/nss_files/files-XXX.c (internal_getent): Likewise.
4377 * posix/fnmatch.c (fnmatch): Likewise.
4378 * posix/getopt.c (_getopt_internal_r): Likewise.
4379 * posix/glob.c (glob, glob_in_dir): Likewise.
4380 * posix/wordexp.c (exec_comm_child): Likewise.
4381 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyaddr2_r)
4382 (getanswer_r, gaih_getanswer_slice): Likewise.
4383 * resolv/nss_dns/dns-network.c (getanswer_r): Likewise.
4384 * resolv/res_init.c: Likewise.
4385 * resolv/res_mkquery.c (res_nmkquery): Likewise.
4386 * resolv/res_query.c (__libc_res_nquery): Likewise.
4387 * resolv/res_send.c (__libc_res_nsend, send_vc, reopen, send_dg):
4389 * stdio-common/_i18n_number.h (_i18n_number_rewrite): Likewise.
4390 * stdio-common/perror.c (perror): Likewise.
4391 * stdio-common/printf_fp.c (___printf_fp): Likewise.
4392 * stdio-common/tmpnam.c (tmpnam): Likewise.
4393 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
4394 * stdlib/cxa_finalize.c (__cxa_finalize): Likewise.
4395 * stdlib/cxa_thread_atexit_impl.c (__cxa_thread_atexit_impl):
4397 * stdlib/drand48-iter.c (__drand48_iterate): Likewise.
4398 * stdlib/putenv.c (putenv): Likewise.
4399 * stdlib/setenv.c (__add_to_environ): Likewise.
4400 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
4401 * stdlib/strtol_l.c (INTERNAL): Likewise.
4402 * string/memmem.c (memmem): Likewise.
4403 * string/strerror.c (strerror): Likewise.
4404 * string/strnlen.c (__strnlen): Likewise.
4405 * string/test-memmem.c (simple_memmem): Likewise.
4406 * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Likewise.
4407 * sunrpc/pm_getport.c (__get_socket): Likewise.
4408 * sysdeps/gnu/unwind-resume.c (init, _Unwind_Resume): Likewise.
4409 * sysdeps/i386/dl-irel.h (elf_irel): Likewise.
4410 * sysdeps/i386/dl-machine.h (elf_machine_runtime_setup)
4411 (elf_machine_rel, elf_machine_lazy_rel, elf_machine_lazy_rela):
4413 * sysdeps/ieee754/dbl-64/e_atanh.c (__ieee754_atanh): Likewise.
4414 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Likewise.
4415 * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Likewise.
4416 * sysdeps/ieee754/dbl-64/e_gamma_r.c (__ieee754_gamma_r): Likewise.
4417 * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Likewise.
4418 * sysdeps/ieee754/dbl-64/e_j1.c (__ieee754_j1, __ieee754_y1):
4420 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn, __ieee754_yn):
4422 * sysdeps/ieee754/dbl-64/e_log10.c (__ieee754_log10): Likewise.
4423 * sysdeps/ieee754/dbl-64/e_log2.c (__ieee754_log2): Likewise.
4424 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
4425 * sysdeps/ieee754/dbl-64/e_sinh.c (__ieee754_sinh): Likewise.
4426 * sysdeps/ieee754/dbl-64/s_asinh.c (__asinh): Likewise.
4427 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Likewise.
4428 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Likewise.
4429 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Likewise.
4430 * sysdeps/ieee754/dbl-64/s_modf.c (__modf): Likewise.
4431 * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): Likewise.
4432 * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
4433 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c (__ieee754_acosh):
4435 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c (__ieee754_log10):
4437 * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c (__ieee754_log2):
4439 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c (__frexp): Likewise.
4440 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
4441 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo): Likewise.
4442 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c (__round): Likewise.
4443 * sysdeps/ieee754/flt-32/e_atanhf.c (__ieee754_atanhf): Likewise.
4444 * sysdeps/ieee754/flt-32/e_gammaf_r.c (__ieee754_gammaf_r): Likewise.
4445 * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
4446 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Likewise.
4447 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_nearbyint): Likewise.
4448 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c (__llrintl): Likewise.
4449 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c (__llroundl): Likewise.
4450 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
4451 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Likewise.
4452 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c (__lroundl): Likewise.
4453 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
4454 * sysdeps/ieee754/ldbl-96/e_gammal_r.c (__ieee754_gammal_r):
4456 * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l, __ieee754_y0l):
4458 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l, __ieee754_y1l):
4460 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl, __ieee754_ynl):
4462 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
4463 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
4464 * sysdeps/posix/clock_getres.c (hp_timing_getres, realtime_getres):
4466 * sysdeps/posix/fdopendir.c (__fdopendir): Likewise.
4467 * sysdeps/posix/getaddrinfo.c (gaih_inet, getaddrinfo): Likewise.
4468 * sysdeps/posix/opendir.c (__opendirat): Likewise.
4469 * sysdeps/posix/sleep.c: Likewise.
4470 * sysdeps/posix/tempname.c: Likewise.
4471 * sysdeps/powerpc/powerpc32/dl-irel.h (elf_irela): Likewise.
4472 * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
4474 * sysdeps/powerpc/powerpc32/dl-machine.h
4475 (elf_machine_runtime_setup, elf_machine_rela): Likewise.
4476 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_irela): Likewise.
4477 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
4478 * sysdeps/pthread/aio_notify.c (__aio_notify_only): Likewise.
4479 * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait, aio_suspend):
4481 * sysdeps/s390/dl-irel.h (elf_irela): Likewise.
4482 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_runtime_setup)
4483 (elf_machine_rela, elf_machine_lazy_rel): Likewise.
4484 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_runtime_setup)
4485 (elf_machine_rela, elf_machine_lazy_rel): Likewise.
4486 * sysdeps/s390/s390-64/utf16-utf32-z9.c (gconv_end): Likewise.
4487 * sysdeps/s390/s390-64/utf8-utf16-z9.c (gconv_end): Likewise.
4488 * sysdeps/s390/s390-64/utf8-utf32-z9.c (gconv_end): Likewise.
4489 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
4490 * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Likewise.
4491 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela)
4492 (elf_machine_lazy_rel): Likewise.
4493 * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
4494 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela)
4495 (elf_machine_lazy_rel): Likewise.
4496 * sysdeps/sparc/sparc64/dl-plt.h (sparc64_fixup_plt): Likewise.
4497 * sysdeps/unix/clock_gettime.c (hp_timing_gettime): Likewise.
4498 * sysdeps/unix/clock_settime.c (hp_timing_settime): Likewise.
4499 * sysdeps/unix/grantpt.c (grantpt): Likewise.
4500 * sysdeps/unix/sysv/linux/accept4.c (accept4): Likewise.
4501 * sysdeps/unix/sysv/linux/adjtime.c (ADJTIME): Likewise.
4502 * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): Likewise.
4503 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
4505 * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Likewise.
4506 * sysdeps/unix/sysv/linux/fchmodat.c (fchmodat): Likewise.
4507 * sysdeps/unix/sysv/linux/fchownat.c (fchownat): Likewise.
4508 * sysdeps/unix/sysv/linux/futimesat.c (futimesat): Likewise.
4509 * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
4510 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
4511 * sysdeps/unix/sysv/linux/i386/fallocate64.c (fallocate64): Likewise.
4512 * sysdeps/unix/sysv/linux/i386/fallocate.c (fallocate): Likewise.
4513 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Likewise.
4514 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
4515 * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
4517 * sysdeps/unix/sysv/linux/i386/posix_fallocate64.c
4518 (__posix_fallocate64_l64): Likewise.
4519 * sysdeps/unix/sysv/linux/i386/posix_fallocate.c
4520 (posix_fallocate): Likewise.
4521 * sysdeps/unix/sysv/linux/i386/scandir64.c (__old_scandir64):
4523 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
4524 * sysdeps/unix/sysv/linux/ifaddrs.c (__netlink_request)
4525 (getifaddrs_internal): Likewise.
4526 * sysdeps/unix/sysv/linux/linkat.c (linkat): Likewise.
4527 * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Likewise.
4528 * sysdeps/unix/sysv/linux/mq_unlink.c (mq_unlink): Likewise.
4529 * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Likewise.
4530 * sysdeps/unix/sysv/linux/posix_fallocate64.c
4531 (__posix_fallocate64_l64): Likewise.
4532 * sysdeps/unix/sysv/linux/posix_fallocate.c (posix_fallocate):
4534 * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat): Likewise.
4535 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c
4536 (__get_clockfreq): Likewise.
4537 * sysdeps/unix/sysv/linux/readlinkat.c (readlinkat): Likewise.
4538 * sysdeps/unix/sysv/linux/recvmmsg.c (recvmmsg): Likewise.
4539 * sysdeps/unix/sysv/linux/renameat.c (renameat): Likewise.
4540 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
4541 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
4542 * sysdeps/unix/sysv/linux/sched_setaffinity.c: Likewise.
4543 * sysdeps/unix/sysv/linux/sendmmsg.c (__sendmmsg): Likewise.
4544 * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs, shm_open):
4546 * sysdeps/unix/sysv/linux/sleep.c (__sleep): Likewise.
4547 * sysdeps/unix/sysv/linux/symlinkat.c (symlinkat): Likewise.
4548 * sysdeps/unix/sysv/linux/tcgetattr.c (__tcgetattr): Likewise.
4549 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Likewise.
4550 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
4551 * sysdeps/unix/sysv/linux/unlinkat.c (unlinkat): Likewise.
4552 * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c (__fxstatat):
4554 * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
4555 (posix_fallocate): Likewise.
4556 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
4557 * sysdeps/unix/sysv/linux/xmknodat.c (__xmknodat): Likewise.
4558 * sysdeps/x86_64/dl-irel.h (elf_irela): Likewise.
4559 * sysdeps/x86_64/dl-machine.h (elf_machine_runtime_setup)
4560 (elf_machine_rela, elf_machine_rela_relative)
4561 (elf_machine_lazy_rel): Likewise.
4562 * time/asctime.c (asctime_internal): Likewise.
4563 * time/tzfile.c (__tzfile_read, __tzfile_compute): Likewise.
4564 * time/tzset.c (__tzset_parse_tz): Likewise.
4565 * wcsmbs/mbrtoc16.c (mbrtoc16): Likewise.
4566 * wcsmbs/mbrtowc.c (__mbrtowc): Likewise.
4567 * wcsmbs/wcsmbsload.c (__wcsmbs_load_conv): Likewise.
4568 * wcsmbs/wcsmbsload.h: Likewise.
4571 * stdlib/setenv.c (__add_to_environ): Remove duplicate code.
4573 * malloc/arena.c (grow_heap, get_free_list, reused_arena)
4574 (arena_get2): Remove THREAD_STATS conditionals.
4575 * malloc/malloc.c (__malloc_assert, __libc_realloc, _int_free)
4576 (__malloc_stats, int): Likewise.
4578 2014-02-08 Mike Frysinger <vapier@gentoo.org>
4580 * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs): Compare
4581 f.f_type to RAMFS_MAGIC too. Compare mp->mnt_type to shm too.
4583 * manual/setjmp.texi: Fix typos/grammar errors.
4585 * debug/tst-backtrace4.c (handle_signal): Add NUM_FUNCTIONS to output.
4586 Only return early when n is <= 0. Delete unused return statement.
4588 * debug/Makefile (CFLAGS-tst-longjmp_chk3.c): Define.
4589 (CPPFLAGS-tst-longjmp_chk3.c): Likewise.
4590 * debug/tst-longjmp_chk3.c: New file.
4592 * benchtests/bench-strcpy_chk.c: Move test-skeleton.c to top.
4593 (test_main): Replace code with set_fortify_handler call.
4594 * debug/test-strcpy_chk.c: Likewise.
4595 * debug/tst-chk1.c: Likewise.
4596 * debug/tst-longjmp_chk.c: Likewise.
4597 * test-skeleton.c: Include fcntl.h & paths.h
4598 (set_fortify_handler): Define.
4600 * debug/tst-longjmp_chk.c: Add header comment and include
4602 (do_test): Mark static.
4603 (TEST_FUNCTION): Define.
4605 * sysdeps/unix/sysv/linux/bits/in.h (IP_NODEFRAG): Define.
4606 (IP_PMTUDISC_INTERFACE): Likewise.
4607 (IP_MULTICAST_IF): Likewise.
4608 (IP_MULTICAST_TTL): Likewise.
4609 (IP_MULTICAST_LOOP): Likewise.
4610 (IP_ADD_MEMBERSHIP): Likewise.
4611 (IP_DROP_MEMBERSHIP): Likewise.
4612 (IP_UNBLOCK_SOURCE): Likewise.
4613 (IP_BLOCK_SOURCE): Likewise.
4614 (IP_ADD_SOURCE_MEMBERSHIP): Likewise.
4615 (IP_DROP_SOURCE_MEMBERSHIP): Likewise.
4616 (IP_MSFILTER): Likewise.
4617 (MCAST_JOIN_GROUP): Likewise.
4618 (MCAST_BLOCK_SOURCE): Likewise.
4619 (MCAST_UNBLOCK_SOURCE): Likewise.
4620 (MCAST_LEAVE_GROUP): Likewise.
4621 (MCAST_JOIN_SOURCE_GROUP): Likewise.
4622 (MCAST_LEAVE_SOURCE_GROUP): Likewise.
4623 (MCAST_MSFILTER): Likewise.
4624 (IP_MULTICAST_ALL): Likewise.
4625 (IP_UNICAST_IF): Likewise.
4627 * timezone/Makefile: Delete $(have-ksh) check.
4628 ($(objpfx)tzselect): Change $(KSH) to $(BASH).
4629 * timezone/tzselect.ksh: Add +x mode bits.
4631 * sysdeps/unix/sysv/linux/linux_fsinfo.h (AFS_SUPER_MAGIC): Define.
4632 (ANON_INODE_FS_MAGIC): Likewise.
4633 (BDEVFS_MAGIC): Likewise.
4634 (BINFMTFS_MAGIC): Likewise.
4635 (BTRFS_TEST_MAGIC): Likewise.
4636 (CRAMFS_MAGIC_WEND): Likewise.
4637 (DEBUGFS_MAGIC): Likewise.
4638 (ECRYPTFS_SUPER_MAGIC): Likewise.
4639 (EXT3_SUPER_MAGIC): Likewise.
4640 (EXT4_SUPER_MAGIC): Likewise.
4641 (FUTEXFS_SUPER_MAGIC): Likewise.
4642 (HOSTFS_SUPER_MAGIC): Likewise.
4643 (HUGETLBFS_MAGIC): Likewise.
4644 (MINIX3_SUPER_MAGIC): Likewise.
4645 (MTD_INODE_FS_MAGIC): Likewise.
4646 (NILFS_SUPER_MAGIC): Likewise.
4647 (OPENPROM_SUPER_MAGIC): Likewise.
4648 (PIPEFS_MAGIC): Likewise.
4649 (PSTOREFS_MAGIC): Likewise.
4650 (QNX6_SUPER_MAGIC): Likewise.
4651 (RAMFS_MAGIC): Likewise.
4652 (REISERFS_SUPER_MAGIC_STRING): Likewise.
4653 (REISER2FS_SUPER_MAGIC_STRING): Likewise.
4654 (REISER2FS_JR_SUPER_MAGIC_STRING): Likewise.
4655 (SECURITYFS_MAGIC): Likewise.
4656 (SELINUX_MAGIC): Likewise.
4657 (SMACK_MAGIC): Likewise.
4658 (SOCKFS_MAGIC): Likewise.
4659 (SQUASHFS_MAGIC): Likewise.
4660 (STACK_END_MAGIC): Likewise.
4661 (TMPFS_MAGIC): Likewise.
4662 (USBDEVICE_SUPER_MAGIC): Likewise.
4663 (V9FS_MAGIC): Likewise.
4664 (XENFS_SUPER_MAGIC): Likewise.
4665 (CRAMFS_MAGIC): Fix typo in comment.
4666 (EXT2_SUPER_MAGIC): Update comment.
4667 (USBDEVFS_SUPER_MAGIC): Fix sorting order by moving further down.
4669 2014-02-08 Joseph Myers <joseph@codesourcery.com>
4671 * sysdeps/arm: Move directory from ports/sysdeps/arm.
4672 * sysdeps/unix/arm: Move directory from ports/sysdeps/unix/arm.
4673 * sysdeps/unix/sysv/linux/arm: Move directory from
4674 ports/sysdeps/unix/sysv/linux/arm.
4675 * README: Update listing for arm-*-linux-gnueabi.
4677 * README: Remove mention of am33.
4679 2014-02-07 Roland McGrath <roland@hack.frob.com>
4681 * bits/sigset.h (__sigemptyset): Use a statement expression rather
4682 than the comma operator, to avoid "rhs of comma has no effect"
4684 (__sigfillset, __sigandset, __sigorset): Likewise.
4685 * include/signal.h (__sigemptyset): Likewise.
4686 * sysdeps/generic/malloc-machine.h (mutex_lock): Likewise.
4688 2014-02-07 Allan McRae <allan@archlinux.org>
4690 * version.h (RELEASE): Set to "development".
4691 (VERSION): Set to "2.19.90"
4692 * NEWS: Add 2.20 section.
4694 2014-02-06 Carlos O'Donell <carlos@redhat.com>
4697 * inet/netinet/in.h: Remove comma after IPPROTO_MH.
4699 2014-02-06 Siddhesh Poyarekar <siddhesh@redhat.com>
4701 * manual/contrib.texi: Update entry for Carlos O'Donell,
4702 Joseph Myers, Roland McGrath, Alexandre Oliva and Ryan Arnold.
4704 2014-02-05 Carlos O'Donell <carlos@rehdat.com>
4706 * sysdeps/unix/sysv/linux/kernel-features.h: Fix comment.
4708 * sysdeps/unix/sysv/linux/kernel-features.h
4709 [__LINUX_KERNEL_VERSION >= 0x020621]
4710 (__ASSUME_PROC_PID_TASK_COMM): Define.
4712 2014-02-05 Siddhesh Poyarekar <siddhesh@redhat.com>
4715 * libio/wfileops.c (_IO_wfile_seekoff): Break out form
4716 conversion when destination buffer does not have enough space.
4717 * libio/tst-ftell-partial-wide.c: New test case.
4718 * libio/Makefile (tests): Add tst-ftell-partial-wide.
4720 * manual/contrib.texi: Update entry for Ondrej Bilka, Will
4721 Newton and Alexandre Oliva. Add entries for Steve Ellcey, Chris
4722 Leonard and Allan McRae.
4724 2014-02-04 David S. Miller <davem@davemloft.net>
4726 * sysdeps/sparc/fpu/libm-test-ulps: Update for some 64-bit differences from
4729 2014-02-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4731 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld-le.abilist:
4733 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale-le.abilist:
4735 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl-le.abilist:
4737 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc-le.abilist:
4739 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt-le.abilist:
4741 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl-le.abilist:
4743 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm-le.abilist:
4745 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl-le.abilist:
4747 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread-le.abilist:
4749 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv-le.abilist:
4751 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt-le.abilist:
4753 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db-le.abilist:
4755 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil-le.abilist:
4758 2014-02-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4760 * nptl/shlib-versions: Change powerpc*le start to 2.17.
4761 * shlib-versions: Likewise.
4763 2014-02-04 Roland McGrath <roland@hack.frob.com>
4764 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4766 * sysdeps/powerpc/Makefile [$(config-machine) ends with 'le']
4767 (abilist-pattern): New variable, set to %-le.abilist.
4769 * Makerules (abilist-pattern): New variable.
4770 (vpath): Use $(abilist-pattern) in place of %.abilist.
4771 (check-abi-% pattern rule): Likewise.
4772 (check-abi, update-abi): Likewise.
4774 2014-02-04 Eric Wong <normalperson@yhbt.net>
4776 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
4778 2014-02-03 Carlos O'Donell <carlos@redhat.com>
4780 * manual/startup.texi: Add next, previous, and top entries for
4781 the `Program Arguments' and `Environment Variables' nodes.
4783 2014-02-03 Alexandre Oliva <aoliva@redhat.com>
4785 * manual/macros.texi: Add comments before MTASC-safety macros.
4787 * manual/users.texi: Document MTASC-safety properties.
4789 * manual/threads.texi (pthread_key_create, pthread_key_delete)
4790 (pthread_getspecific, pthread_setspecific): Format with
4791 @deftypefun, and add @safety note.
4792 * manual/signal.texi: Move comments that analyze the above
4793 functions to their home place.
4795 2014-02-03 Allan McRae <allan@archlinux.org>
4797 * po/sl.po: Update Slovenian translation from translation project.
4799 2014-02-02 Alexandre Oliva <aoliva@redhat.com>
4801 * manual/time.texi (timegm): Add missing blank after @c.
4802 Reported by Joseph Myers <joseph@codesourcery.com>.
4804 2014-02-01 Alexandre Oliva <aoliva@redhat.com>
4806 * manual/check-safety.sh: New.
4807 * manual/Makefile ($(objpfx)stamp-summary): Run it.
4809 * manual/terminal.texi: Document MTASC-safety properties.
4811 * manual/filesys.texi: Document MTASC-safety properties.
4813 * manual/errno.texi: Document MTASC-safety properties.
4815 * manual/intro.texi: Document safety identifiers and
4818 * manual/string.texi (wcstok): Fix prototype.
4819 (wcstok, strtok, strtok_r): Adjust reentrancy remarks.
4821 * manual/time.texi: Document MTASC-safety properties.
4823 * manual/string.texi: Document MTASC-safety properties.
4825 * manual/threads.texi: Document MTASC-safety properties.
4827 * manual/stdio.texi: Document MTASC-safety properties.
4829 * manual/syslog.texi: Document MTASC-safety properties.
4831 * manual/sysinfo.texi: Document MTASC-safety properties.
4833 * manual/startup.texi: Document MTASC-safety properties.
4835 * manual/socket.texi: Document MTASC-safety properties.
4837 * manual/signal.texi: Document MTASC-safety properties.
4839 2014-01-31 Alexandre Oliva <aoliva@redhat.com>
4841 * manual/setjmp.texi: Document MTASC-safety properties.
4843 * manual/search.texi: Document MTASC-safety properties.
4845 * manual/resource.texi: Document MTASC-safety properties.
4847 * manual/process.texi: Document MTASC-safety properties.
4849 * manual/platform.texi: Document MTASC-safety properties.
4851 * manual/pipe.texi: Document MTASC-safety properties.
4853 * manual/pattern.texi: Document MTASC-safety properties.
4855 * manual/message.texi: Document MTASC-safety properties.
4858 * manual/memory.texi: Document MTASC-safety properties.
4860 * manual/math.texi: Document MTASC-safety properties.
4862 * manual/locale.texi: Document MTASC-safety properties.
4864 * manual/llio.texi: Document MTASC-safety properties.
4866 * manual/libdl.texi: New.
4868 * manual/lang.texi: Document MTASC-safety properties.
4870 * manual/job.texi: Document MTASC-safety properties.
4872 * manual/getopt.texi: Document MTASC-safety properties.
4874 * manual/ctype.texi: Document MTASC-safety properties.
4876 2014-01-31 Maciej W. Rozycki <macro@codesourcery.com>
4879 * csu/libc-tls.c (static_map): Remove variable.
4880 (__libc_setup_tls): Use main executable's link map for TLS data.
4881 * elf/dl-close.c (_dl_close_worker) [!SHARED]: Remove special
4882 casing for LM_ID_BASE and GL(dl_nns).
4883 * elf/dl-iteratephdr.c [!SHARED] (dl_iterate_phdr): Remove
4884 function. Alias dl_iterate_phdr to __dl_iterate_phdr.
4885 * elf/dl-load.c (_dl_map_object) [!SHARED]: Remove special
4886 casing for GL(dl_ns)[LM_ID_BASE]._ns_loaded.
4887 * elf/dl-support.c (_dl_main_map): Also initialize l_flags_1
4889 (_dl_non_dynamic_init): Also initialize _dl_main_map's l_phdr and
4892 2014-01-30 Alexandre Oliva <aoliva@redhat.com>
4894 * manual/debug.texi: Document MTASC-safety properties.
4896 2014-01-29 H.J. Lu <hongjiu.lu@intel.com>
4899 * sysdeps/x86/fpu/bits/mathinline.h: Check __SSE2_MATH__ instead
4900 of __x86_64__ when disabling x87 inline functions.
4902 2014-01-29 Alexandre Oliva <aoliva@redhat.com>
4904 * manual/charset.texi: Document MTASC-safety properties.
4906 * manual/crypt.texi: Document MTASC-safety properties.
4908 * manual/conf.texi: Document MTASC-safety properties.
4910 * manual/arith.texi: Document MTASC-safety properties.
4912 * manual/argp.texi: Document MTASC-safety properties.
4914 * manual/macros.texi: Introduce macros to document multi
4915 thread, asynchronous signal and asynchronous cancellation
4917 * manual/intro.texi: Introduce the properties themselves.
4919 2014-01-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
4921 * sysdeps/sh/sh4/Makefile: New file.
4923 2014-01-27 Andreas Schwab <schwab@linux-m68k.org>
4925 * math/gen-libm-test.pl ($srcdir): New variable.
4926 ($auto_input): Use it.
4928 2014-01-27 Siddhesh Poyarekar <siddhesh@redhat.com>
4931 * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Avoid
4932 access beyond array bounds when parsing netgroups file.
4934 * nscd/netgroupcache.c (addgetnetgrentX): Compute offset from
4935 the old buffer before realloc.
4937 2014-01-27 Allan McRae <allan@archlinux.org>
4939 * po/fr.po: Update French translation from translation project.
4941 2014-01-26 Kaz Kojima <kkojima@rr.iij4u.or.jp>
4943 * sysdeps/sh/libm-test-ulps: Regenerate.
4945 2014-01-24 David S. Miller <davem@davemloft.net>
4947 * sysdeps/sparc/fpu/libm-test-ulps: Regenerate.
4949 2014-01-25 Kaz Kojima <kkojima@rr.iij4u.or.jp>
4951 * sysdeps/sh/sh4/fpu/libm-test-ulps: Move to ...
4952 * sysdeps/sh/libm-test-ulps: ... here and regenerated.
4954 2013-01-24 Siddhesh Poyarekar <siddhesh@redhat.com>
4957 * nscd/netgroupcache.c (addgetnetgrentX): Adjust triplet
4958 string pointers after reallocation.
4960 2014-01-24 Kaz Kojima <kkojima@rr.iij4u.or.jp>
4962 * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: Use __SH4__ and
4963 __SH4A__ instead of __SH_FPU_ANY__.
4965 2014-01-23 Kaz Kojima <kkojima@rr.iij4u.or.jp>
4967 * sysdeps/sh/fpu_control.h: New file.
4968 * sysdeps/sh/sh4/fpu/fpu_control.h: Remove.
4969 * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: New file.
4970 * sysdeps/unix/sysv/linux/sh/sh3/sys/ucontext.h: Remove.
4971 * sysdeps/unix/sysv/linux/sh/sh3/sys: Remove directory.
4972 * sysdeps/unix/sysv/linux/sh/sh4/sys/ucontext.h: Remove.
4973 * sysdeps/unix/sysv/linux/sh/sh4/sys: Remove directory.
4974 * sysdeps/sh/sys/ucontext.h: Remove.
4975 * sysdeps/sh/sys: Remove directory.
4977 2014-01-22 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
4979 * sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: Merge into
4980 s390/sys/ucontext.h.
4981 * sysdeps/unix/sysv/linux/s390/s390-64/sys/ucontext.h: Likewise.
4982 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: New file.
4984 2014-01-20 H.J. Lu <hongjiu.lu@intel.com>
4987 * sysdeps/x86_64/x32/symbol-hacks.h: Include generic symbol-hacks.h.
4989 2014-01-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4992 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
4993 Adjust the vDSO correctly for internal calls.
4994 * sysdeps/unix/sysv/linux/powerpc/time.c (time): Likewise.
4996 2014-01-20 Allan McRae <allan@archlinux.org>
4998 * po/ca.po: Update Catalan translation from translation project.
5000 2014-01-16 Mike Frysinger <vapier@gentoo.org>
5002 * sysdeps/s390/sotruss-lib.c: New file.
5004 2014-01-16 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5007 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c
5008 (__GI___gettimeofday): Alias for a different internal symbol to avoid
5009 local calls issues by not having a PLT stub required for IFUNC calls.
5010 * sysdeps/unix/sysv/linux/powerpc/time.c (__GI_time): Likewise.
5012 2014-01-16 Joseph Myers <joseph@codesourcery.com>
5014 * math/test-fpucw-ieee.c: Use <> in #include of test-fpucw.c.
5015 * math/test-fpucw-static.c: Likewise.
5017 2013-01-16 Siddhesh Poyarekar <siddhesh@redhat.com>
5020 * nscd/netgroupcache.c (addgetnetgrentX): Don't use alloca.
5022 2014-01-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5024 * sysdeps/powerpc/sotruss-lib.c: New file: sotruss-lib.so
5025 implementation for powerpc.
5027 2014-01-15 Ondřej Bílka <neleai@seznam.cz>
5030 * sysdeps/posix/system.c (__libc_system): Do not enable
5031 asynchronous cancellation.
5033 2014-01-15 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
5036 * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Invoke the non-IEEE
5037 handling only for numbers special also in the IEEE case.
5039 2014-01-15 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
5041 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
5043 2014-01-11 Allan McRae <allan@archlinux.org>
5045 * po/bg.po: Update Bulgarian translation from translation project.
5047 * po/de.po: Update German translation from translation project.
5049 2014-01-10 Roland McGrath <roland@hack.frob.com>
5051 * sysdeps/generic/gcc-compat.h: New file.
5053 2014-01-10 Siddhesh Poyarekar <siddhesh@redhat.com>
5055 * benchtests/asin-inputs: Correct slow inputs.
5056 * benchtests/acos-inputs: Likewise.
5058 2014-01-10 Allan McRae <allan@archlinux.org>
5060 * po:sv.po: Update Swedish translation from translation project.
5062 * po/vi.po: Update Vietnamese translation from translation project.
5064 * po/eo.po: Update Esperanto translation from translation project.
5066 * po/cs.po: Update Czech translation from translation project.
5068 * po/nl.po: Update Dutch translation from translation project.
5070 * po/pl.po: Update Polish translation from translation project.
5072 * po/ru.po: Update Russian translation from translation project.
5074 * po/uk.po: Update Ukrainian translation from translation project.
5076 2014-01-08 Brooks Moses <bmoses@google.com>
5078 * elf/dl-load.c: Fix comment typo.
5080 2014-01-08 Carlos O'Donell <carlos@redhat.com>
5082 * po/header.pot: Rename to...
5083 * po/pot.header: ... this.
5084 * po/Makefile: Use pot.header.
5086 2014-01-08 Yuriy Kaminskiy <yumkam@gmail.com>
5087 Maxim Kuvyrkov <maxim@kugelworks.com>
5090 * sysdeps/i386/i686/memmove.S (memmove): Compare distance between
5091 SRC and DEST against LEN.
5093 2014-01-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5096 * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Remove wrong
5098 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Remove bogus comment.
5100 2014-01-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5102 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
5104 2014-01-08 Joseph Myers <joseph@codesourcery.com>
5107 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Use __expl
5108 for large positive arguments.
5110 2014-01-07 Joseph Myers <joseph@codesourcery.com>
5112 * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
5114 * math/auto-libm-test-in: Mark various tests with
5115 xfail-rounding:ldbl-128ibm.
5116 * math/auto-libm-test-out: Regenerated.
5119 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl):
5120 Increase overflow threshold.
5122 2014-01-07 Ondřej Bílka <neleai@seznam.cz>
5125 * stdio-common/vfprintf.c: Check for integer overflow.
5127 2014-01-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
5129 * sysdeps/s390/dl-tls.h: sysdeps/s390/dl-tls.h: Remove casts for
5130 the first argument and return value of __tls_get_addr_internal.
5132 2014-01-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
5134 * sysdeps/s390/s390-32/dl-machine.h: Gate the definition of refsym
5135 also with !RTLD_BOOTSTRAP to get rid of unused variable warning.
5137 2014-01-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
5139 * sysdeps/s390/Makefile: Build rtld-global-offsets.sym.
5140 * sysdeps/s390/rtld-global-offsets.sym: New file.
5141 * sysdeps/unix/sysv/linux/s390/Versions: Add getcontext as new
5143 * sysdeps/unix/sysv/linux/s390/getcontext.S: New file.
5144 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Rename to ...
5145 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext-common.S:
5147 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Rename to ...
5148 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext-common.S:
5150 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
5152 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
5154 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Restore upper
5155 halfs of GPRs for high_gprs contexts.
5156 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Save and
5157 restore upper halfs of GPRs for high_gprs contexts. Copy uc_flags
5159 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Copy
5161 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: Split into 32 and
5163 * sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: Add field
5164 for high GPRs (uc_high_gprs) and for future extensions
5166 * sysdeps/unix/sysv/linux/s390/s390-64/sys/ucontext.h: Add field
5167 for future extensions (__reserved).
5168 * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Split into 32 and
5170 * sysdeps/unix/sysv/linux/s390/s390-32/ucontext_i.sym: Add
5171 SC_HIGHGPRS offset definition.
5172 * sysdeps/unix/sysv/linux/s390/s390-64/ucontext_i.sym: New file.
5173 * sysdeps/unix/sysv/linux/s390/rtld-getcontext.S: New file.
5175 * Versions.def: Add GLIBC_2.19 for libpthread.
5176 * nptl/sysdeps/unix/sysv/linux/s390/Versions: Add longjmp and
5177 siglongjmp for libpthread with GLIBC_2.19 symver.
5178 * nptl/sysdeps/unix/sysv/linux/s390/pt-longjmp.c: New file.
5179 * sysdeps/s390/Makefile: Build v1-longjmp.c and v1-sigjmp.c.
5180 * sysdeps/s390/Versions: New GLIBC_2.19 and GLIBC_PRIVATE symbols.
5181 * sysdeps/s390/__longjmp.c: New file.
5182 * sysdeps/s390/bits/setjmp.h: Add new fields to __s390_jmp_buf.
5183 * sysdeps/s390/longjmp.c: New file.
5184 * sysdeps/s390/setjmp.S: New file.
5185 * sysdeps/s390/sigjmp.S: New file.
5186 * sysdeps/s390/v1-longjmp.c: New file.
5187 * sysdeps/s390/v1-setjmp.h: New file.
5188 * sysdeps/s390/v1-sigjmp.c: New file.
5189 * sysdeps/unix/sysv/linux/s390/Makefile: Build __longjmp_chk.
5190 * sysdeps/unix/sysv/linux/s390/Versions: Add __longjmp_chk with
5192 * sysdeps/unix/sysv/linux/s390/longjmp_chk.c: New file.
5193 * sysdeps/unix/sysv/linux/s390/s390-32/____longjmp_chk.c: Provide
5194 versioned symbols for ____longjmp_chk.
5195 * sysdeps/unix/sysv/linux/s390/s390-64/____longjmp_chk.c:
5197 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
5199 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
5201 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
5203 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
5205 * sysdeps/unix/sysv/linux/s390/v1-longjmp_chk.c: New file.
5206 * sysdeps/s390/s390-32/__longjmp.c: Rename to ...
5207 * sysdeps/s390/s390-32/__longjmp-common.c: ... this.
5208 * sysdeps/s390/s390-32/setjmp.S: Rename and adjust to ...
5209 * sysdeps/s390/s390-32/setjmp-common.S: ... this.
5210 * sysdeps/s390/s390-64/__longjmp.c: Rename to ...
5211 * sysdeps/s390/s390-64/__longjmp-common.c: ... this.
5212 * sysdeps/s390/s390-64/setjmp.S: Rename and adjust to ...
5213 * sysdeps/s390/s390-64/setjmp-common.S: ... this.
5214 * sysdeps/s390/rtld-__longjmp.c: New file.
5215 * sysdeps/s390/rtld-setjmp.S: New file.
5217 2014-01-06 Joseph Myers <joseph@codesourcery.com>
5220 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
5221 Return -__logl (x) for small positive arguments without evaluating
5224 2014-01-06 Mike Frysinger <vapier@gentoo.org>
5226 * sysdeps/unix/sysv/linux/sys/ptrace.h (ptrace_peeksiginfo_args):
5228 (__ptrace_peeksiginfo_args): ... this.
5229 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
5230 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
5231 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
5233 2014-01-06 Allan McRae <allan@archlinux.org>
5235 * inet/netinet/in.h: Fix typo in comment.
5237 2014-01-05 Andreas Jaeger <aj@suse.de>
5239 * sysdeps/i386/fpu/libm-test-ulps: Update.
5241 2014-01-05 Allan McRae <allan@archlinux.org>
5243 * po/libc.pot: Regenerated.
5245 * malloc/memusagestat.c: Fix gettext call formatting.
5247 2014-01-04 Sami Kerola <kerolasa@iki.fi>
5249 * nscd/nscd.c: Improve usage() output.
5251 2014-01-04 Mike Frysinger <vapier@gentoo.org>
5253 * config.h.in: Add HAVE_LINUX_FANOTIFY_H template.
5254 * sysdeps/unix/sysv/linux/configure: Regenerated.
5255 * sysdeps/unix/sysv/linux/configure.ac: Call AC_DEFINE.
5256 * sysdeps/unix/sysv/linux/tst-fanotify.c: Include config.h.
5258 2014-01-03 Joseph Myers <joseph@codesourcery.com>
5261 * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
5262 (CFLAGS-e_atan2l.c): Use -fno-builtin-fabsl.
5264 2014-01-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5266 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: Remove
5267 extra tokens at end of #undef directive.
5268 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: Likewise.
5269 * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: Likewise.
5270 * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c: Likewise.
5272 2014-01-03 Joseph Myers <joseph@codesourcery.com>
5274 * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
5276 * math/auto-libm-test-in: Mark various tests with
5277 xfail-rounding:ldbl-128ibm.
5278 * math/auto-libm-test-out: Regenerated.
5280 2014-01-02 Joseph Myers <joseph@codesourcery.com>
5283 * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Adjust
5284 numbers with subnormal high part when calculating exponent.
5287 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Use fabsl not
5291 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (ln2): Initialize with
5293 (__ieee754_acoshl): Use __log1pl not __log1p.
5295 2013-01-02 Ondřej Bílka <neleai@seznam.cz>
5297 * malloc/arena.c (malloc_atfork, free_atfork, ptmalloc_lock_all)
5298 (ptmalloc_unlock_all, ptmalloc_unlock_all2, next_env_entry)
5299 (__failing_morecore, ptmalloc_init, dump_heap, new_heap)
5300 (grow_heap, heap_trim, _int_new_arena, get_free_list)
5301 (reused_arena, arena_get2): Convert to GNU style.
5302 * malloc/hooks.c (memalign_hook_ini, __malloc_check_init)
5303 (mem2mem_check, mem2chunk_check, top_check, realloc_check)
5304 (memalign_check, __malloc_set_state): Likewise.
5305 * malloc/mallocbug.c (main): Likewise.
5306 * malloc/malloc.c (__malloc_assert, malloc_init_state)
5307 (free_perturb, do_check_malloced_chunk, do_check_malloc_state)
5308 (sysmalloc, systrim, mremap_chunk, __libc_malloc, __libc_free)
5309 (__libc_realloc, _mid_memalign, _int_malloc, malloc_consolidate)
5310 (_int_realloc, _int_memalign, mtrim, musable, __libc_mallopt)
5311 (__posix_memalign, malloc_info): Likewise.
5312 * malloc/malloc.h: Likewise.
5313 * malloc/mcheck.c (checkhdr, unlink_blk, link_blk, freehook)
5314 (mallochook, memalignhook, reallochook, mabort): Likewise.
5315 * malloc/mcheck.h: Likewise.
5316 * malloc/memusage.c (update_data, me, malloc, realloc, calloc)
5317 (free, mmap, mmap64, mremap, munmap, dest): Likewise.
5318 * malloc/memusagestat.c (main, parse_opt, more_help): Likewise.
5319 * malloc/morecore.c (__default_morecore): Likewise.
5320 * malloc/mtrace.c (tr_break, lock_and_info, mtrace): Likewise.
5321 * malloc/obstack.c (_obstack_begin, _obstack_newchunk)
5322 (_obstack_allocated_p, obstack_free, _obstack_memory_used)
5323 (print_and_abort): Likewise.
5324 * malloc/obstack.h: Likewise.
5325 * malloc/set-freeres.c (__libc_freeres): Likewise.
5326 * malloc/tst-mallocstate.c (main): Likewise.
5327 * malloc/tst-mtrace.c (main): Likewise.
5328 * malloc/tst-realloc.c (do_test): Likewise.
5330 2013-01-02 Siddhesh Poyarekar <siddhesh@redhat.com>
5333 * nscd/netgroupcache.c (do_notfound): New function.
5334 (addgetnetgrentX): Use it.
5337 * nscd/netgroupcache.c (addgetnetgrentX): Break if status is
5338 NSS_STATUS_NOTFOUND.
5340 2014-01-01 Joseph Myers <joseph@codesourcery.com>
5342 * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
5343 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5345 2014-01-01 Allan McRae <allan@archlinux.org>
5347 * scripts/update-copyrights: Update configure input file suffix.
5349 * NEWS: Update copyright year.
5350 * catgets/gencat.c: Likewise.
5351 * csu/version.c: Likewise.
5352 * debug/catchsegv.sh: Likewise.
5353 * debug/pcprofiledump.c: Likewise.
5354 * debug/xtrace.sh: Likewise.
5355 * elf/ldconfig.c: Likewise.
5356 * elf/ldd.bash.in: Likewise.
5357 * elf/pldd.c: Likewise.
5358 * elf/sotruss.ksh: Likewise.
5359 * elf/sprof.c: Likewise.
5360 * iconv/iconv_prog.c: Likewise.
5361 * iconv/iconvconfig.c: Likewise.
5362 * locale/programs/locale.c: Likewise.
5363 * locale/programs/localedef.c: Likewise.
5364 * login/programs/pt_chown.c: Likewise.
5365 * malloc/memusage.sh: Likewise.
5366 * malloc/memusagestat.c: Likewise.
5367 * malloc/mtrace.pl: Likewise.
5368 * manual/libc.texinfo: Likewise.
5369 * nscd/nscd.c: Likewise.
5370 * nss/getent.c: Likewise.
5371 * nss/makedb.c: Likewise.
5372 * posix/getconf.c: Likewise.
5373 * scripts/test-installation.pl: Likewise.
5375 * All files with FSF copyright notices: Update copyright dates
5376 using scripts/update-copyrights.
5377 * intl/plural.c: Regenerated.
5378 * locale/programs/charmap-kw.h: Likewise.
5379 * locale/programs/locfile-kw.h: Likewise.
5381 2013-12-31 Mike Frysinger <vapier@gentoo.org>
5383 * sysdeps/unix/sysv/linux/configure: Regenerated.
5384 * sysdeps/unix/sysv/linux/configure.ac: Call AC_CHECK_HEADER on
5385 the linux/fanotify.h header.
5386 * sysdeps/unix/sysv/linux/tst-fanotify.c: Check if
5387 HAVE_LINUX_FANOTIFY_H is defined.
5389 2013-12-31 Siddhesh Poyarekar <siddhesh@redhat.com>
5391 * benchtests/cos-inputs: New inputs.
5392 * benchtests/sin-inputs: Likewise.
5394 * benchtests/atan-inputs: New inputs. Fix name of multiple
5395 precision fallback inputs.
5397 * benchtests/atanh-inputs: New inputs.
5398 * benchtests/tanh-inputs: Likewise.
5400 * benchtests/acosh-inputs: New inputs.
5401 * benchtests/asinh-inputs: Likewise.
5403 * benchtests/cosh-inputs: New inputs.
5404 * benchtests/sinh-inputs: Likewise.
5406 * benchtests/acos-inputs: Add more inputs.
5407 * benchtests/asin-inputs: Likewise.
5409 2013-12-30 Ville Skytta <ville.skytta@iki.fi>
5412 * manual/arith.texi: Fix spelling.
5413 * manual/charset.texi: Likewise.
5414 * manual/errno.texi: Likewise.
5415 * manual/filesys.texi: Likewise.
5416 * manual/lang.texi: Likewise.
5417 * manual/llio.texi: Likewise.
5418 * manual/locale.texi: Likewise.
5419 * manual/message.texi: Likewise.
5420 * manual/resource.texi: Likewise.
5421 * manual/search.texi: Likewise.
5422 * manual/setjmp.texi: Likewise.
5423 * manual/stdio.texi: Likewise.
5424 * manual/string.texi: Likewise.
5425 * manual/sysinfo.texi: Likewise.
5426 * manual/time.texi: Likewise.
5428 2013-12-27 Carlos O'Donell <carlos@redhat.com>
5430 * po/sl.po: New file.
5432 2013-12-27 Mike Frysinger <vapier@gentoo.org>
5434 * .gitignore: Add core/.gdbinit/.gdb_history.
5436 2013-12-27 Allan McRae <allan@archlinux.org>
5439 * sysdeps/ieee754/dbl-64/s_sin.c (csloww): Fix variable name.
5440 Reported by Il'ya Malakhov <ilmalakhov@yandex.ru>
5442 2013-12-24 Brooks Moses <bmoses@google.com>
5444 * string/string.h (__CORRECT_ISO_CPP_STRING_H_PROTO): Define for
5445 all compilers that claim C++98 compliance, not just GCC.
5446 * string/strings.h (__CORRECT_ISO_CPP_STRINGS_H_PROTO):
5449 2013-12-24 Maxim Kuvyrkov <maxim@kugelworks.com>
5451 * NEWS: Restore accidentally deleted bug-fix entries.
5453 2013-12-24 Maxim Kuvyrkov <maxim@kugelworks.com>
5454 Ondřej Bílka <neleai@seznam.cz>
5457 * malloc/malloc.c (_int_free): Perform sanity check only if we
5460 2013-12-23 Ondřej Bílka <neleai@seznam.cz>
5463 * manual/stdio.texi (String Input Conversions): Clarify that character
5464 classes are not supported.
5466 2013-12-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5468 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
5470 2013-12-22 Joseph Myers <joseph@codesourcery.com>
5473 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
5474 Calculate results for small negative arguments directly rather
5475 than using reflection formula with special underflow handling.
5477 * sysdeps/mach/hurd/Implies: Change unix/bsd/bsd4.4 to unix/bsd.
5478 * sysdeps/unix/bsd/syscalls.list (chflags): Add entry from
5479 sysdeps/unix/bsd/bsd4.4/syscalls.list.
5480 (fchflags): Likewise.
5482 (setlogin): Likewise.
5483 (sigaltstack): Likewise.
5486 (sigsetmask): Likewise.
5488 (waitpid): Likewise.
5489 * sysdeps/unix/bsd/bsd4.4/syscalls.list: Remove file.
5490 * sysdeps/unix/sysv/linux/wait3.c: Update directory of included
5492 * sysdeps/unix/bsd/bsd4.4/Makefile: Move to ...
5493 * sysdeps/unix/bsd/Makefile: ... here.
5494 * sysdeps/unix/bsd/bsd4.4/Versions: Move to ...
5495 * sysdeps/unix/bsd/Versions: ... here.
5496 * sysdeps/unix/bsd/bsd4.4/bits/sockaddr.h: Move to ...
5497 * sysdeps/unix/bsd/bits/sockaddr.h: ... here.
5498 * sysdeps/unix/bsd/bsd4.4/cmsg_nxthdr.c: Move to ...
5499 * sysdeps/unix/bsd/cmsg_nxthdr.c: ... here.
5500 * sysdeps/unix/bsd/bsd4.4/sigblock.c: Move to ...
5501 * sysdeps/unix/bsd/sigblock.c: ... here.
5502 * sysdeps/unix/bsd/bsd4.4/sigsetmask.c: Move to ...
5503 * sysdeps/unix/bsd/sigsetmask.c: ... here.
5504 * sysdeps/unix/bsd/bsd4.4/sigvec.c: Move to ...
5505 * sysdeps/unix/bsd/sigvec.c: ... here.
5506 * sysdeps/unix/bsd/bsd4.4/tcdrain.c: Move to ...
5507 * sysdeps/unix/bsd/tcdrain.c: ... here.
5508 * sysdeps/unix/bsd/bsd4.4/tcgetattr.c: Move to ...
5509 * sysdeps/unix/bsd/tcgetattr.c: ... here.
5510 * sysdeps/unix/bsd/bsd4.4/tcsetattr.c: Move to ...
5511 * sysdeps/unix/bsd/tcsetattr.c: ... here.
5512 * sysdeps/unix/bsd/bsd4.4/wait.c: Move to ...
5513 * sysdeps/unix/bsd/wait.c: ... here.
5514 * sysdeps/unix/bsd/bsd4.4/wait3.c: Move to ...
5515 * sysdeps/unix/bsd/wait3.c: ... here.
5516 * sysdeps/unix/bsd/bsd4.4/waitpid.c: Move to ...
5517 * sysdeps/unix/bsd/waitpid.c: ... here.
5519 2013-12-21 Joseph Myers <joseph@codesourcery.com>
5522 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Also set
5523 round-to-nearest for [!USE_AS_EXPM1L].
5524 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Likewise.
5525 * math/auto-libm-test-in: Do not expect cosh tests to fail. Add
5526 more tests of exp and exp10. Expect some exp10 tests to miss
5527 exceptions or fail in directed rounding modes.
5528 * math/auto-libm-test-out: Regenerated.
5529 * math/libm-test.inc (exp10_tonearest_test_data): New array.
5530 (exp10_test_tonearest): New function.
5531 (exp10_towardzero_test_data): New array.
5532 (exp10_test_towardzero): New function.
5533 (exp10_downward_test_data): New array.
5534 (exp10_test_downward): New function.
5535 (exp10_upward_test_data): New array.
5536 (exp10_test_upward): New function.
5537 (main): Call the new functions.
5538 * sysdeps/i386/fpu/libm-test-ulps: Update.
5539 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5541 2013-12-20 Joseph Myers <joseph@codesourcery.com>
5543 * math/auto-libm-test-in: Add more tests of acos, acosh, asin,
5544 asinh, atan, atan2, atanh, cbrt, cos and cosh.
5545 * math/auto-libm-test-out: Regenerated.
5546 * math/libm-test.inc (acosh_test_data): Add more tests.
5547 (atanh_test_data): Likewise.
5548 (ceil_test_data): Likewise.
5549 (copysign_test_data): Likewise.
5550 * sysdeps/i386/fpu/libm-test-ulps: Update.
5551 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5553 * timezone/checktab.awk: Update from tzcode 2013i.
5554 * timezone/private.h: Likewise.
5555 * timezone/scheck.c: Likewise.
5556 * timezone/tzfile.h: Likewise.
5557 * timezone/tzselect.ksh: Likewise.
5558 * timezone/zdump.c: Likewise.
5559 * timezone/zic.c: Likewise.
5561 * math/auto-libm-test-in: Add tests of cpow.
5562 * math/auto-libm-test-out: Regenerated.
5563 * math/libm-test.inc (cpow_test_data): Use AUTO_TESTS_cc_c.
5564 * math/gen-auto-libm-tests.c (func_calc_method): Add value
5566 (func_calc_desc): Add mpc_cc_c union field.
5567 (test_functions): Add cpow.
5568 (special_fill_2pi): New function.
5569 (special_real_inputs): Add 2pi.
5570 (calc_generic_results): Handle mpc_cc_c.
5571 * sysdeps/i386/fpu/libm-test-ulps: Update.
5572 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5574 * math/auto-libm-test-in: Add tests of ccos, ccosh, cexp, clog,
5575 csqrt, ctan and ctanh.
5576 * math/auto-libm-test-out: Regenerated.
5577 * math/libm-test.inc (TEST_COND_x86_64): New macro.
5578 (TEST_COND_x86): Likewise.
5579 (ccos_test_data): Use AUTO_TESTS_c_c.
5580 (ccosh_test_data): Likewise.
5581 (cexp_test_data): Likewise.
5582 (clog_test_data): Likewise.
5583 (csqrt_test_data): Likewise.
5584 (ctan_test_data): Likewise.
5585 (ctan_tonearest_test_data): Likewise.
5586 (ctan_towardzero_test_data): Likewise.
5587 (ctan_downward_test_data): Likewise.
5588 (ctan_upward_test_data): Likewise.
5589 (ctanh_test_data): Likewise.
5590 (ctanh_tonearest_test_data): Likewise.
5591 (ctanh_towardzero_test_data): Likewise.
5592 (ctanh_downward_test_data): Likewise.
5593 (ctanh_upward_test_data): Likewise.
5594 * math/gen-auto-libm-tests.c (func_calc_method): Add value
5596 (func_calc_desc): Add mpc_c_c union field.
5597 (FUNC_mpc_c_c): New macro.
5598 (test_functions): Add cacos, cacosh, casin, casinh, catan, catanh,
5599 ccos, ccosh, cexp, clog, clog10, csin, csinh, csqrt, ctan and
5601 (special_fill_min_subnorm_p120): New function.
5602 (special_real_inputs): Add min_subnorm_p120.
5603 (calc_generic_results): Handle mpc_c_c.
5604 * sysdeps/i386/fpu/libm-test-ulps: Update.
5605 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5607 2013-12-20 Siddhesh Poyarekar <siddhesh@redhat.com>
5609 * sysdeps/ieee754/dbl-64/s_sin.c (do_cos, do_cos_slow, do_sin)
5610 (do_sin_slow): New functions.
5611 (__sin, __cos, slow1, slow2, sloww1, sloww2, bsloww1, bsloww2)
5612 (cslow2, csloww1, csloww2): Use the new functions.
5614 * sysdeps/ieee754/dbl-64/s_sin.c (sloww1): Add new argument M.
5615 Use M to change sign of result instead of X. Assume X is
5617 (csloww1): Likewise.
5621 * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): Remove
5626 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use DA directly.
5628 (sloww1): Don't adjust sign of DX.
5629 (csloww1): Likewise.
5630 (sloww2): Use X directly and don't adjust sign of DX.
5631 (csloww2): Likewise.
5633 2013-12-19 Joseph Myers <joseph@codesourcery.com>
5635 * math/auto-libm-test-in: Add tests of cabs and carg.
5636 * math/auto-libm-test-out: Regenerated.
5637 * math/libm-test.inc (cabs_test_data): Use AUTO_TESTS_c_f.
5638 (carg_test_data): Likewise.
5639 * math/gen-auto-libm-tests.c (func_calc_method): Add value
5641 (func_calc_desc): Add mpc_c_f union field.
5642 (test_functions): Add cabs and carg.
5643 (calc_generic_results): Handle mpc_c_f.
5645 * sysdeps/powerpc/powerpc32/libgcc-compat.S
5646 [_SOFT_FLOAT || __NO_FPRS__] (__fixdfdi_v_glibc20): Do not define
5647 as a macro and a compat symbol.
5648 [_SOFT_FLOAT || __NO_FPRS__] (__fixsfdi_v_glibc20): Likewise.
5649 [_SOFT_FLOAT || __NO_FPRS__] (__fixunsdfdi_v_glibc20): Likewise.
5650 [_SOFT_FLOAT || __NO_FPRS__] (__fixunssfdi_v_glibc20): Likewise.
5651 [_SOFT_FLOAT || __NO_FPRS__] (__floatdidf_v_glibc20): Likewise.
5652 [_SOFT_FLOAT || __NO_FPRS__] (__floaddisf_v_glibc20): Likewise.
5653 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixdfdi): Do
5655 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixsfdi):
5657 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixunsdfdi):
5659 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixunssfdi):
5661 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__floaddidf):
5663 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__floaddisf):
5665 * sysdeps/powerpc/nofpu/Versions (libc): Remove __fixdfdi,
5666 __fixsfdi, __fixunsdfdi, __fixunssfdi, __floatdidf and __floatdisf
5669 2013-12-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5671 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
5673 2013-12-19 Joseph Myers <joseph@codesourcery.com>
5675 * manual/texinfo.tex: Update to version 2013-11-26.10 with
5676 trailing whitespace removed.
5677 * scripts/config.guess: Update to version 2013-11-29.
5678 * scripts/config.sub: Update to version 2013-10-01.
5680 * math/auto-libm-test-in: Add tests of sincos.
5681 * math/auto-libm-test-out: Regenerated.
5682 * math/libm-test.inc (sincos_test_data): Use AUTO_TESTS_fFF_11.
5683 * math/gen-auto-libm-tests.c (func_calc_method): Add value
5685 (func_calc_desc): Add mpfr_f_11 union field.
5686 (test_functions): Add sincos.
5687 (calc_generic_results): Handle mpfr_f_11.
5688 * sysdeps/i386/fpu/libm-test-ulps: Update.
5689 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5691 2013-12-19 Andreas Schwab <schwab@suse.de>
5693 * sysdeps/powerpc/powerpc64/power7/memchr.S: Fix argument of
5695 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
5696 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S
5697 [USE_IN_EXTENDED_LOCALE_MODEL]: Likewise.
5699 2013-12-19 Joseph Myers <joseph@codesourcery.com>
5701 * math/gen-libm-test.pl (%beautify): Remove M_* constants.
5702 * sysdeps/i386/fpu/libm-test-ulps: Update.
5703 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5706 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]: Set
5707 round-to-nearest mode when using frndint.
5708 * sysdeps/i386/fpu/s_expm1.S (__expm1): Likewise.
5709 * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
5710 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]:
5712 * math/auto-libm-test-in: Add more tests of expm1. Do not expect
5714 * math/auto-libm-test-out: Regenerated.
5715 * math/libm-test.inc (TEST_COND_x86_64): Remove macro.
5716 (TEST_COND_x86): Likewise.
5717 (expm1_tonearest_test_data): New array.
5718 (expm1_test_tonearest): New function.
5719 (expm1_towardzero_test_data): New array.
5720 (expm1_test_towardzero): New function.
5721 (expm1_downward_test_data): New array.
5722 (expm1_test_downward): New function.
5723 (expm1_upward_test_data): New array.
5724 (expm1_test_upward): New function.
5725 (main): Run the new test functions.
5726 * sysdeps/i386/fpu/libm-test-ulps: Update.
5727 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5729 * include/features.h: Update comment documenting feature test
5730 macros. Mention _DEFAULT_SOURCE in comment.
5731 [_GNU_SOURCE] (_DEFAULT_SOURCE): Undefine and redefine.
5732 [_DEFAULT_SOURCE]: Undefine and redefine _DEFAULT_SOURCE,
5733 _BSD_SOURCE and _SVID_SOURCE.
5734 [!__STRICT_ANSI__ && !_ISOC99_SOURCE && !_POSIX_SOURCE &&
5735 !_POSIX_C_SOURCE && !_XOPEN_SOURCE && !_BSD_SOURCE &&
5736 !_SVID_SOURCE]: Likewise.
5737 [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
5738 (__USE_POSIX_IMPLICITLY): Define.
5739 [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
5740 (_POSIX_SOURCE): Undefine and redefine.
5741 [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
5742 (_POSIX_C_SOURCE): Likewise.
5743 * manual/creature.texi (_DEFAULT_SOURCE): Document.
5744 (Feature Test Macros): Update documentation of default features.
5746 2013-12-19 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
5748 * benchtests/Makefile: Add bench-strtok.
5749 * benchtests/bench-strtok.c: New file: strtok benchtest.
5751 2013-12-19 Allan McRae <allan@archlinux.org>
5753 * manual/install.texi: Suppress menu for plain text output.
5754 * INSTALL: Regenerated.
5756 2013-12-18 Brooks Moses <bmoses@google.com>
5759 * misc/getauxval.c: Include errno.h.
5760 (__getauxval): Set errno to ENOENT if the requested type is not
5762 * misc/sys/auxv.h (getauxval): Document that it may set errno;
5763 don't declare with __attribute_const__.
5764 * elf/tst-auxv.c: Add tests for errno and type-not-found case.
5765 * manual/startup.texi: Document that getauxval sets errno.
5767 2013-12-18 Joseph Myers <joseph@codesourcery.com>
5769 * math/auto-libm-test-in: Add tests of jn and yn.
5770 * math/auto-libm-test-out: Regenerated.
5771 * math/libm-test.inc (jn_test_data): Use AUTO_TESTS_if_f.
5772 (yn_test_data): Likewise.
5773 * math/gen-auto-libm-tests.c (func_calc_method): Add value
5775 (func_calc_desc): Add mpfr_if_f union field.
5776 (FUNC_mpfr_if_f): New macro.
5777 (test_functions): Add jn and yn.
5778 (calc_generic_results): Assert type of second input for
5779 mpfr_ff_f. Handle mpfr_if_f.
5780 (output_for_one_input_case): Disable all checking for arguments
5781 fitting floating-point types in case of an integer argument.
5782 * sysdeps/i386/fpu/libm-test-ulps: Update.
5783 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5785 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
5786 Don't expect fegetround reference in libm.so.
5788 2013-12-17 Marcus Shawcroft <marcus.shawcroft@linaro.org>
5790 * sysdeps/ieee754/dbl-64/Makefile (CFLAGS-e_sqrt.c): Add
5791 $(config-cflags-nofma).
5793 2013-12-18 Joseph Myers <joseph@codesourcery.com>
5795 * math/auto-libm-test-in: Mark some hypot tests no-test-inline.
5796 * math/auto-libm-test-out: Regenerated.
5799 * sysdeps/ieee754/ldbl-128/e_logl.c (__ieee754_logl): Use __frexpl
5800 to determine exponent and adjust argument to have exponent of -1.
5801 * math/auto-libm-test-in: Add more tests of log, log10, log1p and
5803 * math/auto-libm-test-out: Regenerated.
5804 * sysdeps/i386/fpu/libm-test-ulps: Update.
5805 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5807 2013-12-18 Ondřej Bílka <neleai@seznam.cz>
5809 * manual/probes.texi: Remove cases when per-thread arenas are
5812 2013-12-18 Andreas Schwab <schwab@suse.de>
5814 * sysdeps/i386/i686/multiarch/strstr.c: Remove.
5815 * sysdeps/i386/i686/multiarch/strstr-c.c: Remove.
5816 * sysdeps/i386/i686/multiarch/strcasestr.c: Remove.
5817 * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: Remove.
5818 * sysdeps/i386/i686/multiarch/Makefile: Update.
5819 * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: Update.
5821 2013-12-17 Joseph Myers <joseph@codesourcery.com>
5823 * sysdeps/unix/bsd/bsd4.4/bits/errno.h: Remove file.
5824 * sysdeps/unix/bsd/bsd4.4/bits/ioctls.h: Likewise.
5826 2013-12-17 Paul Eggert <eggert@cs.ucla.edu>
5829 Support TZ transition times < 00:00:00.
5830 This is needed for version-3 tz-format files; it supports time
5831 stamps past 2037 for America/Godthab (the only entry in the tz
5832 database for which this change is relevant).
5833 * manual/time.texi (TZ Variable): Document transition times
5834 from -167:59:59 through -00:00:01.
5835 * time/tzset.c (tz_rule): Time of day is now signed.
5836 (__tzset_parse_tz): Parse negative time of day.
5838 Document TZ transition times >= 25:00:00.
5839 * manual/time.texi (TZ Variable): Document transition times from
5840 25:00:00 through 167:59:59. These are already supported, and this
5841 support will help with version-3 tz-format files.
5843 * manual/time.texi (TZ Variable): Modernize North America example
5844 to reflect current (i.e., 2007-and-later) daylight saving rules.
5846 * manual/time.texi (TZ Variable): POSIX.1 hour can be 24.
5848 2013-12-17 Joseph Myers <joseph@codesourcery.com>
5850 * sysdeps/unix/bsd/bits/posix_opt.h: Remove file.
5851 * sysdeps/unix/bsd/bits/stat.h: Likewise.
5852 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/environments.h: Likewise.
5853 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
5854 * sysdeps/unix/bsd/bsd4.4/freebsd/sys/sysmacros.h: Likewise.
5855 * sysdeps/unix/bsd/bsdstat.h: Likewise.
5856 * sysdeps/unix/bsd/clock.c: Likewise.
5857 * sysdeps/unix/bsd/i386/vfork.S: Likewise.
5858 * sysdeps/unix/bsd/i386/wait3.S: Likewise.
5859 * sysdeps/unix/bsd/init-posix.c: Likewise.
5860 * sysdeps/unix/bsd/poll.c: Likewise.
5861 * sysdeps/unix/bsd/ptsname.c: Likewise.
5862 * sysdeps/unix/bsd/seekdir.c: Likewise.
5863 * sysdeps/unix/bsd/setegid.c: Likewise.
5864 * sysdeps/unix/bsd/seteuid.c: Likewise.
5865 * sysdeps/unix/bsd/setgid.c: Likewise.
5866 * sysdeps/unix/bsd/setrgid.c: Likewise.
5867 * sysdeps/unix/bsd/setruid.c: Likewise.
5868 * sysdeps/unix/bsd/setsid.c: Likewise.
5869 * sysdeps/unix/bsd/setuid.c: Likewise.
5870 * sysdeps/unix/bsd/sigaction.c: Likewise.
5871 * sysdeps/unix/bsd/sigprocmask.c: Likewise.
5872 * sysdeps/unix/bsd/sigsuspend.c: Likewise.
5873 * sysdeps/unix/bsd/sys/reboot.h: Likewise.
5874 * sysdeps/unix/bsd/telldir.c: Likewise.
5875 * sysdeps/unix/bsd/times.c: Likewise.
5876 * sysdeps/unix/bsd/usleep.c: Likewise.
5878 * misc/Makefile (install-lib): Remove libbsd-compat.a.
5879 ($(objpfx)libbsd-compat.a): Remove rule.
5881 * include/features.h (__FAVOR_BSD): Do not define.
5882 * manual/creature.texi (_BSD_SOURCE): Do not document as enabling
5883 features conflicting with POSIX.
5884 (_GNU_SOURCE): Do not mention interaction with _BSD_SOURCE.
5885 (_BSD_SOURCE): Remove description of not being a subset of other
5886 feature test macros.
5887 * manual/job.texi (getpgrp): Do not document BSD version.
5888 (getpgid): Do not document by reference to BSD getpgrp.
5889 * posix/unistd.h [__FAVOR_BSD]: Remove conditional code.
5890 * setjmp/setjmp.h [__FAVOR_BSD]: Likewise.
5891 * signal/signal.h [__FAVOR_BSD]: Likewise.
5892 * sysdeps/gnu/netinet/tcp.h (struct tcphdr): Use anonymous unions
5893 instead of making contents conditional on [__FAVOR_BSD].
5894 * sysdeps/gnu/netinet/udp.h (struct udphdr): Likewise.
5896 2013-12-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5898 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
5900 2013-12-17 Joseph Myers <joseph@codesourcery.com>
5903 * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Adjust up
5904 values below 2**-450, not 2**-500.
5905 * math/auto-libm-test-in: Don't allow spurious underflow from
5907 * math/auto-libm-test-out: Regenerated.
5911 * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Update
5912 values of ha and hb and sort them after adjusting subnormal
5914 * sysdeps/ieee754/ldbl-128/e_hypotl.c (__ieee754_hypotl):
5916 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Update
5917 values of ea and eb and sort them after adjusting subnormal
5919 * math/auto-libm-test-in: Do not expect some hypot tests of
5920 subnormals to fail. Add more hypot tests.
5921 * math/auto-libm-test-out: Regenerated.
5923 2013-12-16 Kaz Kojima <kkojima@rr.iij4u.or.jp>
5926 * sysdeps/sh/s_fma.c: New file.
5927 * sysdeps/sh/s_fmaf.c: New file.
5928 * sysdeps/sh/soft-fp/sfp-machine.h: New file. Based on arm
5930 * sysdeps/sh/Implies: Add sh/soft-fp.
5932 2013-12-16 Roland McGrath <roland@hack.frob.com>
5934 * elf/dl-error.c (struct catch): Add new member `errcode'. Add a
5935 level of indirection to members `objname', `errstring', `malloced'.
5936 (_dl_signal_error): Store through pointers in *LCATCH rather modifying
5937 *LCATCH itself. Set *LCATCH->errcode to ERRCODE rather than passing
5938 it as the __longjmp argument (just pass 1 instead).
5939 (_dl_catch_error): Initialize C with argument pointers and address of
5940 volatile local ERRCODE rather than copying values out of C at return.
5942 2013-12-16 Joseph Myers <joseph@codesourcery.com>
5944 * math/auto-libm-test-in: Add tests of atan2, hypot and pow.
5945 * math/auto-libm-test-out: Regenerated.
5946 * math/libm-test.inc (atan2_test_data): Use AUTO_TESTS_ff_f.
5947 (hypot_test_data): Likewise.
5948 (pow_test_data): Likewise.
5949 (pow_tonearest_test_data): Likewise.
5950 * math/gen-auto-libm-tests.c (func_calc_method): Add value
5952 (func_calc_desc): Add mpfr_ff_f union field.
5953 (FUNC_mpfr_ff_f): New macro.
5954 (test_functions): Add atan2, hypot and pow.
5955 (special_fill_min): New function.
5956 (special_fill_minus_min): Likewise.
5957 (special_fill_min_subnorm): Likewise.
5958 (special_fill_minus_min_subnorm): Likewise.
5959 (special_real_inputs): Add min, -min, min_subnorm and
5961 (calc_generic_results): Handle mpfr_ff_f.
5962 * sysdeps/i386/fpu/libm-test-ulps: Update.
5963 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5965 2013-12-16 Will Newton <will.newton@linaro.org>
5967 * manual/memory.texi (Malloc Examples): Mention aligned_alloc.
5968 (Aligned Memory Blocks): Add documentation for aligned_alloc
5969 and suggest it as an alternative to posix_memalign.
5970 (Hooks for Malloc): Document __memalign_hook is also called
5971 for aligned_alloc. (Summary of Malloc): Add summary for
5972 aligned alloc. Document __memalign_hook is also called
5975 2013-12-16 Will Newton <will.newton@linaro.org>
5977 * manual/memory.texi (Malloc Examples): Clarify default
5978 alignment documentation. Suggest posix_memalign rather
5979 than memalign or valloc.
5980 (Aligned Memory Blocks): Remove suggestion to use memalign
5981 or valloc. Remove obsolete comment about BSD.
5982 Document memalign errno values and mark the function obsolete.
5983 Document posix_memalign returned error codes. Mark valloc
5984 as obsolete. (Hooks for Malloc): __memalign_hook is also
5985 called for posix_memalign and valloc.
5986 (Summary of Malloc): Add posix_memalign to function summary.
5987 __memalign_hook is also called for posix_memalign and valloc.
5989 2013-12-16 Siddhesh Poyarekar <siddhesh@redhat.com>
5991 * sysdeps/ieee754/dbl-64/s_sin.c (TAYLOR_SINCOS): Rename to
5995 (sloww): Use mynumber union. Expand ternary operator into
5997 (cslow): use mynumber union.
5999 2013-12-16 Allan McRae <allan@archlinux.org>
6001 * configure.ac: Set AUTOCONF when maintainer-mode is not used.
6002 * configure: Regenerated.
6004 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update file name.
6007 * configure.ac: Added --enable-maintainer-mode. Check for
6008 autoconf when enabled.
6009 * configure: Regenerated.
6011 * nscd/nscd.service: New file.
6012 * nscd/nscd.tmpfiles: New file.
6014 2013-12-14 Ondřej Bílka <neleai@seznam.cz>
6017 * sysdeps/x86_64/multiarch/strstr-sse2-unaligned.S: New file
6018 * sysdeps/x86_64/multiarch/strstr-c.c: Moved to ...
6019 * sysdeps/x86_64/multiarch/strstr.c: ... here.
6020 (strstr): Add __strstr_sse2_unaligned ifunc.
6021 * sysdeps/x86_64/multiarch/strcasestr-c.c: Moved to ...
6022 * sysdeps/x86_64/multiarch/strcasestr.c ... here.
6023 (strcasestr): Remove __strcasestr_sse42 ifunc.
6024 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Remove.
6025 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
6026 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
6028 2013-12-14 Kaz Kojima <kkojima@rr.iij4u.or.jp>
6030 * sysdeps/sh/sh4/fpu/bits/fenv.h: Move to ...
6031 * sysdeps/sh/bits/fenv.h: ... here.
6032 * sysdeps/sh/sh4/fpu/bits: Remove directory.
6034 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6036 * NEWS: Mention ppc64 STT_GNU_IFUNC support.
6038 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add hypot and
6039 hypotf multiarch implementations.
6040 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot-power7.c: New file.
6041 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot-ppc64.c: New file.
6042 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot.c: New file:
6043 multiarch hypot for PPC64.
6044 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf-power7.c: New file.
6045 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf-ppc64.c: New file.
6046 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf.c : New file:
6047 multiarch hypotf for PPC64.
6049 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add modf and
6050 modff multiarch implementations.
6051 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-power5+.c: New file.
6052 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-ppc64.c: New file.
6053 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf.c: New file:
6054 multiarch modf for PPC64.
6055 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff-power5+.c: New file.
6056 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff-ppc64.c: New file.
6057 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff.c : New file:
6058 multiarch modff for PPC64.
6060 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add logb, logbf,
6061 and logl multiarch implementations.
6062 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-power7.c: New file.
6063 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-ppc64.c: New file.
6064 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb.c: New file:
6065 multiarch logb for PPC64.
6066 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf-power7.c: New file.
6067 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf-ppc64.c: New file.
6068 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf.c: New file:
6069 multiarch logb for PPC64.
6070 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl-power7.c: New file.
6071 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl-ppc64.c: New file.
6072 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl.c: New file:
6073 multiarch logb for PPC64.
6075 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isinf and
6076 isinff multiarch implementation.
6077 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power7.S: New
6079 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-ppc64.S: New file.
6080 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c: New file:
6081 multiarch isinf for PPC64.
6082 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff-ppc64.c: New
6084 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff.c: New file:
6085 multiarch isinff for PPC64.
6087 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add finite and
6088 finitef multiarch implementation.
6089 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power7.S: New
6091 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-ppc64.S: New file.
6092 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c: New file:
6093 multiarch finite for PPC64.
6094 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef-ppc64.c: New
6096 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef.c: New file:
6097 multiarch finitef for PPC64.
6099 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llrint and
6100 lrint multiarch implementation.
6101 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power6x.S: New
6103 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-ppc64.S: New file.
6104 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint.c: New file:
6105 multiarch llrint for PPC64.
6106 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_lrint.c: New file:
6107 multiarch lrint for PPC64.
6109 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add copysign/
6110 copysignf multiarch implementation.
6111 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-power6.S: New
6113 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-ppc64.S: New
6115 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign.c: New file:
6116 multiarch copysign for PPC64.
6117 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysignf.c: New file:
6118 multiarch copysignf for PPC64.
6120 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add trunc/truncf
6121 multiarch implementation.
6122 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-power5+.S: New
6124 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-ppc64.S: New
6126 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-power5+.S: New
6128 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-ppc64.S: New
6130 multiarch llround for PPC64.
6131 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc.c: New file:
6132 multiarch trunc for PPC64.
6133 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf.c: New file:
6134 multiarch truncf for PPC64.
6136 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add round/roundf
6137 multiarch implementation.
6138 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-power5+.S: New
6140 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-ppc64.S: New
6142 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-power5+.S: New
6144 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-ppc64.S: New
6146 multiarch llround for PPC64.
6147 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round.c: New file:
6148 multiarch round for PPC64.
6149 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf.c: New file:
6150 multiarch roundf for PPC64.
6152 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add floor/floorf
6153 multiarch implementation.
6154 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-power5+.S: New
6156 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-ppc64.S: New
6158 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-power5+.S: New
6160 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-ppc64.S: New
6162 multiarch llround for PPC64.
6163 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor.c: New file:
6164 multiarch floor for PPC64.
6165 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf.c: New file:
6166 multiarch floorf for PPC64.
6168 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add ceil/ceilf
6169 multiarch implementation.
6170 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-power5+.S: New
6172 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-ppc64.S: New
6174 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-power5+.S: New
6176 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-ppc64.S: New
6178 multiarch llround for PPC64.
6179 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil.c: New file:
6180 multiarch ceil for PPC64.
6181 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf.c: New file:
6182 multiarch ceilf for PPC64.
6184 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llround
6185 multiarch implementation.
6186 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power5+.S: New
6188 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power6x.S: New
6190 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-ppc64.S: New
6192 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c: New file:
6193 multiarch llround for PPC64.
6194 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_lround.c: New file:
6195 multiarch lround for PPC64.
6197 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isnan
6198 multiarch implementation.
6199 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power5.S: New file.
6200 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6.S: New file.
6201 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6x.S: New
6203 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power7.S: New file.
6204 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-ppc64.S: New file.
6205 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c: New file:
6206 multiarch isnan for PPC64.
6207 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnanf.c: New file:
6208 multiarch isnanf for PPC64.
6210 * sysdeps/powerpc/powerpc64/power5+/fpu/multiarch/Implies: New file.
6211 * sysdeps/powerpc/powerpc64/power5/fpu/multiarch/Implies: New file.
6212 * sysdeps/powerpc/powerpc64/power6/fpu/multiarch/Implies: New file.
6213 * sysdeps/powerpc/powerpc64/power6x/fpu/multiarch/Implies: New file.
6214 * sysdeps/powerpc/powerpc64/power7/fpu/multiarch/Implies: New file
6215 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/Implies: Remove.
6217 * sysdeps/powerpc/fpu/w_sqrt.c: Remove file
6218 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
6219 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
6220 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
6222 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add stpcpy
6223 multiarch implementations.
6224 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
6225 (__libc_ifunc_impl_list): Likewise.
6226 * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power7.c: New file.
6227 * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.c: New file.
6228 * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c : New file:
6229 multiarch stpcpy for PPC64.
6231 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcpy
6232 multiarch implementations.
6233 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
6234 (__libc_ifunc_impl_list): Likewise.
6235 * sysdeps/powerpc/powerpc64/multiarch/strcpy-power7.c: New file.
6236 * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.c: New file.
6237 * sysdeps/powerpc/powerpc64/multiarch/strcpy.c : New file:
6238 multiarch strcpy for PPC64.
6240 * string/wordcopy.c (_wordcopy_fwd_aligned): Add define to
6241 redefine function name.
6242 (_wordcopy_fwd_dest_aligned): Likewise.
6243 (_wordcopy_bwd_aligned): Likewise.
6244 (_wordcopy_bwd_dest_aligned): Likewise.
6245 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wordcopy
6246 multiarch implementations.
6247 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
6248 (__libc_ifunc_impl_list): Likewise.
6249 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power6.c: New file.
6250 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power7.c: New file.
6251 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-ppc64.c: New file.
6252 * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c : New file:
6253 multiarch wcscpy for PPC64.
6255 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcscpy
6256 multiarch implementations.
6257 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
6258 (__libc_ifunc_impl_list): Likewise.
6259 * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power6.c: New file.
6260 * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power7.c: New file.
6261 * sysdeps/powerpc/powerpc64/multiarch/wcscpy-ppc64.c: New file.
6262 * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c : New file:
6263 multiarch wcscpy for PPC64.
6265 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcsrchr
6266 multiarch implementations.
6267 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
6268 (__libc_ifunc_impl_list): Likewise.
6269 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power6.c: New file.
6270 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power7.c: New file.
6271 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-ppc64.c: New file.
6272 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr.c : New file:
6273 multiarch wcsrchr for PPC64.
6275 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcschr
6276 multiarch implementations.
6277 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
6278 (__libc_ifunc_impl_list): Likewise.
6279 * sysdeps/powerpc/powerpc64/multiarch/wcschr-power6.c: New file.
6280 * sysdeps/powerpc/powerpc64/multiarch/wcschr-power7.c: New file.
6281 * sysdeps/powerpc/powerpc64/multiarch/wcschr-ppc64.c: New file.
6282 * sysdeps/powerpc/powerpc64/multiarch/wcschr.c : New file:
6283 multiarch wcschr for PPC64.
6285 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strchrnul
6286 multiarch implementations.
6287 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
6288 (__libc_ifunc_impl_list): Likewise.
6289 * sysdeps/powerpc/powerpc64/multiarch/strchrnul-power7.S: New file.
6290 * sysdeps/powerpc/powerpc64/multiarch/strchrnul-ppc64.c: New file.
6291 * sysdeps/powerpc/powerpc64/multiarch/strchrnul.c: New file:
6292 multiarch strchrnul for PPC64.
6294 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strchr multiarch
6296 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
6297 (__libc_ifunc_impl_list): Likewise.
6298 * sysdeps/powerpc/powerpc64/multiarch/rtld-strchr.S: New file.
6299 * sysdeps/powerpc/powerpc64/multiarch/strchr-power7.S: New file.
6300 * sysdeps/powerpc/powerpc64/multiarch/strchr-ppc64.S: New file.
6301 * sysdeps/powerpc/powerpc64/multiarch/strchr.c: New file: multiarch
6304 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncmp multiarch
6306 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
6307 (__libc_ifunc_impl_list): Likewise.
6308 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power4.S: New file.
6309 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power7.S: New file.
6310 * sysdeps/powerpc/powerpc64/multiarch/strncmp-ppc64.S: New file.
6311 * sysdeps/powerpc/powerpc64/multiarch/strncmp.c: New file: multiarch
6314 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncasecmp
6315 multiarch implementations.
6316 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
6317 (__libc_ifunc_impl_list): Likewise.
6318 * sysdeps/powerpc/powerpc64/multiarch/strncase-power7.c: New file.
6319 * sysdeps/powerpc/powerpc64/multiarch/strncase.c: New file: multiarch
6320 strncasecmp for PPC64.
6321 * sysdeps/powerpc/powerpc64/multiarch/strncase_l-power7.c: New file.
6322 * sysdeps/powerpc/powerpc64/multiarch/strncase_l.c: New file:
6323 multiarch strncasecmp_l for PPC64.
6325 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcasecmp
6326 multiarch implementations.
6327 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
6328 (__libc_ifunc_impl_list): Likewise.
6329 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: New file.
6330 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp.c: New file:
6331 multiarch strcasecmp for PPC64.
6332 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: New
6334 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l.c: new file:
6335 multiarch strcasecmp_l for PPC64.
6337 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strnlen multiarch
6339 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
6340 (__libc_ifunc_impl_list): Likewise.
6341 * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: New file.
6342 * sysdeps/powerpc/powerpc64/multiarch/strnlen-ppc64.c: New file.
6343 * sysdeps/powerpc/powerpc64/multiarch/strnlen.c: New file: multiarch
6346 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strlen multiarch
6348 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
6349 (__libc_ifunc_impl_list): Likewise.
6350 * sysdeps/powerpc/powerpc64/multiarch/strlen-power7.S: New file.
6351 * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S: New file.
6352 * sysdeps/powerpc/powerpc64/multiarch/strlen.c: New file: multiarch
6355 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add rawmemch multiarch
6357 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
6358 (__libc_ifunc_impl_list): Likewise.
6359 * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-power7.S: New file.
6360 * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-ppc64.c: New file.
6361 * sysdeps/powerpc/powerpc64/multiarch/rawmemchr.c: New file: multiarch
6362 rawmemrchr for PPC64.
6364 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memrchr multiarch
6366 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
6367 (__libc_ifunc_impl_list): Likewise.
6368 * sysdeps/powerpc/powerpc64/multiarch/memrchr-power7.S: New file.
6369 * sysdeps/powerpc/powerpc64/multiarch/memrchr-ppc64.c: New file.
6370 * sysdeps/powerpc/powerpc64/multiarch/memrchr.c: New file: multiarch
6373 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memchr multiarch
6375 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
6376 (__libc_ifunc_impl_list): Likewise.
6377 * sysdeps/powerpc/powerpc64/multiarch/memchr-power7.S: New file.
6378 * sysdeps/powerpc/powerpc64/multiarch/memchr-ppc64.c: New file.
6379 * sysdeps/powerpc/powerpc64/multiarch/memchr.c: New file: multiarch
6382 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add mempcpy multiarch
6384 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
6385 (__libc_ifunc_impl_list): Likewise.
6386 * sysdeps/powerpc/powerpc64/multiarch/mempcpy-power7.S: New file.
6387 * sysdeps/powerpc/powerpc64/multiarch/mempcpy-ppc64.c: New file.
6388 * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c: New file: multiarch
6391 * sysdeps/powerpc/powerpc64/memset.S (NO_BZERO_IMPL): Add macro to
6392 avoid cretion of __bzero symbol.
6393 * sysdeps/powerpc/powerpc64/power4/memset.S (NO_BZERO_IMPL):
6395 * sysdeps/powerpc/powerpc64/power6/memset.S (NO_BZERO_IMPL):
6397 * sysdeps/powerpc/powerpc64/power7/memset.S (NO_BZERO_IMPL):
6399 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memset/bzero
6400 multiarch implementations.
6401 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
6402 (__libc_ifunc_impl_list): Likewise.
6403 * sysdeps/powerpc/powerpc64/multiarch/bzero-power4.S: New file.
6404 * sysdeps/powerpc/powerpc64/multiarch/bzero-power6.S: New file.
6405 * sysdeps/powerpc/powerpc64/multiarch/bzero-power7.S: New file.
6406 * sysdeps/powerpc/powerpc64/multiarch/bzero.c: New file: multiarch
6408 * sysdeps/powerpc/powerpc64/multiarch/memset-power4.S: New file.
6409 * sysdeps/powerpc/powerpc64/multiarch/memset-power6.S: New file.
6410 * sysdeps/powerpc/powerpc64/multiarch/memset-power7.S: New file.
6411 * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S: New file.
6412 * sysdeps/powerpc/powerpc64/multiarch/memset.c: New file: multiarch
6414 * sysdeps/powerpc/powerpc64/multiarch/rtld-memset.c: New file.
6416 * string/memcmp.c (memcmp): Using macro to redefine symbol name.
6417 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memcpy multiarch
6419 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
6420 (__libc_ifunc_impl_list): Likewise.
6421 * sysdeps/powerpc/powerpc64/multiarch/memcmp-power4.S: New file.
6422 * sysdeps/powerpc/powerpc64/multiarch/memcmp-power7.S: New file.
6423 * sysdeps/powerpc/powerpc64/multiarch/memcmp-ppc64.c: New file.
6424 * sysdeps/powerpc/powerpc64/multiarch/memcmp.c: New file: multiarch
6427 * sysdeps/powerpc/powerpc64/multiarch/Makefile: New file to support
6428 multiarch for POWER/PPC64.
6429 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Likewise.
6430 * sysdeps/powerpc/powerpc64/multiarch/init-arch.h: Likewise.
6431 * sysdeps/powerpc/powerpc64/multiarch/memcpy-a2.S: New file.
6432 * sysdeps/powerpc/powerpc64/multiarch/memcpy-cell.S: New file.
6433 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power4.S: New file.
6434 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power6.S: New file.
6435 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power7.S: New file.
6436 * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S: New file.
6437 * sysdeps/powerpc/powerpc64/multiarch/memcpy.c: New file: multiarch
6440 * sysdeps/powerpc/powerpc64/power4/fpu/Implies: New file.
6441 * sysdeps/powerpc/powerpc64/power4/fpu/multiarch/Implies: New File.
6442 * sysdeps/powerpc/powerpc64/power4/multiarch/Implies: New File.
6443 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: New File.
6444 * sysdeps/powerpc/powerpc64/power5+/multiarch/Implies: New File.
6445 * sysdeps/powerpc/powerpc64/power5/Implies: New File.
6446 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: New File.
6447 * sysdeps/powerpc/powerpc64/power5/multiarch/Implies: New File.
6448 * sysdeps/powerpc/powerpc64/power6/fpu/Implies: New File.
6449 * sysdeps/powerpc/powerpc64/power6/multiarch/Implies: New File.
6450 * sysdeps/powerpc/powerpc64/power7/fpu/Implies: New File.
6451 * sysdeps/powerpc/powerpc64/power7/multiarch/Implies: New File.
6452 * sysdeps/powerpc/powerpc64/power8/fpu/Implies: New File.
6453 * sysdeps/powerpc/powerpc64/power8/fpu/multiarch/Implies: New File.
6454 * sysdeps/powerpc/powerpc64/power8/multiarch/Implies: New File.
6455 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: Remove.
6456 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/Implies: Remove.
6457 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: Remove.
6458 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: Remove.
6459 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: Remove.
6460 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: Remove.
6461 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Remove.
6463 2013-12-12 Kaz Kojima <kkojima@rr.iij4u.or.jp>
6465 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Use $$ver.
6467 2013-12-12 Siddhesh Poyarekar <siddhesh@redhat.com>
6469 * benchtests/Makefile (bench): Add exp2 and log2.
6470 (LDLIBS-bench-exp2): Add -lm.
6471 (LDLIBS-bench-log2): Likewise.
6472 * benchtests/exp2-inputs: New inputs file.
6473 * benchtests/log2-inputs: New inputs file.
6474 * benchtests/log-inputs: Add new inputs.
6475 * benchtests/tan-inputs: Likewise.
6477 2013-12-11 Siddhesh Poyarekar <siddhesh@redhat.com>
6479 * sysdeps/ieee754/dbl-64/s_sin.c (t22): Consolidate const
6481 (slow1, slow2, sloww1, sloww2, bsloww1, bsloww2, cslow2, csloww1)
6482 (csloww2): ... from here.
6484 * sysdeps/ieee754/dbl-64/usncs.h: Define constants as double
6485 instead of structures.
6486 * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): Adjust.
6487 (POLYNOMIAL): Likewise.
6488 (TAYLOR_SLOW): Likewise.
6496 (bsloww1): Likewise.
6497 (bsloww2): Likewise.
6500 (csloww1): Likewise.
6501 (csloww2): Likewise.
6503 2013-12-10 Ondřej Bílka <neleai@seznam.cz>
6505 * malloc/malloc.c (MALLOC_COPY, MALLOC_ZERO): Delete.
6506 (__malloc_assert, __libc_realloc, __libc_calloc, _int_realloc):
6507 Expand MALLOC_COPY and MALLOC_ZERO to memcpy and memset.
6508 * malloc/hooks.c (realloc_check): Likewise.
6510 * malloc/Makefile (CPPFLAGS-malloc.c): Remove -DPER_THREAD flag.
6511 * malloc/arena.c: Remove PER_THREAD conditional.
6512 [!PER_THREAD]: Remove code.
6513 (ptmalloc_unlock_all2): Likewise.
6514 (ptmalloc_init): Likewise.
6515 (_int_new_arena): Likewise.
6516 (arena_get2): Likewise.
6517 * malloc/hooks.c (__malloc_get_state): Likewise.
6518 (__malloc_set_state): Likewise.
6519 * malloc/malloc.c: Likewise.
6520 (struct malloc_state): Likewise.
6521 (struct malloc_par): Likewise.
6522 (__libc_realloc): Likewise.
6523 (__libc_mallopt): Likewise.
6525 2013-12-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6527 * Versions.def (libm): Add GLIBC_2.3 and GLIBC_2.19.
6529 2013-12-09 Ondřej Bílka <neleai@seznam.cz>
6531 * malloc/malloc.c (alloc_perturb, free_perturb): Convert from
6532 macro to a function. Check for zero perturb_byte.
6533 (_int_malloc, _int_free): Remove zero perturb_byte checks.
6535 * malloc/malloc.c: (force_reg): Remove.
6536 (__malloc_assert, __libc_malloc, __libc_free, __libc_realloc)
6537 (_mid_memalign, __libc_calloc, sysmalloc, systrim): Replace
6538 force_reg by atomic_forced_read.
6539 * malloc/arena.c (ptmalloc_init): Likewise.
6540 * malloc/hooks.c (top_check): Likewise.
6542 2013-12-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6544 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
6546 2013-12-09 Markus Trippelsdorf <markus@trippelsdorf.de>
6548 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
6550 2013-12-08 Joseph Myers <joseph@codesourcery.com>
6552 * math/auto-libm-test-in: Add tests of lgamma.
6553 * math/auto-libm-test-out: Regenerated.
6554 * math/libm-test.inc (M_LOG_SQRT_PIl): Remove macro.
6555 (M_LOG_2_SQRT_PIl): Likewise.
6556 (lgamma_test_data): Use AUTO_TESTS_f_f1.
6557 * math/gen-auto-libm-tests.c (func_calc_method): Add value
6559 (func_calc_desc): Add mpfr_f_f1 union field.
6568 (FUNC_mpfr_f_f): Use new macros FUNC, ARGS1, RET1 and CALC.
6569 (test_functions): Add lgamma.
6570 (calc_generic_results): Handle mpfr_f_f1.
6571 * sysdeps/i386/fpu/libm-test-ulps: Update.
6572 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6574 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6576 * sysdeps/powerpc/powerpc64/power7/add_n.S: New file: optimized
6577 __mpn_add_n for PowerPC64/POWER7.
6578 * sysdeps/powerpc/powerpc64/power7/sub_n.S: New file: optimized
6579 __mpn_sub_n for PowerPC64/POWER7.
6581 * sysdeps/powerpc/powerpc64/addmul_1.S: New file: optimized
6582 __mpn_addmul_1 for PowerPC64.
6583 * sysdeps/powerpc/powerpc64/submul_1.S: New file: optimized
6584 __mpn_submul_1 for PowerPC64.
6585 * sysdeps/powerpc/powerpc64/lshift.S: New file: optimized __mpn_lshift
6587 * sysdeps/powerpc/powerpc64/mul_1.S: New file: optimized __mpn_mul_1
6590 2013-12-06 Fernando J. V. da Silva <fernandojvdasilva@gmail.com>
6593 * malloc/malloc.c: Exit systrim() if pad is bigger than heap top size.
6595 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6597 * NEWS: Mention ppc32/power4+ STT_GNU_IFUNC support.
6599 * sysdeps/powerpc/powerpc32/power5+/fpu/multiarch/Implies: New file:
6600 add multiarch folders.
6601 * sysdeps/powerpc/powerpc32/power5+/multiarch/Implies: Likewise.
6602 * sysdeps/powerpc/powerpc32/power5/fpu/multiarch/Implies: Likewise.
6603 * sysdeps/powerpc/powerpc32/power5/multiarch/Implies: Likewise.
6604 * sysdeps/powerpc/powerpc32/power6/fpu/multiarch/Implies: Likewise.
6605 * sysdeps/powerpc/powerpc32/power6/multiarch/Implies: Likewise.
6606 * sysdeps/powerpc/powerpc32/power6x/fpu/multiarch/Implies: Likewise.
6607 * sysdeps/powerpc/powerpc32/power6x/multiarch/Implies: Likewise.
6608 * sysdeps/powerpc/powerpc32/power7/fpu/multiarch/Implies: Likewise.
6609 * sysdeps/powerpc/powerpc32/power7/multiarch/Implies: Likewise.
6610 * sysdeps/powerpc/powerpc32/power8/fpu/multiarch/Implies: Likewise.
6611 * sysdeps/powerpc/powerpc32/power8/multiarch/Implies: Likewise.
6612 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/Implies: Remove.
6613 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: Remove.
6614 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: Remove.
6615 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: Remove.
6616 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: Remove.
6617 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Remove.
6619 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add
6620 __ieee754_hypot and __ieee754_hypotf multiarch implementations.
6621 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot-power7.c:
6623 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot-ppc32.c:
6625 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot.c: New file:
6626 multiarch __ieee754_hypot for PowerPC32.
6627 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf-power7.c:
6629 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf-ppc32.c:
6631 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf.c: New file:
6632 multiarch __ieee754_hypotf for PowerPC32.
6634 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Define
6635 long_double_symbol only if __logbl is defined.
6636 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Moved to ...
6637 * sysdeps/powerpc/power7/fpu/s_logb.c: ... here.
6638 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: Move to ...
6639 * sysdeps/powerpc/power7/fpu/s_logbf.c: ... here.
6640 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: Move to ...
6641 * sysdeps/powerpc/power7/fpu/s_logbl.c: ... here.
6642 * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: Adjust to use new
6643 path for implementation.
6644 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: Likewise.
6645 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: Likewise.
6646 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add logbf,
6647 logb, and logbl multiarch implementations for PowerPC32.
6648 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-power7.c: New
6650 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-ppc32.c: New
6652 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb.c: New file:
6653 multiarch logb for PowerPC32.
6654 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf-power7.c: New
6656 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf-ppc32.c: New
6658 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf.c: New file:
6659 multiarch logbf for PowerPC32.
6660 * sysdeps/powerpc/power4/fpu/multiarch/s_logbl-power7.c: New file.
6661 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbl-ppc32.c: New
6663 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbl.c: New file:
6664 multiarch logbl implementation for PowerPC32.
6666 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add modf
6667 and modff multiarch implementations.
6668 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-power5+.c:
6670 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-ppc32.c:
6672 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf.c: New file:
6673 multiarch modf for PowerPC32.
6674 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff-power5+.c:
6676 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff-ppc32.c:
6678 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff.c: New file:
6679 multiarch modff for PowerPC32.
6681 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add lrint
6682 and lrintf multiarch implementations.
6683 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-power6x.S:
6685 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-ppc32.S:
6687 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint.c: New file:
6688 multiarch lrint for PowerPC32.
6689 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrintf.c: New
6690 file: multiarch lrintf for PowerPC32.
6692 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add lround
6693 and lroundf multiarch implementations.
6694 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power5+.S:
6696 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power6.S:
6698 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-ppc32.S:
6700 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround.c: New file:
6701 multiarch lround for PowerPC32.
6702 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lroundf.c: New
6703 file: multiarch lroundf for PowerPC32.
6705 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add
6706 copysign and copysignf multiarch implementations.
6707 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-power6.S:
6709 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-ppc32.S:
6711 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign.c: New
6712 file: multiarch copysign for PowerPC32.
6713 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysignf.c: New
6714 file: multiarch copysignf for PowerPC32.
6716 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add trunc
6717 and truncf multiarch implementations.
6718 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc-power5+.S:
6720 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc-ppc32.S: New
6722 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc.c: New file:
6723 multiarch trunc for PowerPC32.
6724 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf-power5+.S:
6726 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf-ppc32.S:
6728 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf.c: New file:
6729 multiarch truncf for PowerPC32.
6731 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add round
6732 and roundf multiarch implementations.
6733 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round-power5+.S:
6735 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round-ppc32.S: New
6737 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round.c: New file:
6738 multiarch round for PowerPC32.
6739 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf-power5+.S:
6741 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf-ppc32.S:
6743 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf.c: New file:
6744 multiarch roundf for PowerPC32.
6746 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add floor
6747 and floorf multiarch implementations.
6748 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-power5+.S:
6750 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-ppc32.S: New
6752 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor.c: New file:
6753 multiarch floor for PowerPC32.
6754 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-power5+.S:
6756 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-ppc32.S:
6758 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf.c: New file:
6759 multiarch floorf for PowerPC32.
6761 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add ceil
6762 and ceilf multiarch implementations.
6763 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-power5+.S:
6765 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-ppc32.S: New
6767 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil.c: New file:
6768 multiarch ceil for PowerPC32.
6769 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-power5+.S:
6771 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-ppc32.S: New
6773 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf.c: New file:
6774 multiarch ceilf for PowerPC32.
6776 * sysdeps/ieee754/dbl-64/s_finite.c (__finite): Redefine it if FINITE
6778 * sysdeps/ieee754/flt-32/s_finitef.c (__finitef): Redefine it if
6780 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add finite
6781 and finitef multiarch implementations.
6782 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-power7.S:
6784 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-ppc32.c: New
6786 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite.c: New file:
6787 multiarch finite for PowerPC32.
6788 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef-ppc32.c:
6790 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef.c: New
6791 file: multiarch finitef for PowerPC32.
6793 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add isinf
6794 and isinff multiarch implementations.
6795 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-power7.S: New
6797 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-ppc32.c: New
6799 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf.c: New file:
6800 multiarch isinf for PowerPC32.
6801 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff-ppc32.c:
6803 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff.c: New file:
6804 multiarch isinff for PowerPC32.
6806 * sysdeps/powerpc/powerpc32/fpu/s_isnan.S (__isnan): Only implement
6807 alias when __isnan is defined.
6808 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add isnan
6809 and isnanf multiarch implementations.
6810 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power5.S: New
6812 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power6.S: New
6814 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power7.S: New
6816 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-ppc32.S: New
6818 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan.c: New file:
6819 multiarch isnan for PowerPC32.
6820 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power6.S:
6822 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power7.S:
6824 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf.c: New file:
6825 multiarch isnanf for PowerPC32.
6827 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add sqrt
6828 and sqrtf multiarch implementations.
6829 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-power5.S: New
6831 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-ppc32.S: New
6833 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt.c: New file:
6834 multiarch sqrt for PowerPC32.
6835 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-power5.S: New
6837 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-ppc32.S: New
6839 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf.c: New file:
6840 multiarch sqrtf for PowerPC32.
6842 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add llround
6843 and llroundf multiarch implementations.
6844 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power5+.S:
6846 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power6.S:
6848 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-ppc32.S:
6850 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround.c: New
6851 file: multiarch llround for PowerPC32.
6852 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llroundf.c: New
6853 file: multiarch llroundf for PowerPC32.
6855 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: New file:
6856 multiarch PowerPC32 fpu implementations.
6857 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-power6.S:
6859 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-ppc32.S:
6861 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint.c: New file:
6862 multiarch llrint for PowerPC32.
6863 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-power6.S:
6865 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-ppc32.S:
6867 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf.c: New
6870 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/Implies: Remove.
6872 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power6.c: New
6874 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power7.c: New
6876 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-ppc32.c: New
6878 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy.c: New file:
6879 multiarch wordcopy for PPC32.
6880 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcscpy
6882 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
6883 (__libc_ifunc_impl_list): Likewise.
6884 * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Move ...
6885 * sysdeps/powerpc/power4/wordcopy.c: ... to here.
6886 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Move ...
6887 * sysdeps/powerpc/power6/wordcopy.c: ... to here.
6888 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Remove uneeded file.
6889 * sysdeps/powerpc/powerpc64/power4/wordcopy.c: Likewise.
6891 * wcsmbs/wcscpy.c (wcscpy): Using macro to redefine symbol name
6892 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power6.c: New
6894 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power7.c: New
6896 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-ppc32.c: New
6898 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy.c: New file:
6899 multiarch wcscpy for PPC32.
6900 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcscpy
6902 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
6903 (__libc_ifunc_impl_list): Likewise.
6904 * sysdeps/powerpc/powerpc32/power6/wcsrchr.c: Move ...
6905 * sysdeps/powerpc/power6/wcsrchr.c: ... to here.
6906 * sysdeps/powerpc/powerpc64/power6/wcscpy.c: Adjust to use
6907 sysdeps/powerpc/power6/wcscpy.c.
6909 * wcsmbs/wcsrchr.c (wcsrchr): Using macro to redefine symbol name
6910 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power6.c: New
6912 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power7.c: New
6914 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-ppc32.c: New
6916 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr.c: New file:
6917 multiarch wcsrchr for PPC32.
6918 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcschr
6920 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
6921 (__libc_ifunc_impl_list): Likewise.
6922 * sysdeps/powerpc/powerpc32/power6/wcsrchr.c: Move ...
6923 * sysdeps/powerpc/power6/wcsrchr.c: ... to here.
6924 * sysdeps/powerpc/powerpc64/power6/wcsrchr.c: Adjust to use
6925 sysdeps/powerpc/power6/wcsrchr.c.
6927 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power6.c: New
6929 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power7.c: New
6931 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c: New file.
6932 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c: New file:
6933 multiarch wcschr for PPc32.
6934 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcschr
6936 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
6937 (__libc_ifunc_impl_list): Likewise.
6938 * sysdeps/powerpc/powerpc32/power6/wcschr.c: Move ...
6939 * sysdeps/powerpc/power6/wcschr.c: ... to here.
6940 * sysdeps/powerpc/powerpc64/power6/wcschr.c: Adjust to use
6941 sysdeps/powerpc/power6/wcschr.c.
6943 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-strchr.S: New file.
6944 * sysdeps/powerpc/powerpc32/power4/multiarch/strchr-power7.S: New
6946 * sysdeps/powerpc/powerpc32/power4/multiarch/strchr-ppc32.S: New file.
6947 * sysdeps/powerpc/powerpc/powerpc32/power4/multiarch/strchr.c: New
6948 file: multiarch strchr for PPC32.
6949 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strchr
6951 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
6952 (__libc_ifunc_impl_list): Likewise.
6954 * string/strchrnul.c (__strchrnul): Using macro to redefine symbol
6956 * sysdeps/powerpc/powerpc32/power4//multiarch/strchrnul-power7.S: New
6958 * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul-ppc32.c: New
6960 * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul.c: New file:
6961 multiarch strchrnul for PPC32.
6962 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strchrnul
6964 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
6965 (__libc_ifunc_impl_list): Likewise.
6967 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase-power7.c: New
6969 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase.c: New file:
6970 multiarch strncasecmp for PPC32.
6971 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l-power7.c: New
6973 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l.c: New file:
6974 multiarch strncasecmp_l for PPC32.
6975 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added
6976 strncasecmp multiarch objects.
6977 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
6978 (__libc_ifunc_impl_list): Likewise.
6980 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp-power7.S: New
6982 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp.c: New file:
6983 multiarch strncasecmp for PPC32.
6984 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l-power7.S:
6986 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l.c: New file:
6987 multiarch strcasecmp_l for PPC32.
6988 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strcasecmp
6990 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
6991 (__libc_ifunc_impl_list): Likewise.
6993 * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-power7.S: New
6995 * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-ppc32.S: New
6997 * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp.c: New file:
6998 multiarch strncmp for PPC32.
6999 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strncmp
7001 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
7002 (__libc_ifunc_impl_list): Likewise.
7004 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-strnlen.c: New file.
7005 * sysdeps/powerpc/powerpc32//power4/multiarch/strnlen-power7.S: New
7007 * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen-ppc32.c: New file.
7008 * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen.c: New file.
7009 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strnlen
7011 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
7012 (__libc_ifunc_impl_list): Likewise.
7014 * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-power7.S: New
7016 * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-ppc32.S: New
7018 * sysdeps/powerpc/powerpc32/power4/multiarch/strlen.c: New file.
7019 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strlen
7021 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
7022 (__libc_ifunc_impl_list): Likewise.
7024 * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr-power7.S: New
7026 * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr-ppc32.c: New
7028 * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr.c: New file:
7029 multiarch rawmemchr for PPC32.
7030 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added rawmemchr
7032 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
7033 (__libc_ifunc_impl_list): Likewise.
7035 * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-power7.S: New
7037 * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-ppc32.c: New
7039 * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr.c: New
7040 file: memrchr multiarch for PPC32.
7041 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added memrchr
7043 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
7044 (__libc_ifunc_impl_list): Likewise.
7046 * string/memchr.c (__memchr): Using macro to redefine symbol name.
7047 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-power7.S: New
7049 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c: New File.
7050 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c: New file:
7051 multiarch memchr for PPC32.
7052 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memchr
7054 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
7055 (__libc_ifunc_impl_list): Likewise.
7057 * string/mempcpy.c (__mempcpy): Using macro to redefine symbol name.
7058 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy-power7.S: New
7060 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy-ppc32.c: New
7062 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c: New
7063 file: multiarch mempcpy for PPC32.
7064 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add mempcpy
7066 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
7067 (__libc_ifunc_impl_list): Likewise.
7069 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-power6.S: New file.
7070 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-power7.S: New file.
7071 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-ppc32.S: New file.
7072 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: New file:
7073 multiarch bzero for PPC32.
7074 * sysdeps/powerpc/powerpc32/power4/multiarch/memset-power6.S: New
7076 * sysdeps/powerpc/powerpc32/power4/multiarch/memset-power7.S: New
7078 * sysdeps/powerpc/powerpc32/power4/multiarch/memset-ppc32.S: New file.
7079 * sysdeps/powerpc/powerpc/powerpc32/power4/multiarch/memset.c: New
7080 file: multiarch memset for PPC32.
7081 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-memset.S: New file.
7082 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add bzero and
7083 memset multiarch objects.
7084 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
7085 (__libc_ifunc_impl_list): Likewise.
7087 * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-power7.S: New
7089 * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-ppc32.S: New file.
7090 * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp.c: multiarch
7092 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-memcmp.S: New file.
7093 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memcmp
7095 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
7096 (__libc_ifunc_impl_list): Likewise.
7098 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-a2.S: New file.
7099 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-cell.S: New file.
7100 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-power6.S: New
7102 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-power7.S: New
7104 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-ppc32.S: New
7106 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy.c: New file:
7107 multiarch memcpy for PPC32.
7108 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memcpy
7110 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
7111 (__libc_ifunc_impl_list): Likewise.
7113 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: New file to
7114 support multiarch for POWER/PPC32.
7115 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c:
7117 * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h: Likewise.
7118 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: Remove
7119 Implies file to make multiarch folder appers before the fpu and
7120 default folder for power4 configuration.
7122 2013-12-06 Siddhesh Poyarekar <siddhesh@redhat.com>
7124 * scripts/bench.pl: Append volatile keyword to type.
7126 2013-12-05 Kaz Kojima <kkojima@rr.iij4u.or.jp>
7128 * sysdeps/sh/sotruss-lib.c: New file.
7129 * sysdeps/unix/sysv/linux/sh/nptl/c++-types.data: New file.
7131 2013-12-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7133 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
7135 2013-12-05 Joseph Myers <joseph@codesourcery.com>
7138 * math/w_tgamma.c: Include <errno.h>.
7139 (__tgamma): Use __glibc_unlikely. Set errno on underflow to 0.
7140 * math/w_tgammaf.c: Include <errno.h>.
7141 (__tgammaf): Use __glibc_unlikely. Set errno on underflow to 0.
7142 * math/w_tgammal.c: Include <errno.h>.
7143 (__tgammal): Use __glibc_unlikely. Set errno on underflow to 0.
7144 * math/auto-libm-test-in: Do not allow missing errno on tgamma
7145 underflow. Add more tgamma tests.
7146 * math/auto-libm-test-out: Regenerated.
7147 * sysdeps/i386/fpu/libm-test-ulps: Update.
7148 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7150 * math/auto-libm-test-in: Add tests of log, log10, log1p, log2,
7151 sin, sinh, tan, tanh, tgamma, y0 and y1.
7152 * math/auto-libm-test-out: Regenerated.
7153 * math/libm-test.inc (TEST_COND_x86_64): New macro.
7154 (TEST_COND_x86): Likewise.
7155 (M_E2l): Remove macro.
7157 (M_2_SQRT_PIl): Likewise.
7158 (M_SQRT_PIl): Likewise.
7159 (M_1_DIV_El): Likewise.
7160 (log_test_data): Use AUTO_TESTS_f_f.
7161 (log10_test_data): Likewise.
7162 (log1p_test_data): Likewise.
7163 (log2_test_data): Likewise.
7164 (sin_test_data): Likewise.
7165 (sin_tonearest_test_data): Likewise.
7166 (sin_towardzero_test_data): Likewise.
7167 (sin_downward_test_data): Likewise.
7168 (sin_upward_test_data): Likewise.
7169 (sinh_test_data): Likewise.
7170 (sinh_tonearest_test_data): Likewise.
7171 (sinh_towardzero_test_data): Likewise.
7172 (sinh_downward_test_data): Likewise.
7173 (sinh_upward_test_data): Likewise.
7174 (tan_test_data): Likewise.
7175 (tan_tonearest_test_data): Likewise.
7176 (tan_towardzero_test_data): Likewise.
7177 (tan_downward_test_data): Likewise.
7178 (tan_upward_test_data): Likewise.
7179 (tanh_test_data): Likewise.
7180 (tgamma_test_data): Likewise.
7181 (y0_test_data): Likewise.
7182 (y1_test_data): Likewise.
7183 * math/gen-auto-libm-tests.c (special_fill_pi_4): New function.
7184 (special_real_inputs): Add pi/4.
7185 * sysdeps/i386/fpu/libm-test-ulps: Update.
7186 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7188 2013-12-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7190 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Add "longjmp" and
7191 "longjmp_target" static probes.
7192 (__longjmp): Rename to __longjmp_symbol.
7193 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
7194 * sysdeps/powerpc/powerpc32/__longjmp.S: Define __longjmp_symbol based
7195 on which longjmp to generate.
7196 * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
7197 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Add "setjmp" static
7199 (__sigsetjmp): Rename to __sigsetjmp_symbol.
7200 (__sigjmp_save): Rename to __sigjmp_save_symbol.
7201 * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
7202 * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Define __sigsetjmp_symbol
7203 and __sigjmp_save_symbol based on which sigsetjmp to generated.
7204 * sysdeps/powerpc/powerpc32/setjmp.S: Likewise
7205 * sysdeps/unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Define
7206 __longjmp_symbol based on which __longjmp to generate.
7207 * sysdeps/powerpc/powerpc64/setjmp-common.S: Add "setjmp" static
7209 (setjmp): Rename to setjmp_symbol.
7210 (__sigsetjmp): Rename to __sigsetjmp_symbol.
7211 (_setjmp): Rename to _setjmp_symbol.
7212 (__sigsetjmp): Rename to __sigsetjmp_symbol.
7213 * sysdeps/powerpc/powerpc64/setjmp.S: Define setjmp_symbol,
7214 _setjmp_symbol, __sigsetjmp_symbol, and __sigjmp_save_symbol based on
7215 which setjmp to generate.
7216 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Add "longjmp" and
7217 "longjmp_target" static probes.
7219 2013-12-05 Siddhesh Poyarekar <siddhesh@redhat.com>
7221 * benchtests/README: Add note about output arguments.
7222 * benchtests/bench-sincos.c: Remove file.
7223 * benchtests/sincos-inputs: New file.
7224 * scripts/bench.pl: Identify output arguments and define
7225 static variables for them.
7227 * debug/stpncpy_chk.c (__stpncpy_chk): Remove unused variables.
7230 * Makefile (INSTALL): Add install-plain.texi as the primary
7232 * manual/install-plain.texi: New file.
7233 * manual/install.texi: Include node directive only for
7234 non-plaintext output.
7236 2013-12-04 Joseph Myers <joseph@codesourcery.com>
7238 * stdlib/longlong.h: Update from GCC.
7242 * math/w_j0.c (y0): Raise FE_DIVBYZERO on zero argument.
7243 * math/w_j0f.c (y0f): Likewise.
7244 * math/w_j0l.c (__y0l): Likewise.
7245 * math/w_j1.c (y1): Likewise.
7246 * math/w_j1f.c (y1f): Likewise.
7247 * math/w_j1l.c (__y1l): Likewise
7248 * math/w_jn.c (yn): Likewise.
7249 * math/w_jnf.c (ynf): Likewise.
7250 * sysdeps/ieee754/k_standard.c (__kernel_standard): Use ERANGE for
7251 Bessel function pole errors in _POSIX_ mode. Use NAN as return
7252 value for Bessel function domain errors outside _SVID_ mode.
7253 Adjust sign of return value for yn (negative integer, 0).
7254 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Use division
7255 by zero in return for negative x and set sign appropriately for
7257 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Likewise.
7258 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
7259 * math/libm-test.inc (y0_test_data): Add more tests and adjust
7260 expectations in error cases.
7261 (y1_test_data): Likewise.
7262 (yn_test_data): Likewise.
7263 * sysdeps/i386/fpu/libm-test-ulps: Update.
7264 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7266 2013-11-12 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
7268 * sysdeps/unix/sysv/linux/powerpc/Makefile (abi-variants): Rename
7269 "64" to "64-v1". Add "64-v2".
7270 (abi-64-options): Rename to ...
7271 (abi-64-v1-options): ... this. Redefine _CALL_ELF.
7272 (abi-64-condition): Rename to ...
7273 (abi-64-v1-condition): ... this. Add _CALL_ELF check.,
7274 (abi-64-ld-soname): Rename to ...
7275 (abi-64-v1-ld-soname): ... this.
7276 (abi-64-v2-options): Define.
7277 (abi-64-v2-condition): Likewise.
7278 (abi-64-v2-ld-soname): Likewise.
7279 * sysdeps/unix/sysv/linux/powerpc/ldconfig.h
7280 (SYSDEP_KNOWN_INTERPRETER_NAMES): Add "/lib64/ld64.so.2".
7281 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: Delete file.
7282 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac: New file.
7283 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Generate.
7285 2013-11-12 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
7286 Alan Modra <amodra@gmail.com>
7288 * sysdeps/powerpc/bits/link.h (La_ppc64v2_regs, La_ppc64v2_retval):
7289 New versions for use with the ELFv2 ABI.
7290 (la_ppc64v2_gnu_pltenter, la_ppc64v2_gnu_pltexit): Add prototypes.
7291 * sysdeps/powerpc/lsdodefs.h (struct La_ppc64v2_regs): Add forward
7293 (struct La_ppc64v2_retval): Likewise.
7294 (ARCH_PLTENTER_MEMBERS): Add ppc64v2_gnu_pltenter.
7295 (ARCH_PLTEXIT_MEMBERS): Add ppc64v2_gnu_pltexit.
7296 * sysdeps/powerpc/powerpc64/dl-machine.h (ARCH_LA_PLTENTER): Define
7297 to ppc64v2_gnu_pltenter if _CALL_ELF == 2.
7298 (ARCH_LA_PLTEXIT): Define to ppc64v2_gnu_pltexit if _CALL_ELF == 2.
7299 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
7300 Do not save or restore CR.
7301 (FRAME_SIZE, VR_RTN): Provide updated values for _CALL_ELF == 2.
7302 (_dl_profile_resolve): Do no save or restore CR. Support extended
7303 return values for ELFv2 ABI. Fix location of FPR return registers.
7304 * sysdeps/powerpc/powerpc64/tst-audit.h (pltenter, pltexit): Provide
7305 updated values for _CALL_ELF == 2.
7306 (La_regs, La_retval, int_retval): Likewise.
7308 2013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
7310 * sysdeps/powerpc/powerpc64/sysdep.h (FRAME_MIN_SIZE): Define.
7311 (FRAME_MIN_SIZE_PARM): Likewise.
7312 (FRAME_BACKCHAIN): Likewise.
7313 (FRAME_CR_SAVE): Likewise.
7314 (FRAME_LR_SAVE): Likewise.
7315 (FRAME_TOC_SAVE): Likewise.
7316 (FRAME_PARM_SAVE): Likewise.
7317 (FRAME_PARM1_SAVE, FRAME_PARM2_SAVE, FRAME_PARM3_SAVE,
7318 FRAME_PARM4_SAVE, FRAME_PARM5_SAVE, FRAME_PARM6_SAVE,
7319 FRAME_PARM7_SAVE, FRAME_PARM8_SAVE, FRAME_PARM9_SAVE): Likewise.
7320 (call_mcount_parm_offset): New macro.
7321 (SAVE_ARG, REST_ARG, CFI_SAVE_ARG): Use it.
7322 (PROF): Use symbolic stack frame offsets.
7323 (TAIL_CALL_SYSCALL_ERROR): Likewise.
7324 * sysdeps/powerpc/powerpc64/dl-trampoline.S (FRAME_SIZE, INT_PARMS):
7325 Redefine in terms of FRAME_MIN_SIZE.
7326 (_dl_runtime_resolve): Use symbolic stack frame offsets.
7327 (_dl_profile_resolve): Likewise. Update comment.
7328 * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI__setjmp): Use
7329 symbols stack frame offsets.
7330 (__sigsetjmp): Likewise.
7331 * sysdeps/powerpc/powerpc64/__longjmp-common.S (__longjmp): Likewise.
7332 * sysdeps/powerpc/powerpc64/ppc-mcount.S (_mcount): Likewise.
7333 * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Likewise.
7334 * sysdeps/powerpc/powerpc64/crtn.S (_init, _fini): Likewise.
7336 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ucontext_i.sym
7337 (FRAME_BACKCHAIN): Remove.
7338 (FRAME_CR_SAVE): Likewise.
7339 (FRAME_LR_SAVE): Likewise.
7340 (FRAME_COMPILER_DW): Likewise.
7341 (FRAME_LINKER_DW): Likewise.
7342 (FRAME_TOC_SAVE): Likewise.
7343 (FRAME_PARM_SAVE): Likewise.
7344 (FRAME_PARM1_SAVE, FRAME_PARM2_SAVE, FRAME_PARM3_SAVE)
7345 (FRAME_PARM4_SAVE, FRAME_PARM5_SAVE, FRAME_PARM6_SAVE)
7346 (FRAME_PARM7_SAVE, FRAME_PARM8_SAVE, FRAME_PARM9_SAVE): Likewise.
7347 * sysdeps/unix/sysv/linux/powerpc/powerpc64/____longjmp_chk.S
7348 (CHECK_SP): Use symbolic stack frame offsets.
7349 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Use "red
7350 zone" instead of caller's parameter save area for temp storage.
7351 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
7352 Likewise. Also, use symbolic stack frame offsets.
7353 * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (FRAMESIZE,
7354 stackblock): Redefine for _CALL_ELF == 2 to save parameters into
7355 our own stack frame instead of the caller's.
7356 (__socket): Use symbolic stack frame offsets.
7358 2013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
7359 Alan Modra <amodra@gmail.com>
7361 * elf/elf.h (DT_PPC64_OPT, PPC64_OPT_TLS, PPC64_OPT_MULTI_TOC):
7363 (STO_PPC64_LOCAL_BIT, STO_PPC64_LOCAL_MASK)
7364 (PPC64_LOCAL_ENTRY_OFFSET): Define.
7365 * sysdeps/powerpc/powerpc64/dl-machine.h (ppc64_local_entry_offset):
7367 (elf_machine_fixup_plt): Call it.
7368 (elf_machine_plt_conflict): Likewise. Add map, sym_map, and
7370 (elf_machine_rela): Update call to elf_machine_plt_conflict.
7371 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve)
7372 (_dl_profile_resolve) [_CALL_ELF == 2]: Restore caller's TOC into
7373 r2 before calling target.
7375 2013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
7376 Alan Modra <amodra@gmail.com>
7378 * sysdeps/powerpc/powerpc64/sysdep.h [_CALL_ELF == 2]
7379 (PPC64_LOAD_FUNCPTR, DOT_LABEL, BODY_LABEL, ENTRY_2, END_2): New
7380 versions of macros to support ELFv2 ABI.
7381 (LOCALENTRY): New macro.
7382 (ENTRY, EALIGN): Use it.
7383 * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Use LOCALENTRY.
7384 * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI__setjmp): Do not
7385 fall through into ENTRY entry point.
7386 * libc/sysdeps/powerpc/powerpc64/dl-machine.h (Elf64_FuncDesc):
7387 Only define if _CALL_ELF != 2.
7389 (elf_machine_matches_host): Verify ABI version matches.
7390 (RTLD_START): Use LOCALENTRY.
7391 (elf_machine_type_class): Use SHN_UNDEF PLT handling for ELFv2 ABI.
7392 (PLT_INITIAL_ENTRY_WORDS): New version for _CALL_ELF != 2.
7393 (PLT_ENTRY_WORDS): New macro.
7394 (GLINK_INITIAL_ENTRY_WORDS, GLINK_ENTRY_WORDS): Likewise.
7395 (elf_machine_runtime_setup): Support ELFv2 ABI.
7396 (elf_machine_fixup_plt): Likewise.
7397 (elf_machine_plt_conflict): Likewise.
7398 (resolve_ifunc): Likewise.
7399 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_irela): Likewise.
7400 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET):
7402 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ldsodefs.h
7403 (DL_ADDR_SYM_MATCH): Only define if _CALL_ELF != 2.
7404 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
7405 (makecontext): Support ELFv2 ABI.
7406 * elf/elf.h (EF_PPC64_ABI): Define.
7408 2013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
7410 * sysdeps/powerpc/powerpc64/sysdep.h
7411 (PPC64_LOAD_FUNCPTR) [ASSEMBLER]: New assembler macro.
7412 (ENTRY_1) [ASSEMBLER]: Do not switch to .text section here ...
7413 (ENTRY) [ASSEMBLER]: ... but instead here ...
7414 (EALIGN) [ASSEMBLER]: ... and here.
7415 (PPC64_LOAD_FUNCPTR) [!ASSEMBLER]: New macro.
7416 (ENTRY_1) [!ASSEMBLER]: New macro; set up .opd entry.
7417 (ENTRY_2) [!ASSEMBLER]: Use it.
7418 * sysdeps/powerpc/powerpc64/dl-machine.h (RTLD_START): Update for
7419 ENTRY_2 changes. Use PPC64_LOAD_FUNCPTR.
7420 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve)
7421 (_dl_profile_resolve): Use PPC64_LOAD_FUNCPTR.
7422 * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Use ENTRY_2.
7423 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (clone):
7424 Use PPC64_LOAD_FUNCPTR.
7426 * sysdeps/powerpc/tls.h (tcbhead_t): Add __private_ss field.
7428 2013-12-04 Alan Modra <amodra@gmail.com>
7430 * elf/elf.h (R_PPC64_TLSGD, R_PPC64_TLSLD, R_PPC64_TOCSAVE): Define.
7431 (R_PPC64_ADDR16_HIGH, R_PPC64_ADDR16_HIGHA): Likewise.
7432 (R_PPC64_TPREL16_HIGH, R_PPC64_TPREL16_HIGHA): Likewise.
7433 (R_PPC64_DTPREL16_HIGH, R_PPC64_DTPREL16_HIGHA): Likewise.
7435 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Add
7436 overflow checking for R_PPC64_ADDR16_HI, R_PPC64_ADDR16_HA,
7437 R_PPC64_TPREL16_HI, and R_PPC64_TPREL16_HA.
7438 Support new R_PPC64_ADDR16_HIGH, R_PPC64_ADDR16_HIGHA,
7439 R_PPC64_TPREL16_HIGH, and R_PPC64_TPREL16_HIGHA relocations.
7440 Fix overflow checking for R_PPC64_ADDR30 and R_PPC64_ADDR32.
7442 2013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
7444 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
7445 (__makecontext): Fix incorrect CFI when backtracing out of
7446 context created via makecontext.
7447 * sysdeps/unix/sysv/linux/powerpc/powerpc64/secontext.S
7448 (__setcontext): Fix incorrect CFI during switch to new context.
7449 (__novec_setcontext): Likewise.
7451 2013-12-04 Ondřej Bílka <neleai@seznam.cz>
7454 * time/strptime_l.c (__strptime_internal): Allow modifiers
7456 * time/tst-strptime.c (day_tests): Add testcase.
7458 2013-12-04 Siddhesh Poyarekar <siddhesh@redhat.com>
7460 * scripts/bench.pl: Skip over blank lines.
7462 2013-12-04 Paul Eggert <eggert@cs.ucla.edu>
7465 * manual/time.texi (Calendar Time): Clarify what timezone functions
7468 2013-12-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7470 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
7472 2013-12-04 Ondřej Bílka <neleai@seznam.cz>
7474 * debug/memcpy_chk.c (__memcpy_chk): Use call instead of custom
7476 * debug/memmove_chk.c (MEMMOVE_CHK): Likewise.
7477 * debug/mempcpy_chk.c (__mempcpy_chk): Likewise.
7478 * debug/memset_chk.c (__memset_chk): Likewise.
7479 * debug/stpncpy_chk.c (__stpncpy_chk): Likewise.
7480 * debug/strncpy_chk.c: Likewise.
7482 2013-12-03 Joseph Myers <joseph@codesourcery.com>
7486 * sysdeps/ieee754/dbl-64/e_exp.c: Include <float.h>.
7487 (__ieee754_exp): For possibly underflowing results, check size of
7488 result and force underflow exception if required.
7489 * math/auto-libm-test-in: Add more tests of exp.
7490 * math/auto-libm-test-out: Regenerated.
7491 * sysdeps/i386/fpu/libm-test-ulps: Update.
7492 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7495 * math/w_exp2.c (__exp2): Handle a zero result as underflow.
7496 * math/w_exp2f.c (__exp2f): Likewise.
7497 * math/w_exp2l.c (__exp2l): Likewise.
7498 * math/auto-libm-test-in: Do not allow missing errno on exp2
7500 * math/auto-libm-test-out: Regenerated.
7502 2013-12-03 Ondřej Bílka <neleai@seznam.cz>
7505 * sysdeps/unix/sysv/linux/shm_open.c (shm_open): Correctly
7506 handle filename validation.
7507 * rt/tst-shm.c (do_test): Do not skip a test when shm_open fails.
7510 2013-12-03 Joseph Myers <joseph@codesourcery.com>
7513 * sysdeps/ieee754/dbl-64/s_erf.c: Include <errno.h> and <float.h>.
7514 (__erfc): Set errno to ERANGE when returning 0 or tiny * tiny.
7515 * sysdeps/ieee754/flt-32/s_erff.c: Include <errno.h> and
7517 (__erfcf): Set errno to ERANGE when returning 0 or tiny * tiny.
7518 * sysdeps/ieee754/ldbl-128/s_erfl.c: Include <errno.h>.
7519 (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
7520 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Include <errno.h>.
7521 (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
7522 * sysdeps/ieee754/ldbl-96/s_erfl.c: Include <errno.h>.
7523 (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
7524 * math/auto-libm-test-in: Don't allow missing errno from erfc.
7525 Add more erfc tests.
7526 * math/auto-libm-test-out: Regenerated.
7527 * sysdeps/i386/fpu/libm-test-ulps: Update.
7528 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7530 * math/auto-libm-test-in: Add tests of erf, erfc, exp, exp10,
7531 exp2, expm1, j0 and j1.
7532 * math/auto-libm-test-out: Regenerated.
7533 * math/libm-test.inc (erf_test_data): Use AUTO_TESTS_f_f.
7534 (erfc_test_data): Likewise.
7535 (exp_test_data): Likewise.
7536 (exp_tonearest_test_data): Likewise.
7537 (exp_towardzero_test_data): Likewise.
7538 (exp_downward_test_data): Likewise.
7539 (exp_upward_test_data): Likewise.
7540 (exp10_test_data): Likewise.
7541 (exp2_test_data): Likewise.
7542 (expm1_test_data): Likewise.
7543 (j0_test_data): Likewise.
7544 (j1_test_data): Likewise.
7545 * math/gen-auto-libm-tests.c: Mention "xfail-rounding" in comment.
7546 (input_flag_type): Add flag_xfail_rounding.
7547 (input_flags): Add xfail-rounding.
7548 (adjust_real): Assert mpfr_number_p not mpfr_regular_p.
7549 (output_for_one_input_case): Handle flag_xfail_rounding.
7550 * sysdeps/i386/fpu/libm-test-ulps: Update.
7551 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7553 2013-12-03 Aurelien Jarno <aurelien@aurel32.net>
7556 * locale/loadarchive.c (_nl_load_locale_from_archive): Avoid
7559 2013-12-03 Siddhesh Poyarekar <siddhesh@redhat.com>
7562 * include/stap-probe.h [!USE_STAP_PROBE && !__ASSEMBLER__]
7563 (LIBC_PROBE): Change definition to call STAP_PROBE* macros.
7564 (STAP_PROBE0): New macro.
7565 (STAP_PROBE1): Likewise.
7566 (STAP_PROBE2): Likewise.
7567 (STAP_PROBE3): Likewise.
7568 (STAP_PROBE4): Likewise.
7570 2013-12-02 Ondřej Bílka <neleai@seznam.cz>
7572 * manual/llio.texi (Memory-mapped I/O): Add shm_open and shm_close.
7574 2013-12-02 Steve Ellcey <sellcey@mips.com>
7576 * benchtests/Makefile (bench): Add sqrt.
7577 (LDLIBS-bench-sqrt): New.
7578 * benchtests/sqrt-input: New.
7580 2013-12-02 Pavel Simerda <psimerda@redhat.com>
7582 * sysdeps/posix/getaddrinfo.c (GAIH_OKIFUNSPEC): Remove macro.
7583 (GAIH_EAI): Likewise.
7584 (gaih_inet_serv): Don't use GAIH_OKIFUNSPEC.
7585 (gaih_inet): Likewise.
7586 (getaddrinfo): Don't use GAIH_EAI.
7588 * sysdeps/posix/getaddrinfo.c (UNIX_PATH_MAX): Remove macro.
7589 (struct gaih): Remove definition.
7591 2013-12-02 Siddhesh Poyarekar <siddhesh@redhat.com>
7593 * nss/nss_files/files-hosts.c (_nss_files_gethostbyname4_r):
7594 Use HERRNOP directly.
7596 2013-12-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7598 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
7600 2013-11-30 Joseph Myers <joseph@codesourcery.com>
7602 * math/gen-auto-libm-tests.c (test_functions): Add more
7603 single-argument functions.
7604 (special_fill_pi_2): New function.
7605 (special_fill_minus_pi_2): Likewise.
7606 (special_fill_pi_6): Likewise.
7607 (special_fill_minus_pi_6): Likewise.
7608 (special_fill_pi_3): Likewise.
7609 (special_fill_2pi_3): Likewise.
7610 (special_fill_e): Likewise.
7611 (special_fill_1_e): Likewise.
7612 (special_fill_e_minus_1): Likewise.
7613 (special_real_inputs): Add more special inputs.
7614 (output_for_one_input_case): Do not require ERANGE on underflow to
7615 zero if round-to-nearest result does not underflow to zero, unless
7616 exact results required.
7617 * math/auto-libm-test-in: Add tests of acos, acosh, asin, asinh,
7618 atan, atanh, cbrt, cos and cosh.
7619 * math/auto-libm-test-out: Regenerated.
7620 * math/libm-test.inc (acos_test_data): Use AUTO_TESTS_f_f.
7621 (acos_tonearest_test_data): Likewise.
7622 (acos_towardzero_test_data): Likewise.
7623 (acos_downward_test_data): Likewise.
7624 (acos_upward_test_data): Likewise.
7625 (acosh_test_data): Likewise.
7626 (asin_test_data): Likewise.
7627 (asin_tonearest_test_data): Likewise.
7628 (asin_towardzero_test_data): Likewise.
7629 (asin_upward_test_data): Likewise.
7630 (asinh_test_data): Likewise.
7631 (atan_test_data): Likewise.
7632 (atanh_test_data): Likewise.
7633 (cbrt_test_data): Likewise.
7634 (cos_test_data): Likewise.
7635 (cos_tonearest_test_data): Likewise.
7636 (cos_towardzero_test_data): Likewise.
7637 (cos_downward_test_data): Likewise.
7638 (cos_upward_test_data): Likewise.
7639 (cosh_test_data): Likewise.
7640 (cosh_tonearest_test_data): Likewise.
7641 (cosh_towardzero_test_data): Likewise.
7642 (cosh_downward_test_data): Likewise.
7643 (cosh_upward_test_data): Likewise.
7644 * sysdeps/i386/fpu/libm-test-ulps: Update.
7645 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7647 2013-11-29 Joseph Myers <joseph@codesourcery.com>
7650 * math/w_exp10.c (__exp10): Handle a zero result as underflow.
7651 * math/w_exp10f.c (__exp10f): Likewise.
7652 * math/w_exp10l.c (__exp10l): Likewise.
7653 * math/libm-test.inc (exp10_test_data): Add more tests and expect
7654 errno settings in existing tests.
7657 * sysdeps/i386/fpu/e_sqrt.S (__ieee754_sqrt): Do fsqrt with
7658 precision control set to double precision.
7659 * sysdeps/i386/fpu/w_sqrt.c: New file.
7660 * math/auto-libm-test-in: Add more tests.
7661 * math/auto-libm-test-out: Update.
7663 * math/libm-test.inc (sqrt_tonearest_test_data): New variable.
7664 (sqrt_test_tonearest): New function.
7665 (sqrt_towardzero_test_data): New variable.
7666 (sqrt_test_towardzero): New function.
7667 (sqrt_downward_test_data): New variable.
7668 (sqrt_test_downward): New function.
7669 (sqrt_upward_test_data): New variable.
7670 (sqrt_test_upward): New function.
7671 (main): Call the new functions.
7673 * math/gen-auto-libm-tests.c: New file.
7674 * math/auto-libm-test-in: Likewise.
7675 * math/auto-libm-test-out: New generated file.
7676 * math/gen-libm-test.pl ($auto_input, %auto_tests): New global
7678 (%beautify): Add generated representations of zero.
7679 (top level): Set $auto_input and call parse_auto_input.
7680 (beautify): Remove trailing "f" from hex float constants.
7681 (parse_args): Handle XFAIL_TEST.
7682 (convert_condition): New function.
7683 (or_value): Likewise.
7684 (or_cond_value): Likewise.
7685 (generate_testfile): Handle AUTO_TESTS_* lines.
7686 (parse_auto_input): New function.
7687 * math/libm-test.inc (XFAIL_TEST): New macro.
7688 (ERRNO_UNCHANGED): Update value.
7689 (ERRNO_EDOM): Likewise.
7690 (ERRNO_ERANGE): Likewise.
7691 (IGNORE_RESULT): Likewise.
7692 (TEST_COND_flt_32): New macro.
7693 (TEST_COND_dbl_64): Likewise.
7694 (TEST_COND_ldbl_96_intel): Likewise.
7695 (TEST_COND_ldbl_96_m68k): Likewise.
7696 (TEST_COND_ldbl_128): Likewise.
7697 (TEST_COND_ldbl_128ibm): Likewise.
7698 (TEST_COND_long32): Likewise.
7699 (TEST_COND_long64): Likewise.
7700 (TEST_COND_before_rounding): Likewise.
7701 (TEST_COND_after_rounding): Likewise.
7702 (enable_test): Handle XFAIL_TEST flag.
7703 (sqrt_test_data): Use AUTO_TESTS_f_f for tests of finite inputs
7704 with finite results.
7705 * math/Makefile ($(objpfx)libm-test.stmp): Depend on
7708 2013-11-29 Siddhesh Poyarekar <siddhesh@redhat.com>
7709 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
7712 * sysdeps/s390/dl-tls.h (__TLS_GET_ADDR): Invoke
7713 __tls_get_addr_internal instead of __tls_get_offset in order to
7714 avoid GOT pointer dependency. Make rtld export
7715 __tls_get_addr_internal@@GLIBC_PRIVATE while still hiding
7716 __tls_get_addr since we are a __tls_get_offset platform.
7717 * sysdeps/s390/s390-64/tls-macros.h (TLS_IE PIC): Don't rely on
7718 GOT pointer being set up before.
7719 * sysdeps/s390/s390-32/tls-macros.h (TLS_IE PIC): Likewise.
7721 2013-11-28 Joseph Myers <joseph@codesourcery.com>
7723 * manual/math.texi (Errors in Math Functions): Document accuracy
7727 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Remove file.
7728 * sysdeps/ieee754/ldbl-96/e_ilogbl.c: Likewise.
7729 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
7730 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
7731 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
7732 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
7733 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
7734 * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
7735 * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
7736 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
7737 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
7738 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
7739 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
7740 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
7741 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
7742 * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
7744 * sysdeps/powerpc/nofpu/atomic-feclearexcept.c: New file.
7745 * sysdeps/powerpc/nofpu/atomic-feholdexcept.c: Likewise.
7746 * sysdeps/powerpc/nofpu/atomic-feupdateenv.c: Likewise.
7747 * sysdeps/powerpc/nofpu/flt-rounds.c: Likewise.
7748 * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feclearexcept.c:
7750 * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feholdexcept.c:
7752 * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feupdateenv.c:
7754 * sysdeps/powerpc/powerpc32/e500/nofpu/flt-rounds.c: Likewise.
7755 * sysdeps/powerpc/nofpu/Makefile [$(subdir) = soft-fp]
7756 (sysdep_routines): Add atomic-feholdexcept, atomic-feclearexcept,
7757 atomic-feupdateenv and flt-rounds.
7758 * sysdeps/powerpc/nofpu/Versions (libc): Add
7759 __atomic_feholdexcept, __atomic_feclearexcept,
7760 __atomic_feupdateenv and __flt_rounds to GLIBC_2.19.
7761 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h
7762 (__feraiseexcept_soft): Declare and use libc_hidden_proto here.
7763 * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c
7764 (__feraiseexcept_soft): Don't declare and use libc_hidden_proto
7766 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libc.abilist:
7769 * manual/arith.texi (FP Exceptions): Document that exceptions may
7770 not be raised when matherr is used.
7771 (Math Error Reporting): Document overflow in directed rounding
7772 modes. Document that errno may not be set when finite values are
7773 returned on overflow. Document intent to set errno on underflow
7774 only for underflow to zero.
7777 * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Set
7778 round-to-nearest then adjust result for other rounding modes.
7779 * include/fenv.h (fegetround): Use libm_hidden_proto.
7780 * math/fegetround.c (fegetround): Use libm_hidden_def.
7781 * sysdeps/i386/fpu/fegetround.c (fegetround): Likewise.
7782 * sysdeps/powerpc/fpu/fegetround.c (fegetround): Likewise.
7783 * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Likewise.
7784 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c (fegetround):
7786 * sysdeps/s390/fpu/fegetround.c (fegetround): Likewise.
7787 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
7788 * sysdeps/sparc/fpu/fegetround.c (fegetround): Likewise.
7789 * sysdeps/x86_64/fpu/fegetround.c (fegetround): Likewise.
7791 2013-11-28 Siddhesh Poyarekar <siddhesh@redhat.com>
7794 * nss/Versions (libnss_files): Add
7795 _nss_files_gethostbyname3_r.
7796 * nss/nss_files/files-hosts.c (_nss_files_gethostbyname3_r):
7798 (HOST_DB_LOOKUP): Remove macro.
7799 (_nss_files_gethostbyname_r): Implement function without the
7800 HOST_DB_LOOKUP macro.
7801 (_nss_files_gethostbyname2_r): Likewise.
7803 2013-11-28 Ondřej Bílka <neleai@seznam.cz>
7805 * malloc/malloc.c (__libc_calloc): Make memset a tail call.
7807 2013-11-26 Uros Bizjak <ubizjak@gmail.com>
7809 * soft-fp/op-4.h (_FP_FRAC_ASSEMBLE_4): Check rsize against
7810 _FP_W_TYPE_SIZE to avoid "left shift count >= width of type"
7813 2013-11-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7815 * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Use
7816 __fe_nomask_env_priv instead of __fe_nomask_env to avoid a PLT call.
7817 * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Likewise.
7818 * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Likewise.
7819 * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Rename to
7820 __fe_nomask_env_priv and attribute_hidden.
7821 * sysdeps/powerpc/fpu/fenv_private.h (libc_fesetenv_ppc): Likewise.
7822 (libc_feupdateenv_test_ppc): Likewise.
7823 (libc_feresetround_ppc): Likewise.
7824 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
7825 (__fe_nomask_env): Rename to __fe_nomask_env_priv and adjust
7826 compat_symbol macro.
7827 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
7828 (__fe_nomask_env): Likewise.
7829 * sysdeps/powerpc/fpu/fe_nomask.c (__fe_nomask_env): Likewise.
7831 2013-11-26 Ondřej Bílka <neleai@seznam.cz>
7833 * string/Makefile: Remove ifunc tests.
7834 * string/test-string.h: Define TEST_IFUNC.
7835 * string/test-bcopy-ifunc.c: Remove.
7836 * string/test-bzero-ifunc.c: Likewise.
7837 * string/test-memccpy-ifunc.c: Likewise.
7838 * string/test-memchr-ifunc.c: Likewise.
7839 * string/test-memcmp-ifunc.c: Likewise.
7840 * string/test-memcpy-ifunc.c: Likewise.
7841 * string/test-memmem-ifunc.c: Likewise.
7842 * string/test-memmove-ifunc.c: Likewise.
7843 * string/test-mempcpy-ifunc.c: Likewise.
7844 * string/test-memrchr-ifunc.c: Likewise.
7845 * string/test-memset-ifunc.c: Likewise.
7846 * string/test-rawmemchr-ifunc.c: Likewise.
7847 * string/test-stpcpy-ifunc.c: Likewise.
7848 * string/test-stpncpy-ifunc.c: Likewise.
7849 * string/test-strcasecmp-ifunc.c: Likewise.
7850 * string/test-strcasestr-ifunc.c: Likewise.
7851 * string/test-strcat-ifunc.c: Likewise.
7852 * string/test-strchr-ifunc.c: Likewise.
7853 * string/test-strchrnul-ifunc.c: Likewise.
7854 * string/test-strcmp-ifunc.c: Likewise.
7855 * string/test-strcpy-ifunc.c: Likewise.
7856 * string/test-strcspn-ifunc.c: Likewise.
7857 * string/test-strlen-ifunc.c: Likewise.
7858 * string/test-strncasecmp-ifunc.c: Likewise.
7859 * string/test-strncat-ifunc.c: Likewise.
7860 * string/test-strncmp-ifunc.c: Likewise.
7861 * string/test-strncpy-ifunc.c: Likewise.
7862 * string/test-strnlen-ifunc.c: Likewise.
7863 * string/test-strpbrk-ifunc.c: Likewise.
7864 * string/test-strrchr-ifunc.c: Likewise.
7865 * string/test-strspn-ifunc.c: Likewise.
7866 * string/test-strstr-ifunc.c: Likewise.
7868 2013-11-26 Ondřej Bílka <neleai@seznam.cz>
7870 * benchtests/Makefile: Remove ifunc tests.
7871 * benchtests/bench-string.h: Define TEST_IFUNC.
7872 * benchtests/bench-bcopy-ifunc.c: Remove.
7873 * benchtests/bench-bzero-ifunc.c: Likewise.
7874 * benchtests/bench-memccpy-ifunc.c: Likewise.
7875 * benchtests/bench-memchr-ifunc.c: Likewise.
7876 * benchtests/bench-memcmp-ifunc.c: Likewise.
7877 * benchtests/bench-memcpy-ifunc.c: Likewise.
7878 * benchtests/bench-memmem-ifunc.c: Likewise.
7879 * benchtests/bench-memmove-ifunc.c: Likewise.
7880 * benchtests/bench-mempcpy-ifunc.c: Likewise.
7881 * benchtests/bench-memrchr-ifunc.c: Likewise.
7882 * benchtests/bench-memset-ifunc.c: Likewise.
7883 * benchtests/bench-rawmemchr-ifunc.c: Likewise.
7884 * benchtests/bench-stpcpy_chk-ifunc.c: Likewise.
7885 * benchtests/bench-stpcpy-ifunc.c: Likewise.
7886 * benchtests/bench-stpncpy-ifunc.c: Likewise.
7887 * benchtests/bench-strcasecmp-ifunc.c: Likewise.
7888 * benchtests/bench-strcasestr-ifunc.c: Likewise.
7889 * benchtests/bench-strcat-ifunc.c: Likewise.
7890 * benchtests/bench-strchr-ifunc.c: Likewise.
7891 * benchtests/bench-strchrnul-ifunc.c: Likewise.
7892 * benchtests/bench-strcmp-ifunc.c: Likewise.
7893 * benchtests/bench-strcpy_chk-ifunc.c: Likewise.
7894 * benchtests/bench-strcpy-ifunc.c: Likewise.
7895 * benchtests/bench-strcspn-ifunc.c: Likewise.
7896 * benchtests/bench-strlen-ifunc.c: Likewise.
7897 * benchtests/bench-strncasecmp-ifunc.c: Likewise.
7898 * benchtests/bench-strncat-ifunc.c: Likewise.
7899 * benchtests/bench-strncmp-ifunc.c: Likewise.
7900 * benchtests/bench-strncpy-ifunc.c: Likewise.
7901 * benchtests/bench-strnlen-ifunc.c: Likewise.
7902 * benchtests/bench-strpbrk-ifunc.c: Likewise.
7903 * benchtests/bench-strrchr-ifunc.c: Likewise.
7904 * benchtests/bench-strsep-ifunc.c: Likewise.
7905 * benchtests/bench-strspn-ifunc.c: Likewise.
7906 * benchtests/bench-strstr-ifunc.c: Likewise.
7908 2013-11-26 Ondřej Bílka <neleai@seznam.cz>
7910 * sysdeps/x86_64/dl-tlsdesc.S (_dl_tlsdesc_resolve_hold): Fix typo.
7912 2013-11-26 Ondřej Bílka <neleai@seznam.cz>
7914 * resolv/netdb.h: Use __glibc_reserved instead __unused.
7915 * rt/aio.h: Likewise.
7916 * sysdeps/gnu/bits/utmp.h: Likewise.
7917 * sysdeps/gnu/bits/utmpx.h: Likewise.
7918 * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
7919 * sysdeps/unix/sysv/linux/bits/ipc.h: Likewise.
7920 * sysdeps/unix/sysv/linux/bits/msq.h: Likewise.
7921 * sysdeps/unix/sysv/linux/bits/sem.h: Likewise.
7922 * sysdeps/unix/sysv/linux/bits/shm.h: Likewise.
7923 * sysdeps/unix/sysv/linux/bits/stat.h: Likewise.
7924 * sysdeps/unix/sysv/linux/kernel_stat.h: Likewise.
7925 * sysdeps/unix/sysv/linux/ntp_gettimex.c: Likewise.
7926 * sysdeps/unix/sysv/linux/powerpc/bits/ipc.h: Likewise.
7927 * sysdeps/unix/sysv/linux/powerpc/bits/msq.h: Likewise.
7928 * sysdeps/unix/sysv/linux/powerpc/bits/sem.h: Likewise.
7929 * sysdeps/unix/sysv/linux/powerpc/bits/shm.h: Likewise.
7930 * sysdeps/unix/sysv/linux/powerpc/bits/stat.h: Likewise.
7931 * sysdeps/unix/sysv/linux/powerpc/powerpc32/kernel_stat.h: Likewise.
7932 * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
7933 * sysdeps/unix/sysv/linux/s390/bits/ipc.h: Likewise.
7934 * sysdeps/unix/sysv/linux/s390/bits/msq.h: Likewise.
7935 * sysdeps/unix/sysv/linux/s390/bits/sem.h: Likewise.
7936 * sysdeps/unix/sysv/linux/s390/bits/shm.h: Likewise.
7937 * sysdeps/unix/sysv/linux/s390/bits/stat.h: Likewise.
7938 * sysdeps/unix/sysv/linux/s390/bits/utmp.h: Likewise.
7939 * sysdeps/unix/sysv/linux/s390/bits/utmpx.h: Likewise.
7940 * sysdeps/unix/sysv/linux/s390/s390-32/utmp32.h: Likewise.
7941 * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
7942 * sysdeps/unix/sysv/linux/sh/bits/shm.h: Likewise.
7943 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
7944 * sysdeps/unix/sysv/linux/sparc/bits/ipc.h: Likewise.
7945 * sysdeps/unix/sysv/linux/sparc/bits/msq.h: Likewise.
7946 * sysdeps/unix/sysv/linux/sparc/bits/sem.h: Likewise.
7947 * sysdeps/unix/sysv/linux/sparc/bits/shm.h: Likewise.
7948 * sysdeps/unix/sysv/linux/sparc/bits/stat.h: Likewise.
7949 * sysdeps/unix/sysv/linux/sparc/sparc32/kernel_stat.h: Likewise.
7950 * sysdeps/unix/sysv/linux/sparc/sparc64/kernel_stat.h: Likewise.
7951 * sysdeps/unix/sysv/linux/sparc/sparc64/xstatconv.c: Likewise.
7952 * sysdeps/unix/sysv/linux/sparc/sys/procfs.h: Likewise.
7953 * sysdeps/unix/sysv/linux/sys/timex.h: Likewise.
7954 * sysdeps/unix/sysv/linux/x86/bits/msq.h: Likewise.
7955 * sysdeps/unix/sysv/linux/x86/bits/sem.h: Likewise.
7956 * sysdeps/unix/sysv/linux/x86/bits/shm.h: Likewise.
7957 * sysdeps/unix/sysv/linux/x86/bits/stat.h: Likewise.
7958 * sysdeps/unix/sysv/linux/xstatconv.c: Likewise.
7959 * sysdeps/x86/fpu/bits/fenv.h: Likewise.
7961 2013-11-25 Carlos O'Donell <carlos@redhat.com>
7964 * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes):
7965 Rename PTRAVE_EVENT_SECCOMP to PTRACE_EVENT_SECCOMP.
7967 2013-11-25 Joseph Myers <joseph@codesourcery.com>
7969 * sysdeps/powerpc/nofpu/fenv_libc.h (__fegetround): New macro.
7970 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h (__fegetround):
7973 2013-11-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7975 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Use
7976 SET_RESTORE_ROUND instead of feholdexcept/fesetround/fesetenv.
7977 * sysdeps/powerpc/fpu/fenv_libc.h (__fegetround): Remove define.
7978 (__fesetround): Remove define.
7979 * sysdeps/powerpc/fpu/fenv_private.h: New file: Inline floating point
7980 rounding and exceptions handling.
7981 * sysdeps/powerpc/fpu/math_private.h: Include fenv_private.h.
7982 * sysdeps/powerpc/fpu/fenv_libc.h (__fe_mask_env): Define as hidden.
7983 (__fe_nomask_env): Likewise.
7984 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c (__llrintl): Use
7985 __fegetround instead of fegetround.
7986 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Likewise.
7987 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c (__rintl): Likewise.
7989 2013-11-21 Roland McGrath <roland@hack.frob.com>
7991 * malloc/malloc.c: Move #include <sys/param.h> to the top; comment why
7994 * sysdeps/generic/sys/swap.h (swapon): Add FLAGS argument to prototype.
7996 2013-11-21 Meador Inge <meadori@codesourcery.com>
7999 * crypt/crypt.h (encrypt): Use __glibc_block instead of __block.
8000 (encrypt_r): Likewise.
8001 * malloc/obstack.h (obstack_free): Likewise.
8002 * posix/unistd.h (encrypt): Likewise.
8004 2013-11-21 Guy Martin <gmsoft@tuxicoman.be>
8006 * sysdeps/generic/ldsodefs.h: Replace DL_DT_INIT_ADDRESS() and
8007 DL_DT_FINI_ADDRESS() macro with DL_CALL_DT_INIT() and
8008 DL_CALL_DT_FINI() that call the functions directly.
8009 * elf/dl-init.c: Use the new DL_CALL_DT_INIT() macro.
8010 * elf/dl-close.c: Use the new DL_CALL_DT_FINI() macro.
8011 * elf/dl-fini.c: Likewise.
8013 2013-11-20 Ondřej Bílka <neleai@seznam.cz>
8015 * malloc/hooks.c (memalign_check): Add alignment rounding.
8016 * malloc/malloc.c (_mid_memalign): New function.
8017 (__libc_valloc, __libc_pvalloc, __libc_memalign, __posix_memalign):
8018 Implement by calling _mid_memalign.
8019 * manual/probes.texi (Memory Allocation Probes): Remove
8020 memory_valloc_retry and memory_pvalloc_retry.
8022 2013-11-20 Siddhesh Poyarekar <siddhesh@redhat.com>
8024 * locale/programs/locarchive.c (open_archive): Add const
8025 qualifier to ARCHIVEFNAME and copy default fname to
8029 * libio/tst-widetext.input: Rename Oriya to Odia.
8030 * locale/iso-639.def: Likewise.
8032 * manual/probes.texi (Mathematical Function Probes): Add
8033 documentation for sin, cos, asin and acos probes.
8034 * sysdeps/ieee754/dbl-64/sincos32.c: Include stap-probe.h.
8035 (__sin32): Add slowasin probe.
8036 (__cos32): Add slowacos probe.
8037 (__mpsin): Add slowsin probe.
8038 (__mpcos): Add slowcos probe.
8040 2013-11-19 Joseph Myers <joseph@codesourcery.com>
8043 * sysdeps/powerpc/nofpu/sim-full.c (__sim_exceptions): Change to
8044 thread-local __sim_exceptions_thread and global
8045 __sim_exceptions_global.
8046 (__sim_disabled_exceptions): Change to thread-local
8047 __sim_disabled_exceptions_thread and global
8048 __sim_disabled_exceptions_global.
8049 (__sim_round_mode): Change to thread-local __sim_round_mode_thread
8050 and global __sim_round_mode_global.
8051 (__simulate_exceptions): Use thread-local floating-point state and
8052 set global state from it as needed.
8053 * sysdeps/powerpc/nofpu/Versions (GLIBC_PRIVATE): Add
8054 __sim_exceptions_thread, __sim_disabled_exceptions_thread and
8055 __sim_round_mode_thread.
8056 * sysdeps/powerpc/nofpu/soft-supp.h: Include <shlib-compat.h>.
8057 (__sim_exceptions): Change to thread-local __sim_exceptions_thread
8058 and global __sim_exceptions_global.
8059 (__sim_disabled_exceptions): Change to thread-local
8060 __sim_disabled_exceptions_thread and global
8061 __sim_disabled_exceptions_global.
8062 (__sim_round_mode): Change to thread-local __sim_round_mode_thread
8063 and global __sim_round_mode_global.
8064 [SIM_GLOBAL_COMPAT] (SIM_COMPAT_SYMBOL): New macro.
8065 (SIM_SET_GLOBAL): Likewise.
8066 * sysdeps/powerpc/soft-fp/sfp-machine.h
8067 [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_ROUNDMODE): Use
8068 __sim_round_mode_thread.
8069 [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_TRAPPING_EXCEPTIONS): Use
8070 __sim_disabled_exceptions_thread.
8071 (__sim_exceptions): Change to __sim_exceptions_thread.
8072 (__sim_disabled_exceptions): Change to
8073 __sim_disabled_exceptions_thread.
8074 (__sim_round_mode): Change to __sim_round_mode_thread.
8075 * sysdeps/powerpc/nofpu/fclrexcpt.c (__feclearexcept): Use
8076 thread-local floating-point state and set global state from it as
8078 * sysdeps/powerpc/nofpu/fedisblxcpt.c (fedisableexcept): Likewise.
8079 * sysdeps/powerpc/nofpu/feenablxcpt.c: Include "soft-supp.h".
8080 (__sim_disabled_exceptions): Remove extern declaration.
8081 (feenableexcept): Use thread-local floating-point state and set
8082 global state from it as needed.
8083 * sysdeps/powerpc/nofpu/fegetenv.c (__sim_exceptions): Remove
8085 (__sim_disabled_exceptions): Likewise.
8086 (__sim_round_mode): Likewise.
8087 (__fegetenv): Use thread-local floating-point state.
8088 * sysdeps/powerpc/nofpu/fegetexcept.c (fegetexcept): Likewise.
8089 * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Likewise.
8090 * sysdeps/powerpc/nofpu/fesetenv.c (__fesetenv): Use thread-local
8091 floating-point state and set global state from it as needed.
8092 * sysdeps/powerpc/nofpu/fesetround.c (fesetround): Likewise.
8093 * sysdeps/powerpc/nofpu/feupdateenv.c (__feupdateenv): Likewise.
8094 * sysdeps/powerpc/nofpu/fgetexcptflg.c (__fegetexceptflag):
8096 * sysdeps/powerpc/nofpu/fraiseexcpt.c (__feraiseexcept): Likewise.
8097 * sysdeps/powerpc/nofpu/fsetexcptflg.c (__fesetexceptflag):
8099 sysdeps/powerpc/nofpu/ftestexcept.c (fetestexcept): Likewise.
8100 * sysdeps/powerpc/nofpu/get-rounding-mode.h (get_rounding_mode):
8101 Use __sim_round_mode_thread.
8102 * math/test-fenv-tls.c: New file.
8103 * math/Makefile (tests): Add test-fenv-tls.
8104 ($(objpfx)test-fenv-tls): Depend on
8105 $(common-objpfx)nptl/libpthread.so.
8107 2013-11-19 Andreas Schwab <schwab@suse.de>
8109 * locale/programs/locale.c (show_info): Decode wordarray elements.
8110 * locale/categories.def (LC_MONETARY): Add element for
8111 _NL_MONETARY_CRNCYSTR.
8112 * locale/C-monetary.c (conversion_rate): New variable.
8113 (_nl_C_LC_MONETARY): Use it for _NL_MONETARY_CONVERSION_RATE
8116 2013-11-18 Chris Metcalf <cmetcalf@tilera.com>
8118 * math/test-fpucw-ieee.c [!defined _FPU_IEEE] (FPU_CONTROL):
8119 Omit definition of FPU_CONTROL and use default if no _FPU_IEEE.
8121 2013-11-18 Paul Pluzhnikov <ppluzhnikov@google.com>
8123 * elf/Makefile (tst-auxv): New test.
8124 * elf/tst-auxv.c: New
8125 * elf/rtld.c (dl_main): Adjust AT_EXECFN
8127 2013-11-18 Joseph Myers <joseph@codesourcery.com>
8129 * include/libc-symbols.h (__hidden_proto): Add argument "thread".
8130 (hidden_proto): Caller changed.
8131 (hidden_tls_proto): New macro.
8132 (libc_hidden_tls_proto): Likewise.
8133 (rtld_hidden_tls_proto): Likewise.
8134 (libm_hidden_tls_proto): Likewise.
8135 (libresolv_hidden_tls_proto): Likewise.
8136 (librt_hidden_tls_proto): Likewise.
8137 (libdl_hidden_tls_proto): Likewise.
8138 (libnss_files_hidden_tls_proto): Likewise.
8139 (libnsl_hidden_tls_proto): Likewise.
8140 (libnss_nisplus_hidden_tls_proto): Likewise.
8141 (libutil_hidden_tls_proto): Likewise.
8143 2013-11-18 Ondřej Bílka <neleai@seznam.cz>
8146 * elf/dl-load.c (fillin_rpath): Add linkmap parameter and expand path.
8147 (decompose_rpath): Defer expansion to fillin_rpath.
8148 (_dl_init_paths): Pass linkmap to fillin_rpath.
8150 2013-11-18 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
8152 * benchtests/Makefile: Add strsep.
8153 * benchtests/bench-strsep.c: New file: strsep benchtest.
8154 * benchtests/bench-strsep-ifunc.c: New file: strsep benchtest.
8156 2013-11-18 Andreas Schwab <schwab@suse.de>
8158 * locale/programs/locale.c (show_info) [case byte]: Check for
8159 '\377' instead of '\177'.
8160 * locale/C-monetary.c (not_available): Always use "\377".
8161 * stdlib/strfmon_l.c (__vstrfmon_l): Use -2 as marker for
8162 unspecified p_sign_posn and n_sign_posn. Check for '\377' to
8163 detect unavailable sign_posn locale elements.
8164 * locale/localeconv.c (__localeconv): For grouping and
8165 mon_grouping handle "\177" and "\377" like no grouping.
8166 (INT_ELEM): New macro. Use it to set all numeric members.
8167 * locale/programs/ld-monetary.c (monetary_read)
8168 <tok_mon_grouping>: Normalize single -1 to the empty string.
8169 * locale/programs/ld-numeric.c (numeric_read) <tok_grouping>:
8172 2013-11-07 Ondřej Bílka <neleai@seznam.cz>
8175 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Limit width
8176 when we match (nil).
8177 * stdio-common/tst-sscanf.c (struct test): Add testcase.
8179 2013-11-16 Joseph Myers <joseph@codesourcery.com>
8181 * math/libm-test.inc (TEST_NAN_SIGN): New macro.
8182 (NO_TEST_INLINE): Update value.
8183 (ERRNO_UNCHANGED): Likewise.
8184 (ERRNO_EDOM): Likewise.
8185 (ERRNO_ERANGE): Likewise.
8186 (IGNORE_RESULT): Likewise.
8187 (check_float_internal): Check signs of NaN results if
8189 (check_complex): Pass TEST_NAN_SIGN flag through to second
8190 check_float_internal call.
8191 (copysign_test_data): Add tests with quiet NaNs as second
8192 argument. Use TEST_NAN_SIGN.
8193 (fabs_test_data): Add test of negative quiet NaN argument. Use
8195 (signbit_test_data): Add tests of quiet NaN argument.
8196 * math/gen-libm-test.pl (parse_args): Handle TEST_NAN_SIGN.
8198 * math/gen-libm-test.pl (show_exceptions): Take extra argument
8200 (parse_args): Handle function results specified as IGNORE.
8201 * math/libm-test.inc (IGNORE_RESULT): New macro.
8202 (check_float_internal): Do not check numerical result if flag
8204 (check_complex): Pass through IGNORE_RESULT to second
8205 check_float_internal call.
8206 (check_int): Do not check numerical result if flag IGNORE_RESULT
8208 (check_long): Likewise.
8209 (check_bool): Likewise.
8210 (check_longlong): Likewise.
8211 (lrint_test_data): Add tests of infinite and NaN arguments.
8212 (lrint_tonearest_test_data): Likewise.
8213 (lrint_towardzero_test_data): Likewise.
8214 (lrint_downward_test_data): Likewise.
8215 (lrint_upward_test_data): Likewise.
8216 (llrint_test_data): Likewise.
8217 (llrint_tonearest_test_data): Likewise.
8218 (llrint_towardzero_test_data): Likewise.
8219 (llrint_downward_test_data): Likewise.
8220 (llrint_upward_test_data): Likewise.
8221 (lround_test_data): Likewise.
8222 (llround_test_data): Likewise.
8224 * math/libm-test.inc (NO_TEST_INLINE): New macro.
8225 (ERRNO_UNCHANGED): Update value.
8226 (ERRNO_EDOM): Likewise.
8227 (ERRNO_ERANGE): Likewise.
8228 (NO_TEST_INLINE_FLOAT): New macro.
8229 (NO_TEST_INLINE_DOUBLE): Likewise.
8230 (enable_test): New function.
8231 (RUN_TEST_f_f): Check enable_test before running test.
8232 (RUN_TEST_2_f): Likewise.
8233 (RUN_TEST_fff_f): Likewise.
8234 (RUN_TEST_c_f): Likewise.
8235 (RUN_TEST_f_f1): Likewise.
8236 (RUN_TEST_fF_f1): Likewise.
8237 (RUN_TEST_fI_f1): Likewise.
8238 (RUN_TEST_ffI_f1): Likewise.
8239 (RUN_TEST_c_c): Likewise.
8240 (RUN_TEST_cc_c): Likewise.
8241 (RUN_TEST_f_i): Likewise.
8242 (RUN_TEST_f_i_tg): Likewise.
8243 (RUN_TEST_ff_i_tg): Likewise.
8244 (RUN_TEST_f_b): Likewise.
8245 (RUN_TEST_f_b_tg): Likewise.
8246 (RUN_TEST_f_l): Likewise.
8247 (RUN_TEST_f_L): Likewise.
8248 (RUN_TEST_fFF_11): Likewise.
8249 (asinh_test_data): Use NO_TEST_INLINE instead of [!TEST_INLINE]
8251 (cosh_test_data): Likewise.
8252 (exp_test_data): Likewise.
8253 (expm1_test_data): Likewise.
8254 (hypot_test_data): Likewise.
8255 (pow_test_data): Likewise.
8256 (sinh_test_data): Likewise.
8257 (tanh_test_data): Likewise.
8258 * math/gen-libm-test.pl (parse_args): Allow NO_TEST_INLINE as
8261 * libm-test.inc (acos_test_data): Disallow inexact exceptions for
8262 tests with quiet NaN input and output.
8263 (acosh_test_data): Likewise.
8264 (asin_test_data): Likewise.
8265 (asinh_test_data): Likewise.
8266 (atan_test_data): Likewise.
8267 (atanh_test_data): Likewise.
8268 (atan2_test_data): Likewise.
8269 (cbrt_test_data): Likewise.
8270 (cos_test_data): Likewise.
8271 (cosh_test_data): Likewise.
8272 (erf_test_data): Likewise.
8273 (erfc_test_data): Likewise.
8274 (exp_test_data): Likewise.
8275 (exp10_test_data): Likewise.
8276 (exp2_test_data): Likewise.
8277 (expm1_test_data): Likewise.
8278 (hypot_test_data): Likewise.
8279 (j0_test_data): Likewise.
8280 (j1_test_data): Likewise.
8281 (jn_test_data): Likewise.
8282 (lgamma_test_data): Likewise.
8283 (log_test_data): Likewise.
8284 (log10_test_data): Likewise.
8285 (log1p_test_data): Likewise.
8286 (log2_test_data): Likewise.
8287 (pow_test_data): Likewise.
8288 (scalb_test_data): Likewise.
8289 (sin_test_data): Likewise.
8290 (sincos_test_data): Likewise.
8291 (sinh_test_data): Likewise.
8292 (tan_test_data): Likewise.
8293 (tanh_test_data): Likewise.
8294 (tgamma_test_data): Likewise.
8295 (y0_test_data): Likewise.
8296 (y1_test_data): Likewise.
8297 (yn_test_data): Likewise.
8300 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Check for first
8301 argument being NaN and avoid computations with second argument in
8303 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
8304 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.
8305 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
8307 2013-11-15 Arun Kumar Pyasi <arun@chitwanix.com>
8309 * locale/iso-639.def: Add Chitwani Tharu (the).
8311 2013-11-14 Andreas Schwab <schwab@suse.de>
8313 * locale/C-address.c (_nl_C_LC_ADDRESS): Set country_num to zero
8314 word instead of empty string.
8316 2013-11-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8318 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
8319 (__fe_nomask_env): Fir compat symbol to be remove for GLIBC_2.19.
8320 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
8321 (__fe_nomask_env): Likewise.
8323 2013-11-13 Steve Ellcey <sellcey@mips.com>
8325 * benchtests/bench-timing.h: Include time.h.
8327 2013-11-13 H.J. Lu <hongjiu.lu@intel.com>
8330 * sysdeps/unix/sysv/linux/configure.ac (arch_minimum_kernel): Set
8332 * sysdeps/unix/sysv/linux/configure: Regenerated.
8334 2013-11-13 Joseph Myers <joseph@codesourcery.com>
8337 * stdlib/strtod_l.c (round_and_return): Do not consider
8338 retval[RETURN_LIBM_SIZE - 1] when determining more_bits for an
8339 exponent one less than half the least subnormal exponent.
8340 * stdlib/test-strtod-round-data: Add more tests.
8341 * stdlib/tst-strtod-round.c (tests): Regenerated.
8343 2013-11-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8346 * sysdeps/powerpc/bits/fenv.h (__fe_nomask_env): Remove declaration.
8347 (__fe_mask_env): Likewise.
8348 * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Remove
8349 libm_hidden_proto and add function prototype.
8350 (__fe_mask_env): Add function prototype.
8351 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
8352 (__fe_nomask_env): Add compat symbol for GLIBC_2.1.
8353 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
8354 (__fe_mask_env): Remove compiler warnings regarding ununsed variables.
8355 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
8356 (__fe_nomask_env): Add compat symbol for GLIBC_2.3.
8358 2013-11-13 Marcus Shawcroft <marcus.shawcroft@linaro.org>
8360 * elf/dl-lookup.c (_dl_lookup_symbol_x): If UNDEF_MAP is false
8361 set reference_name to "" to avoid passing NULL to DSO_FILENAME.
8363 2013-11-13 Marcus Shawcroft <marcus.shawcroft@linaro.org>
8365 * elf/tlsdeschtab.h (_dl_make_tlsdesc_dynamic): Handle failure
8366 of htab_find_slot().
8368 2013-11-11 David S. Miller <davem@davemloft.net>
8371 * sysdeps/sparc/sparc64/multiarch/add_n.S: Resolve to the correct generic
8372 symbol in the non-vis3 case in static builds.
8373 * sysdeps/sparc/sparc64/multiarch/addmul_1.S: Likewise.
8374 * sysdeps/sparc/sparc64/multiarch/mul_1.S: Likewise.
8375 * sysdeps/sparc/sparc64/multiarch/sub_n.S: Likewise.
8376 * sysdeps/sparc/sparc64/multiarch/submul_1.S: Likewise.
8378 2013-11-11 Jan Kratochvil <jan.kratochvil@redhat.com>
8381 * elf/dl-object.c (_dl_new_object): Initialize L_NAME from NEWNAME if
8384 2013-11-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8386 * benchtests/Makefile: Add bench-strtod.
8387 * benchtests/bench-strtod.c: New file: strtod benchtest
8389 2013-11-11 Andreas Schwab <schwab@suse.de>
8392 * nscd/nscd_getserv_r.c (__nscd_getservbyport_r): Don't include
8393 terminating NUL in key length.
8395 2013-11-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8397 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET):
8398 Add artificial ODP entry for vDSO symbol for PPC64.
8399 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Adjust includes.
8400 * sysdeps/unix/sysv/linux/powerpc/time.c: Likewise.
8402 2013-11-07 Ondřej Bílka <neleai@seznam.cz>
8405 * nss/getent.c (services_keys): Recognize services starting with digit.
8407 2013-11-06 David S. Miller <davem@davemloft.net>
8410 * sysdeps/sparc/sparc32/fpu/s_fdim.S (__fdim): Do not use fnegd
8411 on pre-v9 cpus, use a fnegs+fmovs sequence instead.
8413 2013-11-06 Will Newton <will.newton@linaro.org>
8415 * manual/memory.texi (Malloc Examples): Remove register
8416 keyword from examples.
8418 2013-11-04 Chris Leonard <cjl@sugarlabs.org>
8420 * locale/iso-639.def: Correct Walaita (wal) and add Unami Delaware (unm).
8422 2013-11-04 Joseph Myers <joseph@codesourcery.com>
8425 * include/stdc-predef.h [__GCC_IEC_559] (__STDC_IEC_559__): Define
8426 depending on [__GCC_IEC_559 > 0].
8427 [__GCC_IEC_559_COMPLEX] (__STDC_IEC_559_COMPLEX__): Define
8428 depending on [__GCC_IEC_559_COMPLEX > 0].
8430 2013-11-03 Chris Leonard <cjl@sugarlabs.org>
8432 * locale/iso-639.def: Add Quechua, Southern (quz) and Silesian (szl)
8435 2013-11-03 Ondřej Bílka <neleai@seznam.cz>
8437 * elf/rtld.c: Remove unused NONTLS_INIT_TP.
8439 2013-11-01 Ondřej Bílka <neleai@seznam.cz>
8442 * malloc/malloc (malloc_info): Do not handle first bin as
8445 2013-11-01 Chris Leonard <cjl@sugarlabs.org>
8447 * locale/iso-639.def: Add Central Nahuatl (nhn).
8449 2013-11-01 Bruno Haible <bruno@clisp.org>
8452 * manual/math.texi (BSD Random): Specify range upper bound as
8455 2013-10-31 Chris Leonard <cjl@sugarlabs.org>
8457 * locale/iso-639.def: Add Meadow Mari (mhr).
8459 2013-10-31 Ondřej Bílka <neleai@seznam.cz>
8461 [BZ #14752], [BZ #15763]
8462 * sysdeps/unix/sysv/linux/shm_open.c (shm_open, shm_unlink):
8464 * rt/tst_shm.c: Add test for escaping directory.
8466 2013-10-31 Andreas Schwab <schwab@suse.de>
8469 * stdio-common/vfscanf.c (_IO_vfwscanf): Handle leading '0' not
8470 followed by 'x' as part of digit sequence.
8471 * stdio-common/tst-sscanf.c (double_tests2): New tests.
8473 2013-10-31 Marc-Antoine Perennou <Marc-Antoine@Perennou.com>
8476 * configure.ac: allow GNU Make 4.0 and greater.
8477 * configure: Regenerated.
8479 2013-10-30 Will Newton <will.newton@linaro.org>
8482 * malloc/hooks.c (memalign_check): Limit alignment to the
8483 maximum representable power of two.
8484 * malloc/malloc.c (__libc_memalign): Likewise.
8485 * malloc/tst-memalign.c (do_test): Add test for very
8486 large alignment values.
8487 * malloc/tst-posix_memalign.c (do_test): Likewise.
8489 2013-10-30 Ondřej Bílka <neleai@seznam.cz>
8492 * malloc/malloc.c (sysmalloc): Compute statistics atomically.
8493 (munmap_chunk): Likewise.
8494 (mremap_chunk): Likewise.
8496 2013-10-30 Ondřej Bílka <neleai@seznam.cz>
8499 * stdlib/div.c (div): Remove obsolete code.
8500 * stdlib/ldiv.c (ldiv): Likewise.
8501 * stdlib/lldiv.c (lldiv): Likewise.
8503 2013-10-30 Siddhesh Poyarekar <siddhesh@redhat.com>
8506 * nss/nss_files/files-XXX.c (get_contents_ret): New
8508 (get_contents): New function.
8509 (internal_getent): Use it. Expand size of LINEBUFLEN.
8511 2013-10-30 Mike Frysinger <vapier@gentoo.org>
8513 * configure.in: Moved to ...
8514 * configure.ac: ... here. Change reference to configure.in
8516 * sysdeps/arm/preconfigure.ac: ... here.
8517 configure.in to configure.ac.
8518 * sysdeps/gnu/configure.in: Moved to ...
8519 * sysdeps/gnu/configure.ac: ... here.
8520 * sysdeps/i386/configure.in: Moved to ...
8521 * sysdeps/i386/configure.ac: ... here.
8522 * sysdeps/ieee754/ldbl-opt/configure.in: Moved to ...
8523 * sysdeps/ieee754/ldbl-opt/configure.ac: ... here.
8524 * sysdeps/mach/configure.in: Moved to ...
8525 * sysdeps/mach/configure.ac: ... here.
8526 * sysdeps/mach/hurd/configure.in: Moved to ...
8527 * sysdeps/mach/hurd/configure.ac: ... here.
8528 * sysdeps/powerpc/configure.in: Moved to ...
8529 * sysdeps/powerpc/configure.ac: ... here.
8530 * sysdeps/powerpc/powerpc32/configure.in: Moved to ...
8531 * sysdeps/powerpc/powerpc32/configure.ac: ... here.
8532 * sysdeps/powerpc/powerpc64/configure.in: Moved to ...
8533 * sysdeps/powerpc/powerpc64/configure.ac: ... here.
8534 * sysdeps/s390/s390-32/configure.in: Moved to ...
8535 * sysdeps/s390/s390-32/configure.ac: ... here.
8536 * sysdeps/s390/s390-64/configure.in: Moved to ...
8537 * sysdeps/s390/s390-64/configure.ac: ... here.
8538 * sysdeps/sh/configure.in: Moved to ...
8539 * sysdeps/sh/configure.ac: ... here.
8540 * sysdeps/sparc/configure.in: Moved to ...
8541 * sysdeps/sparc/configure.ac: ... here.
8542 * sysdeps/unix/sysv/linux/configure.in: Moved to ...
8543 * sysdeps/unix/sysv/linux/configure.ac: ... here.
8544 * sysdeps/unix/sysv/linux/powerpc/configure.in: Moved to ...
8545 * sysdeps/unix/sysv/linux/powerpc/configure.ac: ... here.
8546 * sysdeps/x86_64/configure.in: Moved to ...
8547 * sysdeps/x86_64/configure.ac: ... here.
8548 * sysdeps/x86_64/preconfigure.in: Moved to ...
8549 * sysdeps/x86_64/preconfigure.ac: ... here.
8550 * aclocal.m4: Change reference to configure.in to configure.ac.
8551 * config.h.in: Likewise.
8552 * manual/install.texi: Likewise.
8553 * manual/maint.texi: Likewise.
8554 * Makefile: Likewise.
8555 * malloc/Makefile: Likewise.
8556 * nscd/Makefile: Likewise.
8557 * Makeconfig: Change reference to configure.in and
8558 preconfigure.in to configure.ac and preconfigure.ac
8560 * INSTALL: Regenerated.
8561 * configure: Likewise.
8562 * sysdeps/gnu/configure: Likewise.
8563 * sysdeps/i386/configure: Likewise.
8564 * sysdeps/ieee754/ldbl-opt/configure: Likewise.
8565 * sysdeps/mach/configure: Likewise.
8566 * sysdeps/mach/hurd/configure: Likewise.
8567 * sysdeps/powerpc/configure: Likewise.
8568 * sysdeps/powerpc/powerpc32/configure: Likewise.
8569 * sysdeps/powerpc/powerpc64/configure: Likewise.
8570 * sysdeps/s390/s390-32/configure: Likewise.
8571 * sysdeps/s390/s390-64/configure: Likewise.
8572 * sysdeps/sh/configure: Likewise.
8573 * sysdeps/sparc/configure: Likewise.
8574 * sysdeps/unix/sysv/linux/configure: Likewise.
8575 * sysdeps/unix/sysv/linux/powerpc/configure: Likewise.
8576 * sysdeps/x86_64/configure: Likewise.
8577 * sysdeps/x86_64/preconfigure: Likewise.
8579 2013-10-29 Andreas Schwab <schwab@suse.de>
8581 * stdio-common/Makefile (tst-swscanf-ENV): Define.
8583 2013-10-28 Siddhesh Poyarekar <siddhesh@redhat.com>
8585 * benchtests/pow-inputs: Add new inputs.
8587 * benchtests/exp-inputs: Add new inputs.
8589 * sysdeps/ieee754/dbl-64/sincos32.c (__sin32): Consolidate
8590 conditional check for return value.
8591 (__cos32): Likewise.
8593 2013-10-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8595 * sysdeps/powerpc/powerpc64/strcpy.S (strcpy): Add word load/store
8596 to provide a boost for large inputs with word alignment.
8597 * sysdeps/powerpc/powerpc64/stpcpy.S (__stpcpy): Rewrite
8598 implementation based on optimized PPC64 strcpy.
8599 * sysdeps/powerpc/powerpc64/power7/strcpy.S: New file: optimized
8600 strcpy for PPC64/POWER7 based on both doubleword and word load/store.
8601 * sysdeps/powerpc/powerpc64/power7/stpcpy.S: New file: optimized
8602 stpcpy for PPC64/POWER7 based on PPC64/POWER7 strcpy.
8604 2013-10-25 Ondřej Bílka <neleai@seznam.cz>
8607 * manual/socket.texi (Host Names): Fix gethostbyname_r example.
8609 2013-10-25 Ondřej Bílka <neleai@seznam.cz>
8612 * time/strptime_l.c (__strptime_internal): 14876 Read timezone entry.
8613 * time/tst-strptime.c (day_tests): Add testcase.
8615 2013-10-25 Ondřej Bílka <neleai@seznam.cz>
8618 * manual/pattern.texi: Acknowledge that fnmatch can fail.
8620 2013-10-25 Fabrice Bauzac <fbauzac@debian71.nce.amadeus.net>
8623 * manual/llio.texi (Memory-mapped I/O): Indicate that mmap returns
8624 MAP_FAILED on error.
8626 2013-10-25 Siddhesh Poyarekar <siddhesh@redhat.com>
8629 * sysdeps/posix/getaddrinfo.c (gethosts): Allocate tmpbuf on
8630 heap for large requests.
8632 2013-10-25 Aurelien Jarno <aurelien@aurel32.net>
8635 * sysdeps/posix/getaddrinfo.c (rfc3484_sort): do not assign native
8636 result if the result has no associated interface.
8637 * sysdeps/posix/getaddrinfo.c (getaddrinfo): correctly detect
8638 interface for all 127.X.Y.Z addresses.
8640 2013-10-24 Chris Leonard <cjl@sugarlabs.org>
8642 * locale/iso-639.def: Add Ligurian (lij)
8644 2013-10-21 Ondřej Bílka <neleai@seznam.cz>
8647 * sunrpc/rpc_main.c: Document rpcgen -5.
8649 2013-10-19 Michael Stahl <mstahl@redhat.com>
8651 * elf/rtld.c (do_preload): Print the reason why preloading failed.
8653 2013-10-19 Ondřej Bílka <neleai@seznam.cz>
8656 * posix/glob.c: Match only directories when trailing slash is present.
8657 * posix/tst-gnuglob.c (my_opendir): Do not open files.
8658 (main): Add testcase.
8660 2013-10-19 Ondřej Bílka <neleai@seznam.cz>
8663 * time/tzfile.c (__tzfile_read): Replace alloca with malloc.
8665 2013-10-18 Carlos O'Donell <carlos@redhat.com>
8667 * manual/crypt.texi (Cryptographic Functions): Using SunRPC and
8668 AUTH_DES will prevent FIPS 140-2 compliance. Add vindex for
8669 AUTH_DES and cindex for FIPS 140-2.
8670 (DES Encryption): Add cindex FIPS 46-3.
8672 * locale/locarchive.h (struct locarhandle): Add fname.
8673 * locale/programs/localedef.c (main): Pass ARGV[remaining]
8674 if an optional argument was specified to --list-archive,
8676 * locale/programs/locarchive.c (show_archive_content): Take new
8677 argument fname and pass it via ah.fname to open_archive.
8678 * locale/programs/localedef.h: Update decl.
8679 (open_archive): If AH->fname is non-null, open that file
8680 rather than the default file name, and don't ignore ENOENT.
8681 (create_archive): Set AH.fname to NULL.
8682 (delete_locales_from_archive): Likewise.
8683 (add_locales_to_archive): Likewise.
8684 * locale/programs/locfile.c (write_all_categories): Likewise.
8686 2013-10-18 Joseph Myers <joseph@codesourcery.com>
8687 Aldy Hernandez <aldyh@redhat.com>
8689 * sysdeps/powerpc/powerpc32/e500/nofpu/Makefile: New file.
8690 * sysdeps/powerpc/powerpc32/e500/nofpu/fclrexcpt.c: Likewise.
8691 * sysdeps/powerpc/powerpc32/e500/nofpu/fe_note_change.c: Likewise.
8692 * sysdeps/powerpc/powerpc32/e500/nofpu/fedisblxcpt.c: Likewise.
8693 * sysdeps/powerpc/powerpc32/e500/nofpu/feenablxcpt.c: Likewise.
8694 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c: Likewise.
8695 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetexcept.c: Likewise.
8696 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c: Likewise.
8697 * sysdeps/powerpc/powerpc32/e500/nofpu/feholdexcpt.c: Likewise.
8698 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_const.c: Likewise.
8699 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h: Likewise.
8700 * sysdeps/powerpc/powerpc32/e500/nofpu/fesetenv.c: Likewise.
8701 * sysdeps/powerpc/powerpc32/e500/nofpu/fesetround.c: Likewise.
8702 * sysdeps/powerpc/powerpc32/e500/nofpu/feupdateenv.c: Likewise.
8703 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_prctl.c:
8705 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_spe.c:
8707 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_prctl.c:
8709 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_spe.c:
8711 * sysdeps/powerpc/powerpc32/e500/nofpu/fgetexcptflg.c: Likewise.
8712 * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c:
8714 * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcpt.c: Likewise.
8715 * sysdeps/powerpc/powerpc32/e500/nofpu/fsetexcptflg.c: Likewise.
8716 * sysdeps/powerpc/powerpc32/e500/nofpu/ftestexcept.c: Likewise.
8717 * sysdeps/powerpc/powerpc32/e500/nofpu/get-rounding-mode.h:
8719 * sysdeps/powerpc/powerpc32/e500/nofpu/s_fabsf.S: Likewise.
8720 * sysdeps/powerpc/powerpc32/e500/nofpu/spe-raise.c: Likewise.
8721 * sysdeps/powerpc/preconfigure: Likewise.
8722 * sysdeps/unix/sysv/linux/powerpc/powerpc32/e500/nofpu/Implies:
8724 * sysdeps/powerpc/nofpu/soft-supp.h [__NO_FPRS__ && !_SOFT_FLOAT]:
8725 Replace contents of file by #include of <fenv_libc.h>.
8726 * sysdeps/powerpc/soft-fp/sfp-machine.h
8727 [__NO_FPRS__ && !_SOFT_FLOAT]: Include <fenv_libc.h>, <sysdep.h>
8729 [__NO_FPRS__ && !_SOFT_FLOAT] (__feraiseexcept_soft): Declare.
8730 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INEXACT): Define macro.
8731 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INVALID): Likewise.
8732 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_DIVZERO): Likewise.
8733 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_UNDERFLOW): Likewise.
8734 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_OVERFLOW): Likewise.
8735 [__NO_FPRS__ && !_SOFT_FLOAT] (_FP_DECL_EX): Likewise.
8736 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_ROUNDMODE): Likewise.
8737 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_EXCEPTIONS): Likewise.
8738 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_HANDLE_EXCEPTIONS): Likewise.
8739 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_ROUNDMODE): Likewise.
8740 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_TRAPPING_EXCEPTIONS): Likewise.
8741 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
8742 Allow copysignl PLT reference to be missing.
8744 2013-10-18 Richard Sandiford <richard@codesourcery.com>
8745 Joseph Myers <joseph@codesourcery.com
8748 * locale/programs/ld-collate.c (new_element): Handle <U0000> as a
8750 (add_to_tablewc): Assert sequence of wide characters is nonempty.
8752 2013-10-18 Siddhesh Poyarekar <siddhesh@redhat.com>
8754 * elf/tst-tls-dlinfo.c: Don't include tls.h.
8755 * elf/tst-tls1.c: Likewise.
8756 * elf/tst-tls10.h: Likewise.
8757 * elf/tst-tls14.c: Likewise.
8758 * elf/tst-tls2.c: Likewise.
8759 * elf/tst-tls3.c: Likewise.
8760 * elf/tst-tls4.c: Likewise.
8761 * elf/tst-tls5.c: Likewise.
8762 * elf/tst-tls6.c: Likewise.
8763 * elf/tst-tls7.c: Likewise.
8764 * elf/tst-tls8.c: Likewise.
8765 * elf/tst-tls9.c: Likewise.
8766 * elf/tst-tlsmod1.c: Likewise.
8767 * elf/tst-tlsmod13.c: Likewise.
8768 * elf/tst-tlsmod13a.c: Likewise.
8769 * elf/tst-tlsmod14a.c: Likewise.
8770 * elf/tst-tlsmod16a.c: Likewise.
8771 * elf/tst-tlsmod16b.c: Likewise.
8772 * elf/tst-tlsmod2.c: Likewise.
8773 * elf/tst-tlsmod3.c: Likewise.
8774 * elf/tst-tlsmod4.c: Likewise.
8775 * elf/tst-tlsmod5.c: Likewise.
8776 * elf/tst-tlsmod6.c: Likewise.
8778 2013-10-18 Ondřej Bílka <neleai@seznam.cz>
8781 * malloc/malloc.c: remove checks for statistics.
8783 2013-10-17 Ondřej Bílka <neleai@seznam.cz>
8786 * inet/inet_net.c (inet_network): Detect additional invalid strings.
8787 * inet/tst-network.c: Add testcase.
8789 2013-10-17 Andreas Schwab <schwab@suse.de>
8792 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't use gethostbyaddr
8793 to determine canonical name.
8795 2013-10-17 Ondřej Bílka <neleai@seznam.cz>
8797 * sysdeps/ieee754/dbl-64/dbl2mpn.c: Fix formatting.
8798 * sysdeps/ieee754/dbl-64/dla.h: Likewise.
8799 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
8800 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
8801 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
8802 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
8803 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
8804 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
8805 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
8806 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
8807 * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
8808 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
8809 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
8810 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
8811 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
8812 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
8813 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
8814 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
8815 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
8816 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
8817 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
8818 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
8819 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
8820 * sysdeps/ieee754/dbl-64/MathLib.h: Likewise.
8821 * sysdeps/ieee754/dbl-64/mpa-arch.h: Likewise.
8822 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
8823 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
8824 * sysdeps/ieee754/dbl-64/mpn2dbl.c: Likewise.
8825 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
8826 * sysdeps/ieee754/dbl-64/mydefs.h: Likewise.
8827 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
8828 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
8829 * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
8830 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
8831 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
8832 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
8833 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
8834 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
8835 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
8836 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
8837 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
8838 * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
8839 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
8840 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
8841 * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
8842 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
8843 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
8844 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
8845 * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
8846 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
8847 * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
8848 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
8849 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
8850 * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
8851 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
8852 * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
8853 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
8854 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
8856 2013-10-17 Joseph Myers <joseph@codesourcery.com>
8859 * soft-fp/op-common.h (FP_EXTEND): When input is a signaling NaN,
8860 make result into a quiet NaN.
8862 2013-10-16 Joseph Myers <joseph@codesourcery.com>
8864 * soft-fp/adddf3.c: Fix horizontal whitespace.
8865 * soft-fp/addsf3.c: Likewise.
8866 * soft-fp/addtf3.c: Likewise.
8867 * soft-fp/divdf3.c: Likewise.
8868 * soft-fp/divsf3.c: Likewise.
8869 * soft-fp/divtf3.c: Likewise.
8870 * soft-fp/double.h: Likewise.
8871 * soft-fp/eqdf2.c: Likewise.
8872 * soft-fp/eqsf2.c: Likewise.
8873 * soft-fp/eqtf2.c: Likewise.
8874 * soft-fp/extenddftf2.c: Likewise.
8875 * soft-fp/extended.h: Likewise.
8876 * soft-fp/extendsfdf2.c: Likewise.
8877 * soft-fp/extendsftf2.c: Likewise.
8878 * soft-fp/extendxftf2.c: Likewise.
8879 * soft-fp/fixdfdi.c: Likewise.
8880 * soft-fp/fixdfsi.c: Likewise.
8881 * soft-fp/fixdfti.c: Likewise.
8882 * soft-fp/fixsfdi.c: Likewise.
8883 * soft-fp/fixsfsi.c: Likewise.
8884 * soft-fp/fixsfti.c: Likewise.
8885 * soft-fp/fixtfdi.c: Likewise.
8886 * soft-fp/fixtfsi.c: Likewise.
8887 * soft-fp/fixtfti.c: Likewise.
8888 * soft-fp/fixunsdfdi.c: Likewise.
8889 * soft-fp/fixunsdfsi.c: Likewise.
8890 * soft-fp/fixunsdfti.c: Likewise.
8891 * soft-fp/fixunssfdi.c: Likewise.
8892 * soft-fp/fixunssfsi.c: Likewise.
8893 * soft-fp/fixunssfti.c: Likewise.
8894 * soft-fp/fixunstfdi.c: Likewise.
8895 * soft-fp/fixunstfsi.c: Likewise.
8896 * soft-fp/fixunstfti.c: Likewise.
8897 * soft-fp/floatdidf.c: Likewise.
8898 * soft-fp/floatdisf.c: Likewise.
8899 * soft-fp/floatditf.c: Likewise.
8900 * soft-fp/floatsidf.c: Likewise.
8901 * soft-fp/floatsisf.c: Likewise.
8902 * soft-fp/floatsitf.c: Likewise.
8903 * soft-fp/floattidf.c: Likewise.
8904 * soft-fp/floattisf.c: Likewise.
8905 * soft-fp/floattitf.c: Likewise.
8906 * soft-fp/floatundidf.c: Likewise.
8907 * soft-fp/floatundisf.c: Likewise.
8908 * soft-fp/floatunditf.c: Likewise.
8909 * soft-fp/floatunsidf.c: Likewise.
8910 * soft-fp/floatunsisf.c: Likewise.
8911 * soft-fp/floatunsitf.c: Likewise.
8912 * soft-fp/floatuntidf.c: Likewise.
8913 * soft-fp/floatuntisf.c: Likewise.
8914 * soft-fp/floatuntitf.c: Likewise.
8915 * soft-fp/fmadf4.c: Likewise.
8916 * soft-fp/fmasf4.c: Likewise.
8917 * soft-fp/fmatf4.c: Likewise.
8918 * soft-fp/gedf2.c: Likewise.
8919 * soft-fp/gesf2.c: Likewise.
8920 * soft-fp/getf2.c: Likewise.
8921 * soft-fp/ledf2.c: Likewise.
8922 * soft-fp/lesf2.c: Likewise.
8923 * soft-fp/letf2.c: Likewise.
8924 * soft-fp/muldf3.c: Likewise.
8925 * soft-fp/mulsf3.c: Likewise.
8926 * soft-fp/multf3.c: Likewise.
8927 * soft-fp/negdf2.c: Likewise.
8928 * soft-fp/negsf2.c: Likewise.
8929 * soft-fp/negtf2.c: Likewise.
8930 * soft-fp/op-1.h: Likewise.
8931 * soft-fp/op-2.h: Likewise.
8932 * soft-fp/op-4.h: Likewise.
8933 * soft-fp/op-8.h: Likewise.
8934 * soft-fp/op-common.h: Likewise.
8935 * soft-fp/quad.h: Likewise.
8936 * soft-fp/single.h: Likewise.
8937 * soft-fp/soft-fp.h: Likewise.
8938 * soft-fp/sqrtdf2.c: Likewise.
8939 * soft-fp/sqrtsf2.c: Likewise.
8940 * soft-fp/sqrttf2.c: Likewise.
8941 * soft-fp/subdf3.c: Likewise.
8942 * soft-fp/subsf3.c: Likewise.
8943 * soft-fp/subtf3.c: Likewise.
8944 * soft-fp/truncdfsf2.c: Likewise.
8945 * soft-fp/trunctfdf2.c: Likewise.
8946 * soft-fp/trunctfsf2.c: Likewise.
8947 * soft-fp/trunctfxf2.c: Likewise.
8948 * soft-fp/unorddf2.c: Likewise.
8949 * soft-fp/unordsf2.c: Likewise.
8950 * soft-fp/unordtf2.c: Likewise.
8952 2013-10-15 Joseph Myers <joseph@codesourcery.com>
8954 * soft-fp/op-2.h (_FP_DIV_MEAT_2_gmp): Remove macro.
8955 * soft-fp/soft-fp.h (FP_UNSET_EXCEPTION): Likewise.
8957 2013-10-15 Ondřej Bílka <neleai@seznam.cz>
8959 * elf/dl-libc.c: Clear initfini list after freeing.
8961 2013-10-14 Joseph Myers <joseph@codesourcery.com>
8963 * soft-fp/adddf3.c: Fix vertical whitespace and indentation.
8964 * soft-fp/addsf3.c: Likewise.
8965 * soft-fp/addtf3.c: Likewise.
8966 * soft-fp/divdf3.c: Likewise.
8967 * soft-fp/divsf3.c: Likewise.
8968 * soft-fp/divtf3.c: Likewise.
8969 * soft-fp/double.h: Likewise.
8970 * soft-fp/eqdf2.c: Likewise.
8971 * soft-fp/eqsf2.c: Likewise.
8972 * soft-fp/eqtf2.c: Likewise.
8973 * soft-fp/extenddftf2.c: Likewise.
8974 * soft-fp/extended.h: Likewise.
8975 * soft-fp/extendsfdf2.c: Likewise.
8976 * soft-fp/extendsftf2.c: Likewise.
8977 * soft-fp/extendxftf2.c: Likewise.
8978 * soft-fp/fixdfdi.c: Likewise.
8979 * soft-fp/fixdfsi.c: Likewise.
8980 * soft-fp/fixdfti.c: Likewise.
8981 * soft-fp/fixsfdi.c: Likewise.
8982 * soft-fp/fixsfsi.c: Likewise.
8983 * soft-fp/fixsfti.c: Likewise.
8984 * soft-fp/fixtfdi.c: Likewise.
8985 * soft-fp/fixtfsi.c: Likewise.
8986 * soft-fp/fixtfti.c: Likewise.
8987 * soft-fp/fixunsdfdi.c: Likewise.
8988 * soft-fp/fixunsdfsi.c: Likewise.
8989 * soft-fp/fixunsdfti.c: Likewise.
8990 * soft-fp/fixunssfdi.c: Likewise.
8991 * soft-fp/fixunssfsi.c: Likewise.
8992 * soft-fp/fixunssfti.c: Likewise.
8993 * soft-fp/fixunstfdi.c: Likewise.
8994 * soft-fp/fixunstfsi.c: Likewise.
8995 * soft-fp/fixunstfti.c: Likewise.
8996 * soft-fp/floatdidf.c: Likewise.
8997 * soft-fp/floatdisf.c: Likewise.
8998 * soft-fp/floatditf.c: Likewise.
8999 * soft-fp/floatsidf.c: Likewise.
9000 * soft-fp/floatsisf.c: Likewise.
9001 * soft-fp/floatsitf.c: Likewise.
9002 * soft-fp/floattidf.c: Likewise.
9003 * soft-fp/floattisf.c: Likewise.
9004 * soft-fp/floattitf.c: Likewise.
9005 * soft-fp/floatundidf.c: Likewise.
9006 * soft-fp/floatundisf.c: Likewise.
9007 * soft-fp/floatunsidf.c: Likewise.
9008 * soft-fp/floatunsisf.c: Likewise.
9009 * soft-fp/floatuntidf.c: Likewise.
9010 * soft-fp/floatuntisf.c: Likewise.
9011 * soft-fp/floatuntitf.c: Likewise.
9012 * soft-fp/fmadf4.c: Likewise.
9013 * soft-fp/fmasf4.c: Likewise.
9014 * soft-fp/fmatf4.c: Likewise.
9015 * soft-fp/gedf2.c: Likewise.
9016 * soft-fp/gesf2.c: Likewise.
9017 * soft-fp/getf2.c: Likewise.
9018 * soft-fp/ledf2.c: Likewise.
9019 * soft-fp/lesf2.c: Likewise.
9020 * soft-fp/letf2.c: Likewise.
9021 * soft-fp/muldf3.c: Likewise.
9022 * soft-fp/mulsf3.c: Likewise.
9023 * soft-fp/multf3.c: Likewise.
9024 * soft-fp/negdf2.c: Likewise.
9025 * soft-fp/negsf2.c: Likewise.
9026 * soft-fp/negtf2.c: Likewise.
9027 * soft-fp/op-1.h: Likewise.
9028 * soft-fp/op-2.h: Likewise.
9029 * soft-fp/op-4.h: Likewise.
9030 * soft-fp/op-8.h: Likewise.
9031 * soft-fp/op-common.h: Likewise.
9032 * soft-fp/quad.h: Likewise.
9033 * soft-fp/single.h: Likewise.
9034 * soft-fp/soft-fp.h: Likewise.
9035 * soft-fp/sqrtdf2.c: Likewise.
9036 * soft-fp/sqrtsf2.c: Likewise.
9037 * soft-fp/sqrttf2.c: Likewise.
9038 * soft-fp/subdf3.c: Likewise.
9039 * soft-fp/subsf3.c: Likewise.
9040 * soft-fp/subtf3.c: Likewise.
9041 * soft-fp/truncdfsf2.c: Likewise.
9042 * soft-fp/trunctfdf2.c: Likewise.
9043 * soft-fp/trunctfsf2.c: Likewise.
9044 * soft-fp/trunctfxf2.c: Likewise.
9045 * soft-fp/unorddf2.c: Likewise.
9046 * soft-fp/unordsf2.c: Likewise.
9047 * soft-fp/unordtf2.c: Likewise.
9049 2013-10-14 Ondřej Bílka <neleai@seznam.cz>
9052 * misc/error.c (error_tail): Fix possible buffer overflow.
9054 2013-10-14 Aurelien Jarno <aurelien@aurel32.net>
9057 * res_send.c(__libc_res_nsend): Correctly copy the nameserver
9060 2013-10-14 P. J. McDermott <pj@pehjota.net>
9063 * elf/ldd.bash.in (try_trace): New function. Delete previous code
9064 testing pipefail option.
9066 2013-10-12 Joseph Myers <joseph@codesourcery.com>
9068 * soft-fp/double.h: Indent preprocessor directives inside #if.
9069 * soft-fp/extended.h: Likewise.
9070 * soft-fp/op-2.h: Likewise.
9071 * soft-fp/op-4.h: Likewise.
9072 * soft-fp/op-common.h: Likewise.
9073 * soft-fp/quad.h: Likewise.
9074 * soft-fp/single.h: Likewise.
9075 * soft-fp/soft-fp.h: Likewise.
9077 2013-10-12 Yuri Chornoivan <yurchor@ukr.net>
9079 * iconv/iconv_prog.c: Fix typos.
9080 * stdio-common/psiginfo-data.h: Likewise.
9082 2013-10-12 Reuben Thomas <rrt@sc3d.org>
9085 * locale/setlocale.c: Fix typo.
9087 2013-10-12 Joseph Myers <joseph@codesourcery.com>
9090 * soft-fp/unorddf2.c (__unorddf2): Raise "invalid" exception for
9091 signaling NaN arguments.
9092 * soft-fp/unordsf2.c (__unordsf2): Likewise.
9093 * soft-fp/unordtf2.c (__unordtf2): Likewise.
9096 * soft-fp/gedf2.c (__gedf2): Raise "invalid" exception for all
9098 * soft-fp/gesf2.c (__gesf2): Likewise.
9099 * soft-fp/getf2.c (__getf2): Likewise.
9100 * soft-fp/ledf2.c (__ledf2): Likewise.
9101 * soft-fp/lesf2.c (__lesf2): Likewise.
9102 * soft-fp/letf2.c (__letf2): Likewise.
9104 * soft-fp/eqdf2.c (__eqdf2): Use FP_INIT_EXCEPTIONS.
9105 * soft-fp/eqsf2.c (__eqsf2): Likewise.
9106 * soft-fp/eqtf2.c (__eqtf2): Likewise.
9107 * soft-fp/fixdfdi.c (__fixdfdi): Likewise.
9108 * soft-fp/fixdfsi.c (__fixdfsi): Likewise.
9109 * soft-fp/fixdfti.c (__fixdfti): Likewise.
9110 * soft-fp/fixsfdi.c (__fixsfdi): Likewise.
9111 * soft-fp/fixsfsi.c (__fixsfsi): Likewise.
9112 * soft-fp/fixsfti.c (__fixsfti): Likewise.
9113 * soft-fp/fixtfdi.c (__fixtfdi): Likewise.
9114 * soft-fp/fixtfsi.c (__fixtfsi): Likewise.
9115 * soft-fp/fixtfti.c (__fixtfti): Likewise.
9116 * soft-fp/fixunsdfdi.c (__fixunsdfdi): Likewise.
9117 * soft-fp/fixunsdfsi.c (__fixunsdfsi): Likewise.
9118 * soft-fp/fixunsdfti.c (__fixunsdfti): Likewise.
9119 * soft-fp/fixunssfdi.c (__fixunssfdi): Likewise.
9120 * soft-fp/fixunssfsi.c (__fixunssfsi): Likewise.
9121 * soft-fp/fixunssfti.c (__fixunssfti): Likewise.
9122 * soft-fp/fixunstfdi.c (__fixunstfdi): Likewise.
9123 * soft-fp/fixunstfsi.c (__fixunstfsi): Likewise.
9124 * soft-fp/fixunstfti.c (__fixunstfti): Likewise.
9125 * soft-fp/floatdidf.c (__floatdidf): Use FP_INIT_ROUNDMODE.
9126 * soft-fp/floatdisf.c (__floatdisf): Likewise.
9127 * soft-fp/floatsisf.c (__floatsisf): Likewise.
9128 * soft-fp/floattidf.c (__floattidf): Likewise.
9129 * soft-fp/floattisf.c (__floattisf): Likewise.
9130 * soft-fp/floattitf.c (__floattitf): Likewise.
9131 * soft-fp/floatundidf.c (__floatundidf): Likewise.
9132 * soft-fp/floatundisf.c (__floatundisf): Likewise.
9133 * soft-fp/floatunsisf.c (__floatunsisf): Likewise.
9134 * soft-fp/floatuntidf.c (__floatuntidf): Likewise.
9135 * soft-fp/floatuntisf.c (__floatuntisf): Likewise.
9136 * soft-fp/floatuntitf.c (__floatuntitf): Likewise.
9137 * soft-fp/gedf2.c (__gedf2): Use FP_INIT_EXCEPTIONS.
9138 * soft-fp/gesf2.c (__gesf2): Likewise.
9139 * soft-fp/getf2.c (__getf2): Likewise.
9140 * soft-fp/ledf2.c (__ledf2): Likewise.
9141 * soft-fp/lesf2.c (__lesf2): Likewise.
9142 * soft-fp/letf2.c (__letf2): Likewise.
9144 * soft-fp/soft-fp.h [FP_NO_EXCEPTIONS] (FP_SET_EXCEPTION):
9145 Undefine and redefine.
9146 [FP_NO_EXCEPTIONS] (FP_CUR_EXCEPTIONS): Likewise.
9147 [FP_NO_EXCEPTIONS] (FP_TRAPPING_EXCEPTIONS): Likewise.
9148 [FP_NO_EXCEPTIONS] (FP_ROUNDMODE): Likewise.
9149 * soft-fp/floatditf.c (FP_NO_EXCEPTIONS): Define macro.
9150 (__floatditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
9151 * soft-fp/floatsidf.c (FP_NO_EXCEPTIONS): Define macro.
9152 (__floatsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
9153 * soft-fp/floatsitf.c (FP_NO_EXCEPTIONS): Define macro.
9154 (__floatsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
9155 * soft-fp/floatunditf.c (FP_NO_EXCEPTIONS): Define macro.
9156 (__floatunditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
9157 * soft-fp/floatunsidf.c (FP_NO_EXCEPTIONS): Define macro.
9158 (__floatunsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
9159 * soft-fp/floatunsitf.c (FP_NO_EXCEPTIONS): Define macro.
9160 (__floatunsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
9163 * soft-fp/op-2.h (_FP_DIV_MEAT_2_udiv): Shift numerator right
9164 without decrementing exponent if mantissa >= that for the
9166 (_FP_DIV_MEAT_2_gmp): Test numerator mantissa >= that for the
9167 denominator, not >. Decrement exponent in < case instead of
9168 incrementing in >= case.
9169 * soft-fp/op-4.h (_FP_DIV_MEAT_4_udiv): Shift numerator right
9170 without decrementing exponent if mantissa >= that for the
9173 * soft-fp/op-common.h (_FP_TO_INT): Reverse test of sign for
9174 computing saturated result for unsigned overflow.
9176 2013-10-11 Siddhesh Poyarekar <siddhesh@redhat.com>
9177 Jeff Law <law@redhat.com>
9179 * sysdeps/ieee754/dbl-64/e_atan2.c: Include stap-probe.h.
9180 (atan2Mp): Add systemtap probe marker.
9181 * sysdeps/ieee754/dbl-64/e_log.c: include stap-probe.h.
9182 (__ieee754_log): Add systemtap probe marker.
9183 * sysdeps/ieee754/dbl-64/s_atan.c: Include stap-probe.h.
9184 (atanMp): Add systemtap probe marker.
9185 * sysdeps/ieee754/dbl-64/s_tan.c: Include stap-probe.h.
9186 (tanMp): Add systemtap probe marker.
9187 * sysdeps/ieee754/dbl-64/slowexp.c: Include stap-probe.h.
9188 (__slowexp): Add systemtap probe marker.
9189 * sysdeps/ieee754/dbl-64/slowpow.c: Include stap-probe.h.
9190 (__slowpow): Add systemtap probe marker.
9191 * manual/probes.texi: Document probes.
9193 2013-10-11 Eric Biggers <ebiggers3@gmail.com>
9196 * libio/fileops.c (_IO_new_file_write): Return count of bytes
9198 (_IO_new_file_xsputn): Don't return EOF if nothing has been
9200 * libio/iofwrite.c (_IO_fwrite): Return count if bytes were
9201 written to buffer but not flushed.
9202 * libio/iofwrite_u.c: Likewise.
9203 * libio/iopadn.c: Return bytes returned even if EOF was
9205 * libio/iowpadn.c: Likewise.
9206 * stdio-common/vfprintf.c [COMPILE_WPRINTF] (PAD): Return error
9207 if _IO_padn does not write the whole buffer.
9208 [!COMPILE_WPRINTF] (PAD): Likewise.
9210 2013-10-10 David S. Miller <davem@davemloft.net>
9212 * sysdeps/posix/dirstream.h (struct __dirstream): Fix alignment of
9215 2013-10-10 Joseph Myers <joseph@codesourcery.com>
9217 * soft-fp/extendxftf2.c: Use copyright year range. Use URL
9218 instead of FSF address.
9219 * soft-fp/fixdfti.c: Likewise.
9220 * soft-fp/fixsfti.c: Likewise.
9221 * soft-fp/fixtfti.c: Likewise.
9222 * soft-fp/fixunsdfti.c: Likewise.
9223 * soft-fp/fixunssfti.c: Likewise.
9224 * soft-fp/fixunstfti.c: Likewise.
9225 * soft-fp/floattidf.c: Likewise.
9226 * soft-fp/floattisf.c: Likewise.
9227 * soft-fp/floattitf.c: Likewise.
9228 * soft-fp/floatuntidf.c: Likewise.
9229 * soft-fp/floatuntisf.c: Likewise.
9230 * soft-fp/floatuntitf.c: Likewise.
9231 * soft-fp/trunctfxf2.c: Likewise.
9233 * soft-fp/extendxftf2.c: New file. Copied from libgcc.
9234 * soft-fp/fixdfti.c: Likewise.
9235 * soft-fp/fixsfti.c: Likewise.
9236 * soft-fp/fixtfti.c: Likewise.
9237 * soft-fp/fixunsdfti.c: Likewise.
9238 * soft-fp/fixunssfti.c: Likewise.
9239 * soft-fp/fixunstfti.c: Likewise.
9240 * soft-fp/floattidf.c: Likewise.
9241 * soft-fp/floattisf.c: Likewise.
9242 * soft-fp/floattitf.c: Likewise.
9243 * soft-fp/floatuntidf.c: Likewise.
9244 * soft-fp/floatuntisf.c: Likewise.
9245 * soft-fp/floatuntitf.c: Likewise.
9246 * soft-fp/trunctfxf2.c: Likewise.
9248 2013-10-10 David S. Miller <davem@davemloft.net>
9250 * sysdeps/sparc/fpu/libm-test-ulps: Update.
9252 2013-10-10 Joseph Myers <joseph@codsourcery.com>
9254 * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
9255 (CFLAGS-e_hypotl.c): Add -fno-builtin-fabsl.
9256 [$(subdir) = math] (CFLAGS-w_acosl.c): Likewise.
9257 [$(subdir) = math] (CFLAGS-w_asinl.c): Likewise.
9258 [$(subdir) = math] (CFLAGS-w_atanhl.c): Likewise.
9259 [$(subdir) = math] (CFLAGS-w_j0l.c): Likewise.
9260 [$(subdir) = math] (CFLAGS-w_j1l.c): Likewise.
9262 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Check
9263 for NaNs before doing comparisons on argument.
9264 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl):
9267 2013-10-10 Will Newton <will.newton@linaro.org>
9269 * malloc/hooks.c (memalign_check): Ensure the value of bytes
9270 passed to _int_memalign does not overflow.
9272 2013-10-10 Torvald Riegel <triegel@redhat.com>
9274 * scripts/bench.pl: Add include-sources directive.
9275 * benchtests/README: Update documentation.
9277 2013-10-10 Joseph Myers <joseph@codesourcery.com>
9279 * soft-fp/soft-fp.h (FP_INIT_EXCEPTIONS): New macro.
9280 * soft-fp/extenddftf2.c (__extenddftf2): Use FP_INIT_EXCEPTIONS
9281 instead of FP_INIT_ROUNDMODE.
9282 * soft-fp/extendsfdf2.c (__extendsfdf2): Likewise.
9283 * soft-fp/extendsftf2.c (__extendsftf2): Likewise.
9286 * soft-fp/op-common.h (_FP_NEG): Document input as raw. Do not
9287 copy class of input value.
9288 * soft-fp/negdf2.c (__negdf2): Use raw unpacking and packing. Do
9289 not handle exceptions.
9290 * soft-fp/negsf2.c (__negsf2): Likewise.
9291 * soft-fp/negtf2.c (__negtf2): Likewise.
9292 * sysdeps/sparc/sparc32/soft-fp/q_neg.c (_Q_neg): Likewise.
9294 2013-10-09 Joseph Myers <joseph@codesourcery.com>
9296 * soft-fp/op-4.h (_FP_FRAC_DISASSEMBLE_4): Remove trailing
9297 semicolon. From Linux kernel.
9299 2013-10-09 Adam Buchbinder <adam.buchbinder@gmail.com>
9301 * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Fix typo in comment.
9303 2013-10-08 Yogesh Chaudhari <mr.yogesh@gmail.com>
9306 * manual/socket.texi: Added statement about buffer
9307 for gethostbyname2_r.
9309 2013-10-08 Ondřej Bílka <neleai@seznam.cz>
9311 * sysdeps/x86_64/memset.S (ALIGN): Macro removed.
9312 Use .p2align directive instead, throughout.
9313 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
9314 * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Likewise.
9315 * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: Likewise.
9316 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
9317 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
9318 * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: Likewise.
9319 * sysdeps/x86_64/strchr.S: Likewise.
9320 * sysdeps/x86_64/strrchr.S: Likewise.
9322 2013-10-08 Siddhesh Poyarekar <siddhesh@redhat.com>
9324 * sysdeps/ieee754/dbl-64/e_pow.c: Fix code formatting.
9326 * sysdeps/ieee754/dbl-64/e_exp.c: Fix code formatting.
9328 * sysdeps/generic/math_private.h (__mpsin1): Remove
9330 (__mpcos1): Likewise.
9331 (__mpsin): New argument __range_reduce.
9332 (__mpcos): Likewise.
9333 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
9334 (slow): Use __mpsin and __mpcos.
9341 (bsloww1): Likewise.
9342 (bsloww2): Likewise.
9345 (csloww1): Likewise.
9346 (csloww2): Likewise.
9347 * sysdeps/ieee754/dbl-64/sincos32.c (__mpsin): Add argument
9348 range_reduce. Merge in __mpsin1.
9349 (__mpcos): Likewise.
9351 (__mpcos1): Likewise.
9353 2013-10-07 Joseph Myers <joseph@codesourcery.com>
9355 * locale/loadlocale.c (_nl_intern_locale_data): Use
9357 * locale/programs/3level.h (CONCAT(add_locale_,TABLE)): Use
9358 LOCFILE_ALIGN_UP and LOCFILE_ALIGN.
9359 * locale/programs/ld-collate.c (obstack_int32_grow): Assert that
9360 obstack data is appropriately aligned.
9361 (obstack_int32_grow_fast): Likewise.
9362 * locale/programs/ld-ctype.c (ctype_output): Use LOCFILE_ALIGN.
9363 * locale/programs/locfile.c (add_locale_uint32): Likewise.
9364 (add_locale_uint32_array): Likewise.
9366 2013-10-07 Siddhesh Poyarekar <siddhesh@redhat.com>
9368 * benchtests/Makefile: Remove ARGLIST and RET variables.
9369 ($(objpfx)bench-%.c): Pass only function name to the script.
9370 * benchtests/README: Update documentation.
9371 * benchtests/acos-inputs: Add new directives.
9372 * benchtests/acosh-inputs: Likewise.
9373 * benchtests/asin-inputs: Likewise.
9374 * benchtests/asinh-inputs: Likewise.
9375 * benchtests/atan-inputs: Likewise.
9376 * benchtests/atanh-inputs: Likewise.
9377 * benchtests/cos-inputs: Likewise.
9378 * benchtests/cosh-inputs: Likewise.
9379 * benchtests/exp-inputs: Likewise.
9380 * benchtests/log-inputs: Likewise.
9381 * benchtests/pow-inputs: Likewise.
9382 * benchtests/rint-inputs: Likewise.
9383 * benchtests/sin-inputs: Likewise.
9384 * benchtests/sinh-inputs: Likewise.
9385 * benchtests/tan-inputs: Likewise.
9386 * benchtests/tanh-inputs: Likewise.
9387 * scripts/bench.pl: Add support for new directives.
9389 2013-10-07 Alan Modra <amodra@gmail.com>
9391 * README: Fix careless merge.
9393 2013-10-05 Alan Modra <amodra@gmail.com>
9395 * NEWS: Mention powerpc64le support and bugs fixed.
9396 * README: Both big-endian and little-endian powerpc64 supported.
9398 2013-10-04 Samuel Thibault <samuel.thibault@ens-lyon.org>
9400 * sysdeps/mach/hurd/fork.c (_hurd_atfork_prepare_hook)
9401 (_hurd_atfork_child_hook, _hurd_atfork_parent_hook): New hooks.
9402 (__fork): Call _hurd_atfork_prepare_hook hooks before all locking, call
9403 _hurd_atfork_parent_hook or _hurd_atfork_child_hook after all unlocking.
9405 2013-10-04 Ryan S. Arnold <ryan.arnold@linaro.org>
9407 * misc/swapon.c (swapon): Update definition, adding FLAGS parameter to
9410 2013-10-04 Joseph Myers <joseph@codesourcery.com>
9412 * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = yes] (+cflags):
9413 Move -mhard-float appending from
9414 ports/sysdeps/powerpc/powerpc32/Makefile.
9415 [$(with-fp) = yes] (ASFLAGS): Likewise.
9416 [$(with-fp) = yes] (sysdep-LDFLAGS): Likewise.
9417 * sysdeps/powerpc/nofpu: Move directory from
9418 ports/sysdeps/powerpc/nofpu.
9419 * sysdeps/powerpc/soft-fp: Move directory from
9420 ports/sysdeps/powerpc/soft-fp.
9421 * sysdeps/powerpc/powerpc32/405: Move directory from
9422 ports/sysdeps/powerpc/powerpc32/405.
9423 * sysdeps/powerpc/powerpc32/440: Move directory from
9424 ports/sysdeps/powerpc/powerpc32/440.
9425 * sysdeps/powerpc/powerpc32/464: Move directory from
9426 ports/sysdeps/powerpc/powerpc32/464.
9427 * sysdeps/powerpc/powerpc32/476: Move directory from
9428 ports/sysdeps/powerpc/powerpc32/476.
9429 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu: Move directory
9430 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu.
9431 * sysdeps/unix/sysv/linux/powerpc/powerpc32/405: Move directory
9432 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/405.
9433 * sysdeps/unix/sysv/linux/powerpc/powerpc32/440: Move directory
9434 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/440.
9435 * sysdeps/unix/sysv/linux/powerpc/powerpc32/464: Move directory
9436 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/464.
9437 * sysdeps/unix/sysv/linux/powerpc/powerpc32/476: Move directory
9438 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/476.
9439 * README: Update for powerpc-*-linux-gnu software floating point
9442 * sysdeps/unix/sysv/linux/configure.in (powerpc/powerpc32): Change
9443 case to powerpc/powerpc32*.
9444 * sysdeps/unix/sysv/linux/configure: Regenerated.
9446 * sysdeps/powerpc/fpu_control.h [__NO_FPRS__ && !_SOFT_FLOAT]
9447 (_FPU_MASK_OM): Define as 0x04.
9448 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Define as 0x08.
9449 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Define as
9451 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Define as
9453 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Define as _FPU_DEFAULT.
9455 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S
9456 (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
9458 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S
9459 (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
9461 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S
9462 (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use getcontext_e500
9463 and setcontext_e500.
9465 2013-10-04 Chris Leonard <cjl@sugarlabs,.org>
9467 * locale/iso-3166.def: Update iso-1366.def and related occurrences
9469 2013-10-04 Siddhesh Poyarekar <siddhesh@redhat.com>
9471 * manual/threads.texi (Default Thread Attributes): Fix typo.
9473 2013-10-04 Will Newton <will.newton@linaro.org>
9475 * malloc/Makefile: Add tst-memalign.
9476 * malloc/tst-memalign.c: New file.
9478 * malloc/tst-posix_memalign.c: Add comments.
9479 (do_test): Add comments and call free on all potentially
9480 allocated pointers. Add space after cast.
9482 * malloc/tst-pvalloc.c: Add comments.
9483 (do_test): Add comments and call free on all potentially
9484 allocated pointers. Remove duplicate check for NULL pointer.
9485 Add space after cast.
9487 * malloc/tst-valloc.c: Add comments.
9488 (do_test): Add comments and call free on all potentially
9489 allocated pointers. Remove duplicate check for NULL pointer.
9490 Add space after cast.
9492 2013-10-04 Alan Modra <amodra@gmail.com>
9494 * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
9495 Use stdint types in rather than __attribute__((mode())).
9496 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
9498 2013-10-04 Alan Modra <amodra@gmail.com>
9500 * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
9501 Correct handling of unaligned relocs for little-endian.
9502 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
9504 2013-10-04 Alan Modra <amodra@gmail.com>
9506 * configure.in: Map powerpc64le and powerpcle to base_machine/machine.
9507 * configure: Regenerate.
9508 * nptl/shlib-versions: Powerpc*le starts at 2.18.
9509 * shlib-versions: Likewise.
9511 2013-10-04 Alan Modra <amodra@gmail.com>
9513 * string/tester.c (test_memrchr): Increment reported test cycle.
9515 2013-10-04 Alan Modra <amodra@gmail.com>
9517 * string/test-memcpy.c (do_one_test): When reporting errors, print
9518 string address and don't overrun end of string.
9520 2013-10-04 Alan Modra <amodra@gmail.com>
9522 * sysdeps/powerpc/powerpc64/power7/memchr.S: Replace rlwimi with
9523 insrdi. Make better use of reg selection to speed exit slightly.
9524 Schedule entry path a little better. Remove useless "are we done"
9525 checks on entry to main loop. Handle wrapping around zero address.
9526 Correct main loop count. Handle single left-over word from main
9527 loop inline rather than by using loop_small. Remove extra word
9528 case in loop_small caused by wrong loop count. Add little-endian
9530 * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
9531 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise. Use proper
9533 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
9534 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Add little-endian
9535 support. Avoid rlwimi.
9536 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Likewise.
9538 2013-10-04 Alan Modra <amodra@gmail.com>
9540 * sysdeps/powerpc/powerpc64/memset.S: Replace rlwimi with
9542 * sysdeps/powerpc/powerpc64/power4/memset.S: Likewise.
9543 * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
9544 * sysdeps/powerpc/powerpc64/power7/memset.S: Likewise.
9545 * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
9546 * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
9547 * sysdeps/powerpc/powerpc32/power7/memset.S: Likewise.
9549 2013-10-04 Alan Modra <amodra@gmail.com>
9551 * sysdeps/powerpc/powerpc32/power4/memcpy.S: Add little endian support.
9552 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
9553 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Likewise.
9554 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Likewise.
9555 * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
9556 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
9557 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
9558 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
9559 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Likewise. Make better
9560 use of regs. Use power7 mtocrf. Tidy function tails.
9562 2013-10-04 Alan Modra <amodra@gmail.com>
9564 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Add little-endian support.
9565 Formatting. Consistently use rXXX register defines or rN defines.
9566 Use early exit labels that avoid restoring unused non-volatile regs.
9567 Make cr field use more consistent with rWORDn compares. Rename
9568 regs used as shift registers for unaligned loop, using rN defines
9569 for short lifetime/multiple use regs.
9570 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
9571 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise. Exit with
9572 addi 1,1,64 to pop stack frame. Simplify return value code.
9573 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
9575 2013-10-04 Alan Modra <amodra@gmail.com>
9577 * sysdeps/powerpc/powerpc64/power7/strchr.S (strchr): Add little-endian
9578 support. Correct typos, formatting. Optimize tail. Use insrdi
9580 * sysdeps/powerpc/powerpc32/power7/strchr.S: Likewise.
9581 * sysdeps/powerpc/powerpc64/power7/strchrnul.S (__strchrnul): Add
9582 little-endian support. Correct typos.
9583 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Likewise. Use insrdi
9585 * sysdeps/powerpc/powerpc64/strchr.S (rTMP4, rTMP5): Define. Use
9586 in loop and entry code to keep "and." results.
9587 (strchr): Add little-endian support. Comment. Move cntlzd
9589 * sysdeps/powerpc/powerpc32/strchr.S: Likewise.
9591 2013-10-04 Alan Modra <amodra@gmail.com>
9593 * sysdeps/powerpc/powerpc64/strcpy.S: Add little-endian support:
9594 * sysdeps/powerpc/powerpc32/strcpy.S: Likewise.
9595 * sysdeps/powerpc/powerpc64/stpcpy.S: Likewise.
9596 * sysdeps/powerpc/powerpc32/stpcpy.S: Likewise.
9598 2013-10-04 Alan Modra <amodra@gmail.com>
9600 * sysdeps/powerpc/powerpc64/strcmp.S (rTMP2): Define as r0.
9601 (rTMP): Define as r11.
9602 (strcmp): Add little-endian support. Optimise tail.
9603 * sysdeps/powerpc/powerpc32/strcmp.S: Similarly.
9604 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
9605 * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
9606 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
9607 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
9608 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
9609 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
9611 2013-10-04 Alan Modra <amodra@gmail.com>
9613 * sysdeps/powerpc/powerpc64/power7/strnlen.S (strnlen): Add
9614 little-endian support. Remove unnecessary "are we done" tests.
9615 Handle "s" wrapping around zero and extremely large "size".
9616 Correct main loop count. Handle single left-over word from main
9617 loop inline rather than by using small_loop. Correct comments.
9618 Delete "zero" tail, use "end_max" instead.
9619 * sysdeps/powerpc/powerpc32/power7/strnlen.S: Likewise.
9621 2013-10-04 Alan Modra <amodra@gmail.com>
9623 * sysdeps/powerpc/powerpc64/power7/strlen.S (strlen): Add little-endian
9624 support. Don't branch over align.
9625 * sysdeps/powerpc/powerpc32/power7/strlen.S: Likewise.
9626 * sysdeps/powerpc/powerpc64/strlen.S (strlen): Add little-endian
9627 support. Rearrange tmp reg use to suit. Comment.
9628 * sysdeps/powerpc/powerpc32/strlen.S: Likewise.
9630 2013-10-04 Alan Modra <amodra@gmail.com>
9632 * sysdeps/unix/sysv/linux/powerpc/bits/sigstack.h: New file.
9634 2013-10-04 Alan Modra <amodra@gmail.com>
9636 * sysdeps/unix/sysv/linux/powerpc/powerpc32/makecontext.S: Use
9637 conditional form of branch and link when obtaining pc.
9638 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: Likewise.
9640 2013-10-04 Alan Modra <amodra@gmail.com>
9642 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Use
9644 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Ditto.
9645 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Ditto.
9647 2013-10-04 Alan Modra <amodra@gmail.com>
9649 * sysdeps/powerpc/longjmp.c: Use proper symbol versioning macros.
9650 * sysdeps/powerpc/novmx-longjmp.c: Likewise.
9651 * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Likewise.
9652 * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Likewise.
9653 * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
9654 * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
9655 * sysdeps/powerpc/powerpc32/mcount.c: Likewise.
9656 * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
9657 * sysdeps/powerpc/powerpc64/setjmp.S: Likewise.
9658 * nptl/sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: Likewise.
9660 2013-10-04 Anton Blanchard <anton@au1.ibm.com>
9661 Alistair Popple <alistair@ozlabs.au.ibm.com>
9662 Alan Modra <amodra@gmail.com>
9665 * sysdeps/powerpc/jmpbuf-offsets.h: Comment fix.
9666 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Correct
9667 _dl_hwcap access for little-endian.
9668 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Likewise. Don't
9669 destroy vmx regs when saving unaligned.
9670 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Correct CR load.
9671 * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise CR save. Don't
9672 destroy vmx regs when saving unaligned.
9674 2013-10-04 Alan Modra <amodra@gmail.com>
9676 * sysdeps/powerpc/powerpc32/power4/hp-timing.h (HP_TIMING_NOW):
9677 Don't use a union to pack hi/low value.
9679 2013-10-04 Anton Blanchard <anton@au1.ibm.com>
9681 * sysdeps/powerpc/powerpc64/fpu/s_ceilf.S: Correct float constants
9683 * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
9684 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: Likewise.
9685 * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
9686 * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
9687 * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
9689 2013-10-04 Alan Modra <amodra@gmail.com>
9691 * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Increase alignment of
9692 constants to usual value for .cst8 section, and remove redundant
9694 * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Use float
9695 constant for 0x1p52. Load little-endian words of double from
9696 correct stack offsets.
9698 2013-10-04 Alan Modra <amodra@gmail.com>
9700 * sysdeps/powerpc/sysdep.h (LOWORD, HIWORD, HISHORT): Define.
9701 * sysdeps/powerpc/powerpc32/fpu/s_copysign.S: Load little-endian
9702 words of double from correct stack offsets.
9703 * sysdeps/powerpc/powerpc32/fpu/s_copysignl.S: Likewise.
9704 * sysdeps/powerpc/powerpc32/fpu/s_lrint.S: Likewise.
9705 * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
9706 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
9707 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
9708 * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
9709 * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
9710 * sysdeps/powerpc/powerpc32/power5/fpu/s_isnan.S: Likewise.
9711 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnan.S: Likewise.
9712 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
9713 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
9714 * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
9715 * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
9716 * sysdeps/powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
9717 * sysdeps/powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
9718 * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Use HISHORT.
9719 * sysdeps/powerpc/powerpc64/power7/fpu/s_isinf.S: Likewise.
9721 2013-10-04 Alan Modra <amodra@gmail.com>
9723 * sysdeps/powerpc/fpu_control.h (_FPU_GETCW): Rewrite using
9724 64-bit int/double union.
9725 (_FPU_SETCW): Likewise.
9726 * sysdeps/powerpc/fpu/tst-setcontext-fpscr.c (_GET_DI_FPSCR): Likewise.
9727 (_SET_DI_FPSCR, _GET_SI_FPSCR, _SET_SI_FPSCR): Likewise.
9729 2013-10-04 Alan Modra <amodra@gmail.com>
9731 * sysdeps/powerpc/fpu/s_llround.c (__llround): Rewrite.
9732 * sysdeps/powerpc/fpu/s_llroundf.c (__llroundf): Rewrite.
9734 2013-10-04 Alan Modra <amodra@gmail.com>
9736 * sysdeps/powerpc/fpu/s_float_bitwise.h (__float_and_test28): Don't
9737 use vector int constants.
9738 (__float_and_test24, __float_and8, __float_get_exp): Likewise.
9740 2013-10-04 Anton Blanchard <anton@au1.ibm.com>
9742 * sysdeps/powerpc/fpu/fenv_libc.h (fenv_union_t): Replace int
9743 array with long long.
9744 * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Adjust.
9745 * sysdeps/powerpc/fpu/e_sqrtf.c (__slow_ieee754_sqrtf): Adjust.
9746 * sysdeps/powerpc/fpu/fclrexcpt.c (__feclearexcept): Adjust.
9747 * sysdeps/powerpc/fpu/fedisblxcpt.c (fedisableexcept): Adjust.
9748 * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Adjust.
9749 * sysdeps/powerpc/fpu/fegetexcept.c (__fegetexcept): Adjust.
9750 * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Adjust.
9751 * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Adjust.
9752 * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Adjust.
9753 * sysdeps/powerpc/fpu/fgetexcptflg.c (__fegetexceptflag): Adjust.
9754 * sysdeps/powerpc/fpu/fraiseexcpt.c (__feraiseexcept): Adjust.
9755 * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Adjust.
9756 * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Adjust.
9758 2013-10-04 Anton Blanchard <anton@au1.ibm.com>
9760 * sysdeps/powerpc/bits/mathinline.h (__signbitf): Use builtin.
9761 (__signbit): Likewise. Correct for little-endian.
9762 (__signbitl): Call __signbit.
9763 (lrint): Correct for little-endian.
9764 (lrintf): Call lrint.
9766 2013-10-04 Alan Modra <amodra@gmail.com>
9768 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (mynumber): Replace
9769 union 32-bit int array member with 64-bit int array.
9770 (t515, tm256): Double rather than long double.
9771 (__ieee754_sqrtl): Rewrite using 64-bit arithmetic.
9773 2013-10-04 Alan Modra <amodra@gmail.com>
9775 * sysdeps/ieee754/ldbl-128ibm/ieee754.h (union ieee854_long_double):
9777 (IEEE854_LONG_DOUBLE_BIAS): Delete.
9778 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Don't include ieee854
9779 version of math_ldbl.h.
9781 2013-10-04 Alan Modra <amodra@gmail.com>
9783 [BZ #15734], [BZ #15735]
9784 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Rewrite
9785 all uses of ieee875 long double macros and unions. Simplify test
9786 for 0.0L. Correct |x|<|y| and |x|=|y| test. Use
9787 ldbl_extract_mantissa value for ix,iy exponents. Properly
9788 normalize after ldbl_extract_mantissa, and don't add hidden bit
9789 already handled. Don't treat low word of ieee854 mantissa like
9790 low word of IBM long double and mask off bit when testing for
9792 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Rewrite
9793 all uses of ieee875 long double macros and unions. Simplify tests
9794 for 0.0L and inf. Correct double adjustment of k. Delete dead code
9795 adjusting ha,hb. Simplify code setting kld. Delete two600 and
9796 two1022, instead use their values. Recognise that tests for large
9797 "a" and small "b" are mutually exclusive. Rename vars. Comment.
9798 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c (__ieee754_remainderl):
9799 Rewrite all uses of ieee875 long double macros and unions. Simplify
9800 test for 0.0L and nan. Correct negation.
9801 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfl): Rewrite all uses of
9802 ieee875 long double macros and unions. Correct output for large
9803 magnitude x. Correct absolute value calculation.
9804 (__erfcl): Likewise.
9805 * math/libm-test.inc: Add tests for errors discovered in IBM long
9806 double versions of fmodl, remainderl, erfl and erfcl.
9808 2013-10-04 Alan Modra <amodra@gmail.com>
9810 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Rewrite
9811 all uses of ieee854 long double macros and unions. Simplify tests
9812 for long doubles that are fully specified by the high double.
9813 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
9815 * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c (__ieee754_ilogbl): Likewise.
9816 Remove dead code too.
9817 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
9818 (__ieee754_ynl): Likewise.
9819 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l): Likewise.
9820 * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Likewise.
9821 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Likewise.
9822 Remove dead code too.
9823 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c (__kernel_tanl): Likewise.
9824 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Likewise.
9825 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Likewise.
9826 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c (__isinf_nsl): Likewise.
9828 * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c (___isinfl): Likewise.
9830 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Likewise.
9831 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c (__modfl): Likewise.
9832 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl): Likewise.
9833 Comment on variable precision.
9834 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c (__nexttoward): Likewise.
9835 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
9837 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
9838 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
9839 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
9840 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c (__tanhl): Likewise.
9841 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust tan_towardzero ulps.
9843 2013-10-04 Alan Modra <amodra@gmail.com>
9845 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_high): Define.
9846 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Rewrite
9847 all uses of ieee854 long double macros and unions.
9848 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Likewise.
9849 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
9850 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Likewise.
9851 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl): Likewise.
9852 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l): Likewise.
9853 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
9855 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Likewise.
9856 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
9857 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl): Likewise.
9858 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
9859 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Likewise.
9860 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Likewise.
9861 Simplify sign and nan test too.
9862 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c (__cosl): Likewise.
9863 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c (__fabsl): Likewise.
9864 * sysdeps/ieee754/ldbl-128ibm/s_finitel.c (___finitel): Likewise.
9865 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c (___fpclassifyl):
9867 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
9868 * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c (__issignalingl):
9870 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
9871 * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c (___signbitl): Likewise.
9872 * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c (__sincosl): Likewise.
9873 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c (__sinl): Likewise.
9874 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c (__tanl): Likewise.
9875 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (__logbl): Likewise.
9877 2013-10-04 Alan Modra <amodra@gmail.com>
9879 * stdio-common/printf_size.c (__printf_size): Don't use
9880 union ieee854_long_double in fpnum union.
9881 * stdio-common/printf_fphex.c (__printf_fphex): Likewise. Use
9882 signbit macro to retrieve sign from long double.
9883 * stdio-common/printf_fp.c (___printf_fp): Use signbit macro to
9884 retrieve sign from long double.
9885 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Adjust for fpnum change.
9886 * sysdeps/ieee754/ldbl-128/printf_fphex.c: Likewise.
9887 * sysdeps/ieee754/ldbl-96/printf_fphex.c: Likewise.
9888 * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
9889 * math/test-misc.c (main): Don't use union ieee854_long_double.
9891 2013-10-04 Alan Modra <amodra@gmail.com>
9894 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Comment fix.
9895 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c
9896 (PRINT_FPHEX_LONG_DOUBLE): Tidy code by moving -53 into ediff
9897 calculation. Remove unnecessary test for denormal exponent.
9898 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c (__mpn_extract_long_double):
9899 Correct handling of denormals. Avoid undefined shift behaviour.
9900 Correct normalisation of low mantissa when low double is denormal.
9901 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h
9902 (ldbl_extract_mantissa): Likewise. Comment. Use uint64_t* for hi64.
9903 (ldbl_insert_mantissa): Make both hi64 and lo64 parms uint64_t.
9904 Correct normalisation of low mantissa. Test for overflow of high
9905 mantissa and normalise.
9906 (ldbl_nearbyint): Use more readable constant for two52.
9907 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c
9908 (__mpn_construct_long_double): Fix test for overflow of high
9909 mantissa and correct normalisation. Avoid undefined shift.
9911 2013-10-04 Alan Modra <amodra@gmail.com>
9913 * sysdeps/ieee754/ldbl-128ibm/ieee754.h
9914 (union ibm_extended_long_double): Define as an array of ieee754_double.
9915 (IBM_EXTENDED_LONG_DOUBLE_BIAS): Delete.
9916 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Update all references
9917 to ibm_extended_long_double and IBM_EXTENDED_LONG_DOUBLE_BIAS.
9918 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
9919 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
9920 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c: Likewise.
9921 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
9922 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
9923 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
9924 * sysdeps/ieee754/ldbl-128ibm/strtold_l.c: Likewise.
9925 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
9927 2013-10-03 Joseph Myers <joseph@codesourcery.com>
9929 * locale/programs/locarchive.c (add_locale): Use constant 4096 for
9930 page size instead of calling getpagesize.
9932 * locale/localeinfo.h (LOCFILE_ALIGN): New macro.
9933 (LOCFILE_ALIGN_MASK): Likewise.
9934 (LOCFILE_ALIGN_UP): Likewise.
9935 (LOCFILE_ALIGNED_P): Likewise.
9936 * locale/programs/ld-collate.c (collate_output): Use the new
9937 macros instead of __alignof__ (int32_t).
9938 * locale/weight.h (findidx): Likewise.
9940 2013-10-03 Ondřej Bílka <neleai@seznam.cz>
9943 * manual/string.texi: Fix strncat and wcsncat.
9945 2013-10-03 Brooks Moses <bmoses@google.com>
9948 * Makefile (linkobj/libc_pic.a, linkobj/libc.so): Move rules to...
9949 * Makerules: ...here, and adjust associated comments.
9951 2013-10-02 Will Newton <will.newton@linaro.org>
9953 * malloc/Makefile: Add tst-pvalloc.
9954 * malloc/tst-pvalloc.c: New file.
9956 2013-10-02 Will Newton <will.newton@linaro.org>
9958 * malloc/tst-valloc.c: Rewrite to use test-skeleton.c and
9959 improve test coverage.
9961 2013-10-02 Will Newton <will.newton@linaro.org>
9963 * malloc/Makefile: Add tst-posix_memalign.
9964 * malloc/tst-posix_memalign.c: New file.
9966 2013-10-01 Eric Blake <eblake@redhat.com>
9968 * posix/glob.c (next_brace_sub, prefix_array, collated_compare):
9969 Use __THROWNL rather than __THROW on static functions.
9971 2013-09-30 Petr Machata <pmachata@redhat.com>
9973 * elf/elf.h (R_AARCH64_ABS16): New macro.
9974 (R_AARCH64_PREL64, R_AARCH64_PREL32): Likewise.
9975 (R_AARCH64_PREL16, R_AARCH64_MOVW_UABS_G0): Likewise.
9976 (R_AARCH64_MOVW_UABS_G0_NC, R_AARCH64_MOVW_UABS_G1): Likewise.
9977 (R_AARCH64_MOVW_UABS_G1_NC, R_AARCH64_MOVW_UABS_G2): Likewise.
9978 (R_AARCH64_MOVW_UABS_G2_NC, R_AARCH64_MOVW_UABS_G3): Likewise.
9979 (R_AARCH64_MOVW_SABS_G0, R_AARCH64_MOVW_SABS_G1): Likewise.
9980 (R_AARCH64_MOVW_SABS_G2, R_AARCH64_LD_PREL_LO19): Likewise.
9981 (R_AARCH64_ADR_PREL_LO21, R_AARCH64_ADR_PREL_PG_HI21): Likewise.
9982 (R_AARCH64_ADR_PREL_PG_HI21_NC, R_AARCH64_ADD_ABS_LO12_NC): Likewise.
9983 (R_AARCH64_LDST8_ABS_LO12_NC, R_AARCH64_LDST16_ABS_LO12_NC): Likewise.
9984 (R_AARCH64_LDST32_ABS_LO12_NC, R_AARCH64_LDST64_ABS_LO12_NC): Likewise.
9985 (R_AARCH64_LDST128_ABS_LO12_NC, R_AARCH64_TSTBR14): Likewise.
9986 (R_AARCH64_CONDBR19, R_AARCH64_JUMP26, R_AARCH64_CALL26): Likewise.
9987 (R_AARCH64_MOVW_PREL_G0, R_AARCH64_MOVW_PREL_G0_NC): Likewise.
9988 (R_AARCH64_MOVW_PREL_G1, R_AARCH64_MOVW_PREL_G1_NC): Likewise.
9989 (R_AARCH64_MOVW_PREL_G2, R_AARCH64_MOVW_PREL_G2_NC): Likewise.
9990 (R_AARCH64_MOVW_PREL_G3, R_AARCH64_MOVW_GOTOFF_G0): Likewise.
9991 (R_AARCH64_MOVW_GOTOFF_G0_NC, R_AARCH64_MOVW_GOTOFF_G1): Likewise.
9992 (R_AARCH64_MOVW_GOTOFF_G1_NC, R_AARCH64_MOVW_GOTOFF_G2): Likewise.
9993 (R_AARCH64_MOVW_GOTOFF_G2_NC, R_AARCH64_MOVW_GOTOFF_G3): Likewise.
9994 (R_AARCH64_GOTREL64, R_AARCH64_GOTREL32): Likewise.
9995 (R_AARCH64_GOT_LD_PREL19, R_AARCH64_LD64_GOTOFF_LO15): Likewise.
9996 (R_AARCH64_ADR_GOT_PAGE, R_AARCH64_LD64_GOT_LO12_NC): Likewise.
9997 (R_AARCH64_LD64_GOTPAGE_LO15, R_AARCH64_TLSGD_ADR_PREL21): Likewise.
9998 (R_AARCH64_TLSGD_ADR_PAGE21, R_AARCH64_TLSGD_ADD_LO12_NC): Likewise.
9999 (R_AARCH64_TLSGD_MOVW_G1, R_AARCH64_TLSGD_MOVW_G0_NC): Likewise.
10000 (R_AARCH64_TLSLD_ADR_PREL21, R_AARCH64_TLSLD_ADR_PAGE21): Likewise.
10001 (R_AARCH64_TLSLD_ADD_LO12_NC, R_AARCH64_TLSLD_MOVW_G1): Likewise.
10002 (R_AARCH64_TLSLD_MOVW_G0_NC, R_AARCH64_TLSLD_LD_PREL19): Likewise.
10003 (R_AARCH64_TLSLD_MOVW_DTPREL_G2): Likewise.
10004 (R_AARCH64_TLSLD_MOVW_DTPREL_G1): Likewise.
10005 (R_AARCH64_TLSLD_MOVW_DTPREL_G1_NC): Likewise.
10006 (R_AARCH64_TLSLD_MOVW_DTPREL_G0): Likewise.
10007 (R_AARCH64_TLSLD_MOVW_DTPREL_G0_NC): Likewise.
10008 (R_AARCH64_TLSLD_ADD_DTPREL_HI12): Likewise.
10009 (R_AARCH64_TLSLD_ADD_DTPREL_LO12): Likewise.
10010 (R_AARCH64_TLSLD_ADD_DTPREL_LO12_NC): Likewise.
10011 (R_AARCH64_TLSLD_LDST8_DTPREL_LO12): Likewise.
10012 (R_AARCH64_TLSLD_LDST8_DTPREL_LO12_NC): Likewise.
10013 (R_AARCH64_TLSLD_LDST16_DTPREL_LO12): Likewise.
10014 (R_AARCH64_TLSLD_LDST16_DTPREL_LO12_NC): Likewise.
10015 (R_AARCH64_TLSLD_LDST32_DTPREL_LO12): Likewise.
10016 (R_AARCH64_TLSLD_LDST32_DTPREL_LO12_NC): Likewise.
10017 (R_AARCH64_TLSLD_LDST64_DTPREL_LO12): Likewise.
10018 (R_AARCH64_TLSLD_LDST64_DTPREL_LO12_NC): Likewise.
10019 (R_AARCH64_TLSLD_LDST128_DTPREL_LO12): Likewise.
10020 (R_AARCH64_TLSLD_LDST128_DTPREL_LO12_NC): Likewise.
10021 (R_AARCH64_TLSIE_MOVW_GOTTPREL_G1): Likewise.
10022 (R_AARCH64_TLSIE_MOVW_GOTTPREL_G0_NC): Likewise.
10023 (R_AARCH64_TLSIE_ADR_GOTTPREL_PAGE21): Likewise.
10024 (R_AARCH64_TLSIE_LD64_GOTTPREL_LO12_NC): Likewise.
10025 (R_AARCH64_TLSIE_LD_GOTTPREL_PREL19): Likewise.
10026 (R_AARCH64_TLSLE_MOVW_TPREL_G2): Likewise.
10027 (R_AARCH64_TLSLE_MOVW_TPREL_G1): Likewise.
10028 (R_AARCH64_TLSLE_MOVW_TPREL_G1_NC): Likewise.
10029 (R_AARCH64_TLSLE_MOVW_TPREL_G0): Likewise.
10030 (R_AARCH64_TLSLE_MOVW_TPREL_G0_NC): Likewise.
10031 (R_AARCH64_TLSLE_ADD_TPREL_HI12): Likewise.
10032 (R_AARCH64_TLSLE_ADD_TPREL_LO12): Likewise.
10033 (R_AARCH64_TLSLE_ADD_TPREL_LO12_NC): Likewise.
10034 (R_AARCH64_TLSLE_LDST8_TPREL_LO12): Likewise.
10035 (R_AARCH64_TLSLE_LDST8_TPREL_LO12_NC): Likewise.
10036 (R_AARCH64_TLSLE_LDST16_TPREL_LO12): Likewise.
10037 (R_AARCH64_TLSLE_LDST16_TPREL_LO12_NC): Likewise.
10038 (R_AARCH64_TLSLE_LDST32_TPREL_LO12): Likewise.
10039 (R_AARCH64_TLSLE_LDST32_TPREL_LO12_NC): Likewise.
10040 (R_AARCH64_TLSLE_LDST64_TPREL_LO12): Likewise.
10041 (R_AARCH64_TLSLE_LDST64_TPREL_LO12_NC): Likewise.
10042 (R_AARCH64_TLSLE_LDST128_TPREL_LO12): Likewise.
10043 (R_AARCH64_TLSLE_LDST128_TPREL_LO12_NC): Likewise.
10044 (R_AARCH64_TLSDESC_LD_PREL19): Likewise.
10045 (R_AARCH64_TLSDESC_ADR_PREL21): Likewise.
10046 (R_AARCH64_TLSDESC_ADR_PAGE21): Likewise.
10047 (R_AARCH64_TLSDESC_LD64_LO12): Likewise.
10048 (R_AARCH64_TLSDESC_ADD_LO12): Likewise.
10049 (R_AARCH64_TLSDESC_OFF_G1): Likewise.
10050 (R_AARCH64_TLSDESC_OFF_G0_NC): Likewise.
10051 (R_AARCH64_TLSDESC_LDR): Likewise.
10052 (R_AARCH64_TLSDESC_ADD): Likewise.
10053 (R_AARCH64_TLSDESC_CALL): Likewise.
10055 2013-09-30 Andreas Schwab <schwab@suse.de>
10058 * nscd/aicache.c (addhstaiX): Properly use the cache variable for
10059 the nss database lookup.
10060 * nscd/initgrcache.c (addinitgroupsX): Likewise.
10061 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
10063 2013-09-28 Mike Frysinger <vapier@gentoo.org>
10065 * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Fix style.
10067 2013-09-28 P. J. McDermott <pj@pehjota.net>
10069 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't use
10070 ${Bash-specific parameter/pattern/string} parameter expansion.
10071 * sysdeps/unix/make-syscalls.sh: Likewise.
10073 2013-09-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
10075 * sysdeps/sh/stackguard-macros.h: New file.
10077 2013-09-26 Ondřej Bílka <neleai@seznam.cz>
10079 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
10080 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove strrchr ifunc.
10081 * sysdeps/x86_64/multiarch/strend-sse4.S Remove.
10082 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S Likewise.
10083 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
10084 * sysdeps/x86_64/strrchr.S (strrchr): Use optimized implementation.
10086 2013-09-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10088 * sysdeps/powerpc/powerpc64/stackguard-macros.h (POINTER_CHK_GUARD:
10089 Fix thread ID register.
10091 2013-09-25 Joseph Myers <joseph@codesourcery.com>
10093 * conform/data/sched.h-data [XPG3 || XPG4]: Disable whole file.
10094 [POSIX || UNIX98]: Require rather than permitting all symbols from
10096 [POSIX || UNIX98] (sched_ss_low_priority): Do not specify optional
10097 element of struct sched_param.
10098 [POSIX || UNIX98] (sched_ss_repl_period): Likewise.
10099 [POSIX || UNIX98] (sched_ss_init_budget): Likewise.
10100 [POSIX || UNIX98] (sched_ss_max_repl): Likewise.
10101 [POSIX || UNIX98] (SCHED_SPORADIC): Do not specify optional
10104 2013-09-24 Olivier Langlois <olivier@olivierlanglois.net>
10106 * stdio-common/tst-long-dbl-fphex.c (do_test): Fix swprintf length
10107 argument calculation.
10109 2013-09-24 Joseph Myers <joseph@codesourcery.com>
10111 * conform/data/pthread.h-data [POSIX] (PTHREAD_MUTEX_INITIALIZER):
10113 [POSIX] (pthread_attr_t): Do not require type.
10114 [POSIX] (pthread_cond_t): Likewise.
10115 [POSIX] (pthread_condattr_t): Likewise.
10116 [POSIX] (pthread_key_t): Likewise.
10117 [POSIX] (pthread_mutex_t): Likewise.
10118 [POSIX] (pthread_mutexattr_t): Likewise.
10119 [POSIX] (pthread_once_t): Likewise.
10120 [POSIX] (pthread_t): Likewise.
10121 [POSIX-based standards] (pthread_atfork): Expect function.
10123 2013-09-24 Joseph Myers <joseph@codesourcery.com>
10124 Richard Sandiford <richard@codesourcery.com>
10126 * locale/programs/locfile.h: Include <byteswap.h> and <stdbool.h>.
10127 (swap_endianness_p): New extern variable.
10128 (set_big_endian): New inline function.
10129 (maybe_swap_uint32): Likewise.
10130 (maybe_swap_uint32_array): Likewise.
10131 (maybe_swap_uint32_obstack): Likewise.
10132 * locale/programs/locfile.c: Include <stdbool.h>.
10133 (swap_endianness_p): New variable.
10134 (add_locale_uint32): Call maybe_swap_uint32.
10135 (add_locale_uint32_array): Call maybe_swap_uint32_obstack.
10136 (write_locale_data): Call maybe_swap_uint32_array.
10137 * locale/programs/ld-collate.c (obstack_int32_grow): Call
10139 (obstack_int32_grow_fast): Likewise.
10140 (output_weightwc): Call maybe_swap_uint32_obstack.
10141 (collate_output): Likewise.
10142 * locale/programs/localedef.c (OPT_LITTLE_ENDIAN): New macro.
10143 (OPT_LITTLE_ENDIAN): Likewise.
10144 (options): Add --little-endian and --big-endian options.
10145 (parse_opt): Handle OPT_LITTLE_ENDIAN and OPT_BIG_ENDIAN.
10146 * locale/programs/locarchive.c: Include "locfile.h".
10150 (create_archive): Use the new macros to access fields of
10151 structures directly mapped from or written to locale archives.
10152 (oldlocrecentcmp): Likewise.
10153 (enlarge_archive): Likewise.
10154 (insert_name): Likewise.
10155 (add_alias): Likewise.
10156 (add_locale): Likewise.
10157 (delete_locales_from_archive): Likewise.
10158 (show_archive_content): Likewise.
10159 (add_locale_to_archive): Likewise. Use maybe_swap_uint32 on
10162 2013-09-24 Roland McGrath <roland@hack.frob.com>
10164 * manual/freemanuals.texi: Updated from (newly) canonical copy at
10165 http://www.gnu.org/doc/freemanuals.texi.
10166 * manual/libc.texinfo (Free Manuals): Put the @appendix line here.
10168 2013-09-24 Will Newton <will.newton@linaro.org>
10170 * sysdeps/mach/hurd/i386/tls.h (TLS_INIT_TP_EXPENSIVE): Remove
10173 2013-09-23 Joseph Myers <joseph@codesourcery.com>
10175 * locale/hashval.h (compute_hashval): Interpret bytes of key as
10178 2013-09-23 Maciej W. Rozycki <macro@codesourcery.com>
10180 * manual/threads.texi (POSIX Threads): Fix a typo.
10182 2013-09-23 Siddhesh Poyarekar <siddhesh@redhat.com>
10185 * string/tst-strcoll-overflow.c: New test case.
10186 * string/Makefile (xtests): Add tst-strcoll-overflow.
10187 * string/strcoll_l.c (STRCOLL): Skip allocating memory for
10188 cache if string sizes may cause integer overflow.
10191 * string/strcoll_l.c (coll_seq): New members rule, idx,
10192 save_idx and back_us.
10193 (get_next_seq_nocache): New function.
10194 (do_compare_nocache): New function.
10195 (STRCOLL): Use get_next_seq_nocache and do_compare_nocache
10198 2013-09-23 Carlos O'Donell <carlos@redhat.com>
10201 * sysdeps/generic/stackguard-macros.h: If PTRGUARD_LOCAL use
10202 __pointer_chk_guard_local, otherwise __pointer_chk_guard.
10203 * elf/Makefile: Define CFLAGS-tst-ptrguard1-static.c.
10206 * elf/Makefile (tests): Add tst-ptrguard1.
10207 (tests-static): Add tst-ptrguard1-static.
10208 (tst-ptrguard1-ARGS): Define.
10209 (tst-ptrguard1-static-ARGS): Define.
10210 * elf/tst-ptrguard1.c: New file.
10211 * elf/tst-ptrguard1-static.c: New file.
10212 * sysdeps/x86_64/stackguard-macros.h: Define POINTER_CHK_GUARD.
10213 * sysdeps/i386/stackguard-macros.h: Likewise.
10214 * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
10215 * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
10216 * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
10217 * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
10218 * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
10219 * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
10221 2013-09-23 Hector Marco <hecmargi@upv.es>
10222 Ismael Ripoll <iripoll@disca.upv.es>
10223 Carlos O'Donell <carlos@redhat.com>
10226 * sysdeps/generic/stackguard-macros.h: Define
10227 __pointer_chk_guard_local and POINTER_CHK_GUARD.
10228 * csu/libc-start.c [!SHARED && !THREAD_SET_POINTER_GUARD]:
10229 Define __pointer_chk_guard_local.
10230 (LIBC_START_MAIN) [!SHARED]: Call _dl_setup_pointer_guard.
10231 Use THREAD_SET_POINTER_GUARD or set __pointer_chk_guard_local.
10233 2013-09-15 Vinitha Vijayan <vinitha.vijayann@gmail.com>
10236 * elf/dl-deps.c (_dl_map_object_deps): Remove duplicate declaration.
10238 2013-09-20 Andreas Schwab <schwab@linux-m68k.org>
10240 * include/string.h (__ffs): Declare as hidden.
10241 * string/ffs.c (__ffs): Define as hidden.
10242 * sysdeps/i386/ffs.c (__ffs): Likewise.
10243 * sysdeps/i386/i686/ffs.c (__ffs): Likewise.
10244 * sysdeps/powerpc/ffs.c (__ffs): Likewise.
10245 * sysdeps/s390/ffs.c (__ffs): Likewise.
10246 * sysdeps/x86_64/ffs.c (__ffs): Likewise.
10248 2013-09-20 Alexandre Oliva <aoliva@redhat.com>
10250 * NEWS: Mention malloc probes.
10252 * malloc/arena.c (new_heap): New memory_heap_new probe.
10253 (grow_heap): New memory_heap_more probe.
10254 (shrink_heap): New memory_heap_less probe.
10255 (heap_trim): New memory_heap_free probe.
10256 * malloc/malloc.c (sysmalloc): New memory_sbrk_more probe.
10257 (systrim): New memory_sbrk_less probe.
10258 * manual/probes.texi: Document them.
10260 * malloc/arena.c (arena_get_retry): Add memory_arena_retry probe.
10261 * manual/probes.texi: Document it.
10263 * malloc/malloc.c (__libc_malloc): Add memory_malloc_retry probe.
10264 (__libc_realloc): Add memory_realloc_retry probe.
10265 (__libc_memalign): Add memory_memalign_retry probe.
10266 (__libc_valloc): Add memory_valloc_retry probe.
10267 (__libc_pvalloc): Add memory_pvalloc_retry probe.
10268 (__libc_calloc): Add memory_calloc_retry probe.
10269 * manual/probes.texi: Document them.
10271 * malloc/arena.c (get_free_list): Add probe
10272 memory_arena_reuse_free_list.
10273 (reused_arena) [PER_THREAD]: Add probes memory_arena_reuse_wait
10274 and memory_arena_reuse.
10275 (arena_get2) [!PER_THREAD]: Likewise.
10276 * malloc/malloc.c (__libc_realloc) [!PER_THREAD]: Add probe
10277 memory_arena_reuse_realloc.
10278 * manual/probes.texi: Document them.
10280 * malloc/malloc.c (__libc_free): Add
10281 memory_mallopt_free_dyn_thresholds probe.
10282 (__libc_mallopt): Add multiple memory_mallopt probes.
10283 * manual/probes.texi: Document them.
10285 * malloc/malloc.c: Include stap-probe.h.
10286 (__libc_mallopt): Add memory_mallopt probe.
10287 * malloc/arena.c (_int_new_arena): Add memory_arena_new probe.
10288 * manual/probes.texi: New.
10289 * manual/Makefile (chapters): Add probes.
10290 * manual/threads.texi: Set next node.
10292 2013-09-19 Wei-Lun Chao <bluebat@member.fsf.org>
10294 [BZ #15963, #13985]
10295 * locale/iso-639.def: Add Chiga (cgg) and Chinese (gan, hak,
10296 czh, cjy, lzh, cmn, mnp, cdo, czo, cpx, wuu, hsn, yue).
10297 Add `Chinese' to `nan' entry name.
10299 2013-09-19 Siddhesh Poyarekar <siddhesh@redhat.com>
10301 * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): New macro.
10302 (POLYNOMIAL): Likewise.
10303 (TAYLOR_SINCOS): Likewise.
10304 (TAYLOR_SLOW): Likewise.
10305 (__sin): Use TAYLOR_SINCOS.
10307 (slow): Use TAYLOR_SLOW.
10309 (bsloww): Likewise.
10310 (csloww): Likewise.
10312 2013-09-19 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
10314 * stdlib/strtod_l.c: Fix buffer overrun.
10316 2013-09-19 Siddhesh Poyarekar <siddhesh@redhat.com>
10318 * benchtests/Makefile (bench): Add sincos.
10319 * benchtests/bench-sincos.c: New file.
10321 * math/libm-test.inc (cos_test_data): New test inputs.
10322 (sin_test_data): Likewise.
10324 * sysdeps/ieee754/dbl-64/s_sin.c (SINCOS_TABLE_LOOKUP): New
10330 (sloww1): Likewise.
10331 (sloww2): Likewise.
10332 (bsloww1): Likewise.
10333 (bsloww2): Likewise.
10334 (cslow2): Likewise.
10335 (csloww1): Likewise.
10336 (csloww2): Likewise.
10338 * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): New
10343 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Remove redundant
10347 2013-09-18 Maciej W. Rozycki <macro@codesourcery.com>
10349 * config.h.in (HAVE_MIPS_NAN2008): New macro.
10350 * elf/elf.h (EF_MIPS_NAN2008): Likewise.
10351 * sysdeps/generic/ldconfig.h (FLAG_MIPS_LIB32_NAN2008): Likewise.
10352 (FLAG_MIPS64_LIBN32_NAN2008): Likewise.
10353 (FLAG_MIPS64_LIBN64_NAN2008): Likewise.
10354 * elf/cache.c (print_entry): Handle the new cache flags.
10356 2013-09-18 Joseph Myers <joseph@codesourcery.com>
10357 Aldy Hernandez <aldyh@redhat.com>
10359 * sysdeps/powerpc/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]:
10360 Change condition to [_SOFT_FLOAT].
10361 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_NEAREST): New macro.
10362 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_DOWN): Likewise.
10363 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_UP): Likewise.
10364 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_ZERO): Likewise.
10365 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_ZM): Likewise.
10366 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_OM): Likewise.
10367 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Likewise.
10368 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_XM): Likewise.
10369 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_IM): Likewise.
10370 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Likewise.
10371 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Likewise.
10372 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Likewise.
10373 [__NO_FPRS__ && !_SOFT_FLOAT] (fpu_control_t): New typedef.
10374 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_GETCW): New macro.
10375 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_SETCW): Likewise.
10376 [__NO_FPRS__ && !_SOFT_FLOAT] (__fpu_control): New variable
10379 2013-09-18 Joseph Myers <joseph@codesourcery.com>
10381 * sysdeps/powerpc/powerpc32/__longjmp-common.S (LOAD_GP): Define
10382 macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
10383 (__longjmp): Use LOAD_GP to load saved GPRs.
10384 * sysdeps/powerpc/powerpc32/setjmp-common.S (SAVE_GP): Define
10385 macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
10386 (__sigsetjmp): Use SAVE_GP to save GPRs.
10388 * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = no] (+cflags):
10389 Do not append -msoft-float.
10390 [$(with-fp) = no] (sysdep-LDFLAGS): Likewise.
10392 2013-09-18 Siddhesh Poyarekar <siddhesh@redhat.com>
10394 * sysdeps/ieee754/dbl-64/sincos32.c: Fix code formatting.
10396 2013-09-17 Joseph Myers <joseph@codesourcery.com>
10399 * sysdeps/powerpc/fpu_control.h [!_SOFT_FLOAT && !__NO_FPRS__]
10400 (_FPU_GETCW): Use initial "__" on variable and field names but not
10401 on macro parameter name.
10402 [!_SOFT_FLOAT && !__NO_FPRS__] (_FPU_SETCW): Likewise. Use
10403 parentheses around reference to macro parameter.
10405 2013-09-13 Richard Sandiford <richard@codesourcery.com>
10407 * locale/programs/ld-ctype.c (find_idx): Use uint32_t in
10409 (ctype_startup): Use uint32_t in cast and sizeof for
10412 2013-09-11 Jia Liu <proljc@gmail.com>
10414 * sunrpc/rpc/types.h [__APPLE_CC__]: Define __u_char_defined and
10416 [__FreeBSD__]: Likewise.
10418 2013-09-11 Ondřej Bílka <neleai@seznam.cz>
10420 * sysdeps/x86_64/multiarch/ifunc-impl-list.c
10421 (__libc_ifunc_impl_list): Remove: __strchr_sse42.
10422 * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Remove.
10423 (strchr): Remove __strchr_sse42 ifunc selection.
10424 * sysdeps/x86_64/strchr.S (strchr): Use optimized implementation.
10425 * sysdeps/x86_64/strchrnul.S: Include sysdeps/x86_64/strchr.S.
10427 2013-09-11 Will Newton <will.newton@linaro.org>
10429 * benchtests/bench-timing.h (TIMING_INIT): Rename ITERS
10430 parameter to RES. Remove hardcoded 1000 value.
10431 * benchtests/bench-skeleton.c (main): Pass RES parameter
10432 to TIMING_INIT and multiply result by 1000.
10434 2013-09-10 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10436 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
10438 2013-09-11 Andreas Schwab <schwab@suse.de>
10440 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (__O_TMPFILE): Define
10442 (O_TMPFILE) [__USE_GNU]: Define.
10443 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_TMPFILE):
10446 2013-09-11 Will Newton <will.newton@linaro.org>
10449 * malloc/malloc.c (__libc_memalign): Check the value of bytes
10452 2013-09-11 Will Newton <will.newton@linaro.org>
10455 * malloc/malloc.c (__libc_valloc): Check the value of bytes
10458 2013-09-11 Will Newton <will.newton@linaro.org>
10461 * malloc/malloc.c (__libc_pvalloc): Check the value of bytes
10464 2013-09-10 Ondřej Bílka <neleai@seznam.cz>
10466 * sysdeps/ieee754/dbl-64/e_j0.c: Remove DO_NOT_USE_THIS conditionals.
10467 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
10468 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
10469 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
10470 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
10472 2013-09-10 Allan McRae <allan@archlinux.org>
10475 * manual/arith.texi (Parsing of Floats): Clarify
10479 * manual/install.texi (Running make install): Mention
10481 * INSTALL: Regenerated.
10483 2013-09-09 Maciej W. Rozycki <macro@codesourcery.com>
10485 * csu/init-first.c (_init): Remove the !SHARED condition around
10486 FPU control word initialization.
10487 * elf/dl-support.c (_dl_fpu_control): New variable.
10488 (_dl_aux_init) <AT_FPUCW>: Initialize it.
10489 * math/test-fpucw.c [!FPU_CONTROL] (FPU_CONTROL): New macro.
10490 (main): Replace _FPU_DEFAULT with FPU_CONTROL throughout.
10491 * math/test-fpucw-static.c: New file.
10492 * math/test-fpucw-ieee.c: New file.
10493 * math/test-fpucw-ieee-static.c: New file.
10494 * math/Makefile (tests): Add `test-fpucw-ieee' and
10496 (tests-static): New variable.
10497 [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests))): Move
10499 [($(build-shared),yes)]
10500 ($(addprefix $(objpfx),$(filter-out $(tests-static),$(tests)))):
10502 [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests-static))):
10505 2013-09-09 Allan McRae <allan@archlinux.org>
10508 * manual/string.texi (Collation Functions): Fix typo in
10510 Reported by Suren Karapetyan <me@suren.karapetyan.name>.
10513 * stdlib/isomac.c (get_null_defines): Fix memory leak.
10516 * libio/memstream.c (open_memstream): Fix memory leak.
10517 * libio/wmemstream.c (open_wmemstream): Likewise.
10520 * nscd/netgroupcache.c: Fix nesting of ifdefs.
10522 2013-09-09 Will Newton <will.newton@linaro.org>
10524 * malloc/Makefile: Add tst-realloc to tests.
10525 * malloc/tst-realloc.c: New file.
10527 2013-09-09 Allan McRae <allan@archlinux.org>
10530 * COPYING: Update from GNU website to fix FSF address.
10531 * COPYING.LIB: Likewise.
10533 2013-09-06 David S. Miller <davem@davemloft.net>
10535 * po/zh_TW.po: Update Chinese (traditional) translation from
10536 translation project.
10538 2013-09-06 Richard Sandiford <richard@codesourcery.com>
10539 Joseph Myers <joseph@codesourcery.com>
10541 * locale/programs/locfile.c: Include <assert.h>, <wchar.h> and
10543 (obstack_chunk_alloc): New macro.
10544 (obstack_chunk_free): Likewise.
10545 (record_offset): New function.
10546 (init_locale_data): Likewise.
10547 (align_locale_data): Likewise.
10548 (add_locale_empty): Likewise.
10549 (add_locale_raw_data): Likewise.
10550 (add_locale_raw_obstack): Likewise.
10551 (add_locale_string): Likewise.
10552 (add_locale_wstring): Likewise.
10553 (add_locale_uint32): Likewise.
10554 (add_locale_uint32_array): Likewise.
10555 (add_locale_char): Likewise.
10556 (start_locale_structure): Likewise.
10557 (end_locale_structure): Likewise.
10558 (start_locale_prelude): Likewise.
10559 (end_locale_prelude): Likewise.
10560 (write_locale_data): Take locale_file structure rather than an
10562 * locale/programs/locfile.h: Include "obstack.h".
10563 (struct locale_file): Change to store locale file contents instead
10565 (init_locale_data): New prototype.
10566 (align_locale_data): Likewise.
10567 (add_locale_empty): Likewise.
10568 (add_locale_raw_data): Likewise.
10569 (add_locale_raw_obstack): Likewise.
10570 (add_locale_string): Likewise.
10571 (add_locale_wstring): Likewise.
10572 (add_locale_uint32): Likewise.
10573 (add_locale_uint32_array): Likewise.
10574 (add_locale_char): Likewise.
10575 (start_locale_structure): Likewise.
10576 (end_locale_structure): Likewise.
10577 (start_locale_prelude): Likewise.
10578 (end_locale_prelude): Likewise.
10579 (write_locale_data): Update prototype.
10580 * locale/programs/3level.h (struct TABLE): Remove result field.
10581 (CONCAT(TABLE,_finalize)): Change to CONCAT(add_locale_,TABLE).
10582 Use new locale_file interface.
10583 [!NO_FINALIZE]: Change condition to [!NO_ADD_LOCALE].
10584 (NO_FINALIZE): Change #undef to #undef of NO_ADD_LOCALE.
10585 * locale/programs/ld-address.c (address_output): Use new
10586 locale_file interface.
10587 * locale/programs/ld-collate.c (NO_FINALIZE): Change to
10589 (collate_finish): Don't call collseq_table_finalize.
10590 (collate_output): Use new locale_file interface.
10591 * locale/programs/ld-ctype.c: Move includes of "3level.h" earlier
10593 (NO_FINALIZE): Change to NO_ADD_LOCALE.
10594 (TABLE): Move defines earlier in file.
10595 (ELEMENT): Likewise.
10596 (DEFAULT): Likewise.
10597 (wctrans_table_add): Move macro and inline function earlier in
10599 (struct wctype_table): Move type earlier in file.
10600 (add_locale_wctype_table): New static prototype.
10601 (struct locale_ctype_t): Use logical types instead of struct iovec
10602 pointers for members.
10603 (ctype_output): Use new locale_file interface.
10604 (wctype_table_finalize): Change to add_locale_wctype_table. Use
10605 new locale_file interface.
10606 (allocate_arrays): Update for use of new locale_file interface.
10607 * locale/programs/ld-identification.c (identification_output): Use
10608 new locale_file interface.
10609 * locale/programs/ld-measurement.c (measurement_output): Likewise.
10610 * locale/programs/ld-messages.c (messages_output): Likewise.
10611 * locale/programs/ld-monetary.c (monetary_output): Likewise.
10612 * locale/programs/ld-name.c (name_output): Likewise.
10613 * locale/programs/ld-numeric.c (numeric_output): Likewise.
10614 * locale/programs/ld-paper.c (paper_output): Likewise.
10615 * locale/programs/ld-telephone.c (telephone_output): Likewise.
10616 * locale/programs/ld-time.c (time_output): Likewise.
10618 2013-09-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10620 * benchtests/Makefile: Add memrchr benchmark.
10621 * benchtests/bench-memchr.c (USE_AS_MEMRCHR): Add define to use
10622 benchmark as memrchr.
10623 * benchtests/bench-memrchr-ifunc.c: New file.
10624 * benchtests/bench-memrchr.c: New file.
10626 2013-09-06 Will Newton <will.newton@linaro.org>
10628 * benchtests/Makefile (string-bench): Add memcpy.
10630 2013-09-05 Carlos O'Donell <carlos@redhat.com>
10631 Cong Wang <amwang@redhat.com>
10634 * sysdeps/unix/sysv/linux/bits/in.h
10635 [_UAPI_LINUX_IN6_H]: Define __USE_KERNEL_IPV6_DEFS.
10636 * inet/netinet/in.h: Move in_addr definition and bits/in.h inclusion
10637 before __USE_KERNEL_IPV6_DEFS uses.
10638 * inet/netinet/in.h [!__USE_KERNEL_IPV6_DEFS]: Define IPPROTO_MH, and
10640 [__USE_KERNEL_IPV6_DEFS]: Don't define any of IPPROTO_*, in6_addr,
10641 sockaddr_in6, or ipv6_mreq.
10643 2013-09-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10645 * sysdeps/powerpc/powerpc32/power7/memrchr.S (__memrchr): Fix invalid
10646 memory access for final bytes in some large inputs.
10647 * sysdeps/powerpc/powerpc64/power7/memrchr.S (__memrchr): Likewise.
10649 2013-09-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10651 * string/test-memrchr.c: New file.
10652 * string/test-memrchr-ifunc.c: New file.
10653 * string/Makefile: Add new memrchr testcase.
10655 2013-09-05 Mike Frysinger <vapier@gentoo.org>
10657 * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Skip test when
10658 fanotify_init returns EPERM.
10660 2013-09-04 Joseph Myers <joseph@codesourcery.com>
10662 * conform/conformtest.pl (newtoken): Treat tokens not allowed as
10664 (top level): Treat second token from macro or constant entries for
10665 allowed headers as allowed.
10666 * include/complex.h: Condition internal declarations on
10668 * include/fenv.h: Condition include of <stdbool.h> and internal
10669 declarations on [!_ISOMAC].
10671 2013-09-04 Chris Leonard <cjl@sugarlabs,.org>
10674 * locale/iso-4217.def: Update iso-1427.def and related occurrences.
10676 2013-09-04 Joseph Myers <joseph@codesourcery.com>
10678 * configure.in (--enable-versioning): Remove configure option.
10679 (libc_cv_asm_symver_directive): Remove configure test.
10680 (libc_cv_ld_version_script_option): Likewise.
10681 (VERSIONING): Remove variable and AC_SUBST.
10682 (DO_VERSIONING): Remove AC_DEFINE.
10683 * configure: Regenerated.
10684 * config.h.in (DO_VERSIONING): Remove macro.
10685 * Makerules [$(versioning) = yes]: Change conditionals to
10686 [$(build-shared) = yes].
10687 * config.make.in (versioning): Remove variable.
10688 * dlfcn/Makefile [$(versioning) = yes]: Change conditionals to
10689 [$(build-shared) = yes].
10690 * dlfcn/modstatic2.c (test) [DO_VERSIONING]: Remove conditional.
10691 * dlfcn/tststatic2.c (main) [DO_VERSIONING]: Likewise.
10692 * elf/Makefile [$(versioning) = yes]: Change conditionals to
10693 [$(build-shared) = yes].
10694 * extra-lib.mk [$(versioning) = yes]: Likewise.
10695 * hurd/Makefile [$(versioning) = yes]: Likewise.
10696 * hurd/geteuids.c [SHARED && DO_VERSIONING]: Change conditional to
10698 * include/libc-symbols.h [DO_VERSIONING]: Change conditional to
10700 [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
10701 [SHARED && !NO_HIDDEN].
10702 * include/shlib-compat.h [DO_VERSIONING]: Change conditional to
10704 [SHARED && DO_VERSIONING]: Likewise..
10705 * libio/Makefile [$(versioning) = yes]: Change conditionals to
10706 [$(build-shared) = yes].
10707 * manual/install.texi (--disable-versioning): Remove
10709 * INSTALL: Regenerated.
10710 * resolv/res_libc.c [SHARED && DO_VERSIONING]: Change conditional
10712 * sunrpc/Makefile [$(versioning) = yes]: Change conditional to
10713 [$(build-shared) = yes].
10714 * sysdeps/gnu/Makefile [$(versioning) = yes]: Likewise.
10715 * sysdeps/i386/i686/multiarch/strstr-c.c
10716 [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
10717 [SHARED && !NO_HIDDEN].
10718 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h
10719 [SHARED && DO_VERSIONING]: Change conditional to [SHARED].
10720 * sysdeps/powerpc/powerpc32/dl-machine.c
10721 [SHARED && !(DO_VERSIONING - 0)]: Remove conditional error.
10722 * sysdeps/powerpc/powerpc32/sysdep.h
10723 [SHARED && DO_VERSIONING && PIC && !NO_HIDDEN]: Change conditional
10724 to [SHARED && PIC && !NO_HIDDEN].
10725 * sysdeps/wordsize-32/divdi3.c [SHARED && DO_VERSIONING]: Change
10726 conditional to [SHARED].
10728 2013-09-04 Will Newton <will.newton@linaro.org>
10730 * benchtests/bench-timing.h (TIMING_PRINT_MEAN): New macro.
10731 * benchtests/bench-string.h: Include bench-timing.h instead
10732 of including hp-timing.h directly. (INNER_LOOP_ITERS): New
10733 define. (HP_TIMING_BEST): Delete macro. (test_init): Remove
10734 call to HP_TIMING_DIFF_INIT.
10735 * benchtests/bench-memccpy.c: Use bench-timing.h macros
10736 instead of hp-timing.h macros.
10737 * benchtests/bench-memchr.c: Likewise.
10738 * benchtests/bench-memcmp.c: Likewise.
10739 * benchtests/bench-memcpy.c: Likewise.
10740 * benchtests/bench-memmem.c: Likewise.
10741 * benchtests/bench-memmove.c: Likewise.
10742 * benchtests/bench-memset.c: Likewise.
10743 * benchtests/bench-rawmemchr.c: Likewise.
10744 * benchtests/bench-strcasecmp.c: Likewise.
10745 * benchtests/bench-strcasestr.c: Likewise.
10746 * benchtests/bench-strcat.c: Likewise.
10747 * benchtests/bench-strchr.c: Likewise.
10748 * benchtests/bench-strcmp.c: Likewise.
10749 * benchtests/bench-strcpy.c: Likewise.
10750 * benchtests/bench-strcpy_chk.c: Likewise.
10751 * benchtests/bench-strlen.c: Likewise.
10752 * benchtests/bench-strncasecmp.c: Likewise.
10753 * benchtests/bench-strncat.c: Likewise.
10754 * benchtests/bench-strncmp.c: Likewise.
10755 * benchtests/bench-strncpy.c: Likewise.
10756 * benchtests/bench-strnlen.c: Likewise.
10757 * benchtests/bench-strpbrk.c: Likewise.
10758 * benchtests/bench-strrchr.c: Likewise.
10759 * benchtests/bench-strspn.c: Likewise.
10760 * benchtests/bench-strstr.c: Likewise.
10762 2013-09-04 Will Newton <will.newton@linaro.org>
10764 * benchtests/Makefile: Use LDLIBS instead of LDFLAGS.
10766 2013-09-03 Joseph Myers <joseph@codesourcery.com>
10769 * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r): Use
10770 2**-30 instead of 2**-70 as threshold for returning -log(|x|).
10771 * math/libm-test.inc (lgamma_test_data): Add more tests.
10772 * sysdeps/i386/fpu/libm-test-ulps: Update.
10773 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10775 2013-09-03 Ondřej Bílka <neleai@seznam.cz>
10777 * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: New file.
10778 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
10780 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
10781 Add strcmp-sse2-unaligned
10782 * sysdeps/x86_64/multiarch/strcmp.S (strcmp): Add ifunc.
10784 2013-09-02 Mike Frysinger <vapier@gentoo.org>
10786 * Versions.def (libc): Add GLIBC_2.19.
10788 2013-09-02 Mike Frysinger <vapier@gentoo.org>
10790 * sysdeps/unix/sysv/linux/tst-fanotify.c: New test.
10791 * sysdeps/unix/sysv/linux/Makefile (tests): Add tst-fanotify.
10793 2013-09-02 Joseph Myers <joseph@codesourcery.com>
10796 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Use double for
10797 intermediate calculations in recurrence.
10798 (__ieee754_ynf): Likewise.
10799 * math/libm-test.inc (jn_test_data): Do not allow spurious
10800 underflow exception. Add more tests.
10801 (yn_test_data): Add more tests.
10802 * sysdeps/i386/fpu/libm-test-ulps: Update.
10803 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10805 2013-09-02 Ondřej Bílka <neleai@seznam.cz>
10807 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Fix typo.
10809 2013-08-30 Ondřej Bílka <neleai@seznam.cz>
10811 * csu/init-first.c: Fix then/than typos.
10812 * locale/programs/ld-collate.c: Likewise.
10813 * locale/programs/linereader.h: Likewise.
10814 * manual/charset.texi: Likewise.
10815 * manual/filesys.texi: Likewise.
10816 * manual/stdio.texi: Likewise.
10817 * manual/string.texi: Likewise.
10818 * stdlib/fmtmsg.c: Likewise.
10819 * sysdeps/i386/stpncpy.S: Likewise.
10820 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
10821 * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
10822 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
10823 * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
10825 2013-08-30 Ondřej Bílka <neleai@seznam.cz>
10827 * elf/dl-open.c: Fix typos.
10828 * iconvdata/gbbig5.c: Likewise.
10829 * iconvdata/iso-2022-jp.c: Likewise.
10830 * iconv/gconv_int.h: Likewise.
10831 * iconv/loop.c: Likewise.
10832 * nis/rpcsvc/nis.h: Likewise.
10833 * resolv/ns_name.c: Likewise.
10834 * stdio-common/vfscanf.c: Likewise.
10835 * streams/stropts.h: Likewise.
10836 * sunrpc/rpc_thread.c: Likewise.
10837 * sysdeps/i386/strpbrk.S: Likewise.
10838 * sysdeps/ieee754/k_standard.c: Likewise.
10839 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
10840 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
10841 * sysdeps/mach/hurd/dl-sysdep.c: Likewise.
10842 * sysdeps/mach/hurd/profil.c: Likewise.
10843 * sysdeps/s390/dl-procinfo.h: Likewise.
10844 * sysdeps/unix/sysv/linux/i386/chown.c: Likewise.
10845 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Likewise.
10846 * sysdeps/unix/sysv/linux/sparc/sparc32/makecontext.c: Likewise.
10847 * sysdeps/x86_64/dl-trampoline.S: Likewise.
10848 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
10850 2013-08-30 Ondřej Bílka <neleai@seznam.cz>
10852 * sysdeps/x86_64/multiarch/rawmemchr.S: Delete.
10853 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove rawmemchr ifunc.
10855 2013-08-29 Ondřej Bílka <neleai@seznam.cz>
10857 * sysdeps/unix/sysv/linux/powerpc/aix/aix-dirent.h: Remove
10858 aix specific files.
10859 * sysdeps/unix/sysv/linux/powerpc/aix/aix-errno.h: Likewise.
10860 * sysdeps/unix/sysv/linux/powerpc/aix/aix-stat.h: Likewise.
10861 * sysdeps/unix/sysv/linux/powerpc/aix/aix-termios.h: Likewise.
10862 * sysdeps/unix/sysv/linux/powerpc/aix/direntconv.c: Likewise.
10863 * sysdeps/unix/sysv/linux/powerpc/aix/errnoconv.c: Likewise.
10864 * sysdeps/unix/sysv/linux/powerpc/aix/statconv.c: Likewise.
10865 * sysdeps/unix/sysv/linux/powerpc/aix/tcgetattr.c: Likewise.
10866 * sysdeps/unix/sysv/linux/powerpc/aix/tcsetattr.c: Likewise.
10868 2013-08-29 Thomas Schwinge <thomas@codesourcery.com>
10869 Roland McGrath <roland@hack.frob.com>
10871 * sysdeps/mach/hurd/errnos.awk (BEGIN): Emit ESUCCESS.
10872 * sysdeps/mach/hurd/bits/errno.h: Regenerate.
10874 2013-08-29 Samuel Thibault <samuel.thibault@ens-lyon.org>
10876 * sysdeps/mach/hurd/i386/init-first.c (init1): Use
10877 __executable_start symbol instead of _start.
10879 2013-08-29 Thomas Schwinge <thomas@codesourcery.com>
10881 * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_HEADER)
10882 (VALID_ELF_OSABI, VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA):
10884 * sysdeps/gnu/ldsodefs.h: ... this new file.
10886 * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_OSABI)
10887 (VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA): Use ELFOSABI_GNU
10888 instead of ELFOSABI_LINUX.
10890 [BZ #15522] strtod ("nan(N)") returning a sNaN in some cases
10891 * stdlib/strtof_l.c (SET_MANTISSA): Rewrite.
10892 * stdlib/strtod_l.c (SET_MANTISSA): Likewise.
10893 * sysdeps/ieee754/ldbl-64-128/strtold_l.c (SET_MANTISSA):
10895 * sysdeps/ieee754/ldbl-96/strtold_l.c (SET_MANTISSA): Likewise.
10896 * sysdeps/ieee754/ldbl-128/strtold_l.c (SET_MANTISSA): Likewise.
10897 * sysdeps/ieee754/ldbl-128ibm/strtold_l.c (SET_MANTISSA):
10899 * sysdeps/ieee754/ldbl-128ibm/ieee754.h
10900 (ibm_extended_long_double): Add ieee_nan member.
10901 * stdlib/tst-strtod6.c (test): New function, renamed from do_test.
10902 (do_test): New function.
10904 * math/basic-test.c (TEST_CONVERT): New macro, renamed from
10906 (convert_dfsf_test, convert_tfsf_test, convert_tfdf_test): New
10907 functions, renamed from truncdfsf_test, trunctfsf_test,
10909 (convert_sfdf_test, convert_sftf_test, convert_dftf_test): New
10911 (do_test): Run all these.
10913 2013-08-29 Ondřej Bílka <neleai@seznam.cz>
10915 * argp/argp-help.c: Fix typos.
10916 * argp/argp-parse.c: Likewise.
10917 * debug/backtracesyms.c: Likewise.
10918 * elf/elf.h: Likewise.
10919 * malloc/malloc.c: Likewise.
10920 * nis/nis_print.c: Likewise.
10921 * resolv/res_comp.c: Likewise.
10922 * stdlib/stdlib.h: Likewise.
10923 * sunrpc/clnt_tcp.c: Likewise.
10924 * sunrpc/clnt_udp.c: Likewise.
10925 * sunrpc/clnt_unix.c: Likewise.
10926 * sysdeps/unix/bsd/ptsname.c: Likewise.
10927 * sysdeps/unix/sysv/linux/ifaddrs.c: Likewise.
10928 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Likewise.
10929 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S:
10931 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S:
10933 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S:
10935 * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
10937 2013-08-28 Siddhesh Poyarekar <siddhesh@redhat.com>
10939 * nscd/aicache.c (addhstaiX): Use __glibc_unlikely.
10940 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
10942 2013-08-27 Mike Frysinger <vapier@gentoo.org>
10945 * dlfcn/Makefile (tests): Add bug-dl-leaf.
10946 (modules-names): Add bug-dl-leaf-lib and bug-dl-leaf-lib-cb.
10947 ($(objpfx)bug-dl-leaf): New rule.
10948 ($(objpfx)bug-dl-leaf.so): Likewise.
10949 ($(objpfx)bug-dl-leaf.out): Likewise.
10950 ($(objpfx)bug-dl-leaf-lib.so): Likewise.
10951 ($(objpfx)bug-dl-leaf-lib-cb.so): Likewise.
10952 * dlfcn/bug-dl-leaf.c: New test.
10953 * dlfcn/bug-dl-leaf-lib.c: Likewise.
10954 * dlfcn/bug-dl-leaf-lib-cb.c: Likewise.
10955 * dlfcn/dlfcn.h (dlopen): Change __THROW to __THROWNL.
10956 (dlclose): Likewise.
10957 (dlmopen): Likewise.
10959 2013-08-27 Roland McGrath <roland@hack.frob.com>
10961 * include/netdb.h [!_ISOMAC]:
10962 Don't include <tls.h>.
10963 (h_errno, __libc_h_errno): Move declaration and macros out of
10966 * include/resolv.h [_RESOLV_H_]:
10967 Don't include <tls.h>.
10968 (__resp, _res): Move declaration and macro out of [_LIBC_REENTRANT].
10969 * resolv/res_libc.c: Don't include <tls.h>.
10970 (_res): Use __attribute__ ((nocommon)) in place of
10971 __attribute__ ((section (".bss"))).
10973 * Makefile ($(common-objpfx)linkobj/libc_pic.a):
10974 If [sunrpc not in $(subdirs)], define to use libc_pic.a directly.
10976 * resolv/res_send.c (send_dg): Don't try to use ioctl unless [FIONREAD].
10978 * resolv/res_hconf.c [!NOT_IN_libc] (ifaddrs): Declare
10979 only under [SIOCGIFCONF && SIOCGIFNETMASK].
10981 * resolv/res_mkquery.c: Include <sys/time.h>.
10983 * inet/ifreq.c: Moved to ...
10984 * sysdeps/unix/ifreq.c: ... here.
10985 * inet/ifreq.c: New file, true stub version.
10987 * socket/sa_len.c: New file.
10988 * socket/Makefile (aux): Add it.
10989 * sysdeps/unix/sysv/linux/Makefile
10990 [$(subdir) = socket] (sysdep_routines): Don't add sa_len here.
10991 * sysdeps/unix/sysv/linux/sa_len.c: Just #define HAVE_NET*_H
10992 and #include <socket/sa_len.c>.
10993 * sysdeps/unix/sysv/linux/s390/sa_len.c: Just #define
10994 HAVE_NETIUCV_IUCV_H and #include <sysdeps/unix/sysv/linux/sa_len.c>.
10996 * sysdeps/unix/bsd/bsd4.4/bits/socket.h: Moved to ...
10997 * bits/socket.h: ... here.
10999 * sysdeps/unix/bsd/bsd4.4/bits/socket.h (enum __socket_type):
11000 Add SOCK_CLOEXEC, SOCK_NONBLOCK with values from FreeBSD.
11001 (SOCK_MAX, SOCK_TYPE_MASK): New macros.
11003 2013-08-27 Andreas Schwab <schwab@suse.de>
11006 * locale/categories.def (LC_CTYPE): Add "nonascii-case" element.
11007 * string/Makefile (test-strcasecmp-ENV, test-strncasecmp-ENV)
11008 (test-strcasecmp-ifunc-ENV, test-strncasecmp-ifunc-ENV): Define.
11009 * string/test-strcasecmp.c (test_main): Run tests in several
11011 * string/test-strncasecmp.c (test_main): Likewise.
11013 * sysdeps/i386/i686/multiarch/strcmp-sse4.S (__strcasecmp_sse4_2)
11014 (__strncasecmp_sse4_2) [PIC]: Restore %ebx before falling through
11015 to __strcasecmp_nonascii and __strncasecmp_nonascii.
11016 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (__strcasecmp_ssse3)
11017 (__strncasecmp_ssse3) [PIC]: Likewise.
11019 2013-08-26 Roland McGrath <roland@hack.frob.com>
11021 * io/lxstat64.c: Just call __xstat64, for parity with stub __lxstat.
11023 * nss/nss_files/files-key.c: Include <rpc/des_crypt.h>
11024 instead of explicitly declaring xdecrypt.
11025 * nis/nss_nis/nis-publickey.c: Likewise.
11027 2013-08-26 Siddhesh Poyarekar <siddhesh@redhat.com>
11030 * nscd/aicache.c: Include res_hconf.h.
11031 (addhstaiX): Initialize res_hconf.
11033 2013-08-26 Andreas Schwab <schwab@suse.de>
11035 * stdlib/Makefile (LDFLAGS-tst-tls-atexit): Remove.
11036 ($(objpfx)tst-tls-atexit): Add dependencies here instead.
11038 2013-08-26 Siddhesh Poyarekar <siddhesh@redhat.com>
11040 * nscd/aicache.c (addhstaiX): Fix indentation.
11042 2013-08-25 Mike Frysinger <vapier@gentoo.org>
11044 * configure.ac: Quote $build_pt_chown test.
11045 * configure: Regenerated.
11047 2013-08-23 Joseph Myers <joseph@codesourcery.com>
11050 * math/s_cexp.c (__cexp): Return NaN + i0 for NaN + i0 argument.
11051 * math/s_cexpf.c (__cexpf): Likewise.
11052 * math/s_cexpl.c (__cexpl): Likewise.
11053 * math/libm-test.inc (cexp_test_data): Correct expected return
11054 value for NaN + i0. Add another test.
11056 2013-08-22 David S. Miller <davem@davemloft.net>
11058 * po/ca.po: Update Catalan translation from translation project.
11059 * po/uk.po: Add Ukrainian translations from translation project.
11061 2013-08-21 Joseph Myers <joseph@codesourcery.com>
11064 * math/s_fdim.c (__fdim): Check for infinite arguments if result
11065 is infinite, not alongside NaN test.
11066 * math/s_fdimf.c (__fdimf): Likewise.
11067 * math/s_fdiml.c (__fdiml): Likewise.
11068 * math/libm-test.inc (fdim_test_data): Add more tests. Test that
11069 errno is unchanged.
11071 2013-08-21 Ondřej Bílka <neleai@seznam.cz>
11073 * argp/argp-help.c: Fix typos.
11074 * crypt/speeds.c: Likewise.
11075 * csu/check_fds.c: Likewise.
11076 * elf/dl-load.c: Likewise.
11077 * elf/dl-open.c: Likewise.
11078 * elf/reldep3.c: Likewise.
11079 * elf/reldep.c: Likewise.
11080 * elf/sprof.c: Likewise.
11081 * iconv/iconv_charmap.c: Likewise.
11082 * iconv/skeleton.c: Likewise.
11083 * iconv/strtab.c: Likewise.
11084 * io/lockf64.c: Likewise.
11085 * libio/libioP.h: Likewise.
11086 * resolv/gai_notify.c: Likewise.
11087 * resolv/ns_name.c: Likewise.
11088 * resolv/ns_samedomain.c: Likewise.
11089 * resolv/res_send.c: Likewise.
11090 * stdlib/random.c: Likewise.
11091 * sunrpc/rpc/xdr.h: Likewise.
11092 * sysdeps/i386/fpu/fraiseexcpt.c: Likewise.
11093 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
11094 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
11095 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
11096 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
11097 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
11098 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
11099 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
11100 * sysdeps/mach/hurd/check_fds.c: Likewise.
11101 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
11102 * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
11103 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
11104 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
11105 * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
11106 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
11107 * sysdeps/pthread/aio_notify.c: Likewise.
11108 * sysdeps/sparc/fpu/fraiseexcpt.c: Likewise.
11109 * sysdeps/unix/sysv/linux/socketcall.h: Likewise.
11110 * sysdeps/x86_64/fpu/fraiseexcpt.c: Likewise.
11111 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
11112 * sysdeps/x86/fpu/bits/fenv.h: Likewise.
11114 2013-08-21 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
11116 * sysdeps/i386/i686/multiarch/strcmp.S: Skip SSE4_2
11117 version if bit_Slow_SSE4_2 is set.
11118 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
11119 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
11121 2013-07-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11124 * sysdeps/powerpc/powerpc32/backtrace.c (__backtrace): Handle signal
11125 trampoline stack frame information.
11126 * sysdeps/powerpc/powerpc64/backtrace.c (__backtrace): Likewise.
11127 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h
11128 (__vdso_sigtramp_rt64): New variable: PPC64 signal trampoline.
11129 (__vdso_sigtramp32): New variable: PPC32 signal trampoline.
11130 (__vdso_sigtramp_rt32): New variable: PPC32 signal trampoline.
11131 * sysdeps/unix/sysv/linux/powerpc/init-first.c
11132 (_libc_vdso_platform_setup): Initialize the signal trampolines.
11133 * debug/tst-backtrace5.c (fn): Add an option set modify sigaction
11135 * debug/tst-backtrace6.c: New file: check backtrace for signal frames,
11136 interrupting a syscall and set with option SA_SIGINFO.
11138 2013-08-20 Joseph Myers <joseph@codesourcery.com>
11141 * math/s_cproj.c (__cproj): Only return an infinity if one part of
11142 argument is infinite.
11143 * math/s_cprojf.c (__cprojf): Likewise.
11144 * math/s_cprojl.c (__cprojl): Likewise.
11145 * sysdeps/ieee754/ldbl-128ibm/s_cprojl.c (__cprojl): Likewise.
11146 * math/libm-test.inc (cproj_test_data): Add more tests.
11148 * sysdeps/unix/sysv/linux/mmap64.c: Include <string.h>.
11150 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64)
11151 [MMAP2_PAGE_SHIFT == -1]: Use __getpagesize to determine page
11152 size. Use __ffs to determine corresponding shift.
11154 2013-08-20 Joseph Myers <joseph@codesourcery.com>
11155 Roland McGrath <roland@hack.frob.com>
11157 * Makefile (INSTALL): Remove trailing blank lines from output of
11160 2013-08-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
11162 * sysdeps/unix/sysv/linux/s390/sys/procfs.h (struct elf_prstatus):
11163 Align 32 bit compat elf_greg to 8 bytes.
11165 2013-08-20 Andreas Arnez <arnez@linux.vnet.ibm.com>
11167 * elf/setup-vdso.h (setup_vdso): Fix missing string termination.
11169 2013-08-20 Siddhesh Poyarekar <siddhesh@redhat.com>
11171 * string/strcoll_l.c (coll_seq): New structure.
11172 (get_next_seq_cached): New function.
11173 (get_next_seq): New function.
11174 (do_compare): New function.
11175 (STRCOLL): Use GNU style definition. Simplify implementation
11176 by using get_next_seq, get_next_seq_cached and do_compare.
11178 2013-08-16 Florian Weimer <fweimer@redhat.com>
11182 * sysdeps/posix/dirstream.h (struct __dirstream): Add errcode
11184 * sysdeps/posix/opendir.c (__alloc_dir): Initialize errcode
11186 * sysdeps/posix/rewinddir.c (rewinddir): Reset errcode member.
11187 * sysdeps/posix/readdir_r.c (__READDIR_R): Enforce NAME_MAX limit.
11188 Return delayed error code. Remove GETDENTS_64BIT_ALIGNED
11190 * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Do not define
11191 GETDENTS_64BIT_ALIGNED.
11192 * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
11193 * manual/filesys.texi (Reading/Closing Directory): Document
11194 ENAMETOOLONG return value of readdir_r. Recommend readdir more
11196 * manual/conf.texi (Limits for Files): Add portability note to
11197 NAME_MAX, PATH_MAX.
11198 (Pathconf): Add portability note for _PC_NAME_MAX, _PC_PATH_MAX.
11200 2013-08-13 Andreas Schwab <schwab@suse.de>
11203 * sysdeps/ieee754/ldbl-96/s_cbrtl.c (__cbrtl): Use fabsl instead
11205 * math/libm-test.inc (cbrt_test_data) [TEST_LDOUBLE &&
11206 LDBL_MAX_EXP >= 16384]: Add tests for it.
11208 2013-08-12 David S. Miller <davem@davemloft.net>
11210 * version.h (RELEASE): Set to "development".
11211 (VERSION): Set to "2.18.90".
11212 * NEWS: Add 2.19 section.
11214 2013-08-03 David S. Miller <davem@davemloft.net>
11216 * po/ko.po: Update Korean translation from translation project.
11218 2013-08-01 David S. Miller <davem@davemloft.net>
11220 * manual/contrib.texi: Update entry for Siddhesh Poyarekar. Add
11221 entries for Will Newton, Andi Kleen, David Holsgrove, and Ondrej
11224 2013-07-30 David S. Miller <davem@davemloft.net>
11226 * po/fr.po: Update French translation from translation project.
11228 2013-07-28 David S. Miller <davem@davemloft.net>
11230 * po/cs.po: Update Czech translation from translation project.
11232 * po/sv.po: Update Swedish translation from translation project.
11234 2013-07-27 David S. Miller <davem@davemloft.net>
11236 * po/eo.po: Update Esperanto translation from translation project.
11238 * po/vi.po: Update Vietnamese translation from translation project.
11240 * po/de.po: Update German translation from translation project.
11242 2013-07-26 David S. Miller <davem@davemloft.net>
11244 * po/bg.po: Update Bulgarian translation from translation project.
11246 * po/nl.po: Update Dutch translation from translation project.
11247 * po/pl.po: Update Polish translation from translation project.
11248 * po/ru.po: Update Russian translation from translation project.
11250 2013-07-24 David S. Miller <davem@davemloft.net>
11252 * po/libc.pot: Update.
11254 2013-07-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11256 * sysdeps/unix/sysv/linux/powerpc/dl-static.c: New file to support
11257 variable page size.
11258 * sysdeps/unix/sysv/linux/powerpc/ldsodefs.h: Likewise.
11259 * sysdeps/unix/sysv/linux/powerpc/Makefile: Build dl-static in elf.
11260 * sysdeps/unix/sysv/linux/powerpc/Versions: Add _dl_var_init.
11262 2013-07-22 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
11264 * sysdeps/s390/fpu/libm-test-ulps: Refresh.
11266 2013-07-21 Siddhesh Poyarekar <siddhesh@redhat.com>
11267 Andreas Schwab <schwab@suse.de>
11268 Roland McGrath <roland@hack.frob.com>
11269 Joseph Myers <joseph@codesourcery.com>
11270 Carlos O'Donell <carlos@redhat.com>
11273 * config.h.in: Define HAVE_PT_CHOWN.
11274 * config.make.in (build-pt-chown): New variable.
11275 * configure.in (--enable-pt_chown): New configure option.
11276 * configure: Regenerate.
11277 * login/Makefile: Include Makeconfig. Build pt_chown only if
11278 build-pt-chown is enabled.
11279 * sysdeps/unix/grantpt.c (grantpt) [HAVE_PT_CHOWN]: Spawn
11280 pt_chown to fix pty ownership.
11281 * sysdeps/unix/sysv/linux/grantpt.c [HAVE_PT_CHOWN]: Define
11283 * manual/install.texi (Configuring and compiling): Mention
11284 --enable-pt_chown. Add @findex for grantpt.
11285 * INSTALL: Regenerate.
11287 2013-07-20 David S. Miller <davem@davemloft.net>
11289 * sysdeps/sparc/fpu/libm-test-ulps: Update ULPs to handle minor
11290 difference between 32-bit and 64-bit.
11292 2013-07-15 Carlos O'Donell <carlos@redhat.com>
11295 * sysdeps/unix/sysv/linux/Makefile ($(objpfx)bits/syscall%h):
11296 Avoid system header dependency with -ffreestanding.
11297 ($(objpfx)bits/syscall%d): Likewise.
11299 2013-07-13 David S. Miller <davem@davemloft.net>
11301 * math/libm-test.inc (casin_test_data): Annotate more cases of missing
11302 underflows from atanl/atan2l due to bug 15319.
11303 (casinh_test_data): Likewise.
11305 2013-07-07 David S. Miller <davem@davemloft.net>
11307 * sysdeps/sparc/fpu/libm-test-ulps: Regenerate from scratch.
11309 2013-07-05 Jeroen Albers <_jeroen_@yahoo.com>
11311 * sysdeps/i386/fpu/libm-test-ulps: Update.
11312 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11314 2013-07-04 Siddhesh Poyarekar <siddhesh@redhat.com>
11316 * configure.in (--enable-lock-elision): Fix message text.
11317 * INSTALL: Regenerate.
11318 * configure: Regenerate.
11320 2013-07-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11322 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
11324 2013-07-03 Andreas Jaeger <aj@suse.de>
11326 * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_LISTEN): Add
11328 (PTRACE_PEEKSIGINFO): Add new value from Linux 3.10.
11329 (ptrace_peeksiginfo_args): Add.
11330 (__ptrace_peeksiginfo_flags): Add.
11331 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
11332 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
11333 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
11335 2013-07-03 Allan McRae <allan@archlinux.org>
11337 * sysdeps/i386/fpu/libm-test-ulps: Update.
11339 2013-07-02 David S. Miller <davem@davemloft.net>
11341 * sysdeps/sparc/fpu/libm-test-ulps: Update.
11343 2013-07-02 Markus Trippelsdorf <markus@trippelsdorf.de>
11345 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
11347 2013-07-02 Joseph Myers <joseph@codesourcery.com>
11349 * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
11350 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11352 2013-07-02 Andi Kleen <ak@linux.intel.com>
11354 * config.h.in (ENABLE_LOCK_ELISION): Add.
11355 * configure.in (--enable-lock-elision): Add option.
11356 * manual/install.texi: Document --enable lock elision.
11357 * configure: Regenerate
11358 * INSTALL: Regenerate.
11360 2013-07-02 H.J. Lu <hongjiu.lu@intel.com>
11362 * sysdeps/i386/i686/multiarch/strcasecmp.S (__strcasecmp): Enable
11363 SSE4.2 strcasecmp for libc.a.
11364 * sysdeps/i386/i686/multiarch/strncase.S (__strncasecmp): Likewise.
11366 2013-07-02 Joseph Myers <joseph@codesourcery.com>
11369 * soft-fp/op-common.h (_FP_FMA): New macro.
11370 * soft-fp/op-1.h (_FP_FRAC_HIGHBIT_DW_1): New macro.
11371 (_FP_MUL_MEAT_DW_1_imm): Likewise. Split out of ...
11372 (_FP_MUL_MEAT_1_imm): ... here.
11373 (_FP_MUL_MEAT_DW_1_wide): New macro. Split out of ...
11374 (_FP_MUL_MEAT_1_wide): ... here.
11375 (_FP_MUL_MEAT_DW_1_hard): Likewise. Split out of ...
11376 (_FP_MUL_MEAT_1_hard): ... here.
11377 * soft-fp/op-2.h (_FP_FRAC_HIGHBIT_DW_2): New macro.
11378 (_FP_MUL_MEAT_DW_2_wide): Likewise. Split out of ...
11379 (_FP_MUL_MEAT_2_wide): ... here.
11380 (_FP_MUL_MEAT_DW_2_wide_3mul): New macro. Split out of ...
11381 (_FP_MUL_MEAT_2_wide_3mul): ... here.
11382 (_FP_MUL_MEAT_DW_2_gmp): New macro. Split out of ...
11383 (_FP_MUL_MEAT_2_gmp): ... here.
11384 * soft-fp/op-4.h (_FP_FRAC_HIGHBIT_DW_4): New macro.
11385 (_FP_MUL_MEAT_DW_4_wide): Likewise. Split out of ...
11386 (_FP_MUL_MEAT_4_wide): ... here.
11387 (_FP_MUL_MEAT_DW_4_gmp): New macro. Split out of ...
11388 (_FP_MUL_MEAT_4_gmp): ... here.
11389 * soft-fp/single.h (_FP_FRACTBITS_DW_S): New macro.
11390 (_FP_WFRACBITS_DW_S): Likewise.
11391 (_FP_WFRACXBITS_DW_S): Likewise.
11392 (_FP_HIGHBIT_DW_S): Likewise.
11393 (FP_FMA_S): Likewise.
11394 (_FP_FRAC_HIGH_DW_S): Likewise.
11395 * soft-fp/double.h (_FP_FRACTBITS_DW_D): New macro.
11396 (_FP_WFRACBITS_DW_D): Likewise.
11397 (_FP_WFRACXBITS_DW_D): Likewise.
11398 (_FP_HIGHBIT_DW_D): Likewise.
11399 (FP_FMA_D): Likewise.
11400 (_FP_FRAC_HIGH_DW_D): Likewise.
11401 * soft-fp/extended.h (_FP_FRACTBITS_DW_E): New macro.
11402 (_FP_WFRACBITS_DW_E): Likewise.
11403 (_FP_WFRACXBITS_DW_E): Likewise.
11404 (_FP_HIGHBIT_DW_E): Likewise.
11405 (FP_FMA_E): Likewise.
11406 (_FP_FRAC_HIGH_DW_E): Likewise.
11407 * soft-fp/quad.h (_FP_FRACTBITS_DW_Q): New macro.
11408 (_FP_WFRACBITS_DW_Q): Likewise.
11409 (_FP_WFRACXBITS_DW_Q): Likewise.
11410 (_FP_HIGHBIT_DW_Q): Likewise.
11411 (FP_FMA_Q): Likewise.
11412 (_FP_FRAC_HIGH_DW_Q): Likewise.
11413 * soft-fp/fmasf4.c: New file.
11414 * soft-fp/fmadf4.c: Likewise.
11415 * soft-fp/fmatf4.c: Likewise.
11417 2013-06-28 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
11419 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
11420 bit_Slow_SSE4_2 and bit_Prefer_PMINUB_for_stringop for Intel
11422 * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_SSE4_2): New
11424 (index_Slow_SSE4_2): Likewise.
11425 (index_Prefer_PMINUB_for_stringop): Likewise.
11426 * sysdeps/x86_64/multiarch/strchr.S: Skip SSE4.2 version if
11427 bit_Slow_SSE4_2 is set.
11428 * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
11429 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
11431 2013-06-28 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
11433 * sysdeps/powerpc/Makefile: Add comment about generating an offset to
11434 rtld_global._dl_hwcap2.
11435 * sysdeps/powerpc/bits/hwcap.h: Added PPC_FEATURE2_* definitions for
11437 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_cap_flags): Extend for
11438 POWER8 feature descriptions defined in _dl_hwcap2.
11439 * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Implement AT_HWCAP2
11440 string handling for POWER8 feature bits.
11441 (_DL_HWCAP_COUNT): Increment to 64 to cover AT_HWCAP2 bits.
11442 (_DL_HWCAP_LAST): New definition for position of last AT_HWCAP bit in
11443 _dl_powerpc_cap_flags.
11444 (_DL_HWCAP2_LAST): New definition for last usable bit of AT_HWCAP2.
11445 * sysdeps/powerpc/rtld-global-offsets.sym
11446 (RTLD_GLOBAL_RO_DL_HWCAP2_OFFSET): New offset macro to locate
11447 _dl_hwcap2 in the rtld_global_ro structure.
11449 2013-06-28 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
11451 * elf/dl-support.c (_dl_hwcap2): Add a new hwcap field for more
11452 hardware capabilities in support of AT_HWCAP2.
11453 (_dl_aux_init): Read AT_HWCAP2 into GLRO(dl_hwcap2).
11454 * elf/dl-sysdep.c (_dl_sysdep_start): Read AT_HWCAP2 into
11456 (_dl_show_auxv): Add support for calling _dl_procinfo to display
11457 AT_HWCAP2. If a platform doesn't chose to handle displaying AT_HWCAP2
11458 explicitly the unknown a_type display mechanism is used.
11459 * misc/getauxval.c (__getauxval): Return GLRO(dl_hwcap2) on AT_HWCAP2.
11460 * sysdeps/generic/ldsodefs.h (rtld_global_ro): Add _dl_hwcap2 as a new
11462 * sysdeps/generic/dl-procinfo.h (_dl_procinfo): Add TYPE parameter
11463 to macro prototype for AT_HWCAP2 support.
11464 * sysdeps/i386/dl-procinfo.h: Likewise.
11465 * sysdeps/s390/dl-procinfo.h: Likewise.
11466 * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Add TYPE parameter to
11467 macro prototype for AT_HWCAP2 support. Make WORD unsigned long int
11468 rather than signed int. Stub in handler for TYPE == AT_HWCAP2 to
11469 return -1 for unknown a_type display fallback.
11470 * sysdeps/sparc/dl-procinfo.h: Likewise.
11471 * sysdeps/unix/sysv/linux/i386/dl-procinfo.h: Likewise.
11472 * sysdeps/unix/sysv/linux/s390/dl-procinfo.h: Likewise.
11474 2013-06-28 Joseph Myers <joseph@codesourcery.com>
11476 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Shift by page_shift
11477 instead of MMAP2_PAGE_SHIFT in call to INLINE_SYSCALL.
11479 2013-06-28 Pierre Ynard <linkfanel@yahoo.fr>
11482 * elf/dl-load.c (_dl_map_object_from_fd): Test for failure of
11483 mprotect making __stack_prot writable.
11485 2013-06-28 Nathan Froyd <froydnj@codesourcery.com>
11486 Joseph Myers <joseph@codesourcery.com>
11488 * elf/dl-profile.c (struct here_cg_arc_record): Declare 'count'
11489 as being properly aligned.
11491 2013-06-28 Maciej W. Rozycki <macro@codesourcery.com>
11493 * dlfcn/modstatic5.c: New file.
11494 * dlfcn/tststatic5.c: New file.
11495 * dlfcn/Makefile (tests): Add tststatic5.
11496 (tests-static): Likewise.
11497 (modules-names): Add modstatic5.
11498 (tststatic5-ENV): New variable.
11499 ($(objpfx)tststatic5, $(objpfx)tststatic5.out): New dependencies.
11502 * elf/dl-support.c (_dl_main_map): New variable.
11503 (_dl_ns): Use it to initialize [LM_ID_BASE] element.
11504 (_dl_nns, _dl_load_adds): Set to 1.
11505 (_dl_initial_searchlist): Refer to _dl_main_map.
11506 (_dl_non_dynamic_init): Initialize _dl_main_map.l_origin.
11507 * elf/dl-load.c (_dl_dst_substitute) [!SHARED]: Remove fallback
11508 call to _dl_get_origin.
11509 * elf/dl-open.c (dl_open_worker): Remove !SHARED special casing
11511 (_dl_open) [!SHARED]: Remove code to initialize GL(dl_nns).
11512 * dlfcn/modstatic3.c: New file.
11513 * dlfcn/tststatic3.c: New file.
11514 * dlfcn/tststatic4.c: New file.
11515 * dlfcn/Makefile (tests): Add tststatic3 and tststatic4.
11516 (tests-static): Likewise.
11517 (modules-names): Add modstatic3.
11518 (tststatic3-ENV, tststatic4-ENV): New variables.
11519 ($(objpfx)tststatic3, $(objpfx)tststatic3.out): New dependencies.
11520 ($(objpfx)tststatic4, $(objpfx)tststatic4.out): Likewise.
11522 2013-06-26 Joseph Myers <joseph@codesourcery.com>
11524 * configure.in (CC): Require GCC version 4.4 or later.
11525 * configure: Regenerated.
11526 * manual/install.texi (Tools for Compilation): Update GCC version
11528 * INSTALL: Regenerated.
11530 2013-06-26 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
11533 * string/test-memcmp.c (check2): New.
11534 (main): Call check2.
11536 * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Fix buffers overrun.
11538 2013-06-26 Maciej W. Rozycki <macro@codesourcery.com>
11541 * elf/dl-open.c (_dl_open) [!SHARED]: Move call to DL_STATIC_INIT
11543 (dl_open_worker) [!SHARED]: ... here.
11545 2013-06-26 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
11547 * elf/elf.h (AT_HWCAP2): Add a new a_type entry.
11549 2013-06-25 Richard Henderson <rth@redhat.com>
11551 * locale/programs/locarchive.c: Include <libc-internal.h>
11553 2013-06-25 Joseph Myers <joseph@codesourcery.com>
11555 * manual/texinfo.tex: Update to version 2013-06-21.17, with
11556 trailing whitespace removed.
11558 2013-06-24 Mike Frysinger <vapier@gentoo.org>
11561 * locale/locarchive.h (struct locarhandle): Add mmap_base and mmap_len.
11562 * locale/programs/locarchive.c: Include libc-mmap.h.
11563 (prepare_address_space): Take two new outputs (the mmap base and len).
11564 Align p to MAP_FIXED_ALIGNMENT. Set mmap base and len to the right
11566 (create_archive): Declare new mmap base and len values for
11567 prepare_address_space, and store the result in ah.
11568 (file_data_available_p): Replace pagesz with MAP_FIXED_ALIGNMENT.
11569 (enlarge_archive): If ah->mmap_base is not NULL, use that and
11570 ah->mmap_len to unmap rather than ah->addr and ah->reserved.
11571 Declare new mmap base and len values for
11572 prepare_address_space, and store the result in new_ah.
11573 (open_archive): Declare new mmap base and len values for
11574 prepare_address_space, and store the result in ah.
11575 (close_archive): If ah->mmap_base is not NULL, use that and
11576 ah->mmap_len to unmap rather than ah->addr and ah->reserved.
11577 * sysdeps/generic/libc-mmap.h: New file.
11579 2013-06-24 Mike Frysinger <vapier@gentoo.org>
11581 * include/libc-internal.h (ALIGN_DOWN): New helper macro.
11582 (ALIGN_UP): Likewise.
11583 (PTR_ALIGN_DOWN): Likewise.
11584 (PTR_ALIGN_UP): Likewise.
11586 2013-06-24 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
11588 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add "power8"
11589 entry mapped to PPC_PLATFORM_POWER8.
11590 * sysdeps/powerpc/dl-procinfo.h (_DL_PLATFORMS_COUNT): Increment for
11592 (PPC_PLATFORM_POWER8): Add new platform bit for POWER8 processor.
11593 (_dl_string_platform): Add case for exporting platform position for
11595 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Chain
11596 search path to sysdeps/powerpc/powerpc32/power8 directory.
11597 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Chain
11598 search path to sysdeps/powerpc/powerpc64/power8 directory.
11599 * sysdeps/powerpc/powerpc32/power8/Implies: Chain search path to
11600 power7 directories.
11601 * sysdeps/powerpc/powerpc64/power8/Implies: Chain search path to
11602 power7 directories.
11604 2013-06-24 Siddhesh Poyarekar <siddhesh@redhat.com>
11606 * INSTALL: Regenerate.
11608 * nscd/connections.c (nscd_init): Fix comment.
11610 2013-06-22 Joseph Myers <joseph@codesourcery.com>
11612 * sysdeps/unix/sysv/linux/libc_fatal.c: Include <string.h>.
11615 * soft-fp/op-4.h (__FP_FRAC_ADD_3): Rename variables _c1 and _c2
11616 to __FP_FRAC_ADD_3_c1 and __FP_FRAC_ADD_3_c2.
11618 2013-06-21 Maciej W. Rozycki <macro@codesourcery.com>
11620 * elf/dl-dst.h (DL_DST_REQUIRED): Remove call to
11622 (DL_DST_REQ_STATIC): Remove macro.
11624 2013-06-21 Joseph Myers <joseph@codesourcery.com>
11627 * soft-fp/op-common.h (_FP_FROM_INT): Do not call _FP_FRAC_SLL
11628 with a shift of 0 bits.
11630 2013-06-21 Maciej W. Rozycki <macro@codesourcery.com>
11632 * dlfcn/Makefile (tststatic2-ENV): Redefine in terms of
11635 2013-06-21 Kaz Kojima <kkojima@rr.iij4u.or.jp>
11638 * sysdeps/sh/sh4/fpu/fgetexcptflg.c: New file.
11640 2013-06-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11642 * config.h.in (HAVE_CC_INHIBIT_LOOP_TO_LIBCALL): New define.
11643 * configure.in (libc_cv_cc_loop_to_function): Check if compiler
11644 accepts -fno-tree-loop-distribute-patterns.
11645 * include/libc-symbols.h (inhibit_loop_to_libcall): New macro.
11646 * string/memmove.c (MEMMOVE): Disable loop transformation to avoid
11648 * string/memset.c (memset): Likewise.
11649 * string/test-memmove.c (simple_memmove): Disable loop transformation
11651 * string/test-memset.c (simple_memset): Likewise.
11652 * benchtests/bench-memmove.c (simple_memmove): Likewise.
11653 * benchtests/bench-memset.c (simple_memset): Likewise.
11654 * configure: Regenerated.
11656 2013-06-20 Joseph Myers <joseph@codesourcery.com>
11658 * math/test-misc.c (main): Ignore fesetround failure when failures
11659 of subsequent rounding tests would be ignored.
11662 * math/fedisblxcpt.c (fedisableexcept): Return 0.
11663 * math/feenablxcpt.c (feenableexcept): Return 0 for argument 0.
11664 * math/fegetenv.c (__fegetenv): Return 0.
11665 * math/fegetexcept.c (fegetexcept): Return 0.
11666 * math/fegetround.c (fegetround) [FE_TONEAREST]: Return
11668 * math/feholdexcpt.c (feholdexcept): Return 0.
11669 * math/fesetenv.c (__fesetenv): Return 0.
11670 * math/fesetround.c (fesetround) [FE_TONEAREST]: Return 0 for
11671 argument FE_TONEAREST.
11672 * math/feupdateenv.c (__feupdateenv): Return 0.
11673 * math/fgetexcptflg.c (__fegetexceptflag): Return 0.
11675 2013-06-18 Roland McGrath <roland@hack.frob.com>
11677 * elf/rtld-Rules (rtld-compile-command.S): New variable.
11678 (rtld-compile-command.s, rtld-compile-command.c): New variables.
11679 ($(objpfx)rtld-%.os rules): Use them.
11681 2013-06-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11683 * nptl/sysdeps/powerpc/tls.h (tcbhead_t): Add Event-Based Branch
11686 2013-06-17 Roland McGrath <roland@hack.frob.com>
11688 * scripts/sysd-rules.awk: Sort sysd_rules_patterns by descending
11689 length of target pattern, then descending length of dependency pattern.
11690 * configure.in (AWK): Require gawk 3.1.2 or newer.
11691 * manual/install.texi (Tools for Compilation): Say that we do.
11692 * configure: Regenerated.
11694 * Makerules [inhibit-sysdep-asm] (check-inhibit-asm): Variable removed.
11695 ($(common-objpfx)sysd-rules): Replace shell logic with running ...
11696 * scripts/sysd-rules.awk: ... this new script.
11697 * sysdeps/mach/hurd/Makefile (inhibit-sysdep-asm): Use a regexp rather
11698 than a glob-style pattern.
11700 2013-06-17 Joseph Myers <joseph@codesourcery.com>
11702 * math/test-misc.c (main): Do not treat incorrectly rounded
11703 conversions as failure unless ROUNDING_TESTS passes.
11705 2013-06-15 Joseph Myers <joseph@codesourcery.com>
11708 * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Save and
11709 restore exception state around main square root computation, then
11710 check for inexactness explicitly.
11712 * math/libm-test.inc (fma_test_data): Add another test.
11714 2013-06-15 Siddhesh Poyarekar <siddhesh@redhat.com>
11716 * manual/threads.texi (Non-POSIX Extensions): New document
11717 node. Document pthread_getattr_default_np and
11718 pthread_setattr_default_np.
11720 * Versions.def (libpthread): Add GLIBC_2.18.
11721 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: Update.
11722 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
11724 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
11726 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
11728 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
11730 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist:
11732 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
11734 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
11736 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
11738 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
11741 2013-06-14 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
11743 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
11744 Set bit_Fast_Unaligned_Load for Intel Silvermont architecture.
11746 2013-06-14 Siddhesh Poyarekar <siddhesh@redhat.com>
11747 H.J. Lu <hjl.tools@gmail.com>
11750 * sysdeps/x86_64/rtld-memset.c: Remove file.
11751 * sysdeps/x86_64/rtld-memset.S: New file.
11753 2013-06-14 Joseph Myers <joseph@codesourcery.com>
11755 * stdlib/tst-strtod-round.c: Include <math-tests.h>.
11756 (test_in_one_mode): Take arguments for whether the rounding mode
11757 is supported for each floating-point type.
11758 (do_test): Pass new arguments to test_in_one_mode using
11761 2013-06-13 Roland McGrath <roland@hack.frob.com>
11763 * posix/tst-waitid.c (do_test): Distinguish different instances of
11764 stopped/continued in CHECK_SIGCHLD uses. Insert a delay between
11765 sending SIGSTOP and calling waitpid to ensure SIGCHLD gets delivered
11766 before entering the kernel for waitpid.
11768 2013-06-13 Siddhesh Poyarekar <siddhesh@redhat.com>
11770 * NEWS: Fix note on clock function precision. Text by Roland
11773 2013-06-13 Roland McGrath <roland@hack.frob.com>
11775 * elf/Makefile ($(objpfx)ld.so): Link into a temporary file and move
11776 it into place only when and if the sanity check passes.
11778 2013-06-13 Joseph Myers <joseph@codesourcery.com>
11780 * stdlib/gen-tst-strtod-round.c (round_str): Always generate
11781 output for whether conversion result is exact. Take argument
11782 indicating whether type is IBM long double.
11783 (round_for_all): Change need_exact field to ibm_ld.
11784 * stdlib/tst-strtod-round.c (struct exactness): New type.
11785 (struct test): Change bool ld_ok field to struct exactness exact.
11786 (TEST): Update all definitions for change to field.
11787 (tests): Regenerate array contents.
11788 (test_in_one_mode): Take pointer to new field instead of old ld_ok
11789 field value. Check for IBM long double here.
11790 (do_test): Update calls to test_in_one_mode.
11792 2013-06-13 Siddhesh Poyarekar <siddhesh@redhat.com>
11795 * sysdeps/unix/sysv/linux/clock.c (clock): Use result from
11796 CLOCK_PROCESS_CPUTIME_ID clock instead of __times.
11798 2013-06-12 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11801 * sysdeps/generic/symbol-hacks.h: Add workaround for memset/memmove calls
11802 generated by the compiler on loop optimizations.
11803 * sysdeps/wordsize-32/symbol-hacks.h: Include next symbol-hacks.h for
11804 general definitions.
11806 2013-06-12 Joseph Myers <joseph@codesourcery.com>
11808 * math/bug-nextafter.c: Include <math-tests.h>.
11809 (main): Only test for exceptions if EXCEPTION_TESTS is true for
11811 * math/bug-nexttoward.c: Include <math-tests.h>.
11812 (main): Only test for exceptions if EXCEPTION_TESTS is true for
11814 * math/test-misc.c: Include <math-tests.h>.
11815 (main): Only test for exceptions if EXCEPTION_TESTS is true for
11818 2013-06-12 Andreas Jaeger <aj@suse.de>
11820 * po/ia.po: Update Interlingua translation from translation
11823 2013-06-12 Siddhesh Poyarekar <siddhesh@redhat.com>
11825 * include/fenv.h: Include stdbool.h.
11826 (struct rm_ctx): New structure.
11827 * sysdeps/generic/math_private.h (SET_RESTORE_ROUND_GENERIC):
11829 (SET_RESTORE_ROUND): Define using SET_RESTORE_ROUND_GENERIC.
11830 (SET_RESTORE_ROUNDF): Likewise.
11831 (SET_RESTORE_ROUNDL): Likewise.
11832 (SET_RESTORE_ROUND_NOEX): Likewise.
11833 (SET_RESTORE_ROUND_NOEXF): Likewise.
11834 (SET_RESTORE_ROUND_NOEXL): Likewise.
11835 (SET_RESTORE_ROUND_53BIT): Likewise.
11836 [HAVE_RM_CTX] (libc_feresetround_noex_ctx): Define macro.
11837 (libc_feresetround_noexf_ctx): Likewise.
11838 (libc_feresetround_noexl_ctx): Likewise.
11839 (libc_feholdsetround_53bit_ctx): Likewise.
11840 (libc_feresetround_53bit_ctx): Likewise.
11841 * sysdeps/i386/fpu/fenv_private.h (HAVE_RM_CTX): Define macro.
11842 (libc_feholdexcept_setround_sse_ctx): New function.
11843 (libc_fesetenv_sse_ctx): Likewise.
11844 (libc_feupdateenv_sse_ctx): Likewise.
11845 (libc_feholdexcept_setround_387_prec_ctx): Likewise.
11846 (libc_feholdexcept_setround_387_ctx): Likewise.
11847 (libc_feholdexcept_setround_387_53bit_ctx): Likewise.
11848 (libc_feholdsetround_387_prec_ctx): Likewise.
11849 (libc_feholdsetround_387_ctx): Likewise.
11850 (libc_feholdsetround_387_53bit_ctx): Likewise.
11851 (libc_feholdsetround_sse_ctx): Likewise.
11852 (libc_feresetround_sse_ctx): Likewise.
11853 (libc_feresetround_387_ctx): Likewise.
11854 (libc_feupdateenv_387_ctx): Likewise.
11855 (libc_feholdexcept_setroundf_ctx): Define macro.
11856 (libc_fesetenvf_ctx): Likewise.
11857 (libc_feupdateenvf_ctx): Likewise.
11858 (libc_feholdsetroundf_ctx): Likewise.
11859 (libc_feresetroundf_ctx): Likewise.
11860 (libc_feholdexcept_setround_ctx): Likewise.
11861 (libc_fesetenv_ctx): Likewise.
11862 (libc_feupdateenv_ctx): Likewise.
11863 (libc_feholdsetround_ctx): Likewise.
11864 (libc_feresetround_ctx): Likewise.
11865 (libc_feholdexcept_setroundl_ctx): Likewise.
11866 (libc_feupdateenvl_ctx): Likewise.
11867 (libc_feholdsetroundl_ctx): Likewise.
11868 (libc_feresetroundl_ctx): Likewise.
11869 [!__SSE2_MATH__] (libc_feholdsetround_53bit_ctx): Likewise.
11870 (libc_feresetround_53bit_ctx): Likewise.
11872 2013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
11874 * locale/iso-639.def: Convert to UTF-8.
11876 2013-06-11 Joseph Myers <joseph@codesourcery.com>
11878 * sysdeps/generic/math-tests.h (EXCEPTION_TESTS_float): New macro.
11879 (EXCEPTION_TESTS_double): Likewise.
11880 (EXCEPTION_TESTS_long_double): Likewise.
11881 (EXCEPTION_TESTS): Likewise.
11882 * math/libm-test.inc (test_exceptions): Only test exceptions if
11883 EXCEPTION_TESTS (FLOAT).
11885 2013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
11887 * benchtests/Makefile (string-bench): Add strcpy_chk and
11889 * benchtests/bench-stpcpy_chk-ifunc.c: New file.
11890 * benchtests/bench-stpcpy_chk.c: New file.
11891 * benchtests/bench-strcpy_chk-ifunc.c: New file.
11892 * benchtests/bench-strcpy_chk.c: New file.
11893 * debug/test-strcpy_chk.c (do_one_test): Remove HP_TIMING
11895 (do_test): Likewise.
11897 2013-06-11 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
11899 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add ppc405,
11900 ppc440, ppc464, and ppc476, merging from ports/ dl-procinfo.c.
11901 * sysdeps/powerpc/dl-procinfo.h: Fix whitespace by correcting spaces
11902 with tabs where appropriate.
11903 [PPC_PLATFORM_PPC405]: Define new platform merging from ports/
11905 [PPC_PLATFORM_PPC440]: Likewise.
11906 [PPC_PLATFORM_PPC464]: Likewise.
11907 [PPC_PLATFORM_PPC476]: Likewise.
11908 (_dl_string_platform): Add support for detecting ppc405, ppc440,
11909 ppc464, and ppc476 platform strings merging from ports/
11912 2013-06-11 Andreas Schwab <schwab@suse.de>
11915 * iconvdata/big5hkscs.c (big5hkscs_to_ucs, from_ucs4)
11916 (from_ucs4_idx): Regenerate.
11917 (MIN_NEEDED_FROM, MAX_NEEDED_FROM, MIN_NEEDED_TO): Remove macros.
11918 (FROM_LOOP_MIN_NEEDED_FROM, FROM_LOOP_MAX_NEEDED_FROM)
11919 (FROM_LOOP_MIN_NEEDED_TO, FROM_LOOP_MAX_NEEDED_TO)
11920 (TO_LOOP_MIN_NEEDED_FROM, TO_LOOP_MAX_NEEDED_FROM)
11921 (TO_LOOP_MIN_NEEDED_TO, TO_LOOP_MAX_NEEDED_TO, PREPARE_LOOP)
11922 (EXTRA_LOOP_ARGS, SAVE_RESET_STATE, EMIT_SHIFT_TO_INIT)
11923 (EXTRA_LOOP_DECLS, MAX_NEEDED_OUTPUT): New macros.
11924 (MIN_NEEDED_INPUT, MAX_NEEDED_INPUT, MIN_NEEDED_OUTPUT): Define
11925 from FROM_LOOP and TO_LOOP specific macros.
11926 (BODY): Handle combining characters.
11927 * iconvdata/BIG5HKSCS.irreversible: Update.
11928 * iconvdata/BIG5HKSCS.precomposed: New file.
11929 * iconvdata/testdata/BIG5HKSCS: Regenerate to cover all assigned
11931 * iconvdata/testdata/BIG5HKSCS..UTF8: Update.
11933 2013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
11935 * include/sys/time.h: Fix indentation and add copyright header.
11937 * string/test-memccpy.c (do_one_test): Remove HP_TIMING code.
11938 (do_test): Likewise.
11939 * string/test-memchr.c (do_one_test): Likewise.
11940 (do_test): Likewise.
11941 * string/test-memcmp.c (do_one_test): Likewise.
11942 (do_test): Likewise.
11943 * string/test-memcpy.c (do_one_test): Likewise.
11944 (do_test): Likewise.
11945 * string/test-memmem.c (do_one_test): Likewise.
11946 (do_test): Likewise.
11947 (do_random_tests): Likewise.
11948 * string/test-memmove.c (do_one_test): Likewise.
11949 (do_test): Likewise.
11950 * string/test-memset.c (do_one_test): Likewise.
11951 (do_test): Likewise.
11952 * string/test-rawmemchr.c (do_one_test): Likewise.
11953 (do_test): Likewise.
11954 * string/test-strcasecmp.c (do_one_test): Likewise.
11955 (do_test): Likewise.
11956 * string/test-strcasestr.c (do_one_test): Likewise.
11957 (do_test): Likewise.
11958 * string/test-strcat.c (do_one_test): Likewise.
11959 (do_test): Likewise.
11960 * string/test-strchr.c (do_one_test): Likewise.
11961 (do_test): Likewise.
11962 * string/test-strcmp.c (do_one_test): Likewise.
11963 (do_test): Likewise.
11964 * string/test-strcpy.c (do_one_test): Likewise.
11965 (do_test): Likewise.
11966 * string/test-string.h: Likewise.
11967 (test_init): Likewise.
11968 * string/test-strlen.c (do_one_test): Likewise.
11969 (do_test): Likewise.
11970 * string/test-strncasecmp.c (do_one_test): Likewise.
11971 (do_test): Likewise.
11972 * string/test-strncat.c (do_one_test): Likewise.
11973 (do_test): Likewise.
11974 * string/test-strncmp.c (do_one_test): Likewise.
11975 (do_test_limit): Likewise.
11976 (do_test): Likewise.
11977 * string/test-strncpy.c (do_one_test): Likewise.
11978 (do_test): Likewise.
11979 * string/test-strnlen.c (do_one_test): Likewise.
11980 (do_test): Likewise.
11981 * string/test-strpbrk.c (do_one_test): Likewise.
11982 (do_test): Likewise.
11983 * string/test-strrchr.c (do_one_test): Likewise.
11984 (do_test): Likewise.
11985 * string/test-strspn.c (do_one_test): Likewise.
11986 (do_test): Likewise.
11987 * string/test-strstr.c (do_one_test): Likewise.
11988 (do_test): Likewise.
11990 * benchtests/Makefile (string-bench): Add string benchmarks.
11991 * benchtests/bench-bcopy-ifunc.c: New file.
11992 * benchtests/bench-bcopy.c: New file.
11993 * benchtests/bench-bzero-ifunc.c: New file.
11994 * benchtests/bench-bzero.c: New file.
11995 * benchtests/bench-memccpy-ifunc.c: New file.
11996 * benchtests/bench-memccpy.c: New file.
11997 * benchtests/bench-memchr-ifunc.c: New file.
11998 * benchtests/bench-memchr.c: New file.
11999 * benchtests/bench-memcmp-ifunc.c: New file.
12000 * benchtests/bench-memcmp.c: New file.
12001 * benchtests/bench-memmem-ifunc.c: New file.
12002 * benchtests/bench-memmem.c: New file.
12003 * benchtests/bench-memmove-ifunc.c: New file.
12004 * benchtests/bench-memmove.c: New file.
12005 * benchtests/bench-mempcpy-ifunc.c: New file.
12006 * benchtests/bench-mempcpy.c: New file.
12007 * benchtests/bench-memset-ifunc.c: New file.
12008 * benchtests/bench-memset.c: New file.
12009 * benchtests/bench-rawmemchr-ifunc.c: New file.
12010 * benchtests/bench-rawmemchr.c: New file.
12011 * benchtests/bench-stpcpy-ifunc.c: New file.
12012 * benchtests/bench-stpcpy.c: New file.
12013 * benchtests/bench-stpncpy-ifunc.c: New file.
12014 * benchtests/bench-stpncpy.c: New file.
12015 * benchtests/bench-strcasecmp-ifunc.c: New file.
12016 * benchtests/bench-strcasecmp.c: New file.
12017 * benchtests/bench-strcasestr-ifunc.c: New file.
12018 * benchtests/bench-strcasestr.c: New file.
12019 * benchtests/bench-strcat-ifunc.c: New file.
12020 * benchtests/bench-strcat.c: New file.
12021 * benchtests/bench-strchr-ifunc.c: New file.
12022 * benchtests/bench-strchr.c: New file.
12023 * benchtests/bench-strchrnul-ifunc.c: New file.
12024 * benchtests/bench-strchrnul.c: New file.
12025 * benchtests/bench-strcmp-ifunc.c: New file.
12026 * benchtests/bench-strcmp.c: New file.
12027 * benchtests/bench-strcpy-ifunc.c: New file.
12028 * benchtests/bench-strcpy.c: New file.
12029 * benchtests/bench-strcspn-ifunc.c: New file.
12030 * benchtests/bench-strcspn.c: New file.
12031 * benchtests/bench-strlen-ifunc.c: New file.
12032 * benchtests/bench-strlen.c: New file.
12033 * benchtests/bench-strncasecmp-ifunc.c: New file.
12034 * benchtests/bench-strncasecmp.c: New file.
12035 * benchtests/bench-strncat-ifunc.c: New file.
12036 * benchtests/bench-strncat.c: New file.
12037 * benchtests/bench-strncmp-ifunc.c: New file.
12038 * benchtests/bench-strncmp.c: New file.
12039 * benchtests/bench-strncpy-ifunc.c: New file.
12040 * benchtests/bench-strncpy.c: New file.
12041 * benchtests/bench-strnlen-ifunc.c: New file.
12042 * benchtests/bench-strnlen.c: New file.
12043 * benchtests/bench-strpbrk-ifunc.c: New file.
12044 * benchtests/bench-strpbrk.c: New file.
12045 * benchtests/bench-strrchr-ifunc.c: New file.
12046 * benchtests/bench-strrchr.c: New file.
12047 * benchtests/bench-strspn-ifunc.c: New file.
12048 * benchtests/bench-strspn.c: New file.
12049 * benchtests/bench-strstr-ifunc.c: New file.
12050 * benchtests/bench-strstr.c: New file.
12052 * benchtests/Makefile: Disable parallel execution of targets.
12053 (string-bench): Add memcpy.
12054 (benchset): New variable to store a list of benchmark sets.
12055 (bench-func): Renamed from bench.
12056 (bench-set): New target.
12057 (bench): Depend on bench-func and bench-set.
12058 * benchtests/README: Add section on benchmark sets.
12059 * benchtests/bench-memcpy-ifunc.c: New file.
12060 * benchtests/bench-memcpy.c: New file.
12061 * benchtests/bench-string.h: New file.
12063 2013-06-11 Andreas Schwab <schwab@suse.de>
12066 * nscd/connections.c (nscd_run_worker): Always zero-terminate key.
12067 * nscd/netgroupcache.c (addgetnetgrentX): Properly handle absent
12068 values in the triple.
12069 * nscd/nscd_netgroup.c (__nscd_setnetgrent): Include zero
12070 terminator in the group key.
12072 2013-06-11 Andreas Jaeger <aj@suse.de>
12074 * po/zh_TW.po: Update Chinese (traditional) translation from
12075 translation project.
12077 2013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
12079 * include/time.h (__clock_gettime): Add libc_hidden_proto.
12080 * rt/clock_getcpuclockid.c (clock_getcpuclockid): Rename to
12081 __clock_getcpuclockid. Add weak_alias and libc_hidden_def.
12082 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
12083 (clock_getcpuclockid): Likewise.
12084 * rt/clock_getres.c (clock_getres): Rename to __clock_getres.
12085 Add weak_alias and libc_hidden_def.
12086 * sysdeps/posix/clock_getres.c (clock_getres): Likewise.
12087 * rt/clock_gettime.c (clock_gettime): Rename to
12088 __clock_gettime. Add weak_alias and libc_hidden_def.
12089 * sysdeps/unix/clock_gettime.c (clock_gettime): Likewise.
12090 * rt/clock_nanosleep.c (clock_nanosleep): Rename to
12091 __clock_nanosleep. Add weak_alias and libc_hidden_def.
12092 * sysdeps/unix/clock_nanosleep.c (clock_nanosleep): Likewise.
12093 * sysdeps/unix/sysv/linux/clock_nanosleep.c (clock_nanosleep):
12095 * rt/clock_settime.c (clock_settime): Rename to
12096 __clock_settime. Add weak_alias and libc_hidden_def.
12097 * sysdeps/unix/clock_settime.c (clock_settime): Likewise.
12099 2013-06-10 Joseph Myers <joseph@codesourcery.com>
12101 * mach/err_boot.sub: Remove trailing whitespace.
12102 * mach/err_ipc.sub: Likewise.
12103 * mach/err_mach.sub: Likewise.
12105 * sysdeps/generic/math-tests.h (ROUNDING_TESTS_float): New macro.
12106 (ROUNDING_TESTS_double): Likewise.
12107 (ROUNDING_TESTS_long_double): Likewise.
12108 (ROUNDING_TESTS): Likewise.
12109 * math/libm-test.inc: Include <math-tests.h>.
12110 (IF_ROUND_INIT_FE_DOWNWARD): Use ROUNDING_TESTS.
12111 (IF_ROUND_INIT_FE_TONEAREST): Likewise.
12112 (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
12113 (IF_ROUND_INIT_FE_UPWARD): Likewise.
12115 2013-06-10 Siddhesh Poyarekar <siddhesh@redhat.com>
12117 * benchtests/Makefile (CPPFLAGS-nonlib): Append values instead
12120 2013-06-08 Joseph Myers <joseph@codesourcery.com>
12122 * sysdeps/gnu/errlist.awk: Do not generate space at end of
12123 otherwise empty TRANS lines.
12124 * sysdeps/gnu/errlist.c: Regenerated.
12126 * catgets/gencat.c (error_print): Use (void) in function
12128 * crypt/crypt_util.c (__init_des): Likewise.
12129 * crypt/speeds.c (Stop): Likewise.
12131 * hurd/hurdmalloc.c (print_malloc_free_list): Likewise.
12132 * inet/ruserpass.c (token): Likewise.
12133 * intl/finddomain.c (_nl_finddomain_subfreeres): Likewise.
12134 * intl/localealias.c (extend_alias_table): Likewise.
12135 * intl/plural-exp.c (init_germanic_plural): Likewise.
12136 * libio/fcloseall.c (__fcloseall): Likewise.
12137 * libio/genops.c (_IO_flush_all): Likewise.
12138 (_IO_flush_all_linebuffered): Likewise.
12139 (_IO_cleanup): Likewise.
12140 (_IO_iter_begin): Likewise.
12141 (_IO_iter_end): Likewise.
12142 (_IO_list_lock): Likewise.
12143 (_IO_list_unlock): Likewise.
12144 (_IO_list_resetlock): Likewise.
12145 * libio/getchar.c (getchar): Likewise.
12146 * libio/getchar_u.c (getchar_unlocked): Likewise.
12147 * libio/getwchar.c (getwchar): Likewise.
12148 * libio/getwchar_u.c (getwchar_unlocked): Likewise.
12149 * libio/oldstdfiles.c (_IO_check_libio): Likewise.
12150 * login/getpt.c (__getpt): Likewise.
12151 * login/tst-utmp.c (main): Likewise.
12152 * malloc/hooks.c (__malloc_check_init): Likewise.
12153 * malloc/malloc.c (__malloc_stats): Likewise.
12154 * malloc/mtrace.c (tr_break): Likewise.
12155 (mtrace): Likewise.
12156 (muntrace): Likewise.
12157 * misc/fstab.c (endfsent): Likewise.
12158 * misc/getclktck.c (__getclktck): Likewise.
12159 * misc/getdtsz.c (__getdtablesize): Likewise.
12160 * misc/gethostid.c (gethostid): Likewise.
12161 * misc/getpagesize.c (__getpagesize): Likewise.
12162 * misc/getsysstats.c (__get_nprocs_conf): Likewise.
12163 (__get_nprocs): Likewise.
12164 (__get_phys_pages): Likewise.
12165 (__get_avphys_pages): Likewise.
12166 * misc/getttyent.c (getttyent): Likewise.
12167 (setttyent): Likewise.
12168 (endttyent): Likewise.
12169 * misc/getusershell.c (getusershell): Likewise.
12170 (endusershell): Likewise.
12171 (setusershell): Likewise.
12172 (initshells): Likewise.
12173 * misc/hsearch.c (__hdestroy): Likewise.
12174 * misc/sync.c (sync): Likewise.
12175 * misc/syslog.c (closelog_internal): Likewise.
12176 (closelog): Likewise.
12177 * misc/ttyslot.c (ttyslot): Likewise.
12178 * misc/vhangup.c (vhangup): Likewise.
12179 * posix/fork.c (__fork): Likewise.
12180 * posix/getegid.c (__getegid): Likewise.
12181 * posix/geteuid.c (__geteuid): Likewise.
12182 * posix/getgid.c (__getgid): Likewise.
12183 * posix/getpid.c (__getpid): Likewise.
12184 * posix/getppid.c (__getppid): Likewise.
12185 * posix/getuid.c (__getuid): Likewise.
12186 * posix/pause.c (pause): Likewise.
12187 * posix/setpgrp.c (setpgrp): Likewise.
12188 * posix/setsid.c (__setsid): Likewise.
12189 * posix/test-vfork.c (noop): Likewise.
12190 * resolv/gethnamaddr.c (_endhtent): Likewise.
12191 (_gethtent): Likewise.
12192 (ht_endhostent): Likewise.
12193 (gethostent): Likewise.
12194 (dns_service): Likewise.
12195 * stdlib/drand48.c (drand48): Likewise.
12196 * stdlib/lrand48.c (lrand48): Likewise.
12197 * stdlib/mrand48.c (mrand48): Likewise.
12198 * stdlib/rand.c (rand): Likewise.
12199 * stdlib/random.c (__random): Likewise.
12200 * stdlib/setenv.c (clearenv): Likewise.
12201 * sunrpc/clnt_tcp.c (clnttcp_abort): Likewise.
12202 * sunrpc/clnt_unix.c (clntunix_abort): Likewise.
12203 * sysdeps/mach/getpagesize.c (__getpagesize): Likewise.
12204 * sysdeps/mach/getsysstats.c (__get_nprocs_conf): Likewise.
12205 (__get_nprocs): Likewise.
12206 (__get_phys_pages): Likewise.
12207 (__get_avphys_pages): Likewise.
12208 * sysdeps/mach/hurd/dl-sysdep.c (__getpid): Likewise.
12209 * sysdeps/mach/hurd/getclktck.c (__getclktck): Likewise.
12210 * sysdeps/mach/hurd/getdtsz.c (__getdtablesize): Likewise.
12211 * sysdeps/mach/hurd/getegid.c (__getegid): Likewise.
12212 * sysdeps/mach/hurd/geteuid.c (__geteuid): Likewise.
12213 * sysdeps/mach/hurd/getgid.c (__getgid): Likewise.
12214 * sysdeps/mach/hurd/gethostid.c (gethostid): Likewise.
12215 * sysdeps/mach/hurd/getlogin.c (getlogin): Likewise.
12216 * sysdeps/mach/hurd/getpid.c (__getpid): Likewise.
12217 * sysdeps/mach/hurd/getppid.c (__getppid): Likewise.
12218 * sysdeps/mach/hurd/getuid.c (__getuid): Likewise.
12219 * sysdeps/mach/hurd/sync.c (sync): Likewise.
12220 * sysdeps/posix/clock.c (clock): Likewise.
12221 * sysdeps/unix/bsd/setsid.c (__setsid): Likewise.
12222 * sysdeps/unix/getpagesize.c (__getpagesize): Likewise.
12223 * sysdeps/unix/sysv/linux/getclktck.c (__getclktck): Likewise.
12224 * sysdeps/unix/sysv/linux/gethostid.c (gethostid): Likewise.
12225 * sysdeps/unix/sysv/linux/getpagesize.c (__getpagesize): Likewise.
12226 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Likewise.
12227 (__get_nprocs_conf): Likewise.
12228 (__get_phys_pages): Likewise.
12229 (__get_avphys_pages): Likewise.
12230 * time/clock.c (clock): Likewise.
12231 * time/tzset.c (__tzname_max): Likewise.
12233 2013-06-07 Joseph Myers <joseph@codesourcery.com>
12235 * bits/byteswap.h [__GNUC__ && !__GNUC_PREREQ (4, 3)]
12236 (__bswap_32): Do not use "register".
12237 * crypt/crypt.c (_ufc_doit_r): Likewise.
12238 * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
12239 * debug/wcscat_chk.c (__wcscat_chk): Likewise.
12240 * gmon/gmon.c (__monstartup): Likewise.
12241 * gmon/mcount.c (_MCOUNT_DECL(frompc, selfpc)): Likewise.
12242 * hurd/hurdmalloc.c (more_memory): Likewise.
12243 (malloc): Likewise.
12245 (realloc): Likewise.
12246 (malloc_fork_prepare): Likewise.
12247 (malloc_fork_parent): Likewise.
12248 (malloc_fork_child): Likewise.
12249 * include/rpc/auth_des.h (xdr_authdes_verf): Likewise.
12250 (_svcauth_des): Likewise.
12251 * inet/inet_lnaof.c (inet_lnaof): Likewise.
12252 * inet/inet_net.c (inet_network): Likewise.
12253 * inet/inet_netof.c (inet_netof): Likewise.
12254 * inet/rcmd.c (__validuser2_sa): Likewise.
12255 * io/fts.c (fts_open): Likewise.
12256 (fts_load): Likewise.
12257 (fts_close): Likewise.
12258 (fts_read): Likewise.
12259 (fts_children): Likewise.
12260 (fts_build): Likewise.
12261 (fts_stat): Likewise.
12262 (fts_sort): Likewise.
12263 (fts_alloc): Likewise.
12264 (fts_lfree): Likewise.
12265 * libio/fileops.c (_IO_new_file_xsputn): Likewise.
12266 (_IO_file_xsgetn): Likewise.
12267 (_IO_file_xsgetn_mmap): Likewise.
12268 * libio/iofopncook.c (_IO_cookie_read): Likewise.
12269 (_IO_cookie_write): Likewise.
12270 * libio/oldfileops.c (_IO_old_file_xsputn): Likewise.
12271 * libio/wfileops.c (_IO_wfile_xsputn): Likewise.
12272 * mach/msgserver.c (__mach_msg_server_timeout): Likewise.
12273 * malloc/obstack.c (_obstack_begin): Likewise.
12274 (_obstack_begin_1): Likewise.
12275 (_obstack_newchunk): Likewise.
12276 (_obstack_allocated_p): Likewise.
12277 (obstack_free): Likewise.
12278 (_obstack_memory_used): Likewise.
12279 * misc/getttyent.c (getttynam): Likewise.
12280 (getttyent): Likewise.
12283 * misc/getusershell.c (initshells): Likewise.
12284 * misc/syslog.c (__vsyslog_chk): Likewise.
12285 * misc/ttyslot.c (ttyslot): Likewise.
12286 * nis/nis_hash.c (__nis_hash): Likewise.
12287 * posix/fnmatch_loop.c (FCT): Likewise.
12288 * posix/getconf.c (print_all): Likewise.
12290 * posix/getopt.c (exchange): Likewise.
12291 * posix/glob.c (globfree): Likewise.
12292 (prefix_array): Likewise.
12293 (__glob_pattern_type): Likewise.
12294 * resolv/arpa/nameser.h (NS_GET16): Likewise.
12295 (NS_GET32): Likewise.
12296 (NS_PUT16): Likewise.
12297 (NS_PUT32): Likewise.
12298 * resolv/gethnamaddr.c (getanswer): Likewise.
12299 (gethostbyname2): Likewise.
12300 (gethostbyaddr): Likewise.
12301 (_gethtent): Likewise.
12302 (_gethtbyname2): Likewise.
12303 (_gethtbyaddr): Likewise.
12304 * resolv/ns_print.c (dst_s_get_int16): Likewise.
12305 * resolv/nss_dns/dns-host.c (getanswer_r): Likewise.
12306 * resolv/res_init.c (__res_vinit): Likewise.
12307 (net_mask): Likewise.
12308 * resolv/res_mkquery.c (outchar): Likewise.
12310 * stdio-common/printf_fp.c (outchar): Likewise.
12312 * stdio-common/printf_fphex.c (outchar): Likewise.
12314 * stdio-common/printf_size.c (outchar): Likewise.
12316 * stdio-common/test_rdwr.c (main): Likewise.
12317 * stdio-common/tfformat.c (matches): Likewise.
12318 * stdio-common/vfprintf.c (outchar): Likewise.
12319 (printf_unknown): Likewise.
12320 (buffered_vfprintf): Likewise.
12321 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
12322 * stdio-common/xbug.c (AppendToBuffer): Likewise.
12323 (ReadFile): Likewise.
12324 * stdlib/qsort.c (SWAP): Likewise.
12325 (_quicksort): Likewise.
12326 * stdlib/setenv.c (__add_to_environ): Likewise.
12327 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
12328 * stdlib/strtol_l.c (__strtol_l): Likewise.
12329 * stdlib/tst-strtod.c (main): Likewise.
12330 * stdlib/tst-strtol.c (main): Likewise.
12331 * stdlib/tst-strtoll.c (main): Likewise.
12332 * string/bits/string2.h (__strcmp_cc): Likewise.
12333 (__strcmp_cg): Likewise.
12334 (__strcspn_c1): Likewise.
12335 (__strcspn_c2): Likewise.
12336 (__strcspn_c3): Likewise.
12337 (__strspn_c1): Likewise.
12338 (__strspn_c2): Likewise.
12339 (__strspn_c3): Likewise.
12340 (__strsep_1c): Likewise.
12341 (__strsep_2c): Likewise.
12342 (__strsep_3c): Likewise.
12343 * string/memccpy.c (__memccpy): Likewise.
12344 * string/stpcpy.c (__stpcpy): Likewise.
12345 * string/strcmp.c (strcmp): Likewise.
12346 * string/strrchr.c (strrchr): Likewise.
12347 * sysdeps/generic/sigset-cvt-mask.h (sigset_get_old_mask):
12349 * sysdeps/mach/hurd/getcwd.c
12350 (_hurd_canonicalize_directory_name_internal): Likewise.
12351 * sysdeps/mach/i386/sysdep.h (SNARF_ARGS): Likewise.
12352 * sysdeps/powerpc/powerpc32/power6/wcschr.c (wcschr): Likewise.
12353 * sysdeps/powerpc/powerpc32/power6/wcsrchr.c (wcsrchr): Likewise.
12354 * sysdeps/x86/bits/byteswap-16.h [__GNUC__] (__bswap_16):
12355 Likewise, in both definitions.
12356 * sysdeps/x86/bits/byteswap.h (__bswap_32): Likewise, in multiple
12358 [__GNUC_PREREQ (2, 0) && !__GNUC_PREREQ (4, 3) && __WORDSIZE ==
12359 64] (__bswap_64): Likewise.
12360 * time/test_time.c (main): Likewise.
12361 * time/tzfile.c (__tzfile_read): Likewise.
12362 (__tzfile_compute): Likewise.
12363 * time/tzset.c (__tzset_parse_tz): Likewise.
12364 (tzset_internal): Likewise.
12365 (compute_change): Likewise.
12366 * wcsmbs/wcscat.c (__wcscat): Likewise.
12367 * wcsmbs/wcschr.c (wcschr): Likewise.
12368 * wcsmbs/wcschrnul.c (__wcschrnul): Likewise.
12369 * wcsmbs/wcscspn.c (wcscspn): Likewise.
12370 * wcsmbs/wcspbrk.c (wcspbrk): Likewise.
12371 * wcsmbs/wcsrchr.c (wcsrchr): Likewise.
12372 * wcsmbs/wcsspn.c (wcsspn): Likewise.
12373 * wcsmbs/wcsstr.c (wcsstr): Likewise.
12374 * wcsmbs/wmemchr.c (wmemchr): Likewise.
12375 * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
12376 * wcsmbs/wmemset.c (wmemset): Likewise.
12378 2013-06-06 Joseph Myers <joseph@codesourcery.com>
12380 * scripts/config.guess: Update to version 2013-05-16.
12381 * scripts/config.sub: Update to version 2013-04-24.
12382 * scripts/install-sh: Update to version 2011-11-20.07.
12383 * scripts/mkinstalldirs: Update to version 2009-04-28.21.
12384 * scripts/move-if-change: Update to version 2012-01-06 07:23.
12386 2013-06-06 Ondřej Bílka <neleai@seznam.cz>
12388 * debug/fgetws_u_chk.c: Fix leading whitespaces.
12389 * elf/sln.c: Likewise.
12390 * hurd/hurd/ioctl.h: Likewise.
12391 * hurd/hurdmalloc.c: Likewise.
12392 * hurd/xattr.c: Likewise.
12393 * include/shlib-compat.h: Likewise.
12394 * inet/ruserpass.c: Likewise.
12395 * libio/iofgets_u.c: Likewise.
12396 * libio/iofgetws_u.c: Likewise.
12397 * locale/programs/ld-identification.c: Likewise.
12398 * locale/programs/ld-time.c: Likewise.
12399 * mach/msg-destroy.c: Likewise.
12400 * nss/nss_files/files-netgrp.c: Likewise.
12401 * resolv/res_data.c: Likewise.
12402 * soft-fp/op-1.h: Likewise.
12403 * soft-fp/op-2.h: Likewise.
12404 * soft-fp/op-4.h: Likewise.
12405 * soft-fp/op-common.h: Likewise.
12406 * stdio-common/printf_fphex.c: Likewise.
12407 * stdlib/strtod_l.c: Likewise.
12408 * sunrpc/rpc/clnt.h: Likewise.
12409 * sysdeps/generic/framestate.c: Likewise.
12410 * sysdeps/i386/bsd-_setjmp.S: Likewise.
12411 * sysdeps/i386/bsd-setjmp.S: Likewise.
12412 * sysdeps/i386/__longjmp.S: Likewise.
12413 * sysdeps/i386/setjmp.S: Likewise.
12414 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
12415 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
12416 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
12417 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
12418 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
12419 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
12420 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
12421 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
12422 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
12423 * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
12424 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
12425 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
12426 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
12427 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
12428 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
12429 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
12430 * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
12431 * sysdeps/ieee754/ldbl-96/ldbl2mpn.c: Likewise.
12432 * sysdeps/ieee754/support.c: Likewise.
12433 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
12434 * sysdeps/powerpc/powerpc32/lshift.S: Likewise.
12435 * sysdeps/sparc/sparc32/__longjmp.S: Likewise.
12436 * sysdeps/sparc/sparc64/soft-fp/qp_cmp.c: Likewise.
12437 * sysdeps/sparc/sparc64/soft-fp/qp_cmpe.c: Likewise.
12438 * sysdeps/sparc/sparc64/soft-fp/qp_feq.c: Likewise.
12439 * sysdeps/sparc/sparc64/soft-fp/qp_fge.c: Likewise.
12440 * sysdeps/sparc/sparc64/soft-fp/qp_fgt.c: Likewise.
12441 * sysdeps/sparc/sparc64/soft-fp/qp_fle.c: Likewise.
12442 * sysdeps/sparc/sparc64/soft-fp/qp_flt.c: Likewise.
12443 * sysdeps/sparc/sparc64/soft-fp/qp_fne.c: Likewise.
12444 * sysdeps/sparc/sparc64/soft-fp/qp_mul.c: Likewise.
12445 * sysdeps/sparc/sparc64/soft-fp/qp_qtoi.c: Likewise.
12446 * sysdeps/sparc/sparc64/soft-fp/qp_qtoui.c: Likewise.
12447 * sysdeps/sparc/sparc64/soft-fp/qp_qtoux.c: Likewise.
12448 * sysdeps/sparc/sparc64/soft-fp/qp_qtox.c: Likewise.
12449 * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
12450 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Likewise.
12452 2013-06-05 Ondřej Bílka <neleai@seznam.cz>
12454 * posix/transbug.c: Remove executable mode.
12456 2013-06-05 Joseph Myers <joseph@codesourcery.com>
12458 * crypt/speeds.c: Remove trailing whitespace.
12459 * dlfcn/default.c: Likewise.
12460 * elf/ifuncdep2.c: Likewise.
12461 * elf/ifuncmain1.c: Likewise.
12462 * elf/ifuncmain1vis.c: Likewise.
12463 * elf/testobj.h: Likewise.
12464 * elf/tst-stackguard1.c: Likewise.
12465 * gmon/sys/gmon.h: Likewise.
12466 * hurd/hurdmsg.c: Likewise.
12467 * hurd/new-fd.c: Likewise.
12468 * hurd/ports-get.c: Likewise.
12469 * iconvdata/ibm1008_420.c: Likewise.
12470 * inet/tst-getni1.c: Likewise.
12471 * inet/tst-getni2.c: Likewise.
12472 * libio/ioungetc.c: Likewise.
12473 * libio/wfiledoalloc.c: Likewise.
12474 * manual/libm-err-tab.pl: Likewise.
12475 * math/w_dremf.c: Likewise.
12476 * misc/ftruncate.c: Likewise.
12477 * posix/bug-glob2.c: Likewise.
12478 * posix/tst-pcre.c: Likewise.
12479 * posix/wait4.c: Likewise.
12480 * resolv/README: Likewise.
12481 * resolv/res_debug.h: Likewise.
12482 * resolv/tst-inet_ntop.c: Likewise.
12483 * setjmp/bug269-setjmp.c: Likewise.
12484 * soft-fp/extended.h: Likewise.
12485 * soft-fp/op-1.h: Likewise.
12486 * soft-fp/op-2.h: Likewise.
12487 * soft-fp/op-4.h: Likewise.
12488 * soft-fp/op-8.h: Likewise.
12489 * soft-fp/testit.c: Likewise.
12490 * stdio-common/bug16.c: Likewise.
12491 * stdlib/random.c: Likewise.
12492 * sunrpc/rpcsvc/rquota.x: Likewise.
12493 * sysdeps/ieee754/dbl-64/powtwo.tbl: Likewise.
12494 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
12495 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
12496 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
12497 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
12498 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
12499 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
12500 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
12501 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
12502 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
12503 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
12504 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
12505 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
12506 * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
12507 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
12508 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
12509 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
12510 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
12511 * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
12512 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
12513 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
12514 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
12515 * sysdeps/ieee754/ldbl-128/t_sincosl.c: Likewise.
12516 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
12517 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
12518 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
12519 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
12520 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
12521 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
12522 * sysdeps/ieee754/s_lib_version.c: Likewise.
12523 * sysdeps/mach/hurd/check_fds.c: Likewise.
12524 * sysdeps/mach/hurd/getsockname.c: Likewise.
12525 * sysdeps/mach/hurd/net/if_ppp.h: Likewise.
12526 * sysdeps/mach/hurd/recvfrom.c: Likewise.
12527 * sysdeps/powerpc/bits/link.h: Likewise.
12528 * sysdeps/powerpc/dl-procinfo.c: Likewise.
12529 * sysdeps/powerpc/fpu/feholdexcpt.c: Likewise.
12530 * sysdeps/powerpc/fpu/fenv_const.c: Likewise.
12531 * sysdeps/powerpc/fpu/fesetenv.c: Likewise.
12532 * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
12533 * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
12534 * sysdeps/powerpc/fpu/t_sqrt.c: Likewise.
12535 * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
12536 * sysdeps/powerpc/powerpc32/fpu/s_floor.S: Likewise.
12537 * sysdeps/powerpc/powerpc32/fpu/s_floorf.S: Likewise.
12538 * sysdeps/powerpc/powerpc32/fpu/s_isnan.S: Likewise.
12539 * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
12540 * sysdeps/powerpc/powerpc32/fpu/s_round.S: Likewise.
12541 * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Likewise.
12542 * sysdeps/powerpc/powerpc32/fpu/s_trunc.S: Likewise.
12543 * sysdeps/powerpc/powerpc32/fpu/s_truncf.S: Likewise.
12544 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
12545 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
12546 * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
12547 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
12548 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
12549 * sysdeps/powerpc/powerpc32/power4/hp-timing.c: Likewise.
12550 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
12551 * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
12552 * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Likewise.
12553 * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
12554 * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
12555 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
12556 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
12557 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
12558 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
12559 * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
12560 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
12561 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
12562 * sysdeps/powerpc/powerpc32/power6x/fpu/s_lround.S: Likewise.
12563 * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
12564 * sysdeps/powerpc/powerpc64/fpu/s_floor.S: Likewise.
12565 * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
12566 * sysdeps/powerpc/powerpc64/fpu/s_isnan.S: Likewise.
12567 * sysdeps/powerpc/powerpc64/fpu/s_llrint.S: Likewise.
12568 * sysdeps/powerpc/powerpc64/fpu/s_llrintf.S: Likewise.
12569 * sysdeps/powerpc/powerpc64/fpu/s_llround.S: Likewise.
12570 * sysdeps/powerpc/powerpc64/fpu/s_llroundf.S: Likewise.
12571 * sysdeps/powerpc/powerpc64/fpu/s_round.S: Likewise.
12572 * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
12573 * sysdeps/powerpc/powerpc64/fpu/s_roundl.S: Likewise.
12574 * sysdeps/powerpc/powerpc64/fpu/s_trunc.S: Likewise.
12575 * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
12576 * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Likewise.
12577 * sysdeps/powerpc/powerpc64/hp-timing.c: Likewise.
12578 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
12579 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
12580 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
12581 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
12582 * sysdeps/powerpc/powerpc64/power5+/fpu/s_llround.S: Likewise.
12583 * sysdeps/powerpc/powerpc64/power5/fpu/s_isnan.S: Likewise.
12584 * sysdeps/powerpc/powerpc64/power6/fpu/s_isnan.S: Likewise.
12585 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
12586 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Likewise.
12587 * sysdeps/powerpc/powerpc64/power6x/fpu/s_isnan.S: Likewise.
12588 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llrint.S: Likewise.
12589 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llround.S: Likewise.
12590 * sysdeps/powerpc/powerpc64/strlen.S: Likewise.
12591 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
12592 * sysdeps/powerpc/sysdep.h: Likewise.
12593 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
12594 * sysdeps/s390/s390-64/sub_n.S: Likewise.
12595 * sysdeps/sh/dl-trampoline.S: Likewise.
12596 * sysdeps/sh/memset.S: Likewise.
12597 * sysdeps/sh/sh4/fpu/fclrexcpt.c: Likewise.
12598 * sysdeps/sh/strlen.S: Likewise.
12599 * sysdeps/sparc/sparc32/dl-trampoline.S: Likewise.
12600 * sysdeps/sparc/sparc32/dotmul.S: Likewise.
12601 * sysdeps/sparc/sparc32/memcpy.S: Likewise.
12602 * sysdeps/sparc/sparc32/rem.S: Likewise.
12603 * sysdeps/sparc/sparc32/sdiv.S: Likewise.
12604 * sysdeps/sparc/sparc32/soft-fp/q_neg.c: Likewise.
12605 * sysdeps/sparc/sparc32/strchr.S: Likewise.
12606 * sysdeps/sparc/sparc32/udiv.S: Likewise.
12607 * sysdeps/sparc/sparc32/urem.S: Likewise.
12608 * sysdeps/sparc/sparc64/add_n.S: Likewise.
12609 * sysdeps/sparc/sparc64/memcpy.S: Likewise.
12610 * sysdeps/sparc/sparc64/rawmemchr.S: Likewise.
12611 * sysdeps/sparc/sparc64/soft-fp/s_frexpl.c: Likewise.
12612 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h: Likewise.
12613 * sysdeps/sparc/sparc64/stpncpy.S: Likewise.
12614 * sysdeps/sparc/sparc64/strncmp.S: Likewise.
12615 * sysdeps/sparc/sparc64/strncpy.S: Likewise.
12616 * sysdeps/unix/bsd/times.c: Likewise.
12617 * sysdeps/unix/sysv/linux/a.out.h: Likewise.
12618 * sysdeps/unix/sysv/linux/net/if_ppp.h: Likewise.
12619 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S: Likewise.
12620 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S: Likewise.
12621 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Likewise.
12622 * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h: Likewise.
12623 * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
12624 * sysdeps/unix/sysv/linux/s390/s390-32/clone.S: Likewise.
12625 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Likewise.
12626 * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Likewise.
12627 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Likewise.
12628 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
12629 * sysdeps/unix/sysv/linux/s390/s390-64/mmap.S: Likewise.
12630 * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
12631 * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
12632 * sysdeps/unix/sysv/linux/s390/s390-64/socket.S: Likewise.
12633 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
12634 * sysdeps/unix/sysv/linux/s390/s390-64/syscall.S: Likewise.
12635 * sysdeps/unix/sysv/linux/scsi/scsi_ioctl.h: Likewise.
12636 * sysdeps/unix/sysv/linux/sh/brk.c: Likewise.
12637 * sysdeps/unix/sysv/linux/sh/clone.S: Likewise.
12638 * sysdeps/unix/sysv/linux/sh/sh3/getcontext.S: Likewise.
12639 * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
12640 * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S: Likewise.
12641 * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S: Likewise.
12642 * sysdeps/unix/sysv/linux/sh/vfork.S: Likewise.
12643 * sysdeps/unix/sysv/linux/sparc/a.out.h: Likewise.
12644 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
12645 * sysdeps/unix/sysv/linux/sys/personality.h: Likewise.
12646 * sysdeps/x86_64/fpu/s_ceill.S: Likewise.
12647 * sysdeps/x86_64/fpu/s_llrintl.S: Likewise.
12648 * sysdeps/x86_64/strcspn.S: Likewise.
12650 2013-06-05 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
12652 * locale/C-translit.h: Revert #include <stdint.h> because this is a
12653 generated file. Regenerate properly from gen-translit.pl.
12654 * locale/gen-translit.pl: Add #include <stdint.h>. This generates
12655 locale/C-translit.h.
12657 2013-06-05 Andreas Schwab <schwab@suse.de>
12660 * time/strptime_l.c (__strptime_internal): Count Sunday in a %W
12661 week as 6 instead of -1.
12662 * time/tst-strptime.c (day_tests): Add test case.
12664 2013-06-05 Siddhesh Poyarekar <siddhesh@redhat.com>
12666 * sysdeps/generic/math_private.h
12667 (libc_feholdexcept_setround_53bit): Replace with
12668 libc_feholdsetround_53bit.
12669 (libc_feupdateenv_53bit): Replace with
12670 libc_feresetround_53bit.
12671 (SET_RESTORE_ROUND_53BIT): Adjust.
12673 2013-06-03 Siddhesh Poyarekar <siddhesh@redhat.com>
12675 * string/test-strchrnul.c: Add copyright header.
12677 * posix/tst-getaddrinfo4.c: Increase test timeout.
12679 2013-06-03 Carlos O'Donell <carlos@redhat.com>
12682 * math/libm-test.inc (MAX_EXP): Remove
12684 (ulp): Use MIN_EXP - MANT_DIG.
12685 (check_ulp): Verify subnormal ulps. Only allow a range of +/- 1 ulp.
12687 2013-05-31 Carlos O'Donell <carlos@redhat.com>
12689 * po/be.po: Revert last change.
12690 * po/zh_CN.po: Likewise.
12691 * po/header.pot: Likewise.
12693 2013-05-31 Joseph Myers <joseph@codesourcery.com>
12695 * Makefile ($(common-objpfx)linkobj/libc.so): Define
12696 link-libc-deps to empty as target-specific variable.
12697 * Makerules (link-libc-args): New variable.
12698 (libc-for-link): Likewise.
12699 (link-libc-deps): Likewise.
12700 (lib%.so): Depend on $(link-libc-deps). Link with
12702 (build-module): Link with $(link-libc-args).
12703 (build-module-asneeded): Likewise.
12704 (build-module-helper-objlist): Filter out $(link-libc-deps) from
12706 ($(common-objpfx)libc.so): Define link-libc-deps to empty as
12707 target-specific variable.
12708 ($(extra-modules-build:%=$(objpfx)%.so)): Depend on
12709 $(link-libc-deps) instead of libc.so and libc_nonshared.a.
12710 * crypt/Makefile ($(objpfx)libcrypt.so): Remove dependencies on
12712 * debug/Makefile ($(objpfx)libSegFault.so): Remove dependencies on
12714 ($(objpfx)libpcprofile.so): Likewise.
12715 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Remove ld.so and
12717 ($(objpfx)libdl.so): Remove dependencies on libc and ld.so.
12718 * hesiod/Makefile ($(objpfx)libnss_hesiod.so): Likewise.
12719 * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Depend on
12721 ($(objpfx)$(mod).so): Remove dependencies on libc and ld.so.
12722 * locale/Makefile ($(objpfx)libBrokenLocale.so): Likewise.
12723 * login/Makefile ($(objpfx)libutil.so): Likewise.
12724 * malloc/Makefile ($(objpfx)libmemusage.so): Likewise.
12725 * math/Makefile ($(objpfx)libm.so): Likewise.
12726 * nis/Makefile ($(services:%=$(objpfx)libnss_%.so)
12727 $(objpfx)libnsl.so): Define libc-for-link as target-specific
12728 variable instead of depending directly on libc.
12729 * nss/Makefile ($(services:%=$(objpfx)libnss_%.so)): Likewise.
12730 ($(objpfx)/libnss_test1.so): Change dependencies on libc to
12732 * resolv/Makefile ($(objpfx)libresolv.so): Remove dependencies on
12734 [$(have-ssp) = yes] (LDLIBS-resolv.so): Remove variable.
12735 ($(objpfx)libnss_dns.so): Remove dependencies on libc.
12736 ($(objpfx)libanl.so): Likewise.
12737 * rt/Makefile ($(objpfx)librt.so): Remove dependencies on libc and
12739 * stdlib/Makefile ($(objpfx)tst-putenvmod.so): Depend on
12741 * sysdeps/i386/fpu/Makefile: Remove file.
12742 * sysdeps/powerpc/fpu/Makefile [$(subdir) = math]
12743 ($(objpfx)libm.so): Remove dependency on ld.so.
12745 2013-05-30 Patsy Franklin <pfrankli@redhat.com>
12748 * nis/yp_xdr.c (XDRMAXNAME): Define.
12749 (XDRMAXRECORD): Define.
12750 (xdr_domainname): Use XDRMAXNAME.
12751 (xdr_mapname): Likewise.
12752 (xdr_peername): Likewise.
12753 (xdr_keydat): Use XDRMAXRECORD.
12754 (xdr_valdat): Likewise.
12756 2013-05-30 Jeff Law <law@redhat.com>
12759 * manual/errno.texi (ESTALE): Update to account for more than
12760 just NFS file systems.
12761 * sysdeps/gnu/errlist.c: Regenerated.
12763 2013-05-29 Siddhesh Poyarekar <siddhesh@redhat.com>
12766 * elf/Makefile (tests): Add tst-null-argv.
12767 (modules-names): Add tst-null-argv-lib.
12768 ($(objpfx)tst-null-argv): Depend on tst-null-argv-lib.so.
12769 (tst-null-argv-ENV): Set environment for tst-null-argv.
12770 * sysdeps/generic/ldsodefs.h (DSO_FILENAME): New macro.
12771 (RTLD_PROGNAME): New macro.
12772 * elf/tst-null-argv.c: New test case.
12773 * elf/tst-null-argv-lib.c: Library for test case.
12774 * elf/dl-conflict.c (_dl_resolve_conflicts): Use DSO_FILENAME.
12775 * elf/dl-deps.c (_dl_map_object_deps): Likewise.
12776 * elf/dl-error.c (_dl_signal_error): Use RTLD_PROGNAME.
12777 * elf/dl-fini.c (_dl_fini): Use DSO_FILENAME.
12778 * elf/dl-init.c (call_init): Likewise.
12779 (_dl_init): Likewise.
12780 * elf/dl-load.c (print_search_path): Likewise.
12781 (_dl_map_object): Likewise.
12782 * elf/dl-lookup.c (do_lookup_x): Likewise.
12783 (add_dependency): Likewise.
12784 (_dl_lookup_symbol_x): Likewise.
12785 (_dl_debug_bindings): Likewise.
12786 * elf/dl-open.c (_dl_show_scope): Likewise.
12787 * elf/dl-reloc.c (_dl_relocate_object): Likewise.
12788 * elf/dl-version.c (match_symbol): Likewise.
12789 (_dl_check_map_versions): Likewise.
12790 * elf/rtld.c (dl_main): Likewise.
12791 (print_unresolved): Use RTLD_PROGNAME.
12792 (print_missing_version): Likewise.
12793 * sysdeps/i386/dl-machine.h (elf_machine_rel): Likewise.
12794 (elf_machine_rela): Likewise.
12795 * sysdeps/powerpc/powerpc32/dl-machine.c
12796 (__process_machine_rela): Likewise.
12797 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
12799 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
12801 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela):
12803 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
12804 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela):
12806 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela):
12808 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
12810 2013-05-28 Carlos O'Donell <carlos@redhat.com>
12812 * po/be.po: Add descriptive title.
12813 * po/zh_CN.po: Likewise.
12814 * po/header.pot: Likewise.
12816 2013-05-28 Mike Frysinger <vapier@gentoo.org>
12818 * locale/programs/locarchive.c (create_archive): Inlucde fname in
12820 (enlarge_archive): Likewise.
12822 2013-05-28 Ben North <ben@redfrontdoor.org>
12824 * manual/arith.texi (frexp): It is the magnitude of the return
12825 value which lies in [0.5, 1), not the return value itself.
12827 2013-05-28 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12829 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
12831 2013-05-26 Thomas Schwinge <thomas@codesourcery.com>
12833 * stdio-common/bug26.c (main): Correct fscanf template.
12835 * sysdeps/mach/hurd/dl-sysdep.c (_dl_sysdep_start:go): Don't
12836 declare _dl_skip_args.
12838 * sysdeps/mach/hurd/i386/init-first.c (_dl_non_dynamic_init):
12841 * manual/platform.texi: Add missing @end deftypefun.
12843 2013-05-24 Joseph Myers <joseph@codesourcery.com>
12846 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Set high
12847 bit of mantissa of 2^16382.
12848 * math/libm-test.inc (hypot_test_data): Add more tests.
12850 * math/libm-test.inc: Add drem and pow10 to list of tested
12852 (pow10_test): New function.
12853 (drem_test): Likewise.
12854 (drem_test_tonearest): Likewise.
12855 (drem_test_towardzero): Likewise.
12856 (drem_test_downward): Likewise.
12857 (drem_test_upward): Likewise.
12858 (main): Call the new functions.
12860 * math/libm-test.inc (finite_test_data): Remove.
12861 (finite_test): Run tests from isfinite_test_data.
12862 (gamma_test_data): Remove.
12863 (gamma_test): Run tests from lgamma_test_data.
12864 * sysdeps/i386/fpu/libm-test-ulps: Update.
12865 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12867 2013-05-24 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12869 * manual/platform.texi: Add PowerPC PPR function set documentation.
12870 * sysdeps/powerpc/sys/platform/ppc.h: Add PowerPC PPR set function
12873 2013-05-24 Carlos O'Donell <carlos@redhat.com>
12875 * math/libm-test.inc (MAX_EXP): Define.
12877 (ulp): New function.
12878 (check_float_internal): Use ULPDIFF.
12879 (cpow_test): Disable failing test.
12880 (check_ulp): Test ulp() implemetnation.
12881 (main): Call check_ulp before starting tests.
12883 2013-05-24 Joseph Myers <joseph@codesourcery.com>
12885 * math/gen-libm-test.pl (generate_testfile): Do not handle
12886 START_DATA and END_DATA.
12887 * math/libm-test.inc (acos_test_data): Do not use START_DATA and
12889 (acos_tonearest_test_data): Likewise.
12890 (acos_towardzero_test_data): Likewise.
12891 (acos_downward_test_data): Likewise.
12892 (acos_upward_test_data): Likewise.
12893 (acosh_test_data): Likewise.
12894 (asin_test_data): Likewise.
12895 (asin_tonearest_test_data): Likewise.
12896 (asin_towardzero_test_data): Likewise.
12897 (asin_downward_test_data): Likewise.
12898 (asin_upward_test_data): Likewise.
12899 (asinh_test_data): Likewise.
12900 (atan_test_data): Likewise.
12901 (atanh_test_data): Likewise.
12902 (atan2_test_data): Likewise.
12903 (cabs_test_data): Likewise.
12904 (cacos_test_data): Likewise.
12905 (cacosh_test_data): Likewise.
12906 (carg_test_data): Likewise.
12907 (casin_test_data): Likewise.
12908 (casinh_test_data): Likewise.
12909 (catan_test_data): Likewise.
12910 (catanh_test_data): Likewise.
12911 (cbrt_test_data): Likewise.
12912 (ccos_test_data): Likewise.
12913 (ccosh_test_data): Likewise.
12914 (ceil_test_data): Likewise.
12915 (cexp_test_data): Likewise.
12916 (cimag_test_data): Likewise.
12917 (clog_test_data): Likewise.
12918 (clog10_test_data): Likewise.
12919 (conj_test_data): Likewise.
12920 (copysign_test_data): Likewise.
12921 (cos_test_data): Likewise.
12922 (cos_tonearest_test_data): Likewise.
12923 (cos_towardzero_test_data): Likewise.
12924 (cos_downward_test_data): Likewise.
12925 (cos_upward_test_data): Likewise.
12926 (cosh_test_data): Likewise.
12927 (cosh_tonearest_test_data): Likewise.
12928 (cosh_towardzero_test_data): Likewise.
12929 (cosh_downward_test_data): Likewise.
12930 (cosh_upward_test_data): Likewise.
12931 (cpow_test_data): Likewise.
12932 (cproj_test_data): Likewise.
12933 (creal_test_data): Likewise.
12934 (csin_test_data): Likewise.
12935 (csinh_test_data): Likewise.
12936 (csqrt_test_data): Likewise.
12937 (ctan_test_data): Likewise.
12938 (ctan_tonearest_test_data): Likewise.
12939 (ctan_towardzero_test_data): Likewise.
12940 (ctan_downward_test_data): Likewise.
12941 (ctan_upward_test_data): Likewise.
12942 (ctanh_test_data): Likewise.
12943 (ctanh_tonearest_test_data): Likewise.
12944 (ctanh_towardzero_test_data): Likewise.
12945 (ctanh_downward_test_data): Likewise.
12946 (ctanh_upward_test_data): Likewise.
12947 (erf_test_data): Likewise.
12948 (erfc_test_data): Likewise.
12949 (exp_test_data): Likewise.
12950 (exp_tonearest_test_data): Likewise.
12951 (exp_towardzero_test_data): Likewise.
12952 (exp_downward_test_data): Likewise.
12953 (exp_upward_test_data): Likewise.
12954 (exp10_test_data): Likewise.
12955 (exp2_test_data): Likewise.
12956 (expm1_test_data): Likewise.
12957 (fabs_test_data): Likewise.
12958 (fdim_test_data): Likewise.
12959 (finite_test_data): Likewise.
12960 (floor_test_data): Likewise.
12961 (fma_test_data): Likewise.
12962 (fma_towardzero_test_data): Likewise.
12963 (fma_downward_test_data): Likewise.
12964 (fma_upward_test_data): Likewise.
12965 (fmax_test_data): Likewise.
12966 (fmin_test_data): Likewise.
12967 (fmod_test_data): Likewise.
12968 (fpclassify_test_data): Likewise.
12969 (frexp_test_data): Likewise.
12970 (gamma_test_data): Likewise.
12971 (hypot_test_data): Likewise.
12972 (ilogb_test_data): Likewise.
12973 (isfinite_test_data): Likewise.
12974 (isgreater_test_data): Likewise.
12975 (isgreaterequal_test_data): Likewise.
12976 (isinf_test_data): Likewise.
12977 (isless_test_data): Likewise.
12978 (islessequal_test_data): Likewise.
12979 (islessgreater_test_data): Likewise.
12980 (isnan_test_data): Likewise.
12981 (isnormal_test_data): Likewise.
12982 (issignaling_test_data): Likewise.
12983 (isunordered_test_data): Likewise.
12984 (j0_test_data): Likewise.
12985 (j1_test_data): Likewise.
12986 (jn_test_data): Likewise.
12987 (ldexp_test_data): Likewise.
12988 (lgamma_test_data): Likewise.
12989 (lrint_test_data): Likewise.
12990 (lrint_tonearest_test_data): Likewise.
12991 (lrint_towardzero_test_data): Likewise.
12992 (lrint_downward_test_data): Likewise.
12993 (lrint_upward_test_data): Likewise.
12994 (llrint_test_data): Likewise.
12995 (llrint_tonearest_test_data): Likewise.
12996 (llrint_towardzero_test_data): Likewise.
12997 (llrint_downward_test_data): Likewise.
12998 (llrint_upward_test_data): Likewise.
12999 (log_test_data): Likewise.
13000 (log10_test_data): Likewise.
13001 (log1p_test_data): Likewise.
13002 (log2_test_data): Likewise.
13003 (logb_test_data): Likewise.
13004 (logb_downward_test_data): Likewise.
13005 (lround_test_data): Likewise.
13006 (llround_test_data): Likewise.
13007 (modf_test_data): Likewise.
13008 (nearbyint_test_data): Likewise.
13009 (nextafter_test_data): Likewise.
13010 (nexttoward_test_data): Likewise.
13011 (pow_test_data): Likewise.
13012 (pow_tonearest_test_data): Likewise.
13013 (pow_towardzero_test_data): Likewise.
13014 (pow_downward_test_data): Likewise.
13015 (pow_upward_test_data): Likewise.
13016 (remainder_test_data): Likewise.
13017 (remainder_tonearest_test_data): Likewise.
13018 (remainder_towardzero_test_data): Likewise.
13019 (remainder_downward_test_data): Likewise.
13020 (remainder_upward_test_data): Likewise.
13021 (remquo_test_data): Likewise.
13022 (rint_test_data): Likewise.
13023 (rint_tonearest_test_data): Likewise.
13024 (rint_towardzero_test_data): Likewise.
13025 (rint_downward_test_data): Likewise.
13026 (rint_upward_test_data): Likewise.
13027 (round_test_data): Likewise.
13028 (scalb_test_data): Likewise.
13029 (scalbn_test_data): Likewise.
13030 (scalbln_test_data): Likewise.
13031 (signbit_test_data): Likewise.
13032 (sin_test_data): Likewise.
13033 (sin_tonearest_test_data): Likewise.
13034 (sin_towardzero_test_data): Likewise.
13035 (sin_downward_test_data): Likewise.
13036 (sin_upward_test_data): Likewise.
13037 (sincos_test_data): Likewise.
13038 (sinh_test_data): Likewise.
13039 (sinh_tonearest_test_data): Likewise.
13040 (sinh_towardzero_test_data): Likewise.
13041 (sinh_downward_test_data): Likewise.
13042 (sinh_upward_test_data): Likewise.
13043 (sqrt_test_data): Likewise.
13044 (tan_test_data): Likewise.
13045 (tan_tonearest_test_data): Likewise.
13046 (tan_towardzero_test_data): Likewise.
13047 (tan_downward_test_data): Likewise.
13048 (tan_upward_test_data): Likewise.
13049 (tanh_test_data): Likewise.
13050 (tgamma_test_data): Likewise.
13051 (trunc_test_data): Likewise.
13052 (y0_test_data): Likewise.
13053 (y1_test_data): Likewise.
13054 (yn_test_data): Likewise.
13055 (significand_test_data): Likewise.
13057 * math/gen-libm-test.pl (@functions): Remove variable.
13058 (generate_testfile): Don't handle START and END lines.
13059 * math/libm-test.inc (START): New macro.
13061 (END_COMPLEX): Likewise.
13062 (acos_test): Use END macro without arguments.
13063 (acos_test_tonearest): Likewise.
13064 (acos_test_towardzero): Likewise.
13065 (acos_test_downward): Likewise.
13066 (acos_test_upward): Likewise.
13067 (acosh_test): Likewise.
13068 (asin_test): Likewise.
13069 (asin_test_tonearest): Likewise.
13070 (asin_test_towardzero): Likewise.
13071 (asin_test_downward): Likewise.
13072 (asin_test_upward): Likewise.
13073 (asinh_test): Likewise.
13074 (atan_test): Likewise.
13075 (atanh_test): Likewise.
13076 (atan2_test): Likewise.
13077 (cabs_test): Likewise.
13078 (cacos_test): Use END_COMPLEX macro without arguments.
13079 (cacosh_test): Likewise.
13080 (carg_test): Use END macro without arguments.
13081 (casin_test): Use END_COMPLEX macro without arguments.
13082 (casinh_test): Likewise.
13083 (catan_test): Likewise.
13084 (catanh_test): Likewise.
13085 (cbrt_test): Use END macro without arguments.
13086 (ccos_test): Use END_COMPLEX macro without arguments.
13087 (ccosh_test): Likewise.
13088 (ceil_test): Use END macro without arguments.
13089 (cexp_test): Use END_COMPLEX macro without arguments.
13090 (cimag_test): Use END macro without arguments.
13091 (clog_test): Use END_COMPLEX macro without arguments.
13092 (clog10_test): Likewise.
13093 (conj_test): Likewise.
13094 (copysign_test): Use END macro without arguments.
13095 (cos_test): Likewise.
13096 (cos_test_tonearest): Likewise.
13097 (cos_test_towardzero): Likewise.
13098 (cos_test_downward): Likewise.
13099 (cos_test_upward): Likewise.
13100 (cosh_test): Likewise.
13101 (cosh_test_tonearest): Likewise.
13102 (cosh_test_towardzero): Likewise.
13103 (cosh_test_downward): Likewise.
13104 (cosh_test_upward): Likewise.
13105 (cpow_test): Use END_COMPLEX macro without arguments.
13106 (cproj_test): Likewise.
13107 (creal_test): Use END macro without arguments.
13108 (csin_test): Use END_COMPLEX macro without arguments.
13109 (csinh_test): Likewise.
13110 (csqrt_test): Likewise.
13111 (ctan_test): Likewise.
13112 (ctan_test_tonearest): Likewise.
13113 (ctan_test_towardzero): Likewise.
13114 (ctan_test_downward): Likewise.
13115 (ctan_test_upward): Likewise.
13116 (ctanh_test): Likewise.
13117 (ctanh_test_tonearest): Likewise.
13118 (ctanh_test_towardzero): Likewise.
13119 (ctanh_test_downward): Likewise.
13120 (ctanh_test_upward): Likewise.
13121 (erf_test): Use END macro without arguments.
13122 (erfc_test): Likewise.
13123 (exp_test): Likewise.
13124 (exp_test_tonearest): Likewise.
13125 (exp_test_towardzero): Likewise.
13126 (exp_test_downward): Likewise.
13127 (exp_test_upward): Likewise.
13128 (exp10_test): Likewise.
13129 (exp2_test): Likewise.
13130 (expm1_test): Likewise.
13131 (fabs_test): Likewise.
13132 (fdim_test): Likewise.
13133 (finite_test): Likewise.
13134 (floor_test): Likewise.
13135 (fma_test): Likewise.
13136 (fma_test_towardzero): Likewise.
13137 (fma_test_downward): Likewise.
13138 (fma_test_upward): Likewise.
13139 (fmax_test): Likewise.
13140 (fmin_test): Likewise.
13141 (fmod_test): Likewise.
13142 (fpclassify_test): Likewise.
13143 (frexp_test): Likewise.
13144 (gamma_test): Likewise.
13145 (hypot_test): Likewise.
13146 (ilogb_test): Likewise.
13147 (isfinite_test): Likewise.
13148 (isgreater_test): Likewise.
13149 (isgreaterequal_test): Likewise.
13150 (isinf_test): Likewise.
13151 (isless_test): Likewise.
13152 (islessequal_test): Likewise.
13153 (islessgreater_test): Likewise.
13154 (isnan_test): Likewise.
13155 (isnormal_test): Likewise.
13156 (issignaling_test): Likewise.
13157 (isunordered_test): Likewise.
13158 (j0_test): Likewise.
13159 (j1_test): Likewise.
13160 (jn_test): Likewise.
13161 (ldexp_test): Likewise.
13162 (lgamma_test): Likewise.
13163 (lrint_test): Likewise.
13164 (lrint_test_tonearest): Likewise.
13165 (lrint_test_towardzero): Likewise.
13166 (lrint_test_downward): Likewise.
13167 (lrint_test_upward): Likewise.
13168 (llrint_test): Likewise.
13169 (llrint_test_tonearest): Likewise.
13170 (llrint_test_towardzero): Likewise.
13171 (llrint_test_downward): Likewise.
13172 (llrint_test_upward): Likewise.
13173 (log_test): Likewise.
13174 (log10_test): Likewise.
13175 (log1p_test): Likewise.
13176 (log2_test): Likewise.
13177 (logb_test): Likewise.
13178 (logb_test_downward): Likewise.
13179 (lround_test): Likewise.
13180 (llround_test): Likewise.
13181 (modf_test): Likewise.
13182 (nearbyint_test): Likewise.
13183 (nextafter_test): Likewise.
13184 (nexttoward_test): Likewise.
13185 (pow_test): Likewise.
13186 (pow_test_tonearest): Likewise.
13187 (pow_test_towardzero): Likewise.
13188 (pow_test_downward): Likewise.
13189 (pow_test_upward): Likewise.
13190 (remainder_test): Likewise.
13191 (remainder_test_tonearest): Likewise.
13192 (remainder_test_towardzero): Likewise.
13193 (remainder_test_downward): Likewise.
13194 (remainder_test_upward): Likewise.
13195 (remquo_test): Likewise.
13196 (rint_test): Likewise.
13197 (rint_test_tonearest): Likewise.
13198 (rint_test_towardzero): Likewise.
13199 (rint_test_downward): Likewise.
13200 (rint_test_upward): Likewise.
13201 (round_test): Likewise.
13202 (scalb_test): Likewise.
13203 (scalbn_test): Likewise.
13204 (scalbln_test): Likewise.
13205 (signbit_test): Likewise.
13206 (sin_test): Likewise.
13207 (sin_test_tonearest): Likewise.
13208 (sin_test_towardzero): Likewise.
13209 (sin_test_downward): Likewise.
13210 (sin_test_upward): Likewise.
13211 (sincos_test): Likewise.
13212 (sinh_test): Likewise.
13213 (sinh_test_tonearest): Likewise.
13214 (sinh_test_towardzero): Likewise.
13215 (sinh_test_downward): Likewise.
13216 (sinh_test_upward): Likewise.
13217 (sqrt_test): Likewise.
13218 (tan_test): Likewise.
13219 (tan_test_tonearest): Likewise.
13220 (tan_test_towardzero): Likewise.
13221 (tan_test_downward): Likewise.
13222 (tan_test_upward): Likewise.
13223 (tanh_test): Likewise.
13224 (tgamma_test): Likewise.
13225 (trunc_test): Likewise.
13226 (y0_test): Likewise.
13227 (y1_test): Likewise.
13228 (yn_test): Likewise.
13229 (significand_test): Likewise.
13231 2013-05-24 Ondřej Bílka <neleai@seznam.cz>
13234 * libio/genops.c (_IO_no_init): Initialize wide struct info.
13236 2013-05-23 Edjunior Machado <emachado@linux.vnet.ibm.com>
13239 * sysdeps/powerpc/sys/platform/ppc.h: Add __ppc_yield,
13240 __ppc_mdoio and __ppc_mdoom.
13241 * manual/platform.texi: Document new functions __ppc_yield,
13242 __ppc_mdoio and __ppc_mdoom.
13244 2013-05-22 Carlos O'Donell <carlos@redhat.com>
13246 * elf/ldconfig.c (is_hwcap_platform): Make comments full setences.
13247 (main): Mention "tls" pseudo-hwcap is legacy.
13248 * elf/dl-hwcaps.c (_dl_important_hwcaps): Correct rounding comment.
13250 2013-05-22 Joseph Myers <joseph@codesourcery.com>
13252 * math/gen-libm-test.pl (parse_args): Output only string of
13253 arguments as text for test name, not full call or descriptions of
13254 tests for extra outputs.
13255 (generate_testfile): Do not pass function name to parse_args.
13256 Generate this_func variable from START.
13257 * math/libm-test.inc (struct test_f_f_data): Rename test_name
13259 (struct test_ff_f_data): Likewise.
13260 (test_ff_f_data_nexttoward): Likewise.
13261 (struct test_fi_f_data): Likewise.
13262 (struct test_fl_f_data): Likewise.
13263 (struct test_if_f_data): Likewise.
13264 (struct test_fff_f_data): Likewise.
13265 (struct test_c_f_data): Likewise.
13266 (struct test_f_f1_data): Likewise. Remove field extra_name.
13267 (struct test_fF_f1_data): Likewise.
13268 (struct test_ffI_f1_data): Likewise.
13269 (struct test_c_c_data): Rename test_name field to arg_str.
13270 (struct test_cc_c_data): Likewise.
13271 (struct test_f_i_data): Likewise.
13272 (struct test_ff_i_data): Likewise.
13273 (struct test_f_l_data): Likewise.
13274 (struct test_f_L_data): Likewise.
13275 (struct test_fFF_11_data): Likewise. Remove fields extra1_name
13277 (COMMON_TEST_SETUP): New macro.
13278 (EXTRA_OUTPUT_TEST_SETUP): Likewise.
13279 (COMMON_TEST_CLEANUP): Likewise.
13280 (EXTRA_OUTPUT_TEST_CLEANUP): Likewise.
13281 (RUN_TEST_f_f): Take argument string. Call new setup and cleanup
13283 (RUN_TEST_LOOP_f_f): Update call to RUN_TEST_f_f.
13284 (RUN_TEST_2_f): Take argument string. Call new setup and cleanup
13286 (RUN_TEST_LOOP_2_f): Update call to RUN_TEST_2_f.
13287 (RUN_TEST_fff_f): Take argument string. Call new setup and
13289 (RUN_TEST_LOOP_fff_f): Update call to RUN_TEST_fff_f.
13290 (RUN_TEST_c_f): Take argument string. Call new setup and cleanup
13292 (RUN_TEST_LOOP_c_f): Update call to RUN_TEST_c_f.
13293 (RUN_TEST_f_f1): Take argument string. Call new setup and cleanup
13295 (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
13296 (RUN_TEST_fF_f1): Take argument string. Call new setup and
13298 (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
13299 (RUN_TEST_fI_f1): Take argument string. Call new setup and
13301 (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
13302 (RUN_TEST_ffI_f1): Take argument string. Call new setup and
13304 (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
13305 (RUN_TEST_c_c): Take argument string. Call new setup and cleanup
13307 (RUN_TEST_LOOP_c_c): Update call to RUN_TEST_c_c.
13308 (RUN_TEST_cc_c): Take argument string. Call new setup and cleanup
13310 (RUN_TEST_LOOP_cc_c): Update call to RUN_TEST_cc_c.
13311 (RUN_TEST_f_i): Take argument string. Call new setup and cleanup
13313 (RUN_TEST_LOOP_f_i): Update call to RUN_TEST_f_i.
13314 (RUN_TEST_f_i_tg): Take argument string. Call new setup and
13316 (RUN_TEST_LOOP_f_i_tg): Update call to RUN_TEST_f_i_tg.
13317 (RUN_TEST_ff_i_tg): Take argument string. Call new setup and
13319 (RUN_TEST_LOOP_ff_i_tg): Update call to RUN_TEST_ff_i_tg.
13320 (RUN_TEST_f_b): Take argument string. Call new setup and cleanup
13322 (RUN_TEST_LOOP_f_b): Update call to RUN_TEST_f_b.
13323 (RUN_TEST_f_b_tg): Take argument string. Call new setup and
13325 (RUN_TEST_LOOP_f_b_tg): Update call to RUN_TEST_f_b_tg.
13326 (RUN_TEST_f_l): Take argument string. Call new setup and cleanup
13328 (RUN_TEST_LOOP_f_l): Update call to RUN_TEST_f_l.
13329 (RUN_TEST_f_L): Take argument string. Call new setup and cleanup
13331 (RUN_TEST_LOOP_f_L): Update call to RUN_TEST_f_L.
13332 (RUN_TEST_fFF_11): Take argument string. Call new setup and
13334 (RUN_TEST_LOOP_fFF_11): Update call to RUN_TEST_fFF_11.
13336 2013-05-22 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
13338 * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add si_addr_lsb
13339 to _sifields.sigfault.
13340 (si_addr_lsb): Define new macro.
13341 (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
13342 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
13343 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: Likewise.
13345 2013-05-03 Carlos O'Donell <carlos at redhat.com>
13348 * intl/dcigettext.c (DCIGETTEXT): Skip translating if _nl_find_msg
13350 (_nl_find_msg): Return -1 if recursive call returned -1. If newmem is
13352 * intl/loadmsgcat.c (_nl_load_domain): If _nl_find_msg returns -1 abort
13353 loading the domain.
13355 2013-05-22 Joseph Myers <joseph@codesourcery.com>
13357 * math/gen-libm-test.pl (parse_args): Do not include expected
13358 result in test name.
13359 * sysdeps/i386/fpu/libm-test-ulps: Update test names.
13360 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
13361 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
13362 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
13363 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
13364 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13366 2013-05-22 Siddhesh Poyarekar <siddhesh@redhat.com>
13368 * benchtests/Makefile: Sort function entries.
13370 * benchtests/Makefile (bench): Add asin, acos, sinh, cosh,
13371 tanh, asinh, acosh, atanh.
13372 * benchtests/acos-inputs: New file.
13373 * benchtests/acosh-inputs: New file.
13374 * benchtests/asin-inputs: New file.
13375 * benchtests/asinh-inputs: New file.
13376 * benchtests/atanh-inputs: New file.
13377 * benchtests/cosh-inputs: New file.
13378 * benchtests/log-inputs: New file.
13379 * benchtests/sinh-inputs: New file.
13380 * benchtests/tanh-inputs: New file.
13382 2013-05-21 Dmitry V. Levin <ldv@altlinux.org>
13385 * posix/tst-getaddrinfo4.c: New test.
13386 * posix/Makefile (tests): Add it.
13388 2013-05-21 Siddhesh Poyarekar <siddhesh@redhat.com>
13391 * nss/getXXbyYY_r.c (REENTRANT_NAME): Set NETDB_INTERNAL only
13392 when no services were used.
13393 * sysdeps/posix/getaddrinfo.c (gaih_inet): Set h_errno.
13394 Return EAI_SYSTEM if h_errno is NETDB_INTERNAL.
13396 2013-05-21 Andreas Schwab <schwab@suse.de>
13399 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME))
13400 [HANDLE_DIGITS_DOTS]: Set any_service when digits-dots parsing was
13402 * nss/digits_dots.c (__nss_hostname_digits_dots): Remove
13403 redundant variable declarations and reallocation of buffer when
13404 parsing as IPv6 address. Always set NSS status when called from
13405 reentrant functions. Use NETDB_INTERNAL instead of TRY_AGAIN when
13406 buffer too small. Correct computation of needed size.
13407 * nss/Makefile (tests): Add test-digits-dots.
13408 * nss/test-digits-dots.c: New test.
13410 2013-05-21 Siddhesh Poyarekar <siddhesh@redhat.com>
13412 * benchtests/Makefile: Remove instructions for adding
13414 * benchtests/README: New file to explain how to execute and
13415 enhance the benchmark tests.
13417 2013-05-21 Andreas Schwab <schwab@suse.de>
13420 * setjmp/Makefile (tests): Add tst-sigsetjmp.
13421 * setjmp/tst-sigsetjmp.c: New test.
13423 2013-05-20 Ondřej Bílka <neleai@seznam.cz>
13425 * sysdeps/x86_64/memset.S (memset): New implementation.
13426 (__bzero): Likewise.
13427 (__memset_tail): New function.
13429 2013-05-20 Ondřej Bílka <neleai@seznam.cz>
13431 * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: New file.
13432 * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Add
13433 __memcpy_sse2_unaligned ifunc selection.
13434 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
13435 Add memcpy-sse2-unaligned.S.
13436 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
13437 Add: __memcpy_sse2_unaligned.
13439 2013-05-19 Joseph Myers <joseph@codesourcery.com>
13442 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
13443 math_force_eval before restoring floating-point envrionment.
13444 * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Likewise.
13445 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl):
13447 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Include
13449 (__nearbyintl): Use math_force_eval before restoring
13450 floating-point environment.
13451 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c (__nearbyintl): Likewise.
13453 * math/gen-libm-test.pl (special_functions): Remove.
13454 (parse_args): Don't handle TEST_extra. Handle functions with no
13456 * math/libm-test.inc (struct test_sincos_data): Replace with
13457 struct test_fFF_11_data.
13458 (RUN_TEST_sincos): Replace with RUN_TEST_fFF_11.
13459 (RUN_TEST_LOOP_sincos): Replace with RUN_TEST_LOOP_fFF_11.
13460 (sincos_test_data): Change element type to struct
13461 test_fFF_11_data. Use TEST_fFF_11 instead of TEST_extra.
13462 (sincos_test): Use RUN_TEST_LOOP_fFF_11 instead of
13463 RUN_TEST_LOOP_sincos.
13464 * math/README.libm-test: Don't mention special handling of
13465 individual functions.
13466 * sysdeps/i386/fpu/libm-test-ulps: Update names of sincos tests.
13467 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
13468 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
13469 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
13470 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
13471 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13473 * math/gen-libm-test.pl (get_variable): Remove function.
13474 (parse_args): Don't show pointer parameters to call in test
13475 names. Use "extra output N" in test names for extra outputs
13476 rather than naming variables.
13478 2013-05-18 Joseph Myers <joseph@codesourcery.com>
13481 * math/complex.h [__USE_ISOC11 && __GNUC_PREREQ (4, 7) &&
13482 __NO_LONG_DOUBLE_MATH] (CMPLXL): Define macro.
13483 * math/tst-CMPLX.c (do_test) [NO_LONG_DOUBLE]: Do not disable long
13485 * make/tst-CMPLX2.c [NO_LONG_DOUBLE] (check_long_double): Do not
13487 (do_test) [NO_LONG_DOUBLE]: Do not disable call to
13490 * math/gen-libm-test.pl (@tests): Remove variable.
13491 ($count): Likewise.
13492 (new_test): Remove function.
13493 (show_exceptions): New function.
13494 (special_functions): Use show_exceptions instead of new_test.
13495 (parse_args): Likewise.
13496 (generate_testfile): Pass only function name in generated call to
13497 print_max_error or print_complex_max_error.
13498 (get_ulps): Do not handle complex tests specially.
13499 (output_test): Rename to ...
13500 (get_all_ulps_for_test): ... this. Return a string rather than
13501 printing to a file. Require ulps to be present.
13502 (output_ulps): Generate arrays rather than #defines.
13503 * math/libm-test.inc: Move down #include of "libm-test-ulps.h".
13504 (struct ulp_data): New type.
13505 (BUILD_COMPLEX_ULP): Remove macro.
13506 (compare_ulp_data): New function.
13507 (find_ulps): Likewise.
13508 (find_test_ulps): Likewise.
13509 (find_function_ulps): Likewise.
13510 (find_complex_function_ulps): Likewise.
13511 (print_max_error): Determine allowed ulps using
13512 find_function_ulps.
13513 (print_complex_max_error): Determine allowed ulps using
13514 find_complex_function_ulps.
13515 (check_float_internal): Determine max ulps using find_test_ulps.
13516 (check_float): Do not take max_ulp parameter. Update call to
13517 check_float_internal.
13518 (check_complex): Likewise.
13519 (check_int): Do not take max_ulp parameter.
13520 (check_long): Likewise.
13521 (check_bool): Likewise.
13522 (check_longlong): Likewise.
13523 (struct test_f_f_data): Remove max_ulp field.
13524 (struct test_ff_f_data): Likewise.
13525 (struct test_ff_f_data_nexttoward): Likewise.
13526 (struct test_fi_f_data): Likewise.
13527 (struct test_fl_f_data): Likewise.
13528 (struct test_if_f_data): Likewise.
13529 (struct test_fff_f_data): Likewise.
13530 (struct test_c_f_data): Likewise.
13531 (struct test_f_f1_data): Remove max_ulp and extra_ulp fields.
13532 (struct test_fF_f1_data): Likewise.
13533 (struct test_ffI_f1_data): Likewise.
13534 (struct test_c_c_data): Remove max_ulp field.
13535 (struct test_cc_c_data): Likewise.
13536 (struct test_f_i_data): Likewise.
13537 (struct test_ff_i_data): Likewise.
13538 (struct test_f_l_data): Likewise.
13539 (struct test_f_L_data): Likewise.
13540 (struct test_sincos_data): Likewise.
13541 (RUN_TEST_f_f): Do not handle ulps.
13542 (RUN_TEST_LOOP_f_f): Likewise.
13543 (RUN_TEST_2_f): Likewise.
13544 (RUN_TEST_LOOP_2_f): Likewise.
13545 (RUN_TEST_fff_f): Likewise.
13546 (RUN_TEST_LOOP_fff_f): Likewise.
13547 (RUN_TEST_c_f): Likewise.
13548 (RUN_TEST_LOOP_c_f): Likewise.
13549 (RUN_TEST_f_f1): Likewise.
13550 (RUN_TEST_LOOP_f_f1): Likewise.
13551 (RUN_TEST_fF_f1): Likewise.
13552 (RUN_TEST_LOOP_fF_f1): Likewise.
13553 (RUN_TEST_fI_f1): Likewise.
13554 (RUN_TEST_LOOP_fI_f1): Likewise.
13555 (RUN_TEST_ffI_f1): Likewise.
13556 (RUN_TEST_LOOP_ffI_f1): Likewise.
13557 (RUN_TEST_c_c): Likewise.
13558 (RUN_TEST_LOOP_c_c): Likewise.
13559 (RUN_TEST_cc_c): Likewise.
13560 (RUN_TEST_LOOP_cc_c): Likewise.
13561 (RUN_TEST_f_i): Likewise.
13562 (RUN_TEST_LOOP_f_i): Likewise.
13563 (RUN_TEST_f_i_tg): Likewise.
13564 (RUN_TEST_LOOP_f_i_tg): Likewise.
13565 (RUN_TEST_ff_i_tg): Likewise.
13566 (RUN_TEST_LOOP_ff_i_tg): Likewise.
13567 (RUN_TEST_f_b): Likewise.
13568 (RUN_TEST_LOOP_f_b): Likewise.
13569 (RUN_TEST_f_b_tg): Likewise.
13570 (RUN_TEST_LOOP_f_b_tg): Likewise.
13571 (RUN_TEST_f_l): Likewise.
13572 (RUN_TEST_LOOP_f_l): Likewise.
13573 (RUN_TEST_f_L): Likewise.
13574 (RUN_TEST_LOOP_f_L): Likewise.
13575 (RUN_TEST_sincos): Likewise.
13576 (RUN_TEST_LOOP_sincos): Likewise.
13578 2013-05-17 Joseph Myers <joseph@codesourcery.com>
13582 * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder): For
13583 main case of finite arguments, set rounding mode to FE_TONEAREST
13584 and discard exceptions.
13585 * math/libm-test.inc (remainder_test_data): Disallow "inexact"
13587 (remainder_tonearest_test_data): New variable.
13588 (remainder_test_tonearest): New function.
13589 (remainder_towardzero_test_data): New variable.
13590 (remainder_test_towardzero): New function.
13591 (remainder_downward_test_data): New variable.
13592 (remainder_test_downward): New function.
13593 (remainder_upward_test_data): New variable.
13594 (remainder_test_upward): New function.
13595 (main): Call the new test functions.
13597 * math/libm-test.inc (struct test_f_f1_data): Remove field
13599 (struct test_fF_f1_data): Likewise.
13600 (struct test_ffI_f1_data): Likewise.
13601 (RUN_TEST_f_f1): Remove argument EXTRA_INIT. Initialize EXTRA_VAR
13602 based on value of EXTRA_EXPECTED.
13603 (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
13604 (RUN_TEST_fF_f1): Remove argument EXTRA_INIT. Initialize
13605 EXTRA_VAR based on value of EXTRA_EXPECTED.
13606 (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
13607 (RUN_TEST_fI_f1): Remove argument EXTRA_INIT. Initialize
13608 EXTRA_VAR based on value of EXTRA_EXPECTED.
13609 (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
13610 (RUN_TEST_ffI_f1): Remove argument EXTRA_INIT. Initialize
13611 EXTRA_VAR based on value of EXTRA_EXPECTED.
13612 (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
13613 * math/gen-libm-test.pl (parse_args): Don't output initializers
13614 for extra output values.
13616 * math/libm-test.inc (check_int): Expect result to be exactly
13617 equal to expected value and do not handle ulps.
13618 (check_long): Likewise.
13619 (check_longlong): Likewise.
13621 * math/libm-test.inc (ceil_test_data): Test for "inexact"
13623 (cimag_test_data): Likewise.
13624 (conj_test_data): Likewise.
13625 (copysign_test_data): Likewise.
13626 (cproj_test_data): Likewise.
13627 (creal_test_data): Likewise.
13628 (fabs_test_data): Likewise.
13629 (fdim_test_data): Likewise.
13630 (finite_test_data): Likewise.
13631 (floor_test_data): Likewise.
13632 (fmax_test_data): Likewise.
13633 (fmin_test_data): Likewise.
13634 (fmod_test_data): Likewise.
13635 (fpclassify_test_data): Likewise.
13636 (frexp_test_data): Likewise.
13637 (ilogb_test_data): Likewise.
13638 (isfinite_test_data): Likewise.
13639 (isgreater_test_data): Likewise.
13640 (isgreaterequal_test_data): Likewise.
13641 (isinf_test_data): Likewise.
13642 (isless_test_data): Likewise.
13643 (islessequal_test_data): Likewise.
13644 (islessgreater_test_data): Likewise.
13645 (isnan_test_data): Likewise.
13646 (isnormal_test_data): Likewise.
13647 (issignaling_test_data): Likewise.
13648 (isunordered_test_data): Likewise.
13649 (ldexp_test_data): Likewise.
13650 (lrint_test_data): Likewise.
13651 (lrint_test_data) [TEST_FLOAT]: Disable one test.
13652 (lrint_test_data) [!TEST_LDOUBLE]: Likewise.
13653 (lrint_tonearest_test_data): Test for "inexact" exceptions.
13654 (lrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
13655 (lrint_tonearest_test_data) [!TEST_LDOUBLE]: Likewise.
13656 (lrint_tonearest_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
13658 (lrint_towardzero_test_data): Test for "inexact" exceptions.
13659 (lrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
13660 (lrint_towardzero_test_data) [!TEST_LDOUBLE]: Likewise.
13661 (lrint_towardzero_test_data) [TEST_LDOUBLE]: Use "L" suffix on
13663 (lrint_downward_test_data): Test for "inexact" exceptions.
13664 (lrint_downward_test_data) [TEST_FLOAT]: Disable one test.
13665 (lrint_downward_test_data) [!TEST_LDOUBLE]: Likewise.
13666 (lrint_downward_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
13668 (lrint_upward_test_data): Test for "inexact" exceptions.
13669 (lrint_upward_test_data) [TEST_LDOUBLE]: Use "L" suffix on one
13671 (llrint_test_data): Test for "inexact" exceptions.
13672 (llrint_test_data) [TEST_FLOAT]: Disable one test.
13673 (llrint_tonearest_test_data): Test for "inexact" exceptions.
13674 (llrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
13675 (llrint_towardzero_test_data): Test for "inexact" exceptions.
13676 (llrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
13677 (llrint_downward_test_data): Test for "inexact" exceptions.
13678 (llrint_downward_test_data) [TEST_FLOAT]: Disable one test.
13679 (llrint_upward_test_data): Test for "inexact" exceptions.
13680 (logb_test_data): Likewise.
13681 (logb_downward_test_data): Likewise.
13682 (nextafter_test_data): Likewise.
13683 (nexttoward_test_data): Likewise.
13684 (remainder_test_data): Likewise.
13685 (remquo_test_data): Likewise.
13686 (scalbn_test_data): Likewise.
13687 (scalbln_test_data): Likewise.
13688 (signbit_test_data): Likewise.
13689 (sqrt_test_data): Likewise.
13690 (significand_test_data): Likewise.
13692 2013-05-17 Siddhesh Poyarekar <siddhesh@redhat.com>
13695 * benchtests/bench-modf.c (struct args): Mark arg0 as
13697 * scripts/bench.pl: Mark members of struct args as volatile.
13699 2013-05-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13702 * sysdeps/powerpc/fpu/e_hypot.c (GET_TWO_FLOAT_WORD): Fix test for
13703 negative infinity on POWER6 or lower.
13704 * sysdeps/powerpc/fpu/e_hypotf.c (GET_TWO_FLOAT_WORD): Likewise.
13706 2013-05-16 Maciej W. Rozycki <macro@codesourcery.com>
13709 * soft-fp/op-common.h (_FP_FRAC_SNANP): New macro.
13710 (_FP_FRAC_SNANP_SEMIRAW): Likewise.
13711 (_FP_UNPACK_CANONICAL): Use _FP_FRAC_SNANP.
13712 (_FP_CHECK_SIGNAN_SEMIRAW): Use _FP_FRAC_SNANP_SEMIRAW.
13713 (_FP_SETQNAN): New macro.
13714 (_FP_SETQNAN_SEMIRAW): Likewise.
13715 (_FP_PACK_SEMIRAW): Use _FP_SETQNAN.
13716 (_FP_PACK_CANONICAL): Use _FP_SETQNAN.
13717 (_FP_ISSIGNAN): Use _FP_FRAC_SNANP.
13718 (FP_EXTEND): Use _FP_FRAC_SNANP.
13719 (FP_TRUNC): Use _FP_SETQNAN_SEMIRAW.
13720 * soft-fp/testit.c (gen_special_double): Take _FP_QNANNEGATEDP
13722 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
13724 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
13727 2013-05-16 Joseph Myers <joseph@codesourcery.com>
13729 * math/libm-test.inc (atanh_test_data): Use ERRNO_ERANGE together
13730 with DIVIDE_BY_ZERO_EXCEPTION.
13731 (gamma_test_data): Likewise.
13732 (lgamma_test_data): Likewise.
13733 (log_test_data): Likewise.
13734 (log10_test_data): Likewise.
13735 (log2_test_data): Likewise.
13736 (tgamma_test_data): Likewise.
13738 * math/libm-test.inc (acos_test): Don't test for ENOSYS error.
13739 (acos_test_tonearest): Likewise.
13740 (acos_test_towardzero): Likewise.
13741 (acos_test_downward): Likewise.
13742 (acos_test_upward): Likewise.
13743 (acosh_test): Likewise.
13744 (asin_test): Likewise.
13745 (asin_test_tonearest): Likewise.
13746 (asin_test_towardzero): Likewise.
13747 (asin_test_downward): Likewise.
13748 (asin_test_upward): Likewise.
13749 (asinh_test): Likewise.
13750 (atan_test): Likewise.
13751 (atanh_test): Likewise.
13752 (atan2_test): Likewise.
13753 (cabs_test): Likewise.
13754 (cacos_test): Likewise.
13755 (cacosh_test): Likewise.
13756 (casin_test): Likewise.
13757 (casinh_test): Likewise.
13758 (catan_test): Likewise.
13759 (catanh_test): Likewise.
13760 (cbrt_test): Likewise.
13761 (ccos_test): Likewise.
13762 (ccosh_test): Likewise.
13763 (cexp_test): Likewise.
13764 (clog_test): Likewise.
13765 (clog10_test): Likewise.
13766 (cos_test): Likewise.
13767 (cos_test_tonearest): Likewise.
13768 (cos_test_towardzero): Likewise.
13769 (cos_test_downward): Likewise.
13770 (cos_test_upward): Likewise.
13771 (cosh_test): Likewise.
13772 (cosh_test_tonearest): Likewise.
13773 (cosh_test_towardzero): Likewise.
13774 (cosh_test_downward): Likewise.
13775 (cosh_test_upward): Likewise.
13776 (cpow_test): Likewise.
13777 (csin_test): Likewise.
13778 (csinh_test): Likewise.
13779 (csqrt_test): Likewise.
13780 (ctan_test): Likewise.
13781 (ctan_test_tonearest): Likewise.
13782 (ctan_test_towardzero): Likewise.
13783 (ctan_test_downward): Likewise.
13784 (ctan_test_upward): Likewise.
13785 (ctanh_test): Likewise.
13786 (ctanh_test_tonearest): Likewise.
13787 (ctanh_test_towardzero): Likewise.
13788 (ctanh_test_downward): Likewise.
13789 (ctanh_test_upward): Likewise.
13790 (erf_test): Likewise.
13791 (erfc_test): Likewise.
13792 (exp_test): Likewise.
13793 (exp_test_tonearest): Likewise.
13794 (exp_test_towardzero): Likewise.
13795 (exp_test_downward): Likewise.
13796 (exp_test_upward): Likewise.
13797 (exp10_test): Likewise.
13798 (exp2_test): Likewise.
13799 (expm1_test): Likewise.
13800 (fmod_test): Likewise.
13801 (gamma_test): Likewise.
13802 (hypot_test): Likewise.
13803 (j0_test): Likewise.
13804 (j1_test): Likewise.
13805 (jn_test): Likewise.
13806 (lgamma_test): Likewise.
13807 (log_test): Likewise.
13808 (log10_test): Likewise.
13809 (log1p_test): Likewise.
13810 (log2_test): Likewise.
13811 (logb_test_downward): Likewise.
13812 (pow_test): Likewise.
13813 (pow_test_tonearest): Likewise.
13814 (pow_test_towardzero): Likewise.
13815 (pow_test_downward): Likewise.
13816 (pow_test_upward): Likewise.
13817 (remainder_test): Likewise.
13818 (remquo_test): Likewise.
13819 (sin_test): Likewise.
13820 (sin_test_tonearest): Likewise.
13821 (sin_test_towardzero): Likewise.
13822 (sin_test_downward): Likewise.
13823 (sin_test_upward): Likewise.
13824 (sincos_test): Likewise.
13825 (sinh_test): Likewise.
13826 (sinh_test_tonearest): Likewise.
13827 (sinh_test_towardzero): Likewise.
13828 (sinh_test_downward): Likewise.
13829 (sinh_test_upward): Likewise.
13830 (sqrt_test): Likewise.
13831 (tan_test): Likewise.
13832 (tan_test_tonearest): Likewise.
13833 (tan_test_towardzero): Likewise.
13834 (tan_test_downward): Likewise.
13835 (tan_test_upward): Likewise.
13836 (tanh_test): Likewise.
13837 (tgamma_test): Likewise.
13838 (y0_test): Likewise.
13839 (y1_test): Likewise.
13840 (yn_test): Likewise.
13842 * math/gen-libm-test.pl (adjust_arg): Remove function.
13843 (special_function): Remove argument $in_func. Only handle
13844 generating output for tables of tests, not inside functions.
13845 (parse_args): Likewise.
13846 (generate_testfile): Remove variable $in_func. Update call to
13848 * math/libm-test.inc (PLUS_ZERO_INIT): Rename macro to plus_zero.
13849 (MINUS_ZERO_INIT): Rename macro to minus_zero.
13850 (PLUS_INFTY_INIT): Rename macro to plus_infty.
13851 (MINUS_INFTY_INIT): Rename macro to minus_infty.
13852 (QNAN_VALUE_INIT): Rename macro to qnan_value.
13853 (MAX_VALUE_INIT): Rename macro to max_value.
13854 (MIN_VALUE_INIT): Rename macro to min_value.
13855 (MIN_SUBNORM_VALUE_INIT): Rename macro to min_subnorm_value.
13856 (plus_zero): Remove variable.
13857 (minus_zero): Likewise.
13858 (plus_infty): Likewise.
13859 (minus_infty): Likewise.
13860 (qnan_value): Likewise.
13861 (max_value): Likewise.
13862 (min_value): Likewise.
13863 (min_subnorm_value): Likewise.
13865 2013-05-16 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
13867 * crypt/sha512-block.c: Add missing #include <stdint.h> due to
13868 uint64_t or uint32_t usage.
13869 * crypt/sha256-block.c: Likewise.
13870 * crypt/sha256-crypt.c: Likewise.
13871 * crypt/sha256.c: Likewise.
13872 * crypt/sha512-block.c: Likewise.
13873 * crypt/sha512-crypt.c: Likewise.
13874 * crypt/sha512.c: Likewise.
13875 * debug/backtrace-tst.c: Likewise.
13876 * debug/pcprofiledump.c: Likewise.
13877 * elf/cache.c: Likewise.
13878 * elf/dl-cache.c: Likewise.
13879 * elf/dl-misc.c: Likewise.
13880 * elf/dl-profile.c: Likewise.
13881 * elf/dl-support.c: Likewise.
13882 * elf/ldconfig.c: Likewise.
13883 * elf/sprof.c: Likewise.
13884 * iconv/dummy-repertoire.c: Likewise.
13885 * iconv/iconv_charmap.c: Likewise.
13886 * iconv/skeleton.c: Likewise.
13887 * iconvdata/8bit-generic.c: Likewise.
13888 * iconvdata/cp737.h: Likewise.
13889 * iconvdata/cp775.h: Likewise.
13890 * iconvdata/ibm1008.h: Likewise.
13891 * iconvdata/ibm1025.h: Likewise.
13892 * iconvdata/ibm1046.h: Likewise.
13893 * iconvdata/ibm1097.h: Likewise.
13894 * iconvdata/ibm1112.h: Likewise.
13895 * iconvdata/ibm1122.h: Likewise.
13896 * iconvdata/ibm1123.h: Likewise.
13897 * iconvdata/ibm1124.h: Likewise.
13898 * iconvdata/ibm1129.h: Likewise.
13899 * iconvdata/ibm1130.h: Likewise.
13900 * iconvdata/ibm1132.h: Likewise.
13901 * iconvdata/ibm1133.h: Likewise.
13902 * iconvdata/ibm1137.h: Likewise.
13903 * iconvdata/ibm1140.h: Likewise.
13904 * iconvdata/ibm1141.h: Likewise.
13905 * iconvdata/ibm1142.h: Likewise.
13906 * iconvdata/ibm1143.h: Likewise.
13907 * iconvdata/ibm1144.h: Likewise.
13908 * iconvdata/ibm1145.h: Likewise.
13909 * iconvdata/ibm1146.h: Likewise.
13910 * iconvdata/ibm1147.h: Likewise.
13911 * iconvdata/ibm1148.h: Likewise.
13912 * iconvdata/ibm1149.h: Likewise.
13913 * iconvdata/ibm1153.h: Likewise.
13914 * iconvdata/ibm1154.h: Likewise.
13915 * iconvdata/ibm1155.h: Likewise.
13916 * iconvdata/ibm1156.h: Likewise.
13917 * iconvdata/ibm1157.h: Likewise.
13918 * iconvdata/ibm1158.h: Likewise.
13919 * iconvdata/ibm1160.h: Likewise.
13920 * iconvdata/ibm1161.h: Likewise.
13921 * iconvdata/ibm1162.h: Likewise.
13922 * iconvdata/ibm1163.h: Likewise.
13923 * iconvdata/ibm1164.h: Likewise.
13924 * iconvdata/ibm1166.h: Likewise.
13925 * iconvdata/ibm1167.h: Likewise.
13926 * iconvdata/ibm12712.h: Likewise.
13927 * iconvdata/ibm1390.h: Likewise.
13928 * iconvdata/ibm1399.h: Likewise.
13929 * iconvdata/ibm16804.h: Likewise.
13930 * iconvdata/ibm4517.h: Likewise.
13931 * iconvdata/ibm4899.h: Likewise.
13932 * iconvdata/ibm4909.h: Likewise.
13933 * iconvdata/ibm4971.h: Likewise.
13934 * iconvdata/ibm5347.h: Likewise.
13935 * iconvdata/ibm803.h: Likewise.
13936 * iconvdata/ibm856.h: Likewise.
13937 * iconvdata/ibm901.h: Likewise.
13938 * iconvdata/ibm902.h: Likewise.
13939 * iconvdata/ibm9030.h: Likewise.
13940 * iconvdata/ibm9066.h: Likewise.
13941 * iconvdata/ibm921.h: Likewise.
13942 * iconvdata/ibm922.h: Likewise.
13943 * iconvdata/ibm9448.h: Likewise.
13944 * iconvdata/isiri-3342.h: Likewise.
13945 * iconvdata/jis0201.h: Likewise.
13946 * include/link.h: Likewise.
13947 * include/netdb.h: Likewise.
13948 * inet/check_native.c: Likewise.
13949 * inet/check_pf.c: Likewise.
13950 * inet/getipv4sourcefilter.c: Likewise.
13951 * inet/getnameinfo.c: Likewise.
13952 * inet/getsourcefilter.c: Likewise.
13953 * inet/htonl.c: Likewise.
13954 * inet/setipv4sourcefilter.c: Likewise.
13955 * inet/setsourcefilter.c: Likewise.
13956 * inet/test-inet6_opt.c: Likewise.
13957 * inet/tst-network.c: Likewise.
13958 * locale/C-collate.c: Likewise.
13959 * locale/C-ctype.c: Likewise.
13960 * locale/C-time.c: Likewise.
13961 * locale/C-translit.h: Likewise.
13962 * locale/loadarchive.c: Likewise.
13963 * locale/programs/3level.h: Likewise.
13964 * locale/programs/charmap.c: Likewise.
13965 * locale/programs/charmap.h: Likewise.
13966 * locale/programs/ld-address.c: Likewise.
13967 * locale/programs/ld-collate.c: Likewise.
13968 * locale/programs/ld-ctype.c: Likewise.
13969 * locale/programs/ld-identification.c: Likewise.
13970 * locale/programs/ld-measurement.c: Likewise.
13971 * locale/programs/ld-messages.c: Likewise.
13972 * locale/programs/ld-monetary.c: Likewise.
13973 * locale/programs/ld-name.c: Likewise.
13974 * locale/programs/ld-numeric.c: Likewise.
13975 * locale/programs/ld-paper.c: Likewise.
13976 * locale/programs/ld-telephone.c: Likewise.
13977 * locale/programs/ld-time.c: Likewise.
13978 * locale/programs/linereader.c: Likewise.
13979 * locale/programs/locale.c: Likewise.
13980 * locale/programs/locarchive.c: Likewise.
13981 * locale/programs/locfile.h: Likewise.
13982 * locale/programs/repertoire.c: Likewise.
13983 * locale/programs/simple-hash.c: Likewise.
13984 * locale/programs/simple-hash.h: Likewise.
13985 * malloc/memusage.c: Likewise.
13986 * malloc/memusagestat.c: Likewise.
13987 * nis/nis_defaults.c: Likewise.
13988 * nis/nis_hash.c: Likewise.
13989 * nis/nis_print.c: Likewise.
13990 * nis/nis_xdr.c: Likewise.
13991 * nscd/connections.c: Likewise.
13992 * nscd/hstcache.c: Likewise.
13993 * nscd/nscd_gethst_r.c: Likewise.
13994 * nscd/nscd_getserv_r.c: Likewise.
13995 * nscd/nscd_helper.c: Likewise.
13996 * nscd/servicescache.c: Likewise.
13997 * nss/makedb.c: Likewise.
13998 * nss/nss_db/db-XXX.c: Likewise.
13999 * nss/nss_db/db-initgroups.c: Likewise.
14000 * nss/nss_db/db-netgrp.c: Likewise.
14001 * nss/nss_files/files-network.c: Likewise.
14002 * nss/nss_files/files-parse.c: Likewise.
14003 * posix/bug-regex5.c: Likewise.
14004 * posix/fnmatch_loop.c: Likewise.
14005 * posix/regcomp.c: Likewise.
14006 * posix/regexec.c: Likewise.
14007 * posix/tst-rfc3484-2.c: Likewise.
14008 * posix/tst-rfc3484-3.c: Likewise.
14009 * posix/tst-rfc3484.c: Likewise.
14010 * resolv/nss_dns/dns-canon.c: Likewise.
14011 * resolv/nss_dns/dns-network.c: Likewise.
14012 * resolv/res_init.c: Likewise.
14013 * resolv/res_mkquery.c: Likewise.
14014 * resolv/tst-aton.c: Likewise.
14015 * stdlib/cxa_atexit.c: Likewise.
14016 * stdlib/cxa_finalize.c: Likewise.
14017 * stdlib/gen-fpioconst.c: Likewise.
14018 * stdlib/strtol_l.c: Likewise.
14019 * string/tst-endian.c: Likewise.
14020 * sunrpc/auth_des.c: Likewise.
14021 * sunrpc/clnt_udp.c: Likewise.
14022 * sunrpc/rtime.c: Likewise.
14023 * sunrpc/svcauth_des.c: Likewise.
14024 * sunrpc/xdr.c: Likewise.
14025 * sunrpc/xdr_intXX_t.c: Likewise.
14026 * sunrpc/xdr_rec.c: Likewise.
14027 * sysdeps/generic/ldconfig.h: Likewise.
14028 * sysdeps/generic/ldsodefs.h: Likewise.
14029 * sysdeps/generic/memusage.h: Likewise.
14030 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
14031 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: Likewise.
14032 * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: Likewise.
14033 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
14034 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
14035 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
14036 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
14037 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
14038 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
14039 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
14040 * sysdeps/posix/getaddrinfo.c: Likewise.
14041 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
14042 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
14043 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
14044 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
14045 * sysdeps/powerpc/test-gettimebase.c: Likewise.
14046 * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
14047 * sysdeps/unix/sysv/linux/getipv4sourcefilter.c: Likewise.
14048 * sysdeps/unix/sysv/linux/getsourcefilter.c: Likewise.
14049 * sysdeps/unix/sysv/linux/netlinkaccess.h: Likewise.
14050 * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: Likewise.
14051 * sysdeps/unix/sysv/linux/preadv.c: Likewise.
14052 * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
14053 * sysdeps/unix/sysv/linux/setipv4sourcefilter.c: Likewise.
14054 * sysdeps/unix/sysv/linux/setsourcefilter.c: Likewise.
14055 * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: Likewise.
14056 * sysdeps/x86_64/dl-tls.h: Likewise.
14057 * sysdeps/x86_64/dl-tlsdesc.h: Likewise.
14058 * time/alt_digit.c: Likewise.
14059 * time/era.c: Likewise.
14060 * wcsmbs/tst-c16c32-1.c: Likewise.
14062 2013-05-16 Joseph Myers <joseph@codesourcery.com>
14064 * math/libm-test.inc (struct test_sincos_data): New type.
14065 (RUN_TEST_LOOP_sincos): New macro.
14066 (sincos_test_data): New variable.
14067 (sincos_test): Run tests with RUN_TEST_LOOP_sincos.
14069 2013-05-16 Richard Henderson <rth@redhat.com>
14071 * math/atest-exp2.c (LIMB64): New macro.
14072 (CONSTSZ): New macro.
14073 (mp_exp1, mp_exp_m1, mp_log2): New variables.
14075 (print_mpn_fp): ... to function scope.
14076 (read_mpn_hex): Remove.
14077 (get_log2): Remove.
14078 (exp2_mpn): Use mp_log2.
14079 (main): Use mp_exp1.
14081 2013-05-16 Joseph Myers <joseph@codesourcery.com>
14083 * math/libm-test.inc: Remove comment about not testing "inexact"
14085 (INEXACT_EXCEPTION): New macro.
14086 (NO_INEXACT_EXCEPTION): Likewise.
14087 (INVALID_EXCEPTION_OK): Update value.
14088 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
14089 (OVERFLOW_EXCEPTION_OK): Likewise.
14090 (UNDERFLOW_EXCEPTION_OK): Likewise.
14091 (IGNORE_ZERO_INF_SIGN): Likewise.
14092 (ERRNO_UNCHANGED): Likewise.
14093 (ERRNO_EDOM): Likewise.
14094 (ERRNO_ERANGE): Likewise.
14095 (test_exceptions): Handle testing "inexact" exceptions.
14096 (nearbyint_test_data): Use NO_INEXACT_EXCEPTION on all tests.
14097 (rint_test_data): Use NO_INEXACT_EXCEPTION and INEXACT_EXCEPTION.
14098 (rint_test_data) [LDBL_MANT_DIG <= 100]: Disable some tests.
14099 (rint_tonearest_test_data): Use NO_INEXACT_EXCEPTION and
14101 (rint_towardzero_test_data): Likewise.
14102 (rint_downward_test_data): Likewise.
14103 (rint_upward_test_data): Likewise.
14105 * math/libm-test.inc (exp_test_data): Use ERRNO_ERANGE together
14106 with OVERFLOW_EXCEPTION.
14107 (exp10_test_data): Likewise.
14108 (exp2_test_data): Likewise.
14109 (expm1_test_data): Likewise.
14110 (lgamma_test_data): Likewise.
14111 (pow_test_data): Likewise.
14112 (tgamma_test_data): Likewise.
14113 (yn_test_data): Remove duplicate test of overflow.
14115 * math/libm-test.inc (struct test_cc_c_data): New type.
14116 (RUN_TEST_LOOP_cc_c): New macro.
14117 (cpow_test_data): New variable.
14118 (cpow_test): Run tests with RUN_TEST_LOOP_cc_c.
14120 * math/libm-test.inc (struct test_f_L_data): New type.
14121 (RUN_TEST_LOOP_f_L): New macro.
14122 (llrint_test_data): New variable.
14123 (llrint_test): Run tests with RUN_TEST_LOOP_f_L.
14124 (llrint_tonearest_test_data): New variable.
14125 (llrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_L.
14126 (llrint_towardzero_test_data): New variable.
14127 (llrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_L.
14128 (llrint_downward_test_data): New variable.
14129 (llrint_test_downward): Run tests with RUN_TEST_LOOP_f_L.
14130 (llrint_upward_test_data): New variable.
14131 (llrint_test_upward): Run tests with RUN_TEST_LOOP_f_L.
14132 (llround_test_data): New variable.
14133 (llround_test): Run tests with RUN_TEST_LOOP_f_L.
14135 2013-05-13 Peter Collingbourne <pcc@google.com>
14137 * math/atest-exp2.c (get_log2): Remove const attribute.
14139 2013-05-15 Joseph Myers <joseph@codesourcery.com>
14141 * math/libm-test.inc (struct test_f_l_data): New type.
14142 (RUN_TEST_LOOP_f_l): New macro.
14143 (lrint_test_data): New variable.
14144 (lrint_test): Run tests with RUN_TEST_LOOP_f_l.
14145 (lrint_tonearest_test_data): New variable.
14146 (lrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_l.
14147 (lrint_towardzero_test_data): New variable.
14148 (lrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_l.
14149 (lrint_downward_test_data): New variable.
14150 (lrint_test_downward): Run tests with RUN_TEST_LOOP_f_l.
14151 (lrint_upward_test_data): New variable.
14152 (lrint_test_upward): Run tests with RUN_TEST_LOOP_f_l.
14153 (lround_test_data): New variable.
14154 (lround_test): Run tests with RUN_TEST_LOOP_f_l.
14156 2013-05-15 Peter Collingbourne <pcc@google.com>
14158 * sysdeps/x86_64/fpu/math_private.h (MOVQ): New macro.
14159 (EXTRACT_WORDS64) Use where appropriate.
14160 (INSERT_WORDS64) Likewise.
14162 * sysdeps/x86_64/fpu/multiarch/s_fma.c (__fma_fma4): Replace xm
14163 constraints with x constraints.
14164 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c (__fmaf_fma4): Likewise.
14166 * malloc/obstack.c (_obstack_compat): Add initializer.
14168 2013-05-15 Edjunior Machado <emachado@linux.vnet.ibm.com>
14170 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Remove
14171 si_trapno and add si_addr_lsb to _sifields.sigfault.
14172 (si_trapno): Remove macro.
14173 (si_addr_lsb): Define new macro.
14174 (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
14176 2013-05-15 Joseph Myers <joseph@codesourcery.com>
14178 * math/libm-test.inc (llrint_test): Consistently use TEST_f_L
14179 instead of TEST_f_l.
14180 (llrint_test_tonearest): Likewise.
14181 (llrint_test_towardzero): Likewise.
14182 (llrint_test_downward): Likewise.
14183 (llrint_test_upward): Likewise.
14184 (llround_test): Likewise.
14186 * math/libm-test.inc (struct test_f_i_data): Add comment.
14187 (RUN_TEST_LOOP_f_b): New macro.
14188 (RUN_TEST_LOOP_f_b_tg): Likewise.
14189 (finite_test_data): New variable.
14190 (finite_test): Run tests with RUN_TEST_LOOP_f_b.
14191 (isfinite_test_data): New variable.
14192 (isfinite_test): Run tests with RUN_TEST_LOOP_f_b_tg.
14193 (isinf_test_data): New variable.
14194 (isinf_test): Run tests with RUN_TEST_LOOP_f_b_tg.
14195 (isnan_test_data): New variable.
14196 (isnan_test): Run tests with RUN_TEST_LOOP_f_b_tg.
14197 (isnormal_test_data): New variable.
14198 (isnormal_test): Run tests with RUN_TEST_LOOP_f_b_tg.
14199 (issignaling_test_data): New variable.
14200 (issignaling_test): Run tests with RUN_TEST_LOOP_f_b_tg.
14201 (signbit_test_data): New variable.
14202 (signbit_test): Run tests with RUN_TEST_LOOP_f_b_tg.
14204 * math/libm-test.inc (acos_test_data): Use ERRNO_EDOM together
14205 with INVALID_EXCEPTION.
14206 (acosh_test_data): Likewise.
14207 (asin_test_data): Likewise.
14208 (atanh_test_data): Likewise.
14209 (fmod_test_data): Likewise.
14210 (log_test_data): Likewise.
14211 (log10_test_data): Likewise.
14212 (log2_test_data): Likewise.
14213 (pow_test_data): Likewise.
14214 (sqrt_test_data): Likewise.
14215 (y0_test_data): Likewise.
14216 (y1_test_data): Likewise.
14217 (yn_test_data): Likewise.
14219 * math/libm-test.inc (test_single_errno) [TEST_INLINE]: Disable
14222 * math/libm-test.inc (struct test_ff_i_data): New type.
14223 (RUN_TEST_LOOP_ff_i_tg): New macro.
14224 (isgreater_test_data): New variable.
14225 (isgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
14226 (isgreaterequal_test_data): New variable.
14227 (isgreaterequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
14228 (isless_test_data): New variable.
14229 (isless_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
14230 (islessequal_test_data): New variable.
14231 (islessequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
14232 (islessgreater_test_data): New variable.
14233 (islessgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
14234 (isunordered_test_data): New variable.
14235 (isunordered_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
14237 2013-05-14 David S. Miller <davem@davemloft.net>
14239 * sysdeps/sparc/fpu/libm-test-ulps: Update.
14241 2013-05-14 Joseph Myers <joseph@codesourcery.com>
14243 * math/libm-test.inc (RUN_TEST_LOOP_2_f): Fix whitespace.
14245 * math/libm-test.inc (struct test_fF_f1_data): Change type of
14247 (struct test_f_i_data): Change type of max_ulp to int.
14249 * math/libm-test.inc (test_ffI_f1_data): New type.
14250 (RUN_TEST_LOOP_ffI_f1): New macro.
14251 (remquo_test_data): New variable.
14252 (remquo_test): Run tests with RUN_TEST_LOOP_ffI_f1.
14254 * setjmp/tst-setjmp-fp.c: New file.
14255 * setjmp/Makefile (tests): Add tst-setjmp-fp.
14256 (link-libm): New variable.
14257 ($(objpfx)tst-setjmp-fp): Depend on $(link-libm).
14259 * math/libm-test.inc (struct test_f_i_data): New type.
14260 (RUN_TEST_LOOP_f_i): New macro.
14261 (RUN_TEST_LOOP_f_i_tg): Likewise.
14262 (fpclassify_test_data): New variable.
14263 (fpclassify_test): Run tests with RUN_TEST_LOOP_f_i_tg.
14264 (ilogb_test_data): New variable.
14265 (ilogb_test): Run tests with RUN_TEST_LOOP_f_i.
14267 * math/libm-test.inc (scalbln_test): Correct function name in END
14270 * math/libm-test.inc (struct test_f_f1_data): Add comment.
14271 (RUN_TEST_LOOP_fI_f1): New macro.
14272 (frexp_test_data): New variable.
14273 (frexp_test): Run tests with RUN_TEST_LOOP_fI_f1.
14275 * math/libm-test.inc (struct test_fF_f1_data): New type.
14276 (RUN_TEST_LOOP_fF_f1): New macro.
14277 (modf_test_data): New variable.
14278 (modf_test): Run tests with RUN_TEST_LOOP_fF_f1.
14280 * math/libm-test.inc (struct test_f_f1_data): New type.
14281 (RUN_TEST_LOOP_f_f1): New macro.
14282 (gamma_test_data): New variable.
14283 (gamma_test): Run tests with RUN_TEST_LOOP_f_f1.
14284 (lgamma_test_data): New variable.
14285 (lgamma_test): Run tests with RUN_TEST_LOOP_f_f1.
14287 2013-05-13 Carlos O'Donell <carlos@redhat.com>
14289 * elf/dl-hwcaps.c (_dl_important_hwcaps): Comment vDSO hwcap loading.
14290 * elf/ldconfig.c (is_hwcap_platform): Comment each hwcap check.
14291 (main): Comment "tls" pseudo-hwcap.
14293 2013-05-13 Joseph Myers <joseph@codesourcery.com>
14295 * math/libm-test.inc (struct test_fl_f_data): New type.
14296 (RUN_TEST_LOOP_fl_f): New variable.
14297 (scalbln_test_data): New variable.
14298 (scalbln_test): Run tests with RUN_TEST_LOOP_fl_f.
14300 * math/libm-test.inc (struct test_fi_f_data): New type.
14301 (RUN_TEST_LOOP_fi_f): New macro.
14302 (ldexp_test_data): New variable.
14303 (ldexp_test): Run tests with RUN_TEST_LOOP_fi_f.
14304 (scalbn_test_data): New variable.
14305 (scalbn_test): Run tests with RUN_TEST_LOOP_fi_f.
14307 * math/libm-test.inc (struct test_c_f_data): New type.
14308 (RUN_TEST_LOOP_c_f): New macro.
14309 (cabs_test_data): New variable.
14310 (cabs_test): Run tests with RUN_TEST_LOOP_c_f.
14311 (carg_test_data): New variable.
14312 (carg_test): Run tests with RUN_TEST_LOOP_c_f.
14313 (cimag_test_data): New variable.
14314 (cimag_test): Run tests with RUN_TEST_LOOP_c_f.
14315 (creal_test_data): New variable.
14316 (creal_test): Run tests with RUN_TEST_LOOP_c_f.
14318 * math/libm-test.inc (struct test_if_f_data): New type.
14319 (RUN_TEST_LOOP_if_f): New macro.
14320 (jn_test_data): New variable.
14321 (jn_test): Run tests with RUN_TEST_LOOP_if_f.
14322 (yn_test_data): New variable.
14323 (yn_test): Run tests with RUN_TEST_LOOP_if_f.
14325 * math/libm-test.inc (scalbln_test): Consistently use TEST_fl_f.
14327 2013-05-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14329 * math/libm-test.inc (M_1_DIV_El): Define using decimal constant.
14330 (log_test_data): Use M_1_DIV_El instead of 1.0 / M_El.
14332 2013-05-13 Siddhesh Poyarekar <siddhesh@redhat.com>
14334 * benchtests/Makefile (CPPFLAGS-nonlib): Add
14335 -DUSE_CLOCK_GETTIME if USE_CLOCK_GETTIME is defined.
14336 (bench-deps): Add bench-timing.h.
14337 * benchtests-bench-skeleton.c: Include bench-timing.h.
14338 (main): Use TIMING_* macros instead of clock_gettime.
14339 * benchtests/bench-timing.h: New file.
14342 * sysdeps/ieee754/s_lib_version.c (_LIB_VERSION_INTERNAL):
14343 Renamed from _LIB_VERSION.
14344 (_LIB_VERSION): Set as weak alias of _LIB_VERSION_INTERNAL.
14346 2013-05-12 Joseph Myers <joseph@codesourcery.com>
14348 * math/libm-test.inc (struct test_fff_f_data): New type.
14349 (RUN_TEST_LOOP_fff_f): New macro.
14350 (fma_test_data): New variable.
14351 (fma_test): Run tests with RUN_TEST_LOOP_fff_f.
14352 (fma_towardzero_test_data): New variable.
14353 (fma_test_towardzero): Run tests with RUN_TEST_LOOP_fff_f.
14354 (fma_downward_test_data): New variable.
14355 (fma_test_downward): Run tests with RUN_TEST_LOOP_fff_f.
14356 (fma_upward_test_data): New variable.
14357 (fma_test_upward): Run tests with RUN_TEST_LOOP_fff_f.
14359 * math/libm-test.inc (BUILD_COMPLEX_ULP): New macro.
14360 (struct test_c_c_data): New type.
14361 (RUN_TEST_LOOP_c_c): New macro.
14362 (cacos_test_data): New variable.
14363 (cacos_test): Run tests with RUN_TEST_LOOP_c_c.
14364 (cacosh_test_data): New variable.
14365 (cacosh_test): Run tests with RUN_TEST_LOOP_c_c.
14366 (casin_test_data): New variable.
14367 (casin_test): Run tests with RUN_TEST_LOOP_c_c.
14368 (casinh_test_data): New variable.
14369 (casinh_test): Run tests with RUN_TEST_LOOP_c_c.
14370 (catan_test_data): New variable.
14371 (catan_test): Run tests with RUN_TEST_LOOP_c_c.
14372 (catanh_test_data): New variable.
14373 (catanh_test): Run tests with RUN_TEST_LOOP_c_c.
14374 (ccos_test_data): New variable.
14375 (ccos_test): Run tests with RUN_TEST_LOOP_c_c.
14376 (ccosh_test_data): New variable.
14377 (ccosh_test): Run tests with RUN_TEST_LOOP_c_c.
14378 (cexp_test_data): New variable.
14379 (cexp_test): Run tests with RUN_TEST_LOOP_c_c.
14380 (clog_test_data): New variable.
14381 (clog_test): Run tests with RUN_TEST_LOOP_c_c.
14382 (clog10_test_data): New variable.
14383 (clog10_test): Run tests with RUN_TEST_LOOP_c_c.
14384 (conj_test_data): New variable.
14385 (conj_test): Run tests with RUN_TEST_LOOP_c_c.
14386 (cproj_test_data): New variable.
14387 (cproj_test): Run tests with RUN_TEST_LOOP_c_c.
14388 (csin_test_data): New variable.
14389 (csin_test): Run tests with RUN_TEST_LOOP_c_c.
14390 (csinh_test_data): New variable.
14391 (csinh_test): Run tests with RUN_TEST_LOOP_c_c.
14392 (csqrt_test_data): New variable.
14393 (csqrt_test): Run tests with RUN_TEST_LOOP_c_c.
14394 (ctan_test_data): New variable.
14395 (ctan_test): Run tests with RUN_TEST_LOOP_c_c.
14396 (ctan_tonearest_test_data): New variable.
14397 (ctan_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
14398 (ctan_towardzero_test_data): New variable.
14399 (ctan_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
14400 (ctan_downward_test_data): New variable.
14401 (ctan_test_downward): Run tests with RUN_TEST_LOOP_c_c.
14402 (ctan_upward_test_data): New variable.
14403 (ctan_test_upward): Run tests with RUN_TEST_LOOP_c_c.
14404 (ctanh_test_data): New variable.
14405 (ctanh_test): Run tests with RUN_TEST_LOOP_c_c.
14406 (ctanh_tonearest_test_data): New variable.
14407 (ctanh_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
14408 (ctanh_towardzero_test_data): New variable.
14409 (ctanh_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
14410 (ctanh_downward_test_data): New variable.
14411 (ctanh_test_downward): Run tests with RUN_TEST_LOOP_c_c.
14412 (ctanh_upward_test_data): New variable.
14413 (ctanh_test_upward): Run tests with RUN_TEST_LOOP_c_c.
14414 * math/gen-libm-test.pl (get_ulps): Use BUILD_COMPLEX_ULP instead
14417 * math/libm-test.inc (struct test_ff_f_data): New type.
14418 (struct test_ff_f_data_nexttoward): Likewise.
14419 (RUN_TEST_LOOP_2_f): New macro.
14420 (RUN_TEST_LOOP_ff_f): Likewise.
14421 (atan2_test_data): New variable.
14422 (atan2_test): Run tests with RUN_TEST_LOOP_ff_f.
14423 (copysign_test_data): New variable.
14424 (copysign_test): Run tests with RUN_TEST_LOOP_ff_f.
14425 (fdim_test_data): New variable.
14426 (fdim_test): Run tests with RUN_TEST_LOOP_ff_f.
14427 (fmax_test_data): New variable.
14428 (fmax_test): Run tests with RUN_TEST_LOOP_ff_f.
14429 (fmin_test_data): New variable.
14430 (fmin_test): Run tests with RUN_TEST_LOOP_ff_f.
14431 (fmod_test_data): New variable.
14432 (fmod_test): Run tests with RUN_TEST_LOOP_ff_f.
14433 (hypot_test_data): New variable.
14434 (hypot_test): Run tests with RUN_TEST_LOOP_ff_f.
14435 (nextafter_test_data): New variable.
14436 (nextafter_test): Run tests with RUN_TEST_LOOP_ff_f.
14437 (nexttoward_test_data): New variable.
14438 (nexttoward_test): Run tests with RUN_TEST_LOOP_ff_f.
14439 (pow_test_data): New variable.
14440 (pow_test): Run tests with RUN_TEST_LOOP_ff_f.
14441 (pow_tonearest_test_data): New variable.
14442 (pow_test_tonearest): Run tests with RUN_TEST_LOOP_ff_f.
14443 (pow_towardzero_test_data): New variable.
14444 (pow_test_towardzero): Run tests with RUN_TEST_LOOP_ff_f.
14445 (pow_downward_test_data): New variable.
14446 (pow_test_downward): Run tests with RUN_TEST_LOOP_ff_f.
14447 (pow_upward_test_data): New variable.
14448 (pow_test_upward): Run tests with RUN_TEST_LOOP_ff_f.
14449 (remainder_test_data): New variable.
14450 (remainder_test): Run tests with RUN_TEST_LOOP_ff_f.
14451 (scalb_test_data): New variable.
14452 (scalb_test): Run tests with RUN_TEST_LOOP_ff_f.
14453 * sysdeps/i386/fpu/libm-test-ulps: Update.
14455 2013-05-11 Joseph Myers <joseph@codesourcery.com>
14457 * math/libm-test.inc (fma_test): Use max_value instead of local
14459 (nextafter_test): Likewise.
14461 * math/libm-test.inc (acos_towardzero_test_data): New variable.
14462 (acos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
14463 (acos_downward_test_data): New variable.
14464 (acos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
14465 (acos_upward_test_data): New variable.
14466 (acos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
14467 (acosh_test_data): New variable.
14468 (acosh_test): Run tests with RUN_TEST_LOOP_f_f.
14469 (asin_test_data): New variable.
14470 (asin_test): Run tests with RUN_TEST_LOOP_f_f.
14471 (asin_tonearest_test_data): New variable.
14472 (asin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
14473 (asin_towardzero_test_data): New variable.
14474 (asin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
14475 (asin_downward_test_data): New variable.
14476 (asin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
14477 (asin_upward_test_data): New variable.
14478 (asin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
14479 (asinh_test_data): New variable.
14480 (asinh_test): Run tests with RUN_TEST_LOOP_f_f.
14481 (atan_test_data): New variable.
14482 (atan_test): Run tests with RUN_TEST_LOOP_f_f.
14483 (atanh_test_data): New variable.
14484 (atanh_test): Run tests with RUN_TEST_LOOP_f_f.
14485 (cbrt_test_data): New variable.
14486 (cbrt_test): Run tests with RUN_TEST_LOOP_f_f.
14487 (ceil_test_data): New variable.
14488 (ceil_test): Run tests with RUN_TEST_LOOP_f_f.
14489 (cos_test_data): New variable.
14490 (cos_test): Run tests with RUN_TEST_LOOP_f_f.
14491 (cos_tonearest_test_data): New variable.
14492 (cos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
14493 (cos_towardzero_test_data): New variable.
14494 (cos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
14495 (cos_downward_test_data): New variable.
14496 (cos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
14497 (cos_upward_test_data): New variable.
14498 (cos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
14499 (cosh_test_data): New variable.
14500 (cosh_test): Run tests with RUN_TEST_LOOP_f_f.
14501 (cosh_tonearest_test_data): New variable.
14502 (cosh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
14503 (cosh_towardzero_test_data): New variable.
14504 (cosh_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
14505 (cosh_downward_test_data): New variable.
14506 (cosh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
14507 (cosh_upward_test_data): New variable.
14508 (cosh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
14509 (erf_test_data): New variable.
14510 (erf_test): Run tests with RUN_TEST_LOOP_f_f.
14511 (erfc_test_data): New variable.
14512 (erfc_test): Run tests with RUN_TEST_LOOP_f_f.
14513 (exp_test_data): New variable.
14514 (exp_test): Run tests with RUN_TEST_LOOP_f_f.
14515 (exp_tonearest_test_data): New variable.
14516 (exp_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
14517 (exp_towardzero_test_data): New variable.
14518 (exp_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
14519 (exp_downward_test_data): New variable.
14520 (exp_test_downward): Run tests with RUN_TEST_LOOP_f_f.
14521 (exp_upward_test_data): New variable.
14522 (exp_test_upward): Run tests with RUN_TEST_LOOP_f_f.
14523 (exp10_test_data): New variable.
14524 (exp10_test): Run tests with RUN_TEST_LOOP_f_f.
14525 (exp2_test_data): New variable.
14526 (exp2_test): Run tests with RUN_TEST_LOOP_f_f.
14527 (expm1_test_data): New variable.
14528 (expm1_test): Run tests with RUN_TEST_LOOP_f_f.
14529 (fabs_test_data): New variable.
14530 (fabs_test): Run tests with RUN_TEST_LOOP_f_f.
14531 (floor_test_data): New variable.
14532 (floor_test): Run tests with RUN_TEST_LOOP_f_f.
14533 (j0_test_data): New variable.
14534 (j0_test): Run tests with RUN_TEST_LOOP_f_f.
14535 (j1_test_data): New variable.
14536 (j1_test): Run tests with RUN_TEST_LOOP_f_f.
14537 (log_test_data): New variable.
14538 (log_test): Run tests with RUN_TEST_LOOP_f_f.
14539 (log10_test_data): New variable.
14540 (log10_test): Run tests with RUN_TEST_LOOP_f_f.
14541 (log1p_test_data): New variable.
14542 (log1p_test): Run tests with RUN_TEST_LOOP_f_f.
14543 (log2_test_data): New variable.
14544 (log2_test): Run tests with RUN_TEST_LOOP_f_f.
14545 (logb_test_data): New variable.
14546 (logb_test): Run tests with RUN_TEST_LOOP_f_f.
14547 (logb_downward_test_data): New variable.
14548 (logb_test_downward): Run tests with RUN_TEST_LOOP_f_f.
14549 (nearbyint_test_data): New variable.
14550 (nearbyint_test): Run tests with RUN_TEST_LOOP_f_f.
14551 (rint_test_data): New variable.
14552 (rint_test): Run tests with RUN_TEST_LOOP_f_f.
14553 (rint_tonearest_test_data): New variable.
14554 (rint_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
14555 (rint_towardzero_test_data): New variable.
14556 (rint_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
14557 (rint_downward_test_data): New variable.
14558 (rint_test_downward): Run tests with RUN_TEST_LOOP_f_f.
14559 (rint_upward_test_data): New variable.
14560 (rint_test_upward): Run tests with RUN_TEST_LOOP_f_f.
14561 (round_test_data): New variable.
14562 (round_test): Run tests with RUN_TEST_LOOP_f_f.
14563 (sin_test_data): New variable.
14564 (sin_test): Run tests with RUN_TEST_LOOP_f_f.
14565 (sin_tonearest_test_data): New variable.
14566 (sin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
14567 (sin_towardzero_test_data): New variable.
14568 (sin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
14569 (sin_downward_test_data): New variable.
14570 (sin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
14571 (sin_upward_test_data): New variable.
14572 (sin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
14573 (sinh_test_data): New variable.
14574 (sinh_test): Run tests with RUN_TEST_LOOP_f_f.
14575 (sinh_tonearest_test_data): New variable.
14576 (sinh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
14577 (sinh_towardzero_test_data): New variable.
14578 (sinh_towardzero): Run tests with RUN_TEST_LOOP_f_f.
14579 (sinh_downward_test_data): New variable.
14580 (sinh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
14581 (sinh_upward_test_data): New variable.
14582 (sinh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
14583 (sqrt_test_data): New variable.
14584 (sqrt_test): Run tests with RUN_TEST_LOOP_f_f.
14585 (tan_test_data): New variable.
14586 (tan_test): Run tests with RUN_TEST_LOOP_f_f.
14587 (tan_tonearest_test_data): New variable.
14588 (tan_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
14589 (tan_towardzero_test_data): New variable.
14590 (tan_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
14591 (tan_downward_test_data): New variable.
14592 (tan_test_downward): Run tests with RUN_TEST_LOOP_f_f.
14593 (tan_upward_test_data): New variable.
14594 (tan_test_upward): Run tests with RUN_TEST_LOOP_f_f.
14595 (tanh_test_data): New variable.
14596 (tanh_test): Run tests with RUN_TEST_LOOP_f_f.
14597 (tgamma_test_data): New variable.
14598 (tgamma_test): Run tests with RUN_TEST_LOOP_f_f.
14599 (trunc_test_data): New variable.
14600 (trunc_test): Run tests with RUN_TEST_LOOP_f_f.
14601 (y0_test_data): New variable.
14602 (y0_test): Run tests with RUN_TEST_LOOP_f_f.
14603 (y1_test_data): New variable.
14604 (y1_test): Run tests with RUN_TEST_LOOP_f_f.
14605 (significand_test_data): New variable.
14606 (significand_test): Run tests with RUN_TEST_LOOP_f_f.
14608 2013-05-10 Christian Grönke <cgr_bugs@sysgo.com>
14611 * sysdeps/unix/sysv/linux/sh/getgid.c: New file.
14613 2013-05-10 Pino Toscano <toscano.pino@tiscali.it>
14615 * sysdeps/mach/hurd/bits/statvfs.h: Add ST_NOATIME.
14617 2013-05-10 Andreas Jaeger <aj@suse.de>
14620 * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_SET_S)
14621 (__CPU_CLR_S, __CPU_ISSET_S): Avoid integer overflow.
14623 2013-05-10 Joseph Myers <joseph@codesourcery.com>
14625 * math/gen-libm-test.pl (adjust_arg): New function.
14626 (special_functions): Handle generating output in both functions
14628 (parse_args): Likewise.
14629 (generate_testfile): Handle START_DATA and END_DATA. Pass extra
14630 $in_func argument to parse_args.
14631 * math/libm-test.inc (struct test_f_f_data): New type.
14632 (IF_ROUND_INIT_): New macro.
14633 (IF_ROUND_INIT_FE_DOWNWARD): Likewise.
14634 (IF_ROUND_INIT_FE_TONEAREST): Likewise.
14635 (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
14636 (IF_ROUND_INIT_FE_UPWARD): Likewise.
14637 (ROUND_RESTORE_): Likewise.
14638 (ROUND_RESTORE_FE_DOWNWARD): Likewise.
14639 (ROUND_RESTORE_FE_TONEAREST): Likewise.
14640 (ROUND_RESTORE_FE_TOWARDZERO): Likewise.
14641 (ROUND_RESTORE_FE_UPWARD): Likewise.
14642 (RUN_TEST_LOOP_f_f): New macro.
14643 (acos_test_data): New variable.
14644 (acos_test): Run tests with RUN_TEST_LOOP_f_f.
14645 (acos_tonearest_test_data): New variable.
14646 (acos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
14648 2013-05-10 Siddhesh Poyarekar <siddhesh@redhat.com>
14650 * benchtests/bench-skeleton.c (startup): Fix coding style.
14652 2013-05-10 Joseph Myers <joseph@codesourcery.com>
14655 * math/w_tgamma.c (__tgamma): Also call __kernel_standard for
14656 negative infinity argument.
14657 * math/w_tgammaf.c (__tgammaf): Also call __kernel_standard_f for
14658 negative infinity argument.
14659 * math/w_tgammal.c (__tgammal): Also call __kernel_standard_l for
14660 negative infinity argument.
14661 * math/libm-test.inc (tgamma_test): Expect errno to be set for
14664 2013-05-10 Florian Weimer <fweimer@redhat.com>
14666 * elf/sprof.c (load_profdata): Use fstat64 instead of fstat.
14667 * iconv/iconv_charmap.c (charmap_conversion): Likewise.
14668 * iconv/iconv_prog.c (main): Likewise.
14669 * locale/programs/charmap-dir.c (charmap_readdir)
14670 (fopen_uncompressed): Likewise.
14671 * locale/programs/locfile.c (siblings_uncached)
14672 (write_locale_data): Use lstat64 instead of lstat.
14673 * sunrpc/rpc_main.c (find_cpp, checkfiles): Use stat64 instead of
14676 2013-05-10 Andreas Jaeger <aj@suse.de>
14679 * sunrpc/rpc_main.c (main): Invoke setlocale and textdomain for
14681 Include <locale.h>.
14683 2013-05-09 Carlos O'Donell <carlos@redhat.com>
14685 * elf/dl-close.c (_dl_close_worker): Add comments.
14687 2013-05-09 Joseph Myers <joseph@codesourcery.com>
14690 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (c): Use 106 bits for
14692 (__ieee754_rem_pio2l): Update comments.
14695 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c (c): Use 113 bits for
14697 (__ieee754_rem_pio2l): Update comments.
14699 * math/libm-test.inc (M_SQRT_2_2): Remove macro.
14700 (csqrt_test): Use M_SQRT1_2l instead of M_SQRT_2_2.
14702 * math/libm-test.inc (carg_test): Use M_PI_34l instead of 3 *
14705 * math/libm-test.inc (M_PI_34l): Define using decimal constant.
14706 (M_PI_34_LOG10El): Likewise.
14707 (M_PI2_LOG10El): Likewise.
14708 (M_PI4_LOG10El): Likewise.
14709 (M_PI_LOG10El): Likewise.
14711 2013-05-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14713 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
14715 2013-05-08 Joseph Myers <joseph@codesourcery.com>
14717 * math/libm-test.inc (PLUS_ZERO_INIT): New macro.
14718 (MINUS_ZERO_INIT): Likewise.
14719 (PLUS_INFTY_INIT): Likewise.
14720 (MINUS_INFTY_INIT): Likewise.
14721 (QNAN_VALUE_INIT): Likewise.
14722 (MAX_VALUE_INIT): Likewise.
14723 (MIN_VALUE_INIT): Likewise.
14724 (MIN_SUBNORM_VALUE_INIT): Likewise.
14725 (plus_zero): Initialize with PLUS_ZERO_INIT.
14726 (minus_zero): Initialize with MINUS_ZERO_INIT.
14727 (plus_infty): Initialize with PLUS_INFTY_INIT.
14728 (minus_infty): Initialize with MINUS_INFTY_INIT.
14729 (qnan_value): Initialize with QNAN_VALUE_INIT.
14730 (max_value): Initialize with MAX_VALUE_INIT.
14731 (min_value): Initialize with MIN_VALUE_INIT.
14732 (min_subnorm_value): Initialize with MIN_SUBNORM_VALUE_INIT.
14734 * math/libm-test.inc (RUN_TEST_if_f): New macro.
14735 (jn_test): Use TEST_if_f instead of TEST_ff_f.
14736 (ldexp_text): Use TEST_fi_i instead of TEST_ff_f.
14737 (yn_test): Use TEST_if_f instead of TEST_ff_f.
14739 * math/libm-test.inc (RUN_TEST_f_f): New macro.
14740 (RUN_TEST_2_f): Likewise.
14741 (RUN_TEST_ff_f): Likewise.
14742 (RUN_TEST_fi_f): Likewise.
14743 (RUN_TEST_fl_f): Likewise.
14744 (RUN_TEST_fff_f): Likewise.
14745 (RUN_TEST_c_f): Likewise.
14746 (RUN_TEST_f_f1): Likewise.
14747 (RUN_TEST_fF_f1): Likewise.
14748 (RUN_TEST_fI_f1): Likewise.
14749 (RUN_TEST_ffI_f1): Likewise.
14750 (RUN_TEST_c_c): Likewise.
14751 (RUN_TEST_cc_c): Likewise.
14752 (RUN_TEST_f_i): Likewise.
14753 (RUN_TEST_f_i_tg): Likewise.
14754 (RUN_TEST_ff_i_tg): Likewise.
14755 (RUN_TEST_f_b): Likewise.
14756 (RUN_TEST_f_b_tg): Likewise.
14757 (RUN_TEST_f_l): Likewise.
14758 (RUN_TEST_f_L): Likewise.
14759 (RUN_TEST_sincos): Likewise.
14760 * math/gen-libm-test.pl (new_test): Take new argument to indicate
14761 whether to show exceptions. Do not include ");\n" in return
14763 (special_functions): Output call to RUN_TEST_sincos instead of
14764 check_float calls. Update calls to new_test.
14765 (parse_args): Output call to single RUN_TEST_* macro instead of
14766 check_* calls and other assignments. Update calls to new_test.
14772 * sysdeps/ieee754/k_standard.c (__kernel_standard): Copy sign of
14773 input to result for tgamma overflow.
14774 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Include <float.h>.
14775 (gamma_coeff): New variable.
14776 (NCOEFF): New macro.
14777 (gamma_positive): New function.
14778 (__ieee754_gamma_r): Handle positive infinity, NaN, overflow and
14779 underflow here. Use gamma_positive instead of exp (lgamma) for
14781 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Include <float.h>.
14782 (gamma_coeff): New variable.
14783 (NCOEFF): New macro.
14784 (gammaf_positive): New function.
14785 (__ieee754_gammaf_r): Handle positive infinity, NaN, overflow and
14786 underflow here. Use gamma_positive instead of exp (lgamma) for
14788 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Include <float.h>.
14789 (gamma_coeff): New variable.
14790 (NCOEFF): New macro.
14791 (gammal_positive): New function.
14792 (__ieee754_gammal_r): Handle positive infinity, NaN, overflow and
14793 underflow here. Use gamma_positive instead of exp (lgamma) for
14795 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Include <float.h>.
14796 (gamma_coeff): New variable.
14797 (NCOEFF): New macro.
14798 (gammal_positive): New function.
14799 (__ieee754_gammal_r): Handle positive infinity, overflow and
14800 underflow here. Handle NaN the same as positive infinity. Remove
14801 check x < 0xffffffff for negative integers. Use gamma_positive
14802 instead of exp (lgamma) for other arguments.
14803 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Include <float.h>.
14804 (gamma_coeff): New variable.
14805 (NCOEFF): New macro.
14806 (gammal_positive): New function.
14807 * sysdeps/ieee754/dbl-64/gamma_product.c: New file.
14808 * sysdeps/ieee754/dbl-64/gamma_productf.c: Likewise.
14809 * sysdeps/ieee754/ldbl-128/gamma_productl.c: Likewise.
14810 * sysdeps/ieee754/ldbl-128ibm/gamma_productl.c: Likewise.
14811 * sysdeps/ieee754/ldbl-96/gamma_product.c: Likewise.
14812 * sysdeps/ieee754/ldbl-96/gamma_productl.c: Likewise.
14813 * sysdeps/generic/math_private.h (__gamma_productf): New
14815 (__gamma_product): Likewise.
14816 (__gamma_productl): Likewise.
14817 * math/Makefile (libm-calls): Add gamma_product.
14818 * math/libm-test.inc (tgamma_test): Add more tests.
14819 * sysdeps/i386/fpu/libm-test-ulps: Update.
14820 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14822 2013-05-08 Ondřej Bílka <neleai@seznam.cz>
14824 * benchtests/bench-skeleton.c (main): Preheat CPU.
14826 2013-05-07 Aurelien Jarno <aurelien@aurel32.net>
14828 * misc/sys/param.h (DEV_BSIZE): Define only if not already defined.
14830 2013-05-07 Roland McGrath <roland@hack.frob.com>
14832 * sysdeps/generic/ldsodefs.h [IS_IN_rtld]: Declare _dl_skip_args
14833 and _dl_skip_args_internal.
14835 2013-05-07 Carlos O'Donell <carlos@redhat.com>
14837 * manual/message.texi (Message Translation): Talk about users.
14838 Message to key mapping impacts design.
14840 2013-05-06 Roland McGrath <roland@hack.frob.com>
14842 * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: New file.
14844 * elf/dl-open.c: Remove declaration of _dl_sysdep_start.
14846 * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: Moved to ...
14847 * sysdeps/wordsize-64/glob64.c: ... here.
14849 * sysdeps/generic/not-cancel.h (NO_CANCELLATION): New macro.
14850 (pause_not_cancel, nanosleep_not_cancel, sigsuspend_not_cancel):
14853 * debug/getlogin_r_chk.c: Moved to ...
14854 * login/getlogin_r_chk.c: ... here.
14855 * debug/Makefile (routines): Move getlogin_r_chk to ...
14856 * login/Makefile (routines): ... here.
14857 * debug/Versions (libc: GLIBC_2.4): Move getlogin_r_chk to ...
14858 * login/Versions (libc: GLIBC_2.4): ... here.
14860 * io/poll.c (__poll): Renamed from poll.
14861 Add libc_hidden_def.
14862 (poll): Define as weak alias.
14864 * debug/ptsname_r_chk.c: Moved to ...
14865 * login/ptsname_r_chk.c: ... here.
14866 * debug/Makefile (routines): Move ptsname_r_chk to ...
14867 * login/Makefile (routines): ... here.
14868 * debug/Versions (libc: GLIBC_2.4): Move __ptsname_r_chk to ...
14869 * login/Versions (libc: GLIBC_2.4): ... here.
14871 * posix/getlogin.c: Moved to ...
14872 * login/getlogin.c: ... here.
14873 * posix/getlogin_r.c: Moved to ...
14874 * login/getlogin_r.c: ... here.
14875 * posix/getlogin_r.c: Moved to ...
14876 * login/getlogin_r.c: ... here.
14877 * posix/Makefile (routines): Move getlogin, getlogin_r, setlogin to ...
14878 * login/Makefile (routines): ... here.
14879 * posix/Versions (libc: GLIBC_2.0): Move setlogin to ...
14880 * login/Versions (libc: GLIBC_2.0): ... here.
14882 * resource/setrlimit.c (__setrlimit): Renamed from setrlimit.
14883 (setrlimit): Define as weak alias.
14885 * sysdeps/posix/truncate.c (__truncate): Renamed from truncate.
14886 Call __ names for open, ftruncate, and close.
14887 For LENGTH==0 case, just use O_TRUNC rather than calling ftruncate.
14888 (truncate): Define as weak alias.
14890 2013-05-06 Joseph Myers <joseph@codesourcery.com>
14892 * math/gen-libm-test.pl (parse_args): Initialize x before each
14893 test of frexp, modf and remquo.
14895 * math/libm-test.inc (gamma_test): Consistently use TEST_f_f1 to
14896 test signgam value.
14898 2013-05-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14902 * sysdeps/powerpc/fpu/e_hypot.c: Fix spurious FP exception generated by
14904 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
14906 2013-05-06 Roland McGrath <roland@hack.frob.com>
14908 * elf/dl-writev.h: New file.
14909 * elf/dl-misc.c: Include it.
14910 (_dl_debug_vdprintf): Call _dl_writev instead of __writev et al.
14911 * sysdeps/unix/sysv/linux/dl-writev.h: New file.
14913 2013-05-04 Joseph Myers <joseph@codesourcery.com>
14915 * math/libm-test.inc (noXFails): Remove variable.
14916 (noXPasses): Likewise.
14917 (BUILD_COMPLEX_INT): Remove macro.
14918 (print_screen): Remove xfail argument.
14919 (print_screen_max_error): Likewise.
14920 (update_stats): Likewise.
14921 (print_max_error): Likewise. Update calls to other affected
14923 (print_complex_max_error): Likewise.
14924 (test_single_exception): Update calls to print_screen.
14925 (test_single_errno): Likewise.
14926 (check_float_internal): Remove xfail argument. Update calls to
14927 other affected functions.
14928 (check_float): Likewise.
14929 (check_complex): Likewise.
14930 (check_int): Likewise.
14931 (check_long): Likewise.
14932 (check_bool): Likewise.
14933 (check_longlong): Likewise.
14934 (main): Don't print noXFails and noXPasses.
14935 * math/gen-libm-test.pl (top level): Don't mention expected
14936 failure handling in comment.
14937 (new_test): Don't handle expected failures.
14938 (parse_args): Don't mention expected failure handling in comment.
14939 (generate_testfile): Don't handle expected failures.
14940 (parse_ulps): Likewise.
14941 (print_ulps_file): Likewise.
14942 (get_failure): Remove function.
14943 (output_test): Don't handle expected failures.
14944 * make/README.libm-test: Don't mention expected failure handling.
14946 * math/libm-test.inc (plus_zero): Make const. Add initializer.
14947 (minus_zero): Likewise.
14948 (plus_infty): Likewise.
14949 (minus_infty): Likewise.
14950 (qnan_value): Likewise.
14951 (max_value): Likewise.
14952 (min_value): Likewise.
14953 (min_subnorm_value): Likewise.
14954 (initialize): Do not initialize those variables dynamically.
14956 2013-05-03 Roland McGrath <roland@hack.frob.com>
14958 * io/open.c (__open_2): Moved to ...
14959 * io/open_2.c: ... this new file.
14960 * io/open64.c (__open64_2): Moved to ...
14961 * io/open64_2.c: ... this new file.
14962 * io/openat.c (__openat_2): Moved to ...
14963 * io/openat_2.c: ... this new file.
14964 * io/openat64.c (__openat64_2): Moved to ...
14965 * io/openat64_2.c: ... this new file.
14966 * io/Makefile (routines): Add them.
14967 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Remove them.
14968 * sysdeps/unix/sysv/linux/open_2.c: File removed.
14969 * sysdeps/unix/sysv/linux/open64_2.c: File removed.
14970 * sysdeps/unix/sysv/linux/openat.c (__OPENAT_2): Removed.
14971 * sysdeps/unix/sysv/linux/openat64.c (__OPENAT_2): Removed.
14972 * sysdeps/unix/sysv/linux/wordsize-64/openat.c (__openat_2): Removed.
14973 (__openat64): Add hidden_ver.
14974 * sysdeps/mach/hurd/open.c (__open_2, __open64_2): Removed.
14975 * sysdeps/mach/hurd/openat.c (__openat_2): Removed.
14977 * elf/dl-sysdep.c (_dl_sysdep_start) [NEED_DL_SYSINFO]:
14978 Separately conditionalize setting of GLRO(dl_sysinfo) so
14979 that the GLRO(dl_sysinfo_dso) test is under [NEED_DL_SYSINFO_DSO]
14980 as well, but the actual setting is only under [NEED_DL_SYSINFO].
14982 2013-04-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14984 * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_time symbol.
14985 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Add __vdso_time
14987 (VDSO_IFUNC_RET): Cast to void * to silence compiler warning.
14988 * sysdeps/unix/sysv/linux/powerpc/init-first.c
14989 (_libc_vdso_platform_setup): Add __vdso_time initialization.
14990 * sysdeps/unix/sysv/linux/powerpc/time.c: New file: time implementation
14991 for PowerPC using vDSO where is avaliable or gettimeofday as a fallback.
14993 2013-05-03 Joseph Myers <joseph@codesourcery.com>
14995 * math/libm-test.inc (lgamma_test): Consistently use TEST_f_f1 to
14996 test signgam value.
14998 * math/libm-test.inc (hypot_test): Do not use
14999 IGNORE_ZERO_INF_SIGN.
15001 2013-05-03 Andreas Jaeger <aj@suse.de>
15003 * sysdeps/gnu/netinet/tcp.h (TCP_TIMESTAMP): New value, from
15005 * sysdeps/unix/sysv/linux/bits/socket.h (PF_VSOCK, AF_VSOCK): Add.
15006 (PF_MAX): Adjust for VSOCK change.
15008 2013-05-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15010 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
15012 2013-05-02 Carlos O'Donell <carlos@redhat.com>
15015 * localedata/locales/en_CA (LC_MESSAGES): Define yesstr and nostr.
15016 * localedata/locales/es_AR (LC_MESSAGES): Copy es_ES.
15017 * localedata/locales/es_ES (LC_MESSAGES): Define yesstr and nostr.
15019 2013-05-02 David S. Miller <davem@davemloft.net>
15021 * sysdeps/sparc/fpu/libm-test-ulps: Update.
15023 2013-05-01 Ondřej Bílka <neleai@seznam.cz>
15025 * string/bits/string2.h (__strcmp_cg): Call __strcmp_gc.
15027 2013-05-01 Roland McGrath <roland@hack.frob.com>
15029 * sysdeps/posix/opendir.c: Include <sys/param.h> to get MIN/MAX macros.
15031 2013-05-01 Richard Smith <richard@metafoo.co.uk>
15034 * misc/sys/cdefs.h (__extern_inline, __extern_always_inline)
15035 [__GNUC__ && (__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
15036 Use __attribute__ ((__gnu_inline__)).
15037 [__GNUC__ && !(__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
15038 Don't use __attribute__ ((__gnu_inline__)).
15040 2013-05-01 Joseph Myers <joseph@codesourcery.com>
15043 * math/s_catan.c (__catan): Handle small real or imaginary part of
15044 input specially to avoid spurious underflow.
15045 * math/s_catanf.c (__catanf): Likewise.
15046 * math/s_catanh.c (__catanh): Likewise.
15047 * math/s_catanhf.c (__catanhf): Likewise.
15048 * math/s_catanhl.c (__catanhl): Likewise.
15049 * math/s_catanl.c (__catanl): Likewise.
15050 * math/libm-test.inc (catan_test): Add more tests.
15051 (catanh_test): Likewise.
15052 * sysdeps/i386/fpu/libm-test-ulps: Update.
15053 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15055 2013-04-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15057 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
15059 2013-04-30 Joseph Myers <joseph@codesourcery.com>
15062 * math/s_catan.c (__catan): Compute expressions 1 - x^2 - y^2 more
15063 accurately for denominator in atan2.
15064 * math/s_catanf.c (__catanf): Likewise.
15065 * math/s_catanh.c (__catanh): Likewise.
15066 * math/s_catanhf.c (__catanhf): Likewise.
15067 * math/s_catanhl.c (__catanhl): Likewise.
15068 * math/s_catanl.c (__catanl): Likewise.
15069 * math/libm-test.inc (catan_test): Add more tests.
15070 (catanh_test): Likewise.
15071 * sysdeps/i386/fpu/libm-test-ulps: Update.
15072 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15074 2013-04-30 Siddhesh Poyarekar <siddhesh@redhat.com>
15076 * sysdeps/ieee754/dbl-64/s_sin.c: Format code.
15078 * benchtests/Makefile (bench): Remove slow benchmarks.
15079 * benchtests/atan-inputs: Add slow benchmark inputs.
15080 * benchtests/bench-modf.c (NUM_VARIANTS): Define.
15081 (BENCH_FUNC): Accept variant offset.
15083 * benchtests/bench-skeleton.c (main): Run benchmark for each
15085 * benchtests/cos-inputs: Add slow benchmark inputs.
15086 * benchtests/exp-inputs: Likewise.
15087 * benchtests/pow-inputs: Likewise.
15088 * benchtests/sin-inputs: Likewise.
15089 * benchtests/slowatan-inputs: Remove.
15090 * benchtests/slowatan.c: Remove.
15091 * benchtests/slowcos-inputs: Remove.
15092 * benchtests/slowcos.c: Remove.
15093 * benchtests/slowexp-inputs: Remove.
15094 * benchtests/slowexp.c: Remove.
15095 * benchtests/slowpow-inputs: Remove.
15096 * benchtests/slowpow.c: Remove.
15097 * benchtests/slowsin-inputs: Remove.
15098 * benchtests/slowsin.c: Remove.
15099 * benchtests/slowtan-inputs: Remove.
15100 * benchtests/slowtan.c: Remove.
15101 * benchtests/tan-inputs: Add slow benchmark inputs.
15102 * scripts/bench.pl: Parse comments and directives.
15104 * benchtests/Makefile: Remove *-ITER. Define BENCH_DURATION
15106 ($(objpfx)bench-%.c): Remove *-ITER.
15107 * benchtests/bench-modf.c: Remove definition of ITER.
15108 * benchtests/bench-skeleton.c (TIMESPEC_AFTER): New macro.
15109 (main): Loop for DURATION seconds instead of fixed number of
15111 * scripts/bench.pl: Don't expect iterations in parameters.
15113 2013-04-29 Roland McGrath <roland@hack.frob.com>
15115 * io/fchdir.c (__fchdir): Renamed from fchdir.
15116 (fchdir): Define as weak alias.
15118 2013-04-29 Joseph Myers <joseph@codesourcery.com>
15120 * math/libm-test.inc (ERRNO_UNCHANGED): New macro.
15121 (ERRNO_EDOM): Likewise.
15122 (ERRNO_ERANGE): Likewise.
15123 (noErrnoTests): New variable.
15124 (init_max_error): Set errno to 0.
15125 (test_single_errno): New function.
15126 (test_errno): Likewise.
15127 (check_float_internal): Call test_errno. Set errno to 0.
15128 (check_complex): Refer to errno tests in comment.
15129 (check_int): Call test_errno. Set errno to 0.
15130 (check_long): Likewise.
15131 (check_bool): Likewise.
15132 (check_longlong): Likewise.
15133 (cos_test): Use ERRNO_* flags for errno tests instead of
15135 (expm1_test): Likewise.
15136 (fmod_test): Likewise.
15137 (ilogb_test): Likewise.
15138 (lgamma_test): Likewise.
15139 (pow_test): Likewise.
15140 (remainder_test): Likewise.
15141 (sin_test): Likewise.
15142 (tan_test): Likewise.
15143 (yn_test): Likewise.
15144 (initialize): Set errno to 0.
15145 (main): Print number of errno tests.
15146 * math/gen-libm-test.pl (parse_args): Allow ERRNO flags on tests.
15148 2013-04-29 Andreas Jaeger <aj@suse.de>
15151 * resolv/res_debug.c (p_option): Fix strings for RES_USEBSTRING
15155 * resolv/resolv.h (RES_NOCHECKNAME): Mark as unimplemented.
15156 * resolv/res_debug.c (p_option): Mark RES_NOCHECKNAME as
15160 * stdlib/random.c (__initstate): Return NULL if
15164 * resolv/res_debug.c (p_option): Handle RES_NOALIASES,
15165 RES_KEEPTSIG, RES_BLAST, RES_NOIP6DOTINT, RES_SNGLKUP,
15168 2013-04-29 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15170 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
15172 2013-04-29 Joseph Myers <joseph@codesourcery.com>
15174 * math/libm-test.inc (cacos_test): Add missing semicolons at ends
15175 of individual tests.
15176 (casin_test): Likewise.
15177 (casinh_test): Likewise.
15179 2013-04-27 Joseph Myers <joseph@codesourcery.com>
15182 * math/s_catan.c (__catan): Handle arguments with large real or
15183 imaginary part separately without squaring.
15184 * math/s_catanf.c (__catanf): Likewise.
15185 * math/s_catanh.c (__catanh): Likewise.
15186 * math/s_catanhf.c (__catanhf): Likewise.
15187 * math/s_catanhl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
15189 (__catanhl): Handle arguments with large real or imaginary part
15190 separately without squaring.
15191 * math/s_catanl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
15193 (__catanl): Handle arguments with large real or imaginary part
15194 separately without squaring.
15195 * math/libm-test.inc (catan_test): Add more tests.
15196 (catanh_test): Likewise.
15197 * sysdeps/i386/fpu/libm-test-ulps: Update.
15198 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15200 2013-04-27 Andreas Jaeger <aj@suse.de>
15203 * stdlib/stdlib.h: Update guards for qecvt.
15204 * stdlib/bits/stdlib-ldbl.h: Sync guards for qecvt etc with
15207 2013-04-27 Allan McRae <allan@archlinux.org>
15209 * sysdeps/i386/fpu/libm-test-ulps: Update.
15211 2013-04-26 Joseph Myers <joseph@codesourcery.com>
15214 * math/s_catan.c: Include <float.h>.
15215 (__catan): Ensure underflow exception occurs for underflowed
15217 * math/s_catanf.c: Include <float.h>.
15218 (__catanf): Ensure underflow exception occurs for underflowed
15220 * math/s_catanh.c: Include <float.h>.
15221 (__catanh): Ensure underflow exception occurs for underflowed
15223 * math/s_catanhf.c: Include <float.h>.
15224 (__catanhf): Ensure underflow exception occurs for underflowed
15226 * math/s_catanhl.c: Include <float.h>.
15227 (__catanhl): Ensure underflow exception occurs for underflowed
15229 * math/s_catanl.c: Include <float.h>.
15230 (__catanl): Ensure underflow exception occurs for underflowed
15232 * math/libm-test.inc (catan_test): Add more tests.
15233 (catanh_test): Likewise.
15236 * math/s_ccosh.c (__ccosh): Ensure underflow exception occurs for
15237 underflowed result.
15238 * math/s_ccoshf.c (__ccoshf): Likewise.
15239 * math/s_ccoshl.c (__ccoshl): Likewise.
15240 * math/s_csin.c (__csin): Likewise.
15241 * math/s_csinf.c (__csinf): Likewise.
15242 * math/s_csinh.c (__csinh): Likewise.
15243 * math/s_csinhf.c (__csinhf): Likewise.
15244 * math/s_csinhl.c (__csinhl): Likewise.
15245 * math/s_csinl.c (__csinl): Likewise.
15246 * math/libm-test.inc (ccos_test): Add more tests.
15247 (ccosh_test): Likewise.
15248 (csin_test): Likewise.
15249 (csinh_test): Likewise.
15251 2013-04-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15253 * sysdeps/powerpc/power5/fpu/s_modf.c: Moved to ...
15254 * sysdeps/powerpc/power5+/fpu/s_modf.c: ... this.
15255 * sysdeps/powerpc/power5/fpu/s_modff.c: Moved to ...
15256 * sysdeps/powerpc/power5+/fpu/s_modff.c: ... this.
15257 * sysdeps/powerpc/powerpc32/power5+/Implies: Add powerpc/power5+ and
15258 powerpc/power5+/fpu folders.
15259 * sysdeps/powerpc/powerpc64/power5+/Implies: Likewise.
15262 2013-04-26 Markus Trippelsdorf <markus@trippelsdorf.de>
15264 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
15266 2013-04-25 Joseph Myers <joseph@codesourcery.com>
15268 * elf/Makefile [$(config-machine) = x86_64] (tests): Remove
15269 additions to variable.
15270 [$(config-machine) = x86_64] (modules-names): Likewise.
15271 ($(objpfx)tst-audit3): Remove dependency.
15272 ($(objpfx)tst-audit3.out): Likewise.
15273 ($(objpfx)tst-audit4): Likewise.
15274 ($(objpfx)tst-audit4.out): Likewise.
15275 ($(objpfx)tst-audit5): Likewise.
15276 ($(objpfx)tst-audit5.out): Likewise.
15277 ($(objpfx)tst-audit6): Likewise.
15278 ($(objpfx)tst-audit6.out): Likewise.
15279 ($(objpfx)tst-audit7): Likewise.
15280 ($(objpfx)tst-audit7.out): Likewise.
15281 (tst-audit3-ENV): Remove variable.
15282 (tst-audit4-ENV): Likewise.
15283 (tst-audit5-ENV): Likewise.
15284 (tst-audit6-ENV): Likewise.
15285 (tst-audit7-ENV): Likewise.
15286 [$(config-cflags-avx) = yes] (AVX-CFLAGS): Likewise.
15287 [$(config-cflags-avx) = yes] (CFLAGS-tst-audit4.c): Remove
15288 addition to variable.
15289 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4a.c): Likewise.
15290 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4b.c): Likewise.
15291 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6b.c): Likewise.
15292 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6c.c): Likewise.
15293 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod7b.c): Likewise.
15294 * sysdeps/x86_64/Makefile [$(subdir) = elf] (tests): Add
15295 tst-audit3, tst-audit4 and tst-audit5.
15296 [$(subdir) = elf && $(config-cflags-avx) = yes] (tests): Add
15297 tst-audit6 and tst-audit7.
15298 [$(subdir) = elf] (modules-names): Add audit modules for those
15300 [$(subdir) = elf] ($(objpfx)tst-audit3): New dependency.
15301 [$(subdir) = elf] ($(objpfx)tst-audit3.out): Likewise.
15302 [$(subdir) = elf] ($(objpfx)tst-audit4): Likewise.
15303 [$(subdir) = elf] ($(objpfx)tst-audit4.out): Likewise.
15304 [$(subdir) = elf] ($(objpfx)tst-audit5): Likewise.
15305 [$(subdir) = elf] ($(objpfx)tst-audit5.out): Likewise.
15306 [$(subdir) = elf] ($(objpfx)tst-audit6): Likewise.
15307 [$(subdir) = elf] ($(objpfx)tst-audit6.out): Likewise.
15308 [$(subdir) = elf] ($(objpfx)tst-audit7): Likewise.
15309 [$(subdir) = elf] ($(objpfx)tst-audit7.out): Likewise.
15310 [$(subdir) = elf] (tst-audit3-ENV): New variable.
15311 [$(subdir) = elf] (tst-audit4-ENV): Likewise.
15312 [$(subdir) = elf] (tst-audit5-ENV): Likewise.
15313 [$(subdir) = elf] (tst-audit6-ENV): Likewise.
15314 [$(subdir) = elf] (tst-audit7-ENV): Likewise.
15315 [$(subdir) = elf && $(config-cflags-avx) = yes] (AVX-CFLAGS):
15317 [$(subdir) = elf && $(config-cflags-avx) = yes]
15318 (CFLAGS-tst-audit4.c): Append $(AVX-CFLAGS).
15319 [$(subdir) = elf && $(config-cflags-avx) = yes]
15320 (CFLAGS-tst-auditmod4a.c): Likewise.
15321 [$(subdir) = elf && $(config-cflags-avx) = yes]
15322 (CFLAGS-tst-auditmod4b.c): Likewise.
15323 [$(subdir) = elf && $(config-cflags-avx) = yes]
15324 (CFLAGS-tst-auditmod6b.c): Likewise.
15325 [$(subdir) = elf && $(config-cflags-avx) = yes]
15326 (CFLAGS-tst-auditmod6c.c): Likewise.
15327 [$(subdir) = elf && $(config-cflags-avx) = yes]
15328 (CFLAGS-tst-auditmod7b.c): Likewise.
15329 * elf/tst-audit3.c: Move to ...
15330 * sysdeps/x86_64/tst-audit3.c: ... here.
15331 * elf/tst-audit4.c: Move to ...
15332 * sysdeps/x86_64/tst-audit4.c: ... here.
15333 * elf/tst-audit5.c: Move to ...
15334 * sysdeps/x86_64/tst-audit5.c: ... here.
15335 * elf/tst-audit6.c: Move to ...
15336 * sysdeps/x86_64/tst-audit6.c: ... here.
15337 * elf/tst-audit7.c: Move to ...
15338 * sysdeps/x86_64/tst-audit7.c: ... here.
15339 * elf/tst-auditmod3a.c: Move to ...
15340 * sysdeps/x86_64/tst-auditmod3a.c: ... here.
15341 * elf/tst-auditmod3b.c: Move to ...
15342 * sysdeps/x86_64/tst-auditmod3b.c: ... here.
15343 * elf/tst-auditmod4a.c: Move to ...
15344 * sysdeps/x86_64/tst-auditmod4a.c: ... here.
15345 * elf/tst-auditmod4b.c: Move to ...
15346 * sysdeps/x86_64/tst-auditmod4b.c: ... here.
15347 * elf/tst-auditmod5a.c: Move to ...
15348 * sysdeps/x86_64/tst-auditmod5a.c: ... here.
15349 * elf/tst-auditmod5b.c: Move to ...
15350 * sysdeps/x86_64/tst-auditmod5b.c: ... here.
15351 * elf/tst-auditmod6a.c: Move to ...
15352 * sysdeps/x86_64/tst-auditmod6a.c: ... here.
15353 * elf/tst-auditmod6b.c: Move to ...
15354 * sysdeps/x86_64/tst-auditmod6b.c: ... here.
15355 * elf/tst-auditmod6c.c: Move to ...
15356 * sysdeps/x86_64/tst-auditmod6c.c: ... here.
15357 * elf/tst-auditmod7a.c: Move to ...
15358 * sysdeps/x86_64/tst-auditmod7a.c: ... here.
15359 * elf/tst-auditmod7b.c: Move to ...
15360 * sysdeps/x86_64/tst-auditmod7b.c: ... here.
15362 2013-04-25 Paul Pluzhnikov <ppluzhnikov@google.com>
15365 * sysdeps/generic/inttypes.h (PRId8, PRId16, etc.):
15366 define unconditionally.
15367 * sysdeps/generic/stdint.h (INT8_MIN, INT16_MIN, etc.):
15368 define unconditionally.
15369 (INT8_C, INT16_C, etc.): Likewise.
15371 2013-04-25 Maciej W. Rozycki <macro@codesourcery.com>
15373 * csu/libc-start.c (__libc_start_main) [!SHARED]: Declare
15374 __ehdr_start with hidden visibility.
15376 * soft-fp/op-common.h (_FP_SQRT): s/sNAN/NAN/ in a comment.
15378 2013-04-24 Carlos O'Donell <carlos@redhat.com>
15380 * math/libm-test.inc (cos_test): Use accurate hex constants.
15381 (sincost_test): Likewise.
15383 2013-04-24 Joseph Myers <joseph@codesourcery.com>
15385 * math/libm-test.inc (catan_test): Add more tests.
15386 (catanh_test): Likewise.
15388 * math/s_catanf.c (__catanf): Use suffixed floating-point
15390 * math/s_catanhf.c (__catanhf): Likewise.
15391 * math/s_catanhl.c (__catanhl): Likewise.
15392 * math/s_catanl.c (__catanl): Likewise.
15395 * math/s_catan.c (__catan): Calculate imaginary part of result
15396 with log1p not log unless computing log of number close to 0.
15397 * math/s_catanf.c (__catanf): Likewise.
15398 * math/s_catanl.c (__catanl): Likewise.
15399 * math/s_catanh.c (__catanh): Calculate real part of result with
15400 log1p not log unless computing log of number close to 0.
15401 * math/s_catanhf.c (__catanhf): Likewise.
15402 * math/s_catanhl.c (__catanhl): Likewise.
15403 * math/libm-test.inc (catan_test): Add more tests.
15404 (catanh_test): Likewise.
15405 * sysdeps/i386/fpu/libm-test-ulps: Update.
15406 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15408 2013-04-24 Siddhesh Poyarekar <siddhesh@redhat.com>
15410 * benchtests/Makefile: Mention files in which fast and slow
15411 paths of math functions are implemented.
15413 2013-04-23 Roland McGrath <roland@hack.frob.com>
15415 * sysdeps/posix/timespec_get.c: New file.
15417 2013-04-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15419 * sysdeps/powerpc/power5/fpu/s_modf.c: New file: modf optimization for
15421 * sysdeps/powerpc/power5/fpu/s_modff.c: New file: modff optimization
15423 * sysdeps/powerpc/powerpc64/power5/Implies: Add powerpc/power5 and
15424 powerpc/power5/fpu folders.
15425 * sysdeps/powerpc/powerpc32/power5/Implies: Likewise.
15426 * benchtests/Makefile: Add modf testcase.
15427 * benchtests/bench-modf.c: New file: Benchmark test for mo
15429 2013-04-23 Siddhesh Poyarekar <siddhesh@redhat.com>
15432 * time/Makefile (tests): Add tst-strptime-whitespace.
15433 * time/strptime_l.c (get_number): Use ISSPACE.
15434 (__strptime_internal): Likewise.
15435 * time/tst-strptime-whitespace.c: New test case.
15437 2013-04-23 Andreas Schwab <schwab@linux-m68k.org>
15439 * nss/nss_files/files-init.c (TF): Don't initialize flexible array
15441 (_nss_files_init): Set it here.
15443 2013-04-23 Heiko Carstens <heiko.carstens@de.ibm.com>
15445 * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Change types of
15446 f_type, f_bsize, f_namelen, f_frsize, f_flags,and f_spare to
15449 2013-04-22 Jan-Benedict Glaw <jbglaw@getslash.de>
15451 * nss/getent.c (shadow_keys): Call endspent, not endpwent.
15453 2013-04-22 Siddhesh Poyarekar <siddhesh@redhat.com>
15455 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Compute results
15458 2013-04-21 David S. Miller <davem@davemloft.net>
15460 * po/ru.po: Update Russion translation from translation project.
15462 2013-04-17 Adam Conrad <adconrad@0c3.net>
15464 * sysdeps/unix/sysv/linux/sys/fsuid.h: Remove __wur from setfsuid
15467 2013-04-17 Carlos O'Donell <carlos@redhat.com>
15469 * configure.in: Remove i386 configure warning. Remove i386 case.
15470 * configure: Regenerate.
15471 * sysdeps/i386/configure.in: Raise error if config_machine is i386.
15472 Add example to error message.
15473 * sysdeps/i386/configure: Regenerate.
15475 2013-04-17 Siddhesh Poyarekar <siddhesh@redhat.com>
15477 * benchtests/Makefile (bench): Add cos, tan, slowcos and
15479 * benchtests/cos-inputs: New file.
15480 * benchtests/slowcos-inputs: New file.
15481 * benchtests/slowcos.c: New file.
15482 * benchtests/slowtan-inputs: New file.
15483 * benchtests/slowtan.c: New file.
15484 * benchtests/tan-inputs: New file.
15486 2013-04-16 Roland McGrath <roland@hack.frob.com>
15488 * rt/tst-aio7.c (do_test): Don't test O_RDONLY fd case, which is now
15491 2013-04-16 Siddhesh Poyarekar <siddhesh@redhat.com>
15493 * benchtests/Makefile: Include cppflags-iterator.mk to add
15494 -DNOT_IN_libc=1 to CPPFLAGS of all benchmark programs.
15496 * Makefile.in (bench-clean): New target.
15497 * benchtests/Makefile (bench-clean): Likewise.
15499 2013-04-16 David Holsgrove <david.holsgrove@xilinx.com>
15501 * elf/elf.h: Add EM_MICROBLAZE and MicroBlaze relocations.
15503 2013-04-15 Thomas Schwinge <thomas@codesourcery.com>
15505 * stdio-common/tstdiomisc.c: Fix coding-style violation.
15507 2013-04-15 Andreas Schwab <schwab@suse.de>
15509 * nscd/grpcache.c (cache_addgr): Properly check for short write.
15510 * nscd/initgrcache.c (addinitgroupsX): Likewise.
15511 * nscd/pwdcache.c (cache_addpw): Likewise.
15512 * nscd/servicescache.c (cache_addserv): Likewise. Don't write
15515 2013-04-15 Siddhesh Poyarekar <siddhesh@redhat.com>
15517 * benchtests/Makefile (bench): Write all output to
15518 bench-out.tmp together.
15520 2013-04-15 Andreas Schwab <schwab@suse.de>
15522 * nscd/nscd.c (main): Don't fork again after closing files.
15524 2013-04-15 Siddhesh Poyarekar <siddhesh@redhat.com>
15526 * libio/tst-fwrite-error.c (do_test): Fix BUF array definition.
15528 * benchtests/Rules (bench-deps): Collect dependencies into a
15529 single variable. Add Makefile to dependencies.
15530 ($(objpfx)bench-%.c): Depend on bench-deps.
15532 2013-04-12 Roland McGrath <roland@hack.frob.com>
15533 Xavier Roche <roche+kml2@exalead.com>
15536 * sysdeps/pthread/aio_fsync.c (aio_fsync): Don't check open modes,
15537 just that it's a file descriptor.
15538 * manual/llio.texi (Synchronizing AIO Operations): Update description
15539 for EBADF error from aio_fsync.
15541 2013-04-12 Siddhesh Poyarekar <siddhesh@redhat.com>
15543 * Rules (bench): Move target definition...
15544 * benchtests/Makefile: ... here.
15546 2013-04-11 Carlos O'Donell <carlos@redhat.com>
15548 * math/libm-test.inc (cos_test): Fix PI/2 test.
15549 (sincos_test): Likewise.
15550 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
15551 * sysdeps/i386/fpu/libm-test-ulps: Regenerate.
15553 2013-04-11 Andreas Schwab <schwab@suse.de>
15556 * stdio-common/vfscanf.c (_IO_vfwscanf): When parsing a float
15557 accept exponent character only when digits were seen.
15558 * stdio-common/Makefile (tests): Add bug26.
15559 * stdio-common/bug26.c: New file.
15562 * elf/dl-load.c (_dl_init_paths): Mark decomposed RUNPATH as
15565 2013-04-11 Siddhesh Poyarekar <siddhesh@redhat.com>
15567 * Makeconfig (rtld-prefix): Define built linker prefix.
15568 * Rules (run-bench): Use it.
15569 * math/Makefile (run-regen-ulps): Likewise.
15571 * Rules (bench): Remove eval.
15573 2013-04-10 Siddhesh Poyarekar <siddhesh@redhat.com>
15574 Roland McGrath <roland@hack.frob.com>
15575 Ondrej Bilka <neleai@seznam.cz>
15578 * time/getdate.c: Include ctype.h and alloca.h.
15579 (__getdate_r): Trim leading and trailing spaces of input.
15580 * time/tst-getdate.c (tests): Add tests with leading and
15583 2013-04-08 Roland McGrath <roland@hack.frob.com>
15586 * sysdeps/mach/hurd/bits/ioctls.h (_IOTS): Cast to enum __ioctl_datum
15587 when computing value.
15589 2013-04-06 Carlos O'Donell <carlos@redhat.com>
15591 * math/README.libm-test (How can I generate "libm-test-ulps"?):
15592 Use testrun.sh to run libm tests.
15595 * elf/dl-open.c (dl_open_worker): memset all of seen array.
15597 2013-04-06 Marko Myllynen <myllynen@redhat.com>
15600 * locales/fi_FI (LC_MESSAGES): Define yesstr and nostr.
15602 2013-04-06 Carlos O'Donell <carlos@redhat.com>
15604 * Makefile.in (regen-ulps): New target.
15605 * math/Makefile [ifneq (no,$(PERL)]: Declare regen-ulps with .PHONY.
15606 [ifneq (no,$(PERL)] (run-regen-ulps): New variable.
15607 [ifneq (no,$(PERL)] (regen-ulps): New target.
15608 [ifeq (no,$(PERL)] (regen-ulps): New target.
15609 * math/libm-test.inc (ulps_file_name): Define.
15610 (output_dir): New variable.
15611 (options): Add "output-dir" option.
15612 (parse_opt): Handle 'o' case.
15613 (main): If output_dir is non-NULL use it as a prefix
15615 * math/README.libm-test: Update `How can I generate "libm-test-ulps"?'
15617 2013-04-06 Carlos O'Donell <carlos@redhat.com>
15619 [BZ #10060, #10062]
15620 * aclocal.m4 (LIBC_COMPILER_BUILTIN_INLINED): New macro.
15621 * sysdeps/i386/configure.in: Use LIBC_COMPILER_BUILTIN_INLINED and
15622 fail configure if __sync_val_compare_and_swap is not inlined.
15623 * sysdeps/i386/configure: Regenerate.
15624 * configure.in: Build for i686 when configured for i386.
15625 * configure: Regenerate.
15626 * README: Remove i386 reference.
15628 2013-04-06 Carlos O'Donell <carlos@redhat.com>
15630 * sysdeps/s390/s390-32/sysdep.h: Undefine PSEUDO before redefinition.
15631 * sysdeps/s390/s390-64/sysdep.h: Likewise.
15633 2013-04-05 Thomas Schwinge <thomas@codesourcery.com>
15635 * stdio-common/tstdiomisc.c (snanval, msnanval, lsnanval)
15636 (lmsnanval): New variables.
15637 (F): Add conversion tests.
15638 * stdlib/tst-strtod6.c (do_test): Add issignaling tests.
15639 * stdlib/Makefile ($(objpfx)tst-strtod6): Depend on $(link-libm).
15641 * stdio-common/tstdiomisc.c (F): Properly collect individual
15644 [BZ #14686, #15336]
15645 * sysdeps/ieee754/dbl-64/urem.h (nNAN, NAN): Remove definitions.
15646 * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder):
15647 Instead, use input NaN values or generate a qNaN by arithmetic
15648 operation. Also fix bugs to comply with the standard.
15649 * math/libm-test.inc (remainder_test): Add more tests.
15651 [BZ #15335, #15342]
15652 * sysdeps/ieee754/dbl-64/upow.h (NaNQ): Remove definitions.
15653 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Instead, use
15654 input NaN values or generate a qNaN by arithmetic operation.
15656 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Remove
15659 * sysdeps/ieee754/dbl-64/usncs.h (NAN): Removed unused
15662 2013-04-03 Joseph Myers <joseph@codesourcery.com>
15665 * math/s_cexp.c (__cexp): Ensure underflow exception occurs for
15666 underflowed result.
15667 * math/s_cexpf.c (__cexpf): Likewise.
15668 * math/s_cexpl.c (__cexpl): Likewise.
15669 * math/libm-test.inc (cexp_test): Add more tests.
15671 2013-04-03 Andreas Schwab <schwab@suse.de>
15674 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Allocate results and
15675 order arrays from heap if bigger than alloca cutoff.
15677 2013-04-03 Thomas Schwinge <thomas@codesourcery.com>
15679 * sysdeps/i386/fpu/math-tests.h (SNAN_TESTS_float)
15680 (SNAN_TESTS_double): Refer to GCC PR56831.
15681 * sysdeps/powerpc/math-tests.h (SNAN_TESTS_TYPE_CAST): Refer to
15684 2013-04-03 Siddhesh Poyarekar <siddhesh@redhat.com>
15686 * Rules (bench): Move bench.out after the run is complete.
15688 * Rules (bench): Echo currently running benchmark.
15690 * benchtests/Makefile (bench): Add atan and slowatan.
15691 * benchtests/atan-inputs: New file.
15692 * benchtests/slowatan-inputs: New file.
15693 * benchtests/slowatan.c: New file.
15695 * sysdeps/ieee754/dbl-64/mpa.h (TWO): Remove definition.
15696 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Replace TWO with
15700 * sysdeps/unix/sysv/linux/kernel-features.h
15701 [__LINUX_KERNEL_VERSION >= 0x02061d]: Define
15702 __ASSUME_XFS_RESTRICTED_CHOWN.
15703 * sysdeps/unix/sysv/linux/pathconf.c
15704 (__statfs_chown_restricted) [!__ASSUME_XFS_RESTRICTED_CHOWN]:
15705 Save and restore errno.
15707 2013-04-02 Joseph Myers <joseph@codesourcery.com>
15710 * math/s_cacosh.c (__cacosh): Implement for finite nonzero
15711 arguments using __kernel_casinh.
15712 * math/s_cacoshf.c (__cacoshf): Implement for finite nonzero
15713 arguments using __kernel_casinhf.
15714 * math/s_cacoshl.c (__cacoshl): Implement for finite nonzero
15715 arguments using __kernel_casinhl.
15716 * math/libm-test.inc (cacosh_test): Add more tests.
15717 * sysdeps/i386/fpu/libm-test-ulps: Update.
15718 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15720 2013-04-02 Siddhesh Poyarekar <siddhesh@redhat.com>
15722 * sysdeps/ieee754/dbl-64/mpa.h (HALFRAD): Define as TWO23.
15723 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Use mantissa_t.
15725 * bench/Makefile (bench): Add sin and slowsin.
15726 * benchtests/sin-inputs: New file.
15727 * benchtests/slowsin-inputs: New file.
15728 * benchtests/slowsin.c: New file.
15730 * benchtests/Makefile: Add benchmarks for slowpow and slowexp.
15731 (bench): Add slowexp and slowpow.
15732 (exp-ITER): Increase iterations.
15733 (pow-ITER): Likewise.
15734 * benchtests/exp-inputs: Change input.
15735 * benchtests/pow-inputs: Likewise.
15736 * benchtests/slowexp-inputs: New file.
15737 * benchtests/slowexp.c: New file.
15738 * benchtests/slowpow-inputs: New file.
15739 * benchtests/slowpow.c: New file.
15741 2013-04-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15743 * sysdeps/powerpc/powerpc32/fpu/s_rint.S: Remove branch prediction
15745 * sysdeps/powerpc/powerpc32/fpu/s_rintf.S: Likewise.
15746 * sysdeps/powerpc/powerpc64/fpu/s_rint.S: Likewise.
15747 * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
15748 * benchtests/Makefile: Add rint benchtest.
15749 * benchtests/rint-inputs: Input for rint benchtest.
15751 2013-04-02 Thomas Schwinge <thomas@codesourcery.com>
15753 * Versions.def (libm): Add GLIBC_2.18.
15754 * include/math.h [!_ISOMAC] (__issignaling, __issignalingf): Add
15755 hidden libm prototypes.
15756 [!_ISOMAC && !__NO_LONG_DOUBLE_MATH] (__issignalingl): Likewise.
15757 * math/Makefile (libm-calls): Add s_issignaling.
15758 * math/Versions (libm: GLIBC_2.18): Add __issignaling,
15759 __issignalingf, __issignalingl. Adjust all libm.abilist files.
15760 * math/bits/mathcalls.h [__USE_GNU] (__issignaling): New prototype
15762 * math/math.h [__USE_GNU] (issignaling): New macro.
15763 * sysdeps/ieee754/flt-32/s_issignalingf.c: New file.
15764 * sysdeps/ieee754/dbl-64/s_issignaling.c: Likewise.
15765 * sysdeps/ieee754/dbl-64/wordsize-64/s_issignaling.c: Likewise.
15766 * sysdeps/ieee754/ldbl-96/s_issignalingl.c: Likewise.
15767 * sysdeps/ieee754/ldbl-128/s_issignalingl.c: Likewise.
15768 * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c: Likewise.
15769 * manual/arith.texi (issignaling): New section.
15770 * manual/libm-err-tab.pl (@all_functions): Update comment.
15771 * math/gen-libm-test.pl (parse_args): Apply special handling for
15773 * math/libm-test.inc (print_float, issignaling_test): New
15775 (check_float_internal): Add issignaling checks.
15776 * sysdeps/generic/math-tests.h (SNAN_TESTS_TYPE_CAST): Provide
15777 default definition.
15778 * sysdeps/powerpc/math-tests.h: New file.
15779 * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Add issignaling
15781 * math/test-snan.c (TEST_FUNC): Likewise.
15783 2013-03-30 David S. Miller <davem@davemloft.net>
15785 * po/de.po: Update from translation team.
15787 2013-03-30 Joseph Myers <joseph@codesourcery.com>
15790 * math/k_casinh.c (__kernel_casinh): Handle arguments with
15791 imaginary part less than 1.0 and real part less than 0.5
15793 * math/k_casinhf.c (__kernel_casinhf): Likewise.
15794 * math/k_casinhl.c (__kernel_casinhl): Likewise.
15795 * math/libm-test.inc (UNDERFLOW_EXCEPTION_OK_DOUBLE): New macro.
15796 (cacos_test): Add more tests.
15797 (casin_test): Likewise.
15798 (casinh_test): Likewise.
15799 * sysdeps/i386/fpu/libm-test-ulps: Update.
15800 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15802 2013-03-29 Siddhesh Poyarekar <siddhesh@redhat.com>
15804 * sysdeps/powerpc/power4/fpu/mpa-arch.h (INTEGER_OF): Replace
15805 ONE with its value.
15807 * sysdeps/ieee754/dbl-64/mpa.h (ONE, MONE): Remove defines.
15808 (__pow_mp): Replace ONE and MONE with their values.
15809 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
15810 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Likewise.
15811 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
15812 * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Likewise.
15813 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
15814 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
15816 * sysdeps/ieee754/dbl-64/s_tan.c: Fix formatting.
15818 * sysdeps/ieee754/dbl-64/mpa.h (ZERO, MZERO): Remove defines.
15819 (__pow_mp): Replace ZERO and MZERO with their values.
15820 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
15821 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
15822 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
15823 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
15824 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
15825 * sysdeps/powerpc/power4/fpu/mpa.c (__mul): Likewise.
15828 * sysdeps/ieee754/dbl-64/s_atan.c: Fix formatting.
15830 * sysdeps/ieee754/dbl-64/e_log.c: Fix formatting.
15832 2013-03-28 Roland McGrath <roland@hack.frob.com>
15834 * include/stdlib.h [!SHARED] (__call_tls_dtors):
15835 Declare with __attribute__ ((weak)).
15836 * stdlib/exit.c (__libc_atexit) [!SHARED]:
15837 Call __call_tls_dtors only if it's not NULL.
15839 2013-03-28 Roland McGrath <roland@hack.frob.com>
15841 * csu/libc-start.c (__libc_start_main) [!SHARED]: If _dl_aux_init
15842 didn't do it already, then set _dl_phdr and _dl_phnum based on the
15843 magic __ehdr_start linker symbol if it's defined.
15844 * sysdeps/mach/hurd/i386/init-first.c (init1) [!SHARED]: Don't set
15845 them up here if it was already done.
15847 * elf/dl-support.c (_dl_phdr): Make pointer to const.
15848 (_dl_aux_init): Use const in cast when setting it.
15849 * sysdeps/mach/hurd/i386/init-first.c (init1): Remove superfluous cast.
15850 * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr): Update decl.
15851 * csu/libc-tls.c (__libc_setup_tls): Make PHDR pointer to const.
15853 * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr, _dl_phnum):
15855 * elf/dl-iteratephdr.c [!SHARED] (_dl_phdr, _dl_phnum): Not here.
15856 * csu/libc-tls.c: Nor here.
15857 * sysdeps/mach/hurd/i386/init-first.c (init1): Nor here.
15859 * sysdeps/posix/libc_fatal.c: Don't include <sys/syslog.h>.
15860 (__libc_message): Never call vsyslog.
15862 2013-03-28 Alan Modra <amodra@gmail.com>
15864 * sysdeps/powerpc/powerpc32/start.S (cfi_startproc, cfi_endproc):
15866 * sysdeps/powerpc/powerpc64/start.S (cfi_startproc, cfi_endproc):
15869 2013-03-28 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15872 * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Fix spurious
15874 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
15876 2013-03-28 Siddhesh Poyarekar <siddhesh@redhat.com>
15879 * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
15880 Don't add gid passed as argument.
15882 * sysdeps/ieee-754/dbl-64/e_atan2.c: Reformat.
15884 2013-03-27 Joseph Myers <joseph@codesourcery.com>
15887 * math/k_casinh.c (__kernel_casinh): Handle arguments with
15888 imaginary part between 1.0 and 1.5 and real part less than 0.5
15890 * math/k_casinhf.c (__kernel_casinhf): Likewise.
15891 * math/k_casinhl.c (__kernel_casinhl): Likewise.
15892 * math/libm-test.inc (cacos_test): Add more tests.
15893 (casin_test): Likewise.
15894 (casinh_test): Likewise.
15895 * sysdeps/i386/fpu/libm-test-ulps: Update.
15896 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15898 2013-03-26 Siddhesh Poyarekar <siddhesh@redhat.com>
15900 * sysdeps/ieee754/dbl-64/mpa.c (__acr): Use integral
15903 (denorm): Likewise.
15904 (__dbl_mp): Likewise.
15905 (add_magnitudes): Likewise.
15906 (sub_magnitudes): Likewise.
15914 * sysdeps/ieee754/dbl-64/branred.c (__branred): Remove
15916 * sysdeps/ieee754/dbl-64/dosincos.c (__dubsin): Likewise.
15917 (__dubcos): Likewise.
15918 * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Likewise.
15919 (__ieee754_acos): Likewise.
15920 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
15921 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Likewise.
15922 (__exp1): Likewise.
15923 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
15924 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
15926 (my_log2): Likewise.
15927 (checkint): Likewise.
15928 * sysdeps/ieee754/dbl-64/e_remainder.c
15929 (__ieee754_remainder): Likewise.
15930 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
15931 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Likewise.
15932 (bsloww): Likewise.
15933 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
15935 * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
15936 * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T and
15937 MANTISSA_STORE_T to store computations on mantissa. Use
15938 macros for rounding and division.
15939 (denorm): Likewise.
15940 (__dbl_mp): Likewise.
15941 (add_magnitudes): Likewise.
15942 (sub_magnitudes): Likewise.
15945 * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h. Define
15946 powers of two in terms of TWOPOW macro.
15947 (mp_no): Make type of mantissa as MANTISSA_T.
15948 [!RADIXI]: Define RADIXI.
15949 [!TWO52]: Define TWO52.
15950 * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
15952 2013-03-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15954 * sysdeps/powerpc/fpu/s_llround.c: Fix libm ABI issue with missing
15955 llroundl symbol when building for PPC32.
15957 2013-03-24 Mark H Weaver <mhw@netris.org>
15959 * manual/arith.texi (Normalization Functions): Fix prototypes for
15960 scalbn, scalbnf, scalbnl, scalbln, scalblnf, and scalblnl.
15962 2013-03-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15965 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Increase the
15966 high value to check if expl overflow.
15967 * sysdeps/ieee754/ldbl-128ibm/w_expl.c (__expl): Fix threshold constants
15968 to check for underflow and overflow.
15969 * math/libm-test.inc: Add exp test.
15971 2013-03-21 Dmitry V. Levin <ldv@altlinux.org>
15974 * sysdeps/x86_64/strcmp.S: Replace all occurrences of NOT_IN_lib
15977 2013-03-21 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15979 * sysdeps/powerpc/fpu/w_sqrt.c (compat_symbol): Add sqrtl compat
15982 2013-03-21 Thomas Schwinge <thomas@codesourcery.com>
15984 * math/gen-libm-test.pl (parse_args, special_functions): Properly
15985 wrap blocks consisting of several statements.
15987 * sysdeps/generic/math-tests.h: New file.
15988 * sysdeps/i386/fpu/math-tests.h: Likewise.
15989 * math/test-snan.c: Include it.
15990 (TEST_FUNC): Use SNAN_TESTS to short-circuit certain tests.
15992 2013-03-21 Joseph Myers <joseph@codesourcery.com>
15995 * sysdeps/ieee754/ldbl-128/e_j0l.c: Include <float.h>.
15996 (__ieee754_j0l): Do not improve calculations using cos of twice
15997 input for inputs above LDBL_MAX / 2.0L.
15998 (__ieee754_y0l): Likewise.
15999 * sysdeps/ieee754/ldbl-128/e_j1l.c: Include <float.h>.
16000 (__ieee754_j1l): Do not improve calculations using cos of twice
16001 input for inputs above LDBL_MAX / 2.0L.
16002 (__ieee754_y1l): Likewise.
16003 * math/libm-test.inc (j0_test): Add another test.
16004 (j1_test): Likewise.
16005 (y0_test): Likewise.
16006 (y1_test): Likewise.
16007 * sysdeps/i386/fpu/libm-test-ulps: Update.
16009 2013-03-21 Siddhesh Poyarekar <siddhesh@redhat.com>
16011 * Rules ($(objpfx)bench-%.c): Include code from a C source
16014 2013-03-21 Joseph Myers <joseph@codesourcery.com>
16017 * math/k_casinh.c (__kernel_casinh): Handle arguments with
16018 imaginary part 1.0 and real part less than 0.5 specially.
16019 * math/k_casinhf.c (__kernel_casinhf): Likewise.
16020 * math/k_casinhl.c (__kernel_casinhl): Likewise.
16021 * math/libm-test.inc (cacos_test): Add more tests.
16022 (casin_test): Likewise.
16023 (casinh_test): Likewise.
16024 * sysdeps/i386/fpu/libm-test-ulps: Update.
16025 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16027 2013-03-21 Siddhesh Poyarekar <siddhesh@redhat.com>
16029 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Use HALFRAD.
16030 * sysdeps/ieee754/dbl-64/sincos32.c (__mpranred): Likewise.
16032 2013-03-20 Joseph Myers <joseph@codesourcery.com>
16034 * aclocal.m4 (LIBC_CONFIG_VAR): New autoconf macro.
16035 * config.make.in (config-cflags-sse4): Remove variable.
16036 (config-cflags-avx): Likewise.
16037 (config-cflags-sse2avx): Likewise.
16038 (config-cflags-novzeroupper): Likewise.
16039 (config-asflags-i686): Likewise.
16040 (have-mfma4): Likewise.
16041 (have-as-vis3): Likewise.
16043 * configure.in (MIG): Do not AC_SUBST.
16044 (libc_cv_cc_nofma): Move AC_SUBST next to configure test.
16045 (libc_cv_cc_sse4): Do not AC_SUBST.
16046 (libc_cv_cc_avx): Likewise.
16047 (libc_cv_cc_sse2avx): Likewise.
16048 (libc_cv_cc_novzeroupper): Likewise.
16049 (libc_cv_cc_fma4): Likewise.
16050 (libc_cv_as_i686): Likewise.
16051 (libc_cv_sparc_as_vis3): Likewise.
16052 * sysdeps/i386/configure.in (config-cflags-sse4): Set using
16054 (config-asflags-i686): Likewise.
16055 (config-cflags-avx): Likewise.
16056 (config-cflags-sse2avx): Likewise.
16057 (have-mfma4): Likewise.
16058 (config-cflags-novzeroupper): Likewise.
16059 * sysdeps/mach/configure.in (MIG): Likewise.
16060 * sysdeps/sparc/configure.in (have-as-vis3): Likewise.
16061 * sysdeps/x86_64/configure.in (config-cflags-sse4): Set using
16063 (config-cflags-avx): Likewise.
16064 (config-cflags-sse2avx): Likewise.
16065 (have-mfma4): Likewise.
16066 (config-cflags-novzeroupper): Likewise.
16067 * configure: Regenerated.
16068 * sysdeps/i386/configure: Likewise.
16069 * sysdeps/mach/configure: Likewise.
16070 * sysdeps/sparc/configure: Likewise.
16071 * sysdeps/x86_64/configure: Likewise.
16073 2013-03-20 Roland McGrath <roland@hack.frob.com>
16076 * locale/programs/localedef.c (options): Put N_ translation marker
16077 on argument names, not just descriptions.
16079 2013-03-20 Marcus Shawcroft <marcus.shawcroft@linaro.org>
16081 * Makerules ($(inst_libdir)/libc.so): Use $(rtlddir).
16083 2013-03-20 Ondřej Bílka <neleai@seznam.cz>
16086 * stdlib/stdlib.h (mblen, mbtowc, wctomb): Remove __wur.
16088 2013-03-19 Roland McGrath <roland@hack.frob.com>
16090 * sysdeps/posix/libc_fatal.c: Include <sys/mman.h>.
16091 [!WRITEV_FOR_FATAL] (writev_for_fatal): New function.
16092 [!WRITEV_FOR_FATAL] (WRITEV_FOR_FATAL): New macro; call that.
16093 [!BEFORE_ABORT] (before_abort): New function.
16094 [!BEFORE_ABORT] (BEFORE_ABORT): New macro; call that.
16095 * sysdeps/unix/sysv/linux/libc_fatal.c: Trim includes.
16096 (writev_for_fatal): New function.
16097 (WRITEV_FOR_FATAL): New macro; call that.
16098 (backtrace_and_maps): New function.
16099 (BEFORE_ABORT): New macro; call that.
16100 (struct str_list): Type removed.
16101 (__libc_message, __libc_fatal): Functions removed.
16102 Include <sysdeps/posix/libc_fatal.c> instead.
16104 2013-03-19 Joseph Myers <joseph@codesourcery.com>
16106 * math/k_casinhf.c (__kernel_casinhf): Consistently use float
16108 * math/k_casinhl.c (__kernel_casinhl): Consistently use long
16111 2013-03-19 Andreas Schwab <schwab@suse.de>
16113 * sysdeps/gnu/configure.in: Set libc_cv_rtldir for s390x.
16114 * sysdeps/gnu/configure: Regenerate.
16116 * configure.in: Substitute libc_cv_rtlddir.
16117 * configure: Regenerate.
16118 * config.make.in (rtlddir): Set from libc_cv_rtlddir.
16119 * Makeconfig (rtlddir, inst_rtlddir): New variables.
16120 (rtld-LDFLAGS): Use them with $(rtld-installed-name).
16121 * elf/Makefile (install-others, CFLAGS-interp.c)
16122 (ldso_install, common-ldd-rewrite): Likewise.
16123 ($(inst_rtlddir)/$(rtld-installed-name)): Renamed from
16124 $(inst_slibdir)/$(rtld-installed-name).
16125 * scripts/rellns-sh: Add -p option.
16126 * Makerules (make-shlib-link): Use rellns-sh to get relative name
16129 2013-03-19 Siddhesh Poyarekar <siddhesh@redhat.com>
16131 * manual/nptl.texi: Renamed to ...
16132 * manual/threads.texi: ... this.
16133 * manual/Makefile (chapters): Update.
16135 2013-03-18 Roland McGrath <roland@hack.frob.com>
16138 * argp/argp-parse.c (argp_default_options): Put N_ translation marker
16139 on argument names, not just descriptions.
16140 * malloc/memusagestat.c (options): Likewise.
16141 * nss/getent.c (options): Likewise.
16143 2013-03-18 Benno Schulenberg <bensberg@justemail.net>
16146 * iconv/iconv_prog.c (options): Put N_ translation marker
16147 on argument names, not just descriptions.
16148 * iconv/iconvconfig.c (options): Likewise.
16150 2013-03-18 Ondrej Bilka <neleai@seznam.cz>
16152 * sysdeps/x86_64/strlen.S: Replace with new SSE2 based
16153 implementation which is faster on all x86_64 architectures.
16154 Tested on AMD, Intel Nehalem, SNB, IVB.
16155 * sysdeps/x86_64/strnlen.S: Likewise.
16157 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
16158 Remove all multiarch strlen and strnlen versions.
16159 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
16160 Remove strlen and strnlen related parts.
16162 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: Update.
16163 Inline strlen part.
16164 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Likewise.
16166 * sysdeps/x86_64/multiarch/strlen.S: Remove.
16167 * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S: Likewise.
16168 * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: Likewise.
16169 * sysdeps/x86_64/multiarch/strlen-sse4.S: Likewise.
16170 * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
16171 * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: Likewise.
16173 2013-03-17 Carlos O'Donell <carlos@redhat.com>
16175 * manual/memory.texi (Malloc Tunable Parameters):
16176 Sort parameters alphabetically. Add comments for missing entries.
16178 2013-03-17 David S. Miller <davem@davemloft.net>
16180 * sysdeps/sparc/fpu/libm-test-ulps: Update.
16182 2013-03-16 Joseph Myers <joseph@codesourcery.com>
16185 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_y1l): Correct test
16186 for arguments at most half maximum finite value.
16187 * math/libm-test.inc (j0_test): Add more tests.
16188 (j1_test): Likewise.
16189 (y0_test): Likewise.
16190 (y1_test): Likewise.
16191 * sysdeps/i386/fpu/libm-test-ulps: Update.
16192 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16195 * sysdeps/ieee754/ldbl-128/e_j0l.c (__ieee754_j0l): Do not compute
16196 1 / x and functions P and Q for arguments above 0x1p256L.
16197 (__ieee754_y0l): Likewise.
16198 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Likewise.
16199 (__ieee754_y1l): Likewise.
16200 * math/libm-test.inc (j0_test): Do not allow spurious underflows.
16201 (j1_test): Likewise.
16202 (y0_test): Likewise.
16203 (y1_test): Likewise.
16205 2013-03-16 Thomas Schwinge <thomas@codesourcery.com>
16207 * math/test-snan.c (TEST_FUNC): Add and use minus_sNaN_var
16210 2013-03-15 Roland McGrath <roland@hack.frob.com>
16212 * elf/dl-support.c (_dl_aux_init): Ignore zero value for AT_PAGESZ.
16213 (_dl_non_dynamic_init): Don't set _dl_pagesize; it will never be
16214 zero since it's initialized to EXEC_PAGESIZE.
16216 * sysdeps/unix/sysv/linux/ldsodefs.h
16217 (_dl_non_dynamic_init, _dl_aux_init): Move declarations to ...
16218 * sysdeps/generic/ldsodefs.h: ... here.
16220 2013-03-15 Thomas Schwinge <thomas@codesourcery.com>
16222 * math/libm-test.inc (ldexp_test): Add missing START/END markers.
16224 * sysdeps/powerpc/fpu/test-powerpc-snan.c: Rename to
16226 * math/test-snan.c: Renamed from
16227 sysdeps/powerpc/fpu/test-powerpc-snan.c.
16228 * math/Makefile (tests): Add test-snan.
16229 * sysdeps/powerpc/fpu/Makefile (libm-tests): Don't add
16232 * math/basic-test.c (TEST_FUNC): Replace NANFUNC argument with
16233 SUFFIX. Initialize qNaN_var with __builtin_nan family of
16235 (TEST_TRUNC): Add SUFFIX argument. Initialize qNaN_var with
16236 __builtin_nan family of functions.
16237 * math/libm-test.inc (initialize): Initialize qnan_value with
16238 __builtin_nan family of functions.
16239 * sysdeps/powerpc/fpu/test-powerpc-snan.c (SNANf, SNAN, SNANl):
16241 (init_signaling_nan, snan_float, snan_double, snan_ldouble):
16243 (TEST_FUNC): Add SUFFIX argument. Move sNaN_var into static
16244 storage class. Initialize qNaN_var and sNaN_var with
16245 __builtin_nan and __builtin_nans families of functions,
16248 * math/libm-test.inc (acosh_test): Also test with qNaN input.
16249 (sqrt_test): Remove duplicate test with qNaN input.
16250 (lrint_test, llrint_test, lround_test, llround_test, rint_test)
16251 (round_test, signbit_test, significand_test): Note missing +/-Inf
16252 as well as qNaN tests.
16254 * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Rename NaN_var to
16255 qNaN_var. Fix a few strings, too.
16256 * math/libm-test.inc (nan_value): Rename to qnan_value.
16257 * math/gen-libm-test.pl (%beautify): Adjust to that.
16258 * math/bits/mathcalls.h (nan): Refer to qNaN instead of NaN.
16259 * math/test-misc.c (main): Likewise.
16260 * sysdeps/ieee754/bits/nan.h (__nan_bytes, __nan_union): Rename
16261 to __qnan_bytes, and __qnan_union, respectively.
16262 * ports/sysdeps/mips/bits/nan.h (__nan_bytes, __nan_union):
16264 * stdio-common/tstdiomisc.c (nanval, lnanval): Rename to qnanval,
16265 and lqnanval, respectively.
16266 * sysdeps/powerpc/bits/fenv.h: Fix usage of NaN/qNaN/sNaN.
16267 * sysdeps/powerpc/fpu/fenv_libc.h: Likewise.
16268 * sysdeps/powerpc/fpu/test-powerpc-snan.c (TEST_FUNC): Likewise,
16269 and rename NaN_var to qNaN_var, and SNaN_var to sNaN_var.
16271 * math/libm-test.inc (fpstack_test) [__x86_64__]: Enable test.
16272 * math/test-misc.c (main) [__x86_64__]: Enable test for long
16275 * math/test-misc.c (main): Fix copy'n'pastos.
16276 * misc/tst-efgcvt.c (special): Likewise.
16278 * stdio-common/printf_fp.c (__isinfl_internal, __isnanl_internal):
16279 Remove declarations.
16281 2013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
16283 * sysdeps/ieee754/dbl-64/mpa-arch.h: Remove.
16284 * sysdeps/ieee754/dbl-64/mpa.c: Revert last change.
16285 * sysdeps/ieee754/dbl-64/mpa.h: Revert last change.
16286 * sysdeps/powerpc/power4/fpu/mpa-arch.h: Remove.
16288 2013-03-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16290 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET): Add
16291 macro to return vdso values correctly in IFUNC implementations.
16292 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
16293 Optimization by using IFUNC.
16295 2013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
16296 Richard Henderson <rth@redhat.com>
16297 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
16299 * Makefile.in (bench): New target.
16300 * NEWS: Mention the benchmark framework.
16301 * Rules (bench): Likewise.
16302 (binaries-bench): Generate binaries for functions to
16304 * benchtests/Makefile: New makefile for benchmark tests.
16305 * benchtests/bench-skeleton.c: New skeleton file for benchmark
16307 * benchtests/exp-inputs: New input file for EXP function.
16308 * benchtests/pow-inputs: New input file for POW function.
16309 * scripts/bench.pl: New script to generate source files for
16310 benchmark programs.
16312 2013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
16314 * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
16315 * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T to store
16316 computations on mantissa. Use macros for rounding and
16318 (denorm): Likewise.
16319 (__dbl_mp): Likewise.
16320 (add_magnitudes): Likewise.
16321 (sub_magnitudes): Likewise.
16324 * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h. Define
16325 powers of two in terms of TWOPOW macro.
16326 (mp_no): Make type of mantissa as MANTISSA_T.
16327 [!RADIXI]: Define RADIXI.
16328 [!TWO52]: Define TWO52.
16329 * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
16331 * manual/nptl.texi (cindex): Modify threads to pthreads.
16333 2013-03-15 Joseph Myers <joseph@codesourcery.com>
16335 * sysdeps/x86_64/preconfigure: Regenerated.
16337 2013-03-14 Joseph Myers <joseph@codesourcery.com>
16340 * sysdeps/ieee754/dbl-64/e_j0.c (pzero): Return 1.0 for arguments
16342 (qzero): Return -0.125 / x for arguments 0x1p28 and above.
16343 * sysdeps/ieee754/dbl-64/e_j1.c (pzero): Return 1.0 for arguments
16345 (qzero): Return 0.375 / x for arguments 0x1p28 and above.
16346 * math/libm-test.inc (j0_test): Do not allow one spurious
16347 underflow exception.
16348 (y1_test): Likewise.
16350 2013-03-14 Siddhesh Poyarekar <siddhesh@redhat.com>
16352 * manual/Makefile (chapters): Add nptl.
16353 * manual/debug.texi (Debugging Support): Add link to Threads
16355 * manual/nptl.texi: New file.
16357 * sysdeps/unix/sysv/linux/times.c (__times): Fix formatting.
16359 2013-03-14 Petr Baudis <pasky@ucw.cz>
16361 * sysdeps/unix/sysv/linux/times.c (__times): On EFAULT, test
16362 for non-NULL pointer before the memory validity test. Pointed
16363 out by Holger Brunck <holger.brunck@keymile.com>.
16365 2013-03-13 Andreas Schwab <schwab@suse.de>
16367 * extra-lib.mk (extra-objs): Add static-only-routines as .oS
16370 2013-03-13 Joseph Myers <joseph@codesourcery.com>
16372 * timezone/zic.c: Update from tzcode 2013b.
16374 2013-03-12 Carlos O'Donell <carlos@redhat.com>
16376 * manual/install.texi (Configuring and compiling):
16377 Mention i686 and i586.
16378 * INSTALL: Regenerate.
16380 2013-03-12 Roland McGrath <roland@hack.frob.com>
16382 * sysdeps/init_array/elf-init.c: New file.
16384 (__libc_csu_init) [!NO_INITFINI]: Conditionalize _init call on this.
16385 (__libc_csu_fini) [!NO_INITFINI]: Conditionalize _fini call on this.
16387 * csu/gmon-start.c [GMON_START_ARRAY_SECTION]: Don't define
16388 __gmon_start__ as global, but as static with a .preinit_array pointer.
16389 * sysdeps/init_array/gmon-start.c: New file. Use that.
16390 * sysdeps/init_array/crti.S: New file, empty except for comments.
16391 * sysdeps/init_array/crtn.S: Likewise.
16393 2013-03-11 Ondřej Bílka <neleai@seznam.cz>
16395 * sysdeps/x86_64/memset.S: Remove USE_MULTIARCH conditional for
16397 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
16398 Remove Prefer_SSE_for_memop.
16399 * sysdeps/x86_64/multiarch/init-arch.h: Remove
16400 bit_Prefer_SSE_for_memop, index_Prefer_SSE_for_memop,
16401 HAS_PREFER_SSE_FOR_MEMOP.
16402 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove
16404 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
16405 Remove bzero, memset ifunc support.
16406 * sysdeps/x86_64/multiarch/bzero.S: Remove file.
16407 * sysdeps/x86_64/multiarch/memset-x86-64.S: Likewise.
16408 * sysdeps/x86_64/multiarch/memset.S: Likewise.
16409 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
16411 2013-03-11 Andreas Schwab <schwab@suse.de>
16414 * Versions.def (libpthread): Add GLIBC_2.3, so that it can be used
16416 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist
16417 (GLIBC_2.16): Remove pthread_atfork.
16419 2013-03-08 Paul Pluzhnikov <ppluzhnikov@google.com>
16421 * posix/Makefile (testcases.h): Set LC_ALL=C before sed.
16422 (ptestcases.h): Likewise.
16424 2013-03-08 Roland McGrath <roland@hack.frob.com>
16426 * Makeconfig ($(common-objpfx)config.status): Depend on
16427 sysdeps/*/preconfigure{,.in} too.
16429 2013-03-08 Joseph Myers <joseph@codesourcery.com>
16431 * malloc/malloc.h (__malloc_ptr_t): Remove macro.
16432 (__free_hook): Use void * instead of __malloc_ptr_t.
16433 (__malloc_hook): Likewise.
16434 (__realloc_hook): Likewise.
16435 (__memalign_hook): Likewise.
16436 (__after_morecore_hook): Likewise.
16437 * malloc/arena.c (save_malloc_hook): Likewise.
16438 (save_free_hook): Likewise.
16439 * malloc/hooks.c (malloc_hook_ini): Likewise.
16440 (realloc_hook_ini): Likewise.
16441 (memalign_hook_ini): Likewise.
16442 * malloc/malloc.c (malloc_hook_ini): Likewise.
16443 (realloc_hook_ini): Likewise.
16444 (memalign_hook_ini): Likewise.
16445 (__free_hook): Likewise.
16446 (__malloc_hook): Likewise.
16447 (__realloc_hook): Likewise.
16448 (__memalign_hook): Likewise.
16449 (__libc_malloc): Likewise.
16450 (__libc_free): Likewise.
16451 (__libc_realloc): Likewise.
16452 (__libc_memalign): Likewise.
16453 (__libc_valloc): Likewise.
16454 (__libc_pvalloc): Likewise.
16455 (__libc_calloc): Likewise.
16456 (__posix_memalign): Likewise.
16457 * malloc/morecore.c (__sbrk): Likewise.
16458 (__default_morecore): Likewise.
16460 * malloc/morecore.c (__default_morecore): Use ISO C prototype.
16462 * malloc/malloc.h (__malloc_ptrdiff_t): Remove macro.
16463 * malloc/morecore.c (__default_morecore): Use ptrdiff_t instead of
16464 __malloc_ptrdiff_t.
16466 * malloc/malloc.h (__malloc_size_t): Remove macro.
16467 * malloc/mcheck.c (old_malloc_hook): Use size_t instead of
16469 (old_memalign_hook): Likewise.
16470 (old_realloc_hook): Likewise.
16471 (struct hdr): Likewise.
16473 (mallochook): Likewise.
16474 (memalignhook): Likewise.
16475 (reallochook): Likewise.
16476 * malloc/mtrace.c (tr_old_malloc_hook): Likewise.
16477 (tr_old_realloc_hook): Likewise.
16478 (tr_old_memalign_hook): Likewise.
16479 (tr_mallochook): Likewise.
16480 (tr_reallochook): Likewise.
16481 (tr_memalignhook): Likewise.
16483 2013-03-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16485 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_pack): Rename to
16486 default_ldbl_pack and using as default implementation.
16487 (ldbl_unpack): Rename to default_ldbl_unpack and using as default
16489 * sysdeps/powerpc/fpu/math_ldbl.h (ldbl_extract_mantissa): Remove
16490 redundant definition.
16491 (ldbl_insert_mantissa): Likewise.
16492 (ldbl_canonicalize): Likewise.
16493 (ldbl_nearbyint): Likewise.
16494 (ldbl_pack): Rename to ldbl_pack_ppc.
16495 (ldbl_unpack): Rename to ldbl_unpack_ppc.
16496 * sysdeps/unix/sysv/linux/powerpc/Implies: Remove file.
16497 * sysdeps/powerpc/Implies: Add ieee754/ldbl-opt after ieee754/ldbl-128ibm.
16499 2013-03-08 Siddhesh Poyarekar <siddhesh@redhat.com>
16501 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Move file...
16502 * sysdeps/powerpc/power4/fpu/mpa.c: ... here.
16503 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile: Move file...
16504 * sysdeps/powerpc/power4/fpu/Makefile: ... here.
16505 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Remove file.
16506 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile: Remove file.
16507 * sysdeps/powerpc/powerpc32/power4/Implies: New file.
16508 * sysdeps/powerpc/powerpc64/power4/Implies: New file.
16510 2013-03-07 Andreas Jaeger <aj@suse.de>
16512 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
16515 2013-03-07 Siddhesh Poyarekar <siddhesh@redhat.com>
16517 * sysdeps/ieee754/dbl-64/slowexp.c [!USE_LONG_DOUBLE_FOR_MP]:
16518 Include mpa.h and declare __MPEXP.
16519 [USE_LONG_DOUBLE_FOR_MP] (__slowexp): Call __IEEE754_EXPL.
16520 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
16521 (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
16522 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Remove.
16523 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
16524 (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
16525 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Remove.
16527 * sysdeps/ieee754/dbl-64/slowpow.c [USE_LONG_DOUBLE_FOR_MP]
16528 (__slowpow): Use long double EXPL and LOGL functions to
16530 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
16531 (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
16532 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Remove.
16533 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
16534 (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
16535 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Remove.
16537 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Use
16538 intermediate variable to calculate exponent.
16540 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
16544 * sysdeps/ieee754/dbl-64/mpa.c [!NO__MUL]: Define __mul.
16545 [!NO__SQR]: Define __sqr.
16546 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: define NO__MUL
16547 and NO__SQR. Remove all code except __mul and __sqr. Include
16548 sysdeps/ieee754/dbl-64/mpa.c.
16549 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
16552 * posix/Makefile (tests): Add tst-pathconf.
16553 * posix/tst-pathconf.c: New test case.
16554 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Remove
16556 * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Likewise.
16558 2013-03-06 Patsy Franklin <pfrankli@redhat.com>
16560 * io/fcntl.h: Added a comment about AT_EACCESS and AT_REMOVEDIR.
16562 2013-03-06 Andreas Jaeger <aj@suse.de>
16564 * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_ANONYMOUS): Allow
16565 definition via __MAP_ANONYMOUS.
16567 * sysdeps/unix/sysv/linux/s390/bits/mman.h (MAP_GROWSUP): Remove,
16568 it's not part of Linux headers.
16570 * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_HUGE_SHIFT): Define.
16571 (MAP_HUGE_MASK): Define.
16573 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h (PTRACE_O_EXIT_KILL):
16575 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
16576 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h (PTRACE_O_EXIT_KILL):
16578 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
16579 * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_O_EXIT_KILL):
16581 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
16582 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h (PTRACE_O_EXITKILL):
16584 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
16586 * sysdeps/unix/sysv/linux/x86/bits/msq.h (MSG_COPY): Likewise.
16587 * sysdeps/unix/sysv/linux/generic/bits/msq.h (MSG_COPY): Define.
16588 * sysdeps/unix/sysv/linux/powerpc/bits/msq.h (MSG_COPY): Likewise.
16589 * sysdeps/unix/sysv/linux/bits/msq.h (MSG_COPY): Likewise.
16590 * sysdeps/unix/sysv/linux/s390/bits/msq.h (MSG_COPY): Likewise.
16591 * sysdeps/unix/sysv/linux/sparc/bits/msq.h (MSG_COPY): Define.
16593 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
16596 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
16597 Handle f2fs and efivarfs.
16599 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Handle
16602 * sysdeps/unix/sysv/linux/linux_fsinfo.h (F2FS_SUPER_MAGIC): Add.
16603 (EFIVARFS_MAGIC): Add.
16604 (F2FS_LINK_MAX): Add.
16606 2013-03-06 Paul Pluzhnikov <ppluzhnikov@google.com>
16608 * stdio-common/vfprintf.c: Replace __builtin_expect with
16611 2013-03-06 Joseph Myers <joseph@codesourcery.com>
16614 * sysdeps/generic/bp-sym.h: Remove file.
16615 * sysdeps/powerpc/powerpc64/bp-asm.h: Likewise.
16616 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Don't include
16617 <bp-sym.h> and <bp-asm.h>.
16618 (__longjmp): Don't use BP_SYM.
16619 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Don't include <bp-sym.h>
16621 (memcpy): Don't use BP_SYM.
16622 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Don't include
16623 <bp-sym.h> and <bp-asm.h>.
16624 (memcpy): Don't use BP_SYM.
16625 * sysdeps/powerpc/powerpc64/memcpy.S: Don't include <bp-sym.h> and
16627 (memcpy): Don't use BP_SYM.
16628 * sysdeps/powerpc/powerpc64/memset.S: Don't include <bp-sym.h> and
16630 (memset): Don't use BP_SYM.
16631 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
16632 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
16633 (__bzero): Don't use BP_SYM.
16634 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
16635 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
16636 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Don't include
16637 <bp-sym.h> and <bp-asm.h>.
16638 (memcmp): Don't use BP_SYM. Remove comment about bounded
16640 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Don't include
16641 <bp-sym.h> and <bp-asm.h>.
16642 (memcpy): Don't use BP_SYM.
16643 * sysdeps/powerpc/powerpc64/power4/memset.S: Don't include
16644 <bp-sym.h> and <bp-asm.h>.
16645 (memset): Don't use BP_SYM.
16646 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
16647 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
16648 (__bzero): Don't use BP_SYM.
16649 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
16650 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
16651 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Don't include
16652 <bp-sym.h> and <bp-asm.h>.
16653 (strncmp): Don't use BP_SYM. Remove comment about bounded
16655 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Don't include
16656 <bp-sym.h> and <bp-asm.h>.
16657 (memcpy): Don't use BP_SYM.
16658 * sysdeps/powerpc/powerpc64/power6/memset.S: Don't include
16659 <bp-sym.h> and <bp-asm.h>.
16660 (memset): Don't use BP_SYM.
16661 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
16662 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
16663 (__bzero): Don't use BP_SYM.
16664 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
16665 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
16666 * sysdeps/powerpc/powerpc64/power7/memchr.S: Don't include
16667 <bp-sym.h> and <bp-asm.h>.
16668 (__memchr): Don't use BP_SYM.
16669 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Don't include
16670 <bp-sym.h> and <bp-asm.h>.
16671 (memcmp): Don't use BP_SYM. Remove comment about bounded
16673 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Don't include
16674 <bp-sym.h> and <bp-asm.h>.
16675 (memcpy): Don't use BP_SYM.
16676 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Don't include
16677 <bp-sym.h> and <bp-asm.h>.
16678 (__mempcpy): Don't use BP_SYM.
16679 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Don't include
16680 <bp-sym.h> and <bp-asm.h>.
16681 (__memrchr): Don't use BP_SYM.
16682 * sysdeps/powerpc/powerpc64/power7/memset.S: Don't include
16683 <bp-sym.h> and <bp-asm.h>.
16684 (memset): Don't use BP_SYM.
16685 (__bzero): Likewise.
16686 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Don't include
16687 <bp-sym.h> and <bp-asm.h>.
16688 (__rawmemchr): Don't use BP_SYM.
16689 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Don't include
16690 <bp-sym.h> and <bp-asm.h>.
16691 (__STRCMP): Don't use BP_SYM.
16692 * sysdeps/powerpc/powerpc64/power7/strchr.S: Don't include
16693 <bp-sym.h> and <bp-asm.h>.
16694 (strchr): Don't use BP_SYM.
16695 * sysdeps/powerpc/powerpc64/power7/strchrnul.S: Don't include
16696 <bp-sym.h> and <bp-asm.h>.
16697 (__strchrnul): Don't use BP_SYM.
16698 * sysdeps/powerpc/powerpc64/power7/strlen.S: Don't include
16699 <bp-sym.h> and <bp-asm.h>.
16700 (strlen): Don't use BP_SYM.
16701 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Don't include
16702 <bp-sym.h> and <bp-asm.h>.
16703 (strncmp): Don't use BP_SYM. Remove comment about bounded
16705 * sysdeps/powerpc/powerpc64/power7/strnlen.S: Don't include
16706 <bp-sym.h> and <bp-asm.h>.
16707 (__strnlen): Don't use BP_SYM.
16708 * sysdeps/powerpc/powerpc64/setjmp-common.S: Don't include
16709 <bp-sym.h> and <bp-asm.h>.
16710 (__GI__setjmp): Don't use BP_SYM.
16711 (_setjmp): Likewise.
16712 (__sigsetjmp): Likewise.
16713 * sysdeps/powerpc/powerpc64/start.S: Don't include "bp-sym.h".
16714 (L(start_addresses)): Don't use BP_SYM.
16715 (_start): Likewise.
16716 * sysdeps/powerpc/powerpc64/stpcpy.S: Don't include <bp-sym.h> and
16718 (__stpcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW,
16719 STORE_RETURN_BOUNDS, CHECK_BOUNDS_HIGH and STORE_RETURN_VALUE.
16720 (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
16721 (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
16722 * sysdeps/powerpc/powerpc64/strchr.S: Don't include <bp-sym.h> and
16724 (strchr): Don't use BP_SYM, CHECK_BOUNDS_LOW, STORE_RETURN_BOUNDS,
16725 CHECK_BOUNDS_HIGH_RTN and STORE_RETURN_VALUE. Remove comment
16726 about bounded pointers.
16727 (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
16728 (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
16729 * sysdeps/powerpc/powerpc64/strcmp.S: Don't include <bp-sym.h> and
16731 (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove comment
16732 about bounded pointers. Remove GKM FIXME comments.
16733 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
16734 * sysdeps/powerpc/powerpc64/strcpy.S: Don't include <bp-sym.h> and
16736 (strcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW and
16737 STORE_RETURN_BOUNDS. Remove comment about bounded pointers.
16738 Remove GKM FIXME comments.
16739 (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
16740 (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
16741 * sysdeps/powerpc/powerpc64/strlen.S: Don't include <bp-sym.h> and
16743 (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove comment
16744 about bounded pointers. Remove GKM FIXME comment.
16745 * sysdeps/powerpc/powerpc64/strncmp.S: Don't include <bp-sym.h>
16747 (strncmp): Don't use BP_SYM. Remove comment about bounded
16749 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S: Don't include
16750 <bp-sym.h> and <bp-asm.h>.
16751 (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
16752 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Don't include
16753 <bp-sym.h> and <bp-asm.h>.
16754 (__clone): Don't use BP_SYM and DISCARD_BOUNDS. Remove GKM FIXME
16757 2013-03-05 Paul Pluzhnikov <ppluzhnikov@google.com>
16759 * stdio-common/vfprintf.c (vfprintf): Check malloc return; don't
16762 2013-03-05 David S. Miller <davem@davemloft.net>
16764 * po/es.po: Update from translation team.
16766 2013-03-05 Andreas Jaeger <aj@suse.de>
16768 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Include
16769 <bits/mman-linux.h>.
16770 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
16772 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Move include of
16773 <bits/mman-linux.h> to end of file.
16774 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
16776 * sysdeps/unix/sysv/linux/x86/bits/mman.h: Move include of
16777 <bits/mman-linux.h> to end of file.
16778 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
16780 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Move include of
16781 <bits/mman-linux.h> to end of file.
16783 * sysdeps/unix/sysv/linux/bits/mman-linux.h [!MCL_CURRENT]
16784 (MCL_CURRENT, MCL_FUTURE): Define here.
16786 2013-03-05 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
16789 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Use
16791 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
16793 2013-03-05 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
16795 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Set the
16796 fourth parameter needed for rt_sigprocmask syscall.
16797 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S:
16798 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
16799 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Likewise.
16800 * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
16801 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
16802 * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Define _NSIG8.
16804 2013-03-04 Joseph Myers <joseph@codesourcery.com>
16807 * sysdeps/powerpc/powerpc32/power4/strncmp.S (strncmp): Remove
16808 comment about bounded pointers.
16809 * sysdeps/powerpc/powerpc32/power7/strncmp.S (strncmp): Likewise.
16810 * sysdeps/powerpc/powerpc32/strncmp.S (strncmp): Likewise.
16812 2013-03-04 Andreas Jaeger <aj@suse.de>
16814 * sysdeps/unix/sysv/linux/bits/mman-linux.h: New file, with Linux
16815 common definitions.
16817 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Remove all defines
16818 provided by bits/mman-linux.h and include <bits/mman-linux.h>.
16819 * sysdeps/unix/sysv/linux/x86/bits/mman.h: Likewise.
16820 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
16821 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
16822 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
16824 2013-03-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16827 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Use
16828 __ieee754_sqrl instead of __sqrl.
16830 2013-03-01 Joseph Myers <joseph@codesourcery.com>
16832 * sysdeps/powerpc/fpu/fpu_control.h: Move to ...
16833 * sysdeps/powerpc/fpu_control.h: ... here.
16834 * sysdeps/powerpc/fpu/bits/fenvinline.h: Move to ...
16835 * sysdeps/powerpc/bits/fenvinline.h: ... here.
16836 * sysdeps/powerpc/fpu/bits/mathinline.h: Move to ...
16837 * sysdeps/powerpc/bits/mathinline.h: ... here.
16839 2013-03-01 Roland McGrath <roland@hack.frob.com>
16841 * elf/dl-hwcaps.c (_dl_important_hwcaps):
16842 Change [NEED_DL_SYSINFO || NEED_DL_SYSINFO_DSO] conditionals
16843 to just [NEED_DL_SYSINFO_DSO].
16844 * elf/dl-support.c: Likewise.
16845 * elf/dl-sysdep.c (_dl_sysdep_start): Likewise.
16846 * elf/rtld.c (dl_main): Likewise.
16847 * elf/setup-vdso.h (setup_vdso): Likewise.
16848 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Likewise.
16849 * sysdeps/unix/sysv/linux/dl-sysdep.c
16850 (_dl_discover_osversion): Likewise.
16852 2013-03-01 Carlos O'Donell <carlos@redhat.com>
16854 * csu/libc-start.c (__pthread_initialize_minimal): Revert last change.
16855 * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
16857 2013-03-01 Siddhesh Poyarekar <siddhesh@redhat.com>
16859 * NEWS: Mention libm performance improvements and non-x86 PI
16862 * csu/libc-start.c (__pthread_initialize_minimal): Change
16863 function arguments.
16864 * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
16866 2013-02-28 Joseph Myers <joseph@codesourcery.com>
16869 * sysdeps/powerpc/powerpc32/bp-asm.h: Remove file.
16870 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Don't include
16871 <bp-sym.h> and <bp-asm.h>.
16872 (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
16873 * sysdeps/powerpc/powerpc32/a2/memcpy.S: Don't include <bp-sym.h>
16875 (memcpy): Don't use BP_SYM.
16876 * sysdeps/powerpc/powerpc32/add_n.S: Don't include <bp-sym.h> and
16878 (__mpn_add_n): Don't use BP_SYM.
16879 (__mpn_add_n) [__BOUNDED_POINTERS_]: Remove conditional code.
16880 * sysdeps/powerpc/powerpc32/addmul_1.S: Don't include <bp-sym.h>
16882 (__mpn_addmul_1): Don't use BP_SYM.
16883 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
16884 * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Don't include
16886 (_setjmp): Don't use BP_SYM.
16887 (__novmx_setjmp): Likewise.
16888 (__GI__setjmp): Likewise.
16889 (__vmx_setjmp): Likewise.
16890 * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Don't include
16892 * sysdeps/powerpc/powerpc32/bzero.S: Don't include <bp-sym.h>.
16893 (__bzero): Don't use BP_SYM.
16894 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
16895 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
16896 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Don't include
16897 <bp-sym.h> and <bp-asm.h>.
16898 (memcpy): Don't use BP_SYM.
16899 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Don't include
16900 <bp-sym.h> and <bp-asm.h>.
16901 (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
16902 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Don't include
16903 <bp-sym.h> and <bp-asm.h>.
16904 (__sigsetjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
16905 * sysdeps/powerpc/powerpc32/lshift.S: Don't include <bp-sym.h> and
16907 (__mpn_lshift): Don't use BP_SYM.
16908 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
16909 * sysdeps/powerpc/powerpc32/memset.S: Don't include <bp-sym.h> and
16911 (memset): Don't use BP_SYM.
16912 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
16913 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
16914 * sysdeps/powerpc/powerpc32/mul_1.S: Don't include <bp-sym.h> and
16916 (__mpn_mul_1): Don't use BP_SYM.
16917 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
16918 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Don't include
16919 <bp-sym.h> and <bp-asm.h>.
16920 (memcmp): Don't use BP_SYM.
16921 * sysdeps/powerpc/powerpc32/power4/memcpy.S: Don't include
16922 <bp-sym.h> and <bp-asm.h>.
16923 (memcpy): Don't use BP_SYM.
16924 * sysdeps/powerpc/powerpc32/power4/memset.S: Don't include
16925 <bp-sym.h> and <bp-asm.h>.
16926 (memset): Don't use BP_SYM.
16927 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't include
16928 <bp-sym.h> and <bp-asm.h>.
16929 (strncmp): Don't use BP_SYM.
16930 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Don't include
16931 <bp-sym.h> and <bp-asm.h>.
16932 (memcpy): Don't use BP_SYM.
16933 * sysdeps/powerpc/powerpc32/power6/memset.S: Don't include
16934 <bp-sym.h> and <bp-asm.h>.
16935 (memset): Don't use BP_SYM.
16936 * sysdeps/powerpc/powerpc32/power7/memchr.S: Don't include
16937 <bp-sym.h> and <bp-asm.h>.
16938 (__memchr): Don't use BP_SYM.
16939 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Don't include
16940 <bp-sym.h> and <bp-asm.h>.
16941 (memcmp): Don't use BP_SYM.
16942 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Don't include
16943 <bp-sym.h> and <bp-asm.h>.
16944 (memcpy): Don't use BP_SYM.
16945 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Don't include
16946 <bp-sym.h> and <bp-asm.h>.
16947 (__mempcpy): Don't use BP_SYM.
16948 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Don't include
16949 <bp-sym.h> and <bp-asm.h>.
16950 (__memrchr): Don't use BP_SYM.
16951 * sysdeps/powerpc/powerpc32/power7/memset.S: Don't include
16952 <bp-sym.h> and <bp-asm.h>.
16953 (memset): Don't use BP_SYM.
16954 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Don't include
16955 <bp-sym.h> and <bp-asm.h>.
16956 (__rawmemchr): Don't use BP_SYM.
16957 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Don't include
16958 <bp-sym.h> and <bp-asm.h>.
16959 (__STRCMP): Don't use BP_SYM.
16960 * sysdeps/powerpc/powerpc32/power7/strchr.S: Don't include
16961 <bp-sym.h> and <bp-asm.h>.
16962 (strchr): Don't use BP_SYM.
16963 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Don't include
16964 <bp-sym.h> and <bp-asm.h>.
16965 (__strchrnul): Don't use BP_SYM.
16966 * sysdeps/powerpc/powerpc32/power7/strlen.S: Don't include
16967 <bp-sym.h> and <bp-asm.h>.
16968 (strlen): Don't use BP_SYM.
16969 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Don't include
16970 <bp-sym.h> and <bp-asm.h>.
16971 (strncmp): Don't use BP_SYM.
16972 * sysdeps/powerpc/powerpc32/power7/strnlen.S: Don't include
16973 <bp-sym.h> and <bp-asm.h>.
16974 (__strnlen): Don't use BP_SYM.
16975 * sysdeps/powerpc/powerpc32/rshift.S: Don't include <bp-sym.h> and
16977 (__mpn_rshift): Don't use BP_SYM.
16978 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
16979 * sysdeps/powerpc/powerpc32/setjmp-common.S: Don't include
16980 <bp-sym.h> and <bp-asm.h>.
16981 (__sigsetjmp): Don't use BP_SYM.
16982 * sysdeps/powerpc/powerpc32/start.S: Don't include "bp-sym.h".
16983 (L(start_addresses)): Don't use BP_SYM.
16984 (_start): Likewise.
16985 * sysdeps/powerpc/powerpc32/stpcpy.S: Don't include <bp-sym.h> and
16987 (__stpcpy): Don't use BP_SYM and macros from bp-asm.h.
16988 (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
16989 (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
16990 * sysdeps/powerpc/powerpc32/strchr.S: Don't include <bp-sym.h> and
16992 (strchr): Don't use BP_SYM.h and macros from bp-asm.h.
16993 (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
16994 (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
16995 * sysdeps/powerpc/powerpc32/strcmp.S: Don't include <bp-sym.h> and
16997 (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove GKM FIXME
16999 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
17000 * sysdeps/powerpc/powerpc32/strcpy.S: Don't include <bp-sym.h> and
17002 (strcpy): Don't use BP_SYM and macros from bp-asm.h. Remove GKM
17004 (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
17005 (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
17006 * sysdeps/powerpc/powerpc32/strlen.S: Don't include <bp-sym.h> and
17008 (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove GKM FIXME
17010 * sysdeps/powerpc/powerpc32/strncmp.S: Don't include <bp-sym.h>
17012 (strncmp): Don't use BP_SYM,
17013 * sysdeps/powerpc/powerpc32/sub_n.S: Don't include <bp-sym.h> and
17015 (__mpn_sub_n): Don't use BP_SYM.
17016 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
17017 * sysdeps/powerpc/powerpc32/submul_1.S: Don't include <bp-sym.h>
17019 (__mpn_submul_1): Don't use BP_SYM.
17020 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
17021 * sysdeps/unix/sysv/linux/powerpc/powerpc32/brk.S: Don't include
17022 <bp-sym.h> and <bp-asm.h>.
17023 (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
17024 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Don't include
17025 <bp-sym.h> and <bp-asm.h>.
17026 (__clone): Don't use BP_SYM and DISCARD_BOUNDS. Remove GKM FIXME
17029 2013-02-28 Siddhesh Poyarekar <siddhesh@redhat.com>
17031 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (add_magnitudes):
17032 Use ZK to minimize writes to Z.
17033 (sub_magnitudes): Simplify code a bit.
17034 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (add_magnitudes):
17035 Use ZK to minimize writes to Z.
17036 (sub_magnitudes): Simplify code a bit.
17038 2013-02-27 Roland McGrath <roland@hack.frob.com>
17040 * csu/gmon-start.c: Add special exception to license text.
17042 2013-02-27 Richard Henderson <rth@redhat.com>
17044 * scripts/config.guess: Update from config.git.
17045 * scripts/config.sub: Likewise.
17047 2013-02-27 Siddhesh Poyarekar <siddhesh@redhat.com>
17049 * sysdeps/ieee754/dbl-64/mpsqrt.c: Reformat.
17051 * sysdeps/ieee754/dbl-64/mpatan2.c: Reformat.
17053 * sysdeps/ieee754/dbl-64/mpatan.c: Reformat.
17055 * sysdeps/ieee754/dbl-64/mptan.c: Reformat.
17057 * sysdeps/ieee754/dbl-64/mplog.c: Reformat.
17059 2013-02-26 Roland McGrath <roland@hack.frob.com>
17061 * Makeconfig (%.v.i, %.v): Move these pattern rules outside of
17062 [$(build-shared = yes].
17064 2013-02-26 Siddhesh Poyarekar <siddhesh@redhat.com>
17066 * sysdeps/ieee754/dbl-64/mpa.c: Include alloca.h.
17067 (__mul): Reduce iterations for calculating mantissa.
17069 * sysdeps/ieee754/dbl-64/sincos32.c (__c32): Use MPONE and
17071 (__mpranred): Likewise.
17074 * malloc/memusagestat.c (main): Draw graphs for heap and stack
17075 only if MAXSIZE_HEAP and MAXSIZE_STACK are non-zero.
17077 2013-02-26 Paul Eggert <eggert@cs.ucla.edu>
17079 * posix/regex_internal.h [__GNUC__ < 3 + (__GNUC_MINOR__ < 1]:
17080 Define __attribute__.
17082 2013-02-26 Siddhesh Poyarekar <siddhesh@redhat.com>
17084 * locale/elem-hash.h (elem_hash): Mark as pure and possibly
17086 * posix/regex_internal.h (__attribute): Remove.
17087 [!_LIBC && __i386__]: Use __attribute__ instead of __attribute.
17088 (re_string_context_at): Likewise.
17089 (bitset_not): Use __attribute__ and mark function as possibly
17091 (bitset_merge): Likewise.
17092 (bitset_mask): Likewise.
17093 (re_string_char_size_at): Likewise.
17094 (re_string_wchar_at): Likewise.
17095 (re_string_elem_size_at): Likewise.
17097 2013-02-25 Siddhesh Poyarekar <siddhesh@redhat.com>
17099 * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Remove commented
17103 * sysdeps/ieee754/dbl-64/mpa.c (mcr): Use long instead of int.
17107 (denorm): Likewise.
17108 (__dbl_mp): Likewise.
17109 (add_magnitudes): Likewise.
17110 (sub_magnitudes): Likewise.
17114 * sysdeps/ieee754/dbl-64/slowexp.c: Reformat in GNU coding
17117 * sysdeps/ieee754/dbl-64/slowpow.c: Reformat in GNU coding
17120 * sysdeps/ieee754/dbl-64/slowexp.c (__slowexp): Remove commented
17123 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mp_dbl): Sync
17124 up changes with default code.
17125 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mp_dbl):
17128 2013-02-24 Allan McRae <allan@archlinux.org>
17130 * manual/socket.texi (The Internet Namespace): Order menu items
17131 to match that in the file.
17133 * manual/libc-texinfo.sh: Use @detailmenu around the detailed
17134 node listing of the info page menu.
17136 2013-02-21 Joseph Myers <joseph@codesourcery.com>
17139 * sysdeps/i386/bp-asm.h: Remove file.
17140 * sysdeps/i386/add_n.S: Do not include "bp-sym.h" and "bp-asm.h".
17141 (PARMS): Do not use macros from bp-asm.h.
17145 (__mpn_add_n): Do not use BP_SYM
17146 * sysdeps/i386/addmul_1.S: Do not include "bp-sym.h" and
17148 (PARMS): Do not use macros from bp-asm.h.
17151 (__mpn_addmul_1): Do not use BP_SYM
17152 * sysdeps/i386/bsd-_setjmp.S: Do not include "bp-sym.h" and
17154 (PARMS): Do not use macros from bp-asm.h.
17155 (SIGMSK): Likewise.
17156 (_setjmp): Likewise. Do not use BP_SYM.
17157 * sysdeps/i386/bsd-setjmp.S: Do not include "bp-sym.h" and
17159 (PARMS): Do not use macros from bp-asm.h.
17160 (SIGMSK): Likewise.
17161 (setjmp): Likewise. Do not use BP_SYM.
17162 * sysdeps/i386/fpu/s_frexp.S: Do not include "bp-sym.h" and
17164 (PARMS): Do not use macros from bp-asm.h.
17165 (__frexp): Do not use BP_SYM.
17167 * sysdeps/i386/fpu/s_frexpf.S: Do not include "bp-sym.h" and
17169 (PARMS): Do not use macros from bp-asm.h.
17170 (__frexpf): Do not use BP_SYM.
17171 (frexpf): Likewise.
17172 * sysdeps/i386/fpu/s_frexpl.S: Do not include "bp-sym.h" and
17174 (PARMS): Do not use macros from bp-asm.h.
17175 (__frexpl): Do not use BP_SYM.
17176 (frexpl): Likewise.
17177 * sysdeps/i386/fpu/s_remquo.S: Do not include "bp-sym.h" and
17179 (PARMS): Do not use macros from bp-asm.h.
17180 (__remquo): Do not use BP_SYM.
17181 (remquo): Likewise.
17182 * sysdeps/i386/fpu/s_remquof.S: Do not include "bp-sym.h" and
17184 (PARMS): Do not use macros from bp-asm.h.
17185 (__remquof): Do not use BP_SYM.
17186 (remquof): Likewise.
17187 * sysdeps/i386/fpu/s_remquol.S: Do not include "bp-sym.h" and
17189 (PARMS): Do not use macros from bp-asm.h.
17190 (__remquol): Do not use BP_SYM.
17191 (remquol): Likewise.
17192 * sysdeps/i386/i486/strcat.S: Do not include "bp-sym.h" and
17194 (PARMS): Do not use macros from bp-asm.h.
17197 (strcat): Remove GKM FIXME comment. Do not use BP_SYM.
17198 * sysdeps/i386/i486/strlen.S: Do not include "bp-sym.h" and
17200 (PARMS): Do not use macros from bp-asm.h.
17201 (strlen): Do not use BP_SYM.
17202 * sysdeps/i386/i586/add_n.S: Do not include "bp-sym.h" and
17204 (PARMS): Do not use macros from bp-asm.h.
17208 (__mpn_add_n): Do not use BP_SYM.
17209 * sysdeps/i386/i586/addmul_1.S: Do not include "bp-sym.h" and
17211 (PARMS): Do not use macros from bp-asm.h.
17214 (__mpn_addmul_1): Do not use BP_SYM.
17215 * sysdeps/i386/i586/bzero.S (__bzero): Do not use BP_SYM in
17218 * sysdeps/i386/i586/lshift.S: Do not include "bp-sym.h" and
17220 (PARMS): Do not use macros from bp-asm.h.
17223 (__mpn_lshift): Do not use BP_SYM.
17224 * sysdeps/i386/i586/memcpy.S: Do not include "bp-sym.h" and
17226 (PARMS): Do not use macros from bp-asm.h.
17230 (memcpy): Likewise. Do not use BP_SYM.
17231 * sysdeps/i386/i586/mempcpy.S (__mempcpy): Do not use BP_SYM in
17232 libc_hidden_def and weak_alias.
17233 (mempcpy): Do not use BP_SYM in weak_alias.
17234 * sysdeps/i386/i586/memset.S: Do not include "bp-sym.h" and
17236 (PARMS): Do not use macros from bp-asm.h.
17239 [!BZERO_P] (CHR): Likewise.
17240 (memset): Likewise. Do not use BP_SYM.
17241 * sysdeps/i386/i586/mul_1.S: Do not include "bp-sym.h" and
17243 (PARMS): Do not use macros from bp-asm.h.
17246 (__mpn_mul_1): Do not use BP_SYM.
17247 * sysdeps/i386/i586/rshift.S: Do not include "bp-sym.h" and
17249 (PARMS): Do not use macros from bp-asm.h.
17252 (__mpn_rshift): Do not use BP_SYM.
17253 * sysdeps/i386/i586/strchr.S: Do not include "bp-sym.h" and
17255 (PARMS): Do not use macros from bp-asm.h.
17258 (strchr): Likewise. Do not use BP_SYM.
17259 (index): Do not use BP_SYM in weak_alias.
17260 * sysdeps/i386/i586/strcpy.S: Do not include "bp-sym.h" and
17262 (PARMS): Do not use macros from bp-asm.h.
17265 (STRCPY): Likewise. Remove GKM FIXME comment. Do not use BP_SYM.
17266 * sysdeps/i386/i586/strlen.S: Do not include "bp-sym.h" and
17268 (PARMS): Do not use macros from bp-asm.h.
17269 (strlen): Do not use BP_SYM.
17270 * sysdeps/i386/i586/sub_n.S: Do not include "bp-sym.h" and
17272 (PARMS): Do not use macros from bp-asm.h.
17276 (__mpn_sub_n): Do not use BP_SYM.
17277 * sysdeps/i386/i586/submul_1.S: Do not include "bp-sym.h" and
17279 (PARMS): Do not use macros from bp-asm.h.
17282 (__mpn_submul_1): Do not use BP_SYM.
17283 * sysdeps/i386/i686/add_n.S: Do not include "bp-sym.h" and
17285 (PARMS): Do not use macros from bp-asm.h.
17289 (__mpn_add_n): Do not use BP_SYM.
17290 * sysdeps/i386/i686/bzero.S (__bzero): Do not use BP_SYM in
17293 * sysdeps/i386/i686/memcmp.S: Do not include "bp-sym.h" and
17295 (PARMS): Do not use macros from bp-asm.h.
17298 (memcmp): Do not use BP_SYM.
17299 (bcmp): Do not use BP_SYM in weak_alias.
17300 * sysdeps/i386/i686/memcpy.S: Do not include "bp-sym.h" and
17302 (PARMS): Do not use macros from bp-asm.h.
17306 (memcpy): Likewise. Do not use BP_SYM.
17307 * sysdeps/i386/i686/memmove.S: Do not include "bp-sym.h" and
17309 (PARMS): Do not use macros from bp-asm.h.
17313 (memmove): Likewise. Do not use BP_SYM.
17314 * sysdeps/i386/i686/mempcpy.S: Do not include "bp-sym.h" and
17316 (PARMS): Do not use macros from bp-asm.h.
17320 (__mempcpy): Likewise. Do not use BP_SYM.
17321 (mempcpy): Do not use BP_SYM in weak_alias.
17322 * sysdeps/i386/i686/memset.S: Do not include "bp-sym.h" and
17324 (PARMS): Do not use macros from bp-asm.h.
17327 [!BZERO_P] (CHR): Likewise.
17328 (memset): Likewise. Do not use BP_SYM.
17329 * sysdeps/i386/i686/strcmp.S: Do not include "bp-sym.h" and
17331 (PARMS): Do not use macros from bp-asm.h.
17333 (strcmp): Do not use BP_SYM.
17334 * sysdeps/i386/i686/strtok.S: Do not include "bp-sym.h" and
17336 (PARMS): Do not use macros from bp-asm.h.
17339 [USE_AS_STRTOK_R] (SAVE): Likewise.
17340 (FUNCTION): Likewise. Do not use BP_SYM.
17341 * sysdeps/i386/i686/strtok_r.S (__strtok_r): Do not use BP_SYM in
17343 (strtok_r): Likewise.
17344 (__GI___strtok_r): Likewise.
17345 * sysdeps/i386/lshift.S: Do not include "bp-sym.h" and "bp-asm.h".
17346 (PARMS): Do not use macros from bp-asm.h.
17349 (__mpn_lshift): Do not use BP_SYM.
17350 * sysdeps/i386/memchr.S: Do not include "bp-sym.h" and "bp-asm.h".
17351 (PARMS): Do not use macros from bp-asm.h.
17354 (__memchr): Do not use BP_SYM.
17355 (memchr): Do not use BP_SYM in weak_alias.
17356 * sysdeps/i386/memcmp.S: Do not include "bp-sym.h" and "bp-asm.h".
17357 (PARMS): Do not use macros from bp-asm.h.
17360 (memcmp): Do not use BP_SYM.
17361 (bcmp): Do not use BP_SYM in weak_alias.
17362 * sysdeps/i386/mul_1.S: Do not include "bp-sym.h" and "bp-asm.h".
17363 (PARMS): Do not use macros from bp-asm.h.
17366 (__mpn_mul_1): Do not use BP_SYM.
17367 * sysdeps/i386/rawmemchr.S: Do not include "bp-sym.h" and
17369 (PARMS): Do not use macros from bp-asm.h.
17372 (__rawmemchr): Do not use BP_SYM.
17373 (rawmemchr): Do not use BP_SYM in weak_alias.
17374 * sysdeps/i386/rshift.S: Do not include "bp-sym.h" and "bp-asm.h".
17375 (PARMS): Do not use macros from bp-asm.h.
17378 (__mpn_rshift): Do not use BP_SYM.
17379 * sysdeps/i386/setjmp.S: Do not include "bp-sym.h" and "bp-asm.h".
17380 (PARMS): Do not use macros from bp-asm.h.
17381 (SIGMSK): Likewise.
17382 (__sigsetjmp): Likewise. Do not use BP_SYM.
17383 * sysdeps/i386/start.S: Do not include "bp-sym.h".
17384 (_start): Do not use BP_SYM.
17385 * sysdeps/i386/stpcpy.S: Do not include "bp-sym.h" and "bp-asm.h".
17386 (PARMS): Do not use macros from bp-asm.h.
17389 (__stpcpy): Likewise. Do not use BP_SYM.
17390 (stpcpy): Do not use BP_SYM in weak_alias.
17391 * sysdeps/i386/stpncpy.S: Do not include "bp-sym.h" and
17393 (PARMS): Do not use macros from bp-asm.h.
17397 (__stpncpy): Likewise. Do not use BP_SYM.
17398 (stpncpy): Do not use BP_SYM in weak_alias.
17399 * sysdeps/i386/strchr.S: Do not include "bp-sym.h" and "bp-asm.h".
17400 (PARMS): Do not use macros from bp-asm.h.
17403 (strchr): Likewise. Do not use BP_SYM.
17404 * sysdeps/i386/strchrnul.S: Do not include "bp-sym.h" and
17406 (PARMS): Do not use macros from bp-asm.h.
17409 (__strchrnul): Likewise. Do not use BP_SYM.
17410 (strchrnul): Do not use BP_SYM in weak_alias.
17411 * sysdeps/i386/strcspn.S: Do not include "bp-sym.h" and
17413 (PARMS): Do not use macros from bp-asm.h.
17415 (strcspn): Do not use BP_SYM.
17416 * sysdeps/i386/strpbrk.S: Do not include "bp-sym.h" and
17418 (PARMS): Do not use macros from bp-asm.h.
17421 (strpbrk): Likewise. Do not use BP_SYM.
17422 * sysdeps/i386/strrchr.S: Do not include "bp-sym.h" and
17424 (PARMS): Do not use macros from bp-asm.h.
17427 (strrchr): Likewise. Do not use BP_SYM.
17428 * sysdeps/i386/strspn.S: Do not include "bp-sym.h" and "bp-asm.h".
17429 (PARMS): Do not use macros from bp-asm.h.
17431 (strspn): Do not use BP_SYM.
17432 * sysdeps/i386/strtok.S: Do not include "bp-sym.h" and "bp-asm.h".
17433 (PARMS): Do not use macros from bp-asm.h.
17437 (FUNCTION): Likewise. Do not use BP_SYM.
17438 * sysdeps/i386/strtok_r.S (__strtok_r): Do not use BP_SYM in
17440 (strtok_r): Likewise.
17441 (__GI___strtok_r): Likewise.
17442 * sysdeps/i386/sub_n.S: Do not include "bp-sym.h" and "bp-asm.h".
17443 (PARMS): Do not use macros from bp-asm.h.
17447 (__mpn_sub_n): Do not use BP_SYM.
17448 * sysdeps/i386/submul_1.S: Do not include "bp-sym.h" and
17450 (PARMS): Do not use macros from bp-asm.h.
17453 (__mpn_submul_1): Do not use BP_SYM.
17454 * sysdeps/unix/i386/sysdep.S: Do not include <bp-asm.h> and
17456 * sysdeps/unix/sysv/linux/i386/clone.S: Do not include <bp-sym.h>
17458 (PARMS): Do not use macros from bp-asm.h.
17463 (__clone): Do not use BP_SYM.
17464 (clone): Do not use BP_SYM in weak_alias.
17465 * sysdeps/unix/sysv/linux/i386/mmap64.S: Do not include <bp-sym.h>
17467 (PARMS): Do not use macros from bp-asm.h.
17469 (__mmap64): Do not use BP_SYM.
17470 (mmap64): Do not use BP_SYM in weak_alias.
17471 * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
17472 <bp-sym.h> and <bp-asm.h>.
17473 (PARMS): Do not use macros from bp-asm.h.
17474 (__posix_fadvise64_l64): Do not use BP_SYM.
17475 * sysdeps/unix/sysv/linux/i386/semtimedop.S
17476 (PARMS): Do not use macros from bp-asm.h.
17478 (semtimedop): Do not use BP_SYM.
17479 * sysdeps/unix/sysv/linux/i386/sysdep.h: Do not include <bp-sym.h>
17482 2013-02-21 Allan McRae <allan@archlinux.org>
17484 * manual/message.texi (Charset conversion in gettext):
17485 Move @end statement to beginning of line.
17487 2013-02-21 Siddhesh Poyarekar <siddhesh@redhat.com>
17489 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Mark as
17491 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
17494 * sysdeps/ieee754/dbl-64/mpa.c (norm): Fix whitespace.
17495 (denorm): Likewise.
17496 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (norm): Likewise.
17497 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (norm): Likewise.
17499 2013-02-21 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
17501 * sysdeps/s390/s390-32/dl-trampoline.S (_dl_runtime_profile): Do a
17502 tail-call to the resolved function if pltexit isn't needed.
17504 2013-02-21 Siddhesh Poyarekar <siddhesh@redhat.com>
17506 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Mark X
17507 or Y being zero as being unlikely.
17508 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
17511 2013-02-20 Carlos O'Donell <carlos@redhat.com>
17513 * manual/nss.texi (System Databases and Name Service Switch):
17514 Remove frobnicate @pxref.
17516 2013-02-20 Thomas Schwinge <thomas@codesourcery.com>
17518 * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
17519 __attribute__ ((unused)) to __attribute__ ((__unused__)).
17521 2013-02-20 Petr Machata <pmachata@redhat.com>
17523 * elf/elf.h (R_ARM_TARGET1): New macro.
17524 (R_ARM_SBREL31, R_ARM_V4BX, R_ARM_TARGET2): Likewise.
17525 (R_ARM_PREL31, R_ARM_MOVW_ABS_NC, R_ARM_MOVT_ABS): Likewise.
17526 (R_ARM_MOVW_PREL_NC, R_ARM_MOVT_PREL): Likewise.
17527 (R_ARM_THM_MOVW_ABS_NC, R_ARM_THM_MOVT_ABS): Likewise.
17528 (R_ARM_THM_MOVW_PREL_NC, R_ARM_THM_MOVT_PREL): Likewise.
17529 (R_ARM_THM_JUMP19, R_ARM_THM_JUMP6): Likewise.
17530 (R_ARM_THM_ALU_PREL_11_0, R_ARM_THM_PC12): Likewise.
17531 (R_ARM_ABS32_NOI, R_ARM_REL32_NOI): Likewise.
17532 (R_ARM_ALU_PC_G0_NC, R_ARM_ALU_PC_G0): Likewise.
17533 (R_ARM_ALU_PC_G1_NC, R_ARM_ALU_PC_G1): Likewise.
17534 (R_ARM_ALU_PC_G2, R_ARM_LDR_PC_G1, R_ARM_LDR_PC_G2): Likewise.
17535 (R_ARM_LDRS_PC_G0, R_ARM_LDRS_PC_G1): Likewise.
17536 (R_ARM_LDRS_PC_G2, R_ARM_LDC_PC_G0): Likewise.
17537 (R_ARM_LDC_PC_G1, R_ARM_LDC_PC_G2): Likewise.
17538 (R_ARM_ALU_SB_G0_NC, R_ARM_ALU_SB_G0): Likewise.
17539 (R_ARM_ALU_SB_G1_NC, R_ARM_ALU_SB_G1): Likewise.
17540 (R_ARM_ALU_SB_G2, R_ARM_LDR_SB_G0, R_ARM_LDR_SB_G1): Likewise.
17541 (R_ARM_LDR_SB_G2, R_ARM_LDRS_SB_G0): Likewise.
17542 (R_ARM_LDRS_SB_G1, R_ARM_LDRS_SB_G2): Likewise.
17543 (R_ARM_LDC_SB_G0, R_ARM_LDC_SB_G1, R_ARM_LDC_SB_G2): Likewise.
17544 (R_ARM_MOVW_BREL_NC, R_ARM_MOVT_BREL): Likewise.
17545 (R_ARM_MOVW_BREL, R_ARM_THM_MOVW_BREL_NC): Likewise.
17546 (R_ARM_THM_MOVT_BREL, R_ARM_THM_MOVW_BREL): Likewise.
17547 (R_ARM_PLT32_ABS, R_ARM_GOT_ABS, R_ARM_GOT_PREL): Likewise.
17548 (R_ARM_GOT_BREL12, R_ARM_GOTOFF12, R_ARM_GOTRELAX): Likewise.
17549 (R_ARM_TLS_LDO12, R_ARM_TLS_LE12, R_ARM_TLS_IE12GP): Likewise.
17550 (R_ARM_PRIVATE_0, R_ARM_PRIVATE_1, R_ARM_PRIVATE_2): Likewise.
17551 (R_ARM_PRIVATE_3, R_ARM_PRIVATE_4, R_ARM_PRIVATE_5): Likewise.
17552 (R_ARM_PRIVATE_6, R_ARM_PRIVATE_7, R_ARM_PRIVATE_8): Likewise.
17553 (R_ARM_PRIVATE_9, R_ARM_PRIVATE_10): Likewise.
17554 (R_ARM_PRIVATE_11, R_ARM_PRIVATE_12): Likewise.
17555 (R_ARM_PRIVATE_13, R_ARM_PRIVATE_14): Likewise.
17556 (R_ARM_PRIVATE_15, R_ARM_ME_TOO): Likewise.
17557 (R_ARM_THM_TLS_DESCSEQ16, R_ARM_THM_TLS_DESCSEQ32): Likewise.
17558 (R_ARM_THM_GOT_BREL12): Likewise.
17559 (R_ARM_PC24, R_ARM_PLT32): Updated a comment at this macro.
17560 (R_ARM_THM_PC11, R_ARM_THM_PC9): Likewise.
17561 (R_ARM_THM_ABS5, R_ARM_THM_PC22): Added a comment to this macro.
17562 (R_ARM_THM_PC8, R_ARM_THM_SWI8, R_ARM_XPC25): Likewise.
17563 (R_ARM_THM_XPC22, R_ARM_ALU_PCREL_7_0): Likewise.
17564 (R_ARM_ALU_PCREL_15_8, R_ARM_ALU_PCREL_23_15): Likewise.
17565 (R_ARM_LDR_SBREL_11_0, R_ARM_ALU_SBREL_19_12): Likewise.
17566 (R_ARM_ALU_SBREL_27_20, R_ARM_TLS_DESCSEQ): Likewise.
17567 (R_ARM_THM_TLS_DESCSEQ): Fixed whitespace.
17569 2013-02-20 Thomas Schwinge <thomas@codesourcery.com>
17571 * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
17572 __attribute_used__ to __attribute__ ((unused)).
17574 2013-02-20 Siddhesh Poyarekar <siddhesh@redhat.com>
17576 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Copy over comment from
17578 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Fix
17579 comment formatting.
17580 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul): Likewise.
17582 2013-02-19 Joseph Myers <joseph@codesourcery.com>
17585 * sysdeps/i386/bp-asm.h [__BOUNDED_POINTERS__] (BOUNDS_VIOLATED):
17587 (ENTER): Remove both macro definitions.
17589 (CHECK_BOUNDS_LOW): Likewise.
17590 (CHECK_BOUNDS_HIGH): Likewise.
17591 (CHECK_BOUNDS_BOTH): Likewise.
17592 (CHECK_BOUNDS_BOTH_WIDE): Likewise.
17593 (RETURN_BOUNDED_POINTER): Likewise.
17594 (RETURN_NULL_BOUNDED_POINTER): Likewise.
17595 (PUSH_ERRNO_LOCATION_RETURN): Likewise.
17596 (POP_ERRNO_LOCATION_RETURN): Likewise.
17597 * sysdeps/i386/add_n.S (__mpn_add_n): Do not use removed macros.
17598 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
17599 * sysdeps/i386/addmul_1.S (__mpn_addmul_1): Do not use removed
17601 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
17602 * sysdeps/i386/bsd-_setjmp.S (_setjmp): Do not use removed macros.
17603 * sysdeps/i386/bsd-setjmp.S (setjmp): Likewise.
17604 * sysdeps/i386/fpu/s_frexp.S (__frexp): Likewise.
17605 * sysdeps/i386/fpu/s_frexpf.S (__frexpf): Likewise.
17606 * sysdeps/i386/fpu/s_frexpl.S (__frexpl): Likewise.
17607 * sysdeps/i386/fpu/s_remquo.S (__remquo): Likewise.
17608 * sysdeps/i386/fpu/s_remquof.S (__remquof): Likewise.
17609 * sysdeps/i386/fpu/s_remquol.S (__remquol): Likewise.
17610 * sysdeps/i386/i486/strcat.S (strcat): Likewise.
17611 * sysdeps/i386/i486/strlen.S (strlen): Likewise.
17612 * sysdeps/i386/i586/add_n.S (__mpn_add_n): Likewise.
17613 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
17614 * sysdeps/i386/i586/addmul_1.S (__mpn_addmul_1): Do not use
17616 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
17617 * sysdeps/i386/i586/lshift.S (__mpn_lshift): Do not use removed
17619 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
17620 * sysdeps/i386/i586/memcpy.S (memcpy): Do not use removed macros.
17621 * sysdeps/i386/i586/memset.S (memset): Likewise.
17622 * sysdeps/i386/i586/mul_1.S (__mpn_mul_1): Likewise.
17623 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
17624 * sysdeps/i386/i586/rshift.S (__mpn_rshift): Do not use removed
17626 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
17627 * sysdeps/i386/i586/strchr.S (strchr): Do not use removed macros.
17628 Change uses of L(2) to L(out).
17629 * sysdeps/i386/i586/strcpy.S (STRCPY): Do not use removed macros.
17630 * sysdeps/i386/i586/strlen.S (strlen): Likewise.
17631 * sysdeps/i386/i586/sub_n.S (__mpn_sub_n): Likewise.
17632 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
17633 * sysdeps/i386/i586/submul_1.S (__mpn_submul_1): Do not use
17635 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
17636 * sysdeps/i386/i686/add_n.S (__mpn_add_n): Do not use removed
17638 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
17639 * sysdeps/i386/i686/memcmp.S (ENTRANCE): Do not use macro ENTER.
17640 (RETURN): Do not use macro LEAVE.
17641 * sysdeps/i386/i686/memcpy.S (memcpy): Do not use removed macros.
17642 * sysdeps/i386/i686/memmove.S (memmove): Likewise.
17643 * sysdeps/i386/i686/mempcpy.S (mempcpy): Likewise.
17644 * sysdeps/i386/i686/memset.S (memset): Likewise.
17645 * sysdeps/i386/i686/strcmp.S (strcmp): Likewise.
17646 (strcmp) [!__BOUNDED_POINTERS__]: Make code unconditional.
17647 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
17648 * sysdeps/i386/i686/strtok.S (save_ptr) [__BOUNDED_POINTERS__]:
17650 (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
17651 (FUNCTION): Do not use removed macros. Combine labels L(1_1),
17652 L(1_2) and L(1_3) into L(1).
17653 (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
17654 * sysdeps/i386/lshift.S (__mpn_lshift): Do not use removed macros.
17655 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
17656 * sysdeps/i386/memchr.S (__memchr): Do not use removed macros.
17657 (__memchr) [__BOUNDED_POINTERS__]: Remove conditional code.
17658 * sysdeps/i386/memcmp.S (memcmp): Do not use removed macros.
17659 * sysdeps/i386/mul_1.S (__mpn_mul_1): Likewise.
17660 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
17661 * sysdeps/i386/rawmemchr.S (__rawmemchr): Do not use removed
17663 * sysdeps/i386/rshift.S (__mpn_rshift): Likewise.
17664 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
17665 * sysdeps/i386/setjmp.S (__sigsetjmp): Do not use removed macros.
17666 * sysdeps/i386/stpcpy.S (__stpcpy): Likewise.
17667 * sysdeps/i386/stpncpy.S (__stpncpy): Likewise.
17668 (__stpncpy) [__BOUNDED_POINTERS__]: Remove conditional code.
17669 * sysdeps/i386/strchr.S (strchr): Do not use removed macros.
17670 * sysdeps/i386/strchrnul.S (__strchrnul): Likewise.
17671 * sysdeps/i386/strcspn.S (strcspn): Likewise.
17672 * sysdeps/i386/strpbrk.S (strpbrk): Likewise.
17673 * sysdeps/i386/strrchr.S (strrchr): Likewise.
17674 * sysdeps/i386/strspn.S (strspn): Likewise.
17675 * sysdeps/i386/strtok.S (save_ptr) [__BOUNDED_POINTERS__]: Remove
17677 (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
17678 (FUNCTION) [!__BOUNDED_POINTERS__]: Likewise.
17679 (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
17680 (FUNCTION): Do not use removed macros. Combine labels L(1_2) and
17681 L(1_3) into L(1_1).
17682 * sysdeps/i386/sub_n.S (__mpn_sub_n): Do not use removed macros.
17683 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
17684 * sysdeps/i386/submul_1.S (__mpn_submul_1): Do not use removed
17686 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
17688 2013-02-19 Jakub Jelinek <jakub@redhat.com>
17690 * stdlib/strtod_l.c (__mpn_lshift_1): Rewritten as function-like
17693 2013-02-19 Siddhesh Poyarekar <siddhesh@redhat.com>
17695 * math/atest-exp.c (exp_mpn): Remove ROUND.
17696 * math/atest-exp2.c (exp_mpn): Likewise.
17697 * math/atest-sincos.c (sincosx_mpn): Remove ROUND and CHK.
17699 * stdlib/cxa_thread_atexit_impl.c: Fix Copyright year.
17700 * stdlib/tst-tls-atexit-lib.c: Likewise.
17701 * stdlib/tst-tls-atexit.c: Likewise.
17703 2013-02-18 Mike Frysinger <vapier@gentoo.org>
17705 * stdlib/stdlib.h (aligned_alloc): Use __attribute_malloc__
17706 and __attribute_alloc_size__.
17708 2013-02-18 Mike Frysinger <vapier@gentoo.org>
17710 * include/programs/xmalloc.h: Change __attribute_alloc_size to
17711 __attribute_alloc_size__.
17712 * include/sys/cdefs.h (__attribute_alloc_size): Macro removed.
17713 * misc/sys/cdefs.h (__attribute_alloc_size__): New macro.
17715 2013-02-18 Mike Frysinger <vapier@gentoo.org>
17717 * include/programs/xmalloc.h: New file.
17718 * catgets/gencat.c: Include it.
17719 (xmalloc, xcalloc, xrealloc, xstrdup): Don't declare them.
17720 * elf/pldd.c: Likewise.
17721 * iconv/iconv_charmap.c: Likewise.
17722 * iconv/iconvconfig.c: Likewise.
17723 * iconv/strtab.c: Likewise.
17724 * locale/programs/locale.c: Likewise.
17725 * locale/programs/localedef.h: Likewise.
17726 * locale/programs/simple-hash.c: Likewise.
17727 * nscd/nscd.h: Likewise.
17728 * nss/makedb.c: Likewise.
17729 * sysdeps/generic/ldconfig.h: Likewise.
17731 2013-02-18 Siddhesh Poyarekar <siddhesh@redhat.com>
17733 * Versions.def: Add GLIBC_2.18.
17734 * include/link.h (struct link_map): New member l_tls_dtor_count.
17735 * include/stdlib.h (__cxa_thread_atexit_impl): Declare.
17736 (__call_tls_dtors): Likewise.
17737 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add
17738 __cxa_thread_atexit_impl.
17739 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
17741 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
17743 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
17745 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
17747 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
17748 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist:
17750 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist:
17752 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
17753 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
17755 * stdlib/Makefile (routines): Add __cxa_thread_atexit_impl.
17756 (tests): Add test case tst-tls-atexit.
17757 (modules-names): Add shared library for tst-tls-atexit.
17758 * stdlib/Versions (GLIBC_2.18): Add __cxa_thread_atexit_impl.
17759 (GLIBC_PRIVATE): Add __call_tls_dtors.
17760 * stdlib/cxa_thread_atexit_impl.c: New file with helper function
17762 * stdlib/exit.c (__run_exit_handlers): Call __call_tls_dtors.
17763 * stdlib/tst-tls-atexit.c: New test case.
17764 * stdlib/tst-tls-atexit-lib.c: New test case.
17766 * misc/tst-pselect.c: Include stdlib.h for declaration of exit.
17768 * elf/Versions (ld): Add _dl_find_dso_for_object.
17769 * elf/dl-addr.c (_dl_addr): Use _dl_find_dso_for_object.
17770 * elf/dl-open.c (_dl_find_dso_for_object): New function.
17771 (dl_open_worker): Use _dl_find_dso_for_object.
17772 * elf/dl-sym.c (do_sym): Likewise.
17773 * sysdeps/generic/ldsodefs.h: Declare _dl_find_dso_for_object.
17775 2013-02-18 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
17777 * sysdeps/s390/s390-64/dl-trampoline.S (_dl_runtime_resolve):
17778 Syntactic changes only.
17779 (_dl_runtime_profile): Do a tail-call to the resolved function.
17781 2013-02-17 Joseph Myers <joseph@codesourcery.com>
17784 * sysdeps/x86_64/bp-asm.h: Remove file.
17785 * sysdeps/unix/sysv/linux/x86_64/clone.S: Do not include
17786 <bp-sym.h> and <bp-asm.h>.
17787 (__clone): Do not use BP_SYM.
17788 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Do not include
17789 <bp-sym.h> and <bp-asm.h>.
17790 * sysdeps/unix/x86_64/sysdep.S: Likewise.
17791 * sysdeps/x86_64/bsd-_setjmp.S: Do not include "bp-sym.h" and
17793 (_setjmp): Do not use BP_SYM.
17794 * sysdeps/x86_64/bsd-setjmp.S: Do not include "bp-sym.h" and
17796 (setjmp): Do not use BP_SYM.
17797 * sysdeps/x86_64/mempcpy.S (__mempcpy): Do not use BP_SYM in
17799 (mempcpy): Do not use BP_SYM in weak_alias.
17800 * sysdeps/x86_64/rtld-strchr.S: Do not include "bp-sym.h" and
17802 (strchr): Do not use BP_SYM.
17803 * sysdeps/x86_64/rtld-strlen.S: Do not include "bp-sym.h" and
17805 * sysdeps/x86_64/setjmp.S (__sigsetjmp): Do not use BP_SYM.
17806 * sysdeps/x86_64/start.S: Do not include "bp-sym.h".
17807 (_start): Do not use BP_SYM.
17808 * sysdeps/x86_64/strcat.S: Do not include "bp-sym.h" and
17810 (strcat): Do not use BP_SYM.
17811 * sysdeps/x86_64/strcmp.S: Do not include "bp-sym.h" and
17813 (STRCMP): Do not use BP_SYM.
17814 * sysdeps/x86_64/strcpy.S: Do not include "bp-sym.h" and
17816 (STRCPY): Do not use BP_SYM.
17817 * sysdeps/x86_64/strcpy_chk.S: Do not include "bp-sym.h" and
17819 * sysdeps/x86_64/strtok.S: Do not include "bp-sym.h" and
17821 (FUNCTION): Do not use BP_SYM.
17822 * sysdeps/x86_64/strtok_r.S (strtok_r): Do not use BP_SYM in
17824 (__GI___strtok_r): Do not use BP_SYM in strong_alias.
17826 2013-02-17 Andreas Jaeger <aj@suse.de>
17828 * time/Versions: Sort entries.
17829 * string/Versions: Likewise.
17830 * resolv/Versions: Likewise.
17831 * posix/Versions: Likewise.
17832 * iconv/Versions: Likewise.
17833 * elf/Versions: Likewise.
17834 * wcsmbs/Versions: Likewise.
17836 2013-02-15 Siddhesh Poyarekar <siddhesh@redhat.com>
17838 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Avoid using LIM in
17839 loop termination condition.
17841 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Use intermediate
17842 variable to calculate EZ.
17845 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Fix determination of
17846 the lower precision input.
17848 2013-02-15 Joseph Myers <joseph@codesourcery.com>
17851 * Makeconfig [!+link-bounded] (+link-bounded): Remove variable.
17852 [!link-extra-libs] (link-extra-libs-bounded): Likewise.
17853 (run-via-rtld-prefix): Do not handle %-bp tests.
17854 (test-via-rtld-prefix): Do not mention %-bp tests in comment.
17855 (all-object-suffixes): Remove .ob.
17856 (bppfx): Remove variable.
17857 [$(build-bounded) = yes] (object-suffixes): Do not add .ob.
17858 [$(build-bounded) = yes] (CPPFLAGS-.ob): Remove variable.
17859 [$(build-bounded) = yes] (CFLAGS-.ob): Likewise.
17860 [$(build-bounded) = yes] (libtype.ob): Likewise.
17861 * Makerules (elide-routines.ob): Remove variable.
17862 (do-tests-clean): Do not handle *-bp.out.
17863 (common-mostlyclean): Do not handle *-bp and *-bp.out.
17864 * Rules [$(build-bounded) = yes] (tests-bp.out): Remove variable.
17865 [$(build-bounded) = yes] (xtests-bp.out): Likewise.
17866 (tests): Do not include $(tests-bp.out).
17867 (xtests): Do not include $(xtests-bp.out).
17868 [$(build-bounded) = yes] (binaries-bounded): Remove variable.
17869 [$(build-bounded) = yes] ($(addprefix
17870 $(objpfx),$(binaries-bounded))): Remove rule.
17871 ($(objpfx)%-bp.out): Remove rule.
17872 * config.make.in (build-bounded): Remove variable.
17873 * crypt/Makefile [$(build-bounded) = yes]
17874 ($(tests:%=$(objpfx)%-bp)): Remove dependency.
17875 * csu/Makefile [$(build-bounded) = yes] (extra-objs): Do not
17876 append to variable.
17877 [$(build-bounded) = yes] (install-lib): Likewise.
17878 [$(build-bounded) = yes] (generated): Likewise.
17879 [!start-installed-name-rule] ($(objpfx)b$(start-installed-name)):
17881 * intl/Makefile [$(build-bounded) = yes]
17882 ($(multithread-test-srcs:%=$(objpfx)%-bp)): Remove dependency.
17883 * math/Makefile [$(build-bounded) = yes]
17884 ($(tests:%=$(objpfx)%-bp): Likewise.
17885 * misc/Makefile [$(build-bounded) = yes]
17886 ($(objpfx)tst-tsearch-bp): Likewise.
17887 * nptl/Makeconfig (bounded-thread-library): Remove variable.
17888 * rt/Makefile [$(build-bounded) = yes] ($(tests:%=$(objpfx)%-bp)):
17890 * string/Makefile (o-objects.ob): Remove variable.
17891 * sysdeps/i386/i686/Makefile [$(config-asflags-i686) = yes]
17892 (CFLAGS-.ob): Remove variable.
17893 [$(config-asflags-i686) = yes] (ASFLAGS-.ob): Likewise.
17894 * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-.ob): Remove
17895 both definitions of variable.
17896 * sysdeps/sparc/sparc64/Makefile [$(have-as-vis3) = yes]
17897 (ASFLAGS-.ob): Remove variable.
17899 2013-02-14 Joseph Myers <joseph@codesourcery.com>
17902 * config.h.in [USE_REGPARMS && !PROF && !__BOUNDED_POINTERS__]:
17903 Remove __BOUNDED_POINTERS__ from condition.
17904 * elf/dl-runtime.c [!PROF && !__BOUNDED_POINTERS__]: Likewise.
17905 * string/bits/string2.h [!__NO_STRING_INLINES &&
17906 !__BOUNDED_POINTERS__]: Likewise.
17907 * sysdeps/i386/dl-machine.h [!PROF && !__BOUNDED_POINTERS__]:
17909 * sysdeps/unix/sysv/linux/shmat.c (shmat) [__BOUNDED_POINTERS__]:
17910 Remove conditional code.
17911 * sysdeps/x86/bits/string.h [!__NO_STRING_INLINES &&
17912 __USE_STRING_INLINES && __GNUC__ && __GNUC__ >= 2 &&
17913 !__BOUNDED_POINTERS__]: Remove __BOUNDED_POINTERS__ from
17917 * csu/libc-start.c: Do not include <bp-sym.h>.
17918 [!LIBC_START_MAIN] (LIBC_START_MAIN): Do not use BP_SYM.
17919 * elf/dl-open.c: Do not include <bp-sym.h>.
17920 (_dl_sysdep_start): Do not use BP_SYM in weak_extern.
17921 * math/fegetenv.c: Do not include <bp-sym.h>.
17922 (fegetenv): Do not use BP_SYM in versioned symbols.
17923 * nptl/sysdeps/pthread/bits/libc-lockP.h
17924 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]: Do not include
17926 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
17927 (__pthread_mutex_init): Do not use BP_SYM in weak_extern.
17928 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
17929 (__pthread_mutex_destroy): Likewise.
17930 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
17931 (__pthread_mutex_lock): Likewise.
17932 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
17933 (__pthread_mutex_trylock): Likewise.
17934 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
17935 (__pthread_mutex_unlock): Likewise.
17936 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
17937 (__pthread_mutexattr_init): Likewise.
17938 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
17939 (__pthread_mutexattr_destroy): Likewise.
17940 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
17941 (__pthread_mutexattr_settype): Likewise.
17942 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
17943 (__pthread_rwlock_init): Likewise.
17944 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
17945 (__pthread_rwlock_destroy): Likewise.
17946 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
17947 (__pthread_rwlock_rdlock): Likewise.
17948 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
17949 (__pthread_rwlock_tryrdlock): Likewise.
17950 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
17951 (__pthread_rwlock_wrlock): Likewise.
17952 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
17953 (__pthread_rwlock_trywrlock): Likewise.
17954 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
17955 (__pthread_rwlock_unlock): Likewise.
17956 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
17957 (__pthread_key_create): Likewise.
17958 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
17959 (__pthread_setspecific): Likewise.
17960 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
17961 (__pthread_getspecific): Likewise.
17962 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern] (__pthread_once):
17964 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
17965 (_pthread_cleanup_push_defer): Likewise.
17966 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
17967 (_pthread_cleanup_pop_restore): Likewise.
17968 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
17969 (pthread_setcancelstate): Likewise.
17970 * string/memchr.c [HAVE_BP_SYM_H || _LIBC]: Do not include
17972 [!(HAVE_BP_SYM_H || _LIBC)] (BP_SYM): Remove macro definition.
17973 (memchr): Do not use BP_SYM in weak_alias.
17974 * sysdeps/i386/fpu/fegetenv.c: Do not include <bp-sym.h>.
17975 (fegetenv): Do not use BP_SYM in versioned symbols.
17976 * sysdeps/i386/fpu/fesetenv.c: Do not include <bp-sym.h>.
17977 (fesetenv): Do not use BP_SYM in versioned symbols.
17978 * sysdeps/i386/fpu/feupdateenv.c: Do not include <bp-sym.h>.
17979 (feupdateenv): Do not use BP_SYM in versioned symbols.
17980 * sysdeps/i386/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
17981 (fesetexceptflag): Do not use BP_SYM in versioned symbols.
17982 * sysdeps/posix/open64.c: Do not include <bp-sym.h>.
17983 (__open64): Do not use BP_SYM in weak_alias and libc_hidden_weak.
17984 (open64): Do not use BP_SYM in weak_alias.
17985 * sysdeps/powerpc/fpu/fegetenv.c: Do not include <bp-sym.h>.
17986 (fegetenv): Do not use BP_SYM in versioned symbols.
17987 * sysdeps/powerpc/fpu/fesetenv.c: Do not include <bp-sym.h>.
17988 (fesetenv): Do not use BP_SYM in versioned symbols.
17989 * sysdeps/powerpc/fpu/feupdateenv.c: Do not include <bp-sym.h>.
17990 (feupdateenv): Do not use BP_SYM in versioned symbols.
17991 * sysdeps/powerpc/fpu/fgetexcptflg.c: Do not include <bp-sym.h>.
17992 (fegetexceptflag): Do not use BP_SYM in versioned symbols.
17993 * sysdeps/powerpc/fpu/fraiseexcpt.c: Do not include <bp-sym.h>.
17994 (feraiseexcept): Do not use BP_SYM in versioned symbols.
17995 * sysdeps/powerpc/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
17996 (fesetexceptflag): Do not use BP_SYM in versioned symbols.
17997 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Do not include
17999 (__libc_start_main): Do not use BP_SYM.
18001 2013-02-14 Siddhesh Poyarekar <siddhesh@redhat.com>
18003 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cpy): Remove
18004 redundant return line.
18006 (denorm): Likewise.
18007 (dbl_mp): Likewise.
18008 (sub_magnitudes): Likewise.
18014 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cpy): Likewise.
18016 (denorm): Likewise.
18017 (dbl_mp): Likewise.
18018 (sub_magnitudes): Likewise.
18025 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use __sqr
18027 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
18028 * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Likewise.
18031 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): New function.
18032 * sysdeps/ieee754/dbl-64/mpa.h (__sqr): Declare.
18033 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): use __sqr instead
18034 of __mul for squares.
18035 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__sqr): New
18037 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__sqr):
18039 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define __sqr.
18040 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
18042 2013-02-13 Joseph Myers <joseph@codesourcery.com>
18045 * misc/sys/cdefs.h [!__BOUNDED_POINTERS__]: Remove conditional
18047 * csu/libc-start.c (LIBC_START_MAIN): Do not use __unbounded in
18048 prototype or function definition. Rename ubp_* variables and
18049 parameters. Remove argv definitions conditional on
18050 [__BOUNDED_POINTERS__].
18051 * debug/backtrace.c (__backtrace): Do not use __unbounded.
18052 * elf/dl-runtime.c (_dl_fixup): Likewise.
18053 * include/set-hooks.h (RUN_HOOK): Likewise.
18054 * stdio-common/vfprintf.c (JUMP): Do not use __unbounded in either
18056 * string/strcpy.c (strcpy): Do not use __unbounded.
18057 * sysdeps/generic/frame.h (struct layout): Likewise.
18058 * sysdeps/gnu/bits/msq.h (struct msqid_ds): Likewise.
18059 * sysdeps/i386/dl-machine.h (_dl_fixup): Likewise.
18060 * sysdeps/powerpc/powerpc32/backtrace.c (struct layout): Likewise.
18061 * sysdeps/powerpc/powerpc64/backtrace.c (struct layout): Likewise.
18062 * sysdeps/sparc/backtrace.c (struct layout): Likewise.
18063 (__backtrace): Likewise.
18064 * sysdeps/unix/sysv/linux/aio_sigqueue.c (__aio_sigqueue): Do not
18066 * sysdeps/unix/sysv/linux/fxstat.c (__fxstat): Likewise.
18067 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
18068 * sysdeps/unix/sysv/linux/gai_sigqueue.c (__gai_sigqueue):
18070 * sysdeps/unix/sysv/linux/i386/brk.c (__brk): Likewise.
18071 * sysdeps/unix/sysv/linux/i386/fxstat.c (__fxstat): Likewise.
18072 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
18073 * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
18074 * sysdeps/unix/sysv/linux/i386/msgctl.c (struct __old_msqid_ds):
18075 Do not use __unbounded.
18076 * sysdeps/unix/sysv/linux/i386/setrlimit.c (__new_setrlimit):
18077 Rename __unboundedrlimits parameter to rlimits in prototype.
18078 * sysdeps/unix/sysv/linux/i386/shmctl.c (struct __old_shmid_ds):
18079 Do not use __unbounded.
18080 * sysdeps/unix/sysv/linux/i386/sigaction.c (__libc_sigaction): Do
18081 not use __ptrvalue.
18082 * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
18083 * sysdeps/unix/sysv/linux/llseek.c (__llseek): Likewise.
18084 * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
18085 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Do not use
18086 __ptrvalue or __unbounded.
18087 (__mmap64) [__BOUNDED_POINTERS__]: Remove conditional code.
18088 * sysdeps/unix/sysv/linux/msgctl.c (struct __old_msqid_ds): Do not
18090 (__new_msgctl): Do not use __ptrvalue.
18091 * sysdeps/unix/sysv/linux/msgrcv.c (struct ipc_kludge): Do not use
18093 (__libc_msgrcv): Do not use __ptrvalue.
18094 * sysdeps/unix/sysv/linux/powerpc/libc-start.c (struct
18095 startup_info): Do not use __unbounded.
18096 (__libc_start_main): Likewise. Rename ubp_* variables and
18097 parameters. Remove argv definitions conditional on
18098 [__BOUNDED_POINTERS__].
18099 * sysdeps/unix/sysv/linux/ptrace.c (ptrace): Do not use
18101 * sysdeps/unix/sysv/linux/semctl.c (struct __old_semid_ds): Do not
18103 * sysdeps/unix/sysv/linux/shmat.c (shmat): Do not use __unbounded
18105 * sysdeps/unix/sysv/linux/shmctl.c (struct __old_shmid_ds): Do not
18107 (__new_shmctl): Do not use __ptrvalue.
18108 * sysdeps/unix/sysv/linux/shmdt.c (shmdt): Likewise.
18109 * sysdeps/unix/sysv/linux/sigaction.c (__libc_sigaction):
18111 * sysdeps/unix/sysv/linux/sigqueue.c (__sigqueue): Likewise.
18112 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c
18113 (__libc_sigaction): Likewise.
18114 * sysdeps/unix/sysv/linux/sysctl.c (__sysctl): Likewise.
18115 * sysdeps/unix/sysv/linux/x86_64/sigaction.c (__libc_sigaction):
18117 * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
18119 2013-02-13 Ondřej Bílka <neleai@seznam.cz>
18121 * stdlib/Makefile (headers): Add bits/stdlib-bsearch.h.
18123 * string/mempcpy.c: Implement by calling memcpy.
18125 2013-02-13 Siddhesh Poyarekar <siddhesh@redhat.com>
18127 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove NFA.
18129 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Faster polynomial
18132 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Don't bother with zero
18133 values in the mantissa.
18135 * sysdeps/ieee754/dbl-64/mpa.c (add_magnitudes): Use ZK to
18136 minimize writes to Z.
18137 (sub_magnitudes): Simplify code a bit.
18139 2013-02-12 Roland McGrath <roland@hack.frob.com>
18141 * include/libc-symbols.h (stub_warning): Remove "warning: " prefix
18142 from the message. The linker prefixes all warnings with that already.
18144 2013-02-12 Andreas Schwab <schwab@suse.de>
18147 * posix/regexec.c (extend_buffers): Add parameter min_len.
18148 (check_matching): Pass minimum needed length.
18149 (clean_state_log_if_needed): Likewise.
18150 (get_subexp): Likewise.
18151 * posix/Makefile (tests): Add bug-regex34.
18152 (bug-regex34-ENV): Define.
18153 * posix/bug-regex34.c: New file.
18156 * posix/regcomp.c (parse_bracket_exp): When looking up collating
18157 elements compare against the byte sequence of it, not its name.
18158 * posix/Makefile (tests): Add bug-regex35.
18159 (bug-regex35-ENV): Define.
18160 * posix/bug-regex35.c: New file.
18162 2013-02-11 Tom de Vries <tom@codesourcery.com>
18164 * string/str-two-way.h: Fix typo RESULT_TYPE -> RETURN_TYPE in
18166 Add RET0_IF_0 and CHECK_EOL to macro list in comment.
18167 (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J): Remove superfluous undef.
18168 (CHECK_EOL): Add undef.
18170 2013-02-11 Ondřej Bílka <neleai@seznam.cz>
18172 * bits/stdlib-bsearch.h: New file.
18173 * stdlib/bsearch.c: Include bits/stdlib-bsearch.h.
18174 * stdlib/stdlib.h: Likewise.
18176 2013-02-11 Roland McGrath <roland@hack.frob.com>
18178 * manual/conf.texi (General Limits): Fix SSIZE_MAX type to ssize_t.
18179 * manual/errno.texi (Error Messages): Fix typo in error_print_progname
18181 * manual/search.texi (Array Search Function): Add missing const in
18183 * manual/resource.texi (Limits on Resources): Fix RLIM_INFINITY
18184 declaration to use rlim_t.
18185 (Basic Scheduling Functions): Remove erroneous const from
18186 sched_getparam prototype. Remove erroneous * from
18187 sched_get_priority_max and sched_get_priority_min prototypes.
18188 (Resource Usage): Fix summary @comment on vtimes to refer to
18189 sys/vtimes.h rather than vtimes.h.
18190 Add missing *s in vtimes prototype.
18191 (Limits on Resources): Fix ulimit prototype to return long int.
18192 * manual/math.texi (SVID Random): Fix lrand48_r and mrand48_r
18193 prototypes to use long int rather than double.
18194 (BSD Random): Fix initstate and setstate to use char *, not void *.
18195 * manual/llio.texi (Asynchronous Reads/Writes): Fix lio_listio64
18196 prototype to make second argument 'struct aiocb64 *const[]'.
18197 Fix aio_read64 and aio_write64 prototypes to use struct aiocb64.
18198 (Status of AIO Operations): Remove erroneous const in aio_return and
18199 aio_return64 prototypes.
18200 (Synchronizing I/O): Fix sync prototype to return void.
18201 * manual/startup.texi (Suboptions): Remove an erroneous const in
18202 getsubopt prototype.
18203 * manual/getopt.texi (Using Getopt): Add a const in getopt prototype.
18204 * manual/users.texi (Lookup Netgroup): Fix getnetgrent_r prototype to
18205 use size_t rather than int.
18206 (Scanning All Users): Likewise for getpwent_r.
18207 (Setting Groups): Add missing const to setgroups prototype.
18208 * manual/sysinfo.texi (mtab): Fix typo in getmntent_r prototype.
18209 * manual/socket.texi (Host Names): Fix gethostbyaddr and
18210 gethostbyaddr_r prototypes to use socklen_t rather than size_t and
18211 'const void *' rather than 'const char *'.
18212 (Host Address Functions): Likewise for inet_ntop.
18213 (Networks Database): Fix getnetbyaddr prototype to use uint32_t.
18214 (Receiving Data): Fix recv, recvfrom, recvmsg prototypes to use
18215 ssize_t for return value.
18216 (Sending Data): Likewise for send, sendto, sendmsg.
18217 (Socket Option Functions): Add a missing const in setsockopt prototype.
18218 * manual/stdio.texi (Simple Output): Fix fputwc_unlocked prototype to
18219 use wchar_t for the argument.
18220 (Formatted Input Functions): Fix swscanf prototype to use wchar_t *.
18221 * manual/arith.texi (Control Functions): Fix fegetexcept prototype to
18223 (Normalization Functions): Fix scalb, scalbf, scalbl prototypes to use
18224 double/float/long double for second argument.
18225 Fix return types of significand, significandf, significandl.
18226 * manual/filesys.texi (Setting Permissions): Use mode_t for second
18227 argument in fchmod prototype.
18228 (File Owner): Use uid_t and gid_t in fchown prototype.
18229 (File Times): Add const to utimes, futimes, and lutimes prototypes.
18230 (Making Special Files): Use mode_t and dev_t in mknod prototype.
18231 (Scanning Directory Content): Fix scandir and scandir64 prototypes to
18232 use 'const struct dirent **' as argument types to CMP function pointer
18234 (Symbolic Links): Fix readlink prototype with ssize_t as return value.
18235 (File Times): Fix summary magic @comment for struct utimbuf and utime
18236 to refer to utime.h, not time.h.
18237 * manual/string.texi (Argz Functions): Add missing const in
18238 argz_extract and argz_next prototypes.
18239 (Finding Tokens in a String): Likewise for basename.
18240 (String/Array Comparison): Fix typo in wcscasecmp prototype.
18241 (Copying and Concatenation): Fix typo in wmemmove prototype.
18242 * manual/signal.texi (Using Pause): Use (void) in pause prototype.
18243 (Signal Stack): Remove erroneous const in sigstack prototype.
18244 * manual/time.texi (Setting an Alarm): Add missing const in setitimer
18246 (Simple Calendar Time): Likewise for stime.
18247 * manual/terminal.texi (BSD Terminal Modes): Add missing const in stty
18249 * manual/sysinfo.texi (System Parameters): Fix mentions of sysctl.h to
18250 say sys/sysctl.h instead.
18251 * manual/syslog.texi (syslog; vsyslog): Add missing const in syslog
18252 and vsyslog prototypes.
18254 2013-02-11 Tom de Vries <tom@codesourcery.com>
18256 * string/Makefile (CFLAGS-bug-strstr1.c, CFLAGS-bug-strcasestr1.c):
18259 2013-02-11 Roland McGrath <roland@hack.frob.com>
18261 * misc/sys/mman.h: Fix typo in mremap comment.
18263 2013-02-08 Roland McGrath <roland@hack.frob.com>
18265 * manual/examples/mkfsock.c (make_named_socket): Don't add one for
18266 the '\0' terminator.
18268 2013-02-08 Joseph Myers <joseph@codesourcery.com>
18271 * debug/segfault.c: Don't include <bp-checks.h>.
18272 * sysdeps/generic/bp-checks.h: Remove file.
18273 * sysdeps/unix/sysv/linux/getdents.c: Don't include <bp-checks.h>.
18274 (__GETDENTS): Don't use CHECK_N.
18275 * sysdeps/unix/sysv/linux/i386/brk.c: Don't include <bp-checks.h>.
18276 * sysdeps/unix/sysv/linux/i386/getgroups.c: Likewise.
18277 (__getgroups): Don't use CHECK_N.
18278 * sysdeps/unix/sysv/linux/i386/setgroups.c: Likewise.
18279 (setgroups): Don't use CHECK_N.
18280 * sysdeps/unix/sysv/linux/mmap64.c: Don't include <bp-checks.h>.
18281 * sysdeps/unix/sysv/linux/msgrcv.c: Likewise.
18282 (__libc_msgrcv): Don't use CHECK_N.
18283 * sysdeps/unix/sysv/linux/msgsnd.c: Don't include <bp-checks.h>.
18284 (__libc_msgsnd): Don't use CHECK_N.
18285 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Don't include
18287 (__libc_pread): Don't use CHECK_N.
18288 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Don't
18289 include <bp-checks.h>.
18290 (__libc_pread64): Don't use CHECK_N.
18291 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Don't
18292 include <bp-checks.h>.
18293 (__libc_pwrite): Don't use CHECK_N.
18294 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Don't
18295 include <bp-checks.h>.
18296 (__libc_pwrite64): Don't use CHECK_N.
18297 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Don't include
18299 (__libc_pread): Don't use CHECK_N.
18300 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Don't
18301 include <bp-checks.h>.
18302 (__libc_pread64): Don't use CHECK_N.
18303 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Don't
18304 include <bp-checks.h>.
18305 (__libc_pwrite): Don't use CHECK_N.
18306 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Don't
18307 include <bp-checks.h>.
18308 (__libc_pwrite64): Don't use CHECK_N.
18309 * sysdeps/unix/sysv/linux/pread.c: Don't include <bp-checks.h>.
18310 (do_pread): Don't use CHECK_N.
18311 * sysdeps/unix/sysv/linux/pread64.c: Don't include <bp-checks.h>.
18312 (do_pread64): Don't use CHECK_N.
18313 * sysdeps/unix/sysv/linux/pwrite.c: Don't include <bp-checks.h>.
18314 (do_pwrite): Don't use CHECK_N.
18315 * sysdeps/unix/sysv/linux/pwrite64.c: Don't include <bp-checks.h>.
18316 (do_pwrite64): Don't use CHECK_N.
18317 * sysdeps/unix/sysv/linux/readv.c: Don't include <bp-checks.h>.
18318 (__libc_readv): Don't use CHECK_N.
18319 * sysdeps/unix/sysv/linux/semop.c: Don't include <bp-checks.h>.
18320 (semop): Don't use CHECK_N.
18321 * sysdeps/unix/sysv/linux/semtimedop.c: Don't include
18323 (semtimedop): Don't use CHECK_N.
18324 * sysdeps/unix/sysv/linux/sh/pread.c: Don't include <bp-checks.h>.
18325 (__libc_pread): Don't use CHECK_N.
18326 * sysdeps/unix/sysv/linux/sh/pread64.c: Don't include
18328 (__libc_pread64): Don't use CHECK_N.
18329 * sysdeps/unix/sysv/linux/sh/pwrite.c: Don't include
18331 (__libc_pwrite): Don't use CHECK_N.
18332 * sysdeps/unix/sysv/linux/sh/pwrite64.c: Don't include
18334 (__libc_pwrite64): Don't use CHECK_N.
18335 * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c: Don't include
18337 (__libc_msgrcv): Don't use CHECK_N.
18338 * sysdeps/unix/sysv/linux/sysctl.c: Don't include <bp-checks.h>.
18339 (__sysctl): Don't use CHECK_N. Remove GKM FIXME comment.
18340 * sysdeps/unix/sysv/linux/writev.c: Don't include <bp-checks.h>.
18341 (__libc_writev): Don't use CHECK_N.
18343 2013-02-08 Roland McGrath <roland@hack.frob.com>
18345 * string/strcpy.c: Removed unused variable.
18347 * Makeconfig (+sysdep-includes): Define with := rather than =.
18348 Use an existing include/ subdir of each sysdeps dir before it.
18350 2013-02-08 Carlos O'Donell <carlos@redhat.com>
18352 * nscd/connection.c (register_traced_file): Comment function.
18353 [HAVE_INOTIFY] (union __inev): Define.
18354 [HAVE_INOTIFY] (inotify_check_files): New function.
18355 [HAVE_INOTIFY] (clear_db_cache): Likewise.
18356 [HAVE_INOTIFY] (main_loop_poll): Call inotify_check_files and
18358 [HAVE_INOTIFY] (main_loop_epoll): Likewise.
18360 2013-02-08 Carlos O'Donell <carlos@redhat.com>
18362 * elf/dl-cache.c (_dl_load_cache_lookup): Comment that cache is
18363 loaded if not already and that a failure is permanent.
18365 2013-02-08 Carlos O'Donell <carlos@redhat.com>
18368 * sysdeps/generic/ldconfig.h: Define FLAG_ARM_LIBSF.
18369 * elf/cache.c (print_entry): Add FLAG_ARM_LIBSF support.
18371 2013-02-08 Joseph Myers <joseph@codesourcery.com>
18374 * sysdeps/generic/bp-checks.h (CHECK_1): Remove all definitions.
18375 (CHECK_1_NULL_OK): Likewise.
18376 * sysdeps/unix/sysv/linux/fxstat.c: Do not include <bp-checks.h>.
18377 (__fxstat): Do not use CHECK_1.
18378 * sysdeps/unix/sysv/linux/fxstat64.c: Do not include
18380 (___fxstat64): Do not use CHECK_1.
18381 * sysdeps/unix/sysv/linux/fxstatat.c: Do not include
18383 (__fxstatat): Do not use CHECK_1.
18384 * sysdeps/unix/sysv/linux/fxstatat64.c: Do not include
18386 (__fxstatat64): Do not use CHECK_1.
18387 * sysdeps/unix/sysv/linux/i386/fxstat.c: Do not include
18389 (__fxstat): Do not use CHECK_1.
18390 * sysdeps/unix/sysv/linux/i386/fxstatat.c: Do not include
18392 (__fxstatat): Do not use CHECK_1.
18393 * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
18395 (__getresgid): Do not use CHECK_1.
18396 * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
18398 (__getresuid): Do not use CHECK_1.
18399 * sysdeps/unix/sysv/linux/i386/lxstat.c: Do not include
18401 (__lxstat): Do not use CHECK_1.
18402 * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
18404 (__old_msgctl): Do not use CHECK_1.
18405 (__new_msgctl): Likewise.
18406 * sysdeps/unix/sysv/linux/i386/setrlimit.c: Do not include
18408 (__new_setrlimit): Do not use CHECK_1.
18409 * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
18411 (__old_shmctl): Do not use CHECK_1.
18412 (__new_shmctl): Likewise.
18413 * sysdeps/unix/sysv/linux/i386/xstat.c: Do not include
18415 (__xstat): Do not use CHECK_1.
18416 * sysdeps/unix/sysv/linux/lxstat.c: Do not include <bp-checks.h>.
18417 (__lxstat): Do not use CHECK_1.
18418 * sysdeps/unix/sysv/linux/lxstat64.c: Do not include
18420 (___lxstat64): Do not use CHECK_1.
18421 * sysdeps/unix/sysv/linux/msgctl.c: Do not include <bp-checks.h>.
18422 (__old_msgctl): Do not use CHECK_1.
18423 (__new_msgctl): Likewise.
18424 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Do not include
18426 (__gettimeofday): Do not use CHECK_1.
18427 * sysdeps/unix/sysv/linux/ptrace.c: Do not include <bp-checks.h>.
18428 (ptrace) [__BOUNDED_POINTERS__]: Remove conditional code.
18429 * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Do not include
18431 (__gettimeofday): Do not use CHECK_1.
18432 * sysdeps/unix/sysv/linux/shmctl.c: Do not include <bp-checks.h>.
18433 (__old_shmctl): Do not use CHECK_1_NULL_OK.
18434 (__new_shmctl): Do not use CHECK_1.
18435 * sysdeps/unix/sysv/linux/sigtimedwait.c: Do not include
18437 (do_sigtimedwait): Do not use CHECK_1.
18438 * sysdeps/unix/sysv/linux/sigwaitinfo.c: Do not include
18440 (do_sigwaitinfo): Do not use CHECK_1.
18441 * sysdeps/unix/sysv/linux/sparc/sparc64/msgctl.c: Do not include
18443 (msgctl): Do not use CHECK_1.
18444 * sysdeps/unix/sysv/linux/sparc/sparc64/shmctl.c: Do not include
18446 (shmctl): Do not use CHECK_1.
18447 * sysdeps/unix/sysv/linux/ustat.c: Do not include <bp-checks.h>.
18448 (ustat): Do not use CHECK_1.
18449 * sysdeps/unix/sysv/linux/wordsize-64/fxstat.c: Do not include
18451 (__fxstat): Do not use CHECK_1.
18452 * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Do not include
18454 (__fxstatat): Do not use CHECK_1.
18455 * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c: Do not include
18457 (__lxstat): Do not use CHECK_1.
18458 * sysdeps/unix/sysv/linux/wordsize-64/xstat.c: Do not include
18460 (__xstat): Do not use CHECK_1.
18461 * sysdeps/unix/sysv/linux/xstat.c: Do not include <bp-checks.h>.
18462 (__xstat): Do not use CHECK_1.
18463 * sysdeps/unix/sysv/linux/xstat64.c: Do not include <bp-checks.h>.
18464 (___xstat64): Do not use CHECK_1.
18467 * sysdeps/generic/bp-checks.h (CHECK_BOUNDS_LOW): Remove all
18469 (CHECK_BOUNDS_HIGH): Likewise.
18470 * string/strcpy.c: Do not include <bp-checks.h>.
18471 (strcpy): Do not use CHECK_BOUNDS_LOW and CHECK_BOUNDS_HIGH.
18473 2013-02-07 Roland McGrath <roland@hack.frob.com>
18475 * nscd/nscd-client.h (__nscd_drop_map_ref):
18476 Add __attribute__ ((unused)).
18477 * nis/nss-nisplus.h (niserr2nss): Likewise.
18479 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Define it only
18480 under [!(USE_AS_STRCASESTR && STRCASESTR_NONASCII)].
18482 * csu/libc-tls.c (init_static_tls, init_slotinfo):
18483 Remove inline keyword.
18484 * include/rounding-mode.h (round_away): Likewise.
18485 * libio/wfileops.c (adjust_wide_data): Likewise.
18486 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Likewise.
18487 (__m128i_strloadu_tolower): Likewise.
18488 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c
18489 (__m128i_strloadu_tolower): Likewise.
18490 * time/mktime.c (ydhms_diff): Likewise.
18491 * locale/elem-hash.h (elem_hash): Likewise.
18492 * locale/setlocale.c (setdata): Likewise.
18493 * posix/regex_internal.h (re_string_char_size_at): Likewise.
18494 (re_string_wchar_at): Likewise.
18495 (bitset_not, bitset_merge, bitset_mask): Likewise.
18496 [!(__GNUC__ > 3)] (inline): Remove macro.
18497 * nscd/nscd-client.h (__nscd_drop_map_ref): Remove inline keyword.
18498 * elf/dl-deps.c (_dl_map_object_deps: preload): Likewise.
18499 * elf/tlsdeschtab.h (_dl_tlsdesc_resolve_early_return_p): Likewise.
18500 (_dl_tlsdesc_wake_up_held_fixups): Likewise.
18501 * string/memcmp.c (memcmp_bytes): Likewise.
18502 * locale/programs/locarchive.c (compute_hashval): Likewise.
18503 * sysdeps/ieee754/dbl-64/x2y2m1.c (mul_split): Likewise.
18504 * sysdeps/unix/sysv/linux/fips-private.h (fips_enabled_p): Likewise.
18505 * resolv/res_send.c (evNowTime, evCmpTime): Likewise.
18506 * nss/getent.c (print_rpc, print_protocols): Likewise.
18507 (print_passwd, print_group, print_aliases): Likewise.
18508 * nis/nss-nisplus.h (niserr2nss): Likewise.
18509 * nscd/connections.c (restart_p): Likewise.
18510 Change return type to bool.
18512 2013-02-05 Roland McGrath <roland@hack.frob.com>
18514 * Makeconfig (all-Depend-files): Add existing
18515 $(sorted-subdirs:=/Depend) files.
18516 (all-subdirs): Remove nss.
18517 * sysdeps/unix/inet/Subdirs: Add it here instead.
18518 * hesiod/Depend: New file.
18520 * elf/dl-hwcaps.c (_dl_important_hwcaps): Use a variable-length array
18521 instead of calling alloca.
18523 * io/lseek.c (__lseek): Rename to __libc_lseek.
18524 Define __lseek as an alias.
18526 * sysdeps/generic/malloc-sysdep.h: Include <stdbool.h> and <unistd.h>.
18528 2013-02-04 Carlos O'Donell <carlos@redhat.com>
18530 * stdlib/getenv.c (getenv): Assume __BIG_ENDIAN in the
18531 else clause and remove check for non-standard endianness.
18533 2013-02-04 David S. Miller <davem@davemloft.net>
18535 * sysdeps/sparc/fpu/libm-test-ulps: Update.
18537 2013-02-04 Joseph Myers <joseph@codesourcery.com>
18540 * sysdeps/generic/bp-checks.h [__BOUNDED_POINTERS__]
18541 (__ubp_memchr): Remove prototype.
18542 [__BOUNDED_POINTERS__] (_CHECK_STRING): Remove macro.
18543 [__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
18544 [__BOUNDED_POINTERS__] (CHECK_STRING_NULL_OK): Likewise.
18545 [!__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
18546 * sysdeps/i386/memchr.S [!__BOUNDED_POINTERS__] (__ubp_memchr):
18548 * sysdeps/sparc/sparc32/memchr.S [!__BOUNDED_POINTERS__]
18549 (__ubp_memchr): Likewise.
18550 * sysdeps/sparc/sparc64/memchr.S [!__BOUNDED_POINTERS__]
18551 (__ubp_memchr): Likewise.
18552 * sysdeps/unix/sysv/linux/execve.c: Do not include <bp-checks.h>.
18553 (__execve) [__BOUNDED_POINTERS__]: Remove conditional code.
18554 (__execve) [!__BOUNDED_POINTERS__]: Make code unconditional.
18555 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Do not use
18557 * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
18558 * sysdeps/unix/sysv/linux/getcwd.c: Do not include <bp-checks.h>.
18559 (__getcwd): Do not use CHECK_STRING.
18560 * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
18562 (__real_chown): Do not use CHECK_STRING.
18563 * sysdeps/unix/sysv/linux/i386/fchownat.c: Do not include
18565 (fchownat): Do not use CHECK_STRING.
18566 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Do not use
18568 * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
18570 (__lchown): Do not use CHECK_STRING.
18571 * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
18572 * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
18573 * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
18574 * sysdeps/unix/sysv/linux/lxstat64.c (___lxstat64): Likewise.
18575 * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
18576 include <bp-checks.h>.
18577 (truncate64): Do not use CHECK_STRING.
18578 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
18580 (__real_chown): Do not use CHECK_STRING.
18581 * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
18583 (__lchown): Do not use CHECK_STRING.
18584 * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
18586 (__chown): Do not use CHECK_STRING.
18587 * sysdeps/unix/sysv/linux/truncate64.c: Do not include
18589 (truncate64): Do not use CHECK_STRING.
18590 * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c (__lxstat):
18592 * sysdeps/unix/sysv/linux/xmknod.c: Do not include <bp-checks.h>.
18593 (__xmknod): Do not use CHECK_STRING.
18594 * sysdeps/unix/sysv/linux/xmknodat.c: Do not include
18596 (__xmknodat): Do not use CHECK_STRING.
18597 * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
18598 * sysdeps/unix/sysv/linux/xstat64.c (___xstat64): Likewise.
18600 2013-02-04 Andreas Schwab <schwab@suse.de>
18603 * include/errno.h: Redefine errno only if !NOT_IN_libc || IN_LIB.
18604 * include/netdb.h: Likewise for h_errno.
18605 * elf/tst-stackguard1.c: Include <tls.h>.
18607 2013-02-02 Jan Kratochvil <jan.kratochvil@redhat.com>
18609 * elf/link.h (struct link_map): Extend the l_addr comment.
18610 * include/link.h (struct link_map): Likewise.
18612 2013-02-01 Joseph Myers <joseph@codesourcery.com>
18615 * sysdeps/generic/bp-checks.h (BOUNDED_N): Remove all definitions.
18616 (BOUNDED_1): Remove macro.
18617 * debug/backtrace.c: Don't include <bp-checks.h>.
18618 (ADVANCE_STACK_FRAME): Don't use BOUNDED_1.
18619 (__backtrace): Likewise.
18620 * sysdeps/powerpc/powerpc32/backtrace.c: Don't include
18622 (__backtrace): Don't use BOUNDED_1.
18623 * sysdeps/powerpc/powerpc64/backtrace.c: Don't include
18625 (__backtrace): Don't use BOUNDED_1.
18626 * sysdeps/sparc/backtrace.c: Don't include <bp-checks.h>.
18627 (__backtrace): Don't use BOUNDED_1.
18628 * sysdeps/unix/sysv/linux/shmat.c: Don't include <bp-checks.h>.
18629 (shmat): Don't use BOUNDED_N.
18631 2013-01-31 Joseph Myers <joseph@codesourcery.com>
18634 * sysdeps/generic/bp-start.h: Remove file.
18635 * csu/libc-start.c: Don't include <bp-start.h>.
18636 (LIBC_START_MAIN): Set up __environ directly instead of using
18637 INIT_ARGV_and_ENVIRON.
18638 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Don't include
18642 * sysdeps/generic/bp-checks.h (CHECK_IOCTL): Remove both
18644 (CHECK_FCNTL): Likewise.
18645 (CHECK_N_PAGES): Likewise.
18648 * sysdeps/generic/bp-checks.h (CHECK_SIGSET): Remove both
18650 (CHECK_SIGSET_NULL_OK): Likewise.
18651 * sysdeps/unix/sysv/linux/sigpending.c: Don't include
18653 (sigpending): Don't use CHECK_SIGSET.
18654 * sysdeps/unix/sysv/linux/sigprocmask.c: Don't include
18656 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
18657 * sysdeps/unix/sysv/linux/sigsuspend.c: Don't include
18659 (do_sigsuspend): Don't use CHECK_SIGSET.
18660 * sysdeps/unix/sysv/linux/sigtimedwait.c (do_sigtimedwait): Don't
18662 * sysdeps/unix/sysv/linux/sigwait.c: Don't include <bp-checks.h>.
18663 (do_sigwait): Don't use CHECK_SIGSET.
18664 * sysdeps/unix/sysv/linux/sigwaitinfo.c (do_sigwaitinfo): Don't
18666 * sysdeps/unix/sysv/linux/sparc/sparc64/sigpending.c: Don't
18667 include <bp-checks.h>.
18668 (sigpending): Don't use CHECK_SIGSET.
18669 * sysdeps/unix/sysv/linux/sparc/sparc64/sigprocmask.c: Don't
18670 include <bp-checks.h>.
18671 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
18672 * sysdeps/unix/sysv/linux/x86_64/sigpending.c: Don't include
18674 (sigpending): Don't use CHECK_SIGSET.
18675 * sysdeps/unix/sysv/linux/x86_64/sigprocmask.c: Don't include
18677 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
18680 * sysdeps/generic/bp-semctl.h: Remove file.
18681 * sysdeps/unix/sysv/linux/i386/semctl.c: Don't include
18682 <bp-checks.h> and <bp-semctl.h>.
18683 (__old_semctl): Don't use CHECK_SEMCTL.
18684 (__new_semctl): Likewise.
18685 * sysdeps/unix/sysv/linux/semctl.c: Don't include <bp-checks.h>
18687 (__old_semctl): Don't use CHECK_SEMCTL.
18688 (__new_semctl): Likewise.
18689 * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Don't include
18690 <bp-checks.h> and <bp-semctl.h>.
18691 (__old_semctl): Don't use CHECK_SEMCTL.
18692 (__new_semctl): Likewise.
18693 * sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c: Don't include
18694 <bp-checks.h> and <bp-semctl.h>.
18695 (semctl): Don't use CHECK_SEMCTL.
18698 * Makerules (elide-bp-thunks): Remove variable.
18699 (elide-routines.oS): Don't use $(elide-bp-thunks).
18700 (elide-routines.os): Likewise.
18701 (elide-routines.o): Likewise.
18702 (elide-routines.op): Likewise.
18703 (elide-routines.og): Likewise.
18704 (objects): Don't use $(bp-thunks).
18705 * sysdeps/unix/Makefile ($(common-objpfx)s-proto-bp.d): Do not
18707 (common-generated): Do not add s-proto-bp.d.
18708 * sysdeps/unix/make-syscalls.sh (ptr): Remove variable.
18711 Do not generate makefile rules for bounded-pointer thunks.
18712 * sysdeps/generic/bp-thunks.h: Remove file.
18713 * sysdeps/unix/sysv/linux/i386/bp-thunks.h: Likewise.
18714 * sysdeps/unix/s-proto-bp.S: Likewise.
18717 * math/k_casinh.c (__kernel_casinh): Compute real and imaginary
18718 parts of result separately when argument is not close to line from
18719 -i to i and one part of argument is small.
18720 * math/k_casinhf.c (__kernel_casinhf): Likewise.
18721 * math/k_casinhl.c (__kernel_casinhl): Likewise.
18722 * math/libm-test.inc (cacos_test): Add more tests.
18723 (casin_test): Likewise.
18724 (casinh_test): Likewise.
18725 * sysdeps/i386/fpu/libm-test-ulps: Update.
18726 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18728 2013-01-31 David S. Miller <davem@davemloft.net>
18730 * po/de.po: Update from translation team.
18732 2013-01-25 Maxim Kuvyrkov <maxim.kuvyrkov@gmail.com>
18734 * time/tzfile.c: Include stdint.h for SIZE_MAX.
18736 2013-01-25 Thomas Schwinge <thomas@codesourcery.com>
18738 * configure.in (_AC_PROG_CC_C89): New definition.
18739 * configure: Regenerate.
18741 * configure.in (AC_PROG_CPP): New definition.
18742 * configure: Regenerate.
18744 2013-01-23 Joseph Myers <joseph@codesourcery.com>
18746 * debug/tst-backtrace.h: New file.
18747 * debug/tst-backtrace2.c: Include tst-backtrace.h.
18748 (ret): Remove variable.
18750 (FAIL): Remove macro.
18751 (NO_INLINE): Likewise.
18752 (fn1): Use match function instead of strstr.
18753 * debug/tst-backtrace3.c: Include tst-backtrace.h.
18754 (ret): Remove variable.
18756 (FAIL): Remove macro.
18757 (NO_INLINE): Likewise.
18758 (fn): Use match function instead of strstr.
18759 * debug/tst-backtrace4.c: Include tst-backtrace.h.
18760 (ret): Remove variable.
18762 (FAIL): Remove macro.
18763 (NO_INLINE): Likewise.
18764 (handle_signal): Use match function instead of strstr.
18765 * debug/tst-backtrace5.c: Include tst-backtrace.h.
18766 (ret): Remove variable.
18768 (FAIL): Remove macro.
18769 (NO_INLINE): Likewise.
18770 (handle_signal): Use match function instead of strstr.
18772 2013-01-23 Roland McGrath <roland@hack.frob.com>
18774 * misc/sys/cdefs.h (__glibc_unlikely, __glibc_likely): Fix whitespace.
18776 2013-01-23 David S. Miller <davem@davemloft.net>
18778 * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h
18779 (__arch_compare_and_exchange_val_32_acq): Use %g0 as second
18780 argument of CAS if possible.
18781 * sysdeps/sparc/sparc64/bits/atomic.h
18782 (__arch_compare_and_exchange_val_32_acq): Likewise.
18783 (__arch_compare_and_exchange_val_64_acq): Likewise.
18785 2013-01-23 Pino Toscano <toscano.pino@tiscali.it>
18787 * sysdeps/unix/sysv/linux/ulimit.c: Moved to ...
18788 * sysdeps/posix/ulimit.c: ... this.
18789 Include <limits.h>.
18790 * sysdeps/unix/bsd/ulimit.c: Remove file.
18792 2013-01-23 Adam Conrad <adconrad@0c3.net>
18794 * elf/Makefile (LDFLAGS-tst-array2): Add $(no-as-needed).
18795 (LDFLAGS-tst-array5): Likewise.
18797 2013-01-23 Joseph Myers <joseph@codesourcery.com>
18800 * bits/wchar.h (__WCHAR_MAX): Define based on __WCHAR_MAX__, or
18801 based on [L'\0' - 1 > 0] if [!__WCHAR_MAX__].
18802 (__WCHAR_MIN): Likewise, using __WCHAR_MIN__.
18803 * sysdeps/unix/sysv/linux/x86/bits/wchar.h: Remove.
18805 2013-01-21 David S. Miller <davem@davemloft.net>
18807 * sysdeps/sparc/backtrace.c: New file.
18808 * sysdeps/sparc/sparc32/backtrace.h: New file.
18809 * sysdeps/sparc/sparc32/sparcv9/backtrace.h: New file.
18810 * sysdeps/sparc/sparc64/backtrace.h: New file.
18811 * sysdeps/sparc/sparc64/backtrace.c: Delete.
18812 * sysdeps/sparc/Makefile (CFLAGS-backtrace.c): Add
18815 2013-01-21 Andreas Schwab <schwab@suse.de>
18818 * posix/wordexp.c (exec_comm): Avoid busy loop when command has
18821 2013-01-20 Andreas Schwab <schwab@linux-m68k.org>
18823 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Don't include
18825 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
18827 2013-01-18 Joseph Myers <joseph@codesourcery.com>
18828 Mark Mitchell <mark@codesourcery.com>
18829 Tom de Vries <tom@codesourcery.com>
18830 Paul Pluzhnikov <ppluzhnikov@google.com>
18832 * debug/tst-backtrace2.c: New file.
18833 * debug/tst-backtrace3.c: Likewise.
18834 * debug/tst-backtrace4.c: Likewise.
18835 * debug/tst-backtrace5.c: Likewise.
18836 * debug/Makefile (CFLAGS-tst-backtrace2.c): New variable.
18837 (CFLAGS-tst-backtrace3.c): Likewise.
18838 (CFLAGS-tst-backtrace4.c): Likewise.
18839 (CFLAGS-tst-backtrace5.c): Likewise.
18840 (LDFLAGS-tst-backtrace2): Likewise.
18841 (LDFLAGS-tst-backtrace3): Likewise.
18842 (LDFLAGS-tst-backtrace4): Likewise.
18843 (LDFLAGS-tst-backtrace5): Likewise.
18844 (tests): Add new tests tst-backtrace2, tst-backtrace3,
18845 tst-backtrace4 and tst-backtrace5.
18847 2013-01-18 Anton Blanchard <anton@samba.org>
18848 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
18850 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Rename
18851 __kernel_vdso_get_tbfreq to __kernel_get_tbfreq.
18852 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Add parameter to
18853 INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK to specify return type.
18854 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
18855 (INTERNAL_VSYSCALL_NCS): Change "=&r" in inline asm output regs list to
18856 "+r" and remove output regs list as redundant. Add explicit inline
18857 asm to specify register of return val to work around compiler codegen
18858 bug. Remove (int) cast on return value. Add return type parameter to
18859 use in macro so that this macro does not truncate return value for
18861 (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Add return type parameter and
18862 pass to INTERNAL_VSYSCALL_NCS.
18863 (INLINE_VSYSCALL): Add 'long int' as return type to
18864 INTERNAL_VSYSCALL_NCS macro invocation.
18865 (INTERNAL_VSYSCALL): Add 'long int' as return type to
18866 INTERNAL_VSYSCALL_NCS macro invocation.
18867 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
18869 2013-01-18 Siddhesh Poyarekar <siddhesh@redhat.com>
18872 * sysdeps/i386/fpu/fenv_private.h (libc_feupdateenv_test_sse):
18873 Fix application of SIMD FP exception mask.
18875 * sysdeps/ieee754/dbl-64/mpa.h (__pow_mp): New function to get an
18876 mp_no from a power of two.
18877 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove
18878 __mpexp_twomm1. Use __pow_mp.
18880 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove unnecessary
18883 2013-01-17 David S. Miller <davem@davemloft.net>
18885 * sysdeps/sparc/fpu/libm-test-ulps: Update.
18887 2013-01-17 Joseph Myers <joseph@codesourcery.com>
18890 * include/complex.h: Condition contents on [!_COMPLEX_H].
18891 (__kernel_casinhf): New prototype.
18892 (__kernel_casinh): Likewise.
18893 (__kernel_casinhl): Likewise.
18894 * math/Makefile (libm_calls): Add k_casinh.
18895 * math/k_casinh.c: New file.
18896 * math/k_casinhf.c: Likewise.
18897 * math/k_casinhl.c: Likewise.
18898 * math/s_cacos.c (__cacos): Implement using __kernel_casinh for
18899 finite nonzero arguments.
18900 * math/s_cacosf.c (__cacosf): Implement using __kernel_casinhf for
18901 finite nonzero arguments.
18902 * math/s_cacosl.c (__cacosl): Implement using __kernel_casinhl for
18903 finite nonzero arguments.
18904 * math/s_casinh.c: Do not include <float.h>.
18905 (__casinh): Move code for finite nonzero arguments to k_casinh.c.
18906 * math/s_casinhf.c: Do not include <float.h>.
18907 (__casinhf): Move code for finite nonzero arguments to
18909 * math/s_casinhl.c: Do not include <float.h>.
18910 [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Do not undefine and
18912 (__casinhl): Move code for finite nonzero arguments to
18914 * math/libm-test.inc (cacos_test): Add more tests.
18915 * sysdeps/i386/fpu/libm-test-ulps: Update.
18916 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18918 2013-01-17 Pino Toscano <toscano.pino@tiscali.it>
18920 * sysdeps/unix/sysv/linux/malloc-sysdep.h (HAVE_MREMAP): New define.
18921 * malloc/malloc.c: Include <unistd.h> and <malloc-sysdep.h>.
18922 [!HAVE_MREMAP]: Remove [defined linux] case.
18923 * malloc/arena.c: Do not include <malloc-sysdep.h>.
18925 2013-01-17 Siddhesh Poyarekar <siddhesh@redhat.com>
18927 * sysdeps/ieee754/dbl-64/mpa.c: Fix header comment.
18929 2013-01-17 H.J. Lu <hongjiu.lu@intel.com>
18931 * elf/elf.h (R_386_SIZE32): New relocation.
18932 * sysdeps/i386/dl-machine.h (elf_machine_rel): Handle
18934 (elf_machine_rela): Likewise.
18935 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
18936 R_X86_64_SIZE64 and R_X86_64_SIZE32.
18938 2013-01-17 Joseph Myers <joseph@codesourcery.com>
18940 * sysdeps/powerpc/bits/mathdef.h [_SOFT_FLOAT || __NO_FPRS__]
18941 (FP_FAST_FMA): Do not define.
18942 [_SOFT_FLOAT || __NO_FPRS__] (FP_FAST_FMAF): Likewise.
18943 * sysdeps/powerpc/fpu/bits/fenvinline.h [__GNUC__ && !_SOFT_FLOAT
18944 && !__NO_MATH_INLINES]: Add [!__NO_FPRS__] condition.
18945 * sysdeps/powerpc/fpu/bits/mathinline.h [__GNUC__ &&
18946 !_SOFT_FLOAT]: Likewise.
18947 * sysdeps/powerpc/fpu/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]
18948 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_RESERVED): Define with generic
18950 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_DEFAULT): Likewise.
18951 [_SOFT_FLOAT || __NO_FPRS__] (fpu_control_t): Likewise.
18952 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_GETCW): Likewise.
18953 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_SETCW): Likewise.
18954 [_SOFT_FLOAT || __NO_FPRS__] (__fpu_control): Likewise.
18955 [!_SOFT_FLOAT && !__NO_FPRS__]: Condition previous contents of
18958 2013-01-16 Andreas Schwab <schwab@suse.de>
18961 * include/stdlib.h (__mktemp): Add declaration.
18962 * misc/mktemp.c (__mktemp): Renamed from mktemp, add weak alias.
18963 * misc/Versions (GLIBC_PRIVATE): Add __mktemp.
18965 2013-01-16 Siddhesh Poyarekar <siddhesh@redhat.com>
18967 * sysdeps/ieee754/dbl-64/atnat.h: Remove constant value
18969 * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
18970 * sysdeps/ieee754/dbl-64/mpa.c: Do not include mpa2.h.
18971 * sysdeps/ieee754/dbl-64/mpa.h: Move all constant value
18973 * sysdeps/ieee754/dbl-64/mpa2.h: Remove.
18974 * sysdeps/ieee754/dbl-64/mpatan.h: Remove constant value
18976 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Remove ZERO
18978 * sysdeps/ieee754/dbl-64/mpexp.c: Do not include mpexp.h.
18979 * sysdeps/ieee754/dbl-64/mpexp.h: Remove.
18980 * sysdeps/ieee754/dbl-64/mpsqrt.h: Remove constant value
18982 * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Remove MONE.
18983 * sysdeps/ieee754/dbl-64/ulog.h: Remove constant value
18985 * sysdeps/ieee754/dbl-64/utan.h: Likewise.
18987 * sysdeps/ieee754/dbl-64/mpa2.h: Fix the value of TWO.
18989 2013-01-15 David S. Miller <davem@davemloft.net>
18991 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
18992 trunc{,f} to libm-sysdep_routes.
18993 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
18994 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc-vis3.S: New
18996 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc.S: New file.
18997 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf-vis3.S: New
18999 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf.S: New
19001 * sysdeps/sparc/sparc32/sparcv9/fpu/s_trunc.S: New file.
19002 * sysdeps/sparc/sparc32/sparcv9/fpu/s_truncf.S: New file.
19003 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc-vis3.S: New file.
19004 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc.S: New file.
19005 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf-vis3.S: New file.
19006 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf.S: New file.
19007 * sysdeps/sparc/sparc64/fpu/s_trunc.S: New file.
19008 * sysdeps/sparc/sparc64/fpu/s_truncf.S: New file.
19010 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
19011 nearbyint{,f} to libm-sysdep_routes.
19012 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
19013 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint-vis3.S:
19015 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint.S: New
19017 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf-vis3.S:
19019 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf.S: New
19021 * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyint.S: New file.
19022 * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyintf.S: New file.
19023 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint-vis3.S: New
19025 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint.S: New file.
19026 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf-vis3.S: New
19028 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf.S: New file.
19029 * sysdeps/sparc/sparc64/fpu/s_nearbyint.S: New file.
19030 * sysdeps/sparc/sparc64/fpu/s_nearbyintf.S: New file.
19032 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
19033 libc_feholdexcept and libc_fesetenv.
19035 2013-01-15 Mike Frysinger <vapier@gentoo.org>
19037 * sysdeps/unix/sysv/linux/scsi/sg.h: Include stddef.h.
19039 2013-01-14 David S. Miller <davem@davemloft.net>
19041 * sysdeps/sparc/sparc-ifunc.h (SPARC_ASM_IFUNC2): New macro.
19042 (SPARC_ASM_VIS2_IFUNC): Likewise.
19043 (SPARC_ASM_VIS3_VIS2_IFUNC): Likewise.
19044 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: Make
19045 use of 'siam' instruction.
19046 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S:
19048 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S:
19050 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S:
19052 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: Likewise.
19053 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: Likewise.
19054 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: Likewise.
19055 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: Likewise.
19056 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis2.S: New
19058 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis2.S: New
19060 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis2.S: New
19062 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis2.S: New
19064 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis2.S: New file.
19065 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis2.S: New file.
19066 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis2.S: New file.
19067 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis2.S: New file.
19068 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Hook in
19070 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
19071 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
19072 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
19074 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
19075 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
19076 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
19077 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
19078 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new VIS2
19079 routines to libm-sysdep_routines.
19080 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
19082 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
19083 fdim/fdimf to libm-sysdep_routines.
19084 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-vis3.S: New
19086 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.S: New file.
19087 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf-vis3.S: New
19089 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf.S: New file.
19090 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdim.S: New file.
19091 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdimf.S: New file.
19092 * sysdeps/sparc/sparc32/fpu/s_fdim.S: New file.
19093 * sysdeps/sparc/sparc32/fpu/s_fdimf.S: New file.
19094 * sysdeps/sparc/sparc64/fpu/s_fdim.S: New file.
19095 * sysdeps/sparc/sparc64/fpu/s_fdimf.S: New file.
19097 2013-01-14 Siddhesh Poyarekar <siddhesh@redhat.com>
19099 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Add a local variable
19100 to optimize copies.
19102 * sysdeps/ieee754/dbl-64/mpa.c: Fix formatting.
19103 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
19104 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
19106 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Remove
19107 local variable MPTWO.
19108 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
19111 2013-01-13 Mike Frysinger <vapier@gentoo.org>
19113 * manual/pattern.texi (Flags for Globbing): Move GLOB_NOSORT after
19116 2013-01-13 Mike Frysinger <vapier@gentoo.org>
19118 * manual/pattern.texi (Flags for Globbing): Highlight GNU extensions.
19120 2013-01-13 Mike Frysinger <vapier@gentoo.org>
19122 * manual/pattern.texi (glob_t): Document gl_flags.
19123 (glob64_t): Likewise.
19125 2013-01-11 David S. Miller <davem@davemloft.net>
19127 * math/Makefile (gmp-objs): Use $(gmp-sysdep_routines).
19128 * sysdeps/sparc/sparc64/multiarch/Makefile [$(subdir) = math]
19129 (gmp-sysdep_routines): New variable. Add VIS3 optimized GMP routines.
19130 * sysdeps/sparc/sparc64/multiarch/add_n-vis3.S: New file.
19131 * sysdeps/sparc/sparc64/multiarch/add_n.S: New file.
19132 * sysdeps/sparc/sparc64/multiarch/addmul_1-vis3.S: New file.
19133 * sysdeps/sparc/sparc64/multiarch/addmul_1.S: New file.
19134 * sysdeps/sparc/sparc64/multiarch/mul_1-vis3.S: New file.
19135 * sysdeps/sparc/sparc64/multiarch/mul_1.S: New file.
19136 * sysdeps/sparc/sparc64/multiarch/sub_n-vis3.S: New file.
19137 * sysdeps/sparc/sparc64/multiarch/sub_n.S: New file.
19138 * sysdeps/sparc/sparc64/multiarch/submul_1-vis3.S: New file.
19139 * sysdeps/sparc/sparc64/multiarch/submul_1.S: New file.
19141 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
19142 sparc V9 rather than using V8 code.
19143 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
19144 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
19146 * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
19148 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/multiarch/Implies:
19151 2013-01-11 Roland McGrath <roland@hack.frob.com>
19153 * configure.in (sysnames): Use $multi_arch_d in setting up $mach list,
19154 not in the main loop.
19155 * configure: Regenerated.
19157 2013-01-11 Joseph Myers <joseph@codesourcery.com>
19159 * include/features.h (__GLIBC_HAVE_LONG_LONG): Remove.
19160 * bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change #elif condition
19162 * bits/types.h [__GLIBC_HAVE_LONG_LONG]: Likewise. Remove
19163 [!__GLIBC_HAVE_LONG_LONG] case.
19164 * posix/sys/types.h [__GLIBC_HAVE_LONG_LONG]: Change #elif
19165 condition to just #else.
19166 * stdlib/stdlib.h [__USE_ISOC99 || (__GLIBC_HAVE_LONG_LONG &&
19167 __USE_MISC)]: Change all uses to [__USE_ISOC99 || __USE_MISC].
19168 [__GLIBC_HAVE_LONG_LONG && __USE_BSD]: Change to [__USE_BSD].
19169 * string/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Make code
19171 * string/endian.h [__GLIBC_HAVE_LONG_LONG]: Likewise.
19172 * sysdeps/s390/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
19173 #elif condition to just #else.
19174 * sysdeps/unix/sysv/linux/sys/sysmacros.h
19175 [__GLIBC_HAVE_LONG_LONG]: Make code unconditional.
19176 * sysdeps/x86/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
19177 #elif condition to just #else.
19179 2013-01-11 Steve Ellcey <sellcey@mips.com>
19181 * elf/elf.h (EF_MIPS_ARCH_32): Fix value.
19182 (EF_MIPS_ARCH_64): Fix value.
19183 (EF_MIPS_ARCH_32R2): New.
19184 (EF_MIPS_ARCH_64R2): New.
19186 2013-01-11 H.J. Lu <hongjiu.lu@intel.com>
19188 * Makeconfig (+link-pie-before-libc): New.
19189 (+link-pie-after-libc): Likewise.
19190 (+link-pie-tests): Likewise.
19191 (+link-pie): Rewritten.
19192 (link-before-libc): Remove $(config-LDFLAGS).
19193 (+link): Add $(rtld-LDFLAGS) after $(+link-before-libc).
19194 (+link-tests): Add $(rtld-tests-LDFLAGS) after $(+link-before-libc).
19195 (config-LDFLAGS): Renamed to ...
19196 (rtld-LDFLAGS): This.
19197 (rtld-tests-LDFLAGS): New macro.
19198 (link-libc-rpath-link): Likewise.
19199 (link-libc-tests-rpath-link): Likewise.
19200 (link-libc-before-gnulib): Remove -Wl,-rpath-link=$(rpath-link).
19201 (link-libc): Prepand $(link-libc-rpath-link).
19202 (link-libc-tests): Prepand $(link-libc-tests-rpath-link).
19203 (test-program-prefix): New macro.
19204 (test-via-rtld-prefix): Likewise.
19205 (test-program-cmd): Likewise.
19206 (host-test-program-cmd): Likewise.
19207 * Makefile ($(common-objpfx)testrun.sh): Replace
19208 $(run-program-prefix) with $(test-program-prefix).
19209 * Makerules ($(LINK.o)): Replace $(config-LDFLAGS) with
19211 ($(common-objpfx)shlib.lds): Likewise.
19212 (build-module-helper): Likewise.
19213 ($(common-objpfx)format.lds): Likewise.
19214 * Rules (binaries-pie-tests): New.
19215 (binaries-pie-notests): Likewise.
19216 (binaries-pie): Rewritten.
19217 ($(addprefix $(objpfx),$(binaries-pie))): Renamed to ...
19218 ($(addprefix $(objpfx),$(binaries-pie-notests))): This.
19219 ($(addprefix $(objpfx),$(binaries-pie-tests))): New.
19220 (make-test-out): Replace $(host-built-program-cmd) with
19221 $(host-test-program-cmd).
19222 * config.make.in (build-hardcoded-path-in-tests): New variable.
19223 * configure.in (--enable-hardcoded-path-in-tests): New configure
19225 (hardcoded_path_in_tests): New AC_SUBST.
19226 * configure: Regenerated.
19227 * catgets/Makefile ($(objpfx)test-gencat.out): Replace
19228 $(built-program-cmd) with $(test-program-cmd).
19229 * catgets/test-gencat.sh (run_program_cmd): Renamed to ...
19230 (test_program_cmd): This.
19231 * elf/Makefile ($(objpfx)order.out): Run test with
19232 $(test-program-prefix).
19233 ($(objpfx)order2.out): Likewise.
19234 ($(objpfx)tst-initorder.out): Likewise.
19235 ($(objpfx)tst-initorder2.out): Likewise.
19236 ($(objpfx)tst-array1.out): Replace $(built-program-cmd) with
19237 $(test-program-cmd).
19238 ($(objpfx)tst-array1-static.out): Likewise.
19239 ($(objpfx)tst-array2.out): Likewise.
19240 ($(objpfx)tst-array3.out): Likewise.
19241 ($(objpfx)tst-array4.out): Likewise.
19242 ($(objpfx)tst-array5.out): Likewise.
19243 ($(objpfx)tst-array5-static.out): Likewise.
19244 (tst-stackguard1-ARGS): Replace $(built-program-cmd) with
19245 $(test-program-cmd).
19246 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Replace
19247 $(run-program-prefix) with $(test-program-prefix).
19248 * grp/tst_fgetgrent.sh (run_program_prefix): Renamed to ...
19249 (test_program_prefix): This.
19250 * iconvdata/Makefile ($(objpfx)tst-tables.out): Replace
19251 $(run-program-prefix) with $(test-program-prefix).
19252 * iconvdata/tst-table.sh (run_program_prefix): Renamed to ...
19253 (test_program_prefix): This.
19254 * iconvdata/tst-tables.sh: Likewise.
19255 * intl/Makefile ($(objpfx)tst-gettext.out): Replace
19256 $(run-program-prefix) with $(test-program-prefix).
19257 ($(objpfx)tst-translit.out): Likewise.
19258 ($(objpfx)tst-gettext2.out): Likewise.
19259 ($(objpfx)tst-gettext4.out): Likewise.
19260 ($(objpfx)tst-gettext6.out): Likewise.
19261 * intl/tst-gettext.sh (run_program_prefix): Renamed to ...
19262 (test_program_prefix): This.
19263 * intl/tst-gettext2.sh: Likewise.
19264 * intl/tst-gettext4.sh Likewise.
19265 * intl/tst-gettext6.sh: Likewise.
19266 * intl/tst-translit.sh: Likewise.
19267 * io/Makefile ($(objpfx)ftwtest.out): Replace $(run-program-cmd)
19268 with $(test-program-cmd).
19269 * libio/Makefile ($(objpfx)test-freopen.out): Replace
19270 $(run-program-prefix) with $(test-program-prefix).
19271 * libio/test-freopen.sh (run_program_prefix): Renamed to ...
19272 (test_program_prefix): This.
19273 * malloc/Makefile ($(objpfx)tst-mtrace.out): Replace
19274 $(run-program-prefix) with $(test-program-prefix).
19275 * malloc/tst-mtrace.sh (run_program_prefix): Renamed to ...
19276 (test_program_prefix): This.
19277 * manual/install.texi: Document --enable-hardcoded-path-in-tests.
19278 * posix/Makefile ($(objpfx)globtest.out): Replace
19279 $(run-via-rtld-prefix) and $(test-wrapper) with
19280 $(test-program-prefix) and $(test-via-rtld-prefix).
19281 ($(objpfx)wordexp-tst.out): Replace $(run-program-prefix) with
19282 $(test-program-prefix).
19283 (tst-exec-ARGS): Replace $(host-built-program-cmd) with
19284 $(host-test-program-cmd).
19285 (tst-spawn-ARGS): Likewise.
19286 ($(objpfx)tst-rxspencer-mem): Replace $(run-program-prefix) with
19287 $(test-program-prefix).
19288 * posix/globtest.sh (un_via_rtld_prefix): Renamed to ...
19289 (test_via_rtld_prefix): This.
19290 (test_wrapper): Renamed to ...
19291 (test_program_prefix): This.
19292 (run_program_prefix): Replaced by test_program_prefix.
19293 * posix/wordexp-tst.sh (run_program_prefix): Renamed to ...
19294 (test_program_prefix): This.
19295 * rt/Makefile (tst-mqueue7-ARGS): Replace $(host-built-program-cmd)
19296 with $(host-test-program-cmd).
19297 * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Replace
19298 $(run-program-prefix) with $(test-program-prefix).
19299 ($(objpfx)tst-printf.out): Likewise.
19300 ($(objpfx)tst-setvbuf1.out): Replace $(built-program-cmd) with
19301 $(test-program-cmd).
19302 * stdio-common/tst-printf.sh (run_program_prefix): Renamed to ...
19303 (test_program_prefix): This.
19304 * stdio-common/tst-unbputc.sh: Likewise.
19305 * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Replace
19306 $(run-program-prefix) with $(test-program-prefix).
19307 * stdlib/tst-fmtmsg.sh (run_program_prefix): Renamed to ...
19308 (test_program_prefix): This.
19309 * string/Makefile ($(objpfx)tst-svc.out): Replace
19310 $(built-program-cmd) with $(test-program-cmd).
19312 2013-01-11 Andreas Jaeger <aj@suse.de>
19315 * sysdeps/unix/sysv/linux/bits/socket.h (MSG_FASTOPEN): New
19316 value. Sync with Linux 3.7.
19318 2013-01-10 David S. Miller <davem@davemloft.net>
19320 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Revert previous changes.
19321 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
19322 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
19324 2013-01-10 Roland McGrath <roland@hack.frob.com>
19326 * configure.in (sysnames): Drop use of $m0sub and $msub, which are
19328 * configure: Regenerated.
19330 2013-01-10 David S. Miller <davem@davemloft.net>
19332 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
19333 sparc V9 rather than using V8 code.
19334 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
19335 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
19337 2013-01-10 Roland McGrath <roland@hack.frob.com>
19339 * elf/elf.h (DT_SPARC_REGISTER, DT_SPARC_NUM): Fix whitespace.
19340 (EF_MIPS_NOREORDER, EF_MIPS_PIC, EF_MIPS_CPIC, EF_MIPS_XGOT): Likewise.
19341 (EF_MIPS_64BIT_WHIRL, EF_MIPS_ABI2, EF_MIPS_ABI_ON32): Likewise.
19342 (EF_MIPS_ARCH, EF_MIPS_ARCH_1, EF_MIPS_ARCH_2): Likewise.
19343 (EF_MIPS_ARCH_3, EF_MIPS_ARCH_4, EF_MIPS_ARCH_5): Likewise.
19344 (EF_MIPS_ARCH_32, EF_MIPS_ARCH_64): Likewise.
19345 (E_MIPS_ARCH_1): Define in terms of EF_MIPS_ARCH_* counterpart.
19346 (E_MIPS_ARCH_2, E_MIPS_ARCH_3, E_MIPS_ARCH_4, E_MIPS_ARCH_5): Likewise.
19347 (E_MIPS_ARCH_32, E_MIPS_ARCH_64): Likewise.
19348 (SHN_MIPS_ACOMMON, SHN_MIPS_TEXT, SHN_MIPS_DATA): Fix whitespace.
19349 (SHN_MIPS_SCOMMON, SHN_MIPS_SUNDEFINED): Likewise.
19350 (SHT_MIPS_LIBLIST, SHT_MIPS_MSYM, SHT_MIPS_CONFLICT): Likewise.
19351 (SHT_MIPS_GPTAB, SHT_MIPS_UCODE, SHT_MIPS_DEBUG): Likewise.
19352 (SHT_MIPS_REGINFO, SHT_MIPS_PACKAGE, SHT_MIPS_PACKSYM): Likewise.
19353 (SHT_MIPS_RELD, SHT_MIPS_IFACE, SHT_MIPS_CONTENT): Likewise.
19354 (SHT_MIPS_OPTIONS, SHT_MIPS_SHDR, SHT_MIPS_FDESC): Likewise.
19355 (SHT_MIPS_EXTSYM, SHT_MIPS_DENSE, SHT_MIPS_PDESC): Likewise.
19356 (SHT_MIPS_LOCSYM, SHT_MIPS_AUXSYM, SHT_MIPS_OPTSYM): Likewise.
19357 (SHT_MIPS_LOCSTR, SHT_MIPS_LINE, SHT_MIPS_RFDESC): Likewise.
19358 (SHT_MIPS_DELTASYM, SHT_MIPS_DELTAINST, SHT_MIPS_DELTACLASS): Likewise.
19359 (SHT_MIPS_DELTADECL, SHT_MIPS_SYMBOL_LIB, SHT_MIPS_EVENTS): Likewise.
19360 (SHT_MIPS_TRANSLATE, SHT_MIPS_PIXIE, SHT_MIPS_XLATE): Likewise.
19361 (SHT_MIPS_XLATE_DEBUG, SHT_MIPS_WHIRL, SHT_MIPS_EH_REGION): Likewise.
19362 (SHT_MIPS_XLATE_OLD, SHT_MIPS_PDR_EXCEPTION): Likewise.
19363 (SHF_MIPS_GPREL, SHF_MIPS_MERGE, SHF_MIPS_ADDR): Likewise.
19364 (SHF_MIPS_STRINGS, SHF_MIPS_NOSTRIP, SHF_MIPS_LOCAL): Likewise.
19365 (SHF_MIPS_NAMES, SHF_MIPS_NODUPE): Likewise.
19367 2013-01-10 David S. Miller <davem@davemloft.net>
19369 * sysdeps/sparc/fpu/libm-test-ulps: Update.
19371 2013-01-10 H.J. Lu <hongjiu.lu@intel.com>
19373 * posix/Makefile (tests-static): New variable.
19374 (tests): Add $(tests-static).
19375 (tst-exec-static-ARGS): New variable.
19376 (tst-spawn-static-ARGS): Likewise.
19377 * posix/tst-exec-static.c: New file.
19378 * posix/tst-spawn-static.c: Likewise.
19379 * posix/tst-exec.c: Support run directly.
19380 * posix/tst-spawn.c: Likewise.
19382 2013-01-10 Joseph Myers <joseph@codesourcery.com>
19384 * elf/link.h (struct dl_phdr_info): Use __extension__ with long
19386 * math/bits/mathcalls.h (llrint): Likewise.
19387 (llround): Likewise.
19388 * stdlib/stdlib.h (struct drand48_data): Likewise.
19389 * sysdeps/generic/inttypes.h (imaxdiv_t): Likewise.
19390 * sysdeps/s390/bits/byteswap.h (__bswap_64): Likewise.
19391 * sysdeps/unix/sysv/linux/sparc/bits/ipc.h (struct ipc_perm):
19393 * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (struct fpu):
19395 * sysdeps/unix/sysv/linux/x86/sys/procfs.h [__x86_64__]
19396 (elf_greg_t): Likewise.
19397 * sysdeps/x86/bits/setjmp.h [__x86_64__ && __WORDSIZE != 64]
19398 (__jmp_buf): Likewise.
19399 * sysdeps/x86/fpu/bits/mathinline.h (llrintf): Likewise, for all
19401 (llrint): Likewise, for all definitions.
19402 (llrintl): Likewise.
19404 * string/string.h [__USE_BSD && __USE_GNU && __GNUC__] (ffsll):
19405 Remove [__GNUC__] condition.
19406 * wcsmbs/wchar.h [__USE_ISOC99 || (__GNUC__ && __USE_GNU)]: Change
19407 condition to just [__USE_ISOC99].
19408 [__GNUC__ && __USE_GNU]: Change condition to just [__USE_GNU].
19410 2013-01-10 H.J. Lu <hongjiu.lu@intel.com>
19413 * sysdeps/unix/sysv/linux/x86/bits/environments.h
19414 (_POSIX_V7_ILP32_OFF32): Defined as 1 only if __x86_64__ isn't
19416 (_POSIX_V6_ILP32_OFF32): Likewise.
19417 (_XBS5_ILP32_OFF32): Likewise.
19418 (__ILP32_OFFBIG_CFLAGS): Defined as "-mx32" for x32.
19419 (__ILP32_OFFBIG_LDFLAGS): Likewise.
19421 2013-01-10 Siddhesh Poyarekar <siddhesh@redhat.com>
19423 * sysdeps/ieee754/dbl-64/mpexp.c: Fix formatting.
19425 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): New array of
19426 doubles __mpexp_twomm1. Adjust usage.
19427 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1):
19430 2013-01-10 Andreas Schwab <schwab@suse.de>
19433 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (FALLOC_FL_KEEP_SIZE)
19434 (FALLOC_FL_PUNCH_HOLE) [__USE_GNU]: New macros.
19436 2013-01-09 David S. Miller <davem@davemloft.net>
19439 * sysdeps/gnu/netinet/tcp.h (TCP_COOKIE_TRANSACTIONS)
19440 (TCP_THIN_LINEAR_TIMEOUTS, TCP_THIN_DUPACK, TCP_USER_TIMEOUT)
19441 (TCP_REPAIR, TCP_REPAIR_QUEUE, TCP_QUEUE_SEQ, TCP_REPAIR_OPTIONS)
19442 (TCP_FASTOPEN): Define.
19443 (tcp_repair_opt): New structure.
19444 (TCP_NO_QUEUE, TCP_RECV_QUEUE, TCP_SEND_QUEUE, TCP_QUEUES_NR): New
19446 (TCP_COOKIE_MIN, TCP_COOKIE_MAX, TCP_COOKIE_PAIR_SIZE)
19447 (TCP_COOKIE_IN_ALWAYS, TCP_COOKIE_OUT_NEVER, TCP_S_DATA_IN)
19448 (TCP_S_DATA_OUT, TCP_MSS_DEFAULT, TCP_MSS_DESIRED): Define.
19449 (tcp_cookie_transactions): New structure.
19451 2013-01-09 Anton Blanchard <anton@samba.org>
19453 * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: New file.
19454 * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_getcpu.
19455 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Likewise.
19456 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Likewise.
19458 2013-01-09 Joseph Myers <joseph@codesourcery.com>
19460 * include/features.h (__USE_ANSI): Remove.
19462 2013-01-09 Roland McGrath <roland@hack.frob.com>
19464 * posix/Makefile (others): Depend on $(objpfx)getconf.speclist.
19466 * misc/error.c (error_tail: ALLOCA_LIMIT): Remove unused macro.
19468 2013-01-09 Siddhesh Poyarekar <siddhesh@redhat.com>
19470 * sysdeps/s390/fpu/libm-test-ulps: Update.
19472 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
19474 * sysdeps/ieee754/dbl-64/mpa.c (mcr): Reword comment.
19478 (denorm): Likewise.
19479 (__mp_dbl): Likewise.
19480 (__dbl_mp): Likewise.
19481 (add_magnitudes): Likewise.
19482 (sub_magnitudes): Likewise.
19488 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mcr): Likewise.
19492 (denorm): Likewise.
19493 (__mp_dbl): Likewise.
19494 (__dbl_mp): Likewise.
19495 (add_magnitudes): Likewise.
19496 (sub_magnitudes): Likewise.
19502 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mcr): Likewise.
19506 (denorm): Likewise.
19507 (__mp_dbl): Likewise.
19508 (__dbl_mp): Likewise.
19509 (add_magnitudes): Likewise.
19510 (sub_magnitudes): Likewise.
19517 2013-01-08 Joseph Myers <joseph@codesourcery.com>
19519 * io/sys/stat.h [__GNUC__ && __GNUC__ >= 2 &&
19520 __USE_EXTERN_INLINES]: Change condition to [__USE_EXTERN_INLINES].
19521 * sysdeps/unix/sysv/linux/sys/sysmacros.h [__GNUC__ && __GNUC__ >=
19522 2 && __USE_EXTERN_INLINES]: Likewise.
19524 2013-01-08 Andreas Jaeger <aj@suse.de>
19527 * sysdeps/unix/sysv/linux/sparc/bits/epoll.h (EPOLL_NONBLOCK):
19529 * sysdeps/unix/sysv/linux/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
19530 * sysdeps/unix/sysv/linux/x86/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
19532 2013-01-07 Anton Blanchard <anton@samba.org>
19534 * sysdeps/powerpc/fpu/feholdexcpt.c: Fixed spelling errors.
19535 * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
19536 * sysdeps/powerpc/fpu/math_ldbl.h: Likewise.
19537 * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
19538 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
19539 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
19540 * sysdeps/powerpc/powerpc32/dl-start.S: Likewise.
19541 * sysdeps/powerpc/powerpc32/memset.S: Likewise.
19542 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
19543 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
19544 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
19545 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
19546 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
19547 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
19548 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
19549 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
19550 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
19551 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
19552 * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
19553 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
19554 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
19555 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Likewise.
19556 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
19557 * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
19558 * sysdeps/powerpc/powerpc64/bits/atomic.h: Likewise.
19559 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
19560 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
19561 * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
19562 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Likewise.
19563 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
19564 * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
19565 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
19566 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
19567 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
19568 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
19569 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
19570 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
19571 * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
19572 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Likewise.
19573 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
19574 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Likewise.
19575 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
19576 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
19578 2013-01-07 Joseph Myers <joseph@codesourcery.com>
19580 * malloc/malloc.h (__MALLOC_P): Remove all definitions.
19581 (__MALLOC_PMT): Likewise.
19582 [__GNUC__] (__MALLOC_HOOK_VOLATILE): Make not conditional on
19583 [__GNUC__], only on [_LIBC].
19584 [__GNUC__] (__MALLOC_DEPRECATED): Likewise.
19585 [!__GNUC__] (__MALLOC_HOOK_VOLATILE): Remove definition.
19586 [!__GNUC__] (__MALLOC_DEPRECATED): Likewise.
19587 * malloc/malloc.c (malloc_hook_ini): Do not use __MALLOC_P in
19588 forward declaration.
19589 (realloc_hook_ini): Likewise.
19590 (memalign_hook_ini): Likewise.
19591 (__libc_memalign): Do not use __MALLOC_PMT in variable
19593 (__libc_valloc): Likewise.
19594 (__libc_pvalloc): Likewise.
19595 (__libc_calloc): Likewise.
19596 (__posix_memalign): Likewise.
19599 * math/s_casinh.c: Include <float.h>.
19600 (__casinh): Do not do computation with squaring and square root
19601 for large arguments.
19602 * math/s_casinhf.c: Include <float.h>.
19603 (__casinhf): Do not do computation with squaring and square root
19604 for large arguments.
19605 * math/s_casinhl.c: Include <float.h>.
19606 [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine and redefine.
19607 (__casinhl): Do not do computation with squaring and square root
19608 for large arguments.
19609 * math/libm-test.inc (casin_test): Add more tests.
19610 (casinh_test): Likewise.
19611 * sysdeps/i386/fpu/libm-test-ulps: Update.
19612 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19614 2013-01-04 H.J. Lu <hongjiu.lu@intel.com>
19616 * sysdeps/i386/i686/cacheinfo.c (__x86_64_data_cache_size): Removed.
19617 (__x86_64_raw_data_cache_size): Likewise.
19618 (__x86_64_data_cache_size_half): Likewise.
19619 (__x86_64_raw_data_cache_size_half): Likewise.
19620 (__x86_64_shared_cache_size): Likewise.
19621 (__x86_64_raw_shared_cache_size): Likewise.
19622 (__x86_64_shared_cache_size_half): Likewise.
19623 (__x86_64_raw_shared_cache_size_half): Likewise.
19624 * sysdeps/x86_64/cacheinfo.c (__x86_64_data_cache_size): Renamed
19626 (__x86_data_cache_size): This.
19627 (__x86_64_raw_data_cache_size): Renamed to ...
19628 (__x86_raw_data_cache_size): This.
19629 (__x86_64_data_cache_size_half): Renamed to ...
19630 (__x86_data_cache_size_half): This.
19631 (__x86_64_raw_data_cache_size_half): Renamed to ...
19632 (__x86_raw_data_cache_size_half): This.
19633 (__x86_64_shared_cache_size): Renamed to ...
19634 (__x86_shared_cache_size): This.
19635 (__x86_64_raw_shared_cache_size): Renamed to ...
19636 (__x86_raw_shared_cache_size): This.
19637 (__x86_64_shared_cache_size_half): Renamed to ...
19638 (__x86_shared_cache_size_half): This.
19639 (__x86_64_raw_shared_cache_size_half): Renamed to ...
19640 (__x86_raw_shared_cache_size_half): This.
19641 * sysdeps/x86_64/memcpy.S: Updated.
19642 * sysdeps/x86_64/memset.S: Likewise.
19643 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
19644 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
19645 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
19647 2013-01-04 David S. Miller <davem@davemloft.net>
19649 * sysdeps/sparc/fpu/libm-test-ulps: Update.
19651 2013-01-04 Andreas Schwab <schwab@linux-m68k.org>
19653 * sysdeps/powerpc/fpu/test-powerpc-snan.c (_GNU_SOURCE): Define as
19654 1 to avoid redefinition warning.
19655 (__USE_GNU): Don't define.
19656 (init_signaling_nan): Protoize.
19658 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
19660 2013-01-04 Siddhesh Poyarekar <siddhesh@redhat.com>
19662 * sysdeps/ieee754/dbl-64/mpa.c: Remove commented code.
19663 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cr): Remove.
19664 (__cpymn): Likewise.
19665 (norm): Remove commented code.
19666 (denorm): Likewise.
19667 (__mp_dbl): Likewise.
19669 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cr): Remove.
19670 (__cpymn): Likewise.
19671 (norm): Remove commented code.
19672 (denorm): Likewise.
19673 (__mp_dbl): Likewise.
19676 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mpone): Define
19677 mp_no value for 1.0 and 2.0.
19678 (norm): Use RADIXI instead of radixi.d.
19679 (denorm): Likewise.
19680 (__mul): Use 0.0 instead of zero.d.
19681 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mpone): Define
19682 mp_no value for 1.0 and 2.0.
19683 (norm): Use RADIXI instead of radixi.d.
19684 (denorm): Likewise.
19685 (__mul): Use 0.0 instead of zero.d.
19687 2013-01-04 Joseph Myers <joseph@codesourcery.com>
19690 * math/s_casinh.c (__casinh): Reduce finite argument to first
19691 quadrant then set signs of results at the end.
19692 * math/s_casinhf.c (__casinhf): Likewise.
19693 * math/s_casinhl.c (__casinhl): Likewise.
19694 * math/libm-test.inc (casin_test): Add more tests.
19695 (casinh_test): Likewise.
19696 * sysdeps/i386/fpu/libm-test-ulps: Update.
19697 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19699 2013-01-04 Siddhesh Poyarekar <siddhesh@redhat.com>
19701 * sysdeps/ieee754/dbl-64/mpa.h: Fix code formatting.
19703 * sysdeps/ieee754/dbl-64/mpa.h: Clean up comment for MP_NO.
19705 * sysdeps/ieee754/dbl-64/mpa.c(norm): Remove commented
19707 (denorm): Likewise.
19708 (__mp_dbl): Likewise.
19711 * sysdeps/ieee754/dbl-64/mpa.h: Remove commented declarations
19712 and adjust the header comment.
19714 * sysdeps/ieee754/dbl-64/mpa.h (__mpexp): Remove unnecessary
19715 variable name from declaration.
19717 2013-01-03 H.J. Lu <hongjiu.lu@intel.com>
19719 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
19720 Initialize COMMON_CPUID_INDEX_7 element.
19721 * sysdeps/x86_64/multiarch/init-arch.h (bit_RTM): New macro.
19722 (CPUID_RTM): Likewise.
19723 (HAS_RTM): Likewise.
19724 (COMMON_CPUID_INDEX_7): New enum.
19726 2013-01-03 Andreas Schwab <schwab@linux-m68k.org>
19729 * malloc/mtrace.c (tr_reallochook): If realloc returns NULL when
19730 size is zero, record memory as freed.
19732 2013-01-03 Andreas Jaeger <aj@suse.de>
19734 * po/ia.po: Add new Interlingua translation.
19736 2012-01-03 Allan McRae <allan@archlinux.org>
19738 * locale/programs/localedef.c: Fix description of '--posix' flag.
19740 2013-01-02 Joseph Myers <joseph@codesourcery.com>
19742 * NEWS: Update dates in second copyright notice.
19743 * README: Update copyright dates in example.
19744 * manual/libc.texinfo: Update copyright dates.
19745 * scripts/test-installation.pl: Update copyright date in --version
19748 * hurd/ctty-input.c: Fix copyright notice formatting.
19749 * hurd/ctty-output.c: Likewise.
19750 * hurd/dtable.c: Likewise.
19751 * hurd/hurd-raise.c: Likewise.
19752 * hurd/hurdprio.c: Likewise.
19753 * hurd/msgportdemux.c: Likewise.
19754 * misc/sys/file.h: Likewise.
19755 * misc/sys/ioctl.h: Likewise.
19756 * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
19757 * sysdeps/mach/hurd/chdir.c: Likewise.
19758 * sysdeps/mach/hurd/fchdir.c: Likewise.
19759 * sysdeps/mach/hurd/rename.c: Likewise.
19760 * sysdeps/mach/hurd/rmdir.c: Likewise.
19761 * sysdeps/mach/hurd/seekdir.c: Likewise.
19762 * sysdeps/mach/hurd/setsid.c: Likewise.
19763 * sysdeps/posix/wait3.c: Likewise.
19765 * All files with FSF copyright notices: Update copyright dates
19766 using scripts/update-copyrights.
19767 * intl/plural.c: Regenerated.
19768 * locale/programs/charmap-kw.h: Likewise.
19769 * locale/programs/locfile-kw.h: Likewise.
19771 2013-01-02 Siddhesh Poyarekar <siddhesh@redhat.com>
19773 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1): Fix first
19776 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Split mantissa
19777 calculation loop and add branch prediction.
19779 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Add assert to
19780 check access beyond bounds of m1np.
19782 * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
19784 (__inv): Remove local variable MPTWO to use the global
19786 * sysdeps/ieee754/dbl-64/mpa.h: Declare MPTWO.
19787 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
19789 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Make MPHALF and
19790 MP3HALFS static const.
19792 2013-01-01 David S. Miller <davem@davemloft.net>
19794 * po/ca.po: Update from translation team.
19796 2013-01-01 Joseph Myers <joseph@codesourcery.com>
19798 * scripts/update-copyrights: New file.
19799 * Makeconfig: Reformat copyright notice.
19800 * ctype/ctype.h: Likewise.
19801 * debug/swprintf_chk.c: Likewise.
19802 * elf/dl-cache.c: Likewise.
19803 * elf/dl-debug.c: Likewise.
19804 * elf/dl-object.c: Likewise.
19805 * grp/initgroups.c: Likewise.
19806 * hurd/Makefile: Likewise.
19807 * hurd/hurd/signal.h: Likewise.
19808 * hurd/hurdfault.c: Likewise.
19809 * hurd/hurdioctl.c: Likewise.
19810 * hurd/hurdlookup.c: Likewise.
19811 * hurd/intr-msg.c: Likewise.
19812 * iconv/gconv_open.c: Likewise.
19813 * libio/swprintf.c: Likewise.
19814 * locale/lc-ctype.c: Likewise.
19815 * locale/nl_langinfo.c: Likewise.
19816 * mach/Machrules: Likewise.
19817 * mach/Makefile: Likewise.
19818 * malloc/obstack.h: Likewise.
19819 * manual/Makefile: Likewise.
19820 * manual/tsort.awk: Likewise.
19821 * misc/bits/stab.def: Likewise.
19822 * nis/nis_print_group_entry.c: Likewise.
19823 * nis/nis_table.c: Likewise.
19824 * nis/nss_compat/compat-pwd.c: Likewise.
19825 * nis/nss_compat/compat-spwd.c: Likewise.
19826 * po/Makefile: Likewise.
19827 * posix/fnmatch.c: Likewise.
19828 * posix/regex.h: Likewise.
19829 * resolv/Makefile: Likewise.
19830 * resolv/nss_dns/dns-network.c: Likewise.
19831 * resolv/res_hconf.c: Likewise.
19832 * scripts/gen-sorted.awk: Likewise.
19833 * soft-fp/soft-fp.h: Likewise.
19834 * stdio-common/printf.h: Likewise.
19835 * stdlib/monetary.h: Likewise.
19836 * stdlib/random.c: Likewise.
19837 * stdlib/random_r.c: Likewise.
19838 * sysdeps/generic/Makefile: Likewise.
19839 * sysdeps/gnu/Makefile: Likewise.
19840 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
19841 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
19842 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
19843 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
19844 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
19845 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
19846 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
19847 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
19848 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
19849 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
19850 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
19851 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
19852 * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
19853 * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
19854 * sysdeps/ieee754/dbl-64/mplog.c: Likewise.
19855 * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
19856 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
19857 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
19858 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
19859 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
19860 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
19861 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
19862 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
19863 * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
19864 * sysdeps/ieee754/ldbl-128/mpn2ldbl.c: Likewise.
19865 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
19866 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
19867 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Likewise.
19868 * sysdeps/mach/hurd/errnos.awk: Likewise.
19869 * sysdeps/mach/hurd/fork.c: Likewise.
19870 * sysdeps/mach/hurd/getcwd.c: Likewise.
19871 * sysdeps/mach/hurd/i386/trampoline.c: Likewise.
19872 * sysdeps/mach/hurd/mmap.c: Likewise.
19873 * sysdeps/mach/hurd/utimes.c: Likewise.
19874 * sysdeps/mach/hurd/xmknod.c: Likewise.
19875 * sysdeps/posix/profil.c: Likewise.
19876 * sysdeps/posix/readdir_r.c: Likewise.
19877 * sysdeps/powerpc/bits/mathdef.h: Likewise.
19878 * sysdeps/powerpc/bits/setjmp.h: Likewise.
19879 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Likewise.
19880 * sysdeps/powerpc/powerpc32/memset.S: Likewise.
19881 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
19882 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
19883 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
19884 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
19885 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
19886 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
19887 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
19888 * sysdeps/pthread/lio_listio.c: Likewise.
19889 * sysdeps/sparc/dl-procinfo.h: Likewise.
19890 * sysdeps/unix/i386/sysdep.S: Likewise.
19891 * sysdeps/unix/sysv/linux/aio_sigqueue.c: Likewise.
19892 * sysdeps/unix/sysv/linux/fstatvfs64.c: Likewise.
19893 * sysdeps/unix/sysv/linux/getdents.c: Likewise.
19894 * sysdeps/unix/sysv/linux/msgctl.c: Likewise.
19895 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
19896 * sysdeps/unix/sysv/linux/semctl.c: Likewise.
19897 * sysdeps/unix/sysv/linux/shmctl.c: Likewise.
19898 * sysdeps/unix/sysv/linux/speed.c: Likewise.
19899 * sysdeps/unix/sysv/linux/xstatconv.h: Likewise.
19900 * sysdeps/wordsize-32/divdi3.c: Likewise.
19901 * time/sys/time.h: Likewise.
19902 * wcsmbs/Makefile: Likewise.
19904 2013-01-01 David S. Miller <davem@davemloft.net>
19906 * po/fr.po: Update from translation team.
19908 * catgets/gencat.c: Update copyright year.
19909 * csu/version.c: Likewise.
19910 * debug/catchsegv.sh: Likewise.
19911 * debug/pcprofiledump.c: Likewise.
19912 * debug/xtrace.sh: Likewise.
19913 * elf/ldconfig.c: Likewise.
19914 * elf/ldd.bash.in: Likewise.
19915 * elf/pldd.c: Likewise.
19916 * elf/sotruss.ksh: Likewise.
19917 * elf/sprof.c: Likewise.
19918 * iconv/iconv_prog.c: Likewise.
19919 * iconv/iconvconfig.c: Likewise.
19920 * locale/programs/locale.c: Likewise.
19921 * locale/programs/localedef.c: Likewise.
19922 * login/programs/pt_chown.c: Likewise.
19923 * malloc/memusage.sh: Likewise.
19924 * malloc/memusagestat.c: Likewise.
19925 * malloc/mtrace.pl: Likewise.
19926 * nscd/nscd.c: Likewise.
19927 * nss/getent.c: Likewise.
19928 * nss/makedb.c: Likewise.
19929 * posix/getconf.c: Likewise.
19931 2012-12-31 Siddhesh Poyarekar <siddhesh@redhat.com>
19933 * sysdeps/ieee754/dbl-64/mpa.c (__mp_dbl): Favour normal
19936 2012-12-30 Mike Frysinger <vapier@gentoo.org>
19938 * math/bits/mathcalls.h (modf): Use __nonnull.
19940 2012-12-29 Siddhesh Poyarekar <siddhesh@redhat.com>
19942 * sysdeps/ieee754/dbl-64/branred.h: Include dla.h.
19943 (split): Use macro CN instead of the bare value.
19944 * sysdeps/ieee754/dbl-64/dla.h: Add comment to explain why CN
19946 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use CN
19947 instead of the bare value.
19948 (power1): Likewise.
19950 2012-12-28 Siddhesh Poyarekar <siddhesh@redhat.com>
19952 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove
19954 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
19956 * sysdeps/ieee754/dbl-64/atnat.h: Replaced constants with
19958 * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
19959 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
19960 * sysdeps/ieee754/dbl-64/ulog.h: Likewise.
19961 * sysdeps/ieee754/dbl-64/utan.h: Likewise.
19963 2012-12-28 Andreas Jaeger <aj@suse.de>
19965 * elf/elf.h (NT_S390_TDB, NT_FILE, NT_SIGINFO): Define. New
19966 values are from Linux 3.7.
19968 * sysdeps/gnu/netinet/tcp.h (TCPI_OPT_SYN_DATA)
19969 (TCPI_OPT_ECN_SEEN): Define. Sync with Linux 3.7.
19971 2012-12-28 Siddhesh Poyarekar <siddhesh@redhat.com>
19973 * misc/sys/cdefs.h (__glibc_likely): Wrap __builtin_expect for
19976 * sysdeps/ieee754/dbl-64/mpa.c (norm): Define R as RADIXI.
19978 * sysdeps/ieee754/dbl-64/mpa2.h: Remove all static const
19979 variables with preprocessor constants.
19980 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
19981 * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
19982 * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
19984 2012-12-27 Bruno Haible <bruno@clisp.org>
19987 * string/xpg-strerror.c (__xpg_strerror_r): Optimize, call strlen
19990 2012-12-27 Siddhesh Poyarekar <siddhesh@redhat.com>
19992 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Eliminate __mpexp_nn
19993 and use variable directly.
19994 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_nn): Remove.
19996 * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
19998 * sysdeps/ieee754/dbl-64/mpa.h: Declare MPONE.
19999 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
20001 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
20002 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
20003 * sysdeps/ieee754/dbl-64/mplog.c (__mplog): Remove mplog.h
20004 include directive. Remove local variable MPONE.
20005 * sysdeps/ieee754/dbl-64/mplog.h: Remove.
20006 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define NO__CONST.
20007 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
20009 2012-12-25 David S. Miller <davem@davemloft.net>
20011 * version.h (RELEASE): Set to "development".
20012 (VERSION): Set to "2.17.90".
20013 * NEWS: Add 2.18 section.
20015 2012-12-21 David S. Miller <davem@davemloft.net>
20017 * po/hr.po: Update from translation team.
20019 2012-12-21 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
20021 * sysdeps/s390/fpu/libm-test-ulps: Refreshed.
20023 2012-12-19 Steve Ellcey <sellcey@mips.com>
20025 * NEWS: Mention new memcpy for MIPS.
20027 2012-12-18 Marcus Shawcroft <marcus.shawcroft@linaro.org>
20029 * manual/contrib.texi (Contributors): Spelling correction.
20031 2012-12-15 David S. Miller <davem@davemloft.net>
20033 * po/ru.po: Update from translation team.
20035 2012-12-13 David S. Miller <davem@davemloft.net>
20037 * NEWS: Mention IFUNC testsuite enhancements.
20039 * po/pl.po: Update from translation team.
20040 * po/bg.po: Likewise.
20042 * manual/contrib.texi (Contributors): Update entries for Hongjiu
20043 Lu and Joseph S. Myers. Add entry for Marcus Shawcroft.
20045 2012-12-11 David S. Miller <davem@davemloft.net>
20047 * po/sv.po: Update from translation team.
20049 * po/vi.po: Update from translation team.
20051 * po/cs.po: Update from translation team.
20053 * po/de.po: Update from translation team.
20054 * po/eo.po: Likewise.
20055 * po/nl.po: Likewise.
20057 2012-12-11 Siddhesh Poyarekar <siddhesh@redhat.com>
20060 * manual/argp.texi (Argp Helper Functions): Move node to follow
20061 Argp Parsing State.
20064 * manual/conf.texi (Limits on File System Capacity): Mention if
20065 terminating null is included in the max size.
20067 2012-12-10 Andreas Jaeger <aj@suse.de>
20069 * po/cs.po: Update from translation team.
20071 2012-12-08 Siddhesh Poyarekar <siddhesh@redhat.com>
20073 * sysdeps/s390/jmpbuf-unwind.h (_jmpbuf_sp): Declare SP as
20074 void pointer and cast to uintptr_t.
20075 * sysdeps/s390/s390-64/memcmp.S: Pick sysdep.h from include
20077 * sysdeps/s390/s390-64/memcpy.S: Likewise.
20078 * sysdeps/s390/s390-64/memset.S: Likewise.
20080 2012-12-08 Benno Schulenberg <bensberg@justemail.net>
20083 * menual/message.texi (Message Translation): Fix typos.
20084 (Helper programs for gettext): Likewise.
20086 2012-12-07 Andreas Schwab <schwab@linux-m68k.org>
20089 * include/link.h (FORCED_DYNAMIC_TLS_OFFSET) [NO_TLS_OFFSET == 0]:
20092 2012-12-07 David S. Miller <davem@davemloft.net>
20094 * po/libc.pot: Update.
20096 2012-12-07 Richard Henderson <rth@redhat.com>
20099 * soft-fp/op-common.h (_FP_MUL): Pull computation of R_e from the
20100 normal/normal case to before the switch.
20101 (_FP_DIV): Likewise.
20103 2012-12-06 Carlos O'Donell <carlos@systemhalted.org>
20104 Mike Frysinger <vapier@gentoo.org>
20106 * sysdeps/unix/sysv/linux/posix_fadvise.c (posix_fadvise): Also
20107 check for __NR_fadvise64_64.
20109 2012-12-06 Chris Metcalf <cmetcalf@tilera.com>
20111 * sysdeps/generic/fpu_control.h (_FPU_GETCW): Define to set cw to
20112 0, not just to plain "0" as a statement.
20113 (_FPU_SETCW): Define to (void) (cw), rather than doing nothing
20116 2012-12-06 Joseph Myers <joseph@codesourcery.com>
20118 * NEWS: Use sourceware.org in Bugzilla URL.
20120 2012-12-06 Siddhesh Poyarekar <siddhesh@redhat.com>
20122 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
20123 (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
20125 * stdio-common/tst-put-error.c (do_test): Add newline to the
20126 padded test to ensure flush.
20128 2012-12-05 Jeff Law <law@redhat.com>
20130 * sunrpc/etc.rpc (fedfs_admin): Add entry.
20132 2012-12-05 Joseph Myers <joseph@codesourcery.com>
20134 * README: Don't refer to ports add-on as distributed separately.
20135 Mention AArch64 in list of systems supported in the ports add-on.
20137 * LICENSES: Add more non-FSF copyright and license notices.
20139 * soft-fp/op-common.h (_FP_DECL): Declare X##_s with __attribute__
20142 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Include <stdlib.h>.
20144 * stdio-common/tst-put-error.c (do_test): Use 10000000 instead of
20145 10000 as width of padded output.
20147 2012-12-04 Joseph Myers <joseph@codesourcery.com>
20149 * sysdeps/powerpc/sysdep.h (_SYS_AUXV_H): Define to 1 not empty.
20151 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Mark
20152 variable LX with __attribute__ ((unused)).
20153 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
20155 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
20156 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
20157 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Mark variable LY
20158 with __attribute__ ((unused)).
20160 2012-12-04 David S. Miller <davem@abraco.davemloft.net>
20162 * sysdeps/generic/memcopy.h: Add multiple inclusion protection.
20164 2012-12-04 Joseph Myers <joseph@codesourcery.com>
20166 * sysdeps/ieee754/ldbl-opt/Makefile [$(subdir) = math]
20167 (CFLAGS-nldbl-acos.c): New variable.
20168 [$(subdir) = math] (CFLAGS-nldbl-acosh.c): Likewise.
20169 [$(subdir) = math] (CFLAGS-nldbl-asin.c): Likewise.
20170 [$(subdir) = math] (CFLAGS-nldbl-asinh.c): Likewise.
20171 [$(subdir) = math] (CFLAGS-nldbl-atan.c): Likewise.
20172 [$(subdir) = math] (CFLAGS-nldbl-atan2.c): Likewise.
20173 [$(subdir) = math] (CFLAGS-nldbl-atanh.c): Likewise.
20174 [$(subdir) = math] (CFLAGS-nldbl-cabs.c): Likewise.
20175 [$(subdir) = math] (CFLAGS-nldbl-cacos.c): Likewise.
20176 [$(subdir) = math] (CFLAGS-nldbl-cacosh.c): Likewise.
20177 [$(subdir) = math] (CFLAGS-nldbl-carg.c): Likewise.
20178 [$(subdir) = math] (CFLAGS-nldbl-casin.c): Likewise.
20179 [$(subdir) = math] (CFLAGS-nldbl-casinh.c): Likewise.
20180 [$(subdir) = math] (CFLAGS-nldbl-catan.c): Likewise.
20181 [$(subdir) = math] (CFLAGS-nldbl-catanh.c): Likewise.
20182 [$(subdir) = math] (CFLAGS-nldbl-cbrt.c): Likewise.
20183 [$(subdir) = math] (CFLAGS-nldbl-ccos.c): Likewise.
20184 [$(subdir) = math] (CFLAGS-nldbl-ccosh.c): Likewise.
20185 [$(subdir) = math] (CFLAGS-nldbl-ceil.c): Likewise.
20186 [$(subdir) = math] (CFLAGS-nldbl-cexp.c): Likewise.
20187 [$(subdir) = math] (CFLAGS-nldbl-cimag.c): Likewise.
20188 [$(subdir) = math] (CFLAGS-nldbl-clog.c): Likewise.
20189 [$(subdir) = math] (CFLAGS-nldbl-clog10.c): Likewise.
20190 [$(subdir) = math] (CFLAGS-nldbl-conj.c): Likewise.
20191 [$(subdir) = math] (CFLAGS-nldbl-copysign.c): Likewise.
20192 [$(subdir) = math] (CFLAGS-nldbl-cos.c): Likewise.
20193 [$(subdir) = math] (CFLAGS-nldbl-cosh.c): Likewise.
20194 [$(subdir) = math] (CFLAGS-nldbl-cpow.c): Likewise.
20195 [$(subdir) = math] (CFLAGS-nldbl-cproj.c): Likewise.
20196 [$(subdir) = math] (CFLAGS-nldbl-creal.c): Likewise.
20197 [$(subdir) = math] (CFLAGS-nldbl-csin.c): Likewise.
20198 [$(subdir) = math] (CFLAGS-nldbl-csinh.c): Likewise.
20199 [$(subdir) = math] (CFLAGS-nldbl-csqrt.c): Likewise.
20200 [$(subdir) = math] (CFLAGS-nldbl-ctan.c): Likewise.
20201 [$(subdir) = math] (CFLAGS-nldbl-ctanh.c): Likewise.
20202 [$(subdir) = math] (CFLAGS-nldbl-drem.c): Likewise.
20203 [$(subdir) = math] (CFLAGS-nldbl-erf.c): Likewise.
20204 [$(subdir) = math] (CFLAGS-nldbl-erfc.c): Likewise.
20205 [$(subdir) = math] (CFLAGS-nldbl-exp.c): Likewise.
20206 [$(subdir) = math] (CFLAGS-nldbl-exp10.c): Likewise.
20207 [$(subdir) = math] (CFLAGS-nldbl-exp2.c): Likewise.
20208 [$(subdir) = math] (CFLAGS-nldbl-expm1.c): Likewise.
20209 [$(subdir) = math] (CFLAGS-nldbl-fabs.c): Likewise.
20210 [$(subdir) = math] (CFLAGS-nldbl-fdim.c): Likewise.
20211 [$(subdir) = math] (CFLAGS-nldbl-finite.c): Likewise.
20212 [$(subdir) = math] (CFLAGS-nldbl-floor.c): Likewise.
20213 [$(subdir) = math] (CFLAGS-nldbl-fma.c): Likewise.
20214 [$(subdir) = math] (CFLAGS-nldbl-fmax.c): Likewise.
20215 [$(subdir) = math] (CFLAGS-nldbl-fmin.c): Likewise.
20216 [$(subdir) = math] (CFLAGS-nldbl-fmod.c): Likewise.
20217 [$(subdir) = math] (CFLAGS-nldbl-frexp.c): Likewise.
20218 [$(subdir) = math] (CFLAGS-nldbl-gamma.c): Likewise.
20219 [$(subdir) = math] (CFLAGS-nldbl-hypot.c): Likewise.
20220 [$(subdir) = math] (CFLAGS-nldbl-ilogb.c): Likewise.
20221 [$(subdir) = math] (CFLAGS-nldbl-isinf.c): Likewise.
20222 [$(subdir) = math] (CFLAGS-nldbl-isnan.c): Likewise.
20223 [$(subdir) = math] (CFLAGS-nldbl-j0.c): Likewise.
20224 [$(subdir) = math] (CFLAGS-nldbl-j1.c): Likewise.
20225 [$(subdir) = math] (CFLAGS-nldbl-jn.c): Likewise.
20226 [$(subdir) = math] (CFLAGS-nldbl-ldexp.c): Likewise.
20227 [$(subdir) = math] (CFLAGS-nldbl-lgamma.c): Likewise.
20228 [$(subdir) = math] (CFLAGS-nldbl-lgamma_r.c): Likewise.
20229 [$(subdir) = math] (CFLAGS-nldbl-llrint.c): Likewise.
20230 [$(subdir) = math] (CFLAGS-nldbl-llround.c): Likewise.
20231 [$(subdir) = math] (CFLAGS-nldbl-log.c): Likewise.
20232 [$(subdir) = math] (CFLAGS-nldbl-log10.c): Likewise.
20233 [$(subdir) = math] (CFLAGS-nldbl-log1p.c): Likewise.
20234 [$(subdir) = math] (CFLAGS-nldbl-log2.c): Likewise.
20235 [$(subdir) = math] (CFLAGS-nldbl-logb.c): Likewise.
20236 [$(subdir) = math] (CFLAGS-nldbl-lrint.c): Likewise.
20237 [$(subdir) = math] (CFLAGS-nldbl-lround.c): Likewise.
20238 [$(subdir) = math] (CFLAGS-nldbl-modf.c): Likewise.
20239 [$(subdir) = math] (CFLAGS-nldbl-nan.c): Likewise.
20240 [$(subdir) = math] (CFLAGS-nldbl-nearbyint.c): Likewise.
20241 [$(subdir) = math] (CFLAGS-nldbl-nextafter.c): Likewise.
20242 [$(subdir) = math] (CFLAGS-nldbl-nexttoward.c): Likewise.
20243 [$(subdir) = math] (CFLAGS-nldbl-nexttowardf.c): Likewise.
20244 [$(subdir) = math] (CFLAGS-nldbl-pow.c): Likewise.
20245 [$(subdir) = math] (CFLAGS-nldbl-pow10.c): Likewise.
20246 [$(subdir) = math] (CFLAGS-nldbl-remainder.c): Likewise.
20247 [$(subdir) = math] (CFLAGS-nldbl-remquo.c): Likewise.
20248 [$(subdir) = math] (CFLAGS-nldbl-rint.c): Likewise.
20249 [$(subdir) = math] (CFLAGS-nldbl-round.c): Likewise.
20250 [$(subdir) = math] (CFLAGS-nldbl-scalb.c): Likewise.
20251 [$(subdir) = math] (CFLAGS-nldbl-scalbln.c): Likewise.
20252 [$(subdir) = math] (CFLAGS-nldbl-scalbn.c): Likewise.
20253 [$(subdir) = math] (CFLAGS-nldbl-significand.c): Likewise.
20254 [$(subdir) = math] (CFLAGS-nldbl-sin.c): Likewise.
20255 [$(subdir) = math] (CFLAGS-nldbl-sincos.c): Likewise.
20256 [$(subdir) = math] (CFLAGS-nldbl-sinh.c): Likewise.
20257 [$(subdir) = math] (CFLAGS-nldbl-sqrt.c): Likewise.
20258 [$(subdir) = math] (CFLAGS-nldbl-tan.c): Likewise.
20259 [$(subdir) = math] (CFLAGS-nldbl-tanh.c): Likewise.
20260 [$(subdir) = math] (CFLAGS-nldbl-tgamma.c): Likewise.
20261 [$(subdir) = math] (CFLAGS-nldbl-trunc.c): Likewise.
20262 [$(subdir) = math] (CFLAGS-nldbl-y0.c): Likewise.
20263 [$(subdir) = math] (CFLAGS-nldbl-y1.c): Likewise.
20264 [$(subdir) = math] (CFLAGS-nldbl-yn.c): Likewise.
20266 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
20267 (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
20270 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Clear
20271 whole low double instead of just low 47 bits when splitting values
20274 2012-12-03 Allan McRae <allan@archlinux.org>
20276 * manual/stdio.texi (Predefined Printf Handlers): Remove
20277 @hsep and @vsep usage.
20279 2012-12-03 Mike Frysinger <vapier@gentoo.org>
20281 * bits/byteswap.h [__GNUC__]: Change __GNUC_PREREQ from 4.2 to 4.3.
20282 * sysdeps/x86/bits/byteswap.h [__GNUC__]: Likewise.
20284 2012-12-03 Jeff Law <law@redhat.com>
20286 * time/sys/time.h (settimeofday): Do not mark TV argument
20289 2012-12-01 Mike Frysinger <vapier@gentoo.org>
20291 * libio/fileops.c (_IO_new_file_close_it): Do not always flush
20292 when currently writing and seek to current position when not.
20293 * libio/Makefile (tests): Remove bug-fclose1.
20294 * libio/bug-fclose1.c: Delete.
20296 2012-12-01 Joseph Myers <joseph@codesourcery.com>
20298 * manual/arith.texi (feenableexcept): Fix typo.
20299 (fedisableexcept): Likewise.
20301 2012-11-30 Roland McGrath <roland@hack.frob.com>
20303 * sysdeps/powerpc/powerpc64/entry.h (TEXT_START): Define using a
20304 second, differently-typed declaration, rather than a cast.
20306 2012-11-30 Siddhesh Poyarekar <siddhesh@redhat.com>
20308 * sunrpc/rpc/svc.h (__svc_accept_failed): Move declaration...
20309 * include/rpc/svc.h: ... here.
20311 2012-11-30 Aurelien Jarno <aurel32@debian.org>
20314 * resolv/res_query.c(__libc_res_nquery): Assign hp and hp2
20315 depending n and resplen2 to catch cases where answer
20318 2012-11-29 Carlos O'Donell <carlos@systemhalted.org>
20320 * elf/get-dynamic-info.h (elf_get_dynamic_info): Warn
20321 for unsupported DF_1_* bits when DL_DEBUG_FILES is set.
20323 2012-11-29 Mike Frysinger <vapier@gentoo.org>
20325 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c (HAS_CPUCLOCK): Delete.
20327 2012-11-29 Roland McGrath <roland@hack.frob.com>
20329 * inet/tst-inet6_rth.c (do_test): Use a union rather than type punning.
20331 2012-11-28 Jeff Law <law@redhat.com>
20334 * nscd/grpcache.c (cache_addgr): Rename alloca_used to
20335 dataset_temporary. Track alloca usage into alloca_used.
20336 If dataset is large allocate and release it via malloc/free.
20338 2012-06-04 Florian Weimer <fweimer@redhat.com>
20341 * debug/test-strcpy_chk.c: Mention __chk_fail ABI test.
20343 2012-11-28 David S. Miller <davem@davemloft.net>
20345 * sysdeps/sparc/fpu/libm-test-ulps: Update.
20347 2012-11-28 Joseph Myers <joseph@codesourcery.com>
20350 * sysdeps/ieee754/ldbl-96/e_asinl.c (pio2_hi): Use hex float value
20351 of pi/2 rounded to nearest to 64 bits.
20352 (pio2_lo): Use hex float value of pi/2 - pio2_hi rounded to
20353 nearest to 64 bits.
20354 (pio4_hi): Use hex float value of pi/4 rounded to nearest to 64
20357 2012-11-28 Jeff Law <law@redhat.com>
20358 Martin Osvald <mosvald@redhat.com>
20361 * sunrpc/rpc/svc.h (__svc_accept_failed): New prototype.
20362 * sunrpc/svc.c: Include time.h.
20363 (__svc_accept_failed): New function.
20364 * sunrpc/svc_tcp.c (rendezvous_request): If the accept fails for
20365 any reason other than EINTR, call __svc_accept_failed.
20366 * sunrpc/svc_udp.c (svcudp_recv): Similarly.
20367 * sunrpc/svc_unix.c (rendezvous_request): Similarly.
20369 2012-11-28 Andreas Schwab <schwab@suse.de>
20371 * scripts/abilist.awk: Also handle indirect functions in .opd
20374 2012-11-28 Joseph Myers <joseph@codesourcery.com>
20377 * sysdeps/x86/fpu/powl_helper.c: New file.
20378 * sysdeps/x86/fpu/Makefile: Likewise.
20379 * sysdeps/i386/fpu/e_powl.S (limit): Remove object.
20381 (__ieee754_powl): Use __powl_helper for finite arguments except
20382 integer exponents below 8.
20383 * sysdeps/x86_64/fpu/e_powl.S (limit): Remove object.
20385 (__ieee754_powl): Use __powl_helper for finite arguments except
20386 integer exponents below 8.
20387 * math/libm-test.inc (pow_test): Add more tests and enable some
20388 previously disabled tests.
20389 * sysdeps/i386/fpu/libm-test-ulps: Update.
20390 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20392 2012-11-28 Siddhesh Poyarekar <siddhesh@redhat.com>
20393 Carlos O'Donell <carlos_odonell@mentor.com>
20395 * nss/makedb.c (is_prime): Assert that input is odd and greater
20396 than 4. Note that fact in a comment too.
20397 (next_prime): Add 4 to input.
20399 2012-11-27 Siddhesh Poyarekar <siddhesh@redhat.com>
20402 * libio/Makefile (tests): Add test case tst-fwrite-error.
20403 * libio/iofwrite.c (_IO_fwrite): Return 0 on EOF.
20404 * libio/iofwrite_u.c (fwrite_unlocked): Likewise.
20405 * libio/tst-fwrite-error.c: New test case.
20407 2012-11-26 H.J. Lu <hongjiu.lu@intel.com>
20409 * elf/dl-load.c (_dl_map_object_from_fd): Cast to uintptr_t
20410 before casting to void *.
20411 * include/libc-internal.h (__pointer_type): New macro.
20412 (__integer_if_pointer_type_sub): Likewise.
20413 (__integer_if_pointer_type): Likewise.
20414 (cast_to_integer): Likewise.
20415 * sysdeps/x86_64/bits/atomic.h: Include <libc-internal.h>.
20416 (__arch_c_compare_and_exchange_val_64_acq): Use cast_to_integer
20417 before casting to atomic64_t.
20418 (atomic_exchange_acq): Likewise.
20419 (__arch_exchange_and_add_body): Likewise.
20420 (__arch_add_body): Likewise.
20421 (atomic_add_negative): Likewise.
20422 (atomic_add_zero): Likewise.
20424 2012-11-26 Joseph Myers <joseph@codesourcery.com>
20426 * sysdeps/generic/unwind-dw2-fde.c (get_pc_begin): New function.
20427 (fde_unencoded_compare): Use get_pc_begin instead of type-punning.
20428 (add_fdes): Likewise.
20429 (linear_search_fdes): Likewise.
20430 (binary_search_unencoded_fdes): Likewise.
20432 2012-11-26 Andreas Schwab <schwab@linux-m68k.org>
20434 * elf/sotruss.ksh: Correctly locate argument of -F and -T options.
20436 2012-11-24 Adam Conrad <adconrad@0c3.net>
20438 * configure.in: Autodetect C++ header directories.
20439 * configure: Regenerated.
20441 2012-11-23 Mike Frysinger <vapier@gentoo.org>
20443 * elf/Makefile ($(objpfx)ld.so): Change readelf to $(READELF).
20445 2012-11-23 Andreas Schwab <schwab@linux-m68k.org>
20447 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
20449 2012-11-22 Joseph Myers <joseph@codesourcery.com>
20451 * math/libm-test.inc (fma_test_towardzero) [TEST_LDOUBLE &&
20452 LDBL_MANT_DIG == 106]: Disable some tests.
20453 (fma_test_downward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
20455 (fma_test_upward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
20459 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Return the
20460 input for small inputs. Return +/- pi/2 for large inputs.
20461 * math/libm-test.inc (atan_test): Add more tests.
20463 * sysdeps/generic/unwind-dw2-fde-glibc.c
20464 (_Unwind_IteratePhdrCallback): Declare P_DYNAMIC with
20465 __attribute__ ((unused)).
20468 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c (__fmal): Compute result as
20469 x * y if x and y are nonzero and z is zero.
20472 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Saturate
20473 nonzero exponents with absolute value below 0x1p-117 to +/-
20477 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Scale
20478 up arguments below 2**-450, not just those below 2**-500.
20479 * math/libm-test.inc (hypot_test): Add another test.
20482 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl):
20483 Return a+b for ratio over 2**120, not 2**60.
20484 * math/libm-test.inc (hypot_test): Add another test.
20486 * math/libm-test.inc (clog_test): Use
20487 UNDERFLOW_EXCEPTION_LDOUBLE_IBM on two tests.
20488 (clog10_test): Likewise.
20491 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (big): Change to 1e290L.
20493 2012-11-22 Andreas Schwab <schwab@suse.de>
20495 * sysdeps/i386/fpu/libm-test-ulps: Update.
20497 2012-11-22 Pino Toscano <toscano.pino@tiscali.it>
20499 * sysdeps/x86_64/multiarch/test-multiarch.c (get_cpuinfo): Terminate
20500 printf output with newline.
20502 2012-11-21 H.J. Lu <hongjiu.lu@intel.com>
20505 * aclocal.m4 (LIBC_LINKER_FEATURE): New macro.
20506 * configure.in: Use LIBC_LINKER_FEATURE to check -z nodelete,
20507 -z nodlopen, -z initfirst and -z execstack support.
20508 * configure: Regenerated.
20510 * elf/elf.h (DF_1_NODIRECT): New macro.
20511 (DF_1_IGNMULDEF): Likewise.
20512 (DF_1_NOKSYMS): Likewise.
20513 (DF_1_NOHDR): Likewise.
20514 (DF_1_EDITED): Likewise.
20515 (DF_1_NORELOC): Likewise.
20516 (DF_1_SYMINTPOSE): Likewise.
20517 (DF_1_GLOBAUDIT): Likewise.
20518 (DF_1_SINGLETON): Likewise.
20519 * elf/get-dynamic-info.h (elf_get_dynamic_info): Assert
20520 DT_1_SUPPORTED_MASK bits.
20521 * include/elf.h (DT_1_SUPPORTED_MASK): New macro.
20523 2012-11-20 Carlos O'Donell <carlos_odonell@mentor.com>
20525 * sysdeps/unix/make-syscalls.sh: Document prefixes.
20527 2012-11-20 Thomas Schwinge <thomas@codesourcery.com>
20529 * sysdeps/sh/dl-machine.h (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): New
20532 * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr, recvmmsg)
20533 (sendmmsg): Move declarations...
20534 * socket/sys/socket.h: ... here.
20535 * sysdeps/unix/sysv/linux/recvmmsg.c [!defined __NR_recvmmsg &&
20536 !defined __NR_socketcall] (recvmmsg): Move ENOSYS stub into and
20538 * socket/recvmmsg.c: ... this new file.
20539 * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SENDMMSG]
20540 (sendmmsg): Rename to __sendmmsg, create weak alias and make
20541 definition of __sendmmsg hidden.
20542 * sysdeps/unix/sysv/linux/sendmmsg.c (sendmmsg): Likewise.
20543 [!defined __NR_sendmmsg && !defined __NR_socketcall] (sendmmsg):
20544 Move ENOSYS stub into and include it from...
20545 * socket/sendmmsg.c: ... this new file.
20546 * sysdeps/unix/sysv/linux/Makefile [subdir=socket]
20547 (sysdep_routines): Move recvmmsg and sendmmsg...
20548 * socket/Makefile (routines): ... here.
20549 * socket/Versions (GLIBC_2.17): Add recvmmsg and sendmmsg.
20550 (GLIBC_PRIVATE): Add __sendmmsg.
20551 * include/sys/socket.h (__sendmmsg): Add declarations.
20552 * resolv/res_send.c (send_dg): Invoke __sendmmsg instead of
20555 2012-11-20 Joseph Myers <joseph@codesourcery.com>
20557 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Mark
20558 variable I1 with __attribute__ ((unused)).
20559 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
20561 2012-11-19 Joseph Myers <joseph@codesourcery.com>
20563 * stdio-common/_itowa.c (_itowa) [BITS_PER_MP_LIMB == 64]: Declare
20564 DUMMY variables with __attribute__ ((unused)).
20566 * bits/byteswap.h: Include <bits/types.h>.
20567 (__bswap_64): Use __uint64_t instead of unsigned long long int.
20569 2012-11-19 Pino Toscano <toscano.pino@tiscali.it>
20571 * sysdeps/mach/hurd/ptsname.c (ptsname): Change the type of PEERNAME to
20572 string_t. Do not manually set errno.
20573 (__ptsname_r): Change the type of PEERNAME to string_t, and check its
20574 length with __strnlen. Make sure to both set errno and return it on
20577 2012-11-19 David S. Miller <davem@davemloft.net>
20579 With help from Joseph Myers.
20580 * sysdeps/ieee754/ldbl-128/s_atanl.c (__atanl): Handle tiny and
20581 very large arguments properly.
20582 * math/libm-test.inc (atan_test): New tests.
20583 (atan2_test): New tests.
20584 * sysdeps/sparc/fpu/libm-test-ulps: Update.
20585 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
20587 2012-11-19 Joseph Myers <joseph@codesourcery.com>
20590 * posix/bits/posix1_lim.h [!__USE_XOPEN2K] (_POSIX_TZNAME_MAX):
20593 * conform/data/errno.h-data [POSIX] (EADDRINUSE): Do not expect.
20594 [POSIX] (EADDRNOTAVAIL): Likewise.
20595 [POSIX] (EAFNOSUPPORT): Likewise.
20596 [POSIX] (EALREADY): Likewise.
20597 [POSIX] (ECONNABORTED): Likewise.
20598 [POSIX] (ECONNREFUSED): Likewise.
20599 [POSIX] (ECONNRESET): Likewise.
20600 [POSIX] (EDESTADDRREQ): Likewise.
20601 [POSIX] (EDQUOT): Likewise.
20602 [POSIX] (EHOSTUNREACH): Likewise.
20603 [POSIX] (EIDRM): Likewise.
20604 [POSIX] (EISCONN): Likewise.
20605 [POSIX] (ELOOP): Likewise.
20606 [POSIX] (EMULTIHOP): Likewise.
20607 [POSIX] (ENETDOWN): Likewise.
20608 [POSIX] (ENETUNREACH): Likewise.
20609 [POSIX] (ENOBUFS): Likewise.
20610 [POSIX] (ENODATA): Likewise.
20611 [POSIX] (ENOLINK): Likewise.
20612 [POSIX] (ENOMSG): Likewise.
20613 [POSIX] (ENOPROTOOPT): Likewise.
20614 [POSIX] (ENOSR): Likewise.
20615 [POSIX] (ENOSTR): Likewise.
20616 [POSIX] (ENOTCONN): Likewise.
20617 [POSIX] (ENOTSOCK): Likewise.
20618 [POSIX] (EOPNOTSUPP): Likewise.
20619 [POSIX] (EOVERFLOW): Likewise.
20620 [POSIX] (EPROTO): Likewise.
20621 [POSIX] (EPROTONOSUPPORT): Likewise.
20622 [POSIX] (EPROTOTYPE): Likewise.
20623 [POSIX] (ESTALE): Likewise.
20624 [POSIX] (ETIME): Likewise.
20625 [POSIX] (ETXTBSY): Likewise.
20626 [POSIX] (EWOULDBLOCK): Likewise.
20627 [!ISO && !ISO99 && !ISO11] (E*): Do not allow.
20628 * conform/data/fcntl.h-data [POSIX] (SEEK_SET): Allow.
20629 [POSIX] (SEEK_CUR): Likewise.
20630 [POSIX] (SEEK_END): Likewise.
20631 [POSIX || UNIX98] (mode_t): Do not require.
20632 [POSIX] (off_t): Likewise.
20633 [POSIX] (pid_t): Likewise.
20634 [POSIX] (sys/stat.h): Do not allow header.
20635 [POSIX] (unistd.h): Likewise.
20636 [!ISO && !ISO99 && !ISO11] (timespec): Do not allow.
20637 [!ISO && !ISO99 && !ISO11] (tv_nsec): Likewise.
20638 [!ISO && !ISO99 && !ISO11] (tv_sec): Likewise.
20639 * conform/data/locale.h-data [POSIX] (LC_MESSAGES): Do not
20641 * conform/data/mqueue.h-data [!ISO && !ISO99 && !ISO11] (struct
20642 sigevent): Specify elements.
20643 [XOPEN2K8 || POSIX2008] (struct sigevent): Remove duplicate type
20645 [!ISO && !ISO99 && !ISO11] (mq_*): Allow.
20646 [!ISO && !ISO99 && !ISO11] (MQ_*): Likewise.
20648 * conform/data/cpio.h-data [POSIX]: Disable whole file.
20649 * conform/data/glob.h-data [POSIX] (GLOB_NOSYS): Do not expect.
20650 * conform/data/limits.h-data [!ISO && !ISO99 && !ISO11]
20651 (AIO_LIST_MAX): Change to AIO_LISTIO_MAX.
20652 [!ISO && !ISO99 && !ISO11] (ATEXT_MAX): Remove.
20653 [!ISO && !ISO99 && !ISO11 && !POSIX && !XPG3] (ATEXIT_MAX): Allow.
20654 [POSIX || POSIX2008 || XPG3] (IOV_MAX): Do not allow.
20655 [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Likewise.
20656 [!ISO && !ISO99 && !ISO11] (MQ_PRIO_MAX): Allow.
20657 [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Remove duplicate entry.
20658 [POSIX || XPG3 || XPG4 || UNIX98] (SS_REPL_MAX): Do not allow.
20659 [POSIX || XPG3 || XPG4 || UNIX98] (SYMLOOP_MAX): Likewise.
20660 [POSIX || XPG3 || XPG4] (FILESIZEBITS): Likewise.
20661 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_ALLOC_SIZE_MIN):
20663 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_INCR_XFER_SIZE):
20665 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_MAX_XFER_SIZE):
20667 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_XFER_ALIGN):
20669 [POSIX || XPG3 || XPG4 || UNIX98] (SYMLINK_MAX): Likewise.
20670 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SS_REPL_MAX): Likewise.
20671 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLINK_MAX): Likewise.
20672 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLOOP_MAX): Likewise.
20673 [!ISO && !ISO99 && !ISO11] (BC_BASE_MAX): Use macro-constant.
20674 Specify lower bound on value.
20675 [!ISO && !ISO99 && !ISO11] (BC_DIM_MAX): Likewise.
20676 [!ISO && !ISO99 && !ISO11] (BC_SCALE_MAX): Likewise.
20677 [!ISO && !ISO99 && !ISO11] (BC_STRING_MAX): Likewise.
20678 [!ISO && !ISO99 && !ISO11] (COLL_WEIGHTS_MAX): Likewise.
20679 [!ISO && !ISO99 && !ISO11] (EXPR_NEST_MAX): Likewise.
20680 [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Likewise
20681 [POSIX || XPG3 || XPG4] (CHARCLASS_NAME_MAX): Do not allow.
20682 [!ISO && !ISO99 && !ISO11] (_POSIX_CLOCKRES_MIN): Specify exact
20684 [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_LISTIO_MAX): Do not specify
20686 [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_MAX): Likewise.
20687 [!ISO && !ISO99 && !ISO11] (_POSIX_ARG_MAX): Likewise.
20688 [!ISO && !ISO99 && !ISO11] (_POSIX_CHILD_MAX): Likewise.
20689 [!ISO && !ISO99 && !ISO11] (_POSIX_DELAYTIMER_MAX): Likewise.
20690 [!ISO && !ISO99 && !ISO11] (_POSIX_LINK_MAX): Likewise.
20691 [!ISO && !ISO99 && !ISO11] (_POSIX_LOGIN_NAME_MAX): Likewise.
20692 [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_CANON): Likewise.
20693 [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_INPUT): Likewise.
20694 [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_OPEN_MAX): Likewise.
20695 [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_PRIO_MAX): Likewise.
20696 [!ISO && !ISO99 && !ISO11] (_POSIX_NAME_MAX): Likewise.
20697 [!ISO && !ISO99 && !ISO11] (_POSIX_NGROUPS_MAX): Likewise.
20698 [!ISO && !ISO99 && !ISO11] (_POSIX_OPEN_MAX): Likewise.
20699 [!ISO && !ISO99 && !ISO11] (_POSIX_PATH_MAX): Likewise.
20700 [!ISO && !ISO99 && !ISO11] (_POSIX_PIPE_BUF): Likewise.
20701 [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Remove duplicate
20703 [!ISO && !ISO99 && !ISO11] (_POSIX_RTSIG_MAX): Do not specify as
20705 [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_NSEMS_MAX): Likewise.
20706 [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_VALUE_MAX): Likewise.
20707 [!ISO && !ISO99 && !ISO11] (_POSIX_SIGQUEUE_MAX): Likewise.
20708 [!ISO && !ISO99 && !ISO11] (_POSIX_SSIZE_MAX): Likewise.
20709 [!ISO && !ISO99 && !ISO11] (_POSIX_STREAM_MAX): Likewise.
20710 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_DESTRUCTOR_ITERATIONS):
20712 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_KEYS_MAX): Likewise.
20713 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_THREADS_MAX): Likewise.
20714 [!ISO && !ISO99 && !ISO11] (_POSIX_TIMER_MAX): Likewise.
20715 [!ISO && !ISO99 && !ISO11] (_POSIX_TTY_NAME_MAX): Likewise.
20716 [!ISO && !ISO99 && !ISO11] (_POSIX_TZNAME_MAX): Likewise. Give
20717 value as 3 for [POSIX || XPG3 || XPG4 || UNIX98].
20718 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_BASE_MAX): Do not specify
20720 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_DIM_MAX): Likewise.
20721 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_SCALE_MAX): Likewise.
20722 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_STRING_MAX): Likewise.
20723 [!ISO && !ISO99 && !ISO11] (_POSIX2_CHARCLASS_NAME_MAX):
20724 Likewise. Do not allow for [POSIX || XPG3 || XPG4 || UNIX98].
20725 [!ISO && !ISO99 && !ISO11] (_POSIX2_COLL_WEIGHTS_MAX): Do not
20726 specify as optional.
20727 [!ISO && !ISO99 && !ISO11] (_POSIX2_EXPR_NEST_MAX): Likewise.
20728 [!ISO && !ISO99 && !ISO11] (_POSIX2_LINE_MAX): Likewise.
20729 [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Likewise.
20730 [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Do not allow.
20731 [POSIX || XPG3] (NL_ARGMAX): Do not allow.
20732 [XPG3] (NL_LANGMAX): Likewise.
20733 [POSIX || XPG3] (NL_MSGMAX): Likewise.
20734 [POSIX || XPG3] (NL_NMAX): Likewise.
20735 [POSIX || XPG3] (NL_SETMAX): Likewise.
20736 [POSIX || XPG3] (NL_TEXTMAX): Likewise.
20737 [XPG3] (NZERO): Likewise.
20738 [XPG4 || UNIX98] (TMP_MAX): Only enable for these conditions.
20739 [POSIX || XPG3 || XPG4 || UNIX98] (*_MIN): Do not allow.
20740 [!ISO && !ISO99 && !ISO11] (*_t): Allow.
20741 * conform/data/regex.h-data [!ISO && !ISO99 && !ISO11]
20742 (REG_ERANGE): Expect.
20743 * conform/data/stdio.h-data [POSIX] (L_cuserid): Use
20745 [POSIX || XOPEN2K || XOPEN2K8 || POSIX2008] (getchar_unlocked):
20746 Use (void) in prototype.
20747 [POSIX] (*_t): Allow.
20748 * conform/data/sys/times.h-data [POSIX]: Enable whole file.
20749 * conform/data/wordexp.h-data [!ISO && !ISO99 && !ISO11]
20750 (WRDE_BADVAL): Expect.
20752 * conform/data/fcntl.h-data [XPG3 || XPG4] (O_DSYNC): Do not
20754 [XPG3 || XPG4] (O_RSYNC): Likewise.
20755 * conform/data/signal.h-data [XPG3 || XPG4] (pthread_kill):
20757 [XPG3 || XPG4] (pthread_sigmask): Likewise.
20758 [XPG3 || XPG4] (sigqueue): Likewise.
20759 [XPG3 || XPG4] (sigtimedwait): Likewise.
20760 [XPG3 || XPG4] (sigwaitinfo): Likewise.
20761 * conform/data/stdio.h-data [XPG3 || XPG4] (snprintf): Likewise.
20762 [XPG3 || XPG4] (vsnprintf): Likewise.
20763 * conform/data/sys/stat.h-data [XPG3 || XPG4] (blkcnt_t):
20765 [XPG3 || XPG4] (blksize_t): Likewise.
20766 * conform/data/time.h-data [XPG3 || XPG4] (struct timespec):
20768 [XPG3 || XPG4] (CLOCK_PROCESS_CPUTIME_ID): Likewise.
20769 [XPG3 || XPG4] (CLOCK_THREAD_CPUTIME_ID): Likewise.
20770 [XPG3 || XPG4] (struct itimerspec): Likewise.
20771 [XPG3 || XPG4] (CLOCK_REALTIME): Likewise.
20772 [XPG3 || XPG4] (TIMER_ABSTIME): Likewise.
20773 [XPG3 || XPG4] (CLOCK_MONOTONIC): Likewise.
20774 [XPG3 || XPG4] (clockid_t): Likewise.
20775 [XPG3 || XPG4] (timer_t): Likewise.
20776 [XPG3 || XPG4] (clock_getres): Likewise.
20777 [XPG3 || XPG4] (clock_gettime): Likewise.
20778 [XPG3 || XPG4] (clock_settime): Likewise.
20779 [XPG3 || XPG4] (nanosleep): Likewise.
20780 [XPG3 || XPG4] (timer_create): Likewise.
20781 [XPG3 || XPG4] (timer_delete): Likewise.
20782 [XPG3 || XPG4] (timer_gettime): Likewise.
20783 [XPG3 || XPG4] (timer_getoverrun): Likewise.
20784 [XPG3 || XPG4] (timer_settime): Likewise.
20785 * conform/data/unistd.h-data [XPG3 || XPG4] (fdatasync): Likewise.
20786 [XPG3 || XPG4] (getlogin_r): Likewise.
20787 [XPG3 || XPG4] (pread): Likewise.
20788 [XPG3 || XPG4] (pthread_atfork): Likewise.
20789 [XPG3 || XPG4] (pwrite): Likewise.
20792 * signal/signal.h [__USE_XOPEN_EXTENDED]: Include
20795 2012-11-19 Pino Toscano <toscano.pino@tiscali.it>
20797 * malloc/mtrace.c (muntrace): Reset MALLSTREAM and the hooks before
20798 finalizing MALLSTREAM.
20800 * sysdeps/mach/hurd/syncfs.c: New file.
20802 2012-11-19 Siddhesh Poyarekar <siddhesh@redhat.com>
20805 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Set h_errno to
20806 NETDB_INTERNAL when NSS_STATUS_UNAVAIL.
20807 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Set
20808 h_errno to NETDB_INTERNAL when errno is EMFILE or ENFILE.
20809 (_nss_dns_gethostbyname4_r): Likewise.
20810 * sysdeps/posix/getaddrinfo.c (gaih_inet): Set result to
20811 EAI_SYSTEM if NSS_STATUS_UNAVAIL.
20813 2012-11-19 Peng Haitao <penght@cn.fujitsu.com>
20816 * sunrpc/bindrsvprt.c: Add lock to protect static variable.
20818 2012-11-19 Steve McIntyre <steve.mcintyre@linaro.org>
20820 * sysdeps/generic/ldconfig.h (FLAG_AARCH64_LIB64): New macro.
20821 * elf/cache.c (print_entry): Print ",AArch64" for
20824 * sysdeps/generic/ldconfig.h (FLAG_ARM_LIBHF): New macro.
20825 * elf/cache.c (print_entry): Print ",hard-float" for
20828 2012-11-18 David S. Miller <davem@davemloft.net>
20830 With help from Joseph Myers.
20831 * sysdeps/ieee754/flt-32/e_j0f.c (__ieee754_y0f): Adjust tinyness
20833 * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Adjust tinyness
20835 * sysdeps/ieee754/ldbl-128/e_j0l.c (U0): New constant.
20836 ( __ieee754_y0l): Avoid arithmetic underflow when 'x' is very
20838 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l): Likewise.
20839 * math/libm-test.inc (y0_test): New tests.
20840 (y1_test): New tests.
20841 * sysdeps/i386/fpu/libm-test-ulps: Update.
20842 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
20843 * sysdeps/sparc/fpu/libm-test-ulps: Update.
20845 2012-11-18 Andreas Schwab <schwab@linux-m68k.org>
20847 * configure.in (libc_cv_ld_gnu_indirect_function): Use .quad on
20849 * configure: Regenerated.
20851 2012-11-17 David S. Miller <davem@davemloft.net>
20854 * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Saturate
20855 nonzero exponents with absolute value below 0x1p-128 to +/-
20858 2012-11-17 Joseph Myers <joseph@codesourcery.com>
20860 * sysdeps/unix/sysv/linux/fxstatat.c: Include <string.h>.
20862 * elf/dl-runtime.c [!ELF_MACHINE_NO_PLT]: Make code unconditional.
20864 * posix/getconf-speclist.c: New file.
20865 * posix/posix-envs.def: Likewise.
20866 * posix/confstr.c (START_ENV_GROUP): New macro.
20867 (END_ENV_GROUP): Likewise.
20868 (KNOWN_ABSENT_ENVIRONMENT): Likewise.
20869 (KNOWN_PRESENT_ENV_STRING): Likewise.
20870 (KNOWN_PRESENT_ENVIRONMENT): Likewise.
20871 (UNKNOWN_ENVIRONMENT): Likewise.
20872 (confstr): Include posix-envs.def instead of handling
20873 _CS_V7_WIDTH_RESTRICTED_ENVS, _CS_V6_WIDTH_RESTRICTED_ENVS and
20874 _CS_V5_WIDTH_RESTRICTED_ENVS directly here.
20875 * sysdeps/posix/sysconf.c (START_ENV_GROUP): New macro.
20876 (END_ENV_GROUP): Likewise.
20877 (KNOWN_ABSENT_ENVIRONMENT): Likewise.
20878 (KNOWN_PRESENT_ENVIRONMENT): Likewise.
20879 (UNKNOWN_ENVIRONMENT): Likewise.
20880 (__sysconf): Include posix-envs.def instead of handling associated
20881 cases directly here.
20882 * posix/Makefile ($(objpfx)getconf.speclist): Generate by
20883 preprocessing getconf-speclist.c rather than running getconf or
20884 generating empty file.
20886 2012-11-16 Pino Toscano <toscano.pino@tiscali.it>
20888 * scripts/check-local-headers.sh: Ignore 'mach' headers.
20890 2012-11-16 Andrej Lajovic <natrij@gmail.com>
20893 * iconv/iconv_prog.c (main): Fix -c handling of '/'.
20895 2012-11-16 David S. Miller <davem@davemloft.net>
20897 * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): If xm1 is
20898 smaller than LDBL_EPSILON/2.0L, just return xm1.
20900 2012-11-16 H.J. Lu <hongjiu.lu@intel.com>
20902 * elf/tst-array1.c (init): Set constructor priority to 1000.
20903 (fini): Set destructor priority to 1000.
20904 * elf/tst-array2dep.c: Likewise.
20906 2012-11-16 Siddhesh Poyarekar <siddhesh@redhat.com>
20909 * libio/fileops.c (_IO_new_file_write): Correctly return error.
20910 (_IO_new_file_xsputn): Also return EOF if none of the input
20911 data was written when overflow failed.
20912 * libio/iopadn.c (_IO_padn): Likewise.
20913 * libio/iowpadn.c (_IO_wpadn): Likewise.
20914 * stdio-common/tst-put-error.c: Add copyright notice.
20915 (do_test): Add case for printing padded string.
20916 * stdio-common/vfprintf [!COMPILE_WPRINTF] (PAD): Flag error if
20917 _IO_padn returned error.
20918 [COMPILE_WPRINTF] (PAD): Flag error if _IO_wpadn returned error.
20919 * libio/libioP.h (_IO_xsputn_t): Note in comment that xsputn can
20922 2012-11-16 Siddhesh Poyarekar <siddhesh@redhat.com>
20924 * libio/libioP.h: Add comment note that the references to C++
20925 bits are now obsolete.
20927 2012-11-15 Marcus Shawcroft <marcus.shawcroft@linaro.org>
20929 * math/libm-test.inc (check_complex): Use asprintf.
20931 2012-11-14 Joseph Myers <joseph@codesourcery.com>
20933 * debug/pcprofiledump.c (print_version): Update copyright year.
20934 * malloc/memusagestat.c (print_version): Likewise.
20936 2012-11-14 H.J. Lu <hongjiu.lu@intel.com>
20939 * elf/Makefile (tests): Add tst-audit8.
20940 ($(objpfx)tst-audit8): Also depend on $(common-objpfx)math/libm.so.
20941 ($(objpfx)tst-audit8.out): New target.
20942 (tst-audit8-ENV): New variable.
20943 * elf/dl-runtime.c (_dl_profile_fixup): Call _dl_fixup to skip
20944 audit if l_reloc_result is NULL.
20945 (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): Issue an error if it isn't
20946 defined and ELF_MACHINE_RUNTIME_FIXUP_ARGS is defined.
20947 * elf/tst-audit8.c: New file.
20949 2012-11-14 Marcus Shawcroft <marcus.shawcroft@linaro.org>
20951 * io/Makefile (CFLAGS-open.c, CFLAGS-open64.c): Define.
20952 * misc/Makefile (CFLAGS-select.c): Define.
20953 * posix/Makefile (CFLAGS-pause.c): Define.
20955 2012-11-13 David S. Miller <davem@davemloft.net>
20957 * crypt/Makefile: Move test targets after toplevel Rules
20958 inclusion. Grab any necessary sysdep routines when linking.
20959 * crypt/md5.c (md5_process_block): Remove define, we will always
20960 name it __md5_process_block.
20961 (md5_finish_ctx): Update md5_process_block call.
20962 (md5_stream): Likewise.
20963 (md5_process_bytes): Likewise.
20964 (md5_process_block): Rename to __md5_process_block and move to ...
20965 * crypt/md5-block.c: ... here.
20966 * crypt/sha256.c (sha256_process_block): Move to ...
20967 * crypt/sha256-block.c: ... here.
20968 * crypt/sha512.c (sha512_process_block): Move to ...
20969 * crypt/sha512-block.c: ... here.
20970 * locale/Makefile (CFLAGS-md5.c): Define to add crypt/ to include
20972 * sysdeps/sparc/sparc-ifunc.c (sparc_libc_ifunc): Define.
20973 * sysdeps/sparc/sparc64/multiarch/Makefile
20974 (libcrypt-sysdep_routines): Add crypto assembler sysdeps when in
20976 (localedef-aux): Add md5 crypto assembler when in locale subdir.
20977 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Mirror sparc64
20979 * sysdeps/sparc/sparc64/multiarch/md5-block.c: New file.
20980 * sysdeps/sparc/sparc64/multiarch/md5-crop.S: New file.
20981 * sysdeps/sparc/sparc64/multiarch/sha256-block.c: New file.
20982 * sysdeps/sparc/sparc64/multiarch/sha256-crop.S: New file.
20983 * sysdeps/sparc/sparc64/multiarch/sha512-block.c: New file.
20984 * sysdeps/sparc/sparc64/multiarch/sha512-crop.S: New file.
20985 * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-block.c: New file.
20986 * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-crop.S: New file.
20987 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-block.c: New
20989 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-crop.S: New file.
20990 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-block.c: New
20992 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-crop.S: New file.
20994 2012-11-13 Joseph Myers <joseph@codesourcery.com>
20996 * timezone/tzselect.ksh: Update from tzcode git revision
20997 a435f9f0ecafa56d9e0263835836bd0c64cd7307.
20998 * timezone/zdump.c: Likewise.
20999 * timezone/zic.c: Likewise.
21000 * timezone/Makefile ($(objpfx)version.h): Only include $(version)
21001 in TZVERSION setting, not $(PKGVERSION).
21002 ($(objpfx)tzselect): Likewise. Also substitute PKGVERSION and
21003 REPORT_BUGS_TO settings.
21006 * resolv/netdb.h [__USE_XOPEN_EXTENDED] (IPPORT_RESERVED): Define
21009 2012-11-13 Marcus Shawcroft <marcus.shawcroft@linaro.org>
21011 * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Move underflow
21012 detection to immediately after _FP_ROUND().
21013 * soft-fp/soft-fp.h (_FP_ROUND): Don't round if working
21016 2012-11-11 David S. Miller <davem@davemloft.net>
21018 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Include
21020 (__get_clockfreq_via_proc_openprom): Use __open, __read, and
21021 __close rather than their public counterparts.
21023 2012-11-10 Joseph Myers <joseph@codesourcery.com>
21025 * conform/data/semaphore.h-data [XPG3 || XPG4]: Disable whole
21027 [UNIX98] (sem_timedwait): Do not expect.
21028 * conform/data/sys/socket.h-data [XPG3]: Disable whole file.
21029 [XPG4 || UNIX98] (sockatmark): Do not expect.
21030 * conform/data/time.h-data [XPG3 || XPG4 || UNIX98]
21031 (clock_getcpuclockid): Do not expect.
21032 [XPG3 || XPG4 || UNIX98] (clock_nanosleep): Do not expect.
21033 * conform/data/unistd.h-data [XPG3 || XPG4 || UNIX98] (setegid):
21035 [XPG3 || XPG4 || UNIX98] (seteuid): Likewise.
21036 * conform/data/wchar.h-data [UNIX98] (vfwscanf): Do not expect.
21037 [UNIX98] (vwscanf): Likewise.
21038 [UNIX98] (vswscanf): Likewise.
21040 2012-11-09 Joseph Myers <joseph@codesourcery.com>
21042 * timezone/version.h: Remove file.
21043 * timezone/README: Do not refer to version.h.
21044 * timezone/Makefile ($(objpfx)zic.o): New dependency on
21045 $(objpfx)version.h.
21046 ($(objpfx)zdump.o): Likewise.
21047 ($(objpfx)version.h): New target.
21049 * timezone/tzselect.ksh: Change to verbatim copy from tzcode
21051 * timezone/README: Don't mention modification to tzselect.ksh.
21052 * timezone/Makefile ($(objpfx)tzselect): Update substitutions to
21053 work on unmodified tzselect.ksh. Substitute version numbers in
21056 * Makefile (format-me): Remove.
21057 (INSTALL): Adjust indentation. Use commands directly instead of
21058 using $(format-me).
21060 * aclocal.m4 (ACX_PKGVERSION): New macro.
21061 (ACX_BUGURL): Likewise.
21062 * configure.in: Use ACX_PKGVERSION and ACX_BUGURL.
21063 (PKGVERSION): New AC_DEFINE_UNQUOTED.
21064 (REPORT_BUGS_TO): Likewise.
21065 * configure: Regenerated.
21066 * config.h.in (PKGVERSION): New macro.
21067 (REPORT_BUGS_TO): Likewise.
21068 * config.make.in (PKGVERSION): New variable.
21069 (PKGVERSION_TEXI): Likewise.
21070 (REPORT_BUGS_TO): Likewise.
21071 (REPORT_BUGS_TEXI): Likewise.
21072 * Makefile (format-me): Use -I$(common-objpfx)manual.
21073 (INSTALL): Depend on $(common-objpfx)manual/pkgvers.texi.
21074 ($(common-objpfx)manual/%): New target.
21075 (manual/%): Remove target.
21076 * catgets/gencat.c (more_help): Use REPORT_BUGS_TO.
21077 (print_version): Use PKGVERSION.
21078 * csu/version.c (banner): Use PKGVERSION and REPORT_BUGS_TO.
21079 * debug/Makefile ($(objpfx)catchsegv): Also substitute PKGVERSION
21080 and REPORT_BUGS_TO.
21081 ($(objpfx)xtrace): Likewise.
21082 * debug/catchsegv.sh: Use PKGVERSION and REPORT_BUGS_TO.
21083 * debug/pcprofiledump.c (more_help): Use REPORT_BUGS_TO.
21084 (print_version): Use PKGVERSION.
21085 * debug/xtrace.sh (do_help): Use REPORT_BUGS_TO.
21086 (do_version): Use PKGVERSION.
21087 * elf/Makefile ($(objpfx)sotruss): Also substitute PKGVERSION and
21089 (common-ldd-rewrite): Likewise.
21090 * elf/dl-close.c (_dl_close_worker): Use REPORT_BUGS_TO.
21091 * elf/ldconfig.c (more_help): Use REPORT_BUGS_TO.
21092 (print_version): Use PKGVERSION.
21093 * elf/ldd.bash.in: Use PKGVERSION and REPORT_BUGS_TO.
21094 * elf/pldd.c (argp_program_bug_address): Remove variable.
21095 (more_help): New function.
21096 (argp): Use more_help.
21097 (print_version): Use PKGVERSION.
21098 * elf/sln.c (main): Use PKGVERSION.
21099 (usage): Use REPORT_BUGS_TO.
21100 * elf/sotruss.ksh (do_help): Use REPORT_BUGS_TO.
21101 (top level): Use PKGVERSION.
21102 * elf/sprof.c (more_help): Use REPORT_BUGS_TO.
21103 (print_version): Use PKGVERSION.
21104 * iconv/iconv_prog.c (more_help): Use REPORT_BUGS_TO.
21105 (print_version): Use PKGVERSION.
21106 * iconv/iconvconfig.c (more_help): Use REPORT_BUGS_TO.
21107 (print_version): Use PKGVERSION.
21108 * locale/programs/locale.c (more_help): Use REPORT_BUGS_TO.
21109 (print_version): Use PKGVERSION.
21110 * locale/programs/localedef.c (more_help): Use REPORT_BUGS_TO.
21111 (print_version): Use PKGVERSION.
21112 * login/programs/pt_chown.c (more_help): Use REPORT_BUGS_TO.
21113 (print_version): Use PKGVERSION.
21114 * malloc/Makefile ($(objpfx)mtrace): Also substitute PKGVERSION
21116 ($(objpfx)memusage): Likewise.
21117 * malloc/memusage.sh (do_help): Use REPORT_BUGS_TO.
21118 (do_version): Use PKGVERSION.
21119 * malloc/memusagestat.c (more_help): Use REPORT_BUGS_TO.
21120 (print_version): Use PKGVERSION.
21121 * malloc/mtrace.pl ($PACKAGE): Remove variable.
21122 ($PKGVERSION): New variable.
21123 ($REPORT_BUGS_TO): Likewise.
21124 (usage): Use $REPORT_BUGS_TO.
21125 (top level): Use $PKGVERSION.
21126 * manual/Makefile (libc-texi-generated): Add pkgvers.texi.
21127 ($(objpfx)pkgvers.texi): New rule.
21128 ($(objpfx)stamp-pkgvers): Likewise.
21129 * manual/install.texi: Include pkgvers.texi.
21130 (--with-pkgversion): Document new configure option.
21131 (--with-bugurl): Likewise.
21132 (Reporting Bugs): Describe Bugzilla as upstream tracker rather
21133 than necessarily for this particular distribution. Use
21134 REPORT_BUGS_TO for where to report bugs.
21135 * INSTALL: Regenerated.
21136 * manual/libc.texinfo: Include pkgvers.texi.
21137 [!PKGVERSION_DEFAULT]: Include PKGVERSION in version information.
21138 * nscd/nscd.c (more_help): Use REPORT_BUGS_TO.
21139 (print_version): Use PKGVERSION.
21140 * nss/getent.c (more_help): Use REPORT_BUGS_TO.
21141 (print_version): Use PKGVERSION.
21142 * nss/makedb.c (more_help): Use REPORT_BUGS_TO.
21143 (print_version): Use PKGVERSION.
21144 * posix/getconf.c (main): Use PKGVERSION and REPORT_BUGS_TO.
21145 * sunrpc/proto.h [IS_IN_build] (_libc_intl_domainname): Remove
21147 * sunrpc/rpc_main.c (options_usage): Use REPORT_BUGS_TO.
21148 (print_version): Use PKGVERSION.
21149 * sunrpc/rpcinfo.c (usage): Use REPORT_BUGS_TO.
21150 (print_version): Use PKGVERSION.
21151 * sysdeps/unix/sysv/linux/lddlibc4.c (main): Use REPORT_BUGS_TO
21154 * timezone/checktab.awk: Update from tzcode 2012i.
21155 * timezone/ialloc.c: Likewise.
21156 * timezone/private.h: Likewise.
21157 * timezone/scheck.c: Likewise.
21158 * timezone/tzfile.h: Likewise.
21159 * timezone/tzselect.ksh: Merge in changes from tzcode 2012i.
21160 (TZVERSION): Hardcode tzcode version number.
21161 * timezone/zdump.c: Update from tzcode 2012i.
21162 * timezone/zic.c: Likewise.
21163 * timezone/version.h: New file.
21164 * timezone/README: Describe version.h. Update upstream location.
21167 * stdlib/stdlib.h [__USE_XOPEN_EXTENDED && __USE_XOPEN2K]
21168 (mktemp): Enable declaration.
21169 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (ecvt): Likewise.
21170 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (fcvt): Likewise.
21171 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (gcvt): Likewise.
21172 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qecvt):
21174 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qfcvt):
21176 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qgcvt):
21178 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (ecvt_r):
21180 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (fcvt_r):
21182 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (gcvt_r):
21186 * sunrpc/clnt_tcp.c (clnttcp_control): Access values at fixed
21187 offset in buffer as u_int32_t not u_long. Consistently use memcpy
21188 for copies of such integer values.
21189 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
21190 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
21192 2012-11-09 Andreas Jaeger <aj@suse.de>
21194 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Remove all
21195 definitions and declarations that are provided by
21196 <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
21198 2012-11-08 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
21200 * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Add "te".
21201 * sysdeps/s390/dl-procinfo.h (HWCAP_S390_TE): Add enum value.
21202 * sysdeps/unix/sysv/linux/s390/hwcap.h (HWCAP_S390_TE): Add macro
21205 2012-11-08 Marcus Shawcroft <marcus.shawcroft@linaro.org>
21207 * elf/elf.h: Update comment before AArch64 relocations.
21209 2012-11-07 David S. Miller <davem@davemloft.net>
21211 * sysdeps/unix/sysv/linux/sparc/sparc64/__start_context.S: New file.
21212 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
21213 (__start_context): Declare.
21214 (__makecontext_ret): Delete.
21215 (__makecontext): Hook up __start_context instead of
21217 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile
21218 (sysdep_routines): Add __start_context when in stdlib.
21220 2012-11-07 Joseph Myers <joseph@codesourcery.com>
21222 * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Pass $(NM),
21223 $(OBJDUMP) and $(READELF) to tst-xmmymm.sh.
21224 * sysdeps/x86/tst-xmmymm.sh (NM): New variable. Use it instead of
21226 (OBJDUMP): New variable. Use it instead of hardcoded "objdump".
21227 (READELF): New variable. Use it instead of hardcoded "readelf".
21229 2012-11-07 H.J. Lu <hongjiu.lu@intel.com>
21231 * sysdeps/x86_64/Makefile ($(objpfx)tst-xmmymm.out): Moved to ...
21232 * sysdeps/x86/Makefile: Here.
21233 * sysdeps/x86_64/tst-xmmymm.sh: Renamed to ...
21234 * sysdeps/x86/tst-xmmymm.sh: This.
21236 2012-11-07 Joseph Myers <joseph@codesourcery.com>
21238 * conform/data/pthread.h-data [XPG3 || XPG4]: Disable all
21240 [UNIX98] (pthread_barrier_t): Do not expect.
21241 [UNIX98] (pthread_barrierattr_t): Likewise.
21242 [UNIX98] (pthread_spinlock_t): Likewise.
21243 [UNIX98] (pthread_barrier_destroy): Likewise.
21244 [UNIX98] (pthread_barrier_init): Likewise.
21245 [UNIX98] (pthread_barrier_wait): Likewise.
21246 [UNIX98] (pthread_barrierattr_destroy): Likewise.
21247 [UNIX98] (pthread_barrierattr_getpshared): Likewise.
21248 [UNIX98] (pthread_barrierattr_init): Likewise.
21249 [UNIX98] (pthread_barrierattr_setpshared): Likewise.
21250 [UNIX98] (pthread_getcpuclockid): Likewise.
21251 [UNIX98] (pthread_mutex_timedlock): Likewise.
21252 [UNIX98] (pthread_rwlock_timedrdlock): Likewise.
21253 [UNIX98] (pthread_rwlock_timedwrlock): Likewise.
21254 [UNIX98] (pthread_sigmask): Likewise.
21255 [UNIX98] (pthread_spin_destroy): Likewise.
21256 [UNIX98] (pthread_spin_init): Likewise.
21257 [UNIX98] (pthread_spin_lock): Likewise.
21258 [UNIX98] (pthread_spin_trylock): Likewise.
21259 [UNIX98] (pthread_spin_unlock): Likewise.
21260 * conform/data/sys/types.h-data [XPG3 || XPG4] (pthread_attr_t):
21262 [XPG3 || XPG4 || UNIX98] (pthread_barrier_t): Likewise.
21263 [XPG3 || XPG4 || UNIX98] (pthread_barrierattr_t): Likewise.
21264 [XPG3 || XPG4] (pthread_cond_t): Likewise.
21265 [XPG3 || XPG4] (pthread_condattr_t): Likewise.
21266 [XPG3 || XPG4] (pthread_key_t): Likewise.
21267 [XPG3 || XPG4] (pthread_mutex_t): Likewise.
21268 [XPG3 || XPG4] (pthread_mutexattr_t): Likewise.
21269 [XPG3 || XPG4] (pthread_once_t): Likewise.
21270 [XPG3 || XPG4] (pthread_rwlock_t): Likewise.
21271 [XPG3 || XPG4] (pthread_rwlockattr_t): Likewise.
21272 [XPG3 || XPG4 || UNIX98] (pthread_spinlock_t): Likewise.
21273 [XPG3 || XPG4] (pthread_t): Likewise.
21275 * conform/data/stdlib.h-data [XPG3 || XPG4 || UNIX98] (setenv): Do
21277 [XPG3 || XPG4 || UNIX98] (unsetenv): Likewise.
21279 * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (isnan):
21280 Change function return type to int.
21282 * conform/data/sys/mman.h-data [!POSIX] (POSIX_MADV_NORMAL):
21283 Change condition to [!POSIX && !XPG3 && !XPG4 && !UNIX98].
21284 [!POSIX] (POSIX_MADV_SEQUENTIAL): Likewise.
21285 [!POSIX] (POSIX_MADV_RANDOM): Likewise.
21286 [!POSIX] (POSIX_MADV_WILLNEED): Likewise.
21287 [!POSIX] (POSIX_MADV_DONTNEED): Likewise.
21288 [!POSIX] (posix_madvise): Likewise.
21289 (POSIX_TYPED_MEM_ALLOCATE): Condition on [!POSIX && !XPG3 && !XPG4
21291 (POSIX_TYPED_MEM_ALLOCATE_CONTIG): Likewise.
21292 (POSIX_TYPED_MEM_MAP_ALLOCATABLE): Likewise.
21293 (mode_t): Likewise.
21294 (posix_mem_offset): Likewise.
21295 (posix_typed_mem_get_info): Likewise.
21296 (posix_typed_mem_open): Likewise.
21298 * conform/data/sys/stat.h-data [!POSIX && !POSIX2008] (mknodat):
21299 Change condition to [XOPEN2K8].
21301 * conform/conformtest.pl: Preprocess allow-header data with -x c
21302 instead of from stdin.
21303 (@headers): Add stdalign.h, stdbool.h and stdnoreturn.h.
21304 * conform/data/complex.h-data [C99-based standards] (cerf): Allow.
21305 [C99-based standards] (cerfc): Likewise.
21306 [C99-based standards] (cexp2): Likewise.
21307 [C99-based standards] (cexpm1): Likewise.
21308 [C99-based standards] (clog10): Likewise.
21309 [C99-based standards] (clog1p): Likewise.
21310 [C99-based standards] (clog2): Likewise.
21311 [C99-based standards] (clgamma): Likewise.
21312 [C99-based standards] (ctgamma): Likewise.
21313 [C99-based standards] (cerff): Likewise.
21314 [C99-based standards] (cerfcf): Likewise.
21315 [C99-based standards] (cexp2f): Likewise.
21316 [C99-based standards] (cexpm1f): Likewise.
21317 [C99-based standards] (clog10f): Likewise.
21318 [C99-based standards] (clog1pf): Likewise.
21319 [C99-based standards] (clog2f): Likewise.
21320 [C99-based standards] (clgammaf): Likewise.
21321 [C99-based standards] (ctgammaf): Likewise.
21322 [C99-based standards] (cerfl): Likewise.
21323 [C99-based standards] (cerfcl): Likewise.
21324 [C99-based standards] (cexp2l): Likewise.
21325 [C99-based standards] (cexpm1l): Likewise.
21326 [C99-based standards] (clog10l): Likewise.
21327 [C99-based standards] (clog1pl): Likewise.
21328 [C99-based standards] (clog2l): Likewise.
21329 [C99-based standards] (clgammal): Likewise.
21330 [C99-based standards] (ctgammal): Likewise.
21331 * conform/data/inttypes.h-data [C99-based standards]: Include
21332 stdint.h-data. Remove all expectations for stdint.h contents.
21333 [C99-based standards] (PRI*): Do not allow.
21334 [C99-based standards] (SCN*): Likewise.
21335 [C99-based standards] (*_t): Likewise.
21336 [C99-based-standards] (PRId8): Expect macro.
21337 [C99-based-standards] (PRIi8): Likewise.
21338 [C99-based-standards] (PRIo8): Likewise.
21339 [C99-based-standards] (PRIu8): Likewise.
21340 [C99-based-standards] (PRIx8): Likewise.
21341 [C99-based-standards] (PRIX8): Likewise.
21342 [C99-based-standards] (SCNd8): Likewise.
21343 [C99-based-standards] (SCNi8): Likewise.
21344 [C99-based-standards] (SCNo8): Likewise.
21345 [C99-based-standards] (SCNu8): Likewise.
21346 [C99-based-standards] (SCNx8): Likewise.
21347 [C99-based-standards] (PRIdLEAST8): Likewise.
21348 [C99-based-standards] (PRIiLEAST8): Likewise.
21349 [C99-based-standards] (PRIoLEAST8): Likewise.
21350 [C99-based-standards] (PRIuLEAST8): Likewise.
21351 [C99-based-standards] (PRIxLEAST8): Likewise.
21352 [C99-based-standards] (PRIXLEAST8): Likewise.
21353 [C99-based-standards] (SCNdLEAST8): Likewise.
21354 [C99-based-standards] (SCNiLEAST8): Likewise.
21355 [C99-based-standards] (SCNoLEAST8): Likewise.
21356 [C99-based-standards] (SCNuLEAST8): Likewise.
21357 [C99-based-standards] (SCNxLEAST8): Likewise.
21358 [C99-based-standards] (PRIdFAST8): Likewise.
21359 [C99-based-standards] (PRIiFAST8): Likewise.
21360 [C99-based-standards] (PRIoFAST8): Likewise.
21361 [C99-based-standards] (PRIuFAST8): Likewise.
21362 [C99-based-standards] (PRIxFAST8): Likewise.
21363 [C99-based-standards] (PRIXFAST8): Likewise.
21364 [C99-based-standards] (SCNdFAST8): Likewise.
21365 [C99-based-standards] (SCNiFAST8): Likewise.
21366 [C99-based-standards] (SCNoFAST8): Likewise.
21367 [C99-based-standards] (SCNuFAST8): Likewise.
21368 [C99-based-standards] (SCNxFAST8): Likewise.
21369 [C99-based-standards] (PRId16): Likewise.
21370 [C99-based-standards] (PRIi16): Likewise.
21371 [C99-based-standards] (PRIo16): Likewise.
21372 [C99-based-standards] (PRIu16): Likewise.
21373 [C99-based-standards] (PRIx16): Likewise.
21374 [C99-based-standards] (PRIX16): Likewise.
21375 [C99-based-standards] (SCNd16): Likewise.
21376 [C99-based-standards] (SCNi16): Likewise.
21377 [C99-based-standards] (SCNo16): Likewise.
21378 [C99-based-standards] (SCNu16): Likewise.
21379 [C99-based-standards] (SCNx16): Likewise.
21380 [C99-based-standards] (PRIdLEAST16): Likewise.
21381 [C99-based-standards] (PRIiLEAST16): Likewise.
21382 [C99-based-standards] (PRIoLEAST16): Likewise.
21383 [C99-based-standards] (PRIuLEAST16): Likewise.
21384 [C99-based-standards] (PRIxLEAST16): Likewise.
21385 [C99-based-standards] (PRIXLEAST16): Likewise.
21386 [C99-based-standards] (SCNdLEAST16): Likewise.
21387 [C99-based-standards] (SCNiLEAST16): Likewise.
21388 [C99-based-standards] (SCNoLEAST16): Likewise.
21389 [C99-based-standards] (SCNuLEAST16): Likewise.
21390 [C99-based-standards] (SCNxLEAST16): Likewise.
21391 [C99-based-standards] (PRIdFAST16): Likewise.
21392 [C99-based-standards] (PRIiFAST16): Likewise.
21393 [C99-based-standards] (PRIoFAST16): Likewise.
21394 [C99-based-standards] (PRIuFAST16): Likewise.
21395 [C99-based-standards] (PRIxFAST16): Likewise.
21396 [C99-based-standards] (PRIXFAST16): Likewise.
21397 [C99-based-standards] (SCNdFAST16): Likewise.
21398 [C99-based-standards] (SCNiFAST16): Likewise.
21399 [C99-based-standards] (SCNoFAST16): Likewise.
21400 [C99-based-standards] (SCNuFAST16): Likewise.
21401 [C99-based-standards] (SCNxFAST16): Likewise.
21402 [C99-based-standards] (PRId32): Likewise.
21403 [C99-based-standards] (PRIi32): Likewise.
21404 [C99-based-standards] (PRIo32): Likewise.
21405 [C99-based-standards] (PRIu32): Likewise.
21406 [C99-based-standards] (PRIx32): Likewise.
21407 [C99-based-standards] (PRIX32): Likewise.
21408 [C99-based-standards] (SCNd32): Likewise.
21409 [C99-based-standards] (SCNi32): Likewise.
21410 [C99-based-standards] (SCNo32): Likewise.
21411 [C99-based-standards] (SCNu32): Likewise.
21412 [C99-based-standards] (SCNx32): Likewise.
21413 [C99-based-standards] (PRIdLEAST32): Likewise.
21414 [C99-based-standards] (PRIiLEAST32): Likewise.
21415 [C99-based-standards] (PRIoLEAST32): Likewise.
21416 [C99-based-standards] (PRIuLEAST32): Likewise.
21417 [C99-based-standards] (PRIxLEAST32): Likewise.
21418 [C99-based-standards] (PRIXLEAST32): Likewise.
21419 [C99-based-standards] (SCNdLEAST32): Likewise.
21420 [C99-based-standards] (SCNiLEAST32): Likewise.
21421 [C99-based-standards] (SCNoLEAST32): Likewise.
21422 [C99-based-standards] (SCNuLEAST32): Likewise.
21423 [C99-based-standards] (SCNxLEAST32): Likewise.
21424 [C99-based-standards] (PRIdFAST32): Likewise.
21425 [C99-based-standards] (PRIiFAST32): Likewise.
21426 [C99-based-standards] (PRIoFAST32): Likewise.
21427 [C99-based-standards] (PRIuFAST32): Likewise.
21428 [C99-based-standards] (PRIxFAST32): Likewise.
21429 [C99-based-standards] (PRIXFAST32): Likewise.
21430 [C99-based-standards] (SCNdFAST32): Likewise.
21431 [C99-based-standards] (SCNiFAST32): Likewise.
21432 [C99-based-standards] (SCNoFAST32): Likewise.
21433 [C99-based-standards] (SCNuFAST32): Likewise.
21434 [C99-based-standards] (SCNxFAST32): Likewise.
21435 [C99-based-standards] (PRId64): Likewise.
21436 [C99-based-standards] (PRIi64): Likewise.
21437 [C99-based-standards] (PRIo64): Likewise.
21438 [C99-based-standards] (PRIu64): Likewise.
21439 [C99-based-standards] (PRIx64): Likewise.
21440 [C99-based-standards] (PRIX64): Likewise.
21441 [C99-based-standards] (SCNd64): Likewise.
21442 [C99-based-standards] (SCNi64): Likewise.
21443 [C99-based-standards] (SCNo64): Likewise.
21444 [C99-based-standards] (SCNu64): Likewise.
21445 [C99-based-standards] (SCNx64): Likewise.
21446 [C99-based-standards] (PRIdLEAST64): Likewise.
21447 [C99-based-standards] (PRIiLEAST64): Likewise.
21448 [C99-based-standards] (PRIoLEAST64): Likewise.
21449 [C99-based-standards] (PRIuLEAST64): Likewise.
21450 [C99-based-standards] (PRIxLEAST64): Likewise.
21451 [C99-based-standards] (PRIXLEAST64): Likewise.
21452 [C99-based-standards] (SCNdLEAST64): Likewise.
21453 [C99-based-standards] (SCNiLEAST64): Likewise.
21454 [C99-based-standards] (SCNoLEAST64): Likewise.
21455 [C99-based-standards] (SCNuLEAST64): Likewise.
21456 [C99-based-standards] (SCNxLEAST64): Likewise.
21457 [C99-based-standards] (PRIdFAST64): Likewise.
21458 [C99-based-standards] (PRIiFAST64): Likewise.
21459 [C99-based-standards] (PRIoFAST64): Likewise.
21460 [C99-based-standards] (PRIuFAST64): Likewise.
21461 [C99-based-standards] (PRIxFAST64): Likewise.
21462 [C99-based-standards] (PRIXFAST64): Likewise.
21463 [C99-based-standards] (SCNdFAST64): Likewise.
21464 [C99-based-standards] (SCNiFAST64): Likewise.
21465 [C99-based-standards] (SCNoFAST64): Likewise.
21466 [C99-based-standards] (SCNuFAST64): Likewise.
21467 [C99-based-standards] (SCNxFAST64): Likewise.
21468 [C99-based-standards] (PRIdMAX): Likewise.
21469 [C99-based-standards] (PRIiMAX): Likewise.
21470 [C99-based-standards] (PRIoMAX): Likewise.
21471 [C99-based-standards] (PRIuMAX): Likewise.
21472 [C99-based-standards] (PRIxMAX): Likewise.
21473 [C99-based-standards] (PRIXMAX): Likewise.
21474 [C99-based-standards] (SCNdMAX): Likewise.
21475 [C99-based-standards] (SCNiMAX): Likewise.
21476 [C99-based-standards] (SCNoMAX): Likewise.
21477 [C99-based-standards] (SCNuMAX): Likewise.
21478 [C99-based-standards] (SCNxMAX): Likewise.
21479 [C99-based-standards] (PRIdPTR): Likewise.
21480 [C99-based-standards] (PRIiPTR): Likewise.
21481 [C99-based-standards] (PRIoPTR): Likewise.
21482 [C99-based-standards] (PRIuPTR): Likewise.
21483 [C99-based-standards] (PRIxPTR): Likewise.
21484 [C99-based-standards] (PRIXPTR): Likewise.
21485 [C99-based-standards] (SCNdPTR): Likewise.
21486 [C99-based-standards] (SCNiPTR): Likewise.
21487 [C99-based-standards] (SCNoPTR): Likewise.
21488 [C99-based-standards] (SCNuPTR): Likewise.
21489 [C99-based-standards] (SCNxPTR): Likewise.
21490 * conform/data/iso646.h-data [ISO C standards] (*_t): Do not
21492 * conform/data/stdint.h-data: Update comments to clarify
21494 [C99-based standards] (INT8_MIN): Use macro-int-constant. Specify
21496 [C99-based standards] (INT8_MAX): Likewise.
21497 [C99-based standards] (INT16_MIN): Likewise.
21498 [C99-based standards] (INT16_MAX): Likewise.
21499 [C99-based standards] (INT32_MIN): Likewise.
21500 [C99-based standards] (INT32_MAX): Likewise.
21501 [C99-based standards] (INT64_MIN): Likewise.
21502 [C99-based standards] (INT64_MAX): Likewise.
21503 [C99-based standards] (UINT8_MAX): Likewise.
21504 [C99-based standards] (UINT16_MAX): Likewise.
21505 [C99-based standards] (UINT32_MAX): Likewise.
21506 [C99-based standards] (UINT64_MAX): Likewise.
21507 [C99-based standards] (INT_LEAST8_MIN): Likewise.
21508 [C99-based standards] (INT_LEAST8_MAX): Likewise.
21509 [C99-based standards] (INT_LEAST16_MIN): Likewise.
21510 [C99-based standards] (INT_LEAST16_MAX): Likewise.
21511 [C99-based standards] (INT_LEAST32_MIN): Likewise.
21512 [C99-based standards] (INT_LEAST32_MAX): Likewise.
21513 [C99-based standards] (INT_LEAST64_MIN): Likewise.
21514 [C99-based standards] (INT_LEAST64_MAX): Likewise.
21515 [C99-based standards] (UINT_LEAST8_MAX): Likewise.
21516 [C99-based standards] (UINT_LEAST16_MAX): Likewise.
21517 [C99-based standards] (UINT_LEAST32_MAX): Likewise.
21518 [C99-based standards] (UINT_LEAST64_MAX): Likewise.
21519 [C99-based standards] (INT_FAST8_MIN): Likewise.
21520 [C99-based standards] (INT_FAST8_MAX): Likewise.
21521 [C99-based standards] (INT_FAST16_MIN): Likewise.
21522 [C99-based standards] (INT_FAST16_MAX): Likewise.
21523 [C99-based standards] (INT_FAST32_MIN): Likewise.
21524 [C99-based standards] (INT_FAST32_MAX): Likewise.
21525 [C99-based standards] (INT_FAST64_MIN): Likewise.
21526 [C99-based standards] (INT_FAST64_MAX): Likewise.
21527 [C99-based standards] (UINT_FAST8_MAX): Likewise.
21528 [C99-based standards] (UINT_FAST16_MAX): Likewise.
21529 [C99-based standards] (UINT_FAST32_MAX): Likewise.
21530 [C99-based standards] (UINT_FAST64_MAX): Likewise.
21531 [C99-based standards] (INTPTR_MIN): Likewise.
21532 [C99-based standards] (INTPTR_MAX): Likewise.
21533 [C99-based standards] (UINTPTR_MAX): Likewise.
21534 [C99-based standards] (INTMAX_MIN): Likewise.
21535 [C99-based standards] (INTMAX_MAX): Likewise.
21536 [C99-based standards] (UINTMAX_MAX): Likewise.
21537 [C99-based standards] (PTRDIFF_MIN): Likewise.
21538 [C99-based standards] (PTRDIFF_MAX): Likewise.
21539 [C99-based standards] (SIG_ATOMIC_MAX): Likewise.
21540 [C99-based standards] (SIZE_MAX): Likewise.
21541 [C99-based standards] (WCHAR_MAX): Likewise.
21542 [C99-based standards] (WINT_MAX): Likewise.
21543 [C99-based standards] (SIG_ATOMIC_MIN): Likewise. Do not specify
21544 constraint on value.
21545 [C99-based standards] (WCHAR_MIN): Likewise.
21546 [C99-based standards] (WINT_MIN): Likewise.
21547 [C99-based standards] (*_t): Allow.
21548 * conform/data/tgmath.h-data [XOPEN2K || POSIX2008]: Change
21549 condition to [!ISO && !POSIX && !XPG3 && !XPG4 && !UNIX98].
21550 Include math.h-data and complex.h-data. Remove all expectations
21551 of math.h and complex.h contents.
21552 * conform/data/uchar.h-data [ISO11] (c16rtomb): Remove stray "16"
21554 * conform/data/wchar.h-data [!ISO && !POSIX && !XPG3 && !XPG4]
21555 (struct tm): Expect tag.
21556 [C99-based-standards] (wcstof): Expect function.
21557 [C99-based-standards] (wcstold): Likewise.
21558 [C99-based-standards] (wcstoll): Likewise.
21559 [C99-based-standards] (wcstoull): Likewise.
21560 [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MIN): Use
21561 macro-int-constant. Specify type.
21562 [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MAX): Likewise. Specify
21563 constraint on value.
21564 [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
21566 [!ISO && !POSIX && !XPG3 && !XPG4] (NULL): Use macro-constant.
21568 [ISO C standards]: Do not allow headers.
21569 [!ISO && !POSIX && !XPG3 && !XPG4] (wcs*): Change to
21570 wcs[abcdefghijklmnopqrstuvwxyz]*.
21571 [ISO C standards] (*_t): Do not allow.
21572 * conform/data/wctype.h-data [C99-based standards] (iswblank):
21574 [XOPEN2K8 || POSIX2008] (iswblank_l): Likewise.
21575 [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
21577 [ISO C standards]: Do not allow headers.
21578 [!ISO && !POSIX && !XPG3 && !XPG4] (is*): Change to
21579 is[abcdefghijklmnopqrstuvwxyz]*.
21580 [!ISO && !POSIX && !XPG3 && !XPG4] (to*): Change to
21581 to[abcdefghijklmnopqrstuvwxyz]*.
21582 [ISO C standards] (*_t): Do not allow.
21583 * conform/data/stdalign.h-data: New file.
21584 * conform/data/stdbool.h-data: Likewise.
21585 * conform/data/stdnoreturn.h-data: Likewise.
21587 2012-11-07 Roland McGrath <roland@hack.frob.com>
21590 * manual/filesys.texi (Directory Entries): Typo fix.
21591 Reported by <h-iwamoto@kit.hi-ho.ne.jp>.
21593 2012-11-07 Marcus Shawcroft <marcus.shawcroft@linaro.org>
21595 * elf/elf.h (EM_AARCH64): New macro.
21596 (R_AARCH64_NONE, R_AARCH64_ABS64, R_AARCH64_ABS32): Likewise.
21597 (R_AARCH64_COPY, R_AARCH64_GLOB_DAT, R_AARCH64_JUMP_SLOT): Likewise.
21598 (R_AARCH64_RELATIVE, R_AARCH64_TLS_DTPMOD64): Likewise.
21599 (R_AARCH64_TLS_DTPREL64, R_AARCH64_TLS_TPREL64): Likewise.
21600 (R_AARCH64_TLSDESC): Likewise.
21601 (NT_ARM_TLS): Likewise.
21602 (NT_ARM_HW_BREAK): Likewise.
21603 (NT_ARM_HW_WATCH): Likewise.
21605 2012-11-07 Joseph Myers <joseph@codesourcery.com>
21608 * sysdeps/i386/fpu/e_powl.S (pm79): New object.
21609 (__ieee754_powl): Saturate nonzero exponents with absolute value
21610 below 0x1p-79 to +/- 0x1p-79.
21611 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Saturate nonzero
21612 exponents with absolute value below 0x1p-64 to +/- 0x1p-64.
21613 * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Saturate
21614 nonzero exponents with absolute value below 0x1p-32 to +/-
21616 * sysdeps/x86_64/fpu/e_powl.S (pm79): New object.
21617 (__ieee754_powl): Saturate nonzero exponents with absolute value
21618 below 0x1p-79 to +/- 0x1p-79.
21619 * math/libm-test.inc (pow_test): Add more tests.
21621 2012-11-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
21623 * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Sync
21624 _dl_s390_cap_flags with kernel. Increase string length.
21625 (_dl_s390_platforms): Add z196 and zEC12.
21627 2012-11-07 Joseph Myers <joseph@codesourcery.com>
21629 * conform/data/time.h-data [!XOPEN21K && !XOPEN2K8 && !POSIX2008]:
21630 Change XOPEN21K to XOPEN2K.
21632 2012-11-06 Maxim Kuvyrkov <maxim@codesourcery.com>
21634 * string/memmove.c: Use memcpy when possible.
21636 2012-11-06 Andreas Jaeger <aj@suse.de>
21638 * po/eo.po: Update from translation team.
21640 2012-11-06 Joseph Myers <joseph@codesourcery.com>
21643 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): In case of large z
21644 exponent and small x and y exponents, scale x or y up. Increase
21645 by 2 the exponent used in scaling up.
21646 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
21647 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
21648 * math/libm-test.inc (fma_test): Add more tests.
21649 (fma_test_towardzero): Likewise.
21650 (fma_test_downward): Likewise.
21651 (fma_test_upward): Likewise.
21653 2012-11-05 Joseph Myers <joseph@codesourcery.com>
21656 * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_DFL_ENV): Use cast to const
21660 * sysdeps/s390/fpu/bits/fenv.h (fenv_t): Use implementation
21661 namespace for names of struct fields.
21662 * sysdeps/s390/fpu/fegetenv.c (fegetenv): Update references to
21664 * sysdeps/s390/fpu/feholdexcpt.c (feholdexcept): Likewise.
21665 * sysdeps/s390/fpu/fesetenv.c (fesetenv): Likewise.
21667 2012-11-04 Samuel Thibault <samuel.thibault@ens-lyon.org>
21670 * sysdeps/mach/hurd/bits/errno.h: Regenerated.
21672 2012-11-04 Thomas Schwinge <thomas@codesourcery.com>
21674 * csu/libc-start.c (LIBC_START_MAIN): Conditionalize use of
21678 * sysdeps/mach/hurd/i386/____longjmp_chk.S: Conditionalize use of
21681 2012-11-04 Joseph Myers <joseph@codesourcery.com>
21684 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute cases that
21685 definitely overflow as x * y not x * y + z.
21686 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
21687 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
21688 * math/libm-test.inc (fma_test): Add more tests.
21689 (fma_test_towardzero): Likewise.
21690 (fma_test_downward): Likewise.
21691 (fma_test_upward): Likewise.
21693 2012-11-04 Thomas Schwinge <thomas@codesourcery.com>
21697 * include/stub-tag.h: Remove file.
21698 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't emit
21700 * manual/maint.texi (Porting): Don't reference it.
21701 * Makerules ($(objpfx)stubs): Likewise.
21702 * dirent/closedir.c: Don't include <stub-tag.h>.
21703 * dirent/dirfd.c: Likewise.
21704 * dirent/fdopendir.c: Likewise.
21705 * dirent/getdents.c: Likewise.
21706 * dirent/getdents64.c: Likewise.
21707 * dirent/opendir.c: Likewise.
21708 * dirent/readdir.c: Likewise.
21709 * dirent/readdir64.c: Likewise.
21710 * dirent/readdir64_r.c: Likewise.
21711 * dirent/readdir_r.c: Likewise.
21712 * dirent/rewinddir.c: Likewise.
21713 * dirent/seekdir.c: Likewise.
21714 * dirent/telldir.c: Likewise.
21715 * gmon/profil.c: Likewise.
21716 * grp/setgroups.c: Likewise.
21717 * inet/if_index.c: Likewise.
21718 * io/access.c: Likewise.
21719 * io/chdir.c: Likewise.
21720 * io/chmod.c: Likewise.
21721 * io/chown.c: Likewise.
21722 * io/close.c: Likewise.
21723 * io/dup.c: Likewise.
21724 * io/dup2.c: Likewise.
21725 * io/dup3.c: Likewise.
21726 * io/euidaccess.c: Likewise.
21727 * io/faccessat.c: Likewise.
21728 * io/fchdir.c: Likewise.
21729 * io/fchmod.c: Likewise.
21730 * io/fchmodat.c: Likewise.
21731 * io/fchown.c: Likewise.
21732 * io/fchownat.c: Likewise.
21733 * io/fcntl.c: Likewise.
21734 * io/flock.c: Likewise.
21735 * io/fstatfs.c: Likewise.
21736 * io/fstatfs64.c: Likewise.
21737 * io/fstatvfs.c: Likewise.
21738 * io/fstatvfs64.c: Likewise.
21739 * io/futimens.c: Likewise.
21740 * io/fxstat.c: Likewise.
21741 * io/fxstat64.c: Likewise.
21742 * io/fxstatat.c: Likewise.
21743 * io/fxstatat64.c: Likewise.
21744 * io/getcwd.c: Likewise.
21745 * io/isatty.c: Likewise.
21746 * io/lchmod.c: Likewise.
21747 * io/lchown.c: Likewise.
21748 * io/link.c: Likewise.
21749 * io/linkat.c: Likewise.
21750 * io/lseek.c: Likewise.
21751 * io/lseek64.c: Likewise.
21752 * io/lxstat64.c: Likewise.
21753 * io/mkdir.c: Likewise.
21754 * io/mkdirat.c: Likewise.
21755 * io/mkfifo.c: Likewise.
21756 * io/mkfifoat.c: Likewise.
21757 * io/open.c: Likewise.
21758 * io/open64.c: Likewise.
21759 * io/openat.c: Likewise.
21760 * io/openat64.c: Likewise.
21761 * io/pipe.c: Likewise.
21762 * io/pipe2.c: Likewise.
21763 * io/poll.c: Likewise.
21764 * io/posix_fadvise.c: Likewise.
21765 * io/posix_fadvise64.c: Likewise.
21766 * io/posix_fallocate.c: Likewise.
21767 * io/posix_fallocate64.c: Likewise.
21768 * io/read.c: Likewise.
21769 * io/readlink.c: Likewise.
21770 * io/readlinkat.c: Likewise.
21771 * io/rmdir.c: Likewise.
21772 * io/sendfile.c: Likewise.
21773 * io/sendfile64.c: Likewise.
21774 * io/statfs.c: Likewise.
21775 * io/statfs64.c: Likewise.
21776 * io/statvfs.c: Likewise.
21777 * io/statvfs64.c: Likewise.
21778 * io/symlink.c: Likewise.
21779 * io/symlinkat.c: Likewise.
21780 * io/ttyname.c: Likewise.
21781 * io/ttyname_r.c: Likewise.
21782 * io/umask.c: Likewise.
21783 * io/unlink.c: Likewise.
21784 * io/unlinkat.c: Likewise.
21785 * io/utime.c: Likewise.
21786 * io/utimensat.c: Likewise.
21787 * io/write.c: Likewise.
21788 * io/xmknod.c: Likewise.
21789 * io/xmknodat.c: Likewise.
21790 * io/xstat.c: Likewise.
21791 * io/xstat64.c: Likewise.
21792 * login/getpt.c: Likewise.
21793 * login/grantpt.c: Likewise.
21794 * login/unlockpt.c: Likewise.
21795 * math/e_acoshl.c: Likewise.
21796 * math/e_acosl.c: Likewise.
21797 * math/e_asinl.c: Likewise.
21798 * math/e_atan2l.c: Likewise.
21799 * math/e_atanhl.c: Likewise.
21800 * math/e_coshl.c: Likewise.
21801 * math/e_expl.c: Likewise.
21802 * math/e_fmodl.c: Likewise.
21803 * math/e_gammal_r.c: Likewise.
21804 * math/e_hypotl.c: Likewise.
21805 * math/e_j0l.c: Likewise.
21806 * math/e_j1l.c: Likewise.
21807 * math/e_jnl.c: Likewise.
21808 * math/e_lgammal_r.c: Likewise.
21809 * math/e_log10l.c: Likewise.
21810 * math/e_log2l.c: Likewise.
21811 * math/e_logl.c: Likewise.
21812 * math/e_powl.c: Likewise.
21813 * math/e_rem_pio2l.c: Likewise.
21814 * math/e_sinhl.c: Likewise.
21815 * math/e_sqrtl.c: Likewise.
21816 * math/fclrexcpt.c: Likewise.
21817 * math/fedisblxcpt.c: Likewise.
21818 * math/feenablxcpt.c: Likewise.
21819 * math/fegetenv.c: Likewise.
21820 * math/fegetexcept.c: Likewise.
21821 * math/fegetround.c: Likewise.
21822 * math/feholdexcpt.c: Likewise.
21823 * math/fesetenv.c: Likewise.
21824 * math/fesetround.c: Likewise.
21825 * math/feupdateenv.c: Likewise.
21826 * math/fgetexcptflg.c: Likewise.
21827 * math/fraiseexcpt.c: Likewise.
21828 * math/fsetexcptflg.c: Likewise.
21829 * math/ftestexcept.c: Likewise.
21830 * math/k_cosl.c: Likewise.
21831 * math/k_rem_pio2l.c: Likewise.
21832 * math/k_sinl.c: Likewise.
21833 * math/k_tanl.c: Likewise.
21834 * math/s_asinhl.c: Likewise.
21835 * math/s_atanl.c: Likewise.
21836 * math/s_cbrtl.c: Likewise.
21837 * math/s_erfl.c: Likewise.
21838 * math/s_expm1l.c: Likewise.
21839 * math/s_log1pl.c: Likewise.
21840 * math/s_tanhl.c: Likewise.
21841 * misc/acct.c: Likewise.
21842 * misc/brk.c: Likewise.
21843 * misc/chflags.c: Likewise.
21844 * misc/chroot.c: Likewise.
21845 * misc/fchflags.c: Likewise.
21846 * misc/fgetxattr.c: Likewise.
21847 * misc/flistxattr.c: Likewise.
21848 * misc/fremovexattr.c: Likewise.
21849 * misc/fsetxattr.c: Likewise.
21850 * misc/fsync.c: Likewise.
21851 * misc/ftruncate.c: Likewise.
21852 * misc/futimes.c: Likewise.
21853 * misc/futimesat.c: Likewise.
21854 * misc/getdomain.c: Likewise.
21855 * misc/getdtsz.c: Likewise.
21856 * misc/gethostid.c: Likewise.
21857 * misc/gethostname.c: Likewise.
21858 * misc/getloadavg.c: Likewise.
21859 * misc/getpagesize.c: Likewise.
21860 * misc/getsysstats.c: Likewise.
21861 * misc/getxattr.c: Likewise.
21862 * misc/gtty.c: Likewise.
21863 * misc/ioctl.c: Likewise.
21864 * misc/lgetxattr.c: Likewise.
21865 * misc/listxattr.c: Likewise.
21866 * misc/llistxattr.c: Likewise.
21867 * misc/lremovexattr.c: Likewise.
21868 * misc/lsetxattr.c: Likewise.
21869 * misc/lutimes.c: Likewise.
21870 * misc/madvise.c: Likewise.
21871 * misc/mincore.c: Likewise.
21872 * misc/mlock.c: Likewise.
21873 * misc/mlockall.c: Likewise.
21874 * misc/mmap.c: Likewise.
21875 * misc/mprotect.c: Likewise.
21876 * misc/msync.c: Likewise.
21877 * misc/munlock.c: Likewise.
21878 * misc/munlockall.c: Likewise.
21879 * misc/munmap.c: Likewise.
21880 * misc/preadv.c: Likewise.
21881 * misc/preadv64.c: Likewise.
21882 * misc/ptrace.c: Likewise.
21883 * misc/pwritev.c: Likewise.
21884 * misc/pwritev64.c: Likewise.
21885 * misc/readv.c: Likewise.
21886 * misc/reboot.c: Likewise.
21887 * misc/remap_file_pages.c: Likewise.
21888 * misc/removexattr.c: Likewise.
21889 * misc/revoke.c: Likewise.
21890 * misc/select.c: Likewise.
21891 * misc/setdomain.c: Likewise.
21892 * misc/setegid.c: Likewise.
21893 * misc/seteuid.c: Likewise.
21894 * misc/sethostid.c: Likewise.
21895 * misc/sethostname.c: Likewise.
21896 * misc/setregid.c: Likewise.
21897 * misc/setreuid.c: Likewise.
21898 * misc/setxattr.c: Likewise.
21899 * misc/sstk.c: Likewise.
21900 * misc/stty.c: Likewise.
21901 * misc/swapoff.c: Likewise.
21902 * misc/swapon.c: Likewise.
21903 * misc/sync.c: Likewise.
21904 * misc/syncfs.c: Likewise.
21905 * misc/syscall.c: Likewise.
21906 * misc/truncate.c: Likewise.
21907 * misc/ualarm.c: Likewise.
21908 * misc/usleep.c: Likewise.
21909 * misc/ustat.c: Likewise.
21910 * misc/utimes.c: Likewise.
21911 * misc/vhangup.c: Likewise.
21912 * misc/writev.c: Likewise.
21913 * posix/_exit.c: Likewise.
21914 * posix/alarm.c: Likewise.
21915 * posix/execve.c: Likewise.
21916 * posix/fexecve.c: Likewise.
21917 * posix/fork.c: Likewise.
21918 * posix/fpathconf.c: Likewise.
21919 * posix/getaddrinfo.c: Likewise.
21920 * posix/getegid.c: Likewise.
21921 * posix/geteuid.c: Likewise.
21922 * posix/getgid.c: Likewise.
21923 * posix/getgroups.c: Likewise.
21924 * posix/getlogin.c: Likewise.
21925 * posix/getlogin_r.c: Likewise.
21926 * posix/getpgid.c: Likewise.
21927 * posix/getpid.c: Likewise.
21928 * posix/getppid.c: Likewise.
21929 * posix/getresgid.c: Likewise.
21930 * posix/getresuid.c: Likewise.
21931 * posix/getsid.c: Likewise.
21932 * posix/getuid.c: Likewise.
21933 * posix/glob64.c: Likewise.
21934 * posix/nanosleep.c: Likewise.
21935 * posix/pathconf.c: Likewise.
21936 * posix/pause.c: Likewise.
21937 * posix/posix_madvise.c: Likewise.
21938 * posix/pread.c: Likewise.
21939 * posix/pread64.c: Likewise.
21940 * posix/pwrite.c: Likewise.
21941 * posix/pwrite64.c: Likewise.
21942 * posix/sched_getaffinity.c: Likewise.
21943 * posix/sched_getp.c: Likewise.
21944 * posix/sched_gets.c: Likewise.
21945 * posix/sched_primax.c: Likewise.
21946 * posix/sched_primin.c: Likewise.
21947 * posix/sched_rr_gi.c: Likewise.
21948 * posix/sched_setaffinity.c: Likewise.
21949 * posix/sched_setp.c: Likewise.
21950 * posix/sched_sets.c: Likewise.
21951 * posix/sched_yield.c: Likewise.
21952 * posix/setgid.c: Likewise.
21953 * posix/setlogin.c: Likewise.
21954 * posix/setpgid.c: Likewise.
21955 * posix/setresgid.c: Likewise.
21956 * posix/setresuid.c: Likewise.
21957 * posix/setsid.c: Likewise.
21958 * posix/setuid.c: Likewise.
21959 * posix/sleep.c: Likewise.
21960 * posix/spawni.c: Likewise.
21961 * posix/sysconf.c: Likewise.
21962 * posix/times.c: Likewise.
21963 * posix/wait.c: Likewise.
21964 * posix/wait3.c: Likewise.
21965 * posix/wait4.c: Likewise.
21966 * posix/waitpid.c: Likewise.
21967 * resolv/gai_sigqueue.c: Likewise.
21968 * resource/getpriority.c: Likewise.
21969 * resource/getrlimit.c: Likewise.
21970 * resource/getrusage.c: Likewise.
21971 * resource/nice.c: Likewise.
21972 * resource/setpriority.c: Likewise.
21973 * resource/setrlimit.c: Likewise.
21974 * resource/ulimit.c: Likewise.
21975 * rt/aio_cancel.c: Likewise.
21976 * rt/aio_fsync.c: Likewise.
21977 * rt/aio_read.c: Likewise.
21978 * rt/aio_sigqueue.c: Likewise.
21979 * rt/aio_suspend.c: Likewise.
21980 * rt/aio_write.c: Likewise.
21981 * rt/clock_getres.c: Likewise.
21982 * rt/clock_gettime.c: Likewise.
21983 * rt/clock_nanosleep.c: Likewise.
21984 * rt/clock_settime.c: Likewise.
21985 * rt/lio_listio.c: Likewise.
21986 * rt/mq_close.c: Likewise.
21987 * rt/mq_getattr.c: Likewise.
21988 * rt/mq_notify.c: Likewise.
21989 * rt/mq_open.c: Likewise.
21990 * rt/mq_receive.c: Likewise.
21991 * rt/mq_send.c: Likewise.
21992 * rt/mq_setattr.c: Likewise.
21993 * rt/mq_timedreceive.c: Likewise.
21994 * rt/mq_timedsend.c: Likewise.
21995 * rt/mq_unlink.c: Likewise.
21996 * rt/shm_open.c: Likewise.
21997 * rt/shm_unlink.c: Likewise.
21998 * rt/timer_create.c: Likewise.
21999 * rt/timer_delete.c: Likewise.
22000 * rt/timer_getoverr.c: Likewise.
22001 * rt/timer_gettime.c: Likewise.
22002 * rt/timer_settime.c: Likewise.
22003 * setjmp/__longjmp.c: Likewise.
22004 * setjmp/setjmp.c: Likewise.
22005 * signal/kill.c: Likewise.
22006 * signal/killpg.c: Likewise.
22007 * signal/raise.c: Likewise.
22008 * signal/sigaction.c: Likewise.
22009 * signal/sigaltstack.c: Likewise.
22010 * signal/sigblock.c: Likewise.
22011 * signal/sigignore.c: Likewise.
22012 * signal/sigintr.c: Likewise.
22013 * signal/signal.c: Likewise.
22014 * signal/sigpause.c: Likewise.
22015 * signal/sigpending.c: Likewise.
22016 * signal/sigqueue.c: Likewise.
22017 * signal/sigreturn.c: Likewise.
22018 * signal/sigset.c: Likewise.
22019 * signal/sigsetmask.c: Likewise.
22020 * signal/sigstack.c: Likewise.
22021 * signal/sigsuspend.c: Likewise.
22022 * signal/sigtimedwait.c: Likewise.
22023 * signal/sigvec.c: Likewise.
22024 * signal/sigwait.c: Likewise.
22025 * signal/sigwaitinfo.c: Likewise.
22026 * signal/sysv_signal.c: Likewise.
22027 * socket/accept.c: Likewise.
22028 * socket/accept4.c: Likewise.
22029 * socket/bind.c: Likewise.
22030 * socket/connect.c: Likewise.
22031 * socket/getpeername.c: Likewise.
22032 * socket/getsockname.c: Likewise.
22033 * socket/getsockopt.c: Likewise.
22034 * socket/isfdtype.c: Likewise.
22035 * socket/listen.c: Likewise.
22036 * socket/recv.c: Likewise.
22037 * socket/recvfrom.c: Likewise.
22038 * socket/recvmsg.c: Likewise.
22039 * socket/send.c: Likewise.
22040 * socket/sendmsg.c: Likewise.
22041 * socket/sendto.c: Likewise.
22042 * socket/setsockopt.c: Likewise.
22043 * socket/shutdown.c: Likewise.
22044 * socket/sockatmark.c: Likewise.
22045 * socket/socket.c: Likewise.
22046 * socket/socketpair.c: Likewise.
22047 * stdio-common/ctermid.c: Likewise.
22048 * stdio-common/cuserid.c: Likewise.
22049 * stdio-common/remove.c: Likewise.
22050 * stdio-common/rename.c: Likewise.
22051 * stdio-common/renameat.c: Likewise.
22052 * stdio-common/tempname.c: Likewise.
22053 * stdlib/getcontext.c: Likewise.
22054 * stdlib/makecontext.c: Likewise.
22055 * stdlib/setcontext.c: Likewise.
22056 * stdlib/swapcontext.c: Likewise.
22057 * stdlib/system.c: Likewise.
22058 * streams/fattach.c: Likewise.
22059 * streams/fdetach.c: Likewise.
22060 * streams/getmsg.c: Likewise.
22061 * streams/getpmsg.c: Likewise.
22062 * streams/putmsg.c: Likewise.
22063 * streams/putpmsg.c: Likewise.
22064 * sysdeps/unix/bsd/getpt.c: Likewise.
22065 * sysdeps/unix/sysv/linux/epoll_pwait.c: Likewise.
22066 * sysdeps/unix/sysv/linux/futimens.c: Likewise.
22067 * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
22068 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
22070 * sysdeps/unix/sysv/linux/readahead.c: Likewise.
22071 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
22072 * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
22073 * sysvipc/msgctl.c: Likewise.
22074 * sysvipc/msgget.c: Likewise.
22075 * sysvipc/msgrcv.c: Likewise.
22076 * sysvipc/msgsnd.c: Likewise.
22077 * sysvipc/semctl.c: Likewise.
22078 * sysvipc/semget.c: Likewise.
22079 * sysvipc/semop.c: Likewise.
22080 * sysvipc/semtimedop.c: Likewise.
22081 * sysvipc/shmat.c: Likewise.
22082 * sysvipc/shmctl.c: Likewise.
22083 * sysvipc/shmdt.c: Likewise.
22084 * sysvipc/shmget.c: Likewise.
22085 * termios/tcdrain.c: Likewise.
22086 * termios/tcflow.c: Likewise.
22087 * termios/tcflush.c: Likewise.
22088 * termios/tcgetattr.c: Likewise.
22089 * termios/tcgetpgrp.c: Likewise.
22090 * termios/tcsendbrk.c: Likewise.
22091 * termios/tcsetattr.c: Likewise.
22092 * termios/tcsetpgrp.c: Likewise.
22093 * time/adjtime.c: Likewise.
22094 * time/clock.c: Likewise.
22095 * time/getitimer.c: Likewise.
22096 * time/gettimeofday.c: Likewise.
22097 * time/setitimer.c: Likewise.
22098 * time/settimeofday.c: Likewise.
22099 * time/stime.c: Likewise.
22100 * time/time.c: Likewise.
22102 2012-11-04 Pino Toscano <toscano.pino@tiscali.it>
22104 * sysdeps/generic/paths.h (_PATH_STDPATH): Remove /usr/contrib/bin and
22107 * sysdeps/generic/paths.h (_PATH_MNTTAB, _PATH_MOUNTED): Use tabs
22109 * sysdeps/unix/sysv/linux/paths.h (_PATH_UTMP, _PATH_WTMP): Likewise.
22111 2012-11-03 Joseph Myers <joseph@codesourcery.com>
22114 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Set rounding mode to
22115 FE_TONEAREST before applying Dekker multiplication and Knuth
22116 addition. Clear inexact exceptions and check for exact zero
22117 results afterwards.
22118 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
22119 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
22120 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
22121 * math/libm-test.inc (fma_test): Add more tests.
22122 (fma_test_towardzero): Likewise.
22123 (fma_test_downward): Likewise.
22124 (fma_test_upward): Likewise.
22125 * sysdeps/generic/math_private.h (default_libc_fesetround): New
22127 (libc_fesetround): New macro.
22128 (libc_fesetroundf): Likewise.
22129 (libc_fesetroundl): Likewise.
22130 * sysdeps/i386/fpu/fenv_private.h (libc_fesetround_sse): New
22132 (libc_fesetround_387): Likewise.
22133 (libc_fesetroundf): New macro.
22134 (libc_fesetround): Likewise.
22135 (libc_fesetroundl): Likewise.
22136 * sysdeps/sparc/fpu/fenv_private.h (libc_fesetround): New
22138 (libc_fesetroundf): New macro.
22139 (libc_fesetround): Likewise.
22140 (libc_fesetroundl): Likewise.
22141 * include/fenv.h (feclearexcept): Add libm_hidden_proto.
22142 * math/fclrexcpt.c (feclearexcept): Add libm_hidden_ver.
22143 * sysdeps/i386/fpu/fclrexcpt.c (feclearexcept): Add
22145 * sysdeps/powerpc/fpu/fclrexcpt.c (feclearexcept): Likewise.
22146 * sysdeps/s390/fpu/fclrexcpt.c (feclearexcept): Add
22148 * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Likewise.
22149 * sysdeps/sparc/fpu/fclrexcpt.c (feclearexcept): Add
22151 * sysdeps/x86_64/fpu/fclrexcpt.c (feclearexcept): Add
22155 * sysdeps/powerpc/bits/fenv.h (FE_INEXACT): Define macro to
22156 integer constant usable in #if and use that to give value to enum
22158 (FE_DIVBYZERO): Likewise.
22159 (FE_UNDERFLOW): Likewise.
22160 (FE_OVERFLOW): Likewise.
22161 (FE_INVALID): Likewise.
22162 (FE_INVALID_SNAN): Likewise.
22163 (FE_INVALID_ISI): Likewise.
22164 (FE_INVALID_IDI): Likewise.
22165 (FE_INVALID_ZDZ): Likewise.
22166 (FE_INVALID_IMZ): Likewise.
22167 (FE_INVALID_COMPARE): Likewise.
22168 (FE_INVALID_SOFTWARE): Likewise.
22169 (FE_INVALID_SQRT): Likewise.
22170 (FE_INVALID_INTEGER_CONVERSION): Likewise.
22171 (FE_TONEAREST): Likewise.
22172 (FE_TOWARDZERO): Likewise.
22173 (FE_UPWARD): Likewise.
22174 (FE_DOWNWARD): Likewise.
22175 * sysdeps/s390/fpu/bits/fenv.h (FE_INVALID): Likewise.
22176 (FE_DIVBYZERO): Likewise.
22177 (FE_OVERFLOW): Likewise.
22178 (FE_UNDERFLOW): Likewise.
22179 (FE_INEXACT): Likewise.
22180 (FE_TONEAREST): Likewise.
22181 (FE_DOWNWARD): Likewise.
22182 (FE_UPWARD): Likewise.
22183 (FE_TOWARDZERO): Likewise.
22184 * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_INEXACT): Likewise.
22185 (FE_UNDERFLOW): Likewise.
22186 (FE_OVERFLOW): Likewise.
22187 (FE_DIVBYZERO): Likewise.
22188 (FE_INVALID): Likewise.
22189 (FE_TONEAREST): Likewise.
22190 (FE_TOWARDZERO): Likewise.
22191 * sysdeps/sparc/fpu/bits/fenv.h (FE_INVALID): Likewise.
22192 (FE_OVERFLOW): Likewise.
22193 (FE_UNDERFLOW): Likewise.
22194 (FE_DIVBYZERO): Likewise.
22195 (FE_INEXACT): Likewise.
22196 (FE_TONEAREST): Likewise.
22197 (FE_TOWARDZERO): Likewise.
22198 (FE_UPWARD): Likewise.
22199 (FE_DOWNWARD): Likewise.
22200 * sysdeps/x86/fpu/bits/fenv.h (FE_INVALID): Likewise.
22201 (FE_DIVBYZERO): Likewise.
22202 (FE_OVERFLOW): Likewise.
22203 (FE_UNDERFLOW): Likewise.
22204 (FE_INEXACT): Likewise.
22205 (FE_TONEAREST): Likewise.
22206 (FE_DOWNWARD): Likewise.
22207 (FE_UPWARD): Likewise.
22208 (FE_TOWARDZERO): Likewise.
22210 2012-11-02 Chris Metcalf <cmetcalf@tilera.com>
22212 * elf/elf.h (R_TILEGX_IMM16_X[01]_HW[012]_(|LAST_)PLT_PCREL): Add.
22214 2012-11-03 Andreas Schwab <schwab@linux-m68k.org>
22216 * scripts/cross-test-ssh.sh (command): Use newlines to separate
22217 commands. Quote $PWD.
22218 (blacklist_exports): Don't use remove_newlines. Replace "declare
22220 (remove_newlines): Remove.
22222 2012-11-02 H.J. Lu <hongjiu.lu@intel.com>
22224 * stdlib/Makefile (headers): Add bits/stdlib-float.h.
22225 * stdlib/stdlib.h (atof): Moved to ...
22226 * include/bits/stdlib-float.h: Here. New file.
22227 * stdlib/stdlib.h: Include <bits/stdlib-float.h>.
22228 * stdlib/bits/stdlib-float.h: New file.
22229 * sysdeps/x86/Makefile (CFLAGS-.os): Compile rtld routines with
22231 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Include
22234 2012-11-02 Joseph Myers <joseph@codesourcery.com>
22236 * conform/conformtest.pl (@headers): Add fenv.h.
22237 * conform/data/fenv.h-data: New file.
22238 * include/fenv.h [_ISOMAC]: Disable all contents of file except
22239 include of <math/fenv.h>.
22241 * conform/data/complex.h-data [ISO99 || ISO11 || XOPEN2K ||
22242 POSIX2008]: Change condition to [!ISO && !POSIX && !XPG3 && !XPG4
22243 && !UNIX98]. Enables tests for XOPEN2K8.
22244 * conform/data/inttypes.h-data [ISO99 || ISO11 || XOPEN2K ||
22245 POSIX2008]: Likewise.
22247 * conform/data/sys/wait.h-data [XPG3 || XOPEN2K8 || POSIX2008]
22248 (struct rusage): Do not expect type or its members.
22251 * math/math.h (FP_NAN): Define macro to integer constant usable in
22252 #if and use that to give value to enum constant.
22253 (FP_INFINITE): Likewise.
22254 (FP_ZERO): Likewise.
22255 (FP_SUBNORMAL): Likewise.
22256 (FP_NORMAL): Likewise.
22258 2012-11-02 Andreas Schwab <schwab@linux-m68k.org>
22260 * iconvdata/bug-iconv8.c (do_test): Use %z for size_t arguments.
22261 * iconvdata/bug-iconv9.c (do_test): Use %t for ptrdiff_t
22264 2012-11-02 Roland McGrath <roland@hack.frob.com>
22266 * aclocal.m4 (GLIBC_AUTOCONF_VERSION): New macro.
22267 Check that AC_AUTOCONF_VERSION matches it and m4_fatal at
22268 autoconf-time if not.
22269 * configure.in: Remove AC_PREREQ.
22271 2012-11-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
22273 * sysdeps/powerpc/sys/platform/ppc.h (__ppc_get_timebase): Use
22274 __builtin_ppc_get_timebase when building with GCC >= 4.8 instead
22275 of the internal implementation.
22277 2012-11-02 Joseph Myers <joseph@codesourcery.com>
22279 * include/sys/syslog.h [_ISOMAC]: Disable all contents of file
22280 except include of <misc/sys/syslog.h>.
22282 2012-11-01 Andreas Schwab <schwab@linux-m68k.org>
22284 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: If the
22285 function returns with a NULL context exit with zero.
22287 2012-11-01 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
22289 * sysdeps/powerpc/Makefile (cflags): Remove -mnew-mnemonics.
22291 2012-11-01 H.J. Lu <hongjiu.lu@intel.com>
22293 * catgets/test-gencat.sh (run_program_prefix): Renamed to ...
22294 (run_program_cmd): This.
22295 * localedata/tst-langinfo.sh (run_program_prefix): Removed.
22296 (tst_langinfo): New variable. Use it.
22298 2012-11-01 Sebastan Andrzej Siewior <bigeasy@linutronix.de>
22300 * sysdeps/powerpc/powerpc32/dl-trampoline.S: Put __NO_FPRS__ around
22301 floating point opcodes.
22303 2012-11-01 Thomas Schwinge <thomas@codesourcery.com>
22305 * sysdeps/mach/hurd/Makefile (link-libc-static-tests): New
22308 * elf/dl-support.c: Unconditionally include "setup-vdso.h".
22310 * sysdeps/mach/hurd/powerpc: Remove directory.
22311 * sysdeps/mach/powerpc: Likewise.
22313 2012-11-01 Andreas Schwab <schwab@linux-m68k.org>
22315 * scripts/check-local-headers.sh: Ignore c++ headers.
22317 2012-11-01 Thomas Schwinge <thomas@codesourcery.com>
22319 * libio/genops.c (_IO_flush_all_lockp): Use NULL rather than 0 for
22320 __libc_cleanup_region_start argument.
22322 2012-11-01 Joseph Myers <joseph@codesourcery.com>
22326 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle cases with small
22327 x * y using scaling, not as x * y + z.
22328 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
22329 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
22330 * math/libm-test.inc (fma_test): Add more tests.
22331 (fma_test_towardzero): Likewise.
22332 (fma_test_downward): Likewise.
22333 (fma_test_upward): Likewise.
22335 2012-11-01 Thomas Schwinge <thomas@codesourcery.com>
22337 * sysdeps/mach/hurd/bits/param.h: Remove stray #endif.
22339 2012-10-31 Joseph Myers <joseph@codesourcery.com>
22341 * sysdeps/sh/Makefile [$(subdir) = debug] (CFLAGS-backtrace.c):
22344 2012-10-31 Thomas Schwinge <thomas@codesourcery.com>
22346 * rt/tst-shm.c (worker): Correct checking for mmap failure.
22348 2012-10-31 Andreas Schwab <schwab@linux-m68k.org>
22350 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
22352 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
22355 2012-10-31 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
22357 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
22358 Fix the order of the list for glibc 2.17.
22359 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
22362 2012-10-31 Andreas Schwab <schwab@linux-m68k.org>
22364 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
22366 2012-10-31 Joseph Myers <joseph@codesourcery.com>
22369 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Check
22370 for low part of x being zero before using __atanl (y).
22371 * math/libm-test.inc (atan2_test): Add another test.
22373 * manual/install.texi (Configuring and compiling): Document
22374 general use of test-wrapper and test-wrapper-env.
22375 * INSTALL: Regenerated.
22377 * sysdeps/ieee754/dbl-64/s_fma.c: Include <tininess.h>.
22378 (__fma): Do not extract and scale down low bits on after-rounding
22379 systems when result rounded to normal precision would have normal
22381 * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <tininess.h>.
22382 (__fmal): Do not extract and scale down low bits on after-rounding
22383 systems when result rounded to normal precision would have normal
22385 * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <tininess.h>.
22386 (__fmal): Do not extract and scale down low bits on after-rounding
22387 systems when result rounded to normal precision would have normal
22389 * math/libm-test.inc (UNDERFLOW_EXCEPTION_BEFORE_ROUNDING): New
22391 (fma_test): Add more tests.
22392 (fma_test_towardzero): Likewise.
22393 (fma_test_downward): Likewise.
22394 (fma_test_upward): Likewise.
22396 2012-10-30 H.J. Lu <hongjiu.lu@intel.com>
22398 * sysdeps/i386/tininess.h: Renamed to ...
22399 * sysdeps/x86/tininess.h: This.
22400 * sysdeps/x86_64/tininess.h: Removed.
22402 2012-10-30 Joseph Myers <joseph@codesourcery.com>
22404 * elf/Makefile ($(objpfx)tst-array1.out): Depend on comparison
22405 input. Use $(build-program-cmd).
22406 ($(objpfx)tst-array1-static.out): Likewise.
22407 ($(objpfx)tst-array2.out): Likewise.
22408 ($(objpfx)tst-array3.out): Likewise.
22409 ($(objpfx)tst-array4.out): Likewise.
22410 ($(objpfx)tst-array5.out): Likewise.
22411 ($(objpfx)tst-array5-static.out): Likewise.
22413 2012-10-30 Chris Metcalf <cmetcalf@tilera.com>
22415 * elf/dl-load.c (_dl_map_object_from_fd): Call DL_AFTER_LOAD
22418 * nss/nsswitch.h (nss_interface_function): Provide new
22419 macro for use with NSS functions.
22420 * grp/initgroups.c: Use new macro.
22421 * nss/getXXbyYY.c: Likewise.
22422 * nss/getXXbyYY_r.c: Likewise.
22423 * nss/getXXent.c: Likewise.
22424 * nss/getXXent_r.c: Likewise.
22425 * sysdeps/posix/getaddrinfo.c: Likewise.
22427 2012-10-30 Andreas Jaeger <aj@suse.de>
22429 * po/ru.po: Update Russion translation from translation project.
22431 2012-10-30 Joseph Myers <joseph@codesourcery.com>
22435 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Extract low bits of
22436 result and shift together with sticky bit instead of replicating
22437 round-to-nearest rounding.
22438 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
22439 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
22440 * math/libm-test.inc (fma_test): Add more tests. Do not permit
22441 missing underflow exceptions.
22442 (fma_test_towardzero): Add more tests.
22443 (fma_test_downward): Likewise.
22444 (fma_test_upward): Likewise.
22447 * sysdeps/generic/tininess.h: New file.
22448 * sysdeps/i386/tininess.h: Likewise.
22449 * sysdeps/sh/tininess.h: Likewise.
22450 * sysdeps/x86_64/tininess.h: Likewise.
22451 * stdlib/tst-strtod-underflow.c: Likewise.
22452 * stdlib/tst-tininess.c: Likewise.
22453 * stdlib/strtod_l.c: Include <tininess.h>.
22454 (round_and_return): Do not set errno for exact underflow cases.
22455 Force an underflow exception when setting errno for underflow.
22456 Determine underflow based on rounding to normal precision if
22457 TININESS_AFTER_ROUNDING.
22458 * stdlib/tst-strtod.c (tests): Do not expect errno to be set to
22459 ERANGE for exact underflow cases.
22460 * stdlib/Makefile (tests): Add tst-tininess and
22461 tst-strtod-underflow.
22462 ($(objpfx)tst-tininess): Use $(link-libm).
22463 ($(objpfx)tst-strtod-underflow): Likewise.
22465 2012-10-30 Andreas Jaeger <aj@suse.de>
22468 * elf/Makefile (tests): Remove conditional for have-initfini-array
22469 since this is now always required and the variable does not exist
22471 (tests-static): Likewise.
22472 (modules-names): Likewise.
22474 * po/eo.po: Add Esperanto translation from translation project.
22476 * elf/tst-array1.c (fini_array): Make writeable so that it can be
22477 merged with constructor/destructor.
22478 (init_array): Likewise.
22479 * elf/tst-array2dep.c (fini_array): Likewise.
22480 (init_array): Likewise.
22482 2012-10-29 Mike Frysinger <vapier@gentoo.org>
22484 * manual/message.texi: Delete @cartouche tags.
22486 2012-10-29 Pino Toscano <toscano.pino@tiscali.it>
22488 * sysdeps/mach/hurd/fdatasync.c: Turn ERR into EINVAL if it is
22490 * sysdeps/mach/hurd/fsync.c: Likewise.
22492 * sysdeps/pthread/aio_notify.c (__aio_notify_only)
22493 [_POSIX_REALTIME_SIGNALS]: Change condition to
22494 [_POSIX_REALTIME_SIGNALS > 0].
22496 2012-10-27 Andreas Jaeger <aj@suse.de>
22498 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (__O_LARGEFILE)
22499 [!__x86_64]: Do not define, take value from <bits/fcntl-linux.h>.
22500 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE):
22501 [__WORDSIZE != 64]: Likewise.
22503 2012-10-26 H.J. Lu <hongjiu.lu@intel.com>
22505 * iconvdata/tst-table.sh: Remove ${SHELL}.
22506 * iconvdata/tst-tables.sh: Likewise.
22508 2012-10-25 David S. Miller <davem@davemloft.net>
22510 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
22511 (__get_clockfreq_via_proc_openprom): Use strtoumax instead
22514 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add comments for
22516 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
22517 * sysdeps/sparc/sparc64/multiarch/ifunc-impl-list.c: New file.
22518 * sysdeps/sparc/sparc32/sparcv9/multiarch/ifunc-impl-list.c: New
22521 2012-10-25 Roland McGrath <roland@hack.frob.com>
22523 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
22524 (__get_clockfreq_via_proc_openprom): Use __getdents instead of
22527 2012-10-25 Joseph Myers <joseph@codesourcery.com>
22528 Jim Blandy <jimb@codesourcery.com>
22530 * scripts/cross-test-ssh.sh: New file.
22531 * manual/install.texi (Configuring and compiling): Document use of
22533 * INSTALL: Regenerated.
22535 2012-10-25 Pino Toscano <toscano.pino@tiscali.it>
22537 * sysdeps/mach/hurd/ptrace.c (ptrace): Use __hurd_fail to return
22540 2012-10-25 Joseph Myers <joseph@codesourcery.com>
22542 * Makeconfig (run-program-prefix): Fix comment.
22544 2012-10-24 Joseph Myers <joseph@codesourcery.com>
22545 Jim Blandy <jimb@codesourcery.com>
22547 * Makeconfig (test-wrapper): New variable,
22548 (test-wrapper-env): Likewise.
22549 [$(cross-compiling) = yes && $(test-wrapper) != ""]
22550 (run-built-tests): Define to yes.
22551 (run-program-prefix): Use $(test-wrapper).
22552 (built-program-cmd): Likewise.
22553 * Rules (make-test-out): Use $(test-wrapper-env) and
22554 $(host-built-program-cmd).
22555 * elf/Makefile ($(objpfx)order.out): Use $(test-wrapper).
22556 ($(objpfx)tst-pathopt.out): Pass $(test-wrapper-env) to
22558 ($(objpfx)tst-rtld-load-self.out): Pass $(test-wrapper) and
22559 $(test-wrapper-env) to tst-rtld-load-self.sh.
22560 ($(objpfx)order2.out): Use $(test-wrapper).
22561 ($(objpfx)tst-initorder.out): Likewise.
22562 ($(objpfx)tst-initorder2.out): Likewise.
22563 ($(objpfx)tst-unused-dep.out): Use $(test-wrapper-env).
22564 * elf/tst-pathopt.sh (run_program_prefix): Remove unused variable.
22565 (test_wrapper_env): New variable. Use it to run ld.so.
22566 * elf/tst-rtld-load-self.sh (test_wrapper): New variable.
22567 Use it to run ld.so.
22568 (test_wrapper_env): Likewise.
22569 * iconvdata/Makefile ($(objpfx)iconv-test.out): Pass
22570 $(test-wrapper) to run-iconv-test.sh.
22571 * iconvdata/run-iconv-test.sh (test_wrapper): New variable.
22572 (ICONV): Use $test_wrapper.
22573 * posix/Makefile ($(objpfx)globtest.out): Pass
22574 $(run-via-rtld-prefix), $(test-wrapper) and $(test-wrapper-env) to
22575 globtest.sh, not $(run-program-prefix).
22576 * posix/globtest.sh (run_via_rtld_prefix): New variable.
22577 (test_wrapper): Likewise.
22578 (test_wrapper_env): Likewise. Use it to run globtest with HOME
22579 set together with run_via_rtld_prefix.
22580 (run_program_prefix): Define in terms of test_wrapper and
22581 run_via_rtld_prefix.
22583 2012-10-24 Roland McGrath <roland@hack.frob.com>
22585 * nscd/Makefile ($(objpfx)nscd): Remove librt dependency.
22586 * posix/Makefile ($(objpfx)tst-regex, $(objpfx)tst-regex2):
22590 * include/time.h: Remove librt_hidden_proto (clock_gettime).
22591 Declare __clock_getres, __clock_gettime, __clock_settime,
22592 __clock_nanosleep, and __clock_getcpuclockid.
22593 * rt/clock_gettime.c: Define __clock_gettime as an alias.
22594 Remove librt_hidden_def (clock_gettime).
22595 * sysdeps/unix/clock_gettime.c: Likewise.
22596 * rt/clock_getcpuclockid.c: Define __clock_getcpuclockid as an alias.
22597 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
22598 * rt/clock_getres.c: Define __clock_getres as an alias.
22599 * sysdeps/posix/clock_getres.c: Likewise.
22600 * rt/clock_settime.c: Define __clock_settime as an alias.
22601 * sysdeps/unix/clock_settime.c: Likewise.
22602 * rt/clock_nanosleep.c: Define __clock_nanosleep as an alias.
22603 * sysdeps/unix/clock_nanosleep.c: Likewise.
22604 * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
22605 * rt/clock-compat.c: New file.
22606 * rt/Makefile (librt-routines): Add clock-compat and move
22607 $(clock-routines) to ...
22608 (routines): ... here, new variable.
22609 * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_routines):
22610 Don't add get_clockfreq here.
22611 * rt/Versions (libc: GLIBC_2.17): New version set.
22612 Add clock_* symbols here.
22613 (libc: GLIBC_PRIVATE): New version set. Add __clock_* symbols here.
22614 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist
22615 (GLIBC_2.17): Add clock_* symbols.
22616 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
22617 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
22618 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
22619 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
22621 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
22623 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
22624 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
22625 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
22626 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
22627 * NEWS: Mention the move.
22629 * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
22630 Use __open, __read, __close rather than their public counterparts.
22631 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
22632 (__get_clockfreq_via_cpuinfo): Likewise.
22633 (__get_clockfreq_via_proc_openprom): Likewise, and __getdirentries.
22634 (__get_clockfreq_via_dev_openprom): Likewise, and __ioctl.
22636 * config.h.in (HAVE_IFUNC): New #undef.
22637 * configure.in: Define it if libc_cv_ld_gnu_indirect_function
22639 * configure: Regenerated.
22641 2012-10-24 Mike Frysinger <vapier@gentoo.org>
22643 * configure.in: Move READELF check to start of file.
22644 (libc_cv_ld_gnu_indirect_function): Change to a link test. Rename from
22645 libc_cv_asm_gnu_indirect_function in the process.
22646 * configure: Regenerated.
22648 2012-10-24 Mike Frysinger <vapier@gentoo.org>
22650 * configure.in (libc_cv_gcc_static_libgcc): Drop -q flag to grep and
22651 send the output to /dev/null.
22652 (libc_cv_cc_with_libunwind): Likewise.
22653 (libc_cv_as_noexecstack): Likewise.
22654 * configure: Regenerate.
22656 2012-10-24 Joseph Myers <joseph@codesourcery.com>
22658 * io/ftwtest-sh (tmp): Define to ${objpfx}io, not using `pwd`.
22660 * posix/globtest.sh (TMPDIR): Do not set.
22661 (testdir): Define using ${common_objpfx}posix not $TMPDIR.
22662 (testout): Likewise.
22664 2012-10-24 Andreas Jaeger <aj@suse.de>
22666 * io/fcntl.h: Always define mode_t, off_t, pid_t and use these
22667 types for creat, creat64, lockf, posix_fadvise, posix_fallocate.
22668 [__USE_LARGEFILE64 && !__off64_t_defined]: Define off64_t.
22669 [__USE_LARGEFILE64]: Use off64_t in declaration of lock64,
22670 posix_fadvise64, posix_fallocate64.
22672 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (F_GETLK, F_SETLK)
22673 (F_SETLKW) [__x86_64]: Remove, provided by <bits/fcntl-linux.h>.
22674 (F_GETLK, F_SETLK, F_SETLKW) [!__USE_FILE_OFFSET64 && !__x86_64__]:
22676 (F_GETLK, F_SETLK, F_SETLKW) [__USE_FILE_OFFSET64 && ! __x86_64__]:
22678 (F_GETLK64, F_SETLK64, F_SETLKW64) [!__x86_64__]: Likewise.
22680 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (F_GETLK, F_SETLK)
22681 (F_SETLKW) [__USE_FILE_OFFSET64]: Remove, provided by
22682 <bits/fcntl-linux.h>.
22683 (F_GETLK64, F_SETLK64, F_SETLKW64) [__WORDSIZE == 64]: Likewise.
22685 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (F_DUPFD, F_GETFD)
22686 (F_SETFD, F_GETFL, F_SETFL): Remove, provided by <bits/fcntl-linux.h>.
22687 (F_GETLK, F_SETLK, F_SETLKW) [__WORDSIZE == 64]: Likewise.
22688 (F_GETLK, F_SETLK, F_SETLKW, F_GETLK64, F_SETLK64, F_SETLKW64)
22689 [__WORDSIZE != 64]: Likewise.
22691 2012-10-23 Joseph Myers <joseph@codesourcery.com>
22693 * Makeconfig (run-built-tests): New variable.
22694 * Rules [$(cross-compiling) = yes]: Change condition to
22695 [$(run-built-tests) = no].
22696 * catgets/Makefile [$(cross-compiling) != yes]: Change condition
22697 to [$(run-built-tests) = yes].
22698 * elf/Makefile [$(cross-compiling) = no]: Likewise
22699 * grp/Makefile [$(cross-compiling) = no]: Likewise.
22700 * iconv/Makefile [$(cross-compiling) != yes]: Likewise.
22701 * iconvdata/Makefile [$(cross-compiling) = no]: Likewise.
22702 * intl/Makefile [$(cross-compiling) = no]: Likewise.
22703 * io/Makefile [$(cross-compiling) = no]: Likewise.
22704 * libio/Makefile [$(cross-compiling) = no]: Likewise.
22705 * malloc/Makefile [$(cross-compiling) = no]: Likewise.
22706 * misc/Makefile [$(cross-compiling) = no]: Likewise.
22707 * posix/Makefile [$(cross-compiling) = no]: Likewise.
22708 * resolv/Makefile [$(cross-compiling) = no]: Likewise.
22709 * stdio-common/Makefile [$(cross-compiling) = no]: Likewise.
22710 * stdlib/Makefile [$(cross-compiling) = no]: Likewise.
22711 * string/Makefile [$(cross-compiling) = no]: Likewise.
22713 * posix/Makefile ($(objpfx)globtest.out): Pass
22714 $(run-program-prefix) to globtest.sh, not $(elf-objpfx) and
22715 $(rtld-installed-name).
22716 * posix/globtest.sh (elf_objpfx): Remove variable.
22717 (rtld_installed_name): Likewise.
22718 (library_path): Likewise.
22719 (run_program_prefix): New variable. Use for running globtest
22722 2012-10-23 Jim Blandy <jimb@codesourcery.com>
22723 Joseph Myers <joseph@codesourcery.com>
22725 * Makeconfig (host-built-program-cmd): New variable.
22726 * elf/Makefile (tst-stackguard1-ARGS): Use
22727 $(host-built-program-cmd).
22728 * posix/Makefile (tst-exec-ARGS): Use $(host-built-program-cmd).
22729 (tst-spawn-ARGS): Likewise.
22730 * rt/Makefile (tst-mqueue7-ARGS): Use $(host-built-program-cmd).
22732 2012-10-23 Joseph Myers <joseph@codesourcery.com>
22733 Jim Blandy <jimb@codesourcery.com>
22735 * Makeconfig (run-via-rtld-prefix): New variable.
22736 (run-program-prefix): Define in terms of $(run-via-rtld-prefix).
22737 (built-program-cmd): Likewise.
22739 2012-10-22 Andreas Jaeger <aj@suse.de>
22741 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (O_RSYNC): Define to
22742 __O_RSYNC if it exists, otherwise to O_SYNC.
22744 2012-10-22 Jim Blandy <jimb@codesourcery.com>
22745 Joseph Myers <joseph@codesourcery.com>
22747 * iconvdata/run-iconv-test.sh: Redirect iconv stdin in loops from
22749 * iconvdata/tst-tables.sh: Redirect tst-table.sh stdin in loop
22751 * posix/tst-getconf.sh: Redirect getconf stdin in loop from
22754 2012-10-22 Andreas Jaeger <aj@suse.de>
22756 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_LARGEFILE):
22758 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE): Likewise.
22760 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
22761 bits/fcntl-linux.h.
22763 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (F_GETLK, F_SETLK)
22764 (F_SETLKW) [!F_GETLK]: Define values for [!__USE_FILE_OFFSET64].
22766 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (O_LARGEFILE): Rename
22768 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_LARGEFILE): Rename
22771 2012-10-21 Jim Blandy <jimb@codesourcery.com>
22772 Joseph Myers <joseph@codesourcery.com>
22774 * config.make.in (NM): New variable.
22776 2012-10-21 Andreas Jaeger <aj@suse.de>
22778 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Remove all
22779 definitions and declarations that are provided by
22780 <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
22782 2012-10-20 H.J. Lu <hongjiu.lu@intel.com>
22785 * elf/Makefile (tests-static): Add tst-leaks1-static.
22786 (tests): Also depend on $(objpfx)tst-leaks1-static-mem.
22787 ($(objpfx)tst-leaks1-static): New rule.
22788 ($(objpfx)tst-leaks1-static-mem): Likewise.
22789 (tst-leaks1-static-ENV): New macro.
22790 * elf/dl-open.c (dl_open_worker): Check the main application
22791 only if SHARED is defined.
22792 * elf/tst-leaks1-static.c: New file.
22794 2012-10-20 Andreas Jaeger <aj@suse.de>
22796 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: New file, contains
22797 generic values for Linux.
22798 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: Remove all definitions
22799 and declarations that are provided by <bits/fcntl-linux.h> and
22800 include <bits/fcntl-linux.h>.
22801 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
22802 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
22804 2012-10-20 Roland McGrath <roland@hack.frob.com>
22806 * io/fcntl.h: Move include of <bits/types.h> to the top and
22807 include it unconditionally.
22809 2012-10-20 H.J. Lu <hongjiu.lu@intel.com>
22811 * wcsmbs/Makefile (tests-ifunc): New variable.
22812 (tests): Add $(tests-ifunc).
22813 * wcsmbs/test-wcschr-ifunc.c: New file.
22814 * wcsmbs/test-wcscmp-ifunc.c: Likewise.
22815 * wcsmbs/test-wcscpy-ifunc.c: Likewise.
22816 * wcsmbs/test-wcslen-ifunc.c: Likewise.
22817 * wcsmbs/test-wcsrchr-ifunc.c: Likewise.
22818 * wcsmbs/test-wmemcmp-ifunc.c: Likewise.
22820 * string/Makefile (tests-ifunc): New variable.
22821 (tests): Add $(tests-ifunc).
22822 * string/test-memccpy.c (TEST_NAME): New macro.
22823 * string/test-memchr.c (TEST_NAME): Likewise.
22824 * string/test-memcmp.c (TEST_NAME): Likewise.
22825 * string/test-memcpy.c (TEST_NAME): Likewise.
22826 * string/test-memmem.c (TEST_NAME): Likewise.
22827 * string/test-memmove.c (TEST_NAME): Likewise.
22828 * string/test-memset.c (TEST_NAME): Likewise.
22829 * string/test-rawmemchr.c (TEST_NAME): Likewise.
22830 * string/test-stpcpy.c (TEST_NAME): Likewise.
22831 * string/test-stpncpy.c (TEST_NAME): Likewise.
22832 * string/test-strcasecmp.c (TEST_NAME): Likewise.
22833 * string/test-strcasestr.c (TEST_NAME): Likewise.
22834 * string/test-strcat.c (TEST_NAME): Likewise.
22835 * string/test-strchr.c (TEST_NAME): Likewise.
22836 * string/test-strcmp.c(TEST_NAME): Likewise.
22837 * string/test-strcpy.c (TEST_NAME): Likewise.
22838 * string/test-strcspn.c (TEST_NAME): Likewise.
22839 * string/test-strlen.c (TEST_NAME): Likewise.
22840 * string/test-strncasecmp.c (TEST_NAME): Likewise.
22841 * string/test-strncmp.c (TEST_NAME): Likewise.
22842 * string/test-strncpy.c (TEST_NAME): Likewise.
22843 * string/test-strnlen.c (TEST_NAME): Likewise.
22844 * string/test-strpbrk.c (TEST_NAME): Likewise.
22845 * string/test-strrchr.c (TEST_NAME): Likewise.
22846 * string/test-strspn.c (TEST_NAME): Likewise.
22847 * string/test-strstr.c (TEST_NAME): Likewise.
22848 * string/test-bcopy-ifunc.c: New file.
22849 * string/test-bzero-ifunc.c: Likewise.
22850 * string/test-memccpy-ifunc.c: Likewise.
22851 * string/test-memchr-ifunc.c: Likewise.
22852 * string/test-memcmp-ifunc.c: Likewise.
22853 * string/test-memcpy-ifunc.c: Likewise.
22854 * string/test-memmem-ifunc.c: Likewise.
22855 * string/test-memmove-ifunc.c: Likewise.
22856 * string/test-mempcpy-ifunc.c: Likewise.
22857 * string/test-memset-ifunc.c: Likewise.
22858 * string/test-rawmemchr-ifunc.c: Likewise.
22859 * string/test-stpcpy-ifunc.c: Likewise.
22860 * string/test-stpncpy-ifunc.c: Likewise.
22861 * string/test-strcasecmp-ifunc.c: Likewise.
22862 * string/test-strcasestr-ifunc.c: Likewise.
22863 * string/test-strcat-ifunc.c: Likewise.
22864 * string/test-strchr-ifunc.c: Likewise.
22865 * string/test-strchrnul-ifunc.c: Likewise.
22866 * string/test-strcmp-ifunc.c: Likewise.
22867 * string/test-strcpy-ifunc.c: Likewise.
22868 * string/test-strcspn-ifunc.c: Likewise.
22869 * string/test-strlen-ifunc.c: Likewise.
22870 * string/test-strncasecmp-ifunc.c: Likewise.
22871 * string/test-strncat-ifunc.c: Likewise.
22872 * string/test-strncmp-ifunc.c: Likewise.
22873 * string/test-strncpy-ifunc.c: Likewise.
22874 * string/test-strnlen-ifunc.c: Likewise.
22875 * string/test-strpbrk-ifunc.c: Likewise.
22876 * string/test-strrchr-ifunc.c: Likewise.
22877 * string/test-strspn-ifunc.c: Likewise.
22878 * string/test-strstr-ifunc.c: Likewise.
22880 * debug/Makefile (tests-ifunc): New variable.
22881 (tests): Add $(tests-ifunc).
22882 * debug/test-stpcpy_chk.c (TEST_NAME): New macro.
22883 * debug/test-strcpy_chk.c (TEST_NAME): Likewise.
22884 * debug/test-stpcpy_chk-ifunc.c: New file.
22885 * debug/test-strcpy_chk-ifunc.c: Likewise.
22887 2012-10-20 Siddhesh Poyarekar <siddhesh@redhat.com>
22890 * elf/dl-load.c (open_verify): Retry read if the entire ELF
22891 header is not read in.
22893 2012-10-19 Joseph Myers <joseph@codesourcery.com>
22895 * io/Makefile ($(objpfx)ftwtest.out): Depend on ftwtest-sh. Pass
22896 script to $(SHELL) as $<. Pass $(common-objpfx) to script
22897 directly. Pass built executable to script as
22898 $(built-program-cmd).
22899 * io/ftwtest-sh (ldso): Remove variable. Run ftwtest directly as
22900 $testprogram without using LD_LIBRARY_PATH and $ldso.
22902 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Pass
22903 $(run-program-prefix) to tst_fgetgrent.sh, not $(elf-objpfx) and
22904 $(rtld-installed-name).
22905 * grp/tst_fgetgrent.sh (elf_objpfx): Remove variable.
22906 (rtld_installed_name): Likewise.
22907 (library_path): Likewise.
22908 (run_program_prefix): New variable. Use it to run tst_fgetgrent.
22909 * iconvdata/Makefile ($(objpfx)tst-tables.out): Pass
22910 $(run-program-prefix) to tst-tables.sh.
22911 * iconvdata/tst-table.sh (run_program_prefix): New variable. Use
22912 it to run tst-table-from and tst-table-to.
22913 * iconvdata/tst-tables.sh (run_program_prefix): New variable.
22914 Pass it to tst-table.sh.
22915 * intl/Makefile ($(objpfx)tst-gettext.out): Pass
22916 $(run-program-prefix) to tst-gettext.sh.
22917 ($(objpfx)tst-translit.out): Pass $(run-program-prefix) to
22919 ($(objpfx)tst-gettext2.out): Pass $(run-program-prefix) to
22921 * intl/tst-gettext.sh (run_program_prefix): New variable. Use it
22922 to run tst-gettext.
22923 * intl/tst-gettext2.sh (run_program_prefix): New variable. Use it
22924 to run tst-gettext2.
22925 * intl/tst-translit.sh (run_program_prefix): New variable. Use it
22926 to run tst-translit.
22927 * malloc/Makefile ($(objpfx)tst-mtrace.out): Pass
22928 $(run-program-prefix) to tst-mtrace.sh.
22929 * malloc/tst-mtrace.sh (run_program_prefix): New variable. Use it
22931 * posix/Makefile ($(objpfx)wordexp-tst.out): Pass
22932 $(run-program-prefix) to wordexp-tst.sh, not $(elf-objpfx) and
22933 $(rtld-installed-name).
22934 * posix/wordexp-tst.sh (elf_objpfx): Remove variable.
22935 (rtld_installed_name): Likewise.
22936 (run_program_prefix): New variable. Use it to run wordexp-test.
22938 * Makeconfig (ARCH): Remove all definitions.
22939 (machine): Likewise.
22940 [ARCH]: Remove conditional code.
22941 [!objdir]: Give error.
22942 [!objdir] (objpfx): Remove.
22943 [!objdir] (common-objpfx): Likewise.
22944 [!objdir] (common-objdir): Likewise.
22945 * configure.in (config_makefile): Remove. Hardcode Makefile in
22946 AC_CONFIG_FILES call.
22947 * configure: Regenerated.
22950 * io/ftwtest-sh (tmp): Set to use the working directory, not /tmp
22952 (testout): Likewise.
22954 * posix/Makefile ($(objpfx)tst-getconf.out): Pass
22955 $(built-program-cmd) to tst-getconf.sh, not $(elf-objpfx) and
22956 $(rtld-installed-name).
22957 * posix/tst-getconf.sh (elf_objpfx): Remove variable.
22958 (rtld_installed_name): Likwise.
22959 (runit): Remove function.
22960 (run_getconf): New variable, Use it for running getconf binary.
22962 2012-10-18 H.J. Lu <hongjiu.lu@intel.com>
22965 * string/test-memmem.c (check_result): New function.
22966 (do_one_test): Use it.
22967 (check1): New function.
22968 (test_main): Use it.
22970 2012-10-18 Markus Trippelsdorf <markus@trippelsdorf.de>
22972 * math/Makefile: Comment on slow compilation of test-tgmath2.c.
22974 2012-10-18 Joseph Myers <joseph@codesourcery.com>
22976 * sysdeps/generic/_G_config.h (_G_OPEN64): Remove.
22977 (_G_LSEEK64): Likewise.
22978 (_G_MMAP64): Likewise.
22979 (_G_FSTAT64): Likewise.
22980 * sysdeps/unix/sysv/linux/_G_config.h (_G_OPEN64): Remove.
22981 (_G_LSEEK64): Likewise.
22982 (_G_MMAP64): Likewise.
22983 (_G_FSTAT64): Likewise.
22984 * libio/fileops.c (mmap_remap_check) [_G_MMAP64]: Make code
22985 unconditional. Call __mmap64 directly.
22986 (mmap_remap_check) [!_G_MMAP64]: Remove conditional code.
22987 (mmap_remap_check) [_G_LSEEK64]: Make code unconditional. Call
22988 __lseek64 directly.
22989 (mmap_remap_check) [!_G_LSEEK64]: Remove conditional code.
22990 (decide_maybe_mmap) [_G_MMAP64]: Make code unconditional. Call
22992 (decide_maybe_mmap) [!_G_MMAP64]: Remove conditional code.
22993 (decide_maybe_mmap) [_G_LSEEK64]: Make code unconditional. Call
22994 __lseek64 directly.
22995 (decide_maybe_mmap) [!_G_LSEEK64]: Remove conditional code.
22996 (_IO_file_sync_mmap) [_G_LSEEK64]: Make code unconditional. Call
22997 __lseek64 directly.
22998 (_IO_file_sync_mmap) [!_G_LSEEK64]: Remove conditional code.
22999 (_IO_file_seek) [_G_LSEEK64]: Make code unconditional. Call
23000 __lseek64 directly.
23001 (_IO_file_seek) [!_G_LSEEK64]: Remove conditional code.
23002 (_IO_file_stat) [_G_FSTAT64]: Make code unconditional. Call
23003 __fxstat64 directly.
23004 (_IO_file_stat) [!_G_FSTAT64]: Remove conditional code.
23005 * libio/freopen64.c (freopen64) [_G_OPEN64]: Make code
23007 (freopen64) [!_G_OPEN64]: Remove conditional code.
23008 * libio/fseeko64.c (fseeko64) [_G_LSEEK64]: Make code
23010 (fseeko64) [!_G_LSEEK64]: Remove conditional code.
23011 * libio/ftello64.c (ftello64) [_G_LSEEK64]: Make code
23013 (ftello64) [!_G_LSEEK64]: Remove conditional code.
23014 * libio/iofgetpos64.c (_IO_new_fgetpos64) [_G_LSEEK64]: Make code
23016 (_IO_new_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
23017 * libio/iofopen64.c (_IO_fopen64) [_G_OPEN64]: Make code
23019 (_IO_fopen64) [!_G_OPEN64]: Remove conditional code.
23020 * libio/iofsetpos64.c (_IO_new_fsetpos64) [_G_LSEEK64]: Make code
23022 (_IO_new_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
23023 * libio/oldiofgetpos64.c (_IO_old_fgetpos64) [_G_LSEEK64]: Make code
23025 (_IO_old_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
23026 * libio/oldiofsetpos64.c (_IO_old_fsetpos64) [_G_LSEEK64]: Make code
23028 (_IO_old_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
23030 2012-10-18 Siddhesh Poyarekar <siddhesh@redhat.com>
23033 * manual/memory.texi (Malloc Tunable Parameters): Add note
23034 about free list pointers overwriting some perturb bytes.
23035 Wording suggested by Roland McGrath.
23037 2012-10-17 Joseph Myers <joseph@codesourcery.com>
23039 * math/libm-test.inc (gamma_test): Do not call feclearexcept.
23040 (lgamma_test): Likewise.
23041 (tgamma_test): Likewise.
23043 2012-10-16 Florian Weimer <fweimer@redhat.com>
23046 * sysdeps/posix/opendir.c (MAX_DIR_BUFFER_SIZE): New constant.
23047 (__alloc_dir): Limit buffer to MAX_DIR_BUFFER_SIZE.
23049 2012-10-16 Maxim Kuvyrkov <maxim@codesourcery.com>
23051 * NEWS: Mention BZ #14716.
23052 * string/str-two-way.h (two_way_short_needle): Fix thinko introduced
23053 when removing AVAILABLE1_USES_J macro.
23055 2012-10-12 H.J. Lu <hongjiu.lu@intel.com>
23057 * sysdeps/x86/bits/byteswap.h: Include <bits/types.h>.
23058 (__bswap_64): __uint64_t for unsigned 64-bit int.
23060 2012-10-12 Andreas Schwab <schwab@linux-m68k.org>
23062 * include/string.h (memmem): Declare libc hidden alias.
23063 * string/memmem.c (memmem): Define libc hidden alias.
23064 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Use __open,
23065 __read, __close instead of open, read, close.
23067 2012-10-11 H.J. Lu <hongjiu.lu@intel.com>
23069 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: New file.
23070 * sysdeps/x86_64/multiarch/memcmp.S (__memcmp_sse2): Make it
23072 * sysdeps/x86_64/multiarch/memcpy.S (__memcpy_sse2): Likewise.
23073 * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy_sse2): Likewise.
23074 * sysdeps/x86_64/multiarch/rawmemchr.S (__rawmemchr_sse42):
23076 (__rawmemchr_sse2): Likewise.
23077 * sysdeps/x86_64/multiarch/strcat.S (STRCAT_SSE2): Likewise.
23078 * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Likewise.
23079 (__strchr_sse2): Likewise.
23080 * sysdeps/x86_64/multiarch/strcmp-sse42.S (STRCMP_SSE42): Likewise.
23081 * sysdeps/x86_64/multiarch/strcmp.S (STRCMP_SSE2): Likewise.
23082 (__strcasecmp_sse2): Likewise.
23083 (__strncasecmp_sse2): Likewise.
23084 * sysdeps/x86_64/multiarch/strcpy.S (STRCPY_SSE2): Likewise.
23085 * sysdeps/x86_64/multiarch/strlen.S (__strlen_sse2): Likewise.
23086 * sysdeps/x86_64/multiarch/strnlen.S (__strnlen_sse2): Likewise.
23087 * sysdeps/x86_64/multiarch/strrchr.S (__strrchr_sse42): Likewise.
23088 (__strrchr_sse2): Likewise.
23089 * sysdeps/x86_64/multiarch/memcmp.S: Add comments for
23091 * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
23092 * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
23093 * sysdeps/x86_64/multiarch/memmove.c: Likewise.
23094 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
23095 * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
23096 * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
23097 * sysdeps/x86_64/multiarch/memset.S: Likewise.
23098 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
23099 * sysdeps/x86_64/multiarch/rawmemchr.S: Likewise.
23100 * sysdeps/x86_64/multiarch/stpcpy.S: Likewise.
23101 * sysdeps/x86_64/multiarch/stpncpy.S: Likewise.
23102 * sysdeps/x86_64/multiarch/strcasecmp_l.S: Likewise.
23103 * sysdeps/x86_64/multiarch/strcasestr-c.c: Likewise.
23104 * sysdeps/x86_64/multiarch/strcat.S: Likewise.
23105 * sysdeps/x86_64/multiarch/strchr.S: Likewise.
23106 * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
23107 * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
23108 * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
23109 * sysdeps/x86_64/multiarch/strlen.S: Likewise.
23110 * sysdeps/x86_64/multiarch/strncase_l.S: Likewise.
23111 * sysdeps/x86_64/multiarch/strncat.S: Likewise.
23112 * sysdeps/x86_64/multiarch/strncmp.S: Likewise.
23113 * sysdeps/x86_64/multiarch/strncpy.S: Likewise.
23114 * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
23115 * sysdeps/x86_64/multiarch/strpbrk.S: Likewise.
23116 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
23117 * sysdeps/x86_64/multiarch/strspn.S: Likewise.
23118 * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
23119 * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
23120 * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
23122 * sysdeps/i386/i686/multiarch/bcopy.S (__bcopy_ia32): Make it
23124 * sysdeps/i386/i686/multiarch/bzero.S (__bzero_ia32): Likewise.
23125 * sysdeps/i386/i686/multiarch/memcmp.S (__memcmp_ia32): Likewise.
23126 * sysdeps/i386/i686/multiarch/memcpy.S (__memcpy_ia32): Likewise.
23127 * sysdeps/i386/i686/multiarch/memmove.S (__memmove_ia32):
23129 * sysdeps/i386/i686/multiarch/mempcpy.S (__mempcpy_ia32):
23131 * sysdeps/i386/i686/multiarch/strcat.S (STRCAT_IA32): Likewise.
23132 * sysdeps/i386/i686/multiarch/strcmp.S (__STRCMP_IA32): Likewise.
23133 * sysdeps/i386/i686/multiarch/strcpy.S (STRCPY_IA32): Likewise.
23134 * sysdeps/i386/i686/multiarch/bcopy.S: Add comments for
23136 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
23137 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
23138 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
23139 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
23140 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
23141 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
23142 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
23143 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
23144 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
23145 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
23146 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
23147 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
23148 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
23149 * sysdeps/i386/i686/multiarch/stpcpy.S: Likewise.
23150 * sysdeps/i386/i686/multiarch/stpncpy.S: Likewise.
23151 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
23152 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: Likewise.
23153 * sysdeps/i386/i686/multiarch/strcasestr-c.c: Likewise.
23154 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
23155 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
23156 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
23157 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
23158 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
23159 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
23160 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
23161 * sysdeps/i386/i686/multiarch/strncase_l.S: Likewise.
23162 * sysdeps/i386/i686/multiarch/strncat.S: Likewise.
23163 * sysdeps/i386/i686/multiarch/strncmp.S: Likewise.
23164 * sysdeps/i386/i686/multiarch/strncpy.S: Likewise.
23165 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
23166 * sysdeps/i386/i686/multiarch/strpbrk.S: Likewise.
23167 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
23168 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
23169 * sysdeps/i386/i686/multiarch/strstr-c.c: Likewise.
23170 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
23171 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
23172 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
23173 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
23174 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
23175 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
23176 * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: New file.
23178 * Rules [$(multi-arch) = no] (tests): Filter out $(tests-ifunc).
23179 [$(multi-arch) = no] (xtests): Filter out $(xtests-ifunc).
23180 * include/ifunc-impl-list.h: New file.
23181 * misc/ifunc-impl-list.c: Likewise.
23182 * misc/Makefile (routines): Add ifunc-impl-list.
23183 * misc/Versions (GLIBC_PRIVATE): Add __libc_ifunc_impl_list.
23184 * string/test-string.h: Include <ifunc-impl-list.h>.
23185 (func_list, func_count, impl_count, impl_array) [TEST_IFUNC &&
23186 TEST_NAME]: New variables.
23187 (FOR_EACH_IMPL): Support func_list if TEST_IFUNC and TEST_NAME
23189 (test_init): Call __libc_ifunc_impl_list to initialize
23190 func_list if TEST_IFUNC and TEST_NAME are defined.
23192 * string/Makefile (strop-tests): Add bcopy and bzero.
23193 * string/test-bcopy.c: New file.
23194 * string/test-bzero.c: Likewise.
23195 * string/test-memmove.c: Support bcopy test if TEST_BCOPY is
23197 * string/test-memset.c: Support bzero test if TEST_BZERO is
23199 * sysdeps/x86_64/multiarch/bcopy.S (bcopy): Jump to
23201 * sysdeps/x86_64/multiarch/bzero.S (__bzero): Jump to
23203 * sysdeps/x86_64/multiarch/memset.S (__libc_memset): New alias
23206 2012-10-10 Joseph Myers <joseph@codesourcery.com>
23208 * configure.in: Run $CXX, not cc1plus, to locate C++ headers.
23209 * configure: Regenerated.
23211 * Makeconfig (+link-static-before-libc): Don't include
23212 $(link-static-libc).
23214 * libio/libio.h (_IO_pos_t): Remove.
23216 2012-10-10 Alexandre Oliva <aoliva@redhat.com>
23218 * NEWS: Add note about FIPS mode. Wording suggested by Roland
23221 2012-10-10 Alexandre Oliva <aoliva@redhat.com>
23223 * crypt/crypt-entry.c: Include fips-private.h.
23224 (__crypt_r, __crypt): Disable MD5 and DES if FIPS is enabled.
23225 * crypt/md5c-test.c (main): Tolerate disabled MD5.
23226 * sysdeps/unix/sysv/linux/fips-private.h: New file.
23227 * sysdeps/generic/fips-private.h: New file, dummy fallback.
23229 2012-10-10 Alexandre Oliva <aoliva@redhat.com>
23231 * crypt/crypt-private.h: Include stdbool.h.
23232 (_ufc_setup_salt_r): Return bool.
23233 * crypt/crypt-entry.c: Include errno.h.
23234 (__crypt_r): Return NULL with EINVAL for bad salt.
23235 * crypt/crypt_util.c (bad_for_salt): New.
23236 (_ufc_setup_salt_r): Check that salt is long enough and within
23237 the specified alphabet.
23238 * crypt/badsalttest.c: New file.
23239 * crypt/Makefile (tests): Add it.
23240 ($(objpfx)badsalttest): New.
23242 2012-10-09 Maxim Kuvyrkov <maxim@codesourcery.com>
23244 * NEWS: Add entry for BZ #14602.
23246 2012-10-09 Joseph Myers <joseph@codesourcery.com>
23248 * math/gen-libm-test.pl (parse_args): Handle comparison macros as
23250 * math/libm-test.inc: Update comment listing what functions and
23252 (isgreater_test): New function.
23253 (isgreaterequal_test): Likewise.
23254 (isless_test): Likewise.
23255 (islessequal_test): Likewise.
23256 (islessgreater_test): Likewise.
23257 (isunordered_test): Likewise.
23258 (main): Call the new functions.
23260 2012-10-09 Roland McGrath <roland@hack.frob.com>
23262 * aclocal.m4 (GLIBC_PROVIDES): Provide _AS_BASENAME_PREPARE,
23263 _AS_ME_PREPARE, _AS_VAR_ARITH_PREPARE, AS_SHELL_FN_as_fn_set_status,
23264 AS_SHELL_FN_as_fn_exit, AS_SHELL_FN_ac_fn_c_try_compile.
23265 * sysdeps/i386/configure: Regenerated.
23266 * sysdeps/ieee754/ldbl-opt/configure: Regenerated.
23267 * sysdeps/mach/configure: Regenerated.
23268 * sysdeps/mach/hurd/configure: Regenerated.
23269 * sysdeps/powerpc/configure: Regenerated.
23270 * sysdeps/powerpc/powerpc32/configure: Regenerated.
23271 * sysdeps/powerpc/powerpc64/configure: Regenerated.
23272 * sysdeps/s390/s390-32/configure: Regenerated.
23273 * sysdeps/s390/s390-64/configure: Regenerated.
23274 * sysdeps/sh/configure: Regenerated.
23275 * sysdeps/sparc/configure: Regenerated.
23276 * sysdeps/unix/sysv/linux/configure: Regenerated.
23277 * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
23278 * sysdeps/x86_64/configure: Regenerated.
23280 * dlfcn/dlerror.c (check_free): Call _dl_addr only if SHARED is
23281 defined. Don't check if MAP is NULL.
23283 2012-10-09 Joseph Myers <joseph@codesourcery.com>
23285 * sysdeps/generic/_G_config.h (_G_off64_t): Remove.
23286 (_G_stat64): Likewise.
23287 * sysdeps/unix/sysv/linux/_G_config.h (_G_off64_t): Remove.
23288 (_G_stat64): Likewise.
23289 * libio/filedoalloc.c (_IO_file_doallocate): Use struct stat64
23290 instead of struct _G_stat64.
23291 * libio/fileops.c (mmap_remap_check): Likewise.
23292 (decide_maybe_mmap): Likewise.
23293 (_IO_new_file_seekoff): Likewise.
23294 (_IO_file_stat): Likewise.
23295 * libio/libio.h (_IO_off64_t): Define to __off64_t, not
23297 * libio/oldfileops.c (_IO_old_file_seekoff): Use struct stat64
23298 instead of struct _G_stat64.
23299 * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
23301 2012-10-08 Maxim Kuvyrkov <maxim@codesourcery.com>
23304 * string/str-two-way.h (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
23306 (CHECK_EOL): New macro.
23307 (two_way_short_needle): Check beginning of haystack for EOL. Use
23309 * string/strcasestr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
23310 Replace with CHECK_EOL.
23311 * string/strstr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
23312 Replace with CHECK_EOL.
23314 2012-10-08 Joseph Myers <joseph@codesourcery.com>
23316 * math/gen-libm-test.pl (parse_args): Handle isinf and isnan as
23318 * math/libm-test.inc: Update comment listing what functions and
23320 (finite_test): New function.
23321 (isinf_test): Likewise.
23322 (isnan_test): Likewise.
23323 (fpclassify_test): Test subnormal input.
23324 (isfinite_test): Likewise.
23325 (isnormal_test): Likewise.
23326 (main): Call the new functions.
23328 2012-10-08 Jonathan Nieder <jrnieder@gmail.com>
23331 * Makerules (%.dynsym): Force C locale when running
23332 $(OBJDUMP) --dynamic-syms.
23334 2012-10-08 Andreas Schwab <schwab@linux-m68k.org>
23336 * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Include
23339 2012-10-06 David S. Miller <davem@davemloft.net>
23341 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: On 32-bit, clear
23342 upper 32-bits of the length value in %o2 since we use branch-on-register
23343 tests which consider the entire 64-bit register.
23345 2012-10-06 H.J. Lu <hongjiu.lu@intel.com>
23347 * string/test-strstr.c (check2): Add a test for page boundary.
23349 2012-10-05 David S. Miller <davem@davemloft.net>
23351 * sysdeps/sparc/sparc64/multiarch/memset-niagara4.S: New file.
23352 * sysdeps/sparc/sparc32/sparcv9/multiarch/memset-niagara4.S: New
23354 * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
23356 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
23357 * sysdeps/sparc/sparc64/multiarch/memset.S: Use Niagara-4 memset
23358 and bzero when HWCAP_SPARC_CRYPTO is present.
23360 2012-10-05 H.J. Lu <hongjiu.lu@intel.com>
23363 * string/test-strstr.c (check2): New function.
23364 (test_main): Call check2.
23366 * string/Makefile (tests): Remove bug-strstr1, bug-strcasestr1
23368 * string/bug-strcasestr1.c (do_test): Moved to ...
23369 * string/test-strcasestr.c (check1): Here. New function.
23370 (do_one_test): Break out result checking code into ...
23371 (check_result): This. New function.
23372 (do_one_test): Call check_result.
23373 (test_main): Call check1.
23374 * string/bug-strchr1.c (do_test): Moved to ...
23375 * string/test-strchr.c (check1): Here. New function.
23376 (do_one_test): Break out result checking code into ...
23377 (check_result): This. New function.
23378 (do_one_test): Call check_result.
23379 (test_main): Call check1.
23380 * string/bug-strstr1.c (main): Moved to ...
23381 * string/test-strstr.c (check1): Here. New function.
23382 (do_one_test): Break out result checking code into ...
23383 (check_result): This. New function.
23384 (do_one_test): Call check_result.
23385 (test_main): Call check1.
23386 * string/bug-strcasestr1.c: Removed.
23387 * string/bug-strchr1.c: Likewise.
23388 * string/bug-strstr1.c: Likewise.
23390 * elf/Makefile (dl-routines): Add hwcaps.
23391 * elf/dl-support.c (_dl_important_hwcaps): Removed.
23392 * elf/dl-sysdep.c (_DL_FIRST_EXTRA): Likewise.
23393 (_dl_important_hwcaps): Moved to ...
23394 * elf/dl-hwcaps.c: Here. New file.
23395 * sysdeps/mach/hurd/dl-sysdep.c (_dl_important_hwcaps): Removed.
23398 * elf/setup-vdso.h (setup_vdso): Set GL(dl_nns) to 1 for vDSO
23399 if IS_IN_rtld isn't defined.
23401 * elf/dl-support.c (_dl_sysinfo_map): New.
23402 Include "get-dynamic-info.h" and "setup-vdso.h".
23403 (_dl_non_dynamic_init): Call setup_vdso.
23404 * elf/dynamic-link.h: Don't include <assert.h>.
23405 (elf_get_dynamic_info): Moved to ...
23406 * elf/get-dynamic-info.h: Here. New file.
23407 * elf/dynamic-link.h: Include "get-dynamic-info.h".
23408 * elf/rtld.c (dl_main): Break out vDSO setup code into ...
23409 * elf/setup-vdso.h: Here. New file.
23410 * elf/rtld.c: Include "setup-vdso.h".
23411 (dl_main): Call setup_vdso.
23413 2012-10-05 Joseph Myers <joseph@codesourcery.com>
23415 * math/libm-test.inc: List nexttoward, cimag, clog10, conf and
23416 creal in comment listing functions tested. List finite, isinf,
23417 isnan, isless, islessequal, isgreater, isgreaterequal,
23418 islessgreater, isunordered, lgamma_r and pow10 as functions and
23419 macros not tested. Mention which functions not tested are aliases
23420 for other functions. Fix typo. Note that signs of NaNs are not
23423 * scripts/config.guess: Update from config.git.
23424 * scripts/config.sub: Likewise.
23426 2012-10-04 Roland McGrath <roland@hack.frob.com>
23428 * misc/Versions (GLIBC_PRIVATE): New set, add __madvise.
23429 * misc/madvise.c (madvise): Renamed to __madvise.
23430 Make madvise a weak alias.
23431 * include/sys/mman.h: Declare __madvise.
23432 Replace libc_hidden_proto (madvise) with libc_hidden_proto (__madvise).
23433 * sysdeps/unix/syscalls.list
23434 (madvise): Make __madvise the strong name, and madvise a weak alias.
23435 * sysdeps/unix/sysv/linux/syscalls.list
23436 (madvise, mmap): Remove redundant entries.
23437 * malloc/arena.c (shrink_heap): Use __madvise, not madvise.
23438 * malloc/malloc.c (mtrim): Likewise.
23439 * sysdeps/mach/hurd/malloc-machine.h (madvise): Renamed to __madvise.
23441 2012-10-03 Roland McGrath <roland@hack.frob.com>
23443 * sysdeps/mach/hurd/dl-cache.c: File removed.
23444 * config.h.in (USE_LDCONFIG): New #undef.
23445 * configure.in (use_ldconfig): If set, define USE_LDCONFIG.
23446 * configure: Regenerated.
23447 * elf/Makefile (dl-routines): Add dl-cache only under
23448 [$(use-ldconfig) = yes].
23449 * elf/dl-load.c (_dl_map_object): Conditionalize code consulting the
23450 cache on [USE_LDCONFIG].
23451 * elf/dl-open.c (_dl_open): Call _dl_unload_cache only under
23453 * elf/rtld.c (dl_main): Likewise.
23455 2012-10-03 Pino Toscano <toscano.pino@tiscali.it>
23457 * sysdeps/posix/sysconf.c (__sysconf): Return 0 also for
23458 _SC_LEVEL4_CACHE_LINESIZE.
23460 2012-10-03 Roland McGrath <roland@hack.frob.com>
23462 * sysdeps/unix/bsd/confstr.h: File removed.
23464 2012-10-02 Alexandre Oliva <aoliva@redhat.com>
23466 * scripts/check-local-headers.sh: Exclude sys/sdt.h and
23469 2012-10-02 Roland McGrath <roland@hack.frob.com>
23471 * elf/dl-load.c (_dl_map_object_from_fd: struct loadcmd):
23472 Make 'mapoff' field ElfW(Off) rather than off_t.
23474 2012-10-02 Dmitry V. Levin <ldv@altlinux.org>
23476 * nscd/Makefile: Remove nscd-cflags and all its users.
23477 (CPPFLAGS-nonlib): Add preprocessor flags for nscd modules.
23478 (CFLAGS-nonlib): Add compiler flags for nscd modules.
23481 * malloc.c (malloc_printerr): Clarify error message.
23483 2012-10-02 H.J. Lu <hongjiu.lu@intel.com>
23486 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
23487 Set bit_FMA_Usable if FMA is supported.
23488 * sysdeps/x86_64/multiarch/init-arch.h (bit_FMA_Usable): New
23490 (bit_FMA4_Usable): Updated.
23491 (index_FMA_Usable): New macro.
23492 (CPUID_FMA): Likewise
23493 (HAS_FMA): Defined with bit_FMA_Usable.
23495 2012-10-01 Roland McGrath <roland@hack.frob.com>
23497 * bits/types.h (__swblk_t): Type removed.
23498 * bits/typesizes.h (__SWBLK_T_TYPE): Macro removed.
23499 * sysdeps/mach/hurd/bits/typesizes.h (__SWBLK_T_TYPE): Likewise.
23500 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
23501 (__SWBLK_T_TYPE): Likewise.
23502 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
23503 (__SWBLK_T_TYPE): Likewise.
23504 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
23505 (__SWBLK_T_TYPE): Likewise.
23506 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
23507 (__SWBLK_T_TYPE): Likewise.
23509 2012-10-01 Patsy Franklin <pfrankli@redhat.com>
23510 Honza Horak <hhorak@redhat.com>
23512 * nis/yp_xdr.c (xdr_domainname): Use YPMAXDOMAIN as maxsize.
23513 (xdr_mapname): Use YPMAXMAP as maxsize.
23514 (xdr_peername): Use YPMAXPEER as maxsize.
23515 (xdr_keydat): Use YPAXRECORD as maxsize.
23516 (xdr_valdat): Use YPMAXRECORD as maxsize.
23518 2012-10-01 Roland McGrath <roland@hack.frob.com>
23520 * io/openat.c [!__ASSUME_ATFCTS] (__have_atfcts): New global variable.
23522 * sysdeps/unix/sysv/linux/init-first.c: Moved to ...
23523 * csu/init-first.c: ... here.
23524 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Update #include.
23525 * sysdeps/unix/sysv/linux/s390/init-first.c: Likewise.
23526 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Likewise.
23527 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
23528 * sysdeps/i386/init-first.c: File removed.
23529 * sysdeps/sh/init-first.c: File removed.
23531 2012-10-01 Joseph Myers <joseph@codesourcery.com>
23534 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute result as x * y
23535 if x * y might underflow to zero and z is zero.
23536 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
23537 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
23538 * math/libm-test.inc (min_subnorm_value): New variable.
23539 (fma_test): Add more tests.
23540 (fma_test_towardzero): Likewise.
23541 (fma_test_downward): Likewise
23542 (fma_test_upward): Likewise.
23543 (initialize): Set min_subnorm_value.
23545 2012-09-29 Joseph Myers <joseph@codesourcery.com>
23548 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use x * y + z for exact
23550 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Use original rounding
23551 mode for addition resulting in exact zero.
23552 * sysdeps/ieee754/ldbl-128/s_fma.c (__fma): Likewise.
23553 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Use x * y + z for
23555 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
23556 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
23557 * math/libm-test.inc (fma_test): Add more tests.
23558 (fma_test_towardzero): New function.
23559 (fma_test_downward): Likewise.
23560 (fma_test_upward): Likewise.
23561 (main): Call the new functions.
23563 2012-09-28 David S. Miller <davem@davemloft.net>
23565 * sysdeps/sparc/fpu/libm-test-ulps: Fix garbage in file.
23567 2012-09-28 Roland McGrath <roland@hack.frob.com>
23569 * sysdeps/posix/sleep.c (__sleep): Rewritten using __nanosleep
23570 instead of SIGALRM.
23572 * sysdeps/gnu/_G_config.h: Moved to ...
23573 * sysdeps/unix/sysv/linux/_G_config.h: ... here.
23574 * sysdeps/mach/hurd/_G_config.h: Moved to ...
23575 * sysdeps/generic/_G_config.h: ... here.
23577 * io/open.c (__open): Renamed to __libc_open. Make __open an alias.
23579 * posix/Makefile ($(objpfx)config-name.h): Do $(make-target-directory).
23581 * nss/Makefile ($(objpfx)/libnss_test1.so$(libnss_test1.so-version)):
23582 Conditionalize target on [libnss_test1.so-version].
23584 * elf/dl-sysdep.c: Conditionalize whole contents on [SHARED].
23586 * Makeconfig (nssobjdir, resolvobjdir): Remove variables.
23587 (elfobjdir): Move out of conditionals.
23589 * nss/nsswitch.c (nss_new_service): Conditionalize definition and
23590 declaration on [!DO_STATIC_NSS || SHARED], matching its only caller.
23591 (__nss_lookup_function): Conditionalize label remove_from_tree on
23592 [!DO_STATIC_NSS || SHARED], matching its only use.
23594 2012-09-28 David S. Miller <davem@davemloft.net>
23596 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: New file.
23597 * sysdeps/sparc/sparc32/sparcv9/multiarch/memcpy-niagara4.S: New
23599 * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
23601 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
23602 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use Niagara-4 memcpy
23603 when HWCAP_SPARC_CRYPTO is present.
23605 2012-09-28 Pino Toscano <toscano.pino@tiscali.it>
23607 * io/tst-mknodat.c: Create a FIFO instead of a socket.
23609 2012-09-28 Andreas Schwab <schwab@linux-m68k.org>
23612 * stdio-common/vfprintf.c (process_string_arg): Revert
23615 2011-09-28 Jonathan Nieder <jrnieder@gmail.com>
23617 * stdio-common/Makefile (tst-sprintf-ENV): Set environment
23619 * stdio-common/tst-sprintf.c: Include <locale.h>
23620 (main): Test sprintf's handling of incomplete multibyte
23623 2012-09-28 H.J. Lu <hongjiu.lu@intel.com>
23625 * elf/dl-runtime.c (VERSYMIDX): Removed.
23626 * elf/dl-version.c (VERSYMIDX): Likewise.
23627 * elf/do-rel.h (VERSYMIDX): Likewise.
23628 (VALIDX): Likewise.
23629 * elf/dynamic-link.h (VERSYMIDX): Likewise.
23630 * elf/rtld.c (VALIDX): Likewise.
23631 (ADDRIDX): Likewise.
23632 * sysdeps/sparc/sparc32/dl-machine.h (VALIDX): Likewise.
23633 * sysdeps/sparc/sparc64/dl-machine.h (VALIDX): Likewise.
23634 * sysdeps/x86_64/dl-tlsdesc.h (ADDRIDX): Likewise.
23635 * sysdeps/generic/ldsodefs.h (VERSYMIDX): New macro.
23636 (VALIDX): Likewise.
23637 (ADDRIDX): Likewise.
23639 2012-09-28 Pino Toscano <toscano.pino@tiscali.it>
23641 * sysdeps/pthread/aio_fsync.c: Fix the file mode checking.
23643 2012-09-28 Dmitry V. Levin <ldv@altlinux.org>
23646 * sysdeps/posix/getaddrinfo.c (default_scopes): Map RFC 1918 addresses
23648 * posix/tst-rfc3484.c: Verify 10/8, 172.16/12 and 196.128/16
23649 addresses are in the same scope as 192.0.2/24.
23650 * posix/gai.conf: Document new scope table defaults.
23652 2012-09-28 Siddhesh Poyarekar <siddhesh@redhat.com>
23655 * libio/fileops.c (_IO_new_file_seekoff): Don't flush buffer
23656 for ftell. Compute offsets from write pointers instead.
23657 * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
23659 2012-09-28 Siddhesh Poyarekar <siddhesh@redhat.com>
23662 * libio/Makefile (tests): New test case tst-fseek.
23663 * libio/tst-fseek.c: New test case to verify that fseek/ftell
23664 combination works in wide mode.
23665 * libio/wfileops.c (_IO_wfile_seekoff): Adjust internal buffer
23666 state when the external buffer state changes.
23668 2012-09-27 David S. Miller <davem@davemloft.net>
23671 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Do not
23672 pass reloc->r_addend in as the 'high' argument to
23673 sparc64_fixup_plt when handling R_SPARC_JMP_IREL relocations.
23675 * sysdeps/sparc/fpu/libm-test-ulps: Update.
23677 2012-09-28 Pino Toscano <toscano.pino@tiscali.it>
23679 * rt/tst-aio2.c: Include <pthread.h>.
23680 * rt/tst-aio3.c: Likewise.
23682 2012-09-27 Steve Ellcey <sellcey@mips.com>
23684 * sysdeps/ieee754/ldbl-128/bits/huge_vall.h: Remove.
23686 2012-09-27 H.J. Lu <hongjiu.lu@intel.com>
23688 * sysdeps/x86_64/multiarch/strncmp-ssse3.S: Conditionalize
23689 contents on [SHARED].
23691 2012-09-26 Marek Polacek <polacek@redhat.com>
23695 * misc/sys/cdefs.h: Define __extern_inline and __extern_always_inline
23696 for C++ and GCC <4.3 as well as for non GCC compilers.
23698 2012-09-26 Markus Trippelsdorf <markus@trippelsdorf.de>
23700 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
23702 2012-09-25 Roland McGrath <roland@hack.frob.com>
23704 * Makefile.in (all, install): Declare with .PHONY.
23705 Reported by Michael Hope <michael.hope@linaro.org>.
23707 2012-09-25 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
23709 * manual/platform.texi (PowerPC): Document __ppc_get_timebase_freq.
23710 * sysdeps/powerpc/sys/platform/ppc.h: Include the operating
23712 * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_headers):
23714 (sydep_routines): Add the new and the internal functions.
23715 * sysdeps/unix/sysv/linux/powerpc/bits/ppc.h: New file.
23716 * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Likewise.
23717 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions
23718 (GLIBC_2.17): Add the new function.
23719 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
23720 (GLIBC_2.17): Likewise.
23721 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions
23722 (GLIBC_2.17): Likewise.
23723 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist
23724 (GLIBC_2.17): Likewise.
23725 * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: New file.
23727 2012-09-25 Alan Modra <amodra@gmail.com>
23729 * sysdeps/unix/sysv/linux/powerpc/pthread_once.c (__pthread_once):
23730 Add release barrier before setting once_control to say
23731 initialisation is done. Add hints on lwarx. Use macro in
23733 (clear_once_control): Add release barrier.
23735 2012-09-25 Joseph Myers <joseph@codesourcery.com>
23738 * math/s_clog.c (__clog): Handle more values close to |z| = 1
23740 * math/s_clog10.c (__clog10): Likewise.
23741 * math/s_clog10f.c (__clog10f): Likewise.
23742 * math/s_clog10l.c (__clog10l): Likewise.
23743 * math/s_clogf.c (__clogf): Likewise.
23744 * math/s_clogl.c (__clogl): Likewise.
23745 * math/Makefile (libm-calls): Add x2y2m1.
23746 * sysdeps/generic/math_private.h (__x2y2m1f): Declare.
23747 (__x2y2m1): Likewise.
23748 (__x2y2m1l): Likewise.
23749 * sysdeps/ieee754/dbl-64/x2y2m1.c: New file.
23750 * sysdeps/ieee754/dbl-64/x2y2m1f.c: Likewise.
23751 * sysdeps/ieee754/ldbl-128/x2y2m1l.c: Likewise.
23752 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
23753 * sysdeps/ieee754/ldbl-96/x2y2m1.c: Likewise.
23754 * sysdeps/ieee754/ldbl-96/x2y2m1l.c: Likewise.
23755 * math/libm-test.inc (clog_test, clog10_test): Add more tests.
23756 * sysdeps/i386/fpu/libm-test-ulps: Update.
23757 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23760 * posix/glob.c (next_brace_sub): Use size_t instead of unsigned
23761 int as type of variable DEPTH.
23762 (glob): Use size_t instead of int as type of variables NEWCOUNT
23765 2012-09-25 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
23767 * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
23768 Add s_sincosf-sse2.
23769 * sysdeps/i386/i686/fpu/multiarch/s_sincosf.c: New file.
23770 * sysdeps/i386/i686/fpu/multiarch/s_sincosf-sse2.S: New file.
23771 * sysdeps/ieee754/flt-32/s_sincosf.c (SINCOSF, SINCOSF_FUNC): Add
23772 macros for using routine as __sincosf_ia32.
23773 Use macro for function declaration and weak_alias.
23774 * sysdeps/i386/fpu/libm-test-ulps: Update.
23776 * sysdeps/x86_64/fpu/s_sincosf.S: New file.
23777 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
23779 * math/s_ccoshf.c (__ccoshf): Fix wrong usage of sincos for
23780 subnormal argument.
23781 * math/s_cexpf.c (__cexpf): Likewise.
23782 * math/s_csinf.c (__csinf): Likewise.
23783 * math/s_csinhf.c (__csinhf): Likewise.
23784 * math/s_ctanf.c (__ctanf): Likewise.
23785 * math/s_ctanhf.c (__ctanhf): Likewise.
23786 * math/s_ccosh.c (__ccoshf): Likewise.
23787 * math/s_cexp.c (__cexpl): Likewise.
23788 * math/s_csin.c (__csin): Likewise.
23789 * math/s_csinh.c (__csinh): Likewise.
23790 * math/s_ctan.c (__ctan): Likewise.
23791 * math/s_ctanh.c (ctanh): Likewise.
23792 * math/s_ccoshl.c (__ccoshl): Likewise.
23793 * math/s_cexpl.c (__cexpl): Likewise.
23794 * math/s_csinl.c (__csinl): Likewise.
23795 * math/s_csinhl.c (__csinhl): Likewise.
23796 * math/s_ctanl.c (__ctanl): Likewise.
23797 * math/s_ctanhl.c (__ctanhl): Likewise.
23799 2012-09-25 Joseph Myers <joseph@codesourcery.com>
23801 * libio/libio.h (_IO_size_t): Define to size_t, not _G_size_t.
23802 (_IO_ssize_t): Define to __ssize_t, not _G_ssize_t.
23803 (_IO_off_t): Define to __off_t, not _G_off_t.
23804 (_IO_pid_t): Define to __pid_t, not _G_pid_t.
23805 (_IO_uid_t): Define to __uid_t, not _G_uid_t.
23806 (_IO_wint_t): Define to wint_t, not _G_wint_t.
23807 * libio/libioP.h (struct _IO_jump_t): Use size_t not _G_size_t as
23808 type of __dummy and __dummy2 fields.
23809 * sysdeps/generic/_G_config.h (_G_size_t): Remove.
23810 (_G_ssize_t): Likewise.
23811 (_G_off_t): Likewise.
23812 (_G_pid_t): Likewise.
23813 (_G_uid_t): Likewise.
23814 (_G_wchar_t): Likewise.
23815 (_G_wint_t): Likewise.
23816 * sysdeps/gnu/_G_config.h (_G_size_t): Remove.
23817 (_G_ssize_t): Likewise.
23818 (_G_off_t): Likewise.
23819 (_G_pid_t): Likewise.
23820 (_G_uid_t): Likewise.
23821 (_G_wchar_t): Likewise.
23822 (_G_wint_t): Likewise.
23823 * sysdeps/mach/hurd/_G_config.h (_G_size_t): Remove.
23824 (_G_ssize_t): Likewise.
23825 (_G_off_t): Likewise.
23826 (_G_pid_t): Likewise.
23827 (_G_uid_t): Likewise.
23828 (_G_wchar_t): Likewise.
23829 (_G_wint_t): Likewise.
23831 2012-09-25 Siddhesh Poyarekar <siddhesh@redhat.com>
23833 * malloc/arena.c: Include malloc-sysdep.h.
23834 (shrink_heap): Use check_may_shrink_heap to decide if madvise
23835 is sufficient to shrink the heap or an unmap is needed.
23836 * sysdeps/generic/malloc-sysdep.h: New file. Define
23837 new function check_may_shrink_heap.
23838 * sysdeps/unix/sysv/linux/malloc-sysdep.h: New file. Define
23839 new function check_may_shrink_heap.
23841 2012-09-25 Siddhesh Poyarekar <siddhesh@redhat.com>
23843 * libio/fileops.c (_IO_new_file_seekoff): Fix typos in
23846 2012-09-24 Dmitry V. Levin <ldv@altlinux.org>
23848 * catgets/test-gencat.sh: Add "set -e".
23849 * elf/tst-pathopt.sh: Likewise.
23850 * grp/tst_fgetgrent.sh: Likewise.
23851 * iconvdata/run-iconv-test.sh: Likewise.
23852 * intl/tst-gettext.sh: Likewise.
23853 * intl/tst-gettext2.sh: Likewise.
23854 * intl/tst-gettext4.sh: Likewise.
23855 * intl/tst-gettext6.sh: Likewise.
23856 * intl/tst-translit.sh: Likewise.
23857 * io/ftwtest-sh: Likewise.
23858 * libio/test-freopen.sh: Likewise.
23859 * malloc/tst-mtrace.sh: Likewise.
23860 * posix/globtest.sh: Likewise.
23861 * posix/tst-getconf.sh: Likewise.
23862 * posix/wordexp-tst.sh: Likewise.
23863 * stdio-common/tst-printf.sh: Likewise.
23864 * stdio-common/tst-unbputc.sh: Likewise.
23865 * stdlib/tst-fmtmsg.sh: Likewise.
23866 * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
23867 * catgets/Makefile: Do not specify -e option when running
23868 testsuite shell scripts.
23869 * elf/Makefile: Likewise.
23870 * grp/Makefile: Likewise.
23871 * iconvdata/Makefile: Likewise.
23872 * intl/Makefile: Likewise.
23873 * io/Makefile: Likewise.
23874 * libio/Makefile: Likewise.
23875 * malloc/Makefile: Likewise.
23876 * posix/Makefile: Likewise.
23877 * stdio-common/Makefile: Likewise.
23878 * stdlib/Makefile: Likewise.
23879 * sysdeps/x86_64/Makefile: Likewise.
23881 * io/ftwtest-sh: Add copyright header.
23882 * posix/globtest.sh: Likewise.
23883 * posix/tst-getconf.sh: Likewise.
23884 * posix/wordexp-tst.sh: Likewise.
23885 * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
23887 2012-09-24 H.J. Lu <hongjiu.lu@intel.com>
23890 * Makeconfig (+link): Defined as $(+link-static) if
23891 $(build-shared) isn't yes.
23892 (link-tests): Defined as $(+link-static-tests) if $(build-shared)
23894 (static-gnulib): Add -lgcc_eh if $(build-shared) isn't yes.
23896 * Makeconfig (+postctorT): Replace crtendS.o with crtend.o.
23899 * malloc/arena.c (heap_trim): Properly get fencepost and adjust
23900 new chunk size with MALLOC_ALIGN_MASK.
23902 2012-09-24 Joseph Myers <joseph@codesourcery.com>
23905 * stdio-common/printf_fphex.c: Include <stdbool.h> and
23907 (__printf_fphex): Determine rounding using get_rounding_mode and
23909 * stdio-common/tst-printf-round.c (struct hex_test): New
23911 (hex_tests): New variable.
23912 (test_hex_in_one_mode): New function.
23913 (do_test): Also run tests for hex float output.
23915 2012-09-21 Joseph Myers <joseph@codesourcery.com>
23917 * libio/iopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
23918 [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
23919 * libio/libio.h (_IO_HAVE_SYS_WAIT): Remove.
23920 * libio/oldiopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
23921 [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
23922 * sysdeps/generic/_G_config.h (_G_HAVE_SYS_WAIT): Remove.
23923 * sysdeps/gnu/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
23924 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
23926 2012-09-20 Joseph Myers <joseph@codesourcery.com>
23928 * libio/libio.h [_G_NEED_STDARG_H]: Make code unconditional.
23929 * sysdeps/generic/_G_config.h (_G_NEED_STDARG_H): Remove.
23930 * sysdeps/gnu/_G_config.h (_G_NEED_STDARG_H): Remove.
23931 * sysdeps/mach/hurd/_G_config.h (_G_NEED_STDARG_H): Remove.
23933 2012-09-19 Dmitry V. Levin <ldv@altlinux.org>
23936 * elf/rtld.c (dl_main): Limit the check for self loading to normal
23938 * elf/tst-rtld-load-self.sh: New test.
23939 * elf/Makefile: Run it.
23941 2012-09-18 Joseph Myers <joseph@codesourcery.com>
23943 * sysdeps/wordsize-64/Makefile [$(subdir) = misc]
23944 (tst-writev-ENV): Remove.
23945 * sysdeps/wordsize-64/tst-writev.c (TIMEOUT): Define.
23947 2012-09-17 Chris Metcalf <cmetcalf@tilera.com>
23949 * crypt/md5test-giant.c (TIMEOUT): Increase to 8 minutes for tilegx.
23951 2012-09-17 Joseph Myers <joseph@codesourcery.com>
23953 * libio/iogetline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]: Make code
23955 * libio/iogetwline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]:
23957 * sysdeps/generic/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Remove.
23958 * sysdeps/gnu/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Likewise.
23959 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_IO_GETLINE_INFO):
23962 2012-09-14 H.J. Lu <hongjiu.lu@intel.com>
23965 * Makeconfig (ASFLAGS): Remove $(have-cpp-asm-debuginfo) check.
23966 * config.make.in (have-cpp-asm-debuginfo): Removed.
23967 * configure.in: Don't substitute libc_cv_cpp_asm_debuginfo.
23968 * configure: Regenerated.
23970 2012-09-14 Joseph Myers <joseph@codesourcery.com>
23973 * stdio-common/printf_fp.c: Include <stdbool.h> and
23975 (___printf_fp): Determine rounding using get_rounding_mode and
23977 * stdio-common/tst-printf-round.c: New file.
23978 * stdio-common/Makefile (tests): Add tst-printf-round.
23979 (link-libm): New variable.
23980 ($(objpfx)tst-printf-round): Depend in $(link-libm).
23982 2012-09-13 H.J. Lu <hongjiu.lu@intel.com>
23985 * bits/libc-lock.h (__rtld_lock_init_recursive): Removed.
23986 * sysdeps/mach/bits/libc-lock.h (__rtld_lock_init_recursive):
23988 * sysdeps/mach/hurd/bits/libc-lock.h (__rtld_lock_init_recursive):
23991 2012-09-13 Joseph Myers <joseph@codesourcery.com>
23993 * libio/libio.h [!_G_HAVE_PRINTF_FP] (_IO_USE_DTOA): Remove.
23994 * sysdeps/generic/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
23995 * sysdeps/gnu/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
23996 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
23998 2012-09-12 Joseph Myers <joseph@codesourcery.com>
24001 * include/rounding-mode.h: New file.
24002 * sysdeps/generic/get-rounding-mode.h: Likewise.
24003 * sysdeps/s390/fpu/get-rounding-mode.h: Likewise.
24004 * stdlib/strtod_l.c: Include <rounding-mode.h>.
24005 (MAX_VALUE): New macro.
24006 (MIN_VALUE): Likewise.
24007 (overflow_value): New function.
24008 (underflow_value): Likewise.
24009 (round_and_return): Use overflow_value and underflow_value to
24010 determine return values in overflow and underflow cases. Use
24011 round_away to determine rounding depending on rounding mode.
24012 (____STRTOF_INTERNAL): Use overflow_value and underflow_value to
24013 determine return values in overflow and underflow cases.
24014 * stdlib/tst-strtod-round.c: Include <fenv.h>.
24015 (struct test_results): New structure.
24016 (struct test): Use struct test_results to store expected results
24017 for all rounding modes.
24018 (TEST): Include expected results for all rounding modes.
24019 (test_in_one_mode): New function.
24020 (do_test): Use test_in_one_mode to compute and check results.
24021 Check results for all rounding modes.
24022 * stdlib/Makefile ($(objpfx)tst-strtod-round): Depend on
24025 2012-12-09 Allan McRae <allan@archlinux.org>
24027 * sysdeps/i386/fpu/libm-test-ulps: Update
24029 2012-09-11 Joseph Myers <joseph@codesourcery.com>
24031 * sysdeps/generic/_G_config.h (_G_int16_t): Remove.
24032 (_G_int32_t): Likewise.
24033 (_G_uint16_t): Likewise.
24034 (_G_uint32_t): Likewise.
24035 (_G_HAVE_BOOL): Likewise.
24036 (_G_HAVE_ATEXIT): Likewise.
24037 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
24038 (_G_HAVE_IO_FILE_OPEN): Likewise.
24039 * sysdeps/gnu/_G_config.h (_G_int16_t): Remove.
24040 (_G_int32_t): Likewise.
24041 (_G_uint16_t): Likewise.
24042 (_G_uint32_t): Likewise.
24043 (_G_HAVE_BOOL): Likewise.
24044 (_G_HAVE_ATEXIT): Likewise.
24045 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
24046 (_G_HAVE_IO_FILE_OPEN): Likewise.
24047 * sysdeps/mach/hurd/_G_config.h (_G_int16_t): Remove.
24048 (_G_int32_t): Likewise.
24049 (_G_uint16_t): Likewise.
24050 (_G_uint32_t): Likewise.
24051 (_G_HAVE_BOOL): Likewise.
24052 (_G_HAVE_ATEXIT): Likewise.
24053 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
24054 (_G_HAVE_IO_FILE_OPEN): Likewise.
24056 2012-09-11 H.J. Lu <hongjiu.lu@intel.com>
24058 * csu/libc-tls.c: Update copyright years.
24060 2012-09-10 Joseph Myers <joseph@codesourcery.com>
24062 * libioP.h [_G_USING_THUNKS]: Make code unconditional.
24063 [!_G_USING_THUNKS]: Remove conditional code.
24064 * sysdeps/gnu/_G_config.h (_G_USING_THUNKS): Remove.
24065 * sysdeps/mach/hurd/_G_config.h (_G_USING_THUNKS): Likewise.
24067 * libio/libioP.h [__GNUC__] (VTABLE_LABEL): Remove.
24068 [!builtinbuf_vtable && __cplusplus] (builtinbuf_vtable): Likewise.
24069 * sysdeps/generic/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
24070 (_G_VTABLE_LABEL_PREFIX): Likewise.
24071 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
24072 * sysdeps/gnu/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
24073 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
24074 (_G_VTABLE_LABEL_PREFIX): Likewise.
24075 (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
24076 * sysdeps/mach/hurd/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
24077 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
24078 (_G_VTABLE_LABEL_PREFIX): Likewise.
24079 (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
24081 2012-09-10 H.J. Lu <hongjiu.lu@intel.com>
24083 * libio/Makefile: Include ../Makeconfig before tests.
24084 (tests): Add tst-fopenloc and depend on $(objpfx)tst-fopenloc.check
24085 only if $(build-shared) is yes.
24087 * iconv/gconv_db.c: Update copyright years.
24089 2012-09-10 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
24091 * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: Fix
24092 unwind info if defined PIC. Fix special cases description.
24093 * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: Likewise.
24095 * sysdeps/x86_64/fpu/s_sinf.S: Fix special cases description, fix
24097 * sysdeps/x86_64/fpu/s_cosf.S: Likewise.
24099 2012-09-07 H.J. Lu <hongjiu.lu@intel.com>
24101 * scripts/check-local-headers.sh: Add "shopt -s nullglob".
24103 * iconv/gconv_db.c (free_derivation): Check if deriv->steps
24106 * debug/Makefile (LDFLAGS-tst-chk4): Renamed to ...
24107 (LDLIBS-tst-chk4): This.
24108 (LDFLAGS-tst-chk5): Renamed to ...
24109 (LDLIBS-tst-chk5): This.
24110 (LDFLAGS-tst-chk6): Renamed to ...
24111 (LDLIBS-tst-chk6): This.
24112 (LDFLAGS-tst-lfschk4): Renamed to ...
24113 (LDLIBS-tst-lfschk4): This.
24114 (LDFLAGS-tst-lfschk5): Renamed to ...
24115 (LDLIBS-tst-lfschk5): This.
24116 (LDFLAGS-tst-lfschk6): Renamed to ...
24117 (LDLIBS-tst-lfschk6): This.
24119 * Makefile ($(inst_includedir)/gnu/stubs.h): Remove dependency
24120 on $(common-objpfx)soversions.mk.
24122 2012-09-07 Joseph Myers <joseph@codesourcery.com>
24125 * manual/examples/inetcli.c (SERVERHOST): Use www.gnu.org as
24128 2012-09-07 Siddhesh Poyarekar <siddhesh@redhat.com>
24130 * malloc/arena.c (arena_get_retry): New function that gets
24131 another arena for the caller to try its request on.
24132 * malloc/malloc.c (__libc_malloc): Use get_another_arena if the
24133 current arena cannot fulfill the request.
24134 (__libc_memalign): Likewise.
24135 (__libc_memalign): Likewise.
24136 (__libc_pvalloc): Likewise.
24137 (__libc_calloc): Likewise.
24139 2012-09-05 John Tobey <john.tobey@gmail.com>
24142 * manual/arith.texi (Operations on Complex): Fix description
24143 of carg branch cut.
24145 2012-09-06 Joseph Myers <joseph@codesourcery.com>
24148 * manual/socket.texi (Host Addresses): Use www.gnu.org as example
24152 * manual/memory.texi (Memory): Make order of menu items match
24155 2012-09-06 H.J. Lu <hongjiu.lu@intel.com>
24157 * elf/dl-tls.c (DL_INITIAL_DTV): Removed.
24158 (_dl_initial_dtv): New. Defined if SHARED isn't defined.
24159 (_dl_deallocate_tls): Restore GL(dl_initial_dtv).
24161 2012-09-06 H.J. Lu <hongjiu.lu@intel.com>
24163 * csu/libc-tls.c (static_dtv): Renamed to ...
24164 (_dl_static_dtv): This. Make it global.
24165 (_dl_initial_dtv): Removed.
24166 (__libc_setup_tls): Updated.
24167 * elf/dl-tls.c (DL_INITIAL_DTV): New macro.
24168 (_dl_deallocate_tls): Replace GL(dl_initial_dtv) with
24171 2012-09-06 Petr Machata <pmachata@redhat.com>
24173 * elf/elf.h (NT_S390_HIGH_GPRS): New macro.
24174 (NT_S390_TIMER, NT_S390_TODCMP, NT_S390_TODPREG): Likewise.
24175 (NT_S390_CTRS, NT_S390_PREFIX, NT_S390_LAST_BREAK): Likewise.
24176 (NT_S390_SYSTEM_CALL, NT_ARM_VFP): Likewise.
24178 2012-09-06 H.J. Lu <hongjiu.lu@intel.com>
24181 * csu/libc-tls.c (_dl_initial_dtv): New variable.
24182 * elf/dl-tls.c (_dl_deallocate_tls): Always check dtv before
24185 2012-09-06 H.J. Lu <hongjiu.lu@intel.com>
24188 * Makeconfig (link-static-before-libc): Replace $(+prector)
24190 (link-static-after-libc): Replace $(+postctor) with
24192 (link-bounded): Replace $(+prector)/$(+postctor) with
24193 $(+prectorT)/$(+postctorT).
24194 (+prectorT): New macro.
24195 (+postctorT): Likewise.
24197 2012-09-06 Joseph Myers <joseph@codesourcery.com>
24199 * stdlib/gen-tst-strtod-round.c: Include <assert.h>.
24200 (round_str): Handle values above the maximum for IBM long double
24202 * stdlib/tst-strtod-round.c (tests): Regenerated.
24204 2012-09-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
24206 * sysdeps/s390/s390-32/multiarch/Makefile: Remove -mzarch
24208 * sysdeps/s390/s390-32/multiarch/memcmp.S: Use .machinemode
24209 zarch_nohighgprs around the zarch optimized routines.
24210 * sysdeps/s390/s390-32/multiarch/memcpy.S: Likewise.
24211 * sysdeps/s390/s390-32/multiarch/memset.S: Likewise.
24212 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Explicitly check
24215 2012-09-05 David S. Miller <davem@davemloft.net>
24217 * sysdeps/sparc/fpu/libm-test-ulps: Update.
24219 * sysdeps/sparc/bits/hwcap.h (HWCAP_SPARC_PAUSE)
24220 (HWCAP_SPARC_CBCOND, HWCAP_SPARC_CRYPTO): Define.
24221 * sysdeps/sparc/dl-procinfo.h (_DL_HWCAP_COUNT): Increase to 27.
24222 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
24225 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
24227 * malloc/arena.c: Fold copyright years.
24228 * malloc/mcheck.c, malloc/memusage.c: Likewise.
24230 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
24232 * malloc/malloc.c (__libc_mallopt) <M_MMAP_MAX>: Fix indentation.
24234 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
24236 * manual/contrib.texi (Contributors): Fix typo. Complete entry.
24238 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
24240 * malloc/malloc.c (__libc_mallopt) <M_MMAP_THRESHOLD>: Do not
24241 change internal state upon failure.
24243 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
24245 * malloc/mcheck.c (mcheck_check_all): Fix typo.
24246 * malloc/memusage.c (mmap): Likewise.
24247 (mmap64, mremap): Likewise. Adjust name in comment.
24249 2012-09-05 Siddhesh Poyarekar <siddhesh@redhat.com>
24251 * libio/fileops.c: Fix typos in comments.
24252 * libio/oldfileops.c: Likewise.
24253 * libio/wfileops.c: Likewise.
24255 2012-09-05 Siddhesh Poyarekar <siddhesh@redhat.com>
24258 * malloc/Makefile (tests): Add tst-malloc-usable test case.
24259 (tst-malloc-usable-ENV): Set environment for test case.
24260 * malloc/hooks.c (malloc_check_get_size): New function to get
24262 * malloc/malloc.c (musable): Use malloc_check_get_size.
24263 * malloc/tst-malloc-usable.c: New test case.
24265 2012-09-05 Andreas Schwab <schwab@linux-m68k.org>
24267 * stdlib/tst-strtod-overflow.c (TIMEOUT): Define.
24269 2012-09-05 Allan McRae <allan@archlinux.org>
24272 * configure.in (CXX_SYSINCLUDES): Use compiler output to
24273 determine header location.
24274 * configure: Regenerated.
24276 2012-09-05 Andreas Schwab <schwab@linux-m68k.org>
24278 * stdlib/gen-tst-strtod-round.c (formats): Add Motorola extended
24280 * stdlib/tst-strtod-round.c (TEST) [LDBL_MANT_DIG == 64 &&
24281 LDBL_MAX_EXP == 16384]: Add case for Motorola extended float
24283 (test): Regenerate.
24285 2012-09-04 David S. Miller <davem@davemloft.net>
24287 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: New file.
24288 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: New file.
24289 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: New file.
24291 2012-09-04 Florian Weimer <fweimer@redhat.com>
24293 * stdlib/tst-secure-getenv.c (alternative_main): Only warn on SGID
24296 * stdlib/tst-secure-getenv.c: Fix whitespace in comments.
24298 2012-09-04 Joseph Myers <joseph@codesourcery.com>
24301 * libio/iogetdelim.c: Include <limits.h>.
24302 (_IO_getdelim): Avoid integer overflow in testing whether cur_len
24303 + len + 1 would overflow.
24305 2012-09-03 Andreas Jaeger <aj@suse.de>
24307 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
24308 * sysdeps/i386/fpu/libm-test-ulps: Update.
24310 2012-09-03 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
24312 * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
24313 Add s_sinf-sse2, s_conf-sse2.
24315 * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: New file.
24316 * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: New file.
24317 * sysdeps/i386/i686/fpu/multiarch/s_sinf.c: New file.
24318 * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: New file.
24320 * sysdeps/ieee754/flt-32/s_sinf.c (SINF, SINF_FUNC): Add macros
24321 for using routine as __sinf_ia32.
24322 Use macro for function declaration and weak_alias.
24323 * sysdeps/ieee754/flt-32/s_cosf.c (COSF, COSF_FUNC): Add macros
24324 for using routine as __cosf_ia32.
24325 Use macro for function declaration and weak_alias.
24327 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Fix Copyright.
24328 * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Fix Copyright.
24330 * sysdeps/x86_64/fpu/s_sinf.S: New file.
24331 * sysdeps/x86_64/fpu/s_cosf.S: New file.
24332 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
24334 * math/libm-test.inc (cos_test): Add more test cases.
24335 (sin_test): Likewise.
24336 (sincos_test): Likewise.
24338 2012-09-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
24340 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c
24341 (IFUNC_RESOLVE): Make pointers to the specialized implementations
24343 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
24345 2012-09-02 H.J. Lu <hongjiu.lu@intel.com>
24348 * sysdeps/x86_64/dl-machine.h (elf_machine_dynamic): Use the
24349 first element of the GOT.
24350 (elf_machine_load_address): Return the difference between
24351 the runtime address of _DYNAMIC and elf_machine_dynamic ().
24353 2012-09-01 Allan McRae <allan@archlinux.org>
24356 * configure.in (AWK): Require gawk version 3.0 or later.
24357 * configure: Regenerated.
24359 2012-09-01 Joseph Myers <joseph@codesourcery.com>
24361 * sysdeps/unix/sysv/linux/kernel-features.h
24362 (__ASSUME_POSIX_CPU_TIMERS): Remove.
24363 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
24364 [__NR_clock_getres]: Make code unconditional.
24365 [!__ASSUME_POSIX_CPU_TIMERS]: Remoce conditional code.
24366 (clock_getcpuclockid): Remove code left unreachable by removal of
24368 * sysdeps/unix/sysv/linux/clock_getres.c [__NR_clock_getres]: Make
24369 code unconditional.
24370 [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
24371 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
24372 * sysdeps/unix/sysv/linux/clock_gettime.c [__NR_clock_gettime]:
24373 Make code unconditional.
24374 [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
24375 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
24376 * sysdeps/unix/sysv/linux/clock_settime.c
24377 [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]: Remove
24379 [__ASSUME_POSIX_CPU_TIMERS]: Make code unconditional.
24380 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
24382 2012-08-29 H.J. Lu <hongjiu.lu@intel.com>
24385 * Makefile (install): Also pass LD_SO=$(ld.so-version) to
24386 scripts/test-installation.pl.
24388 * scripts/test-installation.pl: Use LD_SO to get $ld_so_name
24389 and $ld_so_version if it is set.
24391 2012-08-29 Siddhesh Poyarekar <siddhesh@redhat.com>
24394 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Don't return
24395 failure if reading from procfs failed.
24396 * sysdeps/unix/sysv/linux/ttyname_r.c (ttyname_r): Likewise.
24398 2012-08-27 Joseph Myers <joseph@codesourcery.com>
24400 * sysdeps/unix/sysv/linux/kernel-features.h
24401 (__ASSUME_STAT64_SYSCALL): Remove all definitions.
24402 * sysdeps/unix/sysv/linux/fxstat64.c [!__ASSUME_STAT64_SYSCALL]:
24403 Remove conditional code.
24404 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
24405 * sysdeps/unix/sysv/linux/fxstatat64.c [!__ASSUME_STAT64_SYSCALL]:
24406 Remove conditional code.
24407 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
24408 * sysdeps/unix/sysv/linux/i386/fxstat.c
24409 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
24410 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
24411 * sysdeps/unix/sysv/linux/i386/fxstatat.c
24412 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
24413 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
24414 * sysdeps/unix/sysv/linux/i386/lxstat.c
24415 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
24416 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
24417 * sysdeps/unix/sysv/linux/i386/xstat.c [!__ASSUME_STAT64_SYSCALL]:
24418 Remove conditional code.
24419 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
24420 * sysdeps/unix/sysv/linux/lxstat64.c [!__ASSUME_STAT64_SYSCALL]:
24421 Remove conditional code.
24422 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
24423 * sysdeps/unix/sysv/linux/sparc/sparc64/xstat.c: Do not include
24424 <kernel-features.h>.
24425 [__NR_stat64 && !__ASSUME_STAT64_SYSCALL] (__have_no_stat64):
24427 * sysdeps/unix/sysv/linux/xstat64.c [!__ASSUME_STAT64_SYSCALL]:
24428 Remove conditional code.
24429 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
24430 * sysdeps/unix/sysv/linux/xstatconv.c [!__ASSUME_STAT64_SYSCALL]:
24431 Remove conditional.
24433 2012-08-27 Mike Frysinger <vapier@gentoo.org>
24436 * NEWS: Add fixed bug number.
24438 2012-08-27 Joseph Myers <joseph@codesourcery.com>
24441 * stdlib/strtod_l.c (round_and_return): Return -0.0 for
24442 underflowing exponent in case of negative sign.
24443 * stdlib/tst-strtod-round-data: Add more tests.
24444 * stdlib/tst-strtod-round.c (tests): Regenerated.
24447 * stdlib/strtod_l.c (NDIG): Remove.
24448 (HEXNDIG): Likewise.
24449 (MPNSIZE): Increase to represent 10^n where 2^-n is 1/4 ulp of the
24450 smallest representable value.
24451 (____STRTOF_INTERNAL): Use all fractional decimal digits that may
24452 lie within an exact representation of 1/2 ulp of the result.
24453 * stdlib/fpioconst.c (__tens): Include 10^2^9 and 10^2^10
24455 (TENS_P9_IDX): Define unconditionally.
24456 (TENS_P9_SIZE): Likewise.
24457 (TENS_P10_IDX): Likewise.
24458 (TENS_P10_SIZE): Likewise.
24459 [BITS_PER_MP_LIMB == 32]: Change condition for larger powers of 10
24460 to !defined __NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024.
24461 [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024] (__tens): Add
24462 entries for 10^2^13 and 10^2^14.
24463 [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024]
24464 (TENS_P13_IDX): Define.
24465 (TENS_P13_SIZE): Likewise.
24466 (TENS_P14_IDX): Likewise.
24467 (TENS_P14_SIZE): Likewise.
24468 (_fpioconst_pow10): Change array size to
24469 FPIOCONST_POW10_ARRAY_SIZE. Make entries for 10^2^9 and 10^2^10
24471 (_fpioconst_pow10) [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ >
24472 1024]: Add entries for 10^2^13 and 10^2^14.
24473 [LAST_POW10 > _LAST_POW10]: Remove #error.
24474 * stdlib/fpioconst.h (FPIOCONST_POW10_ARRAY_SIZE): Define.
24475 (_fpioconst_pow10): Change array size to
24476 FPIOCONST_POW10_ARRAY_SIZE.
24477 * stdlib/gen-fpioconst.c: New file.
24478 * stdlib/gen-tst-strtod-round.c: Likewise.
24479 * stdlib/tst-strtod-round-data: Likewise.
24480 * stdlib/tst-strtod-round.c: Likewise.
24481 * stdlib/Makefile (tests): Add tst-strtod-round.
24484 * stdlib/strtod_l.c: Include <stdint.h>.
24485 (NDEBUG): Do not define.
24486 (round_and_return): Change EXPONENT parameter to type intmax_t.
24487 Rearrange calculations to avoid internal overflow possibilities.
24488 (str_to_mpn): Change EXPONENT parameter to type intmax_t *.
24489 Rearrange calculations to avoid internal overflow possibilities.
24490 Assert that number fits inside MPNSIZE limbs.
24491 (____STRTOF_INTERNAL): Change EXPONENT variable to type intmax_t.
24492 Change DIG_NO, INT_NO and LEAD_ZERO to type size_t. Rearrange
24493 calculations and add assertions to avoid internal overflow
24494 possibilities. Add casts to avoid signed/unsigned operations.
24495 * stdlib/tst-strtod-overflow.c: New file.
24496 * stdlib/Makefile (tests): Add tst-strtod-overflow.
24498 2012-08-25 Marek Polacek <polacek@redhat.com>
24500 * time/time.h: Fix some typos in comments.
24502 2012-08-23 Roland McGrath <roland@hack.frob.com>
24504 * posix/tst-rfc3484.c: #undef USE_NSCD before including getaddrinfo.c.
24505 * posix/tst-rfc3484-2.c: Likewise.
24506 * posix/tst-rfc3484-3.c: Likewise.
24508 2012-08-23 Steve McIntyre <steve.mcintyre@linaro.org>
24510 * elf/elf.h (EF_ARM_ABI_FLOAT_SOFT): New macro.
24511 (EF_ARM_ABI_FLOAT_HARD): Likewise.
24513 2012-08-23 Joseph Myers <joseph@codesourcery.com>
24515 * sysdeps/unix/sysv/linux/dl-fxstatat64.c: Use <> instead of "" in
24516 #include of fxstatat64.c.
24518 2012-08-22 Roland McGrath <roland@hack.frob.com>
24520 * shadow/getspent.c: #undef USE_NSCD before #include that gets the code.
24521 * shadow/getspent_r.c: Likewise.
24522 * shadow/getspnam.c: Likewise.
24523 * shadow/getspnam_r.c: Likewise.
24524 * gshadow/getsgent.c: Likewise.
24525 * gshadow/getsgent_r.c: Likewise.
24526 * gshadow/getsgnam.c: Likewise.
24527 * gshadow/getsgnam_r.c: Likewise.
24528 * inet/getnetbyad.c: Likewise.
24529 * inet/getnetbyad_r.c: Likewise.
24530 * inet/getnetbynm.c: Likewise.
24531 * inet/getnetbynm_r.c: Likewise.
24532 * inet/getnetent.c: Likewise.
24533 * inet/getnetent_r.c: Likewise.
24534 * inet/getproto.c: Likewise.
24535 * inet/getproto_r.c: Likewise.
24536 * inet/getprtent.c: Likewise.
24537 * inet/getprtent_r.c: Likewise.
24538 * inet/getprtname.c: Likewise.
24539 * inet/getprtname_r.c: Likewise.
24540 * inet/getrpcbyname.c: Likewise.
24541 * inet/getrpcbyname_r.c: Likewise.
24542 * inet/getrpcbynumber.c: Likewise.
24543 * inet/getrpcbynumber_r.c: Likewise.
24544 * inet/getrpcent.c: Likewise.
24545 * inet/getrpcent_r.c: Likewise.
24546 * inet/getaliasent.c: Likewise.
24547 * inet/getaliasent_r.c: Likewise.
24548 * inet/getaliasname.c: Likewise.
24549 * inet/getaliasname_r.c: Likewise.
24550 * nscd/getgrgid_r.c: Likewise.
24551 * nscd/getgrnam_r.c: Likewise.
24552 * nscd/gethstbyad_r.c: Likewise.
24553 * nscd/gethstbynm3_r.c: Likewise.
24554 * nscd/getpwnam_r.c: Likewise.
24555 * nscd/getpwuid_r.c: Likewise.
24556 * nscd/getsrvbynm_r.c: Likewise.
24557 * nscd/getsrvbypt_r.c: Likewise.
24558 * nscd/gai.c: Likewise.
24560 * configure.in (build_nscd): New substituted variable, set
24561 by --disable-build-nscd and defaults to $use_nscd.
24562 * configure: Regenerated.
24563 * config.make.in (build-nscd): New substituted variable.
24564 * nscd/Makefile (others, others-pie, install-sbin, extra-objs):
24565 Change conditional to require [$(build-nscd) = yes] as well.
24566 * NEWS: Mention --disable-build-nscd in the --disable-nscd item.
24569 * configure.in (use_nscd): New substituted variable, set by
24570 --disable-nscd. If enabled, define USE_NSCD.
24571 * configure: Regenerated.
24572 * config.h.in: Add USE_NSCD.
24573 * config.make.in (use-nscd): New substituted variable.
24574 * inet/Makefile (CFLAGS-gethstbyad_r.c): Likewise.
24575 (CFLAGS-gethstbynm_r.c, CFLAGS-gethstbynm2_r.c): Likewise.
24576 (CFLAGS-getsrvbynm_r.c, CFLAGS-getsrvbypt_r.c): Variables removed.
24577 * grp/Makefile (CFLAGS-getgrgid_r.c): Remove -DUSE_NSCD.
24578 (CFLAGS-getgrnam_r.c): Likewise.
24579 (CFLAGS-initgroups.c): Likewise.
24580 * posix/Makefile (CFLAGS-getaddrinfo.c): Remove -DUSE_NSCD.
24581 * pwd/Makefile (CFLAGS-getpwuid_r.c, CFLAGS-getpwnam_r.c):
24583 * inet/getnetgrent_r.c
24584 (nscd_setnetgrent): New function, broken out of ...
24585 (setnetgrent): ... here. Call it.
24586 (innetgr): Conditionalize nscd bits on [USE_NSCD].
24587 (nscd_getnetgrent): Conditionalize on [USE_NSCD].
24588 (__internal_getnetgrent_r): Conditionalize its use on [USE_NSCD].
24589 * nscd/Makefile (routines, aux): Move definitions after include of
24590 Makeconfig. Conditionalize on [$(use-nscd) != no].
24591 * nss/nsswitch.c (nss_load_all_libraries, __nss_disable_nscd):
24592 Conditionalize on [USE_NSCD].
24593 (is_nscd, nscd_init_cb): Likewise.
24594 (nss_load_library): Conditionalize init callback on [USE_NSCD].
24595 * nss/nss_files/files-init.c: Conditionalize body on [USE_NSCD].
24596 * nss/nss_db/db-init.c: Likewise.
24597 * nscd/nscd.c (main): Conditionalize __nss_disable_nscd call on
24599 * sysdeps/unix/sysv/linux/check_pf.c (get_nl_timestamp): New function.
24600 (make_request): Use it.
24601 (cache_valid_p): New function.
24602 (__check_pf): Use it.
24603 * NEWS: Add item for --disable-nscd.
24605 2012-08-22 Dmitry V. Levin <ldv@altlinux.org>
24607 * configure.in (SED): Update AC_CHECK_PROG_VER's version extract regexp
24608 to support sed >= 4.2.1-20-ga9bf076.
24609 * configure: Regenerated.
24611 2012-08-22 Roland McGrath <roland@hack.frob.com>
24613 * csu/libc-start.c (apply_irel): Move extern declarations inside here.
24614 Conditionalize whole body on [IREL].
24616 2012-08-22 Jeff Law <law@redhat.com>
24619 * sysdeps/posix/getaddrinfo.c (gaih_inet): Only use gethostbyname4_r
24620 if the family is PF_UNSPEC.
24622 2012-08-22 Mike Frysinger <vapier@gentoo.org>
24624 * Makerules (lib-version): Rename from V.
24625 (install-lib-nosubdir): Change V to lib-version.
24627 2012-08-22 Will Schmidt <will_schmidt@vnet.ibm.com>
24630 * powerpc32/power6/wcschr.c: New file.
24631 * powerpc32/power6/wcscpy.c: New file.
24632 * powerpc32/power6/wcsrchr.c: New file.
24633 * powerpc64/power6/wcschr.c: New file.
24634 * powerpc64/power6/wcscpy.c: New file.
24635 * powerpc64/power6/wcsrchr.c: New file.
24637 2012-08-21 Maxim Kuvyrkov <maxim@codesourcery.com>
24639 * string/str-two-way.h (AVAILABLE1_USES_J): New macro, define default.
24640 (two_way_short_needle): Use it.
24641 * string/strstr.c (AVAILABLE1_USES_J): Define.
24642 * string/strcasestr.c: Likewise.
24644 * string/str-two-way.h (two_way_short_needle): Use pointers instead of
24646 * string/strcasestr.c (TOLOWER): Make side-effect safe.
24649 * NEWS: Add an entry.
24650 * string/str-two-way.h (AVAILABLE1, AVAILABLE2, RET0_IF_0): New macros,
24651 define their defaults.
24652 (two_way_short_needle): Detect end-of-string on-the-fly.
24653 * string/strcasestr.c, string/strstr.c (AVAILABLE): Update.
24654 (AVAILABLE1, AVAILABLE2, RET0_IF_0, AVAILABLE_USES_J): Define.
24655 * string/bug-strcasestr1.c: New test.
24656 * string/Makefile: Run it.
24658 2012-08-21 Maxim Kuvyrkov <maxim@codesourcery.com>
24661 * string/str-two-way.h (two_way_short_needle): Optimize matching of
24662 the first character.
24664 2012-08-21 Roland McGrath <roland@hack.frob.com>
24666 * csu/elf-init.c (__libc_csu_irel): Function removed.
24667 * csu/libc-start.c (apply_irel): New function.
24668 (LIBC_START_MAIN): Call it instead of __libc_csu_irel.
24670 2012-08-21 Joseph Myers <joseph@codesourcery.com>
24672 * sysdeps/unix/sysv/linux/kernel-features.h
24673 (__ASSUME_FADVISE64_64_SYSCALL): Remove.
24674 * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
24675 <kernel-features.h>.
24676 [__NR_fadvise64_64]: Make code unconditional.
24677 [!__ASSUME_FADVISE64_64_SYSCALL]: Remove conditional code.
24678 [__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
24679 !__NR_fadvise64_64)]: Likewise.
24680 [!(__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
24681 !__NR_fadvise64_64))]: Likewise.
24682 [__NR_fadvise64]: Make code unconditional.
24683 [!__NR_fadvise64]: Remove conditional code.
24684 * sysdeps/unix/sysv/linux/posix_fadvise64.c: Do not include
24685 <kernel-features.h>.
24686 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
24688 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
24690 * sysdeps/unix/sysv/linux/powerpc/powerpc32/posix_fadvise64.c: Do
24691 not include <kernel-features.h>.
24692 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
24694 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
24696 * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Do not
24697 include <kernel-features.h>.
24698 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
24700 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
24703 2012-08-21 Will Schmidt <will_schmidt@vnet.ibm.com>
24705 * sysdeps/powerpc/powerpc64/power7/memchr.S: Unrolled short loop and
24706 slight instruction rearrangements per scrollpipe analysis.
24707 * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
24709 2012-08-20 Roland McGrath <roland@hack.frob.com>
24711 * manual/syslog.texi (syslog; vsyslog, closelog):
24712 Fix typo repeated twice: @file{dev/log} -> @file{/dev/log}.
24713 Reported by Ricardo Catalinas Jiménez <jimenezrick@gmail.com>.
24715 * elf/dl-sysdep.c (_dl_important_hwcaps): Fix conditional on using
24716 DSOCAPS to match condition on defining it.
24718 2012-08-20 Joseph Myers <joseph@codesourcery.com>
24720 * sysdeps/unix/sysv/linux/kernel-features.h
24721 (__ASSUME_SWAPCONTEXT_SYSCALL): Remove.
24722 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S
24723 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
24724 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
24725 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S
24726 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
24727 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
24728 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S
24729 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
24730 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
24732 * sysdeps/unix/sysv/linux/kernel-features.h [__s390__ &&
24733 __LINUX_KERNEL_VERSION >= 0x020616] (__ASSUME_UTIMES): Define.
24735 * sysdeps/unix/sysv/linux/kernel-features.h
24736 (__ASSUME_MMAP2_SYSCALL): Remove all definitions.
24737 * sysdeps/unix/sysv/linux/mmap64.c [__NR_mmap2]: Make code
24739 [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
24740 * sysdeps/unix/sysv/linux/i386/mmap.S (__mmap)
24741 [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
24742 (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
24743 * sysdeps/unix/sysv/linux/i386/mmap64.S (__mmap64) [__NR_mmap2]:
24744 Make code unconditional.
24745 (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
24746 (__mmap64) [!__NR_mmap2]: Likewise.
24747 * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S (__mmap)
24748 [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
24749 (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
24750 * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S (__mmap64)
24751 [__NR_mmap2]: Make code unconditional.
24752 (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
24753 (__mmap64) [!__NR_mmap2]: Likewise.
24755 2012-08-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
24757 * sysdeps/unix/sysv/linux/s390/s390-32/getrlimit.c: Remove.
24759 2012-08-18 Andreas Jaeger <aj@suse.de>
24761 * stdio-common/_itoa.c (_itoa): Add missing DUMMY variable.
24763 2012-08-18 Mike Frysinger <vapier@gentoo.org>
24765 * include/sys/socket.h (__have_sock_cloexec): Add attribute_hidden.
24766 * include/unistd.h (__have_sock_cloexec): Likewise.
24767 (__have_pipe2): Likewise.
24768 (__have_dup3): Likewise.
24770 2012-08-18 Mike Frysinger <vapier@gentoo.org>
24773 * include/unistd.h (__have_pipe2): Change define into an extern int.
24774 (__have_dup3): Likewise.
24775 * socket/have_sock_cloexec.c: Include fcntl.h.
24776 (__have_pipe2): New variable.
24777 (__have_dup3): Likewise.
24779 2012-08-17 Mike Frysinger <vapier@gentoo.org>
24781 * sysdeps/unix/sysv/linux/nice.c: Adjust #include.
24783 2012-08-17 Marek Polacek <polacek@redhat.com>
24785 * sysdeps/ieee754/ldbl-96/s_sincosl.c (__sincosl): Use __attribute__
24786 ((unused)) on I1, which is set by GET_LDOUBLE_WORDS but never used.
24788 2012-08-17 Roland McGrath <roland@hack.frob.com>
24790 * configure.in: Add AC_SUBST for sysheaders.
24791 * configure: Regenerated.
24792 * config.make.in (sysheaders): New substituted variable.
24794 * sysdeps/unix/mkfifo.c: Moved ...
24795 * sysdeps/posix/mkfifo.c: ... here.
24796 * sysdeps/unix/mkfifoat.c: Moved ...
24797 * sysdeps/posix/mkfifoat.c: ... here.
24799 * sysdeps/unix/utime.c: Moved ...
24800 * sysdeps/posix/utime.c: ... here.
24802 * sysdeps/unix/time.c: Moved ...
24803 * sysdeps/posix/time.c: ... here.
24804 * sysdeps/unix/sysv/linux/time.c: Adjust #include.
24805 * sysdeps/unix/sysv/linux/sparc/sparc64/time.c: Likewise.
24807 * sysdeps/unix/nice.c: Moved ...
24808 * sysdeps/posix/nice.c: ... here.
24810 * sysdeps/unix/alarm.c: Moved ...
24811 * sysdeps/posix/alarm.c: ... here.
24813 * intl/Makefile ($(codeset_mo)): Depend on the input file.
24815 2012-08-17 Jeff Law <law@redhat.com>
24817 * intl/Makefile (codeset_mo): New variable.
24818 ($(codeset_mo)): New target.
24819 (tst-codeset.out): Depend on that. Remove explicit rule.
24820 (tst-gettext3.out, tst-gettext5.out): Likewise.
24821 (LOCPATH-ENV, tst-codeset-ENV): New variables.
24822 (tst-gettext3-ENV, tst-gettext5-ENV): Likewise.
24823 * intl/tst-codeset.sh: Remove.
24824 * intl/tst-gettext3.sh: Likewise.
24825 * intl/tst-gettext5.sh: Likewise.
24827 2012-08-17 Roland McGrath <roland@hack.frob.com>
24829 * sysdeps/unix/inet/syscalls.list: File removed. Move contents into ...
24830 * sysdeps/unix/syscalls.list: ... here.
24832 * sysdeps/posix/getaddrinfo.c
24833 (save_gaiconf_mtime, check_gaiconf_mtime): New functions.
24834 (gaiconf_init, gaiconf_reload): Use them.
24835 [!_STATBUF_ST_NSEC]
24836 (gaiconf_mtime, save_gaiconf_mtime, check_gaiconf_mtime):
24837 Define using time_t rather than struct timespec.
24839 * sysdeps/generic/malloc-machine.h (MUTEX_INITIALIZER): New macro.
24840 (atomic_full_barrier, atomic_read_barrier, atomic_write_barrier):
24842 * malloc/arena.c (save_malloc_hook, save_free_hook): Conditionalize on
24844 (malloc_atfork, free_atfork, atfork_recursive_cntr): Likewise.
24845 (ptmalloc_lock_all, ptmalloc_unlock_all, ptmalloc_unlock_all2):
24848 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Use NULL rather than 0 for
24849 __libc_cleanup_push argument.
24851 * bits/param.h: New file.
24852 * misc/sys/param.h: New file.
24853 * include/sys/param.h: New file.
24854 * misc/Makefile (headers): Add bits/param.h.
24855 * sysdeps/generic/sys/param.h: File removed.
24856 * sysdeps/unix/sysv/linux/bits/param.h: New file.
24857 * sysdeps/unix/sysv/linux/sys/param.h: File removed.
24858 * sysdeps/mach/hurd/bits/param.h: New file.
24859 * sysdeps/mach/hurd/sys/param.h: File removed.
24861 * elf/dl-close.c (_dl_close_worker): Add a cast and a comment to the
24864 * libio/genops.c (_IO_unbuffer_write): Conditionalize locking code on
24866 * libio/libioP.h [!_IO_MTSAFE_IO && !NOT_IN_libc]
24867 (_IO_acquire_lock, _IO_acquire_lock_clear_flags2, _IO_release_lock):
24870 * Makeconfig [$(libc-reentrant) = yes] (libio-mtsafe): New variable.
24871 * libio/Makefile (CPPFLAGS): Append $(libio-mtsafe) unconditionally
24872 rather than -D_IO_MTSAFE_IO conditionally.
24873 * stdio-common/Makefile (CPPFLAGS): Likewise.
24874 * wcsmbs/Makefile (CPPFLAGS): Likewise.
24875 * stdlib/Makefile (CFLAGS-strfmon.c, CFLAGS-strfmon_l.c):
24876 Use $(libio-mtsafe).
24877 * debug/Makefile (CFLAGS-sprintf_chk.c): Use $(libio-mtsafe) instead
24878 of -D_IO_MTSAFE_IO.
24879 (CFLAGS-snprintf_chk.c, CFLAGS-vsprintf_chk.c): Likewise.
24880 (CFLAGS-vsnprintf_chk.c, CFLAGS-asprintf_chk.c): Likewise.
24881 (CFLAGS-vasprintf_chk.c, CFLAGS-obprintf_chk.c): Likewise.
24882 (CFLAGS-dprintf_chk.c, CFLAGS-vdprintf_chk.c): Likewise.
24883 (CFLAGS-printf_chk.c, CFLAGS-fprintf_chk.c): Likewise.
24884 (CFLAGS-vprintf_chk.c, CFLAGS-vfprintf_chk.c): Likewise.
24885 (CFLAGS-gets_chk.c, CFLAGS-fgets_chk.c): Likewise.
24886 (CFLAGS-fgets_u_chk.c, CFLAGS-fread_chk.c): Likewise.
24887 (CFLAGS-fread_u_chk.c): Likewise.
24888 (CFLAGS-swprintf_chk.c, CFLAGS-vswprintf_chk.c): Likewise.
24889 (CFLAGS-wprintf_chk.c, CFLAGS-fwprintf_chk.c): Likewise.
24890 (CFLAGS-vwprintf_chk.c, CFLAGS-vfwprintf_chk.c): Likewise.
24891 (CFLAGS-fgetws_chk.c, CFLAGS-fgetws_u_chk.c): Likewise.
24892 * grp/Makefile (CFLAGS-fgetgrent_r.c, CFLAGS-putgrent.c): Likewise.
24893 * gshadow/Makefile (CFLAGS-fgetsgent_r.c, CFLAGS-putsgent.c): Likewise.
24894 * misc/Makefile (CFLAGS-mntent_r.c): Likewise.
24895 * pwd/Makefile (CFLAGS-fgetpwent_r.c): Likewise.
24896 * shadow/Makefile (CFLAGS-fgetspent_r.c, CFLAGS-putspent.c): Likewise.
24898 * libio/Makefile: Test [$(libc-reentrant) = yes]
24899 instead of [$(filter %REENTRANT, $(defines)) nonempty].
24902 [$(libc-reentrant) = yes] (defines): Append -D_LIBC_REENTRANT.
24903 * sysdeps/pthread/configure: File removed.
24904 * sysdeps/pthread/Makeconfig: New file.
24905 * sysdeps/mach/hurd/Makeconfig (libc-reentrant): New variable.
24906 * sysdeps/mach/hurd/configure.in: Don't touch DEFINES here.
24908 2012-08-16 Gary Benson <gbenson@redhat.com>
24910 * elf/dl-close.c (_dl_close_worker): Also set r->r_map when
24911 unmapping the first object in a namespace.
24913 2012-08-16 Roland McGrath <roland@hack.frob.com>
24915 * inet/getnetgrent_r.c (internal_setnetgrent): Renamed to ...
24916 (__internal_setnetgrent): ... this. Add internal_function to
24917 definition. Add libc_hidden_def.
24918 (setnetgrent): Update caller.
24919 (internal_endnetgrent): Renamed to ...
24920 (__internal_endnetgrent): ... this. Add internal_function to
24921 definition. Add libc_hidden_def.
24922 (endnetgrent): Update caller.
24923 (internal_getnetgrent_r): Renamed to ...
24924 (__internal_getnetgrent_r): ... this. Add internal_function to
24925 definition. Add libc_hidden_def.
24926 (__getnetgrent_r): Update caller.
24927 * inet/netgroup.h: Update declarations. Add libc_hidden_proto uses.
24929 2012-08-16 Joseph Myers <joseph@codesourcery.com>
24931 * stdlib/longlong.h: Update from GCC.
24933 2012-08-16 Roland McGrath <roland@hack.frob.com>
24935 * stdlib/gmp-impl.h (udiv_qrnnd_preinv): Use __attribute__ ((unused))
24936 on _QL, which is set by umul_ppmm but never used.
24937 * stdio-common/_itoa.c (_itoa): Use __attribute__ ((unused)) on DUMMY
24938 variables, which are set by GMP macros but never used.
24939 * stdio-common/_itowa.c (_itowa): Likewise.
24940 * stdlib/divmod_1.c (mpn_divmod_1): Likewise.
24941 * stdlib/mod_1.c (mpn_mod_1): Likewise.
24943 2012-08-16 Carlos O'Donell <carlos_odonell@mentor.com>
24945 * sysdeps/sh/ldsodefs.h (ARCH_PLTENTER_MEMBERS) <sh_gnu_pltenter>:
24946 struct La_sh_regs is not constant.
24947 * sysdeps/sparc/ldsodefs.h (ARCH_PLTENTER_MEMBERS)
24948 <sparc32_gnu_pltenter, sparc64_gnu_pltenter>: struct La_sparc32_regs
24949 and struct La_sparc64_regs are not constant.
24951 2012-08-16 Joseph Myers <joseph@codesourcery.com>
24953 * sysdeps/unix/sysv/linux/kernel-features.h
24954 (__ASSUME_POSIX_TIMERS): Remove.
24955 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
24956 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
24957 * sysdeps/unix/sysv/linux/clock_getres.c [__ASSUME_POSIX_TIMERS]:
24958 Make code unconditional.
24959 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
24960 * sysdeps/unix/sysv/linux/clock_gettime.c [__ASSUME_POSIX_TIMERS]:
24961 Make code unconditional.
24962 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
24963 * sysdeps/unix/sysv/linux/clock_nanosleep.c
24964 [__ASSUME_POSIX_TIMERS]: Make code unconditional.
24965 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
24966 * sysdeps/unix/sysv/linux/clock_settime.c [__ASSUME_POSIX_TIMERS]:
24967 Make code unconditional.
24968 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
24969 [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]
24970 (__libc_missing_posix_timers): Remove.
24972 2012-08-15 Roland McGrath <roland@hack.frob.com>
24974 * elf/dl-load.c (_dl_map_object_from_fd) [SHARED]: Conditionalize
24975 check of GL(dl_error_catch_tsd) on [_LIBC_REENTRANT].
24977 * bits/libc-lock.h (__rtld_lock_initialize): New macro.
24979 * elf/dl-sym.c: Include <stdlib.h>.
24981 * posix/regcomp.c (init_word_char): Use temporaries to hold the 64-bit
24982 constants, which avoids warnings in 32-bit builds.
24984 * bits/fcntl.h [__USE_POSIX199309 || __USE_UNIX98]:
24985 (O_DSYNC, O_RSYNC): New macros (with NetBSD values).
24987 * misc/lseek.c: File moved to ...
24988 * io/lseek.c: ... here.
24990 * rt/clock_nanosleep.c: Include <time.h>, not <sys/time.h>.
24992 * crypt/sha512.c (sha512_process_block) [!USE_TOTAL128]: Avoid
24993 shifting LEN more than 31 bits at once.
24995 2012-08-15 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
24998 * sysdeps/i386/i686/multiarch/strcmp-sssse3.S: Fix
24999 segmentation fault for a case of two empty input strings.
25000 * string/test-strncasecmp.c (check1): Renamed to...
25001 (bz12205): ...this.
25002 (bz14195): Add new testcase for two empty input strings and N > 0.
25003 (test_main): Call new testcase, adapt for renamed function.
25005 2012-08-15 Andreas Jaeger <aj@suse.de>
25008 * crypt/md5test2.c: New test, based on test supplied by Serge
25009 Belyshev <belyshev@depni.sinp.msu.ru>.
25010 * crypt/Makefile (xtests): Add md5test-giant..
25011 * crypt/Makefile ($(objpfx)md5test-giant): Add.
25013 2012-08-15 Paul Eggert <eggert@cs.ucla.edu>
25016 * crypt/md5.c (md5_process_block): Don't assume the buffer
25017 length is less than 2**32.
25018 * crypt/sha512.c (sha512_process_block): Don't assume the buffer
25019 length is less than 2**64.
25021 2012-08-15 Roland McGrath <roland@hack.frob.com>
25023 * string/str-two-way.h: Include <sys/param.h>.
25024 (MAX): Macro removed.
25026 * sysdeps/x86_64/multiarch/strstr-c.c: Add copyright header.
25027 Move #define and #undef of memmove to just before and after
25028 including <string.h>.
25030 * sysdeps/x86_64/multiarch/memmove.c: Don't include <stddef.h>.
25031 [!NOT_IN_libc]: Move #define and #undef of memmove to just before
25032 and after including <string.h>. Move declarations of
25033 __memmove_sse2, __memmove_ssse3, and __memmove_ssse3_back
25034 to before #include "string/memmove.c".
25036 * include/dirent.h: Declare __getdirentries.
25038 * sysdeps/posix/system.c (do_system): Cast SUB_REF () to void when not
25039 using its value, to avoid warnings in the [!_LIBC_REENTRANT] case.
25041 2012-08-14 Mike Frysinger <vapier@gentoo.org>
25043 * config.h.in (HAVE_CPP_ASM_DEBUGINFO): Delete.
25044 * sysdeps/i386/configure.in: Remove assembler-with-cpp debug check.
25045 * sysdeps/i386/configure: Regenerated.
25046 * sysdeps/i386/sysdep.h (ENTRY): Remove calls to STABS_CURRENT_FILE1,
25047 STABS_CURRENT_FILE, and STABS_FUN.
25048 (END): Remove call to STABS_FUN_END.
25049 (STABS_CURRENT_FILE1): Delete.
25050 (STABS_CURRENT_FILE): Likewise.
25051 (STABS_FUN): Likewise.
25052 (STABS_FUN_END): Likewise.
25053 (STABS_FUN2): Likewise.
25054 * sysdeps/x86_64/configure.in: Remove assembler-with-cpp debug check.
25055 * sysdeps/x86_64/configure: Regenerated.
25057 2012-08-14 Roland McGrath <roland@hack.frob.com>
25059 * elf/dl-open.c: Include <atomic.h>.
25060 * elf/dl-lookup.c: Likewise.
25062 2012-08-14 Joseph Myers <joseph@codesourcery.com>
25064 * sysdeps/unix/sysv/linux/kernel-features.h
25065 (__ASSUME_CLONE_THREAD_FLAGS): Remove.
25066 * sysdeps/unix/sysv/linux/s390/system.c (FORK): Define
25068 * sysdeps/unix/sysv/linux/sparc/system.c (FORK): Define
25070 * sysdeps/unix/sysv/linux/system.c [!FORK] (FORK): Do not
25071 condition on __ASSUME_CLONE_THREAD_FLAGS.
25073 2012-08-14 Andreas Jaeger <aj@suse.de>
25075 * sysdeps/i386/fpu/libm-test-ulps: Update.
25077 2012-08-13 Maxim Kuvyrkov <maxim@codesourcery.com>
25079 * include/atomic.h (atomic_exchange_and_add): Split into ...
25080 (atomic_exchange_and_add_acq, atomic_exchange_and_add_rel): ... these.
25083 2012-08-13 Markus Trippelsdorf <markus@trippelsdorf.de>
25085 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
25087 2012-08-13 Jeff Law <law@redhat.com>
25089 * manual/stdio.texi (snprintf): Clarify handling of the trailing
25090 null byte in the output string.
25092 2012-08-10 Joseph Myers <joseph@codesourcery.com>
25094 * sysdeps/unix/sysv/linux/kernel-features.h
25095 (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Define.
25096 [__LINUX_KERNEL_VERSION >= __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL]
25097 (__ASSUME_ARG_MAX_STACK_BASED): Define.
25098 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
25099 [__LINUX_KERNEL_VERSION < 0x020617]: Change condition to
25100 !__ASSUME_ARG_MAX_STACK_BASED. Compare version with
25101 __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL.
25103 2012-08-09 Jeff Law <law@redhat.com>
25106 * malloc.c/arena.c (reused_arena): New parameter, avoid_arena.
25107 When avoid_arena is set, don't retry in the that arena. Pick the
25108 next one, whatever it might be.
25109 (arena_get2): New parameter avoid_arena, pass through to reused_arena.
25110 (arena_lock): Pass in new parameter to arena_get2.
25111 * malloc/malloc.c (__libc_memalign): Pass in new parameter to
25113 (__libc_malloc): Unify retrying after main arena failure with
25114 __libc_memalign version.
25115 (__libc_valloc, __libc_pvalloc, __libc_calloc): Likewise.
25117 2012-08-09 H.J. Lu <hongjiu.lu@intel.com>
25120 * sysdeps/i386/i686/multiarch/strstr-c.c (strstr): Redefined
25121 to __redirect_strstr.
25122 (__strstr_sse42): Use typeof __redirect_strstr.
25123 (__strstr_ia32): Likewise.
25124 (__libc_strstr): New prototype.
25125 (strstr): Renamed to ...
25126 (__libc_strstr): This.
25127 (strstr): New strong alias of __libc_strstr.
25128 * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
25129 * sysdeps/unix/sysv/linux/x86_64/time.c (time): Redefined to
25132 (__libc_time): New prototype.
25133 (time_ifunc): Replace time with __libc_time.
25134 (time): New strong alias and hidden definition of __libc_time.
25135 (__GI_time): Remove strong alias.
25136 * sysdeps/x86_64/multiarch/memmove.c: Don't include <string.h>.
25137 Include <stddef.h>.
25138 (memmove): Redefined to __redirect_memmove.
25139 (__memmove_sse2): Use typeof __redirect_memmove.
25140 (__memmove_ssse3): Likewise.
25141 (__memmove_ssse3_back): Likewise.
25142 (__libc_memmove): New prototype.
25143 (memmove): Renamed to ...
25144 (__libc_memmove): This.
25145 (memmove): New strong alias of __libc_memmove.
25147 2012-08-08 Mark Salter <msalter@redhat.com>
25150 (R_MN10300_TLS_GD): Define.
25151 (R_MN10300_TLS_LD): Likewise.
25152 (R_MN10300_TLS_LDO): Likewise.
25153 (R_MN10300_TLS_GOTIE): Likewise.
25154 (R_MN10300_TLS_IE): Likewise.
25155 (R_MN10300_TLS_LE): Likewise.
25156 (R_MN10300_TLS_DTPMOD): Likewise.
25157 (R_MN10300_TLS_DTPOFF): Likewise.
25158 (R_MN10300_TLS_TPOFF): Likewise.
25159 (R_MN10300_SYM_DIFF): Likewise.
25160 (R_MN10300_ALIGN): Likewise.
25161 (R_MN10300_NUM): Update.
25163 2012-08-08 Joseph Myers <joseph@codesourcery.com>
25165 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_TGKILL):
25168 2012-08-08 Roland McGrath <roland@hack.frob.com>
25170 * sysdeps/posix/fdopendir.c: Include <stddef.h>.
25172 * sysdeps/unix/sysv/linux/readdir64_r.c: Update #include for
25173 sysdeps/unix -> sysdeps/posix move.
25174 * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
25176 2012-08-07 Allan McRae <allan@archlinux.org>
25179 * sunrpc/rpc_main.c (SVR4_CPP): Remove.
25180 (SUNOS_CPP): Likewise.
25181 (find_cpp): Fall back to selecting system cpp when /lib/cpp is
25183 (open_input): Call CPP using execvp.
25185 2012-08-07 Joseph Myers <joseph@codesourcery.com>
25187 * sysdeps/unix/sysv/linux/kernel-features.h
25188 (__ASSUME_PROT_GROWSUPDOWN): Remove.
25189 (__ASSUME_NO_CLONE_DETACHED): Likewise.
25190 (__ASSUME_GETDENTS32_D_TYPE): Likewise.
25191 (__ASSUME_WAITID_SYSCALL): Likewise.
25192 * sysdeps/unix/sysv/linux/dl-execstack.c
25193 (_dl_make_stack_executable) [PROT_GROWSDOWN || PROT_GROWSUP]: Make
25194 code unconditional.
25195 (_dl_make_stack_executable) [!__ASSUME_PROT_GROWSUPDOWN]: Remove
25197 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS)
25198 [__ASSUME_GETDENTS32_D_TYPE]: Make code unconditional.
25199 (__GETDENTS) [!__ASSUME_GETDENTS32_D_TYPE]: Remove conditional
25201 * sysdeps/unix/sysv/linux/waitid.c [__NR_waitid]: Make code
25203 [__ASSUME_WAITID_SYSCALL]: Likewise.
25204 [!__ASSUME_WAITID_SYSCALL]: Remove conditional code.
25206 2012-08-07 Roland McGrath <roland@hack.frob.com>
25208 * sysdeps/unix/closedir.c: Renamed to ...
25209 * sysdeps/posix/closedir.c: ... here.
25210 * sysdeps/unix/dirfd.c: Renamed to ...
25211 * sysdeps/posix/dirfd.c: ... here.
25212 * sysdeps/unix/dirstream.h: Renamed to ...
25213 * sysdeps/posix/dirstream.h: ... here.
25214 * sysdeps/unix/fdopendir.c: Renamed to ...
25215 * sysdeps/posix/fdopendir.c: ... here.
25216 * sysdeps/unix/opendir.c: Renamed to ...
25217 * sysdeps/posix/opendir.c: ... here.
25218 * sysdeps/unix/readdir.c: Renamed to ...
25219 * sysdeps/posix/readdir.c: ... here.
25220 * sysdeps/unix/readdir_r.c: Renamed to ...
25221 * sysdeps/posix/readdir_r.c: ... here.
25222 * sysdeps/unix/rewinddir.c: Renamed to ...
25223 * sysdeps/posix/rewinddir.c: ... here.
25224 * sysdeps/unix/seekdir.c: Renamed to ...
25225 * sysdeps/posix/seekdir.c: ... here.
25226 * sysdeps/unix/telldir.c: Renamed to ...
25227 * sysdeps/posix/telldir.c: ... here.
25228 * sysdeps/unix/sysv/linux/opendir.c: Update #include.
25229 * sysdeps/unix/sysv/linux/readdir64.c: Likewise.
25230 * sysdeps/unix/sysv/linux/i386/readdir64.c: Likewise.
25231 * sysdeps/unix/sysv/linux/wordsize-64/readdir.c: Likewise.
25233 * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h: Renamed to ...
25234 * bits/fcntl.h: ... here.
25236 * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h (O_NOCTTY): Define to 0x8000,
25238 (O_ASYNC, O_FSYNC, O_SYNC): Move outside [__USE_MISC].
25239 [__USE_XOPEN2K8] (O_DIRECTORY, O_NOFOLLOW, O_CLOEXEC): New macros.
25240 (FCREAT, FEXCL, FTRUNC, FNOCTTY, FNONBLOCK): Macros removed.
25241 (struct flock): Move l_start, l_len to the beginning.
25242 Use __pid_t for l_pid.
25243 [__USE_XOPEN2K] (POSIX_FADV_NORMAL, POSIX_FADV_RANDOM): New macros.
25244 [__USE_XOPEN2K] (POSIX_FADV_SEQUENTIAL, POSIX_FADV_WILLNEED): Likewise.
25245 [__USE_XOPEN2K] (POSIX_FADV_DONTNEED, POSIX_FADV_NOREUSE): Likewise.
25246 (F_GETLK64, F_SETLK64, F_SETLKW64): New macros.
25247 [__USE_XOPEN2K8] (F_DUPFD_CLOEXEC): New macro.
25248 [__USE_LARGEFILE64] (struct flock64): New type.
25249 (F_GETOWN, F_SETOWN): Also define for [__USE_XOPEN2K8].
25251 * sysdeps/unix/bsd/bsd4.4/bits/dirent.h: Renamed to ...
25252 * bits/dirent.h: ... here.
25254 * sysdeps/unix/bsd/bsd4.4/bits/dirent.h
25255 [__INO_T_MATCHES_INO64_T] (_DIRENT_MATCHES_DIRENT64): New macro.
25257 2012-08-07 Joseph Myers <joseph@codesourcery.com>
25259 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
25260 Change from 2.6.0 to 2.6.16.
25261 * sysdeps/unix/sysv/linux/configure: Regenerated.
25262 * sysdeps/unix/sysv/linux/kernel-features.h
25263 (__ASSUME_POSIX_CPU_TIMERS): Define unconditionally.
25264 (__ASSUME_TGKILL): Define conditional on architectures, not kernel
25266 (__ASSUME_UTIMES): Likewise.
25267 (__ASSUME_CLONE_STOPPED): Remove.
25268 (__ASSUME_FADVISE64_64_SYSCALL): Define conditional on
25269 architectures, not kernel version.
25270 (__ASSUME_PROT_GROWSUPDOWN): Define unconditionally.
25271 (__ASSUME_NO_CLONE_DETACHED): Likewise.
25272 (__ASSUME_GETDENTS32_D_TYPE): Likewise.
25273 (__ASSUME_WAITID_SYSCALL): Likewise.
25274 [__sparc__ && __arch64__] (__ASSUME_STAT64_SYSCALL): Do not
25275 condition definition on __LINUX_KERNEL_VERSION >= 0x02060c.
25276 * README: State 2.6.16 as minimum Linux kernel version. Do not
25277 refer to older versions.
25279 2012-08-06 Roland McGrath <roland@hack.frob.com>
25281 * dirent/alphasort.c [_DIRENT_MATCHES_DIRENT64]:
25282 Define alphasort64 as an alias.
25283 * dirent/versionsort.c [_DIRENT_MATCHES_DIRENT64]:
25284 Define versionsort64 as an alias.
25285 * dirent/scandir.c [_DIRENT_MATCHES_DIRENT64]:
25286 Define scandir64 as an alias.
25287 * dirent/scandirat.c [_DIRENT_MATCHES_DIRENT64]:
25288 Define scandirat64 as an alias.
25289 * dirent/alphasort64.c (alphasort64):
25290 Conditionalize on [!_DIRENT_MATCHES_DIRENT64].
25291 * dirent/versionsort64.c: Likewise.
25292 * dirent/scandir64.c: Likewise.
25293 * dirent/scandirat64.c: Likewise.
25294 * sysdeps/wordsize-64/alphasort.c: File removed.
25295 * sysdeps/wordsize-64/alphasort64.c: File removed.
25296 * sysdeps/wordsize-64/scandir.c: File removed.
25297 * sysdeps/wordsize-64/scandir64.c: File removed.
25298 * sysdeps/wordsize-64/scandirat.c: File removed.
25299 * sysdeps/wordsize-64/scandirat64.c: File removed.
25300 * sysdeps/wordsize-64/versionsort.c: File removed.
25301 * sysdeps/wordsize-64/versionsort64.c: File removed.
25302 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: File removed.
25303 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: File removed.
25304 * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: File removed.
25305 * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: File removed.
25306 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: File removed.
25307 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: File removed.
25308 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: File removed.
25309 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: File removed.
25311 * bits/typesizes.h [__LP64__] (__INO_T_MATCHES_INO64_T): New macros.
25312 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
25313 [__s390x__] (__INO_T_MATCHES_INO64_T): New macro.
25314 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
25315 [defined __arch64__ || defined __sparcv9]
25316 (__INO_T_MATCHES_INO64_T): New macro.
25317 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
25318 [__x86_64__] (__INO_T_MATCHES_INO64_T): New macro.
25319 * bits/dirent.h (_DIRENT_MATCHES_DIRENT64): New macro.
25320 * sysdeps/unix/sysv/linux/bits/dirent.h
25321 [defined __OFF_T_MATCHES_OFF64_T && defined __INO_T_MATCHES_INO64_T]
25322 (_DIRENT_MATCHES_DIRENT64): New macro.
25324 * io/lockf.c [__OFF_T_MATCHES_OFF64_T]:
25325 Define lockf64 as an alias.
25326 * libio/fseeko.c [__OFF_T_MATCHES_OFF64_T]:
25327 Define fseeko64 as an alias.
25328 * libio/ftello.c [__OFF_T_MATCHES_OFF64_T]:
25329 Define ftello64 as an alias.
25330 * libio/iofgetpos.c [__OFF_T_MATCHES_OFF64_T]:
25331 Define _IO_fgetpos64 and fgetpos64 as aliases.
25332 * libio/iofsetpos.c [__OFF_T_MATCHES_OFF64_T]:
25333 Define _IO_fsetpos64 and fsetpos64 as aliases.
25334 * io/lockf64.c [!__OFF_T_MATCHES_OFF64_T]:
25335 Conditionalize body on this.
25336 * libio/fseeko64.c: Likewise.
25337 * libio/ftello64.c: Likewise.
25338 * libio/iofgetpos64.c: Likewise.
25339 * libio/iofsetpos64.c: Likewise.
25340 * sysdeps/wordsize-64/lockf.c: File removed.
25341 * sysdeps/wordsize-64/lockf64.c: File removed.
25342 * sysdeps/wordsize-64/fseeko.c: File removed.
25343 * sysdeps/wordsize-64/fseeko64.c: File removed.
25344 * sysdeps/wordsize-64/ftello.c: File removed.
25345 * sysdeps/wordsize-64/ftello64.c: File removed.
25346 * sysdeps/wordsize-64/iofgetpos.c: File removed.
25347 * sysdeps/wordsize-64/iofgetpos64.c: File removed.
25348 * sysdeps/wordsize-64/iofsetpos.c: File removed.
25349 * sysdeps/wordsize-64/iofsetpos64.c: File removed.
25350 * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: File removed.
25351 * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: File removed.
25352 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: File removed.
25353 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: File removed.
25354 * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: File removed.
25355 * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: File removed.
25356 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: File removed.
25357 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: File removed.
25358 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: File removed.
25359 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: File removed.
25361 * bits/typesizes.h [__LP64__] (__OFF_T_MATCHES_OFF64_T): New macro.
25362 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
25363 [__s390x__] (__OFF_T_MATCHES_OFF64_T): New macro.
25364 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
25365 [defined __arch64__ || defined __sparcv9]
25366 (__OFF_T_MATCHES_OFF64_T): New macro.
25367 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
25368 [__x86_64__] (__OFF_T_MATCHES_OFF64_T): New macro.
25369 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
25370 (__OFF_T_MATCHES_OFF64_T): New macro.
25372 2012-08-06 H.J. Lu <hongjiu.lu@intel.com>
25374 * stdlib/secure-getenv.c (__secure_getenv): Replace
25375 GLIBC_2_16 with GLIBC_2_17.
25377 2012-08-06 H.J. Lu <hongjiu.lu@intel.com>
25379 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Removed.
25380 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
25382 2012-08-03 David S. Miller <davem@davemloft.net>
25384 * sysdeps/sparc/fpu/libm-test-ulps: Update.
25386 2012-08-03 Joseph Myers <joseph@codesourcery.com>
25388 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_SECURE):
25390 (__ASSUME_CORRECT_SI_PID): Likewise.
25391 (__ASSUME_BRK_PAGE_ROUNDED): Likewise.
25392 (__ASSUME_TMPFS_NAME): Likewise.
25393 * sysdeps/unix/sysv/linux/dl-sysdep.c (frob_brk)
25394 [!__ASSUME_BRK_PAGE_ROUNDED]: Remove conditional code.
25395 * sysdeps/unix/sysv/linux/ldsodefs.h [__ASSUME_AT_SECURE]
25396 (HAVE_AUX_SECURE): Make definition unconditional.
25397 * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs)
25398 [!__ASSUME_TMPFS_NAME]: Remove conditional code.
25400 2012-08-03 Roland McGrath <roland@hack.frob.com>
25402 * sysdeps/mach/hurd/sys/param.h (MAXSYMLINKS): Macro removed.
25403 * sysdeps/mach/hurd/bits/local_lim.h (SYMLOOP_MAX): Macro removed.
25404 * sysdeps/mach/hurd/eloop-threshold.h: New file.
25405 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
25406 __eloop_threshold instead of SYMLOOP_MAX.
25408 * sysdeps/generic/eloop-threshold.h: New file.
25409 * stdlib/canonicalize.c (__realpath): Use __eloop_threshold instead
25411 * elf/chroot_canon.c (chroot_canon): Likewise.
25413 2012-08-03 Joseph Myers <joseph@codesourcery.com>
25416 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
25417 Change to 2.6.0 everywhere.
25418 * sysdeps/unix/sysv/linux/configure: Regenerated.
25419 * sysdeps/unix/sysv/linux/kernel-features.h
25420 (__ASSUME_SET_THREAD_AREA_SYSCALL): Remove.
25421 (__ASSUME_CLONE_THREAD_FLAGS): Condition on architectures, not
25423 (__ASSUME_POSIX_TIMERS): Define unconditionally.
25424 (__ASSUME_FUTEX_REQUEUE): Remove.
25425 (__ASSUME_STATFS64): Define unconditionally.
25426 (__ASSUME_AT_SECURE): Likewise.
25427 (__ASSUME_CORRECT_SI_PID): Likewise.
25428 (__ASSUME_TGKILL): Define without depending on kernel version for
25430 (__ASSUME_UTIMES): Likewise.
25431 (__ASSUME_SWAPCONTEXT_SYSCALL): Condition on architecture, not
25433 (__ASSUME_BRK_PAGE_ROUNDED): Define unconditionally.
25434 (__ASSUME_TMPFS_NAME): Likewise.
25435 * README: Update reference to Linux kernel versions.
25437 2012-08-02 Marek Polacek <polacek@redhat.com>
25440 * configure.in (libc_cv_asm_type_prefix): Remove test. Replace
25441 libc_cv_asm_type_prefix with %.
25442 * configure: Regenerated.
25443 * include/libc-symbols.h: Remove comment about
25444 ASM_TYPE_DIRECTIVE_PREFIX. Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
25445 (declare_symbol_alias_1_paste) [__ASSEMBLER__]: Do not define.
25446 (declare_symbol_alias_1_paste_1) [__ASSEMBLER__]: Likewise.
25447 (declare_symbol_alias_1_stringify) [!__ASSEMBLER__]: Likewise.
25448 (declare_symbol_alias_1_stringify_1) [!__ASSEMBLER__]: Likewise.
25449 * elf/tst-unique2mod2.c: Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
25450 [HAVE_ASM_UNIQUE_OBJECT]: Do not define S.
25451 [HAVE_ASM_UNIQUE_OBJECT]: Do not define _S.
25452 * elf/tst-unique2mod1.c: Likewise.
25453 * elf/tst-unique1mod2.c: Likewise.
25454 * elf/tst-unique1mod1.c: Likewise.
25455 * config.h.in: Do not undef ASM_TYPE_DIRECTIVE_PREFIX.
25456 * sysdeps/s390/s390-32/sysdep.h: Do not define ASM_TYPE_DIRECTIVE.
25457 Replace ASM_TYPE_DIRECTIVE with .type.
25458 * sysdeps/s390/s390-64/sysdep.h: Likewise.
25459 * sysdeps/i386/sysdep.h: Likewise.
25460 * sysdeps/x86_64/sysdep.h: Likewise.
25461 * sysdeps/sh/sysdep.h: Likewise.
25462 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
25463 Do not define ASM_TYPE_DIRECTIVE.
25464 * sysdeps/powerpc/sysdep.h: Likewise.
25465 * sysdeps/powerpc/powerpc32/sysdep.h:
25466 Replace ASM_TYPE_DIRECTIVE with .type.
25467 * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
25468 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
25469 * sysdeps/i386/fpu/e_powf.S: Likewise.
25470 * sysdeps/i386/fpu/e_expl.S: Likewise.
25471 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
25472 * sysdeps/i386/fpu/e_acosh.S: Likewise.
25473 * sysdeps/i386/fpu/e_pow.S: Likewise.
25474 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
25475 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
25476 * sysdeps/i386/fpu/s_expm1.S: Likewise.
25477 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
25478 * sysdeps/i386/fpu/e_log2.S: Likewise.
25479 * sysdeps/i386/fpu/e_log2l.S: Likewise.
25480 * sysdeps/i386/fpu/e_scalb.S: Likewise.
25481 * sysdeps/i386/fpu/e_powl.S: Likewise.
25482 * sysdeps/i386/fpu/e_log10f.S: Likewise.
25483 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
25484 * sysdeps/i386/fpu/e_logl.S: Likewise.
25485 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
25486 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
25487 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
25488 * sysdeps/i386/fpu/e_log2f.S: Likewise.
25489 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
25490 * sysdeps/i386/fpu/e_log.S: Likewise.
25491 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
25492 * sysdeps/i386/fpu/e_logf.S: Likewise.
25493 * sysdeps/i386/fpu/e_log10l.S: Likewise.
25494 * sysdeps/i386/fpu/e_atanh.S: Likewise.
25495 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
25496 * sysdeps/i386/fpu/e_log10.S: Likewise.
25497 * sysdeps/i386/fpu/s_frexp.S: Likewise.
25498 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
25499 * sysdeps/i386/fpu/s_asinh.S: Likewise.
25500 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
25501 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
25502 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Likewise.
25503 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
25504 * sysdeps/i386/i686/strtok.S: Likewise.
25505 * sysdeps/i386/i386-mcount.S: Likewise.
25506 * sysdeps/i386/strtok.S: Likewise.
25507 * sysdeps/x86_64/fpu/e_expl.S: Likewise.
25508 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
25509 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
25510 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
25511 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
25512 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
25513 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
25514 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
25515 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
25516 * sysdeps/x86_64/_mcount.S: Likewise.
25517 * sysdeps/x86_64/strtok.S: Likewise.
25518 * sysdeps/sh/_mcount.S: Likewise.
25520 2012-08-01 Roland McGrath <roland@hack.frob.com>
25522 * libio/iofopen.c: Include <fcntl.h>.
25523 [_LIBC] [!defined O_LARGEFILE || O_LARGEFILE == 0]
25524 (_IO_fopen64, fopen64): Define as aliases.
25525 * libio/iofopen64.c: Include <fcntl.h>.
25526 [!defined _LIBC || (defined O_LARGEFILE && O_LARGEFILE != 0)]:
25527 Conditionalize body on this.
25528 * sysdeps/wordsize-64/iofopen.c: File removed.
25529 * sysdeps/wordsize-64/iofopen64.c: File removed.
25531 2012-08-01 Marek Polacek <polacek@redhat.com>
25533 * libc/Makeconfig: Use elf in place of binfmt-subdir.
25534 Use dlfcn directly instead of a variable.
25535 (binfmt-subdir): Do not define.
25538 2012-08-01 Joseph Myers <joseph@codesourcery.com>
25540 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_FCNTL64):
25541 Remove all definitions.
25542 * sysdeps/unix/sysv/linux/i386/fcntl.c: Do not include
25543 <kernel-features.h>.
25544 [!__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
25545 (miss_F_GETOWN_EX): Remove all definitions.
25546 [NO_CANCELLATION && !__ASSUME_FCNTL64] (__fcntl_nocancel): Remove
25548 [!__ASSUME_FCNTL64]: Remove conditional code.
25549 [__ASSUME_FCNTL64]: Make code unconditional.
25550 * sysdeps/unix/sysv/linux/i386/lockf64.c: Do not include
25551 <kernel-features.h>.
25552 [__NR_fcntl64 && !__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
25553 (lockf64) [!__ASSUME_FCNTL64]: Remove conditional code.
25554 (lockf64) [__NR_fcntl64]: Make code unconditional.
25555 (lockf64) [__ASSUME_FCNTL64]: Likewise.
25557 * sysdeps/unix/sysv/linux/kernel-features.h
25558 (__ASSUME_VFORK_SYSCALL): Remove all definitions.
25559 * sysdeps/unix/sysv/linux/i386/vfork.S (__vfork) [__NR_vfork]:
25560 Make code unconditional.
25561 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
25562 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
25563 * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S (__vfork)
25564 [__NR_vfork]: Make code unconditional.
25565 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
25566 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
25567 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork)
25568 [__NR_vfork]: Make code unconditional.
25569 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
25570 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
25572 2012-08-01 Roland McGrath <roland@hack.frob.com>
25574 * sysdeps/generic/sys/param.h (NGROUPS): Define only if [NGROUPS_MAX].
25575 (MAXSYMLINKS): Define only if [SYMLOOP_MAX].
25577 * misc/mkstemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
25578 Define mkstemp64 as an alias.
25579 * misc/mkstemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
25580 Define mkstemps64 as an alias.
25581 * misc/mkostemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
25582 Define mkostemp64 as an alias.
25583 * misc/mkostemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
25584 Define mkostemps64 as an alias.
25585 * misc/mkstemp64.c [defined O_LARGEFILE && O_LARGEFILE != 0]:
25586 Conditionalize body on this.
25587 * misc/mkostemp64.c: Likewise.
25588 * misc/mkostemps64.c: Likewise.
25589 * misc/mkstemps64.c: Likewise.
25590 * sysdeps/wordsize-64/mkstemp64.c: File removed.
25591 * sysdeps/wordsize-64/mkostemp64.c: File removed.
25592 * sysdeps/wordsize-64/mkostemp.c: File removed.
25593 * sysdeps/wordsize-64/mkstemp.c: File removed.
25594 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: File removed.
25595 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: File removed.
25596 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: File removed.
25597 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: File removed.
25600 * sysdeps/unix/sysv/linux/syscalls.list: Add getrlimit/ugetrlimit line.
25601 * sysdeps/unix/sysv/linux/i386/getrlimit.c: File removed.
25602 * sysdeps/unix/sysv/linux/powerpc/getrlimit.c: File removed.
25603 * sysdeps/unix/sysv/linux/sh/getrlimit.c: File removed.
25605 * sysdeps/unix/make-syscalls.sh: Emit uses of the versioned_symbol and
25606 compat_symbol macros from <shlib-compat.h> rather than the underlying
25607 default_symbol_version and symbol_version macros, so that DEFAULT
25608 lines in shlib-versions are respected.
25609 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Likewise.
25611 2012-08-01 Florian Weimer <fweimer@redhat.com>
25613 * posix/unistd.h (setuid, setreuid, seteuid, setresuid):
25614 Declare with warn_unused_result.
25615 (setgid, setregid, setegid, setresgid): Likewise.
25616 * sysdeps/unix/sysv/linux/sys/fsuid.h (setfsuid, setfsgid):
25618 * WUR-REPORT: Remove set*id functions.
25620 2012-07-31 Pino Toscano <toscano.pino@tiscali.it>
25622 * sysdeps/mach/hurd/renameat.c: New file, mostly copied from rename.c.
25624 2012-07-31 Roland McGrath <roland@hack.frob.com>
25627 * include/sys/socket.h (__libc_accept, __libc_accept4):
25628 Add attribute_hidden.
25629 * socket/accept4.c (__libc_accept4): Remove libc_hidden_def.
25631 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Conditionalize
25633 * inet/getnetgrent_r.c (setup): Likewise.
25635 * sysdeps/generic/siglist.h: Put SIGWINCH under #ifdef.
25637 2012-07-31 David S. Miller <davem@davemloft.net>
25639 * sysdeps/sparc/fpu/libm-test-ulps: Update.
25641 2012-07-31 Joseph Myers <joseph@codesourcery.com>
25644 * math/s_clog.c (__clog): Use __log1p if larger part has absolute
25645 value between 1.0 and 2.0 and smaller part has absolute value less
25647 * math/s_clog10.c (__clog10): Likewise.
25648 * math/s_clog10f.c (__clog10f): Likewise.
25649 * math/s_clog10l.c (__clog10l): Likewise.
25650 * math/s_clogf.c (__clogf): Likewise.
25651 * math/s_clogl.c (__clogl): Likewise.
25652 * math/libm-test.inc (clog_test): Add more tests.
25653 (clog10_test): Likewise.
25654 * sysdeps/i386/fpu/libm-test-ulps: Update.
25655 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25657 2012-07-31 Florian Weimer <fweimer@redhat.com>
25659 * stdlib/tst-secure-getenv.c: Use printf for error reporting.
25660 Exit with zero in case no suitable GID is found, and write a
25661 message to standard error.
25663 2012-07-30 Roland McGrath <roland@hack.frob.com>
25665 * sysdeps/generic/sys/param.h (MAXSYMLINKS): Define to SYMLOOP_MAX
25667 (NBBY, NGROUPS, CANBSIZ, NCARGS): New macros.
25668 (MAXPATHLEN): Removed.
25669 (NOGROUP, NODEV): New macros.
25670 (setbit, clrbit, isset, isclr): New macros.
25671 (howmany, roundup, powerof2): New macros.
25672 (DEV_BSIZE): New macro.
25674 * include/unistd.h: Add attribute_hidden on __libc_pwrite64.
25675 * sysdeps/posix/pwrite64.c: Remove libc_hidden_def (__libc_pwrite64).
25677 * sysdeps/ieee754/k_standard.c (__kernel_standard_l): Conditionalize
25678 definition on [!__NO_LONG_DOUBLE_MATH].
25680 * nss/nsswitch.c (__nss_lookup_function): Conditionalize use of
25681 PTR_MANGLE and PTR_DEMANGLE.
25683 * socket/accept4.c (accept4): Rename to __libc_accept4.
25684 Define accept4 as a weak alias.
25686 * sysdeps/posix/getcwd.c (__getcwd): Conditionalize d_type field use
25687 on [_DIRENT_HAVE_D_TYPE].
25688 * io/ftw.c (ftw_dir): Likewise.
25690 * io/xmknod.c (__xmknod): Don't check PATH for being null.
25692 * libio/genops.c (flush_cleanup): Move inside [_IO_MTSAFE_IO].
25694 * bits/signum.h (SIGSTOP, SIGCONT, SIGTSTP, SIGTTIN, SIGTTOU, SIGCHLD):
25695 Use the BSD numbers rather than the arbitrary ones we had.
25696 (SIGBUS, SIGIO, SIGPOLL, SIGPROF, SIGSYS): New macros.
25697 (SIGTRAP, SIGURG, SIGUSR1, SIGUSR2, SIGVTALRM): New macros.
25698 (SIGXCPU, SIGXFSZ): New macros.
25701 * elf/rtld.c (_rtld_global): Conditionalize .dl_ns[LM_ID_BASE]
25702 initializer on [_LIBC_REENTRANT].
25704 * iconv/iconv_charmap.c (charmap_conversion): Move ST, ADDR
25705 definitions inside [_POSIX_MAPPED_FILES].
25707 * posix/regex.c: Include <sys/param.h> for MIN/MAX.
25709 * dirent/opendir.c: Include <fcntl.h>.
25711 * bits/libc-lock.h (__libc_setspecific): Evaluate arguments.
25712 (__libc_getspecific): Likewise.
25713 (__libc_key_create): Likewise.
25715 * stdio-common/tmpfile64.c: Include <fcntl.h> first.
25716 [defined O_LARGEFILE && O_LARGEFILE != 0]: Conditionalize on this.
25717 * stdio-common/tmpfile.c [!defined O_LARGEFILE || O_LARGEFILE == 0]
25718 (tmpfile64): Define as alias.
25719 * sysdeps/wordsize-64/tmpfile.c: File removed.
25720 * sysdeps/wordsize-64/tmpfile64.c: File removed.
25721 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: File removed.
25722 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: File removed.
25724 * stdio-common/vfscanf.c: Include <stdbool.h>.
25725 * nss/makedb.c: Likewise.
25726 * stdio-common/_i18n_number.h: Likewise.
25727 * argp/argp-help.c: Likewise.
25728 * posix/wordexp.c: Likewise.
25729 * sysdeps/posix/spawni.c: Likewise.
25730 * nss/nss_files/files-initgroups.c: Likewise.
25731 * stdio-common/reg-modifier.c: Include <stdlib.h>.
25732 * nss/nss_files/files-initgroups.c: Likewise.
25733 * nss/nss_db/db-netgrp.c: Likewise.
25734 * nss/nss_db/db-initgroups.c: Likewise.
25735 * io/fchmodat.c: Include <sys/stat.h>.
25737 * sysdeps/generic/ldsodefs.h (struct rtld_global): Use
25738 __rtld_lock_define_recursive macro instead of __rtld_lock_recursive_t.
25740 * intl/loadmsgcat.c (_nl_load_domain): Don't use MAP_FAILED outside of
25743 * bits/stat.h: Fix inclusion guard to accept _FCNTL_H too.
25744 Add multiple inclusion protection.
25746 2012-07-27 David S. Miller <davem@davemloft.net>
25748 * sysdeps/sparc/fpu/libm-test-ulps: Update.
25750 2012-07-27 Gary Benson <gbenson@redhat.com>
25753 * elf/rtld.c: Include <stap-probe.h>.
25754 (dl_main): Added static probes "init_start" and "init_complete".
25755 * elf/dl-load.c: Include <stap-probe.h>.
25756 (lose): Take new parameter "nsid".
25757 Added static probe "map_failed".
25758 (_dl_map_object_from_fd): Pass namespace id to lose.
25759 Added static probe "map_start".
25760 (open_verify): Pass namespace id to lose.
25761 * elf/dl-open.c: Include <stap-probe.h>.
25762 (dl_open_worker) Added static probes "map_complete", "reloc_start"
25763 and "reloc_complete".
25764 * elf/dl-close.c: Include <stap-probe.h>.
25765 (_dl_close_worker): Added static probes "unmap_start" and
25767 * elf/rtld-debugger-interface.txt: New file documenting the above.
25769 2012-07-26 Roland McGrath <roland@hack.frob.com>
25771 * sunrpc/rpc_hout.c (pdeclaration): Call f_print with a "%s" format
25772 rather than a string variable.
25773 * sunrpc/rpc_main.c (h_output): Likewise.
25774 * sunrpc/rpc_svcout.c (write_real_program): Likewise.
25776 2012-07-26 Pino Toscano <toscano.pino@tiscali.it>
25778 * inet/check_native.c: New file.
25780 2012-07-26 Joseph Myers <joseph@codesourcery.com>
25783 * math/s_clog.c (__clog): Use __log1p or direct log1p calculation
25784 if larger part has absolute value 1.0.
25785 * math/s_clog10.c (__clog10): Likewise.
25786 * math/s_clog10f.c (__clog10f): Likewise.
25787 * math/s_clog10l.c (__clog10l): Likewise.
25788 * math/s_clogf.c (__clogf): Likewise.
25789 * math/s_clogl.c (__clogl): Likewise.
25790 * math/libm-test.inc (clog_test): Add more tests.
25791 (clog10_test): Likewise.
25792 * sysdeps/i386/fpu/libm-test-ulps: Update.
25793 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25795 * elf/tst-auditmod1.c (pltenter): Remove all definitions of macro.
25796 (pltexit): Likewise.
25797 (La_regs): Likewise.
25798 (La_retval): Likewise.
25799 (int_retval): Likewise.
25800 Update #error for removed macros to refer only to definitions in
25802 * elf/tst-auditmod3b.c (pltenter): Remove all definitions of
25804 (pltexit): Likewise.
25805 (La_regs): Likewise.
25806 (La_retval): Likewise.
25807 (int_retval): Likewise.
25808 * elf/tst-auditmod4b.c (pltenter): Remove all definitions of
25810 (pltexit): Likewise.
25811 (La_regs): Likewise.
25812 (La_retval): Likewise.
25813 (int_retval): Likewise.
25814 * elf/tst-auditmod5b.c (pltenter): Remove all definitions of
25816 (pltexit): Likewise.
25817 (La_regs): Likewise.
25818 (La_retval): Likewise.
25819 (int_retval): Likewise.
25820 * elf/tst-auditmod6b.c (pltenter): Remove all definitions of
25822 (pltexit): Likewise.
25823 (La_regs): Likewise.
25824 (La_retval): Likewise.
25825 (int_retval): Likewise.
25826 * elf/tst-auditmod6c.c (pltenter): Remove all definitions of
25828 (pltexit): Likewise.
25829 (La_regs): Likewise.
25830 (La_retval): Likewise.
25831 (int_retval): Likewise.
25832 * elf/tst-auditmod7b.c (pltenter): Remove all definitions of
25834 (pltexit): Likewise.
25835 (La_regs): Likewise.
25836 (La_retval): Likewise.
25837 (int_retval): Likewise.
25838 * sysdeps/generic/tst-audit.h: Update comment to refer only to
25839 macro definitions in tst-audit.h.
25840 * sysdeps/i386/tst-audit.h: New file.
25841 * sysdeps/powerpc/powerpc32/tst-audit.h: Likewise.
25842 * sysdeps/powerpc/powerpc64/tst-audit.h: Likewise.
25843 * sysdeps/s390/s390-32/tst-audit.h: Likewise.
25844 * sysdeps/s390/s390-64/tst-audit.h: Likewise.
25845 * sysdeps/sh/tst-audit.h: Likewise.
25846 * sysdeps/sparc/sparc32/tst-audit.h: Likewise.
25847 * sysdeps/sparc/sparc64/tst-audit.h: Likewise.
25848 * sysdeps/x86_64/tst-audit.h: Likewise.
25850 2012-07-26 Andreas Jaeger <aj@suse.de>
25852 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Add __THROW for
25855 * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes): Add
25856 new value PTRACE_EVENT_SECCOMP from Linux 3.5.
25857 (__ptrace_setoptions): Add new value PTRACE_O_TRACESECCOMP, adjust
25859 * sysdeps/unix/sysv/linux/s390/bits/ptrace.h: Likewise.
25860 * sysdeps/unix/sysv/linux/sparc/bits/ptrace.h: Likewise.
25861 * sysdeps/unix/sysv/linux/powerpc/bits/ptrace.h: Likewise.
25863 * sysdeps/unix/sysv/linux/sys/epoll.h (EPOLLWAKEUP): Add new
25866 * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add
25868 (si_call_addr, si_syscall, si_arch): Define new macro.
25869 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Add
25871 (si_call_addr, si_syscall, si_arch): Define new marcro.
25872 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (siginfo_t): Add
25874 (si_call_addr, si_syscall, si_arch): Define new macro.
25875 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (struct): Add
25877 (si_call_addr, si_syscall, si_arch): Define new macro.
25879 2012-07-25 Joseph Myers <joseph@codesourcery.com>
25882 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
25883 Change to 2.4.21 where previously 2.4.1.
25884 * sysdeps/unix/sysv/linux/configure: Regenerated.
25885 * sysdeps/unix/sysv/linux/kernel-features.h [(__powerpc__ ||
25886 __sh__) && !__powerpc64__] (__ASSUME_FCNTL64): Do not condition on
25887 Linux kernel version.
25888 (__ASSUME_STD_AUXV): Remove.
25889 [__powerpc__] (__ASSUME_VFORK_SYSCALL): Do not condition on Linux
25891 [__powerpc__ && !__powerpc64] (__ASSUME_MMAP2_SYSCALL): Likewise.
25892 (__ASSUME_NEW_PRCTL_SYSCALL): Remove.
25893 (__ASSUME_FIXED_CLONE_SYSCALL): Likewise.
25894 (__ASSUME_NEW_RT_SIGRETURN_SYSCALL): Likewise.
25895 (__ASSUME_NETLINK_SUPPORT): Likewise.
25896 * nscd/gai.c [NEED_NETLINK && __ASSUME_NETLINK_SUPPORT == 0]
25897 (__no_netlink_support): Remove conditional definition.
25898 * sysdeps/unix/sysv/linux/check_pf.c (__no_netlink_support):
25900 (__check_pf) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
25901 [__ASSUME_NETLINK_SUPPORT]: Make code unconditional.
25902 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_NETLINK_SUPPORT]
25903 (if_nameindex_ioctl): Remove.
25904 (if_nameindex_netlink): Do not handle __no_netlink_support.
25905 (if_nameindex) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
25907 * sysdeps/unix/sysv/linux/ifaddrs.c [!__ASSUME_NETLINK_SUPPORT]:
25908 Remove conditional code.
25909 (__netlink_open) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
25911 (getifaddrs_internal) [__ASSUME_NETLINK_SUPPORT]: Make code
25913 [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
25914 [__ASSUME_NETLINK_SUPPORT] (freeifaddrs): Make code unconditional.
25915 * sysdeps/unix/sysv/linux/netlinkaccess.h (__no_netlink_support):
25917 * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c
25918 [!__ASSUME_STD_AUXV]: Remove conditional code.
25919 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone)
25920 [!__ASSUME_FIXED_CLONE_SYSCALL]: Remove conditional code.
25921 [__ASSUME_FIXED_CLONE_SYSCALL]: Make code unconditional.
25922 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c
25923 [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_mask_handler): Remove.
25924 (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
25926 [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
25927 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
25928 [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_nomask_handler): Remove.
25929 (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
25931 [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
25932 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
25933 (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
25935 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
25936 (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
25938 * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S
25939 (__novec_getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
25940 code unconditional.
25941 (__novec_getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
25943 (__getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
25945 (__getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
25947 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
25948 (__makecontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
25950 (__makecontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
25952 * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S
25953 (__novec_setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
25954 code unconditional.
25955 (__novec_setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
25957 (__setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
25959 (__setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
25961 * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S
25962 (__novec_swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
25963 code unconditional.
25964 (__novec_swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
25966 (__swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
25968 (__swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
25971 2012-07-25 Andreas Schwab <schwab@linux-m68k.org>
25973 * sysdeps/unix/sysv/linux/i386/accept4.S: Remove pseudo_end label.
25974 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: Likewise.
25975 * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
25976 * sysdeps/unix/sysv/linux/i386/epoll_pwait.S: Likewise.
25977 * sysdeps/unix/sysv/linux/i386/getcontext.S: Likewise.
25978 * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
25979 * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
25980 * sysdeps/unix/sysv/linux/i386/semtimedop.S: Likewise.
25981 * sysdeps/unix/sysv/linux/i386/setcontext.S: Likewise.
25982 * sysdeps/unix/sysv/linux/i386/socket.S: Likewise.
25983 * sysdeps/unix/sysv/linux/i386/swapcontext.S: Likewise.
25984 * sysdeps/unix/sysv/linux/i386/syscall.S: Likewise.
25985 * sysdeps/unix/sysv/linux/i386/sysdep.h (PSEUDO): Likewise.
25986 * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
25987 * sysdeps/unix/sysv/linux/x86_64/clone.S: Likewise.
25988 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Likewise.
25989 * sysdeps/unix/sysv/linux/x86_64/setcontext.S: Likewise.
25990 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Likewise.
25991 * sysdeps/unix/sysv/linux/x86_64/syscall.S: Likewise.
25992 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PSEUDO): Likewise.
25993 * sysdeps/unix/sysv/linux/x86_64/swapcontext.S: Likewise.
25994 * sysdeps/unix/sysv/linux/x86_64/vfork.S: Likewise.
25995 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
25997 2012-07-25 Florian Weimer <fweimer@redhat.com>
25999 * Versions.def: Add GLIBC_2.17.
26000 * stdlib/stdlib.h: Rename __secure_getenv to secure_getenv.
26001 * include/stdlib.h: Rename __secure_getenv to secure_getenv.
26002 Introduce __libc_secure_getenv.
26003 * stdlib/Versions (2.17): Add secure_getenv
26004 (GLIBC_PRIVATE): Add __libc_secure_getenv.
26005 * stdlib/secure-getenv.c: Rename __secure_getenv to
26006 __libc_secure_getenv. Add secure_getenv alias. Add compatibility
26007 symbol __secure_getenv for GLIBC_2.0.
26008 * stdlib/tst-secure-getenv.c: New.
26009 * stdlib/Makefile (tests): Add testcase.
26010 * manual/startup.texi (Environment Access): Document
26012 * hesiod/hesiod.c (hesiod_init): Rename __secure_getenv to
26013 __libc_secure_getenv.
26014 * inet/ruserpass.c (ruserpass): Likewise.
26015 * malloc/mtrace.c (mtrace): Likewise.
26016 * sysdeps/mach/hurd/tmpfile.c (__tmpfile): Likewise.
26017 * sysdeps/posix/libc_fatal.c (__libc_fatal): Likewise.
26018 * sysdeps/posix/sysconf.c (__sysconf__check_spec): Likewise.
26019 * sysdeps/posix/tempname.c: Likewise. Evaluate
26020 HAVE_SECURE_GETENV.
26021 * sysdeps/unix/sysv/linux/libc_fatal.c (__libc_message): Rename
26022 __secure_getenv to __libc_secure_getenv.
26023 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add secure_getenv.
26024 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
26026 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
26028 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
26029 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
26030 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
26031 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
26032 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
26033 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
26034 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
26036 2012-07-25 Joseph Myers <joseph@codesourcery.com>
26038 * sysdeps/generic/ldsodefs.h (struct La_i86_regs): Remove.
26039 (struct La_i86_retval): Likewise.
26040 (struct La_x86_64_regs): Likewise.
26041 (struct La_x86_64_retval): Likewise.
26042 (struct La_x32_regs): Likewise.
26043 (struct La_x32_retval): Likewise.
26044 (struct La_ppc32_regs): Likewise.
26045 (struct La_ppc32_retval): Likewise.
26046 (struct La_ppc64_regs): Likewise.
26047 (struct La_ppc64_retval): Likewise.
26048 (struct La_sh_regs): Likewise.
26049 (struct La_sh_retval): Likewise.
26050 (struct La_s390_32_regs): Likewise.
26051 (struct La_s390_32_retval): Likewise.
26052 (struct La_s390_64_regs): Likewise.
26053 (struct La_s390_64_retval): Likewise.
26054 (struct La_sparc32_regs): Likewise.
26055 (struct La_sparc32_retval): Likewise.
26056 (struct La_sparc64_regs): Likewise.
26057 (struct La_sparc64_retval): Likewise.
26058 (struct audit_ifaces): Remove architecture-specific pltenter and
26060 * sysdeps/i386/ldsodefs.h: New file.
26061 * sysdeps/powerpc/ldsodefs.h: Likewise.
26062 * sysdeps/s390/ldsodefs.h: Likewise.
26063 * sysdeps/sh/ldsodefs.h: Likewise.
26064 * sysdeps/sparc/ldsodefs.h: Likewise.
26065 * sysdeps/x86_64/ldsodefs.h: Likewise.
26067 2012-07-25 Marek Polacek <polacek@redhat.com>
26070 * math/libm-test.inc (yn_test): Add another test.
26071 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Set errno
26072 to ERANGE when the result is +-Inf.
26073 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
26074 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_ynf): Likewise.
26075 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Likewise.
26076 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_yn): Likewise.
26078 2012-07-24 Joseph Myers <joseph@codesourcery.com>
26080 * conform/data/time.h-data (NULL): Use macro-constant. Require
26082 (CLOCKS_PER_SEC): Use macro instead of constant. Specify type as
26084 [ISO11] (TIME_UTC): Use macro-int-constant. Require value > 0.
26086 2012-07-23 Thomas Schwinge <thomas@codesourcery.com>
26088 * configure.in <sysdeps resolving>: Correct printing
26090 * configure: Regenerate.
26092 2012-07-22 Thomas Schwinge <thomas@codesourcery.com>
26094 * math/w_ilogb.c: Include <limits.h>.
26095 * math/w_ilogbl.c: Likewise.
26097 2012-07-20 Joseph Myers <joseph@codesourcery.com>
26099 * manual/lang.texi (__va_copy): Document primarily as ISO C99
26100 va_copy. Document allowing for unavailable va_copy only as
26101 pre-C99 compatibility.
26102 * manual/string.texi (Copying and Concatenation): Use va_copy
26103 instead of __va_copy in concat example.
26105 2012-07-20 Pino Toscano <toscano.pino@tiscali.it>
26107 * sysdeps/mach/hurd/sendto.c (create_address_port): New subroutine.
26108 (__sendto): Use create_address_port. Initialize APORT and deallocate
26111 * sysdeps/mach/hurd/llistxattr.c: New file, copied from listxattr.c
26112 with O_NOLINK passed to __file_name_lookup.
26114 * sysdeps/mach/hurd/lremovexattr.c: New file, copied from removexattr.c
26115 with O_NOLINK passed to __file_name_lookup.
26117 * sysdeps/mach/hurd/getgroups.c: Return -1 and set EINVAL for
26118 negative N or less than NGIDS.
26120 * sysdeps/mach/hurd/getlogin_r.c: Make LOGIN non-static and change its
26121 type to string_t. Set ERANGE as errno and return it if NAME is not big
26122 enough. Use memcpy instead of strncpy.
26124 2012-07-20 Joseph Myers <joseph@codesourcery.com>
26126 * elf/Makefile (check-data): Remove.
26127 (localplt.data): New vpath directive.
26128 ($(objpfx)check-localplt.out): Use localplt.data from vpath
26129 instead of $(check-data).
26130 * scripts/data/localplt-generic.data: Move to ...
26131 * sysdeps/generic/localplt.data: ... here.
26132 * scripts/data/localplt-i386-linux-gnu.data: Move to ...
26133 * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: ... here.
26134 * scripts/data/localplt-powerpc-linux-gnu.data: Move to ...
26135 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
26137 * scripts/data/localplt-powerpc64-linux-gnu.data: Move to ...
26138 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
26140 * scripts/data/localplt-s390-linux-gnu.data: Move to ...
26141 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data:
26143 * scripts/data/localplt-s390x-linux-gnu.data: Move to ...
26144 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
26146 * scripts/data/localplt-sparc-linux-gnu.data: Move to ...
26147 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data:
26149 * scripts/data/localplt-sparc64-linux-gnu.data: Move to ...
26150 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data:
26153 2012-07-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
26155 * sysdeps/powerpc/tls-macros.h: Split PowerPC definitions in
26156 PPC32 and PPC64 files.
26157 * sysdeps/powerpc/powerpc32/tls-macros.h: New file.
26158 * sysdeps/powerpc/powerpc64/tls-macros.h: Likewise.
26160 2012-07-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
26162 * sysdeps/unix/sysv/linux/s390/s390-32/makecontext.c: Move
26163 __makecontext_ret to ...
26164 * sysdeps/unix/sysv/linux/s390/s390-32/__makecontext_ret.S:
26165 ... here and call exit if uc_link is NULL. New file.
26166 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile: Add
26167 __makecontext_ret.S.
26168 * sysdeps/unix/sysv/linux/s390/s390-64/makecontext.c: Move
26169 __makecontext_ret to ...
26170 * sysdeps/unix/sysv/linux/s390/s390-64/__makecontext_ret.S:
26171 ... here and call exit if uc_link is NULL. New file.
26172 * sysdeps/unix/sysv/linux/s390/s390-64/Makefile: Add
26173 __makecontext_ret.S.
26175 2012-07-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
26177 * elf/elf.h (R_390_IRELATIVE): New definition.
26178 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Invoke the
26179 resolver function for IFUNC symbols. Support R_390_IRELATIVE.
26180 (elf_machine_lazy_rel): Support R_390_IRELATIVE.
26181 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
26182 (elf_machine_lazy_rel): Likewise.
26183 * sysdeps/s390/dl-irel.h: New file.
26184 * sysdeps/s390/s390-64/memcpy.S: New asm code.
26185 * sysdeps/s390/s390-64/memset.S: New asm code.
26186 * sysdeps/s390/s390-64/memcmp.S: New asm code.
26187 * sysdeps/s390/s390-64/multiarch/memset.S: New file.
26188 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: New file.
26189 * sysdeps/s390/s390-64/multiarch/memcmp.S: New file.
26190 * sysdeps/s390/s390-64/multiarch/memcpy.S: New file.
26191 * sysdeps/s390/s390-64/multiarch/Makefile: New file.
26192 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: New file.
26193 * sysdeps/s390/s390-32/multiarch/Makefile: New file.
26194 * sysdeps/s390/s390-32/multiarch/memcmp.S: New file.
26195 * sysdeps/s390/s390-32/multiarch/memcpy.S: New file.
26196 * sysdeps/s390/s390-32/multiarch/memset.S: New file.
26197 * sysdeps/s390/s390-32/memcpy.S: New asm code.
26198 * sysdeps/s390/s390-32/memset.S: New asm code.
26199 * sysdeps/s390/s390-32/memcmp.S: New asm code.
26201 2012-07-17 Marek Polacek <polacek@redhat.com>
26204 * sysdeps/s390/s390-32/configure.in: Remove TLS check.
26205 * sysdeps/s390/s390-64/configure.in: Likewise.
26206 * sysdeps/sparc/configure.in: Likewise.
26207 * sysdeps/powerpc/powerpc32/configure.in: Likewise.
26208 * sysdeps/powerpc/powerpc64/configure.in: Likewise.
26209 * sysdeps/i386/configure.in: Likewise.
26210 * sysdeps/x86_64/configure.in: Likewise.
26211 * sysdeps/sh/configure.in: Likewise.
26212 * sysdeps/s390/s390-32/configure: Regenerated.
26213 * sysdeps/s390/s390-64/configure: Likewise.
26214 * sysdeps/x86_64/configure: Likewise.
26215 * sysdeps/sh/configure: Likewise.
26216 * sysdeps/powerpc/powerpc64/configure: Likewise.
26217 * sysdeps/powerpc/powerpc32/configure: Likewise.
26218 * sysdeps/sparc/configure: Likwise.
26219 * sysdeps/i386/configure: Likewise.
26221 * elf/dl-open.c: Comment fixes.
26223 2012-07-17 Joseph Myers <joseph@codesourcery.com>
26225 * Makefile [CXX] (check-data): Remove.
26226 [CXX] (c++-types.data): New vpath directive.
26227 [CXX] ($(objpfx)c++-types-check.out): Use c++-types.data from
26228 vpath. Do not allow for C++ type data being missing.
26229 * scripts/data/c++-types-alpha-linux-gnu.data: Move to
26230 ports/sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data.
26231 * scripts/data/c++-types-ia64-linux-gnu.data: Move to
26232 ports/sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data.
26233 * scripts/data/c++-types-i386-linux-gnu.data: Move to ...
26234 * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: ... here.
26235 * scripts/data/c++-types-powerpc-linux-gnu.data: Move to ...
26236 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
26238 * scripts/data/c++-types-powerpc64-linux-gnu.data: Move to ...
26239 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
26241 * scripts/data/c++-types-s390-linux-gnu.data: Move to ...
26242 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data:
26244 * scripts/data/c++-types-s390x-linux-gnu.data: Move to ...
26245 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data:
26247 * scripts/data/c++-types-sparc-linux-gnu.data: Move to ...
26248 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data:
26250 * scripts/data/c++-types-sparc64-linux-gnu.data: Move to ...
26251 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data:
26253 * scripts/data/c++-types-x32-linux-gnu.data: Move to ...
26254 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data:
26256 * scripts/data/c++-types-x86_64-linux-gnu.data: Move to ...
26257 * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: ... here.
26259 * elf/tls-macros.h (TLS_LE): Move architecture-specific
26260 definitions to architecture-specific files.
26261 (TLS_IE): Likewise.
26262 (TLS_LD): Likewise.
26263 (TLS_GD): Likewise.
26264 * sysdeps/i386/tls-macros.h: New file.
26265 * sysdeps/powerpc/tls-macros.h: Likewise.
26266 * sysdeps/s390/s390-32/tls-macros.h: Likewise.
26267 * sysdeps/s390/s390-64/tls-macros.h: Likewise.
26268 * sysdeps/sh/tls-macros.h: Likewise.
26269 * sysdeps/sparc/sparc32/tls-macros.h: Likewise.
26270 * sysdeps/sparc/sparc64/tls-macros.h: Likewise.
26271 * sysdeps/x86_64/tls-macros.h: Likewise.
26273 2012-07-17 Thomas Schwinge <thomas@codesourcery.com>
26275 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Preserve
26276 zero value for regular exit case.
26278 * sysdeps/unix/sysv/linux/x86_64/__start_context.S
26279 (__start_context): Preserve zero value for regular exit case.
26281 2012-07-17 Thomas Schwinge <thomas@codesourcery.com>
26282 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
26284 * manual/setjmp.texi (setcontext): Clarify normal process
26285 termination when uc_link is the null pointer.
26286 * stdlib/tst-makecontext.c (cf): Exercise this: remove explicit
26289 2012-07-16 Andreas Schwab <schwab@linux-m68k.org>
26291 * stdlib/bug-getcontext.c (do_test): Don't test FE_ALL_EXCEPT in
26292 preprocessor. Test for each exception mask separately.
26294 2012-07-16 Andreas Jaeger <aj@suse.de>
26296 * po/ru.po: Update from translation team.
26298 2012-07-15 Joseph Myers <joseph@codesourcery.com>
26300 * conform/data/string.h-data (NULL): Use macro-constant. Require
26302 [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
26303 (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
26304 (wcs*): Change to wcs[abcdefghijklmnopqrstuvwxyz]*.
26305 (mem[abcdefghijklmnopqrstuvwxyz]*): Allow.
26306 [ISO || ISO99 || ISO11] (*_t): Do not allow.
26308 2012-07-13 Andreas Jaeger <aj@suse.de>
26310 * po/fr.po: Update from translation team.
26312 2012-07-12 Marek Polacek <polacek@redhat.com>
26315 * math/libm-test.inc (yn_test): Add test for BZ #14173.
26316 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Correct
26319 2012-07-12 Joseph Myers <joseph@codesourcery.com>
26322 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
26323 Change to 2.4.1 where previously 2.4.0.
26324 * sysdeps/unix/sysv/linux/configure: Regenerated.
26325 * sysdeps/unix/sysv/linux/kernel-features.h [!__sh__]
26326 (__ASSUME_ST_INO_64_BIT): Do not condition definition on kernel
26328 [__i386__ || __sparc__] (__ASSUME_FCNTL64): Likewise.
26329 (__ASSUME_AT_CLKTCK): Remove.
26330 (__ASSUME_AT_PAGESIZE): Likewise.
26331 (__ASSUME_AT_XID): Likewise.
26332 (__ASSUME_GETDENTS64_SYSCALL): Define unconditionally.
26333 [__i386__] (__ASSUME_VFORK_SYSCALL): Define unconditionally.
26334 * sysdeps/unix/sysv/linux/ldsodefs.h (HAVE_AUX_XID): Define
26336 (HAVE_AUX_PAGESIZE): Likewise.
26337 * sysdeps/unix/sysv/linux/prof-freq.c (__profile_frequency)
26338 [__ASSUME_AT_CLKTCK]: Make code unconditional.
26339 [!__ASSUME_AT_CLKTCK]: Remove conditional code.
26341 2012-07-12 Jeroen van Bemmel <jvb127@gmail.com>
26344 * sysdeps/posix/getaddrinfo.c (gaih_inet): Increase the size of
26345 the temporary buffer used to invoke __gethostbyname2_r,
26346 __gethostbyaddr_r and gethostbyname4_r to make room for struct
26347 host_data / struct gaih_addrtuple.
26348 * resolv/nss_dns/dns-host.c (global scope): Move definition of
26349 implementation constants MAX_NR_ALIASES and MAX_NR_ADDRS to
26350 header file nss/nsswitch.h.
26351 * nss/nsswitch.h (global scope): Add definition of implementation
26352 constants MAX_NR_ALIASES and MAX_NR_ADDRS (moved from
26353 resolv/nss_dns/dns-host.c).
26355 2012-07-11 Andreas Jaeger <aj@suse.de>
26357 * po/fr.po: Update from translation team.
26359 * po/sv.po: Update from translation team
26360 * po/fr.po: Another update from translation team.
26362 2012-07-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
26364 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Do not call sinh and cosh
26365 for subnormals or multiply small sinh result by itself.
26366 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
26367 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
26369 2012-07-11 David S. Miller <davem@davemloft.net>
26371 * sysdeps/sparc/fpu/libm-test-ulps: Update.
26373 2012-07-10 Andreas Schwab <schwab@linux-m68k.org>
26376 * misc/sys/syslog.h (LOG_MAKEPRI): Don't shift first argument.
26377 (INTERNAL_MARK): Shift it here.
26379 2012-07-10 Marek Polacek <polacek@redhat.com>
26382 * configure.in (libc_cv_asm_global_directive): Remove test. Replace
26383 libc_cv_asm_global_directive with .globl.
26384 * configure: Regenerated.
26385 * sysdeps/i386/configure.in: Replace libc_cv_asm_global_directive
26387 * sysdeps/i386/configure: Regenerated.
26388 * sysdeps/x86_64/configure.in: Replace libc_cv_asm_global_directive
26390 * sysdeps/x86_64/configure: Regenerated.
26391 * config.h.in: Do not undefine ASM_GLOBAL_DIRECTIVE.
26392 * include/libc-symbols.h: Replace ASM_GLOBAL_DIRECTIVE with .globl.
26393 * elf/tst-unique2mod2.c: Likewise.
26394 * elf/tst-unique2mod1.c: Likewise.
26395 * elf/tst-unique1mod2.c: Likewise.
26396 * elf/tst-unique1mod1.c: Likewise.
26397 * sysdeps/s390/s390-32/sysdep.h: Likewise.
26398 * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
26399 * sysdeps/s390/s390-64/sysdep.h: Likewise.
26400 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
26401 * sysdeps/mach/sysdep.h: Likewise.
26402 * sysdeps/i386/sysdep.h: Likewise.
26403 * sysdeps/i386/i386-mcount.S: Likewise.
26404 * sysdeps/x86_64/_mcount.S: Likewise.
26405 * sysdeps/x86_64/sysdep.h: Likewise.
26406 * sysdeps/sh/_mcount.S: Likewise.
26407 * sysdeps/sh/sysdep.h: Likewise.
26408 * sysdeps/powerpc/powerpc32/gprsave1.S: Likewise.
26409 * sysdeps/powerpc/powerpc32/fpu/fprrest.S: Likewise.
26410 * sysdeps/powerpc/powerpc32/fpu/fprsave.S: Likewise.
26411 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
26412 * sysdeps/powerpc/powerpc32/gprrest1.S: Likewise.
26413 * sysdeps/powerpc/powerpc32/gprsave0.S: Likewise.
26414 * sysdeps/powerpc/powerpc32/gprrest0.S: Likewise.
26415 * locale/localeinfo.h: Likewise.
26416 (_NL_CURRENT_DEFINE_STRINGIFY): Delete macro.
26417 (_NL_CURRENT_DEFINE_STRINGIFY_1): Likewise.
26419 2012-07-09 Roland McGrath <roland@hack.frob.com>
26422 * manual/charset.texi (Extended Char Intro): Word use fix, "operating
26424 * manual/message.texi (The Uniforum approach): Likewise.
26425 * manual/charset.texi (Extended Char Intro): Spelling fix, "affected".
26426 (glibc iconv Implementation): Likewise.
26428 2012-07-09 Joseph Myers <joseph@codesourcery.com>
26431 * math/s_clog.c (__clog): Avoid scaling a value down where that
26432 could result in underflow.
26433 * math/s_clog10.c (__clog10): Likewise.
26434 * math/s_clog10f.c (__clog10f): Likewise.
26435 * math/s_clog10l.c (__clog10l): Likewise.
26436 * math/s_clogf.c (__clogf): Likewise.
26437 * math/s_clogl.c (__clogl): Likewise.
26438 * math/libm-test.inc (clog_test): Add more tests.
26439 (clog10_test): Likewise.
26440 * sysdeps/i386/fpu/libm-test-ulps: Update.
26441 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26443 2012-07-06 Andreas Schwab <schwab@linux-m68k.org>
26446 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Shift
26447 by 7 not 8 to examine high bit of fractional part.
26450 * sysdeps/powerpc/powerpc32/ppc-mcount.S [SHARED]: Don't use PLT
26451 for call to __mcount_internal.
26452 * sysdeps/powerpc/powerpc32/Makefile (sysdep_routines)
26453 (shared-only-routines) [$(subdir) = gmon]: Add compat-ppc-mcount.
26454 * sysdeps/powerpc/powerpc32/compat-ppc-mcount.S: New file.
26456 2012-07-06 Joseph Myers <joseph@codesourcery.com>
26459 * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Use linear
26460 approximation for values within 0x1p-13f of an odd multiple of
26462 * math/libm-test.inc (tan_test): Do not allow spurious underflow
26463 exception. Add more tests.
26464 * sysdeps/i386/fpu/libm-test-ulps: Update.
26467 * sysdeps/i386/fpu/s_expm1.S (__expm1): Check for large negative
26468 inputs and return -1 for them. Do not check for +Inf in case not
26469 reachable for +Inf.
26470 * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
26471 * sysdeps/i386/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not define.
26472 (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
26473 and return -1 for them. Do not check for +Inf in case not
26474 reachable for +Inf.
26475 * sysdeps/x86_64/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not
26477 (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
26478 and return -1 for them. Do not check for +Inf in case not
26479 reachable for +Inf.
26480 * math/libm-test.inc (expm1_test): Add more tests. Do not allow
26481 spurious underflow.
26482 * sysdeps/i386/fpu/libm-test-ulps: Update.
26483 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26485 2012-07-06 Mike Frysinger <vapier@gentoo.org>
26487 * sunrpc/rpc_clntout.c: Change <rpc/types.h> to "rpc/types.h".
26489 2012-07-05 Joseph Myers <joseph@codesourcery.com>
26493 * math/s_csqrt.c (__csqrt): Avoid multiplying by 0.5 where this
26494 could result in spurious underflow. Scale down values above
26495 DBL_MAX / 4.0 instead of DBL_MAX / 2.0.
26496 * math/s_csqrtf.c (__csqrtf): Likewise.
26497 * math/s_csqrtl.c (__csqrtl): Likewise.
26498 * math/libm-test.inc (csqrt_test): Add more tests. Do not allow
26499 spurious underflow.
26500 * sysdeps/i386/fpu/libm-test-ulps: Update.
26501 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26503 2012-07-04 Andreas Schwab <schwab@linux-m68k.org>
26505 * catgets/Makefile ($(objpfx)de.msg): Use xopen-msg.awk instead of
26507 * catgets/xopen-msg.awk: New file.
26508 * catgets/xopen-msg.sed: Removed.
26510 * intl/Makefile ($(objpfx)msgs.h): Use po2test.awk instead of
26512 * intl/po2test.awk: New file.
26513 * intl/po2test.sed: Removed.
26515 2012-07-04 Joseph Myers <joseph@codesourcery.com>
26518 * math/s_ctan.c (__ctan): Do not call sinh and cosh for subnormals
26519 or multiply small sinh result by itself.
26520 * math/s_ctanf.c (__ctanf): Likewise.
26521 * math/s_ctanh.c (__ctanh): Likewise.
26522 * math/s_ctanhf.c (__ctanhf): Likewise.
26523 * math/s_ctanhl.c (__ctanhl): Likewise.
26524 * math/s_ctanl.c (__ctanl): Likewise.
26525 * math/libm-test.inc (ctan_test_tonearest): New function.
26526 (ctan_test_towardzero): Likewise.
26527 (ctan_test_downward): Likewise.
26528 (ctan_test_upward): Likewise.
26529 (ctanh_test_tonearest): Likewise.
26530 (ctanh_test_towardzero): Likewise.
26531 (ctanh_test_downward): Likewise.
26532 (ctanh_test_upward): Likewise.
26533 (main): Call these new functions.
26534 * sysdeps/i386/fpu/libm-test-ulps: Update.
26535 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26537 2012-07-03 Mike Frysinger <vapier@gentoo.org>
26539 * .gitignore: Delete /ports entry.
26541 2012-07-03 Andreas Jaeger <aj@suse.de>
26543 * po/bg.po: Update from translation team.
26544 * po/cs.po: Likewise.
26545 * po/de.po: Likewise.
26546 * po/hr.po: Likewise.
26547 * po/nl.pl: Likewise.
26548 * po/pl.po: Likewise.
26549 * po/vi.po: Likewise.
26551 2012-07-03 Joseph Myers <joseph@codesourcery.com>
26553 * Makeconfig [!+link] (+link-before-libc): New variable.
26554 [!+link] (+link-after-libc): Likewise.
26555 [!+link] (+link-tests): Likewise.
26556 [!+link] (+link): Define in terms of $(+link-before-libc) and
26557 $(+link-after-libc).
26558 [!+link-static] (+link-static-before-libc): New variable.
26559 [!+link-static] (+link-static-after-libc): Likewise.
26560 [!+link-static] (+link-static-tests): Likewise.
26561 [!+link-static] (+link-static): Define in terms of
26562 $(+link-static-before-libc) and $(+link-static-after-libc).
26563 [build-shared] (link-libc-before-gnulib): New variable.
26564 [build-shared] (link-libc-tests): Likewise.
26565 [build-shared] (link-libc): Define in terms of
26566 $(link-libc-before-gnulib).
26567 [!build-shared] (link-libc-tests): New variable.
26568 (link-libc-static-tests): New variable.
26569 [!gnulib] (gnulib-arch): New variable.
26570 [!gnulib] (gnulib-tests): Likewise.
26571 [!gnulib] (static-gnulib-arch): Likewise.
26572 [!gnulib] (static-gnulib-tests): Likewise.
26573 [!gnulib] (gnulib): Use $(gnulib-arch). Do not use $(libgcc_eh).
26574 Define with "=" instead of ":=".
26575 [!gnulib] (static-gnulib): Use $(static-gnulib-arch). Do not use
26576 -lgcc_eh $(libunwind). Define with "=" instead of ":=".
26577 * Rules (binaries-all-notests): New variable.
26578 (binaries-all-tests): Likewise.
26579 (binaries-static-notests): Likewise.
26580 (binaries-static-tests): Likewise.
26581 (binaries-all): Define using $(binaries-all-notests) and
26582 $(binaries-all-tests).
26583 (binaries-static): Define using $(binaries-static-notests) and
26584 $(binaries-static-tests).
26585 (binaries-shared-tests): New variable.
26586 (binaries-shared-notests): Likewise.
26587 (binaries-shared): Remove variable.
26588 ($(addprefix $(objpfx),$(binaries-shared-notests))): New rule.
26589 ($(addprefix $(objpfx),$(binaries-shared-tests))): Likewise.
26590 ($(addprefix $(objpfx),$(binaries-shared))): Remove rule.
26591 ($(addprefix $(objpfx),$(binaries-static-notests))): New rule.
26592 ($(addprefix $(objpfx),$(binaries-static-tests))): Likewise.
26593 ($(addprefix $(objpfx),$(binaries-static))): Remove rule.
26594 * elf/Makefile (sln-modules): New variable.
26595 (extra-objs): Add $(sln-modules:=.o).
26596 (ldconfig-modules): Add static-stubs.
26597 ($(objpfx)sln): Depend on $(sln-modules:%=$(objpfx)%.o).
26598 * elf/static-stubs.c: New file.
26601 * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f): Shift
26602 by 7 not 8 to examine high bit of fractional part. Use volatile
26603 variables when splitting into final array of floats if
26604 __FLT_EVAL_METHOD__ != 0.
26605 * math/libm-test.inc (cos_test): Add another test.
26606 (sin_test): Likewise.
26607 * sysdeps/i386/fpu/libm-test-ulps: Update.
26610 * math/libm-test.inc (cosh_test): Add more tests.
26612 * version.h (RELEASE): Set to "development".
26613 (VERSION): Set to "2.16.90".
26615 2012-06-30 Carlos O'Donell <carlos_odonell@mentor.com>
26617 * NEWS: Update copyright. Remove last-updated date.
26618 Mention math library bug fixes and timezone data changes.
26619 * README: Mention GNU/Hurd, x32, and HPPA support status.
26621 2012-06-28 Thomas Schwinge <thomas@codesourcery.com>
26623 * manual/contrib.texi (Contributors): Sort alphabetically by last name.
26625 2012-06-27 Andreas Jaeger <aj@suse.de>
26627 * manual/contrib.texi (Contributors): Add Samuel Thibault.
26629 2012-06-25 Andreas Jaeger <aj@suse.de>
26631 * sysdeps/s390/fpu/libm-test-ulps: Update.
26633 2012-06-23 Andreas Schwab <schwab@linux-m68k.org>
26634 Thomas Schwinge <thomas@codesourcery.com>
26636 * sysdeps/unix/sysv/linux/sh/syscalls.list: Add fanotify_mark.
26637 * sysdeps/unix/sysv/linux/sh/Versions (GLIBC_2.16): Add fanotify_mark.
26638 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist (GLIBC_2.16): Add
26641 2012-06-23 Thomas Schwinge <thomas@codesourcery.com>
26643 * sysdeps/mach/start.c: Remove file.
26644 * sysdeps/mach/hurd/i386/static-start.S: Fix start.S include.
26645 * sysdeps/i386/init-first.c: Fix comment regarding start.S.
26646 * sysdeps/sh/init-first.c: Likewise.
26648 * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Preserve r12 and pr
26649 registers for frame unwinding purposes, add CFI directives.
26650 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
26651 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Likewise
26652 * sysdeps/unix/sysv/linux/sh/sysdep.h (SYSCALL_ERROR_HANDLER):
26655 * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Don't plan for the call to
26656 __fortify_fail returning.
26657 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
26659 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S: New file, based on
26660 sysdeps/sh/____longjmp_chk.S.
26661 * sysdeps/unix/sysv/linux/sh/sigaltstack-offsets.sym: New file, based
26662 on sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym.
26663 * sysdeps/unix/sysv/linux/sh/Makefile [subdir=misc]
26664 (gen-as-const-headers): Append sigaltstack-offsets.sym.
26666 * sysdeps/sh/abort-instr.h: New file.
26667 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Terminate the
26668 process in case exit returns.
26670 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Always
26671 initialize the GOT register before use.
26673 * sysdeps/unix/sysv/linux/sh/makecontext.S (__makecontext): Fix
26674 calculation of ARGC > 4.
26676 * sysdeps/unix/sysv/linux/sh/makecontext.S: Add comments and give more
26677 meaningful names to some local labels.
26679 2012-06-22 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
26680 Kaz Kojima <kkojima@rr.iij4u.or.jp>
26682 * sysdeps/unix/sysv/linux/sh/bits/atomic.h
26683 (__arch_compare_and_exchange_val_8_acq): Remove explicit nop.
26684 (__arch_compare_and_exchange_val_16_acq): Likewise.
26685 (__arch_compare_and_exchange_val_32_acq): Likewise.
26686 (atomic_exchange_and_add): Fix gUSA sequence.
26687 (atomic_add): Likewise.
26688 (atomic_add_negative): Likewise.
26689 (atomic_add_zero): Likewise.
26690 (atomic_bit_test_set): Likewise.
26692 2012-06-22 Andreas Schwab <schwab@redhat.com>
26695 * include/link.h (struct link_map): Add l_free_initfini.
26696 * elf/dl-deps.c (_dl_map_object_deps): Set it when assigning
26698 * elf/dl-close.c (_dl_close_worker): Don't free l_initfini.
26699 * elf/rtld.c (dl_main): Clear it on all objects loaded on startup.
26700 * elf/dl-libc.c (free_mem): Free l_initfini if l_free_initfini is
26703 2012-06-22 Carlos O'Donell <carlos_odonell@mentor.com>
26705 * configure.in: Use AC_LANG_SOURCE.
26706 * configure: Regenerate.
26708 2012-06-22 Roland McGrath <roland@hack.frob.com>
26710 * configure.in (libc_cv_localstatedir): New substituted variable.
26711 * configure: Regenerated.
26712 * config.make.in (localstatedir): New variable, substituted from
26713 libc_cv_localstatedir.
26714 * Makeconfig (vardbdir): Use $(localstatedir) in place of /var.
26715 * sysdeps/gnu/configure.in (libc_cv_localstatedir): Change
26716 ${prefix}/var to /var when we change ${prefix}/etc to /etc.
26717 * sysdeps/gnu/configure: Regenerated.
26719 2012-06-21 Jeff Law <law@redhat.com>
26722 * intl/dcigettext.c (_nl_find_msg): Avoid use after potential
26723 free. Simplify list management for _LIBC case.
26725 2012-06-21 Joseph Myers <joseph@codesourcery.com>
26728 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c (__ieee754_cosh):
26729 Clear sign bit of 64-bit integer value before comparing against
26732 * sysdeps/mach/configure: Regenerated.
26734 2012-06-21 H.J. Lu <hongjiu.lu@intel.com>
26737 * sysdeps/i386/sysdep.h (SYSCALL_PIC_SETUP): Fix a typo.
26739 2012-06-21 Jeff Law <law@redhat.com>
26742 * elf/dl-deps.c (_dl_map_object_deps): Fix cycle detection. Use
26743 uint16_t for elements in the "seen" array to avoid char overflows.
26744 * elf/dl-fini.c (_dl_sort_fini): Likewise.
26745 * elf/dl-open.c (dl_open_worker): Likewise.
26747 2012-06-21 Carlos O'Donell <carlos_odonell@mentor.com>
26749 * scripts/list-sources.sh: Scan PORTS for translations.
26750 * po/libc.pot: Regenerated.
26752 2012-06-21 Andreas Jaeger <aj@suse.de>
26755 * sysdeps/s390/bits/byteswap-16.h (__bswap_16): Avoid -Wconversion
26757 * sysdeps/s390/bits/byteswap.h (__bswap_constant_16): Likewise.
26758 * bits/byteswap-16.h (__bswap_16): Likewise.
26759 * bits/byteswap.h (__bswap_constant_16): Likewise.
26761 2012-06-18 H.J. Lu <hongjiu.lu@intel.com>
26764 * sysdeps/i386/fpu_control.h: Removed.
26765 * sysdeps/x86_64/fpu_control.h: Moved to ...
26766 * sysdeps/x86/fpu_control.h: Here.
26768 * sysdeps/x86_64/fpu_control.h (_FPU_GETCW): Add __volatile__.
26769 (_FPU_SETCW): Likewise.
26771 2012-06-15 H.J. Lu <hongjiu.lu@intel.com>
26774 * sysdeps/i386/fpu/bits/mathinline.h: Renamed to ...
26775 * sysdeps/x86/fpu/bits/mathinline.h: This.
26776 * sysdeps/x86_64/fpu/bits/mathinline.h: Removed.
26780 * sysdeps/i386/fpu/bits/mathinline.h: Disable x87 inline
26781 functions if __x86_64__ is defined.
26783 2012-06-15 Chung-Lin Tang <cltang@codesourcery.com>
26785 * string/endian.h: Add !__ASSEMBLER__ condition for including
26786 conversion interfaces.
26788 2012-06-15 Joseph Myers <joseph@codesourcery.com>
26791 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use 0.0 instead
26792 of ABS(x) in calculating zero to negative powers other than odd
26794 * math/libm-test.inc (pow_test): Add more tests.
26796 2012-06-15 Andreas Jaeger <aj@suse.de>
26798 * manual/contrib.texi (Contributors): Update entry of Liubov
26799 Dmitrieva and add entries for Will Schmidt and Tulio Magno Quites
26802 2012-06-15 Cyril Hrubis <metan@ucw.cz>
26804 * string/string.h: Add __wur to GNU version of strerror_r.
26806 2012-06-14 H.J. Lu <hongjiu.lu@intel.com>
26809 * string/Makefile (tests): Add tst-strtok_r.
26810 * string/tst-strtok_r.c: New file.
26811 * sysdeps/x86_64/strtok.S: Use LP_SIZE on save_ptr and use
26812 RAX_LP/RDX_LP on SAVE_PTR.
26814 2012-06-14 Roland McGrath <roland@hack.frob.com>
26816 * manual/Makefile ($(objpfx)texis): Do $(make-target-directory).
26818 2012-06-14 Joseph Myers <joseph@codesourcery.com>
26820 * libm_test.inc (csqrt_test): Allow more spurious underflow
26822 (j0_test): Likewise.
26823 (j1_test): Likewise.
26824 (y0_test): Likewise.
26825 (y1_test): Likewise.
26827 2012-06-13 Carlos O'Donell <carlos_odonell@mentor.com>
26829 * po/Makefile (libc.pot): Use UTF-8 charset.
26831 2012-06-13 Paul Pluzhnikov <ppluzhnikov@google.com>
26834 Suppress sign-conversion warning from FD_SET.
26835 See <http://sourceware.org/ml/libc-alpha/2012-05/msg01794.html>.
26836 * debug/fdelt_chk.c (__fdelt_chk): Accept and return long int,
26837 not unsigned long int.
26838 * misc/bits/select2.h (__fdelt_chk, __fdelt_warn, __FD_ELT): Likewise.
26840 2012-06-12 H.J. Lu <hongjiu.lu@intel.com>
26844 * sysdeps/i386/fpu/bits/mathinline.h (__MATH_INLINE): Check
26845 __extern_always_inline instead of __extern_inline.
26846 (__signbitf): Support __SSE2_MATH__ and C++ namespace.
26847 (__signbit): Likewise.
26848 (__signbitl): Support C++ namespace.
26849 (lrintf): New inline function.
26851 (llrintf): Likewise.
26852 (llrint): Likewise.
26862 (floorf): Likewise.
26863 (nearbyint): Likewise.
26864 (nearbyintf): Likewise.
26866 2012-06-12 Thomas Schwinge <thomas@codesourcery.com>
26868 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Fix case for
26869 non-default versions.
26871 2012-06-11 Roland McGrath <roland@hack.frob.com>
26874 * manual/argp.texi (Argp): Reword argp_parse description slightly.
26876 2012-06-09 Thomas Schwinge <thomas@codesourcery.com>
26878 * sysdeps/sh/sh4/fpu/bits/fenv.h (__FE_UNDEFINED): Define.
26879 (FE_UPWARD, FE_DOWNWARD): Don't define.
26880 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Adapt to that.
26881 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
26883 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Do not re-write fpscr after
26885 * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
26886 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
26888 2012-06-09 Kaz Kojima <kkojima@rr.iij4u.or.jp>
26890 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
26891 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Refreshed.
26892 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Refreshed.
26893 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Refreshed.
26895 2012-06-06 H.J. Lu <hongjiu.lu@intel.com>
26898 * sysdeps/i386/fpu/bits/fenv.h: Removed.
26899 * sysdeps/i386/fpu/Implies: New file.
26900 * sysdeps/x86_64/fpu/Implies: Likewise.
26901 * sysdeps/x86_64/fpu/bits/fenv.h: Renamed to ...
26902 * sysdeps/x86/fpu/bits/fenv.h: This.
26904 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Check
26907 2012-06-06 Siddhesh Poyarekar <siddhesh@redhat.com>
26910 * iconvdata/ibm930.c (BODY) [FROM_LOOP]: Check for invalid
26911 character 0xffff that matches the last element of the
26914 2012-06-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
26916 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Fix for wrong ldbl128-ibm
26919 2012-06-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
26921 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Fix spurious underflow for
26922 values higher than 25.6283.
26924 2012-06-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
26926 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Fix
26927 subnormal exponent extraction and add some __builtin_expect.
26928 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_extract_mantissa):
26929 Fix for subnormal mantissa calculation.
26931 2012-06-04 Mike Frysinger <vapier@gentoo.org>
26933 * sysdeps/unix/sysv/linux/tst-getcpu.c (do_test): Call perror when
26934 cpu2 is -1 and errno is not ENOSYS.
26936 2012-06-04 H.J. Lu <hongjiu.lu@intel.com>
26939 * sysdeps/i386/i486/bits/string.h: Renamed to ...
26940 * sysdeps/x86/bits/string.h: This.
26941 * sysdeps/x86_64/bits/string.h: Removed.
26943 * sysdeps/i386/i486/bits/string.h: Define inline functions only
26944 if not compiling for x86-64, but compiling for >= i486.
26946 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Renamed to ...
26947 * sysdeps/unix/sysv/linux/x86/bits/sigcontext.h: This.
26949 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h (FP_XSTATE_MAGIC1):
26950 New macro from Linux kernel 3.4.0.
26951 (FP_XSTATE_MAGIC2): Likewise.
26952 (FP_XSTATE_MAGIC2_SIZE): Likewise.
26953 (X86_FXSR_MAGIC): New macro from Linux i386 kernel.
26954 (struct _fpx_sw_bytes): New struct.
26955 (struct _xsave_hdr): Likewise.
26956 (struct _ymmh_state): Likewise.
26957 (struct _xstate): Likewise.
26959 * sysdeps/unix/sysv/linux/i386/sys/debugreg.h: Removed.
26960 * sysdeps/unix/sysv/linux/i386/sys/reg.h: Likewise.
26961 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Renamed to ...
26962 * sysdeps/unix/sysv/linux/x86/sys/debugreg.h: This.
26963 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Renamed to ...
26964 * sysdeps/unix/sysv/linux/x86/sys/reg.h: This.
26966 * sysdeps/unix/sysv/linux/i386/sys/io.h: Removed.
26967 * sysdeps/unix/sysv/linux/x86_64/sys/io.h: Renamed to ...
26968 * sysdeps/unix/sysv/linux/x86/sys/io.h: This.
26969 * sysdeps/unix/sysv/linux/i386/sys/perm.h: Removed.
26970 * sysdeps/unix/sysv/linux/x86_64/sys/perm.h: Renamed to ...
26971 * sysdeps/unix/sysv/linux/x86/sys/perm.h: This.
26973 2012-06-04 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
26976 * sysdeps/powerpc/sys/platform/ppc.h: New file for PowerPC features.
26977 * sysdeps/powerpc/Makefile (tests): Add test-gettimebase.
26978 (sysdep_headers): Include sys/platform/ppc.h.
26979 * sysdeps/powerpc/test-gettimebase.c: Test for
26980 __ppc_get_timebase() to catch future ISA opcode/insn changes.
26981 * manual/Makefile (appendices): Include platform.texi.
26982 * manual/contrib.texi (Contributors): Update @node pointers.
26983 * manual/maint.texi (Maintenance): Likewise.
26984 (Platform): New node.
26985 * manual/platform.texi: New file. Document the new features.
26987 2012-06-04 Siddhesh Poyarekar <siddhesh@redhat.com>
26988 Jakub Jelinek <jakub@redhat.com>
26991 * misc/sys/cdefs.h (__glibc_unlikely): New macro to wrap cases
26992 where __builtin_expect is unavailable.
26994 2012-06-03 David S. Miller <davem@davemloft.net>
26996 * stdlib/longlong.h: Updated from GCC.
26998 2012-06-02 Andreas Schwab <schwab@linux-m68k.org>
27001 * sysdeps/powerpc/powerpc32/mcount.c: New file.
27002 * sysdeps/powerpc/powerpc32/Versions (GLIBC_2.16): Add
27004 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
27005 (GLIBC_2.16): Likewise.
27007 2012-06-01 H.J. Lu <hongjiu.lu@intel.com>
27009 * sysdeps/unix/sysv/linux/x86_64/sys/io.h (outsw): Fix a typo.
27011 2012-06-01 Joseph Myers <joseph@codesourcery.com>
27013 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Makefile
27014 (default-abi): New variable.
27015 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: New file.
27016 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile (default-abi): New
27018 * sysdeps/unix/sysv/linux/s390/s390-64/Makefile (default-abi):
27020 * sysdeps/unix/sysv/linux/sparc/sparc32/Makefile (default-abi):
27022 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile (default-abi):
27025 * Makeconfig [abi-variants && !default-abi] (default-abi): Remove
27026 definition. Document in comment.
27028 2012-06-01 David S. Miller <davem@davemloft.net>
27030 * stdlib/longlong.h: Updated from GCC.
27032 2012-06-01 H.J. Lu <hongjiu.lu@intel.com>
27035 * sysdeps/unix/sysv/linux/i386/Makefile (sysdep_headers):
27036 Don't add sys/elf.h sys/perm.h sys/reg.h sys/vm86.h
27037 sys/debugreg.h sys/io.h here.
27038 * sysdeps/unix/sysv/linux/x86/Makefile (sysdep_headers): Add
27039 sys/elf.h sys/perm.h sys/reg.h sys/vm86.h sys/debugreg.h
27041 * sysdeps/unix/sysv/linux/x86_64/Makefile (sysdep_headers):
27042 Don't add sys/perm.h sys/reg.h sys/debugreg.h sys/io.h here.
27043 * sysdeps/unix/sysv/linux/i386/sys/elf.h: Renamed to ...
27044 * sysdeps/unix/sysv/linux/x86/sys/elf.h: This.
27045 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Renamed to ...
27046 * sysdeps/unix/sysv/linux/x86/sys/vm86.h: This.
27048 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h (DR_LEN_8):
27049 Define only if __x86_64__ is defined.
27051 2012-06-01 Joseph Myers <joseph@codesourcery.com>
27054 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c (__ieee754_fmod):
27055 Use int64_t for variable i.
27056 * math/libm-test.inc (fmod_test): Add more tests.
27058 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Ensure temp + (double)
27059 z computation is not scheduled after fetestexcept.
27060 * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <math_private.h>.
27061 Use math_force_eval instead of asm to ensure calculation scheduled
27062 before exception test.
27063 * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <math_private.h>.
27064 Ensure a1 + u.d computation is not scheduled after fetestexcept.
27066 2012-06-01 Aurelien Jarno <aurelien@aurel32.net>
27068 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Ensure a1 + u.d
27069 computation is not scheduled after fetestexcept.
27071 2012-06-01 H.J. Lu <hongjiu.lu@intel.com>
27074 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Renamed to ...
27075 * sysdeps/unix/sysv/linux/x86/bits/wchar.h: This.
27077 2012-06-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
27079 * sysdeps/powerpc/fpu/k_cosf.c: Fix underflow generation.
27080 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
27082 2012-05-31 H.J. Lu <hongjiu.lu@intel.com>
27085 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Include
27087 (__WCHAR_MIN): Support __WORDSIZE == 64.
27088 (__WCHAR_MAX): Likewise.
27090 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: Renamed to ...
27091 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h: This.
27094 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__FSWORD_T_TYPE):
27095 Defined with __SWORD_TYPE if __x86_64__ isn't defined.
27098 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: Renamed to ...
27099 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: This.
27101 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h: Renamed to ...
27102 * sysdeps/unix/sysv/linux/x86/bits/stat.h: This.
27104 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_KERNEL):
27105 Defined to 1 if __x86_64__ isn't defined.
27106 (_STAT_VER_LINUX_OLD): New.
27107 (st_atime): Remove duplicate.
27108 (st_mtime): Likewise.
27109 (st_ctime): Likewise.
27111 2012-05-31 David S. Miller <davem@davemloft.net>
27113 * sysdeps/sparc/fpu/libm-test-ulps: Remove sqrt(2) and sqrt test
27116 2012-06-01 Andreas Schwab <schwab@linux-m68k.org>
27118 * sysdeps/powerpc/fpu/libm-test-ulps: Sort through
27122 * elf/dl-reloc.c: Include <_itoa.h>.
27123 (_dl_reloc_bad_type): Remove use of INTUSE.
27124 * elf/dl-minimal.c (_itoa, _itoa_lower_digits): Likewise.
27125 * stdio-common/_itoa.c (_itoa_word, _itoa): Likewise.
27126 * stdio-common/psiginfo.c (psiginfo): Likewise.
27127 * stdio-common/psignal.c (psignal): Likewise.
27128 * string/strsignal.c (strsignal): Likewise.
27129 * include/signal.h (_sys_siglist): Declare hidden proto.
27130 * stdio-common/itoa-digits.c: Include <_itoa.h>. Replace
27131 INTVARDEF with libc_hidden_data_def.
27132 * stdio-common/itoa-udigits.c: Likewise.
27133 * sysdeps/generic/_itoa.h (_itoa_upper_digits_internal)
27134 (_itoa_lower_digits_internal): Remove declaration.
27135 (_itoa_upper_digits, _itoa_lower_digits): Declare hidden proto.
27136 * sysdeps/gnu/siglist.c (_sys_siglist_internal)
27137 (_sys_sigabbrev_internal): Remove aliases.
27138 (_sys_siglist): Define hidden alias.
27140 2012-05-31 Markus Trippelsdorf <markus@trippelsdorf.de>
27142 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
27145 2012-05-31 H.J. Lu <hongjiu.lu@intel.com>
27148 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Renamed to ...
27149 * sysdeps/unix/sysv/linux/x86/bits/sysctl.h: This.
27151 * sysdeps/unix/sysv/linux/i386/sys/ucontext.h: Removed.
27152 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Renamed to ...
27153 * sysdeps/unix/sysv/linux/x86/sys/ucontext.h: This.
27154 * sysdeps/unix/sysv/linux/i386/sys/user.h: Removed.
27155 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Renamed to ...
27156 * sysdeps/unix/sysv/linux/x86/sys/user.h: This.
27158 * sysdeps/unix/sysv/linux/i386/sys/procfs.h: Removed.
27159 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Renamed to ...
27160 * sysdeps/unix/sysv/linux/x86/sys/procfs.h: This.
27162 * sysdeps/unix/sysv/linux/x86_64/sys/io.h (insb): Replace addr
27170 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Removed.
27171 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Renamed to ...
27172 * sysdeps/unix/sysv/linux/x86/bits/mman.h: This.
27174 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Renamed to ...
27175 * sysdeps/unix/sysv/linux/x86/bits/msq.h: This.
27176 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h: Renamed to ...
27177 * sysdeps/unix/sysv/linux/x86/bits/sem.h: This.
27178 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h: Renamed to ...
27179 * sysdeps/unix/sysv/linux/x86/bits/shm.h: This.
27181 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: Renamed to ...
27182 * sysdeps/unix/sysv/linux/x86/bits/ipctypes.h: This.
27184 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Renamed to ...
27185 * sysdeps/unix/sysv/linux/x86/bits/epoll.h: This.
27187 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Removed.
27188 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Renamed to ...
27189 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: This.
27191 * sysdeps/unix/sysv/linux/i386/bits/environments.h: Removed.
27192 * sysdeps/unix/sysv/linux/x86_64/bits/environments.h: Renamed
27194 * sysdeps/unix/sysv/linux/x86/bits/environments.h: This.
27196 * sysdeps/unix/sysv/linux/i386/bits/a.out.h: Removed.
27197 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Renamed to ...
27198 * sysdeps/unix/sysv/linux/x86/bits/a.out.h: This.
27200 * sysdeps/unix/sysv/linux/i386/sys/elf.h: Error when compiling
27202 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Likewise.
27204 2012-05-31 Joseph Myers <joseph@codesourcery.com>
27206 * math/math.h (M_El): Use two more decimal places.
27207 (M_LOG2El): Likewise.
27208 (M_LOG10El): Likewise.
27209 (M_LN2l): Likewise.
27210 (M_LN10l): Likewise.
27212 (M_PI_2l): Likewise.
27213 (M_PI_4l): Likewise.
27214 (M_1_PIl): Likewise.
27215 (M_2_PIl): Likewise.
27216 (M_2_SQRTPIl): Likewise.
27217 (M_SQRT2l): Likewise.
27218 (M_SQRT1_2l): Likewise.
27220 2012-05-31 David S. Miller <davem@davemloft.net>
27222 * sysdeps/sparc/sparc64/memcpy.S: Use fsrc2 to move 64-bit
27223 values between float registers.
27224 * sysdeps/sparc/sparc64/memset.S: Likewise.
27225 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
27227 2012-05-31 Mike Frysinger <vapier@gentoo.org>
27229 * debug/Makefile (CFLAGS-tst-longjmp_chk.c): Delete
27230 -D_FORTIFY_SOURCE=1.
27231 (CPPFLAGS-tst-longjmp_chk.c): Define.
27232 (CFLAGS-tst-longjmp_chk2.c): Delete -D_FORTIFY_SOURCE=1.
27233 (CPPFLAGS-tst-longjmp_chk2.c): Define.
27234 * wcsmbs/Makefile (CPPFLAGS-tst-wchar-h.c): Rename from
27235 CFLAGS-tst-wchar-h.c.
27237 2012-05-31 Marek Polacek <polacek@redhat.com>
27240 * include/mntent.h (__setmntent_internal, __getmntent_r_internal
27241 __endmntent_internal): Remove declaration.
27242 (__setmntent, __endmntent, __getmntent_r) [NOT_IN_libc]: Remove macro.
27243 (__setmntent, __endmntent, __getmntent_r): Declare hidden proto.
27244 * misc/mntent_r.c: Replace INTDEF with libc_hidden_def.
27246 2012-05-30 David S. Miller <davem@davemloft.net>
27248 * sysdeps/sparc/sparc32/soft-fp/q_util.c
27249 (___Q_simulate_exceptions): Use real FP ops rather than writing
27251 * sysdeps/sparc/sparc32/soft-fp/q_util.c (__Qp_handle_exceptions):
27254 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
27257 * sysdeps/x86_64/bits/xtitypes.h: Renamed to ...
27258 * sysdeps/x86/bits/xtitypes.h: This.
27260 * sysdeps/x86_64/bits/wordsize.h: Renamed to ...
27261 * sysdeps/x86/bits/wordsize.h: This.
27263 * sysdeps/i386/bits/huge_vall.h: Renamed to ...
27264 * sysdeps/x86/bits/huge_vall.h: This.
27266 * sysdeps/i386/bits/select.h: Removed.
27267 * sysdeps/x86_64/bits/select.h: Renamed to ...
27268 * sysdeps/x86/bits/select.h: This.
27270 * sysdeps/i386/bits/setjmp.h: Removed.
27271 * sysdeps/x86_64/bits/setjmp.h: Renamed to ...
27272 * sysdeps/x86/bits/setjmp.h: This.
27274 * sysdeps/i386/bits/mathdef.h: Removed.
27275 * sysdeps/x86_64/bits/mathdef.h: Renamed to ...
27276 * sysdeps/x86/bits/mathdef.h: This.
27278 2012-05-30 Andreas Schwab <schwab@linux-m68k.org>
27281 * include/sys/socket.h (__connect_internal)
27282 (__libc_sa_len_internal): Remove declaration.
27283 (__connect, __libc_sa_len): Declare hidden_proto.
27284 (SA_LEN): Remove use of INTUSE.
27285 * socket/connect.c: Add libc_hidden_def.
27286 * sysdeps/mach/hurd/connect.c: Replace INTDEF by libc_hidden_def.
27287 * sysdeps/unix/sysv/linux/sa_len.c: Likewise.
27288 * sysdeps/unix/inet/syscalls.list: Remove __connect_internal
27290 * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
27291 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Likewise.
27292 * sysdeps/unix/sysv/linux/connect.S: Use libc_hidden_weak instead
27293 of adding _internal alias.
27295 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
27298 * sysdeps/i386/bits/link.h: Removed.
27299 * sysdeps/i386/bits/linkmap.h: Likewise.
27300 * sysdeps/x86_64/bits/link.h: Renamed to ...
27301 * sysdeps/x86/bits/link.h: This.
27302 * sysdeps/x86_64/bits/linkmap.h: Renamed to ...
27303 * sysdeps/x86/bits/linkmap.h: This.
27305 * sysdeps/i386/bits/endian.h: Removed.
27306 * sysdeps/x86_64/bits/endian.h: Renamed to ...
27307 * sysdeps/x86/bits/endian.h: This.
27309 * sysdeps/i386/bits/byteswap.h: Removed.
27310 * sysdeps/i386/bits/byteswap-16.h: Likewise.
27311 * sysdeps/x86_64/bits/byteswap.h: Renamed to ...
27312 * sysdeps/x86/bits/byteswap.h: This.
27313 * sysdeps/x86_64/bits/byteswap-16.h: Renamed to ...
27314 * sysdeps/x86/bits/byteswap-16.h: This.
27315 * sysdeps/i386/Implies: Add x86.
27316 * sysdeps/x86_64/Implies: Likewise.
27318 2012-05-30 David S. Miller <davem@davemloft.net>
27320 * soft-fp/soft-fp.h (FP_CUR_EXCEPTIONS): Define.
27321 (FP_TRAPPING_EXCEPTIONS): Provide default implementation.
27322 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
27323 (FP_TRAPPING_EXCEPTIONS): Define.
27324 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
27325 (FP_TRAPPING_EXCEPTIONS): Define.
27326 * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Signal underflow for
27327 subnormals only when inexact has been signalled or underflow
27328 exceptions are enabled.
27329 (_FP_PACK_CANONICAL): Likewise.
27331 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
27334 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__NLINK_T_TYPE):
27335 Defined with __UWORD_TYPE if __x86_64__ isn't defined.
27337 2012-05-30 Richard Henderson <rth@twiddle.net>
27339 * sysdeps/unix/make-syscalls.sh: Protect symbol_version output
27340 with #ifndef NOT_IN_libc.
27342 * scripts/abilist.awk: Accept 8 fields. Handle Alpha functions
27343 marked to avoid plt entry.
27345 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
27348 * Makeconfig (default-abi): New macro.
27349 (abi-includes): Likewise.
27350 ($(common-objpfx)soversions.mk): Remove WORDSIZE check. Use
27351 $(abi-$(default-abi)-lib-soname) for soname if defined.
27352 ($(common-objpfx)gnu/lib-names.stmp): Generate from
27354 * Makefile (installed-stubs): Likewise.
27355 * include/stubs-biarch.h: Removed.
27356 * scripts/lib-names.awk: Only handle one library at a time.
27357 * scripts/soversions.awk: Remove WORDSIZE support.
27358 * shlib-versions: Remove WORDSIZE and i.86/s390x/powerpc64 ld
27360 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants):
27362 (syscall-list-default-condition): Likewise.
27363 (syscall-list-default-condition): Likewise.
27364 (syscall-list-includes): Likewise.
27365 ($(objpfx)bits/syscall%h $(objpfx)bits/syscall%d): Replace
27366 syscall-list-* with abi-*. Handle undefined abi-variants.
27367 * sysdeps/unix/sysv/linux/i386/Makefile (default-abi): New macro.
27368 * sysdeps/unix/sysv/linux/i386/Implies: New file.
27369 * sysdeps/unix/sysv/linux/x86/Makefile: Likewise.
27370 * sysdeps/unix/sysv/linux/x86_64/64/Makefile: Likewise.
27371 * sysdeps/unix/sysv/linux/x86_64/Implies: Add unix/sysv/linux/x86.
27372 * sysdeps/unix/sysv/linux/x86_64/Makefile (syscall-list-variants):
27374 (syscall-list-32-options): Likewise.
27375 (syscall-list-32-condition): Likewise.
27376 (syscall-list-64-options): Likewise.
27377 (syscall-list-64-condition): Likewise.
27378 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (default-abi): New
27380 * sysdeps/unix/sysv/linux/powerpc/Makefile (syscall-list-*):
27383 (abi-64-ld-soname): New macro.
27384 * sysdeps/unix/sysv/linux/s390/Makefile: Likewise.
27385 * sysdeps/unix/sysv/linux/sparc/Makefile (syscall-list-*):
27388 * sysdeps/x86_64/64/shlib-versions: Remove ld entry.
27389 * sysdeps/x86_64/x32/shlib-versions: Likewise.
27391 2012-05-30 Joseph Myers <joseph@codesourcery.com>
27393 * sysdeps/unix/sysv/linux/kernel-features.h
27394 (__ASSUME_TRUNCATE64_SYSCALL): Remove all definitions.
27395 * sysdeps/unix/sysv/linux/ftruncate64.c: Do not
27396 include <kernel-features.h>.
27397 [!__NR_ftruncate64]: Remove conditional code.
27398 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
27399 [__NR_ftruncate64]: Make code unconditional.
27400 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
27401 * sysdeps/unix/sysv/linux/truncate64.c: Do not
27402 include <kernel-features.h>.
27403 [!__NR_ftruncate64]: Remove conditional code.
27404 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
27405 [__NR_ftruncate64]: Make code unconditional.
27406 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
27407 * sysdeps/unix/sysv/linux/powerpc/powerpc32/ftruncate64.c: Do not
27408 include <kernel-features.h>.
27409 [!__NR_ftruncate64]: Remove conditional code.
27410 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
27411 [__NR_ftruncate64]: Make code unconditional.
27412 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
27413 * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
27414 include <kernel-features.h>.
27415 [!__NR_ftruncate64]: Remove conditional code.
27416 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
27417 [__NR_ftruncate64]: Make code unconditional.
27418 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
27420 * configure.in (libc_cv_fpie): Weaken to a compile test using
27421 LIBC_TRY_CC_OPTION.
27422 * configure: Regenerated.
27424 2012-05-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
27426 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Refreshed.
27427 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Refreshed.
27428 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Refreshed.
27429 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
27431 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Refreshed.
27432 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Refreshed.
27433 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Refreshed.
27434 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Refreshed.
27435 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Refreshed.
27436 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
27439 2012-05-27 David S. Miller <davem@davemloft.net>
27441 * sysdeps/sparc/sparc32/soft-fp/q_util.c (___Q_numbers): Delete.
27443 (__Q_simulate_exceptions): Return void. Change to simulate
27444 exceptions by writing into the %fsr.
27445 * sysdeps/sparc/sparc64/soft-fp/qp_util.c
27446 (__Qp_handle_exceptions): Likewise.
27448 * sysdeps/sparc/sparc64/soft-fp/Versions: Remove entry for
27449 __Qp_handle_exceptions.
27450 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Remove
27451 __Qp_handle_exceptions.
27452 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
27453 as unused and give dummy FP_RND_NEAREST initializer.
27454 (FP_INHIBIT_RESULTS): Define.
27455 (___Q_simulate_exceptions): Update declaration.
27456 (FP_HANDLE_EXCEPTIONS): Use ___Q_zero and tidy inline asm
27458 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
27459 as unused and give dummy FP_RND_NEAREST initializer.
27460 (__Qp_handle_exceptions): Update declaration.
27461 (FP_HANDLE_EXCEPTIONS, QP_NO_EXCEPTIONS): Tidy inline asm
27464 2012-05-27 Thomas Schwinge <thomas@codesourcery.com>
27466 * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Use fpu_control_t for
27467 the temporary FPU control word.
27468 * sysdeps/sh/sh4/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
27469 * sysdeps/sh/sh4/fpu/feenablxcpt.c (feenableexcept): Likewise.
27470 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise.
27471 * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
27472 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
27473 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Likewise.
27474 * sysdeps/sh/sh4/fpu/fesetenv.c (fesetenv): Likewise.
27475 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
27476 * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
27477 * sysdeps/sh/sh4/fpu/fsetexcptflg.c (fesetexceptflag): Likewise.
27478 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
27480 2012-05-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
27482 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Restore fpscr flag
27485 2012-05-27 Chung-Lin Tang <cltang@codesourcery.com>
27487 * sysdeps/sh/_mcount.S (_mount): Add CFI directives.
27488 * sysdeps/unix/sh/sysdep.S (__syscall_error): Likewise.
27489 * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S (__setcontext): Likewise.
27490 * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S (__swapcontext):
27492 * sysdeps/unix/sysv/linux/sh/sh4/setcontext.S (__setcontext): Likewise.
27493 * sysdeps/unix/sysv/linux/sh/sh4/swapcontext.S (__swapcontext):
27496 2012-05-27 Ulrich Drepper <drepper@gmail.com>
27498 * po/h.po: Update from translation team.
27500 2012-05-26 Andreas Schwab <schwab@linux-m68k.org>
27502 * sysdeps/powerpc/powerpc32/dl-irel.h: Include <ldsodefs.h>.
27504 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Optimize
27505 handling of denormals.
27506 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
27507 * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
27508 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
27509 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
27510 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
27511 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c (_logb): Likewise.
27512 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (_logbl):
27515 2012-05-26 Marek Polacek <polacek@redhat.com>
27518 * math/libm-test.inc (fma_test): Don't always expect underflow
27521 2012-05-26 Siddhesh Poyarekar <siddhesh@redhat.com>
27524 * elf/tst-execstack.c: Include stackinfo.h.
27525 (do_test): Adjust test case to ensure that pthread_getattr_np
27526 behaviour remains the same after marking stack executable.
27528 2012-05-25 Joseph Myers <joseph@codesourcery.com>
27530 * sysdeps/unix/sysv/linux/kernel-features.h
27531 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Remove all definitions.
27532 * sysdeps/unix/sysv/linux/i386/getrlimit.c: Do not include
27534 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
27535 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
27536 * sysdeps/unix/sysv/linux/i386/setrlimit.c Do not include
27538 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
27539 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
27541 2012-05-25 H.J. Lu <hongjiu.lu@intel.com>
27543 * configure.in: Define the default includes to being none.
27544 * configure: Regenerated.
27546 2012-05-25 Roland McGrath <roland@hack.frob.com>
27548 * sysdeps/x86_64/__longjmp.S: Add a static probe here.
27549 * sysdeps/x86_64/setjmp.S: Likewise.
27550 * sysdeps/i386/bsd-setjmp.S: Likewise.
27551 * sysdeps/i386/bsd-_setjmp.S: Likewise.
27552 * sysdeps/i386/setjmp.S: Likewise.
27553 * sysdeps/i386/__longjmp.S: Likewise.
27554 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
27555 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S: Likewise.
27557 * include/stap-probe.h: New file.
27558 * configure.in: Handle --enable-systemtap.
27559 * configure: Regenerated.
27560 * config.h.in (USE_STAP_PROBE): New #undef.
27561 * extra-lib.mk (CPPFLAGS-$(lib)): Add -DIN_LIB=$(lib).
27562 * elf/Makefile (CPPFLAGS-.os): Add -DIN_LIB=rtld.
27563 * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
27565 2012-05-25 Joseph Myers <joseph@codesourcery.com>
27568 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
27569 to 2.4.0 where earlier.
27570 * sysdeps/unix/sysv/linux/configure: Regenerated.
27571 * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
27572 <kernel-features.h>.
27573 [__ASSUME_32BITUIDS]: Make code unconditional.
27574 [!__ASSUME_32BITUIDS]: Remove conditional code.
27575 * sysdeps/unix/sysv/linux/i386/fchown.c: Do not include
27576 <kernel-features.h>.
27577 [__ASSUME_32BITUIDS]: Make code unconditional.
27578 [!__ASSUME_32BITUIDS]: Remove conditional code.
27579 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat)
27580 [__ASSUME_32BITUIDS]: Make code unconditional.
27581 (fchownat) [!__ASSUME_32BITUIDS]: Remove conditional code.
27582 * sysdeps/unix/sysv/linux/i386/getegid.c: Do not include
27583 <kernel-features.h>.
27584 [__ASSUME_32BITUIDS]: Make code unconditional.
27585 [!__ASSUME_32BITUIDS]: Remove conditional code.
27586 * sysdeps/unix/sysv/linux/i386/geteuid.c: Do not include
27587 <kernel-features.h>.
27588 [__ASSUME_32BITUIDS]: Make code unconditional.
27589 [!__ASSUME_32BITUIDS]: Remove conditional code.
27590 * sysdeps/unix/sysv/linux/i386/getgid.c: Do not include
27591 <kernel-features.h>.
27592 [__ASSUME_32BITUIDS]: Make code unconditional.
27593 [!__ASSUME_32BITUIDS]: Remove conditional code.
27594 * sysdeps/unix/sysv/linux/i386/getgroups.c: Do not include
27595 <kernel-features.h>.
27596 [__ASSUME_32BITUIDS]: Make code unconditional.
27597 [!__ASSUME_32BITUIDS]: Remove conditional code.
27598 * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
27599 <kernel-features.h>.
27600 [__ASSUME_32BITUIDS]: Make code unconditional.
27601 [!__ASSUME_32BITUIDS]: Remove conditional code.
27602 * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
27603 <kernel-features.h>.
27604 [__ASSUME_32BITUIDS]: Make code unconditional.
27605 [!__ASSUME_32BITUIDS]: Remove conditional code.
27606 * sysdeps/unix/sysv/linux/i386/getuid.c: Do not include
27607 <kernel-features.h>.
27608 [__ASSUME_32BITUIDS]: Make code unconditional.
27609 [!__ASSUME_32BITUIDS]: Remove conditional code.
27610 * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
27611 <kernel-features.h>.
27612 [__ASSUME_32BITUIDS]: Make code unconditional.
27613 [!__ASSUME_32BITUIDS]: Remove conditional code.
27614 * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
27615 <kernel-features.h>.
27616 [__ASSUME_32BITUIDS]: Make code unconditional.
27617 [!__ASSUME_32BITUIDS]: Remove conditional code.
27618 * sysdeps/unix/sysv/linux/i386/semctl.c: Do not include
27619 <kernel-features.h>.
27620 [__ASSUME_32BITUIDS]: Make code unconditional.
27621 [!__ASSUME_32BITUIDS]: Remove conditional code.
27622 * sysdeps/unix/sysv/linux/i386/setegid.c: Do not include
27623 <kernel-features.h>.
27624 [__NR_setresgid] (__setresgid): Do not declare.
27625 [__ASSUME_32BITUIDS]: Make code unconditional.
27626 [!__ASSUME_32BITUIDS]: Remove conditional code.
27627 * sysdeps/unix/sysv/linux/i386/seteuid.c: Do not include
27628 <kernel-features.h>.
27629 [__NR_setresuid] (__setresuid): Do not declare.
27630 [__ASSUME_32BITUIDS]: Make code unconditional.
27631 [!__ASSUME_32BITUIDS]: Remove conditional code.
27632 * sysdeps/unix/sysv/linux/i386/setfsgid.c: Do not include
27633 <kernel-features.h>.
27634 [__ASSUME_32BITUIDS]: Make code unconditional.
27635 [!__ASSUME_32BITUIDS]: Remove conditional code.
27636 * sysdeps/unix/sysv/linux/i386/setfsuid.c: Do not include
27637 <kernel-features.h>.
27638 [__ASSUME_32BITUIDS]: Make code unconditional.
27639 [!__ASSUME_32BITUIDS]: Remove conditional code.
27640 * sysdeps/unix/sysv/linux/i386/setgid.c: Do not include
27641 <kernel-features.h>.
27642 [__ASSUME_32BITUIDS]: Make code unconditional.
27643 [!__ASSUME_32BITUIDS]: Remove conditional code.
27644 * sysdeps/unix/sysv/linux/i386/setgroups.c: Do not include
27645 <kernel-features.h>.
27646 [__ASSUME_32BITUIDS]: Make code unconditional.
27647 [!__ASSUME_32BITUIDS]: Remove conditional code.
27648 * sysdeps/unix/sysv/linux/i386/setregid.c: Do not include
27649 <kernel-features.h>.
27650 [__ASSUME_32BITUIDS]: Make code unconditional.
27651 [!__ASSUME_32BITUIDS]: Remove conditional code.
27652 * sysdeps/unix/sysv/linux/i386/setresgid.c: Do not include
27653 <kernel-features.h>.
27654 [__ASSUME_32BITUIDS]: Make code unconditional.
27655 [!__ASSUME_32BITUIDS]: Remove conditional code.
27656 * sysdeps/unix/sysv/linux/i386/setresuid.c: Do not include
27657 <kernel-features.h>.
27658 [__ASSUME_32BITUIDS]: Make code unconditional.
27659 [!__ASSUME_32BITUIDS]: Remove conditional code.
27660 * sysdeps/unix/sysv/linux/i386/setreuid.c: Do not include
27661 <kernel-features.h>.
27662 [__ASSUME_32BITUIDS]: Make code unconditional.
27663 [!__ASSUME_32BITUIDS]: Remove conditional code.
27664 * sysdeps/unix/sysv/linux/i386/setuid.c: Do not include
27665 <kernel-features.h>.
27666 [__ASSUME_32BITUIDS]: Make code unconditional.
27667 [!__ASSUME_32BITUIDS]: Remove conditional code.
27668 * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
27669 <kernel-features.h>.
27670 [__ASSUME_32BITUIDS]: Make code unconditional.
27671 [!__ASSUME_32BITUIDS]: Remove conditional code.
27672 * sysdeps/unix/sysv/linux/kernel-features.h
27673 (__ASSUME_SETRESUID_SYSCALL): Remove.
27674 (__ASSUME_SETRESGID_SYSCALL): Likewise.
27675 (__ASSUME_32BITUIDS): Likewise.
27676 (__ASSUME_LDT_WORKS): Likewise.
27677 (__ASSUME_O_DIRECTORY): Likewise.
27678 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Define conditional on
27679 architecture but not kernel version.
27680 (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
27681 (__ASSUME_MMAP2_SYSCALL): Likewise.
27682 (__ASSUME_STAT64_SYSCALL): Likewise.
27683 (__ASSUME_IPC64): Likewise.
27684 * sysdeps/unix/sysv/linux/local-setxid.h: Do not include
27685 <kernel-features.h>.
27686 [__ASSUME_32BITUIDS]: Make code unconditional.
27687 [!__ASSUME_32BITUIDS]: Remove conditional code.
27688 * sysdeps/unix/sysv/linux/opendir.c: Do not include
27689 <kernel-features.h>.
27690 [__ASSUME_O_DIRECTORY]: Make code unconditional.
27691 * sysdeps/unix/sysv/linux/opensock.c [__LINUX_KERNEL_VERSION <
27692 132096]: Remove conditional code.
27693 [__LINUX_KERNEL_VERSION >= 132096]: Make code unconditional.
27694 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
27695 <kernel-features.h>.
27696 [__ASSUME_32BITUIDS]: Make code unconditional.
27697 [!__ASSUME_32BITUIDS]: Remove conditional code.
27698 * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
27699 <kernel-features.h>.
27700 [__ASSUME_32BITUIDS]: Make code unconditional.
27701 [!__ASSUME_32BITUIDS]: Remove conditional code.
27702 * sysdeps/unix/sysv/linux/setegid.c: Do not include
27703 <kernel-features.h>.
27704 [__NR_setresgid || __ASSUME_SETRESGID_SYSCALL]: Make code
27706 (__setresgid): Do not declare.
27707 [__ASSUME_32BITUIDS]: Make code unconditional.
27708 [!__ASSUME_32BITUIDS]: Remove conditional code.
27709 * sysdeps/unix/sysv/linux/seteuid.c: Do not include
27710 <kernel-features.h>.
27711 [__NR_setresuid || __ASSUME_SETRESUID_SYSCALL]: Make code
27713 (__setresuid): Do not declare.
27714 [__ASSUME_32BITUIDS]: Make code unconditional.
27715 [!__ASSUME_32BITUIDS]: Remove conditional code.
27716 * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
27717 <kernel-features.h>.
27718 [__ASSUME_32BITUIDS]: Make code unconditional.
27719 [!__ASSUME_32BITUIDS]: Remove conditional code.
27720 * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Do not include
27721 <kernel-features.h>.
27722 [__ASSUME_32BITUIDS]: Make code unconditional.
27723 [!__ASSUME_32BITUIDS]: Remove conditional code.
27725 2012-05-25 Richard Henderson <rth@twiddle.net>
27727 * sysdeps/powerpc/powerpc32/dl-irel.h (elf_ifunc_invoke): Pass
27728 dl_hwcap to ifunc resolver.
27729 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Use
27731 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_ifunc_invoke): Pass
27732 dl_hwcap to ifunc resolver.
27733 * sysdeps/powerpc/powerpc64/dl-machine.h (resolve_ifunc): Likewise.
27735 2012-05-24 Joseph Myers <joseph@codesourcery.com>
27738 * sysdeps/ieee754/flt-32/e_acosf.c (__ieee754_acosf): Return pi/2
27739 for |x| <= 2**-26, not 2**-57.
27740 * math/libm-test.inc (acos_test): Do not allow spurious underflow
27743 2012-05-24 Jeff Law <law@redhat.com>
27745 * stdio-common/Makefile (tests): Add bug25.
27746 * stdio-common/bug25.c: New test.
27748 2012-05-24 H.J. Lu <hongjiu.lu@intel.com>
27751 * malloc/malloc.c (sYSMALLOc): Free the old top chunk with a
27752 multiple of MALLOC_ALIGNMENT in size.
27753 (_int_free): Check chunk size is a multiple of MALLOC_ALIGNMENT.
27755 2012-05-24 Joseph Myers <joseph@codesourcery.com>
27757 * conform/data/stdio.h-data (BUFSIZ): Use macro-int-constant.
27759 (FILENAME_MAX): Use macro-int-constant.
27760 (FOPEN_MAX): Use macro-int-constant. Require >= 8.
27761 (_IOFBF): Use macro-int-constant.
27762 (_IOLBF): Likewise.
27763 (_IONBF): Likewise.
27764 (SEEK_CUR): Likewise.
27765 (SEEK_END): Likewise.
27766 (SEEK_SET): Likewise.
27767 (TMP_MAX): Likewise.
27768 (EOF): Use macro-int-constant. Require < 0.
27769 (NULL): Use macro-constant. Require == 0.
27770 (stdin): Require type to be FILE *.
27771 (stdout): Likewise.
27772 (stderr): Likewise.
27773 * conform/data/stdlib.h-data (EXIT_FAILURE): Use
27774 macro-int-constant.
27775 (EXIT_SUCCESS): Likewise.
27776 (NULL): Use macro-constant. Require == 0.
27777 (RAND_MAX): Use macro-int-constant.
27778 [ISO99 || ISO11] (lldiv_t): Require also for these standards.
27779 [C99-based standards] (strtof): Require function.
27780 [C99-based standards] (strtold): Likewise.
27781 [C99-based standards] (strtoll): Likewise.
27782 [C99-based standards] (strtoull): Likewise.
27783 [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
27784 [ISO || ISO99 || ISO11] (limits.h): Likewise.
27785 [ISO || ISO99 || ISO11] (math.h): Likewise.
27786 [ISO || ISO99 || ISO11] (sys/wait.h): Likewise.
27787 (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
27788 [ISO || ISO99 || ISO11] (*_t): Do not allow.
27790 2012-05-24 Andreas Schwab <schwab@linux-m68k.org>
27793 * argp/argp-help.c (dgettext) [_LIBC]: Remove use of INTUSE.
27794 * argp/argp-parse.c (dgettext) [_LIBC]: Likewise.
27795 * intl/dgettext.c (DCGETTEXT): Likewise.
27796 * intl/gettext.c (DCGETTEXT): Likewise.
27797 * intl/l10nflist.c (__argz_count, __argz_stringify): Likewise.
27798 * posix/regex_internal.h (gettext): Likewise.
27799 * include/libintl.h (__dcgettext_internal, __dcngettext_internal):
27800 Remove declaration.
27801 * include/argz.h (__argz_count_internal)
27802 (__argz_stringify_internal): Remove declaration.
27803 (__argz_count, __argz_stringify): Declare hidden proto.
27804 * intl/dcgettext.c: Remove use of INTDEF.
27805 * string/argz-count.c: Replace INTDEF with libc_hidden_def.
27806 * string/argz-stringify.c: Likewise.
27807 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
27808 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
27809 Declare hidden proto.
27810 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
27811 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
27812 Declare hidden proto.
27813 * include/stdio.h (__asprintf_internal): Don't declare.
27814 (__asprintf): Don't define as macro. Declare hidden proto.
27815 * include/stdio_ext.h (__fsetlocking_internal): Don't declare.
27816 (__fsetlocking): Declare hidden proto.
27817 * libio/iolibio.h (_IO_fdopen, _IO_fflush, _IO_ftell, _IO_fread)
27818 (_IO_fwrite, _IO_setbuffer, _IO_setvbuf, _IO_vsprintf): Declare
27820 (_IO_vprintf, _IO_freopen, _IO_freopen64, _IO_setbuf)
27821 (_IO_setlinebuf): Remove use of INTUSE.
27822 (_IO_setbuffer_internal, _IO_fread_internal, _IO_fdopen_internal)
27823 (_IO_vsprintf_internal, _IO_fflush_internal, _IO_fwrite_internal)
27824 (_IO_ftell_internal, _IO_fputs_internal, _IO_setvbuf_internal):
27825 Remove declaration.
27826 * libio/libioP.h (INTUSE, INTDEF, INTDEF2): Don't define.
27827 (_IO_do_flush): Remove use of INTUSE.
27828 (_IO_switch_to_get_mode, _IO_init, _IO_sputbackc, _IO_un_link)
27829 (_IO_link_in, _IO_doallocbuf, _IO_unsave_markers, _IO_setb)
27830 (_IO_adjust_column, _IO_least_wmarker)
27831 (_IO_switch_to_main_wget_area, _IO_switch_to_wbackup_area)
27832 (_IO_switch_to_wget_mode, _IO_wsetb, _IO_sputbackwc)
27833 (_IO_wdoallocbuf, _IO_default_uflow, _IO_wdefault_uflow)
27834 (_IO_default_doallocate, _IO_wdefault_doallocate)
27835 (_IO_default_finish, _IO_wdefault_finish, _IO_default_pbackfail)
27836 (_IO_wdefault_pbackfail, _IO_default_xsputn, _IO_wdefault_xsputn)
27837 (_IO_default_xsgetn, _IO_wdefault_xsgetn, _IO_do_write)
27838 (_IO_wdo_write, _IO_flush_all, _IO_flush_all_linebuffered)
27839 (_IO_file_doallocate, _IO_file_setbuf, _IO_file_seekoff)
27840 (_IO_file_xsputn, _IO_file_xsgetn, _IO_file_stat, _IO_file_close)
27841 (_IO_file_underflow, _IO_file_overflow, _IO_file_init)
27842 (_IO_file_attach, _IO_file_fopen, _IO_file_read, _IO_file_sync)
27843 (_IO_file_close_it, _IO_file_seek, _IO_file_finish)
27844 (_IO_wfile_xsputn, _IO_wfile_sync, _IO_wfile_underflow)
27845 (_IO_wfile_overflow, _IO_wfile_seekoff, _IO_str_underflow)
27846 (_IO_str_overflow, _IO_str_pbackfail, _IO_str_seekoff)
27847 (_IO_getline, _IO_getline_info, _IO_list_all): Declare hidden
27849 (_IO_flush_all_internal, _IO_adjust_column_internal)
27850 (_IO_default_uflow_internal, _IO_default_finish_internal)
27851 (_IO_default_pbackfail_internal, _IO_default_xsputn_internal)
27852 (_IO_default_xsgetn_internal, _IO_default_doallocate_internal)
27853 (_IO_wdefault_finish_internal, _IO_wdefault_pbackfail_internal)
27854 (_IO_wdefault_xsputn_internal, _IO_wdefault_xsgetn_internal)
27855 (_IO_wdefault_doallocate_internal, _IO_wdefault_uflow_internal)
27856 (_IO_file_doallocate_internal, _IO_file_setbuf_internal)
27857 (_IO_file_seekoff_internal, _IO_file_xsputn_internal)
27858 (_IO_file_xsgetn_internal, _IO_file_stat_internal)
27859 (_IO_file_close_internal, _IO_file_close_it_internal)
27860 (_IO_file_underflow_internal, _IO_file_overflow_internal)
27861 (_IO_file_init_internal, _IO_file_attach_internal)
27862 (_IO_file_fopen_internal, _IO_file_read_internal)
27863 (_IO_file_sync_internal, _IO_file_seek_internal)
27864 (_IO_file_finish_internal, _IO_wfile_xsputn_internal)
27865 (_IO_wfile_seekoff_internal, _IO_wfile_sync_internal)
27866 (_IO_str_underflow_internal, _IO_str_overflow_internal)
27867 (_IO_str_pbackfail_internal, _IO_str_seekoff_internal)
27868 (_IO_file_jumps_internal, _IO_wfile_jumps_internal)
27869 (_IO_list_all_internal, _IO_link_in_internal)
27870 (_IO_sputbackc_internal, _IO_wdoallocbuf_internal)
27871 (_IO_sgetn_internal, _IO_flush_all_linebuffered_internal)
27872 (_IO_switch_to_wget_mode_internal, _IO_unsave_markers_internal)
27873 (_IO_switch_to_main_wget_area_internal, _IO_wdo_write_internal)
27874 (_IO_do_write_internal, _IO_padn_internal)
27875 (_IO_getline_info_internal, _IO_getline_internal)
27876 (_IO_free_wbackup_area_internal, _IO_free_backup_area_internal)
27877 (_IO_switch_to_wbackup_area_internal, _IO_setb_internal)
27878 (_IO_sputbackwc_internal, _IO_switch_to_get_mode_internal)
27879 (_IO_vfscanf_internal, _IO_vfprintf_internal)
27880 (_IO_doallocbuf_internal, _IO_wsetb_internal, _IO_putc_internal)
27881 (_IO_init_internal, _IO_un_link_internal): Don't declare.
27882 * libio/fileops.c: Replace INTDEF with libc_hidden_def and INTDEF2
27883 with libc_hidden_ver, remove use of INTUSE.
27884 * libio/genops.c: Likewise.
27885 * libio/freopen.c: Likewise.
27886 * libio/freopen64.c: Likewise.
27887 * libio/iofclose.c: Likewise.
27888 * libio/iofdopen.c: Likewise.
27889 * libio/iofflush.c: Likewise.
27890 * libio/iofflush_u.c: Likewise.
27891 * libio/iofgets.c: Likewise.
27892 * libio/iofgets_u.c: Likewise.
27893 * libio/iofopen.c: Likewise.
27894 * libio/iofopncook.c: Likewise.
27895 * libio/iofread.c: Likewise.
27896 * libio/iofread_u.c: Likewise.
27897 * libio/ioftell.c: Likewise.
27898 * libio/iofwrite.c: Likewise.
27899 * libio/iogetline.c: Likewise.
27900 * libio/iogets.c: Likewise.
27901 * libio/iogetwline.c: Likewise.
27902 * libio/iopadn.c: Likewise.
27903 * libio/iopopen.c: Likewise.
27904 * libio/ioseekoff.c: Likewise.
27905 * libio/ioseekpos.c: Likewise.
27906 * libio/iosetbuffer.c: Likewise.
27907 * libio/iosetvbuf.c: Likewise.
27908 * libio/ioungetc.c: Likewise.
27909 * libio/ioungetwc.c: Likewise.
27910 * libio/iovdprintf.c: Likewise.
27911 * libio/iovsprintf.c: Likewise.
27912 * libio/iovsscanf.c: Likewise.
27913 * libio/memstream.c: Likewise.
27914 * libio/obprintf.c: Likewise.
27915 * libio/oldfileops.c: Likewise.
27916 * libio/oldiofclose.c: Likewise.
27917 * libio/oldiofdopen.c: Likewise.
27918 * libio/oldiofopen.c: Likewise.
27919 * libio/oldiopopen.c: Likewise.
27920 * libio/oldstdfiles.c: Likewise.
27921 * libio/putc.c: Likewise.
27922 * libio/setbuf.c: Likewise.
27923 * libio/setlinebuf.c: Likewise.
27924 * libio/stdfiles.c: Likewise.
27925 * libio/strops.c: Likewise.
27926 * libio/vasprintf.c: Likewise.
27927 * libio/vscanf.c: Likewise.
27928 * libio/vsnprintf.c: Likewise.
27929 * libio/vswprintf.c: Likewise.
27930 * libio/wfiledoalloc.c: Likewise.
27931 * libio/wfileops.c: Likewise.
27932 * libio/wgenops.c: Likewise.
27933 * libio/wmemstream.c: Likewise.
27934 * libio/wstrops.c: Likewise.
27935 * libio/__fpurge.c: Likewise.
27936 * libio/__fsetlocking.c: Likewise.
27937 * assert/assert.c: Likewise.
27938 * debug/fgets_chk.c: Likewise.
27939 * debug/fgets_u_chk.c: Likewise.
27940 * debug/fread_chk.c: Likewise.
27941 * debug/fread_u_chk.c: Likewise.
27942 * debug/gets_chk.c: Likewise.
27943 * debug/obprintf_chk.c: Likewise.
27944 * debug/vasprintf_chk.c: Likewise.
27945 * debug/vdprintf_chk.c: Likewise.
27946 * debug/vsnprintf_chk.c: Likewise.
27947 * debug/vsprintf_chk.c: Likewise.
27948 * malloc/mtrace.c: Likewise.
27949 * misc/error.c: Likewise.
27950 * misc/syslog.c: Likewise.
27951 * stdio-common/asprintf.c: Likewise.
27952 * stdio-common/fxprintf.c: Likewise.
27953 * stdio-common/getw.c: Likewise.
27954 * stdio-common/isoc99_fscanf.c: Likewise.
27955 * stdio-common/isoc99_scanf.c: Likewise.
27956 * stdio-common/isoc99_vfscanf.c: Likewise.
27957 * stdio-common/isoc99_vscanf.c: Likewise.
27958 * stdio-common/isoc99_vsscanf.c: Likewise.
27959 * stdio-common/printf-prs.c: Likewise.
27960 * stdio-common/printf_fp.c: Likewise.
27961 * stdio-common/printf_fphex.c: Likewise.
27962 * stdio-common/printf_size.c: Likewise.
27963 * stdio-common/putw.c: Likewise.
27964 * stdio-common/scanf.c: Likewise.
27965 * stdio-common/sprintf.c: Likewise.
27966 * stdio-common/tmpfile.c: Likewise.
27967 * stdio-common/vfprintf.c: Likewise.
27968 * stdio-common/vfscanf.c: Likewise.
27969 * stdlib/strfmon_l.c: Likewise.
27970 * sunrpc/openchild.c: Likewise.
27971 * sunrpc/xdr_stdio.c: Likewise.
27972 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Likewise.
27973 * sysdeps/mach/hurd/tmpfile.c: Likewise.
27975 2012-05-24 Roland McGrath <roland@hack.frob.com>
27977 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
27979 * sysdeps/unix/make-syscalls.sh: Support "syscall:vdso_name@VDSOVER"
27980 in the third column, to generate for the shared library an IFUNC
27981 that uses _dl_vdso_vsym.
27982 * Makerules (COMPILE.c, compile-stdin.c): New variables.
27983 * Makeconfig (object-suffixes-noshared): New variable.
27985 * sysdeps/unix/sysv/linux/dl-vdso.h (PREPARE_VERSION_KNOWN): New macro.
27986 (VDSO_NAME_LINUX_2_6, VDSO_HASH_LINUX_2_6): New macros.
27987 (VDSO_NAME_LINUX_2_6_15, VDSO_HASH_LINUX_2_6_15): New macros.
27988 (VDSO_NAME_LINUX_2_6_29, VDSO_HASH_LINUX_2_6_29): New macros.
27991 * include/sys/time.h (__gettimeofday): Remove macro.
27992 (__gettimeofday, gettimeofday): Add libc_hidden_proto.
27993 * time/gettimeofday.c (__gettimeofday): Remove #undef.
27995 (__gettimeofday): Add libc_hidden_def.
27996 (gettimeofday): Add libc_hidden_weak.
27997 * sysdeps/mach/gettimeofday.c: Likewise.
27998 * sysdeps/posix/gettimeofday.c: Likewise.
27999 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Likewise.
28000 * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Likewise.
28001 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c
28002 (__gettimeofday_internal): Remove strong_alias.
28003 (__gettimeofday): Add libc_hidden_def.
28004 (gettimeofday): Add libc_hidden_weak.
28005 * sysdeps/unix/syscalls.list (gettimeofday):
28006 Remove __gettimeofday_internal alias.
28008 2012-05-24 Daniel Jacobowitz <drow@false.org>
28009 H.J. Lu <hongjiu.lu@intel.com>
28012 * malloc/malloc.c (SMALLBIN_CORRECTION): New.
28013 (MIN_LARGE_SIZE, smallbin_index): Use it to handle 16-byte alignment.
28014 (largebin_index_32_big): New.
28015 (largebin_index): Use it for 16-byte alignment.
28016 (sYSMALLOc): Handle MALLOC_ALIGNMENT > 2 * SIZE_SZ. Don't update
28017 correction with front_misalign.
28019 2012-05-24 H.J. Lu <hongjiu.lu@intel.com>
28021 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: New file.
28022 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
28024 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist:
28026 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
28028 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist:
28030 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist:
28032 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist:
28034 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist:
28036 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
28038 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist:
28040 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist:
28042 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
28044 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist:
28047 * scripts/data/c++-types-x32-linux-gnu.data: New file.
28048 * sysdeps/x86_64/x32/shlib-versions: Add x32 ABI entry.
28050 2012-05-24 Joseph Myers <joseph@codesourcery.com>
28054 * math/libm-test.inc (exp_test): Add test from bug 14036.
28055 (pow_test): Add test from bug 10846.
28057 * math/gen-libm-test.pl (%beautify): Remove entries for exceptions
28059 (special_function): Do not include flags in test name.
28060 (parse_args): Likewise.
28061 * sysdeps/i386/fpu/libm-test-ulps: Update.
28062 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
28063 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
28064 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
28065 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
28067 * math/gen-libm-test.pl (%beautify): Add entries for underflow
28069 * math/libm-test.inc ("Philosophy"): Update comment about
28071 (UNDERFLOW_EXCEPTION): New macro.
28072 (UNDERFLOW_EXCEPTION_OK): Likewise.
28073 (UNDERFLOW_EXCEPTION_FLOAT): Likewise.
28074 (UNDERFLOW_EXCEPTION_OK_FLOAT): Likewise.
28075 (UNDERFLOW_EXCEPTION_DOUBLE): Likewise.
28076 (UNDERFLOW_EXCEPTION_LDOUBLE_IBM): Likewise.
28077 (INVALID_EXCEPTION_OK): Update value.
28078 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
28079 (OVERFLOW_EXCEPTION_OK): Likewise.
28080 (IGNORE_ZERO_INF_SIGN): Likewise.
28081 (test_exceptions): Handle underflow exceptions.
28082 (acos_test): Update for underflow exception expectations.
28083 (cexp_test): Likewise.
28084 (clog_test): Likewise.
28085 (clog10_test): Likewise.
28086 (csqrt_test): Likewise.
28087 (ctan_test): Likewise.
28088 (ctanh_test): Likewise.
28089 (exp_test): Likewise.
28090 (exp10_test): Likewise.
28091 (exp2_test): Likewise.
28092 (expm1_test): Likewise.
28093 (fma_test): Likewise.
28094 (j0_test): Likewise.
28095 (jn_test): Likewise.
28096 (nexttoward_test): Likewise.
28097 (pow_test): Likewise.
28098 (scalbn_test): Likewise.
28099 (scalbln_test): Likewise.
28100 (tan_test): Likewise.
28101 (y1_test): Likewise.
28102 * sysdeps/i386/fpu/libm-test-ulps: Update.
28103 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
28105 2012-05-23 David S. Miller <davem@davemloft.net>
28107 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
28108 (__libc_sigaction): Remove unused local variables.
28110 2012-05-23 H.J. Lu <hongjiu.lu@intel.com>
28112 * sysdeps/unix/sysv/linux/x86_64/x32/configure: New file.
28114 2012-05-23 Paul Eggert <eggert@cs.ucla.edu>
28116 mktime: avoid signed integer overflow
28117 * time/mktime.c (__mktime_internal): Do not mishandle the case
28118 where diff == INT_MIN.
28120 mktime: simplify computation of average
28121 * time/mktime.c (ranged_convert): Use new time_t_avg function
28122 instead of rolling our own (probably-slower) code.
28124 mktime: do not assume signed right shift propagates sign bit
28125 * time/mktime.c (isdst_differ): New static function.
28126 (__mktime_internal): No need to normalize tm_isdst now.
28127 (__mktime_internal, not_equal_tm): Use isdst_differ to compare
28130 mktime: merge another wrapv change from gnulib
28131 * time/mktime.c (TYPE_MAXIMUM): Rework slightly to avoid diagnostics
28132 from some compilers.
28134 mktime: remove incorrect attempt at unusual arithmetics
28135 * time/mktime.c (TYPE_ONES_COMPLEMENT, TYPE_SIGNED_MAGNITUDE): Remove.
28136 The code didn't really work on such machines anyway.
28137 (TYPE_MINIMUM): Assume two's complement.
28138 (twos_complement_arithmetic): Verify that long_int and time_t
28139 are two's complement (or unsigned, in the latter case).
28141 mktime: check signed shifts on long_int and time_t, too
28142 * time/mktime.c (SHR): Check that shifts work as desired
28143 on the types long_int and time_t too, as SHR is used on
28146 mktime: do not assume 'long' is wide enough
28147 * time/mktime.c (verify): Move decl up.
28148 (long_int): New type.
28149 (leapyear, ydhms_diff, guess_time_tm, __mktime_internal): Use it,
28150 to remove assumption in the code that 'long' is wide enough to
28151 store year values. This assumption is not true on x32 and on
28152 some non-glibc platforms.
28154 mktime: merge wrapv change from gnulib
28155 * time/mktime.c (WRAPV): New macro.
28156 (time_t_avg, time_t_add_ok, time_t_int_add_ok): New static functions.
28157 (guess_time_tm, __mktime_internal): Do not assume that signed
28158 integer overflow wraps around; modern compilers generate code
28159 where this assumption is no longer valid.
28161 2012-05-23 H.J. Lu <hongjiu.lu@intel.com>
28163 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
28164 Replace "jmp L(pseudo_end)" with "ret".
28165 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_ERROR_HANDLER):
28168 2012-05-23 Andreas Jaeger <aj@suse.de>
28170 * sysdeps/unix/sysv/linux/syscalls.list: Add poll.
28171 * sysdeps/unix/sysv/linux/poll.c: Remove file.
28173 2012-05-23 Andreas Jaeger <aj@suse.de>
28174 Maximilian Attems <max@stro.at>
28176 * sysdeps/unix/sysv/linux/sys/reboot.h (RB_SW_SUSPEND, RB_KEXEC):
28179 2012-05-23 H.J. Lu <hongjiu.lu@intel.com>
28181 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Rearrange
28182 code so that pseudo_end is just ret and the stack pointer is
28183 correct also for static library in error case.
28185 2012-05-23 Joseph Myers <joseph@codesourcery.com>
28187 * sysdeps/unix/sysv/linux/powerpc/chown.c: Add comment suggesting
28188 move to syscalls.list.
28189 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
28190 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
28191 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
28192 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
28194 * manual/install.texi (Running make install): Do not mention Linux
28195 kernel version for which pt_chown is not needed.
28196 (Linux): Do not mention problems with nscd with 2.0 kernels.
28197 * INSTALL: Regenerated.
28199 2012-05-23 Andreas Jaeger <aj@suse.de>
28201 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h
28202 (MADV_DONTDUMP,MADV_DODUMP): New macros from Linux 3.4.
28204 * sysdeps/unix/sysv/linux/s390/bits/mman.h
28205 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
28206 * sysdeps/unix/sysv/linux/sh/bits/mman.h
28207 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
28208 * sysdeps/unix/sysv/linux/i386/bits/mman.h
28209 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
28210 * sysdeps/unix/sysv/linux/sparc/bits/mman.h
28211 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
28212 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h
28213 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
28214 * sysdeps/unix/sysv/linux/bits/in.h
28215 (IP_MULTICAST_ALL,IP_UNICAST_IF): Likewise.
28217 2012-05-22 Roland McGrath <roland@hack.frob.com>
28219 * sysdeps/unix/sysv/linux/dl-vdso.h (CHECK_HASH): Macro removed.
28220 (PREPARE_VERSION): Just use assert instead, it will be elided
28221 under [NDEBUG] anyway.
28223 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
28225 * sysdeps/unix/sysv/linux/Makefile: Include
28226 $(firstword $(wildcard $(sysdirs:=/sysctl.mk))).
28227 (sysdep_routines): Remove sysctl.
28228 * sysdeps/unix/sysv/linux/bits/sysctl.h: New file.
28229 * sysdeps/unix/sysv/linux/sysctl.mk: Likewise.
28230 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Likewise.
28231 * sysdeps/unix/sysv/linux/x86_64/x32/sysctl.mk: Likewise.
28232 * sysdeps/unix/sysv/linux/sys/sysctl.h: Include <bits/sysctl.h>.
28234 2012-05-22 Andreas Jaeger <aj@suse.de>
28236 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Rearrange code so
28237 that pseudo_end is just ret and the stack pointer is correct also
28238 for static library in error case.
28240 2012-05-22 Paul Pluzhnikov <ppluzhnikov@google.com>
28243 * nss/nsswitch.c (defconfig_entries): New variable.
28244 (__nss_database_lookup): Don't leak defconfig entries.
28245 (nss_parse_service_list): Don't leak on error paths.
28246 (free_database_entries): New function.
28247 (free_defconfig): New function.
28248 (free_mem): Move common code to free_database_entries.
28250 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
28252 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (sysdep_routines):
28254 * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: New file.
28256 * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
28257 (posix_fallocate): Use INTERNAL_SYSCALL_TYPES if it is defined.
28258 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (INLINE_SYSCALL_TYPES):
28260 (INTERNAL_SYSCALL_NCS_TYPES): Likewise.
28261 (INTERNAL_SYSCALL_TYPES): Likewise.
28262 (LOAD_ARGS_TYPES_[1-6]): Likewise.
28263 (LOAD_REGS_TYPES_[1-6]): Likewise.
28264 (LOAD_ARGS_[1-6]): Use LOAD_ARGS_TYPES_[1-6].
28265 (LOAD_REGS_[1-6]): Use LOAD_REGS_TYPES_[1-6].
28267 2012-05-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
28269 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Add compat symbol
28270 copysignl for GLIBC_2_0.
28271 * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Add compat symbol
28272 finitel for GLIBC_2.0 and __finitel for GLIBC_2_1.
28273 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Add compat symbol
28274 logbl for GLIBC_2_0.
28275 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
28276 * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
28278 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
28280 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Don't include
28281 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
28283 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
28286 * time/mktime.c: Update copyright years.
28288 2012-05-22 Paul Eggert <eggert@cs.ucla.edu>
28290 mktime: merge comment-quoting-style change from gnulib
28291 * time/mktime.c: Quote 'like this' in comments.
28292 The GNU coding standards suggest that we no longer quote `like this',
28293 as "`" and "'" are typically rendered asymmetrically nowadays.
28294 The typical gnulib style is to quote 'like this' when quoting
28295 code, and "like this" when quoting English.
28297 * time/mktime.c (compile-command): Add "-I.".
28299 mktime: merge mktime-internal.h change from gnulib
28300 * time/mktime.c [!_LIBC]: Include "mktime-internal.h".
28302 mktime: merge time_r change from gnulib
28303 * time/mktime.c [!_LIBC]: Do not include "time_r.h".
28305 mktime: merge DEBUG change from gnulib
28306 * time/mktime.c (mktime) [DEBUG]: #undef before #define-ing, in
28307 case system <time.h> has a #define.
28309 mktime: merge <sys/types.h> change from gnulib
28310 * time/mktime.c: Do not include <sys/types.h>; no longer needed,
28311 since <time.t> is now guaranteed to define time_t.
28313 mktime: merge HAVE_CONFIG_H change from gnulib
28314 * time/mktime.c: Include <config.h> if !_LIBC, not if HAVE_CONFIG_H.
28316 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
28318 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
28321 * sysdeps/unix/sysv/linux/bits/resource.h (RLIM_INFINITY): Use
28323 (struct rusage): Use anonymous union to pad each field to
28326 2012-05-21 David S. Miller <davem@davemloft.net>
28328 * Makefules (o-iterator): Remove .s cases.
28329 (compile-command.s): Delete.
28330 (COMPILE.s): Delete.
28331 * sysdeps/unix/make-syscalls.sh: Remove .s file tests.
28333 2012-05-21 Joseph Myers <joseph@codesourcery.com>
28335 * configure.in (libc_cv_predef_stack_protector): Only consider
28336 "foobar" and "__stack_chk_fail" lines in libc_undefs.
28337 * configure: Regenerated.
28339 2012-05-21 H.J. Lu <hongjiu.lu@intel.com>
28341 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
28342 New macro. Use R*LP on int and pointer.
28343 (SYSCALL_ERROR_HANDLER): Use SYSCALL_SET_ERRNO.
28344 * sysdeps/unix/sysv/linux/x86_64/x32/lseek.S: New file.
28345 * sysdeps/unix/sysv/linux/x86_64/x32/llseek.S: Likewise.
28346 * sysdeps/unix/sysv/linux/x86_64/x32/sysdep.h: Likewise.
28348 * sysdeps/gnu/bits/utmp.h (struct lastlog): Check
28349 [__WORDSIZE_TIME64_COMPAT32] instead of
28350 [__WORDSIZE == 64 && __WORDSIZE_COMPAT32].
28351 (struct utmp): Likewise.
28352 * sysdeps/gnu/bits/utmpx.h (struct utmpx): Likewise.
28353 * sysdeps/powerpc/powerpc32/bits/wordsize.h (__WORDSIZE_COMPAT32):
28355 (__WORDSIZE_TIME64_COMPAT32): This.
28356 * sysdeps/powerpc/powerpc64/bits/wordsize.h: Likewise.
28357 * sysdeps/sparc/sparc32/bits/wordsize.h: Likewise.
28358 * sysdeps/sparc/sparc64/bits/wordsize.h: Likewise.
28359 * sysdeps/unix/sysv/linux/powerpc/bits/wordsize.h: Likewise.
28360 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE_COMPAT32): Removed.
28361 (__WORDSIZE_TIME64_COMPAT32): New macro.
28363 2012-05-21 Andreas Jaeger <aj@suse.de>
28365 * sysdeps/i386/i686/multiarch/wcschr-c.c: Redefine libc_hidden_def
28366 only if [SHARED]. Add prototype for __wcschr_ia32.
28368 2012-05-21 Roland McGrath <roland@hack.frob.com>
28370 * sysdeps/x86_64/setjmp.S [PTR_MANGLE] [__ILP32__]: Preserve high bits
28371 of %rbp unmolested in the jmp_buf while mangling the low bits.
28372 * sysdeps/x86_64/__longjmp.S [PTR_DEMANGLE] [__ILP32__]: Restore the
28373 unmolested high bits of %rbp while demangling the low bits.
28374 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
28376 2012-05-21 Andreas Jaeger <aj@suse.de>
28378 * include/shlib-compat.h (libc_sunrpc_symbol): New macro.
28379 * sunrpc/svc_simple.c: Use it for registerrpc.
28380 * sunrpc/xcrypt.c: Use it for passwd2des.
28382 * malloc/malloc.c: Include shlib-compat.h for SHLIB_COMPAT.
28384 2012-05-21 H.J. Lu <hongjiu.lu@intel.com>
28386 * sysdeps/unix/sysv/linux/bits/statvfs.h (_STATVFSBUF_F_UNUSED):
28387 Don't define if [__SYSCALL_WORDSIZE != 32].
28388 * sysdeps/x86_64/bits/wordsize.h (__SYSCALL_WORDSIZE):
28391 2012-05-21 Bruno Haible <bruno@clisp.org>
28392 Andreas Jaeger <aj@suse.de>
28394 [BZ #13691], Revert breakage of iconv() converter for TCVN-5712.
28395 * iconvdata/tcvn5712-1.c (BODY for FROM_LOOP): Don't consider
28396 inptr and inend for must_buffer_ch.
28397 * wcsmbs/tst-mbsnrtowcs.c: Remove file.
28398 * wcsmbs/Makefile (tests): Remove tst-mbsnrtowcs.
28399 * stdio-common/Makefile (tests): Remove bug15.
28400 (bug15-ENV): Remove macro.
28401 * stdio-common/bug15.c: Remove, we do not support vi_VN.TCVN5712-1
28404 2012-05-19 Andreas Jaeger <aj@suse.de>
28405 Roland McGrath <roland@hack.frob.com>
28407 * manual/contrib.texi: Completely rewritten. It contains now an
28408 alphabetical list of contributors and their contributions.
28410 2012-05-21 Richard Henderson <rth@twiddle.net>
28412 * misc/getauxval.c (__getauxval): Use unsigned long int.
28413 * misc/sys/auxv.h: Include <sys/cdefs.h>.
28414 (getauxval): Use unsigned long int.
28416 2012-05-21 H.J. Lu <hongjiu.lu@intel.com>
28418 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
28420 2012-05-21 Roland McGrath <roland@hack.frob.com>
28422 * malloc/malloc.c [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_16)]
28423 (MALLOC_ALIGNMENT): Set it to the greater of 2 * SIZE_SZ and
28424 __alignof__ (long double).
28426 2012-05-21 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
28428 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
28430 2012-05-20 Richard Henderson <rth@twiddle.net>
28432 * misc/getauxval.c: New file.
28433 * misc/sys/auxv.h: New file.
28434 * misc/Makefile (headers): Add sys/auxv.h, bits/hwcap.h.
28435 (routines): Add getauxval.
28436 * misc/Versions (GLIBC_2.16): Add __getauxval, getauxval.
28437 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Add _dl_auxv.
28438 * elf/dl-sysdep.c (_dl_auxv): Remove.
28439 (_dl_sysdep_start, _dl_show_auxv): Use GLRO to access _dl_auxv.
28440 * elf/dl-support.c (_dl_auxv): New variable.
28441 (_dl_aux_init): Initialize it.
28442 * manual/startup.texi (Auxiliary Vector): New node.
28443 * sysdeps/generic/bits/hwcap.h: New file.
28444 * sysdeps/powerpc/bits/hwcap.h: New file, split out from ...
28445 * sysdeps/powerpc/sysdep.h: ... here. Include it.
28446 * sysdeps/sparc/bits/hwcap.h: New file, split out from ...
28447 * sysdeps/sparc/sysdep.h: ... here. Include it.
28448 * sysdeps/unix/sysv/linux/s390/bits/hwcap.h: New file.
28449 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Update.
28450 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
28452 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: Update.
28453 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Update.
28454 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Update.
28455 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Update.
28456 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
28457 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
28458 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Update.
28459 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Update.
28461 2012-05-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
28463 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
28465 2012-05-19 David S. Miller <davem@davemloft.net>
28467 * sysdeps/sparc/fpu/libm-test-ulps: Update.
28469 2012-05-19 Joseph Myers <joseph@codesourcery.com>
28472 * math/s_ccosh.c: Include <float.h>
28473 (__ccosh): Avoid internal overflow calculating sinh and cosh
28474 values before multiplying by sin and cos values.
28475 * math/s_ccoshf.c: Likewise.
28476 * math/s_ccoshl.c: Likewise.
28477 * math/s_csin.c: Likewise.
28478 * math/s_csinf.c: Likewise.
28479 * math/s_csinl.c: Likewise.
28480 * math/s_csinh.c: Likewise.
28481 * math/s_csinhf.c: Likewise.
28482 * math/s_csinhl.c: Likewise.
28483 * math/libm-test.inc (ccos_test): Add more tests.
28484 (ccosh_test): Likewise.
28485 (csin_test): Likewise.
28486 (csinh_test): Likewise.
28487 * sysdeps/i386/fpu/libm-test-ulps: Update.
28488 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
28490 2012-05-19 H.J. Lu <hongjiu.lu@intel.com>
28492 * sysdeps/unix/sysv/linux/wordsize-64/preadv.c: New file.
28493 * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c: Likewise.
28495 * sysdeps/x86_64/x32/_itoa.h: Add comment.
28497 2012-05-19 Joseph Myers <joseph@codesourcery.com>
28499 * sysdeps/powerpc/soft-fp/Makefile: Remove file.
28500 * sysdeps/powerpc/soft-fp/Subdirs: Likewise.
28501 * sysdeps/powerpc/soft-fp/Versions: Likewise.
28502 * sysdeps/powerpc/soft-fp/q_add.c: Likewise.
28503 * sysdeps/powerpc/soft-fp/q_cmp.c: Likewise.
28504 * sysdeps/powerpc/soft-fp/q_cmpe.c: Likewise.
28505 * sysdeps/powerpc/soft-fp/q_div.c: Likewise.
28506 * sysdeps/powerpc/soft-fp/q_dtoq.c: Likewise.
28507 * sysdeps/powerpc/soft-fp/q_feq.c: Likewise.
28508 * sysdeps/powerpc/soft-fp/q_fge.c: Likewise.
28509 * sysdeps/powerpc/soft-fp/q_fgt.c: Likewise.
28510 * sysdeps/powerpc/soft-fp/q_fle.c: Likewise.
28511 * sysdeps/powerpc/soft-fp/q_flt.c: Likewise.
28512 * sysdeps/powerpc/soft-fp/q_fne.c: Likewise.
28513 * sysdeps/powerpc/soft-fp/q_itoq.c: Likewise.
28514 * sysdeps/powerpc/soft-fp/q_lltoq.c: Likewise.
28515 * sysdeps/powerpc/soft-fp/q_mul.c: Likewise.
28516 * sysdeps/powerpc/soft-fp/q_neg.c: Likewise.
28517 * sysdeps/powerpc/soft-fp/q_qtod.c: Likewise.
28518 * sysdeps/powerpc/soft-fp/q_qtoi.c: Likewise.
28519 * sysdeps/powerpc/soft-fp/q_qtoll.c: Likewise.
28520 * sysdeps/powerpc/soft-fp/q_qtos.c: Likewise.
28521 * sysdeps/powerpc/soft-fp/q_qtou.c: Likewise.
28522 * sysdeps/powerpc/soft-fp/q_qtoull.c: Likewise.
28523 * sysdeps/powerpc/soft-fp/q_sqrt.c: Likewise.
28524 * sysdeps/powerpc/soft-fp/q_stoq.c: Likewise.
28525 * sysdeps/powerpc/soft-fp/q_sub.c: Likewise.
28526 * sysdeps/powerpc/soft-fp/q_ulltoq.c: Likewise.
28527 * sysdeps/powerpc/soft-fp/q_util.c: Likewise.
28528 * sysdeps/powerpc/soft-fp/q_utoq.c: Likewise.
28529 * sysdeps/powerpc/soft-fp/sfp-machine.h: Likewise.
28531 2012-05-18 Andreas Jaeger <aj@suse.de>
28533 * csu/.gitignore: Delete.
28535 2012-05-18 H.J. Lu <hongjiu.lu@intel.com>
28537 * sysdeps/unix/sysv/linux/bits/timex.h: Include <bits/types.h>.
28538 (timex): Use __syscall_slong_t.
28540 2012-05-18 Andreas Jaeger <aj@suse.de>
28541 Carlos O'Donell <carlos_odonell@mentor.com>
28543 * manual/install.texi (Configuring and compiling): Update
28544 description about files modified in the source directory.
28545 * INSTALL: Regenerated.
28547 2012-05-18 H.J. Lu <hongjiu.lu@intel.com>
28549 * sysdeps/unix/x86_64/sysdep.S: Use RAX_LP to access return
28550 value. Use "or" to set return value to -1.
28551 * sysdeps/unix/sysv/linux/x86_64/sysdep.S: Use RAX_LP to
28552 negate return value.
28554 2012-05-18 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
28556 * sysdeps/powerpc/powerpc32/power4/Makefile (CFLAGS-wordcopy.c)
28557 (CFLAGS-memmove.c): remove -ftree-loop-linear which causes a build
28558 failure if the compiler has Graphite support disabled.
28559 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile (CFLAGS-mpa.c):
28561 * sysdeps/powerpc/powerpc64/power4/Makefile (CFLAGS-wordcopy.c)
28562 (CFLAGS-memmove.c): Likewise.
28563 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile (CFLAGS-mpa.c):
28566 2012-05-18 H.J. Lu <hongjiu.lu@intel.com>
28568 * sysdeps/x86_64/x32/_itoa.h: New file.
28570 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): Use
28571 getdents system call only if kernel and user dirents have the
28572 same d_ino and d_off.
28574 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
28575 LLONG_MAX != LONG_MAX.
28576 (_itoa_word): Use _ITOA_WORD_TYPE on value.
28577 (_fitoa_word): Likewise.
28579 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Fold copyright
28581 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Likewise.
28582 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Likewise.
28583 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Likewise.
28585 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Don't
28586 include <bits/wordsize.h>. Check __x86_64__ instead of
28588 (sigcontext): Use "__uint64_t" instead of "unsigned long int"
28589 if __x86_64__ is defined. Use anonymous union on fpstate.
28591 * sysdeps/unix/sysv/linux/x86_64/sys/user.h (user): Use
28594 2012-05-18 Andreas Schwab <schwab@linux-m68k.org>
28596 * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
28597 INTUSE on _dl_argv, and _rtld_local instead of _rtld_global.
28598 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S [IS_IN_rtld]:
28599 Refer to _rtld_local_ro instead of _rtld_global_ro.
28600 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S [IS_IN_rtld]:
28602 * sysdeps/powerpc/powerpc64/__longjmp-common.S [IS_IN_rtld]:
28604 * sysdeps/powerpc/powerpc64/setjmp-common.S [IS_IN_rtld]:
28606 * sysdeps/powerpc/powerpc64/dl-trampoline.S [SHARED]: Likewise.
28607 * sysdeps/powerpc/powerpc64/dl-machine.h: Use _rtld_local instead
28608 of _rtld_global, and rtld_progname instead of _dl_argv[0].
28610 * sysdeps/powerpc/powerpc32/dl-machine.c
28611 (__elf_machine_runtime_setup) [PROF]: Don't reference
28614 2012-05-18 Andreas Jaeger <aj@suse.de>
28616 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Make inline
28617 function only available for GCCs before 3.4 since GCC 3.4
28618 introduced a builtin.
28620 (llrintf): Likewise.
28621 (llrint): Likewise.
28628 (nearbyint): Likewise.
28629 (nearbyintf): Likewise.
28633 (floorf): Likewise.
28635 2012-05-17 H.J. Lu <hongjiu.lu@intel.com>
28637 * sysdeps/unix/sysv/linux/pselect.c (data): Use __syscall_ulong_t
28638 on both fields and cast pointer to __syscall_ulong_t.
28640 * bits/types.h (__fsword_t): New type.
28641 * bits/typesizes.h (__FSWORD_T_TYPE): New macro.
28642 sysdeps/mach/hurd/bits/typesizes.h (__FSWORD_T_TYPE): Likewise.
28643 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
28644 (__FSWORD_T_TYPE): Likewise.
28645 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
28646 (__FSWORD_T_TYPE): Likewise.
28647 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
28648 (__FSWORD_T_TYPE): Likewise.
28649 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h
28650 (__FSWORD_T_TYPE): Likewise.
28651 * sysdeps/unix/sysv/linux/bits/statfs.h (statfs): Replace
28652 __SWORD_TYPE with __fsword_t.
28653 (statfs64): Likewise.
28655 2012-05-17 David S. Miller <davem@davemloft.net>
28657 * crypt/sha512c-test.c (TIMEOUT): Increase to 32.
28659 2012-05-17 Andreas Jaeger <aj@suse.de>
28661 * elf/tst-relsort1.c (do_test): Fix function declaration to avoid
28664 2012-05-17 H.J. Lu <hongjiu.lu@intel.com>
28666 * sysdeps/x86_64/tst-mallocalign1.c (test): Cast to unsigned long.
28668 2012-05-17 Andreas Jaeger <aj@suse.de>
28670 * sysdeps/i386/dl-machine.h (elf_machine_rel): Declare refsym only
28673 2012-05-17 Chris Metcalf <cmetcalf@tilera.com>
28675 * stdio-common/bug22.c (TIMEOUT): Bump up from 30 to 60.
28677 2012-05-17 H.J. Lu <hongjiu.lu@intel.com>
28679 * sysdeps/x86_64/Makefile (tests): Add tst-mallocalign1.
28680 * sysdeps/x86_64/tst-mallocalign1.c: New file.
28682 2012-05-17 Andreas Jaeger <aj@suse.de>
28683 Carlos O'Donell <carlos_odonell@mentor.com>
28686 * sysdeps/x86_64/multiarch/init-arch.h
28687 (bit_YMM_Usable): Rename to...
28688 (bit_AVX_Usable): ... this.
28689 (bit_FMA4_Usable): New macro.
28690 (bit_XMM_state): New macro.
28691 (bit_YMM_state): New macro.
28692 [__ASSEMBLER__] (index_YMM_Usable): Rename to...
28693 [__ASSEMBLER__] (index_AVX_Usable): ... this.
28694 [__ASSEMBLER__] (index_FMA4_Usable): New macro.
28695 (CPUID_OSXSAVE): New macro.
28696 (CPUID_AVX): New macro.
28697 (CPUID_FMA4): New macro.
28698 (index_YMM_Usable): Rename to...
28699 (index_AVX_Usable): ... this.
28700 (HAS_AVX): Use HAS_ARCH_FEATURE.
28701 (HAS_FMA4): Likewise.
28702 (HAS_YMM_USABLE): Remove.
28703 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
28704 Enable AVX or FMA4 IFF YMM and XMM states are usable and the features
28706 * sysdeps/x86_64/multiarch/strcmp.S: Use bit_AVX_Usable.
28707 * sysdeps/i386/i686/multiarch/Makefile: Add test-multiarch to tests.
28708 * sysdeps/x86_64/multiarch/Makefile: Likewise.
28709 * sysdeps/i386/i686/multiarch/test-multiarch.c: New file.
28710 * sysdeps/x86_64/multiarch/test-multiarch.c: New file.
28712 2012-05-17 Chris Metcalf <cmetcalf@tilera.com>
28714 * math/libm-test.c: Support platforms without multiple rounding modes.
28715 * math/bug-nextafter.c: Support platforms without FP exceptions.
28716 * math/bug-nexttoward.c: Likewise.
28717 * math/test-fenv.c: Likewise.
28718 * math/test-misc.c: Likewise.
28719 * stdlib/bug-getcontext.c: Likewise.
28721 2012-05-17 Andreas Jaeger <aj@suse.de>
28723 * manual/examples/search.c (critter_cmp): Change signature to
28725 * manual/string.texi (Collation Functions): Likewise.
28727 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
28729 * bits/types.h: Fold copyright years.
28730 * bits/typesizes.h: Likewise.
28731 * sysdeps/mach/hurd/bits/typesizes.h: Likewise.
28732 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
28733 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h: Likewise.
28734 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h: Likewise.
28735 * time/time.h: Likewise.
28737 2012-05-16 Paul Pluzhnikov <ppluzhnikov@google.com>
28740 * malloc.c (int_mallinfo): Add parameter to accumulate statistics
28741 in instead of returning them. Return void.
28742 (__libc_mallinfo): Accumulate over all arenas.
28743 (__malloc_stats): Adjust for change in int_mallinfo interface.
28745 2012-05-16 Roland McGrath <roland@hack.frob.com>
28748 * configure.in (NM): Add AC_CHECK_TOOL for it.
28749 (libc_extra_cflags): New substituted variable.
28750 Check for -fstack-protector being used implicitly.
28751 * configure: Regenerated.
28752 * config.make.in (config-extra-cflags): New variable,
28753 gets @libc_extra_cflags@.
28754 * Makeconfig (CFLAGS): Add $(config-extra-cflags) near the front.
28757 * configure.in: Check for _FORTIFY_SOURCE being predefined.
28758 (CPPUNDEFS): New substituted variable; add -U_FORTIFY_SOURCE if needed.
28759 * configure: Regenerated.
28760 * config.make.in (CPPUNDEFS): New substituted variable.
28761 * Makeconfig (CPPFLAGS): Put $(CPPUNDEFS) at the beginning.
28762 * Makerules ($(stdio_lim:h=st)): Use $(CPPUNDEFS).
28763 * time/ctime.c: Don't #undef __OPTIMIZE__ and ctime.
28765 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
28767 * sysdeps/unix/sysv/linux/bits/mqueue.h: Include <bits/types.h>.
28768 (mq_attr): Use __syscall_slong_t.
28770 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
28772 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_SVR4):
28773 Check __x86_64__ instead of __WORDSIZE.
28774 (_STAT_VER_LINUX): Likewise.
28775 (stat): Check __x86_64__ instead of __WORDSIZE. Use
28776 __syscall_ulong_t and __syscall_slong_t.
28777 (stat64): Likewise.
28779 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
28781 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: New file.
28783 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
28785 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: New file.
28787 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
28789 * sysdeps/unix/sysv/linux/bits/ipc.h (ipc_perm): Use
28792 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Don't
28793 include <bits/wordsize.h>. Check __x86_64__ instead of
28795 (greg_t): Use "__extension__ long long int" if __x86_64__ is
28797 (mcontext_t): Replace "unsigned long" with "unsigned long long".
28799 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Don't
28800 include <bits/wordsize.h>. Check __x86_64__ instead of
28802 (user_regs_struct): Use "__extension__ unsigned long long"
28803 instead of "unsigned long" if __x86_64__ is defined.
28804 (user): Likewise. Pad after pointer field if __ILP32__ is
28807 2012-05-16 Joseph Myers <joseph@codesourcery.com>
28809 * configure.in (makeinfo): Require version 4.5 or later. Allow
28811 * configure: Regenerated.
28812 * manual/install.texi (texinfo): Increase version requirement to
28814 * INSTALL: Regenerated.
28816 * include/stdc-predef.h (__STDC_ISO_10646__): Increase to 201103L.
28818 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
28820 * sysdeps/x86_64/x32/gmp-mparam.h: New file.
28822 * sysdeps/x86_64/x32/ffs.c: New file.
28824 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h (shmatt_t): Use
28826 (shmid_ds): Add __unused1 and __unused2 only if __x86_64__ isn't
28827 defined. Use __syscall_ulong_t.
28828 (shminfo): Use __syscall_ulong_t.
28829 (shm_info): Likewise.
28831 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semid_ds): Use
28834 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Don't include
28836 (msgqnum_t): Use __syscall_ulong_t.
28837 (msglen_t): Likewise.
28838 (msqid_ds): Check __x86_64__ instead of __WORDSIZE. Use
28841 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Don't include
28842 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
28844 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: New file.
28846 * sysdeps/x86_64/x32/divdi3.c: New dummy file.
28847 * sysdeps/x86_64/x32/symbol-hacks.h: Likewise.
28849 * sysvipc/sys/msg.h (msgbuf): Replace long int with
28852 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Don't
28853 include <bits/wordsize.h>. Check __x86_64__ instead of
28856 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h (elf_greg_t): Use
28857 "unsigned long long int" if __x86_64__ is defined.
28858 (elf_fpregset_t): Check __x86_64__ instead of __WORDSIZE.
28860 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Don't include
28861 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
28862 (DR_CONTROL_RESERVED): Use ULL instead of UL suffix.
28864 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Include
28866 (GET_PC): Cast to uintptr_t first.
28867 (GET_FRAME): Likewise.
28868 (GET_STACK): Likewise.
28870 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: New file.
28871 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: Likewise.
28872 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: Likewise.
28873 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: Likewise.
28874 * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: Likewise.
28875 * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: Likewise.
28876 * sysdeps/unix/sysv/linux/x86_64/x32/ftw.c: Likewise.
28877 * sysdeps/unix/sysv/linux/x86_64/x32/ftw64.c: Likewise.
28878 * sysdeps/unix/sysv/linux/x86_64/x32/glob.c: Likewise.
28879 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: Likewise.
28880 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: Likewise.
28881 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Likewise.
28882 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
28883 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: Likewise.
28884 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: Likewise.
28885 * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: Likewise.
28886 * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: Likewise.
28887 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: Likewise.
28888 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: Likewise.
28889 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: Likewise.
28890 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: Likewise.
28891 * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: Likewise.
28892 * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: Likewise.
28893 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: Likewise.
28894 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: Likewise.
28895 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: Likewise.
28896 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: Likewise.
28897 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: Likewise.
28898 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: Likewise.
28900 2012-05-16 Andreas Schwab <schwab@linux-m68k.org>
28902 * Makerules (+depfiles): Also collect depfiles from .oS in
28904 * sysdeps/ieee754/ldbl-opt/Makefile (extra-objs): Add $(addsuffix
28905 .oS, $(libnldbl-routines)).
28907 * Makerules (native-compile-mkdep-flags): Define.
28908 * sunrpc/Makefile (extra-objs): Add $(addprefix
28909 cross-,$(rpcgen-objs)), don't add $(cross-rpcgen-objs).
28910 ($(cross-rpcgen-objs)): Use $(native-compile-mkdep-flags) instead
28911 of $(compile-mkdep-flags). Depend on $(before-compile) instead of
28912 calling $(make-target-directory).
28914 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
28916 * bits/types.h (__snseconds_t): Removed.
28917 * time/time.h (struct timespec): Replace __snseconds_t with
28919 * bits/typesizes.h (__SNSECONDS_T_TYPE): Removed.
28920 * sysdeps/mach/hurd/bits/typesizes.h (__SNSECONDS_T_TYPE):
28922 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
28923 (__SNSECONDS_T_TYPE): Likewise.
28924 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
28925 (__SNSECONDS_T_TYPE): Likewise.
28926 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
28927 (__SNSECONDS_T_TYPE): Likewise.
28929 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
28931 * sysdeps/mach/hurd/bits/typesizes.h
28932 (__SYSCALL_SLONG_TYPE): New macro.
28933 (__SYSCALL_ULONG_TYPE): Likewise.
28935 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
28937 * bits/types.h (__syscall_slong_t): New type.
28938 (__syscall_ulong_t): Likewise.
28940 * bits/typesizes.h (__SYSCALL_SLONG_TYPE): New macro.
28941 (__SYSCALL_ULONG_TYPE): Likewise.
28942 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
28943 (__SYSCALL_SLONG_TYPE): Likewise.
28944 (__SYSCALL_ULONG_TYPE): Likewise.
28945 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
28946 (__SYSCALL_SLONG_TYPE): Likewise.
28947 (__SYSCALL_ULONG_TYPE): Likewise.
28948 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
28949 (__SYSCALL_SLONG_TYPE): Likewise.
28950 (__SYSCALL_ULONG_TYPE): Likewise.
28952 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
28954 * sysdeps/unix/sysv/linux/x86_64/Makefile (gen-as-const-headers):
28955 Add sigaltstack-offsets.sym.
28956 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Include
28957 <sigaltstack-offsets.h>.
28958 (CALL_FAIL): Use RSP_LP to operate on stack. Use RDI_LP on
28959 longjmp_msg pointer.
28960 (____longjmp_chk): Use R8_LP and RDX_LP on SP and PC. Use
28961 R*_LP, sizeSS, oSS_FLAGS, oSS_SP and oSS_SIZE for alternate
28963 * sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym: New.
28965 2012-05-15 Joseph Myers <joseph@codesourcery.com>
28967 * elf/stackguard-macros.h: Remove file.
28968 * sysdeps/generic/stackguard-macros.h: New file.
28969 * sysdeps/i386/stackguard-macros.h: Likewise.
28970 * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
28971 * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
28972 * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
28973 * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
28974 * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
28975 * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
28976 * sysdeps/x86_64/stackguard-macros.h: Likewise.
28977 * nptl/tst-stackguard1.c: Include <stackguard-macros.h> not
28978 <elf/stackguard-macros.h>.
28981 * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h (elf_vrreg_t): Use
28982 __aligned__ in attribute.
28983 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (__psw_t): Likewise.
28984 (gregset_t): Likewise.
28986 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
28988 * sysdeps/x86_64/Implies (wordsize-64): Moved to ....
28989 * sysdeps/x86_64/64/Implies-after: Here. New file.
28990 * sysdeps/x86_64/x32/Implies-after: New file.
28992 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
28994 * sysdeps/x86_64/dl-trampoline.h: Use R*_LP to pass arguments
28995 and access return value for _dl_profile_fixup. Use R10_LP to
28998 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
29000 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: New.
29002 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
29004 * sysdeps/x86_64/sysdep.h: Allowed to be include more than once.
29005 * sysdeps/x86_64/x32/sysdep.h: New file.
29007 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
29009 * sysdeps/x86_64/__longjmp.S: Use R*_LP on SP and PC.
29010 * sysdeps/x86_64/setjmp.S: Likewise.
29012 2012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
29014 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: New file.
29015 * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c: New file.
29016 * sysdeps/ieee754/dbl-64/e_log2.c: Fixing indents.
29017 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise and also
29018 remove unused global constant.
29020 2012-05-15 Chris Metcalf <cmetcalf@tilera.com>
29022 * sysdeps/unix/sysv/linux/getsysstats.c: Remove duplicate
29023 include of <not-cancel.h>.
29025 2012-05-15 Roland McGrath <roland@hack.frob.com>
29027 * nscd/nscd-client.h (__nscd_acquire_maplock): Fix formatting.
29029 2012-05-15 Jeff Law <law@redhat.com>
29030 Andreas Jaeger <aj@suse.de>
29033 * nscd/nscd-client.h (__nscd_acquire_maplock): New function, split
29035 * nscd/nscd_helper.c (__nscd_get_map_ref): ... here.
29036 * nscd/nscd-client.h: Add __nscd_acquire_maplock.
29037 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): Add locking to
29038 code changing __hst_map_handle.map.
29040 2012-05-15 Roland McGrath <roland@hack.frob.com>
29042 * configure.in (sysnames): Look for Implies-before and Implies-after
29044 * configure: Regenerated.
29046 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
29048 * sysdeps/unix/sysv/linux/x86_64/sigaction.c (RESTORE2): Replace
29049 8-byte data alignment with LP_SIZE alignment.
29051 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
29053 * sysdeps/unix/sysv/linux/x86_64/clone.S: Load pointer to TID
29056 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
29058 * sysdeps/unix/sysv/linux/x86_64/x32/dl-cache.h: New.
29060 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
29062 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile: New file.
29063 * sysdeps/unix/sysv/linux/x86_64/x32/getcpu.c: Likewise.
29064 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu-static.c:
29066 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
29068 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
29070 * sysdeps/x86_64/stackinfo.h (stackinfo_get_sp): Use RSP_LP.
29071 (stackinfo_sub_sp): Likewise.
29073 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
29075 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Load pointers into
29078 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
29080 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Load cache sizes
29083 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
29085 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Load cache
29088 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
29090 * sysdeps/x86_64/strcmp.S: Load pointers into R*_LP.
29092 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
29094 * sysdeps/x86_64/memcpy.S: Load __x86_64_data_cache_size_half
29095 into R11_LP and load __x86_64_shared_cache_size_half into
29098 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
29100 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Load cache size into
29103 2012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
29105 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: New file. Optimized
29107 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: New file. Optimized
29109 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: New file. Optimized
29111 * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: New file. Use
29112 powerpc32/power7/fpu/s_logb.c via #include.
29113 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: New file. Use
29114 powerpc32/power7/fpu/s_logbf.c via #include.
29115 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: New file. Use
29116 powerpc32/power7/fpu/s_logbl.c via #include.
29118 2012-05-15 Joseph Myers <joseph@codesourcery.com>
29120 * README.libm: Remove file.
29122 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
29124 * sysdeps/x86_64/start.S: Simulate popping 4-byte argument
29125 count for x32. Use R*_LP and omit operand-size suffix.
29127 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
29129 * shlib-versions: Move x86_64-.*-linux.* entries to ...
29130 * sysdeps/x86_64/64/shlib-versions: Here. New file.
29131 * sysdeps/x86_64/x32/shlib-versions: New file.
29133 2012-05-14 Roland McGrath <roland@hack.frob.com>
29135 * sysdeps/unix/sysv/linux/dl-osinfo.h (dl_fatal): Function removed.
29136 * elf/rtld.c (dl_main) [DL_SYSDEP_OSCHECK]:
29137 Use _dl_fatal_printf instead.
29139 2012-05-14 Joseph Myers <joseph@codesourcery.com>
29141 * sysdeps/unix/sysv/linux/configure.in (minimum_kernel): Always
29142 set if not set by the user. Do not allow for being unset.
29143 * sysdeps/unix/sysv/linux/configure: Regenerated.
29145 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
29147 * sysdeps/x86_64/dl-machine.h (elf_machine_load_address): Remove
29148 the `q' suffix from lea and replace .quad with ASM_ADDR.
29150 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
29152 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PTR_MANGLE): Remove
29153 the `q' suffix from xor/rol instructions. Use $2*LP_SIZE+1
29155 (PTR_DEMANGLE): Likewise.
29157 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
29159 * sysdeps/x86_64/sysdep.h (LP_SIZE): New macro.
29161 (ASM_ADDR): Likewise.
29162 (RAX_LP): Likewise.
29163 (RBP_LP): Likewise.
29164 (RBX_LP): Likewise.
29165 (RCX_LP): Likewise.
29166 (RDI_LP): Likewise.
29167 (RSI_LP): Likewise.
29168 (RSP_LP): Likewise.
29171 (R10_LP): Likewise.
29172 (R10_LP): Likewise.
29173 (R11_LP): Likewise.
29174 (R12_LP): Likewise.
29175 (R13_LP): Likewise.
29176 (R14_LP): Likewise.
29177 (R15_LP): Likewise.
29179 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
29181 * sysdeps/x86_64/x32/dl-machine.h: New file.
29183 2012-05-14 Andreas Jaeger <aj@suse.de>
29185 * manual/Makefile (subdir): Remove export of subdir.
29186 (all): Remove target.
29187 (.PHONY): Remove all from list.
29188 (mkinstalldirs): Remove.
29189 (.PHONY): Remove installdirs from list.
29190 ($(inst_infodir)/libc.info): Use make-target-directory.
29191 (installdirs): Remove.
29192 (subdir_%): Remove.
29193 (glibc-targets): Remove.
29196 ($(objpfx)stubs ../po/manual.pot): Remove.
29197 ($(objpfx)stamp%): Remove.
29198 (make-target-directory): Remove.
29199 (subdir_install): Remove.
29200 (routines): Remove.
29207 * manual/.gitignore: Remove, it's not needed anymore.
29208 * manual/libc-texinfo.sh: Pass OUTDIR as extra argument, create
29210 * manual/Makefile (dvi, pdf, info, html): Depend on files in build
29212 (texis): Renamed to $(objpfx)texis.
29213 (texis-path): New, contains path to generated files.
29214 (chapters.%): Use texis-path for complete path, add extra argument
29216 (libc.dvi, libc.pdf, libc.info, libc.pdf): Add $(objfpx) as prefix.
29217 (libc/index.html, summary.texi): Add $(objpfx) as prefix.
29218 (summary,texi, stamp-summary): Use complete path of
29219 files. Generate files in build dir.
29220 (dir-add.texi): Build in build dir.
29221 (libm-err.texi,stamp-libm-err): Likewise.
29222 (version.texi, stamp-version): Likewise.
29223 (.%c.texi): Likewise.
29224 (%.info,%.dvi,%.pdf): Add $(objpfx) as prefix, build in build dir.
29225 (mostlyclean): Remove target.
29226 (realclean): Remove target.
29227 (generated): Add new variable with contents from mostlyclean and
29228 realclean, remove entries duplicated in common-mostlyclean, add
29229 stamp-libm-err and stamp-version.
29230 (generated-dirs): Add libc directory.
29231 ($(inst_infodir)/libc.info): Install files from build dir.
29233 * manual/install.texi (Configuring and compiling): Adjust since
29234 the info files are not part of the tar ball anymore.
29236 2012-05-14 Andreas Jaeger <aj@suse.de>
29238 * sysdeps/unix/sysv/linux/getcwd.c (__getcwd): Remove unused
29241 2012-05-14 Joseph Myers <joseph@codesourcery.com>
29244 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
29245 to 2.2.0 where earlier.
29246 * sysdeps/unix/sysv/linux/configure: Regenerated.
29247 * sysdeps/unix/sysv/linux/getcwd.c [!__ASSUME_GETCWD_SYSCALL]:
29248 Remove conditional code.
29249 [__ASSUME_GETCWD_SYSCALL]: Make code unconditional.
29250 * sysdeps/unix/sysv/linux/i386/chown.c [!__ASSUME_LCHOWN_SYSCALL]:
29251 Remove conditional code.
29252 [!__NR_lchown]: Likewise.
29253 [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
29254 [__NR_lchown]: Likewise.
29255 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Remove
29256 comment referencing __ASSUME_LCHOWN_SYSCALL.
29257 * sysdeps/unix/sysv/linux/i386/sigaction.c
29258 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
29259 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
29260 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_SIOCGIFNAME]:
29261 Remove conditional code.
29262 [__ASSUME_SIOCGIFNAME ]: Make code unconditional.
29263 (__protocol_available): Remove #if 0 code.
29264 * sysdeps/unix/sysv/linux/ifreq.c [!__ASSUME_SIOCGIFNAME]: Remove
29266 [__ASSUME_SIOCGIFNAME]: Make code unconditional.
29267 * sysdeps/unix/sysv/linux/kernel-features.h
29268 (__ASSUME_GETCWD_SYSCALL): Don't define.
29269 (__ASSUME_REALTIME_SIGNALS): Likewise.
29270 (__ASSUME_PREAD_SYSCALL): Likewise.
29271 (__ASSUME_PWRITE_SYSCALL): Likewise.
29272 (__ASSUME_POLL_SYSCALL): Likewise.
29273 (__ASSUME_LCHOWN_SYSCALL): Likewise.
29274 (__ASSUME_SETRESUID_SYSCALL): Define for all kernel versions for
29276 (__ASSUME_SIOCGIFNAME): Don't define.
29277 (__ASSUME_MSG_NOSIGNAL): Likewise.
29278 (__ASSUME_SENDFILE): Define unconditionally.
29279 (__ASSUME_PROC_SELF_FD_SYMLINK): Don't define.
29280 * sysdeps/unix/sysv/linux/poll.c [!__ASSUME_POLL_SYSCALL]: Remove
29282 [__ASSUME_POLL_SYSCALL]: Make code unconditional.
29283 * sysdeps/unix/sysv/linux/powerpc/chown.c (__chown)
29284 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
29285 (__chown) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
29286 * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat)
29287 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
29288 (fchownat) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
29289 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c
29290 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
29291 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
29292 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
29293 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
29294 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
29295 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c
29296 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
29297 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
29298 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
29299 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
29300 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
29301 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c
29302 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
29303 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
29304 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c
29305 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
29306 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
29307 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c
29308 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
29309 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
29310 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c
29311 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
29312 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
29313 * sysdeps/unix/sysv/linux/pread.c [!__ASSUME_PREAD_SYSCALL]:
29314 Remove conditional code.
29315 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
29316 * sysdeps/unix/sysv/linux/pread64.c [!__ASSUME_PREAD_SYSCALL]:
29317 Remove conditional code.
29318 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
29319 * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal)
29320 [__LINUX_KERNEL_VERSION < 131443]: Remove conditional code.
29321 * sysdeps/unix/sysv/linux/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
29322 Remove conditional code.
29323 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
29324 * sysdeps/unix/sysv/linux/pwrite64.c [!__ASSUME_PWRITE_SYSCALL]:
29325 Remove conditional code.
29326 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
29327 * sysdeps/unix/sysv/linux/sh/pread.c [!__ASSUME_PREAD_SYSCALL]:
29328 Remove conditional code.
29329 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
29330 * sysdeps/unix/sysv/linux/sh/pread64.c [!__ASSUME_PREAD_SYSCALL]:
29331 Remove conditional code.
29332 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
29333 * sysdeps/unix/sysv/linux/sh/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
29334 Remove conditional code.
29335 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
29336 * sysdeps/unix/sysv/linux/sh/pwrite64.c
29337 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
29338 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
29339 * sysdeps/unix/sysv/linux/sigaction.c
29340 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
29341 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
29342 * sysdeps/unix/sysv/linux/sigpending.c
29343 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
29344 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
29345 * sysdeps/unix/sysv/linux/sigprocmask.c
29346 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
29347 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
29348 * sysdeps/unix/sysv/linux/sigsuspend.c
29349 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
29350 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
29351 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
29352 (__libc_missing_rt_sigs): Remove.
29353 (__libc_sigaction) [__NR_rt_sigaction]: Make code unconditional.
29354 (__libc_sigaction): Do not handle ENOSYS from rt_sigaction.
29355 * sysdeps/unix/sysv/linux/syslog.c [!__ASSUME_MSG_NOSIGNAL]:
29356 Remove conditional code.
29357 [__ASSUME_MSG_NOSIGNAL]: Make code unconditional.
29358 * sysdeps/unix/sysv/linux/testrtsig.h (kernel_has_rtsig): Always
29360 * sysdeps/unix/sysv/linux/ttyname.c (ttyname)
29361 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Remove conditional code.
29362 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r)
29363 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Likewise.
29365 2012-05-14 Andreas Jaeger <aj@suse.de>
29367 * sysdeps/i386/fpu/bits/mathinline.h (__pow2): Remove,
29368 it's not used in glibc.
29369 (__coshm1): Likewise.
29370 (__acosh1p): Likewise.
29373 * manual/string.texi (Copying and Concatenation): Add missing
29374 variable in concat example.
29375 Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
29377 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
29380 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Replace
29381 __builtin_clzl with __builtin_clzll.
29383 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
29386 * sysdeps/unix/sysv/linux/check_pf.c (cache): Use
29389 2012-05-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
29391 * sysdeps/i386/i686/fpu/multiarch/Makefile: New file.
29392 * sysdeps/i386/i686fpu/multiarch/e_expf.c: New file.
29393 * sysdeps/i386/i686fpu/multiarch/e_expf-ia32.S: New file.
29394 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: New file.
29396 2012-05-14 Mike Frysinger <vapier@gentoo.org>
29398 * NEWS: Update ia64 info.
29400 2012-05-12 Andreas Schwab <schwab@linux-m68k.org>
29402 * sysdeps/powerpc/memmove.c (MEMMOVE): Don't return a value if
29405 2012-05-12 Thomas Schwinge <thomas@codesourcery.com>
29407 * io/dup3.c (dup3): Rename to __dup3, add weak alias for dup3.
29408 * sysdeps/unix/syscalls.list (dup3): Likewise.
29409 * libio/freopen.c (freopen): Invoke __dup3 instead of dup3.
29410 * libio/freopen64.c (freopen64): Invoke __dup3 instead of dup3.
29412 2012-05-11 H.J. Lu <hongjiu.lu@intel.com>
29414 * elf/stackguard-macros.h (STACK_CHK_GUARD) [__x86_64__]: Use
29415 "%c1" with "i" (offsetof (tcbhead_t, stack_guard)).
29417 2012-05-11 H.J. Lu <hongjiu.lu@intel.com>
29419 * elf/tls-macros.h (TLS_LE): Use mov instead of movq to load
29421 (TLS_IE): Use mov/add instead of movq/addq to load thread
29423 (TLS_GD_PREFIX): New.
29426 2012-05-11 David S. Miller <davem@davemloft.net>
29428 * sysdeps/sparc/fpu/bits/fenv.h (__fenv_stfsr): Add __volatile__.
29429 * sysdeps/sparc/fpu/fpu_control.h (_FPU_GETCW): Likewise.
29430 (_FPU_SETCW): Likewise.
29432 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
29434 * sysdeps/x86_64/dl-trampoline.S: Check if RTLD_SAVESPACE_SSE
29435 is 32-byte aligned.
29437 2012-05-11 Andreas Schwab <schwab@linux-m68k.org>
29440 * iconvdata/gb18030.c: Update tables.
29441 (BODY for FROM_LOOP): Update. Handle two-byte encoded non-BMP
29442 characters specially.
29443 (BODY for TO_LOOP): Add encoding of missing ranges.
29445 2012-05-11 Thomas Schwinge <thomas@codesourcery.com>
29448 * sysdeps/mach/hurd/accept4.c: Replace FSF snail mail address with URL.
29449 * sysdeps/mach/hurd/dup3.c: Likewise.
29450 * sysdeps/mach/hurd/readlinkat.c: Likewise.
29451 * sysdeps/powerpc/memmove.c:: Likewise.
29453 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
29455 * sysdeps/x86_64/dl-machine.h (elf_machine_rela_relative): Handle
29456 R_X86_64_RELATIVE64 only if RTLD_BOOTSTRAP isn't defined.
29458 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
29460 * elf/elf.h (R_X86_64_RELATIVE64): New.
29461 (R_X86_64_NUM): Updated.
29462 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
29463 R_X86_64_RELATIVE64. Always use Elf64_Addr with R_X86_64_64.
29464 (elf_machine_rela_relative): Handle R_X86_64_RELATIVE64.
29465 * sysdeps/x86_64/Makefile (tests): Add tst-quad1 tst-quad2
29466 tst-quad1pie tst-quad2pie
29467 (modules-names): Add tst-quadmod1 tst-quadmod2.
29468 ($(objpfx)tst-quad1): New dependency.
29469 ($(objpfx)tst-quad2): Likewise.
29470 ($(objpfx)tst-quad1pie): Likewise.
29471 ($(objpfx)tst-quad2pie): Likewise.
29472 * sysdeps/x86_64/tst-quad1.c: New file.
29473 * sysdeps/x86_64/tst-quad1pie.c: New file.
29474 * sysdeps/x86_64/tst-quad2.c: Likewise.
29475 * sysdeps/x86_64/tst-quad2pie.c: Likewise.
29476 * sysdeps/x86_64/tst-quadmod1.S: Likewise.
29477 * sysdeps/x86_64/tst-quadmod1pie.S: Likewise.
29478 * sysdeps/x86_64/tst-quadmod2.S: Likewise.
29479 * sysdeps/x86_64/tst-quadmod2pie.S: Likewise.
29481 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
29483 * io/fcntl.h (mode_t, off_t, pid_t): Define types.
29484 (__mode_t_defined, __off_t_defined, __pid_t_defined): Define macros.
29485 * streams/stropts.h (t_scalar_t): Define type.
29487 * sysdeps/generic/paths.h (_PATH_MAN): Set to "/usr/share/man"
29488 (_PATH_PRESERVE): Set to "/var/lib".
29489 (_PATH_RWHODIR): Set to "/var/spool/rwho".
29491 * sysdeps/mach/hurd/openat.c (__openat): Set type of MODE to mode_t
29494 * sysdeps/mach/hurd/xmknodat.c (__xmknodat): Deallocate NODE port only
29495 if __dir_mkfile succeeded.
29497 * sysdeps/mach/hurd/dup3.c: Lock _hurd_dtable_lock before
29498 checking for _hurd_dtablesize. Unlock it right after having
29499 finished _hurd_dtable allocation.
29501 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
29503 * sysdeps/mach/hurd/configure.in: Remove warning for --prefix=[...].
29504 * sysdeps/mach/hurd/configure: Regenerated.
29505 * sysdeps/unix/sysv/linux/configure.in: Move --prefix=/usr
29506 special-casing to...
29507 * sysdeps/gnu/configure.in: ... this new file.
29508 * sysdeps/unix/sysv/linux/configure: Regenerated.
29509 * sysdeps/gnu/configure: New generated file.
29511 * sysdeps/mach/hurd/bits/stat.h (struct stat): Align to what is done
29512 for Linux: use nsec instead of usec, as well as:
29513 [__USE_MISC || __USE_XOPEN2K8] (st_atim, st_mtim, st_ctim): New
29514 members of type struct timespec.
29515 [__USE_MISC || __USE_XOPEN2K8] (st_atime, st_mtime, st_ctime):
29517 (struct stat64): Likewise.
29518 (_STATBUF_ST_NSEC): New macro.
29519 * sysdeps/mach/hurd/xstatconv.c (xstat64_conv): Adapt to that.
29521 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
29522 __strtoul_internal rather than strtoul.
29524 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
29526 * hurd/hurdsock.c (_hurd_socket_server): Check for negative domains,
29529 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
29531 * sysdeps/mach/hurd/setresgid.c (__setresgid): Handle the -1 case,
29532 which preserves existing values.
29533 * sysdeps/mach/hurd/setresuid.c (__setresuid): Likewise.
29535 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
29537 * hurd/hurdselect.c (_hurd_select): Return EINVAL for negative
29538 TIMEOUT values. Return EINVAL for NFDS values either negative or
29539 greater than FD_SETSIZE.
29541 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
29543 * sysdeps/mach/hurd/brk.c (_hurd_set_brk): When more space needs to be
29544 allocated, call __vm_protect to finish enabling the existing space, and
29545 pass a copy of _hurd_data_end instead of PAGEBRK to __vm_allocate to
29546 allocate the remainder.
29548 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
29550 * sysdeps/mach/hurd/recvfrom.c (__recvfrom): Check also for a null
29551 address port. Set ADDR_LEN to 0 when not filling ADDRARG.
29553 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
29555 * sysdeps/mach/hurd/readlinkat.c: New file, heavily derived from
29556 sysdeps/mach/hurd/readlink.c.
29558 * posix/tst-sysconf.c (posix_options): Only use
29559 _POSIX_PRIORITIZED_IO, _POSIX_PRIORITY_SCHEDULING, and
29560 _POSIX_SYNCHRONIZED_IO when they are defined
29561 * sysdeps/mach/hurd/bits/posix_opt.h:
29562 (_POSIX_PRIORITY_SCHEDULING): Undefine macro.
29563 (_XOPEN_REALTIME): Undefine macro.
29564 (_XOPEN_REALTIME_THREADS): Undefine macro.
29565 (_XOPEN_SHM): Undefine macro.
29566 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_INHERIT): Define
29568 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_PROTECT): Define
29570 (_POSIX_ASYNC_IO): Undefine macro.
29571 (_POSIX_PRIORITIZED_IO): Undefine macro.
29572 (_POSIX_SPIN_LOCKS): Define macro to -1.
29574 * bits/sigaction.h [__USE_XOPEN2K8]: Define SA_RESTART,
29575 SA_NODEFER, SA_RESETHAND.
29576 * sysdeps/mach/hurd/bits/fcntl.h [__USE_XOPEN2K8]: Define
29577 O_NOFOLLOW, O_DIRECTORY, O_CLOEXEC, F_GETOWN, F_SETOWN,
29580 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
29582 * elf/Makefile (pldd-modules): Define unconditionally.
29584 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
29586 * sysdeps/mach/hurd/opendir.c (__opendirat): New function.
29588 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
29590 * hurd/hurdchdir.c (_hurd_change_directory_port_from_name):
29591 Return ENOENT when name is empty.
29592 * sysdeps/mach/hurd/chroot.c (chroot): Likewise.
29594 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
29596 * include/libc-symbols.h [NO_HIDDEN] (hidden_nolink): New macro.
29598 * nss/makedb.c (MAP_POPULATE): If not defined, define to zero.
29600 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
29602 Fix mlock in all cases except non-readable pages.
29603 * sysdeps/mach/hurd/mlock.c (mlock): Give VM_PROT_READ
29604 instead of VM_PROT_ALL as parameter to __vm_wire function.
29606 * sysdeps/mach/hurd/mkdir.c: Include <string.h>.
29607 (__mkdir): When path is `/', just fail with EEXIST.
29608 * sysdeps/mach/hurd/mkdirat.c: Likewise.
29610 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
29612 * nss/makedb.c: Include <sys/param.h> (for MAX and roundup), and
29613 <sys/uio.h> (for writev).
29614 * nss/nss_db/db-initgroups.c: Include <limits.h> (for ULONG_MAX),
29615 and <sys/param.h> (for MIN).
29617 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
29619 * sysdeps/mach/nanosleep.c: Return EINVAL for invalid values of
29620 REQUESTED_TIME. Properly set the remaining time and return EINTR
29623 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
29625 * sysdeps/mach/hurd/Makefile ($(common-objpfx)linkobj/libc.so):
29626 Depend on against $(link-rpcuserlibs).
29628 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
29630 * sysdeps/generic/ldsodefs.h [LIBC_STACK_END_NOT_RELRO]
29631 (__libc_stack_end): Do not use attribute_relro.
29632 * sysdeps/mach/hurd/dl-sysdep.h (LIBC_STACK_END_NOT_RELRO): Define.
29633 * sysdeps/mach/hurd/i386/init-first.c (init): Update __libc_stack_end
29634 to libthread-provided value.
29635 * sysdeps/mach/hurd/dl-sysdep.c (__libc_stack_end): Do not use
29638 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
29641 * bits/libc-lock.h (__libc_once_get): New macro.
29642 * sysdeps/mach/bits/libc-lock.h: Likewise.
29643 * sysdeps/mach/hurd/bits/libc-lock.h: Likewise.
29644 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Use __libc_once_get
29645 instead of using implementation details.
29647 * libio/fileops.c: Unconditionally include <kernel-features.h>.
29648 * libio/freopen.c: Likewise.
29649 * libio/freopen64.c: Likewise.
29650 * misc/syslog.c: Likewise.
29651 * nscd/connections.c: Likewise.
29652 * nscd/netgroupcache.c: Likewise.
29653 * sysdeps/posix/getcwd.c: Likewise.
29655 2012-05-10 Roland McGrath <roland@hack.frob.com>
29657 * math/w_ilogbf.c: Add #include <limits.h>.
29659 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
29661 * sysdeps/mach/hurd/setitimer.c (setitimer_locked): Use common exit
29662 path instead of returning without unlocking.
29664 * sysdeps/mach/hurd/bits/ioctls.h (_IOIW): New macro for
29665 immediate-write ioctls.
29666 * sysdeps/mach/hurd/ioctl.c: Handle cases with no arguments.
29668 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
29670 * sysdeps/mach/hurd/i386/init-first.c (init): Use
29671 __builtin_frame_address instead of making assumptions about the
29672 location of the return address relative to DATA. Force early load of
29673 the return address.
29674 (_dl_init_first, doinit1 in doinit in _hurd_stack_setup): Don't use
29675 __builtin_frame_address.
29678 * include/unistd.h: Declare __dup3 and use libc_hidden_proto on it.
29679 * sysdeps/mach/hurd/dup3.c: New file, copy from dup2.c. Evolve it to
29680 implement dup3 and do some further code clean-ups.
29681 * sysdeps/mach/hurd/dup2.c (__dup2): Reimplement using __dup3.
29682 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_DUP3): Define.
29684 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
29686 * sysdeps/mach/hurd/dl-sysdep.c: Conditionalize contents on [SHARED].
29688 * hurd/hurd/fd.h (_hurd_fd_get): Call HURD_CRITICAL_BEGIN/
29689 HURD_CRITICAL_END around holding _hurd_dtable_lock.
29690 * sysdeps/mach/hurd/dirfd (dirfd): Likewise.
29691 * sysdeps/mach/hurd/opendir.c (_hurd_fd_opendir): Call
29692 HURD_CRITICAL_BEGIN/HURD_CRITICAL_END around holding
29695 * hurd/catch-signal.c (hurd_catch_signal): Use sigsetjmp/siglongjmp
29696 instead of setjmp/longjmp to restore the signal mask. Call sigsetjmp
29697 when handler == SIG_ERR, not when handler != SIG_ERR.
29699 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
29701 * sysdeps/mach/hurd/bits/socket.h: New file, copy from the bsd4.4 one.
29702 (SOCK_MAX, SOCK_TYPE_MASK, SOCK_CLOEXEC, SOCK_NONBLOCK): New
29705 accept4 for GNU Hurd.
29706 * include/sys/socket.h (__libc_accept4): New prototype.
29707 * sysdeps/mach/hurd/accept4.c: New file, copy from accept.c. Evolve it
29708 to implement __libc_accept4.
29709 * sysdeps/mach/hurd/accept.c (accept): Reimplement using
29711 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_ACCEPT4): Define.
29713 * sysdeps/mach/hurd/i386/____longjmp_chk.S: New file.
29714 * sysdeps/mach/hurd/i386/signal-defines.sym: New file.
29715 * sysdeps/mach/hurd/i386/Makefile (gen-as-const-headers): Add
29716 signal-defines.sym.
29718 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
29720 * bits/in.h (SOL_IP, SOL_IPV6, SOL_ICMPV6): New macros.
29722 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
29724 * sysdeps/mach/hurd/dl-sysdep.c (open_file): Do not raise
29725 assertion on O_CLOEXEC flag.
29726 * hurd/hurd/fd.h: Update comment to mention O_CLOEXEC.
29727 * hurd/intern-fd.c: Likewise.
29728 * hurd/port2fd.c: Likewise.
29730 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
29733 * bits/in.h (IPV6_PKTINFO): Define new macro.
29734 (IPV6_RXINFO,IPV6_TXINFO,SCM_SRCINFO): Redefine to IPV6_PKTINFO.
29736 2012-05-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
29741 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Fix for subnormal number.
29742 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
29743 * sysdeps/ieee754/flt-32/s_logbf.c (__logf): Likewise.
29744 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
29745 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
29746 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
29747 * math/libm-test.inc (logb_test) : Additional logb tests.
29749 2012-05-09 Andreas Schwab <schwab@linux-m68k.org>
29750 Andreas Jaeger <aj@suse.de>
29752 * configure.in (obsolete-rpc): Add new option --enable-obsolete-rpc.
29753 * configure: Regenerated.
29754 * config.h.in (LINK_OBSOLETE_RPC): New macro.
29755 * config.make.in (link-obsolete-rpc): New substituted variable.
29756 * include/libc-symbols.h (libc_hidden_nolink_sunrpc): Rename from
29757 libc_hidden_nolink and define based on LINK_OBSOLETE_RPC.
29758 * sunrpc/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
29759 (shared-only-routines): Don't set it under [link-obsolete-rpc],
29760 so that libc.a contains the symbols.
29761 * nis/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
29762 * sunrpc/auth_des.c: Use libc_hidden_nolink_sunrpc.
29763 * sunrpc/auth_none.c: Likewise.
29764 * sunrpc/auth_unix.c: Likewise.
29765 * sunrpc/authdes_prot.c: Likewise.
29766 * sunrpc/authuxprot.c: Likewise.
29767 * sunrpc/clnt_gen.c: Likewise.
29768 * sunrpc/clnt_perr.c: Likewise.
29769 * sunrpc/clnt_raw.c: Likewise.
29770 * sunrpc/clnt_simp.c: Likewise.
29771 * sunrpc/clnt_tcp.c: Likewise.
29772 * sunrpc/clnt_udp.c: Likewise.
29773 * sunrpc/clnt_unix.c: Likewise.
29774 * sunrpc/des_crypt.c: Likewise.
29775 * sunrpc/des_soft.c: Likewise.
29776 * sunrpc/get_myaddr.c: Likewise.
29777 * sunrpc/key_call.c: Likewise.
29778 * sunrpc/key_prot.c: Likewise.
29779 * sunrpc/netname.c: Likewise.
29780 * sunrpc/pm_getmaps.c: Likewise.
29781 * sunrpc/pm_getport.c: Likewise.
29782 * sunrpc/pmap_clnt.c: Likewise.
29783 * sunrpc/pmap_prot.c: Likewise.
29784 * sunrpc/pmap_prot2.c: Likewise.
29785 * sunrpc/pmap_rmt.c: Likewise.
29786 * sunrpc/publickey.c: Likewise.
29787 * sunrpc/rpc_cmsg.c: Likewise.
29788 * sunrpc/rpc_common.c: Likewise.
29789 * sunrpc/rpc_dtable.c: Likewise.
29790 * sunrpc/rpc_prot.c: Likewise.
29791 * sunrpc/rpc_thread.c: Likewise.
29792 * sunrpc/rtime.c: Likewise.
29793 * sunrpc/svc.c: Likewise.
29794 * sunrpc/svc_auth.c: Likewise.
29795 * sunrpc/svc_raw.c: Likewise.
29796 * sunrpc/svc_run.c: Likewise.
29797 * sunrpc/svc_tcp.c: Likewise.
29798 * sunrpc/svc_udp.c: Likewise.
29799 * sunrpc/svc_unix.c: Likewise.
29800 * sunrpc/svcauth_des.c: Likewise.
29801 * sunrpc/xcrypt.c: Likewise.
29802 * sunrpc/xdr.c: Likewise.
29803 * sunrpc/xdr_array.c: Likewise.
29804 * sunrpc/xdr_float.c: Likewise.
29805 * sunrpc/xdr_intXX_t.c: Likewise.
29806 * sunrpc/xdr_mem.c: Likewise.
29807 * sunrpc/xdr_rec.c: Likewise.
29808 * sunrpc/xdr_ref.c: Likewise.
29809 * sunrpc/xdr_sizeof.c: Likewise.
29810 * sunrpc/xdr_stdio.c: Likewise.
29812 2012-05-10 Roland McGrath <roland@hack.frob.com>
29814 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Fix typo in last
29815 change. Update copyright years.
29817 2012-05-10 Joseph Myers <joseph@codesourcery.com>
29819 * include/stdc-predef.h (__STDC_NO_THREADS__): Define.
29821 2012-05-10 Maxim Kuvyrkov <maxim@codesourcery.com>
29822 Joseph Myers <joseph@codesourcery.com>
29823 Paul Pluzhnikov <ppluzhnikov@google.com>
29826 * sunrpc/Makefile [cross-compiling] (headers): Enable additions
29828 [cross-compiling] (extra-libs): Likewise.
29829 [cross-compiling] (extra-libs-others): Likewise.
29830 [cross-compiling] (librpcsvc-routines): Likewise.
29831 [cross-compiling] (librpcsvc-inhibit-o): Likewise.
29832 [cross-compiling] (omit-deps): Likewise.
29833 (sunrpc-CPPFLAGS): New variable.
29834 (CPPFLAGS): Define using $(sunrpc-CPPFLAGS).
29835 (BUILD_CPPFLAGS): Append $(sunrpc-CPPFLAGS).
29836 (cross-rpcgen-objs): New variable.
29837 (extra-objs): Append $(cross-rpcgen-objs).
29838 ($(cross-rpcgen-objs)): New rule.
29839 ($(objpfx)cross-rpcgen): Likewise.
29840 (rpcgen-cmd): Define to use $(built-program-file). Expand
29842 ($(objpfx)rpcsvc/%.stmp): Depend on cross-rpcgen.
29843 ($(objpfx)x%.stmp): Likewise.
29844 * sunrpc/proto.h [IS_IN_build] (_): Define.
29845 [IS_IN_build] (_libc_intl_domainname): Likewise.
29847 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
29849 * sysdeps/x86_64/dl-machine.h (elf_machine_rela) [__ILP32__]:
29850 Sign extend relocation result to 64 bits for R_X86_64_DTPOFF64
29851 and R_X86_64_TPOFF64.
29853 2012-05-10 Joseph Myers <joseph@codesourcery.com>
29855 * sysdeps/unix/sysv/linux/syscalls.list (alarm): Add entry from
29856 sysdeps/unix/sysv/syscalls.list.
29859 * sysdeps/unix/sysv/syscalls.list: Remove file.
29861 2012-05-10 Paul Eggert <eggert@cs.ucla.edu>
29864 * locale/bits/locale.h (__LC_CTYPE, __LC_NUMERIC, __LC_TIME)
29865 (__LC_COLLATE, __LC_MONETARY, __LC_MESSAGES, __LC_ALL, __LC_PAPER)
29866 (__LC_NAME, __LC_ADDRESS, __LC_TELEPHONE, __LC_MEASUREMENT)
29867 (__LC_IDENTIFICATION): Make these macros useful in #if
29868 expressions, as required by C99.
29870 2012-05-10 Andreas Schwab <schwab@linux-m68k.org>
29872 * sunrpc/Makefile (extra-objs) [$(build-shared) = yes]: Add
29873 $(addsuffix .os,$(rpc-compat-routines)). Move include ../Rules
29876 2012-05-09 H.J. Lu <hongjiu.lu@intel.com>
29878 * stdlib/longlong.h: Updated from GCC.
29880 2012-05-09 Andreas Jaeger <aj@suse.de>
29882 * nscd/nscd.c (run_modes): Make named enum, reorder so that
29883 default is first entry.
29884 (run_mode): Set type.
29885 (main): Remove informal message about syslog.
29886 (options): Fix typo.
29889 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Add __volatile
29892 (llrintf): Likewise.
29893 (llrint): Likewise.
29896 (nearbyint): Likewise.
29897 (nearbyintf): Likewise.
29899 2012-05-09 Andreas Jaeger <aj@suse.de>
29900 Pedro Alves <palves@redhat.com>
29902 * nscd/nscd.c (run_mode): Use enum.
29903 (main): Cleanup coding style issue.
29905 2012-05-09 Alexandre Oliva <aoliva@redhat.com>
29906 Andreas Jaeger <aj@suse.de>
29908 * nscd/nscd.c (go_background): Replaced with...
29909 (run_mode): ... this.
29910 (RUN_FOREGROUND, RUN_DAEMONIZE, RUN_DEBUG): Add.
29911 (options): Add -F --foreground.
29912 (main): Implement it.
29913 (parse_opt): Parse it.
29915 2012-05-09 Andreas Jaeger <aj@suse.de>
29918 * string/bits/string2.h (strspn) [__GNUC_PREREQ(3, 2) &&
29919 !_HAVE_STRING_ARCH_strspn]: Cast zero to size_t to avoid
29920 -Wconversion warning.
29921 (strspn) [!__GNUC_PREREQ(3, 2) && !_HAVE_STRING_ARCH_strspn]:
29924 2012-05-09 Joseph Myers <joseph@codesourcery.com>
29926 * conform/data/locale.h-data (NULL): Use macro-constant. Require
29928 (LC_ALL): Use macro-int-constant.
29929 (LC_COLLATE): Likewise.
29930 (LC_CTYPE): Likewise.
29931 (LC_MESSAGES): Likewise.
29932 (LC_MONETARY): Likewise.
29933 (LC_NUMERIC): Likewise.
29934 (LC_TIME): Likewise.
29935 [ISO || ISO99 || ISO11] (LC_MESSAGES): Do not require.
29936 (LC_*): Change to LC_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
29937 [ISO || ISO99 || ISO11] (*_t): Do not allow.
29938 * conform/data/math.h-data (HUGE_VAL): Use macro-constant.
29940 [C99-based standards] (float_t): Expect type.
29941 [C99-based standards] (double_t): Expect type.
29942 [C99-based standards] (HUGE_VALF): Use macro-constant. Specify
29944 [C99-based standards] (HUGE_VALL): Likewise.
29945 [C99-based standards] (INFINITY): Likewise.
29946 [C99-based standards] (NAN): Likewise.
29947 [C99-based standards] (FP_INFINITE): Use macro-int-constant.
29948 [C99-based standards] (FP_NAN): Likewise.
29949 [C99-based standards] (FP_NORMAL): Likewise.
29950 [C99-based standards] (FP_SUBNORMAL): Likewise.
29951 [C99-based standards] (FP_ZERO): Likewise.
29952 [C99-based standards] (FP_FAST_FMA): Use
29953 optional-macro-int-constant. Specify type. Require == 1.
29954 [C99-based standards] (FP_FAST_FMAF): Likewise.
29955 [C99-based standards] (FP_FAST_FMAL): Likewise.
29956 [C99-based standards] (FP_ILOGB0): Use macro-int-constant.
29957 [C99-based standards] (FP_ILOGBNAN): Likewise.
29958 [C99-based standards] (MATH_ERRNO): Use macro-int-constant.
29960 [C99-based standards] (MATH_ERREXCEPT): Likewise.
29961 [C99-based standards] (math_errhandling): Specify type.
29962 [ISO99 || ISO11] (signgam): Do not allow.
29963 [non-C99-based standards] (copysignf): Do not allow.
29964 [non-C99-based standards] (exp2f): Likewise.
29965 [non-C99-based standards] (log2f): Likewise.
29966 [non-C99-based standards] (modff): Allow.
29967 [non-C99-based standards] (erff): Do not allow.
29968 [non-C99-based standards] (erfcf): Likewise.
29969 [non-C99-based standards] (gammaf): Likewise.
29970 [non-C99-based standards] (hypotf): Likewise.
29971 [non-C99-based standards] (j0f): Likewise.
29972 [non-C99-based standards] (j1f): Likewise.
29973 [non-C99-based standards] (jnf): Likewise.
29974 [non-C99-based standards] (lgammaf): Likewise.
29975 [non-C99-based standards] (tgammaf): Likewise.
29976 [non-C99-based standards] (y0f): Likewise.
29977 [non-C99-based standards] (y1f): Likewise.
29978 [non-C99-based standards] (ynf): Likewise.
29979 [non-C99-based standards] (isnanf): Likewise.
29980 [non-C99-based standards] (acoshf): Likewise.
29981 [non-C99-based standards] (asinhf): Likewise.
29982 [non-C99-based standards] (atanhf): Likewise.
29983 [non-C99-based standards] (cbrtf): Likewise.
29984 [non-C99-based standards] (expm1f): Likewise.
29985 [non-C99-based standards] (ilogbf): Likewise.
29986 [non-C99-based standards] (log1pf): Likewise.
29987 [non-C99-based standards] (logbf): Likewise.
29988 [non-C99-based standards] (nextafterf): Likewise.
29989 [non-C99-based standards] (remainderf): Likewise.
29990 [non-C99-based standards] (rintf): Likewise.
29991 [non-C99-based standards] (scalbf): Likewise.
29992 [non-C99-based standards] (copysignl): Likewise.
29993 [non-C99-based standards] (exp2l): Likewise.
29994 [non-C99-based standards] (log2l): Likewise.
29995 [non-C99-based standards] (modfl): Allow.
29996 [non-C99-based standards] (erfl): Do not allow.
29997 [non-C99-based standards] (erfcl): Likewise.
29998 [non-C99-based standards] (gammal): Likewise.
29999 [non-C99-based standards] (hypotl): Likewise.
30000 [non-C99-based standards] (j0l): Likewise.
30001 [non-C99-based standards] (j1l): Likewise.
30002 [non-C99-based standards] (jnl): Likewise.
30003 [non-C99-based standards] (lgammal): Likewise.
30004 [non-C99-based standards] (tgammal): Likewise.
30005 [non-C99-based standards] (y0l): Likewise.
30006 [non-C99-based standards] (y1l): Likewise.
30007 [non-C99-based standards] (ynl): Likewise.
30008 [non-C99-based standards] (isnanl): Likewise.
30009 [non-C99-based standards] (acoshl): Likewise.
30010 [non-C99-based standards] (asinhl): Likewise.
30011 [non-C99-based standards] (atanhl): Likewise.
30012 [non-C99-based standards] (cbrtl): Likewise.
30013 [non-C99-based standards] (expm1l): Likewise.
30014 [non-C99-based standards] (ilogbl): Likewise.
30015 [non-C99-based standards] (log1pl): Likewise.
30016 [non-C99-based standards] (logbl): Likewise.
30017 [non-C99-based standards] (nextafterl): Likewise.
30018 [non-C99-based standards] (remainderl): Likewise.
30019 [non-C99-based standards] (rintl): Likewise.
30020 [non-C99-based standards] (scalbl): Likewise.
30021 [ISO || ISO99 || ISO11] (*_t): Do not allow.
30022 [non-C99-based standards] (FP_*): Do not allow.
30023 [C99-based standards] (FP_*): Change to
30024 FP_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
30025 * conform/data/setjmp.h-data [ISO || ISO99 || ISO11] (*_t): Do not
30027 * conform/data/signal.h-data (SIG_DFL): Use macro-constant.
30028 (SIG_ERR): Likewise.
30029 [X/Open-based standards] (SIG_HOLD): Likewise.
30030 (SIG_IGN): Likewise.
30031 (SIGABRT): Use macro-int-constant. Specify type. Require
30033 (SIGFPE): Likewise.
30034 (SIGILL): Likewise.
30035 (SIGINT): Likewise.
30036 (SIGSEGV): Likewise.
30037 (SIGTER): Likewise.
30038 [!ISO && !ISO99 && !ISO11] (SIGALRM): Likewise.
30039 [!ISO && !ISO99 && !ISO11] (SIGHUP): Likewise.
30040 [!ISO && !ISO99 && !ISO11] (SIGIO): Likewise.
30041 [!ISO && !ISO99 && !ISO11] (SIGKILL): Likewise.
30042 [!ISO && !ISO99 && !ISO11] (SIGPIPE): Likewise.
30043 [!ISO && !ISO99 && !ISO11] (SIGQUIT): Likewise.
30044 [!ISO && !ISO99 && !ISO11] (SIGUSR1): Likewise.
30045 [!ISO && !ISO99 && !ISO11] (SIGUSR2): Likewise.
30046 [!ISO && !ISO99 && !ISO11] (SIGCHLD): Likewise.
30047 [!ISO && !ISO99 && !ISO11] (SIGCONT): Likewise.
30048 [!ISO && !ISO99 && !ISO11] (SIGSTOP): Likewise.
30049 [!ISO && !ISO99 && !ISO11] (SIGTSTP): Likewise.
30050 [!ISO && !ISO99 && !ISO11] (SIGTTIN): Likewise.
30051 [!ISO && !ISO99 && !ISO11] (SIGTTOU): Likewise.
30052 [!ISO && !ISO99 && !ISO11] (SIGBUS): Likewise.
30053 [!ISO && !ISO99 && !ISO11] (SIGPOLL): Likewise.
30054 [!ISO && !ISO99 && !ISO11] (SIGPROF): Likewise.
30055 [!ISO && !ISO99 && !ISO11] (SIGSYS): Likewise.
30056 [X/Open-based standards] (SIGTRAP): Likewise.
30057 [!ISO && !ISO99 && !ISO11] (SIGURG): Likewise.
30058 [!ISO && !ISO99 && !ISO11] (SIGVTALRM): Likewise.
30059 [!ISO && !ISO99 && !ISO11] (SIGXCPU): Likewise.
30060 [!ISO && !ISO99 && !ISO11] (SIGXFSZ): Likewise.
30061 * conform/data/stdarg.h-data [ISO || ISO99 || ISO11] (*_t): Do not
30064 2012-05-08 Ian Wienand <ianw@vmware.com>
30067 * time/tzset.c (__tzset_parse_tz): Update default rules for
30068 daylight time changes in the Energy Policy Act of 2005.
30070 2012-05-09 Andreas Jaeger <aj@suse.de>
30073 * elf/ldconfig.c (parse_conf): Change string to make clear that
30074 ldconfig only issued a warning if ld.so.conf does not exist.
30076 2012-05-08 David S. Miller <davem@davemloft.net>
30078 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: Use
30079 movxtod instead of popping the value on the stack.
30081 * sysdeps/sparc/fpu/libm-test-ulps: Update.
30083 2012-05-08 Carlos O'Donell <carlos_odonell@mentor.com>
30085 * config.h.in: Add HAVE_ARM_PCS_VFP.
30087 2012-05-08 Roland Mc Grath <roland@hack.frob.com>
30090 * include/features.h: Warn if user requests __FORTIFY_SOURCE
30091 checking but the checks are disabled for any reason.
30093 2012-05-08 H.J. Lu <hongjiu.lu@intel.com>
30095 * sysdeps/x86_64/dl-machine.h: Replace Elf64_XXX with ElfW(XXX)
30096 and ELF64_R_TYPE with ELFW(R_TYPE).
30098 2012-05-08 Joseph Myers <joseph@codesourcery.com>
30100 * sysdeps/unix/sysv/syscalls.list (pause): Remove.
30101 (ulimit): Likewise.
30103 * sysdeps/unix/sysv/syscalls.list (setrlimit): Remove.
30104 (settimeofday): Likewise.
30106 2012-05-08 Mike Frysinger <vapier@gentoo.org>
30108 * inet/arpa/tftp.h (struct tftphdr): Rename th_u to th_u1. Add
30109 a struct th_u2 inside the union, and move tu_block/tu_code into
30110 a new th_u3 union of tu_block/tu_code inside of that. Move
30111 th_data[1] into the th_u2 as tu_data[0]. Change tu_stuff[1] to
30112 tu_stuff[0]. Add a new tu_padding[4] to keep sizeof() the same.
30113 (th_block): Change to th_u1.th_u2.th_u3.tu_block.
30114 (th_code): Change to th_u1.th_u2.th_u3.tu_code.
30115 (th_stuff): Change to th_u1.tu_stuff.
30117 (th_msg): Change to th_u1.th_u2.tu_data.
30119 2012-05-07 David S. Miller <davem@davemloft.net>
30121 * sysdeps/sparc/fpu/libm-test-ulps: Update.
30124 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK_CALL): New macro.
30125 (SETUP_PIC_REG): Use it.
30126 (SETUP_PIC_REG_LEAF): Use it.
30128 2012-05-07 Joseph Myers <joseph@codesourcery.com>
30132 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
30134 (EXPL_FINITE): Likewise.
30135 (FLDLOG): Likewise.
30136 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
30137 * sysdeps/i386/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
30139 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
30141 (EXPL_FINITE): Likewise.
30142 (FLDLOG): Likewise.
30143 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
30144 * sysdeps/x86_64/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
30146 * math/libm-test.inc (expm1_test): Add more tests. Do not disable
30147 test of -max_value argument for long double.
30148 * sysdeps/i386/fpu/libm-test-ulps: Update.
30149 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
30151 2012-05-06 David S. Miller <davem@davemloft.net>
30153 * scripts/data/localplt-sparc-linux-gnu.data: Add '?' markers to
30154 quad soft-float symbols whose references which are compiler
30156 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
30158 2012-05-06 Joseph Myers <joseph@codesourcery.com>
30162 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
30164 (EXPL_FINITE): Likewise.
30165 (FLDLOG): Likewise.
30168 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
30169 Adjust comments for base varying.
30170 (__expl_finite): Change alias to EXPL_FINITE.
30171 * sysdeps/i386/fpu/e_exp10l.S: Define USE_AS_EXP10L and include
30173 * sysdeps/ieee754/dbl-64/e_exp10.c: New file.
30174 * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
30175 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
30176 * sysdeps/x86_64/fpu/e_exp10l.S: Likewise.
30177 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
30179 (EXPL_FINITE): Likewise.
30180 (FLDLOG): Likewise.
30183 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
30184 Adjust comments for base varying.
30185 (__expl_finite): Change alias to EXPL_FINITE.
30186 * math/libm-test.inc (exp10_test): Add more tests. Do not disable
30188 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
30191 * math/libm-test.inc (check_float_internal): Correct ulp
30192 calculation for subnormal expected results.
30194 2012-05-06 Andreas Jaeger <aj@suse.de>
30196 * Makeconfig (+math-flags): New, set to -frounding-math.
30197 (+cflags): Add +math-flags so that all of glibc gets compiled with
30200 * sysdeps/x86_64/fpu/libm-test-ulps: Updated.
30202 2012-05-05 Joseph Myers <joseph@codesourcery.com>
30204 * math/libm-test.inc (hypot_test) [TEST_DOUBLE && TEST_INLINE]:
30210 * sysdeps/i386/fpu/e_expl.S (csat): New constant.
30211 (__ieee754_expl): Allow for and saturate large arguments.
30212 * sysdeps/ieee754/dbl-64/w_exp.c (o_threshold): Remove variable.
30213 (u_threshold): Likewise.
30214 (__exp): Call __ieee754_exp before checking for overflow and
30216 * sysdeps/ieee754/flt-32/w_expf.c (o_threshold): Remove variable.
30217 (u_threshold): Likewise.
30218 (__expf): Call __ieee754_expf before checking for overflow and
30220 * sysdeps/ieee754/ldbl-96/w_expl.c (o_threshold): Remove variable.
30221 (u_threshold): Likewise.
30222 (__expl): Call __ieee754_expl before checking for overflow and
30224 * sysdeps/x86_64/fpu/e_expl.S (csat): New constant.
30225 (__ieee754_expl): Allow for and saturate large arguments.
30226 * math/libm-test.inc (exp_test): Add another test. Do not allow
30227 missing overflow exception on overflow.
30228 (expm1_test): Do not allow missing overflow exception on overflow.
30230 * sysdeps/i386/fpu/e_expl.c: Move to ...
30231 * sysdeps/i386/fpu/e_expl.S: ... here. Write directly in assembly
30232 rather than using inline asm.
30233 * sysdeps/x86_64/fpu/e_expl.c: Remove file.
30234 * sysdeps/x86_64/fpu/e_expl.S: Copy from
30235 sysdeps/i386/fpu/e_expl.S, adjusted for x86_64.
30237 * sysdeps/unix/sysv/syscalls.list (ftime): Remove.
30240 (signal): Likewise.
30244 2012-05-04 Joseph Myers <joseph@codesourcery.com>
30246 * sysdeps/unix/syscalls.list (adjtime): Add entry from
30247 sysdeps/unix/common/syscalls.list.
30248 (fchmod): Likewise.
30249 (fchown): Likewise.
30250 (ftruncate): Likewise.
30251 (getrusage): Likewise.
30252 (gettimeofday): Likewise.
30253 (setpgid): Likewise.
30254 (setregid): Likewise.
30255 (setreuid): Likewise.
30256 (sigaction): Likewise.
30257 (truncate): Likewise.
30258 (vhangup): Likewise.
30259 * sysdeps/unix/common/syscalls.list: Remove file.
30260 * sysdeps/unix/bsd/Implies: Don't include unix/common.
30261 * sysdeps/unix/sysv/linux/Implies: Likewise.
30263 2012-05-04 H.J. Lu <hongjiu.lu@intel.com>
30265 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: Moved to ...
30266 * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Here.
30267 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist:
30269 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
30271 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: Moved
30273 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Here.
30274 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: Moved
30276 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Here.
30277 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: Moved
30279 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Here.
30280 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: Moved
30282 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Here.
30283 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: Moved
30285 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Here.
30286 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: Moved
30288 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Here.
30289 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: Moved
30291 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
30293 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: Moved
30295 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist:
30297 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: Moved
30299 * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Here.
30300 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist:
30302 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist:
30304 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: Moved
30306 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Here.
30308 2012-05-04 Joseph Myers <joseph@codesourcery.com>
30310 * sysdeps/unix/common/bits/dirent.h: Remove file.
30311 * sysdeps/unix/common/bits/fcntl.h: Likewise.
30313 * sysdeps/unix/bsd/bits/dirent.h: Remove file.
30314 * sysdeps/unix/bsd/bits/fcntl.h: Likewise.
30315 * sysdeps/unix/bsd/bsd4.4/isatty.c: Likewise.
30316 * sysdeps/unix/bsd/isatty.c: Likewise.
30317 * sysdeps/unix/bsd/tcdrain.c: Likewise.
30318 * sysdeps/unix/bsd/tcgetattr.c: Likewise.
30319 * sysdeps/unix/bsd/tcsetattr.c: Likewise.
30321 2012-05-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
30324 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Fix
30325 long double comparison inaccuracies.
30326 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
30327 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
30329 2012-05-04 Andreas Schwab <schwab@linux-m68k.org>
30331 * sysdeps/unix/make-syscalls.sh: Fix check for version aliases.
30332 * sysdeps/unix/sysv/linux/i386/syscalls.list: Revert last change.
30334 2012-05-04 Joseph Myers <joseph@codesourcery.com>
30337 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Check for trailing
30338 nonzero digits before rounding a hex value.
30339 * stdlib/tst-strtod.c (tests): Add another test.
30341 2012-05-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
30343 * sysdeps/s390/fpu/libm-test-ulps: Update.
30345 2012-05-03 Andreas Jaeger <aj@suse.de>
30347 * malloc/mcheck.c (mcheck): Add barrier so that malloc/free pair
30348 does not get optimized out.
30349 (malloc_opt_barrier): New.
30351 2012-05-03 Andreas Jaeger <aj@suse.de>
30352 Roland McGrath <roland@hack.frob.com>
30354 * Makerules (.PRECIOUS): Add %.symlist pattern to prevent
30355 intermediate file deletion.
30356 (generated): Add .symlist files.
30358 2012-05-03 Joseph Myers <joseph@codesourcery.com>
30361 * libio/bits/stdio-ldbl.h [__USE_XOPEN2K8] (__dprintf_chk):
30362 Redirect under this condition.
30363 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
30364 [__USE_GNU] (__dprintf_chk): Not under this condition.
30365 [__USE_GNU] (__vdprintf_chk): Likewise.
30366 * libio/bits/stdio2.h [__USE_XOPEN2K8] (__dprintf_chk): Declare
30367 under this condition.
30368 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
30369 [__USE_XOPEN2K8] (dprintf): Define under this condition.
30370 [__USE_XOPEN2K8] (vdprintf): Likewise.
30371 [__USE_GNU] (__dprintf_chk): Not under this condition.
30372 [__USE_GNU] (__vdprintf_chk): Likewise.
30373 [__USE_GNU] (dprintf): Likewise.
30374 [__USE_GNU] (vdprintf): Likewise.
30376 2012-05-03 Roland McGrath <roland@hack.frob.com>
30378 * elf/Makefile (common-generated): Set this instead of generated for
30379 .dyn, .phdr, .jmprel files. Remove $(common-objpfx) from the
30380 $(all-built-dso)-derived lists.
30382 2012-05-03 Andreas Jaeger <aj@suse.de>
30384 * sysdeps/i386/fpu/libm-test-ulps: Update.
30387 * FAQ.in: Likewise.
30388 * scripts/gen-FAQ.pl: Likewise.
30389 * manual/install.texi (Installation): Point to online location of
30391 * Makefile (files-for-dist): Remove FAQ.
30394 2012-05-02 Allan McRae <allan@archlinux.org>
30396 * elf/Makefile: (LDFLAGS-nodel2mod3.so: Use $(no-as-needed).
30397 (LDFLAGS-reldepmod5.so): Likewise.
30398 (LDFLAGS-reldep6mod1.so): Likewise.
30399 (LDFLAGS-reldep6mod4.so): Likewise.
30400 (LDFLAGS-reldep8mod3.so): Likewise.
30401 (LDFLAGS-unload4mod1.so): Likewise.
30402 (LDFLAGS-unload4mod2.so): Likewise.
30403 (LDFLAGS-tst-initorder): Likewise.
30404 (LDFLAGS-tst-initordera2.so): Likewise.
30405 (LDFLAGS-tst-initordera3.so): Likewise.
30406 (LDFLAGS-tst-initordera4.so): Likewise.
30407 (LDFLAGS-tst-initorderb2.so): Likewise.
30408 (LDFLAGS-noload): Likewise.
30409 (LDFLAGS-next): Likewise.
30410 (LDFLAGS-order2mod1.so): Likewise.
30411 (LDFLAGS-order2mod2.so): Likewise.
30412 (LDFLAGS-tst-initorder2): Likewise.
30413 (LDFLAGS-tst-initorder2a.so): Likewise.
30414 (LDFLAGS-tst-initorder2b.so): Likewise.
30415 (LDFLAGS-tst-initorder2c.so): Likewise.
30416 * stdlib/Makefile: (LDFLAGS-tst-putenv): Likewise.
30418 2012-05-02 David S. Miller <davem@davemloft.net>
30420 * sysdeps/sparc/fpu/libm-test-ulps: Update.
30422 2012-05-02 Paul Pluzhnikov <ppluzhnikov@google.com>
30425 * elf/dl-sysdep.c (_dl_show_auxv): Add bounds check.
30427 2012-05-02 Andreas Jaeger <aj@suse.de>
30429 * math/Makefile (CPPFLAGS-test-ildoubl.c): Add -frounding-math
30430 since we manipulate rounding mode.
30431 (CPPFLAGS-test-idouble.c): Likewise.
30432 (CPPFLAGS-test-ifloat.c): Likewise.
30433 (CFLAGS-test-ldouble.c): Likewise.
30434 (CFLAGS-test-double.c): Likewise.
30435 (CFLAGS-test-float.c): Likewise.
30436 (CFLAGS-test-misc.c): Likewise.
30437 (CFLAGS-test-test-fenv.c): Likewise.
30439 2012-05-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
30443 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Use floating-point
30444 comparisons to determine direction to adjust input.
30446 2012-05-01 Roland McGrath <roland@hack.frob.com>
30448 * elf/Makefile ($(objpfx)check-localplt.out): Redirect the test's
30449 output to the target.
30451 * scripts/localplt.awk: New file.
30452 * elf/Makefile ($(objpfx)check-localplt): Target removed.
30453 (check-localplt-CFLAGS): Variable removed.
30454 ($(all-built-dso:=.jmprel)): New static pattern rule.
30455 (generated): Add those targets.
30456 (localplt-built-dso): New variable.
30457 ($(objpfx)check-localplt.out): Use the script on the .jmprel files.
30459 * elf/check-localplt.c: File removed.
30461 * scripts/check-execstack.awk: New file.
30462 * elf/Makefile ($(objpfx)check-execstack): Target removed.
30463 (check-execstack-CFLAGS): Variable removed.
30464 ($(objpfx)check-execstack.h): Target removed.
30465 ($(objpfx)execstack-default): New target.
30466 (generated): Add that instead of check-execstack.h.
30467 ($(all-built-dso:=.phdr)): New static pattern rule.
30468 (generated): Add those targets.
30469 * elf/check-execstack.c: File removed.
30471 * scripts/check-textrel.awk: New file.
30472 * elf/Makefile ($(objpfx)check-textrel): Target removed.
30473 (check-textrel-CFLAGS): Variable removed.
30474 (all-built-dso): Use := to define.o
30475 ($(all-built-dso:=.dyn)): New static pattern rule.
30476 (generated): Add those targets.
30477 ($(objpfx)check-textrel.out): Use the script on the .dyn files.
30478 * config.make.in (READELF): New substituted variable.
30479 * elf/check-textrel.c: File removed.
30481 2012-05-01 Joseph Myers <joseph@codesourcery.com>
30483 * conform/data/assert.h-data [ISO || ISO99 || ISO11] (*_t): Do not
30485 * conform/data/ctype.h-data [C99-based standards] (isblank):
30487 (is*): Change to is[abcdefghijklmnopqrstuvwxyz]*.
30488 (to*): Change to to[abcdefghijklmnopqrstuvwxyz]*.
30489 [ISO || ISO99 || ISO11] (*_t): Do not allow.
30490 * conform/data/errno.h-data (EDOM): Use macro-int-constant.
30491 Specify type. Require positive value.
30492 (EILSEQ): Likewise.
30493 (ERANGE): Likewise.
30494 [ISO || POSIX] (EILSEQ): Do not expect.
30495 [!ISO && !ISO99 && !ISO11] (E2BIG): Use macro-int-constant.
30496 Specify type. Require positive value.
30497 [!ISO && !ISO99 && !ISO11] (EACCES): Likewise.
30498 [!ISO && !ISO99 && !ISO11] (EADDRINUSE): Likewise.
30499 [!ISO && !ISO99 && !ISO11] (EADDRNOTAVAIL): Likewise.
30500 [!ISO && !ISO99 && !ISO11] (EAFNOSUPPORT): Likewise.
30501 [!ISO && !ISO99 && !ISO11] (EAGAIN): Likewise.
30502 [!ISO && !ISO99 && !ISO11] (EALREADY): Likewise.
30503 [!ISO && !ISO99 && !ISO11] (EBADF): Likewise.
30504 [!ISO && !ISO99 && !ISO11] (EBADMSG): Likewise.
30505 [!ISO && !ISO99 && !ISO11] (EBUSY): Likewise.
30506 [!ISO && !ISO99 && !ISO11] (ECANCELED): Likewise.
30507 [!ISO && !ISO99 && !ISO11] (ECHILD): Likewise.
30508 [!ISO && !ISO99 && !ISO11] (ECONNABORTED): Likewise.
30509 [!ISO && !ISO99 && !ISO11] (ECONNREFUSED): Likewise.
30510 [!ISO && !ISO99 && !ISO11] (ECONNRESET): Likewise.
30511 [!ISO && !ISO99 && !ISO11] (EDEADLK): Likewise.
30512 [!ISO && !ISO99 && !ISO11] (EDESTADDRREQ): Likewise.
30513 [!ISO && !ISO99 && !ISO11] (EDQUOT): Likewise.
30514 [!ISO && !ISO99 && !ISO11] (EEXIST): Likewise.
30515 [!ISO && !ISO99 && !ISO11] (EFAULT): Likewise.
30516 [!ISO && !ISO99 && !ISO11] (EFBIG): Likewise.
30517 [!ISO && !ISO99 && !ISO11] (EHOSTUNREACH): Likewise.
30518 [!ISO && !ISO99 && !ISO11] (EIDRM): Likewise.
30519 [!ISO && !ISO99 && !ISO11] (EINPROGRESS): Likewise.
30520 [!ISO && !ISO99 && !ISO11] (EINTR): Likewise.
30521 [!ISO && !ISO99 && !ISO11] (EINVAL): Likewise.
30522 [!ISO && !ISO99 && !ISO11] (EIO): Likewise.
30523 [!ISO && !ISO99 && !ISO11] (EISCONN): Likewise.
30524 [!ISO && !ISO99 && !ISO11] (EISDIR): Likewise.
30525 [!ISO && !ISO99 && !ISO11] (ELOOP): Likewise.
30526 [!ISO && !ISO99 && !ISO11] (EMFILE): Likewise.
30527 [!ISO && !ISO99 && !ISO11] (EMLINK): Likewise.
30528 [!ISO && !ISO99 && !ISO11] (EMSGSIZE): Likewise.
30529 [!ISO && !ISO99 && !ISO11] (EMULTIHOP): Likewise.
30530 [!ISO && !ISO99 && !ISO11] (ENAMETOOLONG): Likewise.
30531 [!ISO && !ISO99 && !ISO11] (ENETDOWN): Likewise.
30532 [!ISO && !ISO99 && !ISO11] (ENETUNREACH): Likewise.
30533 [!ISO && !ISO99 && !ISO11] (ENFILE): Likewise.
30534 [!ISO && !ISO99 && !ISO11] (ENOBUFS): Likewise.
30535 [!ISO && !ISO99 && !ISO11] (ENODATA): Likewise.
30536 [!ISO && !ISO99 && !ISO11] (ENODEV): Likewise.
30537 [!ISO && !ISO99 && !ISO11] (ENOENT): Likewise.
30538 [!ISO && !ISO99 && !ISO11] (ENOEXEC): Likewise.
30539 [!ISO && !ISO99 && !ISO11] (ENOLCK): Likewise.
30540 [!ISO && !ISO99 && !ISO11] (ENOLINK): Likewise.
30541 [!ISO && !ISO99 && !ISO11] (ENOMEM): Likewise.
30542 [!ISO && !ISO99 && !ISO11] (ENOMSG): Likewise.
30543 [!ISO && !ISO99 && !ISO11] (ENOPROTOOPT): Likewise.
30544 [!ISO && !ISO99 && !ISO11] (ENOSPC): Likewise.
30545 [!ISO && !ISO99 && !ISO11] (ENOSR): Likewise.
30546 [!ISO && !ISO99 && !ISO11] (ENOSTR): Likewise.
30547 [!ISO && !ISO99 && !ISO11] (ENOSYS): Likewise.
30548 [!ISO && !ISO99 && !ISO11] (ENOTCONN): Likewise.
30549 [!ISO && !ISO99 && !ISO11] (ENOTDIR): Likewise.
30550 [!ISO && !ISO99 && !ISO11] (ENOTEMPTY): Likewise.
30551 [!ISO && !ISO99 && !ISO11] (ENOTSOCK): Likewise.
30552 [!ISO && !ISO99 && !ISO11] (ENOTSUP): Likewise.
30553 [!ISO && !ISO99 && !ISO11] (ENOTTY): Likewise.
30554 [!ISO && !ISO99 && !ISO11] (ENXIO): Likewise.
30555 [!ISO && !ISO99 && !ISO11] (EOPNOTSUPP): Likewise.
30556 [!ISO && !ISO99 && !ISO11] (EOVERFLOW): Likewise.
30557 [!ISO && !ISO99 && !ISO11] (EPERM): Likewise.
30558 [!ISO && !ISO99 && !ISO11] (EPIPE): Likewise.
30559 [!ISO && !ISO99 && !ISO11] (EPROTO): Likewise.
30560 [!ISO && !ISO99 && !ISO11] (EPROTONOSUPPORT): Likewise.
30561 [!ISO && !ISO99 && !ISO11] (EPROTOTYPE): Likewise.
30562 [!ISO && !ISO99 && !ISO11] (EROFS): Likewise.
30563 [!ISO && !ISO99 && !ISO11] (ESPIPE): Likewise.
30564 [!ISO && !ISO99 && !ISO11] (ESRCH): Likewise.
30565 [!ISO && !ISO99 && !ISO11] (ESTALE): Likewise.
30566 [!ISO && !ISO99 && !ISO11] (ETIME): Likewise.
30567 [!ISO && !ISO99 && !ISO11] (ETIMEDOUT): Likewise.
30568 [!ISO && !ISO99 && !ISO11] (ETXTBSY): Likewise.
30569 [!ISO && !ISO99 && !ISO11] (EWOULDBLOCK): Likewise.
30570 [!ISO && !ISO99 && !ISO11] (EXDEV): Likewise.
30571 [XOPEN2K8 || defined POSIX2008] (ENOTRECOVERABLE): Likewise.
30572 [XOPEN2K8 || defined POSIX2008] (EOWNERDEAD): Likewise.
30573 * conform/data/float.h-data (FLT_RADIX): Use macro-int-constant.
30575 (FLT_ROUNDS): Expect as macro, not constant.
30576 (FLT_MANT_DIG): Use macro-int-constant.
30577 (DBL_MANT_DIG): Likewise.
30578 (LDBL_MANT_DIG): Likewise.
30579 (FLT_DIG): Likewise.
30580 (DBL_DIG): Likewise.
30581 (LDBL_DIG): Likewise.
30582 (FLT_MIN_EXP): Use macro-int-constant. Require < 0.
30583 (DBL_MIN_EXP): Likewise.
30584 (LDBL_MIN_EXP): Likewise.
30585 (FLT_MAX_EXP): Use macro-int-constant.
30586 (DBL_MAX_EXP): Likewise.
30587 (LDBL_MAX_EXP): Likewise.
30588 (FLT_MAX_10_EXP): Likewise.
30589 (DBL_MAX_10_EXP): Likewise.
30590 (LDBL_MAX_10_EXP): Likewise.
30591 (FLT_MAX): Use macro-constant.
30592 (DBL_MAX): Likewise.
30593 (LDBL_MAX): Likewise.
30594 (FLT_EPSILON): Use macro-constant. Give upper bound.
30595 (DBL_EPSILON): Likewise.
30596 (LDBL_EPSILON): Likewise.
30597 (FLT_MIN): Likewise.
30598 (DBL_MIN): Likewise.
30599 (LDBL_MIN): Likewise.
30600 [C99-based standards] (DECIMAL_DIG): Use macro-int-constant.
30601 [C99-based standards] (FLT_EVAL_METHOD): Likewise.
30602 [ISO11] (DBL_HAS_SUBNORM): Use macro-int-constant.
30603 [ISO11] (FLT_HAS_SUBNORM): Likewise.
30604 [ISO11] (LDBL_HAS_SUBNORM): Likewise.
30605 [ISO11] (DBL_DECIMAL_DIG): Likewise.
30606 [ISO11] (FLT_DECIMAL_DIG): Likewise.
30607 [ISO11] (LDBL_DECIMAL_DIG): Likewise.
30608 [ISO11] (DBL_TRUE_MIN): Use macro-constant.
30609 [ISO11] (FLT_TRUE_MIN): Likewise.
30610 [ISO11] (LDBL_TRUE_MIN): Likewise.
30611 [ISO || ISO99 || ISO11] (*_t): Do not allow.
30612 * conform/data/limits.h-data (CHAR_BIT): Use macro-int-constant.
30613 (SCHAR_MIN): Use macro-int-constant. Specify type.
30614 (SCHAR_MAX): Likewise.
30615 (UCHAR_MAX): Likewise.
30616 (CHAR_MIN): Likewise.
30617 (CHAR_MAX): Likewise.
30618 (MB_LEN_MAX): Use macro-int-constant.
30619 (SHRT_MIN): Use macro-int-constant. Specify type.
30620 (SHRT_MAX): Likewise.
30621 (USHRT_MAX): Likewise.
30622 (INT_MAX): Likewise.
30623 (INT_MIN): Use macro-int-constant. Specify type. Make upper
30625 (UINT_MAX): Use macro-int-constant. Specify type. Suffix lower
30627 (LONG_MAX): Use macro-int-constant. Specify type. Suffix lower
30629 (LONG_MIN): Use macro-int-constant. Specify type. Make upper
30630 bound negative. Suffix upper bound with "L".
30631 (ULONG_MAX): Use macro-int-constant. Specify type. Suffix lower
30633 [C99-based standards] (LLONG_MIN): Use macro-int-constant.
30635 [C99-based standards] (LLONG_MAX): Likewise.
30636 [C99-based standards] (ULLONG_MAX): Likewise.
30637 * conform/data/stddef.h-data (NULL): Use macro-constant. Require
30639 [ISO11] (max_align_t): Require type.
30640 [ISO || ISO99 || ISO11] (*_t): Do not allow.
30642 * conform/conformtest.pl ($CFLAGS_namespace): Define separately
30643 from $CFLAGS, without defining away __attribute__ calls.
30644 (checknamespace): Use $CFLAGS_namespace.
30646 * conform/conformtest.pl (@keywords): Only include C99 keywords
30647 for standards based on C99 or C11.
30649 * conform/data/iso646.h-data [ISO || POSIX || XPG3 || XPG4]:
30651 * conform/data/stdint.h-data [ISO || POSIX || XPG3 || XPG4 ||
30654 * conform/conformtest.pl: Handle "macro-int-constant" and test for
30655 usability of symbols in #if.
30657 * conform/conformtest.pl: If macro or constant types start
30658 "promoted:", expect the symbol to be of the following type
30659 promoted by the integer promotions.
30661 * conform/conformtest.pl: Parse all "constant" and "macro" lines
30662 in one place. Also handle "macro-constant".
30664 * conform/conformtest.pl: Only accept expected macro values with
30665 "==". Parse all "macro" lines in one place.
30666 * conform/data/stdlib.h-data: Use "==" form on "macro" lines.
30668 * conform/conformtest.pl: Handle braced types on "constant" lines
30669 instead of handling "typed-constant".
30670 * conform/data/signal.h-data: Use "constant" instead of
30673 * conform/conformtest.pl: Handle "optional-" at start of lines in
30674 one place rather than duplicating several cases. Handle each
30675 format of "macro" line with initial "optional-".
30677 * conform/conformtest.pl: Only accept expected constant or
30678 optional-constant values with "==". Parse all "constant" lines in
30679 one place. Parse all "optional-constant" lines in one place.
30680 * conform/data/cpio.h-data: Use "==" form on "constant" lines.
30681 * conform/data/fmtmsg.h-data: Likewise.
30682 * conform/data/netinet/in.h-data: Likewise.
30683 * conform/data/tar.h-data: Likewise.
30684 * conform/data/limits.h-data: Use "==" form on "constant" and
30685 "optional-constant" lines.
30687 * conform/conformtest.pl: Use -ansi for XPG3, XPG4 and UNIX98.
30688 Use -std=c99 for XOPEN2K.
30689 (@knownproblems): Remove.
30690 (newtoken): Don't check %isknown.
30692 * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (fpclassify):
30693 Do not expect macro.
30694 [XPG3 || XPG4 || UNIX98] (isfinite): Likewise.
30695 [XPG3 || XPG4 || UNIX98] (isinf): Likewise.
30696 [XPG3 || XPG4 || UNIX98] (isnan): Likewise.
30697 [XPG3 || XPG4 || UNIX98] (isnormal): Likewise.
30698 [XPG3 || XPG4 || UNIX98] (signbit): Likewise.
30699 [XPG3 || XPG4 || UNIX98] (isgreater): Likewise.
30700 [XPG3 || XPG4 || UNIX98] (isgreaterequal): Likewise.
30701 [XPG3 || XPG4 || UNIX98] (isless): Likewise.
30702 [XPG3 || XPG4 || UNIX98] (islessequal): Likewise.
30703 [XPG3 || XPG4 || UNIX98] (islessgreater): Likewise.
30704 [XPG3 || XPG4 || UNIX98] (isunordered): Likewise.
30705 [XPG3 || XPG4 || UNIX98] (isnan): Expect as function.
30706 [XPG3 || XPG4 || UNIX98] (HUGE_VALF): Do not expect.
30707 [XPG3 || XPG4 || UNIX98] (HUGE_VALL): Likewise.
30708 [XPG3 || XPG4 || UNIX98] (INFINITY): Likewise.
30709 [XPG3 || XPG4 || UNIX98] (NAN): Likewise.
30710 [XPG3 || XPG4 || UNIX98] (FP_INFINITE): Likewise.
30711 [XPG3 || XPG4 || UNIX98] (FP_NAN): Likewise.
30712 [XPG3 || XPG4 || UNIX98] (FP_NORMAL): Likewise.
30713 [XPG3 || XPG4 || UNIX98] (FP_SUBNORMAL): Likewise.
30714 [XPG3 || XPG4 || UNIX98] (FP_ZERO): Likewise.
30715 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMA): Likewise.
30716 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAF): Likewise.
30717 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAL): Likewise.
30718 [XPG3 || XPG4 || UNIX98] (FP_ILOGB0): Likewise.
30719 [XPG3 || XPG4 || UNIX98] (FP_ILOGBNAN): Likewise.
30720 [XPG3 || XPG4 || UNIX98] (copysign): Likewise.
30721 [XPG3 || XPG4 || UNIX98] (exp2): Likewise.
30722 [XPG3 || XPG4 || UNIX98] (log2): Likewise.
30723 [XPG3 || XPG4 || UNIX98] (tgama): Likewise.
30724 [XPG3] (acosh): Likewise.
30725 [XPG3] (asinh): Likewise.
30726 [XPG3] (atanh): Likewise.
30727 [XPG3] (cbrt): Likewise.
30728 [XPG3] (expm1): Likewise.
30729 [XPG3] (ilogb): Likewise.
30730 [XPG3] (log1p): Likewise.
30731 [XPG3] (logb): Likewise.
30732 [XPG3] (nextafter): Likewise.
30733 [XPG3 || XPG4 || UNIX98] (nexttoward): Likewise.
30734 [XPG3 || XPG4 || UNIX98] (nearbyint): Likewise.
30735 [XPG3] (remainder): Likewise.
30736 [XPG3] (rint): Likewise.
30737 [XPG3 || XPG4 || UNIX98] (round): Likewise.
30738 [XPG3 || XPG4 || UNIX98] (trunc): Likewise.
30739 [XPG3 || XPG4 || UNIX98] (lrint): Likewise.
30740 [XPG3 || XPG4 || UNIX98] (llrint): Likewise.
30741 [XPG3 || XPG4 || UNIX98] (lround): Likewise.
30742 [XPG3 || XPG4 || UNIX98] (llround): Likewise.
30743 [XPG3 || XPG4 || UNIX98] (remquo): Likewise.
30744 [UNIX98 || XOPEN2K] (scalb): Expect.
30745 [XPG3 || XPG4 || UNIX98] (scalbn): Do not expect.
30746 [XPG3 || XPG4 || UNIX98] (scalbln): Likewise.
30747 [XPG3 || XPG4 || UNIX98] (fdim): Likewise.
30748 [XPG3 || XPG4 || UNIX98] (fmax): Likewise.
30749 [XPG3 || XPG4 || UNIX98] (fmin): Likewise.
30750 [XPG3 || XPG4 || UNIX98] (fma): Likewise.
30751 [XPG3 || XPG4 || UNIX98] (nan): Likewise.
30752 [XPG3 || XPG4 || UNIX98] (acosf): Likewise.
30753 [XPG3 || XPG4 || UNIX98] (asinf): Likewise.
30754 [XPG3 || XPG4 || UNIX98] (atanf): Likewise.
30755 [XPG3 || XPG4 || UNIX98] (atan2f): Likewise.
30756 [XPG3 || XPG4 || UNIX98] (ceilf): Likewise.
30757 [XPG3 || XPG4 || UNIX98] (copysignf): Likewise.
30758 [XPG3 || XPG4 || UNIX98] (cosf): Likewise.
30759 [XPG3 || XPG4 || UNIX98] (coshf): Likewise.
30760 [XPG3 || XPG4 || UNIX98] (expf): Likewise.
30761 [XPG3 || XPG4 || UNIX98] (exp2f): Likewise.
30762 [XPG3 || XPG4 || UNIX98] (fabsf): Likewise.
30763 [XPG3 || XPG4 || UNIX98] (floorf): Likewise.
30764 [XPG3 || XPG4 || UNIX98] (fmodf): Likewise.
30765 [XPG3 || XPG4 || UNIX98] (frexpf): Likewise.
30766 [XPG3 || XPG4 || UNIX98] (ldexpf): Likewise.
30767 [XPG3 || XPG4 || UNIX98] (logf): Likewise.
30768 [XPG3 || XPG4 || UNIX98] (log10f): Likewise.
30769 [XPG3 || XPG4 || UNIX98] (log2f): Likewise.
30770 [XPG3 || XPG4 || UNIX98] (modff): Likewise.
30771 [XPG3 || XPG4 || UNIX98] (powf): Likewise.
30772 [XPG3 || XPG4 || UNIX98] (sinf): Likewise.
30773 [XPG3 || XPG4 || UNIX98] (sinhf): Likewise.
30774 [XPG3 || XPG4 || UNIX98] (sqrtf): Likewise.
30775 [XPG3 || XPG4 || UNIX98] (tanf): Likewise.
30776 [XPG3 || XPG4 || UNIX98] (tanhf): Likewise.
30777 [XPG3 || XPG4 || UNIX98] (erff): Likewise.
30778 [XPG3 || XPG4 || UNIX98] (erfcf): Likewise.
30779 [XPG3 || XPG4 || UNIX98] (gammaf): Likewise.
30780 [XPG3 || XPG4 || UNIX98] (hypotf): Likewise.
30781 [XPG3 || XPG4 || UNIX98] (j0f): Likewise.
30782 [XPG3 || XPG4 || UNIX98] (j1f): Likewise.
30783 [XPG3 || XPG4 || UNIX98] (jnf): Likewise.
30784 [XPG3 || XPG4 || UNIX98] (lgammaf): Likewise.
30785 [XPG3 || XPG4 || UNIX98] (tgammaf): Likewise.
30786 [XPG3 || XPG4 || UNIX98] (y0f): Likewise.
30787 [XPG3 || XPG4 || UNIX98] (y1f): Likewise.
30788 [XPG3 || XPG4 || UNIX98] (ynf): Likewise.
30789 [XPG3 || XPG4 || UNIX98] (acoshf): Likewise.
30790 [XPG3 || XPG4 || UNIX98] (asinhf): Likewise.
30791 [XPG3 || XPG4 || UNIX98] (atanhf): Likewise.
30792 [XPG3 || XPG4 || UNIX98] (cbrtf): Likewise.
30793 [XPG3 || XPG4 || UNIX98] (expm1f): Likewise.
30794 [XPG3 || XPG4 || UNIX98] (ilogbf): Likewise.
30795 [XPG3 || XPG4 || UNIX98] (log1pf): Likewise.
30796 [XPG3 || XPG4 || UNIX98] (logbf): Likewise.
30797 [XPG3 || XPG4 || UNIX98] (nextafterf): Likewise.
30798 [XPG3 || XPG4 || UNIX98] (nexttowardf): Likewise.
30799 [XPG3 || XPG4 || UNIX98] (nearbyintf): Likewise.
30800 [XPG3 || XPG4 || UNIX98] (remainderf): Likewise.
30801 [XPG3 || XPG4 || UNIX98] (rintf): Likewise.
30802 [XPG3 || XPG4 || UNIX98] (roundf): Likewise.
30803 [XPG3 || XPG4 || UNIX98] (truncf): Likewise.
30804 [XPG3 || XPG4 || UNIX98] (lrintf): Likewise.
30805 [XPG3 || XPG4 || UNIX98] (llrintf): Likewise.
30806 [XPG3 || XPG4 || UNIX98] (lroundf): Likewise.
30807 [XPG3 || XPG4 || UNIX98] (llroundf): Likewise.
30808 [XPG3 || XPG4 || UNIX98] (remquof): Likewise.
30809 [XPG3 || XPG4 || UNIX98] (scalbf): Likewise.
30810 [XPG3 || XPG4 || UNIX98] (scalbnf): Likewise.
30811 [XPG3 || XPG4 || UNIX98] (scalblnf): Likewise.
30812 [XPG3 || XPG4 || UNIX98] (fdimf): Likewise.
30813 [XPG3 || XPG4 || UNIX98] (fmaxf): Likewise.
30814 [XPG3 || XPG4 || UNIX98] (fminf): Likewise.
30815 [XPG3 || XPG4 || UNIX98] (fmaf): Likewise.
30816 [XPG3 || XPG4 || UNIX98] (nanf): Likewise.
30817 [XPG3 || XPG4 || UNIX98] (acosl): Likewise.
30818 [XPG3 || XPG4 || UNIX98] (asinl): Likewise.
30819 [XPG3 || XPG4 || UNIX98] (atanl): Likewise.
30820 [XPG3 || XPG4 || UNIX98] (atan2l): Likewise.
30821 [XPG3 || XPG4 || UNIX98] (ceill): Likewise.
30822 [XPG3 || XPG4 || UNIX98] (copysignl): Likewise.
30823 [XPG3 || XPG4 || UNIX98] (cosl): Likewise.
30824 [XPG3 || XPG4 || UNIX98] (coshl): Likewise.
30825 [XPG3 || XPG4 || UNIX98] (expl): Likewise.
30826 [XPG3 || XPG4 || UNIX98] (exp2l): Likewise.
30827 [XPG3 || XPG4 || UNIX98] (fabsl): Likewise.
30828 [XPG3 || XPG4 || UNIX98] (floorl): Likewise.
30829 [XPG3 || XPG4 || UNIX98] (fmodl): Likewise.
30830 [XPG3 || XPG4 || UNIX98] (frexpl): Likewise.
30831 [XPG3 || XPG4 || UNIX98] (ldexpl): Likewise.
30832 [XPG3 || XPG4 || UNIX98] (logl): Likewise.
30833 [XPG3 || XPG4 || UNIX98] (log10l): Likewise.
30834 [XPG3 || XPG4 || UNIX98] (log2l): Likewise.
30835 [XPG3 || XPG4 || UNIX98] (modfl): Likewise.
30836 [XPG3 || XPG4 || UNIX98] (powl): Likewise.
30837 [XPG3 || XPG4 || UNIX98] (sinl): Likewise.
30838 [XPG3 || XPG4 || UNIX98] (sinhl): Likewise.
30839 [XPG3 || XPG4 || UNIX98] (sqrtl): Likewise.
30840 [XPG3 || XPG4 || UNIX98] (tanl): Likewise.
30841 [XPG3 || XPG4 || UNIX98] (tanhl): Likewise.
30842 [XPG3 || XPG4 || UNIX98] (erfl): Likewise.
30843 [XPG3 || XPG4 || UNIX98] (erfcl): Likewise.
30844 [XPG3 || XPG4 || UNIX98] (gammal): Likewise.
30845 [XPG3 || XPG4 || UNIX98] (hypotl): Likewise.
30846 [XPG3 || XPG4 || UNIX98] (j0l): Likewise.
30847 [XPG3 || XPG4 || UNIX98] (j1l): Likewise.
30848 [XPG3 || XPG4 || UNIX98] (jnl): Likewise.
30849 [XPG3 || XPG4 || UNIX98] (lgammal): Likewise.
30850 [XPG3 || XPG4 || UNIX98] (tgammal): Likewise.
30851 [XPG3 || XPG4 || UNIX98] (y0l): Likewise.
30852 [XPG3 || XPG4 || UNIX98] (y1l): Likewise.
30853 [XPG3 || XPG4 || UNIX98] (ynl): Likewise.
30854 [XPG3 || XPG4 || UNIX98] (acoshl): Likewise.
30855 [XPG3 || XPG4 || UNIX98] (asinhl): Likewise.
30856 [XPG3 || XPG4 || UNIX98] (atanhl): Likewise.
30857 [XPG3 || XPG4 || UNIX98] (cbrtl): Likewise.
30858 [XPG3 || XPG4 || UNIX98] (expm1l): Likewise.
30859 [XPG3 || XPG4 || UNIX98] (ilogbl): Likewise.
30860 [XPG3 || XPG4 || UNIX98] (log1pl): Likewise.
30861 [XPG3 || XPG4 || UNIX98] (logbl): Likewise.
30862 [XPG3 || XPG4 || UNIX98] (nextafterl): Likewise.
30863 [XPG3 || XPG4 || UNIX98] (nexttowardl): Likewise.
30864 [XPG3 || XPG4 || UNIX98] (nearbyintl): Likewise.
30865 [XPG3 || XPG4 || UNIX98] (remainderl): Likewise.
30866 [XPG3 || XPG4 || UNIX98] (rintl): Likewise.
30867 [XPG3 || XPG4 || UNIX98] (roundl): Likewise.
30868 [XPG3 || XPG4 || UNIX98] (truncl): Likewise.
30869 [XPG3 || XPG4 || UNIX98] (lrintl): Likewise.
30870 [XPG3 || XPG4 || UNIX98] (llrintl): Likewise.
30871 [XPG3 || XPG4 || UNIX98] (lroundl): Likewise.
30872 [XPG3 || XPG4 || UNIX98] (llroundl): Likewise.
30873 [XPG3 || XPG4 || UNIX98] (remquol): Likewise.
30874 [XPG3 || XPG4 || UNIX98] (scalbl): Likewise.
30875 [XPG3 || XPG4 || UNIX98] (scalbnl): Likewise.
30876 [XPG3 || XPG4 || UNIX98] (scalblnl): Likewise.
30877 [XPG3 || XPG4 || UNIX98] (fdiml): Likewise.
30878 [XPG3 || XPG4 || UNIX98] (fmaxl): Likewise.
30879 [XPG3 || XPG4 || UNIX98] (fminl): Likewise.
30880 [XPG3 || XPG4 || UNIX98] (fmal): Likewise.
30881 [XPG3 || XPG4 || UNIX98] (nanl): Likewise.
30883 * conform/conformtest.pl: Define _XOPEN_SOURCE as well as
30884 _XOPEN_SOURCE_EXTENDED for XPG4.
30886 * conform/conformtest.pl: Handle "symbol" lines for allow-header.
30888 * Makeconfig (localtime): Remove variable.
30889 (inst_localtime-file): Likewise.
30891 2012-05-01 Andreas Schwab <schwab@linux-m68k.org>
30893 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
30895 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
30897 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
30899 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
30901 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
30903 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist:
30905 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
30907 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist:
30909 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
30912 2012-05-01 Joseph Myers <joseph@codesourcery.com>
30916 * math/s_nexttowardf.c (__nexttowardf): Use floating-point
30917 comparisons to determine direction to adjust input.
30918 * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
30919 * sysdeps/i386/fpu/s_nexttowardf.c(__nexttowardf): Likewise.
30920 * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
30922 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
30924 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
30926 * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
30927 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
30929 * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
30931 * math/libm-test.inc (nexttoward_test): Add more tests.
30933 2012-05-01 Andreas Schwab <schwab@linux-m68k.org>
30936 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (nearbyintl): Define
30937 in version GLIBC_2.1, not GLIBC_2.0.
30938 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (nearbyintl):
30941 2012-04-30 Joseph Myers <joseph@codesourcery.com>
30944 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Calculate 1 - x^2 as
30946 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
30947 * sysdeps/i386/fpu/e_asin.S (__ieee754_asin): Likewise.
30948 * math/libm-test.inc (acos_test): Add more tests.
30949 (asin_test): Likewise.
30950 * sysdeps/i386/fpu/libm-test-ulps: Update.
30951 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
30954 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Take absolute value
30956 * sysdeps/i386/fpu/e_acosf.S (__ieee754_acosf): Likewise.
30957 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
30958 * math/libm-test.inc (acos_test_tonearest): New function.
30959 (acos_test_towardzero): Likewise.
30960 (acos_test_downward): Likewise.
30961 (acos_test_upward): Likewise.
30962 (asin_test_tonearest): Likewise.
30963 (asin_test_towardzero): Likewise.
30964 (asin_test_downward): Likewise.
30965 (asin_test_upward): Likewise.
30966 (main): Call the new functions.
30967 * sysdeps/i386/fpu/libm-test-ulps: Update.
30968 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
30972 * math/e_exp10.c: Include <float.h>.
30973 (__ieee754_exp10): Handle underflow here rather than multiplying
30974 large negative argument by M_LN10.
30975 * math/e_exp10f.c (__ieee754_exp10f): Call __ieee754_exp instead
30977 * math/e_exp10l.c: Include <float.h>.
30978 (__ieee754_exp10l): Handle underflow here rather than multiplying
30979 large negative argument by M_LN10l.
30980 * math/libm-test.inc (exp10_test): Add another test. Do not allow
30981 spurious overflow exception on underflow.
30983 2012-04-29 Marek Polacek <polacek@redhat.com>
30985 * misc/sys/cdefs.h (__attribute_artificial__): New macro.
30986 (__fortify_function): New macro.
30987 (__extern_always_inline): Don't use __attribute__ ((__artificial__)).
30988 * libio/bits/stdio-ldbl.h: Use __fortify_function in place of
30989 __extern_always_inline.
30990 * libio/bits/stdio2.h: Likewise.
30991 * libio/bits/stdio.h: Likewise.
30992 * string/string.h: Likewise.
30993 * string/bits/string3.h: Likewise.
30994 * include/stdio.h: Likewise.
30995 * stdlib/bits/stdlib.h: Likewise.
30996 * stdlib/stdlib.h: Likewise.
30997 * rt/bits/mqueue2.h: Likewise.
30998 * rt/mqueue.h: Likewise.
30999 * posix/bits/unistd.h: Likewise.
31000 * posix/unistd.h: Likewise.
31001 * io/bits/poll2.h: Likewise.
31002 * io/bits/fcntl2.h: Likewise.
31003 * io/fcntl.h: Likewise.
31004 * io/sys/poll.h: Likewise.
31005 * misc/bits/syslog.h: Likewise.
31006 * misc/bits/syslog-ldbl.h: Likewise.
31007 * misc/sys/syslog.h: Likewise.
31008 * socket/bits/socket2.h: Likewise.
31009 * socket/sys/socket.h: Likewise.
31010 * debug/tst-chk1.c: Likewise.
31011 * wcsmbs/bits/wchar2.h: Likewise.
31012 * wcsmbs/bits/wchar-ldbl.h: Likewise.
31013 * wcsmbs/wchar.h: Likewise.
31015 2012-04-29 Andreas Jaeger <aj@suse.de>
31017 * Makerules (tests): Remove enable-check-abi protection.
31018 (check-abi-warn): Remove.
31019 (check-abi-%): Remove check-abi-warn usage.
31021 * configure.in: Remove check-abi configure option.
31022 * configure: Regenerated.
31023 * config.make.in (enable-check-abi): Remove.
31025 2012-04-28 Andreas Schwab <schwab@linux-m68k.org>
31028 * math/bits/math-finite.h [__NO_LONG_DOUBLE_MATH]: Redirect long
31029 double functions to double *_finite functions.
31032 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c
31033 (__mpn_extract_long_double): Use DBL_MIN_EXP instead of
31035 * stdio-common/Makefile (tests): Add tst-sprintf3.
31036 * stdio-common/tst-sprintf3.c: New file.
31038 * elf/Makefile ($(objpfx)tst-leaks1-mem, $(objpfx)noload-mem)
31039 ($(objpfx)tst-unused-dep.out): Don't run when cross-compiling.
31041 2012-04-28 Joseph Myers <joseph@codesourcery.com>
31043 * conform/conformtest.pl: Remove duplicate typed-constant
31046 2012-04-28 David S. Miller <davem@davemloft.net>
31048 * Makerules (%.abilist): Add vpath on sysdep_dirs.
31049 (check-abi-%): Remove AWK script prerequisite and explicit
31051 (check-abi): Rewrite to just diff the symlist with the abilist.
31052 (config-tls, config-abi-config): Delete, no longer used.
31053 (update-abi-%): Remove AWK script and explicit abilist directory.
31054 (update-abi): Rewrite to simply compare and conditionally copy the
31055 symlist and the sysdep abilist file. Remove update-abi-config
31057 * abilist/ld.abilist: Remove.
31058 * abilist/libBrokenLocale.abilist: Remove.
31059 * abilist/libanl.abilist: Remove.
31060 * abilist/libcrypt.abilist: Remove.
31061 * abilist/libdl.abilist: Remove.
31062 * abilist/librt.abilist: Remove.
31063 * abilist/libthread_db.abilist: Remove.
31064 * abilist/libutil.abilist: Remove.
31065 * scripts/extract-abilist.awk: Remove.
31066 * scripts/merge-abilist.awk: Remove.
31067 * sysdeps/generic/libcidn.abilist: New file.
31068 * sysdeps/generic/libnss_compat.abilist: New file.
31069 * sysdeps/generic/libnss_db.abilist: New file.
31070 * sysdeps/generic/libnss_dns.abilist: New file.
31071 * sysdeps/generic/libnss_files.abilist: New file.
31072 * sysdeps/generic/libnss_hesiod.abilist: New file.
31073 * sysdeps/generic/libnss_nis.abilist: New file.
31074 * sysdeps/generic/libnss_nisplus.abilist: New file.
31075 * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: New file.
31076 * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: New file.
31077 * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: New
31079 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: New file.
31080 * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: New file.
31081 * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: New file.
31082 * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: New file.
31083 * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: New file.
31084 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: New file.
31085 * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: New file.
31086 * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: New file.
31087 * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: New
31089 * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: New file.
31090 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: New file.
31091 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: New file.
31092 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist: New
31094 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: New file.
31095 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: New file.
31096 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: New file.
31097 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: New file.
31098 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: New file.
31099 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: New
31101 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: New file.
31102 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: New file.
31103 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist: New
31105 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: New file.
31106 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/ld.abilist:
31108 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libanl.abilist:
31110 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libBrokenLocale.abilist:
31112 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libc.abilist:
31114 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libcrypt.abilist:
31116 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libdl.abilist:
31118 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libm.abilist:
31120 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libnsl.abilist:
31122 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libpthread.abilist:
31124 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libresolv.abilist:
31126 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/librt.abilist:
31128 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libthread_db.abilist:
31130 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libutil.abilist:
31132 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: New
31134 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
31136 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
31138 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: New
31140 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
31142 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
31144 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: New
31146 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
31148 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
31150 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
31152 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
31154 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
31156 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
31158 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: New file.
31159 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: New
31161 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
31163 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: New
31165 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: New
31167 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: New
31169 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: New
31171 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: New
31173 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
31175 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: New
31177 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: New
31179 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
31181 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: New
31183 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: New file.
31184 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist: New
31186 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
31188 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: New
31190 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: New
31192 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: New
31194 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: New
31196 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: New
31198 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
31200 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist: New
31202 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: New
31204 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
31206 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: New
31208 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
31209 * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: New file.
31210 * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: New
31212 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: New file.
31213 * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: New file.
31214 * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: New file.
31215 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: New file.
31216 * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: New file.
31217 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: New file.
31218 * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: New file.
31219 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: New file.
31220 * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: New file.
31221 * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: New file.
31222 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: New file.
31223 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: New
31225 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
31227 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: New
31229 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist: New
31231 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: New
31233 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: New
31235 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: New
31237 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
31239 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
31241 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: New
31243 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
31245 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: New
31247 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: New file.
31248 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: New
31250 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
31252 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: New
31254 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist: New
31256 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: New
31258 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: New
31260 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: New
31262 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
31264 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
31266 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: New
31268 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
31270 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: New
31273 2012-04-28 Joseph Myers <joseph@codesourcery.com>
31275 * conform/conformtest.pl: Fix typo in handling typed-constant from
31278 2012-04-27 Joseph Myers <joseph@codesourcery.com>
31280 * README: Cut down references to pre-2.6 Linux kernels and
31281 Linuxthreads. Update lists of configurations in libc and ports
31282 and sort alphabetically. Say "or newer" with Linux kernel version
31285 * config.h.in [IS_IN_build]: Allow compiling without optimization.
31287 2012-04-27 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
31290 * math/libm-test.inc (logb_test_downward): New test to expose
31291 erroneous negative sign on -0.0 result of logb[l](1) in FE_DOWNWARD
31294 2012-04-27 Joseph Myers <joseph@codesourcery.com>
31297 * math/fclrexcpt.c (__feclearexcept): Return zero if nothing needs
31299 * math/fraiseexcpt.c (__feraiseexcept): Likewise.
31300 * math/fsetexcptflg.c (__fesetexceptflag): Likewise.
31302 2012-04-26 Joseph Myers <joseph@codesourcery.com>
31304 * sysdeps/unix/i386/brk.S: Remove file.
31305 * sysdeps/unix/i386/dl-brk.S: Likewise.
31306 * sysdeps/unix/i386/pipe.S: Likewise.
31307 * sysdeps/unix/i386/sigreturn.S: Likewise.
31308 * sysdeps/unix/i386/syscall.S: Likewise.
31309 * sysdeps/unix/i386/vfork.S: Likewise.
31310 * sysdeps/unix/i386/wait.S: Likewise.
31312 * sysdeps/unix/common/tcsendbrk.c: Move to ...
31313 * sysdeps/unix/sysv/linux/tcsendbrk.c: ... here.
31315 * configure.in (arm*-none*): Do not allow without
31316 --enable-hacker-mode.
31317 (netbsd*): Remove case setting base_os.
31318 (386bsd*): Likewise.
31319 (freebsd*): Likewise.
31322 (sunos*): Likewise.
31323 (ultrix*): Likewise.
31324 (newsos*): Likewise.
31325 (dynix*): Likewise.
31331 (minix*): Likewise.
31332 (irix4*): Likewise.
31333 (irix6*): Likewise.
31334 (solaris[2-9]*): Likewise.
31336 * configure: Regenerated.
31338 2012-04-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
31341 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c (__ctanhl): Avoid internal
31342 overflow or cancellation in calculating denominator.
31343 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c (__ctanl): Likewise.
31344 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Breaking
31345 down expression to avoid unexpected rounding in newer GCCs.
31346 * sysdeps/powerpc/fpu/libm-test-ulps: Update for ctan, ctanh fix.
31348 2012-04-26 David S. Miller <davem@davemloft.net>
31350 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Generate
31351 long-double compat symbols.
31352 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
31353 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
31354 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
31355 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: Likewise.
31356 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
31357 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Likewise.
31358 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: Likewise.
31359 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: Likewise.
31360 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: Likewise.
31361 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
31362 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: Likewise.
31363 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: Likewise.
31364 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
31366 2012-04-25 David S. Miller <davem@davemloft.net>
31368 * sysdeps/sparc/sparc32/bits/atomic.h: Include sysdep.h to get
31369 HWCAP_* values only after the memory barriers have been defined.
31370 (atomic_full_barrier): Define.
31371 (atomic_read_barrier): Define.
31372 (atomic_write_barrier): Define.
31374 2012-04-26 Siddhesh Poyarekar <siddhesh@redhat.com>
31376 * shlib-versions: Add libgcc_s version information.
31377 * sysdeps/generic/libgcc_s.h: Remove.
31378 * sysdeps/generic/framestate.c: Include gnu/lib-names.h instead of
31380 * sysdeps/gnu/unwind-resume.c: Likewise.
31381 * scripts/test-installation.pl: Remove libgcc_s from link_libs.
31383 2012-04-25 David S. Miller <davem@davemloft.net>
31385 * sysdeps/unix/sparc/brk.S: Delete.
31386 * sysdeps/unix/sparc/dl-brk.S: Delete.
31387 * sysdeps/unix/sparc/pipe.S: Delete.
31388 * sysdeps/unix/sparc/sysdep.S: Delete.
31389 * sysdeps/unix/sparc/sysdep.h: Delete.
31390 * sysdeps/unix/sparc/vfork.S: Delete.
31391 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK, SPARC_PIC_REG)
31392 (SPARC_PIC_REG_LEAF, ENTRY, END, LOC): Define.
31393 * sysdeps/unix/sysv/linux/sparc/sysdep.h (ret, ret_NOERRNO)
31394 (ret_ERRVAL, r0, r1, MOVE): Define.
31395 (JUMPTARGET): Remove.
31396 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Don't include
31397 sysdeps/unix/sparc/sysdep.h
31398 (ENTRY, END): Remove.
31399 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
31401 2012-04-25 Joseph Myers <joseph@codesourcery.com>
31403 * Makerules (native-compile): Use $(BUILD_LDFLAGS).
31404 (ALL_BUILD_CFLAGS): Use $(BUILD_CPPFLAGS) -D_GNU_SOURCE
31407 * timezone/README: Update upstream location and email address for
31409 * timezone/zdump.c: Update from tzcode 2012b.
31410 * timezone/zic.c: Likewise.
31412 * configure.in (libc_cv_as_needed): Remove test.
31413 * configure: Regenerated.
31414 * Makeconfig [$(have-as-needed) != yes] (as-needed): Remove
31415 conditional definition.
31416 [$(have-as-needed) != yes] (no-as-needed): Likewise.
31417 [$(have-as-needed) != yes] (libgcc_eh): Likewise.
31418 * config.make.in (have-as-needed): Remove variable.
31420 2012-04-25 Siddhesh Poyarekar <siddhesh@redhat.com>
31421 Paul Pluzhnikov <ppluzhnikov@google.com>
31423 * elf/dl-minimal.c (__strtoul_internal): Parse hexadecimal and octal
31426 2012-04-25 Chung-Lin Tang <cltang@codesourcery.com>
31428 * sysdeps/sh/memcpy.S: Remove include of endian.h, change
31429 preprocessor endian tests to '#ifdef __BIG_ENDIAN__'.
31430 * sysdeps/sh/strlen.S: Likewise.
31432 2012-04-24 Joseph Myers <joseph@codesourcery.com>
31434 * sysdeps/unix/fork.S: Remove file.
31435 * sysdeps/unix/i386/fork.S: Likewise.
31436 * sysdeps/unix/sparc/fork.S: Likewise.
31438 * sysdeps/unix/system.c: Remove file.
31439 * sysdeps/unix/bsd/bsd4.4/system.c: Likewise.
31441 * sysdeps/unix/getegid.S: Remove file.
31442 * sysdeps/unix/geteuid.S: Likewise.
31444 2012-04-24 Roland McGrath <roland@hack.frob.com>
31446 * scripts/check-localplt.awk: New file.
31447 * elf/Makefile ($(objpfx)check-localplt.out): Use that script instead
31449 * scripts/data/localplt-generic.data: Add a comment.
31451 * sysdeps/mach/hurd/symlink.c: Don't call __mach_port_deallocate on
31452 NODE when __dir_mkfile failed.
31453 * sysdeps/mach/hurd/symlinkat.c: Likewise.
31454 Reported by Ludovic Courtès <ludo@gnu.org>.
31456 2012-04-24 Andreas Jaeger <aj@suse.de>
31458 * Makerules (common-clean): Also remove gen-as-const-headers
31461 2012-04-24 Joseph Myers <joseph@codesourcery.com>
31463 * Makerules (native-compile): Do not change working directory for
31464 build. Use $(OUTPUT_OPTION) in command.
31465 (ALL_BUILD_CFLAGS): Use $(common-objpfx) to find config.h.
31467 2012-04-24 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
31470 * sysdeps/powerpc/powerpc64/fpu/s_floorl.S: Delete file. Use the
31471 sysdeps/ieee754/ldbl-128ibm/s_floorl.c version instead.
31472 * math/libm-test.inc (floor_test): Add more tests.
31473 * sysdeps/powerpc/fpu/libm-test-ulps: Update for pow tests.
31475 2012-04-24 Joseph Myers <joseph@codesourcery.com>
31477 * sysdeps/unix/getdents.c: Remove file.
31478 * sysdeps/unix/sysv/getdents.c: Likewise.
31479 * sysdeps/unix/sysv/syscalls.list (s_getdents): Remove.
31481 * sysdeps/unix/syscalls.list (madvise): Add syscall from
31482 sysdeps/unix/mman/syscalls.list.
31484 (mprotect): Likewise.
31486 (munmap): Likewise.
31487 * sysdeps/unix/bsd/bsd4.4/Implies: Remove.
31488 * sysdeps/unix/mman/syscalls.list: Remove.
31489 * sysdeps/unix/sysv/linux/Implies: Don't include unix/mman.
31491 * configure.in (libc_cv_libgcc_s_suffix): Remove test.
31492 (libc_cv_as_needed): Don't use $libc_cv_libgcc_s_suffix.
31493 * configure: Regenerated.
31494 * Makeconfig [$(have-as-needed) = yes] (libgcc_eh): Don't use
31495 $(libgcc_s_suffix).
31496 * config.make.in (libgcc_s_suffix): Remove variable.
31498 2012-04-23 Joseph Myers <joseph@codesourcery.com>
31500 * sysdeps/unix/sysv/gethostname.c: Move to ...
31501 * sysdeps/posix/gethostname.c: ... here.
31503 * sysdeps/unix/execve.S: Remove file.
31505 * sysdeps/unix/_exit.S: Remove file.
31507 2012-04-23 Andreas Jaeger <aj@suse.de>
31510 * manual/Makefile: Remove make dist support, there's no
31511 need for a stand-alone documentation tar ball.
31512 (TEXI2DVI): Define always, it's not in Makeconfig.
31515 (edition): Removed.
31516 (glibc-doc-$(edition).tar): Removed
31520 (ETAGS): Remove, it's in Makeconfig.
31521 (move-if-change): Remove, it's in Makeconfig.
31523 2012-04-23 Paul Eggert <eggert@cs.ucla.edu>
31526 * stdlib/stdlib.h: Remove warn_unused_result attribute from strtol etc.
31527 (strtod, strtof, strtold, strtol, strtoul, strtoq)
31528 (strtouq, strtoll, strtoull, strtol_l, strtoul_l, strtoll_l, strtoull_l)
31529 (strtod_l, strtof_l, strtold_l): Remove __wur.
31530 It is not necessarily an error to ignore strtol's return value.
31531 One can reliably look at the stored endptr to decide whether
31532 the number had valid syntax.
31534 2012-04-21 Andreas Jaeger <aj@suse.de>
31537 * sysdeps/s390/s390-64/Makefile (distribute): Remove variable.
31539 2012-04-21 Joseph Myers <joseph@codesourcery.com>
31541 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.0): Add sysinfo.
31542 * sysdeps/unix/sysv/Versions: Remove file.
31544 2012-04-21 Markus Trippelsdorf <markus@trippelsdorf.de>
31547 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
31549 2012-04-21 Nick Alcock <nick.alcock@oracle.com>
31552 * sysdeps/unix/sysv/linux/i386/syscalls.list: Omit explicit
31553 version from __vm86.
31555 2012-04-20 Joseph Myers <joseph@codesourcery.com>
31557 * sysdeps/unix/common/lxstat.c: Remove file.
31558 * sysdeps/unix/common/syscalls.list (sys_lstat): Remove.
31560 * sysdeps/unix/sysv/Makefile: Remove file.
31562 * sysdeps/unix/sysv/direct.h: Remove file.
31564 * sysdeps/unix/sysv/bits/dirent.h: Remove file.
31565 * sysdeps/unix/sysv/bits/fcntl.h: Likewise.
31566 * sysdeps/unix/sysv/bits/local_lim.h: Likewise.
31567 * sysdeps/unix/sysv/bits/signum.h: Likewise.
31568 * sysdeps/unix/sysv/bits/stat.h: Likewise.
31569 * sysdeps/unix/sysv/bits/utmp.h: Likewise.
31570 * sysdeps/unix/sysv/bits/utsname.h: Likewise.
31572 * sysdeps/unix/sysv/setrlimit.c: Remove file.
31574 * sysdeps/unix/xmknod.c: Remove file.
31575 * sysdeps/unix/syscalls.list (sys_mknod): Remove.
31577 * sysdeps/unix/sysv/settimeofday.c: Remove file.
31579 * sysdeps/unix/sysv/i386/time.S: Remove file.
31581 * sysdeps/unix/fxstat.c: Remove file.
31582 * sysdeps/unix/xstat.c: Likewise.
31583 * sysdeps/unix/syscalls.list (sys_fstat, sys_stat): Remove.
31585 * sysdeps/unix/sysv/sigaction.c: Remove file.
31587 * sysdeps/unix/sysv/Makefile [termio.h not in sysdep_headers]
31588 (sysdep_headers): Remove variable.
31589 [termio.h not in sysdep_headers] (generated): Likewise.
31590 [termio.h not in sysdep_headers] ($(objpfx)termio.h): Remove rule.
31591 * sysdeps/unix/sysv/sysv_termio.h: Remove file.
31592 * sysdeps/unix/sysv/tcdrain.c: Likewise.
31593 * sysdeps/unix/sysv/tcflow.c: Likewise.
31594 * sysdeps/unix/sysv/tcflush.c: Likewise.
31595 * sysdeps/unix/sysv/tcgetattr.c: Likewise.
31596 * sysdeps/unix/sysv/tcgetpgrp.c: Likewise.
31597 * sysdeps/unix/sysv/tcsendbrk.c: Likewise.
31598 * sysdeps/unix/sysv/tcsetattr.c: Likewise.
31599 * sysdeps/unix/sysv/tcsetpgrp.c: Likewise.
31601 * sysdeps/unix/siglist.c: Remove file.
31603 * sysdeps/unix/getppid.S: Remove file.
31605 * sysdeps/unix/mkdir.c: Remove file.
31606 * sysdeps/unix/rmdir.c: Likewise.
31608 2012-04-19 Andreas Schwab <schwab@linux-m68k.org>
31610 * sysdeps/gnu/errlist-compat.awk (END): Correct computation of
31612 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.12): Adjust
31613 errlist-compat value.
31615 2012-04-18 David S. Miller <davem@davemloft.net>
31617 * sysdeps/generic/memcopy.h (reg_char): Delete.
31618 * debug/strcat_chk.c: Use char, not reg_char.
31619 * debug/strcpy_chk.c: Likewise.
31620 * debug/strncat_chk.c: Likewise.
31621 * debug/strncpy_chk.c: Likewise.
31622 * string/memchr.c: Likewise.
31623 * string/memrchr.c: Likewise.
31624 * string/rawmemchr.c: Likewise.
31625 * string/strcat.c: Likewise.
31626 * string/strchr.c: Likewise.
31627 * string/strchrnul.c: Likewise.
31628 * string/strcmp.c: Likewise.
31629 * string/strcpy.c: Likewise.
31630 * string/strncat.c: Likewise.
31631 * string/strncmp.c: Likewise.
31632 * string/strncpy.c: Likewise.
31634 2012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
31636 * sysdeps/powerpc/memmove.c: New file based on string/memmove.c where
31637 __builtin_memcopy is called when src and dest ranges are known to not
31640 2012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
31642 * sysdeps/powerpc/powerpc64/power6/wordcopy.c
31643 (_wordcopy_fwd_dest_aligned): Replace switch with a parameterized
31644 fwd_align_merge macro call.
31645 (_wordcopy_bwd_dest_aligned): Replace switch with a parameterized
31646 bwd_align_merge macro call.
31647 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
31649 2012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
31651 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Add fwd_align_merge and
31652 bwd_align_merge macros.
31653 (_wordcopy_fwd_dest_aligned): Use fwd_align_merge macro calls.
31654 (_wordcopy_bwd_dest_aligned): Use bwd_align_merge macro calls.
31655 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
31657 2012-04-18 David S. Miller <davem@davemloft.net>
31659 * sysdeps/sparc/sparc64/memcopy.h: Delete.
31661 2012-04-18 Andreas Jaeger <aj@suse.de>
31664 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Moved to ...
31665 * sysdeps/ieee754/ldbl-96/e_ilogbl.c: ... here.
31666 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
31668 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Moved to ...
31669 * sysdeps/ieee754/ldbl-128/e_ilogbl.c: ... here.
31670 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
31672 * sysdeps/ieee754/ldbl-64-128/s_ilogbl.c: Moved to ...
31673 * sysdeps/ieee754/ldbl-64-128/e_ilogbl.c: ... here.
31674 Adjust for changed ldbl-128 files.
31676 * sysdeps/sparc/sparc64/soft-fp/s_ilogbl.c: Moved to ...
31677 * sysdeps/sparc/sparc64/soft-fp/e_ilogbl.c: ... here.
31678 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
31680 2012-04-17 David S. Miller <davem@davemloft.net>
31682 * sysdeps/sparc/sparc32/memcopy.h: Delete.
31684 2012-04-17 Andreas Schwab <schwab@linux-m68k.org>
31686 * sysdeps/i386/fpu/e_ilogb.S: Remove __ilogb*_finite alias.
31687 * sysdeps/i386/fpu/e_ilogbf.S: Likewise.
31688 * sysdeps/i386/fpu/e_ilogbl.S: Likewise.
31689 * sysdeps/x86_64/fpu/e_ilogbl.S: Likewise.
31690 * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
31691 * sysdeps/ieee754/flt-32/e_ilogbf.c: Likewise.
31693 2012-04-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
31696 * math/Makefile: Add e_ilogb and w_ilogb, remove s_logb.
31697 * math/libm-test.inc: Add ilogb errno and exception tests.
31698 * math/w_ilogb.c: New file: ilogb wrapper.
31699 * math/w_ilogbf.c: New file: ilogbf wrapper.
31700 * math/w_ilogbl.c: New file: ilogbl wrapper.
31701 * sysdeps/generic/math_private.h: Add __ieee754_ilogb[l|f] prototypes.
31702 * sysdeps/i386/fpu/s_ilogb.S: Moved to ...
31703 * sysdeps/i386/fpu/e_ilogb.S: ... here. Also fixed a FE_DIVBYZERO
31704 exception being thrown with 0.0 as argument.
31705 * sysdeps/i386/fpu/s_ilogbf.S: Moved to ...
31706 * sysdeps/i386/fpu/e_ilogbf.S: ... here. Also fixed a FE_DIVBYZERO
31707 exception being thrown with 0.0 as argument.
31708 * sysdeps/i386/fpu/s_ilogbl.S: Moved to ...
31709 * sysdeps/i386/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
31710 exception being thrown with 0.0 as argument.
31711 * sysdeps/x86_64/fpu/s_ilogbl.S: Moved to ...
31712 * sysdeps/x86_64/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
31713 exception being thrown with 0.0 as argument.
31714 * sysdeps/ieee754/dbl-64/s_ilogb.c: Moved to ...
31715 * sysdeps/ieee754/dbl-64/e_ilogb.c: ... here.
31716 * sysdeps/ieee754/flt-32/s_ilogbf.c: Moved to ...
31717 * sysdeps/ieee754/flt-32/e_ilogbf.c: ... here.
31718 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Moved to ...
31719 * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c: ... here.
31720 * sysdeps/ieee754/ldbl-opt/s_ilogb.c: Moved to ...
31721 * sysdeps/ieee754/ldbl-opt/w_ilogb.c: ... here.
31722 * sysdeps/ieee754/ldbl-opt/w_ilogbl.c: New file: ilogbl wrapper.
31724 2012-04-17 Petr Baudis <pasky@ucw.cz>
31726 * include/sys/uio.h: Change __vector to __iovec to avoid clash
31729 2012-04-16 Marek Polacek <polacek@redhat.com>
31731 * elf/pldd-xx.c: Rename static_assert to pldd_assert.
31733 2012-04-16 Marek Polacek <polacek@redhat.com>
31735 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Reverse the
31736 operands of fdivp instruction.
31738 2012-04-13 H.J. Lu <hongjiu.lu@intel.com>
31740 * elf/tst-auditmod1.c: Check __ILP32__ instead of __LP64__.
31741 * elf/tst-auditmod3b.c: Likewise.
31742 * elf/tst-auditmod4b.c: Likewise.
31743 * elf/tst-auditmod5b.c: Likewise.
31744 * elf/tst-auditmod6b.c: Likewise.
31745 * elf/tst-auditmod6c.c: Likewise.
31746 * elf/tst-auditmod7b.c: Likewise.
31747 * sysdeps/x86_64/ffsll.c (ffsl): Likewise.
31748 * sysdeps/x86_64/preconfigure.in: Likewise.
31749 * sysdeps/x86_64/preconfigure: Regenerated.
31751 2012-04-13 H.J. Lu <hongjiu.lu@intel.com>
31753 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE): Also check
31756 2012-04-13 Antoine Balestrat <merkil33@gmail.com>
31758 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
31759 (__get_clockfreq_via_proc_openprom): Fix test on wrong variable.
31761 2012-04-13 Chris Leonard <cjlhomeaddress@gmail.com>
31764 * locale/iso-639.def: Fix gl language name. Spotted by
31767 2012-04-12 Roland McGrath <roland@hack.frob.com>
31770 * libio/libio.h (__io_write_fn): Update comment.
31772 2012-04-12 Petr Baudis <pasky@ucw.cz>
31775 * stdio.texi (Hook Functions): The user provided writer function
31776 is not allowed to return -1.
31778 2012-04-11 David S. Miller <davem@davemloft.net>
31780 * sysdeps/sparc/fpu/libm-test-ulps: Update.
31782 2012-04-11 Mike Frysinger <vapier@gentoo.org>
31784 * .gitignore: Add /ports, /linuxthreads, and /linuxthreads_db.
31785 Add a leading slash to rtkaio.
31787 2012-04-11 Jim Meyering <meyering@redhat.com>
31790 * libio/stdio.h (fwrite, fwrite_unlocked): Remove __wur.
31791 It is not necessarily an error to ignore fwrite's return
31792 value. One can reliably use ferror to test for errors after
31795 2012-04-10 H.J. Lu <hongjiu.lu@intel.com>
31797 * bits/types.h (__snseconds_t): New type.
31798 * time/time.h (struct timespec): Use __snseconds_t on tv_nsec.
31800 * bits/typesizes.h (__SNSECONDS_T_TYPE): New macro.
31801 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
31802 (__SNSECONDS_T_TYPE): Likewise.
31803 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
31804 (__SNSECONDS_T_TYPE): Likewise.
31805 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
31806 (__SNSECONDS_T_TYPE): Likewise.
31808 2012-04-10 Andreas Jaeger <aj@suse.de>
31811 * manual/time.texi (Processor Time): Return type of times is
31812 elapsed real time since an arbitrary point in the past.
31813 (CPU Time): Move CLK_TCK from here...
31814 (Processor Time): ...to here. Correct description.
31815 * manual/conf.texi (Constants for Sysconf): Correct description of
31818 2012-04-10 David S. Miller <davem@davemloft.net>
31821 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Handle the case
31822 where the is a gap between DT_REL(A) and DT_JMPREL.
31824 2012-04-10 H.J. Lu <hongjiu.lu@intel.com>
31826 * sysdeps/x86_64/bits/byteswap.h: Include <features.h>.
31827 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
31828 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
31830 2012-04-10 Siddhesh Poyarekar <siddhesh@redhat.com>
31832 * elf/dl-support.c (_dl_inhibit_cache): New variable.
31833 * elf/rtld.c (_rtld_global_ro): New member _dl_inhibit_cache.
31834 (dl_main): Handle --inhibit-cache.
31835 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): New member
31837 * elf/dl-load.c (_dl_map_object): Use it.
31838 * elf/Makefile: Define SYSCONFDIR when building rtld.c.
31840 2012-04-09 Joseph Myers <joseph@codesourcery.com>
31843 * sysdeps/i386/fpu/e_powl.S (p78): New object.
31844 (__ieee754_powl): Saturate large exponents rather than testing for
31845 overflow of y*log2(x).
31846 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
31847 * math/libm-test.inc (pow_test): Do not permit spurious overflow
31851 * math/s_ctan.c: Include <float.h>.
31852 (__ctan): Avoid internal overflow or cancellation in calculating
31854 * math/s_ctanf.c: Likewise.
31855 * math/s_ctanl.c: Likewise.
31856 * math/s_ctanh.c: Likewise.
31857 * math/s_ctanhf.c: Likewise.
31858 * math/s_ctanhl.c: Likewise.
31859 * math/libm-test.inc (ctan_test): Add more tests.
31860 (ctanh_test): Likewise.
31861 * sysdeps/i386/fpu/libm-test-ulps: Update.
31862 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
31864 2012-04-09 Andreas Jaeger <aj@suse.de>
31867 * manual/filesys.texi (Directory Entries): Mention that d_namlen
31868 is an optional BSD extension.
31871 * manual/stdio.texi (Opening Streams): Document additional fopen
31874 2012-04-09 Roland McGrath <roland@hack.frob.com>
31876 * sysdeps/i386/fpu/bits/mathinline.h (__sincos_code): Don't clobber
31877 %eax without telling the compiler.
31879 2012-04-09 Carlos O'Donell <carlos_odonell@mentor.com>
31882 * manual/install.texi: Use sourceware.org.
31884 2012-04-09 Joseph Myers <joseph@codesourcery.com>
31887 * sysdeps/ieee754/dbl-64/e_pow.c (huge, tiny): New variables.
31888 (__ieee754_pow): Generate overflow and underflow using huge*huge
31889 and tiny*tiny rather than just returning constant infinity or zero
31890 for large exponents.
31891 * math/libm-test.inc (pow_test): Require overflow exceptions for
31892 applicable cases of large exponents.
31895 * sysdeps/i386/fpu/e_pow.S (p10): New object.
31896 (__ieee754_pow): Use iterative multiplication algorithm only for
31897 integer exponents with absolute value below 1024. Check for odd
31898 integer exponents when using algorithm for real exponents.
31899 * math/libm-test.inc (pow_test): Add more tests.
31900 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
31902 2012-04-08 Joseph Myers <joseph@codesourcery.com>
31905 * math/libm-test.inc (exp_test): Do not allow overflow exception
31908 2012-04-08 Aurelien Jarno <aurelien@aurel32.net>
31911 * sysdeps/ieee754/dbl-64/w_exp.c (__exp): Use __kernel_standard
31912 instead of __kernel_standard_f.
31914 2012-04-08 Mike Frysinger <vapier@gentoo.org>
31916 * sysdeps/i386/i686/memset_chk.S: Update copyright year.
31917 * sysdeps/x86_64/memset_chk.S: Likewise.
31919 2012-04-08 Andreas Jaeger <aj@suse.de>
31922 * manual/startup.texi (Environment Access): Describe return value
31923 for putenv and setenv.
31926 * manual/filesys.texi (Directory Entries): Add description for
31930 * manual/filesys.texi (Directory Entries): Clarify that it's file
31931 system not operating system in the description of DT_UNKNOWN.
31934 * manual/syslog.texi (closelog): Fix reference, it's openlog.
31936 2012-04-08 Stephen Compall <s11@member.fsf.org>
31939 * manual/llio.texi (Opening and Closing Files): Add cross
31940 reference to explain mode argument.
31942 2012-04-07 Mike Frysinger <vapier@gentoo.org>
31944 * sysdeps/i386/i686/memset_chk.S: Change PIC to SHARED.
31945 * sysdeps/x86_64/memset_chk.S: Likewise.
31947 2012-04-07 David S. Miller <davem@davemloft.net>
31949 * elf/elf.h (R_SPARC_WDISP10): Define.
31950 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Handle
31952 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Handle
31953 R_SPARC_SIZE64 and R_SPARC_H34.
31955 2012-04-07 Carlos O'Donell <carlos_odonell@mentor.com>
31957 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Simplify
31958 conditions and remove no longer applicable assertion.
31960 2012-04-06 H.J. Lu <hongjiu.lu@intel.com>
31962 * bits/byteswap.h: Include <features.h>.
31963 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
31964 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
31966 2012-04-06 H.J. Lu <hongjiu.lu@intel.com>
31968 * bits/byteswap.h (__bswap_16): Removed.
31969 Include <bits/byteswap-16.h> to get __bswap_16.
31970 * sysdeps/i386/bits/byteswap.h: Likewise.
31971 * sysdeps/s390/bits/byteswap.h: Likewise.
31972 * sysdeps/x86_64/bits/byteswap.h: Likewise.
31973 * bits/byteswap-16.h: New file.
31974 * sysdeps/i386/bits/byteswap-16.h: Likewise.
31975 * sysdeps/s390/bits/byteswap-16.h: Likewise.
31976 * sysdeps/x86_64/bits/byteswap-16.h: Likewise.
31977 * string/Makefile (headers): Add bits/byteswap-16.h.
31979 2012-04-06 Paul Pluzhnikov <ppluzhnikov@google.com>
31982 * nss/nsswitch.c (nss_load_library, __nss_lookup_function): Avoid
31984 * nss/Makefile (tests-static, tests): Add tst-nss-static.
31985 * nss/tst-nss-static.c: New.
31987 2012-04-06 Robert Millan <rmh@gnu.org>
31990 * manual/llio.texi (File Position Primitive): lseek
31991 refers to WHENCE when it really means OFFSET.
31993 2012-04-06 Andreas Jaeger <aj@suse.de>
31995 * nss/nss_db/db-initgroups.c: Include <string.h> for strlen and
31996 strncmp declarations.
31998 * abilist/libc.abilist: Add __poll and __ppoll.
32000 2012-04-05 David S. Miller <davem@davemloft.net>
32002 * scripts/check-local-headers.sh: Accept a host triplet in the
32003 path matched by the exclude regexp.
32005 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Reduce down to one
32007 * sysdeps/powerpc/powerpc32/dl-machine.h
32008 (ELF_MACHINE_PLTREL_OVERLAP): Delete.
32009 * sysdeps/s390/s390-32/dl-machine.h
32010 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
32011 * sysdeps/sparc/sparc32/dl-machine.h
32012 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
32013 * sysdeps/sparc/sparc64/dl-machine.h
32014 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
32016 * elf/rtld.c (dl_main): If DL_DEBUG_UNUSED is enabled, turn off
32018 * elf/dl-lookup.c (_dl_lookup_symbol_x): If DL_DEBUG_UNUSED, ignore
32019 undefined symbol errors.
32021 * elf/rtld.c (dl_main): Skip VDSO when checking for unused
32024 2012-04-05 Michael Matz <matz@suse.de>
32027 * sysdeps/x86_64/memset.S: Fix size paramater comparisions.
32029 2012-04-05 Andreas Jaeger <aj@suse.de>
32032 * stdlib/stdlib.h: Don't warn about unused result of mktemp, fix
32035 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
32037 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Fix return value
32038 which ROUND is no valid rounding mode.
32040 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
32042 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Set fpscr register which
32044 * sysdeps/sh/sh4/fpu/ftestexcept.c: Likewise.
32046 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
32048 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Produce
32049 an exception using FPU order intentionally.
32051 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
32053 * sysdeps/sh/sh4/fpu/fedisblxcpt.c: New file.
32054 * sysdeps/sh/sh4/fpu/feenablxcpt.c: New file.
32055 * sysdeps/sh/sh4/fpu/fegetexcept.c: New file.
32056 * sysdeps/sh/sh4/fpu/feupdateenv.c: New file.
32058 2012-04-05 Simon Josefsson <simon@josefsson.org>
32061 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Return ERANGE instead of
32062 EINVAL when BUFLEN is too smal.
32064 2012-04-05 Thomas Schwinge <thomas@codesourcery.com>
32067 * sysdeps/mach/i386/machine-lock.h: Use volatile instead of __volatile.
32068 * sysdeps/mach/powerpc/machine-lock.h: Likewise.
32070 2012-04-03 Andreas Jaeger <aj@suse.de>
32073 * manual/setjmp.texi (System V contexts): Fix sentence.
32076 * sysdeps/i386/bits/byteswap.h [!__GNUC__](__bswap_constant_64):
32077 New macro for this case.
32078 [!__GNUC__] (__bswap_64): New inline function for this case.
32079 * sysdeps/x86_64/bits/byteswap.h: Likewise.
32080 * bits/byteswap.h: Likewise.
32081 * sysdeps/s390/bits/byteswap.h: [!__GNUC__] (__bswap_64): Use
32082 ull, guard with __GLIBC_HAVE_LONG_LONG.
32084 * string/endian.h (htobe64,htole64,be64toh,le64toh): Guard with
32085 __GLIBC_HAVE_LONG_LONG.
32087 * string/byteswap.h (bswap_64): Guard with __GLIBC_HAVE_LONG_LONG.
32088 Include <features.h> for __GLIBC_HAVE_LONG_LONG.
32090 2012-04-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
32093 * iconvdata/tcvn5712-1.c (FROM_LOOP): Test end of input using
32094 inptr and inend, rather than using last_ch.
32096 2012-04-02 David S. Miller <davem@davemloft.net>
32098 With help from Paul Eggert, Carlos O'Donell, and Roland McGrath.
32099 * stdio-common/printf-parse.h (read_int): Change return type to
32100 'int', return -1 on INT_MAX overflow.
32101 * stdio-common/vfprintf.c (vfprintf): Validate width and precision
32102 against overflow of INT_MAX. Set errno to EOVERFLOW when 'done'
32103 overflows INT_MAX. Check for overflow of in-format-string precision
32104 values properly. Use EOVERFLOW rather than ERANGE throughout. Use
32105 SIZE_MAX not INT_MAX for integer overflow test.
32106 * stdio-common/printf-parsemb.c: If read_int signals an overflow,
32107 skip the construct in the format string but do not record anything.
32108 * stdio-common/bug22.c: Adjust to test both width/prevision
32109 INT_MAX overflow as well as total length INT_MAX overflow. Check
32110 explicitly for proper errno values.
32112 2012-04-02 Thomas Schwinge <thomas@codesourcery.com>
32114 * string/test-memcmp.c [! WIDE]: #include <limits.h> for CHAR_MIN,
32116 * string/test-strcmp.c [! WIDE]: Likewise.
32117 * time/tst-mktime2.c: Likewise for INT_MAX.
32118 * string/test-string.h: #include <sys/param.h> for MIN.
32120 * csu/init-first.c (__libc_init_first): Call __ctype_init.
32121 * sysdeps/i386/init-first.c (init): Likewise.
32122 * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Likewise.
32123 * sysdeps/mach/hurd/powerpc/init-first.c (posixland_init): Likewise.
32124 * sysdeps/sh/init-first.c (init): Likewise.
32126 2012-04-01 Ulrich Drepper <drepper@gmail.com>
32128 * po/ru.po: Update from translation team.
32129 * po/vi.po: Likewise.
32131 2012-03-31 Siddhesh Poyarekar <siddhesh@redhat.com>
32133 * resolv/nss_dns/dns-host.c: Merge copyright years.
32135 2012-03-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
32137 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
32138 Optimize memcpy with prefetch if
32139 DATA_CACHE_SIZE_HALF <= len < SHARED_CACHE_SIZE_HALF and
32140 src, dst pointers have unequal 16 byte alignments.
32142 2012-03-30 Siddhesh Poyarekar <siddhesh@redhat.com>
32145 * resolv/nss_dns/dns-host.c (getanswer_r): Also consider ttl
32146 from a CNAME entry and return the minimum ttl for the query.
32147 (gaih_getanswer_slice): Likewise.
32149 2012-03-30 Jeff Law <law@redhat.com>
32151 * crypt/md5-crypt.c (__md5_crypt_r): Avoid unbounded alloca uses
32153 * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
32154 * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
32156 * resolv/nss_dns/dns-host.c: Update copyright year.
32158 2012-03-30 Ulrich Drepper <drepper@gmail.com>
32160 * resolv/res_send.c (send_dg): Use sendmmsg if we have to write two
32161 requests to save a system call. Fix check that all bytes are sent.
32163 * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr): Fix up
32164 comments for sendmmsg.
32166 2012-03-30 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
32169 * iconvdata/tcvn5712-1.c (FROM_LOOP): Fix a bug when converting strings
32170 with only 1 character between 0x0041 and 0x01b0.
32171 * wcsmbs/Makefile (tests): Add tst-mbsnrtowcs.
32172 * wcsmbs/tst-mbsnrtowcs.c: New file.
32174 2012-03-29 David S. Miller <davem@davemloft.net>
32176 * libio/fileops.c (_IO_new_file_xsputn): Don't try to optimize
32177 small copies by hand.
32179 2012-03-28 Siddhesh Poyarekar <siddhesh@redhat.com>
32182 * nis/nss_compat/compat-initgroups.c (getgrent_next_nss)
32183 (_nss_compat_initgroups_dyn): Fall back to malloc/free for large
32186 2012-03-28 David S. Miller <davem@davemloft.net>
32188 * sysdeps/sparc/sparc32/memcpy.S: Implement mempcpy using a stub
32189 that branches into memcpy.
32190 * sysdeps/sparc/sparc64/memcpy.S: Likewise.
32191 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
32192 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
32193 * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
32194 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add mempcpy multiarch
32196 * sysdeps/sparc/sparc64/rtld-memcpy.c: Include generic mempcpy
32197 implementation too.
32198 * sysdeps/sparc/mempcpy.S: New file.
32200 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Provide a hidden def to
32201 the IFUNC routine in the libc case.
32202 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
32204 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memset.c: New file.
32205 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memcpy.c: New file.
32206 * sysdeps/sparc/sparc32/sparcv9/rtld-memset.c: New file.
32207 * sysdeps/sparc/sparc32/sparcv9/rtld-memcpy.c: New file.
32208 * sysdeps/sparc/sparc64/multiarch/rtld-memset.c: New file.
32209 * sysdeps/sparc/sparc64/multiarch/rtld-memcpy.c: New file.
32210 * sysdeps/sparc/sparc64/rtld-memset.c: New file.
32211 * sysdeps/sparc/sparc64/rtld-memcpy.c: New file.
32213 * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Unroll main
32214 loop to 256 bytes instead of 64 bytes and fix test signedness.
32216 * sysdeps/sparc/Makefile: Add -fPIC to ASFLAGS-.os here....
32217 * sysdeps/sparc/sparc32/Makefile: rather than here...
32218 * sysdeps/sparc/sparc64/Makefile: and here.
32220 2012-03-28 Ulrich Drepper <drepper@gmail.com>
32222 * malloc/mallocbug.c: Avoid warnings about unused variables.
32224 2012-02-22 Siddhesh Poyarekar <siddhesh@redhat.com>
32227 * resolv/nss_dns/dns-host.c (gaih_getanswer): Look for errno
32228 in the right place. Discard and retry query if response is
32229 larger than input buffer size.
32231 2012-03-28 Joseph Myers <joseph@codesourcery.com>
32236 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Take absolute value of
32237 x for large integer exponent.
32238 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
32239 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise. Adjust
32240 sign of result as needed afterwards.
32241 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
32242 * sysdeps/ieee754/k_standard.c (__kernel_standard): Handle sign of
32243 result for underflowing pow the same as for overflow.
32244 (__kernel_standard_l): Handle powl overflow and underflow here
32245 rather than calling __kernel_standard.
32246 * math/libm-test.inc (pow_test): Add more tests.
32261 * sysdeps/generic/math_private.h (__kernel_standard_l): Declare.
32262 * sysdeps/ieee754/k_standard.c: Include <float.h>.
32263 (__kernel_standard_l): New function.
32264 * math/w_acoshl.c (__acoshl): Use __kernel_standard_l instead of
32266 * math/w_acosl.c (__acosl): Likewise.
32267 * math/w_asinl.c (__asinl): Likewise.
32268 * math/w_atan2l.c (__atan2l): Likewise.
32269 * math/w_atanhl.c (__atanhl): Likewise.
32270 * math/w_coshl.c (__coshl): Likewise.
32271 * math/w_exp10l.c (__exp10l): Likewise.
32272 * math/w_exp2l.c (__exp2l): Likewise.
32273 * math/w_fmodl.c (__fmodl): Likewise.
32274 * math/w_hypotl.c (__hypotl): Likewise.
32275 * math/w_j0l.c (__j0l, __y0l): Likewise.
32276 * math/w_j1l.c (__j1l, __y1l): Likewise.
32277 * math/w_jnl.c (__jnl, __ynl): Likewise.
32278 * math/w_lgammal.c (__lgammal): Likewise.
32279 * math/w_log10l.c (__log10l): Likewise.
32280 * math/w_log2l.c (__log2l): Likewise.
32281 * math/w_logl.c (__logl): Likewise.
32282 * math/w_powl.c (__powl): Likewise.
32283 * math/w_remainderl.c (__remainderl): Likewise.
32284 * math/w_scalbl.c (sysv_scalbl): Likewise.
32285 * math/w_sinhl.c (__sinhl): Likewise.
32286 * math/w_sqrtl.c (__sqrtl): Likewise.
32287 * math/w_tgammal.c (__tgammal): Likewise.
32288 * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Likewise.
32289 * sysdeps/ieee754/ldbl-96/w_expl.c (__expl): Likewise.
32290 * math/libm-test.inc (acos_test): Add more tests.
32291 (acosh_test): Likewise.
32292 (asin_test): Likewise.
32293 (atanh_test): Likewise.
32294 (exp_test): Likewise.
32295 (exp10_test): Likewise.
32296 (exp2_test): Likewise.
32297 (expm1_test): Likewise.
32298 (lgamma_test): Likewise.
32299 (log_test): Likewise.
32300 (log10_test): Likewise.
32301 (log1p_test): Likewise.
32302 (log2_test): Likewise.
32303 (pow_test): Do not allow some spurious overflow exceptions.
32304 (sqrt_test): Add more tests.
32305 (tgamma_test): Likewise.
32306 (y0_test): Likewise.
32307 (y1_test): Likewise.
32308 (yn_test): Likewise.
32310 2012-03-27 Anton Blanchard <anton@samba.org>
32312 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Define MAP_STACK and
32314 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
32315 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
32316 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
32318 2012-03-27 David S. Miller <davem@davemloft.net>
32320 * conform/Makefile: Run run-conformtest.sh using $(BASH).
32322 * sysdeps/sparc/sparc64/Makefile (ASFLAGS-.os): Move before
32323 have-as-vis3 check.
32325 2012-03-27 Andreas Jaeger <aj@suse.de>
32327 * sysdeps/x86_64/elf/configure.in: Moved to ...
32328 * sysdeps/x86_64/configure.in: ... here.
32329 * sysdeps/x86_64/elf/start.S: Moved to ...
32330 * sysdeps/x86_64/start.S: ... here.
32331 * sysdeps/x86_64/elf/configure: Delete.
32333 * sysdeps/x86_64/configure.in: Merge contents from
32334 sysdeps/i386/configure.in (without i686 check).
32336 * sysdeps/i386/elf/Versions: Merge into ...
32337 * sysdeps/i386/Versions: ... this.
32338 * sysdeps/i386/elf/Versions: Delete file.
32339 * sysdeps/i386/elf/start.S: Moved to ...
32340 * sysdeps/i386/start.S: ...here.
32341 * sysdeps/i386/elf/configure.in: Merge into...
32342 * sysdeps/i386/configure.in: ...here.
32343 * sysdeps/i386/elf/configure.in: Delete file.
32344 * sysdeps/i386/elf/configure: Delete file.
32346 * sysdeps/generic/elf/backtracesyms.c: Moved to ...
32347 * debug/backtracesyms.c: ... here.
32348 * sysdeps/generic/elf/backtracesymsfd.c: Moved to ...
32349 * debug/backtracesymsfd.c: ... here.
32350 * sysdeps/generic/elf/ifunc-sel.h: Moved to ...
32351 * sysdeps/generic/ifunc-sel.h: ... here.
32353 * sysdeps/unix/i386/start.c: Delete file.
32354 * sysdeps/unix/sparc/start.c: Delete file.
32355 * sysdeps/unix/start.c: Delete file.
32357 * sysdeps/sh/elf/configure.in: Moved to ...
32358 * sysdeps/sh/configure.in: ... here.
32359 * sysdeps/sh/elf/start.S: Moved to ...
32360 * sysdeps/sh/start.S: ... here.
32361 * sysdeps/sh/elf/configure: Delete file.
32363 * sysdeps/powerpc/powerpc64/elf/bzero.S: Moved to ...
32364 * sysdeps/powerpc/powerpc64/bzero.S: ... here.
32365 * sysdeps/powerpc/powerpc64/elf/entry.h: Moved to ...
32366 * sysdeps/powerpc/powerpc64/entry.h: ... here.
32367 * sysdeps/powerpc/powerpc64/elf/start.S: Moved to ...
32368 * sysdeps/powerpc/powerpc64/start.S: here.
32369 * sysdeps/powerpc/powerpc64/elf/Makefile: Merge into ...
32370 * sysdeps/powerpc/powerpc64/Makefile: ... this.
32371 * sysdeps/powerpc/powerpc64/elf/configure.in: Merge into ...
32372 * sysdeps/powerpc/powerpc64/configure.in: ... this.
32373 * sysdeps/powerpc/powerpc64/elf/configure: Delete file.
32375 * sysdeps/powerpc/powerpc32/elf/bzero.S: Moved to ...
32376 * sysdeps/powerpc/powerpc32/bzero.S: ... here.
32377 * sysdeps/powerpc/powerpc32/elf/start.S: Moved to ...
32378 * sysdeps/powerpc/powerpc32/start.S: ... here.
32379 * sysdeps/powerpc/powerpc32/elf/configure.in: Merge into ...
32380 * sysdeps/powerpc/powerpc32/configure.in: ... this.
32381 * sysdeps/powerpc/powerpc32/elf/configure: Delete file.
32383 * sysdeps/powerpc/elf/ifunc-sel.h: Moved to ...
32384 * sysdeps/powerpc/ifunc-sel.h: ... here.
32385 * sysdeps/powerpc/elf/rtld-global-offsets.sym: Moved to ...
32386 * sysdeps/powerpc/rtld-global-offsets.sym: ... here.
32388 * sysdeps/sparc/elf/configure.in: Moved to ...
32389 * sysdeps/sparc/configure.in: ... here.
32390 * sysdeps/sparc/elf/configure: Delete file.
32391 * sysdeps/sparc/sparc32/elf/start.S: Moved to ...
32392 * sysdeps/sparc/sparc32/start.S: ... here.
32393 * sysdeps/sparc/sparc64/elf/start.S: Moved to ...
32394 * sysdeps/sparc/sparc64/start.S: ... here.
32395 * sysdeps/sparc/sparc32/elf/Makefile: Merged into ...
32396 * sysdeps/sparc/sparc32/Makefile: ... this.
32397 * sysdeps/sparc/sparc64/elf/Makefile: Merged into ...
32398 * sysdeps/sparc/sparc64/Makefile: ... this.
32400 * sysdeps/s390/s390-32/elf/bsd-_setjmp.S: Moved to ...
32401 * sysdeps/s390/s390-32/bsd-_setjmp.S: ... here.
32402 * sysdeps/s390/s390-32/elf/bsd-setjmp.S: Moved to ...
32403 * sysdeps/s390/s390-32/bsd-setjmp.S: ... here.
32404 * sysdeps/s390/s390-32/elf/setjmp.S: Moved to ...
32405 * sysdeps/s390/s390-32/setjmp.S: ... here.
32406 * sysdeps/s390/s390-32/elf/configure.in: Moved to ...
32407 * sysdeps/s390/s390-32/configure.in: ... here.
32408 * sysdeps/s390/s390-32/elf/configure: Delete file.
32409 * sysdeps/s390/s390-32/elf/start.S: Moved to ...
32410 * sysdeps/s390/s390-32/start.S: ... here.
32412 * sysdeps/s390/s390-64/elf/bsd-_setjmp.S: Moved to ...
32413 * sysdeps/s390/s390-64/bsd-_setjmp.S: ... here.
32414 * sysdeps/s390/s390-64/elf/bsd-setjmp.S: Moved to ...
32415 * sysdeps/s390/s390-64/bsd-setjmp.S: ... here.
32416 * sysdeps/s390/s390-64/elf/setjmp.S: Moved to ...
32417 * sysdeps/s390/s390-64/setjmp.S: ... here.
32418 * sysdeps/s390/s390-64/elf/configure.in: Moved to ...
32419 * sysdeps/s390/s390-64/configure.in: ... here
32420 * sysdeps/s390/s390-64/elf/configure: Delete file.
32421 * sysdeps/s390/s390-64/elf/start.S: Moved to ...
32422 * sysdeps/s390/s390-64/start.S: ... here.
32423 * sysdeps/s390/s390-64/elf/configure: Delete.
32425 * configure.in: Remove support for elf directories in sysdeps.
32427 * configure: Regenerated.
32428 * sysdeps/i386/configure: Regenerated.
32429 * sysdeps/powerpc/powerpc32/configure: Regenerated.
32430 * sysdeps/powerpc/powerpc64/configure: Regenerated.
32431 * sysdeps/s390/s390-32/configure: Regenerated.
32432 * sysdeps/s390/s390-64/configure: Regenerated.
32433 * sysdeps/sh/configure: Regenerated.
32434 * sysdeps/sparc/configure: Regenerated.
32435 * sysdeps/x86_64/configure: Regenerated.
32437 2012-03-26 Andreas Schwab <schwab@linux-m68k.org>
32439 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
32441 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (lomark): Adjust to take
32442 denormal result into account.
32444 2012-03-25 Roland McGrath <roland@hack.frob.com>
32446 * posix/confstr.c (confstr): Lift RESTENVS definition to function scope.
32447 Reported by Allan McRae <allan@archlinux.org>.
32449 2012-03-23 Jeff Law <law@redhat.com>
32451 * nss/getnssent.c (__nss_getent): Fix typo.
32453 2012-03-23 David S. Miller <davem@davemloft.net>
32455 * sysdeps/sparc/fpu/libm-test-ulps: Update.
32457 2012-03-23 H.J. Lu <hongjiu.lu@intel.com>
32459 * sysdeps/x86_64/dl-tlsdesc.h (tlsdesc): Use anonymous union
32460 to pad to uint64_t for each field.
32461 (dl_tls_index): Replace unsigned long with uint64_t.
32463 2012-03-23 Daniel Jacobowitz <dmj@google.com>
32464 Paul Pluzhnikov <ppluzhnikov@google.com>
32467 * grp/Makefile (otherlibs): Don't set it.
32468 * inet/Makefile (otherlibs): Likewise.
32469 * login/Makefile (otherlibs): Likewise.
32470 * nscd/Makefile (otherlibs): Likewise.
32471 * posix/Makefile (otherlibs): Likewise.
32472 * pwd/Makefile (otherlibs): Likewise.
32473 * rt/Makefile (otherlibs): Likewise.
32474 * sunrpc/Makefile (otherlibs): Likewise.
32475 * nss/Makefile (otherlibs): Likewise.
32476 Add libnss_files to routines and static-only-routines.
32477 ($(objpfx)getent): Remove rule.
32478 * resolv/Makefile: Add libnss_dns and libresolv to routines and
32479 static-only-routines.
32481 2012-03-22 Joseph Myers <joseph@codesourcery.com>
32484 * math/s_cexp.c: Include <float.h>.
32485 (__cexp): Handle exp result overflowing not necessarily
32486 overflowing both real and imaginary parts of result.
32487 * math/s_cexpf.c: Likewise.
32488 * math/s_cexpl.c: Likewise.
32489 * math/libm-test.inc (cexp_test): Add more tests.
32490 * sysdeps/i386/fpu/libm-test-ulps: Update.
32491 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
32493 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
32495 * include/link.h (ELFW): New macro.
32496 * sysdeps/x86_64/dl-irel.h: Replace Elf64_XXX with ElfW(XXX).
32497 Replace ELF64_R_TYPE with ELFW(R_TYPE).
32499 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
32501 * sysdeps/x86_64/dl-tls.h (dl_tls_index): Replace unsigned long
32504 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
32506 * sysdeps/generic/ldsodefs.h (struct La_x32_regs): New forward
32508 (struct La_x32_retval): Likewise.
32510 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
32512 * sysdeps/x86_64/preconfigure.in: New file.
32513 * sysdeps/x86_64/preconfigure: New generated file.
32515 2012-03-22 Joseph Myers <joseph@codesourcery.com>
32518 * math/e_exp2l.c: Include <float.h>.
32519 (__ieee754_exp2l): Handle overflow and underflow cases
32520 separately. Only pass fractional part of argument to
32522 * math/libm-test.inc (exp2_test): Add more tests.
32524 * sysdeps/ieee754/ldbl-128/k_cosl.c (__kernel_cosl): Negate y if
32525 negating x to take absolute value.
32526 * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
32528 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
32529 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl):
32531 * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Negate y when
32532 computing low part if x was negated.
32533 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
32535 2012-03-21 H.J. Lu <hongjiu.lu@intel.com>
32537 * elf/tst-auditmod1.c: Support la_x32_gnu_pltenter and
32538 la_x32_gnu_pltexit.
32539 (pltexit): Cast int_retval to ptrdiff_t.
32540 * elf/tst-auditmod3b.c: Likewise.
32541 * elf/tst-auditmod4b.c: Likewise.
32542 * elf/tst-auditmod5b.c: Likewise.
32543 * elf/tst-auditmod6b.c: Likewise.
32544 * elf/tst-auditmod6c.c: Likewise.
32545 * elf/tst-auditmod7b.c: Likewise.
32547 * sysdeps/generic/ldsodefs.h (audit_ifaces): Add x32_gnu_pltenter
32548 and x32_gnu_pltexit.
32550 * sysdeps/x86_64/bits/link.h: Check __x86_64__ instead of
32551 __ELF_NATIVE_CLASS.
32552 (La_x32_regs): New macro.
32553 (La_x32_retval): Likewise.
32554 (la_x32_gnu_pltenter): New function prototype.
32555 (la_x32_gnu_pltexit): Likewise.
32557 2012-03-21 Andreas Schwab <schwab@linux-m68k.org>
32559 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (huge, tiny): Correct
32562 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
32564 * configure.in (libc_cv_cc_nofma): Check for option to disable
32565 generation of FMA instructions.
32566 * configure: Regenerate.
32567 * config.make.in (config-cflags-nofma): Set from libc_cv_cc_nofma.
32568 * sysdeps/ieee754/dbl-64/Makefile: New file.
32569 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
32570 Remove brandred-fma4.
32571 (CFLAGS-brandred-fma4.c): Remove.
32572 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Remove.
32573 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c (__branred): Don't
32575 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c (__branred): Don't
32578 2012-03-21 H.J. Lu <hongjiu.lu@intel.com>
32580 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
32581 LLONG_MAX != LONG_MAX.
32582 (_itoa_word): Use _ITOA_WORD_TYPE on value.
32583 (_fitoa_word): Likewise.
32584 * stdio-common/_itowa.c: Check _ITOA_NEEDED instead of
32585 LLONG_MAX != LONG_MAX.
32586 * stdio-common/_itowa.h: Include <_itoa.h>.
32587 (_itowa_word): Use _ITOA_WORD_TYPE on value.
32588 (_itowa): New macro. Defined only if _ITOA_NEEDED is false.
32589 * sysdeps/generic/_itoa.h (_ITOA_NEEDED): New macro. Defined
32590 only if not defined.
32591 (_ITOA_WORD_TYPE): Likewise.
32592 (_itoa_word): Use _ITOA_WORD_TYPE on value.
32593 Check !_ITOA_NEEDED instead of LONG_MAX == LLONG_MAX.
32595 2012-03-21 David S. Miller <davem@davemloft.net>
32597 * sysdeps/sparc/fpu/libm-test-ulps: Update.
32599 2012-03-21 H.J. Lu <hongjiu.lu@intel.com>
32601 * sysdeps/unix/sysv/linux/configure.in: Check x86_64* instead
32602 of x86_64 when setting libc_cv_slibdir, libdir and
32604 * sysdeps/unix/sysv/linux/configure: Regenerated.
32606 2012-03-21 Joseph Myers <joseph@codesourcery.com>
32608 * manual/lang.texi (Old Varargs): Remove section.
32609 (How Variadic): Update menu.
32610 (va_start): Do not mention varargs.h.
32612 2012-03-21 Thomas Schwinge <thomas@codesourcery.com>
32613 Joseph Myers <joseph@codesourcery.com>
32615 * configure.in (libc_cv_ssp): Use LIBC_TRY_CC_OPTION instead of a
32617 * configure: Regenerated.
32619 2012-03-21 Thomas Schwinge <thomas@codesourcery.com>
32621 * conform/conformtest.pl: Handle --tmpdir argument, defaulting to /tmp.
32622 * conform/run-conformtest.sh: Pass --tmpdir argument when invoking
32625 2012-03-21 Joseph Myers <joseph@codesourcery.com>
32628 * Makefile (files-for-dist): Remove NOTES.
32629 (NOTES): Remove rule.
32630 * README: Don't refer to NOTES.
32631 * manual/creature.texi: Don't include macros.texi.
32632 * manual/intro.texi (creature.texi): Remove comment referring to
32635 * aclocal.m4 (LIBC_TRY_CC_OPTION): New macro.
32636 * configure.in (libc_cv_cc_submachine): Use LIBC_TRY_CC_OPTION.
32637 * configure: Regenerated.
32638 * sysdeps/i386/configure.in (libc_cv_cc_sse4): Use
32639 LIBC_TRY_CC_OPTION.
32640 (libc_cv_as_i686): Likewise.
32641 (libc_cv_cc_avx): Likewise.
32642 (libc_cv_cc_sse2avx): Likewise.
32643 (libc_cv_cc_fma4): Likewise.
32644 (libc_cv_cc_novzeroupper): Likewise.
32645 * sysdeps/i386/configure: Regenerated.
32648 * sysdeps/i386/fpu/s_cexp.S: Remove.
32649 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
32650 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
32651 * math/libm-test.inc (cexp_test): Add more tests.
32652 * sysdeps/i386/fpu/libm-test-ulps: Update.
32653 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
32655 2012-03-21 Allan McRae <allan@archlinux.org>
32657 * timezone/Makefile: Do not install iso3166.tab and zone.tab
32659 2012-03-21 Joseph Myers <joseph@codesourcery.com>
32662 * math/w_exp2.c: Do not include <float.h>.
32663 (o_threshold, u_threshold): Remove.
32664 (__exp2): Calculate result before checking finiteness and calling
32666 * math/w_exp2f.c: Likewise.
32667 * math/w_exp2l.c: Likewise.
32668 * math/libm-test.inc (exp2_test): Require overflow exception for
32672 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Test for y outside the
32673 range of signed 64-bit integers before using fistpll. Remove
32674 checks for whether integers fit in mantissa bits.
32675 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Test for y outside
32676 the range of signed 32-bit integers before using fistpl. Remove
32677 checks for whether integers fit in mantissa bits.
32678 * sysdeps/i386/fpu/e_powl.S (p64): New object.
32679 (__ieee754_powl): Test for y outside the range of signed 64-bit
32680 integers before using fistpll. Reduce 64-bit values to 63-bit
32682 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Ensure
32683 divide-by-zero is raised for zero to large negative powers.
32684 * sysdeps/x86_64/fpu/e_powl.S (p64): New object.
32685 (__ieee754_powl): Test for y outside the range of signed 64-bit
32686 integers before using fistpll. Reduce 64-bit values to 63-bit
32688 * math/libm-test.inc (pow_test): Add more tests.
32690 2012-03-20 H.J. Lu <hongjiu.lu@intel.com>
32692 * debug/backtracesymsfd.c: Include <_itoa.h> instead of
32693 <stdio-common/_itoa.h>.
32694 * debug/segfault.c: Likewise.
32695 * elf/dl-cache.c: Likewise.
32696 * elf/dl-minimal.c: Likewise.
32697 * elf/dl-misc.c: Likewise.
32698 * elf/dl-sysdep.c: Likewise.
32699 * elf/dl-version.c: Likewise.
32700 * elf/rtld.c: Likewise.
32701 * hurd/hurdsock.c: Likewise.
32702 * hurd/lookup-retry.c: Likewise.
32703 * malloc/malloc.c: Likewise.
32704 * malloc/mtrace.c: Likewise.
32705 * nscd/nscd_getgr_r.c: Likewise.
32706 * nscd/nscd_getpw_r.c: Likewise.
32707 * nscd/nscd_getserv_r.c: Likewise.
32708 * posix/getopt_init.c: Likewise.
32709 * posix/wordexp.c: Likewise.
32710 * stdio-common/_itoa.c: Likewise.
32711 * stdio-common/printf_fphex.c: Likewise.
32712 * stdio-common/vfprintf.c: Likewise.
32713 * string/_strerror.c: Likewise.
32714 * sysdeps/generic/elf/backtracesymsfd.c: Likewise.
32715 * sysdeps/i386/i686/hp-timing.h: Likewise.
32716 * sysdeps/mach/_strerror.c: Likewise.
32717 * sysdeps/mach/hurd/powerpc/register-dump.h: Likewise.
32718 * sysdeps/mach/hurd/sethostid.c: Likewise.
32719 * sysdeps/mach/hurd/xmknodat.c: Likewise.
32720 * sysdeps/mach/xpg-strerror.c: Likewise.
32721 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
32722 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
32723 * sysdeps/powerpc/powerpc32/register-dump.h: Likewise.
32724 * sysdeps/powerpc/powerpc64/dl-machine.c: Likewise.
32725 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
32726 * sysdeps/powerpc/powerpc64/register-dump.h: Likewise.
32727 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
32728 * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
32729 * sysdeps/unix/sysv/linux/fd_to_filename.h: Likewise.
32730 * sysdeps/unix/sysv/linux/futimes.c: Likewise.
32731 * sysdeps/unix/sysv/linux/i386/register-dump.h: Likewise.
32732 * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
32733 * sysdeps/unix/sysv/linux/s390/s390-32/register-dump.h: Likewise.
32734 * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
32735 * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
32736 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Likewise.
32737 * sysdeps/unix/sysv/linux/sparc/sparc32/register-dump.h: Likewise.
32738 * sysdeps/unix/sysv/linux/sparc/sparc64/register-dump.h: Likewise.
32739 * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
32740 * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
32741 * sysdeps/unix/sysv/linux/x86_64/register-dump.h: Likewise.
32743 * stdio-common/_itoa.c: Include <_itoa.h> instead of "_itoa.h".
32745 * stdio-common/_itoa.h: Moved to ...
32746 * sysdeps/generic/_itoa.h: Here.
32748 * stdio-common/_itowa.c: Include <_itowa.h> instead of "_itowa.h".
32750 * stdio-common/printf_fphex.c: Include <_itoa.h> and <_itowa.h>
32751 instead of "_itoa.h" and "_itowa.h".
32752 * stdio-common/vfprintf.: Likewise.
32754 2012-03-20 H.J. Lu <hongjiu.lu@intel.com>
32756 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't include
32758 (__signbitf): Check __x86_64__ instead of __WORDSIZE.
32759 (__signbit): Likwise.
32760 (llrintf): Likwise.
32763 2012-03-20 H.J. Lu <hongjiu.lu@intel.com>
32765 * sysdeps/x86_64/bits/setjmp.h (__jmp_buf): Support x86-64 with
32768 2012-03-20 Joseph Myers <joseph@codesourcery.com>
32770 * math/gen-libm-test.pl (%beautify): Add OVERFLOW_EXCEPTION and
32771 OVERFLOW_EXCEPTION_OK.
32772 * math/libm-test.inc ("Philosophy"): Update comment about
32774 (OVERFLOW_EXCEPTION): Define.
32775 (OVERFLOW_EXCEPTION_OK): Likewise.
32776 (INVALID_EXCEPTION_OK): Renumber.
32777 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
32778 (IGNORE_ZERO_INF_SIGN): Likewise.
32779 (test_exceptions): Handle FE_OVERFLOW.
32780 (exp10_test): Expect overflow exceptions.
32781 (exp2_test): Likewise.
32782 (expm1_test): Likewise.
32783 (nextafter_test): Likewise.
32784 (pow_test): Likewise.
32785 (scalbn_test): Likewise.
32786 (scalbln_test): Likewise.
32788 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
32790 * sysdeps/x86_64/bits/atomic.h
32791 (__arch_c_compare_and_exchange_val_64_acq): Use atomic64_t on
32793 (atomic_exchange_acq): Likewise.
32794 (__arch_exchange_and_add_body): Likewise.
32795 (__arch_add_body): Likewise.
32796 (atomic_add_negative): Likewise.
32797 (atomic_add_zero): Likewise.
32799 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
32801 * sysdeps/x86_64/fpu/bits/fenv.h: Don't include <bits/wordsize.h>.
32802 (fenv_t): Check __x86_64__ instead of __WORDSIZE.
32804 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
32806 * sysdeps/x86_64/bits/mathdef.h: Don't include <bits/wordsize.h>.
32807 Check __x86_64__ instead of __WORDSIZE.
32809 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
32811 * sysdeps/unix/sysv/linux/x86_64/ldd-rewrite.sed: Support x32.
32813 2012-03-19 David S. Miller <davem@davemloft.net>
32815 * sysdeps/sparc/fpu/libm-test-ulps: Update.
32817 * sysdeps/sparc/fpu/fenv_private.h: New file.
32818 * sysdeps/sparc/fpu/math_private.h: Use it.
32819 (libc_feholdexcept, libc_feholdexceptf, libc_feholdexceptl):
32821 (libc_feholdexcept_setround, libc_feholdexcept_setroundf)
32822 (libc_feholdexcept_setroundl): Remove.
32823 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl):
32825 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Remove.
32826 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvf): Remove.
32828 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
32830 * sysdeps/x86_64/fpu/math_private.h (EXTRACT_WORDS64): Use
32831 int64_t instead of long int.
32832 (INSERT_WORDS64): Likwise.
32834 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
32836 * sysdeps/x86_64/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast
32837 _Unwind_GetCFA return to _Unwind_Ptr first.
32839 2012-03-19 Joseph Myers <joseph@codesourcery.com>
32842 * math/s_clog.c: Include <float.h>.
32843 (__clog): Scale large or subnormal inputs.
32844 * math/s_clogf.c: Likewise.
32845 * math/s_clogl.c: Likewise.
32846 * math/s_clog10.c: Include <float.h>.
32847 (M_LOG10_2): Define.
32848 (__clog10): Scale large or subnormal inputs.
32849 * math/s_clog10f.c: Likewise.
32850 * math/s_clog10l.c: Likewise.
32851 * math/libm-test.inc (clog_test): Add more tests.
32852 (clog10_test): Likewise.
32853 * sysdeps/i386/fpu/libm-test-ulps: Update.
32854 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
32857 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Scale large
32859 * math/libm-test.inc (atan2_test): Add another test.
32861 * Makerules (common-objdir-compile): Remove.
32862 * sysdeps/unix/Makefile (config-generated): Do not add
32863 $(unix-generated) to variable.
32864 [generic bits/local_lim.h] (mk-local_lim-CFLAGS): Remove variable.
32865 [generic bits/local_lim.h] ($(common-objpfx)bits/local_lim.h):
32867 [generic bits/local_lim.h] ($(common-objpfx)mk-local_lim):
32869 [generic bits/local_lim.h] (before-compile): Do not append to
32871 [generic bits/local_lim.h] (common-generated): Likewise.
32872 [generic sys/param.h] (before-compile): Do not append to variable.
32873 [generic sys/param.h] ($(common-objpfx)sys/param.h): Remove rule.
32874 [generic sys/param.h] ($(common-objpfx)param.h.c): Likewise.
32875 [generic sys/param.h] ($(common-objpfx)param.h.dep): Likewise.
32876 [generic sys/param.h] ($(common-objpfx)param.h.dep): Do not
32878 [generic sys/param.h] (sys/param.h-includes): Remove variable.
32879 [generic sys/param.h] (sys/param.h-includes): Remove rule.
32880 [generic sys/param.h] ($(addprefix
32881 $(common-objpfx),$(sys/param.h-includes))): Likewise.
32882 [generic sys/param.h] (common-generated): Do not append to
32884 [generic sys/param.h] (sysdep_headers): Likewise.
32885 [generic bits/errno.h] (before-compile): Do not append to
32887 [generic bits/errno.h] ($(common-objpfx)bits/errno.h): Remove
32889 [generic bits/errno.h] ($(common-objpfx)make-errnos): Likewise.
32890 [generic bits/errno.h] ($(common-objpfx)make-errnos.c): Likewise.
32891 [generic bits/errno.h] ($(common-objpfx)errnos): Likewise.
32892 [generic bits/errno.h] (common-generated): Do not append to
32894 [generic bits/ioctls.h] (before-compile): Do not append to
32896 [generic bits/ioctls.h] ($(common-objpfx)bits/ioctls.h): Remove
32898 [generic bits/ioctls.h] (ioctl-includes): Remove variable.
32899 [generic bits/ioctls.h] (make-ioctls-CFLAGS): Likewise.
32900 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls): Remove
32902 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls.c): Likewise.
32903 [generic bits/ioctls.h] (bits_termios.h): Remove variable.
32904 [generic bits/ioctls.h] ($(common-objpfx)ioctls): Remove rule.
32905 [generic bits/ioctls.h] (common-generated): Do not append to
32907 [generic sys/syscall.h] (syscall.h): Remove variable.
32908 [generic sys/syscall.h] ($(common-objpfx)sys/syscall.h): Remove
32910 [generic sys/syscall.h] (before-compile): Do not append to
32912 [generic sys/syscall.h] (common-generated): Likewise.
32913 * sysdeps/unix/errnos-tmpl.c: Remove file.
32914 * sysdeps/unix/errnos.awk: Likewise.
32915 * sysdeps/unix/ioctls-tmpl.c: Likewise.
32916 * sysdeps/unix/ioctls.awk: Likewise.
32917 * sysdeps/unix/mk-local_lim.c: Likewise.
32918 * sysdeps/unix/snarf-ioctls: Likewise.
32920 2012-03-19 Richard Henderson <rth@twiddle.net>
32922 * sysdeps/i386/fpu/fenv_private.h: New file.
32923 * sysdeps/i386/fpu/math_private.h: Use it.
32924 (math_opt_barrier, math_force_eval): Remove.
32925 (libc_feholdexcept_setround_53bit): Remove.
32926 (libc_feupdateenv_53bit): Remove.
32927 * sysdeps/x86_64/fpu/math_private.h: Likewise.
32928 (math_opt_barrier, math_force_eval): Remove.
32929 (libc_feholdexcept): Remove.
32930 (libc_feholdexcept_setround): Remove.
32931 (libc_fetestexcept, libc_fesetenv): Remove.
32932 (libc_feupdateenv_test): Remove.
32933 (libc_feupdateenv, libc_feholdsetround): Remove.
32934 (libc_feresetround): Remove.
32936 * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Avoid the fldenv.
32937 * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
32939 * sysdeps/generic/math_private.h (default_libc_feupdateenv_test): New.
32940 (libc_feupdateenv_test, libc_feupdateenv_testf): New.
32941 (libc_feupdateenv_testl): New.
32942 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv_test): New.
32943 (libc_feupdateenv_testf): New.
32944 (libc_feupdateenv): Use libc_feupdateenv_test.
32945 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use libc_feupdateenv_test.
32946 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Likewise.
32948 * sysdeps/generic/math_private.h (libc_feholdsetround): New.
32949 (libc_feholdsetroundf, libc_feholdsetroundl): New.
32950 (libc_feresetround, libc_feresetroundf, libc_feresetroundl): New.
32951 (libc_feresetround_noex): New.
32952 (libc_feresetround_noexf): New.
32953 (libc_feresetround_noexl): New.
32954 (SET_RESTORE_ROUND, SET_RESTORE_ROUNDF, SET_RESTORE_ROUNDL): New.
32955 (SET_RESTORE_ROUND_NOEX, SET_RESTORE_ROUND_NOEXF): New.
32956 (SET_RESTORE_ROUND_NOEXL, SET_RESTORE_ROUND_53BIT): New.
32957 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use
32959 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
32960 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use SET_RESTORE_ROUND_53BIT.
32962 * sysdeps/ieee754/dbl-64/s_tan.c (__tan): Likewise.
32963 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Use
32964 SET_RESTORE_ROUND_NOEX.
32965 * sysdeps/ieee754/dbl-64/e_exp2f.c (__ieee754_exp2f): Use
32966 SET_RESTORE_ROUND_NOEXF.
32967 * sysdeps/ieee754/flt-32/e_expf.c (__ieee754_expf): Likewise.
32968 * sysdeps/x86_64/fpu/math_private.h (libc_feholdsetround): New.
32969 (libc_feholdsetroundf): New.
32970 (libc_feresetround, libc_feresetroundf): New.
32972 * sysdeps/i386/fpu/math_private.h: Include <fenv.h>, <fpu_control.h>.
32973 (libc_feholdexcept_setround_53bit): Convert from macro to function.
32974 (libc_feupdateenv_53bit): Likewise. Don't force _FPU_EXTENDED.
32976 * sysdeps/generic/math_private.h: Include <fenv.h>.
32977 (default_libc_feholdexcept): New.
32978 (default_libc_feholdexcept_setround): New.
32979 (default_libc_fesetenv, default_libc_feupdateenv): New.
32980 (libc_feholdexcept): Only define if undefined.
32981 (libc_feholdexceptf, libc_feholdexceptl): Likewise.
32982 (libc_feholdexcept_setround, libc_feholdexcept_setroundf): Likewise.
32983 (libc_feholdexcept_setroundl): Likewise.
32984 (libc_feholdexcept_setround_53bit): Likewise.
32985 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl): Likewise.
32986 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Likewise.
32987 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvl): Likewise.
32988 (libc_feupdateenv_53bit): Likewise.
32989 * sysdeps/x86_64/fpu/math_private.h: Include <fenv.h>.
32990 (libc_feholdexcept): Convert from macro to inline function.
32991 (libc_feholdexcept_setround, libc_fetestexcept): Likewise.
32992 (libc_fesetenv, libc_feupdateenv): Likewise.
32994 * sysdeps/generic/math_private.h (GET_HIGH_WORD): Define only if
32995 not previously defined.
32996 (GET_LOW_WORD, EXTRACT_WORDS64, INSERT_WORDS): Likewise.
32997 (INSERT_WORDS64, SET_HIGH_WORD, SET_LOW_WORD): Likewise.
32998 (GET_FLOAT_WORD, SET_FLOAT_WORD): Likewise.
32999 * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: New file.
33000 * sysdeps/ieee754/flt-32/math_private.h: New file.
33001 * sysdeps/x86_64/fpu/math_private.h: Move the include_next of
33002 math_private.h below SET_FLOAT_WORD.
33003 (__isnan, __isinf_ns, __finite): Remove.
33004 (__isnanf, __isinf_nsf, __finitef): Remove.
33006 2012-03-18 Andreas Schwab <schwab@linux-m68k.org>
33008 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
33010 2012-03-17 David S. Miller <davem@davemloft.net>
33013 * sysdeps/unix/sysv/linux/sparc/Versions: Add __getshmlba entry
33016 2012-03-16 David S. Miller <davem@davemloft.net>
33018 * sysdeps/unix/sysv/linux/shmat.c (shmat): Use -1l to avoid
33022 * sysdeps/unix/sysv/linux/shmat.c (shmat): Test for syscall errors
33024 * sysdeps/unix/sysv/linux/sparc/getshmlba.c: New file.
33025 * sysdeps/unix/sysv/linux/sparc/Makefile: Add getshmlba to
33026 sysdep_routines when subdir is sysvipc.
33027 * sysdeps/unix/sysv/linux/sparc/bits/shm.h (SHMLBA): Use new
33028 __getshmlba helper.
33030 * sysdeps/sparc/fpu/libm-test/ulps: Update.
33032 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
33034 * sysdeps/x86_64/ffsll.c (ffsl): Define alias only under
33037 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
33039 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Moved to ...
33040 * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c: This.
33041 (__lround): Renamed to ...
33042 (__llround): This. Replace long int with long long int.
33043 Define lround functions as aliases of llround functions.
33044 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Empty file.
33046 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
33048 * sysdeps/unix/sysv/linux/x86_64/makecontext.c (__makecontext):
33049 Use greg_t on sp. Use unsigned int on idx_uc_link. Cast
33050 adresses to uintptr_t. Replace "long int" and "unsigned long
33051 int" with "greg_t" on va_arg.
33053 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
33055 * sysdeps/generic/ldconfig.h (FLAG_X8664_LIBX32): New macro.
33056 * elf/cache.c (print_entry): Handle FLAG_X8664_LIBX32.
33058 * sysdeps/unix/sysv/linux/i386/readelflib.c (process_elf_file):
33059 Move e_machine check before EI_CLASS check. Handle x32
33060 libraries. Check EM_IA_64 only if SKIP_EM_IA_64 isn't defined.
33061 * sysdeps/unix/sysv/linux/x86_64/readelflib.c: Just define
33062 SKIP_EM_IA_64 and include
33063 <sysdeps/unix/sysv/linux/i386/readelflib.c>.
33065 * sysdeps/unix/sysv/linux/x86_64/dl-cache.h:
33066 Don't include <sysdeps/unix/sysv/linux/sparc/dl-cache.h>.
33067 (add_system_dir): New macro.
33069 * sysdeps/unix/sysv/linux/x86_64/ldconfig.h
33070 (SYSDEP_KNOWN_INTERPRETER_NAMES): Add /libx32/ld-linux-x32.so.2.
33072 2012-03-16 Joseph Myers <joseph@codesourcery.com>
33083 * math/w_j0.c (j0): Don't produce TLOSS errors for POSIX libm.
33085 * math/w_j0f.c (j0f): Likewise.
33087 * math/w_j0l.c (__j0l): Likewise.
33089 * math/w_j1.c (j1): Likewise.
33091 * math/w_j1f.c (j1f): Likewise.
33093 * math/w_j1l.c (__j1l): Likewise.
33095 * math/w_jn.c (jn): Likewise.
33097 * math/w_jnf.c (jnf): Likewise.
33099 * math/w_jnl.c (__jnl): Likewise.
33101 * math/libm-test.inc (j0_test): Add more tests.
33102 (j1_test): Likewise.
33103 (jn_test): Likewise. Add trailing semicolon to existing test.
33104 (y0_test): Likewise.
33105 (y1_test): Likewise.
33106 * sysdeps/i386/fpu/libm-test-ulps: Update.
33107 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
33111 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Use
33112 libc_feholdexcept_setround_53bit and libc_feupdateenv_53bit.
33113 * sysdeps/ieee754/ldbl-96/k_tanl.c: New file.
33114 * sysdeps/ieee754/ldbl-96/s_tanl.c: Include <errno.h>.
33115 (__tanl): Set errno for infinite argument.
33116 * sysdeps/i386/fpu/mptan.c: Remove.
33117 * sysdeps/i386/fpu/s_tan.S: Likewise.
33118 * sysdeps/i386/fpu/s_tanl.S: Likewise.
33119 * sysdeps/x86_64/fpu/k_tanl.c: Likewise.
33120 * sysdeps/x86_64/fpu/s_tanl.S: Likewise.
33121 * math/libm-test.inc (tan_test): Add more tests and enable more
33122 tests for double and long double.
33123 * sysdeps/i386/fpu/libm-test-ulps: Update.
33124 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
33126 2012-03-16 Jan Kratochvil <jan.kratochvil@redhat.com>
33128 * sysdeps/x86_64/elf/start.S: Include <sysdep.h>.
33129 (_start): Add cfi_startproc, cfi_undefined for rip and cfi_endproc.
33131 2012-03-16 Roland McGrath <roland@hack.frob.com>
33133 * aclocal.m4 (LIBC_PRECONFIGURE): New macro.
33134 * configure.in: Use it for both main tree and add-ons.
33135 * configure: Regenerated.
33137 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
33139 * time/offtime.c (__offtime): Use time_t on days, rem, y and yg.
33141 2012-03-16 Joseph Myers <joseph@codesourcery.com>
33143 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Include generator program
33147 * sysdeps/ieee754/ldbl-96/e_rem_pio2l.c: New file.
33148 * sysdeps/ieee754/ldbl-96/k_cosl.c: Likewise.
33149 * sysdeps/ieee754/ldbl-96/k_sinl.c: Likewise.
33150 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Likewise.
33151 * sysdeps/ieee754/ldbl-96/s_cosl.c (__cosl): Correct test for
33153 * sysdeps/ieee754/ldbl-96/s_sinl.c (__sinl): Likewise.
33154 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Handle __FLT_EVAL_METHOD__
33155 != 0 for prec == 2.
33156 * sysdeps/i386/fpu/e_rem_pio2l.c: Remove.
33157 * sysdeps/i386/fpu/k_rem_pio2.c: Likewise.
33158 * sysdeps/i386/fpu/s_cosl.S: Likewise.
33159 * sysdeps/i386/fpu/s_sincosl.S: Likewise.
33160 * sysdeps/i386/fpu/s_sinl.S: Likewise.
33161 * sysdeps/x86_64/fpu/e_rem_pio2l.c: Likewise.
33162 * sysdeps/x86_64/fpu/k_cosl.c: Likewise.
33163 * sysdeps/x86_64/fpu/k_sinl.c: Likewise.
33164 * sysdeps/x86_64/fpu/s_cosl.S: Likewise.
33165 * sysdeps/x86_64/fpu/s_sincosl.S: Likewise.
33166 * sysdeps/x86_64/fpu/s_sinl.S: Likewise.
33167 * math/libm-test.inc (cos_test): Add more tests and enable more
33168 tests for long double.
33169 (sin_test): Likewise.
33170 (sincos_test): Likewise.
33171 * sysdeps/i386/fpu/libm-test-ulps: Update.
33172 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
33174 2012-03-16 David S. Miller <davem@davemloft.net>
33176 * sysdeps/sparc/fpu/math_private.h: New file.
33178 2012-03-15 David S. Miller <davem@davemloft.net>
33180 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma-vis3.S: New
33182 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c: New file.
33183 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf-vis3.S: New
33185 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf.c: New file.
33186 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma-vis3.S: New file.
33187 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma.c: New file.
33188 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf-vis3.S: New file.
33189 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf.c: New file.
33190 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add fma/fmaf
33192 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
33194 * sysdeps/sparc/sparc32/fpu/s_fma.c: New file.
33195 * sysdeps/sparc/sparc64/fpu/s_fma.c: New file.
33197 * sysdeps/sparc/sparc-ifunc.h: New file.
33198 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Use
33200 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
33201 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S:
33203 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S:
33205 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Likewise.
33206 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: Likewise.
33207 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
33208 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
33210 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
33211 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: Likewise.
33212 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
33213 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: Likewise.
33214 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S:
33216 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S:
33218 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
33219 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: Likewise.
33220 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: Likewise.
33221 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: Likewise.
33222 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
33223 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
33224 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: Likewise.
33225 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: Likewise.
33226 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
33227 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
33228 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: Likewise.
33229 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: Likewise.
33230 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: Likewise.
33231 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: Likewise.
33232 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: Likewise.
33233 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: Likewise.
33234 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: Likewise.
33235 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: Likewise.
33236 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: Likewise.
33237 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: Likewise.
33238 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: Likewise.
33239 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: Likewise.
33240 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: Likewise.
33241 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: Likewise.
33243 2012-03-15 Andreas Schwab <schwab@linux-m68k.org>
33245 * sysdeps/powerpc/fpu/e_hypotf.c: Use double precision instead of
33247 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
33249 2012-03-15 Andreas Jaeger <aj@suse.de>
33252 * sysdeps/i386/fpu/e_rem_pio2f.c: Delete so that i386 uses the
33253 ieee754/flt-32 implementation for sin, cos and sincos.
33254 * sysdeps/i386/fpu/k_rem_pio2f.c: Likewise.
33255 * sysdeps/i386/fpu/s_cosf.S: Likewise.
33256 * sysdeps/i386/fpu/s_sincosf.S: Likewise.
33257 * sysdeps/i386/fpu/s_sinf.S: Likewise.
33258 * sysdeps/i386/fpu/s_tanf.S: Delete so that i386 uses the
33259 ieee754/flt-32 implementation for tan.
33261 * math/libm-test.inc (cos_test): Enable some large input tests for
33263 (sin_test): Likewise.
33264 (sincos_test): Likewise.
33265 (tan_test): Add tests for large input.
33267 * sysdeps/i386/fpu/libm-test-ulps: Update.
33269 2012-03-15 Andreas Jaeger <aj@suse.de>
33272 * math/libm-test.inc (cos_test): Add more test cases.
33273 (sin_test): Likewise.
33274 (sincos_test): Likewise.
33276 2012-03-15 Andreas Jaeger <aj@suse.de>
33279 * math/libm-test.inc (cos_test): Add a test case for large input
33281 (sin_test): Likewise.
33282 (sincos_test): Likewise.
33284 2012-03-15 Andreas Jaeger <aj@suse.de>
33285 Joseph Myers <joseph@codesourcery.com>
33288 * sysdeps/x86_64/fpu/s_sincos.S: Delete files so that
33289 x86-64 and i386 use the iee754/dbl-64 sin and cos implementation.
33290 * sysdeps/i386/fpu/branred.c: Likewise.
33291 * sysdeps/i386/fpu/dosincos.c: Likewise.
33292 * sysdeps/i386/fpu/mpa.c: Likewise.
33293 * sysdeps/i386/fpu/s_cos.S: Likewise.
33294 * sysdeps/i386/fpu/s_sin.S: Likewise.
33295 * sysdeps/i386/fpu/s_sincos.S: Likewise.
33296 * sysdeps/i386/fpu/sincos32.c: Likewise.
33298 * sysdeps/generic/math_private.h (libc_feholdexcept_setround_53bit):
33300 (libc_feupdateenv_53bit): Define.
33301 * sysdeps/i386/fpu/math_private.h (libc_feholdexcept_setround_53bit):
33303 (libc_feupdateenv_53bit): Define.
33305 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Do double arithmetic in
33306 53 bit (without extend i386 double precision).
33308 * math/libm-test.inc (sincos_test): Add tests for large input.
33312 * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
33314 2012-03-15 Andreas Schwab <schwab@linux-m68k.org>
33316 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
33318 2012-03-15 David S. Miller <davem@davemloft.net>
33320 * sysdeps/sparc/sparc64/fpu/s_fmax.S: New file.
33321 * sysdeps/sparc/sparc64/fpu/s_fmaxf.S: New file.
33322 * sysdeps/sparc/sparc64/fpu/s_fmin.S: New file.
33323 * sysdeps/sparc/sparc64/fpu/s_fminf.S: New file.
33324 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: New file.
33325 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmaxf.S: New file.
33326 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: New file.
33327 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fminf.S: New file.
33328 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: New file.
33329 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf-vis3.S: New file.
33330 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: New file.
33331 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin-vis3.S: New file.
33332 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: New file.
33333 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf-vis3.S: New file.
33334 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: New file.
33335 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax-vis3.S: New
33337 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: New file.
33338 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf-vis3.S: New
33340 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: New file.
33341 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin-vis3.S: New
33343 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: New file.
33344 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf-vis3.S: New
33346 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: New file.
33347 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new vis3
33348 fmin/fmax sysdep routines.
33349 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
33351 2012-03-14 David S. Miller <davem@davemloft.net>
33353 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: New file.
33354 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: New file.
33355 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: New file.
33356 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: New file.
33357 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite-vis3.S: New file.
33358 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: New file.
33359 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef-vis3.S: New file.
33360 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: New file.
33361 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: New file.
33362 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: New file.
33363 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: New file.
33364 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: New file.
33365 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf-vis3.S: New file.
33366 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: New file.
33367 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff-vis3.S: New file.
33368 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: New file.
33369 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan-vis3.S: New file.
33370 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: New file.
33371 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf-vis3.S: New file.
33372 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: New file.
33373 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint-vis3.S: New file.
33374 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: New file.
33375 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf-vis3.S: New file.
33376 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: New file.
33377 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint-vis3.S: New file.
33378 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: New file.
33379 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf-vis3.S: New file.
33380 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: New file.
33381 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new VIS3
33383 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: New
33385 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: New file.
33386 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S: New
33388 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: New file.
33389 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs-vis3.S: New
33391 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: New file.
33392 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf-vis3.S: New
33394 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: New file.
33395 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: New
33397 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: New file.
33398 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S: New
33400 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S: New
33402 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint-vis3.S: New
33404 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: New
33406 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf-vis3.S:
33408 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S: New
33410 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint-vis3.S: New
33412 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: New file.
33413 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf-vis3.S: New
33415 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: New file.
33416 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt-vis3.S: New
33418 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: New file.
33419 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf-vis3.S: New
33421 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: New file.
33422 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new
33425 * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
33428 * sysdeps/sparc/fpu/libm-test-ulps: Update.
33430 * sysdeps/sparc/configure.in: New file.
33431 * sysdeps/sparc/configure: Generate.
33432 * configure.in (libc_cv_sparc_as_vis3): Substitute.
33433 * configure: Regenerate.
33434 * config.h.in (HAVE_AS_VIS3_SUPPORT): New.
33435 * config.make.in (have-as-vis3): New.
33436 * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-*): If VIS3 is
33437 available use -Av9d instead of -Av9a.
33438 * sysdeps/sparc/sparc64/Makefile: Likewise.
33439 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: New file.
33440 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign-vis3.S:
33442 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S: New
33444 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf-vis3.S:
33446 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S: New
33448 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: New file.
33449 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit-vis3.S: New file.
33450 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: New file.
33451 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf-vis3.S: New file.
33452 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: New file.
33454 * sysdeps/sparc/sparc64/fpu/s_copysign.S (__copysign): Use
33455 fzeros/fnegs to load 0x80000000 into a float register instead of
33457 * sysdeps/sparc/sparc64/fpu/s_copysignf.S (__copysignf): Likewise.
33459 2012-03-14 Joseph Myers <joseph@codesourcery.com>
33461 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
33463 ($(objpfx)syscall-%.h): Rename rule to $(objpfx)bits/syscall%h.
33464 ($(objpfx)syscall-%.d): Rename rule to $(objpfx)bits/syscall%d.
33465 ($(inst_includedir)/bits/syscall.h): Remove rule.
33466 ($(objpfx)bits/syscall.d): Include instead of
33467 $(objpfx)syscall-list.d.
33468 (generated): Change syscall-list.h and syscall-list.d to
33469 bits/syscall.h and bits/syscall.d.
33471 2012-03-14 Roland McGrath <roland@hack.frob.com>
33474 * manual/llio.texi (Memory-mapped I/O): Fix wrong function name.
33476 2012-03-14 Joseph Myers <joseph@codesourcery.com>
33479 * math/s_csqrt.c: Include <float.h>.
33480 (__csqrt): Scale large or subnormal inputs.
33481 * math/s_csqrtf.c: Likewise.
33482 * math/s_csqrtl.c: Likewise.
33483 * math/libm-test.inc (csqrt_test): Add more tests.
33484 * sysdeps/i386/fpu/libm-test-ulps: Update.
33485 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
33488 * math/libm-test.inc (hypot_test): Add more tests.
33490 2012-03-13 David S. Miller <davem@davemloft.net>
33493 * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Rewrite to use
33494 double-precision for the calculation instead of scaling.
33496 2012-03-13 Joseph Myers <joseph@codesourcery.com>
33498 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Do not
33499 manipulate bits before adding and subtracting TWO52[sx].
33500 * sysdeps/ieee754/dbl-64/s_rint.c (__rint): Likewise.
33501 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c (__nearbyint):
33503 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c (__rint): Likewise.
33505 2012-03-13 David S. Miller <davem@davemloft.net>
33507 * sysdeps/sparc/Makefile: Remove rtld-global-offsets.sym handling.
33508 * sysdeps/sparc/elf/rtld-global-offsets.sym: Delete.
33509 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Don't include
33510 rtld-global-offsets.h
33511 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
33513 * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Use expl for
33516 * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c: New file.
33518 * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Declare syscall
33519 'err' in the ifdef scope in which it is actually used.
33521 * nss/nss_db/db-init.c: Include string.h
33523 2012-03-12 David S. Miller <davem@davemloft.net>
33525 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
33526 masking out of the most significant byte of random value used.
33527 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
33528 Fix coding style in previous change.
33530 * sysdeps/unix/sysv/linux/kernel-features.h
33531 (__ASSUME_CLONE_THREAD_FLAGS): Set on sparc when 2.5.64 and later.
33532 (__ASSUME_TGKILL): Set on sparc when 2.6.1 and later, simplify
33534 (__ASSUME_FADVISE64_64_SYSCALL): Set on sparc when 2.6.1 and
33537 2012-03-11 David S. Miller <davem@davemloft.net>
33539 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
33540 (__makecontext): Fix signedness of pointer casts setting up 'sp'.
33541 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL) Use 'long'
33542 for 'resultvar' otherwise things get truncated on 64-bit.
33544 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
33545 Fix masking out of the most significant byte of random value used.
33547 * sysdeps/sparc/fpu/libm-test-ulps: Update.
33549 2012-03-10 Andreas Schwab <schwab@linux-m68k.org>
33551 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
33553 2012-03-09 David S. Miller <davem@davemloft.net>
33555 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Protect local
33556 variables with appropriate CPP guards.
33557 * sysdeps/sparc/sparc32/dl-trampoline.S: Propagate the stack_ptr
33558 from the frame pointer, not the stack pointer. Correct layout
33559 comments. Fix test on resulting framesize and the management of
33560 the outregs buffer for pltexit. Preserve floating point return
33561 values across _dl_call_pltexit call.
33562 * sysdeps/sparc/sparc64/dl-trampoline.S: Fix test on resulting
33563 framesize and the management of the outregs buffer for pltexit.
33564 Preserve floating point return values across _dl_call_pltexit
33566 * elf/sotruss-lib.c (la_sparc32_gnu_pltenter)
33567 (la_sparc64_gnu_pltenter, la_sparc32_gnu_pltexit)
33568 (la_sparc64_gnu_pltexit): New functions.
33569 (print_exit): Fix format string for return register value.
33571 2012-03-10 Joseph Myers <joseph@codesourcery.com>
33573 * sunrpc/Makefile (others): Add rpcgen.
33574 ($(objpfx)rpcgen): Remove special build rule and dependency on
33576 * sunrpc/rpcgen.c: New file.
33578 2012-03-09 Paul Eggert <eggert@cs.ucla.edu>
33581 * posix/bug-regex33.c: Replace FSF snail mail address with URL.
33582 * stdio-common/bug-vfprintf-nargs.c: Likewise.
33583 * sysdeps/i386/crti.S: Likewise.
33584 * sysdeps/i386/crtn.S: Likewise.
33585 * sysdeps/powerpc/powerpc32/crti.S: Likewise.
33586 * sysdeps/powerpc/powerpc32/crtn.S: Likewise.
33587 * sysdeps/powerpc/powerpc64/crti.S: Likewise.
33588 * sysdeps/powerpc/powerpc64/crtn.S: Likewise.
33589 * sysdeps/sh/crti.S: Likewise.
33590 * sysdeps/sh/crtn.S: Likewise.
33591 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
33594 * locale/programs/charmap-kw.gperf: Replace FSF snail mail address
33596 * locale/programs/locfile-kw.gperf: Likewise.
33597 * locale/programs/charmap-kw.h: Regenerated.
33598 * locale/programs/locfile-kw.h: Likewise.
33601 * intl/plural.y: Replace FSF snail mail address with URL.
33602 * intl/plural.c: Regenerated.
33604 2012-03-09 Richard Henderson <rth@twiddle.net>
33606 * include/math_private.h: Remove file.
33607 * math/math_private.h: Move file ...
33608 * sysdeps/generic/math_private.h: ... here.
33610 * sysdeps/i386/fpu/math_private.h: Use include_next for math_private.h.
33611 * sysdeps/powerpc/fpu/math_private.h: Likewise.
33612 * sysdeps/x86_64/fpu/math_private.h: Likewise.
33614 * sysdeps/i386/fpu/s_fpclassifyl.c: Use <> to include both <math.h>
33615 and <math_private.h>.
33616 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
33617 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
33618 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
33619 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
33620 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
33621 * sysdeps/ieee754/dbl-64/branred.c: Likewise.
33622 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
33623 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
33624 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
33625 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
33626 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
33627 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
33628 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
33629 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
33630 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
33631 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
33632 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
33633 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
33634 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
33635 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
33636 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
33637 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
33638 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
33639 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
33640 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
33641 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
33642 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
33643 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
33644 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
33645 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
33646 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
33647 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
33648 * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
33649 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
33650 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
33651 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
33652 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
33653 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
33654 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
33655 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
33656 * sysdeps/ieee754/dbl-64/s_fpclassify.c: Likewise.
33657 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
33658 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
33659 * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
33660 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
33661 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
33662 * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
33663 * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
33664 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
33665 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
33666 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
33667 * sysdeps/ieee754/dbl-64/s_lround.c: Likewise.
33668 * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
33669 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
33670 * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
33671 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
33672 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
33673 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
33674 * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
33675 * sysdeps/ieee754/dbl-64/s_signbit.c: Likewise.
33676 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
33677 * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
33678 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
33679 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
33680 * sysdeps/ieee754/dbl-64/s_trunc.c: Likewise.
33681 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
33682 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
33683 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
33684 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: Likewise.
33685 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: Likewise.
33686 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
33687 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
33688 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
33689 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
33690 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: Likewise.
33691 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Likewise.
33692 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: Likewise.
33693 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
33694 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: Likewise.
33695 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Likewise.
33696 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
33697 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Likewise.
33698 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
33699 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
33700 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
33701 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
33702 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: Likewise.
33703 * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Likewise.
33704 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
33705 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
33706 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
33707 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
33708 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
33709 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
33710 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
33711 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
33712 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
33713 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
33714 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
33715 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
33716 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
33717 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
33718 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
33719 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
33720 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
33721 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
33722 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
33723 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
33724 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
33725 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
33726 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
33727 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
33728 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
33729 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
33730 * sysdeps/ieee754/flt-32/s_cbrtf.c: Likewise.
33731 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
33732 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
33733 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
33734 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
33735 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
33736 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
33737 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
33738 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
33739 * sysdeps/ieee754/flt-32/s_fpclassifyf.c: Likewise.
33740 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
33741 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
33742 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
33743 * sysdeps/ieee754/flt-32/s_isinff.c: Likewise.
33744 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
33745 * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
33746 * sysdeps/ieee754/flt-32/s_llroundf.c: Likewise.
33747 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
33748 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
33749 * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
33750 * sysdeps/ieee754/flt-32/s_lroundf.c: Likewise.
33751 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
33752 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
33753 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
33754 * sysdeps/ieee754/flt-32/s_remquof.c: Likewise.
33755 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
33756 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
33757 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
33758 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
33759 * sysdeps/ieee754/flt-32/s_signbitf.c: Likewise.
33760 * sysdeps/ieee754/flt-32/s_sincosf.c: Likewise.
33761 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
33762 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
33763 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
33764 * sysdeps/ieee754/flt-32/s_truncf.c: Likewise.
33765 * sysdeps/ieee754/k_standard.c: Likewise.
33766 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
33767 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
33768 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
33769 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
33770 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
33771 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
33772 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
33773 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
33774 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
33775 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
33776 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
33777 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
33778 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
33779 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
33780 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
33781 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
33782 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
33783 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
33784 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
33785 * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
33786 * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
33787 * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
33788 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
33789 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
33790 * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
33791 * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
33792 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
33793 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
33794 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
33795 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
33796 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
33797 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
33798 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
33799 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
33800 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
33801 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
33802 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
33803 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: Likewise.
33804 * sysdeps/ieee754/ldbl-128/s_isinfl.c: Likewise.
33805 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
33806 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
33807 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
33808 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
33809 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
33810 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
33811 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
33812 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
33813 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
33814 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
33815 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
33816 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
33817 * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
33818 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
33819 * sysdeps/ieee754/ldbl-128/s_roundl.c: Likewise.
33820 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
33821 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
33822 * sysdeps/ieee754/ldbl-128/s_signbitl.c: Likewise.
33823 * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
33824 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
33825 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
33826 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
33827 * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
33828 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
33829 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
33830 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
33831 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
33832 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
33833 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
33834 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
33835 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
33836 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
33837 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
33838 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
33839 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
33840 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
33841 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
33842 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Likewise.
33843 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
33844 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
33845 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
33846 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
33847 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
33848 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
33849 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
33850 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Likewise.
33851 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
33852 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
33853 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
33854 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
33855 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
33856 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c: Likewise.
33857 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
33858 * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
33859 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
33860 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
33861 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
33862 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: Likewise.
33863 * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
33864 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
33865 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c: Likewise.
33866 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
33867 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
33868 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
33869 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
33870 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c: Likewise.
33871 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
33872 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
33873 * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
33874 * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Likewise.
33875 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
33876 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
33877 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
33878 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
33879 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
33880 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
33881 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
33882 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
33883 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
33884 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
33885 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
33886 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
33887 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
33888 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
33889 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
33890 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
33891 * sysdeps/ieee754/ldbl-96/s_cbrtl.c: Likewise.
33892 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
33893 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
33894 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
33895 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
33896 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
33897 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
33898 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
33899 * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
33900 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
33901 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
33902 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: Likewise.
33903 * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
33904 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
33905 * sysdeps/ieee754/ldbl-96/s_llrintl.c: Likewise.
33906 * sysdeps/ieee754/ldbl-96/s_llroundl.c: Likewise.
33907 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
33908 * sysdeps/ieee754/ldbl-96/s_lrintl.c: Likewise.
33909 * sysdeps/ieee754/ldbl-96/s_lroundl.c: Likewise.
33910 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
33911 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
33912 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
33913 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
33914 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
33915 * sysdeps/ieee754/ldbl-96/s_remquol.c: Likewise.
33916 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
33917 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
33918 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
33919 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
33920 * sysdeps/ieee754/ldbl-96/s_signbitl.c: Likewise.
33921 * sysdeps/ieee754/ldbl-96/s_sincosl.c: Likewise.
33922 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
33923 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
33924 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
33925 * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
33926 * sysdeps/ieee754/s_lib_version.c: Likewise.
33927 * sysdeps/ieee754/s_matherr.c: Likewise.
33928 * sysdeps/ieee754/s_signgam.c: Likewise.
33929 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
33930 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
33931 * sysdeps/powerpc/fpu/e_rem_pio2f.c: Likewise.
33932 * sysdeps/powerpc/fpu/k_cosf.c: Likewise.
33933 * sysdeps/powerpc/fpu/k_rem_pio2f.c: Likewise.
33934 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
33935 * sysdeps/powerpc/fpu/s_cosf.c: Likewise.
33936 * sysdeps/powerpc/fpu/s_float_bitwise.h: Likewise.
33937 * sysdeps/powerpc/fpu/s_isnan.c: Likewise.
33938 * sysdeps/powerpc/fpu/s_rint.c: Likewise.
33939 * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
33940 * sysdeps/powerpc/fpu/s_sinf.c: Likewise.
33941 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
33942 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
33943 * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Likewise.
33944 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
33945 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
33946 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
33947 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
33948 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
33949 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
33951 2012-03-09 Joseph Myers <joseph@codesourcery.com>
33953 * sunrpc/rpc_cout.c: Remove __GNU_LIBRARY__ conditionals.
33954 * sunrpc/rpc_main.c: Likewise.
33955 * sunrpc/rpc_svcout.c: Likewise.
33957 2012-03-09 David S. Miller <davem@davemloft.net>
33959 * include/math_private.h: New file.
33961 2012-03-09 Joseph Myers <joseph@codesourcery.com>
33963 * sysdeps/unix/sysv/linux/bits/socket_type.h: New file.
33964 * sysdeps/unix/sysv/linux/sparc/bits/socket_type.h: Likewise.
33965 * sysdeps/unix/sysv/linux/bits/socket.h: Get enum __socket_type
33966 from <bits/socket_type.h>.
33967 (enum __socket_type): Don't define here.
33968 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Remove.
33969 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
33970 bits/socket_type.h.
33973 * libio/stdio.h (gets): Always declare for C++ up to C++11 without
33974 checking __USE_GNU.
33976 * Makerules ($(inst_includedir)/%.h): New rule.
33977 * stdio-common/Makefile (headers): Add bits/stdio_lim.h.
33978 (install-others): Remove variable setting.
33979 ($(inst_includedir)/bits/stdio_lim.h): Remove rule.
33981 2012-03-08 Richard Henderson <rth@twiddle.net>
33983 * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrt): Convert
33984 from macro to inline function; merge with the
33985 !__LIBC_INTERNAL_MATH_INLINES version.
33986 (__ieee754_sqrtf): Likewise.
33988 * sysdeps/x86_64/fpu/math_private.h (__rint): Convert from macro
33989 to inline function.
33990 (__rintf, __floor, __floorf): Likewise.
33992 * sysdeps/x86_64/fpu/math_private.h (__ieee754_sqrt): Convert from
33993 macro to inline function.
33994 (__ieee754_sqrtf, __ieee754_sqrtl): Likewise.
33996 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Include <math_private.h>,
33997 not <math/math_private.h>.
33999 2012-03-08 David S. Miller <davem@davemloft.net>
34001 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Update
34003 * sysdeps/unix/sysv/linux/sparc/sysdep.h: Likewise.
34005 2012-03-08 Thomas Schwinge <thomas@codesourcery.com>
34007 * resolv/gai_misc.c (handle_requests): Fix struct timespec
34009 * rt/tst-cpuclock2.c (test_nanosleep): Likewise.
34010 * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
34012 2012-03-08 Ulrich Drepper <drepper@gmail.com>
34014 * stdio-common/tst-fphex.c: Various cleanups. The macros cannot
34015 be defined individually, they must be defined as a block. Define
34016 S for printing a string instead of hidint the different by using a
34017 macro for adding the 'l'.
34018 * stdio-common/tst-fphex-wide.c: Adjust.
34020 2012-03-07 Marek Polacek <polacek@redhat.com>
34022 * stdio-common/tst-long-dbl-fphex.c: Fix test for non ldbl-96 targets.
34024 2012-03-08 Marek Polacek <polacek@redhat.com>
34027 * stdio-common/Makefile (tests): Add tst-fphex-wide.
34028 * stdio-common/tst-fphex.c: Define a few macros to make the
34029 test reusable. Use them.
34030 * stdio-common/tst-fphex-wide.c: New file.
34032 2012-03-08 Joseph Myers <joseph@codesourcery.com>
34035 * manual/macros.texi (gnusystems): New macro.
34036 (nongnusystems): Likewise.
34037 (gnulinuxhurdsystems): Likewise.
34038 (gnuhurdsystems): Likewise..
34039 (gnulinuxsystems): Likewise.
34040 * manual/charset.texi: Use new macros or @theglibc{} to refer to
34041 variants of the GNU system, not "GNU system".
34042 * manual/conf.texi: Likewise.
34043 * manual/errno.texi: Likewise. Update example of errno macro
34045 * manual/filesys.texi: Likewise.
34046 (getumask): Document as specific to GNU/Hurd.
34047 * manual/install.texi: Likewise. Reword some references to
34049 * manual/intro.texi: Likewise.
34050 * manual/io.texi: Likewise.
34051 (File Name Portability): Detail which constraints are inapplicable
34052 to all GNU systems and which are only inapplicable to GNU/Hurd.
34053 * manual/job.texi: Likewise.
34054 * manual/llio.texi: Likewise.
34055 (O_NOCTTY): Document as present on GNU/Linux.
34056 * manual/maint.texi: Likewise.
34057 * manual/memory.texi: Likewise.
34058 * manual/pattern.texi: Likewise.
34059 * manual/pipe.texi: Likewise.
34060 * manual/process.texi: Likewise.
34061 * manual/resource.texi: Likewise.
34062 (RUSAGE_CHILDREN): Remove statement about specifying a particular
34064 * manual/setjmp.texi: Likewise.
34065 * manual/signal.texi: Likewise.
34066 * manual/startup.texi: Likewise.
34067 * manual/stdio.texi: Likewise.
34068 * manual/terminal.texi: Likewise.
34069 (ONLCR): Document as POSIX.
34070 (OXTABS): Document availability on GNU/Linux as XTABS.
34071 (ONOEOT): Document availability separately from other bits.
34072 (VLNEXT, VDISCARD, VSTATUS): Document availability individually.
34073 * manual/time.texi: Likewise.
34074 * manual/users.texi: Likewise.
34075 * INSTALL: Regenerated.
34076 * sysdeps/gnu/errlist.c: Regenerated.
34078 * aclocal.m4 (LIBC_TRY_LINK_STATIC): New macro.
34079 * configure.in (libc_cv_preinit_array): Use LIBC_TRY_LINK_STATIC.
34080 (libc_cv_ctors_header): Likewise. Use asm ("") instead of calling
34082 * configure: Regenerated.
34084 2012-03-07 Joseph Myers <joseph@codesourcery.com>
34086 * sysdeps/i386/configure.in (cpuid.h): Use AC_CHECK_HEADER with no
34087 default includes instead of AC_HEADER_CHECK.
34088 * sysdeps/i386/configure: Regenerated.
34091 * math/s_cacosh.c (__cacosh): Convert negative log results to 0.
34092 * math/s_cacoshf.c (__cacoshf): Likewise.
34093 * math/s_cacoshl.c (__cacoshl): Likewise.
34094 * math/s_casinh.c (__casinh): Set signs of result from argument.
34095 * math/s_casinhf.c (__casinhf): Likewise.
34096 * math/s_casinhl.c (__casinhl): Likewise.
34097 * math/libm-test.inc (cacos_test, cacosh_test, casin_test)
34098 (casinh_test): Add more tests.
34099 * sysdeps/i386/fpu/libm-test-ulps: Update.
34100 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
34102 2012-03-07 Ulrich Drepper <drepper@gmail.com>
34104 * po/zh_TW.po: Update from translation team.
34106 * login/Makefile (distribute): Remove variable.
34107 * catgets/Makefile: Likewise.
34108 * mach/Makefile: Likewise.
34109 * malloc/Makefile: Likewise.
34110 * misc/Makefile: Likewise.
34111 * iconv/Makefile: Likewise.
34112 * nscd/Makefile: Likewise.
34113 * hurd/Makefile: Likewise.
34114 * manual/Makefile: Likewise.
34115 * locale/Makefile: Likewise.
34116 * intl/Makefile: Likewise.
34117 * conform/Makefile: Likewise.
34118 * nss/Makefile: Likewise.
34119 * time/Makefile: Likewise.
34120 * soft-fp/Makefile: Likewise.
34121 * dirent/Makefile: Likewise.
34122 * gmon/Makefile: Likewise.
34123 * po/Makefile: Likewise.
34124 * rt/Makefile: Likewise.
34125 * socket/Makefile: Likewise.
34126 * math/Makefile: Likewise.
34127 * signal/Makefile: Likewise.
34128 * debug/Makefile: Likewise.
34129 * elf/Makefile: Likewise.
34130 * timezone/Makefile: Likewise.
34131 * stdlib/Makefile: Likewise.
34132 * iconvdata/Makefile: Likewise.
34133 * sunrpc/Makefile: Likewise.
34134 * io/Makefile: Likewise.
34135 * argp/Makefile: Likewise.
34136 * inet/Makefile: Likewise.
34137 * hesiod/Makefile: Likewise.
34138 * grp/Makefile: Likewise.
34139 * csu/Makefile: Likewise.
34140 * wctype/Makefile: Likewise.
34141 * crypt/Makefile: Likewise.
34142 * libio/Makefile: Likewise.
34143 * string/Makefile: Likewise.
34144 * nis/Makefile: Likewise.
34145 * resolv/Makefile: Likewise.
34146 * stdio-common/Makefile: Likewise.
34147 * wcsmbs/Makefile: Likewise.
34148 * dlfcn/Makefile: Likewise.
34149 * posix/Makefile: Likewise.
34152 * timezone/Makefile: Don't install timezone files, just the programs
34155 2012-03-06 Ulrich Drepper <drepper@gmail.com>
34157 * nss/databases.def: Add missing gshadow entry.
34159 * stdio-common/vfprintf.c: Fix formatting. Missing copyright update.
34161 2012-03-06 Marek Polacek <polacek@redhat.com>
34164 * sysdeps/ieee754/ldbl-96/printf_fphex.c: Adjust position of wnumstr.
34165 * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
34166 * stdio-common/Makefile (tests): Add tst-long-dbl-fphex.
34167 * stdio-common/tst-long-dbl-fphex.c: New file.
34169 2012-03-06 David S. Miller <davem@davemloft.net>
34171 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
34172 (set_obp_int): New function.
34173 (get_obp_int): New function.
34174 (__get_clockfreq_via_dev_openprom): Likewise.
34175 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INTERNAL_SYSCALL_ERROR_P):
34176 Avoid unused variable warnings on 'val' and use builtin_expect.
34177 (INLINE_SYSCALL): Don't wrap INTERNAL_SYSCALL_ERROR_P with
34179 (INLINE_CLONE_SYSCALL): Likewise.
34181 2012-03-05 David S. Miller <davem@davemloft.net>
34183 * sysdeps/sparc/fpu/libm-test-ulps: Update.
34185 2012-03-05 Andreas Schwab <schwab@linux-m68k.org>
34187 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
34189 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Drop exp(-x) term
34190 only for |x| >= 40.
34191 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
34193 2012-03-05 H.J. Lu <hongjiu.lu@intel.com>
34195 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c (gettimeofday_ifunc):
34196 Replace gettimeofday with __vdso_gettimeofday.
34198 * sysdeps/unix/sysv/linux/x86_64/init-first.c
34199 (_libc_vdso_platform_setup): Replace clock_gettime and getcpu with
34200 __vdso_clock_gettime and __vdso_getcpu.
34202 * sysdeps/unix/sysv/linux/x86_64/time.c (time_ifunc): Replace
34203 time with __vdso_time.
34205 2012-03-05 Joseph Myers <joseph@codesourcery.com>
34207 * manual/lang.texi (size_t): Note types to which size_t may be
34208 equivalent with the GNU C Library, but do not describe when
34209 differences between them are significant.
34211 2012-03-05 Andreas Jaeger <aj@suse.de>
34213 * sysdeps/i386/fpu/libm-test-ulps: Update.
34215 2012-03-05 Joseph Myers <joseph@codesourcery.com>
34218 * sysdeps/ieee754/dbl-64/e_pow.c: Include <fenv.h>.
34219 (__ieee754_pow): Save and restore rounding mode and use
34220 round-to-nearest for main computations.
34221 * math/libm-test.inc (pow_test_tonearest): New function.
34222 (pow_test_towardzero): Likewise.
34223 (pow_test_downward): Likewise.
34224 (pow_test_upward): Likewise.
34225 (main): Call the new functions.
34226 * sysdeps/i386/fpu/libm-test-ulps: Update.
34227 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
34230 * math/libm-test.inc (cosh_test_tonearest): New function.
34231 (cosh_test_towardzero): Likewise.
34232 (cosh_test_downward): Likewise.
34233 (cosh_test_upward): Likewise.
34234 (sinh_test_tonearest): Likewise.
34235 (sinh_test_towardzero): Likewise.
34236 (sinh_test_downward): Likewise.
34237 (sinh_test_upward): Likewise.
34238 (main): Call the new functions.
34239 * sysdeps/i386/fpu/libm-test-ulps: Update.
34240 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
34242 2012-03-05 Tom de Vries <tom@codesourcery.com>
34244 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Ensure
34245 default stack guard is set in last bytes.
34246 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Same.
34248 2012-03-05 Kees Cook <keescook@chromium.org>
34250 * stdio-common/vfprintf.c (vfprintf): add missing errno settings.
34253 * stdio-common/vfprintf.c (vfprintf): Check for nargs overflow and
34254 possibly allocate from heap instead of stack.
34255 * stdio-common/bug-vfprintf-nargs.c: New file.
34256 * stdio-common/Makefile (tests): Add nargs overflow test.
34258 2012-03-03 Andreas Schwab <schwab@linux-m68k.org>
34260 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
34262 2012-03-03 Marek Polacek <polacek@redhat.com>
34264 * include/sys/cdefs.h: Remove __GNUC_PREREQ macro.
34265 * math/math_private.h: Likewise.
34266 * stdlib/tst-strtod.c: Likewise.
34267 * sysdeps/i386/i486/bits/atomic.h: Likewise.
34268 * sysdeps/x86_64/bits/atomic.h: Likewise.
34270 2012-03-02 David S. Miller <davem@davemloft.net>
34272 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: New file.
34273 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrintf.S: New file.
34274 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: New file.
34275 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrintf.S: New file.
34276 * sysdeps/sparc/sparc64/fpu/s_llrint.S: New file.
34277 * sysdeps/sparc/sparc64/fpu/s_llrintf.S: New file.
34278 * sysdeps/sparc/sparc64/fpu/s_lrint.S: New file.
34279 * sysdeps/sparc/sparc64/fpu/s_lrintf.S: New file.
34281 2012-03-02 Roland McGrath <roland@hack.frob.com>
34284 * manual/examples/README: New file, says the example source files
34285 can be used under GPL>=2.
34286 * manual/Makefile (%.c.texi): Eat the leading part of the file until a
34287 line containing just "*/".
34288 * manual/examples/add.c: Add copyright header (GPL>=2).
34289 * manual/examples/argp-ex1.c: Likewise.
34290 * manual/examples/argp-ex2.c: Likewise.
34291 * manual/examples/argp-ex3.c: Likewise.
34292 * manual/examples/argp-ex4.c: Likewise.
34293 * manual/examples/atexit.c: Likewise.
34294 * manual/examples/db.c: Likewise.
34295 * manual/examples/dir.c: Likewise.
34296 * manual/examples/dir2.c: Likewise.
34297 * manual/examples/execinfo.c: Likewise.
34298 * manual/examples/filecli.c: Likewise.
34299 * manual/examples/filesrv.c: Likewise.
34300 * manual/examples/fmtmsgexpl.c: Likewise.
34301 * manual/examples/genpass.c: Likewise.
34302 * manual/examples/inetcli.c: Likewise.
34303 * manual/examples/inetsrv.c: Likewise.
34304 * manual/examples/isockad.c: Likewise.
34305 * manual/examples/longopt.c: Likewise.
34306 * manual/examples/memopen.c: Likewise.
34307 * manual/examples/memstrm.c: Likewise.
34308 * manual/examples/mkfsock.c: Likewise.
34309 * manual/examples/mkisock.c: Likewise.
34310 * manual/examples/mygetpass.c: Likewise.
34311 * manual/examples/pipe.c: Likewise.
34312 * manual/examples/popen.c: Likewise.
34313 * manual/examples/rprintf.c: Likewise.
34314 * manual/examples/search.c: Likewise.
34315 * manual/examples/select.c: Likewise.
34316 * manual/examples/setjmp.c: Likewise.
34317 * manual/examples/sigh1.c: Likewise.
34318 * manual/examples/sigusr.c: Likewise.
34319 * manual/examples/stpcpy.c: Likewise.
34320 * manual/examples/strdupa.c: Likewise.
34321 * manual/examples/strftim.c: Likewise.
34322 * manual/examples/strncat.c: Likewise.
34323 * manual/examples/subopt.c: Likewise.
34324 * manual/examples/swapcontext.c: Likewise.
34325 * manual/examples/termios.c: Likewise.
34326 * manual/examples/testopt.c: Likewise.
34327 * manual/examples/testpass.c: Likewise.
34328 * manual/examples/timeval_subtract.c: Likewise.
34331 * manual/time.texi (Elapsed Time): Move timeval_subtract example
34333 * manual/timeval_subtract.c.texi: ... here, new file.
34335 2012-03-02 David S. Miller <davem@davemloft.net>
34337 * sysdeps/sparc/fpu/libm-test-ulps: Update for recently added tests.
34339 2012-03-02 Joseph Myers <joseph@codesourcery.com>
34342 * sysdeps/ieee754/dbl-64/s_sin.c: Include <fenv.h>
34343 (__sin): Save and restore rounding mode and use round-to-nearest
34344 for all computations.
34345 (__cos): Save and restore rounding mode and use round-to-nearest
34346 for all computations.
34347 * sysdeps/ieee754/dbl-64/s_tan.c: Include "math_private.h" and
34349 (tan): Save and restore rounding mode and use round-to-nearest for
34351 * math/libm-test.inc (cos_test_tonearest): New function.
34352 (cos_test_towardzero): Likewise.
34353 (cos_test_downward): Likewise.
34354 (cos_test_upward): Likewise.
34355 (sin_test_tonearest): Likewise.
34356 (sin_test_towardzero): Likewise.
34357 (sin_test_downward): Likewise.
34358 (sin_test_upward): Likewise.
34359 (tan_test_tonearest): Likewise.
34360 (tan_test_towardzero): Likewise.
34361 (tan_test_downward): Likewise.
34362 (tan_test_upward): Likewise.
34363 (main): Call the new functions.
34364 * sysdeps/i386/fpu/libm-test-ulps: Update.
34365 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
34368 * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): First test for
34369 small n, then large n, before computing and testing k+n.
34370 * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
34371 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c (__scalbln):
34373 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (__scalbn):
34375 * sysdeps/ieee754/flt-32/s_scalblnf.c (__scalblnf): Likewise.
34376 * sysdeps/ieee754/flt-32/s_scalbnf.c (__scalbnf): Likewise.
34377 * sysdeps/ieee754/ldbl-128/s_scalblnl.c (__scalblnl): Likewise.
34378 * sysdeps/ieee754/ldbl-128/s_scalbnl.c (__scalbnl): Likewise.
34379 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
34380 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
34381 * sysdeps/ieee754/ldbl-96/s_scalblnl.c (__scalblnl): Likewise.
34382 * sysdeps/ieee754/ldbl-96/s_scalbnl.c (__scalbnl): Likewise.
34383 * math/libm-test.inc (scalbn_test): Add more tests.
34384 (scalbln_test): Likewise.
34386 * manual/filesys.texi (mode_t): Describe constraints on size and
34387 signedness, not exact equivalence to a particular type.
34389 (ino64_t): Likewise.
34391 (nlink_t): Likewise.
34392 (blkcnt_t): Likewise.
34393 (blkcnt64_t): Likewise.
34394 * manual/llio.texi (off_t): Likewise.
34397 * sysdeps/ieee754/dbl-64/e_exp.c: Include <fenv.h>.
34398 (__ieee754_exp): Save and restore rounding mode and use
34399 round-to-nearest for all computations.
34400 * math/libm-test.inc (exp_test_tonearest): New function.
34401 (exp_test_towardzero): Likewise.
34402 (exp_test_downward): Likewise.
34403 (exp_test_upward): Likewise.
34404 (main): Call the new functions.
34405 * sysdeps/i386/fpu/libm-test-ulps: Update.
34406 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
34408 2012-03-01 Chris Demetriou <cgd@google.com>
34410 * sysdeps/gnu/errlist-compat.awk: Don't depend on AWK internals to
34411 have predictable order.
34413 2012-03-01 David S. Miller <davem@davemloft.net>
34415 * sysdeps/unix/sysv/linux/sparc/sparc32/getpagesize.c: Delete.
34417 * sysdeps/sparc/sparc64/fpu/s_finite.S: New file.
34418 * sysdeps/sparc/sparc64/fpu/s_finitef.S: New file.
34419 * sysdeps/sparc/sparc64/fpu/s_isinf.S: New file.
34420 * sysdeps/sparc/sparc64/fpu/s_isinff.S: New file.
34422 * sysdeps/sparc/sparc32/fpu/s_signbit.S: New file.
34423 * sysdeps/sparc/sparc32/fpu/s_signbitf.S: New file.
34424 * sysdeps/sparc/sparc32/fpu/s_signbitl.S: New file.
34425 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: New file.
34426 * sysdeps/sparc/sparc64/fpu/s_isnan.S: New file.
34427 * sysdeps/sparc/sparc64/fpu/s_isnanf.S: New file.
34428 * sysdeps/sparc/sparc64/fpu/s_signbit.S: New file.
34429 * sysdeps/sparc/sparc64/fpu/s_signbitf.S: New file.
34430 * sysdeps/sparc/sparc64/fpu/s_signbitl.S: New file.
34432 * sysdeps/sparc/fpu/libm-test-ulps: Update.
34434 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Move...
34435 * sysdeps/sparc/fpu/libm-test-ulps: to here.
34436 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Delete.
34438 * sysdeps/sparc/crti.S: Remove HAVE_BINUTILS_GOTDATA checks.
34439 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
34440 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
34441 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: Likewise.
34442 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: Likewise.
34443 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: Likewise.
34444 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: Likewise.
34445 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
34446 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
34447 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: Likewise.
34448 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: Likewise.
34449 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
34450 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
34451 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
34452 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
34453 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
34454 * config.h.in (HAVE_BINUTILS_GOTDATA): Delete.
34455 * sysdeps/sparc/elf/configure.in: Remove binutils GOTDATA checks.
34456 * sysdeps/sparc/elf/configure: Regenerated.
34458 2012-03-01 Joseph Myers <joseph@codesourcery.com>
34460 * configure.in (AS, LD): Require binutils 2.20 or later.
34461 * configure: Regenerated.
34462 * manual/install.texi (Tools for Compilation): Give binutils 2.20
34463 as required minimum version.
34464 * INSTALL: Regenerated.
34468 * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Mask out one more bit
34469 before squaring exponent.
34470 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Mask out whole
34471 bottom long double and 27 bits of top long double before squaring
34473 * math/libm-test.inc (erfc_test): Add more tests.
34474 * sysdeps/i386/fpu/libm-test-ulps: Update.
34475 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
34476 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
34478 2012-03-01 Kai Tietz <ktietz@redhat.com>
34480 * soft-fp/soft-fp.h (_FP_STRUCT_LAYOUT): New macro.
34481 * soft-fp/quad.h (_FP_UNION_Q): Use _FP_STRUCT_LAYOUT on struct
34482 containing bit-fields.
34483 * soft-fp/extended.h (_FP_UNION_E): Likewise.
34484 * soft-fp/single.h (_FP_UNION_S): Likewise.
34485 * soft-fp/double.h (_FP_UNION_D): Likewise.
34487 2012-02-29 Joseph Myers <joseph@codesourcery.com>
34490 * sysdeps/i386/i686/multiarch/strcmp.S [USE_AS_STRCASECMP_L]: Do
34491 not include ../strcmp.S.
34492 [USE_AS_STRNCASECMP_L]: Likewise.
34493 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c
34494 (__strcasecmp_l_ia32): Define as alias to __strcasecmp_l_nonascii.
34495 * sysdeps/i386/i686/multiarch/strncase_l-c.c
34496 (__strncasecmp_l_ia32): Define as alias to
34497 __strncasecmp_l_nonascii.
34500 * math/libm-test.inc (expm1_test): Add test for bug 5794.
34501 * sysdeps/i386/fpu/libm-test-ulps: Update.
34502 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
34504 * sysdeps/i386/fpu/libm-test-ulps: Reduce some expected errors.
34505 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
34507 2012-02-29 Jeff Law <law@redhat.com>
34509 * resolv/res_query.c (__libc_res_nquerydomain): Avoid
34510 out of bounds read.
34512 2012-02-29 Marek Polacek <polacek@redhat.com>
34515 * elf/rtld.c (dl_main): Always set l_used to 1 for vDSO.
34516 * elf/Makefile: Add rules to run tst-unused-dep.out.
34518 2012-02-28 David S. Miller <davem@davemloft.net>
34520 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: New file.
34521 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: New file.
34522 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: New file.
34523 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: New file.
34524 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: New file.
34525 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: New file.
34527 2012-02-29 Joseph Myers <joseph@codesourcery.com>
34529 * math/libm-test.inc (llround_test): Move one test from
34530 lround_test. Use TEST_f_L in moved test.
34531 (lround_test): Move misplaced test to llround_test. Add testcase
34534 2012-02-28 Ulrich Drepper <drepper@gmail.com>
34536 * sysdeps/x86_64/fpu/e_expf.S: New file.
34537 Contributed by Dmitrieva Liubov <liubov.dmitrieva@gmail.com>.
34539 2012-02-28 Stanislav Brabec <sbrabec@suse.cz>
34542 * posix/regex_internal.c (re_string_skip_chars): Fix miscomputation
34543 of remain_len that may cause incomplete multi-byte character and
34545 * posix/bug-regex33.c: New file.
34546 * posix/Makefile (tests): Add bug-regex33.
34548 2012-02-28 Joseph Myers <joseph@codesourcery.com>
34550 * manual/macros.texi: New file.
34551 * Makefile (INSTALL, NOTES): Depend on manual/macros.texi.
34552 * manual/libc.texinfo: Include macros.texi.
34553 * manual/creatute.texi: Likewise.
34554 * manual/install.texi: Likewise.
34555 * manual/arith.texi: Use macros @Theglibc{}, @theglibc{} and
34556 @glibcadj{} in references to the GNU C Library.
34557 * manual/charset.texi: Likewise.
34558 * manual/conf.texi: Likewise.
34559 * manual/contrib.texi: Likewise. Consistently use "GNU C Library"
34560 when not using those macros.
34561 * manual/creature.texi: Likewise.
34562 * manual/crypt.texi: Likewise.
34563 * manual/errno.texi: Likewise.
34564 * manual/filesys.texi: Likewise.
34565 * manual/header.texi: Likewise.
34566 * manual/install.texi: Likewise.
34567 * manual/intro.texi: Likewise.
34568 * manual/io.texi: Likewise.
34569 * manual/job.texi: Likewise.
34570 * manual/lang.texi: Likewise.
34571 * manual/libc.texiinfo: Likewise.
34572 * manual/llio.texi: Likewise.
34573 * manual/locale.texi: Likewise.
34574 * manual/maint.texi: Likewise.
34575 * manual/math.texi: Likewise.
34576 * manual/memory.texi: Likewise.
34577 * manual/message.texi: Likewise.
34578 * manual/nss.texi: Likewise.
34579 * manual/pattern.texi: Likewise.
34580 * manual/process.texi: Likewise.
34581 * manual/resource.texi: Likewise.
34582 * manual/search.texi: Likewise.
34583 * manual/setjmp.texi: Likewise.
34584 * manual/signal.texi: Likewise.
34585 * manual/socket.texi: Likewise.
34586 * manual/startup.texi: Likewise.
34587 * manual/stdio.texi: Likewise.
34588 * manual/string.texi: Likewise.
34589 * manual/sysinfo.texi: Likewise.
34590 * manual/syslog.texi: Likewise.
34591 * manual/terminal.texi: Likewise.
34592 * manual/time.texi: Likewise.
34593 * manual/users.texi: Likewise.
34594 * INSTALL: Regenerated.
34595 * NOTES: Regenerated.
34596 * sysdeps/gnu/errlist.c: Regenerated.
34598 2012-02-28 Andreas Schwab <schwab@linux-m68k.org>
34600 * include/dirent.h: Include <dirstream.h> before
34603 2012-02-28 David S. Miller <davem@davemloft.net>
34605 * sysdeps/sparc/sparc32/fpu/s_copysign.S: New file.
34606 * sysdeps/sparc/sparc32/fpu/s_copysignf.S: New file.
34607 * sysdeps/sparc/sparc64/fpu/s_copysign.S: New file.
34608 * sysdeps/sparc/sparc64/fpu/s_copysignf.S: New file.
34610 2012-02-27 David S. Miller <davem@davemloft.net>
34612 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: New file.
34613 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floorf.S: New file.
34614 * sysdeps/sparc/sparc64/fpu/s_floor.S: New file.
34615 * sysdeps/sparc/sparc64/fpu/s_floorf.S: New file.
34617 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix accidental use of
34618 frame pointer instead of stack pointer relative arg slot.
34619 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
34620 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
34621 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
34623 2012-02-27 Carlos O'Donell <carlos_odonell@mentor.com>
34626 * stdlib/fmtmsg.c: Use of uint32_t requires stdint.h.
34628 2012-02-27 David S. Miller <davem@davemloft.net>
34630 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix comment formatting.
34631 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
34632 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
34633 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: Likewise.
34634 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
34635 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
34636 * sysdeps/sparc/sparc64/fpu/s_rint.S: Likewise.
34637 * sysdeps/sparc/sparc64/fpu/s_rintf.S: Likewise.
34639 2012-02-27 Joseph Myers <joseph@codesourcery.com>
34641 * configure.in (CC): Restrict allowed GCC versions to 4.3 and
34642 later. Allow versions 5-9.
34643 * configure: Regenerated.
34644 * manual/install.texi (Tools for Compilation): Give GCC 4.3 as
34645 required minimum version and 4.6 as recommended version. Do not
34646 mention bugs in GCC 2.7 and 2.8.
34647 * INSTALL: Regenerated.
34649 2012-02-27 David S. Miller <davem@davemloft.net>
34651 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: New file.
34652 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: New file.
34653 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: New file.
34654 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: New file.
34655 * sysdeps/sparc/sparc64/fpu/s_ceil.S: New file.
34656 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: New file.
34657 * sysdeps/sparc/sparc64/fpu/s_rint.S: New file.
34658 * sysdeps/sparc/sparc64/fpu/s_rintf.S: New file.
34660 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Do not
34661 manipulate bits before adding and subtracting TWO112[sx].
34662 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
34664 2012-02-27 Roland McGrath <roland@hack.frob.com>
34667 * libio/bits/stdio-ldbl.h (vdprintf, dprintf): Put these under
34668 [__USE_XOPEN2K8] rather than [__USE_GNU], to match the stdio.h decls.
34669 * libio/stdio.h (vdprintf, dprintf): Remove comment about these not
34670 being in POSIX, because they are in 1003.1-2008.
34672 * rt/tst-aio.c: Include <fcntl.h>.
34673 * rt/tst-aio7.c: Likewise.
34674 * rt/tst-aio64.c: Likewise.
34676 * stdio-common/tst-fmemopen.c (main): Remove spurious const.
34678 2012-02-27 Joseph Myers <joseph@codesourcery.com>
34680 * manual/install.texi (--with-headers): Describe headers as
34681 interface headers, not private headers.
34682 (Specific advice for GNU/Linux systems): Describe use of headers
34683 from "make headers_install", not private headers from older
34685 * INSTALL: Regenerated.
34686 * sysdeps/unix/sysv/linux/configure.in (LIBC_LINUX_VERSION):
34688 * sysdeps/unix/sysv/linux/configure: Regenerated.
34690 * manual/llio.texi (fclean): Remove documentation.
34692 * manual/Makefile (libc-texi-generated): New variable. Include
34694 (libc.dvi, libc.pdf, libc.info, libc/index.html): Depend on
34695 $(libc-texi-generated), not duplicated list of files.
34696 (version.texi, stamp-version): New rules.
34697 (realclean): Remove $(libc-texi-generated), not individual files
34698 from that list. Do not remove dir-add.texinfo.
34699 * manual/libc.texinfo: Comment out uses of edition numbers and
34700 references to printed manual. Remove last-updated dates.
34701 (EDITION): Comment out.
34703 (VERSION, UPDATED): Remove.
34704 (version.texi): Include.
34706 2012-02-27 Andreas Schwab <schwab@linux-m68k.org>
34708 * sysdeps/posix/spawni.c: Include <signal.h>.
34709 * sysdeps/pthread/aio_cancel.c: Include <fcntl.h>.
34710 * sysdeps/pthread/aio_fsync.c: Likewise.
34712 2012-02-26 Ulrich Drepper <drepper@gmail.com>
34714 * conform/Makefile (tests): Run only when not cross-compiling and
34715 when fast-check is not defined.
34717 * conform/conformtest.pl: XPG7 and POSIX2008 require C99.
34718 * conform/data/limits.h-data: Fixes for POSIX2008.
34719 * conform/run-conformtest.sh: Run all tests.
34720 * include/arpa/inet.h: Changes to allow conformtest.pl to use the
34722 * include/bits/dlfcn.h: Likewise.
34723 * include/langinfo.h: Likewise.
34724 * include/monetary.h: Likewise.
34725 * include/sys/poll.h: Likewise.
34727 * io/fcntl.h: Define AT_NO_AUTOMOUNT and AT_EMPTY_PATH only
34729 * posix/spawn.h: Define __need_sigset_t.
34730 * posix/sys/wait.h: Don't include <sys/resource.h>, define id_t here.
34731 * posix/unistd.h: Declare ctermid only for XPG before XPG6.
34732 * rt/aio.h: Don't include fcntl.h and signal.h. Use bits/siginfo.h
34733 to get sigevent_t only.
34734 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg and recvmmsg
34735 only for __USE_GNU.
34736 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
34737 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
34738 process_vm_writev only for __USE_GNU.
34739 * termios/termios.h: Declare tcgetsid also for POSIX2008.
34741 * conform/Makefile: For now ignore errors from run-conformtest.
34742 * conform/conformtest.pl: Simplify code. Add -ansi to CFLAGS for
34743 POSIX to avoid namespace pollution. Don't prepend headers.
34744 * conform/data/aio.h-data: Fixes for POSIX testing.
34745 * conform/data/fcntl.h-data: Likewise.
34746 * conform/data/glob.h-data: Likewise.
34747 * conform/data/grp.h-data: Likewise.
34748 * conform/data/pthread.h-data: Likewise.
34749 * conform/data/pwd.h-data: Likewise.
34750 * conform/data/signal.h-data: Likewise.
34751 * conform/data/spawn.h-data: Likewise.
34752 * conform/data/stdio.h-data: Likewise.
34753 * conform/data/stdlib.h-data: Likewise.
34754 * conform/data/stropts.h-data: Likewise.
34755 * conform/data/sys/mman.h-data: Likewise.
34756 * conform/data/sys/stat.h-data: Likewise.
34757 * conform/data/sys/types.h-data: Likewise.
34758 * conform/data/sys/wait.h-data: Likewise.
34759 * conform/data/time.h-data: Likewise.
34760 * conform/data/unistd.h-data: Likewise.
34761 * conform/data/utime.h-data: Likewise.
34763 * io/sys/stat.h: fchmod was always in POSIX.
34764 * posix/sys/wait.h: Include <sys/resource.h> only for waitid.
34765 * posix/unistd.h: fsync and ftruncate were in early POSIX as well.
34766 * rt/aio.h: Define __need_timespec before including <time.h>.
34767 * sysdeps/unix/sysv/linux/bits/siginfo.h: Don't name siginfo_t
34768 struct. Add forward declaration of pthread_attr_t and use it in
34770 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
34771 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
34772 * sysdeps/unix/sysv/linux/bits/time.h: Don't let __STRICT_ANSI__
34773 always remove CLK_TCK definition.
34775 2012-02-26 Andreas Schwab <schwab@linux-m68k.org>
34777 * sysdeps/ieee754/dbl-64/k_tan.c: Replace with empty file.
34779 2012-02-25 Ulrich Drepper <drepper@gmail.com>
34781 * conform/run-conformtest.sh: New file.
34782 * conform/Makefile: Run run-conformtest for tests.
34783 * conform/conformtest.pl: Many bug fixes. Add ISO C99, ISO C11
34786 * conform/data/uchar.h-data: New file.
34787 * conform/data/aio.h-data: Fixes for ISO C and POSIX 1995 testing.
34788 * conform/data/arpa/inet.h-data: Likewise.
34789 * conform/data/assert.h-data: Likewise.
34790 * conform/data/complex.h-data: Likewise.
34791 * conform/data/cpio.h-data: Likewise.
34792 * conform/data/ctype.h-data: Likewise.
34793 * conform/data/dirent.h-data: Likewise.
34794 * conform/data/dlfcn.h-data: Likewise.
34795 * conform/data/errno.h-data: Likewise.
34796 * conform/data/fcntl.h-data: Likewise.
34797 * conform/data/float.h-data: Likewise.
34798 * conform/data/fmtmsg.h-data: Likewise.
34799 * conform/data/fnmatch.h-data: Likewise.
34800 * conform/data/ftw.h-data: Likewise.
34801 * conform/data/glob.h-data: Likewise.
34802 * conform/data/grp.h-data: Likewise.
34803 * conform/data/iconv.h-data: Likewise.
34804 * conform/data/inttypes.h-data: Likewise.
34805 * conform/data/langinfo.h-data: Likewise.
34806 * conform/data/libgen.h-data: Likewise.
34807 * conform/data/limits.h-data: Likewise.
34808 * conform/data/locale.h-data: Likewise.
34809 * conform/data/math.h-data: Likewise.
34810 * conform/data/monetary.h-data: Likewise.
34811 * conform/data/mqueue.h-data: Likewise.
34812 * conform/data/ndbm.h-data: Likewise.
34813 * conform/data/net/if.h-data: Likewise.
34814 * conform/data/netdb.h-data: Likewise.
34815 * conform/data/netinet/in.h-data: Likewise.
34816 * conform/data/nl_types.h-data: Likewise.
34817 * conform/data/poll.h-data: Likewise.
34818 * conform/data/pthread.h-data: Likewise.
34819 * conform/data/pwd.h-data: Likewise.
34820 * conform/data/regex.h-data: Likewise.
34821 * conform/data/sched.h-data: Likewise.
34822 * conform/data/search.h-data: Likewise.
34823 * conform/data/semaphore.h-data: Likewise.
34824 * conform/data/setjmp.h-data: Likewise.
34825 * conform/data/signal.h-data: Likewise.
34826 * conform/data/spawn.h-data: Likewise.
34827 * conform/data/stdarg.h-data: Likewise.
34828 * conform/data/stdio.h-data: Likewise.
34829 * conform/data/stdlib.h-data: Likewise.
34830 * conform/data/string.h-data: Likewise.
34831 * conform/data/strings.h-data: Likewise.
34832 * conform/data/stropts.h-data: Likewise.
34833 * conform/data/sys/ipc.h-data: Likewise.
34834 * conform/data/sys/mman.h-data: Likewise.
34835 * conform/data/sys/msg.h-data: Likewise.
34836 * conform/data/sys/resource.h-data: Likewise.
34837 * conform/data/sys/select.h-data: Likewise.
34838 * conform/data/sys/sem.h-data: Likewise.
34839 * conform/data/sys/shm.h-data: Likewise.
34840 * conform/data/sys/socket.h-data: Likewise.
34841 * conform/data/sys/stat.h-data: Likewise.
34842 * conform/data/sys/statvfs.h-data: Likewise.
34843 * conform/data/sys/time.h-data: Likewise.
34844 * conform/data/sys/timeb.h-data: Likewise.
34845 * conform/data/sys/times.h-data: Likewise.
34846 * conform/data/sys/types.h-data: Likewise.
34847 * conform/data/sys/uio.h-data: Likewise.
34848 * conform/data/sys/un.h-data: Likewise.
34849 * conform/data/sys/utsname.h-data: Likewise.
34850 * conform/data/sys/wait.h-data: Likewise.
34851 * conform/data/syslog.h-data: Likewise.
34852 * conform/data/tar.h-data: Likewise.
34853 * conform/data/termios.h-data: Likewise.
34854 * conform/data/utime.h-data: Likewise.
34855 * conform/data/utmpx.h-data: Likewise.
34856 * conform/data/varargs.h-data: Likewise.
34857 * conform/data/wchar.h-data: Likewise.
34858 * conform/data/wctype.h-data: Likewise.
34859 * conform/data/wordexp.h-data: Likewise.
34861 * include/stropts.h: New file.
34862 * include/uchar.h: New file.
34863 * include/aio.h: Changes to allow conformtest.pl to use the headers.
34864 * include/assert.h: Likewise.
34865 * include/ctype.h: Likewise.
34866 * include/dirent.h: Likewise.
34867 * include/dlfcn.h: Likewise.
34868 * include/fcntl.h: Likewise.
34869 * include/fnmatch.h: Likewise.
34870 * include/glob.h: Likewise.
34871 * include/grp.h: Likewise.
34872 * include/libio.h: Likewise.
34873 * include/locale.h: Likewise.
34874 * include/math.h: Likewise.
34875 * include/net/if.h: Likewise.
34876 * include/netdb.h: Likewise.
34877 * include/netinet/in.h: Likewise.
34878 * include/pthread.h: Likewise.
34879 * include/pwd.h: Likewise.
34880 * include/regex.h: Likewise.
34881 * include/sched.h: Likewise.
34882 * include/search.h: Likewise.
34883 * include/setjmp.h: Likewise.
34884 * include/signal.h: Likewise.
34885 * include/stdio.h: Likewise.
34886 * include/stdlib.h: Likewise.
34887 * include/string.h: Likewise.
34888 * include/sys/cdefs.h: Likewise.
34889 * include/sys/mman.h: Likewise.
34890 * include/sys/msg.h: Likewise.
34891 * include/sys/resource.h: Likewise.
34892 * include/sys/select.h: Likewise.
34893 * include/sys/socket.h: Likewise.
34894 * include/sys/stat.h: Likewise.
34895 * include/sys/statvfs.h: Likewise.
34896 * include/sys/time.h: Likewise.
34897 * include/sys/times.h: Likewise.
34898 * include/sys/uio.h: Likewise.
34899 * include/sys/utsname.h: Likewise.
34900 * include/sys/wait.h: Likewise.
34901 * include/termios.h: Likewise.
34902 * include/time.h: Likewise.
34903 * include/ulimit.h: Likewise.
34904 * include/unistd.h: Likewise.
34905 * include/utime.h: Likewise.
34906 * include/wchar.h: Likewise.
34907 * include/wctype.h: Likewise.
34908 * include/wordexp.h: Likewise.
34910 * posix/tar.h (TSVTX): Should not be visible for POSIX before 2008.
34912 * time/time.h: TIME_UTC must be a macro.
34913 Make timespec_get available for ISO C11 only as well.
34915 2012-02-24 Ulrich Drepper <drepper@gmail.com>
34917 * stdlib/fmtmsg.c (fmtmsg): Lock around use of severity list.
34918 Reported by Peng Haitao <penght@cn.fujitsu.com>.
34920 2012-02-24 Joseph Myers <joseph@codesourcery.com>
34922 * configure.in: Use -o not -a in test for unsupported multi-arch.
34924 2012-02-24 Joseph Myers <joseph@codesourcery.com>
34926 * manual/texinfo.tex: Update to version 2012-01-19.16.
34928 2012-02-24 Joseph Myers <joseph@codesourcery.com>
34930 * manual/Makefile (licenses): Change fdl-1.1.texi to fdl-1.3.texi.
34932 2012-02-24 Roland McGrath <roland@hack.frob.com>
34935 * manual/libc.texinfo (FDL_VERSION): Set to 1.3.
34936 * manual/fdl-1.3.texi: New file.
34937 * manual/fdl-1.1.texi: File removed.
34940 * manual/libc.texinfo (FDL_VERSION): New @set.
34941 Use it for mention of FDL in cover text.
34942 (Documentation License): Use it in @include file name.
34944 2012-02-22 Joseph Myers <joseph@codesourcery.com>
34945 Roland McGrath <roland@hack.frob.com>
34948 * manual/arith.texi (strtoll): Refer to LLONG_MAX and LLONG_MIN)
34949 (not LONG_LONG_MAX and LONG_LONG_MIN.
34950 * manual/lang.texi (LONG_LONG_MIN): Document first as ISO
34951 LLONG_MIN. Refer to LONG_LONG_MIN only as older GCC-specific
34953 (LONG_LONG_MAX, LLONG_MAX, ULONG_LONG_MAX, ULLONG_MAX): Likewise.
34955 2012-02-22 Joseph Myers <joseph@codesourcery.com>
34959 * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Do not
34960 manipulate bits before adding and subtracting TWO23[sx].
34961 * math/libm-test.inc (nearbyint_test): Add more tests.
34963 2012-02-22 Joseph Myers <joseph@codesourcery.com>
34966 * sysdeps/ieee754/flt-32/s_rintf.c (__rintf): Do not manipulate
34967 bits before adding and subtracting TWO23[sx].
34968 * math/libm-test.inc (rint_test): Add more tests.
34969 (rint_test_tonearest): Likewise.
34970 (rint_test_towardzero): Likewise.
34971 (rint_test_downward): Likewise.
34972 (rint_test_upward: Likewise.
34974 2012-02-22 Joseph Myers <joseph@codesourcery.com>
34977 * include/stdc-predef.h: New file. Extracted from features.h.
34978 * include/features.h: Include stdc-predef.h.
34979 * Makefile (headers): Add stdc-predef.h.
34980 * CONFORMANCE (Compiler limitations): Update.
34982 2012-02-22 Joseph Myers <joseph@codesourcery.com>
34984 * manual/libc.texinfo (VERSION, UPDATED): Revert.
34986 2012-02-21 David S. Miller <davem@davemloft.net>
34988 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: More jn test ULP updates.
34989 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
34991 2012-02-20 David S. Miller <davem@davemloft.net>
34993 * sysdeps/sparc/sparc32/__longjmp.S: Unwind in the 'thread' path
34994 using a normal save/restore sequence, rather than allocating a
34995 dummy stack frame just to store a frame pointer and restore.
34996 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
34998 2012-02-21 Joseph Myers <joseph@codesourcery.com>
35000 * manual/install.texi: Fix stray word in line-wrapped comment.
35002 2012-02-20 David S. Miller <davem@davemloft.net>
35004 * sysdeps/sparc/elf/configure.in (PI_STATIC_AND_HIDDEN): Define if
35005 both binutils and gcc support GOTDATA.
35007 * sysdeps/unix/sparc/sysdep.h: Document why we don't use
35008 "rd %pc" in the PIC register setup sequences.
35010 * sysdeps/sparc/crti.S: Try to use GOTDATA relocs.
35011 * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
35012 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
35013 * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
35014 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
35015 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
35016 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
35017 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
35018 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h
35019 (SYSCALL_ERROR_HANDLER): Likewise.
35020 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
35021 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
35022 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h
35023 (SYSCALL_ERROR_HANDLER): Likewise.
35025 * config.h.in (HAVE_BINUTILS_GOTDATA): New.
35026 (HAVE_GCC_GOTDATA): New.
35027 * sysdeps/sparc/elf/configure.in: Test for GOTDATA
35028 relocation support in both binutils and gcc.
35029 * sysdeps/sparc/elf/configure: Regenerate.
35031 * sysdeps/sparc/sparc32/elf/configure.in: Delete.
35032 * sysdeps/sparc/sparc32/elf/configure: Delete.
35033 * sysdeps/sparc/sparc64/elf/configure.in: Delete.
35034 * sysdeps/sparc/sparc64/elf/configure: Delete.
35035 * sysdeps/sparc/elf/configure.in: New file.
35036 * sysdeps/sparc/elf/configure: Generate.
35038 * sysdeps/sparc/sparc32/elf/configure.in: Delete WDISP22 check.
35039 * sysdeps/sparc/sparc32/elf/configure: Regenerate.
35040 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
35041 * sysdeps/sparc/sparc64/elf/configure: Regenerate.
35042 * config.h.in (BROKEN_SPARC_WDISP22): Remove.
35044 2012-02-21 Joseph Myers <joseph@codesourcery.com>
35046 * manual/install.texi: Do not mention specific glibc version
35048 * manual/libc.texinfo (VERSION, UPDATED): Update.
35049 (@copying): Use @copyright{} and range of years.
35051 2012-02-21 Joseph Myers <joseph@codesourcery.com>
35054 * csu/Makefile (distribute): Remove initfini.c and defs.awk.
35055 [crti.S not in sysdirs] (generated): Do not append.
35056 [crti.S not in sysdirs] (omit-deps): Likewise.
35057 [crti.S not in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Remove rule.
35058 [crti.S not in sysdirs] ($(objpfx)initfini.s): Likewise.
35059 [crti.S not in sysdirs] ($(objpfx)crti.S): Likewise.
35060 [crti.S not in sysdirs] ($(objpfx)crtn.S): Likewise.
35061 [crti.S not in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)):
35063 [crti.S not in sysdirs] ($(objpfx)defs.h): Likewise.
35064 [crti.S not in sysdirs] (CFLAGS-initfini.s): Remove variable.
35065 [crti.S not in sysdirs] (initfini.c): Remove vpath directive.
35066 * csu/defs.awk: Remove file.
35067 * sysdeps/generic/initfini.c: Likewise.
35068 * sysdeps/powerpc/powerpc32/Makefile (CFLAGS-initfini.s): Remove
35070 * sysdeps/powerpc/powerpc64/Makefile (CFLAGS-initfini.s):
35073 2012-02-20 Joseph Myers <joseph@codesourcery.com>
35075 * sysdeps/unix/sysv/linux/bits/epoll.h: New file.
35076 * sysdeps/unix/sysv/linux/sparc/bits/epoll.h: Likewise.
35077 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Likewise.
35078 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Remove
35079 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
35080 * sysdeps/unix/sysv/linux/sys/epoll.h: Get flags from
35082 (EPOLL_CLOEXEC, EPOLL_NONBLOCK): Don't define here.
35083 (__EPOLL_PACKED): Define to empty if not defined by
35085 (struct epoll_event): Use __EPOLL_PACKED to make possibly packed.
35086 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
35089 2012-02-20 Joseph Myers <joseph@codesourcery.com>
35091 * sysdeps/unix/sysv/linux/bits/timerfd.h: New file.
35092 * sysdeps/unix/sysv/linux/sparc/bits/timerfd.h: Likewise.
35093 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Remove.
35094 * sysdeps/unix/sysv/linux/sys/timerfd.h: Get flags from
35096 (TFD_CLOEXEC, TFD_NONBLOCK): Don't define here.
35097 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
35100 2012-02-20 Joseph Myers <joseph@codesourcery.com>
35102 * sysdeps/i386/fpu/libm-test-ulps: Resort with gen-libm-test.pl -n
35104 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
35105 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
35106 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Likewise.
35107 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
35109 2012-02-20 Aurelien Jarno <aurelien@aurel32.net>
35111 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Adjust ULPs for jn tests.
35112 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
35114 2012-02-19 Andreas Schwab <schwab@linux-m68k.org>
35116 * manual/errno.texi (Error Codes): Add EHWPOISON entry.
35117 * sysdeps/unix/sysv/linux/bits/errno.h (EHWPOISON): Define if not
35119 * sysdeps/unix/sysv/linux/sparc/bits/errno.h (EHWPOISON):
35121 * sysdeps/unix/sysv/linux/sparc/Versions: Add new errlist compat
35124 2012-02-19 Aurelien Jarno <aurelien@aurel32.net>
35126 * math/w_acos.c: Use non-signaling floating-point comparisons.
35127 * math/w_acosf.c: Likewise.
35128 * math/w_acosh.c: Likewise.
35129 * math/w_acoshf.c: Likewise.
35130 * math/w_acoshl.c: Likewise.
35131 * math/w_acosl.c: Likewise.
35132 * math/w_asin.c: Likewise.
35133 * math/w_asinf.c: Likewise.
35134 * math/w_asinl.c: Likewise.
35135 * math/w_atanh.c: Likewise.
35136 * math/w_atanhf.c: Likewise.
35137 * math/w_atanhl.c: Likewise.
35138 * math/w_exp2.c: Likewise.
35139 * math/w_exp2f.c: Likewise.
35140 * math/w_exp2l.c: Likewise.
35141 * math/w_j0.c: Likewise.
35142 * math/w_j0f.c: Likewise.
35143 * math/w_j0l.c: Likewise.
35144 * math/w_j1.c: Likewise.
35145 * math/w_j1f.c: Likewise.
35146 * math/w_j1l.c: Likewise.
35147 * math/w_jn.c: Likewise.
35148 * math/w_jnf.c: Likewise.
35149 * math/w_log.c: Likewise.
35150 * math/w_log10.c: Likewise.
35151 * math/w_log10f.c: Likewise.
35152 * math/w_log10l.c: Likewise.
35153 * math/w_log2.c: Likewise.
35154 * math/w_log2f.c: Likewise.
35155 * math/w_log2l.c: Likewise.
35156 * math/w_logf.c: Likewise.
35157 * math/w_logl.c: Likewise.
35158 * math/w_sqrt.c: Likewise.
35159 * math/w_sqrtf.c: Likewise.
35160 * math/w_sqrtl.c: Likewise.
35161 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
35162 * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
35163 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
35164 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
35165 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
35167 2012-02-19 Joseph Myers <joseph@codesourcery.com>
35170 * manual/string.texi (strnlen): Use correct parameter name in
35171 equivalent expression.
35173 2012-02-19 Joseph Myers <joseph@codesourcery.com>
35176 * manual/users.texi (seteuid): Consistently use neweuid for
35179 2012-02-19 Joseph Myers <joseph@codesourcery.com>
35182 * manual/nss.texi (Services in the NSS configuration): Correct
35183 list of services in example configuration file.
35185 2012-02-19 Nick Bowler <nbowler@draconx.ca>
35188 * manual/arith.texi: Remove statements about negative zero
35189 behaving identically to zero.
35191 2012-02-18 Joseph Myers <joseph@codesourcery.com>
35194 * manual/install.texi: Do not document upgrading from libc5.
35196 2012-02-18 Joseph Myers <joseph@codesourcery.com>
35199 * manual/conf.texi (_POSIX_VERSION): Do not mention __POSIX__.
35201 2012-02-18 David S. Miller <davem@davemloft.net>
35203 * sysdeps/unix/sparc/sysdep.h (SPARC_PIC_THUNK): New macro.
35204 (SETUP_PIC_REG): Use SPARC_PIC_THUNK and don't save and restore
35205 %o7 across the call.
35206 (SETUP_PIC_REG_LEAF): Do %o7 save/restore in this new macro
35208 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Use
35209 SETUP_PIC_REG_LEAF.
35210 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
35211 * sysdeps/sparc/crti.S: Use SETUP_PIC_REG.
35212 * sysdeps/sparc/crtn.S: Likewise.
35214 2012-02-17 Ulrich Drepper <drepper@gmail.com>
35216 * aout/Makefile: Remove.
35218 2012-02-18 Rafe Kettler <rafe.kettler@gmail.com>
35221 * manual/examples/argp-ex1.c (main): Format definition in GNU
35223 * manual/examples/argp-ex2.c (main): Likewise.
35224 * manual/examples/argp-ex3.c (main): Likewise.
35225 * manual/examples/argp-ex4.c (main): Likewise.
35226 * manual/examples/longopt.c (main): Use new-style prototype
35228 * manual/examples/strncat.c (main): Specify return type and use
35229 (void) for arguments.
35230 * manual/examples/subopt.c (main): Use char **argv argument.
35232 2012-02-17 Joseph Myers <joseph@codesourcery.com>
35235 * manual/lang.texi (FLT_EPSILON): Avoid description depending on
35238 2012-02-17 Fabrice Bauzac <fabrice.bauzac@wanadoo.fr>
35241 * manual/string.texi (strchr): Change when strchrnul is
35244 2012-02-17 Dwayne Grant McConnell <decimal@us.ibm.com>
35247 * manual/locale.texi (setlocale): Document LOCPATH.
35249 2012-02-17 Joseph Myers <joseph@codesourcery.com>
35252 * manual/process.texi (execle): Move @dots{} before last argument.
35254 2012-02-17 Paul Bolle <pebolle@tiscali.nl>
35257 * manual/charset.texi (Generic Charset Conversion): Fix typo
35258 (LC_TYPE -> LC_CTYPE).
35260 2012-02-17 Nicolas Boulenguez <nicolas.boulenguez@free.fr>
35263 * manual/arith.texi (scalbn): Use @var{} on parameter names.
35264 (scalbnf): Likewise.
35265 (scalbnl): Likewise.
35266 (scalbln): Likewise.
35267 (scalblnf): Likewise.
35268 (scalblnl): Likewise.
35269 * manual/errno.texi (vwarn): Name last parameter as @var{ap}.
35270 (vwarnx): Likewise.
35273 * manual/filesys.texi (telldir): Use braces around return type.
35274 * manual/llio.texi (mmap): Add space after comma.
35275 (mmap64): Likewise.
35276 * manual/math.texi (jn): Use @var{} on parameter names.
35282 * manual/memory.texi (alloca): Remove semicolon on @deftypefun
35284 * manual/resource.texi (ulimit): Use @dots{} instead of literal
35286 (sched_get_priority_min): Remove semicolon on @deftypefun line.
35287 (sched_get_priority_max): Likewise.
35288 * manual/signal.texi (sigvec): Add space after comma.
35289 * manual/socket.texi (if_nametoindex): Use @var{} on parameter
35291 (if_indextoname): Likewise.
35292 (if_freenameindex): Likewise.
35293 (sendto): Use ',' instead of '.' in prototype.
35294 * manual/startup.texi (syscall): Use @dots{} instead of literal
35296 * manual/stdio.texi (__fpending): Separate initial words of
35297 paragraph from @deftypefun line.
35298 * manual/syslog.texi (syslog): Use @dots{} instead of literal
35300 (vsyslog): Use @var{} on parameter names.
35301 * manual/terminal.texi (stty): Use @var{} on parameter names.
35302 * manual/users.texi (getutmp): Use @var{} on parameter names.
35303 (getutmpx): Likewise.
35305 2012-02-17 Joseph Myers <joseph@codesourcery.com>
35308 * manual/stdio.texi (fopen): Fix typos in description of
35311 2012-02-17 Aurelien Jarno <aurelien@aurel32.net>
35314 * sysdeps/unix/sysv/linux/clock_settime.c: include <time.h> to
35315 get clock_id definition.
35317 2012-02-17 Thomas Schwinge <thomas@schwinge.name>
35320 * sysdeps/mach/hurd/malloc-machine.h: #include <sys/mman.h>.
35321 (madvise): Cast every argument to void on its own.
35323 2012-02-17 Joseph Myers <joseph@codesourcery.com>
35326 * manual/startup.texi (Exit Status): Fix typo.
35328 2012-02-17 Joseph Myers <joseph@codesourcery.com>
35331 * manual/examples/argp-ex1.c: Include <stdlib.h>.
35332 * manual/examples/argp-ex2.c: Likewise.
35333 * manual/examples/argp-ex3.c: Likewise.
35335 2012-02-16 Richard Henderson <rth@redhat.com>
35337 * sysdeps/s390/s390-32/crti.S, sysdeps/s390/s390-32/crtn.S: New files.
35338 * sysdeps/s390/s390-32/initfini.c: Remove.
35339 * sysdeps/s390/s390-64/crti.S, sysdeps/s390/s390-64/crtn.S:
35340 * sysdeps/s390/s390-64/initfini.c: Remove.
35342 2012-02-15 Kaz Kojima <kkojima@rr.iij4u.or.jp>
35344 * sysdeps/sh/crti.S, sysdeps/sh/crtn.S: New files, based on
35345 compiler output for sysdeps/generic/initfini.c.
35346 * sysdeps/sh/elf/initfini.c: Remove file.
35348 2012-02-16 David S. Miller <davem@davemloft.net>
35351 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_FSYNC): Define.
35353 * sysdeps/sparc/Makefile: Add -fPIC when building crt{i,n}.S
35354 * sysdeps/sparc/crti.S: New file.
35355 * sysdeps/sparc/crtn.S: New file.
35356 * sysdeps/sparc/sparc32/Makefile: Remove initfini handling.
35357 * sysdeps/sparc/sparc64/Makefile: Likewise.
35359 2012-02-15 Mike Frysinger <vapier@gentoo.org>
35362 * sysdeps/unix/sysv/linux/getcwd.c: Include sys/param.h.
35364 2012-02-15 Roland McGrath <roland@hack.frob.com>
35367 * sysdeps/mach/hurd/malloc-machine.h (madvise): New macro.
35369 * mach/devstream.c (cookie_io_functions_t): Macro removed.
35370 (write, read, close): Likewise.
35371 Patch by Aurelien Jarno <aurelien@aurel32.net>.
35373 2012-02-15 Joseph Myers <joseph@codesourcery.com>
35375 * sysdeps/unix/sysv/linux/bits/signalfd.h: New file.
35376 * sysdeps/unix/sysv/linux/sparc/bits/signalfd.h: Likewise.
35377 * sysdeps/unix/sysv/linux/sparc/sys/signalfd.h: Remove.
35378 * sysdeps/unix/sysv/linux/sys/signalfd.h: Get flags from
35380 (SFD_CLOEXEC, SFD_NONBLOCK): Don't define here.
35381 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
35384 2012-02-14 Marek Polacek <polacek@redhat.com>
35386 * sysdeps/x86_64/crti.S: New file.
35387 * sysdeps/x86_64/crtn.S: New file.
35388 * sysdeps/x86_64/elf/initfini.c: Remove file.
35390 2012-02-13 Joseph Myers <joseph@codesourcery.com>
35392 * sysdeps/unix/sysv/linux/bits/inotify.h: New file.
35393 * sysdeps/unix/sysv/linux/sparc/bits/inotify.h: Likewise.
35394 * sysdeps/unix/sysv/linux/sparc/sys/inotify.h: Remove.
35395 * sysdeps/unix/sysv/linux/sys/inotify.h: Get flags from
35397 (IN_CLOEXEC, IN_NONBLOCK): Don't define here.
35398 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
35401 2012-02-13 Joseph Myers <joseph@codesourcery.com>
35403 * sysdeps/unix/sysv/linux/bits/eventfd.h: New file.
35404 * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h: Likewise.
35405 * sysdeps/unix/sysv/linux/sparc/sys/eventfd.h: Remove.
35406 * sysdeps/unix/sysv/linux/sys/eventfd.h: Get flags from
35408 (EFD_SEMAPHORE, EFD_CLOEXEC, EFD_NONBLOCK): Don't define here.
35409 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
35412 2012-02-10 Thomas Schwinge <thomas@codesourcery.com>
35414 * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Invoke
35415 __feraiseexcept instead of feraiseexcept.
35417 * rt/tst-cpuclock1.c: Add a few comments, and error checking for
35418 nanosleep invocations.
35419 * rt/tst-cpuclock2.c: Print some values as intended, fix explanatory
35420 strings, and add error checking for a nanosleep invocations.
35422 2012-02-09 Paul Eggert <eggert@cs.ucla.edu>
35424 Replace FSF snail mail address with URLs, as per GNU coding standards.
35425 Most of the snail mail addresses were wrong anyway, and omitting
35426 them makes the source code easier to maintain. Almost all of the
35427 changes are to license notices and to locale LC_IDENTIFICATION
35428 addresses, except for this one:
35429 * manual/libc.texinfo: In "Published by", give the FSF's URL,
35430 not its snail mail address.
35432 2012-02-09 Richard Henderson <rth@twiddle.net>
35434 * sysdeps/unix/sysv/linux/internal_statvfs.c: Use <> for include
35435 of kernel-features.h.
35437 * elf/dl-tls.c (update_get_addr): Avoid pointer type mismatch warning.
35439 2012-02-08 Marek Polacek <polacek@redhat.com>
35441 * libio/libio.h: Remove _G_HAVE_SYS_CDEFS conditional.
35442 * sysdeps/mach/hurd/_G_config.h: Remove _G_HAVE_SYS_CDEFS macro.
35443 * sysdeps/gnu/_G_config.h: Likewise.
35444 * sysdeps/generic/_G_config.h: Likewise.
35446 2012-02-08 Andreas Schwab <schwab@linux-m68k.org>
35448 * sysdeps/i386/fpu/libm-test-ulps: Reduce ldouble ULPs for jn
35450 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
35452 * sysdeps/powerpc/powerpc32/crti.S: New file.
35453 * sysdeps/powerpc/powerpc32/crtn.S: New file.
35454 * sysdeps/powerpc/powerpc64/crti.S: New file.
35455 * sysdeps/powerpc/powerpc64/crtn.S: New file.
35457 * Makeconfig (have-initfini): Don't set.
35458 * config.make.in (have-initfini, need-nopic-initfini): Don't set.
35459 * configure.in (nopic_initfini): Don't substitute.
35460 * config.h.in (HAVE_INITFINI): Don't #undef.
35461 * csu/Makefile (CPPFLAGS): Don't add -DHAVE_INITFINI.
35462 * csu/gmon-start.c: Assume HAVE_INITFINI is defined.
35464 2012-02-08 Joseph Myers <joseph@codesourcery.com>
35466 Support crti.S and crtn.S provided directly by architectures.
35467 * csu/Makefile [crti.S in sysdirs] (generated): Do not append.
35468 [crti.S in sysdirs] (omit-deps): Likewise.
35469 [crti.S in sysdirs] (CFLAGS-initfini.s): Do not define variable.
35470 [crti.S in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Disable rule.
35471 [crti.S in sysdirs] ($(objpfx)initfini.s): Likewise.
35472 [crti.S in sysdirs] ($(objpfx)crti.S): Likewise.
35473 [crti.S in sysdirs] ($(objpfx)crtn.S): Likewise.
35474 [crti.S in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)): Likewise.
35475 [crti.S in sysdirs] ($(objpfx)defs.h): Likewise.
35476 [crti.S in sysdirs] (initfini.c): Remove vpath directive.
35477 * sysdeps/i386/crti.S, sysdeps/i386/crtn.S: New files, based on
35478 compiler output for sysdeps/generic/initfini.c.
35479 * sysdeps/i386/elf/Makefile: Remove file.
35480 * sysdeps/i386/Makefile (CFLAGS-initfini.s): Remove variable.
35482 2012-02-07 Marek Polacek <polacek@redhat.com>
35484 * sysdeps/generic/_G_config.h: Remove _G_ARGS macro.
35485 * sysdeps/gnu/_G_config.h: Likewise.
35486 * sysdeps/mach/hurd/_G_config.h: Likewise.
35488 2012-02-07 Marek Polacek <polacek@redhat.com>
35490 * math/Makefile (tests): Add tst-CMPLX2.
35491 * math/tst-CMPLX2.c: New file.
35493 2012-02-07 Andreas Schwab <schwab@linux-m68k.org>
35495 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
35497 * math/libm-test.inc (jn_test): Add missing L suffix.
35499 2012-02-06 Marek Polacek <polacek@redhat.com>
35501 * sysdeps/s390/asm-syntax.h: Remove __ELF__ conditionals.
35502 * sysdeps/i386/fpu/e_powf.S: Likewise.
35503 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
35504 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
35505 * sysdeps/i386/fpu/e_acosh.S: Likewise.
35506 * sysdeps/i386/fpu/e_pow.S: Likewise.
35507 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
35508 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
35509 * sysdeps/i386/fpu/s_expm1.S: Likewise.
35510 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
35511 * sysdeps/i386/fpu/e_log2.S: Likewise.
35512 * sysdeps/i386/fpu/e_log2l.S: Likewise.
35513 * sysdeps/i386/fpu/e_scalb.S: Likewise.
35514 * sysdeps/i386/fpu/e_powl.S: Likewise.
35515 * sysdeps/i386/fpu/s_log1p.S: Likewise.
35516 * sysdeps/i386/fpu/e_log10f.S: Likewise.
35517 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
35518 * sysdeps/i386/fpu/e_logl.S: Likewise.
35519 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
35520 * sysdeps/i386/fpu/s_expm1l.S: Likewise.
35521 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
35522 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
35523 * sysdeps/i386/fpu/e_log2f.S: Likewise.
35524 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
35525 * sysdeps/i386/fpu/e_log.S: Likewise.
35526 * sysdeps/i386/fpu/s_cexp.S: Likewise.
35527 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
35528 * sysdeps/i386/fpu/s_log1pl.S: Likewise.
35529 * sysdeps/i386/fpu/e_logf.S: Likewise.
35530 * sysdeps/i386/fpu/e_log10l.S: Likewise.
35531 * sysdeps/i386/fpu/e_atanh.S: Likewise.
35532 * sysdeps/i386/fpu/s_log1pf.S: Likewise.
35533 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
35534 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
35535 * sysdeps/i386/fpu/e_log10.S: Likewise.
35536 * sysdeps/i386/fpu/s_frexp.S: Likewise.
35537 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
35538 * sysdeps/i386/fpu/s_asinh.S: Likewise.
35539 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
35540 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
35541 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
35542 * sysdeps/i386/asm-syntax.h: Likewise.
35543 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
35544 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
35545 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
35546 * sysdeps/x86_64/fpu/s_expm1l.S: Likewise.
35547 * sysdeps/x86_64/fpu/s_log1pl.S: Likewise.
35548 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
35549 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
35550 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
35551 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
35552 * sysdeps/powerpc/sysdep.h: Likewise.
35553 * sysdeps/powerpc/powerpc64/sysdep.h: Likewise.
35554 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
35556 2012-02-06 Joseph Myers <joseph@codesourcery.com>
35559 * sysdeps/i386/sysdep.h (__i686): Undefine and redefine.
35561 2012-02-06 Joseph Myers <joseph@codesourcery.com>
35563 * sysdeps/i386/sysdep.h: Include <features.h>.
35564 (GET_PC_THUNK, GET_PC_THUNK_STR): Define conditionally on compiler
35567 2012-02-05 Joseph Myers <joseph@codesourcery.com>
35569 * sysdeps/i386/sysdep.h (SETUP_PIC_REG_STR, LOAD_PIC_REG_STR):
35571 * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Use
35574 2012-02-03 Joseph Myers <joseph@codesourcery.com>
35576 * sysdeps/i386/sysdep.h (GET_PC_THUNK, GET_PC_THUNK_STR): Define.
35577 (SETUP_PIC_REG): Use GET_PC_THUNK.
35578 * sysdeps/unix/sysv/linux/i386/sysdep.h: Use GET_PC_THUNK_STR
35581 2012-02-03 Joseph Myers <joseph@codesourcery.com>
35583 * sysdeps/i386/sysdep.h (SETUP_PIC_REG, LOAD_PIC_REG): Define also
35584 for non-PIC compilation.
35585 (SETUP_PIC_REG): Add .p2align directive.
35586 * sysdeps/i386/i686/memcmp.S: Use macros for PIC register setup.
35587 * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
35588 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
35589 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
35590 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
35591 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
35592 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
35593 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
35594 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
35595 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
35596 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
35597 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
35598 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
35599 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
35600 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
35601 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
35602 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
35603 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
35604 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
35605 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
35606 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
35607 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
35608 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
35609 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
35610 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
35611 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
35612 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
35613 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
35614 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
35615 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
35616 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
35617 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
35618 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
35619 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
35620 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
35621 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
35622 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
35623 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
35624 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
35625 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
35626 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
35628 2012-02-03 Joseph Myers <joseph@codesourcery.com>
35630 * math/tst-CMPLX.c: Include <stdio.h>.
35632 2012-01-31 Joseph Myers <joseph@codesourcery.com>
35634 * sysdeps/powerpc/bits/mathdef.h (float_t): Always define as
35636 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
35637 * sysdeps/sparc/bits/mathdef.h: Likewise.
35639 2012-01-31 Marek Polacek <polacek@redhat.com>
35641 * libio/libio.h: Don't define _PARAMS.
35642 * locale/programs/config.h: Don't define PARAMS.
35643 * stdlib/strtol_l.c: Likewise.
35644 (__strtol_l): Remove PARAMS from the prototype.
35646 2012-01-31 Ulrich Drepper <drepper@gmail.com>
35648 * malloc/malloc.c: Remove name translation. Don't use mixed-cap
35649 names. Just use the correct names. Remove unnecessary wrapper
35651 * malloc/arena.c: Likewise.
35652 * malloc/hooks.c: Likewise.
35654 * malloc/arena.c (arena_get2): Really don't call __get_nprocs if
35655 ARENA_TEST says not to. Simplify test for creation of a new arena.
35656 Partially based on a patch by Siddhesh Poyarekar <siddhesh@redhat.com>.
35658 2012-01-30 Ulrich Drepper <drepper@gmail.com>
35660 * elf/dl-tls.c (__tls_get_addr): Optimize by transforming all calls
35662 (update_get_addr): New function.
35663 (tls_get_addr_tail): Take GET_ADDR_ARGS parameter, remove
35664 GET_ADDR_MODULE parameter.
35666 2012-01-30 Joseph Myers <joseph@codesourcery.com>
35668 * crypt/cert.c: Remove __STDC__ conditionals.
35669 * crypt/crypt-entry.c: Likewise.
35670 * crypt/crypt_util.c: Likewise.
35671 * libio/filedoalloc.c: Likewise.
35672 * libio/fileops.c: Likewise.
35673 * libio/genops.c: Likewise.
35674 * libio/iofclose.c: Likewise.
35675 * libio/iofdopen.c: Likewise.
35676 * libio/iofopen.c: Likewise.
35677 * libio/iofopen64.c: Likewise.
35678 * libio/iogetdelim.c: Likewise.
35679 * libio/iopopen.c: Likewise.
35680 * libio/obprintf.c: Likewise.
35681 * libio/oldfileops.c: Likewise.
35682 * libio/oldiofclose.c: Likewise.
35683 * libio/oldiofdopen.c: Likewise.
35684 * libio/oldiofopen.c: Likewise.
35685 * libio/oldiopopen.c: Likewise.
35686 * libio/wfiledoalloc.c: Likewise.
35687 * libio/wgenops.c: Likewise.
35688 * locale/programs/xmalloc.c: Likewise.
35689 * misc/syslog.c: Likewise.
35690 * stdio-common/xbug.c: Likewise.
35691 * string/memchr.c: Likewise.
35692 * string/memcmp.c: Likewise.
35693 * string/memrchr.c: Likewise.
35694 * string/rawmemchr.c: Likewise.
35695 * sysdeps/posix/getcwd.c: Likewise.
35696 * time/strftime_l.c: Likewise.
35698 2012-01-30 Joseph Myers <joseph@codesourcery.com>
35700 * configure.in (libc_cv_cc_sse2avx): AC_SUBST.
35701 * config.make.in (config-cflags-sse2avx): Define.
35702 * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-slowexp-avx.c):
35705 2012-01-29 Chris Metcalf <cmetcalf@tilera.com>
35707 * scripts/config.guess: Update from upstream config git repository.
35708 * scripts/config.sub: Likewise.
35710 2012-01-28 Chris Metcalf <cmetcalf@tilera.com>
35712 * elf/elf.h (EM_TILEPRO, EM_TILEGX): New macros.
35714 (R_TILEPRO_*, R_TILEGX_*): New macros.
35716 * scripts/firstversions.awk: Fix bug in version range handling.
35718 * sysdeps/unix/sysv/linux/grantpt.c: Use <> brackets for not-cancel.h.
35720 * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Call __fxstatat64.
35722 * include/sys/epoll.h: New file.
35723 * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Mark as
35726 2012-01-28 Ulrich Drepper <drepper@gmail.com>
35728 * sysdeps/x86_64/fpu/bits/mathinline.h (__signbitl): Optimize a bit.
35729 Avoid unnecessary __WORDSIZE == 64 test.
35730 (fmaxf): Use VEX format if possible.
35735 * config.h.in: Define HAVE_SSE2AVX_SUPPORT.
35736 * math/math_private.h: Remove libc_fegetround* and
35738 * sysdeps/i386/configure.in: Check for -msse2avx.
35739 * sysdeps/x86_64/fpu/math_private.h: Use VEX-encoded instructions
35740 also if SSE2AVX is defined.
35741 Remove libc_fegetround* and libc_fesetround*.
35742 * sysdeps/x86_64/fpu/multiarch/Makefile: Compile *-avx functions
35743 if config-cflags-sse2avx is yes. Also add -DSSE2AVX to defines.
35744 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_AVX again instead
35746 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
35747 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
35748 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
35749 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
35750 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
35752 * sysdeps/x86_64/fpu/math_private.h: Simplify use of AVX instructions.
35754 2012-01-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
35756 * sysdeps/powerpc/powerpc32/a2/memcpy.S: Fix for when cache line
35758 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
35760 2012-01-27 Ulrich Drepper <drepper@gmail.com>
35763 * elf/dl-open.c (dl_open_worker): Sort objects by dependency before
35765 * Makeconfig (libm): Define.
35766 * elf/Makefile: Add rules to build and run tst-relsort1.
35767 * elf/tst-relsort1.c: New file.
35768 * elf/tst-relsort1mod1.c: New file.
35769 * elf/tst-relsort1mod2.c: New file.
35771 2012-01-27 Joseph Myers <joseph@codesourcery.com>
35773 * math/s_ldexp.c: Remove __STDC__ conditionals.
35774 * math/s_ldexpf.c: Likewise.
35775 * math/s_ldexpl.c: Likewise.
35776 * math/s_nextafter.c: Likewise.
35777 * math/s_nexttowardf.c: Likewise.
35778 * math/s_significand.c: Likewise.
35779 * math/s_significandf.c: Likewise.
35780 * math/s_significandl.c: Likewise.
35781 * math/w_jnl.c: Likewise.
35782 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
35783 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
35784 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
35785 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
35786 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
35787 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
35788 * sysdeps/ieee754/dbl-64/k_tan.c: Likewise.
35789 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
35790 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
35791 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
35792 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
35793 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
35794 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
35795 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
35796 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
35797 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
35798 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
35799 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
35800 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
35801 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
35802 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
35803 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
35804 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
35805 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
35806 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
35807 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
35808 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
35809 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
35810 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
35811 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
35812 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
35813 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
35814 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
35815 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
35816 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
35817 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
35818 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
35819 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
35820 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
35821 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
35822 * sysdeps/ieee754/k_standard.c: Likewise.
35823 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
35824 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
35825 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
35826 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
35827 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
35828 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
35829 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
35830 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
35831 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
35832 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
35833 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
35834 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
35835 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
35836 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
35837 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
35838 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
35839 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
35840 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
35841 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
35842 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
35843 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
35844 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
35845 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
35846 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
35847 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
35848 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
35849 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
35850 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
35851 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
35852 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
35853 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
35854 * sysdeps/ieee754/ldbl-128ibm/s_ceill.c: Likewise.
35855 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
35856 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
35857 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
35858 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
35859 * sysdeps/ieee754/ldbl-128ibm/s_floorl.c: Likewise.
35860 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
35861 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
35862 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Likewise.
35863 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Likewise.
35864 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
35865 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
35866 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Likewise.
35867 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
35868 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
35869 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
35870 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
35871 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
35872 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
35873 * sysdeps/ieee754/ldbl-128ibm/s_roundl.c: Likewise.
35874 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
35875 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
35876 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
35877 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
35878 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
35879 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Likewise.
35880 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
35881 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
35882 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
35883 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
35884 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
35885 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
35886 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
35887 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
35888 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
35889 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
35890 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
35891 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
35892 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
35893 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
35894 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
35895 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
35896 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
35897 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
35898 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
35899 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
35900 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
35901 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
35902 * sysdeps/ieee754/s_matherr.c: Likewise.
35903 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
35904 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
35905 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
35906 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
35908 2012-01-26 Joseph Myers <joseph@codesourcery.com>
35910 * crypt/md5.h: Remove __STDC__ conditionals.
35911 * libio/libioP.h: Likewise.
35912 * locale/programs/config.h: Likewise.
35913 * sysdeps/generic/sysdep.h: Likewise.
35914 * sysdeps/i386/asm-syntax.h: Likewise.
35915 * sysdeps/s390/asm-syntax.h: Likewise.
35916 * sysdeps/unix/sysdep.h: Likewise.
35917 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
35918 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
35920 2012-01-26 Joseph Myers <joseph@codesourcery.com>
35922 * libio/libio.h: Remove __STDC__ conditionals.
35923 * malloc/obstack.h: Likewise.
35924 * math/complex.h: Likewise.
35925 * math/math.h: Likewise.
35926 * sysdeps/generic/_G_config.h: Likewise.
35927 * sysdeps/gnu/_G_config.h: Likewise.
35928 * sysdeps/mach/hurd/_G_config.h: Likewise.
35929 * sysdeps/powerpc/bits/mathdef.h: Likewise.
35930 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
35931 * sysdeps/sparc/bits/mathdef.h: Likewise.
35933 2012-01-26 Ulrich Drepper <drepper@gmail.com>
35936 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_OSXSAVE.
35937 Clean up HAS_* macros.
35938 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): If
35939 bit_AVX is set also check OSXAVE/XCR0 and set bit_YMM_Usable if
35941 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_YMM_USABLE, not
35943 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
35944 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
35945 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
35946 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
35947 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
35949 2012-01-25 Joseph Myers <joseph@codesourcery.com>
35951 * elf/tst-unique3.cc (gets): Remove declaration.
35952 * elf/tst-unique3lib.cc (gets): Likewise.
35953 * elf/tst-unique3lib2.cc (gets): Likewise.
35954 * elf/tst-unique4.cc (gets): Likewise.
35956 2012-01-24 Ulrich Drepper <drepper@gmail.com>
35958 * include/stdio.h: Add C++ protection. Add gets declarations and
35960 * debug/tst-chk1.c: Don't declare gets here.
35961 * stdio-common/tst-gets.c: Likewise.
35963 2012-01-24 Joseph Myers <joseph@codesourcery.com>
35965 * posix/glob: Remove directory.
35967 2012-01-24 Joseph Myers <joseph@codesourcery.com>
35969 * wcsmbs/Makefile (tst-c16c32-1-ENV): Define.
35971 2012-01-22 Pino Toscano <toscano.pino@tiscali.it>
35973 * sysdeps/mach/hurd/socket.c (__socket): Return EAFNOSUPPORT instead
35974 of the non-standard EPFNOSUPPORT.
35976 2011-12-26 Samuel Thibault <samuel.thibault@ens-lyon.org>
35978 * sysdeps/mach/hurd/mmap.c (__mmap): When MAPADDR is nonzero, try
35979 __vm_allocate and __vm_map with ANYWHERE set to 0 first, and try with
35980 ANYWHERE set to 1 only on KERN_NO_SPACE error.
35982 2012-01-21 Ulrich Drepper <drepper@gmail.com>
35984 * wcsmbs/uchar.h: Test __STDC_VERSION__.
35986 2012-01-20 Ulrich Drepper <drepper@gmail.com>
35988 * nscd/aicache.c (addhstaiX): Do not cache negative results of
35990 * nscd/grpcache.c (cache_addgr): Likewise.
35991 * nscd/hstcache.c (cache_addhst): Likewise.
35992 * nscd/initgrcache.c (addinitgroupsX): Likewise.
35993 * nscd/pwdcache.c (cache_addpw): Likewise.
35994 * nscd/servicescache.c (cache_addserv): Likewise.
35996 2012-01-16 Ulrich Drepper <drepper@gmail.com>
35998 * malloc/malloc.c: Various cleanups.
35999 * malloc/hooks.c: Likewise.
36001 * stdlib/Makefile (tests): Add bug-fmtmsg1.
36002 * stdlib/bug-fmtmsg1.c: New file.
36004 * stdlib/fmtmsg.c (init): Add missing unlock.
36005 Patch by Peng Haitao <penght@cn.fujitsu.com>.
36007 2012-01-12 Marek Polacek <polacek@redhat.com>
36009 * libio/bits/stdio2.h: Do not define gets for ISO C11, ISO C++11,
36012 2012-01-04 Will Schmidt <will_schmidt@vnet.ibm.com>
36014 * powerpc/powerpc32/sysdep.h: Add GLUE and GENERATE_GOT_LABEL macros.
36015 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Call
36016 macro to ensure uniqueness of label name.
36017 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
36018 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
36020 2012-01-11 Ulrich Drepper <drepper@gmail.com>
36022 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: New file.
36024 * sysdeps/ieee754/dbl-64/s_scalbln.c: Add branch prediction.
36025 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
36026 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
36027 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: New file.
36029 2012-01-10 Ulrich Drepper <drepper@gmail.com>
36031 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: New file.
36033 * sysdeps/ieee754/dbl-64/s_modf.c: Add branch prediction.
36034 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
36035 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
36037 * math/bits/mathcalls.h: Add const attribute to fmin and fmax.
36039 * sysdeps/ieee754/dbl-64/s_scalbn.c: Add branch prediction.
36040 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
36041 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
36042 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: New file.
36044 * math/bits/math-finite.h: Add ldexp support.
36046 2012-01-10 Marek Polacek <polacek@redhat.com>
36048 * locale/programs/localedef.h (show_archive_content): Add noreturn
36051 2012-01-09 Ulrich Drepper <drepper@gmail.com>
36053 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Add branch prediction.
36055 2012-01-08 Ulrich Drepper <drepper@gmail.com>
36057 * io/bits/poll2.h: Add __BEGIN/__END_DECLS.
36059 * io/Makefile (headers): Add bits/poll2.h.
36061 2011-01-05 Will Schmidt <will_schmidt@vnet.ibm.com>
36063 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Fix a
36064 typo #include statement.
36066 2012-01-08 Ulrich Drepper <drepper@gmail.com>
36068 * include/sys/cdefs.h: Define __attribute_alloc_size.
36069 * catgets/gencat.c: Add alloc_size attribute and apply consistently
36070 the malloc attribute to xmalloc, xcalloc, xrealloc, and xstrdup.
36071 * elf/pldd.c: Likewise.
36072 * iconv/iconv_charmap.c: Likewise.
36073 * iconv/iconvconfig.c: Likewise.
36074 * iconv/strtab.c: Likewise.
36075 * locale/programs/locale.c: Likewise.
36076 * locale/programs/localedef.h: Likewise.
36077 * locale/programs/simple-hash.c: Likewise.
36078 * nscd/nscd.h: Likewise.
36079 * nss/makedb.c: Likewise.
36080 * sysdeps/generic/ldconfig.h: Likewise.
36081 * locale/programs/localedef.c: Remove xmalloc prototype.
36082 * nscd/mem.c: Remove xmalloc and xcalloc prototypes.
36084 2012-01-05 Paul Pluzhnikov <ppluzhnikov@google.com>
36086 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Use alloca when
36089 2012-01-08 Ulrich Drepper <drepper@gmail.com>
36091 * math/Makefile (tests): Add tst-CMPLX.
36092 * math/tst-CMPLX.c: New file.
36094 * math/complex.h (CMPLXL): Fix typo.
36096 * debug/Makefile (routines): Add poll_chk and ppoll_chk.
36097 * debug/Versions: Export __pool_chk and __ppoll_chk from libc for
36099 * debug/tst-chk1.c: Add poll and ppoll tests.
36100 * io/sys/poll.h: Include bits/poll2.h for _FORTIFY_SOURCE.
36101 * include/sys/poll.h: Add hidden proto for ppoll.
36102 * sysdeps/unix/sysv/linux/ppoll.c: Add hidden def.
36103 * sysdeps/mach/hurd/ppoll.c: Likewise.
36104 * io/ppoll.c: Likewise.
36105 * debug/poll_chk.c: New file.
36106 * debug/ppoll_chk.c: New file.
36107 * include/bits/poll2.h: New file.
36108 * io/bits/poll2.h: New file.
36111 * math/complex.h (CMPLX, CMPLXF, CMPLXL): Define.
36113 * configure.in: static is always set to yes. Remove.
36114 * config.make.in: Don't set build-static.
36115 * Makeconfig: Remove use of build-static.
36116 * dlfcn/Makefile: Likewise.
36117 * elf/Makefile: Likewise.
36118 * math/Makefile: Likewise.
36119 * misc/Makefile: Likewise.
36120 * nptl/Makefile: Likewise.
36121 * sysdeps/mach/hurd/Makefile: Likewise.
36123 * configure.in: PWD_P is not used anymore.
36124 * config.make.in: Remove PWD_P entry.
36126 * configure.in: Remove last remnants of RANLIB.
36127 No need to check for signed size_t anymore.
36128 Don't set libc_commonpagesize and libc_relro_required here for Alpha
36130 Remove __builtin_expect test because we require at least gcc 3.4.
36131 * aclocal.m4: Likewise.
36133 * wcsmbs/mbrtoc16.c: Implement using towc function.
36134 * wcsmbs/wcsmbsload.h: No need for toc16 and fromc16 functions.
36135 * wcsmbs/wcsmbsload.c: Likewise.
36136 * iconv/gconv_simple.c: Likewise.
36137 * iconv/gconv_int.h: Likewise.
36138 * iconv/gconv_builtin.h: Likewise.
36139 * iconv/iconv_prog.c: Remove CHAR16 handling.
36141 * wcsmbs/c16rtomb.c: Remove #if 0'ed code.
36143 * wcsmbs/mbrtowc.c: Better check for invalid inputs.
36145 * configure.in: Remove --with-elf and --enable-bounded options.
36146 Dont set base_machine for ia64. More non-ELF conditions removed.
36147 Remove testing and setting of leading underscore information.
36148 * config.make.in (build-bounded): Set to no.
36149 * config.h.in: Remove NO_UNDERSCORES entry.
36150 * include/libc-symbols.h: Don't define HAVE_WEAK_SYMBOLS. ELF has
36152 * csu/start.c: Remove !NO_UNDERSCORE code.
36153 * locale/localeinfo.h: Likewise.
36154 * sysdeps/generic/machine-gmon.h: Likewise.
36155 * sysdeps/generic/sysdep.h: Likewise.
36156 * sysdeps/i386/sysdep.h: Likewise.
36157 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
36158 * sysdeps/mach/sysdep.h: Likewise.
36159 * sysdeps/s390/s390-32/sysdep.h: Likewise.
36160 * sysdeps/s390/s390-64/sysdep.h: Likewise.
36161 * sysdeps/sh/sysdep.h: Likewise.
36162 * sysdeps/sparc/sparc32/alloca.S: Likewise.
36163 * sysdeps/unix/i386/sysdep.S: Likewise.
36164 * sysdeps/unix/sparc/start.c: Likewise.
36165 * sysdeps/unix/sparc/sysdep.S: Likewise.
36166 * sysdeps/unix/sparc/sysdep.h: Likewise.
36167 * sysdeps/unix/start.c: Likewise.
36168 * sysdeps/unix/x86_64/sysdep.S: Likewise.
36169 * sysdeps/x86_64/sysdep.h: Likewise.
36171 2012-01-07 Ulrich Drepper <drepper@gmail.com>
36174 * misc/sys/cdefs.h: Remove __const, __signed, and __volatile definition
36176 * argp/argp-fmtstream.h: Use const instead __const.
36177 * argp/argp.h: Likewise.
36178 * assert/assert.h: Likewise.
36179 * bits/fenv.h: Likewise.
36180 * bits/sched.h: Likewise.
36181 * bits/sigset.h: Likewise.
36182 * bits/sigthread.h: Likewise.
36183 * catgets/nl_types.h: Likewise.
36184 * conform/data/pthread.h-data: Likewise.
36185 * crypt/crypt-private.h: Likewise.
36186 * crypt/crypt.h: Likewise.
36187 * crypt/crypt_util.c: Likewise.
36188 * ctype/ctype.h: Likewise.
36189 * debug/execinfo.h: Likewise.
36190 * debug/mbsnrtowcs_chk.c: Likewise.
36191 * debug/mbsrtowcs_chk.c: Likewise.
36192 * debug/wcsnrtombs_chk.c: Likewise.
36193 * debug/wcsrtombs_chk.c: Likewise.
36194 * debug/wcstombs_chk.c: Likewise.
36195 * dirent/dirent.h: Likewise.
36196 * dlfcn/dlfcn.h: Likewise.
36197 * elf/neededtest4.c: Likewise.
36198 * grp/grp.h: Likewise.
36199 * gshadow/gshadow.h: Likewise.
36200 * iconv/gconv.h: Likewise.
36201 * iconv/gconv_int.h: Likewise.
36202 * iconv/gconv_simple.c: Likewise.
36203 * iconv/iconv.h: Likewise.
36204 * iconv/loop.c: Likewise.
36205 * iconv/skeleton.c: Likewise.
36206 * include/aio.h: Likewise.
36207 * include/aliases.h: Likewise.
36208 * include/argz.h: Likewise.
36209 * include/arpa/inet.h: Likewise.
36210 * include/assert.h: Likewise.
36211 * include/dirent.h: Likewise.
36212 * include/dlfcn.h: Likewise.
36213 * include/execinfo.h: Likewise.
36214 * include/fcntl.h: Likewise.
36215 * include/fenv.h: Likewise.
36216 * include/glob.h: Likewise.
36217 * include/grp.h: Likewise.
36218 * include/libintl.h: Likewise.
36219 * include/mntent.h: Likewise.
36220 * include/netdb.h: Likewise.
36221 * include/pwd.h: Likewise.
36222 * include/rpc/netdb.h: Likewise.
36223 * include/sched.h: Likewise.
36224 * include/search.h: Likewise.
36225 * include/shadow.h: Likewise.
36226 * include/signal.h: Likewise.
36227 * include/stdio.h: Likewise.
36228 * include/stdlib.h: Likewise.
36229 * include/string.h: Likewise.
36230 * include/sys/socket.h: Likewise.
36231 * include/sys/stat.h: Likewise.
36232 * include/sys/statfs.h: Likewise.
36233 * include/sys/statvfs.h: Likewise.
36234 * include/sys/syslog.h: Likewise.
36235 * include/sys/time.h: Likewise.
36236 * include/sys/uio.h: Likewise.
36237 * include/time.h: Likewise.
36238 * include/unistd.h: Likewise.
36239 * include/utmp.h: Likewise.
36240 * include/wchar.h: Likewise.
36241 * include/wctype.h: Likewise.
36242 * inet/aliases.h: Likewise.
36243 * inet/arpa/inet.h: Likewise.
36244 * inet/netinet/ether.h: Likewise.
36245 * inet/netinet/in.h: Likewise.
36246 * intl/libintl.h: Likewise.
36247 * io/bits/fcntl2.h: Likewise.
36248 * io/fcntl.h: Likewise.
36249 * io/ftw.h: Likewise.
36250 * io/sys/poll.h: Likewise.
36251 * io/sys/stat.h: Likewise.
36252 * io/sys/statfs.h: Likewise.
36253 * io/sys/statvfs.h: Likewise.
36254 * io/utime.h: Likewise.
36255 * libio/bits/stdio.h: Likewise.
36256 * libio/bits/stdio2.h: Likewise.
36257 * libio/libio.h: Likewise.
36258 * libio/libioP.h: Likewise.
36259 * libio/stdio.h: Likewise.
36260 * locale/lc-ctype.c: Likewise.
36261 * locale/locale.h: Likewise.
36262 * login/utmp.h: Likewise.
36263 * malloc/arena.c: Likewise.
36264 * malloc/malloc.c: Likewise.
36265 * malloc/malloc.h: Likewise.
36266 * malloc/mcheck.c: Likewise.
36267 * malloc/mtrace.c: Likewise.
36268 * math/bits/mathcalls.h: Likewise.
36269 * math/fenv.h: Likewise.
36270 * math/math_private.h: Likewise.
36271 * misc/bits/error.h: Likewise.
36272 * misc/bits/syslog.h: Likewise.
36273 * misc/err.h: Likewise.
36274 * misc/error.h: Likewise.
36275 * misc/fstab.h: Likewise.
36276 * misc/mntent.h: Likewise.
36277 * misc/regexp.h: Likewise.
36278 * misc/search.h: Likewise.
36279 * misc/sgtty.h: Likewise.
36280 * misc/sys/mman.h: Likewise.
36281 * misc/sys/syslog.h: Likewise.
36282 * misc/sys/uio.h: Likewise.
36283 * misc/sys/xattr.h: Likewise.
36284 * misc/ttyent.h: Likewise.
36285 * nis/rpcsvc/ypclnt.h: Likewise.
36286 * nss/nss.h: Likewise.
36287 * posix/bits/unistd.h: Likewise.
36288 * posix/fnmatch.h: Likewise.
36289 * posix/glob.h: Likewise.
36290 * posix/sched.h: Likewise.
36291 * posix/spawn.h: Likewise.
36292 * posix/sys/wait.h: Likewise.
36293 * posix/unistd.h: Likewise.
36294 * posix/wordexp.h: Likewise.
36295 * pwd/pwd.h: Likewise.
36296 * resolv/netdb.h: Likewise.
36297 * resource/sys/resource.h: Likewise.
36298 * rt/aio.h: Likewise.
36299 * rt/bits/mqueue2.h: Likewise.
36300 * rt/mqueue.h: Likewise.
36301 * shadow/shadow.h: Likewise.
36302 * signal/signal.h: Likewise.
36303 * socket/send.c: Likewise.
36304 * socket/sendto.c: Likewise.
36305 * socket/sys/socket.h: Likewise.
36306 * stdio-common/printf.h: Likewise.
36307 * stdlib/bits/stdlib.h: Likewise.
36308 * stdlib/fmtmsg.h: Likewise.
36309 * stdlib/monetary.h: Likewise.
36310 * stdlib/stdlib.h: Likewise.
36311 * stdlib/ucontext.h: Likewise.
36312 * streams/stropts.h: Likewise.
36313 * string/argz.h: Likewise.
36314 * string/bits/string2.h: Likewise.
36315 * string/string.h: Likewise.
36316 * string/strings.h: Likewise.
36317 * sunrpc/rpc/auth.h: Likewise.
36318 * sunrpc/rpc/auth_des.h: Likewise.
36319 * sunrpc/rpc/clnt.h: Likewise.
36320 * sunrpc/rpc/netdb.h: Likewise.
36321 * sunrpc/rpc/pmap_clnt.h: Likewise.
36322 * sunrpc/rpc/xdr.h: Likewise.
36323 * sysdeps/generic/inttypes.h: Likewise.
36324 * sysdeps/generic/net/if.h: Likewise.
36325 * sysdeps/generic/sys/swap.h: Likewise.
36326 * sysdeps/gnu/net/if.h: Likewise.
36327 * sysdeps/gnu/utmpx.h: Likewise.
36328 * sysdeps/i386/fpu/bits/fenv.h: Likewise.
36329 * sysdeps/i386/i486/bits/string.h: Likewise.
36330 * sysdeps/ieee754/ldbl-opt/nldbl-strtold_l.c: Likewise.
36331 * sysdeps/s390/bits/string.h: Likewise.
36332 * sysdeps/s390/fpu/bits/fenv.h: Likewise.
36333 * sysdeps/sparc/fpu/bits/fenv.h: Likewise.
36334 * sysdeps/sparc/fpu/bits/mathinline.h: Likewise.
36335 * sysdeps/unix/sysv/linux/bits/resource.h: Likewise.
36336 * sysdeps/unix/sysv/linux/bits/sched.h: Likewise.
36337 * sysdeps/unix/sysv/linux/bits/sigset.h: Likewise.
36338 * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
36339 * sysdeps/unix/sysv/linux/bits/sys_errlist.h: Likewise.
36340 * sysdeps/unix/sysv/linux/bits/uio.h: Likewise.
36341 * sysdeps/unix/sysv/linux/i386/glob64.c: Likewise.
36342 * sysdeps/unix/sysv/linux/i386/olddirent.h: Likewise.
36343 * sysdeps/unix/sysv/linux/preadv.c: Likewise.
36344 * sysdeps/unix/sysv/linux/prlimit.c: Likewise.
36345 * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
36346 * sysdeps/unix/sysv/linux/readv.c: Likewise.
36347 * sysdeps/unix/sysv/linux/s390/s390-32/utmp-convert.h: Likewise.
36348 * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
36349 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
36350 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
36351 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
36352 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
36353 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Likewise.
36354 * sysdeps/unix/sysv/linux/sys/acct.h: Likewise.
36355 * sysdeps/unix/sysv/linux/sys/epoll.h: Likewise.
36356 * sysdeps/unix/sysv/linux/sys/mount.h: Likewise.
36357 * sysdeps/unix/sysv/linux/sys/swap.h: Likewise.
36358 * sysdeps/unix/sysv/linux/sys/timerfd.h: Likewise.
36359 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
36360 * sysdeps/x86_64/fpu/bits/fenv.h: Likewise.
36361 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Likewise.
36362 * sysdeps/x86_64/strncase_l-nonascii.c: Likewise.
36363 * sysvipc/sys/ipc.h: Likewise.
36364 * sysvipc/sys/msg.h: Likewise.
36365 * sysvipc/sys/sem.h: Likewise.
36366 * sysvipc/sys/shm.h: Likewise.
36367 * termios/termios.h: Likewise.
36368 * time/sys/time.h: Likewise.
36369 * time/time.h: Likewise.
36370 * wcsmbs/bits/wchar2.h: Likewise.
36371 * wcsmbs/uchar.h: Likewise.
36372 * wcsmbs/wchar.h: Likewise.
36373 * wctype/wctype.h: Likewise.
36376 * Makeconfig: Remove all but ELF support including AIX support.
36377 * Makerules: Likewise.
36378 * config.h.in: Likewise.
36379 * config.make.in: Likewise.
36380 * configure: Likewise.
36381 * configure.in: Likewise.
36382 * csu/Makefile: Likewise.
36383 * csu/version.c: Likewise.
36384 * debug/Makefile: Likewise.
36385 * dlfcn/Makefile: Likewise.
36386 * elf/Makefile: Likewise.
36387 * extra-lib.mk: Likewise.
36388 * iconv/Makefile: Likewise.
36389 * include/libc-symbols.h: Likewise.
36390 * include/shlib-compat.h: Likewise.
36391 * resolv/Makefile: Likewise.
36392 * resolv/res_libc.c: Likewise.
36393 * rt/Makefile: Likewise.
36394 * sysdeps/i386/asm-syntax.h: Likewise.
36395 * sysdeps/i386/sysdep.h: Likewise.
36396 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
36397 * sysdeps/mach/sysdep.h: Likewise.
36398 * sysdeps/powerpc/powerpc32/Makefile: Likewise.
36399 * sysdeps/powerpc/powerpc64/Makefile: Likewise.
36400 * sysdeps/s390/asm-syntax.h: Likewise.
36401 * sysdeps/s390/s390-32/sysdep.h: Likewise.
36402 * sysdeps/s390/s390-64/sysdep.h: Likewise.
36403 * sysdeps/sh/sysdep.h: Likewise.
36404 * sysdeps/unix/sparc/sysdep.h: Likewise.
36405 * sysdeps/wordsize-32/divdi3.c: Likewise.
36406 * sysdeps/x86_64/sysdep.h: Likewise.
36408 * argp/Versions: Remove _argp_unlock_xxx.
36411 * abilist/ld.abilist: Update. Adjust for removal of tls option.
36412 * abilist/libBrokenLocale.abilist: Likewise.
36413 * abilist/libanl.abilist: Likewise.
36414 * abilist/libc.abilist: Likewise.
36415 * abilist/libcrypt.abilist: Likewise.
36416 * abilist/libdl.abilist: Likewise.
36417 * abilist/libm.abilist: Likewise.
36418 * abilist/libnsl.abilist: Likewise.
36419 * abilist/libpthread.abilist: Likewise.
36420 * abilist/libresolv.abilist: Likewise.
36421 * abilist/librt.abilist: Likewise.
36422 * abilist/libthread_db.abilist: Likewise.
36423 * abilist/libutil.abilist: Likewise.
36424 * abilist/libnss_db.abilist: New file.
36426 * scripts/abilist.awk: Add support for indirect functions.
36428 * sysdeps/unix/sysv/linux/configure.in: Remove m68k support.
36430 * sysdeps/generic/ldsodefs.h: Remove Alpha support.
36432 * shlib-versions: Remove entries for ports architectures.
36434 * elf/tls-macros.h: Remove support for Alpha and IA-64. Should be in
36436 * elf/stackguard-macros.h: Remove support for IA-64.
36437 * elf/tst-auditmod1.c: Likewise.
36438 * sysdeps/generic/ldsodefs.h: Likewise.
36440 * sysdeps/unix/sysv/linux/configure.in: Ports should define
36441 libc_cv_gcc_unwind_find_fde and arch_minimum_kernel in their
36445 * configure.in: Remove --enable-omitfp support.
36447 * config.make.in: Likewise.
36448 * Makeconfig: Likewise.
36449 * manual/install.texi: Likewise.
36451 In case anyone cares, the IA-64 architecture could move to ports.
36452 * sysdeps/ia64/*: Removed.
36453 * sysdeps/unix/sysv/linux/ia64/*: Removed.
36454 * sysdeps/unix/sysv/linux/kernel-features.h: Remove IA-64 support.
36457 * configure.in: Remove entries for unsupported architectures.
36460 * iconv/gconv_builtin.h: Use CHAR16 for the char16_t conversions.
36461 * iconv/gconv_simple.c: Rename char16_t routines. Add char16_t<->utf8
36463 * iconv/gconv_int.h: Adjust prototypes for char16_t routines.
36464 * iconv/iconv_prog.c: Recognize CHAR16 as internal name.
36465 * wcsmbs/c16rtomb.c: Fix a few problems. Disable all the code and
36466 fall back to using wcrtomb.
36467 * wcsmbs/mbrtoc16.: Fix implementation to handle real conversions.
36468 * wcsmbs/wcsmbsload.c: Make char16 routines optional. Adjust for
36470 * wcsmbs/Makefile (tests): Add tst-c16c32-1:
36471 * wcsmbs/tst-c16c32-1.c: New file.
36473 * wcsmbs/wcrtomb.c: Use MB_LEN_MAX instead of MB_CUR_MAX for sizing
36476 * libio/stdio.h: Do not declare gets at all for _GNU_SOURCE.
36478 * elf/tst-unique3.cc: Add explicit declaration of gets.
36479 * elf/tst-unique3lib.cc: Likewise.
36480 * elf/tst-unique3lib2.cc: Likewise.
36481 * elf/tst-unique4.cc: Likewise.
36483 * string/test-strcpy.c (do_one_test): Fix format string for WIDE use.
36485 2012-01-06 Joseph Myers <joseph@codesourcery.com>
36488 * assert/assert.h (static_assert): Don't define for C++.
36489 * libio/stdio.h (gets): Do declare for C++ <= C++11.
36490 * wcsmbs/uchar.h (char16_t, char32_t): Don't typedef for C++11.
36492 2012-01-03 Ulrich Drepper <drepper@gmail.com>
36494 * iconv/loop.c (single loop): Fix assertion in storing of
36497 * posix/regcomp.c (init_word_char): Optimize a bit for sane encodings.
36499 2012-01-01 Ulrich Drepper <drepper@gmail.com>
36501 * posix/getconf.c: Update copyright year.
36502 * nss/getent.c: Likewise.
36503 * nss/makedb.c: Likewise.
36504 * iconv/iconvconfig.c: Likewise.
36505 * iconv/iconv_prog.c: Likewise.
36506 * elf/ldconfig.c: Likewise.
36507 * elf/pldd.c: Likewise.
36508 * elf/sotruss.ksh: Likewise.
36509 * catgets/gencat.c: Likewise.
36510 * csu/version.c: Likewise.
36511 * elf/ldd.bash.in: Likewise.
36512 * elf/sprof.c (print_version): Likewise.
36513 * locale/programs/locale.c: Likewise.
36514 * locale/programs/localedef.c: Likewise.
36515 * login/programs/pt_chown.c: Likewise.
36516 * nscd/nscd.c (print_version): Likewise.
36517 * debug/xtrace.sh: Likewise.
36518 * malloc/memusage.sh: Likewise.
36519 * malloc/mtrace.pl: Likewise.
36520 * debug/catchsegv.sh: Likewise.
36522 2011-12-30 Jakub Jelinek <jakub@redhat.com>
36524 * posix/regex_internal.c (re_string_fetch_byte_case): Remove
36527 2011-12-24 Ulrich Drepper <drepper@gmail.com>
36530 * iconv/gconv_simple.c: Add ASCII<->UTF-16 transformations.
36531 * iconv/gconv_builtin.h: Add entries for internal ASCII<->UTF-16
36533 * iconv/gconv_int.h: Likewise.
36534 * wcsmbs/Makefile (routines): Add mbrtoc16 and c16rtomb.
36535 * wcsmbs/Versions: Export mbrtoc16, c16rtomb, mbrtoc32, c32rtomb
36536 from libc for GLIBC_2.16.
36537 * wcsmbs/mbrtowc.c: Define mbrtoc32 alias.
36538 * wcsmbs/wcrtomb.c: Define c32rtomb alias.
36539 * wcsmbs/uchar.h: Really define mbstate_t.
36540 * wcsmbs/wchar.h: Allow defining mbstate_t in uchar.h.
36541 * wcsmbs/c16rtomb.c: New file.
36542 * wcsmbs/mbrtoc16.c: New file.
36543 * wcsmbs/wcsmbsload.c: Add static definitions for c16 conversions
36544 for C/POSIX locale.
36545 (__wcsmbs_load_conv): Do not fill in c16 routines yet.
36546 * wcsmbs/wcsmbsload.h (gconv_fcts): Add entries for c16 routines.
36548 * wcsmbs/wchar.h: Add missing __restrict.
36550 2011-12-23 Ulrich Drepper <drepper@gmail.com>
36553 * time/Makefile (routines): Add timespec_get.
36554 * time/Versions: Export timespec_get from libc for GLIBC_2.16.
36555 * time/time.h: Define TIME_UTC and declare timespec_get. Define
36556 timespec for ISO C11.
36557 * time/timespec_get.c: New file.
36558 * sysdeps/unix/sysv/linux/timespec_get.c: New file.
36559 * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: New file.
36562 * malloc/malloc.c: Define alias aligned_alloc for public_mEMALIGn.
36563 * stdlib/stdlib.h: Declare aligned_alloc.
36564 * Versions.def: Add GLIBC_2.16 for libc.
36565 * malloc/Versions: Export aligned_alloc from libc for GLIBC_2.16.
36568 * stdlib/stdlib.h: Make at_quick_exit and quick_exit available for
36571 * include/features.h: Define __USE_ISOCXX11 when compiling ISO C++11
36575 * libio/stdio.h: Do not declare gets for ISO C11 and _GNU_SOURCE.
36578 * assert/assert.h (static_assert): Define.
36580 * version.h: Update for 2.16 development version.
36583 * include/features.h: Handle __STDC_VERSION__ >= 201112 and
36586 * version.h (RELEASE): Bump for 2.15 release.
36587 * include/features.h (__GLIBC_MINOR__): Bump to 15.
36589 * sysdeps/x86_64/dl-machine.h: Fix typos in comments.
36590 Patch by Marek Polacek <mpolacek@redhat.com>.
36592 * bits/byteswap.h: Protect long long constants with __extension__.
36593 * sysdeps/i386/bits/byteswap.h: Likewise.
36594 * sysdeps/ia64/bits/byteswap.h: Likewise.
36595 * sysdeps/s390/bits/byteswap.h: Likewise.
36596 * sysdeps/x86_64/bits/byteswap.h: Likewise.
36598 2011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
36601 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Fix overrun in
36602 destination buffer.
36603 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
36605 2011-12-23 Marek Polacek <polacek@redhat.com>
36607 * elf/dl-addr.c (determine_info): Add inline keyword.
36608 * elf/tst-auditmod4b.c (check_avx): Likewise.
36609 * elf/tst-auditmod6b.c (check_avx): Likewise.
36610 * elf/tst-auditmod6c.c (check_avx): Likewise.
36611 * elf/tst-auditmod7b.c (check_avx): Likewise.
36613 2011-12-23 Ulrich Drepper <drepper@gmail.com>
36615 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Also enable for
36618 2011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
36621 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Fix wrong copying
36622 processing for last bytes.
36624 2011-08-06 Bruno Haible <bruno@clisp.org>
36627 * iconvdata/cp1258.c (comp_table_data): Combine U+00A8 U+0301 to
36628 U+0385, not to U+1FEE.
36631 * iconvdata/tcvn5712-1.c (comp_table_data): Remove useless and wrong
36632 entry for U+00A5 U+0301.
36634 2011-12-22 Ulrich Drepper <drepper@gmail.com>
36637 * inet/getnameinfo.c (getnameinfo): Return EAI_OVERFLOW if the
36638 buffer for the output is too small.
36640 * sysdeps/i386/fpu/bits/fenv.h [__SSE_MATH__]: Add feraiseexcept
36644 * sysdeps/i386/fpu/fgetexcptflg.c (__fegetexceptflag): Also return
36645 SSE flags if possible.
36647 2011-12-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
36650 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Fix wrong copying
36651 processing for last bytes.
36653 2011-12-22 Joseph Myers <joseph@codesourcery.com>
36655 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants)
36656 (syscall-list-default-options, syscall-list-default-condition)
36657 (syscall-list-includes): Define.
36658 ($(objpfx)syscall-%.h $(objpfx)syscall-%.d): Support arbitrary
36659 list of ABIs and options and #if conditions for each ABI. Do not
36660 handle common syscalls between ABIs specially.
36661 * sysdeps/unix/sysv/linux/powerpc/Makefile (64bit-predefine):
36663 (syscall-list-variants, syscall-list-32bit-options)
36664 (syscall-list-32bit-condition, syscall-list-64bit-options)
36665 (syscall-list-64bit-condition): Define.
36666 * sysdeps/unix/sysv/linux/s390/Makefile (64bit-predefine): Remove.
36667 (syscall-list-variants, syscall-list-32bit-options)
36668 (syscall-list-32bit-condition, syscall-list-64bit-options)
36669 (syscall-list-64bit-condition): Define.
36670 * sysdeps/unix/sysv/linux/sparc/Makefile (64bit-predefine):
36672 (syscall-list-variants, syscall-list-32bit-options)
36673 (syscall-list-32bit-condition, syscall-list-64bit-options)
36674 (syscall-list-64bit-condition): Define.
36675 * sysdeps/unix/sysv/linux/x86_64/Makefile (64bit-predefine):
36677 (syscall-list-variants, syscall-list-32bit-options)
36678 (syscall-list-32bit-condition, syscall-list-64bit-options)
36679 (syscall-list-64bit-condition): Define.
36681 2011-12-22 Ulrich Drepper <drepper@gmail.com>
36683 * locale/iso-639.def: Add brx entry.
36686 * malloc/mtrace.c (tr_freehook): Avoid unnecessary unlock/lock.
36687 Proposed by Mariusz_Cukr <marcukr@op.pl>.
36689 * sysdeps/x86_64/fpu/bits/fenv.h: Use __REDIRECT_NTH for
36690 __feraiseexcept_renamed.
36692 2011-12-21 Ulrich Drepper <drepper@gmail.com>
36695 * sysdeps/unix/sysv/linux/sys/epoll.h: Initialize EPOLLONESHOT and
36696 EPOLLET with unsigned values.
36697 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
36698 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
36700 * math/s_cacosh.c: Use Kahan's formula if the subtraction could lead
36701 to large cancellation.
36702 * math/s_cacoshf.c: Likewise.
36703 * math/s_cacoshl.c: Likewise.
36705 2011-11-18 Richard B. Kreckel <kreckel@ginac.de>
36709 * math/s_cacosh.c: Fix rare miscomputation in cacosh().
36710 * math/s_cacoshf.c: Likewise.
36711 * math/s_cacoshl.c: Likewise.
36713 2011-12-21 Ulrich Drepper <drepper@gmail.com>
36716 * iconv/gconv.h: Define __GCONV_SWAP.
36717 * iconvdata/unicode.c: The swap bit must be stored in __flags.
36718 * iconvdata/utf-16.c: Likewise.
36719 * iconvdata/utf-32.c: Likewise.
36721 2011-12-21 Andreas Schwab <schwab@linux-m68k.org>
36724 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Clear lowest limb of
36725 numerator after shifting it by one limb.
36727 2011-12-19 Rafael Ávila de Espíndola <rafael.espindola@gmail.com>
36729 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Define it only
36730 under [__USE_EXTERN_INLINES].
36732 2011-12-17 Ulrich Drepper <drepper@gmail.com>
36735 * stdio-common/vfprintf.c (vfprintf): Fix extension of specs array.
36737 2011-11-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
36739 * sysdeps/powerpc/Makefile: Added locale-defines.sym generation.
36740 * sysdeps/powerpc/locale-defines.sym: Locale definitions for strcasecmp
36742 * sysdeps/powerpc/powerpc32/power7/Makefile: New file.
36743 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: New file.
36744 * sysdeps/powerpc/powerpc32/power7/strcasecmp_l.S: New file.
36745 * sysdeps/powerpc/powerpc64/power7/Makefile: Added unroll-loop option
36746 for strncasecmp/strncasecmp_l compilation.
36747 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: New file.
36748 * sysdeps/powerpc/powerpc64/power7/strcasecmp_l.S: New file.
36750 2011-12-08 Marek Polacek <mpolacek@redhat.com>
36753 * math/bits/math-finite.h: Use __REDIRECT_NTH and __NTH instead
36756 2011-12-17 Ulrich Drepper <drepper@gmail.com>
36759 * time/tzfile.c (__tzfile_read): Check values from file header.
36761 2011-11-21 Will Schmidt <will_schmidt@vnet.ibm.com>
36763 * powerpc/powerpc32/sysdep.h: Define SETUP_GOT_ACCESS() macro.
36764 * powerpc/powerpc32/a2/memcpy.S: Use SETUP_GOT_ACCESS() macro.
36765 * powerpc/powerpc32/dl-start.S: Likewise.
36766 * powerpc/powerpc32/elf/start.S: Likewise.
36767 * powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
36768 * powerpc/powerpc32/fpu/s_ceil.S: Likewise.
36769 * powerpc/powerpc32/fpu/s_ceilf.S: Likewise.
36770 * powerpc/powerpc32/fpu/s_floor.S: Likewise.
36771 * powerpc/powerpc32/fpu/s_floorf.S: Likewise.
36772 * powerpc/powerpc32/fpu/s_lround.S: Likewise.
36773 * powerpc/powerpc32/fpu/s_rint.S: Likewise.
36774 * powerpc/powerpc32/fpu/s_rintf.S: Likewise.
36775 * powerpc/powerpc32/fpu/s_round.S: Likewise.
36776 * powerpc/powerpc32/fpu/s_roundf.S: Likewise.
36777 * powerpc/powerpc32/fpu/s_trunc.S: Likewise.
36778 * powerpc/powerpc32/fpu/s_truncf.S: Likewise.
36779 * powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
36780 * powerpc/powerpc32/memset.S: Likewise.
36781 * powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
36782 * powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
36783 * powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
36784 * powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
36785 * powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
36786 * powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
36787 * powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
36788 * powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
36789 * unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Likewise.
36790 * unix/sysv/linux/powerpc/powerpc32/brk.S: Likewise.
36791 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Likewise.
36792 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
36793 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
36795 2011-11-18 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
36797 * math/libm-test.inc: Added more nearbyint tests.
36798 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S: New file.
36799 * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S: New file.
36800 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S: New file.
36801 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: New file.
36803 2011-11-21 Ross Lagerwall <rosslagerwall@gmail.com>
36805 * resolv/res_init.c (__res_vinit): Open /etc/resolv.conf with
36808 2011-11-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
36810 * sysdeps/x86_64/multiarch/Makefile [subdir=wcsmbs] (sysdep_routines):
36811 Add wcscpy-ssse3 wcscpy-c.
36812 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: New file.
36813 * sysdeps/x86_64/multiarch/wcscpy-c.c: New file.
36814 * sysdeps/x86_64/multiarch/wcscpy.S: New file.
36815 * sysdeps/x86_64/wcschr.S: New file.
36816 * sysdeps/x86_64/wcsrchr.S: New file.
36817 * string/test-strcmp.c: Remove checking of wcscmp function for
36819 * sysdeps/i386/i686/multiarch/Makefile [subdir=wcsmbs]
36820 (sysdep_routines): Add wcscpy-ssse3 wcscpy-c wcschr-sse2 wcschr-c
36821 wcsrchr-sse2 wcsrchr-c.
36822 * sysdeps/i386/i686/multiarch/wcschr.S: New file.
36823 * sysdeps/i386/i686/multiarch/wcschr-c.c: New file.
36824 * sysdeps/i386/i686/multiarch/wcschr-sse2.S: New file.
36825 * sysdeps/i386/i686/multiarch/wcsrchr.S: New file.
36826 * sysdeps/i386/i686/multiarch/wcsrchr-c.c: New file.
36827 * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: New file.
36828 * sysdeps/i386/i686/multiarch/wcscpy.S: New file.
36829 * sysdeps/i386/i686/multiarch/wcscpy-c.c: New file.
36830 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: New file.
36831 * wcsmbc/wcschr.c (WCSCHR): New macro.
36833 2011-11-17 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
36835 * wcsmbs/Makefile (strop-tests): Add wcsrchr wcscpy.
36836 * wcsmbs/test-wcsrchr.c: New file.
36837 * string/test-strrchr.c: Add wcsrchr support.
36839 * wcsmbs/test-wcscpy.c: New file.
36840 * string/test-strcpy.c: Add wcscpy support.
36843 2011-12-10 Ulrich Drepper <drepper@gmail.com>
36845 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Lift one operation out of
36848 2011-12-06 Andreas Schwab <schwab@linux-m68k.org>
36851 * sysdeps/powerpc/fpu/e_hypot.c (twoM600): Correct value.
36853 2011-12-04 Ulrich Drepper <drepper@gmail.com>
36855 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Fix attribute.
36856 Minor optimizations.
36858 * sunrpc/clnt_unix.c (clntunix_control): Fix aliasing issues.
36859 * sunrpc/clnt_tcp.c (clnttcp_control): Likewise.
36860 * sunrpc/clnt_udp.c (clntudp_call): Likewise.
36862 2011-12-03 Ulrich Drepper <drepper@gmail.com>
36864 * inet/netinet/in.h: Provide versions of IN6_IS_ADDR_UNSPECIFIED,
36865 IN6_IS_ADDR_LOOPBACK, IN6_IS_ADDR_LINKLOCAL, IN6_IS_ADDR_SITELOCAL,
36866 IN6_IS_ADDR_V4MAPPED, IN6_IS_ADDR_V4COMPAT, and IN6_ARE_ADDR_EQUAL
36867 for gcc to avoid warnings.
36868 * inet/Makefile (tests): Add tst-checks.
36869 * inet/tst-checks.c: New file.
36871 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Add attribute to avoid
36874 * sysdeps/x86_64/multiarch/wmemcmp-c.c: Provide prototype for
36877 * sysdeps/x86_64/fpu/s_scalbln.c: Removed.
36878 * sysdeps/x86_64/fpu/s_scalbn.c: Removed.
36880 * malloc/mcheck.h: Fix use of incorrect encoding in comment.
36882 2011-12-02 Ulrich Drepper <drepper@gmail.com>
36884 * nis/nis_findserv.c (__nis_findfastest_with_timeout): Avoid aliasing
36887 * nscd/aicache.c (addhstaiX): Avoid unused variable warning.
36889 2011-11-29 Joseph Myers <joseph@codesourcery.com>
36891 * sysdeps/unix/sysv/linux/sh/bits/atomic.h (rNOSP): Define
36892 conditional on GCC version.
36893 (__arch_compare_and_exchange_val_8_acq)
36894 (__arch_compare_and_exchange_val_16_acq)
36895 (__arch_compare_and_exchange_val_32_acq, atomic_exchange_and_add)
36896 (atomic_add, atomic_add_negative, atomic_add_zero, atomic_bit_set)
36897 (atomic_bit_test_set): Use rNOSP instead of "r" constraints.
36899 2011-12-02 Joseph Myers <joseph@codesourcery.com>
36901 * sysdeps/sh/backtrace.c: New file.
36903 2011-12-02 Andreas Schwab <schwab@redhat.com>
36905 * misc/bits/select2.h (__FD_ELT): Mark as extension. Add
36908 2011-12-01 Andreas Schwab <schwab@redhat.com>
36910 * sysdeps/unix/sysv/linux/futimes.c: Truncate time values when
36911 falling back to utime.
36913 2011-11-30 Andreas Schwab <schwab@redhat.com>
36915 * sysdeps/s390/fpu/libm-test-ulps: Relax cpow (2 + 3 i, 4 + 0 i)
36916 expectations for float.
36918 2011-11-29 Andreas Schwab <schwab@redhat.com>
36920 * locale/weight.h (findidx): Add parameter len.
36921 * locale/weightwc.h (findidx): Likewise.
36922 * posix/fnmatch_loop.c (FCT): Adjust caller.
36923 * posix/regcomp.c (build_equiv_class): Likewise.
36924 * posix/regex_internal.h (re_string_elem_size_at): Likewise.
36925 * posix/regexec.c (check_node_accept_bytes): Likewise.
36926 * string/strcoll_l.c (STRCOLL): Likewise.
36927 * string/strxfrm_l.c (STRXFRM): Likewise.
36929 2011-11-17 Ulrich Drepper <drepper@gmail.com>
36931 * Makefile.in: Remove CVSOPT handling.
36932 * configure.in: Remove use of AC_REVISION.
36933 * iconvdata/Makefile (distribute): No need to filter out CVS.
36934 * scripts/list-sources.sh: Remove CVS, subversion and monotone
36937 2011-11-16 Andreas Schwab <schwab@redhat.com>
36939 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S
36940 [USE_AS_STRCASECMP_L]: Fix argument offsets for non-PIC.
36941 [USE_AS_STRNCASECMP_L]: Likewise.
36942 (__strcasecmp_ssse3, __strncasecmp_ssse3): Handle
36943 NO_TLS_DIRECT_SEG_REFS.
36944 * sysdeps/i386/i686/multiarch/strcmp-sse4.S [USE_AS_STRCASECMP_L]:
36945 Fix argument offsets for non-PIC.
36946 [USE_AS_STRNCASECMP_L]: Likewise.
36947 (__strcasecmp_sse4_2, __strncasecmp_sse4_2): Handle
36948 NO_TLS_DIRECT_SEG_REFS.
36950 2011-11-15 Ulrich Drepper <drepper@gmail.com>
36952 * locale/loadarchive.c (_nl_load_locale_from_archive): Open files with
36954 * locale/loadlocale.c (_nl_load_locale): Likewise.
36956 2011-11-15 Andreas Schwab <schwab@redhat.com>
36958 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU)
36959 [__ASSUME_POSIX_CPU_TIMERS > 0]: Assign to retval and break.
36960 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c
36961 (SYSCALL_GETTIME): Set errno on error.
36963 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Properly
36964 count references to noai6ai_cached.
36966 2011-11-15 Ulrich Drepper <drepper@gmail.com>
36968 * time/getdate.c (__getdate_r): Set FD_CLOEXEC for given file.
36970 * sysdeps/unix/sysv/linux/readonly-area.c (__readonly_area): Set
36971 FD_CLOEXEC for /proc/self/maps.
36973 * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Set
36974 FD_CLOEXEC for /proc/meminfo.
36976 * sysdeps/posix/getaddrinfo.c (gaiconf_init): Set FD_CLOEXEC for
36979 * resolv/res_query.c (res_hostalias): Don't allow cancellation and set
36980 FD_CLOEXEC for given file.
36982 * resolv/res_hconf.c (do_init): Set FD_CLOEXEC for host.conf.
36984 * resolv/gethnamaddr.c (_sethtent): Don't allow cancellation and set
36985 FD_CLOEXEC for /etc/hosts.
36986 (_gethtent): Likewise.
36988 * nss/nsswitch.c (nss_parse_file): Set FD_CLOEXEC.
36990 * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Don't allow
36991 cancellation and set FD_CLOEXEC for /etc/netgroup.
36993 * nss/nss_files/files-key.c (search): Don't allow cancellation when
36994 reading /etc/publickey.
36996 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Don't
36997 allow cancellation when reading /etc/group.
36999 * nss/nss_files/files-alias.c (internal_setent): Don't allow
37001 (get_next_alias): Likewise for included file. Also set FD_CLOEXEC.
37003 * nss/nss_files/files-XXX.c (internal_setent): Don't allow cancellation
37004 when using data file.
37006 * nis/nss-default.c (init): Set FD_CLOEXEC for /etc/default/nss.
37008 * nis/nis_file.c (read_nis_obj): Set FD_CLOEXEC.
37009 (write_nis_obj): Use "c" and "e" in fopen.
37011 * misc/mntent_r.c (__setmntent): Also append e to fopen format.
37013 * misc/getusershell.c (initshells): Set FD_CLOEXEC for /etc/shells.
37015 * misc/getttyent.c (setttyent): Set FD_CLOEXEC.
37017 * misc/getpass.c (getpass): Set FD_CLOEXEC for /dev/tty.
37019 * intl/localealias.c (read_alias_file): Set FD_CLOEXEC for
37022 * inet/ruserpass.c (ruserpass): Set FD_CLOEXEC for .netrc.
37024 * inet/rcmd.c (iruserfopen): Set FD_CLOEXEC for hosts.equiv.
37026 * iconv/gconv_conf.c (read_conf_file): Set FD_CLOEXEC for config file.
37028 * hesiod/hesiod.c (parse_config_file): Prevent cancellation in config
37029 file parsing and set FD_CLOEXEC.
37031 2011-11-14 Ulrich Drepper <drepper@gmail.com>
37033 * time/tzfile.c (__tzfile_read): Use "e" in fopen call.
37035 2011-11-14 Andreas Schwab <schwab@redhat.com>
37037 * malloc/arena.c (arena_get2): Don't call reused_arena when
37038 _int_new_arena failed.
37040 2011-11-14 Ulrich Drepper <drepper@gmail.com>
37042 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]
37043 (sysdep_routines): Add strcasecmp_l-sse4 and strncase_l-sse4.
37044 * sysdeps/i386/i686/multiarch/strcasecmp.S: Re-enable SSE4.2 code.
37045 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
37046 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
37047 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Change to allow reuse
37048 to compile strcasecmp and strncasecmp.
37049 * sysdeps/i386/i686/multiarch/strcasecmp_l-sse4.S: New file.
37050 * sysdeps/i386/i686/multiarch/strncase_l-sse4.S: New file.
37052 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Use L macro consistently.
37054 2011-11-13 Ulrich Drepper <drepper@gmail.com>
37056 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]: Add
37057 locale-defines.sym to gen-as-const-headers.
37058 (sysdep_routines): Add strcasecmp_l-c, strcasecmp-c,
37059 strcasecmp_l-ssse3, strncase_l-c, strncase-c, and strncase_l-ssse3.
37060 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Change to allow reuse
37061 to compile strcasecmp and strncasecmp.
37062 * sysdeps/i386/i686/multiarch/strcmp.S: Allow to use for
37063 strcasecmp_l and strncasecmp_l.
37064 * sysdeps/i386/i686/multiarch/locale-defines.sym: New file.
37065 * sysdeps/i386/i686/multiarch/strcasecmp-c.c: New file.
37066 * sysdeps/i386/i686/multiarch/strcasecmp.S: New file.
37067 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c: New file.
37068 * sysdeps/i386/i686/multiarch/strcasecmp_l-ssse3.S: New file.
37069 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: New file.
37070 * sysdeps/i386/i686/multiarch/strncase-c.c: New file.
37071 * sysdeps/i386/i686/multiarch/strncase.S: New file.
37072 * sysdeps/i386/i686/multiarch/strncase_l-c.c: New file.
37073 * sysdeps/i386/i686/multiarch/strncase_l-ssse3.S: New file.
37074 * sysdeps/i386/i686/multiarch/strncase_l.S: New file.
37076 2011-11-12 Ulrich Drepper <drepper@gmail.com>
37078 * sysdeps/unix/clock_gettime.c (clock_gettime): No need to assign
37079 result of SYSDEP_GETTIME_CPU to retval.
37080 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU): Add
37081 parameter list to macro. Remove trailing semicolon. Adjust users.
37083 * resolv/getaddrinfo_a.c (getaddrinfo_a): Avoid warning about unused
37086 * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Avoid storing
37088 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
37090 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Avoid warning
37091 from unused variable.
37093 * sysdeps/generic/sysdep.h: Clean up, pretty print, use dwarf2.h for
37095 * sysdeps/generic/dwarf2.h: Don't define enums when using the file
37098 * elf/dl-iteratephdr.c [!SHARED] (__dl_iterate_phdr): Don't iterate
37101 * sunrpc/rpc_prot.c (rejected): Fix case value.
37103 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS): Use
37104 unsigned long long int to avoid warnings in shift.
37106 * posix/regex_internal.c (re_string_reconstruct): Actually use result
37108 * posix/regex_internal.h (re_string_wchar_at): Remove temporary
37111 * sysdeps/i386/i686/multiarch/wcscmp-c.c: Avoid warning.
37112 * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
37113 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
37115 * nis/nis_table.c (nis_list): Use variable of correct type for
37116 result of __follow_path call.
37118 2011-11-07 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
37120 * sysdeps/powerpc/fpu/math_private.h: Using inline assembly version
37121 of math functions ceil, trunc, floor, round, and sqrt, when
37122 avaliable on the platform.
37123 * sysdeps/powerpc/fpu/e_sqrt.c: Undefine __ieee754_sqrt to avoid
37125 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
37126 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
37127 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
37129 2011-10-30 Marek Polacek <mpolacek@redhat.com>
37131 * libio/wfileops.c (_IO_wfile_underflow_mmap): Remove unused variable.
37132 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
37134 2011-11-11 Roland McGrath <roland@hack.frob.com>
37136 * include/unistd.h: Fix __readlink return type.
37137 Reported by Chris Metcalf <cmetcalf@tilera.com>.
37139 2011-11-11 Ulrich Drepper <drepper@gmail.com>
37141 * stdlib/ucontext.h: Undo last change for makecontext.
37143 2011-11-11 Andreas Schwab <schwab@redhat.com>
37145 * nss/db-Makefile ($(VAR_DB)/group.db): Fix typo in awk script.
37147 * misc/sys/cdefs.h (__REDIRECT_NTHNL): Define.
37148 * setjmp/setjmp.h: Mark functions as non-leaf.
37149 * setjmp/bits/setjmp2.h: Likewise.
37150 * stdlib/ucontext.h: Likewise.
37152 2011-11-10 Andreas Schwab <schwab@redhat.com>
37154 * malloc/arena.c (_int_new_arena): Don't increment narenas.
37155 (reused_arena): Don't check arena limit.
37156 (arena_get2): Atomically check arena limit.
37158 2011-11-08 Ulrich Drepper <drepper@gmail.com>
37160 * locale/findlocale.c (_nl_find_locale): Use __strcasecmp_l.
37161 * intl/localealias.c (strcasecmp): Define using __strcasecmp_l.
37163 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Remove unnecessary
37166 2011-11-07 Andreas Schwab <schwab@redhat.com>
37168 * libio/genops.c (_IO_flush_all_lockp): Only register cleanup
37169 handler when locking.
37171 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
37172 Fix size of allocated buffer.
37174 2011-11-04 Andreas Schwab <schwab@redhat.com>
37177 * math/math.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Provide
37178 declarations for long double functions.
37179 * math/complex.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Likewise.
37181 * elf/sprof.c (load_shobj): Fix off-by-one when reading link name.
37183 2011-11-03 Andreas Schwab <schwab@redhat.com>
37185 * nscd/nscd.c (main): Don't start AVC thread until credentials are
37188 * nss/makedb.c (set_file_creation_context): Do nothing if SELinux
37191 2011-11-02 Samuel Thibault <samuel.thibault@ens-lyon.org>
37193 * bits/ioctl-types.h (_IOT_sgttyb): Set number of chars to 4.
37195 2011-11-01 Andreas Schwab <schwab@linux-m68k.org>
37197 * include/alloca.h (stackinfo_alloca_round): Define.
37198 (extend_alloca): Use it.
37199 [_STACK_GROWS_UP]: Correct check for adjacent allocation.
37200 * elf/dl-deps.c (_dl_map_object_deps): Don't round alloca size
37203 * scripts/check-local-headers.sh: Ignore libaudit.h.
37205 * nscd/Makefile (extra-objs): Make recursively expanded.
37207 2011-11-01 Ulrich Drepper <drepper@gmail.com>
37209 * sysdeps/x86_64/strcmp.S: Fix test for non-ASCII locales.
37210 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
37212 * posix/tst-rfc3484.c: Add missing __free_in6ai dummy function.
37213 * posix/tst-rfc3484-2.c: Likewise.
37214 * posix/tst-rfc3484-3.c: Likewise.
37216 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
37218 * sysdeps/unix/sysv/linux/syscalls.list: Add process_vm_readv and
37220 * sysdeps/unix/sysv/linux/Versions: Export process_vm_readv and
37221 process_vm_writev from libc using GLIBC_2.15 version.
37223 * nscd/connections.c: Use kernel headers instead of <netlink/netlink.h>.
37225 2011-10-31 Paul Pluzhnikov <ppluzhnikov@google.com>
37227 * elf/dl-deps.c (_dl_map_object_deps): Reuse alloca space to reduce
37230 2011-10-31 Ulrich Drepper <drepper@gmail.com>
37233 * nss/getent.c (initgroups_keys): Show error message in case no group
37236 * include/ifaddrs.h: Declare __free_in6ai and __bump_nl_timestamp.
37237 * inet/check_pf.c: Provide dummy versions of __free_in6ai and
37238 __bump_nl_timestamp.
37239 * nscd/connections (nscd_init): When host database is served open
37240 netlink socket and request notification about configuration changes.
37241 (main_loop_poll): Track netlink file descriptor and bump timestamp
37242 in case data becomes available.
37243 (main_loop_epoll): Likewise.
37244 * nscd/nscd-client.h (DB_VERSION): Bump to 2.
37245 (database_pers_head): Add extra_data fileds.
37246 Declare __nscd_get_mapping and __nscd_get_nl_timestamp.
37247 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): New function.
37248 * nscd/nscd_helper.c (__nscd_get_mapping): Renamed from get_mapping.
37250 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Don't call free on
37251 in6ai data, call __free_in6ai.
37252 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd] (sysdep-CFLAGS):
37253 Add -DHAVE_NETLINK.
37254 * sysdeps/unix/sysv/linux/check_pf.c: Major rewrite. Cache the
37255 interface information. Reuse previous data if netlink timestamp
37257 (__bump_nl_timestamp): New function.
37258 (__free_in6ai): New function.
37260 2011-10-30 Ulrich Drepper <drepper@gmail.com>
37262 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Don't call
37263 close_not_cancel_no_status here.
37264 (__check_pf): Reorganize code a bit to not call close twice if OOM.
37266 2011-10-29 Ulrich Drepper <drepper@gmail.com>
37269 * malloc/malloc.c (munmap_chunk): Don't use assertion to check munmap
37272 * posix/sys/wait.h: Mark wait3 and wait4 with __THROWNL.
37273 * libio/stdio.h: Mark sprintf, vsprintf snprintf, vsnprintf, vasprintf,
37274 asprintf, __asprintf, obstack_printf, obstack_vprintf with __THROWNL.
37276 2011-07-03 Andreas Jaeger <aj@suse.de>
37279 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Fix incorrect rounding
37280 of sin. Patch suggested by Paul Zimmermann <zimmerma+gcc@loria.fr>.
37281 * math/libm-test.inc (sin_test): Add test case.
37283 2011-10-29 Ulrich Drepper <drepper@gmail.com>
37286 * elf/sprof.c (load_shobj): Correctly NUL-terminate link name.
37287 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
37289 * elf/chroot_canon.c (chroot_canon): Cleanups.
37291 * elf/dl-lookup.c (_dl_setup_hash): Avoid warning.
37294 * elf/chroot_canon.c (chroot_canon): Fix readlink call.
37295 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
37297 * string/test-strchr.c: Make usable for strchrnul testing.
37298 * string/test-strchrnul.c: New file.
37299 * string/Makefile (strop-tests): Add strchrnul.
37301 * po/it.po: Update from translation team.
37302 * po/es.po: Likewise.
37304 2011-10-28 Ulrich Drepper <drepper@gmail.com>
37306 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Take
37307 the three constants needed as parameters. Drop the others.
37308 (strcasestr_sse42): Load uclow, uchigh, and lcqword and pass to
37309 __m128i_strloadu_tolower.
37310 Create and initialize variable zero and use it in all the places
37311 where _mm_setzero_si128 was used.
37313 * sysdeps/x86_64/fpu/multiarch/Makefile: Don't build brandred-avx.c,
37314 doasin-avx.c, dosincos-avx.c, e_asin-avx.c, mpatan-avx.c,
37315 mpatan2-avx.c, mpsqrt-avx.c, mptan-avx.c, sincos32-avx.c.
37316 * sysdeps/x86_64/fpu/multiarch/e_asin.c: There are no _avx variants
37318 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: Don't redirect __mpatan2.
37319 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: Don't redirect __mpatan.
37320 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: Don't redirect __branred,
37321 __docos, __dubsin, __mpcos, __mpcos1, __mpsin, __mpsin1.
37322 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: Don't redirect __branred,
37323 __mpranred, __mptan.
37324 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: Removed.
37325 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: Removed.
37326 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: Removed.
37327 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: Removed.
37328 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: Removed.
37329 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: Removed.
37330 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: Removed.
37331 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: Removed.
37332 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: Removed.
37334 2011-10-28 Andreas Schwab <schwab@redhat.com>
37336 * sysdeps/i386/i686/multiarch/strnlen-c.c (libc_hidden_def): Only
37337 redefine if SHARED.
37338 * sysdeps/i386/i686/multiarch/wcscmp-c.c (libc_hidden_def): Likewise.
37340 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Move
37341 wide char related routines to wcsmbs subdir.
37343 2011-10-27 Andreas Schwab <schwab@redhat.com>
37346 * misc/sys/cdefs.h (__THROWNL): Define.
37347 * posix/unistd.h: Use __THREADNL instead of __THREAD
37348 for memory synchronization functions.
37350 2011-10-26 Roland McGrath <roland@hack.frob.com>
37353 * libio/Versions (GLIBC_2.0): Remove open_obstack_stream, which
37355 * manual/stdio.texi (Obstack Streams): Node removed.
37357 2011-10-26 Andreas Schwab <schwab@redhat.com>
37359 * sysdeps/ieee754/flt-32/e_j0f.c: Fix use of math_force_eval.
37360 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
37361 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
37363 * math/math_private.h (math_force_eval): Allow non-addressable
37365 * sysdeps/i386/fpu/math_private.h (math_force_eval): Likewise.
37367 2011-10-25 Ulrich Drepper <drepper@gmail.com>
37369 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Comment everything out, the
37370 file is not needed.
37372 * sysdeps/x86_64/fpu/multiarch/e_asin.c: Support AVX variants.
37373 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
37374 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
37375 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
37376 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
37377 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
37378 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
37379 * sysdeps/x86_64/fpu/multiarch/Makefile: Fix some CFLAGS-* variables.
37381 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: New file.
37382 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: New file.
37383 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: New file.
37384 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: New file.
37385 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: New file.
37386 * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c: New file.
37387 * sysdeps/x86_64/fpu/multiarch/e_log-avx.c: New file.
37388 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: New file.
37389 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: New file.
37390 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: New file.
37391 * sysdeps/x86_64/fpu/multiarch/mpexp-avx.c: New file.
37392 * sysdeps/x86_64/fpu/multiarch/mplog-avx.c: New file.
37393 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: New file.
37394 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: New file.
37395 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: New file.
37396 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: New file.
37397 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: New file.
37398 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: New file.
37399 * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: New file.
37401 * sysdeps/x86_64/multiarch/init-arch.h: Make bit_* macros available
37402 all the time. Define bit_AVX. Define HAS_* macros using bit_* macros.
37404 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Move common code to earlier
37405 place. Use VEX encoding when compiling for AVX.
37407 2011-10-25 Andreas Schwab <schwab@redhat.com>
37409 * wcsmbs/wcscmp.c (WCSCMP): Compare as wchar_t, not wint_t.
37410 * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
37412 * string/test-strchr.c (do_test): Don't generate NUL bytes.
37414 2011-10-25 Ulrich Drepper <drepper@gmail.com>
37416 * sysdeps/ieee754/dbl-64/e_atanh.c: Use math_force_eval instead of a
37417 useless if() expression.
37418 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
37419 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
37420 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
37421 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
37422 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
37423 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
37424 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
37425 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
37426 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
37427 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
37428 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
37429 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
37430 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
37431 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
37432 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
37433 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
37434 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
37435 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
37436 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
37438 * sysdeps/x86_64/fpu/math_private.h: Use VEX encoding when possible.
37440 2011-10-25 Andreas Schwab <schwab@redhat.com>
37442 * elf/dl-deps.c (_dl_map_object_deps): Remove always true
37444 * elf/dl-fini.c (_dl_sort_fini): Likewise.
37446 2011-10-25 Ulrich Drepper <drepper@gmail.com>
37448 * sysdeps/ieee754/dbl-64/branred.c: Move FMA4 code into separate
37449 .text section. Avoid duplicate constants.
37450 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
37451 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
37452 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
37453 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
37454 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
37455 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
37456 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
37457 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
37458 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
37459 * sysdeps/ieee754/dbl-64/mpa.h: Likewise.
37460 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
37461 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
37462 * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
37463 * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
37464 * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
37465 * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
37466 * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
37467 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
37468 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
37469 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
37470 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
37471 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
37472 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
37473 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Likewise.
37474 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: Likewise.
37475 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: Likewise.
37476 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: Likewise.
37477 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: Likewise.
37478 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: Likewise.
37479 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: Likewise.
37480 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: Likewise.
37481 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: Likewise.
37482 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
37483 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: Likewise.
37484 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: Likewise.
37485 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: Likewise.
37486 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: Likewise.
37487 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: Likewise.
37488 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: Likewise.
37489 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: Likewise.
37490 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: Likewise.
37491 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: Likewise.
37492 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: Likewise.
37493 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise.
37494 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: Likewise.
37496 2011-10-24 Ulrich Drepper <drepper@gmail.com>
37498 * sysdeps/x86_64/dla.h: Move to ...
37499 * sysdeps/x86_64/fpu/dla.h: ...here.
37500 (DLA_FMS): Some compilers fail to inline __builtin_fma in some
37501 situations. Use __builtin_fma only for gcc 4.6 and up.
37503 * config.make.in: Add have-mfma4 entry.
37504 * configure.in: Substitute libc_cv_cc_fma4.
37505 * math/Makefile (dbl-only-routines): Add sincostab.
37506 * sysdeps/ieee754/dbl-64/dosincos.c: Don't include sincos.tbl.
37507 Use __sincostab not sincos.
37508 * sysdeps/ieee754/dbl-64/e_asin.c: Don't define aliases when function
37510 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
37511 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
37512 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
37513 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise. Define singArctan2
37515 * sysdeps/ieee754/dbl-64/mpa.c: Don't export __acr. Don't define
37516 __cr and __cpymn. Define __cpy unless NO___CPY is defined. Define
37517 norm, denorm, and __mp_dbl unless NO___MP_DBL is defined.
37518 * sysdeps/ieee754/dbl-64/mpa.h: Don't declare __acr, __cr, __cpymn,
37520 * sysdeps/ieee754/dbl-64/mpsqrt.c: Make fastiroot static.
37521 * sysdeps/ieee754/dbl-64/s_atan.c: Define __signArctan using
37523 * sysdeps/ieee754/dbl-64/s_sin.c: Use __sincostab not sincos. Don't
37524 define aliases when function name is a macro.
37525 * sysdeps/ieee754/dbl-64/sincostab.c: Renamed from
37526 sysdeps/ieee754/dbl-64/sincos.tbl.
37527 * sysdeps/x86_64/fpu/multiarch/Makefile: Add entries to build
37528 fma4-enabled routines.
37529 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: New file.
37530 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: New file.
37531 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: New file.
37532 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: New file.
37533 * sysdeps/x86_64/fpu/multiarch/e_asin.c: New file.
37534 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: New file.
37535 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: New file.
37536 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: New file.
37537 * sysdeps/x86_64/fpu/multiarch/e_exp.c: New file.
37538 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: New file.
37539 * sysdeps/x86_64/fpu/multiarch/e_log.c: New file.
37540 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: New file.
37541 * sysdeps/x86_64/fpu/multiarch/e_pow.c: New file.
37542 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: New file.
37543 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: New file.
37544 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: New file.
37545 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: New file.
37546 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: New file.
37547 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: New file.
37548 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: New file.
37549 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: New file.
37550 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: New file.
37551 * sysdeps/x86_64/fpu/multiarch/s_atan.c: New file.
37552 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: New file.
37553 * sysdeps/x86_64/fpu/multiarch/s_sin.c: New file.
37554 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: New file.
37555 * sysdeps/x86_64/fpu/multiarch/s_tan.c: New file.
37556 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: New file.
37557 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: New file.
37558 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: New file.
37560 * sysdeps/ieee754/dbl-64/doasin.c: Adjust for DLA_FMA -> DLA_FMS
37562 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
37563 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
37564 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
37565 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
37566 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
37567 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
37568 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
37569 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
37571 2011-10-24 Andreas Schwab <schwab@redhat.com>
37573 * wcsmbs/wcslen.c: Don't define WCSLEN, reverse logic.
37575 2011-10-23 Ulrich Drepper <drepper@gmail.com>
37577 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: New file.
37579 * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Add some branch
37581 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: New file.
37583 * string/strnlen.c: Don't define STRNLEN, reverse logic.
37584 Remove unused variable magic_bits.
37585 * sysdeps/i386/i686/multiarch/rtld-strnlen.c: New file.
37587 * string/strnlen.c: Define and use STRNLEN macro.
37588 * sysdeps/i386/i686/multiarch/Makefile [string] (sysdep_routines):
37589 Add strnlen-sse2, strnlen-c, wcslen-sse2, and wcslen-c.
37590 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Add support for strnlen.
37591 * wcsmbs/wcslen.c: Define and use WCSLEN.
37592 * sysdeps/i386/i686/multiarch/strnlen-c.c: New file.
37593 * sysdeps/i386/i686/multiarch/strnlen-sse2.S: New file.
37594 * sysdeps/i386/i686/multiarch/strnlen.S: New file.
37595 * sysdeps/i386/i686/multiarch/wcslen-c.c: New file.
37596 * sysdeps/i386/i686/multiarch/wcslen-sse2.S: New file.
37597 * sysdeps/i386/i686/multiarch/wcslen.S: New file.
37598 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
37600 2011-10-20 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
37602 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
37603 strnlen-sse2-no-bsf.
37604 Rename strlen-no-bsf to strlen-sse2-no-bsf.
37605 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Rename to
37606 * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S:
37607 Add strnlen support.
37608 (USE_AS_STRNLEN): New macro.
37609 * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: New file.
37610 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Update.
37611 Rename strlen-no-bsf.S to strlen-sse2-no-bsf.S
37612 * sysdeps/x86_64/wcslen.S: New file.
37614 2011-10-20 Michael Zolotukhin <michael.v.zolotukhin@gmail.com>
37616 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
37617 XMM-moves are used for copying on small sizes.
37619 2011-10-19 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
37621 * wcsmbs/Makefile (strop-tests): Add wcschr.
37622 * wcsmbs/test-wcschr.c: New file.
37623 * string/test-strchr.c: Update.
37624 Add wcschr support.
37627 2011-10-18 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
37629 * wcsmbs/Makefile (strop-tests): Add wcslen.
37630 * wcsmbs/test-wcslen.c: New file.
37631 * string/test-strlen.c: Update.
37632 Add wcslen support.
37635 2011-10-23 Ulrich Drepper <drepper@gmail.com>
37637 * po/it.po: Update from translation team.
37639 2011-09-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
37641 * sysdeps/x86_64/wcscmp.S: Update.
37642 Fix wrong comparison semantics.
37643 wcscmp shall use signed comparison not unsigned.
37644 Don't use substraction to avoid overflow bug.
37645 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
37646 * wcsmbc/wcscmp.c: Likewise.
37647 * string/test-strcmp.c: Likewise.
37648 Add new tests to check cases with negative values.
37650 2011-10-23 Ulrich Drepper <drepper@gmail.com>
37652 * sysdeps/ieee754/dbl-64/dla.h: Move DLA_FMA definition to...
37653 * sysdeps/x86_64/dla.h: ...here. New file.
37654 * sysdeps/ieee754/dbl-64/doasin.c: Use <dla.h> not "dla.h".
37655 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
37656 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
37657 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
37658 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
37659 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
37660 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
37661 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
37662 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
37664 2011-10-23 Andreas Schwab <schwab@linux-m68k.org>
37666 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Add __jnl_finite and
37667 __ynl_finite aliases.
37669 2011-10-22 Ulrich Drepper <drepper@gmail.com>
37671 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
37673 * sysdeps/ieee754/dbl-64/dla.h: When compiling with FMA4 support
37675 [DLA_FMA] (EMULV): Use DLA_FMA.
37676 [DLA_FMA] (MUL12): Use EMULV.
37677 * sysdeps/ieee754/dbl-64/doasin.c [DLA_FMA]: Don't define variables
37678 that are not needed.
37679 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
37680 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
37681 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
37682 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
37683 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
37684 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
37685 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
37687 2011-10-22 Andreas Schwab <schwab@linux-m68k.org>
37689 * math/s_nan.c: Undef __nan.
37690 * math/s_nanf.c: Undef __nanf.
37691 * math/s_nanl.c: Undef __nanl.
37692 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <math.h> before
37695 2011-10-22 Ulrich Drepper <drepper@gmail.com>
37697 * math/s_catan.c: Add branch predictions.
37698 * math/s_catanf.c: Likewise.
37699 * math/s_catanh.c: Likewise.
37700 * math/s_catanhf.c: Likewise.
37701 * math/s_catanhl.c: Likewise.
37702 * math/s_catanl.c: Likewise.
37703 * math/s_cexp.c: Likewise.
37704 * math/s_cexpf.c: Likewise.
37705 * math/s_cexpl.c: Likewise.
37706 * math/s_clog.c: Likewise.
37707 * math/s_clog10.c: Likewise.
37708 * math/s_clog10f.c: Likewise.
37709 * math/s_clog10l.c: Likewise.
37710 * math/s_clogf.c: Likewise.
37711 * math/s_clogl.c: Likewise.
37712 * math/s_csqrt.c: Likewise.
37713 * math/s_csqrtf.c: Likewise.
37714 * math/s_csqrtl.c: Likewise.
37715 * math/s_ctanf.c: Likewise.
37716 * math/s_ctanh.c: Likewise.
37717 * math/s_ctanhf.c: Likewise.
37718 * math/s_ctanhl.c: Likewise.
37719 * math/s_ctanl.c: Likewise.
37721 * math/math_private.h: Define __nan, __nanf, __nanl.
37722 * math/s_cacosh.c: Include <math_private.h>.
37723 * math/s_cacoshl.c: Likewise.
37724 * math/s_casinh.c: Likewise.
37725 * math/s_casinhf.c: Likewise.
37726 * math/s_casinhl.c: Likewise.
37727 * math/s_ccos.c: Rely entire on ccosh.
37728 * math/s_ccosf.c: Rely entire on ccoshf.
37729 * math/s_ccosl.c: Rely entirely on ccoshl.
37730 * math/s_ccosh.c: Add branch predicion helpers. Add branch prediction.
37731 Remove tests for FE_INVALID.
37732 * math/s_ccoshf.c: Likewise.
37733 * math/s_ccoshl.c: Likewise.
37734 * math/s_csin.c: Likewise.
37735 * math/s_csinf.c: Likewise.
37736 * math/s_csinh.c Likewise.
37737 * math/s_csinhf.c: Likewise.
37738 * math/s_csinhl.c: Likewise.
37739 * math/s_csinl.c: Likewise.
37740 * math/s_ctan.c: Likewise.
37741 * sysdeps/ieee754/dbl-64/e_acosh.c: Use __ieee754_sqrt.
37742 * sysdeps/ieee754/flt-32/e_acoshf.c: Use __ieee754_sqrtf.
37743 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Use __ieee754_sqrtl.
37745 2011-10-21 Ulrich Drepper <drepper@gmail.com>
37747 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Fix
37748 compilation problems.
37750 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Add a few more
37753 2011-10-20 Ulrich Drepper <drepper@gmail.com>
37755 * sysdeps/i386/configure.in: Test for -mfma4 option.
37756 * config.h.in: Add HAVE_FMA4_SUPPORT entry.
37757 * sysdeps/x86_64/multiarch/init-arch.h: Define HAS_FMA4 and
37758 COMMON_CPUID_INDEX_80000001.
37759 * sysdeps/x86_64/multiarch/init-arch.c: Read 80000001 leaf for AMD.
37760 * sysdeps/x86_64/fpu/multiarch/s_fma.c: Test for FMA4 support and
37761 use it if FMA3 is not supported.
37762 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
37764 * sysdeps/x86_64/multiarch/s_fma.c: Moved to ../fpu/multiarch.
37765 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
37767 2011-10-20 Andreas Schwab <schwab@redhat.com>
37770 * elf/dl-fini.c (_dl_sort_fini): Ignore relocation dependency if
37771 it would create a cycle with a link time dependency.
37773 2011-10-19 Ulrich Drepper <drepper@gmail.com>
37775 * sysdeps/x86_64/multiarch/rawmemchr.S: Small optimization to safe an
37777 * string/Makefile (strop-tests): Add rawmemchr.
37778 * string/test-rawmemchr.c: New file.
37780 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_AVX and index_AVX.
37781 * sysdeps/x86_64/multiarch/strcmp-sse42.S: New file. Split out from...
37782 * sysdeps/x86_64/multiarch/strcmp.S: ...here. Include strcmp-sse42.S
37783 when compiling str{,n}casecmp and when AVX is available. Hook up
37784 new optimized code in initializers.
37786 2011-10-19 Andreas Schwab <schwab@redhat.com>
37788 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv): Use
37789 __feraiseexcept instead of feraiseexcept.
37791 2011-10-18 Ulrich Drepper <drepper@gmail.com>
37793 * math/math_private.h: Define defaults for libc_fetestexcept and
37795 * sysdeps/ieee754/dbl-64/s_fma.c: Use libc_fe* interfaces.
37796 * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
37797 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
37798 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
37799 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
37800 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
37801 libc_fetestexcept and libc_feupdateenv.
37803 * math/math_private.h: Define defaults for libc_feholdexcept_setround,
37804 libc_feholdexcept_setroundf, libc_feholdexcept_setroundl.
37805 * sysdeps/ieee754/dbl-64/e_exp2.c: Use libc_feholdexcept_setround.
37806 * sysdeps/x86_64/fpu/math_private.h: Define special version of
37807 libc_feholdexcept_setround.
37809 * sysdeps/x86_64/fpu/multiarch/Makefile [math] (libm-sysdep-routines):
37810 Add s_nearbyint-c and s_nearbyintf-c.
37811 * sysdeps/x86_64/fpu/bits/mathinline.h: Define nearbyint and
37812 nearbyintf inlines.
37813 * sysdeps/x86_64/fpu/multiarch/s_nearbyint-c.c: New file.
37814 * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S: New file.
37815 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf-c.c: New file.
37816 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: New file.
37818 * math/math_private.h: Define defaults for libc_fegetround,
37819 libc_fegetroundf, libc_fegetroundl, libc_fesetround, libc_fesetroundf,
37820 libc_fesetroundl, libc_feholdexcept, libc_feholdexceptf,
37821 libc_feholdexceptl, libc_fesetenv, libc_fesetenvf, libc_fesetenvl.
37822 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Use
37823 libc_feholdexcept, libc_fesetround, libc_fesetenv instead of the
37824 standard functions.
37825 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
37826 Remove comments and hacks for old compiler versions.
37827 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
37828 libc_fegetround, libc_fesetround, libc_feholdexcept, and
37829 libc_feholdexceptl.
37831 2011-10-18 Andreas Schwab <schwab@redhat.com>
37833 * sysdeps/x86_64/fpu/bits/fenv.h: Add C linkage markers.
37834 (__feraiseexcept_renamed): Add __NTH.
37835 (feraiseexcept): Add __NTH. Rename local variables to fix
37836 namespace violations.
37838 2011-10-17 Ulrich Drepper <drepper@gmail.com>
37840 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Small optimization.
37842 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: New file.
37844 * sysdeps/x86_64/fpu/math_private.h: Relax asm requirements for
37845 recently added interfaces.
37846 * sysdeps/x86_64/fpu/bits/mathinline.h: Likewise.
37848 * sysdeps/x86_64/fpu/math_private.h: Add some parenthesis to be safe
37849 about macro parameter expansion.
37851 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't define inlines if
37852 __NO_MATH_INLINES is defined. Cleanups.
37854 * sysdeps/x86_64/fpu/math_private.h: Define __rint, __rintf, __floor,
37855 and __floorf is target has SSE4.1.
37856 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: Undef first.
37857 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.: Likewise.
37858 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: Likewise.
37859 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: Likewise.
37861 * sysdeps/x86_64/fpu/bits/mathinline.h (floor): Use correct function
37863 (floorf): Likewise.
37865 * nscd/netgroupcache.c (addgetnetgrentX): Fix #ifdef nesting.
37867 2011-10-17 Andreas Schwab <schwab@redhat.com>
37869 * misc/sys/cdefs.h: Fix last change.
37871 * grp/initgroups.c (internal_getgrouplist): Fix initgroups
37874 2011-10-16 Ulrich Drepper <drepper@gmail.com>
37876 * misc/sys/cdefs.h: Use leaf function attribute in __THROW.
37878 * sysdeps/ieee754/dbl-64/s_ceil.c: Avoid alias renamed.
37879 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
37880 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
37881 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
37882 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
37883 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
37884 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
37885 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
37886 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
37887 * sysdeps/x86_64/fpu/multiarch/Makefile: New file.
37888 * sysdeps/x86_64/fpu/multiarch/s_ceil-c.c: New file.
37889 * sysdeps/x86_64/fpu/multiarch/s_ceil.S: New file.
37890 * sysdeps/x86_64/fpu/multiarch/s_ceilf-c.c: New file.
37891 * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: New file.
37892 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: New file.
37893 * sysdeps/x86_64/fpu/multiarch/s_floor.S: New file.
37894 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.c: New file.
37895 * sysdeps/x86_64/fpu/multiarch/s_floorf.S: New file.
37896 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: New file.
37897 * sysdeps/x86_64/fpu/multiarch/s_rint.S: New file.
37898 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: New file.
37899 * sysdeps/x86_64/fpu/multiarch/s_rintf.S: New file.
37901 * sysdeps/x86_64/fpu/bits/mathinline.h: Add inlines for rint, rintf,
37902 ceil, ceilf, floor, floorf.
37904 * elf/do-rel.h (elf_dynamic_do_Rel): Work around linker problem.
37905 Perform IRELATIVE relocations last.
37907 * elf/do-rel.h: Add another parameter nrelative, replacing the
37908 local variable with the same name. Change name of the function
37909 to end in Rel or Rela (uppercase).
37910 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Add new element
37911 nrelative to ranges. Only nonzero for DT_REL/DT_RELA. Pass to the
37912 elf_dynamic_do_##reloc function.
37914 2011-10-15 Ulrich Drepper <drepper@gmail.com>
37916 * sysdeps/i386/i686/fpu/e_log.S: No need for the fyl2xp1 use, fyl2x
37917 is sufficient, at least on modern CPUs.
37919 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: New file.
37921 * sysdeps/ieee754/dbl-64/e_cosh.c: Cleanup.
37922 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: New file.
37924 * math/Versions [libm] (GLIBC_2.15): Add __exp_finite, __expf_finite,
37926 * math/bits/math-finite.h: Add entries for exp.
37927 * math/e_expl.c: Add __*_finite alias.
37928 * sysdeps/i386/fpu/e_exp.S: Likewise.
37929 * sysdeps/i386/fpu/e_expf.S: Likewise.
37930 * sysdeps/i386/fpu/e_expl.c: Likewise.
37931 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
37932 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
37933 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
37934 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
37935 * sysdeps/ieee754/dbl-64/w_exp.c: Complete rewrite.
37936 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
37937 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
37939 * sysdeps/i386/i686/fpu/e_logf.S: No need for the fyl2xp1 use, fyl2x
37940 is sufficient, at least on modern CPUs.
37942 * ctype/ctype-info.c (__ctype_init): Define.
37943 * include/ctype.h (__ctype_init): Declare.
37944 (__ctype_b_loc): The variable is always initialized.
37945 (__ctype_toupper_loc): Likewise.
37946 (__ctype_tolower_loc): Likewise.
37947 * ctype/Versions: Export __ctype_init for GLIBC_PRIVATE.
37948 * sysdeps/unix/sysv/linux/init-first.c (_init): Call __ctype_init.
37950 2011-10-15 Andreas Schwab <schwab@linux-m68k.org>
37952 * wcsmbs/wmemcmp.c (WMEMCMP): Define.
37954 * configure.in: Also look in $cxxmachine/include for C++ system
37957 2011-09-27 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
37959 * sysdeps/x86_64/multiarch/Makefile: (sysdep_routines): Add
37960 memcmp-ssse3 wmemcmp-sse4 wmemcmp-ssse3 wmemcmp-c
37961 * sysdeps/x86_64/multiarch/memcmp-ssse3: New file.
37962 * sysdeps/x86_64/multiarch/memcmp.S: Update. Add __memcmp_ssse3.
37963 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Update.
37964 (USE_AS_WMEMCMP): New macro.
37966 * sysdeps/x86_64/multiarch/wmemcmp.S: New file.
37967 * sysdeps/x86_64/multiarch/wmemcmp-ssse3.S: New file.
37968 * sysdeps/x86_64/multiarch/wmemcmp-sse4.S: New file.
37969 * sysdeps/x86_64/multiarch/wmemcmp-c.S: New file.
37970 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
37971 wmemcmp-ssse3 wmemcmp-sse4 wmemcmp-c
37972 * sysdeps/i386/i686/multiarch/wmemcmp.S: New file.
37973 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: New file.
37974 * sysdeps/i386/i686/multiarch/wmemcmp-ssse3.S: New file.
37975 * sysdeps/i386/i686/multiarch/wmemcmp-sse4.S: New file.
37976 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Update.
37977 (USE_AS_WMEMCMP): New macro.
37978 * sysdeps/i386/i686/multiarch/memcmp-ssse3: Likewise.
37979 * sysdeps/string/test-memcmp.c: Update.
37980 Fix simple_wmemcmp.
37982 * wcsmbs/wmemcmp.c: Update.
37983 (WMEMCMP): New macro.
37986 2011-10-12 Andreas Jaeger <aj@suse.de>
37989 * math/bits/mathcalls.h: Mark argument 2 of modf as non-null.
37991 2011-10-15 Ulrich Drepper <drepper@gmail.com>
37993 * libio/iofwide.c (do_length): Avoid warning.
37995 * ctype/ctype.h (__isctype_f): Add missing __THROW.
37997 2011-10-14 Ulrich Drepper <drepper@gmail.com>
37999 * elf/pldd-xx.c (find_maps): Remove leftover debug message.
38001 * sysdeps/i386/fpu/e_log.S: Add real definition of __log_finite.
38002 * sysdeps/i386/fpu/e_logf.S: Add real definition of __logf_finite.
38003 * sysdeps/i386/fpu/e_logl.S: Add real definition of __logl_finite.
38004 * sysdeps/i386/i686/fpu/e_log.S: New file.
38005 * sysdeps/i386/i686/fpu/e_logf.S: New file.
38006 * sysdeps/i386/i686/fpu/e_logl.S: New file.
38008 * ctype/ctype.h: Add support for inlined isXXX functions when
38009 compiling C++ code.
38011 2011-10-14 Andreas Schwab <schwab@redhat.com>
38013 * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for jn tests.
38015 * sysdeps/x86_64/fpu/fraiseexcpt.c: Fix last change.
38017 2011-10-13 Roland McGrath <roland@hack.frob.com>
38020 * manual/string.texi (String/Array Comparison): Typo fix in strverscmp.
38022 2011-10-13 Andreas Schwab <schwab@redhat.com>
38024 * sysdeps/x86_64/fpu/fraiseexcpt.c: Add __feraiseexcept alias.
38025 * sysdeps/x86_64/fpu/feupdateenv.c: Use __feraiseexcept instead of
38028 * sysdeps/x86_64/memrchr.S: Check for zero size.
38030 * string/stratcliff.c: Add memrchr tests.
38032 2011-10-12 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
38034 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
38035 memchr-sse2 memchr-sse2-bsf memrchr-sse2 memrchr-sse2-bsf memrchr-c
38036 rawmemchr-sse2 rawmemchr-sse2-bsf.
38037 * sysdeps/i386/i686/multiarch/memchr.S: New file.
38038 * sysdeps/i386/i686/multiarch/memchr-sse2.S: New file.
38039 * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: New file.
38040 * sysdeps/i386/i686/multiarch/memrchr.S: New file.
38041 * sysdeps/i386/i686/multiarch/memrchr-c.c: New file.
38042 * sysdeps/i386/i686/multiarch/memrchr-sse2.S: New file.
38043 * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: New file.
38044 * sysdeps/i386/i686/multiarch/rawmemchr.S: New file.
38045 * sysdeps/i386/i686/multiarch/rawmemchr-sse2.S: New file.
38046 * sysdeps/i386/i686/multiarch/rawmemchr-sse2-bsf.S: New file.
38047 * string/memrchr.c (MEMRCHR): New macro.
38049 2011-10-12 Ulrich Drepper <drepper@gmail.com>
38051 Add integration with gcc's -ffinite-math-only and optimize wrapper
38053 * Versions.def: Define GLIBC_2.15 version for libm.
38054 * math/Makefile (headers): Add bits/math-finite.h.
38055 * math/bits/math-finite.h: New file.
38056 * sysdeps/ia64/fpu/bits/math-finite.h: New file.
38057 * math/Versions [libm] (GLIBC_2.15): Export __*_finite symbols.
38058 * math/e_acoshl.c: Add __*_finite alias.
38059 * math/e_acosl.c: Likewise.
38060 * math/e_asinl.c: Likewise.
38061 * math/e_atan2l.c: Likewise.
38062 * math/e_atanhl.c: Likewise.
38063 * math/e_coshl.c: Likewise.
38064 * math/e_exp10.c: Likewise.
38065 * math/e_exp10f.c: Likewise.
38066 * math/e_exp10l.c: Likewise.
38067 * math/e_exp2l.c: Likewise.
38068 * math/e_fmodl.c: Likewise.
38069 * math/e_gammal_r.c: Likewise.
38070 * math/e_hypotl.c: Likewise.
38071 * math/e_j0l.c: Likewise.
38072 * math/e_j1l.c: Likewise.
38073 * math/e_jnl.c: Likewise.
38074 * math/e_lgammal_r.c: Likewise.
38075 * math/e_log10l.c: Likewise.
38076 * math/e_log2l.c: Likewise.
38077 * math/e_logl.c: Likewise.
38078 * math/e_powl.c: Likewise.
38079 * math/e_sinhl.c: Likewise.
38080 * math/e_sqrtl.c: Likewise.
38081 * math/e_scalb.c: Completely rewritten and optimized.
38082 * math/e_scalbf.c: Likewise.
38083 * math/e_scalbl.c: Likewise.
38084 * math/w_acos.c: Likewise.
38085 * math/w_acosf.c: Likewise.
38086 * math/w_acosl.c: Likewise.
38087 * math/w_acosh.c: Likewise.
38088 * math/w_acoshf.c: Likewise.
38089 * math/w_acoshl.c: Likewise.
38090 * math/w_asin.c: Likewise.
38091 * math/w_asinf.c: Likewise.
38092 * math/w_asinl.c: Likewise.
38093 * math/w_atan2.c: Likewise.
38094 * math/w_atan2f.c: Likewise.
38095 * math/w_atan2l.c: Likewise.
38096 * math/w_atanh.c: Likewise.
38097 * math/w_atanhf.c: Likewise.
38098 * math/w_atanhl.c: Likewise.
38099 * math/w_exp10.c: Likewise.
38100 * math/w_exp10f.c: Likewise.
38101 * math/w_exp10l.c: Likewise.
38102 * math/w_fmod.c: Likewise.
38103 * math/w_fmodf.c: Likewise.
38104 * math/w_fmodl.c: Likewise.
38105 * math/w_j0.c: Likewise.
38106 * math/w_j0f.c: Likewise.
38107 * math/w_j0l.c: Likewise.
38108 * math/w_j1.c: Likewise.
38109 * math/w_j1f.c: Likewise.
38110 * math/w_j1l.c: Likewise.
38111 * math/w_jn.c: Likewise.
38112 * math/w_jnf.c: Likewise.
38113 * math/w_log.c: Likewise.
38114 * math/w_logf.c: Likewise.
38115 * math/w_logl.c: Likewise.
38116 * math/w_log10.c: Likewise.
38117 * math/w_log10f.c: Likewise.
38118 * math/w_log10l.c: Likewise.
38119 * math/w_log2.c: Likewise.
38120 * math/w_log2f.c: Likewise.
38121 * math/w_log2l.c: Likewise.
38122 * math/w_pow.c: Likewise.
38123 * math/w_powf.c: Likewise.
38124 * math/w_powl.c: Likewise.
38125 * math/w_remainder.c: Likewise.
38126 * math/w_remainderf.c: Likewise.
38127 * math/w_remainderl.c: Likewise.
38128 * math/w_scalb.c: Likewise.
38129 * math/w_scalbf.c: Likewise.
38130 * math/w_scalbl.c: Likewise.
38131 * math/w_sqrt.c: Likewise.
38132 * math/w_sqrtf.c: Likewise.
38133 * math/w_sqrtl.c: Likewise.
38134 * math/math.h: Define __MATH_DECLARE_LDOUBLE if long double functions
38135 are declared. Include <bits/math-finite.h> if -ffinite-math-only is
38137 * math/math_private.h: Declare __kernel_standard_f.
38138 * math/w_cosh.c: Remove cruft and optimize a bit.
38139 * math/w_coshf.c: Likewise.
38140 * math/w_coshl.c: Likewise.
38141 * math/w_exp2.c: Likewise.
38142 * math/w_exp2f.c: Likewise.
38143 * math/w_exp2l.c: Likewise.
38144 * math/w_hypot.c: Likewise.
38145 * math/w_hypotf.c: Likewise.
38146 * math/w_hypotl.c: Likewise.
38147 * math/w_lgamma.c: Likewise.
38148 * math/w_lgamma_r.c: Likewise.
38149 * math/w_lgammaf.c: Likewise.
38150 * math/w_lgammaf_r.c: Likewise.
38151 * math/w_lgammal.c: Likewise.
38152 * math/w_lgammal_r.c: Likewise.
38153 * math/w_sinh.c: Likewise.
38154 * math/w_sinhf.c: Likewise.
38155 * math/w_sinhl.c: Likewise.
38156 * math/w_tgamma.c: Likewise.
38157 * math/w_tgammaf.c: Likewise.
38158 * math/w_tgammal.c: Likewise.
38159 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
38160 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
38161 * sysdeps/i386/fpu/e_acos.S: Add __*_finite alias.
38162 Minor optimizations. Pretty printing. Remove cruft.
38163 * sysdeps/i386/fpu/e_acosf.S: Likewise.
38164 * sysdeps/i386/fpu/e_acosh.S: Likewise.
38165 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
38166 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
38167 * sysdeps/i386/fpu/e_acosl.c: Likewise.
38168 * sysdeps/i386/fpu/e_asin.S: Likewise.
38169 * sysdeps/i386/fpu/e_asinf.S: Likewise.
38170 * sysdeps/i386/fpu/e_atan2.S: Likewise.
38171 * sysdeps/i386/fpu/e_atan2f.S: Likewise.
38172 * sysdeps/i386/fpu/e_atan2l.c: Likewise.
38173 * sysdeps/i386/fpu/e_atanh.S: Likewise.
38174 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
38175 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
38176 * sysdeps/i386/fpu/e_exp10.S: Likewise.
38177 * sysdeps/i386/fpu/e_exp10f.S: Likewise.
38178 * sysdeps/i386/fpu/e_exp10l.S: Likewise.
38179 * sysdeps/i386/fpu/e_exp2.S: Likewise.
38180 * sysdeps/i386/fpu/e_exp2f.S: Likewise.
38181 * sysdeps/i386/fpu/e_exp2l.S: Likewise.
38182 * sysdeps/i386/fpu/e_fmod.S: Likewise.
38183 * sysdeps/i386/fpu/e_fmodf.S: Likewise.
38184 * sysdeps/i386/fpu/e_fmodl.c: Likewise.
38185 * sysdeps/i386/fpu/e_hypot.S: Likewise.
38186 * sysdeps/i386/fpu/e_hypotf.S: Likewise.
38187 * sysdeps/i386/fpu/e_log.S: Likewise.
38188 * sysdeps/i386/fpu/e_log10.S: Likewise.
38189 * sysdeps/i386/fpu/e_log10f.S: Likewise.
38190 * sysdeps/i386/fpu/e_log10l.S: Likewise.
38191 * sysdeps/i386/fpu/e_log2.S: Likewise.
38192 * sysdeps/i386/fpu/e_log2f.S: Likewise.
38193 * sysdeps/i386/fpu/e_log2l.S: Likewise.
38194 * sysdeps/i386/fpu/e_logf.S: Likewise.
38195 * sysdeps/i386/fpu/e_logl.S: Likewise.
38196 * sysdeps/i386/fpu/e_pow.S: Likewise.
38197 * sysdeps/i386/fpu/e_powf.S: Likewise.
38198 * sysdeps/i386/fpu/e_powl.S: Likewise.
38199 * sysdeps/i386/fpu/e_remainder.S: Likewise.
38200 * sysdeps/i386/fpu/e_remainderf.S: Likewise.
38201 * sysdeps/i386/fpu/e_remainderl.S: Likewise.
38202 * sysdeps/i386/fpu/e_scalb.S: Likewise.
38203 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
38204 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
38205 * sysdeps/i386/fpu/e_sqrt.S: Likewise.
38206 * sysdeps/i386/fpu/e_sqrtf.S: Likewise.
38207 * sysdeps/i386/fpu/e_sqrtl.c: Likewise.
38208 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
38209 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
38210 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
38211 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
38212 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
38213 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
38214 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
38215 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
38216 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
38217 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
38218 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
38219 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
38220 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
38221 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
38222 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
38223 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
38224 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
38225 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
38226 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
38227 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
38228 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
38229 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
38230 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
38231 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
38232 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
38233 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
38234 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
38235 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
38236 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
38237 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
38238 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
38239 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
38240 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
38241 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
38242 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
38243 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
38244 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
38245 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
38246 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
38247 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
38248 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
38249 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
38250 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
38251 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
38252 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
38253 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
38254 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
38255 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
38256 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
38257 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
38258 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
38259 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
38260 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
38261 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
38262 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
38263 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
38264 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
38265 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
38266 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
38267 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
38268 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
38269 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
38270 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
38271 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
38272 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
38273 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
38274 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
38275 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
38276 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Likewise.
38277 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
38278 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
38279 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
38280 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
38281 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
38282 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
38283 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
38284 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
38285 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
38286 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
38287 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
38288 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
38289 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
38290 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Likewise.
38291 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
38292 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
38293 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
38294 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
38295 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
38296 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
38297 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
38298 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
38299 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
38300 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
38301 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
38302 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
38303 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
38304 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
38305 * sysdeps/s390/fpu/e_sqrt.c: Likewise.
38306 * sysdeps/s390/fpu/e_sqrtf.c: Likewise.
38307 * sysdeps/s390/fpu/e_sqrtl.c: Likewise.
38308 * sysdeps/sparc/sparc32/e_sqrt.c: Likewise.
38309 * sysdeps/sparc/sparc64/fpu/e_sqrtl.c: Likewise.
38310 * sysdeps/x86_64/fpu/e_exp2l.S: Likewise.
38311 * sysdeps/x86_64/fpu/e_fmodl.S: Likewise.
38312 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
38313 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
38314 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
38315 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
38316 * sysdeps/x86_64/fpu/e_remainderl.S: Likewise.
38317 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
38318 * sysdeps/x86_64/fpu/e_sqrt.c: Likewise. Fix parameter order
38319 * sysdeps/x86_64/fpu/e_sqrtf.c: Likewise.
38320 * sysdeps/x86_64/fpu/math_private.h (__isnan): Cast d parameter.
38321 (__isnanf): Likewise.
38322 (__isinf_ns): Likewise.
38323 (__isinf_nsf): Likewise.
38324 (__finite): Likewise.
38325 (__finitef): Likewise.
38326 (__ieee754_sqrt): Define as macro.
38327 (__ieee754_sqrtf): Define as macro.
38328 (__ieee754_sqrtl): Define as macro.
38329 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Add partially
38331 * sysdeps/x86_64/fpu/bits/mathinline.h: Make use of
38332 __FINITE_MATH_ONLY__ consistent.
38333 * sysdeps/ieee754/k_standard.c (__kernel_standard_f): New function.
38335 2011-10-10 Andreas Schwab <schwab@linux-m68k.org>
38337 * inet/getnetgrent_r.c (nscd_getnetgrent): Use __rawmemchr instead
38340 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: New file.
38342 2011-10-09 Ulrich Drepper <drepper@gmail.com>
38344 * po/ja.po: Update from translation team.
38346 2011-10-08 Roland McGrath <roland@hack.frob.com>
38348 * locale/programs/locarchive.c (prepare_address_space): New function.
38349 (create_archive, enlarge_archive, open_archive): Use it.
38351 * sysdeps/unix/sysv/linux/x86_64/time.c: Move #include <dl-vdso.h>
38352 inside [SHARED], where it is used.
38354 * nscd/nscd_proto.h: Declare __nscd_setnetgrent.
38356 * nss/getent.c (netgroup_keys): Remove unused variable.
38357 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
38359 2011-10-08 Ulrich Drepper <drepper@gmail.com>
38361 * include/math.h: Declare __isinf_ns, __isinf_nsf, __isinf_nsl.
38362 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: New file.
38363 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: New file.
38364 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: New file.
38365 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: New file.
38366 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: New file.
38367 * math/Makefile (libm-calls): Add s_isinf_ns.
38368 * math/divtc3.c: Use __isinf_nsl instead of isinf.
38369 * math/multc3.c: Likewise.
38370 * math/s_casin.c: Likewise.
38371 * math/s_casinf.c: Likewise.
38372 * math/s_casinl.c: Likewise.
38373 * math/s_ccos.c: Likewise.
38374 * math/s_ccosf.c: Likewise.
38375 * math/s_ccosl.c: Likewise.
38376 * math/s_ctan.c: Likewise.
38377 * math/s_ctanf.c: Likewise.
38378 * math/s_ctanh.c: Likewise.
38379 * math/s_ctanhf.c: Likewise.
38380 * math/s_ctanhl.c: Likewise.
38381 * math/s_ctanl.c: Likewise.
38382 * math/w_fmod.c: Likewise.
38383 * math/w_fmodf.c: Likewise.
38384 * math/w_fmodl.c: Likewise.
38385 * math/w_remainder.c: Likewise.
38386 * math/w_remainderf.c: Likewise.
38387 * math/w_remainderl.c: Likewise.
38388 * sysdeps/ieee754/dbl-64/s_finite.c: Undefine __finite.
38389 * sysdeps/ieee754/dbl-64/s_isnan.c: Undefine __isnan.
38390 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Undefine __finite.
38391 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Undefine __nan.
38392 * sysdeps/ieee754/flt-32/s_finitef.c: Undefine __finitef.
38393 * sysdeps/ieee754/flt-32/s_isnanf.c: Undefine __nan.
38394 * sysdeps/x86_64/fpu/math_private.h: Add optimized versions of __isnsn,
38395 __isnanf, __isinf_ns, __isinf_nsf, __finite, and __finitef.
38397 * stdio-common/printf_fp.c: Use the fact that isinf returns the sign
38399 * stdio-common/printf_fphex.c: Likewise.
38400 * stdio-common/printf_size.c: Likewise.
38402 * math/e_exp10.c: Include math_private.h using <...> not "...".
38403 * math/e_exp10f.c: Likewise.
38404 * math/e_exp10l.c: Likewise.
38405 * math/e_exp2l.c: Likewise.
38406 * math/e_j0l.c: Likewise.
38407 * math/e_j1l.c: Likewise.
38408 * math/e_jnl.c: Likewise.
38409 * math/e_lgammal_r.c: Likewise.
38410 * math/e_rem_pio2l.c: Likewise.
38411 * math/e_scalb.c: Likewise.
38412 * math/e_scalbf.c: Likewise.
38413 * math/e_scalbl.c: Likewise.
38414 * math/k_cosl.c: Likewise.
38415 * math/k_sinl.c: Likewise.
38416 * math/k_tanl.c: Likewise.
38417 * math/s_cacoshf.c: Likewise.
38418 * math/s_catan.c: Likewise.
38419 * math/s_catanf.c: Likewise.
38420 * math/s_catanh.c: Likewise.
38421 * math/s_catanhf.c: Likewise.
38422 * math/s_catanhl.c: Likewise.
38423 * math/s_catanl.c: Likewise.
38424 * math/s_ccosh.c: Likewise.
38425 * math/s_ccoshf.c: Likewise.
38426 * math/s_ccoshl.c: Likewise.
38427 * math/s_cexp.c: Likewise.
38428 * math/s_cexpf.c: Likewise.
38429 * math/s_cexpl.c: Likewise.
38430 * math/s_clog.c: Likewise.
38431 * math/s_clog10.c: Likewise.
38432 * math/s_clog10f.c: Likewise.
38433 * math/s_clog10l.c: Likewise.
38434 * math/s_clogf.c: Likewise.
38435 * math/s_clogl.c: Likewise.
38436 * math/s_csin.c: Likewise.
38437 * math/s_csinf.c: Likewise.
38438 * math/s_csinh.c: Likewise.
38439 * math/s_csinhf.c: Likewise.
38440 * math/s_csinhl.c: Likewise.
38441 * math/s_csinl.c: Likewise.
38442 * math/s_csqrt.c: Likewise.
38443 * math/s_csqrtf.c: Likewise.
38444 * math/s_csqrtl.c: Likewise.
38445 * math/s_ctan.c: Likewise.
38446 * math/s_ctanf.c: Likewise.
38447 * math/s_ctanh.c: Likewise.
38448 * math/s_ctanhf.c: Likewise.
38449 * math/s_ctanhl.c: Likewise.
38450 * math/s_ctanl.c: Likewise.
38451 * math/s_ldexp.c: Likewise.
38452 * math/s_ldexpf.c: Likewise.
38453 * math/s_ldexpl.c: Likewise.
38454 * math/s_significand.c: Likewise.
38455 * math/s_significandf.c: Likewise.
38456 * math/s_significandl.c: Likewise.
38457 * math/w_acos.c: Likewise.
38458 * math/w_acosf.c: Likewise.
38459 * math/w_acosh.c: Likewise.
38460 * math/w_acoshf.c: Likewise.
38461 * math/w_acoshl.c: Likewise.
38462 * math/w_acosl.c: Likewise.
38463 * math/w_asin.c: Likewise.
38464 * math/w_asinf.c: Likewise.
38465 * math/w_asinl.c: Likewise.
38466 * math/w_atan2.c: Likewise.
38467 * math/w_atan2f.c: Likewise.
38468 * math/w_atan2l.c: Likewise.
38469 * math/w_atanh.c: Likewise.
38470 * math/w_atanhf.c: Likewise.
38471 * math/w_atanhl.c: Likewise.
38472 * math/w_cosh.c: Likewise.
38473 * math/w_coshf.c: Likewise.
38474 * math/w_coshl.c: Likewise.
38475 * math/w_dremf.c: Likewise.
38476 * math/w_exp10.c: Likewise.
38477 * math/w_exp10f.c: Likewise.
38478 * math/w_exp10l.c: Likewise.
38479 * math/w_exp2.c: Likewise.
38480 * math/w_exp2f.c: Likewise.
38481 * math/w_fmod.c: Likewise.
38482 * math/w_fmodf.c: Likewise.
38483 * math/w_fmodl.c: Likewise.
38484 * math/w_hypot.c: Likewise.
38485 * math/w_hypotf.c: Likewise.
38486 * math/w_hypotl.c: Likewise.
38487 * math/w_j0.c: Likewise.
38488 * math/w_j0f.c: Likewise.
38489 * math/w_j0l.c: Likewise.
38490 * math/w_j1.c: Likewise.
38491 * math/w_j1f.c: Likewise.
38492 * math/w_j1l.c: Likewise.
38493 * math/w_jn.c: Likewise.
38494 * math/w_jnf.c: Likewise.
38495 * math/w_jnl.c: Likewise.
38496 * math/w_lgamma.c: Likewise.
38497 * math/w_lgamma_r.c: Likewise.
38498 * math/w_lgammaf.c: Likewise.
38499 * math/w_lgammaf_r.c: Likewise.
38500 * math/w_lgammal.c: Likewise.
38501 * math/w_lgammal_r.c: Likewise.
38502 * math/w_log.c: Likewise.
38503 * math/w_log10.c: Likewise.
38504 * math/w_log10f.c: Likewise.
38505 * math/w_log10l.c: Likewise.
38506 * math/w_log2.c: Likewise.
38507 * math/w_log2f.c: Likewise.
38508 * math/w_log2l.c: Likewise.
38509 * math/w_logf.c: Likewise.
38510 * math/w_logl.c: Likewise.
38511 * math/w_pow.c: Likewise.
38512 * math/w_powf.c: Likewise.
38513 * math/w_powl.c: Likewise.
38514 * math/w_remainder.c: Likewise.
38515 * math/w_remainderf.c: Likewise.
38516 * math/w_remainderl.c: Likewise.
38517 * math/w_scalb.c: Likewise.
38518 * math/w_scalbf.c: Likewise.
38519 * math/w_scalbl.c: Likewise.
38520 * math/w_sinh.c: Likewise.
38521 * math/w_sinhf.c: Likewise.
38522 * math/w_sinhl.c: Likewise.
38523 * math/w_sqrt.c: Likewise.
38524 * math/w_sqrtf.c: Likewise.
38525 * math/w_sqrtl.c: Likewise.
38526 * math/w_tgamma.c: Likewise.
38527 * math/w_tgammaf.c: Likewise.
38528 * math/w_tgammal.c: Likewise.
38530 * po/ja.po: Update from translation team.
38532 2011-09-29 Andreas Jaeger <aj@suse.de>
38535 * sunrpc/netname.c (netname2host): Fix logic.
38539 * math/w_remainderl.c (__remainderl): Handle (NaN, 0) and (Inf,y)
38541 * math/w_remainder.c (__remainder): Likewise.
38542 * math/w_remainderf.c (__remainderf): Likewise.
38543 * math/libm-test.inc (remainder_test): Add test cases.
38545 2011-10-04 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
38547 * stdlib/longlong.h: Update from GCC. Fix zarch smul_ppmm and
38550 2011-10-07 Ulrich Drepper <drepper@gmail.com>
38552 * string/test-memcmp.c: Avoid unncessary #defines.
38553 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
38555 2011-08-31 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
38557 * sysdeps/x86_64/multiarch/rawmemchr.S: Update.
38558 Use new sse2 version for core i3 - i7 as it's faster
38559 than sse42 version.
38560 (bit_Prefer_PMINUB_for_stringop): New.
38561 * sysdeps/x86_64/rawmemchr.S: Update.
38562 Replace with faster SSE2 version.
38563 * sysdeps/x86_64/memrchr.S: New file.
38564 * sysdeps/x86_64/memchr.S: Update.
38565 Replace with faster SSE2 version.
38567 2011-09-12 Marek Polacek <mpolacek@redhat.com>
38569 * elf/dl-load.c (lose): Add cast to avoid warning.
38571 2011-10-07 Ulrich Drepper <drepper@gmail.com>
38573 * po/ca.po: Update from translation team.
38575 * inet/getnetgrent_r.c: Hook up nscd.
38576 * nscd/Makefile (routines): Add nscd_netgroup.
38577 (nscd-modules): Add netgroupcache.
38578 (CFLAGS-netgroupcache.c): Define.
38579 * nscd/cache.c (readdfcts): Add entries for GETNETGRENT and INNETGR.
38580 (cache_search): Add const to second parameter.
38581 * nscd/connections.c (serv2str): Add entries for GETNETGRENT and
38583 (dbs): Add netgrdb entry.
38584 (reqinfo): Add entries for GETNETGRENT, INNETGR, and GETFDNETGR.
38585 (verify_persistent_db): Handle netgrdb.
38586 (handle_request): Handle GETNETGRENT, INNETGR, and GETFDNETGR.
38587 * nscd/nscd-client.h (request_type): Add GETNETGRENT, INNETGR, and
38589 (netgroup_response_header): Define.
38590 (innetgroup_response_header): Define.
38591 (datahead): Add netgroup_response_header and innetgroup_response_header
38593 * nscd/nscd.conf: Add entries for netgroup cache.
38594 * nscd/nscd.h (dbtype): Add netgrdb.
38595 (_PATH_NSCD_NETGROUP_DB): Define.
38596 (netgroup_iov_disabled): Declare.
38597 (xmalloc, xcalloc, xrealloc): Move declarations here.
38598 (cache_search): Adjust prototype.
38599 Add netgroup-related prototypes.
38600 * nscd/nscd_conf.c (dbnames): Add netgrdb entry.
38601 * nscd/nscd_proto.h (__nss_not_use_nscd_netgroup): Declare.
38602 (__nscd_innetgr): Declare.
38603 * nscd/selinux.c (perms): Use access_vector_t as element type and
38604 add netgroup-related initializers.
38605 * nscd/netgroupcache.c: New file.
38606 * nscd/nscd_netgroup.c: New file.
38607 * nss/Versions [libc] (GLIBC_PRIVATE): Export __nss_lookup.
38608 * nss/getent.c (netgroup_keys): Use setnetgrent only for one parameter.
38609 For four parameters use innetgr.
38610 * nss/nss_files/files-init.c: Add definition and callback for netgr.
38611 * nss/nsswitch.c (__nss_lookup): Add libc_hidden_def.
38612 (__nss_disable_nscd): Set __nss_not_use_nscd_netgroup.
38613 * nss/nsswitch.h (__nss_lookup): Add libc_hidden_proto.
38615 * nscd/connections.c (register_traced_file): Don't register file
38616 for disabled databases.
38618 2011-10-06 Ulrich Drepper <drepper@gmail.com>
38620 * nscd/grpcache.c (cache_addgr): Initialize written in all cases.
38622 * nss/nsswitch.c (__nss_lookup_function): Fix order of deleting
38623 from tree and freeing node.
38625 2011-09-25 Jiri Olsa <jolsa@redhat.com>
38627 * nss/nsswitch.c (__nss_database_lookup): Handle
38628 nss_parse_service_list out of memory case.
38630 2011-09-15 Jiri Olsa <jolsa@redhat.com>
38632 * nss/nsswitch.c (__nss_lookup_function): Handle __tsearch
38633 out of memory case.
38635 2011-10-04 Andreas Schwab <schwab@redhat.com>
38637 * include/dlfcn.h (__RTLD_NOIFUNC): Define.
38638 * elf/do-rel.h (elf_dynamic_do_rel): Add parameter skip_ifunc and
38640 * elf/dynamic-link.h: Adjust prototypes of elf_machine_rel,
38641 elf_machine_rela, elf_machine_lazy_rel.
38642 (_ELF_DYNAMIC_DO_RELOC): Add parameter skip_ifunc and pass it down.
38643 (ELF_DYNAMIC_DO_REL): Likewise.
38644 (ELF_DYNAMIC_DO_RELA): Likewise.
38645 (ELF_DYNAMIC_RELOCATE): Likewise.
38646 * elf/dl-reloc.c (_dl_relocate_object): Pass __RTLD_NOIFUNC down
38647 to ELF_DYNAMIC_DO_REL.
38648 * elf/rtld.c (_dl_start): Adjust use of ELF_DYNAMIC_RELOCATE.
38649 (dl_main): In trace mode always set __RTLD_NOIFUNC.
38650 * elf/dl-conflict.c (_dl_resolve_conflicts): Adjust call to
38652 * sysdeps/i386/dl-machine.h (elf_machine_rel): Add parameter
38653 skip_ifunc, don't call ifunc function if non-zero.
38654 (elf_machine_rela): Likewise.
38655 (elf_machine_lazy_rel): Likewise.
38656 (elf_machine_lazy_rela): Likewise.
38657 * sysdeps/ia64/dl-machine.h (elf_machine_rela): Likewise.
38658 (elf_machine_lazy_rel): Likewise.
38659 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
38661 (elf_machine_lazy_rel): Likewise.
38662 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
38664 (elf_machine_lazy_rel): Likewise.
38665 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela): Likewise.
38666 (elf_machine_lazy_rel): Likewise.
38667 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Likewise.
38668 (elf_machine_lazy_rel): Likewise.
38669 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
38670 (elf_machine_lazy_rel): Likewise.
38671 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
38672 (elf_machine_lazy_rel): Likewise.
38673 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
38674 (elf_machine_lazy_rel): Likewise.
38675 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
38676 (elf_machine_lazy_rel): Likewise.
38678 2011-09-28 Ulrich Drepper <drepper@gmail.com>
38680 * nss/nss_files/files-init.c (_nss_files_init): Use static
38681 initialization for all the *_traced_file variables.
38683 2011-09-28 Andreas Schwab <schwab@redhat.com>
38685 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
38687 2011-09-27 Roland McGrath <roland@hack.frob.com>
38690 * manual/signal.texi (Longjmp in Handler): Grammar fixes.
38692 2011-09-27 Andreas Schwab <schwab@redhat.com>
38694 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
38695 Reread the line before reparsing it.
38697 2011-09-26 Andreas Schwab <schwab@redhat.com>
38699 * sysdeps/x86_64/fpu/bits/mathinline.h: Use __asm instead of asm.
38701 2011-09-21 Chung-Lin Tang <cltang@codesourcery.com>
38702 Maxim Kuvyrkov <maxim@codesourcery.com>
38703 Joseph Myers <joseph@codesourcery.com>
38705 * resolv/Makefile (LDLIBS-resolv.so): Link in $(elfobjdir)/ld.so
38706 if needed for __stack_chk_guard.
38708 2011-09-19 Roland McGrath <roland@hack.frob.com>
38710 * sysdeps/posix/spawni.c (script_execute): Always define it.
38711 It will be optimized away if unused.
38712 (maybe_script_execute): New function.
38713 (__spawni): Call it.
38715 * Makerules: Don't include tls.make.
38716 (config-tls): Always set to thread.
38717 * tls.make.c: File removed.
38719 2011-09-19 Mike Frysinger <vapier@gentoo.org>
38721 * Makeconfig (CPPFLAGS): Prepend $(CPPFLAGS-config).
38722 * config.make.in (CPPFLAGS-config): New substituted variable.
38724 2011-09-15 Ulrich Drepper <drepper@gmail.com>
38726 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: New file.
38729 * sysdeps/unix/sysv/linux/bits/in.h (IP_MULTICAST_ALL): Define.
38730 Patch mostly by Neil Horman <nhorman@tuxdriver.com>.
38732 2011-09-15 Roland McGrath <roland@hack.frob.com>
38734 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S
38735 (CALL_FAIL): Use HIDDEN_JUMPTARGET for __fortify_fail.
38736 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
38737 (CALL_FAIL): Likewise.
38738 * sysdeps/unix/sysv/linux/ia64/____longjmp_chk.S (CHECK_RSP): Likewise.
38739 (CALL_FAIL): Macro removed.
38740 Patch mostly by Mike Frysinger <vapier@gentoo.org>.
38742 2011-09-15 Ulrich Drepper <drepper@gmail.com>
38744 * sysdeps/x86_64/fpu/bits/mathinline.h: Add fmax and fmin optimizations
38745 for __FINITE_MATH_ONLY__ == 1.
38747 2011-09-15 Andreas Schwab <schwab@redhat.com>
38749 * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Use
38750 __ieee754_sqrt instead of sqrt.
38751 * sysdeps/powerpc/fpu/e_hypotf.c (__ieee754_hypotf): Use
38752 __ieee754_sqrtf instead of sqrtf.
38753 * sysdeps/powerpc/fpu/e_rem_pio2f.c (__ieee754_rem_pio2f): Use
38754 __floorf instead of floorf.
38755 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Use
38756 __floorf, __truncf instead of floorf, truncf.
38758 2011-09-14 Ulrich Drepper <drepper@gmail.com>
38760 * sysdeps/x86_64/fpu/s_copysign.S [ELF]: Use correct section.
38762 * sysdeps/x86_64/fpu/bits/mathinline.h (__MATH_INLINE): Use
38763 __extern_always_inline.
38764 Define lrint{f,} and llrint{f,} for 64-bit and in some situations for
38767 2011-09-14 Andreas Schwab <schwab@redhat.com>
38769 * elf/rtld.c (dl_main): Also relocate in dependency order when
38770 doing symbol dependency testing.
38772 2011-09-13 Andreas Schwab <schwab@linux-m68k.org>
38774 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
38775 Always define `refsym'.
38777 2011-09-13 Andreas Schwab <schwab@redhat.com>
38779 * misc/sys/select.h (__FD_MASK): Renamed from __FDMASK.
38780 (__FD_ELT): Renamed from __FDELT.
38781 * misc/bits/select2.h (__FD_ELT): Likewise.
38782 * bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET): Use __FD_ELT,
38783 __FD_MASK instead of __FDELT, __FDMASK.
38784 * sysdeps/i386/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
38786 * sysdeps/x86_64/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
38789 * elf/Makefile (gen-ldd): Fix pattern.
38791 * elf/rtld.c (dl_main): Only use USE___THREAD when defined.
38792 (init_tls): Likewise.
38794 2011-09-12 Ulrich Drepper <drepper@gmail.com>
38796 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: New file.
38798 2011-09-12 Andreas Schwab <schwab@redhat.com>
38800 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Cast to
38801 `struct cmsghdr *' instead of `void *'.
38802 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (__cmsg_nxthdr):
38805 2011-09-11 Andreas Schwab <schwab@linux-m68k.org>
38807 * elf/Makefile (gen-ldd): Prepend $(..) to $(ldd-rewrite-script)
38809 * sysdeps/unix/sysv/linux/configure.in: Remove leading ../ from
38810 ldd_rewrite_script.
38812 2011-09-11 Ulrich Drepper <drepper@gmail.com>
38814 * configure.in: Remove --with-tls option.
38815 * config.h.in: Remove HAVE_TLS_SUPPORT entry.
38816 * sysdeps/i386/elf/configure.in: Always test for TLS support and err
38817 out in case it is missing.
38818 * sysdeps/ia64/elf/configure.in: Likewise.
38819 * sysdeps/powerpc/powerpc32/elf/configure.in: Likewise.
38820 * sysdeps/powerpc/powerpc64/elf/configure.in: Likewise.
38821 * sysdeps/s390/s390-32/elf/configure.in: Likewise.
38822 * sysdeps/s390/s390-64/elf/configure.in: Likewise.
38823 * sysdeps/sh/elf/configure.in: Likewise.
38824 * sysdeps/sparc/sparc32/elf/configure.in: Likewise.
38825 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
38826 * sysdeps/x86_64/elf/configure.in: Likewise.
38827 * sysdeps/mach/hurd/i386/tls.h: Remove test for HAVE_TLS_SUPPORT.
38828 * sysdeps/mach/hurd/tls.h: Likewise.
38831 * malloc/obstack.h [!GNUC] (obstack_free): Avoid cast to int.
38834 * configure.in: Fix use of AC_INIT.
38836 * elf/dl-support.c (_dl_pagesize): Initialize to EXEC_PAGESIZE.
38838 2011-09-10 Ulrich Drepper <drepper@gmail.com>
38840 * malloc/malloc.c: Replace MALLOC_FAILURE_ACTION with use of
38842 * malloc/hooks.c: Likewise.
38845 * malloc/arena.c (ptmalloc_init_minimal): Removed. Initialize all
38846 variables statically.
38847 (narenas): Initialize.
38848 (list_lock): Initialize.
38849 (ptmalloc_init): Don't call ptmalloc_init_minimal. Remove
38850 initializtion of main_arena and list_lock. Small cleanups.
38851 Replace all uses of malloc_getpagesize with GLRO(dl_pagesize).
38852 * malloc/malloc.c: Remove malloc_getpagesize. Include <ldsodefs.h>.
38853 Add initializers to main_arena and mp_.
38854 (malloc_state): Remove pagesize member. Change all users to use
38857 * elf/rtld.c (rtld_global_ro): Initialize _dl_pagesize.
38858 * sysdeps/unix/sysv/linux/getpagesize.c: Simplify. GLRO(dl_pagesize)
38859 is always initialized.
38861 * malloc/malloc.c: Removed unused configurations and dead code.
38862 * malloc/arena.c: Likewise.
38863 * malloc/hooks.c: Likewise.
38864 * malloc/Makefile (CPPFLAGS-malloc.c): Don't add -DATOMIC_FASTBINS.
38866 * include/tls.h: Removed. USE___THREAD must always be defined.
38867 * bits/libc-tsd.h: Don't handle !USE___THREAD.
38868 * elf/dl-libc.c: Likewise.
38869 * elf/dl-tsd.c: Likewise.
38870 * include/errno.h: Likewise.
38871 * include/netdb.h: Likewise.
38872 * include/resolv.h: Likewise.
38873 * inet/herrno-loc.c: Likewise.
38874 * inet/herrno.c: Likewise.
38875 * malloc/arena.c: Likewise.
38876 * malloc/hooks.c: Likewise.
38877 * malloc/malloc.c: Likewise.
38878 * resolv/res-state.c: Likewise.
38879 * resolv/res_libc.c: Likewise.
38880 * sysdeps/i386/dl-machine.h: Likewise.
38881 * sysdeps/ia64/dl-machine.h: Likewise.
38882 * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
38883 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
38884 * sysdeps/s390/s390-32/dl-machine.h: Likewise.
38885 * sysdeps/s390/s390-64/dl-machine.h: Likewise.
38886 * sysdeps/sh/dl-machine.h: Likewise.
38887 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
38888 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
38889 * sysdeps/unix/i386/sysdep.S: Likewise.
38890 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
38891 * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
38892 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
38893 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
38894 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
38895 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
38896 * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
38897 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
38898 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
38899 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
38900 * sysdeps/unix/x86_64/sysdep.S: Likewise.
38901 * sysdeps/x86_64/dl-machine.h: Likewise.
38902 * tls.make.c: Likewise.
38904 * configure.in: Remove --with-__thread option. Make tests for
38905 --no-whole-archive, __builtin_expect, symbol redirection, __thread,
38906 tls_model attribute fail if no support is available. Remove
38908 * Makeconfig: Adjust for dropped configure option. All features are
38910 * Makerules: Likewise.
38911 * Versions.def: Likewise.
38912 * argp/argp-fmtstream.c: Likewise.
38913 * argp/argp-fmtstream.h: Likewise.
38914 * argp/argp-help.c: Likewise.
38915 * assert/assert.c: Likewise.
38916 * config.h.in: Likewise.
38917 * config.make.in: Likewise.
38918 * configure: Likewise.
38919 * configure.in: Likewise.
38920 * csu/Versions: Likewise.
38921 * csu/init.c: Likewise.
38922 * elf/tst-audit2.c: Likewise.
38923 * elf/tst-tls10.c: Likewise.
38924 * elf/tst-tls10.h: Likewise.
38925 * elf/tst-tls11.c: Likewise.
38926 * elf/tst-tls12.c: Likewise.
38927 * elf/tst-tls14.c: Likewise.
38928 * elf/tst-tlsmod11.c: Likewise.
38929 * elf/tst-tlsmod12.c: Likewise.
38930 * elf/tst-tlsmod13.c: Likewise.
38931 * elf/tst-tlsmod13a.c: Likewise.
38932 * elf/tst-tlsmod14a.c: Likewise.
38933 * elf/tst-tlsmod15b.c: Likewise.
38934 * elf/tst-tlsmod16a.c: Likewise.
38935 * elf/tst-tlsmod16b.c: Likewise.
38936 * elf/tst-tlsmod7.c: Likewise.
38937 * elf/tst-tlsmod8.c: Likewise.
38938 * elf/tst-tlsmod9.c: Likewise.
38939 * gmon/gmon.c: Likewise.
38940 * grp/fgetgrent_r.c: Likewise.
38941 * grp/putgrent.c: Likewise.
38942 * hurd/fopenport.c: Likewise.
38943 * include/libc-symbols.h: Likewise.
38944 * include/tls.h: Likewise.
38945 * intl/gettextP.h: Likewise.
38946 * intl/loadinfo.h: Likewise.
38947 * locale/global-locale.c: Likewise.
38948 * locale/localeinfo.h: Likewise.
38949 * mach/devstream.c: Likewise.
38950 * malloc/arena.c: Likewise.
38951 * malloc/set-freeres.c: Likewise.
38952 * misc/err.c: Likewise.
38953 * misc/getttyent.c: Likewise.
38954 * misc/mntent_r.c: Likewise.
38955 * posix/getopt.c: Likewise.
38956 * posix/wordexp.c: Likewise.
38957 * pwd/fgetpwent_r.c: Likewise.
38958 * resolv/Versions: Likewise.
38959 * resolv/res_hconf.c: Likewise.
38960 * shadow/fgetspent_r.c: Likewise.
38961 * shadow/putspent.c: Likewise.
38962 * stdio-common/printf_fphex.c: Likewise.
38963 * stdio-common/tmpfile.c: Likewise.
38964 * stdlib/abort.c: Likewise.
38965 * stdlib/fmtmsg.c: Likewise.
38966 * sunrpc/auth_unix.c: Likewise.
38967 * sunrpc/clnt_perr.c: Likewise.
38968 * sunrpc/clnt_tcp.c: Likewise.
38969 * sunrpc/clnt_udp.c: Likewise.
38970 * sunrpc/clnt_unix.c: Likewise.
38971 * sunrpc/openchild.c: Likewise.
38972 * sunrpc/svc_simple.c: Likewise.
38973 * sunrpc/svc_tcp.c: Likewise.
38974 * sunrpc/svc_udp.c: Likewise.
38975 * sunrpc/svc_unix.c: Likewise.
38976 * sunrpc/xdr.c: Likewise.
38977 * sunrpc/xdr_array.c: Likewise.
38978 * sunrpc/xdr_rec.c: Likewise.
38979 * sunrpc/xdr_ref.c: Likewise.
38980 * sunrpc/xdr_stdio.c: Likewise.
38982 2011-09-09 Ulrich Drepper <drepper@gmail.com>
38984 * sysdeps/i386/fpu/libm-test-ulps: Adjust ULPs for jn tests.
38986 2011-07-03 Andreas Jaeger <aj@suse.de>
38988 * math/libm-test.inc (jn_test): Add tests for BZ#11589.
38989 * sysdeps/x86_64/fpu/libm-test-ulps: Add new ULPs for jn_test,
38990 regenerate with gen-libm-tests.pl.
38992 2010-05-12 Petr Baudis <pasky@suse.cz>
38995 * sysdeps/ieee754/dbl-64/e_jn.c: Compensate major precision loss
38996 around j0() zero points by switching to j1().
38997 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
38998 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
38999 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
39000 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
39002 2011-09-09 Ulrich Drepper <drepper@gmail.com>
39004 * sysdeps/unix/bsd/bsd4.4/bits/socket.h (__cmsg_nxthdr): Use NULL
39006 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Use (void*)0
39008 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
39009 Patch in part by Pavel Roskin <proski@gnu.org>.
39012 * stdio-common/vfscanf.c (ADDW): Allocate large memory block with
39014 (_IO_vfscanf_internal): Remove reteof. Use errout after setting done.
39015 Free memory block if necessary.
39018 * libio/genops.c (INTDEF): For string streams the _lock pointer can
39019 be NULL. Don't lock in this case.
39021 2011-09-09 Roland McGrath <roland@hack.frob.com>
39023 * elf/elf.h (ELFOSABI_GNU): New macro.
39024 (ELFOSABI_LINUX): Define to that.
39026 2011-07-29 Denis Zaitceff <zaitceff@gmail.com>
39028 * string/strncat.c (strncat): Undef the symbol in case it has been
39029 defined in bits/string.h.
39031 2011-09-09 Ulrich Drepper <drepper@gmail.com>
39033 * elf/sotruss.ksh: Clean up, fix, and complete help messages.
39035 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Fill in data from the real
39038 2011-08-17 Andreas Jaeger <aj@suse.de>
39040 * elf/sprof.c (load_shobj): Remove unused variable log_hashfraction.
39042 2011-08-18 Paul Pluzhnikov <ppluzhnikov@google.com>
39043 Ian Lance Taylor <iant@google.com>
39045 * math/libm-test.inc (lround_test): New testcase.
39046 * sysdeps/ieee754/dbl-64/s_lround.c (__lround): Don't lose precision.
39048 2011-09-08 Ulrich Drepper <drepper@gmail.com>
39050 * Makefile: Remove support for automatic cvs check-ins.
39051 * Makerules: Likewise.
39052 * config.make.in: Likewise.
39053 * configure.in: Likewise.
39054 * intl/Makefile: Likewise.
39055 * locale/Makefile: Likewise.
39056 * po/Makefile: Likewise.
39057 * posix/Makefile: Likewise.
39058 * sysdeps/gnu/Makefile: Likewise.
39059 * sysdeps/mach/hurd/Makefile: Likewise.
39060 * sysdeps/sparc/sparc32/Makefile: Likewise.
39063 * posix/Makefile (bug-regex32-ENV): Define.
39064 Patch by John Stanley <jpsinthemix@verizon.net>.
39066 * misc/Makefile (headers): Add bits/select2.h.
39067 * misc/sys/select.h: Include bits/select2.h for _FORTIFY_SOURCE.
39068 * misc/bits/select2.h: New file.
39069 * include/bits/select2.h: New file.
39070 * debug/Makefile (routines): Add fdelt_chk.
39071 * debug/Versions: Export __fdelt_chk and __fdelt_warn for GLIBC_2.15.
39072 * debug/tst-chk1.c (do_test): Add tests for FD_SET, FD_CLR, and
39074 * debug/fdelt_chk.c: New file.
39076 * wcsmbs/test-wcscmp.c: Moved from string/*. Adjust.
39077 * wcsmbs/test-wmemcmp.c: Likewise.
39078 * string/Makefile (strop-tests): Remove wcscmp and wmemcmp.
39079 * wcsmbs/Makefile (strop-tests): Add wcscmp and wmemcmp.
39081 2011-09-08 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
39083 * string/Makefile (strop-tests): Add memcmp.
39084 * string/test-wmemcmp.c: New file.
39085 * string/test-memcmp.c: Add wmemcmp support.
39087 2011-09-08 Roland McGrath <roland@hack.frob.com>
39090 * manual/libc.texinfo (EDITION, VERSION, UPDATED): Update for
39093 * sysdeps/mach/hurd/fork.c (__fork): Initialize REFS so we don't use a
39094 garbage value in a __mach_port_mod_refs call in the cases of the
39095 task-self and thread-self ports.
39097 2011-09-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
39099 * sysdeps/mach/hurd/sys/param.h (DEV_BSIZE): New macro.
39101 2011-09-08 Andreas Schwab <schwab@redhat.com>
39103 * elf/dl-load.c (lose): Check for non-null L.
39105 2011-09-07 Ulrich Drepper <drepper@gmail.com>
39107 * elf/dl-load.c (open_verify): Use O_CLOEXEC.
39109 * elf/dl-libc.c (dlerror_run): Pass back error code from
39113 * elf/dl-load.c (lose): Free l_origin if it is valid.
39115 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Fix mixup in section
39117 * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
39118 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
39119 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
39120 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
39121 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
39122 Patch by Liubov Dmitrieva <liubov.dmitrieva@intel.com>.
39124 2011-08-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
39126 * sysdeps/powerpc/fpu/e_hypot.c: New file.
39127 * sysdeps/powerpc/fpu/e_hypotf.c: New file.
39128 * sysdeps/powerpc/fpu/e_rem_pio2f.c: New file.
39129 * sysdeps/powerpc/fpu/k_rem_pio2f.c: New file.
39130 * sysdeps/powerpc/fpu/k_cosf.c: New file.
39131 * sysdeps/powerpc/fpu/k_sinf.c: New file.
39132 * sysdeps/powerpc/fpu/s_cosf.c: New file.
39133 * sysdeps/powerpc/fpu/s_sinf.c: New file.
39134 * sysdeps/powerpc/fpu/s_scalbnf.c: New file.
39135 * sysdeps/powerpc/fpu/s_float_bitwise.h: New file.
39137 2011-08-15 Alan Modra <amodra@gmail.com>
39140 * sysdeps/powerpc/Makefile (gmon): Move sysdep_routines to..
39141 * sysdeps/powerpc/powerpc64/Makefile (gmon): ..here..
39142 * sysdeps/powerpc/powerpc32/Makefile (gmon): ..and here. Add
39143 ppc_mcount to static-only-routines.
39144 * sysdeps/powerpc/powerpc32/Versions: Export GLIBC_PRIVATE
39146 * sysdeps/powerpc/powerpc32/ppc-mcount.S (_mcount): Call
39147 __mcount_internal with usual JUMPTARGET. Remove useless nop.
39149 2011-08-18 David Flaherty <flaherty@linux.vnet.ibm.com>
39151 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: New file which checks
39152 for finite and infinity parameters.
39154 2011-08-04 Will Schmidt <will_schmidt@vnet.ibm.com>
39156 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Adjust the alignment
39157 and add nop instructions for throughput optimization.
39158 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
39160 2011-07-28 Will Schmidt <will_schmidt@vnet.ibm.com>
39162 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Optimize the
39163 aligned copy for power7 with vector-scalar instructions.
39164 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
39166 2011-07-24 H.J. Lu <hongjiu.lu@intel.com>
39168 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Simplify
39171 2011-09-07 Andreas Schwab <schwab@redhat.com>
39174 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Revert
39177 2011-09-07 Ulrich Drepper <drepper@gmail.com>
39179 * sysdeps/unix/sysv/linux/x86_64/init-first.c
39180 (_libc_vdso_platform_setup): If vDSO is not present store pointer to
39181 syscall wrapper around clock_gettime in __vdso_clock_gettime.
39182 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Add entry for
39185 2011-09-06 Ulrich Drepper <drepper@gmail.com>
39187 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c (INTERNAL_GETTIME):
39188 Forgot to demangle the pointer.
39190 * sysdeps/i386/sysdep.h: Define atom_text_section.
39191 * sysdeps/x86_64/sysdep.h: Likewise.
39192 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Place function in
39193 section with atom_text_section.
39194 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
39195 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
39196 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
39197 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
39198 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: Likewise.
39200 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: New file.
39201 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSCALL_GETTIME): Allow
39202 already be defined. Change to take two parameters and don't assign
39203 result to variable. Adjust all users.
39204 Define INTERNAL_GETTIME if not already defined.
39205 Use INTERNAL_GETTIME instead of INTERNAL_VSYSCALL got clock_gettime
39207 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Don't define
39208 HAVE_CLOCK_GETTIME_VSYSCALL.
39209 * sysdeps/unix/clock_gettime.c: Adjust use of SYSDEP_GETTIME_CPU.
39211 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Don't use
39212 gettimeofday vsyscall, just use time.
39214 2011-09-06 Andreas Schwab <schwab@redhat.com>
39216 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Include
39219 2011-09-06 Ulrich Drepper <drepper@gmail.com>
39221 * sysdeps/unix/sysv/linux/kernel-features.h: Add entry for getcpu
39223 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Use real
39225 * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
39226 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [!SHARED]: Use real
39227 syscall if possible.
39229 2011-09-05 Ulrich Drepper <drepper@gmail.com>
39231 * elf/pldd.c (get_process_info): Don't read whole ELF header, just
39232 e_ident. Don't pass to find_mapsXX.
39233 * elf/pldd-xx.c (find_mapsXX): Remove second parameter.
39235 2011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
39237 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
39238 strchr-sse2-no-bsf strrchr-sse2-no-bsf
39239 * sysdeps/x86_64/multiarch/strchr.S: Update.
39240 Check bit_slow_BSF bit.
39241 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
39242 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: New file.
39243 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: New file.
39245 2011-09-05 Ulrich Drepper <drepper@gmail.com>
39248 * sysdeps/posix/spawni.c (script_execute): Define only for compatibility
39250 (tryshell): Define.
39251 (__spawni): Change last parameter to be flag. Test
39252 SPAWN_XFLAGS_USE_PATH flag to use path or not.
39253 Don't try to use shell unless SPAWN_XFLAGS_TRY_SHELL is set.
39254 * sysdeps/mach/hurd/spawni.c: Change last parameter and adjust user.
39255 * posix/spawni.c: Likewise.
39256 * posix/spawn.c: Add compat version which passed SPAWN_XFLAGS_TRY_SHELL.
39257 * posix/spawnp.c: Likewise. Change normal version to use
39258 SPAWN_XFLAGS_USE_PATH.
39259 * posix/spawn_int.c: Define SPAWN_XFLAGS_USE_PATH and
39260 SPAWN_XFLAGS_TRY_SHELL.
39263 * posix/glob.h: Remove gcc 1.x support.
39266 * elf/dl-misc.c (_dl_sysdep_read_whole_file): Use O_CLOEXEC.
39268 2011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
39270 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
39271 strchr-sse2 strrchr-sse2 strchr-sse2-bsf
39273 * sysdeps/i386/i686/multiarch/strchr.S: New file.
39274 * sysdeps/i386/i686/multiarch/strrchr.S: New file.
39275 * sysdeps/i386/i686/multiarch/strchr-sse2.S: New file.
39276 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: New file.
39277 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: New file.
39278 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: New file.
39280 2011-08-29 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
39282 * sysdeps/x86_64/wcscmp.S: New file.
39284 * sysdeps/i386/i686/multiarch/Makefile: (sysdep_routines): Add
39285 wcscmp-c wcscmp-sse2
39286 * sysdeps/i386/i686/multiarch/wcscmp-c.c: New file.
39287 * sysdeps/i386/i686/multiarch/wcscmp.S: New file.
39288 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: New file.
39289 * wcsmbs/wcscmp.c: Allow renaming.
39291 2011-09-05 David S. Miller <davem@davemloft.net>
39293 * sysdeps/sparc/sparc32/fpu/s_fabsf.S: Use first argument
39294 stack slot, rather than the struct return pointer slot.
39295 * sysdeps/sparc/sparc32/fpu/s_fabs.c: Delete.
39296 * sysdeps/sparc/sparc32/fpu/s_fabs.S: New file.
39297 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Likewise.
39298 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/Implies: Likewise.
39300 2011-09-05 Ulrich Drepper <drepper@gmail.com>
39302 * po/ja.po: Update from translation team.
39305 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Fix to match
39306 kernel in 64-bit binaries.
39308 2011-09-01 David S. Miller <davem@davemloft.net>
39310 * elf/elf.h (HWCAP_SPARC_*): Move to..
39311 * sysdeps/sparc/sysdep.h: this new file and add new values.
39312 * sysdeps/unix/sparc/sysdep.h: Include sysdeps/sparc/sysdep.h
39313 * sysdeps/sparc/dl-procinfo.h: Include sysdep.h and increase
39314 _DL_HWCAP_COUNT to 24.
39315 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
39317 * sysdeps/sparc/sparc32/bits/atomic.h: Don't use magic local
39318 __ATOMIC_HWCAP_SPARC_V9 define, use sysdep.h one instead.
39319 * sysdeps/sparc/sparc32/dl-machine.h: Include sysdep.h
39320 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use HWCAP_SPARC_*
39321 instead of magic constants.
39322 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
39324 2011-08-31 David S. Miller <davem@davemloft.net>
39326 * sysdeps/unix/sparc/sysdep.h (SETUP_PIC_REG): Define.
39327 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h (PSEUDO):
39328 Reimplement to do errno handling inline.
39329 (SYSCALL_ERROR_HANDLER): New macro.
39330 (__SYSCALL_STRING): Do not do errno handling in asm.
39331 (__CLONE_SYSCALL_STRING): Delete.
39332 (__INTERNAL_SYSCALL_STRING): Delete.
39333 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Include
39334 sysdeps/unix/sparc/sysdep.h instead of sysdeps/unix/sysdep.h
39335 (PSEUDO): Reimplement to do errno handling inline.
39336 (ret, ret_NOERRNO, ret_ERRVAL, r0, r1, MOVE): Don't redefine.
39337 (SYSCALL_ERROR_HANDLER): New macro.
39338 (__SYSCALL_STRING): Do not do errno handling in asm.
39339 (__CLONE_SYSCALL_STRING): Delete.
39340 (__INTERNAL_SYSCALL_STRING): Delete.
39341 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL):
39342 Implement in terms of INTERNAL_SYSCALL and __set_errno, just like
39344 (INTERNAL_SYSCALL_DECL): Declare %g1 var for err state.
39345 (inline_syscall*): Add 'err' argument.
39346 (INTERNAL_SYSCALL, INTERNAL_SYSCALL_NCS,
39347 INTERNAL_SYSCALL_ERROR_P): Likewise and pass it down.
39348 (INLINE_CLONE_SYSCALL): Reimplement in terms of __SYSCALL_STRING,
39349 INTERNAL_SYSCALL_ERRNO, and INTERNAL_SYSCALL_ERROR_P.
39351 * scripts/data/localplt-sparc-linux-gnu.data: Remove 'ffs'.
39352 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
39354 2011-08-30 Andreas Schwab <schwab@redhat.com>
39356 * elf/rtld.c (dl_main): Relocate objects in dependency order.
39358 2011-08-29 Jiri Olsa <jolsa@redhat.com>
39360 * sysdeps/i386/dl-trampoline.S (_dl_runtime_profile): Fix cfi
39363 2011-08-24 David S. Miller <davem@davemloft.net>
39365 * sysdeps/sparc/sparc64/strcmp.S: Rewrite.
39367 2011-08-24 Andreas Schwab <schwab@redhat.com>
39369 * elf/Makefile: Add rules to build and run unload8 test.
39370 * elf/unload8.c: New file.
39371 * elf/unload8mod1.c: New file.
39372 * elf/unload8mod1x.c: New file.
39373 * elf/unload8mod2.c: New file.
39374 * elf/unload8mod3.c: New file.
39376 * elf/dl-close.c (_dl_close_worker): Reset private search list if
39379 2011-08-23 David S. Miller <davem@davemloft.net>
39381 * sysdeps/sparc/sparc64/dl-machine.h (DL_STACK_END): Do not
39382 subtract stack bias.
39383 * sysdeps/sparc/sparc64/jmpbuf-unwind.h (_JMPBUF_UNWINDS): Use
39384 %sp not %fp in calculations.
39385 (_JMPBUF_UNWINDS_ADJ): Likewise.
39387 * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait): New function.
39388 (aio_suspend): Call it to force an exception region around the
39389 AIO_MISC_WAIT() invocation.
39391 2011-08-23 Andreas Schwab <schwab@redhat.com>
39393 * sysdeps/i386/i686/multiarch/strspn.S (ENTRY): Add missing
39396 2011-07-04 Aurelien Jarno <aurelien@aurel32.net>
39398 * sysdeps/powerpc/dl-tls.h: Add _PPC_DL_TLS_H inclusion
39400 * sysdeps/powerpc/powerpc64/dl-irel.h: Include <ldsodefs.h>
39401 and <dl-machine.h>.
39402 (Elf64_FuncDesc): Remove.
39404 2011-08-22 David S. Miller <davem@davemloft.net>
39406 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Fix
39407 sigaltstack check, add missing cfi directives.
39408 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Add
39409 missing cfi directives, and sigaltstack handling.
39411 2011-08-16 Andreas Schwab <schwab@redhat.com>
39414 * elf/dl-deps.c (_dl_map_object_deps): Only assume cycle when
39415 object is seen twice.
39416 * elf/dl-fini.c (_dl_sort_fini): Likewise.
39418 * elf/Makefile (distribute): Add tst-initorder2.c.
39419 (tests): Add tst-initorder2.
39420 (modules-names): Add tst-initorder2a tst-initorder2b
39421 tst-initorder2c tst-initorder2d. Add rules to build them.
39422 ($(objpfx)tst-initorder2.out): New rule.
39423 * elf/tst-initorder2.c: New file.
39424 * elf/tst-initorder2.exp: New file.
39426 2011-08-22 Andreas Schwab <schwab@redhat.com>
39428 * sysdeps/unix/sysv/linux/i386/scandir64.c: Include <string.h>.
39430 * elf/dl-deps.c (_dl_map_object_deps): Move check for missing
39431 dependencies back to end of function.
39433 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
39434 $(elfobjdir)/ld.so.
39436 2011-08-21 Ulrich Drepper <drepper@gmail.com>
39438 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.S: Removed.
39439 * sysdeps/unix/sysv/linux/x86_64/time.S: Removed.
39440 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: New file.
39441 * sysdeps/unix/sysv/linux/x86_64/time.c: New file.
39442 * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Remove declaration
39443 of __vdso_gettimeofday.
39444 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Remove definition of
39445 __vdso_gettimeofday and __vdso_time. Define __vdso_getcpu with
39447 (_libc_vdso_platform_setup): Remove initialization of
39448 __vdso_gettimeofday and __vdso_time.
39450 2011-08-20 Ulrich Drepper <drepper@gmail.com>
39452 * nss/nss_files/files-alias.c (get_next_alias): Use feof_unlocked
39453 and fgetc_unlocked.
39454 * nss/nss_files/files-key.c (search): Use fgets_unlocked and
39457 * elf/dl-open.c (add_to_global): Report additions to the global scope
39458 for LD_DEBUG=scopes.
39459 (dl_open_worker): Also print scope of newly loaded dependencies.
39460 (_dl_show_scope): Indicate if there is no scope.
39463 * stdio-common/Makefile (tests): Add bug24.
39464 * stdio-common/bug24.c: New file.
39466 2011-08-19 Andreas Jaeger <aj@suse.de>
39469 * libio/fileops.c (_IO_new_file_fopen): Fix handling of
39470 non-existant file when using close-on-exec mode.
39472 2011-08-20 Ulrich Drepper <drepper@gmail.com>
39474 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Fix CFI for
39475 the very first instruction.
39477 * sysdeps/x86_64/dl-trampoline.h: If MORE_CODE is defined, restore
39478 the CFI state in the end.
39479 * sysdeps/x86_64/dl-trampoline.S: Define MORE_CODE before first
39480 inclusion of dl-trampoline.h.
39481 Based on a patch by Jiri Olsa <jolsa@redhat.com>.
39483 2011-08-19 Andreas Schwab <schwab@redhat.com>
39485 * sysdeps/powerpc/fpu/libm-test-ulps: Relax ctan (0.75 + 1.25 i)
39486 expectations for long double.
39488 * sysdeps/unix/sysv/linux/powerpc/powerpc32/scandir64.c: Renamed
39489 from sysdeps/unix/sysv/linux/powerpc/scandir64.c.
39491 2011-08-14 David S. Miller <davem@davemloft.net>
39493 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): The
39494 artificual limit depends upon the system page size.
39496 2011-08-17 Ulrich Drepper <drepper@gmail.com>
39498 * Makeconfig (override CFLAGS): Add library-specific CFLAGS.
39499 * resolv/Makefile: Define CFLAGS-libresolv.
39501 2011-08-17 Andreas Schwab <schwab@redhat.com>
39503 * nss/makedb.c (compute_tables): Make variables used in nested
39506 2011-08-17 Ulrich Drepper <drepper@gmail.com>
39508 * elf/pldd-xx.c (r_debug): Explicitly add padding when needed.
39509 * elf/pldd.c (get_process_info): Use pread to re-read auxiliary vector
39510 if buffer was too small.
39512 * elf/pldd.c (main): Attach to all threads in the process.
39513 Rewrite /proc handling to use *at functions.
39515 2011-08-16 Ulrich Drepper <drepper@gmail.com>
39517 * elf/dl-open.c (_dl_show_scope): Take additional parameter which
39518 specifies first scope to show.
39519 (dl_open_worker): Update callers. Move printing scope of new
39520 object to before the relocation.
39521 * elf/rtld.c (dl_main): Update _dl_show_scope call.
39522 * sysdeps/generic/ldsodefs.h: Update declaration.
39524 * elf/dl-open.c (_dl_show_scope): Use _dl_debug_printf to generate the
39525 string for the scope number.
39527 2011-08-14 Ulrich Drepper <drepper@gmail.com>
39529 * nscd/servicescache.c (cache_addserv): Make sure written is always
39532 2011-08-14 Roland McGrath <roland@hack.frob.com>
39534 * sysdeps/i386/i486/bits/atomic.h
39535 (__arch_compare_and_exchange_val_64_acq): Use RET alone at end of
39536 statement expression, so as to suppress "set but not used" warning.
39537 (__arch_c_compare_and_exchange_val_64_acq): Likewise.
39539 * string/strncat.c (STRNCAT): Use prototype definition.
39541 * locale/Makefile (locale-CPPFLAGS): Renamed CPPFLAGS-locale-programs.
39542 (locale-CPPFLAGS): New variable; put LOCALEDIR, LOCALE_ALIAS_PATH and
39544 (cppflags-iterator.mk sequence): Use locale-programs in place of nonlib.
39545 (localedef-modules): Add localedef.
39546 (locale-modules): Add locale.
39548 * sysdeps/generic/ldsodefs.h (struct unique_sym): Add a const.
39549 * elf/rtld.c (dl_main): Invert order of assignment in last change,
39550 to avoid a warning.
39552 2011-08-14 David S. Miller <davem@davemloft.net>
39554 * sysdeps/unix/sysv/linux/sparc/bits/resource.h (RLIM_INFINITY,
39555 RLIM64_INFINITY): Fix 64-bit values for 32-bit sparc.
39557 2011-08-13 Ulrich Drepper <drepper@gmail.com>
39559 * elf/dl-open.c: Rename show_scope to _dl_show_scope and export.
39560 (dl_open_worker): Call _dl_show_scope when DL_DEBUG_SCOPES is set.
39561 * elf/rtld.c (dl_main): Set l_name of vDSO.
39562 Call _dl_show_scope when DL_DEBUG_SCOPES.
39563 (process_dl_debug): Recognize scopes flag and also set it for all.
39564 * sysdeps/generic/ldsodefs.h: Define DL_DEBUG_SCOPES.
39565 Declare _dl_show_scope.
39567 * elf/dl-libc.c (do_dlopen_args): Add caller_dlopen.
39568 (do_dlopen): Pass caller_dlopen to dl_open.
39569 (__libc_dlopen_mode): Initialize caller_dlopen.
39571 * intl/l10nflist.c (_nl_normalize_codeset): Make it compile outside
39572 of libc. Make tolower call locale-independent. Optimize a bit by
39573 using isdigit instead of isalnum.
39574 * locale/Makefile (locale-CPPFLAGS): Add -DNOT_IN_libc.
39576 2011-08-12 Ulrich Drepper <drepper@gmail.com>
39578 * elf/dl-load.c (_dl_map_object): Show in debug output whether a DSO
39579 was a dependency or dynamically loaded.
39581 2011-08-11 Ulrich Drepper <drepper@gmail.com>
39583 * intl/l10nflist.c: Allow architecture-specific pop function.
39584 * sysdeps/x86_64/l10nflist.c: New file.
39586 * intl/l10nflist.c (_nl_make_l10nflist): Use locale-independent
39589 2011-08-10 Andreas Schwab <schwab@redhat.com>
39591 * include/dirent.h: Add libc_hidden_proto for scandirat and
39592 scandirat64. Don't declare __scandirat64.
39593 * dirent/scandirat.c: Add libc_hidden_def.
39594 * dirent/scandirat64.c (SCANDIRAT): Remove underscores.
39595 * sysdeps/unix/sysv/linux/i386/scandir64.c (SCANDIRAT): Likewise.
39597 2011-08-10 David S. Miller <davem@davemloft.net>
39599 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Add missing comma in
39601 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
39602 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
39603 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
39605 2011-08-09 Ulrich Drepper <drepper@gmail.com>
39607 * Versions.def [libc]: Add GLIBC_2.15.
39608 * dirent/Makefile (routines): Add scandirat and scandirat64.
39609 * dirent/Versions [libc]: Export scandirat and scandirat64 for
39611 * dirent/dirent.h: Declare scandirat and scandirat64.
39612 * dirent/scandirat.c: New file.
39613 * dirent/scandirat64.c: New file.
39614 * sysdeps/wordsize-64/scandirat.c: New file.
39615 * sysdeps/wordsize-64/scandirat64.c: New file.
39616 * dirent/opendir.c: Define opendirat.
39617 * dirent/scandir.c: Move code to scandirat.c. Implement scandir
39619 * dirent/scandir64.c: Adjust for scandir.c change.
39620 * include/dirent.h: Define scandir_cancel_struct. Declare __opendirat,
39621 __scandirat64, and __scandir_cancel_handler.
39622 * sysdeps/unix/opendir.c: Rename __opendir to __opendirat. Take
39623 additional parameter and use openat instead of open (outside of ld.so).
39624 Add new __opendir as wrapper around __opendirat.
39625 * sysdeps/unix/sysv/linux/i386/scandir64.c: Reimplement __old_scandir64
39626 here without requiring old scandirat implementation.
39628 2011-08-08 Ulrich Drepper <drepper@gmail.com>
39630 * dirent/scandir.c (cancel_handler): Renamed to
39631 __scandir_cancel_handler. Do not define if SKIP_SCANDIR_CANCEL is
39632 defined. Adjust users.
39633 * dirent/scandir64.c: Define SKIP_SCANDIR_CANCEL.
39634 * sysdeps/unix/sysv/linux/i386/scandir64.c: Likewise.
39636 2011-08-04 Ulrich Drepper <drepper@gmail.com>
39638 * string/test-string.h (IMPL): Use __STRING to expand name and then
39641 * string/test-strcmp.c: Unify most of the WIDE and !WIDE code. Lots
39644 2011-07-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
39646 * string/Makefile: Update.
39647 (strop-tests): Append strncat.
39648 * string/test-wcscmp.c: New file.
39649 New comprehensive test for wcscmp.
39650 * string/test-strcmp.c: Update.
39651 (WIDE): New define.
39653 2011-07-22 Andreas Schwab <schwab@redhat.com>
39655 * resolv/res_init.c (__res_vinit): Properly tokenize nameserver
39658 2011-07-26 Andreas Schwab <schwab@redhat.com>
39660 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
39661 encoding to ACE if AI_IDN.
39663 2011-08-01 Jakub Jelinek <jakub@redhat.com>
39665 * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2): Fix up fq
39666 to y conversion for prec 3 and __FLT_EVAL_METHOD__ != 0.
39668 2011-07-22 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
39670 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Update.
39671 Fix overflow bug in strncat.
39672 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
39674 * string/test-strncat.c: Update.
39675 Add new tests for checking overflow bugs.
39677 2011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
39679 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
39680 strcat-ssse3 strcat-sse2 strncat-ssse3 strncat-sse2 strncat-c.
39681 * sysdeps/i386/i686/multiarch/strcat.S: New file.
39682 * sysdeps/i386/i686/multiarch/strcat-c.c: New file.
39683 * sysdeps/i386/i686/multiarch/strcat-sse2.S: New file.
39684 * sysdeps/i386/i686/multiarch/strcat-ssse3.S: New file.
39685 * sysdeps/i386/i686/multiarch/strncat.S: New file.
39686 * sysdeps/i386/i686/multiarch/strncat-sse2.S: New file.
39687 * sysdeps/i386/i686/multiarch/strncat-ssse3.S: New file.
39689 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S
39690 (USE_AS_STRCAT): Define.
39691 Add strcat and strncat support.
39692 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
39694 2011-07-25 Andreas Schwab <schwab@redhat.com>
39696 * sysdeps/i386/i486/bits/string.h (__strncat_g): Correctly handle
39697 __n bigger than INT_MAX+1.
39698 (__strncmp_g): Likewise.
39700 2011-07-23 Ulrich Drepper <drepper@gmail.com>
39702 * posix/unistd.h: Define SEEK_DATA and SEEK_HOLE.
39703 * libio/stido.h: Likewise.
39705 * sysdeps/unix/sysv/linux/bits/socket.h (PF_NFC): Define.
39707 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (PF_NFC): Define.
39710 * sysdeps/unix/sysv/linux/sys/ptrace.h: Add new constants.
39711 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
39712 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
39713 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
39714 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
39717 * scripts/test-installation.pl: Don't expect libnss_test1 to be
39720 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix one more
39722 (_dl_x86_64_save_sse): Likewise.
39724 2011-07-22 Ulrich Drepper <drepper@gmail.com>
39726 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix test for
39728 (_dl_x86_64_save_sse): Likewise.
39730 * crypt/crypt_util.c (__init_des_r): Optimize memset calls.
39732 * crypt/crypt_util.c (__init_des_r): Add read barrier as well.
39734 2011-07-21 Andreas Schwab <schwab@redhat.com>
39736 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix last
39738 (_dl_x86_64_save_sse): Use correct AVX check.
39740 2011-07-21 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
39742 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Fix overfow
39743 bug in strncpy/strncat.
39744 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
39746 2011-07-21 Ulrich Drepper <drepper@gmail.com>
39748 * string/tester.c (test_strcat): Add tests for different alignments
39749 of source and destination.
39750 (test_strncat): Likewise.
39752 2011-07-20 Ulrich Drepper <drepper@gmail.com>
39755 * posix/glob.c (glob): Check passed in values before using them in
39756 expressions to avoid some overflows.
39757 (glob_in_dir): Likewise.
39760 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): More complete
39761 check for AVX enablement so that we don't crash with old kernels and
39763 * elf/tst-audit4.c: Add same checks here.
39764 * elf/tst-audit6.c: Likewise.
39766 * sysdeps/x86_64/bits/link.h (La_x86_64_ymm): Force 16-byte alignment.
39768 2011-07-09 Andreas Schwab <schwab@linux-m68k.org>
39770 * sysdeps/unix/sysv/linux/pathconf.c: Include <string.h>.
39772 2011-07-20 Ulrich Drepper <drepper@gmail.com>
39774 * po/cs.po: Update from translation team.
39775 * po/bg.po: Likewise.
39777 2011-07-12 Marek Polacek <mpolacek@redhat.com>
39779 * misc/sys/cdefs.h: Add support for const attribute.
39780 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add __attribute_const__
39781 to gnu_dev_{major,minor,makedev} functions.
39783 2011-07-20 Marek Polacek <mpolacek@redhat.com>
39785 * intl/dcigettext.c (get_output_charset): Add missing bracket.
39787 2011-07-20 Andreas Schwab <schwab@redhat.com>
39789 * resolv/res_query.c (__libc_res_nquerydomain): Use size_t for
39792 2011-07-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
39794 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
39795 (INTERNAL_VSYSCALL_NCS): Use r10 for backing up the return address
39796 register in order to avoid conflicts with the soft frame pointer
39797 being held in r11 when necessary.
39798 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
39799 (INTERNAL_VSYSCALL_NCS): Likewise.
39801 2011-07-14 Marek Polacek <mpolacek@redhat.com>
39803 * elf/dl-fini.c (_dl_sort_fini): Remove unused link_map *l argument,
39804 * elf/dl-fini.c (_dl_fini): Adjust caller.
39805 * elf/dl-close.c (_dl_close_worker): Likewise.
39806 * sysdeps/generic/ldsodefs.h: Adjust declaration.
39808 2011-07-15 Marek Polacek <mpolacek@redhat.com>
39810 * elf/cache.c (load_aux_cache): Remove unnecessary condition of
39811 "aux_cache->nlibs < 0".
39813 * nscd/nscd_conf.c (nscd_parse_file): Remove unnecessary condition
39814 in the reload-count case.
39816 2011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
39818 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
39819 strcat-ssse3 strcat-sse2-unaligned strncat-ssse3
39820 strncat-sse2-unaligned strncat-c strlen-sse2-pminub
39821 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: New file.
39822 * sysdeps/x86_64/multiarch/strcat.S: New file.
39823 * sysdeps/x86_64/multiarch/strncat.S: New file.
39824 * sysdeps/x86_64/multiarch/strncat-c.c: New file.
39825 * sysdeps/x86_64/multiarch/strcat-ssse3.S: New file.
39826 * sysdeps/x86_64/multiarch/strncat-sse2-unaligned.S: New file.
39827 * sysdeps/x86_64/multiarch/strncat-ssse3.S: New file.
39828 * sysdeps/x86_64/multiarch/strcpy-ssse3.S
39829 (USE_AS_STRCAT): Define.
39830 Add strcat and strncat support.
39831 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
39832 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
39833 * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: New file.
39834 * string/strncat.c: Update.
39835 (USE_AS_STRNCAT): Define.
39836 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
39837 Turn on bit_Prefer_PMINUB_for_stringop for Intel Core i3, i5
39839 * sysdeps/x86_64/multiarch/init-arch.h
39840 (bit_Prefer_PMINUB_for_stringop): New.
39841 (index_Prefer_PMINUB_for_stringop): Likewise.
39842 * sysdeps/x86_64/multiarch/strlen.S (strlen): Check
39843 bit_Prefer_PMINUB_for_stringop.
39845 2011-07-19 Ulrich Drepper <drepper@gmail.com>
39847 * crypt/sha512.h (struct sha512_ctx): Move buffer into union and add
39849 * crypt/sha512.c (__sha512_finish_ctx): Use buffer64 for writes instead
39850 of casting of buffer.
39851 * crypt/sha256.h (struct sha256_ctx): Move buffer into union and add
39852 buffer32 and buffer64.
39853 * crypt/sha256.c (__sha256_finish_ctx): Use buffer32 or buffer64 for
39854 writes instead of casting of buffer.
39855 * crypt/md5.h (struct md5_ctx): Move buffer into union and add
39857 * crypt/md5.c (md5_finish_ctx): Use buffer32 for writes instead of
39860 2011-07-19 Andreas Schwab <schwab@redhat.com>
39862 * string/strxfrm_l.c (STRXFRM): Fix alloca accounting.
39864 2011-07-19 Ulrich Drepper <drepper@gmail.com>
39866 * nscd/nscd.c (termination_handler): Don't do anything for a database
39867 if it has not yet been initialized.
39869 2011-07-18 Ulrich Drepper <drepper@gmail.com>
39871 * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_EQUAL_S): Fix a typo.
39873 2011-07-15 Marek Polacek <mpolacek@redhat.com>
39875 * bits/sched.h (__CPU_EQUAL_S): Fix a typo.
39877 2011-07-18 Ulrich Drepper <drepper@gmail.com>
39879 * po/nl.po: Update from translation team.
39880 * po/sv.po: Likewise.
39882 2011-07-16 Roland McGrath <roland@hack.frob.com>
39884 * sysdeps/i386/Makefile: Never use -mpreferred-stack-boundary=2,
39885 now disallowed by GCC.
39887 * configure.in (use-default-link): Default to yes if a test -shared
39888 link meets our qualifications.
39889 * configure: Regenerated.
39891 * config.make.in (output-format): New variable.
39892 * configure.in: Check for ld --print-output-format support.
39893 * configure: Regenerated.
39894 * Makerules ($(common-objpfx)format.lds)
39895 [$(output-format) != unknown]: Just use $(output-format),
39896 instead of the linker-script munging.
39898 2011-07-14 Roland McGrath <roland@hack.frob.com>
39900 * Makefile ($(common-objpfx)linkobj/libc.so): Use $(shlib-lds) instead
39901 of $(common-objpfx)shlib.lds.
39902 * elf/Makefile ($(objpfx)sotruss-lib.so): Likewise.
39904 * sysdeps/i386/i686/multiarch/strstr-c.c (libc_hidden_builtin_def):
39905 Conditionalize redefinition on [SHARED && DO_VERSIONING && !NO_HIDDEN].
39907 * configure.in (-z relro check): Adjust test code to add a large
39908 writable data section after it.
39909 * configure: Regenerated.
39911 2011-07-11 Roland McGrath <roland@hack.frob.com>
39913 * configure.in (-z relro check): Fix test code to make the variable
39915 * configure: Regenerated.
39917 2011-07-11 Ulrich Drepper <drepper@gmail.com>
39919 * nscd/nscd.h (struct traced_file): Define.
39920 (struct database_dyn): Remove inotify_descr, reset_res, and filename
39921 elements. Add traced_files.
39922 (inotify_fd): Declare.
39923 (register_traced_file): Declare.
39924 * nscd/connections.c (dbs): Remove reset_res and filename initializers.
39925 (inotify_fd): Export.
39926 (resolv_conf_descr): Remove.
39927 (nscd_init): Move inotify descriptor creation to main.
39928 Don't register files for notification here.
39929 (register_traced_file): New function.
39930 (invalidate_cache): Don't use reset_res to determine whether to call
39931 res_init, go through the list of registered files.
39932 (main_loop_poll): The inotify descriptors are now stored in the
39933 structures for the traced files.
39934 (main_loop_epoll): Likewise
39935 * nscd/nscd.c (main): Create inotify socket here. Pass extra argument
39936 to __nss_disable_nscd.
39937 * nscd/cache.c (prune_cache): There is no single inotify descriptor
39938 for a database anymore. Check the records for all the registered
39940 * nss/Makefile (libnss_files-routines): Add files-init.
39941 (libnss_db-routines): Add db-init.
39942 * nss/Versions [libnss_files] (GLIBC_PRIVATE): Add _nss_files_init.
39943 [libnss_db] (GLIBC_PRIVATE): Add _nss_db_init.
39944 * nss/nss_db/db-init.c: New file.
39945 * nss/nss_files/files-init.c: New file.
39946 * nss/nsswitch.c (nss_load_library): New function. Broken out of
39947 __nss_lookup_function.
39948 (__nss_lookup_function): Call nss_load_library.
39949 (nss_load_all_libraries): New function.
39950 (__nss_disable_nscd): Take parameter with callback function for files
39951 to register. Set is_nscd. Load all the DSOs for the NSS modules
39952 used for the cached services.
39953 * nss/nsswitch.h (__nss_disable_nscd): Adjust prototype.
39954 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd]: Pass the various -D
39955 options for features to all the files in nscd.
39957 * nss/nsswitch.c (nss_parse_file): Add missing fclose.
39959 2011-07-10 Roland McGrath <roland@hack.frob.com>
39961 * csu/elf-init.c (__libc_csu_init): Comment typo.
39963 2011-07-09 Ulrich Drepper <drepper@gmail.com>
39965 * po/pl.po: Update from translation team.
39966 * po/ja.po: Likewise.
39967 * po/ru.po: Likewise.
39968 * po/ko.po: Likewise.
39969 * po/fr.po: Likewise.
39971 2011-07-09 Roland McGrath <roland@hack.frob.com>
39973 * configure.in (.ctors/.dtors header and trailer check):
39974 Use an empirical test on a built program.
39975 * configure: Regenerated.
39977 * configure.in (-z relro check): Use an empirical test on a built DSO.
39978 Detect, but do not require, on ia64.
39979 * configure: Regenerated.
39981 * configure.in (READELF): Find it with AC_CHECK_TOOL.
39982 Update tests that use readelf to use $READELF instead.
39983 * configure: Regenerated.
39985 2011-07-08 Ulrich Drepper <drepper@gmail.com>
39987 * malloc/hooks.c (memalign_check): Avoid using checked_request2size
39988 if the result is not used.
39990 2011-07-05 Andreas Jaeger <aj@suse.de>
39993 * stdlib/tst-strtod.c: Add testcase.
39995 2011-07-07 Ulrich Drepper <drepper@gmail.com>
39997 * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): New function.
39998 (__statfs_link_max): Use it to distinguish between ext2/3 and ext4.
39999 The latter has a higher limit. Take additional parameter to pass to
40001 (__pathconf): Pass file to __statfs_link_max.
40002 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Pass fd to
40004 * sysdeps/unix/sysv/linux/pathconf.h: Adjust prototype of
40008 * sysdeps/unix/sysv/linux/linux_fsinfo.h: Define Lustre constants.
40009 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
40011 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Likewise.
40012 (__statfs_filesize_max): Likewise.
40013 Patch mostly by Andreas Dilger <adilger@whamcloud.com>.
40015 2011-07-05 Andreas Jaeger <aj@suse.de>
40017 * resolv/res_comp.c (dn_skipname): Remove unused variable.
40019 2011-07-06 Marek Polacek <mpolacek@redhat.com>
40021 * nis/nss_nisplus/nisplus-spwd.c (_nss_nisplus_setspent): Honour the
40023 * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_setetherent):
40026 2011-07-04 H.J. Lu <hongjiu.lu@intel.com>
40028 * Makefile (strop-tests): Add strncat.
40029 * string/test-strncat.c: New file.
40031 2011-06-30 Marek Polacek <mpolacek@redhat.com>
40033 * iconvdata/johab.c: Don't inline `johab_sym_hanja_to_ucs' function.
40035 2011-06-21 Andreas Jaeger <aj@suse.de>
40037 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules):
40038 Copy rule from iconvdata/Makefile.
40040 2011-07-06 Ulrich Drepper <drepper@gmail.com>
40043 * posix/getopt.c (_getopt_internal_r): When "W;" is in short options
40044 but no long options are defined, just return 'W'.
40046 2011-06-22 Marek Polacek <mpolacek@redhat.com>
40049 * stdlib/strtod_l.c (round_and_return): Set ERANGE instead of EDOM.
40051 2011-07-06 Ulrich Drepper <drepper@gmail.com>
40053 * inet/getnetgrent_r.c (internal_getnetgrent_r): Fix check for known
40055 (innetgr): Likewise.
40057 2011-07-05 Roland McGrath <roland@hack.frob.com>
40059 * config.make.in (install_root): Default to $(DESTDIR).
40061 2011-07-05 Ulrich Drepper <drepper@gmail.com>
40063 * nscd/nscd_getserv_r.c (nscd_getserv_r): Add cast to avoid warning.
40065 2011-07-02 Roland McGrath <roland@hack.frob.com>
40067 * Makerules ($(common-objpfx)format.lds): Fail if result is empty.
40069 * Makefile ($(common-objpfx)testrun.sh): Generate to work relative to
40070 containing directory rather than embedding absolute directory names.
40072 * scripts/check-local-headers.sh: Rewritten using awk.
40073 Match by word, not by line. Print error messages for matches.
40074 * Makefile ($(objpfx)check-local-headers.out): Pass AWK in to it.
40076 * Makerules [shlib-lds-flags empty]:
40077 ($(common-objpfx)libc_pic.opts): New target.
40078 ($(common-objpfx)libc_pic.os.clean): New target.
40079 ($(common-objpfx)libc.so): Link it instead of libc_pic.os.
40081 * config.make.in (OBJCOPY): New variable.
40082 * aclocal.m4 (LIBC_PROG_BINUTILS): Substitute OBJCOPY too.
40083 * configure: Regenerated.
40085 * config.make.in (use-default-link): New variable.
40086 * configure.in (use_default_link): Grok --with-default-link to set it.
40087 * configure: Regenerated.
40088 * Makerules [$(elf) = yes] [$(use-default-link) = yes]:
40089 (shlib-lds, shlib-lds-flags): Define to empty.
40091 * Makerules (shlib-lds): New variable.
40092 (shlib-lds-flags): New variable.
40093 (build-shlib, build-moduile, build-module-asneeded): Use it.
40094 ($(common-objpfx)libc.so): Use $(shlib-lds).
40095 ($(extra-modules-build:%=$(objpfx)%.so)): Likewise.
40096 * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Likewise.
40098 * elf/dynamic-link.h (elf_get_dynamic_info): Make asserts accept
40099 DT_FLAGS/DT_FLAGS_1 with zero flags.
40101 * elf/Makefile ($(objpfx)ld.so): Use -defsym=_begin=0 instead of
40102 linker script munging.
40104 2011-07-02 Ulrich Drepper <drepper@gmail.com>
40106 * crypt/sha512.h (struct sha512_ctx): Add union to access total also
40108 * crypt/sha512.c (sha512_process_block): Perform total addition using
40109 128-bit if possible.
40110 (__sha512_finish_ctx): Likewise.
40111 * crypt/sha256.h (struct sha256_ctx): Add union to access total also
40113 * crypt/sha256.c (SWAP64): Define.
40114 (sha256_process_block): Perform total addition using 64-bit if
40116 (__sha256_finish_ctx): Likewise.
40118 2011-07-01 Ulrich Drepper <drepper@gmail.com>
40120 * nscd/pwdcache.c (cache_addpw): Cleanup. Add branch prediction.
40121 * nscd/initgrcache.c (addinitgroupsX): Likewise.
40122 * nscd/hstcache.c (cache_addhst): Likewise.
40123 * nscd/grpcache.c (cache_addgr): Likewise.
40124 * nscd/aicache.c (addhstaiX): Likewise
40125 * nscd/servicescache.c (cache_addserv): Handle zero negtimeout.
40127 2011-07-01 Thorsten Kukuk <kukuk@suse.de>
40129 * nscd/pwdcache.c (cache_addpw): Handle zero negtimeout.
40130 * nscd/initgrcache.c (addinitgroupsX): Likewise.
40131 * nscd/hstcache.c (cache_addhst): Likewise.
40132 * nscd/grpcache.c (cache_addgr): Likewise.
40133 * nscd/aicache.c (addhstaiX): Likewise
40135 2011-07-01 Andreas Schwab <schwab@redhat.com>
40137 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Query NIS
40138 domain only when needed.
40140 2011-06-30 Andreas Schwab <schwab@redhat.com>
40142 * sysdeps/posix/getaddrinfo.c (gaih_inet): Make sure RES_USE_INET6
40143 is always restored.
40145 2011-06-29 Ulrich Drepper <drepper@gmail.com>
40147 * nscd/grpcache.c (cache_addgr): Don't write notfound reply if we
40148 are re-adding the entry.
40149 * nscd/servicescache.c (cache_addserv): Likewise.
40151 2011-06-30 Aurelien Jarno <aurelien@aurel32.net>
40153 * sysdeps/generic/dl-irel.h: fix protection against multiple
40155 * sysdeps/generic/dl-irel.h (elf_ifunc_invoke): New.
40157 2011-06-28 Ulrich Drepper <drepper@gmail.com>
40160 * malloc/memusage.sh: Fix quoting in message.
40161 * debug/xtrace.sh: Likewise.
40163 * configure.in: Remove support for --experimental-malloc option, make
40165 * config.make.in: Likewise.
40166 * malloc/Makefile: Likewise.
40168 2011-06-27 Andreas Schwab <schwab@redhat.com>
40170 * iconvdata/gb18030.c (BODY for TO_LOOP): Fix encoding of non-BMP
40171 two-byte characters.
40173 2011-06-27 Roland McGrath <roland@hack.frob.com>
40175 * configure.in (NO_CTORS_DTORS_SECTIONS): Give this check its own
40176 AC_CACHE_CHECK invocation.
40177 * configure: Regenerated.
40179 * elf/soinit.c (__CTOR_LIST__, __DTOR_LIST__): Add used attribute.
40181 2011-06-27 Ulrich Drepper <drepper@gmail.com>
40184 * nscd/aicache.c (addhstaiX): Restore only RES_USE_INET6
40185 bit from old_res_options.
40187 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-servicescache.c): Define.
40189 * inet/getnetgrent_r.c (innetgr): Minimal cleanup, use correct return
40190 value type for setfct.
40192 2011-06-23 H.J. Lu <hongjiu.lu@intel.com>
40194 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
40195 __gettimeofday instead of gettimeofday.
40197 2011-06-26 Ulrich Drepper <drepper@gmail.com>
40199 * elf/Makefile (all-built-dso): No need to check linkobj/libc.so.
40201 2011-06-24 H.J. Lu <hongjiu.lu@intel.com>
40203 * sysdeps/i386/i686/multiarch/strcpy-sse2.S (RETURN): Fix a typo.
40205 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Correct unwind
40208 2011-06-22 H.J. Lu <hongjiu.lu@intel.com>
40210 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
40211 strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
40212 strcpy-sse2-unaligned strncpy-sse2-unaligned
40213 stpcpy-sse2-unaligned stpncpy-sse2-unaligned.
40214 * sysdeps/x86_64/multiarch/stpcpy-sse2-unaligned.S: New file.
40215 * sysdeps/x86_64/multiarch/stpcpy-ssse3.S: New file.
40216 * sysdeps/x86_64/multiarch/stpncpy-sse2-unaligned.S: New file.
40217 * sysdeps/x86_64/multiarch/stpncpy-ssse3.S: New file.
40218 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: New file.
40219 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: New file.
40220 * sysdeps/x86_64/multiarch/strncpy-sse2-unaligned.S: New file.
40221 * sysdeps/x86_64/multiarch/strncpy-ssse3.S: New file.
40222 * sysdeps/x86_64/multiarch/strcpy.S: Remove strcpy with SSSE3.
40223 (STRCPY): Support SSE2 and SSSE3 versions.
40225 2011-06-24 Ulrich Drepper <drepper@gmail.com>
40228 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): Define.
40229 * sysdeps/wordsize-64/tst-writev.c: Work around problem with 2.6.38+
40230 kernels which artificially limit size of requests.
40232 2011-06-22 H.J. Lu <hongjiu.lu@intel.com>
40234 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
40235 strncpy-c strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
40236 strcpy-sse2 strncpy-sse2 stpcpy-sse2 stpncpy-sse2.
40237 * sysdeps/i386/i686/multiarch/stpcpy-sse2.S: New file.
40238 * sysdeps/i386/i686/multiarch/stpcpy-ssse3.S: New file.
40239 * sysdeps/i386/i686/multiarch/stpncpy-sse2.S: New file.
40240 * sysdeps/i386/i686/multiarch/stpncpy-ssse3.S: New file.
40241 * sysdeps/i386/i686/multiarch/stpncpy.S : New file.
40242 * sysdeps/i386/i686/multiarch/strcpy-sse2.S : New file.
40243 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: New file.
40244 * sysdeps/i386/i686/multiarch/strcpy.S: New file.
40245 * sysdeps/i386/i686/multiarch/strncpy-c.c: New file.
40246 * sysdeps/i386/i686/multiarch/strncpy-sse2.S: New file.
40247 * sysdeps/i386/i686/multiarch/strncpy-ssse3.S: New file.
40248 * sysdeps/i386/i686/multiarch/strncpy.S: New file.
40249 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
40250 Enable unaligned load optimization for Intel Core i3, i5 and i7
40252 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Unaligned_Load):
40254 (index_Fast_Unaligned_Load): Define.
40255 (HAS_FAST_UNALIGNED_LOAD): Define.
40257 2011-06-23 Marek Polacek <mpolacek@redhat.com>
40259 * nss/nss_db/db-open.c: Include <unistd.h> for read declaration.
40261 2011-06-22 Ulrich Drepper <drepper@gmail.com>
40264 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Avoid calling __check_pf
40265 until it is clear that the information is realy needed.
40266 Patch mostly by David Hanisch <david.hanisch@nsn.com>.
40268 2011-06-22 Andreas Schwab <schwab@redhat.com>
40270 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix last change.
40272 2011-06-22 Ulrich Drepper <drepper@gmail.com>
40274 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
40275 /sys/devices/system/cpu/online if it is usable.
40277 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Rate limit
40278 reading the information from the /proc filesystem to once a second.
40280 2011-06-21 Andreas Jaeger <aj@suse.de>
40282 * sysdeps/unix/sysv/linux/bits/sigcontext.h: Fix definition of
40283 NULL after inclusion of kernel headers.
40285 2011-06-21 Ulrich Drepper <drepper@gmail.com>
40287 * nss/nss_db/db-XXX.c (nss_db_setENT): Only set entidx for successful
40288 calls to internal_setent.
40291 * sysdeps/posix/getaddrinfo.c (gaih_inet): When looking up only IPv6
40292 addresses using gethostbyname4_r ignore IPv4 addresses.
40294 * sysdeps/posix/getaddrinfo.c (gaih_inet): After the last change the
40295 branch using gethostbyname2 is only for AF_INET. Optimize accordingly.
40297 * inet/getnetgrent_r.c: Use DL_CALL_FCT in several places.
40299 2011-06-20 David S. Miller <davem@davemloft.net>
40301 * sysdeps/sparc/sparc32/dl-plt.h: Protect against multiple
40303 * sysdeps/sparc/sparc64/dl-plt.h: Likewise.
40305 * sysdeps/i386/dl-irel.h (elf_ifunc_invoke): New.
40306 (elf_irel): Use it.
40307 * sysdeps/powerpc/powerpc32/dl-irel.h: Likewise.
40308 * sysdeps/powerpc/powerpc64/dl-irel.h: Likewise.
40309 * sysdeps/sparc/sparc32/dl-irel.h: Likewise.
40310 * sysdeps/sparc/sparc64/dl-irel.h: Likewise.
40311 * sysdeps/x86_64/dl-irel.h: Likewise.
40313 * elf/dl-runtime.c: Use elf_ifunc_invoke.
40314 * elf/dl-sym.c: Likewise.
40316 2011-06-15 Ulrich Drepper <drepper@gmail.com>
40318 * resolv/res_send.c (__libc_res_nsend): Fix typos in last patch. We
40319 need to dereference resplen2.
40321 2011-06-14 Andreas Schwab <schwab@redhat.com>
40323 * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c: New file.
40325 2011-06-15 Ulrich Drepper <drepper@gmail.com>
40327 * Makeconfig: Define vardbdir and inst_vardbdir.
40328 * nss/Makefile: Add rules to install db-Makefile.
40330 * nss/nss_db/db-XXX.c: Cleanup.
40332 * nss/Makefile (libnss_db-dbs): Add db-initgroups.
40333 * nss/Versions [libnss_db]: Add _nss_db_initgroups_dyn for
40335 * nss/db-Makefile (groups.db): Emit entries for initgroups lookups.
40336 * nss/makedb.c: Implement -g option to specify that value strings
40337 are generated and should not be added to table iterated over for
40339 * nss/nss_db/db-initgroups.c: New file.
40341 * nss/getent.c: Add support for initgroups lookups through getgrouplist
40344 * grp/initgroups.c (__nss_initgroups_database): Renamed and exported.
40345 (internal_getgrouplist): Adjust to name change.
40346 Update use_initgroups_entry if this is not the first call.
40347 * nss/databases.def: Add initgroups entry.
40349 * nss/makedb.c (compute_tables): Check result of multiple hash table
40350 sizes to minimize maximum chain length.
40352 2011-06-14 Ulrich Drepper <drepper@gmail.com>
40354 * Versions.def: Add entry for libnss_db.
40355 * shlib-versions: Likewise.
40356 * nss/Makefile: Add rules to build libnss_db.
40357 * nss/Versions: Add libnss_db information. Organize libnss_files
40359 * nss/db-Makefile: Add gshadow support. Change rules for the new
40360 makedb progra. Some minor improvements to generate smaller files.
40361 * nss/nss_db/nss_db.h: Move NSS database header data structures to
40363 * nss/makedb.c: ...here.
40364 Improve database format to be smaller and require less memory at
40366 * nss/nss_db/db-XXX.x: Adjust for new database format. Don't use
40368 * nss/nss_db/db-netgrp.c: Likewise.
40369 * nss/nss_db/db-open.c: Likewise.
40370 * nss/nss_files/flies-XXX.x: Adjust comments.
40371 * nss/nss_files/files-ethers.c: Adjust for new DB_LOOKUP definition.
40372 * nss/nss_files/files-grp.c: Likewise.
40373 * nss/nss_files/files-hosts.c: Likewise.
40374 * nss/nss_files/files-network.c: Likewise.
40375 * nss/nss_files/files-proto.c: Likewise.
40376 * nss/nss_files/files-pwd.c: Likewise.
40377 * nss/nss_files/files-rpc.c: Likewise.
40378 * nss/nss_files/files-service.c: Likewise.
40379 * nss/nss_files/files-sgrp.c: Likewise.
40380 * nss/nss_files/files-spwd.c: Likewise.
40381 * nss/nss_db/db-alias.c: Removed.
40382 * nss/nss_db/dummy-db.h: Removed.
40384 2011-06-02 Ulrich Drepper <drepper@gmail.com>
40386 * nss/makedb.c: Rewritten to not use database library.
40387 * nss/Makefile: Update to build new makedb program.
40389 2011-06-14 Andreas Jaeger <aj@suse.de>
40391 * sysdeps/unix/sysv/linux/check_native.c: Include <string.h> for
40392 memset declaration.
40394 2011-06-10 Andreas Schwab <schwab@redhat.com>
40396 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix logic allocating
40399 2011-06-10 Roland McGrath <roland@hack.frob.com>
40401 * Makerules (shlib.lds): Fail if the linker script comes out empty.
40402 * elf/Makefile ($(objpfx)ld.so): Likewise.
40404 * Makefile ($(common-objpfx)linkobj/libc.so): Break long lines with \.
40405 Don't list ld.so twice in dependencies.
40407 * posix/bug-regex31.c: Include <stdlib.h>.
40409 * nscd/hstcache.c (cache_addhst): Remove unused variable.
40411 * nis/nss_compat/compat-spwd.c
40412 (getspent_next_nss_netgr): Remove unused variable.
40413 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Likewise.
40415 * nis/nis_print_group_entry.c (nis_print_group_entry): Fix "Implicit
40416 nonmembers" output to use the right array.
40418 * resolv/nss_dns/dns-network.c (getanswer_r): Remove unused variable.
40420 * elf/dl-open.c (_dl_open): Quash warnings when DL_NNS==1.
40422 * locale/programs/ld-ctype.c (ctype_read): Remove unused variable.
40423 * locale/programs/ld-collate.c (add_to_tablewc): Likewise.
40424 * catgets/gencat.c (read_input_file): Likewise.
40425 * locale/programs/locarchive.c (enlarge_archive): Likewise.
40427 * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Move DONTBLOCK
40428 variable definition inside #if's controlling its use.
40430 * inet/getnetgrent_r.c (innetgr): Remove unused variable.
40432 * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix errno restoration.
40434 * misc/syslog.c (__vsyslog_chk): Remove unused variable.
40436 * io/fts.c (fts_build): Use if (0 && ...) rather than #if 0 for
40439 * stdio-common/printf_fp.c (___printf_fp): Remove unused variable.
40441 * configure.in (nss-crypt check): Use AC_LANG_PROGRAM.
40442 * configure: Regenerated.
40444 * Makerules: Revert last change.
40445 * elf/Makefile: Likewise.
40447 2011-06-09 Roland McGrath <roland@hack.frob.com>
40449 * Makerules ($(common-objpfx)libc_pic.os): Use -Wl, before -r.
40450 * elf/Makefile ($(objpfx)librtld.os): Likewise.
40451 (reloc-link): Likewise.
40453 2011-06-09 Ulrich Drepper <drepper@gmail.com>
40455 * elf/Makefile: Add rules to build pldd.
40456 * elf/pldd.c: New file.
40457 * elf/pldd-xx.c: New file.
40459 2011-06-07 Ulrich Drepper <drepper@gmail.com>
40461 * version.h: Update for 2.15 development version.
40463 2011-06-07 David S. Miller <davem@davemloft.net>
40465 * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Pass dl_hwcap to
40467 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela,
40468 elf_machine_lazy_rel): Likewise.
40469 * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
40470 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela,
40471 elf_machine_lazy_rel): Likewise.
40472 * sysdeps/sparc/sparc64/multiarch/memcpy.S (memcpy): Fetch
40473 dl_hwcap via passed in argument.
40474 * sysdeps/sparc/sparc64/multiarch/memset.S (memset, bzero):
40477 2011-06-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
40479 * stdlib/longlong.h: Update from GCC. Fix smul_ppmm for S/390.
40481 2011-06-06 Roland McGrath <roland@hack.frob.com>
40484 * manual/fdl-1.1.texi: New file, verbatim from:
40485 http://www.gnu.org/licenses/old-licenses/fdl-1.1.texi
40486 * manual/lgpl-2.1.texi: New file, verbatim from:
40487 http://www.gnu.org/licenses/old-licenses/lgpl-2.1.texi
40488 * manual/Makefile (licenses): New variable, list those new file names.
40490 (chapters.% top-menu.%): Include $(licenses) with $(appendices).
40492 * manual/fdl.texi: File removed.
40493 * manual/lesser.texi: File removed.
40494 * manual/libc.texinfo (Copying, Documentation License):
40495 Use new @include file names, put @appendix directive before @include.
40497 2011-06-04 Jakub Jelinek <jakub@redhat.com>
40500 * rt/bits/mqueue2.h (__mq_open_2): Add __THROW.
40501 (__mq_open_alias): Use __REDIRECT_NTH instead of __REDIRECT.
40502 (mq_open): Add __NTH.
40504 2011-06-02 H.J. Lu <hongjiu.lu@intel.com>
40506 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
40507 Assume Intel Core i3/i5/i7 processor if AVX is available.
40509 2011-05-31 Ulrich Drepper <drepper@gmail.com>
40511 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
40514 2011-05-31 Andreas Schwab <schwab@redhat.com>
40516 * nscd/nscd_getserv_r.c (nscd_getserv_r): Don't free non-malloced
40517 memory. Use alloca_account. Fix memory leak when retrying.
40519 2011-05-31 Ulrich Drepper <drepper@gmail.com>
40521 * version.h (RELEASE): Bump for 2.14 release.
40522 * include/features.h (__GLIBC_MINOR__): Bump to 14.
40524 * config.make.in (RANLIB): Remove entry.
40526 2011-05-30 Ulrich Drepper <drepper@gmail.com>
40528 * po/Makefile (po-sed-cmd): Add ksh to extensions.
40529 (libc.pot): Work around missing support for .ksh extension in xgettext.
40532 * resolv/res_send.c (__libc_res_nsend): Only go to the next name server
40533 if both request failed.
40534 (send_dg): In case of server errors clear resplen or *resplen2.
40537 * elf/dl-deps.c (_dl_map_object_deps): Run initializer sorting only
40538 when there are multiple maps.
40539 * elf/dl-fini.c (_dl_sort_fini): Check for list of one.
40540 (_dl_fini): Remove test here.
40542 * elf/rtld.c (dl_main): Don't allow the loader to load itself.
40544 2011-05-29 Ulrich Drepper <drepper@gmail.com>
40547 * sysdeps/posix/getaddrinfo.c (gethosts): Restore only RES_USE_IENT6
40548 bit from old_res_options.
40549 (gaih_inet): Likewise.
40552 * shadow/sgetspent_r.c (LINE_PARSER): Interpret numeric field values
40555 * resolv/res_init.c (res_setoptions): Make the code more compact.
40558 * resolv/res_init.c (res_setoptions): Recognize use-vc option and
40562 * elf/Makefile (tests): Don't add tst-audit[67] without working -mavx.
40564 * malloc/malloc.h: Mark malloc hook variables as deprecated.
40567 * malloc/malloc.h: Declare malloc hook variables as volatile.
40569 * locale/programs/locarchive.c (add_locale_to_archive): Fix typo
40573 * sysdeps/unix/sysv/linux/bits/siginfo.h (SI_USER): Don't mention
40574 raise in the comment.
40575 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
40576 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
40577 * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Likewise.
40579 2011-05-28 Ulrich Drepper <drepper@gmail.com>
40582 * posix/regex_internal.c (build_wcs_buffer): Don't signal we have to
40583 grow the buffers more if it already has to be sufficient.
40584 (build_wcs_upper_buffer): Likewise.
40585 * posix/regexec.c (check_matching): Likewise.
40586 (clean_state_log_if_needed): Likewise.
40587 (extend_buffers): Don't enlarge buffers beyond size of the input
40589 Patches mostly by Emil Wojak <emil@wojak.eu>.
40590 * posix/bug-regex32.c: New file.
40591 * posix/Makefile (tests): Add bug-regex32.
40593 * locale/findlocale.c (_nl_find_locale): Return right away if
40594 _nl_explode_name failed.
40595 * locale/programs/locarchive.c (add_locale_to_archive): Likewise.
40597 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_sendmmsg): Define.
40599 * debug/xtrace.sh: Unify messages.
40600 * malloc/memusage.sh: Likewise.
40603 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_time): Retrieve
40604 time symbol from vDSO. Substitute with vsyscall if not available.
40605 * sysdeps/unix/sysv/linux/x86_64/time.S [SHARED]: Use
40608 * sysdeps/unix/sysv/linux/internal_sendmmsg.S: New file.
40609 * sysdeps/unix/sysv/linux/sendmmsg.c: New file.
40610 * sysdeps/unix/sysv/linux/Makefile [subdir=socket] (sysdep_routines):
40611 Add sendmmsg and internal_sendmmsg.
40612 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add sendmmsg.
40613 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg.
40614 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_SENDMMSG.
40616 * sysdeps/unix/sysv/linux/syscalls.list: Add setns entry.
40617 * sysdeps/unix/sysv/linux/bits/sched.h: Declare setns.
40618 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add setns.
40620 2011-05-27 Ulrich Drepper <drepper@gmail.com>
40623 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_getcpu):
40624 Retrieve getcpu symbol from vDSO. Substitute with vsyscall if not
40626 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [SHARED]: Use
40630 * iconvdata/Makefile (tests): Add bug-iconv9.
40631 * iconvdata/bug-iconv9.c: New file.
40633 2011-05-27 Andreas Schwab <schwab@redhat.com>
40636 * iconvdata/iso-2022-jp.c (BODY): Fix invalid variable shadowing.
40638 2011-05-25 Jakub Jelinek <jakub@redhat.com>
40640 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
40641 (struct user_regs_struct): Change intcs field back to cs.
40643 2011-05-25 Ulrich Drepper <drepper@gmail.com>
40645 * po/ja.po: Update from translation team.
40647 2011-05-23 Ulrich Drepper <drepper@gmail.com>
40650 * sysdeps/unix/sysv/linux/bits/resource.h (RLIMIT_RTTIME): Define.
40651 * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Likewise.
40653 2011-05-20 Andreas Schwab <schwab@redhat.com>
40655 * stdlib/longlong.h: Update from GCC.
40657 2011-05-23 Andreas Schwab <schwab@redhat.com>
40659 * sysdeps/unix/sysv/linux/ia64/sysconf.c (HAS_CPUCLOCK): Add
40661 * sysdeps/unix/sysv/linux/sysconf.c (has_cpuclock, HAS_CPUCLOCK):
40662 Add parameter name.
40663 (__sysconf): Pass it down.
40665 2011-05-22 Ulrich Drepper <drepper@gmail.com>
40668 * nis/nss_nis/nis-alias.c (_nss_nis_getaliasbyname_r): Use malloc in
40670 * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
40671 * posix/glob.c (glob_in_dir): Take additional parameter alloca_used.
40672 add in in __libc_use_alloca calls. Adjust callers.
40673 (glob): Use malloc in some situations.
40675 * elf/dl-runtime.c (_dl_profile_fixup): Also store LA_SYMB_NOPLTENTER
40676 and LA_SYMB_NOPLTEXIT in flags which are passed to pltenter and
40679 2011-05-21 Ulrich Drepper <drepper@gmail.com>
40681 * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_REALTIME_ALARM
40682 and CLOCK_BOOTTIME_ALARM.
40685 * string/xpg-strerror.c (__xpg_strerror_r): Fill buffer even if error
40688 * string/_strerror.c (__strerror_r): Print negative errors as signed
40692 * iconvdata/cp1258.c (comp_table_data): Remove entry 0x00A5 0xEC.
40693 (decomp_table): Change U0385 entry to emit 0xA5 0xEC.
40694 * iconvdata/CP1258.irreversible: Adjust entry 0xA8EC.
40696 * configure.in: Fix typo in redirection and correct removal of test
40697 files in two cases.
40700 * locale/setlocale.c (new_composite_name): Fix test to check for
40701 identical name of all categories.
40704 * libio/filedoalloc.c (local_isatty): New function.
40705 (_IO_file_doallocate): Use local_isatty.
40706 * stdio-common/perror.c (perror): In case a new stream is used
40707 forward the stream error.
40708 * stdio-common/vfprintf.c (ARGCHECK): For read-only streams also set
40711 2011-05-20 Ulrich Drepper <drepper@gmail.com>
40714 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't unconditionally use
40716 * include/alloca.h (extend_alloca_account): Define.
40719 * posix/regex.h: Fix comments with documentation of user-accessible
40720 fields after compilation and describe correct free'ing of pattern
40721 after re_compile_pattern.
40722 Patch by Reuben Thomas <rrt@sc3d.org>.
40724 2011-05-18 Ryan S. Arnold <rsa@us.ibm.com>
40726 * sysdeps/powerpc/powerpc64/Makefile (no-special-regs): Add -mno-vsx
40727 and -mno-altivec to prevent the compiler from using Altivec and/or
40728 VSX instructions when the corresponding registers are not available.
40730 2011-05-19 Andreas Schwab <schwab@redhat.com>
40732 * grp/compat-initgroups.c (__libc_use_alloca): Don't define.
40734 2011-05-19 Ulrich Drepper <drepper@gmail.com>
40736 * libio/freopen.c (freopen): Use __dup2, not dup2.
40737 * libio/freopen64.c (freopen64): Likewise.
40739 2011-05-17 H.J. Lu <hongjiu.lu@intel.com>
40742 * sysdeps/x86_64/fpu/e_powl.S: Fix a typo.
40743 * math/Makefile (tests): Add test-powl.
40744 (CFLAGS-test-powl.c): Define.
40745 * math/test-powl.c: New file.
40747 2011-05-16 H.J. Lu <hongjiu.lu@intel.com>
40749 * fileops.c (_IO_new_file_fopen): Get fd from _IO_fileno.
40751 2011-05-17 Ulrich Drepper <drepper@gmail.com>
40754 * iconvdata/gb18030.c: Update to GB18020-2005.
40756 2011-05-16 Ulrich Drepper <drepper@gmail.com>
40758 * posix/regex.h (RE_SYNTAX_AWK, RE_SYNTAX_GNU_AWK,
40759 RE_SYNTAX_POSIX_AWK): Update to match recent development.
40760 Patch by Aharon Robbins <arnold@skeeve.com>.
40763 * stdlib/putenv.c (putenv): Don't always create copy of the variable
40767 * misc/pselect.c (__pselect): Handle timeout value errors hidden
40768 through underflows.
40771 * misc/error.c (error_at_line): Ensure file_name and old_file_name
40772 point to strings before performing equality test for error_one_per_line
40776 * login/programs/pt_chown.c (do_pt_chown): Always call chown.
40779 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
40780 (struct user_fpregs_struct): Avoid __uint*_t types.
40783 * malloc/mtrace.c (tr_where): Add additional parameter to point to
40784 symbol info. Use it instead of calling _dl_addr locally.
40785 (lock_and_info): New function.
40786 (tr_freehook): Call lock_and_info and pass symbol info as additional
40787 parameter to tr_where.
40788 (tr_mallochook): Likewise.
40789 (tr_reallochook): Likewise.
40790 (tr_memalignhook): Likewise.
40792 * malloc/mtrace.c: Remove support for USE_MTRACE_FILE. It is not
40793 used and couldn't be at all thread-safe.
40795 2011-05-15 Ulrich Drepper <drepper@gmail.com>
40797 * libio/freopen.c (freopen): Don't close old file descriptor
40798 before the new one is opened. Instead dup the new file descriptor
40799 to the old one after the new stream is created.
40800 * libio/freopen64.c (freopen64): Likewise.
40801 * libio/libio.h: Define _IO_FLAGS2_NOCLOSE and _IO_FLAGS2_CLOEXEC.
40802 * libio/fileops.c (_IO_new_file_close_it): Handle new
40803 _IO_FLAGS2_NOCLOSE flag.
40804 (_IO_new_file_fopen): Set _IO_FLAGS2_CLOEXEC for "e" mode.
40805 If _IO_file_open didn't set FD_CLOEXEC do it after the call.
40806 * libio/oldfileops.c (_IO_old_file_close_it): Handle new
40807 _IO_FLAGS2_NOCLOSE flag.
40808 * include/unistd.h: Add hidden_proto for dup3.
40809 Define __have_dup3.
40810 * io/dup3.c: Define hidden symbol.
40811 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_DUP3.
40814 * posix/getopt.c (_getopt_internal_r): List all ambigious possibilities
40815 when an incomplete long option is used.
40816 * posix/tst-getopt_long1.c: New file.
40817 * posix/Makefile (tests): Add tst-getopt_long1.
40820 * scripts/config.guess: Update from autoconf-2.68.
40821 * scripts/config.sub: Likewise.
40824 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Split out CPUTIME
40826 (has_cpuclock): ...this. New function.
40827 * sysdeps/unix/sysv/linux/ia64/sysconf.c: Just define HAS_CPUCLOCK
40828 macro here based on has_cpuclock code.
40831 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
40832 First byte (not low byte) is now always NUL.
40833 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Likewise.
40835 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
40836 Use non-cancelable interfaces.
40839 * locale/iso-639.def: Add entry for Sorani.
40842 * include/stdlib.h: Move include protection to the right place.
40843 Define abort_msg_s. Declare __abort_msg with it.
40844 * stdlib/abort.c (__abort_msg): Adjust type.
40845 * assert/assert.c (__assert_fail_base): New function. Majority
40846 of code from __assert_fail. Allocate memory for __abort_msg with
40848 (__assert_fail): Now call __assert_fail_base.
40849 * assert/assert-perr.c: Remove bulk of implementation. Use
40850 __assert_fail_base.
40851 * include/assert.hL Declare __assert_fail_base.
40852 * sysdeps/posix/libc_fatal.c: Allocate memory for __abort_msg with
40854 * sysdeps/unix/sysv/linux/libc_fatal.c: Likewise.
40856 2011-05-14 Ulrich Drepper <drepper@gmail.com>
40860 * elf/dl-open.c (dl_open_worker): Delay calls to _dl_update_slotinfo
40861 until all modules are registered in the DTV.
40862 * elf/Makefile: Add rules to build and run tst-tls19.
40863 * elf/tst-tls19.c: New file.
40864 * elf/tst-tls19mod1.c: New file.
40865 * elf/tst-tls19mod2.c: New file.
40866 * elf/tst-tls19mod3.c: New file.
40867 Patch mostly by Martin von Gagern <Martin.vGagern@gmx.net>.
40870 * sysdeps/pthread/aio_misc.c (__aio_init): Compute optim.aio_num
40874 * iconvdata/cp932.c (BODY to UCS4): Fix incrementing inptr in case of
40875 two-byte sequence errors.
40876 * iconvdata/Makefile (tests): Add bug-iconv8.
40877 * iconvdata/bug-iconv8.c: New file.
40880 * sysdeps/generic/elf/backtracesymsfd.c (__backtrace_symbols_fd): Move
40883 * libio/fileops.c (_IO_new_file_close_it): Initialize write_status.
40886 * sysdeps/ia64/backtrace.c (struct trace_reg): Add cfa element.
40887 (dummy_getcfa): New function.
40888 (init): Get _Unwind_GetCFA address, use dummy if not found.
40889 (backtrace_helper): In recursion check, also check whether CFA changes.
40890 (__backtrace): Completely initialize arg.
40892 * iconv/loop.c (SINGLE) [STORE_REST]: Add input bytes to bytebuf before
40893 storing incomplete byte sequence in state object. Avoid testing for
40894 guaranteed too small input if we know there is enough data available.
40896 2011-05-11 Andreas Schwab <schwab@redhat.com>
40898 * Makeconfig (+link-pie): Indent.
40899 * Rules (binaries-pie): Define if $(have-fpie) and
40901 (binaries-shared): Also filter out $(binaries-pie).
40902 ($(addprefix $(objpfx),$(binaries-pie))): New rule.
40903 * nscd/Makefile (others-pie): Add nscd.
40904 (LDFLAGS-nscd): Set this instead of relro-LDFLAGS.
40905 ($(objpfx)nscd): Remove command override.
40906 * login/Makefile (others-pie): Add pt_chown.
40907 ($(objpfx)pt_chown): Remove command override.
40908 * elf/Makefile: Add PIE tests to tests and tests-pie variables and
40909 remove command overrides.
40911 2011-05-13 Ulrich Drepper <drepper@gmail.com>
40913 * libio/tst_putwc.c: Fix error messages.
40916 * libio/fileops.c (_IO_new_file_close_it): Always flush when
40917 currently writing and seek to current position when not.
40918 * libio/Makefile (tests): Add bug-fclose1.
40919 * libio/bug-fclose1.c: New file.
40921 2011-05-12 Ulrich Drepper <drepper@gmail.com>
40924 * elf/dl-lookup.c (enter): Don't test for copy relocation here and
40925 don't set DF_1_NODELETE here.
40926 (do_lookup_x): When entering new entry test for copy relocation
40927 and if necessary set DF_1_NODELETE flag.
40928 * elf/tst-unique4.cc: New file.
40929 * elf/tst-unique4.h: New file.
40930 * elf/tst-unique4lib.cc: New file.
40931 * elf/Makefile: Add rules to build and run tst-unique4.
40932 Patch by Piotr Bury <pbury@goahead.com>.
40934 2011-05-11 Ulrich Drepper <drepper@gmail.com>
40937 * sysdeps/posix/spawni.c (__spawni): Fix sched_setscheduler call.
40940 * misc/mntent_r.c (addmntent): Flush the stream after the output
40943 * elf/dl-load.c (is_trusted_path): Remove unnecessary test.
40944 (is_trusted_path_normalize): Skip initial colon. Append slash
40945 to empty buffer. Duplicate is_trusted_path code but allow
40946 constructed patch to be prefix.
40947 (is_dst): Allow $ORIGIN followed by /.
40948 (_dl_dst_substitute): Correct clearing of check_for_trusted.
40949 Correct testing of result of is_trusted_path_normalize
40950 (decompose_rpath): Fix warning.
40952 2011-05-10 Ulrich Drepper <drepper@gmail.com>
40955 * grp/initgroups.c (internal_getgrouplist): When we found the service
40956 list through the initgroups entry in nsswitch.conf do not always
40957 continue on a successful lookup. Don't always use the
40958 __nss_group_database value if it is set.
40959 * nss/nsswitch.conf (initgroups): Change action for successful db
40960 lookup to continue for compatibility.
40962 2011-05-09 Ulrich Drepper <drepper@gmail.com>
40965 * iconvdata/Makefile: Add rules to build CP770, CP771, CP772, CP773,
40967 * iconvdata/gconv-modules: Add entries for CP770, CP771, CP772, CP773,
40969 * iconvdata/tst-tables.sh: Likewise.
40970 * iconvdata/cp770.c: New file.
40971 * iconvdata/cp771.c: New file.
40972 * iconvdata/cp772.c: New file.
40973 * iconvdata/cp773.c: New file.
40974 * iconvdata/cp774.c: New file.
40975 * iconvdata/testdata/CP770: New file.
40976 * iconvdata/testdata/CP770..UTF8: New file.
40977 * iconvdata/testdata/CP771: New file.
40978 * iconvdata/testdata/CP771..UTF8: New file.
40979 * iconvdata/testdata/CP772: New file.
40980 * iconvdata/testdata/CP772..UTF8: New file.
40981 * iconvdata/testdata/CP773: New file.
40982 * iconvdata/testdata/CP773..UTF8: New file.
40983 * iconvdata/testdata/CP774: New file.
40984 * iconvdata/testdata/CP774..UTF8: New file.
40986 * iconvdata/gen-8bit-gap-1.sh: End reading of charmap file at
40988 * iconvdata/gen-8bit-gap.sh: Likewise.
40989 * iconvdata/gen-8bit.sh: Likewise.
40991 * locale/iso-639.def: Add ary entry.
40994 * locale/C-translit.h.in: Add U20A1 transliteration.
40997 * locale/iso-639.def: Add wae entry.
40998 Patch by Kevin Bortis <bortis@translate-wae.ch>.
41001 * locale/programs/localedef.c (construct_output_path): Use ssize_t
41005 * locale/C-translit.h.in: Add entry for U20B9.
41006 Patch by pravin.d.s@gmail.com.
41008 2011-05-08 Ulrich Drepper <drepper@gmail.com>
41011 * sysdeps/unix/sysv/linux/getcwd.c: If getcwd syscall report
41012 ENAMETOOLONG use generic getcwd.
41013 * sysdeps/posix/getcwd.c: Add support to use openat. Make usable
41014 in rtld. Use *stat64.
41015 * sysdeps/unix/sysv/linux/Makefile [subdir=elf] (sysdep-rtld-routines):
41016 Add dl-getcwd, dl-openat64, dl-opendir, dl-fxstatat64.
41017 * sysdeps/unix/sysv/linux/dl-getcwd.c: New file.
41018 * sysdeps/unix/sysv/linux/dl-openat64.c: New file.
41019 * sysdeps/unix/sysv/linux/dl-opendir.c: New file.
41020 * sysdeps/unix/sysv/linux/dl-fxstat64.c: New file.
41021 * include/sys/stat.h: Define __fstatat, __lstat64, __fstat64, and
41022 __fstatat64 macros.
41023 * include/dirent.h: Add libc_hidden_proto for rewinddir.
41024 * dirent/rewinddir.c: Add libc_hidden_def.
41025 * sysdeps/mach/hurd/rewinddir.c: Likewise.
41026 * sysdeps/unix/rewinddir.c: Likewise. Don't do locking outside libc.
41028 * include/dirent.h (__alloc_dir): Add flags parameter.
41029 * sysdeps/unix/fdopendir.c (__fdopendir): Pass flags to __alloc_dir.
41030 * sysdeps/unix/opendir.c (__opendir): Pass 0 in new parameter to
41032 (__alloc_dir): Take new parameter. Don't call fcntl for invocations
41033 from fdopendir if O_CLOEXEC is already set.
41035 2011-03-15 Alan Modra <amodra@gmail.com>
41037 * elf/dl-reloc.c (_dl_try_allocate_static_tls <TLS_DTV_AT_TP>): Handle
41038 l_tls_firstbyte_offset non-zero. Save padding offset in
41039 l_tls_firstbyte_offset for later use.
41040 * elf/dl-close.c (_dl_close_worker <TLS_DTV_AT_TP>): Correct code
41041 freeing static tls block.
41043 2011-03-05 Jonathan Nieder <jrnieder@gmail.com>
41045 * sysdeps/unix/sysv/linux/sys/param.h: Fix an #ifndef __undef_ARG_MAX
41046 where #ifdef was intended. The intent is to prevent ARG_MAX from
41047 being defined by the kernel headers.
41049 2011-05-07 Ulrich Drepper <drepper@gmail.com>
41052 * resolv/resolv.h: Define RES_NOTLDQUERY.
41053 * resolv/res_init.c (res_setoptions): Recognize no_tld_query and
41054 no-tld-query and set RES_NOTLDQUERY.
41055 * resolv/res_debug.c (p_option): Handle RES_NOTLDQUERY.
41056 * resolv/res_query.c (__libc_res_nsearch): Backport changes from
41057 modern BIND to search name as TLD unless forbidden.
41059 2011-05-07 Petr Baudis <pasky@suse.cz>
41060 Ulrich Drepper <drepper@gmail.com>
41063 * elf/dl-load.c (fillin_rpath): Move trusted path check...
41064 (is_trusted_path): ...to here.
41065 (is_trusted_path_normalize): Wrapper for /../ and /./ normalization.
41066 (_dl_dst_substitute): Verify expanded $ORIGIN path elements
41067 using is_trusted_path_normalize() in setuid scripts.
41069 2011-05-06 Paul Pluzhnikov <ppluzhnikov@google.com>
41071 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add missing
41072 __BEGIN/__END_DECLS.
41074 2011-05-06 Ulrich Drepper <drepper@gmail.com>
41076 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Return
41077 NSS_STATUS_NOTFOUND if no record was found.
41079 2011-05-05 Andreas Schwab <schwab@redhat.com>
41081 * sunrpc/Makefile (headers): Add rpc/netdb.h.
41082 (headers-not-in-tirpc): Remove rpc/netdb.h
41083 * resolv/netdb.h: Revert last change.
41085 2011-05-05 Paul Pluzhnikov <ppluzhnikov@google.com>
41087 * Makeconfig (link-libc-static): Use --{start,end}-group to handle
41088 circular dependency between libgcc.a and libc.a.
41090 2011-05-05 Andreas Schwab <schwab@redhat.com>
41092 * resolv/netdb.h: Don't include <rpc/netdb.h>.
41093 * nis/Makefile: Don't install rpcsvc/*.
41094 * inet/protocols/timed.h: Include <sys/types.h> and <sys/time.h>
41095 instead of <rpc/types.h>.
41096 (MAXHOSTNAMELEN): Define.
41098 2011-05-03 Andreas Schwab <schwab@redhat.com>
41100 * elf/ldconfig.c (add_dir): Don't crash on empty path.
41102 2011-04-28 Maciej Babinski <mbabinski@google.com>
41105 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't bypass
41106 gethostbyname4_r when IPv6 results are possible.
41108 2011-05-02 Ulrich Drepper <drepper@gmail.com>
41111 * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Implement
41112 _PC_PIPE_BUF handling.
41114 2011-04-30 Bruno Haible <bruno@clisp.org>
41117 * conform/data/netdb.h-data (getnameinfo): Make POSIX compliant.
41118 * resolv/netdb.h (getnameinfo): Change type of flags parameter
41120 * inet/getnameinfo.c (getnameinfo): Likewise.
41122 2011-04-29 Ulrich Drepper <drepper@gmail.com>
41124 * grp/initgroups.c (internal_getgrouplist): Prefer initgroups setting
41125 to groups setting in database lookup.
41126 * nss/nsswitch.conf: Add initgroups entry.
41128 2011-04-22 Ulrich Drepper <drepper@gmail.com>
41131 * libio/fileops.c (_IO_new_file_fopen): Scan up to 7 bytes of the
41133 Patch by Eric Blake <eblake@redhat.com>.
41135 2011-04-20 H.J. Lu <hongjiu.lu@intel.com>
41137 * sunrpc/Makefile (need-export-routines): Add svc_run.
41138 (routines): Remove svc_run.
41139 ($(objpfx)thrsvc): Add $(common-objpfx)linkobj/libc.so.
41140 * sunrpc/clnt_perr.c (clnt_perrno): Export.
41141 * sunrpc/svc_run.c (svc_run): Likewise.
41142 * sunrpc/svc_udp.c (svcudp_create): Likewise.
41144 2011-04-21 Ulrich Drepper <drepper@gmail.com>
41146 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Fix
41147 problem in reallocation in last patch.
41149 2011-04-20 Ulrich Drepper <drepper@gmail.com>
41151 * sunrpc/Makefile: Move inclusion of Rules.
41153 2011-04-19 Ulrich Drepper <drepper@gmail.com>
41155 * nss/nss_files/files-initgroups.c: New file.
41156 * nss/Makefile (libnss_files-routines): Add files-initgroups.
41157 * nss/Versions (libnss_files) [GLIBC_PRIVATE]: Export
41158 _nss_files_initgroups_dyn.
41160 2011-03-31 Richard Sandiford <richard.sandiford@linaro.org>
41162 * elf/elf.h (R_ARM_IRELATIVE): Define.
41164 2011-04-19 Ulrich Drepper <drepper@gmail.com>
41166 * po/ru.po: Update from translation team.
41168 2011-04-17 Ulrich Drepper <drepper@gmail.com>
41170 * sunrpc/Makefile ($(rpc-compat-routines.os)): Add before-compile to
41173 2011-02-06 Mike Frysinger <vapier@gentoo.org>
41176 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Only protect
41177 MEMCPY_CHK with USE_AS_BCOPY ifdef check.
41178 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
41179 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
41180 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
41182 2011-03-28 Andreas Schwab <schwab@linux-m68k.org>
41184 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't read past
41186 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
41187 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
41188 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
41190 2011-04-17 Ulrich Drepper <drepper@gmail.com>
41193 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Reload context after
41195 * stdlib/bug-getcontext.c: New file.
41196 * stdlib/Makefile: Add rules to build and run bug-getcontext.
41198 2011-04-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
41200 * sysdeps/s390/s390-64/utf16-utf32-z9.c: Wrap the z9-109
41201 instructions into .machine "z9-109".
41202 * sysdeps/s390/s390-64/utf8-utf16-z9.c: Likewise.
41203 * sysdeps/s390/s390-64/utf8-utf32-z9.c: Likewise.
41205 2011-04-11 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
41207 * sysdeps/s390/s390-32/elf/start.S (_start): Skip extra zeroes
41208 between environment variables and auxiliary vector.
41210 2011-04-16 Ulrich Drepper <drepper@gmail.com>
41212 * Makefile: Add rules to build linkobj/libc.so.
41213 * include/libc-symbols.h: Define libc_hidden_nolink.
41214 * include/rpc/auth.h: Mark functions which are to be hidden.
41215 * include/rpc/auth_des.h: Likewise.
41216 * include/rpc/auth_unix.h: Likewise.
41217 * include/rpc/clnt.h: Likewise.
41218 * include/rpc/des_crypt.h: Likewise.
41219 * include/rpc/key_prot.h: Likewise.
41220 * include/rpc/pmap_clnt.h: Likewise.
41221 * include/rpc/pmap_prot.h: Likewise.
41222 * include/rpc/pmap_rmt.h: Likewise.
41223 * include/rpc/rpc_msg.h: Likewise.
41224 * include/rpc/svc.h: Likewise.
41225 * include/rpc/svc_auth.h: Likewise.
41226 * include/rpc/xdr.h: Likewise.
41227 * nis/Makefile: Link all DSOs against linkobj/libc.so.
41228 * nss/Makefile: Likewise.
41229 * sunrpc/Makefile: Don't install headers. Build library with normal
41230 entry points. Don't build rpcinfo. Link RPC tests appropriately.
41231 * sunrpc/auth_des.c: Hide exported symbols by default, export some
41232 for the compat linking library. Remove use of INTDEF/INTUSE.
41233 * sunrpc/auth_none.c: Likewise.
41234 * sunrpc/auth_unix.c: Likewise.
41235 * sunrpc/authdes_prot.c: Likewise.
41236 * sunrpc/authuxprot.c: Likewise.
41237 * sunrpc/clnt_gen.c: Likewise.
41238 * sunrpc/clnt_perr.c: Likewise.
41239 * sunrpc/clnt_raw.c: Likewise.
41240 * sunrpc/clnt_simp.c: Likewise.
41241 * sunrpc/clnt_tcp.c: Likewise.
41242 * sunrpc/clnt_udp.c: Likewise.
41243 * sunrpc/clnt_unix.c: Likewise.
41244 * sunrpc/des_crypt.c: Likewise.
41245 * sunrpc/des_soft.c: Likewise.
41246 * sunrpc/get_myaddr.c: Likewise.
41247 * sunrpc/key_call.c: Likewise.
41248 * sunrpc/key_prot.c: Likewise.
41249 * sunrpc/netname.c: Likewise.
41250 * sunrpc/pm_getmaps.c: Likewise.
41251 * sunrpc/pm_getport.c: Likewise.
41252 * sunrpc/pmap_clnt.c: Likewise.
41253 * sunrpc/pmap_prot.c: Likewise.
41254 * sunrpc/pmap_prot2.c: Likewise.
41255 * sunrpc/pmap_rmt.c: Likewise.
41256 * sunrpc/publickey.c: Likewise.
41257 * sunrpc/rpc_cmsg.c: Likewise.
41258 * sunrpc/rpc_common.c: Likewise.
41259 * sunrpc/rpc_dtable.c: Likewise.
41260 * sunrpc/rpc_prot.c: Likewise.
41261 * sunrpc/rpc_thread.c: Likewise.
41262 * sunrpc/rtime.c: Likewise.
41263 * sunrpc/svc.c: Likewise.
41264 * sunrpc/svc_auth.c: Likewise.
41265 * sunrpc/svc_authux.c: Likewise.
41266 * sunrpc/svc_raw.c: Likewise.
41267 * sunrpc/svc_run.c: Likewise.
41268 * sunrpc/svc_simple.c: Likewise.
41269 * sunrpc/svc_tcp.c: Likewise.
41270 * sunrpc/svc_udp.c: Likewise.
41271 * sunrpc/svc_unix.c: Likewise.
41272 * sunrpc/svcauth_des.c: Likewise.
41273 * sunrpc/xcrypt.c: Likewise.
41274 * sunrpc/xdr.c: Likewise.
41275 * sunrpc/xdr_array.c: Likewise.
41276 * sunrpc/xdr_float.c: Likewise.
41277 * sunrpc/xdr_intXX_t.c: Likewise.
41278 * sunrpc/xdr_mem.c: Likewise.
41279 * sunrpc/xdr_rec.c: Likewise.
41280 * sunrpc/xdr_ref.c: Likewise.
41281 * sunrpc/xdr_sizeof.c: Likewise.
41282 * sunrpc/xdr_stdio.c: Likewise.
41284 2011-04-10 Ulrich Drepper <drepper@gmail.com>
41287 * sysdeps/i386/dl-tls.h: Define TLS_DTV_UNALLOCATED.
41288 * sysdeps/ia64/dl-tls.h: Likewise.
41289 * sysdeps/powerpc/dl-tls.h: Likewise.
41290 * sysdeps/s390/dl-tls.h: Likewise.
41291 * sysdeps/sh/dl-tls.h: Likewise.
41292 * sysdeps/sparc/dl-tls.h: Likewise.
41293 * sysdeps/x86_64/dl-tls.h: Likewise.
41294 * elf/dl-tls.c: Don't define TLS_DTV_UNALLOCATED here.
41296 2011-03-14 Andreas Schwab <schwab@redhat.com>
41298 * elf/dl-load.c (_dl_dst_substitute): When skipping the first
41299 rpath element also skip the following colon.
41300 (expand_dynamic_string_token): Add is_path parameter and pass
41301 down to DL_DST_REQUIRED and _dl_dst_substitute.
41302 (decompose_rpath): Call expand_dynamic_string_token with
41303 non-zero is_path. Ignore empty rpaths.
41304 (_dl_map_object_from_fd): Call expand_dynamic_string_token
41307 2011-04-08 Andreas Schwab <schwab@linux-m68k.org>
41309 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
41312 2011-04-09 Ulrich Drepper <drepper@gmail.com>
41315 * sysdeps/unix/sysv/linux/sys/syscall.h: Fix comment.
41316 Patch by Filipe David Manana <fdmanana@apache.org>.
41318 2011-04-07 Andreas Schwab <schwab@redhat.com>
41320 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S (CALL_FAIL):
41321 Maintain aligned stack.
41322 (CHECK_RSP): Remove unused macro.
41324 2011-04-03 Ulrich Drepper <drepper@gmail.com>
41326 * sysdeps/x86_64/cacheinfo.c (intel_02_known): Fix typo in table.
41327 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_02_known): Likewise.
41329 2011-04-02 Ulrich Drepper <drepper@gmail.com>
41331 * sysdeps/unix/sysv/linux/bits/time.h (CLOCK_BOOTTIME): Define.
41333 * include/features.h: Mention __USE_XOPEN2K8 in comment.
41335 2011-03-26 H.J. Lu <hongjiu.lu@intel.com>
41338 * sysdeps/x86_64/Versions: Add memcpy to GLIBC_2.14.
41339 * sysdeps/x86_64/memcpy.S: Provide GLIBC_2_14 memcpy.
41340 * sysdeps/x86_64/memmove.c: New file.
41341 * sysdeps/x86_64/multiarch/memcpy.S: Include <shlib-compat.h>.
41342 (memcpy): Renamed to ...
41343 (__new_memcpy): This.
41344 (memcpy): Provide GLIBC_2_14 memcpy.
41345 * sysdeps/x86_64/multiarch/memmove.c: Include <shlib-compat.h>.
41346 (memcpy): Provide GLIBC_2_2_5 memcpy.
41348 2011-04-01 Ulrich Drepper <drepper@gmail.com>
41351 * wcsmbs/wchar.h: Make wcpcpy and wcpncpy visible for __USE_XOPEN2K8.
41353 2011-03-30 Andreas Schwab <schwab@redhat.com>
41355 * misc/syncfs.c: New file.
41356 * misc/Makefile (routines): Add syncfs.
41357 * posix/unistd.h: Declare syncfs.
41358 * sysdeps/unix/syscalls.list: Add syncfs.
41360 2011-04-01 Andreas Schwab <schwab@redhat.com>
41362 * sysdeps/unix/sysv/linux/Versions: Rename open_by_handle to
41364 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
41365 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
41366 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
41367 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
41368 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
41369 * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
41370 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
41372 2011-04-01 Ulrich Drepper <drepper@gmail.com>
41374 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define O_PATH.
41375 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
41376 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Likewise.
41377 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
41378 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
41379 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
41380 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
41382 * io/Makefile: Compile fallocate.c, fallocate64.c, and
41383 sync_file_range.c with -fexceptions.
41384 * sysdeps/unix/sysv/linux/fallocate.c: Make cancelable.
41385 * sysdeps/unix/sysv/linux/fallocate64.c: Likewise.
41386 * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
41387 * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
41388 * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
41389 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
41390 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Mark
41391 sync_file_range as cancellation point
41392 * sysdeps/unix/sysv/linux/i386/sync_file_range.c: New file. This is
41393 now a wrapper around __call_sync_file_range with cancellation handling.
41394 * sysdeps/unix/sysv/linux/i386/sync_file_range.S: Renamed to ...
41395 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: ...this. Change
41396 function name to __call_sync_file_range.
41397 * sysdeps/unix/sysv/linux/i386/Makefile [subdir=io] (sysdep_routines):
41398 Add call_sync_file_range.
41400 2011-04-01 Andreas Schwab <schwab@redhat.com>
41402 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
41405 2011-04-01 Ulrich Drepper <drepper@gmail.com>
41407 * iconv/iconv.h: Fix typo in comment.
41408 * io/fcntl.h: Likewise.
41409 * libio/stdio.h: Likewise.
41410 * posix/spawn.h: Likewise.
41411 * posix/unistd.h: Likewise.
41412 * stdlib/stdlib.h: Likewise.
41413 * time/time.h: Likewise.
41414 * wcsmbs/wchar.h: Likewise.
41416 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (name_to_handle_at,
41417 open_by_handle): Add.
41418 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define struct file_handle
41419 and MAX_HANDLE_SZ. Declare name_to_handle_at and open_by_handle.
41420 Augment a few comments.
41421 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
41422 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
41423 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
41424 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
41425 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
41426 * sysdeps/unix/sysv/linux/syscalls.list: Add name_to_handle_at and
41429 * io/fcntl.h (AT_EMPTY_PATH): Define.
41431 2011-03-30 Ulrich Drepper <drepper@gmail.com>
41433 * sysdeps/unix/sysv/linux/syscalls.list: Add clock_adjtime.
41434 * sysdeps/unix/sysv/linux/bits/time.h: New file.
41435 * sysdeps/unix/sysv/linux/sys/timex.h: Move struct timex definition
41437 * sysdeps/unix/sysv/linux/bits/timex.h: ...here. New file.
41438 * Versions.def: Add GLIBC_2.14.
41439 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (clock_adjtime):
41442 2011-03-22 Ulrich Drepper <drepper@gmail.com>
41444 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word): Increment
41446 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
41448 2011-03-20 H.J. Lu <hongjiu.lu@intel.com>
41451 * string/test-strncmp.c (do_page_test): New function.
41452 (check2): Likewise.
41453 (test_main): Call check2.
41454 * sysdeps/x86_64/multiarch/strcmp.S: Properly cross page boundary.
41456 2011-03-20 Ulrich Drepper <drepper@gmail.com>
41459 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word):
41460 Handle cache information in CPU leaf 4.
41461 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
41463 2011-03-18 Ulrich Drepper <drepper@gmail.com>
41466 * posix/fnmatch.c (fnmatch): Check size of pattern in wide
41467 character representation.
41468 Partly based on a patch by Tomas Hoger <thoger@redhat.com>.
41470 2011-03-16 Ryan S. Arnold <rsa@us.ibm.com>
41472 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnanf.S (isnanf): Fix
41473 END(__isnan) to END(__isnanf) to match function entry point/label
41474 EALIGN(__isnanf,...).
41476 2011-03-10 Jakub Jelinek <jakub@redhat.com>
41478 * wcsmbs/wchar.h (wmemcmp): Remove __restrict qualifiers.
41480 2011-03-10 Ulrich Drepper <drepper@gmail.com>
41483 * elf/dl-lookup.c (do_lookup_x): For copy relocations of unique objects
41484 copy from the symbol referenced in the relocation to initialize the
41486 Patch by Piotr Bury <pbury@goahead.com>.
41487 * elf/Makefile: Add rules to build and tst-unique3.
41488 * include/bits/dlfcn.h: Remove _dl_mcount_wrapper_check declaration.
41489 * elf/tst-unique3.cc: New file.
41490 * elf/tst-unique3.h: New file.
41491 * elf/tst-unique3lib.cc: New file.
41492 * elf/tst-unique3lib2.cc: New file.
41494 * elf/Makefile: Don't run tst-execstack* tests of SELinux is enabled.
41496 2011-03-10 Mike Frysinger <vapier@gentoo.org>
41498 * sysdeps/sparc/sparc64/elf/configure.in (libc_cv_sparc64_tls): Add
41499 $LDFLAGS and -nostdlib -nostartfiles to linking step. Change main
41502 2011-03-06 Ulrich Drepper <drepper@gmail.com>
41504 * elf/dl-load.c (_dl_map_object): If we are looking for the first
41505 to-be-loaded object along a path to loader is ld.so.
41507 2011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
41508 Ulrich Drepper <drepper@gmail.com>
41510 * sysdeps/x86_64/memset.S: After aligning destination, code
41511 branches to different locations depending on the value of
41512 misalignment, when multiarch is enabled. Fix this.
41514 2011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
41516 * sysdeps/x86_64/cacheinfo.c (init_cacheinfo):
41517 Set _x86_64_preferred_memory_instruction for AMD processsors.
41518 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
41519 Set bit_Prefer_SSE_for_memop for AMD processors.
41521 2011-03-04 Ulrich Drepper <drepper@gmail.com>
41523 * libio/fmemopen.c (fmemopen): Optimize a bit.
41525 2011-03-03 Andreas Schwab <schwab@redhat.com>
41527 * libio/fmemopen.c (fmemopen): Don't read past end of buffer.
41529 2011-03-03 Roland McGrath <roland@redhat.com>
41531 * setjmp/bits/setjmp2.h: Canonicalize comment formatting.
41533 2011-02-28 Aurelien Jarno <aurelien@aurel32.net>
41535 * sysdeps/sparc/sparc64/multiarch/memset.S(__bzero): Call
41536 __bzero_ultra1 instead of __memset_ultra1.
41538 2011-02-23 Andreas Schwab <schwab@redhat.com>
41539 Ulrich Drepper <drepper@gmail.com>
41542 * include/link.h (struct link_map): Add l_orig_initfini.
41543 * elf/dl-load.c (_dl_map_object_from_fd): Free realname before
41544 returning unsuccessfully.
41545 * elf/dl-close.c (_dl_close_worker): If this is the last explicit
41546 close of a file loaded at startup, restore the original l_initfini
41548 * elf/dl-deps.c (_dl_map_object_deps): Don't free old l_initfini
41549 list, store the pointer.
41550 * elf/Makefile ($(objpfx)noload-mem): New rule.
41551 (noload-ENV): Define.
41552 (tests): Add $(objpfx)noload-mem.
41553 * elf/noload.c: Include <memcheck.h>.
41554 (main): Call mtrace. Close all opened handles.
41556 2011-02-17 Andreas Schwab <schwab@redhat.com>
41559 * elf/dl-deps.c (_dl_map_object_deps): Signal error early when
41560 dependencies are missing.
41562 2011-02-22 Samuel Thibault <samuel.thibault@ens-lyon.org>
41564 Fix __if_freereq crash: Unlike the generic version which uses free,
41566 * sysdeps/mach/hurd/ifreq.h: New file.
41568 2011-01-27 Petr Baudis <pasky@suse.cz>
41569 Ulrich Drepper <drepper@gmail.com>
41572 * stdio-common/vfprintf.c (vfprintf): Pass correct newlen
41573 to extend_alloca().
41574 * stdio-common/bug23.c: New file.
41575 * stdio-common/Makefile (tests): Add bug23.
41577 2010-09-28 Andreas Schwab <schwab@redhat.com>
41578 Ulrich Drepper <drepper@gmail.com>
41581 * elf/rtld.c (dl_main): Move setting of GLRO(dl_init_all_dirs)
41582 before performing relro protection. At old place add assertion
41583 to make sure nothing changed.
41585 2011-02-17 Nathan Sidwell <nathan@codesourcery.com>
41586 Glauber de Oliveira Costa <glommer@gmail.com>
41588 * elf/elf.h: Add new ARM TLS relocs.
41590 2011-02-16 Ryan S. Arnold <rsa@us.ibm.com>
41592 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
41593 (INTERNAL_VSYSCALL_NCS INTERNAL_SYSCALL_NCS): Remove erroneous (int)
41595 * sysdeps/wordsize-64/Makefile: New file. Add tst-writev to
41597 * sysdeps/wordsize-64/tst-writev.c: New file.
41599 2011-02-15 Ryan S. Arnold <rsa@us.ibm.com>
41601 * sysdeps/powerpc/powerpc64/power7/Makefile: New file which adds
41602 -mno-vsx to the CFLAGS-rtld.c variable to avoid using VSX registers and
41603 insns in _dl_start to prevent a TOC reference before relocs are
41606 2011-02-15 Ulrich Drepper <drepper@gmail.com>
41609 * Makeconfig: Remove RANLIB definition.
41610 * Makerules: Don't use RANLIB.
41611 * aclocal.m4: Remove ranlib test.
41612 * configure.in: No need to check for ranlib.
41613 * elf/rtld-Rules: Don't use RANLIB.
41615 2011-02-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
41617 * sysdeps/mach/i386/sysdep.h: Add _MACH_I386_SYSDEP_H inclusion
41619 * sysdeps/mach/i386/thread_state.h: Add _MACH_I386_THREAD_STATE_H
41620 inclusion protection macro.
41622 * stdio-common/psiginfo.c (psiginfo): Check pinfo->si_signo against
41623 SIGRTMIN and SIGRTMAX and print information in that case only when
41624 SIGRTMIN is defined.
41626 2011-02-11 Jakub Jelinek <jakub@redhat.com>
41628 * stdio-common/printf-parsemb.c (__parse_one_specmb): Handle
41629 arginfo fn returning -1.
41631 * stdio-common/_i18n_number.h (_i18n_number_rewrite): Ensure decimal
41632 and thousands string is zero terminated.
41634 2011-02-03 Andreas Schwab <schwab@redhat.com>
41636 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Sync with
41637 sysdeps/unix/sysv/linux/bits/socket.h.
41639 2011-01-30 Samuel Thibault <samuel.thibault@ens-lyon.org>
41641 * bits/sched.h (__CPU_ZERO, __CPU_SET, __CPU_CLR, __CPU_ISSET)
41642 (__CPU_COUNT): Remove old macros.
41643 (__CPU_ZERO_S, __CPU_SET_S, __CPU_CLR_S, __CPU_ISSET_S)
41644 (__CPU_COUNT, __CPU_EQUAL_S, __CPU_OP_S, __CPU_ALLOC_SIZE)
41645 (__CPU_ALLOC, __CPU_FREE): Add macros.
41646 (__sched_cpualloc, __sched_cpufree): Add declarations.
41648 2011-02-05 Ulrich Drepper <drepper@gmail.com>
41650 * nscd/nscd-client.h: Define MAX_TIMEOUT_VALUE.
41651 (struct datahead): Reuse 32 bits of the alignment for a TTL field.
41652 * nscd/aicache.c (addhstaiX): Return timeout of added value.
41653 (readdhstai): Return value of addhstaiX call.
41654 * nscd/grpcache.c (cache_addgr): Return timeout of added value.
41655 (addgrbyX): Return value returned by cache_addgr.
41656 (readdgrbyname): Return value returned by addgrbyX.
41657 (readdgrbygid): Likewise.
41658 * nscd/pwdcache.c (cache_addpw): Return timeout of added value.
41659 (addpwbyX): Return value returned by cache_addpw.
41660 (readdpwbyname): Return value returned by addhstbyX.
41661 (readdpwbyuid): Likewise.
41662 * nscd/servicescache.c (cache_addserv): Return timeout of added value.
41663 (addservbyX): Return value returned by cache_addserv.
41664 (readdservbyname): Return value returned by addservbyX:
41665 (readdservbyport): Likewise.
41666 * nscd/hstcache.c (cache_addhst): Return timeout of added value.
41667 (addhstbyX): Return value returned by cache_addhst.
41668 (readdhstbyname): Return value returned by addhstbyX.
41669 (readdhstbyaddr): Likewise.
41670 (readdhstbynamev6): Likewise.
41671 (readdhstbyaddrv6): Likewise.
41672 * nscd/initgrcache.c (addinitgroupsX): Return timeout of added value.
41673 (readdinitgroups): Return value returned by addinitgroupsX.
41674 * nscd/cache.c (readdfcts): Change return value of functions to time_t.
41675 (prune_cache): Keep track of timeout value of re-added entries.
41676 * nscd/connections.c (nscd_run_prune): Use MAX_TIMEOUT_VALUE.
41677 * nscd/nscd.h: Adjust prototypes of readd* functions.
41679 2011-02-04 Roland McGrath <roland@redhat.com>
41681 * nis/nis_server.c (nis_servstate): Use the right name for 0.
41682 (nis_stats): Likewise.
41683 * nis/nis_modify.c (nis_modify): Likewise.
41684 * nis/nis_remove.c (nis_remove): Likewise.
41685 * nis/nis_add.c (nis_add): Likewise.
41687 * elf/dl-object.c (_dl_new_object): Remove unused variable L.
41689 * posix/fnmatch_loop.c: Add some consts.
41691 * sysdeps/x86_64/multiarch/memset-x86-64.S: Add an #undef.
41693 2011-02-02 H.J. Lu <hongjiu.lu@intel.com>
41696 * config.make.in (config-cflags-novzeroupper): Define.
41697 * configure.in: Substitute libc_cv_cc_novzeroupper.
41698 * elf/Makefile (AVX-CFLAGS): Define.
41699 (CFLAGS-tst-audit4.c): Replace -mavx with $(AVX-CFLAGS).
41700 (CFLAGS-tst-auditmod4a.c): Likewise.
41701 (CFLAGS-tst-auditmod4b.c): Likewise.
41702 (CFLAGS-tst-auditmod6b.c): Likewise.
41703 (CFLAGS-tst-auditmod6c.c): Likewise.
41704 (CFLAGS-tst-auditmod7b.c): Likewise.
41705 * sysdeps/i386/configure.in: Check -mno-vzeroupper.
41707 2011-02-02 Ulrich Drepper <drepper@gmail.com>
41709 * elf/dl-runtime.c (_dl_call_pltexit): Pass correct address of the
41710 function to the callback.
41711 Patch partly by Jiri Olsa <jolsa@redhat.com>.
41713 2011-02-02 Andreas Schwab <schwab@redhat.com>
41715 * shadow/sgetspent.c: Check return value of __sgetspent_r instead
41718 2011-01-19 Ulrich Drepper <drepper@gmail.com>
41721 * elf/dl-deps.c (_dl_map_object_deps): Rewrite sorting determining order
41723 * elf/dl-fini.c (_dl_sort_fini): Rewrite sorting determining order
41725 (_dl_fini): Don't call _dl_sort_fini if there is only one object.
41728 * elf/Makefile: Add rules to build and run new test.
41729 * elf/tst-initorder.c: New file.
41730 * elf/tst-initorder.exp: New file.
41731 * elf/tst-initordera1.c: New file.
41732 * elf/tst-initordera2.c: New file.
41733 * elf/tst-initordera3.c: New file.
41734 * elf/tst-initordera4.c: New file.
41735 * elf/tst-initorderb1.c: New file.
41736 * elf/tst-initorderb2.c: New file.
41737 * elf/tst-order-a1.c: New file.
41738 * elf/tst-order-a2.c: New file.
41739 * elf/tst-order-a3.c: New file.
41740 * elf/tst-order-a4.c: New file.
41741 * elf/tst-order-b1.c: New file.
41742 * elf/tst-order-b2.c: New file.
41743 * elf/tst-order-main.c: New file.
41744 New test case by George Gensure <werkt0@gmail.com>.
41746 2010-10-01 Andreas Schwab <schwab@redhat.com>
41748 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
41749 decoding ACE if AI_CANONIDN.
41751 2011-01-18 Ulrich Drepper <drepper@gmail.com>
41753 * elf/Makefile: Build IFUNC tests unless multi-arch = no.
41755 2011-01-17 Ulrich Drepper <drepper@gmail.com>
41757 * version.h (RELEASE): Bump for 2.13 release.
41758 * include/features.h: (__GLIBC_MINOR__): Bump to 13.
41760 * io/fcntl.h: Define AT_NO_AUTOMOUNT.
41762 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MADV_HUGEPAGE and
41764 * sysdeps/unix/sysv/linux/ia64/bits/mman.h: Likewise.
41765 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
41766 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
41767 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
41768 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
41769 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
41771 * posix/getconf.c: Update copyright year.
41772 * catgets/gencat.c: Likewise.
41773 * csu/version.c: Likewise.
41774 * debug/catchsegv.sh: Likewise.
41775 * debug/xtrace.sh: Likewise.
41776 * elf/ldconfig.c: Likewise.
41777 * elf/ldd.bash.in: Likewise.
41778 * elf/sprof.c (print_version): Likewise.
41779 * iconv/iconv_prog.c: Likewise.
41780 * iconv/iconvconfig.c: Likewise.
41781 * locale/programs/locale.c: Likewise.
41782 * locale/programs/localedef.c: Likewise.
41783 * malloc/memusage.sh: Likewise.
41784 * malloc/mtrace.pl: Likewise.
41785 * nscd/nscd.c (print_version): Likewise.
41786 * nss/getent.c: Likewise.
41788 * sysdeps/unix/sysv/linux/bits/socket.h: Define AF_CAIF, AF_ALG,
41789 PF_CAIF, and PF_ALG.
41790 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
41792 2011-01-16 Andreas Schwab <schwab@linux-m68k.org>
41794 * elf/Makefile (tlsmod17a-modules, tlsmod18a-modules): Define.
41795 (modules-names): Use them.
41796 (ifunc-test-modules, ifunc-pie-tests): Define.
41797 (extra-test-objs): Add tlsmod17a-modules, tlsmod18a-modules,
41798 tst-pie1, ifunc-test-modules and ifunc-pie-tests objects.
41799 (test-extras): Likewise.
41800 ($(patsubst %,$(objpfx)%.os,$(tlsmod17a-modules))): Use
41801 $(compile-command.c).
41802 ($(patsubst %,$(objpfx)%.os,$(tlsmod18a-modules))): Likewise.
41803 (all-built-dso): Define.
41804 (check-textrel.out, check-execstack.out): Depend on it.
41806 * configure.in: Don't override --enable-multi-arch.
41808 2011-01-15 Ulrich Drepper <drepper@gmail.com>
41811 * nscd/hstcache.c (tryagain): Define.
41812 (cache_addhst): Return tryagain not notfound for temporary errors.
41813 (addhstbyX): Also set h_errno to TRY_AGAIN when memory allocation
41816 2011-01-14 Ulrich Drepper <drepper@gmail.com>
41819 * sysdeps/unix/sysv/linux/i386/setgroups.c: Use INLINE_SETXID_SYSCALL
41820 to make the syscall.
41821 * sysdeps/unix/sysv/linux/setgroups.c: New file.
41824 * posix/fnmatch_loop.c (FCT): When matching '[' keep track of beginning
41825 and fall back to matching as normal character if the string ends before
41826 the matching ']' is found. This is what POSIX requires.
41827 * posix/testfnm.c: Adjust test result.
41828 * posix/globtest.sh: Adjust test result. Add new test.
41829 * posix/tst-fnmatch.input: Likewise.
41830 * posix/tst-fnmatch2.c: Add new test.
41832 2010-12-28 Andreas Schwab <schwab@linux-m68k.org>
41834 * elf/Makefile (check-execstack): Revert last change. Depend on
41836 (check-execstack.h): New target.
41837 (generated): Add check-execstack.h.
41838 * elf/check-execstack.c: Include "check-execstack.h".
41839 (main): Revert last change.
41840 (handle_file): Return zero if GNU_STACK is absent and
41841 DEFAULT_STACK_PERMS doesn't include PF_X.
41843 2011-01-13 Ulrich Drepper <drepper@gmail.com>
41845 * sysdeps/posix/spawni.c (__spawni): Don't fail if close file action
41846 in child fails because the descriptor is already closed.
41847 * include/sys/resource.h: Add libc_hidden_proto for getrlimit64.
41848 * sysdeps/unix/sysv/linux/getrlimit64.c: Add libc_hidden_def.
41849 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Likewise.
41852 * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Fix handling of missing
41856 * nss/nss_files/files-hosts.c (HOST_DB_LOOKUP): Handle overflows of
41857 temporary buffer used to handle multi lookups locally.
41858 * include/alloca.h: Add libc_hidden_proto for __libc_alloca_cutoff.
41860 2011-01-12 Ulrich Drepper <drepper@gmail.com>
41862 * elf/dl-dst.h (DL_DST_REQUIRED): Allow l_origin to be NULL when
41865 2011-01-10 Paul Pluzhnikov <ppluzhnikov@google.com>
41867 * sysdeps/i386/Makefile: stdlib/cxa_finalize.c needs 16-byte stack
41868 alignment for SSE2.
41870 2011-01-12 Ulrich Drepper <drepper@gmail.com>
41873 * stdio-common/printf_fp.c (__printf_fp): Add more room for grouping
41874 characters. When rounding increased number of integer digits recompute
41876 * stdio-common/tst-grouping.c: New file.
41877 * stdio-common/Makefile: Add rules to build and run tst-grouping.
41879 2011-01-09 Ulrich Drepper <drepper@gmail.com>
41881 * sysdeps/i386/bits/select.h: Don't use asm code for __FD_SET,
41882 __FD_CLR, and __FS_ISSET. gcc generates better code on its own.
41884 * sysdeps/x86_64/bits/select.h: Mark value of __FD_SET and __FD_CLR as
41886 * bits/select.h: Likewise.
41888 2011-01-08 Ulrich Drepper <drepper@gmail.com>
41890 * po/ja.po: Update from translation team.
41892 2011-01-04 David S. Miller <davem@sunset.davemloft.net>
41895 * sysdeps/unix/sysv/linux/sparc/sparc64/fxstat.c: Use i386's
41896 implementation just like for lxstat, fxstatat, et al.
41898 2010-12-27 Jim Meyering <meyering@redhat.com>
41901 * posix/regexec.c (build_trtable): Return failure indication upon
41902 calloc failure. Otherwise, re_search_internal could infloop on OOM.
41904 2010-12-25 Ulrich Drepper <drepper@gmail.com>
41907 * sysdeps/unix/sysv/linux/getrlimit64.c: New file.
41908 * sysdeps/unix/sysv/linux/setrlimit64.c: New file.
41909 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Use ../getrlimit64.c.
41910 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_PRLIMIT64.
41913 * malloc/malloc.c (do_check_malloc_state): Use fastbin macro.
41916 * string/xpg-strerror.c (__xpg_strerror_r): Return error code, not -1.
41917 * sysdeps/mach/xpg-strerror.c (__xpg_strerror_r): Likewise.
41919 2010-12-15 H.J. Lu <hongjiu.lu@intel.com>
41921 * config.h.in (NO_CTORS_DTORS_SECTIONS): Define.
41922 * configure.in: Define NO_CTORS_DTORS_SECTIONS if linker
41923 script has SORT_BY_INIT_PRIORITY.
41924 * elf/sofini.c: Remove `.ctors' and `.dtors' sections if
41925 NO_CTORS_DTORS_SECTIONS is defined.
41926 * elf/soinit.c: Likewise.
41927 * sysdeps/i386/init-first.c: Don't call __libc_global_ctors if
41928 NO_CTORS_DTORS_SECTIONS is defined.
41929 * sysdeps/mach/hurd/i386/init-first.c: Likewise.
41930 * sysdeps/mach/hurd/powerpc/init-first.c: Likewise.
41931 * sysdeps/sh/init-first.c: Likewise.
41932 * sysdeps/unix/sysv/linux/init-first.c: Likewise.
41934 2010-12-24 Ulrich Drepper <drepper@gmail.com>
41936 * stdio-common/vfprintf.c (vfprintf): If printf handlers are installed
41937 always use the slow path.
41939 2010-12-15 Ryan S. Arnold <rsa@us.ibm.com>
41941 * elf/Makefile: (check-execstack): Replace $(native-compile) with a
41942 similar rule which adds the sysdep directories to the header search in
41943 order to pick up the correct platform stackinfo.h.
41944 * elf/check-execstack.c (main): Check DEFAULT_STACK_PERMS for PF_X and
41945 perform test if it is, otherwise return successfully without testing.
41946 * elf/dl-load.c (_dl_map_object_from_fd): Source stack_flags from
41947 DEFAULT_STACK_PERMS define in stackinfo.h.
41948 * elf/dl-support.c (_dl_stack_flags): Source from DEFAULT_STACK_PERMS
41949 defined in stackinfo.h.
41950 * elf/rtld.c (_dl_starting_up): Source ._dl_stack_flags from
41951 DEFAULT_STACK_PERMS defined in stackinfo.h.
41952 * sysdeps/i386/stackinfo.h: Define DEFAULT_STACK_PERMS with PF_X.
41953 * sysdeps/ia64/stackinfo.h: Likewise.
41954 * sysdeps/s390/stackinfo.h: Likewise.
41955 * sysdeps/sh/stackinfo.h: Likewise.
41956 * sysdeps/sparc/stackinfo.h: Likewise.
41957 * sysdeps/x86_64/stackinfo.h: Likewise.
41958 * sysdeps/powerpc/stackinfo.h: Define DEFAULT_STACK_PERMS without
41959 PF_X for powerpc64. Retain PF_X for powerpc32.
41961 2010-12-19 Ulrich Drepper <drepper@gmail.com>
41963 * sysdeps/unix/readdir_r.c (__READDIR_R): Compute reclen more
41965 * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Define
41966 GETDENTS_64BIT_ALIGNED.
41968 2010-12-14 Ulrich Drepper <dreper@gmail.com>
41970 * sysdeps/i386/i686/multiarch/strcmp.S: Undo accidental checkin.
41972 2010-12-10 Andreas Schwab <schwab@redhat.com>
41974 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Only declare under
41977 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Add __restrict.
41978 * wcsmbs/bits/wchar2.h (__wmemmove_chk_warn, wmemmove, wmemset):
41980 (wcscpy, __wcpcpy_chk, __wcpcpy_alias, wcpcpy, wcsncpy, wcpncpy)
41981 (wcscat, wcsncat, __wcrtomb_chk, wcrtomb): Add __restrict.
41983 2010-12-09 Ulrich Drepper <drepper@gmail.com>
41986 * stdlib/msort.c (qsort_r): Make sure both phys_pages and pagesize
41989 2010-12-09 Jakub Jelinek <jakub@redhat.com>
41991 * string/bits/string3.h (memmove, bcopy): Remove __restrict.
41993 2010-12-03 Ulrich Drepper <drepper@gmail.com>
41995 * po/it.po: Update from translation team.
41997 2010-12-01 H.J. Lu <hongjiu.lu@intel.com>
41999 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (STRCMP): Remove
42002 2010-11-30 Ulrich Drepper <drepper@gmail.com>
42004 * sysdeps/i386/fpu/libm-test-ulps: Relax ynf(10,0.75) test expectations.
42006 2010-11-24 Andreas Schwab <schwab@redhat.com>
42008 * resolv/nss_dns/dns-host.c (getanswer_r): Don't handle ttl == 0
42010 (gaih_getanswer_slice): Likewise.
42012 2010-10-20 Jakub Jelinek <jakub@redhat.com>
42014 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Fix up inline asm.
42016 2010-05-31 Petr Baudis <pasky@suse.cz>
42019 * elf/ldconfig.c (main): Allow aux_cache_file open()ing to fail
42020 silently even in the chroot mode.
42022 2010-11-22 Ulrich Drepper <drepper@gmail.com>
42024 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Optimize
42025 last patch a bit. Pretty printing
42027 2010-05-31 Petr Baudis <pasky@suse.cz>
42030 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Fix
42031 initialization of skip_initgroups_dyn.
42033 2010-11-19 Ulrich Drepper <drepper@gmail.com>
42035 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MAP_HUGETLB.
42036 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
42038 2010-11-16 Ulrich Drepper <drepper@gmail.com>
42040 * sysdeps/unix/sysv/linux/sys/swap.h (SWAP_FLAG_DISCARD): Define.
42042 2010-11-11 Andreas Schwab <schwab@redhat.com>
42044 * posix/fnmatch_loop.c (NEW_PATTERN): Fix use of alloca.
42045 * posix/Makefile (tests): Add $(objpfx)tst-fnmatch-mem.
42046 (tst-fnmatch-ENV): Set MALLOC_TRACE.
42047 ($(objpfx)tst-fnmatch-mem): New rule.
42048 (generated): Add tst-fnmatch-mem and tst-fnmatch.mtrace.
42049 * posix/tst-fnmatch.c (main): Call mtrace.
42051 2010-11-11 H.J. Lu <hongjiu.lu@intel.com>
42053 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
42054 Support Intel processor model 6 and model 0x2c.
42056 2010-11-10 Luis Machado <luisgpm@br.ibm.com>
42058 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (__ieee754_sqrtl): Force
42061 2010-11-09 H.J. Lu <hongjiu.lu@intel.com>
42064 * string/test-strncasecmp.c (check_result): New function.
42065 (do_one_test): Use it.
42066 (check1): New function.
42067 (test_main): Use it.
42068 * sysdeps/i386/i686/multiarch/strcmp.S (nibble_ashr_use_sse4_2_exit):
42069 Support strcasecmp and strncasecmp.
42071 2010-11-08 Ulrich Drepper <drepper@gmail.com>
42074 * sysdeps/i386/bits/byteswap.h: Avoid warning in __bswap_16.
42075 * sysdeps/x86_64/bits/byteswap.h: Likewise.
42077 2010-11-07 H.J. Lu <hongjiu.lu@intel.com>
42079 * sysdeps/x86_64/memset.S: Check USE_MULTIARCH and USE_SSE2 for
42081 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
42083 * sysdeps/x86_64/multiarch/bzero.S: New file.
42084 * sysdeps/x86_64/multiarch/cacheinfo.c: New file.
42085 * sysdeps/x86_64/multiarch/memset-x86-64.S: New file.
42086 * sysdeps/x86_64/multiarch/memset.S: New file.
42087 * sysdeps/x86_64/multiarch/memset_chk.S: New file.
42088 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
42089 Set bit_Prefer_SSE_for_memop for Intel processors.
42090 * sysdeps/x86_64/multiarch/init-arch.h (bit_Prefer_SSE_for_memop):
42092 (index_Prefer_SSE_for_memop): Define.
42093 (HAS_PREFER_SSE_FOR_MEMOP): Define.
42095 2010-11-04 Luis Machado <luisgpm@br.ibm.com>
42097 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: New file.
42098 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: New file.
42100 2010-11-03 H.J. Lu <hongjiu.lu@intel.com>
42103 * sysdeps/i386/i686/cacheinfo.c (__x86_64_raw_data_cache_size): New.
42104 (__x86_64_raw_data_cache_size_half): Likewise.
42105 (__x86_64_raw_shared_cache_size): Likewise.
42106 (__x86_64_raw_shared_cache_size_half): Likewise.
42108 * sysdeps/x86_64/cacheinfo.c (__x86_64_raw_data_cache_size): New.
42109 (__x86_64_raw_data_cache_size_half): Likewise.
42110 (__x86_64_raw_shared_cache_size): Likewise.
42111 (__x86_64_raw_shared_cache_size_half): Likewise.
42112 (init_cacheinfo): Set __x86_64_raw_data_cache_size,
42113 __x86_64_raw_data_cache_size_half, __x86_64_raw_shared_cache_size
42114 and __x86_64_raw_shared_cache_size_half. Round
42115 __x86_64_data_cache_size_half, __x86_64_data_cache_size
42116 __x86_64_shared_cache_size_half and __x86_64_shared_cache_size,
42117 to multiple of 256 bytes.
42119 2010-11-03 Ulrich Drepper <drepper@gmail.com>
42122 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Recognize new mangling
42123 of inacessible symlinks. Verify result of symlink before returning it.
42124 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
42125 Patch mostly by Miklos Szeredi <miklos@szeredi.hu>.
42127 2010-10-28 Erich Ritz <erichritz@gmail.com>
42129 * math/math.h (isinf): Fix typo in comment.
42131 2010-11-01 Ulrich Drepper <drepper@gmail.com>
42133 * po/da.po: Update from translation team.
42135 2010-10-26 Ulrich Drepper <drepper@gmail.com>
42137 * elf/rtld.c (dl_main): Move assertion after the point where rtld map
42138 is added to the list.
42140 2010-10-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
42141 Ulrich Drepper <drepper@gmail.com>
42143 * elf/dl-object.c (_dl_new_object): Don't append the new object to
42144 the global list here. Move code to...
42145 (_dl_add_to_namespace_list): ...here. New function.
42146 * elf/rtld.c (dl_main): Invoke _dl_add_to_namespace_list.
42147 * sysdeps/generic/ldsodefs.h (_dl_add_to_namespace_list): Declare.
42148 * elf/dl-load.c (lose): Don't remove the element from the list.
42149 (_dl_map_object_from_fd): Invoke _dl_add_to_namespace_list.
42150 (_dl_map_object): Likewise.
42152 2010-10-25 Ulrich Drepper <drepper@gmail.com>
42155 * sysdeps/x86_64/multiarch/strchr.S: Fix propagation of search byte
42156 into all bytes of SSE register.
42157 Patch by Richard Li <richardpku@gmail.com>.
42159 2010-10-24 Ulrich Drepper <drepper@gmail.com>
42162 * malloc/malloc.c (_int_free): Fill correct number of bytes when
42165 2010-10-20 Michael B. Brutman <brutman@us.ibm.com>
42167 * sysdeps/powerpc/dl-procinfo.c: Add support for ppca2 platform
42168 * sysdeps/powerpc/dl-procinfo.h: Add support for ppca2 platform
42169 * sysdeps/powerpc/powerpc32/a2/memcpy.S: New file.
42170 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
42171 * sysdeps/unix/sysv/linux/powerpc/powerpc32/a2/Implies: New
42173 * sysdeps/unix/sysv/linux/powerpc/powerpc64/a2/Implies: Likewise.
42175 2010-10-22 Andreas Schwab <schwab@redhat.com>
42177 * include/dlfcn.h (__RTLD_SECURE): Define.
42178 * elf/dl-load.c (_dl_map_object): Remove preloaded parameter. Use
42179 mode & __RTLD_SECURE instead.
42180 (open_path): Rename preloaded parameter to secure.
42181 * sysdeps/generic/ldsodefs.h (_dl_map_object): Adjust declaration.
42182 * elf/dl-open.c (dl_open_worker): Adjust call to _dl_map_object.
42183 * elf/dl-deps.c (openaux): Likewise.
42184 * elf/rtld.c (struct map_args): Remove is_preloaded.
42185 (map_doit): Don't use it.
42186 (dl_main): Likewise.
42187 (do_preload): Use __RTLD_SECURE instead of is_preloaded.
42188 (dlmopen_doit): Add __RTLD_SECURE to mode bits.
42190 2010-09-09 Andreas Schwab <schwab@redhat.com>
42192 * Makeconfig (sysd-rules-patterns): Add rtld-%:rtld-%.
42193 (sysd-rules-targets): Remove duplicates.
42194 * elf/rtld-Rules ($(objpfx)rtld-%.os): Add pattern rules with
42195 rtld-%.$o dependency.
42197 2010-10-18 Andreas Schwab <schwab@redhat.com>
42199 * elf/dl-open.c (dl_open_worker): Don't expand DST here, let
42200 _dl_map_object do it.
42202 2010-10-19 Ulrich Drepper <drepper@gmail.com>
42204 * sysdeps/i386/bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has
42205 fast fma builtins, define the macros in the C99 standard.
42206 (FP_FAST_FMAF): Likewise.
42207 (FP_FAST_FMAL): Likewise.
42208 * sysdeps/x86_64/bits/mathdef.h: Likewise.
42210 * bits/mathdef.h: Update copyright year.
42211 * sysdeps/powerpc/bits/mathdef.h: Likewise.
42213 2010-10-19 Michael Meissner <meissner@linux.vnet.ibm.com>
42215 * bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has fast fma
42216 builtins, define the macros in the C99 standard.
42217 (FP_FAST_FMAF): Likewise.
42218 (FP_FAST_FMAL): Likewise.
42219 * sysdeps/powerpc/bits/mathdef.h (FP_FAST_FMA): Define, ppc as
42221 (FP_FAST_FMAF): Likewise.
42223 2010-10-15 Jakub Jelinek <jakub@redhat.com>
42226 * math/libm-test.inc (fma_test): Some new testcases.
42227 * sysdeps/ieee754/ldbl-128/s_fmal.c: New file.
42228 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Fix fma with finite x and
42229 y and infinite z. Do multiplication by C already in long double.
42230 * sysdeps/ieee754/ldbl-96/s_fmal.c: New file.
42231 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix fma with finite x and
42232 y and infinite z. Do bitwise or of inexact bit into u.d.
42233 * sysdeps/ieee754/ldbl-64-128/s_fmal.c: New file.
42234 * sysdeps/i386/fpu/s_fmaf.S: Removed.
42235 * sysdeps/i386/fpu/s_fma.S: Removed.
42236 * sysdeps/i386/fpu/s_fmal.S: Removed.
42238 2010-10-16 Jakub Jelinek <jakub@redhat.com>
42241 * math/libm-test.inc (fma_test): Add IEEE quad long double fmal tests.
42242 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Ensure a1 + u.d
42243 computation is not scheduled after fetestexcept. Fix value
42244 of minimum denormal long double.
42246 2010-10-14 Jakub Jelinek <jakub@redhat.com>
42249 * math/libm-test.inc (fma_test): Add some more tests.
42250 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle underflows
42253 2010-10-15 Andreas Schwab <schwab@redhat.com>
42255 * scripts/data/localplt-s390-linux-gnu.data: New file.
42256 * scripts/data/localplt-s390x-linux-gnu.data: New file.
42258 2010-10-13 Jakub Jelinek <jakub@redhat.com>
42261 * math/libm-test.inc (fma_test): Some more fmaf and fma tests.
42262 * sysdeps/i386/i686/multiarch/s_fma.c: Include ldbl-96 version
42264 * sysdeps/i386/fpu/bits/mathinline.h (fma, fmaf, fmal): Remove
42266 * sysdeps/ieee754/ldbl-96/s_fma.c: New file.
42267 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix exponent adjustment
42268 if one of x and y is very large and the other is subnormal.
42269 * sysdeps/s390/fpu/s_fmaf.c: New file.
42270 * sysdeps/s390/fpu/s_fma.c: New file.
42271 * sysdeps/powerpc/fpu/s_fmaf.S: New file.
42272 * sysdeps/powerpc/fpu/s_fma.S: New file.
42273 * sysdeps/powerpc/powerpc32/fpu/s_fma.S: New file.
42274 * sysdeps/powerpc/powerpc64/fpu/s_fma.S: New file.
42275 * sysdeps/unix/sysv/linux/s390/fpu/s_fma.c: New file.
42277 2010-10-12 Jakub Jelinek <jakub@redhat.com>
42280 * math/libm-test.inc (fma_test): Add some more fmaf tests, add
42282 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Fix Inf/Nan check.
42283 * sysdeps/ieee754/dbl-64/s_fma.c: New file.
42284 * sysdeps/i386/i686/multiarch/s_fma.c: Include
42285 sysdeps/ieee754/dbl-64/s_fma.c instead of math/s_fma.c.
42286 * sysdeps/x86_64/multiarch/s_fma.c: Likewise.
42287 * sysdeps/ieee754/ldbl-opt/s_fma.c: Likewise.
42288 * sysdeps/ieee754/ldbl-128/s_fma.c: New file.
42290 2010-10-12 Ulrich Drepper <drepper@redhat.com>
42293 * posix/regcomp.c (parse_branch): One more memory leak plugged.
42294 * posix/bug-regex31.input: Add test case.
42296 2010-10-11 Ulrich Drepper <drepper@gmail.com>
42298 * posix/bug-regex31.c: Rewrite to run multiple tests from stdin.
42299 * posix/bug-regex31.input: New file.
42302 * posix/regcomp.c (parse_branch): Free memory when allocation failed.
42303 (parse_sub_exp): Fix last change, use postorder.
42305 * posix/bug-regex31.c: New file.
42306 * posix/Makefile: Add rules to build and run bug-regex31.
42308 * posix/regcomp.c (parse_bracket_exp): Add missing re_free calls.
42311 * posix/regcomp.c (parse_sub_exp): Free tree data when it is not used.
42314 * stdio-common/psiginfo.c (psiginfo): Don't expext SIGRTMIN..SIGRTMAX
42315 to have entries in sys_siglist.
42318 * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): ->ifa_addr might
42321 2010-10-07 Jakub Jelinek <jakub@redhat.com>
42324 * math/libm-test.inc (fma_test): Add 2 fmaf tests.
42325 * sysdeps/ieee754/dbl-64/s_fmaf.c: New file.
42326 * sysdeps/i386/i686/multiarch/s_fmaf.c: Include
42327 sysdeps/ieee754/dbl-64/s_fmaf.c instead of math/s_fmaf.c.
42328 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
42329 * include/fenv.h (feupdateenv, fetestexcept): Add libm_hidden_proto.
42330 * math/feupdateenv.c (feupdateenv): Add libm_hidden_ver.
42331 * sysdeps/i386/fpu/feupdateenv.c (feupdateenv): Likewise.
42332 * sysdeps/powerpc/fpu/feupdateenv.c (feupdateenv): Likewise.
42333 * sysdeps/x86_64/fpu/feupdateenv.c (feupdateenv): Likewise.
42334 * sysdeps/sparc/fpu/feupdateenv.c (feupdateenv): Likewise.
42335 * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Add libm_hidden_def.
42336 * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
42337 * math/ftestexcept.c (fetestexcept): Likewise.
42338 * sysdeps/ia64/fpu/ftestexcept.c (fetestexcept): Likewise.
42339 * sysdeps/i386/fpu/ftestexcept.c (fetestexcept): Likewise.
42340 * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
42341 * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Likewise.
42342 * sysdeps/x86_64/fpu/ftestexcept.c (fetestexcept): Likewise.
42343 * sysdeps/sparc/fpu/ftestexcept.c (fetestexcept): Likewise.
42344 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
42346 2010-10-11 Ulrich Drepper <drepper@gmail.com>
42349 * stdio-common/psiginfo.c (psiginfo): Terminate all strings with
42352 2010-10-06 Ulrich Drepper <drepper@gmail.com>
42354 * string/bug-strstr1.c: New file.
42355 * string/Makefile: Add rules to build and run bug-strstr1.
42357 2010-10-05 Eric Blake <eblake@redhat.com>
42360 * string/str-two-way.h (two_way_long_needle): Always clear memory
42361 when skipping input due to the shift table.
42363 2010-10-03 Ulrich Drepper <drepper@gmail.com>
42366 * malloc/mcheck.c: Handle large requests.
42369 * sysdeps/x86_64/strcmp.S: Fix handling of remaining bytes in buffer
42370 for strncmp and strncasecmp.
42371 * string/stratcliff.c: Add tests for strcmp and strncmp.
42372 * wcsmbs/wcsatcliff.c: Adjust for stratcliff change.
42374 2010-09-28 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
42376 * sysdeps/sh/sh4/fpu/fpu_control.h: Add 'extern "C"' protection to
42379 2010-09-30 Andreas Jaeger <aj@suse.de>
42381 * sysdeps/unix/sysv/linux_fsinfo.h (BTRFS_SUPER_MAGIC): Define.
42382 (CGROUP_SUPER_MAGIC): Define.
42383 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
42384 Handle btrfs and cgroup file systems.
42385 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
42388 2010-09-27 Luis Machado <luisgpm@br.ibm.com>
42390 * sysdeps/powerpc/powerpc32/rtld-memset.c: New file.
42391 * sysdeps/powerpc/powerpc64/rtld-memset.c: New file.
42393 2010-09-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
42396 * sysdeps/s390/s390-32/elf/start.S: Fix address calculation when
42397 trying to locate the ELF header.
42399 2010-09-27 Andreas Schwab <schwab@redhat.com>
42402 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS):
42403 Mask out sign-bit copies when constructing f_fsid.
42405 2010-09-24 Petr Baudis <pasky@suse.cz>
42407 * debug/stack_chk_fail_local.c: Add missing licence exception.
42408 * debug/warning-nop.c: Likewise.
42410 2010-09-15 Joseph Myers <joseph@codesourcery.com>
42412 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): When
42413 implementing getdents64 using getdents syscall, set d_type if
42414 __ASSUME_GETDENTS32_D_TYPE.
42416 2010-09-16 Andreas Schwab <schwab@redhat.com>
42418 * elf/dl-close.c (free_slotinfo, free_mem): Move to...
42419 * elf/dl-libc.c (free_slotinfo, free_mem): ... here.
42421 2010-09-21 Ulrich Drepper <drepper@redhat.com>
42424 * posix/unistd.h: Undo change of feature selection for ftruncate from
42427 2010-09-20 Ulrich Drepper <drepper@redhat.com>
42429 * sysdeps/x86_64/strcmp.S: Fix another typo in x86-64 strncasecmp limit
42432 2010-09-20 Andreas Schwab <schwab@redhat.com>
42434 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Add
42436 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
42438 2010-09-14 Andreas Schwab <schwab@redhat.com>
42440 * sysdeps/s390/s390-32/__longjmp.c (__longjmp): Define register
42441 variables after CHECK_SP call.
42442 * sysdeps/s390/s390-64/__longjmp.c (__longjmp): Likewise.
42444 2010-09-13 Andreas Schwab <schwab@redhat.com>
42445 Ulrich Drepper <drepper@redhat.com>
42447 * elf/rtld.c (dl_main): Set GLRO(dl_init_all_dirs) just before
42448 re-relocationg ld.so.
42449 * elf/dl-support.c (_dl_non_dynamic_init): And here after the
42450 _dl_init_paths call.
42451 * elf/dl-load.c (_dl_init_paths). Don't set GLRO(dl_init_all_dirs)
42454 2010-09-14 Ulrich Drepper <drepper@redhat.com>
42456 * resolv/res_init.c (__res_vinit): Count the default server we added.
42458 2010-09-08 Chung-Lin Tang <cltang@codesourcery.com>
42459 Ulrich Drepper <drepper@redhat.com>
42462 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
42463 (____longjmp_chk): Use %ebx for saving value across system call.
42466 2010-09-06 Andreas Schwab <schwab@redhat.com>
42468 * manual/Makefile: Don't mix pattern rules with normal rules.
42470 2010-09-05 Andreas Schwab <schwab@linux-m68k.org>
42472 * debug/vdprintf_chk.c (__vdprintf_chk): Remove undefined
42474 * libio/iofdopen.c (_IO_new_fdopen): Likewise.
42475 * libio/iofopncook.c (_IO_cookie_init): Likewise.
42476 * libio/iovdprintf.c (_IO_vdprintf): Likewise.
42477 * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
42478 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
42481 2010-09-04 Ulrich Drepper <drepper@redhat.com>
42484 * iconvdata/gconv-modules: Remove EBCDIC-CP-AR2 alias from
42485 IBM-930, IBM-933, IBM-935, IBM-937, and IBM-939.
42487 2010-09-02 Ulrich Drepper <drepper@redhat.com>
42489 * sysdeps/x86_64/add_n.S: Update from GMP 5.0.1.
42490 * sysdeps/x86_64/addmul_1.S: Likewise.
42491 * sysdeps/x86_64/lshift.S: Likewise.
42492 * sysdeps/x86_64/mul_1.S: Likewise.
42493 * sysdeps/x86_64/rshift.S: Likewise.
42494 * sysdeps/x86_64/sub_n.S: Likewise.
42495 * sysdeps/x86_64/submul_1.S: Likewise.
42497 2010-09-01 Samuel Thibault <samuel.thibault@ens-lyon.org>
42499 This aligns bits/sched.h onto sysdeps/unix/sysv/linux/bits/sched.h:
42500 Define __sched_param instead of SCHED_* and sched_param when
42501 <bits/sched.h> is included with __need_schedparam defined.
42502 * bits/sched.h [__need_schedparam]
42503 (SCHED_OTHER, SCHED_FIFO, SCHED_RR, sched_param): Do not define.
42504 [!__defined_schedparam && (__need_schedparam || _SCHED_H)]
42505 (__defined_schedparam): Define to 1.
42506 (__sched_param): New structure, identical to sched_param.
42507 (__need_schedparam): Undefine.
42509 2010-08-31 Mike Frysinger <vapier@gentoo.org>
42511 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h (epoll_create2): Delete.
42512 (epoll_create1): Declare.
42514 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Fix typo.
42516 2010-08-31 Andreas Schwab <schwab@redhat.com>
42519 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Fix array overflow when
42520 shifting retval into place.
42522 2010-09-01 Ulrich Drepper <drepper@redhat.com>
42524 * nis/rpcsvc/nis.h: Update copyright notice.
42525 * nis/rpcsvc/nis.x: Likewise.
42526 * nis/rpcsvc/nis_callback.h: Likewise.
42527 * nis/rpcsvc/nis_callback.x: Likewise.
42528 * nis/rpcsvc/nis_object.x: Likewise.
42529 * nis/rpcsvc/nis_tags.h: Likewise.
42530 * nis/rpcsvc/yp.h: Likewise.
42531 * nis/rpcsvc/yp.x: Likewise.
42532 * nis/rpcsvc/ypupd.h: Likewise.
42533 * nis/yp_xdr.c: Likewise.
42534 * nis/ypupdate_xdr.c: Likewise.
42536 * sunrpc/pm_getport.c (__libc_rpc_getport): New function. This is
42537 mainly the body of pmap_getport. Add parameters to specify timeouts.
42538 (pmap_getport): Use __libc_rpc_getport.
42539 * sunrpc/Versions: Export __libc_rpc_getport with GLIBC_PRIVATE.
42540 * include/rpc/pmap_clnt.h: Declare __libc_rpc_getport.
42541 * nis/nis_findserv.c: Remove pmap_getport copy. Use __libc_rpc_getport.
42543 2010-08-31 Andreas Schwab <schwab@linux-m68k.org>
42545 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Add
42548 2010-08-27 Roland McGrath <roland@redhat.com>
42550 * sysdeps/i386/i686/multiarch/Makefile
42551 (CFLAGS-varshift.c): New variable.
42553 2010-08-27 Ulrich Drepper <drepper@redhat.com>
42555 * sysdeps/i386/i686/multiarch/varshift.S: File removed.
42556 * sysdeps/i386/i686/multiarch/varshift.c: New file.
42558 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Move to .text.slow section.
42560 * sysdeps/x86_64/strlen.S: Minimal code improvement.
42562 2010-08-26 H.J. Lu <hongjiu.lu@intel.com>
42564 * sysdeps/x86_64/strlen.S: Unroll the loop.
42565 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
42566 strlen-sse2 strlen-sse2-bsf.
42567 * sysdeps/x86_64/multiarch/strlen.S ((strlen): Return
42568 __strlen_no_bsf if bit_Slow_BSF is set.
42569 (__strlen_sse42): Removed.
42570 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: New file.
42571 * sysdeps/x86_64/multiarch/strlen-sse4.S: New file.
42573 2010-08-25 Roland McGrath <roland@redhat.com>
42575 * sysdeps/x86_64/multiarch/varshift.S: File removed.
42576 * sysdeps/x86_64/multiarch/varshift.c: New file.
42577 * sysdeps/x86_64/multiarch/Makefile (CFLAGS-varshift.c): New variable.
42578 * sysdeps/x86_64/multiarch/varshift.h: Clean up decls, fix a cast.
42579 * sysdeps/x86_64/multiarch/memmove.c: Move decls around.
42580 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
42582 2010-08-25 H.J. Lu <hongjiu.lu@intel.com>
42584 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
42585 strlen-sse2 strlen-sse2-bsf.
42586 * sysdeps/i386/i686/multiarch/strlen.S (strlen): Return
42587 __strlen_sse2_bsf if bit_Slow_BSF is unset.
42588 (__strlen_sse2): Removed.
42589 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: New file.
42590 * sysdeps/i386/i686/multiarch/strlen-sse2.S: New file.
42591 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
42592 bit_Slow_BSF for Atom.
42593 * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_BSF): Define.
42594 (index_Slow_BSF): Define.
42595 (HAS_SLOW_BSF): Define.
42597 2010-08-25 Ulrich Drepper <drepper@redhat.com>
42600 * resolv/res_init.c (__res_vinit): When no server address at all
42601 is given default to loopback.
42603 2010-08-24 Roland McGrath <roland@redhat.com>
42605 * configure.in: Remove config-name.h generation.
42606 * configure: Regenerated.
42607 * config-name.in: File removed.
42608 * scripts/config-uname.sh: New file.
42609 * posix/Makefile (uname.c): Depend on $(objdir)config-name.h.
42610 ($(objdir)config-name.h): New target.
42612 * sunrpc/rpc_parse.h: Avoid nested comment.
42614 2010-08-24 Richard Henderson <rth@redhat.com>
42615 Ulrich Drepper <drepper@redhat.com>
42616 H.J. Lu <hongjiu.lu@intel.com>
42618 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add varshift.
42619 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Likewise.
42620 * sysdeps/x86_64/multiarch/strcspn-c.c: Include "varshift.h".
42621 Replace _mm_srli_si128 with __m128i_shift_right. Replace
42622 _mm_alignr_epi8 with _mm_loadu_si128.
42623 * sysdeps/x86_64/multiarch/strspn-c.c: Likewise.
42624 * sysdeps/x86_64/multiarch/strstr.c: Include "varshift.h".
42625 (__m128i_shift_right): Removed.
42626 * sysdeps/i386/i686/multiarch/varshift.h: New file.
42627 * sysdeps/i386/i686/multiarch/varshift.S: New file.
42628 * sysdeps/x86_64/multiarch/varshift.h: New file.
42629 * sysdeps/x86_64/multiarch/varshift.S: New file.
42631 2010-08-21 Mike Frysinger <vapier@gentoo.org>
42633 * configure.in: Move assembler checks to before sysdep dir checking.
42635 2010-08-20 Petr Baudis <pasky@suse.cz>
42637 * LICENSES: Sync the sunrpc license.
42639 2010-08-19 Ulrich Drepper <drepper@redhat.com>
42641 * sunrpc/auth_des.c: Update copyright notice once again.
42642 * sunrpc/auth_none.c: Likewise.
42643 * sunrpc/auth_unix.c: Likewise.
42644 * sunrpc/authdes_prot.c: Likewise.
42645 * sunrpc/authuxprot.c: Likewise.
42646 * sunrpc/bindrsvprt.c: Likewise.
42647 * sunrpc/clnt_gen.c: Likewise.
42648 * sunrpc/clnt_perr.c: Likewise.
42649 * sunrpc/clnt_raw.c: Likewise.
42650 * sunrpc/clnt_simp.c: Likewise.
42651 * sunrpc/clnt_tcp.c: Likewise.
42652 * sunrpc/clnt_udp.c: Likewise.
42653 * sunrpc/clnt_unix.c: Likewise.
42654 * sunrpc/des_crypt.c: Likewise.
42655 * sunrpc/des_soft.c: Likewise.
42656 * sunrpc/get_myaddr.c: Likewise.
42657 * sunrpc/getrpcport.c: Likewise.
42658 * sunrpc/key_call.c: Likewise.
42659 * sunrpc/key_prot.c: Likewise.
42660 * sunrpc/openchild.c: Likewise.
42661 * sunrpc/pm_getmaps.c: Likewise.
42662 * sunrpc/pm_getport.c: Likewise.
42663 * sunrpc/pmap_clnt.c: Likewise.
42664 * sunrpc/pmap_prot.c: Likewise.
42665 * sunrpc/pmap_prot2.c: Likewise.
42666 * sunrpc/pmap_rmt.c: Likewise.
42667 * sunrpc/rpc/auth.h: Likewise.
42668 * sunrpc/rpc/auth_unix.h: Likewise.
42669 * sunrpc/rpc/clnt.h: Likewise.
42670 * sunrpc/rpc/des_crypt.h: Likewise.
42671 * sunrpc/rpc/key_prot.h: Likewise.
42672 * sunrpc/rpc/netdb.h: Likewise.
42673 * sunrpc/rpc/pmap_clnt.h: Likewise.
42674 * sunrpc/rpc/pmap_prot.h: Likewise.
42675 * sunrpc/rpc/pmap_rmt.h: Likewise.
42676 * sunrpc/rpc/rpc.h: Likewise.
42677 * sunrpc/rpc/rpc_des.h: Likewise.
42678 * sunrpc/rpc/rpc_msg.h: Likewise.
42679 * sunrpc/rpc/svc.h: Likewise.
42680 * sunrpc/rpc/svc_auth.h: Likewise.
42681 * sunrpc/rpc/types.h: Likewise.
42682 * sunrpc/rpc/xdr.h: Likewise.
42683 * sunrpc/rpc_clntout.c: Likewise.
42684 * sunrpc/rpc_cmsg.c: Likewise.
42685 * sunrpc/rpc_common.c: Likewise.
42686 * sunrpc/rpc_cout.c: Likewise.
42687 * sunrpc/rpc_dtable.c: Likewise.
42688 * sunrpc/rpc_hout.c: Likewise.
42689 * sunrpc/rpc_main.c: Likewise.
42690 * sunrpc/rpc_parse.c: Likewise.
42691 * sunrpc/rpc_parse.h: Likewise.
42692 * sunrpc/rpc_prot.c: Likewise.
42693 * sunrpc/rpc_sample.c: Likewise.
42694 * sunrpc/rpc_scan.c: Likewise.
42695 * sunrpc/rpc_scan.h: Likewise.
42696 * sunrpc/rpc_svcout.c: Likewise.
42697 * sunrpc/rpc_tblout.c: Likewise.
42698 * sunrpc/rpc_util.c: Likewise.
42699 * sunrpc/rpc_util.h: Likewise.
42700 * sunrpc/rpcinfo.c: Likewise.
42701 * sunrpc/rpcsvc/bootparam_prot.x: Likewise.
42702 * sunrpc/rpcsvc/key_prot.x: Likewise.
42703 * sunrpc/rpcsvc/klm_prot.x: Likewise.
42704 * sunrpc/rpcsvc/mount.x: Likewise.
42705 * sunrpc/rpcsvc/nfs_prot.x: Likewise.
42706 * sunrpc/rpcsvc/nlm_prot.x: Likewise.
42707 * sunrpc/rpcsvc/rex.x: Likewise.
42708 * sunrpc/rpcsvc/rstat.x: Likewise.
42709 * sunrpc/rpcsvc/rusers.x: Likewise.
42710 * sunrpc/rpcsvc/sm_inter.x: Likewise.
42711 * sunrpc/rpcsvc/spray.x: Likewise.
42712 * sunrpc/rpcsvc/yppasswd.x: Likewise.
42713 * sunrpc/rtime.c: Likewise.
42714 * sunrpc/svc.c: Likewise.
42715 * sunrpc/svc_auth.c: Likewise.
42716 * sunrpc/svc_authux.c: Likewise.
42717 * sunrpc/svc_raw.c: Likewise.
42718 * sunrpc/svc_run.c: Likewise.
42719 * sunrpc/svc_simple.c: Likewise.
42720 * sunrpc/svc_tcp.c: Likewise.
42721 * sunrpc/svc_udp.c: Likewise.
42722 * sunrpc/svc_unix.c: Likewise.
42723 * sunrpc/svcauth_des.c: Likewise.
42724 * sunrpc/xcrypt.c: Likewise.
42725 * sunrpc/xdr.c: Likewise.
42726 * sunrpc/xdr_array.c: Likewise.
42727 * sunrpc/xdr_float.c: Likewise.
42728 * sunrpc/xdr_mem.c: Likewise.
42729 * sunrpc/xdr_rec.c: Likewise.
42730 * sunrpc/xdr_ref.c: Likewise.
42731 * sunrpc/xdr_sizeof.c: Likewise.
42732 * sunrpc/xdr_stdio.c: Likewise.
42734 * sysdeps/x86_64/multiarch/strcmp.S: Fix two typos in strncasecmp
42737 2010-08-19 Andreas Schwab <schwab@redhat.com>
42739 * sysdeps/i386/i686/multiarch/strspn.S [!SHARED]: Fix SSE4.2 check.
42741 2010-08-19 Luis Machado <luisgpm@br.ibm.com>
42743 * sysdeps/powerpc/powerpc32/power7/memchr.S: New file.
42744 * sysdeps/powerpc/powerpc32/power7/memrchr.S: New file.
42745 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: New file.
42746 * sysdeps/powerpc/powerpc32/power7/strchr.S: New file.
42747 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: New file.
42748 * sysdeps/powerpc/powerpc32/power7/strlen.S: New file.
42749 * sysdeps/powerpc/powerpc32/power7/strnlen.S: New file.
42750 * sysdeps/powerpc/powerpc64/power7/memchr.S: New file.
42751 * sysdeps/powerpc/powerpc64/power7/memrchr.S: New file.
42752 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: New file.
42753 * sysdeps/powerpc/powerpc64/power7/strchr.S: New file.
42754 * sysdeps/powerpc/powerpc64/power7/strchrnul.S: New file.
42755 * sysdeps/powerpc/powerpc64/power7/strlen.S: New file.
42756 * sysdeps/powerpc/powerpc64/power7/strnlen.S: New file.
42758 2010-07-26 Anton Blanchard <anton@samba.org>
42760 * malloc/malloc.c (sYSTRIm): Replace divide and multiply with mask.
42761 * malloc/arena.c (heap_trim): Likewise.
42763 2010-08-16 Ulrich Drepper <drepper@redhat.com>
42765 * sysdeps/unix/sysv/linux/syscalls.list: Add entry for fanotify_init
42767 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ...here...
42768 * sysdeps/unix/sysv/linux/i386/syscalls.list: ... orhere.
42770 2010-08-12 H.J. Lu <hongjiu.lu@intel.com>
42772 * sysdeps/i386/elf/Makefile: New file.
42774 2010-08-14 Andreas Schwab <schwab@linux-m68k.org>
42776 * sysdeps/unix/sysv/linux/sys/fanotify.h: Remove third argument
42777 from fanotify_init.
42778 * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
42779 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
42781 2010-08-15 Ulrich Drepper <drepper@redhat.com>
42783 * sysdeps/x86_64/strcmp.S: Use correct register for fourth parameter
42785 * sysdeps/multiarch/strcmp.S: Likewise.
42787 2010-08-14 Ulrich Drepper <drepper@redhat.com>
42789 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
42790 strncase_l-nonascii.
42791 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
42792 Add strncase_l-ssse3.
42793 * sysdeps/x86_64/multiarch/strcmp.S: Prepare for use as strncasecmp.
42794 * sysdeps/x86_64/strcmp.S: Likewise.
42795 * sysdeps/x86_64/multiarch/strncase_l-ssse3.S: New file.
42796 * sysdeps/x86_64/multiarch/strncase_l.S: New file.
42797 * sysdeps/x86_64/strncase.S: New file.
42798 * sysdeps/x86_64/strncase_l-nonascii.c: New file.
42799 * sysdeps/x86_64/strncase_l.S: New file.
42800 * string/Makefile (strop-tests): Add strncasecmp.
42801 * string/test-strncasecmp.c: New file.
42803 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Add prototype to avoid
42806 * sysdeps/x86_64/strcmp.S: Move definition of NO_NOLOCALE_ALIAS to...
42807 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: ... here.
42809 2010-08-14 Andreas Schwab <schwab@linux-m68k.org>
42811 * sysdeps/unix/sysv/linux/prlimit.c: Make it compile.
42813 2010-08-12 Ulrich Drepper <drepper@redhat.com>
42815 * sysdeps/unix/sysv/linux/bits/termios.h: Define EXTPROC.
42816 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
42817 * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
42819 2010-05-01 Alan Modra <amodra@gmail.com>
42821 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Correct cfi for r24.
42822 * sysdeps/powerpc/powerpc64/bsd-_setjmp.S: Move contents..
42823 * sysdeps/powerpc/powerpc64/bsd-setjmp.S: ..and these too..
42824 * sysdeps/powerpc/powerpc64/setjmp.S: ..to here..
42825 * sysdeps/powerpc/powerpc64/setjmp-common.S: ..and here, with some
42826 tidying. Don't tail-call __sigjmp_save for static lib.
42827 * sysdeps/powerpc/powerpc64/sysdep.h (SAVE_ARG, REST_ARG): Correct
42829 (CFI_SAVE_ARG, CFI_REST_ARG): New macros.
42830 (CALL_MCOUNT): Add eh info, and nop after bl.
42831 (TAIL_CALL_SYSCALL_ERROR): New macro.
42832 (PSEUDO_RET): Use it.
42833 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
42834 Correct save location of integer regs and cr.
42835 (_dl_profile_resolve): Correct cr save location. Delete nops
42836 after bl when SHARED. Reduce cfi size a little by better
42837 placement of cfi directives.
42838 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S (__copysign): Don't
42839 make a stack frame. Instead use parm save area as a temp.
42840 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Don't
42841 make a stack frame. Use TAIL_CALL_SYSCALL_ERROR.
42842 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
42843 Don't make a stack frame for parent, use parm save area.
42844 Increase child stack frame to 112 bytes. Don't save unused reg,
42845 and adjust reg usage. Set up cfi on error recovery and
42846 epilogue of parent, and use TAIL_CALL_SYSCALL_ERROR, PSEUDO_RET.
42847 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
42848 (__makecontext): Add dummy nop after jump to exit.
42849 * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (__socket):
42850 Use correct parm save area and cr save, reduce stack frame.
42851 Correct cfi for possible PSEUDO_RET frame setup.
42852 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork):
42853 Branch to local label emitted by PSEUDO_RET rather than
42856 2010-08-12 Andreas Schwab <schwab@redhat.com>
42859 * locale/programs/locale.c (print_assignment): New function.
42860 (show_locale_vars): Use it.
42862 2010-08-11 Ulrich Drepper <drepper@redhat.com>
42864 * sysdeps/unix/sysv/linux/bits/statfs.h (struct statfs): Add f_flags
42866 (struct statfs64): Likewise.
42867 (_STATFS_F_FLAGS): Define.
42868 * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Likewise.
42869 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
42870 Don't define if __ASSUME_STATFS_F_FLAGS is defined.
42871 (ST_VALID): Define locally.
42872 (INTERNAL_STATVFS): If f_flags has ST_VALID set don't call
42873 __statvfs_getflags, use the provided value.
42874 * sysdeps/unix/sysv/linux/kernel-features.h: Define
42875 __ASSUME_STATFS_F_FLAGS.
42877 * sysdeps/unix/sysv/linux/sys/inotify.h (IN_EXCL_UNLINK): Define.
42879 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_headers):
42880 Add sys/fanotify.h.
42881 * sysdeps/unix/sysv/linux/Versions [libc]: Export fanotify_init and
42882 fanotify_mask for GLIBC_2.13.
42883 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entries for
42884 fanotify_init and fanotify_mark.
42885 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
42886 * sysdeps/unix/sysv/linux/sys/fanotify.h: New file.
42888 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_routines):
42890 * sysdeps/unix/sysv/linux/Versions [libc]: Export prlimit and
42891 prlimit64 for GLIBC_2.13.
42892 * sysdeps/unix/sysv/linux/bits/resource.h: Declare prlimit and
42894 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entry for prlimit64
42896 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
42897 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
42898 * sysdeps/unix/sysv/linux/sh/syscalls.list: Likewise.
42899 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.lis: Likewise.
42900 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise. Also
42902 * sysdeps/unix/sysv/linux/prlimit.c: New file.
42905 * sysdeps/generic/netinet/ip.h (IPTOS_CLASS): Fix definition.
42906 Patch by Evgeni Bikov <bikovevg@iitp.ru>.
42908 * nss/Makefile: Add rules to build and run tst-nss-test1.
42909 * shlib-versions: Add entry for libnss_test1.
42910 * nss/nss_test1.c: New file.
42911 * nss/tst-nss-test1.c: New file.
42913 * nss/nsswitch.c (__nss_database_custom): Define new variable.
42914 (__nss_configure_lookup): Set appropriate entry in
42915 __nss_configure_lookup to true.
42916 * nss/nsswitch.h: Define enum with indeces of databases in
42917 databases and __nss_database_custom arrays. Declare
42918 __nss_database_custom.
42919 * grp/initgroups.c (internal_getgrouplist): Use __nss_database_custom
42920 to avoid using nscd when custom rules are installed.
42921 * nss/getXXbyYY_r.c: Likewise.
42922 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
42924 * nss/nss_files/files-parse.c: Whitespace fixes.
42926 2010-08-09 Ulrich Drepper <drepper@redhat.com>
42929 * posix/fnmatch.c: Keep track of alloca use and fall back on malloc.
42930 * posix/fnmatch_loop.c: Likewise.
42932 2010-07-17 Andi Kleen <ak@linux.intel.com>
42934 * sysdeps/i386/i386-mcount.S (__fentry__): Define.
42935 * sysdeps/x86_64/_mcount.S (__fentry__): Define.
42936 * stdlib/Versions (__fentry__): Add for GLIBC 2.13
42937 * Versions.def [GLIBC_2.13]: Add.
42939 2010-08-06 Ulrich Drepper <drepper@redhat.com>
42941 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
42942 Also fail if tpwd after pwuid call is NULL.
42944 2010-07-31 Samuel Thibault <samuel.thibault@ens-lyon.org>
42946 * hurd/hurdselect.c (_hurd_select): Round timeout up instead of down
42947 when converting to ms.
42949 2010-06-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
42951 * sysdeps/mach/hurd/ttyname.c (ttyname): Replace MIG_BAD_ID and
42952 EOPNOTSUPP errors with ENOTTY.
42953 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Replace MIG_BAD_ID and
42954 EOPNOTSUPP errors with ENOTTY.
42956 2010-07-31 Ulrich Drepper <drepper@redhat.com>
42958 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
42959 Add strcasecmp_l-ssse3.
42960 * sysdeps/x86_64/multiarch/strcmp.S: Add support to compile for
42962 * sysdeps/x86_64/strcmp.S: Allow more flexible compiling of strcasecmp.
42963 * sysdeps/x86_64/multiarch/strcasecmp_l.S: New file.
42964 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: New file.
42966 2010-07-30 Ulrich Drepper <drepper@redhat.com>
42968 * sysdeps/x86_64/multiarch/strcmp.S: Pretty printing.
42970 * string/Makefile (strop-tests): Add strcasecmp.
42971 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
42972 strcasecmp_l-nonascii.
42973 (gen-as-const-headers): Add locale-defines.sym.
42974 * sysdeps/x86_64/strcmp.S: Add support for strcasecmp implementation.
42975 * sysdeps/x86_64/strcasecmp.S: New file.
42976 * sysdeps/x86_64/strcasecmp_l.S: New file.
42977 * sysdeps/x86_64/strcasecmp_l-nonascii.c: New file.
42978 * sysdeps/x86_64/locale-defines.sym: New file.
42979 * string/test-strcasecmp.c: New file.
42981 * string/test-strcasestr.c: Test both ends of the range of characters.
42982 * sysdeps/x86_64/multiarch/strstr.c: Fix UCHIGH definition.
42984 2010-07-29 Roland McGrath <roland@redhat.com>
42987 * manual/locale.texi (Yes-or-No Questions): Fix example code.
42989 2010-07-27 Ulrich Drepper <drepper@redhat.com>
42991 * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Avoid compiling the file
42994 2010-07-27 Andreas Schwab <schwab@redhat.com>
42996 * manual/memory.texi (Malloc Tunable Parameters): Document
42999 2010-07-26 Roland McGrath <roland@redhat.com>
43002 * configure.in (-fgnu89-inline check): Set and substitute
43003 gnu89_inline, not libc_cv_gnu89_inline.
43004 * configure: Regenerated.
43005 * config.make.in (gnu89-inline-CFLAGS): Use @gnu89_inline@.
43007 2010-07-26 Ulrich Drepper <drepper@redhat.com>
43009 * string/test-strnlen.c: New file.
43010 * string/Makefile (strop-tests): Add strnlen.
43011 * string/tester.c (test_strnlen): Add a few more test cases.
43012 * string/tst-strlen.c: Better error reporting.
43014 * sysdeps/x86_64/strnlen.S: New file.
43016 2010-07-24 Ulrich Drepper <drepper@redhat.com>
43018 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Use
43019 lower-latency instructions.
43021 2010-07-23 Ulrich Drepper <drepper@redhat.com>
43023 * string/test-strcasestr.c: New file.
43024 * string/test-strstr.c: New file.
43025 * string/Makefile (strop-tests): Add strstr and strcasestr.
43026 * string/str-two-way.h: Don't undefine MAX.
43027 * string/strcasestr.c: Don't define alias if NO_ALIAS is defined.
43029 2010-07-21 Andreas Schwab <schwab@redhat.com>
43031 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
43032 strcasestr-nonascii.
43033 (CFLAGS-strcasestr-nonascii.c): Define.
43034 * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: New file.
43035 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c (STRSTR_SSE42):
43036 Remove unused attribute.
43038 2010-07-20 Roland McGrath <roland@redhat.com>
43040 * elf/dl-sysdep.c (_dl_important_hwcaps): Add dsocaps mask to
43041 dl_hwcap_mask as well as dl_hwcap. Without this, dsocaps matching in
43042 ld.so.cache was broken. With it, there is no way to disable dsocaps
43043 like LD_HWCAP_MASK can disable hwcaps.
43045 2010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
43047 * sysdeps/mach/hurd/sendmsg.c (__libc_sendmsg): Fix memory leaks.
43049 2010-07-16 Ulrich Drepper <drepper@redhat.com>
43051 * sysdeps/x86_64/multiarch/strstr.c: Rewrite to avoid indirect function
43052 call in strcasestr.
43053 * sysdeps/x86_64/multiarch/strcasestr.c: Declare
43054 __strcasestr_sse42_nonascii.
43055 * sysdeps/x86_64/multiarch/Makefile: Add rules to build
43056 strcasestr-nonascii.c.
43057 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: New file.
43059 2010-06-15 Luis Machado <luisgpm@br.ibm.com>
43061 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: New file.
43062 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysignf.S: New file.
43063 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: New file.
43064 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysignf.S: New file.
43066 2010-07-09 Ulrich Drepper <drepper@redhat.com>
43068 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Use __fcntl not
43071 2010-07-06 Andreas Schwab <schwab@redhat.com>
43074 * elf/dl-version.c (match_symbol): Don't pass NULL occation to
43077 2010-07-06 Ulrich Drepper <drepper@redhat.com>
43079 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Implement
43080 _PC_PIPE_BUF using F_GETPIPE_SZ.
43082 2010-07-05 Roland McGrath <roland@redhat.com>
43084 * manual/arith.texi (Rounding Functions): Fix rint description
43085 implicit in round description.
43087 2010-07-02 Ulrich Drepper <drepper@redhat.com>
43089 * elf/Makefile: Fix linking for a few tests to make recent linker
43092 2010-06-30 Andreas Schwab <schwab@redhat.com>
43094 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
43095 $(common-objpfx)libc_nonshared.a.
43097 2010-06-21 Luis Machado <luisgpm@br.ibm.com>
43099 * sysdeps/powerpc/powerpc32/970/fpu/Implies: Remove.
43100 * sysdeps/powerpc/powerpc32/power5/fpu/Implies: Remove.
43101 * sysdeps/powerpc/powerpc32/power5+/fpu/Implies: Remove.
43102 * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: Remove.
43103 * sysdeps/powerpc/powerpc64/970/fpu/Implies: Remove.
43104 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Remove.
43105 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove.
43106 * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: Remove.
43107 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/fpu/Implies: Remove.
43108 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/fpu/Implies: Remove.
43109 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/fpu/Implies: Remove.
43110 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/fpu/Implies: Remove.
43111 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/fpu/Implies: Remove.
43112 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/fpu/Implies: Remove.
43113 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/fpu/Implies: Remove.
43114 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/fpu/Implies: Remove.
43115 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/fpu/Implies: Remove.
43116 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/fpu/Implies: Remove.
43117 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/fpu/Implies: Remove.
43118 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/fpu/Implies: Remove.
43119 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/fpu/Implies: Remove.
43120 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/fpu/Implies: Remove.
43121 * sysdeps/powerpc/powerpc32/970/Implies: Point to power4.
43122 * sysdeps/powerpc/powerpc32/power5/Implies: Point to power4.
43123 * sysdeps/powerpc/powerpc32/power5+/Implies: Point to power5.
43124 * sysdeps/powerpc/powerpc32/power6/Implies: Point to power5+.
43125 * sysdeps/powerpc/powerpc32/power6x/Implies: Point to power6.
43126 * sysdeps/powerpc/powerpc64/970/Implies: Point to power4.
43127 * sysdeps/powerpc/powerpc64/power5/Implies: Point to power4.
43128 * sysdeps/powerpc/powerpc64/power5+/Implies: Point to power5.
43129 * sysdeps/powerpc/powerpc64/power6/Implies: Point to power5+.
43130 * sysdeps/powerpc/powerpc64/power6x/Implies: Point to power6.
43131 * sysdeps/powerpc/powerpc32/power7/Implies: New file.
43132 * sysdeps/powerpc/powerpc64/power7/Implies: New file.
43133 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/Implies: New file.
43134 * sysdeps/unix/sysv/linux/powerpc/powerpc32/cell/Implies: New file.
43135 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: New file.
43136 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: New file.
43137 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: New file.
43138 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: New file.
43139 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: New file.
43140 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/Implies: New file.
43141 * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/Implies: New file.
43142 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: New file.
43143 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: New file.
43144 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: New file.
43145 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: New file.
43146 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: New file.
43148 2010-06-25 H.J. Lu <hongjiu.lu@intel.com>
43150 * debug/memmove_chk.c (__memmove_chk): Renamed to ...
43151 (MEMMOVE_CHK): ...this. Default to __memmove_chk.
43152 * string/memmove.c (memmove): Renamed to ...
43153 (MEMMOVE): ...this. Default to memmove.
43154 * sysdeps/x86_64/memcpy.S: Use ENTRY_CHK and END_CHK.
43155 * sysdeps/x86_64/sysdep.h (ENTRY_CHK): Define.
43157 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
43158 memcpy-ssse3 mempcpy-ssse3 memmove-ssse3 memcpy-ssse3-back
43159 mempcpy-ssse3-back memmove-ssse3-back.
43160 * sysdeps/x86_64/multiarch/bcopy.S: New file .
43161 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: New file.
43162 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: New file.
43163 * sysdeps/x86_64/multiarch/memcpy.S: New file.
43164 * sysdeps/x86_64/multiarch/memcpy_chk.S: New file.
43165 * sysdeps/x86_64/multiarch/memmove-ssse3-back.S: New file.
43166 * sysdeps/x86_64/multiarch/memmove-ssse3.S: New file.
43167 * sysdeps/x86_64/multiarch/memmove.c: New file.
43168 * sysdeps/x86_64/multiarch/memmove_chk.c: New file.
43169 * sysdeps/x86_64/multiarch/mempcpy-ssse3-back.S: New file.
43170 * sysdeps/x86_64/multiarch/mempcpy-ssse3.S: New file.
43171 * sysdeps/x86_64/multiarch/mempcpy.S: New file.
43172 * sysdeps/x86_64/multiarch/mempcpy_chk.S: New file.
43173 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Copy_Backward):
43175 (index_Fast_Copy_Backward): Define.
43176 (HAS_ARCH_FEATURE): Define.
43177 (HAS_FAST_REP_STRING): Define.
43178 (HAS_FAST_COPY_BACKWARD): Define.
43180 2010-06-21 Andreas Schwab <schwab@redhat.com>
43182 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
43183 Restore proper fallback handling.
43185 2010-06-19 Ulrich Drepper <drepper@redhat.com>
43188 * posix/group_member.c (__group_member): Correct checking loop.
43190 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid): Handle
43191 OOM in getpwuid_r correctly. Return error number when the caller
43192 should return, otherwise -1.
43193 (getlogin_r): Adjust to return also for result of __getlogin_r_loginuid
43194 call returning > 0 value.
43195 * sysdeps/unix/sysv/linux/getlogin.c (getlogin): Likewise.
43197 2010-06-07 Andreas Schwab <schwab@redhat.com>
43199 * dlfcn/Makefile: Remove explicit dependencies on libc.so and
43200 libc_nonshared.a from targets in modules-names.
43202 2010-06-02 Kirill A. Shutemov <kirill@shutemov.name>
43204 * elf/dl-reloc.c: Flush cache after solving TEXTRELs if arch
43207 2010-06-10 Luis Machado <luisgpm@br.ibm.com>
43209 * sysdeps/powerpc/powerpc32/power7/memcmp.S: New file
43210 * sysdeps/powerpc/powerpc64/power7/memcmp.S: New file.
43211 * sysdeps/powerpc/powerpc32/power7/strncmp.S: New file.
43212 * sysdeps/powerpc/powerpc64/power7/strncmp.S: New file.
43214 2010-06-02 Andreas Schwab <schwab@redhat.com>
43216 * nis/nss_nis/nis-initgroups.c (get_uid): Properly resize buffer.
43218 2010-06-14 Ulrich Drepper <drepper@redhat.com>
43220 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Define F_SETPIPE_SZ
43222 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
43223 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
43224 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
43225 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
43226 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
43227 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise
43229 2010-06-14 Roland McGrath <roland@redhat.com>
43231 * manual/libc.texinfo (@copying): Change to GFDL v1.3.
43233 2010-06-07 Jakub Jelinek <jakub@redhat.com>
43235 * libio/stdio.h (sscanf, vsscanf): Use __REDIRECT_NTH instead of
43236 __REDIRECT followed by __THROW.
43237 * wcsmbs/wchar.h (swscanf, vswscanf): Likewise.
43238 * posix/getopt.h (getopt): Likewise.
43240 2010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
43242 * hurd/lookup-at.c (__file_name_lookup_at): Accept
43243 AT_SYMLINK_FOLLOW in AT_FLAGS. Fail with EINVAL if both
43244 AT_SYMLINK_FOLLOW and AT_SYMLINK_NOFOLLOW are present
43246 * hurd/hurd/fd.h (__file_name_lookup_at): Update comment.
43247 * sysdeps/mach/hurd/linkat.c (linkat): Pass O_NOLINK in FLAGS.
43249 2010-05-28 Luis Machado <luisgpm@br.ibm.com>
43251 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Exchange srdi for srwi.
43253 2010-05-26 H.J. Lu <hongjiu.lu@intel.com>
43256 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
43257 Properly check family and model.
43259 2010-05-26 Takashi Yoshii <takashi.yoshii.zj@renesas.com>
43261 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Fix iov[] size.
43263 2010-05-24 Luis Machado <luisgpm@br.ibm.com>
43265 * sysdeps/powerpc/powerpc32/power7/memset.S: POWER7 32-bit memset fix.
43267 2010-05-21 Ulrich Drepper <drepper@redhat.com>
43269 * elf/dl-runtime.c (_dl_profile_fixup): Don't crash on unresolved weak
43272 2010-05-19 Andreas Schwab <schwab@redhat.com>
43274 * elf/dl-runtime.c (_dl_fixup): Don't crash on unresolved weak
43277 2010-05-21 Andreas Schwab <schwab@redhat.com>
43279 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add recvmmsg
43280 and internal_recvmmsg.
43281 * sysdeps/unix/sysv/linux/recvmmsg.c: New file.
43282 * sysdeps/unix/sysv/linux/internal_recvmmsg.S: New file.
43283 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_recvmmsg): Define.
43284 * sysdeps/unix/sysv/linux/syscalls.list (recvmmsg): Remove.
43286 * sunrpc/clnt_tcp.c (clnttcp_control): Add missing break.
43287 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
43288 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
43290 2010-05-20 Andreas Schwab <schwab@redhat.com>
43292 * sysdeps/unix/sysv/linux/sys/timex.h: Use __REDIRECT_NTH.
43294 2010-05-17 Luis Machado <luisgpm@br.ibm.com>
43296 POWER7 optimizations.
43297 * sysdeps/powerpc/powerpc64/power7/memset.S: New file.
43298 * sysdeps/powerpc/powerpc32/power7/memset.S: New file.
43300 2010-05-19 Ulrich Drepper <drepper@redhat.com>
43302 * version.h: Update for 2.13 development version.
43304 2010-05-12 Andrew Stubbs <ams@codesourcery.com>
43306 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Really disable all
43307 exceptions. Return 0.
43309 2010-05-07 Roland McGrath <roland@redhat.com>
43311 * elf/ldconfig.c (main): Add a const.
43313 2010-05-06 Ulrich Drepper <drepper@redhat.com>
43315 * nss/getent.c (idn_flags): Default to AI_IDN|AI_CANONIDN.
43316 (args_options): Add no-idn option.
43317 (ahosts_keys_int): Add idn_flags to ai_flags.
43318 (parse_option): Handle 'i' option to clear idn_flags.
43320 * malloc/malloc.c (_int_free): Possible race in the most recently
43321 added check. Only act on the data if no current modification
43324 See ChangeLog.17 for earlier changes.