1 2014-04-30 David S. Miller <davem@davemloft.net>
3 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (EMT_TAGOVF): Protect
4 with __USE_GNU instead of XOPEN cpp guards.
6 * sysdeps/sparc/bits/string.h (_STRING_ARCH_unaligned): Define to
9 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (EMT_TAGOVF): Protect
10 with XOPEN cpp guards.
12 2014-04-30 Julian Brown <julian@codesourcery.com>
15 * sysdeps/arm/dl-machine.h (elf_machine_rela): Fix R_ARM_IRELATIVE
18 2014-04-30 Joseph Myers <joseph@codesourcery.com>
21 * sysdeps/unix/sysv/linux/configure.ac (LIBC_LINUX_VERSION):
23 (arch_minimum_kernel): Change all 2.6.16 settings to 2.6.32.
24 * sysdeps/unix/sysv/linux/configure: Regenerated.
25 * sysdeps/unix/sysv/linux/microblaze/configure.ac: Remove file.
26 * sysdeps/unix/sysv/linux/microblaze/configure: Likewise.
27 * sysdeps/unix/sysv/linux/tile/configure.ac: Likewise.
28 * sysdeps/unix/sysv/linux/tile/configure: Likewise.
29 * README: Update reference to required Linux kernel version.
30 * manual/install.texi (Linux): Update reference to required Linux
31 kernel headers version.
32 * INSTALL: Regenerated.
34 * conform/data/stdlib.h-data [POSIX] (stddef.h): Do not allow
36 [POSIX] (limits.h): Likewise.
37 [POSIX] (math.h): Likewise.
38 [POSIX] (sys/wait.h): Likewise.
39 * conform/data/string.h-data [POSIX || UNIX98] (strtok_r): Require
41 [POSIX] (stddef.h): Do not allow header inclusion.
43 2014-04-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
45 * sysdeps/generic/symbol-hacks.h (memcpy): Add internal alias.
47 2014-04-30 Yang Yingliang <yangyingliang@huawei.com>
49 * nptl/pthread_cond_broadcast.c (__pthread_cond_broadcast):
50 Return immediately after lll_futex_wake.
52 2014-04-30 Siddhesh Poyarekar <siddhesh@redhat.com>
55 * nscd/nscd-client.h (datahead_init_common): Initialize entire
57 (datahead_init_pos): Call datahead_init_common early.
58 (datahead_init_neg): Likewise.
60 * nscd/nscd-client.h (datahead_init_common, datahead_init_pos,
61 datahead_init_neg): New functions.
62 * nscd/aicache.c (addhstaiX): Use them.
63 * nscd/grpcache.c (cache_addgr): Likewise.
64 * nscd/hstcache.c (cache_addhst): Likewise.
65 * nscd/initgrcache.c (addinitgroupsX): Likewise.
66 * nscd/netgroupcache.c (do_notfound): Likewise.
67 (addgetnetgrentX): Likewise.
68 (addinnetgrX): Likewise.
69 * nscd/pwdcache.c (cache_addpw): Likewise.
70 * nscd/servicescache.c (cache_addserv): Likewise.
72 2014-04-30 Siddhesh Poyarekar <siddhesh@redhat.com>
73 Atsushi Onoe <atsushi@onoe.org>
78 * resolv/res_query.c (__libc_res_nsearch): Return if at least
79 one response is valid.
80 * resolv/res_send.c (send_dg): Check for validity of other
81 response if the current response is a referral.
83 2014-04-29 Steve Ellcey <sellcey@mips.com>
85 * iconv/skeleton.c (ONE_DIRECTION): Set default value if not set.
87 2014-04-29 Stefan Liebler <stli@linux.vnet.ibm.com>
90 * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl):
91 Always divide by positive zero when computing -Inf result.
92 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Likewise.
93 * sysdeps/ieee754/flt-32/s_log1pf.c (__log1pf): Likewise.
95 2014-04-28 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
97 * sysdeps/powerpc/fpu/fclrexcpt.c (__feclearexcept): Do not update
98 FPSCR if value do not change.
99 * sysdeps/powerpc/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
100 * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Likewise.
101 * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Likewise.
102 * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Likewise.
103 * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Likewise.
104 * sysdeps/powerpc/fpu/fenv_libc.h (fenv_reg_to_exceptions): New helper
107 2014-05-29 Carlos O'Donell <carlos@systemhalted.org>
109 * sysdeps/hppa: Move directory from ports/sysdeps/hppa.
110 * sysdeps/unix/sysv/linux/hppa: Move directory from
111 ports/systeps/unix/sysv/linux/hppa.
112 * README: Update listing for hppa-*-linux-gnu.
114 2014-04-28 Ondřej Bílka <neleai@seznam.cz>
117 * manual/stdio.texi (Hook functions): Fix types of stream hook
120 * socket/sys/socket.h: Fix typo in comment.
122 2014-04-28 Wilco <wdijkstr@arm.com>
124 * sysdeps/arm/fenv_private.h: New file.
125 * sysdeps/arm/math_private.h: New file.
126 * sysdeps/arm/fpu_control.h: Add _FPU_MASK_NCZV and _FPU_MASK_EXCEPT.
128 2014-04-25 H.J. Lu <hongjiu.lu@intel.com>
130 * sysdeps/x86/bits/link.h (La_x86_64_regs): Replace __int128
132 (La_x86_64_retval): Likewise.
134 2014-04-24 Ian Bolton <ian.bolton@arm.com>
136 * sysdeps/aarch64/fpu/fclrexcpt.c (feclearexcept): Don't write to
137 fpsr if value didn't change.
138 * sysdeps/aarch64/fpu/fedisblxcpt.c (fedisableexcept): Don't write
139 to fpcr if value didn't change.
140 * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept): Likewise.
141 * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept): Don't write to
142 fpsr or fpcr if value didn't change.
143 * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Likewise.
144 * sysdeps/aarch64/fpu/fesetround.c (fesetround): Don't write to
145 fpcr if value didn't change.
146 * sysdeps/aarch64/fpu/fsetexcptflg.c (fesetexceptflag): Don't write
147 to fpsr if value didn't change.
149 2014-02-23 Siddhesh Poyarekar <siddhesh@redhat.com>
151 * nptl/tst-sem3.c: Use test-skeleton.c
152 (main): Rename to do_test. Use return instead of
154 * nptl/tst-sem4.c: Use test-skeleton.c
155 (main): Rename to do_test.
157 2014-04-22 David S. Miller <davem@davemloft.net>
159 * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h
160 (struct sigaction): New struct member __glibc_reserved0, change
161 type of sa_flags to int.
163 2014-04-22 Yufeng Zhang <yufeng.zhang@arm.com>
165 * stdlib/longlong.h (count_leading_zeros, count_trailing_zeros)
166 (COUNT_LEADING_ZEROS_0): Define for AArch64.
168 2014-04-22 Siddhesh Poyarekar <siddhesh@redhat.com>
170 * nptl/sysdeps/unix/sysv/linux/sem_trywait.c: Include atomic.h.
171 * nptl/sysdeps/unix/sysv/linux/sem_wait.c: Likewise.
173 2014-04-22 Will Newton <will.newton@linaro.org>
174 Venkataramanan Kumar <venkataramanan.kumar@linaro.org>
176 * sysdeps/aarch64/__longjmp.S: Include stap-probe.h.
177 (__longjmp): Add longjmp and longjmp_target SystemTap
179 * sysdeps/aarch64/setjmp.S: Include stap-probe.h.
180 (__sigsetjmp): Add setjmp SystemTap probe.
182 2014-04-17 Carlos O'Donell <carlos@redhat.com>
184 * manual/intro.texi (Roadmap to the manual): Sort chapter listing to
187 2014-04-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
189 * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_once.c: Remove file.
191 * sysdeps/powerpc/fpu/fenv_private.h
192 (libc_feholdexcept_setroundl_ctx): Define to
193 libc_feholdexcept_setround_ppc_ctx.
194 (libc_fesetenvl_ctx): Define to libc_fesetenv_ppc_ctx.
195 (libc_feholdsetroundl_ctx): Define to libc_feholdsetround_ppc_ctx.
196 (libc_feresetroundl_ctx): Define to libc_feresetround_ppc_ctx.
197 (libc_feupdateenvl_ctx): libc_feupdateenv_ppc_ctx.
199 2014-04-17 Ian Bolton <ian.bolton@arm.com>
201 * sysdeps/aarch64/math-tests.h: New file.
203 2014-04-17 Sihai Yao <sihai.ysh@alibaba-inc.com>
205 * sysdeps/x86_64/multiarch/ifunc-defines.sym (COMMON_CPUID_INDEX_7):
207 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
208 Check and set bit_AVX2_Usable.
209 * sysdeps/x86_64/multiarch/init-arch.h (bit_AVX2_Usable): New
211 (bit_AVX2): Likewise.
212 (index_AVX2_Usable): Likewise.
213 (CPUID_AVX2): Likewise.
214 (HAS_AVX2): Likewise.
216 2014-04-17 Will Newton <will.newton@linaro.org>
218 * manual/setjmp.texi (System V contexts): Add note that
219 calling setcontext on a context created by a call to a
220 signal handler is undefined. Update text to note that
221 setcontext from a signal handler is possible but not
225 * stdlib/tst-setcontext.c: Include signal.h.
226 (main): Check that the signal stack before and
227 after swapcontext is the same.
229 * sysdeps/unix/sysv/linux/aarch64/setcontext.S (__setcontext):
230 Re-implement to restore registers in user code and avoid
231 rt_sigreturn system call.
233 2014-04-17 Wilco <wdijkstr@arm.com>
235 * sysdeps/arm/math-tests.h: New file: Set ARM math-test settings.
236 * sysdeps/generic/math-tests.h: Add macro (EXCEPTION_ENABLE_SUPPORTED).
237 * math/test-fenv.c: Skip exception trap tests on targets which only
238 support non-stop mode.
240 2014-04-17 Ian Bolton <ian.bolton@arm.com>
241 Wilco Dijkstra <wilco.dijkstra@arm.com>
243 * sysdeps/aarch64/fpu/math_private.h (HAVE_RM_CTX)
244 (libc_feholdsetround_aarch64_ctx)
245 (libc_feholdsetround_ctx, libc_feholdsetroundf_ctx)
246 (libc_feholdsetroundl_ctx, libc_feresetround_aarch64_ctx)
247 (libc_feresetround_ctx, libc_feresetroundf_ctx)
248 (libc_feresetroundl_ctx, libc_feresetround_noex_aarch64_ctx)
249 (libc_feresetround_noex_ctx, libc_feresetround_noexf_ctx)
250 (libc_feresetround_noexl_ctx): Define.
252 2014-04-16 Richard Henderson <rth@redhat.com>
254 * sysdeps/unix/sysv/linux/alpha/nptl/pthread_once.c: Remove.
256 * sysdeps/alpha/Makefile [debug] (CFLAGS-backtrace.c): Enable
259 * sysdeps/unix/alpha/sysdep.h (__pointer_chk_guard): Remove
260 const from the non-libc, non-ldso copy.
262 * sysdeps/alpha/libm-test-ulps: Regenerate.
264 2014-04-16 Ian Bolton <ian.bolton@arm.com>
265 Wilco Dijkstra <wilco.dijkstra@arm.com>
267 * sysdeps/aarch64/fpu/math_private.h: New file.
269 2014-04-16 Marcus Shawcroft <marcus.shawcroft@arm.com>
271 * sysdeps/aarch64/libm-test-ulps: Regenerate.
273 2014-04-16 Igor Zamyatin <igor.zamyatin@intel.com>
275 * sysdeps/x86_64/bits/link.h (La_x86_64_regs): Add lr_bnd.
276 (La_x86_64_retval): Add lrv_bnd0 and lrv_bnd1.
277 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Save
278 Intel MPX bound registers before _dl_profile_fixup.
279 * sysdeps/x86_64/dl-trampoline.h: Restore Intel MPX bound
280 registers after _dl_profile_fixup. Save and restore bound
281 registers bnd0/bnd1 when calling _dl_call_pltexit.
282 * sysdeps/x86_64/link-defines.sym (BND_SIZE): New.
283 (LR_BND_OFFSET): Likewise.
284 (LRV_BND0_OFFSET): Likewise.
285 (LRV_BND1_OFFSET): Likewise.
287 2014-04-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
289 * sysdeps/mach/hurd/tls.h (dtv, dtv_t, tcbhead_t): Move declarations
291 * sysdeps/mach/hurd/i386/tls.h: ... here.
292 (tcbhead_t): Add multiple_threads, sysinfo, stack_guard,
293 pointer_guard, gscope_flag, private_futex, __private_tm, __private_ss
296 2014-04-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
298 * sysdeps/mach/munmap.c (__munmap): Return EINVAL if `addr' is 0.
300 2014-04-16 Stefan Liebler <stli@linux.vnet.ibm.com>
302 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
304 2014-04-16 Stefan Liebler <stli@linux.vnet.ibm.com>
307 * sysdeps/s390/configure.ac: Check for Binutils >= 2.24.
308 * sysdeps/s390/configure: Regenerate.
311 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l):
312 Set round-to-nearest internally to reduce error accumulation.
314 2014-04-16 Alan Modra <amodra@gmail.com>
318 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Rewrite.
319 * math/libm-test.inc (frexp_test_data): Add tests.
320 * NEWS: Update fixed bug list.
322 2014-04-15 Siddhesh Poyarekar <siddhesh@redhat.com>
324 * benchtests/Makefile: Depend on libraries in build directory.
325 (bench-math): Separate out math tests.
326 (bench-pthread): Separate out pthread tests.
327 (bench): Include math and pthread tests.
329 2014-04-14 Carlos O'Donell <carlos@redhat.com>
332 * csu/libc-start.c (LIBC_START_MAIN) [!SHARED]: Call
333 _dl_debug_initialize.
335 * configure.ac: Remove SELinux header check.
336 * configure: Regenerate.
337 * nscd/selinux.c (perms): Array of const char* to permission names.
338 (nscd_request_avc_has_perm): Call security_deny_unknown to find
339 default policy. Call string_to_security_class and string_to_av_perm to
340 translate strings. Enforce default policy and call avs_has_perm with
341 results of translated strings.
343 2014-04-13 David S. Miller <davem@davemloft.net>
345 * sysdeps/sparc/fpu/libm-test-ulps: Update.
347 2014-04-12 Allan McRae <allan@archlinux.org>
350 * manual/string.texi (Collation Functions): Fix qsort argument
352 Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
354 2014-04-11 Chris Metcalf <cmetcalf@tilera.com>
356 * math/test-fenv-preserve.c [FE_ALL_EXCEPT == 0] (do_test):
357 Make the test a no-op if there are no exceptions defined.
359 2014-04-11 Paul Pluzhnikov <ppluzhnikov@google.com>
361 * elf/Makefile (tests): make tst-dlopen-aout conditional on
362 enable-hardcoded-path-in-tests
364 2014-04-11 Will Newton <will.newton@linaro.org>
366 * benchtests/Makefile (extra-objs): Add json-lib.o.
367 (bench-func): Tidy up JSON output.
368 * benchtests/bench-skeleton.c: Include json-lib.h.
369 (main): Use JSON library functions to do output of
371 * benchtests/bench-timing-type.c (main): Output the
372 timing type simply, leaving formatting to the user.
373 * benchtests/json-lib.c: New file.
374 * benchtests/json-lib.h: Likewise.
376 2014-04-11 Torvald Riegel <triegel@redhat.com>
379 * nptl/sysdeps/unix/sysv/linux/sparc/pthread_once.c: Moved to ...
380 * nptl/sysdeps/unix/sysv/linux/pthread_once.c: ... here. Add missing
381 memory barriers. Add comments.
382 * sysdeps/unix/sysv/linux/aarch64/nptl/pthread_once.c: Remove file.
383 * sysdeps/unix/sysv/linux/arm/nptl/pthread_once.c: Remove file.
384 * sysdeps/unix/sysv/linux/ia64/nptl/pthread_once.c: Remove file.
385 * sysdeps/unix/sysv/linux/m68k/nptl/pthread_once.c: Remove file.
386 * sysdeps/unix/sysv/linux/mips/nptl/pthread_once.c: Remove file.
387 * sysdeps/unix/sysv/linux/tile/nptl/pthread_once.c: Remove file.
389 2014-04-11 Stefan Liebler <stli@linux.vnet.ibm.com>
391 * sysdeps/s390/s390-32/configure.ac: Unify file with ...
392 * sysdeps/s390/s390-64/configure.ac: ... this ...
393 * sysdeps/s390/configure.ac: ... to here.
394 * sysdeps/s390/s390-32/configure: Delete file.
395 * sysdeps/s390/s390-64/configure: Delete file.
396 * sysdeps/s390/configure: Regenerate.
398 2014-04-11 Joseph Anthony Pasquale Holsten <joseph@josephholsten.com>
400 * resolv/res_query.c (__libc_res_nsearch): Fix typo in comment.
402 2014-04-11 Will Newton <will.newton@linaro.org>
404 * malloc/malloc.c [!MALLOC_DEBUG]: #define MALLOC_DEBUG
405 to zero if it is not defined elsewhere. (mtrim): Test
406 the value of MALLOC_DEBUG with #if rather than #ifdef.
408 2014-04-10 Torvald Riegel <triegel@redhat.com>
410 * benchtests/pthread_once-inputs: New file.
411 * benchtests/pthread_once-source.c: New file.
412 * benchtests/README: Update documentation.
414 2014-04-09 Igor Zamyatin <igor.zamyatin@intel.com>
415 H.J. Lu <hongjiu.lu@intel.com>
417 * config.h.in (HAVE_MPX_SUPPORT): New #undef.
418 * sysdeps/x86_64/configure.ac: Set HAVE_MPX_SUPPORT.
419 * sysdeps/x86_64/configure: Regenerated.
420 * sysdeps/x86_64/dl-trampoline.S (REGISTER_SAVE_AREA): New
422 (REGISTER_SAVE_RAX): Likewise.
423 (REGISTER_SAVE_RCX): Likewise.
424 (REGISTER_SAVE_RDX): Likewise.
425 (REGISTER_SAVE_RSI): Likewise.
426 (REGISTER_SAVE_RDI): Likewise.
427 (REGISTER_SAVE_R8): Likewise.
428 (REGISTER_SAVE_R9): Likewise.
429 (REGISTER_SAVE_BND0): Likewise.
430 (REGISTER_SAVE_BND1): Likewise.
431 (REGISTER_SAVE_BND2): Likewise.
432 (_dl_runtime_resolve): Use them. Save and restore Intel MPX
433 bound registers when calling _dl_fixup.
435 2014-04-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
437 * bits/string.h (_STRING_ARCH_unaligned): Define it to 0.
438 * crypt/sha256.c (_STRING_ARCH_unaligned): Check its value instead
440 * iconv/gconv_simple.c (_STRING_ARCH_unaligned): Likewise.
441 * iconv/loop.c (_STRING_ARCH_unaligned): Likewise.
442 * iconv/skeleton.c (_STRING_ARCH_unaligned): Likewise.
443 * nscd/nscd_gethst_r.c (_STRING_ARCH_unaligned): Likewise.
444 * nscd/nscd_getserv_r.c (_STRING_ARCH_unaligned): Likewise.
445 * nscd/nscd_helper.c (_STRING_ARCH_unaligned): Likewise.
446 * resolv/res_send.c (_STRING_ARCH_unaligned): Likewise.
448 2014-04-09 Peter Brett <peter@peter-b.co.uk>
451 * sysdeps/posix/pathconf.c (__pathconf): Use statvfs64() for
452 pathconf(_PC_NAME_MAX).
454 2014-04-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
456 * nptl/sysdeps/pthread/pthread.h (__PTHREAD_MUTEX_HAVE_ELISION):
458 (__PTHREAD_SPINS): Move definition to ...
459 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
460 (__PTHREAD_SPINS): ... here.
461 * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
462 (__PTHREAD_SPIN): Likewise.
463 * nptl/sysdeps/unix/sysv/linux/sh/bits/pthreadtypes.h
464 (__PTHREAD_SPIN): Likewise.
465 * nptl/sysdeps/unix/sysv/linux/sparc/bits/pthreadtypes.h
466 (__PTHREAD_SPIN): Likewise.
467 * nptl/sysdeps/unix/sysv/linux/x86/bits/pthreadtypes.h
468 (__PTHREAD_SPIN): Likewise.
469 * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h
470 (__PTHREAD_SPIN): Likewise.
471 * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h
472 (__PTHREAD_SPIN): Likewise.
473 * sysdeps/unix/sysv/linux/arm/nptl/bits/pthreadtypes.h
474 (__PTHREAD_SPIN): Likewise.
475 * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h
476 (__PTHREAD_SPIN): Likewise.
477 * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h
478 (__PTHREAD_SPIN): Likewise.
479 * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h
480 (__PTHREAD_SPIN): Likewise.
481 * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h
482 (__PTHREAD_SPIN): Likewise.
483 * sysdeps/unix/sysv/linux/tile/nptl/bits/pthreadtypes.h
484 (__PTHREAD_SPIN): Likewise.
486 * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: New file.
487 * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: new file.
488 * sysdeps/powerpc/powerpc64/power6x/multiarch/Implies: New file.
489 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove multiarch
491 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Likewise.
492 * sysdeps/powerpc/powerpc64/power7/fpu/Implies: Likewise.
493 * sysdeps/powerpc/powerpc64/power8/fpu/Implies: Likewise.
494 * sysdeps/powerpc/powerpc64/power6x/fpu/multiarch/Implies: Adjust
496 * sysdeps/powerpc/powerpc64/power7/strncat.S (STRLEN): Define correct
497 strlen symbol for non multi-arch builds.
498 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (__isnan): Add
499 missing hidden_def and weak_alias.
501 2014-04-08 Carlos O'Donell <carlos@redhat.com>
503 * manual/ipc.texi (sem_close): AC-unsafe because of aculock.
505 2014-04-07 Will Newton <will.newton@linaro.org>
507 * string/basename.c [HAVE_CONFIG_H]: Remove #ifdef and
508 and contents. [!_LIBC] Remove #ifndef and contents.
509 (basename): Use ANSI prototype. [_LIBC] Remove #idef.
510 * string/memccpy.c (__memccpy): Use ANSI prototype.
511 * string/memfrob.c (memfrob): Likewise.
512 * string/strcoll.c (STRCOLL): Likewise.
513 * string/strlen.c (strlen): Likewise.
514 * string/strtok.c (STRTOK): Likewise.
515 * string/strcat.c: Remove unused #include of memcopy.h.
516 (strcat): Use ANSI prototype.
517 * string/strchr.c: Remove unused #include of memcopy.h.
518 (strchr): Use ANSI prototype.
519 * string/strcmp.c: Remove unused #include of memcopy.h.
520 (strcmp): Use ANSI prototype.
521 * string/strcpy.c: Remove unused #include of memcopy.h.
522 (strcpy): Use ANSI prototype.
524 2014-04-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
526 * Makeconfig (CPPFLAGS): Add config-extra-cppflags to list.
527 * config.make.in (config-extra-cppflags): Set it from
529 * configure.ac (libc_extra_cflags): Make it accumulate over
531 (libc_extra_cppflags): New flag.
532 * configure. Regenerate.
533 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac
534 (libc_cv_ppc64_def_call_elf): Define it to yes if compiler does
535 not set _CALL_ELF and add -D_CALL_ELF=1 to libc_extra_cppflags.
536 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Regenerate.
539 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (__nearbyint): Fix
540 result for FE_DOWNWARD rounding mode.
541 * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S (__nearbyintf):
543 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
545 2014-04-04 Chris Metcalf <cmetcalf@tilera.com>
547 * sysdeps/tile/dl-runtime.c (_dl_unmap): Fix cut-and-paste bug
548 in function argument name.
550 2014-04-03 David Svoboda <svoboda@cert.org>
553 * manual/stdio.texi (Line-Oriented Input): Document buffer allocation
556 2014-04-03 Roland McGrath <roland@hack.frob.com>
558 * elf/dl-unmap-segments.h: New file.
559 * sysdeps/generic/ldsodefs.h
560 (DL_UNMAP): Use _dl_unmap_segments in place of __munmap.
561 * elf/dl-close.c: Include <dl-unmap-segments.h>.
562 * elf/dl-fptr.c: Likewise.
563 (_dl_unmap): Use _dl_unmap_segments in place of __munmap.
564 * sysdeps/aarch64/tlsdesc.c: Likewise.
565 * sysdeps/arm/tlsdesc.c: Likewise.
566 * sysdeps/i386/tlsdesc.c: Likewise.
567 * sysdeps/tile/dl-runtime.c: Likewise.
568 * sysdeps/x86_64/tlsdesc.c: Likewise.
569 * elf/dl-load.h: New file.
570 * elf/dl-load.c: Include it.
571 (MAP_FILE, MAP_COPY, MAP_BASE_ADDR):
572 Macros moved to dl-load.h.
573 (ELF_PREFERRED_ADDRESS_DATA, ELF_PREFERRED_ADDRESS): Likewise.
574 (_dl_map_object_from_fd): Type 'struct loadcmd' moved to dl-load.h.
575 Use _dl_unmap_segments in place of __munmap.
576 Break out segment-mapping loop into ...
577 * elf/dl-map-segments.h (_dl_map_segments): ... here, in new file.
579 2014-04-03 Will Newton <will.newton@linaro.org>
581 * elf/dl-lookup.c (do_lookup_x): Remove comment
582 referring to nested function and move variable
583 declarations down to before first use.
585 2014-04-02 Joseph Myers <joseph@codesourcery.com>
589 * math/s_catan.c (__catan): Avoid passing -0 denominator to atan2
591 * math/s_catanf.c (__catanf): Likewise.
592 * math/s_catanh.c (__catanh): Likewise.
593 * math/s_catanhf.c (__catanhf): Likewise.
594 * math/s_catanhl.c (__catanhl): Likewise.
595 * math/s_catanl.c (__catanl): Likewise.
596 * sysdeps/ieee754/flt-32/e_logf.c (__ieee754_logf): Always divide
597 by positive zero when computing -Inf result.
598 * math/libm-test.inc (catan_test): Use ALL_RM_TEST.
599 (catanh_test): Likewise.
600 * sysdeps/i386/fpu/libm-test-ulps: Update.
601 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
604 * math/s_clog.c (__clog): Use math_force_eval to ensure underflow
605 instead of using underflowing value in computing result.
606 * math/s_clog10.c (__clog10): Likewise.
607 * math/s_clog10f.c (__clog10f): Likewise.
608 * math/s_clog10l.c (__clog10l): Likewise.
609 * math/s_clogf.c (__clogf): Likewise.
610 * math/s_clogl.c (__clogl): Likewise.
611 * math/libm-test.inc (clog_test): Use ALL_RM_TEST.
612 (clog10_test): Likewise.
613 * sysdeps/i386/fpu/libm-test-ulps: Update.
614 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
616 2014-04-02 Alan Modra <amodra@gmail.com>
619 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl): Correct
620 output when value is near a power of two. Use int64_t for lx and
621 remove casts. Use decimal rather than hex exponent constants.
622 Don't use long double multiplication when double will suffice.
623 * math/libm-test.inc (nextafter_test_data): Add tests.
624 * NEWS: Add 16739 and 16786 to bug list.
626 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Correct stream hint.
628 * sysdeps/powerpc/powerpc64/start.S: Add @toc to toc symbol reference.
630 2014-04-01 Will Newton <will.newton@linaro.org>
632 * benchtests/Makefile (CFLAGS-bench-ffs.c): Add
633 -fno-builtin. (CFLAGS-bench-ffsll.c): Likewise.
635 2014-04-01 Florian Weimer <fweimer@redhat.com>
638 * nptl/nptl-init.c (sighandler_setxid): Check system call result.
639 * nptl/tst-setuid2.c: New file.
640 * nptl/Makefile (xtests): Add tst-setuid2.
642 2014-04-01 Alan Modra <amodra@gmail.com>
645 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S: Don't trash stack.
647 2014-03-31 Joseph Myers <joseph@codesourcery.com>
651 * math/w_scalb.c (__scalb): For non-SVID mode, check result and
652 set errno as appropriate.
653 * math/w_scalbf.c (__scalbf): Likewise.
654 * math/w_scalbl.c (__scalbl): Likewise.
655 * math/gen-libm-test.pl (parse_args): Handle ERRNO_PLUS_OFLOW,
656 ERRNO_MINUS_OFLOW, ERRNO_PLUS_UFLOW and ERRNO_MINUS_UFLOW.
657 * math/libm-test.inc (scalb_test_data): Add errno expectations.
661 * math/w_atan2.c: Include <errno.h>.
662 (__atan2): Set errno for result underflowing to zero.
663 * math/w_atan2f.c: Include <errno.h>.
664 (__atan2f): Set errno for result underflowing to zero.
665 * math/w_atan2l.c: Include <errno.h>.
666 (__atan2l): Set errno for result underflowing to zero.
667 * math/auto-libm-test-in: Don't allow missing errno for some atan2
669 * math/auto-libm-test-out: Regenerated.
671 2014-03-31 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
673 * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S (MFVSRD_R3_V1):
674 Encode instruction correctly in little endian.
675 * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S (MFVSRD_R3_V1):
677 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (MFVSRD_R3_V1):
679 * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S (MFVSRD_R3_V1):
681 * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S (MFVSRD_R3_V1):
684 2014-03-31 Joseph Myers <joseph@codesourcery.com>
687 * sysdeps/unix/sysv/linux/kernel-features.h
688 [__sparc__ && !__arch64__ && !__sparc_v9__]
689 (__ASSUME_SET_ROBUST_LIST): Do not define.
690 [__sparc__ && !__arch64__ && !__sparc_v9__]
691 (__ASSUME_FUTEX_LOCK_PI): Likewise.
692 [__sparc__ && !__arch64__ && !__sparc_v9__] (__ASSUME_REQUEUE_PI):
694 * sysdeps/unix/sysv/linux/arm/kernel-features.h
695 (__ASSUME_FUTEX_LOCK_PI): Undefine.
696 (__ASSUME_REQUEUE_PI): Likewise.
697 (__ASSUME_SET_ROBUST_LIST): Likewise.
698 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
699 [__LINUX_KERNEL_VERSION < 0x030a00] (__ASSUME_FUTEX_LOCK_PI):
701 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
702 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_FUTEX_LOCK_PI):
704 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_REQUEUE_PI):
706 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_SET_ROBUST_LIST):
708 * sysdeps/unix/sysv/linux/mips/kernel-features.h
709 [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_FUTEX_LOCK_PI):
711 [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_REQUEUE_PI): Likewise.
712 [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_SET_ROBUST_LIST):
716 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
717 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_FUTIMESAT): Define.
718 * sysdeps/unix/sysv/linux/microblaze/futimesat.c: New file.
720 2014-03-31 Will Newton <will.newton@linaro.org>
722 * benchtests/Makefile (bench): Add ffs and ffsll to list
724 * benchtests/ffs-inputs: New file.
725 * benchtests/ffsll-inputs: Likewise.
727 2014-03-29 Joseph Myers <joseph@codesourcery.com>
730 * math/e_scalb.c (__ieee754_scalb): Check second argument is not
731 too large before casting to int.
732 * math/e_scalbf.c (__ieee754_scalbf): Likewise.
733 * math/e_scalbl.c (__ieee754_scalbl): Likewise.
734 * math/libm-test.inc (scalb_test_data): Add more tests.
736 2014-03-29 Siddhesh Poyarekar <siddhesh@redhat.com>
738 * benchtests/Makefile (DETAILED_OPT): New make option.
739 (bench-func): Run benchmark program with -d if DETAILED_OPT is
741 * benchtests/bench-skeleton.c: Include stdbool.h.
742 (main): Store and print timings per input.
743 * benchtests/scripts/bench.py (STRUCT_TEMPLATE): Add timing
744 member to each argument value.
745 (EPILOGUE): Define new macros RESULT and RESULT_ACCUM.
746 (_print_arg_data): Initialize per-input timing to 0.
748 * benchtests/Makefile (timing-type): New binary.
749 (bench-clean): Also remove bench-timing-type.
750 (bench): New target for timing-type.
751 (bench-func): Print output in JSON format.
752 * benchtests/bench-skeleton.c (main): Print output in JSON
754 * benchtests/bench-timing-type.c: New file.
755 * benchtests/bench-timing.h (TIMING_TYPE): New macro.
756 (TIMING_PRINT_STATS): Remove.
757 * benchtests/scripts/bench.py (_print_arg_data): Store variant
760 * benchtests/bench-modf.c: Remove.
761 * benchtests/modf-inputs: New inputs file.
763 2014-03-28 Joseph Myers <joseph@codesourcery.com>
766 * math/s_clog10.c (M_PI_LOG10E): New macro.
767 (__clog10): Use M_PI_LOG10E instead of M_PI when real and
768 imaginary parts are 0.
769 * math/s_clog10f.c (M_PI_LOG10Ef): New macro.
770 (__clog10f): Use M_PI_LOG10Ef instead of M_PI when real and
771 imaginary parts are 0.
772 * math/s_clog10l.c (M_PI_LOG10El): New macro.
773 (__clog10l): Use M_PI_LOG10El instead of M_PIl when real and
774 imaginary parts are 0.
775 * math/libm-test.inc (clog10_test_data): Update expected results
776 for when real and imaginary parts are 0.
778 2014-03-27 Paul Pluzhnikov <ppluzhnikov@google.com>
780 * elf/dl-load.c: Finish conversion of __builtin_expect into
783 2014-03-27 Joseph Myers <joseph@codesourcery.com>
786 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [!USE_AS_EXPM1L]: Use
787 1+x for argument with exponent below -67.
788 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [!USE_AS_EXPM1L]:
790 * math/auto-libm-test-in: Add more tests of exp.
791 * math/auto-libm-test-out: Regenerated.
793 2014-03-27 Siddhesh Poyarekar <siddhesh@redhat.com>
796 * inet/getnetgrent_r.c (get_nonempty_val): New function.
797 (nscd_getnetgrent): Use it.
800 * nscd/netgroupcache.c (addgetnetgrentX): Use memmove instead
803 2014-03-27 Andi Kleen <ak@linux.intel.com>
805 * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.h (lll_lock)
806 (lll_robust_lock, lll_cond_lock, lll_timedlock)
807 (lll_robust_cond_lock, lll_robust_timedlock, lll_unlock)
808 (lll_robust_unlock): Remove out of line section. Use cfi
810 (LLL_STUB_UNWIND_INFO*): Remove.
811 * nptl/sysdeps/unix/sysv/linux/i386/lowlevellock.h (lll_lock)
812 (lll_robust_lock, lll_cond_lock, lll_timedlock)
813 (lll_robust_cond_lock, lll_robust_timedlock, lll_unlock)
814 (lll_robust_unlock): Remove out of line section. Use cfi
816 (LLL_STUB_UNWIND_INFO*): Remove.
818 2014-03-27 Siddhesh Poyarekar <siddhesh@redhat.com>
821 * nscd/netgroupcache.c (addinnetgrX): Succeed if triplet has
824 2014-03-26 Paul Pluzhnikov <ppluzhnikov@google.com>
826 * elf/dl-load.c: Convert __builtin_expect into __glibc_{un}likely.
828 2014-03-26 Joseph Myers <joseph@codesourcery.com>
831 * sysdeps/x86_64/fpu/fegetenv.c (fegetenv): Use fldenv after
833 * math/test-fenv-preserve.c: New file.
834 * math/Makefile (tests): Add test-fenv-preserve.
836 2014-03-26 Will Newton <will.newton@linaro.org>
838 * benchtests/bench-strtod.c (TIMEOUT): Define to 10.
840 2014-03-25 Roland McGrath <roland@hack.frob.com>
842 * scripts/versionlist.awk: Partition the version sets and emit all
843 GLIBC_* (sorted) before all others (sorted).
845 2014-03-25 Joseph Myers <joseph@codesourcery.com>
847 * elf/Versions (libc) [EXPORT_UNWIND_FIND_FDE]: Add empty
850 2014-03-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
852 * scripts/localplt.awk: Check for PLT generated by internal IFUNC
855 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: Revert
858 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
860 2014-03-25 Andreas Schwab <schwab@suse.de>
862 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Add out_fail2
863 label to be used after in6ailist is initialized.
865 2014-03-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
867 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
868 (__PTHREAD_MUTEX_HAVE_ELISION): New define.
870 2014-03-25 Joseph Myers <joseph@codesourcery.com>
874 * math/gen-auto-libm-tests.c (fp_format_desc): Add field
876 (fp_formats): Update initializers.
877 (init_fp_formats): Initialize new field.
878 (output_for_one_input_case): Allow underflow for results up to
880 * math/libm-test.inc (log1p_test): Use ALL_RM_TEST.
881 * math/auto-libm-test-in: Don't mark some underflows from asin and
883 * math/auto-libm-test-out: Regenerated.
884 * sysdeps/i386/fpu/libm-test-ulps: Update.
885 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
887 2014-03-25 Andreas Schwab <schwab@suse.de>
889 * libio/Makefile (tst-ftell-partial-wide-ENV)
890 (tst-ftell-active-handler-ENV): Define.
892 2014-03-25 Stefan Liebler <stli@linux.vnet.ibm.com>
894 * NEWS: Add 16712, 16713, 16714 to fixed bug list.
896 2014-03-24 Paul Pluzhnikov <ppluzhnikov@google.com>
898 * elf/tst-dlopen-aout.c: Adjust comments. Use test-skeleton.c
900 2014-03-24 Joseph Myers <joseph@codesourcery.com>
902 * sysdeps/ieee754/dbl-64/e_exp.c: Include <math.h>.
903 * sysdeps/x86_64/fpu/multiarch/e_exp.c
904 [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
906 2014-03-24 Paul Pluzhnikov <ppluzhnikov@google.com>
909 * elf/dl-load.c (open_verify): Add mode parameter.
910 Error early when ET_EXEC and mode does not have __RTLD_OPENEXEC.
911 (open_path): Change from boolean 'secure' to complete flag 'mode'
912 (_dl_map_object): Adjust.
913 * elf/Makefile (tests): Add tst-dlopen-aout.
914 * elf/tst-dlopen-aout.c: New test.
916 2014-03-24 Stefan Liebler <stli@linux.vnet.ibm.com>
919 * sysdeps/unix/sysv/linux/s390/bits/stat.h
920 (struct stat): Rename member pad0 to __glibc_reserved0.
923 * sysdeps/s390/s390-32/bits/wordsize.h
924 (__WORDSIZE32_SIZE_ULONG): New define.
925 * sysdeps/s390/s390-64/bits/wordsize.h
926 (__WORDSIZE32_SIZE_ULONG): Likewise.
927 * sysdeps/generic/stdint.h (SIZE_MAX):
928 Define as UL if __WORDSIZE32_SIZE_ULONG.
931 * sysdeps/unix/sysv/linux/s390/bits/sigaction.h
932 (__glibc_reserved0): New variable.
933 (sa_flags): Change type to int.
935 * posix/Makefile (before-compile): Use += before-compile instead
938 * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
939 (__PTHREAD_MUTEX_HAVE_ELISION): New define.
941 2014-03-20 Andreas Schwab <schwab@suse.de>
944 * sysdeps/posix/getaddrinfo.c (gaih_inet): Properly skip over
945 non-matching result from nscd.
947 2014-03-24 Siddhesh Poyarekar <siddhesh@redhat.com>
949 * scripts/bench.py: Moved to ...
950 * benchtests/scripts/bench.py: ... here.
951 * benchtests/Makefile ($(objpfx)bench-%.c): Adjust.
953 2014-03-24 Andreas Schwab <schwab@suse.de>
956 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Use
957 alloca_account and account alloca use for struct in6ailist.
959 2014-03-24 Joseph Myers <joseph@codesourcery.com>
962 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use original
963 rounding mode to recompute results that overflow to infinity or
965 * math/auto-libm-test-in: Don't mark tests as expected to fail for
967 * math/auto-libm-test-out: Regenerated.
968 * math/libm-test.inc (ccos_test): Use ALL_RM_TEST.
969 (ccosh_test): Likewise.
970 (csin_test_data): Use plus_oflow.
971 (csin_test): Use ALL_RM_TEST.
972 (csinh_test_data): Use plus_oflow.
973 (csinh_test): Use ALL_RM_TEST.
974 * sysdeps/i386/fpu/libm-test-ulps: Update.
975 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
977 2014-03-21 Joseph Myers <joseph@codesourcery.com>
979 * sysdeps/mips/bits/wordsize.h: Include <sgidefs.h>.
980 * sysdeps/unix/sysv/linux/mips/getrlimit64.c: Likewise.
981 * sysdeps/unix/sysv/linux/mips/setrlimit64.c: Likewise.
984 * sysdeps/i386/fpu/e_log.S (__ieee754_log): Take absolute value
986 * sysdeps/i386/fpu/e_logf.S (__ieee754_logf): Likewise.
987 * sysdeps/i386/fpu/e_logl.S (__ieee754_logl): Likewise.
988 * sysdeps/i386/i686/fpu/e_logl.S (__ieee754_logl): Likewise.
989 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Return +0 when
991 * sysdeps/ieee754/ldbl-128/e_logl.c (__ieee754_logl): Likewise.
992 * sysdeps/x86_64/fpu/e_logl.S: Take absolute value when x - 1 is
994 * math/libm-test.inc (log_test): Use ALL_RM_TEST.
995 * sysdeps/i386/fpu/libm-test-ulps: Update.
996 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
998 2014-03-21 Siddhesh Poyarekar <siddhesh@redhat.com>
1000 * scripts/bench.pl: Remove file.
1001 * scripts/bench.py: New benchmark script.
1002 * benchtests/Makefile ($(objpfx)bench-%.c): Use it.
1003 * benchtests/README: Mention python dependency.
1004 * scripts/pylintrc: New file.
1005 * scripts/pylint: New file.
1007 * bits/mathdef.h: Use #ifdef instead of #if.
1008 * sysdeps/arm/bits/mathdef.h [defined __USE_ISOC99 && defined
1009 _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
1010 * sysdeps/tile/bits/mathdef.h [defined __USE_ISOC99 && defined
1011 _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
1012 * sysdeps/x86/bits/mathdef.h [defined __USE_ISOC99 && defined
1013 _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
1015 2014-03-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1016 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
1018 * string/strpbrk.c (strpbrk): Using macro to redefine symbol name.
1019 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strpbrk-power7
1020 and strpbrk-ppc64 objects.
1021 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
1022 (__libc_ifunc_impl_list): Add new strpbrk optimized symbols.
1023 * sysdeps/powerpc/powerpc64/multiarch/strpbrk-power7.S: New file:
1024 multiarch strpbrk for POWER7.
1025 * sysdeps/powerpc/powerpc64/multiarch/strpbrk-ppc64.c: New file:
1026 multiarch strpbrk for PPC64.
1027 * sysdeps/powerpc/powerpc64/multiarch/strpbrk.c: New file: strpbrk
1029 * sysdeps/powerpc/powerpc64/power7/strpbrk.S: New file: optimited
1032 2014-03-20 Joseph Myers <joseph@codesourcery.com>
1034 * math/libm-test.inc (asinh_test): Use ALL_RM_TEST.
1035 (atan_test): Likewise.
1036 (atanh_test_data): Use NO_TEST_INLINE for two tests.
1037 (atanh_test): Use ALL_RM_TEST.
1038 (atan2_test_data): Likewise.
1039 (cabs_test): Likewise.
1040 (cacosh_test): Likewise.
1041 (carg_test): Likewise.
1042 (casin_test): Likewise.
1043 (casinh_test): Likewise.
1044 (cbrt_test): Likewise.
1045 (csqrt_test): Likewise.
1046 (erf_test): Likewise.
1047 (erfc_test): Likewise.
1048 (pow10_test): Likewise.
1049 (exp2_test): Likewise.
1050 (hypot_test): Likewise.
1051 (j0_test): Likewise.
1052 (j1_test): Likewise.
1053 (lgamma_test): Likewise.
1054 (gamma_test): Likewise.
1055 (sincos_test): Likewise.
1056 (tanh_test): Likewise.
1057 (y0_test): Likewise.
1058 (y1_test): Likewise.
1059 * sysdeps/i386/fpu/libm-test-ulps: Update.
1060 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1062 2014-03-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1064 * string/strcspn.c (strcspn): Using macro to redefine symbol name.
1065 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcspn-power7
1066 and strcspn-ppc64 objects.
1067 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
1068 (__libc_ifunc_impl_list): Add new strcspn optimized symbols.
1069 * sysdeps/powerpc/powerpc64/multiarch/strcspn-power7.S: New file:
1070 multiarch strcspn for POWER7.
1071 * sysdeps/powerpc/powerpc64/multiarch/strcspn-ppc64.c: New file:
1072 multiarch strcspn for PPC64.
1073 * sysdeps/powerpc/powerpc64/multiarch/strcspn.c: New file: strcspn
1075 * sysdeps/powerpc/powerpc64/power7/strcspn.S: New file: optimited
1078 2014-03-20 Joseph Myers <joseph@codesourcery.com>
1080 * math/gen-libm-test.pl (generate_testfile): Expect only function
1081 name as argument to AUTO_TESTS_* and pass results for all rounding
1082 modes to parse_args.
1083 (parse_auto_input): Separate inputs of automatic tests from
1084 outputs before storing in %auto_tests.
1085 * math/libm-test.inc (acos_test_data): Update call to
1087 (acos_test): Use ALL_RM_TEST.
1088 (acos_tonearest_test_data): Remove.
1089 (acos_test_tonearest): Likewise.
1090 (acos_towardzero_test_data): Likewise.
1091 (acos_test_towardzero): Likewise.
1092 (acos_downward_test_data): Likewise.
1093 (acos_test_downward): Likewise.
1094 (acos_upward_test_data): Likewise.
1095 (acos_test_upward): Likewise.
1096 (acosh_test_data): Update call to AUTO_TESTS_f_f.
1097 (asin_test_data): Likewise.
1098 (asin_test): Use ALL_RM_TEST.
1099 (asin_tonearest_test_data): Remove.
1100 (asin_test_tonearest): Likewise.
1101 (asin_towardzero_test_data): Likewise.
1102 (asin_test_towardzero): Likewise.
1103 (asin_downward_test_data): Likewise.
1104 (asin_test_downward): Likewise.
1105 (asin_upward_test_data): Likewise.
1106 (asin_test_upward): Likewise.
1107 (asinh_test_data): Update call to AUTO_TESTS_f_f.
1108 (atan_test_data): Likewise.
1109 (atanh_test_data): Likewise.
1110 (atan2_test_data): Update call to AUTO_TESTS_ff_f.
1111 (cabs_test_data): Update call to AUTO_TESTS_c_f.
1112 (carg_test_data): Likewise.
1113 (cbrt_test_data): Update call to AUTO_TESTS_f_f.
1114 (ccos_test_data): Update call to AUTO_TESTS_c_c.
1115 (ccosh_test_data): Likewise.
1116 (cexp_test_data): Likewise.
1117 (clog_test_data): Likewise.
1118 (clog10_test_data): Likewise.
1119 (cos_test_data): Update call to AUTO_TESTS_f_f.
1120 (cos_test): Use ALL_RM_TEST.
1121 (cos_tonearest_test_data): Remove.
1122 (cos_test_tonearest): Likewise.
1123 (cos_towardzero_test_data): Likewise.
1124 (cos_test_towardzero): Likewise.
1125 (cos_downward_test_data): Likewise.
1126 (cos_test_downward): Likewise.
1127 (cos_upward_test_data): Likewise.
1128 (cos_test_upward): Likewise.
1129 (cosh_test_data): Update call to AUTO_TESTS_f_f.
1130 (cosh_test): Use ALL_RM_TEST.
1131 (cosh_tonearest_test_data): Remove.
1132 (cosh_test_tonearest): Likewise.
1133 (cosh_towardzero_test_data): Likewise.
1134 (cosh_test_towardzero): Likewise.
1135 (cosh_downward_test_data): Likewise.
1136 (cosh_test_downward): Likewise.
1137 (cosh_upward_test_data): Likewise.
1138 (cosh_test_upward): Likewise.
1139 (cpow_test_data): Update call to AUTO_TESTS_cc_c.
1140 (csqrt_test_data): Update call to AUTO_TESTS_c_c.
1141 (ctan_test_data): Likewise.
1142 (ctan_test): Use ALL_RM_TEST.
1143 (ctan_tonearest_test_data): Remove.
1144 (ctan_test_tonearest): Likewise.
1145 (ctan_towardzero_test_data): Likewise.
1146 (ctan_test_towardzero): Likewise.
1147 (ctan_downward_test_data): Likewise.
1148 (ctan_test_downward): Likewise.
1149 (ctan_upward_test_data): Likewise.
1150 (ctan_test_upward): Likewise.
1151 (ctanh_test_data): Update call to AUTO_TESTS_c_c.
1152 (ctanh_test): Use ALL_RM_TEST.
1153 (ctanh_tonearest_test_data): Remove.
1154 (ctanh_test_tonearest): Likewise.
1155 (ctanh_towardzero_test_data): Likewise.
1156 (ctanh_test_towardzero): Likewise.
1157 (ctanh_downward_test_data): Likewise.
1158 (ctanh_test_downward): Likewise.
1159 (ctanh_upward_test_data): Likewise.
1160 (ctanh_test_upward): Likewise.
1161 (erf_test_data): Update call to AUTO_TESTS_f_f.
1162 (erfc_test_data): Likewise.
1163 (exp_test_data): Likewise.
1164 (exp_test): Use ALL_RM_TEST.
1165 (exp_tonearest_test_data): Remove.
1166 (exp_test_tonearest): Likewise.
1167 (exp_towardzero_test_data): Likewise.
1168 (exp_test_towardzero): Likewise.
1169 (exp_downward_test_data): Likewise.
1170 (exp_test_downward): Likewise.
1171 (exp_upward_test_data): Likewise.
1172 (exp_test_upward): Likewise.
1173 (exp10_test_data): Update call to AUTO_TESTS_f_f.
1174 (exp10_test): Use ALL_RM_TEST.
1175 (exp10_tonearest_test_data): Remove.
1176 (exp10_test_tonearest): Likewise.
1177 (exp10_towardzero_test_data): Likewise.
1178 (exp10_test_towardzero): Likewise.
1179 (exp10_downward_test_data): Likewise.
1180 (exp10_test_downward): Likewise.
1181 (exp10_upward_test_data): Likewise.
1182 (exp10_test_upward): Likewise.
1183 (exp2_test_data): Update call to AUTO_TESTS_f_f.
1184 (expm1_test_data): Likewise.
1185 (expm1_test): Use ALL_RM_TEST.
1186 (expm1_tonearest_test_data): Remove.
1187 (expm1_test_tonearest): Likewise.
1188 (expm1_towardzero_test_data): Likewise.
1189 (expm1_test_towardzero): Likewise.
1190 (expm1_downward_test_data): Likewise.
1191 (expm1_test_downward): Likewise.
1192 (expm1_upward_test_data): Likewise.
1193 (expm1_test_upward): Likewise.
1194 (fma_test_data): Update call to AUTO_TESTS_fff_f.
1195 (fma_test): Use ALL_RM_TEST.
1196 (fma_towardzero_test_data): Remove.
1197 (fma_test_towardzero): Likewise.
1198 (fma_downward_test_data): Likewise.
1199 (fma_test_downward): Likewise.
1200 (fma_upward_test_data): Likewise.
1201 (fma_test_upward): Likewise.
1202 (hypot_test_data): Update call to AUTO_TESTS_ff_f.
1203 (j0_test_data): Update call to AUTO_TESTS_f_f.
1204 (j1_test_data): Likewise.
1205 (jn_test_data): Update call to AUTO_TESTS_if_f.
1206 (lgamma_test_data): Update call to AUTO_TESTS_f_f1.
1207 (log_test_data): Update call to AUTO_TESTS_f_f.
1208 (log10_test_data): Likewise.
1209 (log1p_test_data): Likewise.
1210 (log2_test_data): Likewise.
1211 (pow_test_data): Update call to AUTO_TESTS_ff_f.
1212 (pow_tonearest_test_data): Likewise.
1213 (sin_test_data): Update call to AUTO_TESTS_f_f.
1214 (sin_test): Use ALL_RM_TEST.
1215 (sin_tonearest_test_data): Remove.
1216 (sin_test_tonearest): Likewise.
1217 (sin_towardzero_test_data): Likewise.
1218 (sin_test_towardzero): Likewise.
1219 (sin_downward_test_data): Likewise.
1220 (sin_test_downward): Likewise.
1221 (sin_upward_test_data): Likewise.
1222 (sin_test_upward): Likewise.
1223 (sincos_test_data): Update call to AUTO_TESTS_fFF_11.
1224 (sinh_test_data): Update call to AUTO_TESTS_f_f.
1225 (sinh_test): Use ALL_RM_TEST.
1226 (sinh_tonearest_test_data): Remove.
1227 (sinh_test_tonearest): Likewise.
1228 (sinh_towardzero_test_data): Likewise.
1229 (sinh_test_towardzero): Likewise.
1230 (sinh_downward_test_data): Likewise.
1231 (sinh_test_downward): Likewise.
1232 (sinh_upward_test_data): Likewise.
1233 (sinh_test_upward): Likewise.
1234 (sqrt_test_data): Update call to AUTO_TESTS_f_f.
1235 (sqrt_test): Use ALL_RM_TEST.
1236 (sqrt_tonearest_test_data): Remove.
1237 (sqrt_test_tonearest): Likewise.
1238 (sqrt_towardzero_test_data): Likewise.
1239 (sqrt_test_towardzero): Likewise.
1240 (sqrt_downward_test_data): Likewise.
1241 (sqrt_test_downward): Likewise.
1242 (sqrt_upward_test_data): Likewise.
1243 (sqrt_test_upward): Likewise.
1244 (tan_test_data): Update call to AUTO_TESTS_f_f.
1245 (tan_test): Use ALL_RM_TEST.
1246 (tan_tonearest_test_data): Remove.
1247 (tan_test_tonearest): Likewise.
1248 (tan_towardzero_test_data): Likewise.
1249 (tan_test_towardzero): Likewise.
1250 (tan_downward_test_data): Likewise.
1251 (tan_test_downward): Likewise.
1252 (tan_upward_test_data): Likewise.
1253 (tan_test_upward): Likewise.
1254 (tanh_test_data): Update call to AUTO_TESTS_f_f.
1255 (tgamma_test_data): Likewise.
1256 (y0_test_data): Likewise.
1257 (y1_test_data): Likewise.
1258 (yn_test_data): Update call to AUTO_TESTS_if_f.
1259 (main): Do not call removed functions.
1261 2014-03-19 Joseph Myers <joseph@codesourcery.com>
1263 * math/libm-test.inc (fdim_test): Use ALL_RM_TEST.
1264 (ldexp_test_data): Remove.
1265 (ldexp_test): Move to after scalbn_test. Use ALL_RM_TEST with
1267 (scalb_test): Use ALL_RM_TEST.
1269 2014-03-19 Andreas Schwab <schwab@suse.de>
1271 * nscd/nscd.service: Also invalidate netgroup cache on reload.
1273 2014-03-19 Joseph Myers <joseph@codesourcery.com>
1276 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
1277 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_PREADV): Undefine.
1278 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_PWRITEV): Likewise.
1279 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
1280 (__ASSUME_PREADV): Undefine.
1281 (__ASSUME_PWRITEV): Likewise.
1283 2014-03-18 Roland McGrath <roland@hack.frob.com>
1285 * bits/mman-linux.h: Add comment about non-Linux use.
1286 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add comment about
1287 bits/mman-linux.h resting place.
1289 * sysdeps/unix/sysv/linux/bits/mman-linux.h: Moved to ...
1290 * bits/mman-linux.h: ... here.
1292 2014-03-18 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1294 * conform/conformtest.pl: Add standard definition when calling C
1295 preprocessor on data files.
1296 (checknamespace): Remove unused variable.
1298 2014-03-18 Joseph Myers <joseph@codesourcery.com>
1300 * math/gen-libm-test.pl (parse_args): Handle plus_oflow,
1301 minus_oflow, plus_uflow and minus_uflow in expected results.
1302 * math/libm-test.inc (scalbn_test_data): Add more tests of
1303 negative arguments. Use plus_oflow, minus_oflow, plus_uflow and
1305 (scalbn_test): Use ALL_RM_TEST.
1306 (scalbln_test_data): Add more tests of negative arguments. Use
1307 plus_oflow, minus_oflow, plus_uflow and minus_uflow.
1308 (scalbln_test): Use ALL_RM_TEST.
1310 2014-03-18 Roland McGrath <roland@hack.frob.com>
1312 * scripts/abilist.awk: Ignore symbols marked with .hidden.
1314 2014-03-18 Will Newton <will.newton@linaro.org>
1316 * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Remove
1319 2014-03-18 Joseph Myers <joseph@codesourcery.com>
1321 * Makerules [!subdir] (check-abi): Exit with error status if a
1324 2014-03-17 Joseph Myers <joseph@codesourcery.com>
1326 * math/libm-test.inc (nearbyint_test_data): Include all tests used
1327 for rint. Include results for all rounding modes.
1328 (nearbyint_test): Use ALL_RM_TEST.
1329 (rint_test_data): Include all tests used for nearbyint.
1331 2014-03-17 Will Newton <will.newton@linaro.org>
1333 * nptl/sysdeps/pthread/pthread.h: Revert previous
1336 * sysdeps/generic/ldsodefs.h: Revert previous
1339 * libio/genops.c: Revert previous change.
1340 * libio/libioP.h: Likewise.
1341 * stdio-common/vfprintf.c: Likewise.
1343 * sysdeps/generic/math_private.h: Revert previous
1346 * sysdeps/generic/math_private.h: Check whether
1347 HAVE_RM_CTX is defined with #ifdef rather
1350 * argp/argp-fmtstream.h: Check whether
1351 __STRICT_ANSI__ is defined with #ifdef rather
1353 * argp/argp.h: Likewise.
1355 * libio/genops.c: Check whether
1356 _IO_JUMPS_OFFSET is defined with #ifdef rather
1358 * libio/libioP.h: Likewise.
1359 * stdio-common/vfprintf.c: Likewise.
1361 * sysdeps/generic/ldsodefs.h: Check whether
1362 HP_SMALL_TIMING_AVAIL is defined with #ifdef rather
1365 * nptl/sysdeps/pthread/pthread.h: Check
1366 __PTHREAD_MUTEX_HAVE_ELISION is defined before testing
1369 2014-03-17 Siddhesh Poyarekar <siddhesh@redhat.com>
1371 * libio/iofdopen.c (_IO_new_fdopen): Seek to end only if
1373 * libio/tst-ftell-active-handler.c (do_append_test): Add a
1377 * libio/fileops.c (_IO_file_open): Seek to end of file but
1378 don't cache the offset.
1379 (get_file_offset): Remove function.
1380 (do_ftell): Use cached offset when available.
1381 * libio/iofdopen.c (_IO_new_fdopen): Seek to end of file but
1382 don't cache the offset.
1383 * libio/tst-ftell-active-handler.c (do_rewind_test): New test
1385 (do_one_test): Call it.
1386 (do_ftell_test): Fix up expected old offset for a+ mode.
1387 * libio/wfileops.c (do_ftell_wide): Used cached offset when
1390 * libio/tst-ftell-active-handler.c (do_ftell_test): Don't mix
1391 up test status with function return status.
1392 (do_write_test): Likewise.
1393 (do_append_test): Likewise.
1395 * nptl/sysdeps/pthread/bits/libc-lockP.h [defined NOT_IN_libc
1396 && !defined IS_IN_libpthread && __LT_SPINNOCK_INIT != 0]:
1399 2014-03-17 Joseph Myers <joseph@codesourcery.com>
1401 * math/gen-libm-test.pl (parse_args): Handle results specified for
1402 each rounding mode separately.
1403 * math/libm-test.inc (lrint_test_data): Merge in per-rounding-mode
1404 tests and results from lrint_tonearest_test_data,
1405 lrint_towardzero_test_data, lrint_downward_test_data and
1406 lrint_upward_test_data.
1407 (lrint_test): Use ALL_RM_TEST.
1408 (lrint_tonearest_test_data): Remove.
1409 (lrint_test_tonearest): Likewise.
1410 (lrint_towardzero_test_data): Likewise.
1411 (lrint_test_towardzero): Likewise.
1412 (lrint_downward_test_data): Likewise.
1413 (lrint_test_downward): Likewise.
1414 (lrint_upward_test_data): Likewise.
1415 (lrint_test_upward): Likewise.
1416 (llrint_test_data): Merge in per-rounding-mode tests and results
1417 from llrint_tonearest_test_data, llrint_towardzero_test_data,
1418 llrint_downward_test_data and llrint_upward_test_data.
1419 (llrint_test): Use ALL_RM_TEST.
1420 (llrint_tonearest_test_data): Remove.
1421 (llrint_test_tonearest): Likewise.
1422 (llrint_towardzero_test_data): Likewise.
1423 (llrint_test_towardzero): Likewise.
1424 (llrint_downward_test_data): Likewise.
1425 (llrint_test_downward): Likewise.
1426 (llrint_upward_test_data): Likewise.
1427 (llrint_test_upward): Likewise.
1428 (rint_test_data): Merge in per-rounding-mode tests and results
1429 from rint_tonearest_test_data, rint_towardzero_test_data,
1430 rint_downward_test_data and rint_upward_test_data. Add
1431 per-rounding-mode results for tests not in those arrays.
1432 (rint_test): Use ALL_RM_TEST.
1433 (rint_tonearest_test_data): Remove.
1434 (rint_test_tonearest): Likewise.
1435 (rint_towardzero_test_data): Likewise.
1436 (rint_test_towardzero): Likewise.
1437 (rint_downward_test_data): Likewise.
1438 (rint_test_downward): Likewise.
1439 (rint_upward_test_data): Likewise.
1440 (rint_test_upward): Likewise.
1441 (main): Don't call removed functions.
1443 2014-03-14 Roland McGrath <roland@hack.frob.com>
1445 * csu/Makefile ($(objpfx)version-info.h): Remove linux-specific
1446 "Compiled on ..." crapola. It is anti-useful.
1448 2014-03-14 Joseph Myers <joseph@codesourcery.com>
1450 * scripts/evaluate-test.sh: Handle fourth argument to determine
1451 whether test run should stop on failure.
1452 * Makeconfig (stop-on-test-failure): New variable.
1453 (evaluate-test): Pass fourth argument to evaluate-test.sh based on
1454 $(stop-on-test-failure).
1455 * Makefile (tests): Give a summary of results from testing and
1456 exit with failure status if they include an ERROR or FAIL.
1458 * manual/install.texi (Configuring and compiling): Mention
1459 stop-on-test-failure=y.
1460 * INSTALL: Regenerated.
1462 2014-03-14 Roland McGrath <roland@hack.frob.com>
1464 * scripts/versionlist.awk: New file.
1465 * Makerules [$(build-shared) = yes]
1466 (postclean-generated): Add Versions.def, not Versions.def.v and
1468 ($(common-objpfx)Versions.def.v.i): Target removed.
1469 ($(common-objpfx)Versions.def): New target.
1470 ($(common-objpfx)Versions.all): Depend on that rather that
1471 $(common-objpfx)Versions.def.v.
1472 * Versions.def: File removed.
1474 * Makeconfig (+gccwarn): Add -Wundef.
1475 * include/errno.h [IS_IN_rtld] [!RTLD_PRIVATE_ERRNO]: #error to catch
1476 a dl-sysdep.h breaking its contract.
1477 [!IS_IN_rtld] (RTLD_PRIVATE_ERRNO): Define it to 0.
1478 * include/stackinfo.h: New file.
1479 * nptl/sysdeps/i386/tls.h (TLS_DTV_AT_TP): New macro.
1480 * nptl/sysdeps/powerpc/tls.h (TLS_TCB_AT_TP): New macro.
1481 * nptl/sysdeps/s390/tls.h (TLS_DTV_AT_TP): New macro.
1482 * nptl/sysdeps/sh/tls.h (TLS_TCB_AT_TP): New macro.
1483 * nptl/sysdeps/sparc/tls.h (TLS_DTV_AT_TP): New macro.
1484 * nptl/sysdeps/x86_64/tls.h (TLS_DTV_AT_TP): New macro.
1485 * sysdeps/aarch64/nptl/tls.h (TLS_TCB_AT_TP): New macro.
1486 * sysdeps/alpha/nptl/tls.h (TLS_TCB_AT_TP): New macro.
1487 * sysdeps/arm/nptl/tls.h (TLS_TCB_AT_TP): New macro.
1488 * sysdeps/ia64/nptl/tls.h (TLS_TCB_AT_TP): New macro.
1489 * sysdeps/m68k/nptl/tls.h (TLS_TCB_AT_TP): New macro.
1490 * sysdeps/mach/hurd/i386/tls.h (TLS_DTV_AT_TP): New macro.
1491 * sysdeps/microblaze/nptl/tls.h (TLS_TCB_AT_TP): New macro.
1492 * sysdeps/mips/nptl/tls.h (TLS_TCB_AT_TP): New macro.
1493 * sysdeps/tile/nptl/tls.h (TLS_TCB_AT_TP): New macro.
1495 2014-03-14 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1498 * sysdeps/powerpc/powerpc64/fpu/s_roundl.S: Remove wrong
1500 * math/libm-test.inc (round_test_data): Add more tests.
1503 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Remove wrong
1505 * math/libm-test.inc (nearbyint_test_data): Add more tests.
1508 * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Remove wrong
1510 * math/libm-test.inc (ceil_test_data): Add more tests.
1512 * math/libm-test.inc (trunc_test_data): Add more tests related to
1515 2014-03-14 Roland McGrath <roland@hack.frob.com>
1517 * nptl/pthread_create.c (__pthread_create_2_1): Test TLS_TCB_AT_TP
1518 with #if rather than #ifdef.
1519 * nptl/sysdeps/pthread/createthread.c (create_thread): Likewise.
1521 2014-03-14 H.J. Lu <hongjiu.lu@intel.com>
1523 * sysdeps/x86_64/configure.ac: Check AVX-512 assembler support
1524 first. Disable AVX-512 GCC support if assembler doesn't support
1526 * sysdeps/x86_64/configure: Regenerated.
1528 2014-03-13 Carlos O'Donell <carlos@redhat.com>
1530 * nptl/pthread_attr_setstack.c (__pthread_attr_setstack)
1531 [!_STACK_GROWS_DOWN]: Don't add stacksize to stackaddr.
1532 (__old_pthread_attr_setstack): Likewise.
1533 * nptl/pthread_attr_getstack.c (__pthread_attr_getstack)
1534 [!_STACK_GROWS_DOWN]: Likewise.
1536 2014-03-13 Mike Frysinger <vapier@gentoo.org>
1538 * config.make.in (have-bash2): Delete.
1539 * configure.ac (libc_cv_have_bash2): Delete.
1540 * configure: Regenerate.
1541 * elf/Makefile (common-ldd-rewrite): Rename to ...
1542 (ldd-rewrite): ... this. Move bash-ldd-rewrite content to end.
1543 (sh-ldd-rewrite): Delete.
1544 (bash-ldd-rewrite): Delete.
1545 (have-bash2): Delete checks.
1546 [ldd-rewrite-script]: Change $(ldd-shell)-ldd-rewrite to
1549 * config.make.in (have-ksh): Delete.
1551 * configure.ac (libc_cv_have_ksh): Delete.
1552 * configure: Regenerate.
1554 * elf/Makefile: Delete $(have-ksh) check.
1555 ($(objpfx)sotruss): Change KSH to BASH.
1556 * elf/sotruss.ksh: Rename to ...
1557 * elf/sotruss.sh: ... this. Change @KSH@ to @BASH@. Change
1558 function style to match POSIX. Drop ksh vim mode setting.
1560 * manual/time.texi (Specifying the Time Zone with TZ): Change
1561 Tuesday to Thursday.
1563 * debug/tst-longjmp_chk2.c: Update header comment.
1564 (stackoverflow_handler): Add comment. Call assert on pass value.
1566 2014-03-13 Igor Zamyatin <igor.zamyatin@intel.com>
1568 * config.h.in (HAVE_AVX512_SUPPORT): New #undef.
1569 (HAVE_AVX512_ASM_SUPPORT): Likewise.
1570 * sysdeps/x86_64/bits/link.h (La_x86_64_zmm): New.
1571 (La_x86_64_vector): Add zmm.
1572 * sysdeps/x86_64/Makefile (tests): Add tst-audit10.
1573 (modules-names): Add tst-auditmod10a and tst-auditmod10b.
1574 ($(objpfx)tst-audit10): New target.
1575 ($(objpfx)tst-audit10.out): Likewise.
1576 (tst-audit10-ENV): New.
1577 (AVX512-CFLAGS): Likewise.
1578 (CFLAGS-tst-audit10.c): Likewise.
1579 (CFLAGS-tst-auditmod10a.c): Likewise.
1580 (CFLAGS-tst-auditmod10b.c): Likewise.
1581 * sysdeps/x86_64/configure.ac: Set config-cflags-avx512,
1582 HAVE_AVX512_SUPPORT and HAVE_AVX512_ASM_SUPPORT.
1583 * sysdeps/x86_64/configure: Regenerated.
1584 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Add
1585 AVX-512 zmm register support.
1586 (_dl_x86_64_save_sse): Likewise.
1587 (_dl_x86_64_restore_sse): Likewise.
1588 * sysdeps/x86_64/dl-trampoline.h: Updated to support different
1589 size vector registers.
1590 * sysdeps/x86_64/link-defines.sym (YMM_SIZE): New.
1591 (ZMM_SIZE): Likewise.
1592 * sysdeps/x86_64/tst-audit10.c: New file.
1593 * sysdeps/x86_64/tst-auditmod10a.c: Likewise.
1594 * sysdeps/x86_64/tst-auditmod10b.c: Likewise.
1596 2014-03-13 Roland McGrath <roland@hack.frob.com>
1598 * configure.ac (HAVE_EHDR_START): New check.
1599 * configure: Regenerated.
1600 * config.h.in (HAVE_EHDR_START): New #undef.
1601 * elf/rtld.c (dl_main) [HAVE_EHDR_START]: Use __ehdr_start rather than
1602 assuming the lowest-addressed segment maps the start of the file.
1604 2014-03-13 Joseph Myers <joseph@codesourcery.com>
1606 * INSTALL: Regenerated.
1608 2014-03-13 Will Newton <will.newton@linaro.org>
1610 * manual/setjmp.texi (System V contexts): Improve
1611 clarity and grammar of documentation.
1613 2014-03-12 Paul Pluzhnikov <ppluzhnikov@google.com>
1616 * elf/Makefile (tests): Add tst-pie2.
1617 (tests-pie): Add tst-pie2.
1618 * elf/tst-pie2.c: New file.
1619 * elf/dl-load.c (_dl_map_object_from_fd): Assert correct l_type
1621 * elf/rtld.c (map_doit): Load executable as lt_executable.
1622 (dl_main): Likewise.
1624 2014-03-12 Joseph Myers <joseph@codesourcery.com>
1627 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
1628 (__ASSUME_PSELECT): Undefine.
1630 2014-03-12 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1633 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-ppc32.S
1634 (__bzero_ppc): Call memset@local instead of __memset_ppc@local for
1636 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: Build IFUNC
1637 selector for static builds.
1639 2014-03-12 Siddhesh Poyarekar <siddhesh@redhat.com>
1642 * nscd/netgroupcache.c (addgetnetgrentX): Factor in space for
1645 2014-03-12 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1647 * sysdeps/powerpc/powerpc64/multiarch/strspn.c (strspn): Build
1648 IFUNC selector for static builds.
1650 2014-03-11 Joseph Myers <joseph@codesourcery.com>
1652 * sysdeps/mips/math_private.h [__mips_hard_float]
1653 (libc_feresetround_ctx): Define to libc_feupdateenv_mips_ctx not
1654 libc_feresetround_mips_ctx.
1655 [__mips_hard_float] (libc_feresetroundf_ctx): Likewise.
1656 [__mips_hard_float] (libc_feresetroundl_ctx): Likewise.
1657 [__mips_hard_float] (libc_feresetround_mips_ctx): Remove.
1660 * math/s_nextafter.c (__nextafter): Do not return value from
1661 overflowing computation.
1662 * sysdeps/i386/fpu/s_nextafterl.c (__nextafterl): Likewise.
1663 * sysdeps/ieee754/flt-32/s_nextafterf.c (__nextafterf): Likewise.
1664 * sysdeps/ieee754/ldbl-128/s_nextafterl.c (__nextafterl):
1666 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl):
1668 * sysdeps/m68k/m680x0/fpu/s_nextafterl.c (__nextafterl): Likewise.
1669 * math/libm-test.inc (nextafter_test): Use ALL_RM_TEST.
1671 2014-03-11 Roland McGrath <roland@hack.frob.com>
1673 * sysdeps/arm/setjmp.S: Use sfi_breg on stores of mangled registers.
1674 * sysdeps/arm/__longjmp.S: Use sfi_breg on loads of mangled registers.
1675 Move sfi_sp use from the load-multiple (that no longer sets sp) to
1676 the new mov targetting sp.
1678 2014-03-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1681 * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S (__bzero_ppc):
1682 Define it for static builds as well.
1683 (NO_BZERO_IMPL): Likewise.
1685 2014-03-11 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
1687 * sysdeps/powerpc/powerpc64/power7/strspn.S: New file: Optimization.
1688 * sysdeps/powerpc/powerpc64/multiarch/strspn.c: New file:
1689 multiarch strspn for PPC64.
1690 * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c: New file
1691 * sysdeps/powerpc/powerpc64/multiarch/strspn-power7.S: New file
1692 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
1693 (__libc_ifunc_impl_list): Likewise.
1694 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strspn
1695 multiarch optimizations
1696 * string/strspn.c (strspn): Using macro to redefine symbol name.
1698 2014-03-10 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
1699 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1701 * sysdeps/powerpc/powerpc64/power7/strncat.S: New file: Optimization.
1702 * sysdeps/powerpc/powerpc64/multiarch/strncat.c: New file:
1703 multiarch strncat for PPC64.
1704 * sysdeps/powerpc/powerpc64/multiarch/strncat-ppc64.c: New file
1705 * sysdeps/powerpc/powerpc64/multiarch/strncat-power7.S: New file
1706 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
1707 (__libc_ifunc_impl_list): Likewise.
1708 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncat
1709 multiarch optimizations
1711 2014-03-10 Siddhesh Poyarekar <siddhesh@redhat.com>
1714 * nscd/nscd.service: Make service type forking.
1716 2014-03-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1718 * sysdeps/powerpc/power5+/fpu/s_modf.c (__modf): Fix to return correct
1719 sign in non default rounding modes.
1720 * sysdeps/powerpc/power5+/fpu/s_modff.c (__modff): Likewise.
1722 2014-03-08 Joseph Myers <joseph@codesourcery.com>
1724 * math/libm-test.inc (ALL_RM_TEST): New macro.
1725 (ceil_test): Use ALL_RM_TEST.
1726 (cimag_test): Likewise.
1727 (conj_test): Likewise.
1728 (copysign_test): Likewise.
1729 (cproj_test): Likewise.
1730 (creal_test): Likewise.
1731 (fabs_test): Likewise.
1732 (floor_test): Likewise.
1733 (fmax_test): Likewise.
1734 (fmin_test): Likewise.
1735 (fmod_test): Likewise.
1736 (fpclassify_test): Likewise.
1737 (frexp_test): Likewise.
1738 (ilogb_test): Likewise.
1739 (isfinite_test): Likewise.
1740 (finite_test): Likewise.
1741 (isgreater_test): Likewise.
1742 (isgreaterequal_test): Likewise.
1743 (isinf_test): Likewise.
1744 (isless_test): Likewise.
1745 (islessequal_test): Likewise.
1746 (islessgreater_test): Likewise.
1747 (isnan_test): Likewise.
1748 (isnormal_test): Likewise.
1749 (issignaling_test): Likewise.
1750 (isunordered_test): Likewise.
1751 (logb_test): Likewise.
1752 (logb_downward_test_data): Remove.
1753 (logb_test_downward): Likewise.
1754 (lround_test): Use ALL_RM_TEST.
1755 (llround_test): Likewise.
1756 (modf_test): Likewise.
1757 (nexttoward_test): Likewise.
1758 (remainder_test): Likewise.
1759 (drem_test): Likewise.
1760 (remainder_tonearest_test_data): Likewise.
1761 (remainder_test_tonearest): Likewise.
1762 (drem_test_tonearest): Likewise.
1763 (remainder_towardzero_test_data): Likewise.
1764 (remainder_test_towardzero): Likewise.
1765 (drem_test_towardzero): Likewise.
1766 (remainder_downward_test_data): Likewise.
1767 (remainder_test_downward): Likewise.
1768 (drem_test_downward): Likewise.
1769 (remainder_upward_test_data): Likewise.
1770 (remainder_test_upward): Likewise.
1771 (drem_test_upward): Likewise.
1772 (remquo_test): Use ALL_RM_TEST. Remove comment about x.
1773 (round_test): Use ALL_RM_TEST.
1774 (signbit_test): Likewise.
1775 (trunc_test): Likewise.
1776 (significand_test): Likewise.
1777 (main): Don't call removed functions.
1779 2014-03-07 Joseph Myers <joseph@codesourcery.com>
1782 * bits/siginfo.h (ILL_ILLOPC): Condition on [__USE_XOPEN_EXTENDED
1784 (ILL_ILLOPN): Likewise.
1785 (ILL_ILLADR): Likewise.
1786 (ILL_ILLTRP): Likewise.
1787 (ILL_PRVOPC): Likewise.
1788 (ILL_PRVREG): Likewise.
1789 (ILL_COPROC): Likewise.
1790 (ILL_BADSTK): Likewise.
1791 (FPE_INTDIV): Likewise.
1792 (FPE_INTOVF): Likewise.
1793 (FPE_FLTDIV): Likewise.
1794 (FPE_FLTOVF): Likewise.
1795 (FPE_FLTUND): Likewise.
1796 (FPE_FLTRES): Likewise.
1797 (FPE_FLTINV): Likewise.
1798 (FPE_FLTSUB): Likewise.
1799 (SEGV_MAPERR): Likewise.
1800 (SEGV_ACCERR): Likewise.
1801 (BUS_ADRALN): Likewise.
1802 (BUS_ADRERR): Likewise.
1803 (BUS_OBJERR): Likewise.
1804 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
1805 (TRAP_TRACE): Likewise.
1806 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
1808 (CLD_KILLED): Likewise.
1809 (CLD_DUMPED): Likewise.
1810 (CLD_TRAPPED): Likewise.
1811 (CLD_STOPPED): Likewise.
1812 (CLD_CONTINUED): Likewise.
1813 (POLL_IN): Likewise.
1814 (POLL_OUT): Likewise.
1815 (POLL_MSG): Likewise.
1816 (POLL_ERR): Likewise.
1817 (POLL_PRI): Likewise.
1818 (POLL_HUP): Likewise.
1819 * sysdeps/unix/sysv/linux/alpha/bits/siginfo.h (ILL_ILLOPC):
1821 (ILL_ILLOPN): Likewise.
1822 (ILL_ILLADR): Likewise.
1823 (ILL_ILLTRP): Likewise.
1824 (ILL_PRVOPC): Likewise.
1825 (ILL_PRVREG): Likewise.
1826 (ILL_COPROC): Likewise.
1827 (ILL_BADSTK): Likewise.
1828 (FPE_INTDIV): Likewise.
1829 (FPE_INTOVF): Likewise.
1830 (FPE_FLTDIV): Likewise.
1831 (FPE_FLTOVF): Likewise.
1832 (FPE_FLTUND): Likewise.
1833 (FPE_FLTRES): Likewise.
1834 (FPE_FLTINV): Likewise.
1835 (FPE_FLTSUB): Likewise.
1836 (SEGV_MAPERR): Likewise.
1837 (SEGV_ACCERR): Likewise.
1838 (BUS_ADRALN): Likewise.
1839 (BUS_ADRERR): Likewise.
1840 (BUS_OBJERR): Likewise.
1841 (BUS_MCEERR_AR): Likewise.
1842 (BUS_MCEERR_AO): Likewise.
1843 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
1844 (TRAP_TRACE): Likewise.
1845 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
1847 (CLD_KILLED): Likewise.
1848 (CLD_DUMPED): Likewise.
1849 (CLD_TRAPPED): Likewise.
1850 (CLD_STOPPED): Likewise.
1851 (CLD_CONTINUED): Likewise.
1852 (POLL_IN): Likewise.
1853 (POLL_OUT): Likewise.
1854 (POLL_MSG): Likewise.
1855 (POLL_ERR): Likewise.
1856 (POLL_PRI): Likewise.
1857 (POLL_HUP): Likewise.
1858 * sysdeps/unix/sysv/linux/bits/siginfo.h (ILL_ILLOPC): Likewise.
1859 (ILL_ILLOPN): Likewise.
1860 (ILL_ILLADR): Likewise.
1861 (ILL_ILLTRP): Likewise.
1862 (ILL_PRVOPC): Likewise.
1863 (ILL_PRVREG): Likewise.
1864 (ILL_COPROC): Likewise.
1865 (ILL_BADSTK): Likewise.
1866 (FPE_INTDIV): Likewise.
1867 (FPE_INTOVF): Likewise.
1868 (FPE_FLTDIV): Likewise.
1869 (FPE_FLTOVF): Likewise.
1870 (FPE_FLTUND): Likewise.
1871 (FPE_FLTRES): Likewise.
1872 (FPE_FLTINV): Likewise.
1873 (FPE_FLTSUB): Likewise.
1874 (SEGV_MAPERR): Likewise.
1875 (SEGV_ACCERR): Likewise.
1876 (BUS_ADRALN): Likewise.
1877 (BUS_ADRERR): Likewise.
1878 (BUS_OBJERR): Likewise.
1879 (BUS_MCEERR_AR): Likewise.
1880 (BUS_MCEERR_AO): Likewise.
1881 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
1882 (TRAP_TRACE): Likewise.
1883 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
1885 (CLD_KILLED): Likewise.
1886 (CLD_DUMPED): Likewise.
1887 (CLD_TRAPPED): Likewise.
1888 (CLD_STOPPED): Likewise.
1889 (CLD_CONTINUED): Likewise.
1890 (POLL_IN): Likewise.
1891 (POLL_OUT): Likewise.
1892 (POLL_MSG): Likewise.
1893 (POLL_ERR): Likewise.
1894 (POLL_PRI): Likewise.
1895 (POLL_HUP): Likewise.
1896 * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h (ILL_ILLOPC):
1898 (ILL_ILLOPN): Likewise.
1899 (ILL_ILLADR): Likewise.
1900 (ILL_ILLTRP): Likewise.
1901 (ILL_PRVOPC): Likewise.
1902 (ILL_PRVREG): Likewise.
1903 (ILL_COPROC): Likewise.
1904 (ILL_BADSTK): Likewise.
1905 (ILL_BADIADDR): Likewise.
1906 (ILL_BREAK): Likewise.
1907 (FPE_INTDIV): Likewise.
1908 (FPE_INTOVF): Likewise.
1909 (FPE_FLTDIV): Likewise.
1910 (FPE_FLTOVF): Likewise.
1911 (FPE_FLTUND): Likewise.
1912 (FPE_FLTRES): Likewise.
1913 (FPE_FLTINV): Likewise.
1914 (FPE_FLTSUB): Likewise.
1915 (FPE_DECOVF): Likewise.
1916 (FPE_DECDIV): Likewise.
1917 (FPE_DECERR): Likewise.
1918 (FPE_INVASC): Likewise.
1919 (FPE_INVDEC): Likewise.
1920 (SEGV_MAPERR): Likewise.
1921 (SEGV_ACCERR): Likewise.
1922 (SEGV_PSTKOVF): Likewise.
1923 (BUS_ADRALN): Likewise.
1924 (BUS_ADRERR): Likewise.
1925 (BUS_OBJERR): Likewise.
1926 (BUS_MCEERR_AR): Likewise.
1927 (BUS_MCEERR_AO): Likewise.
1928 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
1929 (TRAP_TRACE): Likewise.
1930 (TRAP_BRANCH): Likewise.
1931 (TRAP_HWBKPT): Likewise.
1932 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
1934 (CLD_KILLED): Likewise.
1935 (CLD_DUMPED): Likewise.
1936 (CLD_TRAPPED): Likewise.
1937 (CLD_STOPPED): Likewise.
1938 (CLD_CONTINUED): Likewise.
1939 (POLL_IN): Likewise.
1940 (POLL_OUT): Likewise.
1941 (POLL_MSG): Likewise.
1942 (POLL_ERR): Likewise.
1943 (POLL_PRI): Likewise.
1944 (POLL_HUP): Likewise.
1945 * sysdeps/unix/sysv/linux/mips/bits/siginfo.h (ILL_ILLOPC): Likewise.
1946 (ILL_ILLOPN): Likewise.
1947 (ILL_ILLADR): Likewise.
1948 (ILL_ILLTRP): Likewise.
1949 (ILL_PRVOPC): Likewise.
1950 (ILL_PRVREG): Likewise.
1951 (ILL_COPROC): Likewise.
1952 (ILL_BADSTK): Likewise.
1953 (FPE_INTDIV): Likewise.
1954 (FPE_INTOVF): Likewise.
1955 (FPE_FLTDIV): Likewise.
1956 (FPE_FLTOVF): Likewise.
1957 (FPE_FLTUND): Likewise.
1958 (FPE_FLTRES): Likewise.
1959 (FPE_FLTINV): Likewise.
1960 (FPE_FLTSUB): Likewise.
1961 (SEGV_MAPERR): Likewise.
1962 (SEGV_ACCERR): Likewise.
1963 (BUS_ADRALN): Likewise.
1964 (BUS_ADRERR): Likewise.
1965 (BUS_OBJERR): Likewise.
1966 (BUS_MCEERR_AR): Likewise.
1967 (BUS_MCEERR_AO): Likewise.
1968 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
1969 (TRAP_TRACE): Likewise.
1970 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
1972 (CLD_KILLED): Likewise.
1973 (CLD_DUMPED): Likewise.
1974 (CLD_TRAPPED): Likewise.
1975 (CLD_STOPPED): Likewise.
1976 (CLD_CONTINUED): Likewise.
1977 (POLL_IN): Likewise.
1978 (POLL_OUT): Likewise.
1979 (POLL_MSG): Likewise.
1980 (POLL_ERR): Likewise.
1981 (POLL_PRI): Likewise.
1982 (POLL_HUP): Likewise.
1983 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (ILL_ILLOPC): Likewise.
1984 (ILL_ILLOPN): Likewise.
1985 (ILL_ILLADR): Likewise.
1986 (ILL_ILLTRP): Likewise.
1987 (ILL_PRVOPC): Likewise.
1988 (ILL_PRVREG): Likewise.
1989 (ILL_COPROC): Likewise.
1990 (ILL_BADSTK): Likewise.
1991 (FPE_INTDIV): Likewise.
1992 (FPE_INTOVF): Likewise.
1993 (FPE_FLTDIV): Likewise.
1994 (FPE_FLTOVF): Likewise.
1995 (FPE_FLTUND): Likewise.
1996 (FPE_FLTRES): Likewise.
1997 (FPE_FLTINV): Likewise.
1998 (FPE_FLTSUB): Likewise.
1999 (SEGV_MAPERR): Likewise.
2000 (SEGV_ACCERR): Likewise.
2001 (BUS_ADRALN): Likewise.
2002 (BUS_ADRERR): Likewise.
2003 (BUS_OBJERR): Likewise.
2004 (BUS_MCEERR_AR): Likewise.
2005 (BUS_MCEERR_AO): Likewise.
2006 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
2007 (TRAP_TRACE): Likewise.
2008 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
2010 (CLD_KILLED): Likewise.
2011 (CLD_DUMPED): Likewise.
2012 (CLD_TRAPPED): Likewise.
2013 (CLD_STOPPED): Likewise.
2014 (CLD_CONTINUED): Likewise.
2015 (POLL_IN): Likewise.
2016 (POLL_OUT): Likewise.
2017 (POLL_MSG): Likewise.
2018 (POLL_ERR): Likewise.
2019 (POLL_PRI): Likewise.
2020 (POLL_HUP): Likewise.
2021 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (ILL_ILLOPC): Likewise.
2022 (ILL_ILLOPN): Likewise.
2023 (ILL_ILLADR): Likewise.
2024 (ILL_ILLTRP): Likewise.
2025 (ILL_PRVOPC): Likewise.
2026 (ILL_PRVREG): Likewise.
2027 (ILL_COPROC): Likewise.
2028 (ILL_BADSTK): Likewise.
2029 (FPE_INTDIV): Likewise.
2030 (FPE_INTOVF): Likewise.
2031 (FPE_FLTDIV): Likewise.
2032 (FPE_FLTOVF): Likewise.
2033 (FPE_FLTUND): Likewise.
2034 (FPE_FLTRES): Likewise.
2035 (FPE_FLTINV): Likewise.
2036 (FPE_FLTSUB): Likewise.
2037 (SEGV_MAPERR): Likewise.
2038 (SEGV_ACCERR): Likewise.
2039 (BUS_ADRALN): Likewise.
2040 (BUS_ADRERR): Likewise.
2041 (BUS_OBJERR): Likewise.
2042 (BUS_MCEERR_AR): Likewise.
2043 (BUS_MCEERR_AO): Likewise.
2044 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
2045 (TRAP_TRACE): Likewise.
2046 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
2048 (CLD_KILLED): Likewise.
2049 (CLD_DUMPED): Likewise.
2050 (CLD_TRAPPED): Likewise.
2051 (CLD_STOPPED): Likewise.
2052 (CLD_CONTINUED): Likewise.
2053 (POLL_IN): Likewise.
2054 (POLL_OUT): Likewise.
2055 (POLL_MSG): Likewise.
2056 (POLL_ERR): Likewise.
2057 (POLL_PRI): Likewise.
2058 (POLL_HUP): Likewise.
2059 * sysdeps/unix/sysv/linux/tile/bits/siginfo.h (ILL_ILLOPC): Likewise.
2060 (ILL_ILLOPN): Likewise.
2061 (ILL_ILLADR): Likewise.
2062 (ILL_ILLTRP): Likewise.
2063 (ILL_PRVOPC): Likewise.
2064 (ILL_PRVREG): Likewise.
2065 (ILL_COPROC): Likewise.
2066 (ILL_BADSTK): Likewise.
2067 (ILL_DBLFLT): Likewise.
2068 (ILL_HARDWALL): Likewise.
2069 (FPE_INTDIV): Likewise.
2070 (FPE_INTOVF): Likewise.
2071 (FPE_FLTDIV): Likewise.
2072 (FPE_FLTOVF): Likewise.
2073 (FPE_FLTUND): Likewise.
2074 (FPE_FLTRES): Likewise.
2075 (FPE_FLTINV): Likewise.
2076 (FPE_FLTSUB): Likewise.
2077 (SEGV_MAPERR): Likewise.
2078 (SEGV_ACCERR): Likewise.
2079 (BUS_ADRALN): Likewise.
2080 (BUS_ADRERR): Likewise.
2081 (BUS_OBJERR): Likewise.
2082 (BUS_MCEERR_AR): Likewise.
2083 (BUS_MCEERR_AO): Likewise.
2084 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
2085 (TRAP_TRACE): Likewise.
2086 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
2088 (CLD_KILLED): Likewise.
2089 (CLD_DUMPED): Likewise.
2090 (CLD_TRAPPED): Likewise.
2091 (CLD_STOPPED): Likewise.
2092 (CLD_CONTINUED): Likewise.
2093 (POLL_IN): Likewise.
2094 (POLL_OUT): Likewise.
2095 (POLL_MSG): Likewise.
2096 (POLL_ERR): Likewise.
2097 (POLL_PRI): Likewise.
2098 (POLL_HUP): Likewise.
2099 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (ILL_ILLOPC): Likewise.
2100 (ILL_ILLOPN): Likewise.
2101 (ILL_ILLADR): Likewise.
2102 (ILL_ILLTRP): Likewise.
2103 (ILL_PRVOPC): Likewise.
2104 (ILL_PRVREG): Likewise.
2105 (ILL_COPROC): Likewise.
2106 (ILL_BADSTK): Likewise.
2107 (FPE_INTDIV): Likewise.
2108 (FPE_INTOVF): Likewise.
2109 (FPE_FLTDIV): Likewise.
2110 (FPE_FLTOVF): Likewise.
2111 (FPE_FLTUND): Likewise.
2112 (FPE_FLTRES): Likewise.
2113 (FPE_FLTINV): Likewise.
2114 (FPE_FLTSUB): Likewise.
2115 (SEGV_MAPERR): Likewise.
2116 (SEGV_ACCERR): Likewise.
2117 (BUS_ADRALN): Likewise.
2118 (BUS_ADRERR): Likewise.
2119 (BUS_OBJERR): Likewise.
2120 (BUS_MCEERR_AR): Likewise.
2121 (BUS_MCEERR_AO): Likewise.
2122 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
2123 (TRAP_TRACE): Likewise.
2124 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
2126 (CLD_KILLED): Likewise.
2127 (CLD_DUMPED): Likewise.
2128 (CLD_TRAPPED): Likewise.
2129 (CLD_STOPPED): Likewise.
2130 (CLD_CONTINUED): Likewise.
2131 (POLL_IN): Likewise.
2132 (POLL_OUT): Likewise.
2133 (POLL_MSG): Likewise.
2134 (POLL_ERR): Likewise.
2135 (POLL_PRI): Likewise.
2136 (POLL_HUP): Likewise.
2137 * conform/Makefile (test-xfail-POSIX/signal.h/conform): Remove.
2138 (test-xfail-POSIX/sys/wait.h/conform): Likewise.
2141 * posix/sched.h [!__USE_XOPEN2K] (__need_time_t): Don't define
2142 before #include of <time.h>.
2143 [!__USE_XOPEN2K] (__need_timespec): Likewise.
2144 * conform/Makefile (test-xfail-POSIX/sched.h/conform): Remove.
2145 (test-xfail-UNIX98/sched.h/conform): Likewise.
2147 2014-03-07 Marcus Shawcroft <marcus.shawcroft@arm.com>
2149 * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept): Detect and
2150 error absence of trapping exception support.
2151 * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Likewise.
2153 2014-03-07 Joseph Myers <joseph@codesourcery.com>
2155 * catgets/Makefile (tests-special): Add $(objpfx)sample.SJIS.cat.
2156 ($(objpfx)sample.SJIS.cat): Use $(evaluate-test).
2157 * timezone/Makefile (testdata): Move definition above include of
2159 (test-zones): New variable.
2160 (tests-special): Add zone files.
2161 (build-testdata): Use $(evaluate-test).
2163 * elf/Makefile (tests-special): Rename tests to end with .out.
2164 ($(objpfx)noload-mem): Likewise.
2165 ($(objpfx)tst-leaks1-mem): Likewise.
2166 ($(objpfx)tst-leaks1-static-mem.out): Likewise.
2167 * iconv/Makefile (xtests-special): Change test-iconvconfig to
2168 $(objpfx)test-iconvconfig.out.
2169 (test-iconvconfig): Change to $(objpfx)test-iconvconfig.out. Use
2170 set -e inside subshell and redirect output to file.
2171 * iconvdata/Makefile (generated): Rename tests to end with .out.
2173 (tests-special): Rename tests to end with .out.
2174 ($(objpfx)mtrace-tst-loading): Likewise.
2175 * intl/Makefile (generated): Likewise.
2176 (tests-special): Likewise.
2177 ($(objpfx)mtrace-tst-gettext): Likewise.
2178 * misc/Makefile (generated): Likewise.
2179 (tests-special): Likewise.
2180 ($(objpfx)tst-error1-mem): Likewise.
2181 * nptl/Makefile (tests-special): Likewise.
2182 ($(objpfx)tst-stack3-mem): Likewise.
2183 (generated): Likewise.
2184 * posix/Makefile (generated): Likewise.
2185 (tests-special): Likewise.
2186 (xtests-special): Likewise.
2187 ($(objpfx)tst-fnmatch-mem): Likewise.
2188 ($(objpfx)bug-regex2-mem): Likewise.
2189 ($(objpfx)bug-regex14-mem): Likewise.
2190 ($(objpfx)bug-regex21-mem): Likewise.
2191 ($(objpfx)bug-regex31-mem): Likewise.
2192 ($(objpfx)tst-vfork3-mem): Likewise.
2193 ($(objpfx)tst-rxspencer-no-utf8-mem): Likewise.
2194 ($(objpfx)tst-pcre-mem): Likewise.
2195 ($(objpfx)tst-boost-mem): Likewise.
2196 ($(objpfx)bug-ga2-mem): Likewise.
2197 ($(objpfx)bug-glob2-mem): Likewise.
2198 * resolv/Makefile (generate): Likewise.
2199 (tests-special): Likewise.
2200 (xtests-special): Likewise.
2201 (generated): Likewise.
2202 ($(objpfx)mtrace-tst-leaks): Likewise.
2203 ($(objpfx)mtrace-tst-leaks2): Likewise.
2205 * scripts/merge-test-results.sh: New file.
2206 * Makefile (tests-special-notdir): New variable.
2207 (tests): Run merge-test-results.sh.
2209 * Rules (tests-special-notdir): New variable.
2210 (xtests-special-notdir): Likewise.
2211 (tests): Run merge-test-results.sh
2214 * Makeconfig (test-xfail-name): New variable.
2215 (evaluate-test): Use $(test-xfail-name) instead of $(@F:.out=) to
2216 compute variable name for expected failures.
2217 * conform/Makefile (conformtest-headers-data): New variable.
2218 (conformtest-standards): Likewise.
2219 (conformtest-headers-ISO): Likewise.
2220 (conformtest-headers-ISO99): Likewise.
2221 (conformtest-headers-ISO11): Likewise.
2222 (conformtest-headers-POSIX): Likewise.
2223 (conformtest-headers-XPG3): Likewise.
2224 (conformtest-headers-XPG4): Likewise.
2225 (conformtest-headers-UNIX98): Likewise.
2226 (conformtest-headers-XOPEN2K): Likewise.
2227 (conformtest-headers-POSIX2008): Likewise.
2228 (conformtest-headers-XOPEN2K8): Likewise.
2229 (conformtest-header-list-base): Likewise.
2230 (conformtest-header-list-tests): Likewise.
2231 (conformtest-header-base): Likewise.
2232 (conformtest-header-tests): Likewise.
2233 (tests-special): Add $(conformtest-header-list-tests). If
2234 [$(fast-check) && !$(cross-compiling)], add
2235 $(conformtest-header-tests) instead of
2236 $(objpfx)run-conformtest.out.
2237 (generated): Add $(conformtest-header-list-base). If
2238 [$(fast-check) && !$(cross-compiling)], add
2239 $(conformtest-header-base). Remove previous setting.
2240 ($(conformtest-header-list-tests)): New target.
2241 (test-xfail-run-conformtest): Remove variable.
2242 ($(objpfx)run-conformtest.out): Remove target.
2243 (test-xfail-ISO11/complex.h/conform): New variable.
2244 (test-xfail-ISO11/stdalign.h/conform): Likewise.
2245 (test-xfail-ISO11/stdnoreturn.h/conform): Likewise.
2246 (test-xfail-XPG3/varargs.h/conform): Likewise.
2247 (test-xfail-XPG4/varargs.h/conform): Likewise.
2248 (test-xfail-UNIX98/varargs.h/conform): Likewise.
2249 (test-xfail-XPG4/ndbm.h/conform): Likewise.
2250 (test-xfail-UNIX98/ndbm.h/conform): Likewise.
2251 (test-xfail-XOPEN2K/ndbm.h/conform): Likewise.
2252 (test-xfail-XOPEN2K8/ndbm.h/conform): Likewise.
2253 (test-xfail-XPG3/fcntl.h/conform): Likewise.
2254 (test-xfail-XPG3/ftw.h/conform): Likewise.
2255 (test-xfail-XPG3/grp.h/conform): Likewise.
2256 (test-xfail-XPG3/langinfo.h/conform): Likewise.
2257 (test-xfail-XPG3/limits.h/conform): Likewise.
2258 (test-xfail-XPG3/pwd.h/conform): Likewise.
2259 (test-xfail-XPG3/search.h/conform): Likewise.
2260 (test-xfail-XPG3/signal.h/conform): Likewise.
2261 (test-xfail-XPG3/stdio.h/conform): Likewise.
2262 (test-xfail-XPG3/stdlib.h/conform): Likewise.
2263 (test-xfail-XPG3/string.h/conform): Likewise.
2264 (test-xfail-XPG3/sys/ipc.h/conform): Likewise.
2265 (test-xfail-XPG3/sys/msg.h/conform): Likewise.
2266 (test-xfail-XPG3/sys/sem.h/conform): Likewise.
2267 (test-xfail-XPG3/sys/shm.h/conform): Likewise.
2268 (test-xfail-XPG3/sys/stat.h/conform): Likewise.
2269 (test-xfail-XPG3/sys/types.h/conform): Likewise.
2270 (test-xfail-XPG3/sys/wait.h/conform): Likewise.
2271 (test-xfail-XPG3/termios.h/conform): Likewise.
2272 (test-xfail-XPG3/time.h/conform): Likewise.
2273 (test-xfail-XPG3/unistd.h/conform): Likewise.
2274 (test-xfail-XPG4/arpa/inet.h/conform): Likewise.
2275 (test-xfail-XPG4/fcntl.h/conform): Likewise.
2276 (test-xfail-XPG4/langinfo.h/conform): Likewise.
2277 (test-xfail-XPG4/netdb.h/conform): Likewise.
2278 (test-xfail-XPG4/netinet/in.h/conform): Likewise.
2279 (test-xfail-XPG4/signal.h/conform): Likewise.
2280 (test-xfail-XPG4/stdio.h/conform): Likewise.
2281 (test-xfail-XPG4/stdlib.h/conform): Likewise.
2282 (test-xfail-XPG4/stropts.h/conform): Likewise.
2283 (test-xfail-XPG4/sys/ipc.h/conform): Likewise.
2284 (test-xfail-XPG4/sys/msg.h/conform): Likewise.
2285 (test-xfail-XPG4/sys/sem.h/conform): Likewise.
2286 (test-xfail-XPG4/sys/shm.h/conform): Likewise.
2287 (test-xfail-XPG4/sys/socket.h/conform): Likewise.
2288 (test-xfail-XPG4/sys/stat.h/conform): Likewise.
2289 (test-xfail-XPG4/sys/time.h/conform): Likewise.
2290 (test-xfail-XPG4/sys/types.h/conform): Likewise.
2291 (test-xfail-XPG4/sys/wait.h/conform): Likewise.
2292 (test-xfail-XPG4/termios.h/conform): Likewise.
2293 (test-xfail-XPG4/ucontext.h/conform): Likewise.
2294 (test-xfail-XPG4/unistd.h/conform): Likewise.
2295 (test-xfail-XPG4/utmpx.h/conform): Likewise.
2296 (test-xfail-POSIX/sched.h/conform): Likewise.
2297 (test-xfail-POSIX/signal.h/conform): Likewise.
2298 (test-xfail-POSIX/sys/wait.h/conform): Likewise.
2299 (test-xfail-POSIX/tar.h/conform): Likewise.
2300 (test-xfail-UNIX98/arpa/inet.h/conform): Likewise.
2301 (test-xfail-UNIX98/fcntl.h/conform): Likewise.
2302 (test-xfail-UNIX98/langinfo.h/conform): Likewise.
2303 (test-xfail-UNIX98/netdb.h/conform): Likewise.
2304 (test-xfail-UNIX98/netinet/in.h/conform): Likewise.
2305 (test-xfail-UNIX98/sched.h/conform): Likewise.
2306 (test-xfail-UNIX98/signal.h/conform): Likewise.
2307 (test-xfail-UNIX98/stdio.h/conform): Likewise.
2308 (test-xfail-UNIX98/stdlib.h/conform): Likewise.
2309 (test-xfail-UNIX98/stropts.h/conform): Likewise.
2310 (test-xfail-UNIX98/sys/ipc.h/conform): Likewise.
2311 (test-xfail-UNIX98/sys/msg.h/conform): Likewise.
2312 (test-xfail-UNIX98/sys/sem.h/conform): Likewise.
2313 (test-xfail-UNIX98/sys/shm.h/conform): Likewise.
2314 (test-xfail-UNIX98/sys/socket.h/conform): Likewise.
2315 (test-xfail-UNIX98/sys/time.h/conform): Likewise.
2316 (test-xfail-UNIX98/sys/wait.h/conform): Likewise.
2317 (test-xfail-UNIX98/ucontext.h/conform): Likewise.
2318 (test-xfail-UNIX98/unistd.h/conform): Likewise.
2319 (test-xfail-UNIX98/utmpx.h/conform): Likewise.
2320 (test-xfail-XOPEN2K/aio.h/conform): Likewise.
2321 (test-xfail-XOPEN2K/arpa/inet.h/conform): Likewise.
2322 (test-xfail-XOPEN2K/fcntl.h/conform): Likewise.
2323 (test-xfail-XOPEN2K/langinfo.h/conform): Likewise.
2324 (test-xfail-XOPEN2K/math.h/conform): Likewise.
2325 (test-xfail-XOPEN2K/mqueue.h/conform): Likewise.
2326 (test-xfail-XOPEN2K/netdb.h/conform): Likewise.
2327 (test-xfail-XOPEN2K/netinet/in.h/conform): Likewise.
2328 (test-xfail-XOPEN2K/semaphore.h/conform): Likewise.
2329 (test-xfail-XOPEN2K/signal.h/conform): Likewise.
2330 (test-xfail-XOPEN2K/stdarg.h/conform): Likewise.
2331 (test-xfail-XOPEN2K/stdio.h/conform): Likewise.
2332 (test-xfail-XOPEN2K/stropts.h/conform): Likewise.
2333 (test-xfail-XOPEN2K/sys/ipc.h/conform): Likewise.
2334 (test-xfail-XOPEN2K/sys/msg.h/conform): Likewise.
2335 (test-xfail-XOPEN2K/sys/sem.h/conform): Likewise.
2336 (test-xfail-XOPEN2K/sys/shm.h/conform): Likewise.
2337 (test-xfail-XOPEN2K/sys/socket.h/conform): Likewise.
2338 (test-xfail-XOPEN2K/sys/wait.h/conform): Likewise.
2339 (test-xfail-XOPEN2K/termios.h/conform): Likewise.
2340 (test-xfail-XOPEN2K/tgmath.h/conform): Likewise.
2341 (test-xfail-XOPEN2K/ucontext.h/conform): Likewise.
2342 (test-xfail-XOPEN2K/utmpx.h/conform): Likewise.
2343 (test-xfail-POSIX2008/arpa/inet.h/conform): Likewise.
2344 (test-xfail-POSIX2008/fcntl.h/conform): Likewise.
2345 (test-xfail-POSIX2008/netdb.h/conform): Likewise.
2346 (test-xfail-POSIX2008/netinet/in.h/conform): Likewise.
2347 (test-xfail-POSIX2008/signal.h/conform): Likewise.
2348 (test-xfail-POSIX2008/stropts.h/conform): Likewise.
2349 (test-xfail-POSIX2008/sys/socket.h/conform): Likewise.
2350 (test-xfail-POSIX2008/sys/wait.h/conform): Likewise.
2351 (test-xfail-XOPEN2K8/arpa/inet.h/conform): Likewise.
2352 (test-xfail-XOPEN2K8/fcntl.h/conform): Likewise.
2353 (test-xfail-XOPEN2K8/limits.h/conform): Likewise.
2354 (test-xfail-XOPEN2K8/math.h/conform): Likewise.
2355 (test-xfail-XOPEN2K8/netdb.h/conform): Likewise.
2356 (test-xfail-XOPEN2K8/netinet/in.h/conform): Likewise.
2357 (test-xfail-XOPEN2K8/signal.h/conform): Likewise.
2358 (test-xfail-XOPEN2K8/stdio.h/conform): Likewise.
2359 (test-xfail-XOPEN2K8/stropts.h/conform): Likewise.
2360 (test-xfail-XOPEN2K8/sys/ipc.h/conform): Likewise.
2361 (test-xfail-XOPEN2K8/sys/msg.h/conform): Likewise.
2362 (test-xfail-XOPEN2K8/sys/select.h/conform): Likewise.
2363 (test-xfail-XOPEN2K8/sys/sem.h/conform): Likewise.
2364 (test-xfail-XOPEN2K8/sys/shm.h/conform): Likewise.
2365 (test-xfail-XOPEN2K8/sys/socket.h/conform): Likewise.
2366 (test-xfail-XOPEN2K8/sys/time.h/conform): Likewise.
2367 (test-xfail-XOPEN2K8/sys/wait.h/conform): Likewise.
2368 (test-xfail-XOPEN2K8/termios.h/conform): Likewise.
2369 (test-xfail-XOPEN2K8/tgmath.h/conform): Likewise.
2370 (test-xfail-XOPEN2K8/utmpx.h/conform): Likewise.
2371 (conformtest-cc-flags): Likewise.
2372 ($(conformtest-header-tests): New target.
2373 * conform/check-header-lists.sh: New file.
2374 * conform/run-conformtest.sh: Remove.
2376 * conform/conformtest.pl: Allow ' and \ in values given for
2378 * conform/data/semaphore.h-data [POSIX] (fcntl.h): Allow header
2380 [POSIX] (sys/types.h): Likewise.
2381 [POSIX2008 || XOPEN2K8] (sys/types.h): Don't allow header
2383 [POSIX || UNIX98 || XOPEN2K] (time.h): Don't allow header
2385 * conform/data/signal.h-data (SIGIO): Remove expectation.
2386 [XPG3] (SIGBUS): Do not expect.
2387 [POSIX || XPG3] (SIGPOLL): Likewise.
2388 [POSIX || XPG3] (SIGPROF): Likewise.
2389 [POSIX || XPG3] (SIGSYS): Likewise.
2390 [XPG3] (SIGTRAP): Likewise.
2391 [POSIX || XPG3] (SIGURG): Likewise.
2392 [POSIX || XPG3] (SIGVTALRM): Likewise.
2393 [POSIX || XPG3] (SIGXCPU): Likewise.
2394 [POSIX || XPG3] (SIGXFSZ): Likewise.
2395 [POSIX] (SA_SIGINFO): Expect.
2396 [XPG3] (siginfo_t): Do not expect type or contents.
2397 [POSIX] (si_pid): Do not expect element.
2398 [POSIX] (si_uid): Likewise.
2399 [POSIX] (si_addr): Likewise.
2400 [POSIX] (si_status): Likewise.
2401 [POSIX] (si_band): Likewise.
2402 [XPG4] (si_value): Likewise.
2403 [POSIX || XPG3] (ILL_ILLOPC): Do not expect.
2404 [POSIX || XPG3] (ILL_ILLOPN): Likewise.
2405 [POSIX || XPG3] (ILL_ILLADR): Likewise.
2406 [POSIX || XPG3] (ILL_ILLTRP): Likewise.
2407 [POSIX || XPG3] (ILL_PRVOPC): Likewise.
2408 [POSIX || XPG3] (ILL_PRVREG): Likewise.
2409 [POSIX || XPG3] (ILL_COPROC): Likewise.
2410 [POSIX || XPG3] (ILL_BADSTK): Likewise.
2411 [POSIX || XPG3] (FPE_INTDIV): Likewise.
2412 [POSIX || XPG3] (FPE_INTOVF): Likewise.
2413 [POSIX || XPG3] (FPE_FLTDIV): Likewise.
2414 [POSIX || XPG3] (FPE_FLTOVF): Likewise.
2415 [POSIX || XPG3] (FPE_FLTUND): Likewise.
2416 [POSIX || XPG3] (FPE_FLTRES): Likewise.
2417 [POSIX || XPG3] (FPE_FLTINV): Likewise.
2418 [POSIX || XPG3] (FPE_FLTSUB): Likewise.
2419 [POSIX || XPG3] (SEGV_MAPERR): Likewise.
2420 [POSIX || XPG3] (SEGV_ACCERR): Likewise.
2421 [POSIX || XPG3] (BUS_ADRALN): Likewise.
2422 [POSIX || XPG3] (BUS_ADRERR): Likewise.
2423 [POSIX || XPG3] (BUS_OBJERR): Likewise.
2424 [POSIX || XPG3] (CLD_EXITED): Likewise.
2425 [POSIX || XPG3] (CLD_KILLED): Likewise.
2426 [POSIX || XPG3] (CLD_DUMPED): Likewise.
2427 [POSIX || XPG3] (CLD_TRAPPED): Likewise.
2428 [POSIX || XPG3] (CLD_STOPPED): Likewise.
2429 [POSIX || XPG3] (CLD_CONTINUED): Likewise.
2430 [POSIX || XPG3] (POLL_IN): Likewise.
2431 [POSIX || XPG3] (POLL_OUT): Likewise.
2432 [POSIX || XPG3] (POLL_MSG): Likewise.
2433 [POSIX || XPG3] (POLL_ERR): Likewise.
2434 [POSIX || XPG3] (POLL_PRI): Likewise.
2435 [POSIX || XPG3] (POLL_HUP): Likewise.
2436 [POSIX || XPG3 || POSIX2008] (TRAP_BRKPT): Likewise.
2437 [POSIX || XPG3 || POSIX2008] (TRAP_TRACE): Likewise.
2438 (SIG*): Do not allow.
2439 [XPG3] (si_*): Likewise.
2440 [XPG3] (SI_*): Likewise.
2441 [XPG3 || XPG4] (sigev_*): Likewise.
2442 [XPG3 || XPG4] (SIGEV_*): Likewise.
2443 [XPG3 || XPG4] (sival_*): Likewise.
2444 [POSIX || XPG3 || XPG4] (uc_*): Likewise.
2445 [POSIX || XPG3] (BUS_*): Likewise.
2446 [POSIX || XPG3] (CLD_*): Likewise.
2447 [POSIX || XPG3] (FPE_*): Likewise.
2448 [POSIX || XPG3] (ILL_*): Likewise.
2449 [POSIX || XPG3] (POLL_*): Likewise.
2450 [POSIX || XPG3] (SEGV_*): Likewise.
2451 [POSIX || XPG3 || POSIX2008] (SS_*): Likewise.
2452 [POSIX || XPG3 || POSIX2008] (SV_*): Likewise.
2453 [POSIX || XPG3 || POSIX2008] (TRAP_*): Likewise.
2454 [POSIX || XPG3 || POSIX2008] (ss_*): Likewise.
2455 [POSIX || XPG3 || POSIX2008] (sv_*): Likewise.
2456 * conform/data/tar.h-data (TMAGLEN): Use macro-int-constant.
2457 Specify type and value.
2458 (TVERSLEN): Likewise.
2459 (REGTYPE): Likewise.
2460 (AREGTYPE): Likewise.
2461 (LNKTYPE): Likewise.
2462 (SYMTYPE): Likewise.
2463 (CHRTYPE): Likewise.
2464 (BLKTYPE): Likewise.
2465 (DIRTYPE): Likewise.
2466 (FIFOTYPE): Likewise.
2467 (CONTTYPE): Likewise.
2472 (TUWRITE): Likewise.
2475 (TGWRITE): Likewise.
2478 (TOWRITE): Likewise.
2480 [POSIX] (TSVTX): Expect constant.
2482 2014-03-06 Joseph Myers <joseph@codesourcery.com>
2484 * Makefile (tests): Change dependencies to ....
2485 (tests-special): ... additions to this variable.
2486 (tests): Depend on $(tests-special).
2487 * Makerules (check-abi-list): New variable.
2488 (check-abi): Depend on $(check-abi-list).
2489 [$(subdir) = elf] (tests-special): Add
2490 $(objpfx)check-abi-libc.out.
2491 [$(build-shared) = yes && subdir] (tests-special): Add
2493 [$(build-shared) = yes && subdir] (tests): Do not depend on
2495 * Rules (tests): Depend on $(tests-special).
2496 (xtests): Depend on $(xtests-special).
2497 * catgets/Makefile (tests): Change dependencies to ....
2498 (tests-special): ... additions to this variable.
2499 * conform/Makefile (tests): Change dependencies to ....
2500 (tests-special): ... additions to this variable.
2501 * elf/Makefile (tests): Change dependencies to ....
2502 (tests-special): ... additions to this variable.
2503 * grp/Makefile (tests): Change dependencies to ....
2504 (tests-special): ... additions to this variable.
2505 * iconv/Makefile (xtests): Change dependencies to ....
2506 (xtests-special): ... additions to this variable.
2507 * iconvdata/Makefile (tests): Change dependencies to ....
2508 (tests-special): ... additions to this variable.
2509 * intl/Makefile (tests): Change dependencies to ....
2510 (tests-special): ... additions to this variable. Also add
2511 $(objpfx)tst-gettext.out.
2512 * io/Makefile (tests): Change dependencies to ....
2513 (tests-special): ... additions to this variable.
2514 * libio/Makefile (tests): Change dependencies to ....
2515 (tests-special): ... additions to this variable.
2516 * malloc/Makefile (tests): Change dependencies to ....
2517 (tests-special): ... additions to this variable.
2518 * misc/Makefile (tests): Change dependencies to ....
2519 (tests-special): ... additions to this variable.
2520 * nptl/Makefile (tests): Change dependencies to ....
2521 (tests-special): ... additions to this variable.
2522 * nptl_db/Makefile (tests): Change dependencies to ....
2523 (tests-special): ... additions to this variable.
2524 * posix/Makefile (tests): Change dependencies to ....
2525 (tests-special): ... additions to this variable.
2526 (xtests): Change dependencies to ....
2527 (xtests-special): ... additions to this variable.
2528 * resolv/Makefile (tests): Change dependencies to ....
2529 (tests-special): ... additions to this variable.
2530 (xtests): Change dependencies to ....
2531 (xtests-special): ... additions to this variable.
2532 * stdio-common/Makefile (tests): Change dependencies to ....
2533 (tests-special): ... additions to this variable.
2534 (do-tst-unbputc): Remove target.
2535 (do-tst-printf): Likewise.
2536 * stdlib/Makefile (tests): Change dependencies to ....
2537 (tests-special): ... additions to this variable.
2538 * string/Makefile (tests): Change dependencies to ....
2539 (tests-special): ... additions to this variable.
2540 * sysdeps/x86/Makefile (tests): Change dependencies to ....
2541 (tests-special): ... additions to this variable.
2543 * conform/data/netinet/tcp.h-data [POSIX2008 || XOPEN2K8]: Enable
2545 * conform/data/sys/timeb.h-data [POSIX2008 || XOPEN2K8]: Disable
2547 * conform/data/sys/uio.h-data [POSIX2008]: Likewise.
2548 * conform/data/ucontext.h-data [POSIX2008 || XOPEN2K8]: Likewise.
2550 * conform/data/aio.h-data [XPG3 || XPG4]: Disable whole file.
2551 * conform/data/arpa/inet.h-data [XPG3]: Likewise.
2552 * conform/data/dlfcn.h-data [XPG3 || XPG4]: Likewise.
2553 * conform/data/fmtmsg.h-data [XPG3]: Likewise.
2554 * conform/data/libgen.h-data [XPG3]: Likewise.
2555 * conform/data/mqueue.h-data [XPG3 || XPG4]: Likewise.
2556 * conform/data/ndbm.h-data [XPG3]: Likewise.
2557 * conform/data/net/if.h-data [XPG3 || XPG4 || UNIX98]: Likewise.
2558 * conform/data/netdb.h-data [XPG3]: Likewise.
2559 * conform/data/netinet/in.h-data [XPG3]: Likewise.
2560 * conform/data/poll.h-data [XPG3]: Likewise.
2561 * conform/data/spawn.h-data [XPG3 || XPG4 || UNIX98]: Likewise.
2562 * conform/data/strings.h-data [XPG3]: Likewise.
2563 * conform/data/stropts.h-data [XPG3]: Likewise.
2564 * conform/data/sys/mman.h-data [XPG3]: Likewise.
2565 * conform/data/sys/resource.h-data [XPG3]: Likewise.
2566 * conform/data/sys/select.h-data [XPG3 || XPG4 || UNIX98]:
2568 * conform/data/sys/statvfs.h-data [XPG3]: Likewise.
2569 * conform/data/sys/time.h-data [XPG3]: Likewise.
2570 * conform/data/sys/timeb.h-data [XPG3]: Likewise.
2571 * conform/data/sys/uio.h-data [XPG3]: Likewise.
2572 * conform/data/sys/un.h-data [XPG3]: Likewise.
2573 * conform/data/syslog.h-data [XPG3]: Likewise.
2574 * conform/data/ucontext.h-data [XPG3]: Likewise.
2575 * conform/data/utmpx.h-data [XPG3]: Likewise.
2576 * conform/data/varargs.h-data [UNIX98]: Enable file.
2578 * manual/Makefile (INSTALL_INFO): Remove variable setting.
2580 * math/libm-test.inc (struct test_f_f_data): Move expected results
2581 into structure for each rounding mode.
2582 (struct test_ff_f_data): Likewise.
2583 (struct test_ff_f_data_nexttoward): Likewise.
2584 (struct test_fi_f_data): Likewise.
2585 (struct test_fl_f_data): Likewise.
2586 (struct test_if_f_data): Likewise.
2587 (struct test_fff_f_data): Likewise.
2588 (struct test_c_f_data): Likewise.
2589 (struct test_f_f1_data): Likewise.
2590 (struct test_fF_f1_data): Likewise.
2591 (struct test_ffI_f1_data): Likewise.
2592 (struct test_c_c_data): Likewise.
2593 (struct test_cc_c_data): Likewise.
2594 (struct test_f_i_data): Likewise.
2595 (struct test_ff_i_data): Likewise.
2596 (struct test_f_l_data): Likewise.
2597 (struct test_f_L_data): Likewise.
2598 (struct test_fFF_11_data): Likewise.
2600 (RM_FE_DOWNWARD): Likewise.
2601 (RM_FE_TONEAREST): Likewise.
2602 (RM_FE_TOWARDZERO): Likewise.
2603 (RM_FE_UPWARD): Likewise.
2604 (RUN_TEST_LOOP_f_f): Update references to expected results.
2605 (RUN_TEST_LOOP_2_f): Likewise.
2606 (RUN_TEST_LOOP_fff_f): Likewise.
2607 (RUN_TEST_LOOP_c_f): Likewise.
2608 (RUN_TEST_LOOP_f_f1): Likewise.
2609 (RUN_TEST_LOOP_fF_f1): Likewise.
2610 (RUN_TEST_LOOP_fI_f1): Likewise.
2611 (RUN_TEST_LOOP_ffI_f1): Likewise.
2612 (RUN_TEST_LOOP_c_c): Likewise.
2613 (RUN_TEST_LOOP_cc_c): Likewise.
2614 (RUN_TEST_LOOP_f_i): Likewise.
2615 (RUN_TEST_LOOP_f_i_tg): Likewise.
2616 (RUN_TEST_LOOP_ff_i_tg): Likewise.
2617 (RUN_TEST_LOOP_f_b): Likewise.
2618 (RUN_TEST_LOOP_f_b_tg): Likewise.
2619 (RUN_TEST_LOOP_f_l): Likewise.
2620 (RUN_TEST_LOOP_f_L): Likewise.
2621 (RUN_TEST_LOOP_fFF_11): Likewise.
2622 * math/gen-libm-test.pl (parse_args): Output four copies of
2623 expected results for each test.
2625 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
2626 (__ASSUME_UTIMES): Remove.
2627 * sysdeps/unix/sysv/linux/tile/kernel-features.h
2628 (__ASSUME_UTIMES): Likewise.
2630 * math/gen-auto-libm-tests.c: Update comment on output format.
2631 (output_for_one_input_case): Generate before-rounding and
2632 after-rounding information as conditions on output flags not
2633 floating-point format.
2634 * math/auto-libm-test-out: Regenerated.
2635 * math/gen-libm-test.pl (cond_value): New function.
2636 (or_cond_value): Use cond_value.
2637 (generate_testfile): Handle conditional exceptions.
2639 2014-03-05 Joseph Myers <joseph@codesourcery.com>
2641 * math/libm-test.inc (max_valid_error): New variable.
2642 (init_max_error): Take new argument specifying whether function
2643 results are exactly determined. Set max_valid_error and bound
2644 other variables for errors based on this argument.
2645 (set_max_error): Do not record results above max_valid_error.
2646 (check_float_internal): Only accept errors of up to 0.5ulps if
2647 also at most max_valid_error.
2648 (START): Take new argument EXACT and pass it to init_max_error.
2649 (acos_test): Update call to START.
2650 (acos_test_tonearest): Likewise.
2651 (acos_test_towardzero): Likewise.
2652 (acos_test_downward): Likewise.
2653 (acos_test_upward): Likewise.
2654 (acosh_test): Likewise.
2655 (asin_test): Likewise.
2656 (asin_test_tonearest): Likewise.
2657 (asin_test_towardzero): Likewise.
2658 (asin_test_downward): Likewise.
2659 (asin_test_upward): Likewise.
2660 (asinh_test): Likewise.
2661 (atan_test): Likewise.
2662 (atanh_test): Likewise.
2663 (atan2_test): Likewise.
2664 (cabs_test): Likewise.
2665 (cacos_test): Likewise.
2666 (cacosh_test): Likewise.
2667 (carg_test): Likewise.
2668 (casin_test): Likewise.
2669 (casinh_test): Likewise.
2670 (catan_test): Likewise.
2671 (catanh_test): Likewise.
2672 (cbrt_test): Likewise.
2673 (ccos_test): Likewise.
2674 (ccosh_test): Likewise.
2675 (ceil_test): Likewise.
2676 (cexp_test): Likewise.
2677 (cimag_test): Likewise.
2678 (clog_test): Likewise.
2679 (clog10_test): Likewise.
2680 (conj_test): Likewise.
2681 (copysign_test): Likewise.
2682 (cos_test): Likewise.
2683 (cos_test_tonearest): Likewise.
2684 (cos_test_towardzero): Likewise.
2685 (cos_test_downward): Likewise.
2686 (cos_test_upward): Likewise.
2687 (cosh_test): Likewise.
2688 (cosh_test_tonearest): Likewise.
2689 (cosh_test_towardzero): Likewise.
2690 (cosh_test_downward): Likewise.
2691 (cosh_test_upward): Likewise.
2692 (cpow_test): Likewise.
2693 (cproj_test): Likewise.
2694 (creal_test): Likewise.
2695 (csin_test): Likewise.
2696 (csinh_test): Likewise.
2697 (csqrt_test): Likewise.
2698 (ctan_test): Likewise.
2699 (ctan_test_tonearest): Likewise.
2700 (ctan_test_towardzero): Likewise.
2701 (ctan_test_downward): Likewise.
2702 (ctan_test_upward): Likewise.
2703 (ctanh_test): Likewise.
2704 (ctanh_test_tonearest): Likewise.
2705 (ctanh_test_towardzero): Likewise.
2706 (ctanh_test_downward): Likewise.
2707 (ctanh_test_upward): Likewise.
2708 (erf_test): Likewise.
2709 (erfc_test): Likewise.
2710 (exp_test): Likewise.
2711 (exp_test_tonearest): Likewise.
2712 (exp_test_towardzero): Likewise.
2713 (exp_test_downward): Likewise.
2714 (exp_test_upward): Likewise.
2715 (exp10_test): Likewise.
2716 (exp10_test_tonearest): Likewise.
2717 (exp10_test_towardzero): Likewise.
2718 (exp10_test_downward): Likewise.
2719 (exp10_test_upward): Likewise.
2720 (pow10_test): Likewise.
2721 (exp2_test): Likewise.
2722 (expm1_test): Likewise.
2723 (expm1_test_tonearest): Likewise.
2724 (expm1_test_towardzero): Likewise.
2725 (expm1_test_downward): Likewise.
2726 (expm1_test_upward): Likewise.
2727 (fabs_test): Likewise.
2728 (fdim_test): Likewise.
2729 (floor_test): Likewise.
2730 (fma_test): Likewise.
2731 (fma_test_towardzero): Likewise.
2732 (fma_test_downward): Likewise.
2733 (fma_test_upward): Likewise.
2734 (fmax_test): Likewise.
2735 (fmin_test): Likewise.
2736 (fmod_test): Likewise.
2737 (fpclassify_test): Likewise.
2738 (frexp_test): Likewise.
2739 (hypot_test): Likewise.
2740 (ilogb_test): Likewise.
2741 (isfinite_test): Likewise.
2742 (finite_test): Likewise.
2743 (isgreater_test): Likewise.
2744 (isgreaterequal_test): Likewise.
2745 (isinf_test): Likewise.
2746 (isless_test): Likewise.
2747 (islessequal_test): Likewise.
2748 (islessgreater_test): Likewise.
2749 (isnan_test): Likewise.
2750 (isnormal_test): Likewise.
2751 (issignaling_test): Likewise.
2752 (isunordered_test): Likewise.
2753 (j0_test): Likewise.
2754 (j1_test): Likewise.
2755 (jn_test): Likewise.
2756 (ldexp_test): Likewise.
2757 (lgamma_test): Likewise.
2758 (gamma_test): Likewise.
2759 (lrint_test): Likewise.
2760 (lrint_test_tonearest): Likewise.
2761 (lrint_test_towardzero): Likewise.
2762 (lrint_test_downward): Likewise.
2763 (lrint_test_upward): Likewise.
2764 (llrint_test): Likewise.
2765 (llrint_test_tonearest): Likewise.
2766 (llrint_test_towardzero): Likewise.
2767 (llrint_test_downward): Likewise.
2768 (llrint_test_upward): Likewise.
2769 (log_test): Likewise.
2770 (log10_test): Likewise.
2771 (log1p_test): Likewise.
2772 (log2_test): Likewise.
2773 (logb_test): Likewise.
2774 (logb_test_downward): Likewise.
2775 (lround_test): Likewise.
2776 (llround_test): Likewise.
2777 (modf_test): Likewise.
2778 (nearbyint_test): Likewise.
2779 (nextafter_test): Likewise.
2780 (nexttoward_test): Likewise.
2781 (pow_test): Likewise.
2782 (pow_test_tonearest): Likewise.
2783 (pow_test_towardzero): Likewise.
2784 (pow_test_downward): Likewise.
2785 (pow_test_upward): Likewise.
2786 (remainder_test): Likewise.
2787 (drem_test): Likewise.
2788 (remainder_test_tonearest): Likewise.
2789 (drem_test_tonearest): Likewise.
2790 (remainder_test_towardzero): Likewise.
2791 (drem_test_towardzero): Likewise.
2792 (remainder_test_downward): Likewise.
2793 (drem_test_downward): Likewise.
2794 (remainder_test_upward): Likewise.
2795 (drem_test_upward): Likewise.
2796 (remquo_test): Likewise.
2797 (rint_test): Likewise.
2798 (rint_test_tonearest): Likewise.
2799 (rint_test_towardzero): Likewise.
2800 (rint_test_downward): Likewise.
2801 (rint_test_upward): Likewise.
2802 (round_test): Likewise.
2803 (scalb_test): Likewise.
2804 (scalbn_test): Likewise.
2805 (scalbln_test): Likewise.
2806 (signbit_test): Likewise.
2807 (sin_test): Likewise.
2808 (sin_test_tonearest): Likewise.
2809 (sin_test_towardzero): Likewise.
2810 (sin_test_downward): Likewise.
2811 (sin_test_upward): Likewise.
2812 (sincos_test): Likewise.
2813 (sinh_test): Likewise.
2814 (sinh_test_tonearest): Likewise.
2815 (sinh_test_towardzero): Likewise.
2816 (sinh_test_downward): Likewise.
2817 (sinh_test_upward): Likewise.
2818 (sqrt_test): Likewise.
2819 (sqrt_test_tonearest): Likewise.
2820 (sqrt_test_towardzero): Likewise.
2821 (sqrt_test_downward): Likewise.
2822 (sqrt_test_upward): Likewise.
2823 (tan_test): Likewise.
2824 (tan_test_tonearest): Likewise.
2825 (tan_test_towardzero): Likewise.
2826 (tan_test_downward): Likewise.
2827 (tan_test_upward): Likewise.
2828 (tanh_test): Likewise.
2829 (tgamma_test): Likewise.
2830 (trunc_test): Likewise.
2831 (y0_test): Likewise.
2832 (y1_test): Likewise.
2833 (yn_test): Likewise.
2834 (significand_test): Likewise.
2836 * math/libm-test.inc (struct ulp_data): Don't refer to ulps for
2837 individual tests in comment.
2838 (libm-test-ulps.h): Don't refer to test_ulps in #include comment.
2839 (prev_max_error): New variable.
2840 (prev_real_max_error): Likewise.
2841 (prev_imag_max_error): Likewise.
2842 (compare_ulp_data): Don't refer to test names in comment.
2843 (find_test_ulps): Remove function.
2844 (find_function_ulps): Likewise.
2845 (find_complex_function_ulps): Likewise.
2846 (init_max_error): Take function name as argument. Look up ulps
2848 (print_ulps): Remove function.
2849 (print_max_error): Use prev_max_error instead of calling
2851 (print_complex_max_error): Use prev_real_max_error and
2852 prev_imag_max_error instead of calling find_complex_function_ulps.
2853 (check_float_internal): Take max_ulp parameter instead of calling
2854 find_test_ulps. Don't call print_ulps.
2855 (check_float): Update call to check_float_internal.
2856 (check_complex): Update calls to check_float_internal.
2857 (START): Pass argument to init_max_error.
2858 * math/gen-libm-test.pl (%results): Don't include "kind"
2860 (parse_ulps): Don't handle ulps of individual tests.
2861 (print_ulps_file): Likewise.
2862 (output_ulps): Likewise.
2863 * math/README.libm-test: Update.
2864 * manual/libm-err-tab.pl (parse_ulps): Don't handle ulps of
2866 * sysdeps/aarch64/libm-test-ulps: Remove individual test ulps.
2867 * sysdeps/alpha/fpu/libm-test-ulps: Likewise.
2868 * sysdeps/arm/libm-test-ulps: Likewise.
2869 * sysdeps/i386/fpu/libm-test-ulps: Likewise.
2870 * sysdeps/ia64/fpu/libm-test-ulps: Likewise.
2871 * sysdeps/m68k/coldfire/fpu/libm-test-ulps: Likewise.
2872 * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Likewise.
2873 * sysdeps/microblaze/libm-test-ulps: Likewise.
2874 * sysdeps/mips/mips32/libm-test-ulps: Likewise.
2875 * sysdeps/mips/mips64/libm-test-ulps: Likewise.
2876 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
2877 * sysdeps/powerpc/nofpu/libm-test-ulps: Likewise.
2878 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
2879 * sysdeps/sh/libm-test-ulps: Likewise.
2880 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
2881 * sysdeps/tile/libm-test-ulps: Likewise.
2882 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2884 2014-03-04 Joseph Myers <joseph@codesourcery.com>
2886 * math/libm-test.inc (print_complex_max_error): Check separately
2887 whether real and imaginary errors are within allowed range and
2888 pass 0 to print_complex_function_ulps instead of value within
2891 2014-03-04 Siddhesh Poyarekar <siddhesh@redhat.com>
2893 * libio/tst-ftell-active-handler.c (get_handles_fdopen): Fix
2895 (get_handles_fopen): Likewise.
2896 (do_write_test): Likewise.
2898 * libio/wfileops.c (do_ftell_wide): Fix up formatting.
2900 * libio/fileops.c (do_ftell): Use cached offset when
2902 * libio/iofwide.c (do_ftell_wide): Likewise.
2903 * libio/iofdopen.c (_IO_new_fdopen): Don't use
2905 * libio/wfileops.c (_IO_fwide): Don't cache offset.
2908 * libio/libioP.h (get_file_offset): New function.
2909 * libio/fileops.c (get_file_offset): Likewise.
2910 (do_ftell): Likewise.
2911 (_IO_new_file_seekoff): Split out ftell logic.
2912 * libio/wfileops.c (do_ftell_wide): Likewise.
2913 (_IO_wfile_seekoff): Split out ftell logic.
2914 * libio/tst-ftell-active-handler.c: New test case.
2915 * libio/Makefile (tests): Add it.
2917 2014-03-03 Roland McGrath <roland@hack.frob.com>
2919 * nptl/ChangeLog: Renamed to nptl/ChangeLog.old, no longer used.
2920 * nptl_db/ChangeLog: Renamed to nptl_db/ChangeLog.old, no longer used.
2922 2014-03-03 Siddhesh Poyarekar <siddhesh@redhat.com>
2925 * nscd/connections.c (nscd_init): Call do_exit.
2926 (start_threads): Call do_exit and notify_parent.
2927 (begin_drop_privileges): Call do_exit.
2928 (finish_drop_privileges): Likewise.
2929 * nscd/selinux.c (preserve_capabilities): Likewise.
2930 (install_real_capabilities): Likewise.
2931 (nscd_selinux_enabled): Likewise.
2932 (avc_create_thread): Likewise.
2933 (avc_alloc_lock): Likewise.
2934 (nscd_avc_init): Likewise.
2935 * nscd/nscd.c (parent_fd): New static variable.
2936 (main): Create a pipe between parent and child processes.
2937 Skip closing parent_fd.
2938 (monitor_child): New function.
2939 (do_exit): Likewise.
2940 (notify_parent): Likewise.
2941 * nscd/nscd.h (notify_parent): Likewise.
2942 (do_exit): Likewise.
2944 2014-03-03 Carlos O'Donell <carlos@redhat.com>
2946 * malloc/malloc.c (__libc_calloc): Revert last change.
2948 2014-03-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2950 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
2952 2014-03-03 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
2954 * sysdeps/powerpc/powerpc64/power7/strrchr.S: New file.
2955 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strrchr multiarch
2957 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
2958 (__libc_ifunc_impl_list): Likewise.
2959 * sysdeps/powerpc/powerpc64/multiarch/strrchr.c: New file.
2960 * sysdeps/powerpc/powerpc64/multiarch/strrchr-ppc64.c: New file.
2961 * sysdeps/powerpc/powerpc64/multiarch/strrchr-power7.S: New file.
2962 * string/strrchr.c: Define STRRCHR.
2964 2014-02-28 Ondřej Bílka <neleai@seznam.cz>
2966 * benchtest/bench-strtok.c (simple_strtok): Delete.
2967 (strtok_string): Use as benchmark.
2968 * string/strtok (STRTOK): New macro.
2970 2014-02-28 Carlos O'Donell <carlos@redhat.com>
2972 * manual/threads.texi: Add header and standard comments to all
2975 * elf/dl-lookup.c (check_match): New function.
2976 (ELF_MACHINE_SYM_NO_MATCH): Adjust comment.
2977 (do_lookup_x): Remove nested function check_match. Use non-nested
2978 function check_match.
2980 2014-02-28 Roland McGrath <roland@hack.frob.com>
2982 * csu/Makefile (generated, before-compile): Use += rather than =.
2983 * catgets/Makefile (generated, generated-dirs): Likewise.
2984 * debug/Makefile (generated): Likewise.
2985 * dlfcn/Makefile (generated): Likewise.
2986 * elf/Makefile (before-compile, generated, generated-dirs): Likewise.
2987 * iconvdata/Makefile (before-compile, generated): Likewise.
2988 * intl/Makefile (before-compile, generated, generated-dirs): Likewise.
2989 * libio/Makefile (generated): Likewise.
2990 * malloc/Makefile (generated): Likewise.
2991 * manual/Makefile (generated, generated-dirs): Likewise.
2992 * misc/Makefile (generated): Likewise.
2993 * posix/Makefile (generated): Likewise.
2994 * resolv/Makefile (generated): Likewise.
2995 * sunrpc/Makefile (generated, generated-dirs): Likewise.
2996 * timezone/Makefile (generated, generated-dirs): Likewise.
2998 * stdio-common/Versions (libc: GLIBC_PRIVATE): Add missing }.
3000 2014-02-27 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3002 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llround
3003 power8 implementation.
3004 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power8.S: New
3005 file: POWER8 llround ifunc implementation.
3006 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c
3007 (__lllround): Add POWER8 implementation.
3008 * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S: New file:
3009 POWER8 llround implementation.
3011 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llrint
3012 power8 implementation.
3013 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power8.S: New
3014 file: POWER8 llrint ifunc implementation.
3015 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint.c (__lllrint):
3016 Add POWER8 implementation.
3017 * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S: New file:
3018 POWER8 llrint implementation.
3020 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add finite
3021 power8 implementation.
3022 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power8.S: New
3023 file: POWER8 finite ifunc implementation.
3024 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c (__finite):
3025 Add POWER8 implementation.
3026 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef.c (__finitef):
3028 * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S: New file:
3029 POWER8 finite implementation.
3030 * sysdeps/powerpc/powerpc64/power8/fpu/s_finitef.S: New file.
3032 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isinf
3033 power8 implementation.
3034 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power8.S: New
3035 file: POWER8 isinf ifunc implementation.
3036 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c (__isinf): Add
3037 POWER8 implementation.
3038 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff.c (__isinff):
3040 * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S: New file: POWER8
3041 isinf implementation.
3042 * sysdeps/powerpc/powerpc64/power8/fpu/s_isinff.S: New file.
3044 * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h
3045 (INIT_ARCH): Add hwcap2 initialization.
3046 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isnan
3047 power8 implementation.
3048 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power8.S: New
3049 file: POWER8 isnan ifunc implementation.
3050 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c (__isnan): Add
3051 POWER8 implementation.
3052 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnanf.c (__isnanf):
3054 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S: New file: POWER8
3055 isnan implementation.
3056 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnanf.S: New file.
3058 2014-02-27 Joey Ye <joey.ye@arm.com>
3060 * sysdeps/arm/soft-fp/sfp-machine.h (_FP_NANFRAC_S, _FP_NANFRAC_D)
3061 (_FP_NANFRAC_Q): Set to zero.
3063 2014-02-27 Siddhesh Poyarekar <siddhesh@redhat.com>
3066 * math/auto-libm-test-in: New test inputs.
3067 * math/auto-libm-test-out: Regenerate.
3068 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Preserve sign of A
3071 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
3073 2014-02-27 Joseph Myers <joseph@codesourcery.com>
3075 * scripts/evaluate-test.sh: Take new argument indicating whether
3076 failure is expected.
3077 * Makeconfig (evaluate-test): Pass argument to evaluate-test.sh
3078 indicating whether failure is expected.
3079 * conform/Makefile (test-xfail-run-conformtest): New variable.
3080 ($(objpfx)run-conformtest.out): Don't expect to fail at makefile
3082 * posix/Makefile (test-xfail-annexc): New variable.
3083 ($(objpfx)annexc.out): Don't expect to fail at makefile level.
3085 2014-02-26 Joseph Myers <joseph@codesourcery.com>
3087 * argp/Makefile: Include Makeconfig immediately after defining
3089 * assert/Makefile: Likewise.
3090 * benchtests/Makefile: Likewise.
3091 * catgets/Makefile: Likewise.
3092 * conform/Makefile: Likewise.
3093 * crypt/Makefile: Likewise.
3094 * csu/Makefile: Likewise.
3095 (all): Remove target.
3096 * ctype/Makefile: Include Makeconfig immediately after defining
3098 * debug/Makefile: Likewise.
3099 * dirent/Makefile: Likewise.
3100 * dlfcn/Makefile: Likewise.
3101 * gmon/Makefile: Likewise.
3102 * gnulib/Makefile: Likewise.
3103 * grp/Makefile: Likewise.
3104 * gshadow/Makefile: Likewise.
3105 * hesiod/Makefile: Likewise.
3106 * hurd/Makefile: Likewise.
3107 (all): Remove target.
3108 * iconvdata/Makefile: Include Makeconfig immediately after
3110 * inet/Makefile: Likewise.
3111 * intl/Makefile: Likewise.
3112 * io/Makefile: Likewise.
3113 * libio/Makefile: Likewise.
3114 (all): Remove target.
3115 * locale/Makefile: Include Makeconfig immediately after defining
3117 * login/Makefile: Likewise.
3118 * mach/Makefile: Likewise.
3119 (all): Remove target.
3120 * malloc/Makefile: Include Makeconfig immediately after defining
3122 (all): Remove target.
3123 * manual/Makefile: Include Makeconfig immediately after defining
3125 * math/Makefile: Likewise.
3126 * misc/Makefile: Likewise.
3127 * nis/Makefile: Likewise.
3128 * nss/Makefile: Likewise.
3129 * po/Makefile: Likewise.
3130 (all): Remove target.
3131 * posix/Makefile: Include Makeconfig immediately after defining
3133 * pwd/Makefile: Likewise.
3134 * resolv/Makefile: Likewise.
3135 * resource/Makefile: Likewise.
3136 * rt/Makefile: Likewise.
3137 * setjmp/Makefile: Likewise.
3138 * shadow/Makefile: Likewise.
3139 * signal/Makefile: Likewise.
3140 * socket/Makefile: Likewise.
3141 * soft-fp/Makefile: Likewise.
3142 * stdio-common/Makefile: Likewise.
3143 * stdlib/Makefile: Likewise.
3144 * streams/Makefile: Likewise.
3145 * string/Makefile: Likewise.
3146 * sunrpc/Makefile: Likewise.
3147 (all): Remove target.
3148 * sysvipc/Makefile: Include Makeconfig immediately after defining
3150 * termios/Makefile: Likewise.
3151 * time/Makefile: Likewise.
3152 * timezone/Makefile: Likewise.
3153 (all): Remove target.
3154 * wcsmbs/Makefile: Include Makeconfig immediately after defining
3156 * wctype/Makefile: Likewise.
3158 2014-02-26 Steve Ellcey <sellcey@mips.com>
3160 * sysdeps/mips/math_private.h (_FPU_MASK_ALL) New.
3161 (libc_feholdexcept_mips): Use _FPU_MASK_ALL.
3162 (libc_feholdexcept_setround_mips): Ditto.
3163 (libc_feholdsetround): New.
3164 (libc_feholdsetroundf): New.
3165 (libc_feholdsetroundl): New.
3166 (libc_feupdateenv_test_mips): New.
3167 (libc_feupdateenv_test): New.
3168 (libc_feupdateenv_testf): New.
3169 (libc_feupdateenv_testl): New.
3170 (libc_feresetround): New.
3171 (libc_feresetroundf): New.
3172 (libc_feresetroundl): New.
3173 (libc_fetestexcept_mips): New.
3174 (libc_fetestexcept): New.
3175 (libc_fetestexceptf): New.
3176 (libc_fetestexceptl): New.
3178 (libc_feholdexcept_setround_mips_ctx): New.
3179 (libc_feholdexcept_setround_ctx): New.
3180 (libc_feholdexcept_setroundf_ctx): New.
3181 (libc_feholdexcept_setroundl_ctx): New.
3182 (libc_fesetenv_mips_ctx): New.
3183 (libc_fesetenv_ctx): New.
3184 (libc_fesetenv_ctxf): New.
3185 (libc_fesetenv_ctxl): New.
3186 (libc_feupdateenv_mips_ctx): New.
3187 (libc_feupdateenv_ctx): New.
3188 (libc_feupdateenvf_ctx): New.
3189 (libc_feupdateenvl_ctx): New.
3190 (libc_feholdsetround_mips_ctx): New.
3191 (libc_feholdsetround_ctx): New.
3192 (libc_feholdsetroundf_ctx): New.
3193 (libc_feholdsetroundl_ctx): New.
3194 (libc_feresetround_mips_ctx): New.
3195 (libc_feresetround_ctx): New.
3196 (libc_feresetroundf_ctx): New.
3197 (libc_feresetroundl_ctx): New.
3199 2014-02-26 Carlos O'Donell <carlos@redhat.com>
3201 * manual/ipc.texi (Semaphores): Use @Theglibc{}.
3203 * manual/ipc.texi: New file.
3204 * manual/Makefile (chapters): Add ipc.
3205 * manual/job.texi: Add "Inter-Process Communication" to next.
3206 * manual/process.texi: Add "Inter-Process Communication" to prev.
3208 2014-02-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3210 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
3212 2014-02-26 Ondřej Bílka <neleai@seznam.cz>
3214 * malloc/malloc.c (__libc_calloc): Simplify implementation.
3216 * manual/arith.texi: Fix spaces after sentences.
3217 * manual/charset.texi: Likewise.
3218 * manual/errno.texi: Likewise.
3219 * manual/install.texi: Likewise.
3220 * manual/llio.texi: Likewise.
3221 * manual/locale.texi: Likewise.
3222 * manual/maint.texi: Likewise.
3223 * manual/math.texi: Likewise.
3224 * manual/memory.texi: Likewise.
3225 * manual/message.texi: Likewise.
3226 * manual/probes.texi: Likewise.
3227 * manual/resource.texi: Likewise.
3228 * manual/signal.texi: Likewise.
3229 * manual/socket.texi: Likewise.
3230 * manual/stdio.texi: Likewise.
3231 * manual/string.texi: Likewise.
3232 * manual/time.texi: Likewise.
3233 * manual/users.texi: Likewise.
3235 2014-02-25 Carlos O'Donell <carlos@redhat.com>
3238 * include/features.h: Don't warn about _BSD_SOURCE or _SVID_SOURCE if
3239 _DEFAULT_SOURCE is defined.
3241 2014-02-25 Ulrich Drepper <drepper@gmail.com>
3242 Carlos O'Donell <carlos@redhat.com>
3245 * elf/dl-tls.c (_dl_count_modids): New function.
3246 * sysdeps/generic/ldsodefs.h: Declare _dl_count_modids.
3247 * elf/rtld.c (dl_main): Call _dl_count_modids to track TLS usage in
3248 audit library and increment generation counter.
3249 (_dl_allocate_tls_init): Add assertion to check TLS generation count.
3250 * elf/tst-audit9.c: New file.
3251 * elf/tst-auditmod9a.c: New file.
3252 * elf/tst-auditmod9b.c: New file.
3253 * elf/Makefile: Add rules to build and run tst-audit9.
3255 2014-02-25 Florian Weimer <fweimer@redhat.com>
3258 * misc/sys/select.h (__FD_MASK): Avoid signed integer overflow.
3260 2014-02-25 Will Newton <will.newton@linaro.org>
3262 * sysdeps/arm/__longjmp.S: Include stap-probe.h.
3263 (__longjmp): Restore sp and lr before restoring callee
3264 saved registers. Add longjmp and longjmp_target
3265 SystemTap probe point.
3266 * sysdeps/arm/bits/setjmp.h (__jmp_buf): Update comment.
3267 * sysdeps/arm/include/bits/setjmp.h (__JMP_BUF_SP):
3268 Define to zero to match jmpbuf layout.
3269 * sysdeps/arm/setjmp.S: Include stap-probe.h.
3270 (__sigsetjmp): Save sp and lr before saving callee
3271 saved registers. Add setjmp SystemTap probe point.
3273 2014-02-24 Stefan Liebler <stli@linux.vnet.ibm.com>
3275 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
3277 2014-02-24 Andreas Schwab <schwab@suse.de>
3280 * elf/pldd.c (wait_for_ptrace_stop): New function.
3281 (main): Call it after attaching.
3283 2014-02-22 Roland McGrath <roland@hack.frob.com>
3285 * Makerules ($(common-objpfx)Versions.v.i): No longer depend
3286 on $(common-objpfx)abi-versions.h; using <shlib-compat.h> inside
3287 Versions files is now verboten.
3288 * hurd/Versions (libc: GLIBC_2.0):
3289 Remove various [SHLIB_COMPAT (libc, GLIBC_2_0, ...)] sections.
3290 (libc: HURD_CTHREADS_0.3): Remove conditionalization, was under
3291 [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_2)].
3292 * mach/Versions: Likewise.
3294 * csu/Versions: Remove unused %include.
3295 * resolv/Versions: Likewise.
3297 2014-02-21 Joseph Myers <joseph@codesourcery.com>
3299 * Makefile ($(objpfx)c++-types-check.out): Use $(evaluate-test).
3300 ($(objpfx)check-local-headers.out): Likewise.
3301 ($(objpfx)begin-end-check.out): Likewise.
3302 * Makerules (check-abi-%.out): Likewise.
3303 * catgets/Makefile ($(objpfx)test1.cat): Likewise.
3304 ($(objpfx)test2.cat): Likewise.
3305 ($(objpfx)de/libc.cat): Likewise.
3306 ($(objpfx)test-gencat.out): Likewise.
3307 * conform/Makefile ($(objpfx)run-conformtest.out): Likewise.
3308 * elf/Makefile ($(objpfx)order-cmp.out): Likewise.
3309 ($(objpfx)noload-mem): Likewise.
3310 ($(objpfx)tst-pathopt.out): Likewise.
3311 ($(objpfx)tst-rtld-load-self.out): Likewise.
3312 ($(objpfx)tst-array1-cmp.out): Likewise.
3313 ($(objpfx)tst-array1-static-cmp.out): Likewise.
3314 ($(objpfx)tst-array2-cmp.out): Likewise.
3315 ($(objpfx)tst-array3-cmp.out): Likewise.
3316 ($(objpfx)tst-array4-cmp.out): Likewise.
3317 ($(objpfx)tst-array5-cmp.out): Likewise.
3318 ($(objpfx)tst-array5-static-cmp.out): Likewise.
3319 ($(objpfx)check-textrel.out): Likewise.
3320 ($(objpfx)check-execstack.out): Likewise.
3321 ($(objpfx)check-localplt.out): Likewise.
3322 ($(objpfx)order2-cmp.out): Likewise.
3323 ($(objpfx)tst-leaks1-mem): Likewise.
3324 ($(objpfx)tst-leaks1-static-mem): Likewise.
3325 ($(objpfx)tst-initorder-cmp.out): Likewise.
3326 ($(objpfx)tst-initorder2-cmp.out): Likewise.
3327 ($(objpfx)tst-unused-dep.out): Likewise.
3328 ($(objpfx)tst-unused-dep-cmp.out): Likewise.
3329 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Likewise.
3330 * iconv/Makefile (test-iconvconfig): Likewise.
3331 * iconvdata/Makefile ($(objpfx)mtrace-tst-loading): Likewise.
3332 ($(objpfx)iconv-test.out): Likewise.
3333 ($(objpfx)tst-tables.out): Likewise.
3334 * intl/Makefile ($(objpfx)mtrace-tst-gettext): Likewise.
3335 ($(objpfx)tst-gettext.out): Likewise.
3336 ($(objpfx)tst-translit.out): Likewise.
3337 ($(objpfx)tst-gettext2.out): Likewise.
3338 ($(objpfx)tst-gettext4.out): Likewise.
3339 ($(objpfx)tst-gettext6.out): Likewise.
3340 * io/Makefile ($(objpfx)ftwtest.out): Likewise.
3341 * libio/Makefile ($(objpfx)test-freopen.out): Likewise.
3342 ($(objpfx)tst-fopenloc-cmp.out): Likewise.
3343 ($(objpfx)tst-fopenloc-mem.out): Likewise.
3344 * malloc/Makefile ($(objpfx)tst-mtrace.out): Likewise.
3345 * misc/Makefile ($(objpfx)tst-error1-mem): Likewise.
3346 * posix/Makefile ($(objpfx)globtest.out): Likewise.
3347 ($(objpfx)wordexp-tst.out): Likewise.
3348 ($(objpfx)annexc.out): Likewise.
3349 ($(objpfx)tst-fnmatch-mem): Likewise.
3350 ($(objpfx)bug-regex2-mem): Likewise.
3351 ($(objpfx)bug-regex14-mem): Likewise.
3352 ($(objpfx)bug-regex21-mem): Likewise.
3353 ($(objpfx)bug-regex31-mem): Likewise.
3354 ($(objpfx)tst-vfork3-mem): Likewise.
3355 ($(objpfx)tst-rxspencer-no-utf8-mem): Likewise.
3356 ($(objpfx)tst-pcre-mem): Likewise.
3357 ($(objpfx)tst-boost-mem): Likewise.
3358 ($(objpfx)tst-getconf.out): Likewise.
3359 ($(objpfx)bug-ga2-mem): Likewise.
3360 ($(objpfx)bug-glob2-mem): Likewise.
3361 * resolv/Makefile ($(objpfx)mtrace-tst-leaks): Likewise.
3362 ($(objpfx)mtrace-tst-leaks2): Likewise.
3363 * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Likewise.
3364 ($(objpfx)tst-printf.out): Likewise.
3365 ($(objpfx)tst-setvbuf1.out): Likewise.
3366 ($(objpfx)tst-setvbuf1-cmp.out): Likewise.
3367 * stdlib/Makefile ($(objpfx)isomac.out): Likewise.
3368 ($(objpfx)tst-fmtmsg.out): Likewise.
3369 * string/Makefile ($(objpfx)tst-svc-cmp.out): Likewise.
3370 * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Likewise.
3372 * bits/fcntl.h [__USE_MISC]: Remove redundant conditionals.
3373 * bits/sigaction.h [__USE_MISC]: Likewise.
3374 * bits/waitstatus.h: Update #endif comments.
3375 * ctype/ctype.h: Likewise.
3376 * dirent/dirent.h: Likewise.
3377 [__USE_MISC]: Remove redundant conditionals.
3378 * grp/grp.h: Update #endif comments.
3379 [__USE_GNU]: Remove redundant conditionals.
3380 [__USE_MISC]: Likewise.
3381 * inet/netinet/in.h [__USE_GNU]: Likewise.
3382 * io/sys/stat.h [__USE_MISC]: Likewise.
3383 * libio/bits/stdio-ldbl.h [__USE_MISC]: Likewise.
3384 * libio/bits/stdio.h: Update #endif comments.
3385 [__USE_MISC]: Remove redundant conditionals.
3386 * libio/bits/stdio2.h [__USE_MISC]: Likewise.
3387 * libio/stdio.h: Update #endif comments.
3388 [__USE_MISC]: Remove redundant conditionals.
3389 * math/bits/math-finite.h [__USE_MISC]: Likewise.
3390 * math/bits/mathcalls.h [__USE_MISC]: Likewise.
3391 * math/math.h: Update #else and #endif comments.
3392 [__USE_MISC]: Remove redundant conditionals.
3393 * misc/sys/uio.h: Update #endif comments.
3394 * posix/bits/unistd.h [__USE_MISC]: Remove redundant conditionals.
3395 * posix/glob.h [__USE_MISC]: Likewise.
3396 * posix/sys/types.h: Update #endif comments.
3397 [__USE_MISC]: Remove redundant conditionals.
3398 * posix/sys/wait.h: Update #endif comments.
3399 [__USE_MISC]: Remove redundant conditionals.
3400 * posix/unistd.h: Update #endif comments.
3401 [__USE_MISC]: Remove redundant conditionals.
3402 * pwd/pwd.h [__USE_GNU]: Likewise.
3403 [__USE_MISC]: Likewise.
3404 * resolv/netdb.h [__USE_GNU]: Likewise.
3405 * signal/signal.h: Update #endif comments.
3406 [__USE_MISC]: Remove redundant conditionals.
3407 * stdlib/stdlib.h: Update #else and #endif comments.
3408 [__USE_MISC]: Remove redundant conditionals.
3409 [__USE_GNU]: Likewise.
3410 * string/bits/string2.h [__USE_MISC]: Likewise.
3411 * string/string.h: Update #endif comments.
3412 [__USE_MISC]: Remove redundant conditionals.
3413 * sysdeps/m68k/m680x0/fpu/bits/mathinline.h [__USE_MISC]:
3415 * sysdeps/mach/hurd/bits/fcntl.h [__USE_MISC]: Likewise.
3416 * sysdeps/mach/hurd/bits/stat.h [__USE_MISC]: Likewise.
3417 * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h [__USE_MISC]:
3419 * sysdeps/unix/sysv/linux/alpha/bits/stat.h [__USE_MISC]:
3421 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: Update #endif
3423 [__USE_MISC]: Remove redundant conditionals.
3424 * sysdeps/unix/sysv/linux/bits/in.h [__USE_GNU]: Likewise.
3425 * sysdeps/unix/sysv/linux/bits/sigaction.h [__USE_MISC]: Likewise.
3426 * sysdeps/unix/sysv/linux/bits/socket.h [__USE_GNU]: Likewise.
3427 * sysdeps/unix/sysv/linux/bits/stat.h [__USE_MISC]: Likewise.
3428 * sysdeps/unix/sysv/linux/ia64/bits/sigaction.h [__USE_MISC]:
3430 * sysdeps/unix/sysv/linux/m68k/bits/stat.h [__USE_MISC]: Likewise.
3431 * sysdeps/unix/sysv/linux/mips/bits/sigaction.h [__USE_MISC]:
3433 * sysdeps/unix/sysv/linux/mips/bits/stat.h [__USE_MISC]: Likewise.
3434 * sysdeps/unix/sysv/linux/powerpc/bits/stat.h [__USE_MISC]:
3436 * sysdeps/unix/sysv/linux/s390/bits/sigaction.h [__USE_MISC]:
3438 * sysdeps/unix/sysv/linux/s390/bits/stat.h [__USE_MISC]: Likewise.
3439 * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h [__USE_MISC]:
3441 * sysdeps/unix/sysv/linux/sparc/bits/stat.h [__USE_MISC]:
3443 * sysdeps/unix/sysv/linux/x86/bits/stat.h [__USE_MISC]: Likewise.
3444 * sysdeps/x86/bits/string.h: Update #endif comments.
3445 * sysdeps/x86/fpu/bits/mathinline.h [__USE_MISC]: Remove redundant
3447 * time/sys/time.h: Update #endif comments.
3448 * time/time.h: Likewise.
3449 [__USE_MISC]: Remove redundant conditionals.
3451 2014-02-21 Yury Gribov <y.gribov@samsung.com>
3454 * sysdeps/arm/libm-test-ulps: Update for VFPv4.
3456 2014-02-21 Andreas Schwab <schwab@linux-m68k.org>
3458 * Versions.def (librt): Add GLIBC_2.17.
3460 2014-02-21 Adam Conrad <adconrad@0c3.net>
3462 * sysdeps/powerpc/bits/hwcap.h: Allow _SYSDEPS_SYSDEP_H guard as a
3463 synonym for _SYS_AUXV_H to allow direct inclusion.
3464 * sysdeps/sparc/bits/hwcap.h: Likewise.
3465 * sysdeps/powerpc/sysdep.h: Define _SYSDEPS_SYSDEP_H instead of
3466 _SYS_AUXV_H so we can include sysdep.h and sys/auxv.h together.
3467 * sysdeps/sparc/sysdep.h: Likewise.
3469 2014-02-21 Siddhesh Poyarekar <siddhesh@redhat.com>
3471 * benchtests/bench-strrchr.c (do_test): Fix minor formatting.
3473 2014-02-21 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
3475 * benchtests/bench-strrchr.c: Print length instead of position.
3477 2014-02-20 Joseph Myers <joseph@codesourcery.com>
3480 * sysdeps/unix/sysv/linux/kernel-features.h
3481 [__LINUX_KERNEL_VERSION >= 0x030000 && __ASSUME_SOCKETCALL]
3482 (__ASSUME_SENDMMSG_SOCKETCALL): Define.
3483 [__LINUX_KERNEL_VERSION >= 0x030000 && (__i386__ || __x86_64__ ||
3484 __powerpc__ || __sh__ || __sparc__)] (__ASSUME_SENDMMSG_SYSCALL):
3486 [__i386__ || __powerpc__ || __sh__ || __sparc__]
3487 (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
3488 [__ASSUME_SENDMMSG_SOCKETCALL || __ASSUME_SENDMMSG_SYSCALL]
3489 (__ASSUME_SENDMMSG): Define instead of using previous
3490 [__LINUX_KERNEL_VERSION >= 0x020627] condition.
3491 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
3492 (__ASSUME_SENDMMSG_SYSCALL): Define.
3493 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
3494 [__LINUX_KERNEL_VERSION >= 0x030200] (__ASSUME_SENDMMSG_SYSCALL):
3496 * sysdeps/unix/sysv/linux/arm/kernel-features.h
3497 [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
3499 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
3500 [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
3502 * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SOCKETCALL
3503 && !__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL &&
3504 !__ASSUME_SENDMMSG_SYSCALL] (__NR_sendmmsg): Undefine.
3505 [__ASSUME_SENDMMSG]: Change conditionals to
3506 [__ASSUME_SENDMMSG_SOCKETCALL].
3507 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
3508 [__LINUX_KERNEL_VERSION >= 0x030300] (__ASSUME_SENDMMSG_SYSCALL):
3510 * sysdeps/unix/sysv/linux/mips/kernel-features.h
3511 [__LINUX_KERNEL_VERSION >= 0x030100] (__ASSUME_SENDMMSG_SYSCALL):
3513 * sysdeps/unix/sysv/linux/sendmmsg.c [__ASSUME_SOCKETCALL &&
3514 !__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL &&
3515 !__ASSUME_SENDMMSG_SYSCALL] (__NR_sendmmsg): Undefine.
3516 [!__ASSUME_SENDMMSG]: Change conditional to
3517 [!__ASSUME_SENDMMSG_SOCKETCALL].
3518 * sysdeps/unix/sysv/linux/tile/kernel-features.h
3519 [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
3523 * sysdeps/unix/sysv/linux/kernel-features.h
3524 [__LINUX_KERNEL_VERSION >= 0x020621 && __ASSUME_SOCKETCALL]
3525 (__ASSUME_RECVMMSG_SOCKETCALL): Define.
3526 [(__LINUX_KERNEL_VERSION >= 0x020621 && (__i386__ || __x86_64__ ||
3527 __sparc__)) || (__LINUX_KERNEL_VERSION >= 0x020625 && (__powerpc__
3528 || __sh__))] (__ASSUME_RECVMMSG_SYSCALL): Likewise.
3529 [__i386__ || __sparc__]
3530 (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
3531 [__ASSUME_RECVMMSG_SOCKETCALL || __ASSUME_RECVMMSG_SYSCALL]
3532 (__ASSUME_RECVMMSG): Define instead of using previous
3533 [__LINUX_KERNEL_VERSION >= 0x020621] condition.
3534 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
3535 (__ASSUME_RECVMMSG_SYSCALL): Define.
3536 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
3537 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
3539 * sysdeps/unix/sysv/linux/arm/kernel-features.h
3540 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
3542 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
3543 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
3545 * sysdeps/unix/sysv/linux/internal_recvmmsg.S [__ASSUME_SOCKETCALL
3546 && !__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL &&
3547 !__ASSUME_RECVMMSG_SYSCALL] (__NR_recvmmsg): Undefine.
3548 [__ASSUME_RECVMMSG]: Change condition to
3549 [__ASSUME_RECVMMSG_SOCKETCALL].
3550 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
3551 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
3553 (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
3554 * sysdeps/unix/sysv/linux/mips/kernel-features.h
3555 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
3557 * sysdeps/unix/sysv/linux/recvmmsg.c [__ASSUME_SOCKETCALL &&
3558 !__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL &&
3559 !__ASSUME_RECVMMSG_SYSCALL] (__NR_recvmmsg): Undefine.
3560 [!__ASSUME_RECVMMSG]: Change condition to
3561 [!__ASSUME_RECVMMSG_SOCKETCALL].
3562 * sysdeps/unix/sysv/linux/tile/kernel-features.h
3563 (__ASSUME_RECVMMSG_SYSCALL): Define.
3566 * sysdeps/unix/sysv/linux/kernel-features.h [__i386__ ||
3567 __powerpc__ || __s390__ || __sh__ || __sparc__]
3568 (__ASSUME_SOCKETCALL): Define.
3569 [__LINUX_KERNEL_VERSION && __ASSUME_SOCKETCALL]
3570 (__ASSUME_ACCEPT4_SOCKETCALL): Likewise.
3571 [(__LINUX_KERNEL_VERSION >= 0x02061c && (__x86_64__ || __sparc__))
3572 || (__LINUX_KERNEL_VERSION >= 0x020625 && (__powerpc__ ||
3573 __sh__))] (__ASSUME_ACCEPT4_SYSCALL): Likewise.
3574 [__sparc__] (__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL): Likewise.
3575 [__ASSUME_ACCEPT4_SOCKETCALL || __ASSUME_ACCEPT4_SYSCALL]
3576 (__ASSUME_ACCEPT4): Define instead of using previous
3577 [__LINUX_KERNEL_VERSION >= 0x02061c && (__i386__ || __x86_64__ ||
3578 __powerpc__ || __sparc__ || __s390__)] condition.
3579 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
3580 (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.
3581 * sysdeps/unix/sysv/linux/accept4.c [__ASSUME_SOCKETCALL &&
3582 !__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL &&
3583 !__ASSUME_ACCEPT4_SYSCALL] (__NR_accept4): Undefine.
3584 [!__ASSUME_ACCEPT4]: Change condition to
3585 [!__ASSUME_ACCEPT4_SOCKETCALL].
3586 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
3587 (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL. Correct
3588 condition to [__LINUX_KERNEL_VERSION >= 0x030200].
3589 * sysdeps/unix/sysv/linux/arm/kernel-features.h
3590 [__LINUX_KERNEL_VERSION >= 0x020624] (__ASSUME_ACCEPT4): Change to
3591 __ASSUME_ACCEPT4_SYSCALL.
3592 * sysdeps/unix/sysv/linux/i386/accept4.S [__ASSUME_ACCEPT4]:
3593 Change conditions to [__ASSUME_ACCEPT4_SOCKETCALL].
3594 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
3595 [__LINUX_KERNEL_VERSION >= 0x030300] (__ASSUME_ACCEPT4): Change to
3596 __ASSUME_ACCEPT4_SYSCALL.
3597 * sysdeps/unix/sysv/linux/internal_accept4.S [__ASSUME_SOCKETCALL
3598 && !__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL &&
3599 !__ASSUME_ACCEPT4_SYSCALL] (__NR_accept4): Undefine.
3600 [__ASSUME_ACCEPT4]: Change condition to
3601 [__ASSUME_ACCEPT4_SOCKETCALL].
3602 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
3603 (__ASSUME_SOCKETCALL): Define.
3604 [__LINUX_KERNEL_VERSION >= 0x02061c] (__ASSUME_ACCEPT4): Remove.
3605 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
3606 (__ASSUME_SOCKETCALL): Define.
3607 (__ASSUME_ACCEPT4): Remove.
3608 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_ACCEPT4_SYSCALL):
3610 * sysdeps/unix/sysv/linux/mips/kernel-features.h
3611 [__LINUX_KERNEL_VERSION >= 0x02061f] (__ASSUME_ACCEPT4_SYSCALL):
3613 * sysdeps/unix/sysv/linux/tile/kernel-features.h
3614 (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.
3616 * sysdeps/unix/sysv/linux/arm/bits/hwcap.h (HWCAP_ARM_VFPD32): New
3618 (HWCAP_ARM_LPAE): Likewise.
3619 (HWCAP_ARM_EVTSTRM): Likewise.
3620 * sysdeps/unix/sysv/linux/arm/dl-procinfo.c (_dl_arm_cap_flags):
3621 Add vpfd32, lpae and evtstrm.
3622 * sysdeps/unix/sysv/linux/arm/dl-procinfo.h (_DL_HWCAP_COUNT):
3625 2014-02-19 Joseph Myers <joseph@codesourcery.com>
3627 * math/auto-libm-test-in: Add tests of clog10.
3628 * math/auto-libm-test-out: Regenerated.
3629 * math/libm-test.inc (clog10_test_data): Use AUTO_TESTS_c_c.
3630 * sysdeps/i386/fpu/libm-test-ulps: Update.
3631 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3633 2014-02-18 Andreas Schwab <schwab@suse.de>
3636 * resolv/res_send.c (send_vc): Add parameter ansp2_malloced.
3637 Store non-zero if the second buffer was newly allocated.
3638 (send_dg): Likewise.
3639 (__libc_res_nsend): Add parameter ansp2_malloced and pass it down
3640 to send_vc and send_dg.
3641 (res_nsend): Pass NULL for ansp2_malloced.
3642 * resolv/res_query.c (__libc_res_nquery): Add parameter
3643 answerp2_malloced and pass it down to __libc_res_nsend.
3644 (res_nquery): Pass additional NULL to __libc_res_nquery.
3645 (__libc_res_nsearch): Add parameter answerp2_malloced and pass it
3646 down to __libc_res_nquery and __libc_res_nquerydomain. Deallocate
3647 second answer buffer if answerp2_malloced was set.
3648 (res_nsearch): Pass additional NULL to __libc_res_nsearch.
3649 (__libc_res_nquerydomain): Add parameter
3650 answerp2_malloced and pass it down to __libc_res_nquery.
3651 (res_nquerydomain): Pass additional NULL to
3652 __libc_res_nquerydomain.
3653 * resolv/nss_dns/dns-network.c (_nss_dns_getnetbyname_r): Pass
3654 additional NULL to __libc_res_nsend and __libc_res_nquery.
3655 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Pass
3656 additional NULL to __libc_res_nsearch.
3657 (_nss_dns_gethostbyname4_r): Revert last change. Use new
3658 parameter of __libc_res_nsearch to check for separately allocated
3660 (_nss_dns_gethostbyaddr2_r): Pass additional NULL to
3662 * resolv/nss_dns/dns-canon.c (_nss_dns_getcanonname_r): Pass
3663 additional NULL to __libc_res_nquery.
3664 * resolv/gethnamaddr.c (gethostbyname2): Pass additional NULL to
3666 (gethostbyaddr): Pass additional NULL to __libc_res_nquery.
3667 * include/resolv.h: Update prototypes of __libc_res_nquery,
3668 __libc_res_nsearch, __libc_res_nsend.
3670 2014-02-18 Joseph Myers <joseph@codesourcery.com>
3672 * math/auto-libm-test-in: Add tests of fma.
3673 * math/auto-libm-test-out: Regenerated.
3674 * math/libm-test.inc (fma_test_data): Use AUTO_TESTS_fff_f.
3675 (fma_towardzero_test_data): Likewise.
3676 (fma_downward_test_data): Likewise.
3677 (fma_upward_test_data): Likewise.
3678 * math/gen-auto-libm-tests.c (rounding_mode_desc): Add field
3680 (rounding_modes): Add values for new field.
3681 (func_calc_method): Add value mpfr_fff_f.
3682 (func_calc_desc): Add mpfr_fff_f union field.
3683 (test_function): Add field exact_args.
3684 (FUNC): Add macro argument EXACT_ARGS.
3685 (FUNC_mpfr_f_f): Update call to FUNC.
3686 (FUNC_mpfr_f_f): Likewise.
3687 (FUNC_mpfr_ff_f): Likewise.
3688 (FUNC_mpfr_if_f): Likewise.
3689 (FUNC_mpc_c_f): Likewise.
3690 (FUNC_mpc_c_c): Likewise.
3691 (test_functions): Add fma. Update calls to FUNC.
3692 (handle_input_arg): Add argument exact_args.
3693 (add_test): Update call to handle_input_arg.
3694 (calc_generic_results): Add argument mode. Handle mpfr_fff_f.
3695 (output_for_one_input_case): Update call to calc_generic_results.
3696 Recalculate exact zero results in each rounding mode.
3698 * math/gen-auto-libm-tests.c (adjust_real): Ensure integers are
3699 non-negative before setting low bit.
3700 * math/auto-libm-test-in: Mark one asin test possibly having
3702 * math/auto-libm-test-out: Regenerated.
3703 * sysdeps/i386/fpu/libm-test-ulps: Update.
3704 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3706 2014-02-17 David Holsgrove <david.holsgrove@xilinx.com>
3708 * sysdeps/microblaze: Move directory from ports/sysdeps/microblaze.
3709 * sysdeps/unix/sysv/linux/microblaze: Move directory from
3710 ports/sysdeps/unix/sysv/linux/microblaze.
3711 * README: Add missing listing for microblaze*-*-linux-gnu.
3713 2014-02-16 Mike Frysinger <vapier@gentoo.org>
3715 * sysdeps/ia64: Move directory from ports/sysdeps/ia64.
3716 * sysdeps/unix/sysv/linux/ia64: Move directory from
3717 ports/sysdeps/unix/sysv/linux/ia64.
3718 * README: Update listing for ia64-*-linux-gnu.
3720 2014-02-14 Tomas Dohnalek <tdohnale@redhat.com>
3721 Joseph Myers <joseph@codesourcery.com>
3723 * Makeconfig (test-name): New variable.
3724 (evaluate-test): Likewise.
3725 * Makerules (do-test-clean): Remove .test-result files.
3726 (common-mostlyclean): Likewise.
3727 * Rules ($(objpfx)%.out): Use $(evaluate-test) in both rules.
3728 * scripts/evaluate-test.sh: New file.
3730 2014-02-14 Joseph Myers <joseph@codesourcery.com>
3732 * libio/Makefile ($(objpfx)tst-fopenloc.check): Split into
3733 separate $(objpfx)tst-fopenloc-cmp.out and
3734 $(objpfx)tst-fopenloc-mem.out targets.
3735 (tests): Update dependencies.
3736 * posix/Makefile (tests variable): Add tst-rxspencer-no-utf8.
3737 (generated): Change tst-rxspencer-mem and tst-rxspencer.mtrace to
3738 tst-rxspencer-no-utf8-mem and tst-rxspencer-no-utf8.mtrace.
3739 (tst-rxspencer-no-utf8-ARGS): New variable.
3740 (tst-rxspencer-no-utf8-ENV): Likewise.
3741 (tests target): Depend on $(objpfx)tst-rxspencer-no-utf8-mem
3742 instead of $(objpfx)tst-rxspencer-mem.
3743 ($(objpfx)tst-rxspencer-mem): Change target to
3744 $(objpfx)tst-rxspencer-no-utf8-mem. Depend on
3745 $(objpfx)tst-rxspencer-no-utf8.out instead of running test program.
3746 * posix/tst-rxspencer-no-utf8.c: New file.
3748 * elf/Makefile ($(objpfx)order.out): Remove rule.
3749 [$(run-built-tests) = yes] (tests): Depend on
3750 $(objpfx)order-cmp.out.
3751 ($(objpfx)order-cmp.out): New rule.
3752 [$(run-built-tests) = yes] (tests): Depend on
3753 $(objpfx)tst-array1-cmp.out, $(objpfx)tst-array1-static-cmp.out,
3754 $(objpfx)tst-array2-cmp.out, $(objpfx)tst-array3-cmp.out,
3755 $(objpfx)tst-array4-cmp.out, $(objpfx)tst-array5-cmp.out and
3756 $(objpfx)tst-array5-static-cmp.out.
3757 ($(objpfx)tst-array1.out): Remove rule.
3758 ($(objpfx)tst-array1-cmp.out): New rule.
3759 ($(objpfx)tst-array1-static.out): Remove rule.
3760 ($(objpfx)tst-array1-static-cmp.out): New rule.
3761 ($(objpfx)tst-array2.out): Remove rule.
3762 ($(objpfx)tst-array2-cmp.out): New rule.
3763 ($(objpfx)tst-array3.out): Remove rule.
3764 ($(objpfx)tst-array3-cmp.out): New rule.
3765 ($(objpfx)tst-array4.out): Remove rule.
3766 ($(objpfx)tst-array4-cmp.out): New rule.
3767 ($(objpfx)tst-array5.out): Remove rule.
3768 ($(objpfx)tst-array5-cmp.out): New rule.
3769 ($(objpfx)tst-array5-static.out): Remove rule.
3770 ($(objpfx)tst-array5-static-cmp.out): New rule.
3771 [$(run-built-tests) = yes] (tests): Depend on
3772 $(objpfx)order2-cmp.out.
3773 ($(objpfx)order2.out): Remove rule.
3774 ($(objpfx)order2-cmp.out): New rule.
3775 ($(objpfx)tst-initorder.out): Remove rule.
3776 [$(run-built-tests) = yes] (tests): Depend on
3777 $(objpfx)tst-initorder-cmp.out.
3778 ($(objpfx)tst-initorder-cmp.out): New rule.
3779 ($(objpfx)tst-initorder2.out): Remove rule.
3780 [$(run-built-tests) = yes] (tests): Depend on
3781 $(objpfx)tst-initorder2-cmp.out.
3782 ($(objpfx)tst-initorder2-cmp.out): New rule.
3783 [$(run-built-tests) = yes] (tests): Depend on
3784 $(objpfx)tst-unused-dep-cmp.out.
3785 ($(objpfx)tst-unused-dep-cmp.out): Do not run cmp.
3786 ($(objpfx)tst-unused-dep-cmp.out): New rule.
3787 * stdio-common/Makefile [$(run-built-tests) = yes] (tests): Depend
3788 on $(objpfx)tst-setvbuf1-cmp.out.
3789 ($(objpfx)tst-setvbuf1.out): Do not run cmp.
3790 ($(objpfx)tst-setvbuf1-cmp.out): New rule.
3791 * string/Makefile [$(run-built-tests) = yes] (tests): Depend
3792 $(objpfx)tst-svc-cmp.out instead of $(objpfx)tst-svc.out.
3793 ($(objpfx)tst-svc.out): Remove rule.
3794 ($(objpfx)tst-svc-cmp.out): New rule.
3796 2014-02-13 Joseph Myers <joseph@codesourcery.com>
3798 * bits/mman.h [__USE_MISC]: Remove redundant conditionals.
3799 * ctype/ctype.h [__USE_MISC]: Likewise.
3800 * dirent/dirent.h [__USE_MISC]: Likewise.
3801 * grp/grp.h [__USE_MISC]: Likewise.
3802 * io/fcntl.h [__USE_MISC]: Likewise.
3803 * io/sys/stat.h [__USE_MISC]: Likewise.
3804 * libio/stdio.h [__USE_MISC]: Likewise.
3805 * posix/unistd.h [__USE_MISC]: Likewise.
3806 * pwd/pwd.h [__USE_MISC]: Likewise.
3807 * stdlib.h [__USE_MISC]: Likewise.
3808 * string/bits/string2.h [__USE_MISC]: Likewise.
3809 * string/string.h [__USE_MISC]: Likewise.
3810 * time/time.h [__USE_MISC]: Likewise.
3812 2014-02-13 Andreas Schwab <schwab@suse.de>
3815 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname4_r): Free the
3816 second answer buffer if it was separately allocated.
3818 2014-02-12 Joseph Myers <joseph@codesourcery.com>
3820 * sysdeps/mips/math-tests.h: Include <features.h>.
3821 [!__mips_soft_float && _MIPS_SIM != _ABIO32 && __GNUC_PREREQ (4, 9)]
3822 (ROUNDING_TESTS_long_double): Do not define.
3823 [!__mips_soft_float && _MIPS_SIM != _ABIO32 && __GNUC_PREREQ (4, 9)]
3824 (EXCEPTION_TESTS_long_double): Likewise.
3825 * sysdeps/mips/mips64/libm-test-ulps: Update.
3827 * include/features.h (__USE_BSD): Remove macro definitions.
3828 (__USE_SVID): Likewise.
3829 (_BSD_SOURCE): Likewise.
3830 (_SVID_SOURCE): Likewise.
3831 [!defined _BSD_SOURCE && !defined _SVID_SOURCE]: Remove condition
3832 from definition of _DEFAULT_SOURCE.
3833 [_BSD_SOURCE || _SVID_SOURCE]: Change condition to
3835 * bits/fcntl.h [__USE_BSD]: Change condition to [__USE_MISC].
3836 * bits/mman.h [__USE_BSD]: Likewise.
3837 * bits/termios.h [__USE_BSD]: Likewise.
3838 * bits/waitstatus.h [__USE_BSD]: Likewise.
3839 * ctype/ctype.h [__USE_SVID]: Likewise.
3840 * dirent/dirent.h [__USE_BSD]: Likewise.
3841 * grp/grp.h [__USE_SVID]: Likewise.
3842 [__USE_BSD]: Likewise.
3843 * inet/netinet/igmp.h [__USE_BSD]: Likewise.
3844 * io/fcntl.h [__USE_BSD]: Likewise.
3845 * io/ftw.h [__USE_BSD]: Likewise.
3846 * io/sys/stat.h [__USE_BSD]: Likewise.
3847 * libio/bits/stdio-ldbl.h [__USE_BSD]: Likewise.
3848 * libio/bits/stdio2.h [__USE_BSD]: Likewise.
3849 * libio/stdio.h [__USE_SVID]: Likewise.
3850 [__USE_BSD]: Likewise.
3851 * math/math.h [__USE_SVID]: Likewise.
3852 [__USE_BSD]: Likewise.
3853 * misc/bits/syslog-ldbl.h [__USE_BSD]: Likewise.
3854 * misc/bits/syslog.h [__USE_BSD]: Likewise.
3855 * misc/search.h [__USE_SVID]: Likewise.
3856 * misc/sys/mman.h [__USE_BSD]: Likewise.
3857 * misc/sys/syslog.h [__USE_BSD]: Likewise.
3858 * misc/sys/uio.h [__USE_BSD]: Likewise.
3859 * posix/bits/unistd.h [__USE_BSD]: Likewise.
3860 * posix/glob.h [__USE_BSD]: Likewise.
3861 * posix/regex.h [__USE_BSD]: Likewise.
3862 * posix/sys/types.h [__USE_BSD]: Likewise.
3863 [__USE_SVID]: Likewise.
3864 * posix/sys/utsname.h [__USE_SVID]: Likewise.
3865 * posix/sys/wait.h [__USE_BSD]: Likewise.
3866 [__USE_SVID]: Likewise.
3867 * posix/unistd.h [__USE_BSD]: Likewise.
3868 [__USE_SVID]: Likewise.
3869 * pwd/pwd.h [__USE_SVID]: Likewise.
3870 * resolv/netdb.h [__USE_BSD]: Likewise.
3871 * setjmp/setjmp.h [__USE_BSD]: Likewise.
3872 * signal/signal.h [__USE_BSD]: Likewise.
3873 [__USE_SVID]: Likewise.
3874 * socket/sys/socket.h [__USE_BSD]: Likewise.
3875 * stdlib/fmtmsg.h [__USE_SVID]: Likewise.
3876 * stdlib/stdlib.h [__USE_BSD]: Likewise.
3877 [__USE_SVID]: Likewise.
3878 * string/bits/string2.h [__USE_BSD]: Likewise.
3879 [__USE_SVID]: Likewise.
3880 * string/bits/string3.h [__USE_BSD]: Likewise.
3881 * string/endian.h [__USE_BSD]: Likewise.
3882 * string/string.h [__USE_SVID]: Likewise.
3883 [__USE_BSD]: Likewise.
3884 * string/strings.h [__USE_BSD]: Likewise.
3885 * sysdeps/generic/netinet/ip.h [__USE_BSD]: Likewise.
3886 * sysdeps/gnu/netinet/ip_icmp.h [__USE_BSD]: Likewise.
3887 * sysdeps/mach/hurd/bits/fcntl.h [__USE_BSD]: Likewise.
3888 * sysdeps/mach/hurd/bits/stat.h [__USE_BSD]: Likewise.
3889 * sysdeps/unix/sysv/linux/alpha/bits/mman.h [__USE_BSD]: Likewise.
3890 * sysdeps/unix/sysv/linux/alpha/bits/termios.h [__USE_BSD]:
3892 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_BSD]:
3894 * sysdeps/unix/sysv/linux/bits/mman-linux.h [__USE_BSD]: Likewise.
3895 * sysdeps/unix/sysv/linux/bits/sys_errlist.h [__USE_BSD]:
3897 * sysdeps/unix/sysv/linux/bits/termios.h [__USE_BSD]: Likewise.
3898 * sysdeps/unix/sysv/linux/mips/bits/termios.h [__USE_BSD]:
3900 * sysdeps/unix/sysv/linux/netinet/if_ether.h [__USE_BSD]:
3902 * sysdeps/unix/sysv/linux/netinet/if_fddi.h [__USE_BSD]: Likewise.
3903 * sysdeps/unix/sysv/linux/netinet/if_tr.h [__USE_BSD]: Likewise.
3904 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h [__USE_BSD]:
3906 * sysdeps/unix/sysv/linux/sparc/bits/termios.h [__USE_BSD]:
3908 * sysdeps/x86/bits/string.h [__USE_BSD]: Likewise.
3909 * sysvipc/sys/ipc.h [__USE_SVID]: Likewise.
3910 * termios/termios.h [__USE_BSD]: Likewise.
3911 * time/sys/time.h [__USE_BSD]: Likewise.
3912 * time/time.h [__USE_BSD]: Likewise.
3913 [__USE_SVID]: Likewise.
3915 * Makefile (subdir_targets): Remove subdir_lint.out.
3917 * stdio-common/Makefile (do-tst-unbputc): Remove target.
3918 (do-tst-printf): Likewise.
3919 (tests): Depend directly on $(objpfx)tst-unbputc.out and
3920 $(objpfx)tst-printf.out.
3922 * io/ftwtest-sh (testout): Change to $tmp/ftwtest-tmp.out.
3924 * Makerules (check-abi-%): Change target to
3925 $(objpfx)check-abi-%.out.
3926 (check-abi target): Update dependencies.
3927 (check-abi-pattern variable): Redirect output of diff to $@.
3928 (check-abi variable): Likewise.
3929 * elf/Makefile (check-abi): Update dependencies.
3931 * soft-fp/op-common.h (_FP_DECL): Mark exponent as possibly
3933 (_FP_PACK_SEMIRAW): Determine tininess based on rounding shifted
3934 value if _FP_TININESS_AFTER_ROUNDING and unrounded value is in
3936 (_FP_PACK_CANONICAL): Determine tininess based on rounding to
3937 normal precision if _FP_TININESS_AFTER_ROUNDING and unrounded
3938 value has largest subnormal exponent.
3939 * soft-fp/soft-fp.h [FP_NO_EXCEPTIONS]
3940 (_FP_TININESS_AFTER_ROUNDING): Undefine and redefine to 0.
3941 * sysdeps/aarch64/soft-fp/sfp-machine.h
3942 (_FP_TININESS_AFTER_ROUNDING): New macro.
3943 * sysdeps/alpha/soft-fp/sfp-machine.h
3944 (_FP_TININESS_AFTER_ROUNDING): Likewise.
3945 * sysdeps/arm/soft-fp/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
3947 * sysdeps/mips/mips64/soft-fp/sfp-machine.h
3948 (_FP_TININESS_AFTER_ROUNDING): Likewise.
3949 * sysdeps/mips/soft-fp/sfp-machine.h
3950 (_FP_TININESS_AFTER_ROUNDING): Likewise.
3951 * sysdeps/powerpc/soft-fp/sfp-machine.h
3952 (_FP_TININESS_AFTER_ROUNDING): Likewise.
3953 * sysdeps/sh/soft-fp/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
3955 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
3956 (_FP_TININESS_AFTER_ROUNDING): Likewise.
3957 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
3958 (_FP_TININESS_AFTER_ROUNDING): Likewise.
3959 * sysdeps/tile/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
3962 2014-02-12 Dylan Alex Simon <dylan@dylex.net>
3965 * sysdeps/x86_64/fpu/libm-test-ulps: Update on AMD family 21h
3968 2014-02-12 Richard Henderson <rth@redhat.com>
3970 * sysdeps/alpha: Move directory from ports/sysdeps/alpha.
3971 * sysdeps/unix/alpha: Move directory from ports/sysdeps/unix/alpha.
3972 * sysdeps/unix/sysv/linux/alpha: Move directory from
3973 ports/sysdeps/unix/sysv/linux/alpha.
3974 * README: Update listing for alpha-*-linux-gnu.
3976 2014-02-11 Joseph Myers <joseph@codesourcery.com>
3978 * include/features.h: Update comment documenting feature test
3980 [_BSD_SOURCE || _SVID_SOURCE]: Give #warning. Define
3982 * manual/creature.texi (_BSD_SOURCE): Remove documentation.
3983 (_SVID_SOURCE): Likewise.
3984 (_DEFAULT_SOURCE): Update description of default features.
3985 (Feature Test Macros): Don't mention _SVID_SOURCE in conjunction
3987 * manual/filesys.texi (__ftw_func_t): Do not refer to _BSD_SOURCE.
3988 (S_ISVTX): Likewise.
3989 * manual/math.texi (Mathematical Constants): Likewise.
3990 * manual/signal.texi (Interrupted Primitives): Likewise.
3991 * manual/startup.texi (putenv): Do not refer to _SVID_SOURCE.
3992 * math/test-matherr.c (_SVID_SOURCE): Do not define.
3993 * sysvipc/sys/ipc.h [__USE_SVID && !__USE_XOPEN && __GNUC__ >= 2]:
3994 Don't refer to _SVID_SOURCE in warning text.
3996 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
3998 * elf/dl-lookup.c (ELF_MACHINE_SYM_NO_MATCH): Define if not
4000 (do_lookup_x): Use ELF_MACHINE_SYM_NO_MATCH.
4001 * sysdeps/mips/dl-lookup.c: Remove.
4002 * sysdeps/mips/dl-machine.h (ELF_MACHINE_SYM_NO_MATCH): New macro.
4004 2014-02-11 Stefan Liebler <stli@linux.vnet.ibm.com>
4007 * math/auto-libm-test-in: Add testcase for expl.
4008 * math/auto-libm-test-out: Regenerate.
4009 * sysdeps/ieee754/ldbl-128/e_expl.c (__ieee754_expl): Fix
4010 calculation of unsafe.
4011 * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for added testcase.
4013 2014-02-11 Marcus Shawcroft <marcus.shawcroft@arm.com>
4015 * sysdeps/aarch64: Move directory from ports/sysdeps/aarch64.
4016 * sysdeps/unix/sysv/linux/aarch64: Move directory from
4017 ports/sysdeps/unix/sysv/linux/aarch64.
4018 * README: Update listing for aarch64*-*-linux-gnu.
4020 2014-02-11 Will Newton <will.newton@linaro.org>
4022 * manual/probes.texi (Mathematical Function Probes): Use
4023 "triggered" instead of "hit".
4025 * manual/probes.texi (Internal Probes): Add documentation
4026 of setjmp, longjmp and longjmp_target probes.
4028 * include/stap-probe.h: Add comment about probe argument
4031 * malloc/mtrace.c (attribute_hidden): Remove unused macro
4032 definition. (tr_where, tr_freehook, tr_mallochook,
4033 tr_reallochook, tr_memalignhook): Use ANSI protoype.
4035 2014-02-11 David S. Miller <davem@davemloft.net>
4037 * stdio-common/tst-sscanf.c (main): Use 'long' for 'dummy' when
4038 processing int_tests.
4040 2014-02-10 Joseph Myers <joseph@codesourcery.com>
4042 * sysdeps/mips: Move directory from ports/sysdeps/mips.
4043 * sysdeps/unix/mips: Move directory from ports/sysdeps/unix/mips.
4044 * sysdeps/unix/sysv/linux/mips: Move directory from
4045 ports/sysdeps/unix/sysv/linux/mips.
4046 * README: Update listing for mips-*-linux-gnu and
4049 2014-02-10 Andreas Schwab <schwab@linux-m68k.org>
4051 * sysdeps/m68k: Move directory from ports/sysdeps/m68k.
4052 * sysdeps/unix/sysv/linux/m68k: Move directory from
4053 ports/sysdeps/unix/sysv/linux/m68k.
4054 * README: Update listing for m68k-*-linux-gnu.
4056 2014-02-10 Chris Metcalf <cmetcalf@tilera.com>
4058 * sysdeps/tile: Move directory from ports/sysdeps/tile.
4059 * sysdeps/unix/sysv/linux/generic: Move directory from
4060 ports/sysdeps/unix/sysv/linux/generic.
4061 * sysdeps/unix/sysv/linux/tile: Move directory from
4062 ports/sysdeps/unix/sysv/linux/tile.
4063 * README: Update listing for tile*-*-linux-gnu.
4065 2014-02-10 Ondřej Bílka <neleai@seznam.cz>
4067 * assert/assert.c (__assert_fail_base): Use glibc_likely instead
4069 * benchtests/bench-memmem.c (simple_memmem): Likewise.
4070 * catgets/open_catalog.c (__open_catalog): Likewise.
4071 * csu/libc-start.c (LIBC_START_MAIN): Likewise.
4072 * debug/confstr_chk.c: Likewise.
4073 * debug/fread_chk.c (__fread_chk): Likewise.
4074 * debug/fread_u_chk.c (__fread_unlocked_chk): Likewise.
4075 * debug/getgroups_chk.c: Likewise.
4076 * debug/mbsnrtowcs_chk.c: Likewise.
4077 * debug/mbsrtowcs_chk.c: Likewise.
4078 * debug/mbstowcs_chk.c: Likewise.
4079 * debug/memcpy_chk.c: Likewise.
4080 * debug/memmove_chk.c: Likewise.
4081 * debug/mempcpy_chk.c: Likewise.
4082 * debug/memset_chk.c: Likewise.
4083 * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
4084 * debug/strcat_chk.c (__strcat_chk): Likewise.
4085 * debug/strcpy_chk.c (__strcpy_chk): Likewise.
4086 * debug/strncat_chk.c (__strncat_chk): Likewise.
4087 * debug/vsnprintf_chk.c (___vsnprintf_chk): Likewise.
4088 * debug/vswprintf_chk.c (__vswprintf_chk): Likewise.
4089 * debug/wcpcpy_chk.c (__wcpcpy_chk): Likewise.
4090 * debug/wcpncpy_chk.c: Likewise.
4091 * debug/wcscat_chk.c (__wcscat_chk): Likewise.
4092 * debug/wcscpy_chk.c (__wcscpy_chk): Likewise.
4093 * debug/wcsncat_chk.c (__wcsncat_chk): Likewise.
4094 * debug/wcsncpy_chk.c: Likewise.
4095 * debug/wcsnrtombs_chk.c: Likewise.
4096 * debug/wcsrtombs_chk.c: Likewise.
4097 * debug/wcstombs_chk.c: Likewise.
4098 * debug/wmemcpy_chk.c: Likewise.
4099 * debug/wmemmove_chk.c: Likewise.
4100 * debug/wmempcpy_chk.c: Likewise.
4101 * debug/wmemset_chk.c: Likewise.
4102 * dirent/scandirat.c (SCANDIRAT): Likewise.
4103 * dlfcn/dladdr1.c (dladdr1): Likewise.
4104 * dlfcn/dladdr.c (dladdr): Likewise.
4105 * dlfcn/dlclose.c (dlclose_doit): Likewise.
4106 * dlfcn/dlerror.c (__dlerror): Likewise.
4107 * dlfcn/dlinfo.c (dlinfo_doit): Likewise.
4108 * dlfcn/dlmopen.c (dlmopen_doit): Likewise.
4109 * dlfcn/dlopen.c (dlopen_doit): Likewise.
4110 * dlfcn/dlopenold.c (__dlopen_nocheck): Likewise.
4111 * dlfcn/dlsym.c (dlsym_doit): Likewise.
4112 * dlfcn/dlvsym.c (dlvsym_doit): Likewise.
4113 * elf/dl-cache.c (_dl_load_cache_lookup): Likewise.
4114 * elf/dl-close.c (remove_slotinfo, _dl_close_worker, _dl_close):
4116 * elf/dl-conflict.c: Likewise.
4117 * elf/dl-deps.c (_dl_build_local_scope, _dl_map_object_deps): Likewise.
4118 * elf/dl-dst.h: Likewise.
4119 * elf/dl-fini.c (_dl_sort_fini, _dl_fini): Likewise.
4120 * elf/dl-fptr.c (_dl_make_fptr): Likewise.
4121 * elf/dl-hwcaps.c (_dl_important_hwcaps): Likewise.
4122 * elf/dl-init.c (call_init, _dl_init): Likewise.
4123 * elf/dl-libc.c (__libc_dlopen_mode, __libc_dlsym): Likewise.
4124 * elf/dl-load.c (_dl_dst_substitute, fillin_rpath, _dl_init_paths)
4125 (_dl_map_object_from_fd, open_verify, open_path, _dl_map_object):
4127 * elf/dl-lookup.c (do_lookup_x, add_dependency, _dl_lookup_symbol_x):
4129 * elf/dl-minimal.c (__libc_memalign): Likewise.
4130 * elf/dl-open.c (add_to_global, dl_open_worker, _dl_open): Likewise.
4131 * elf/dl-reloc.c (_dl_relocate_object): Likewise.
4132 * elf/dl-runtime.c (_dl_fixup, _dl_profile_fixup): Likewise.
4133 * elf/dl-sym.c (do_sym): Likewise.
4134 * elf/dl-tls.c (tls_get_addr_tail, update_get_addr)
4135 (__tls_get_addr, _dl_tls_get_addr_soft): Likewise.
4136 * elf/dl-version.c (match_symbol, _dl_check_map_versions): Likewise.
4137 * elf/dl-writev.h (_dl_writev): Likewise.
4138 * elf/ldconfig.c (search_dir): Likewise.
4139 * elf/rtld.c (_dl_start_final, _dl_start, init_tls, do_preload)
4140 (dl_main): Likewise.
4141 * elf/setup-vdso.h (setup_vdso): Likewise.
4142 * grp/compat-initgroups.c (compat_call): Likewise.
4143 * grp/fgetgrent.c (fgetgrent): Likewise.
4144 * grp/initgroups.c (getgrouplist, initgroups): Likewise.
4145 * grp/putgrent.c (putgrent): Likewise.
4146 * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
4148 * hurd/hurdinit.c: Likewise.
4149 * iconvdata/8bit-gap.c (struct): Likewise.
4150 * iconvdata/ansi_x3.110.c : Likewise.
4151 * iconvdata/big5.c : Likewise.
4152 * iconvdata/big5hkscs.c : Likewise.
4153 * iconvdata/cp1255.c: Likewise.
4154 * iconvdata/cp1258.c : Likewise.
4155 * iconvdata/cp932.c : Likewise.
4156 * iconvdata/euc-cn.c: Likewise.
4157 * iconvdata/euc-jisx0213.c : Likewise.
4158 * iconvdata/euc-jp.c: Likewise.
4159 * iconvdata/euc-jp-ms.c : Likewise.
4160 * iconvdata/euc-kr.c (euckr_from_ucs4): Likewise.
4161 * iconvdata/gb18030.c : Likewise.
4162 * iconvdata/gbbig5.c (const): Likewise.
4163 * iconvdata/gbgbk.c: Likewise.
4164 * iconvdata/gbk.c : Likewise.
4165 * iconvdata/ibm1364.c : Likewise.
4166 * iconvdata/ibm930.c : Likewise.
4167 * iconvdata/ibm932.c: Likewise.
4168 * iconvdata/ibm933.c : Likewise.
4169 * iconvdata/ibm935.c : Likewise.
4170 * iconvdata/ibm937.c : Likewise.
4171 * iconvdata/ibm939.c : Likewise.
4172 * iconvdata/ibm943.c: Likewise.
4173 * iconvdata/iso_11548-1.c: Likewise.
4174 * iconvdata/iso-2022-cn.c : Likewise.
4175 * iconvdata/iso-2022-cn-ext.c : Likewise.
4176 * iconvdata/iso-2022-jp-3.c: Likewise.
4177 * iconvdata/iso-2022-jp.c (gconv_end): Likewise.
4178 * iconvdata/iso-2022-kr.c : Likewise.
4179 * iconvdata/iso646.c (gconv_end): Likewise.
4180 * iconvdata/iso_6937-2.c : Likewise.
4181 * iconvdata/iso_6937.c : Likewise.
4182 * iconvdata/iso8859-1.c: Likewise.
4183 * iconvdata/johab.c (johab_sym_hanja_to_ucs): Likewise.
4184 * iconvdata/shift_jisx0213.c : Likewise.
4185 * iconvdata/sjis.c : Likewise.
4186 * iconvdata/t.61.c : Likewise.
4187 * iconvdata/tcvn5712-1.c : Likewise.
4188 * iconvdata/tscii.c: Likewise.
4189 * iconvdata/uhc.c : Likewise.
4190 * iconvdata/unicode.c (gconv_end): Likewise.
4191 * iconvdata/utf-16.c (gconv_end): Likewise.
4192 * iconvdata/utf-32.c (gconv_end): Likewise.
4193 * iconvdata/utf-7.c (base64): Likewise.
4194 * iconv/gconv_cache.c (__gconv_load_cache): Likewise.
4195 * iconv/gconv_close.c (__gconv_close): Likewise.
4196 * iconv/gconv_open.c (__gconv_open): Likewise.
4197 * iconv/gconv_simple.c (internal_ucs4_loop_single)
4198 (ucs4_internal_loop, ucs4_internal_loop_unaligned)
4199 (ucs4_internal_loop_single, internal_ucs4le_loop_single)
4200 (ucs4le_internal_loop, ucs4le_internal_loop_unaligned)
4201 (ucs4le_internal_loop_single): Likewise.
4202 * iconv/iconv.c (iconv): Likewise.
4203 * iconv/iconv_close.c: Likewise.
4204 * iconv/loop.c (SINGLE): Likewise.
4205 * iconv/skeleton.c (FUNCTION_NAME): Likewise.
4206 * include/atomic.h: Likewise.
4207 * inet/inet6_option.c (option_alloc): Likewise.
4208 * intl/bindtextdom.c (set_binding_values): Likewise.
4209 * intl/dcigettext.c (DCIGETTEXT, _nl_find_msg): Likewise.
4210 * intl/loadmsgcat.c (_nl_load_domain): Likewise.
4211 * intl/localealias.c (read_alias_file): Likewise.
4212 * libio/filedoalloc.c (_IO_file_doallocate): Likewise.
4213 * libio/fileops.c (_IO_file_open, _IO_file_underflow_mmap)
4214 (_IO_new_file_overflow, _IO_file_xsgetn_mmap): Likewise.
4215 * libio/fmemopen.c (fmemopen): Likewise.
4216 * libio/iofgets.c (_IO_fgets): Likewise.
4217 * libio/iofgets_u.c (fgets_unlocked): Likewise.
4218 * libio/iofgetws.c (fgetws): Likewise.
4219 * libio/iofgetws_u.c (fgetws_unlocked): Likewise.
4220 * libio/iogetdelim.c (_IO_getdelim): Likewise.
4221 * libio/wfileops.c (_IO_wfile_underflow, _IO_wfile_underflow_mmap)
4222 (adjust_wide_data, _IO_wfile_seekoff): Likewise.
4223 * locale/findlocale.c (_nl_find_locale): Likewise.
4224 * locale/loadarchive.c (_nl_load_locale_from_archive): Likewise.
4225 * locale/loadlocale.c (_nl_intern_locale_data, _nl_load_locale):
4227 * locale/setlocale.c (setlocale): Likewise.
4228 * login/programs/pt_chown.c (main): Likewise.
4229 * malloc/arena.c (ptmalloc_init, shrink_heap, arena_get2): Likewise.
4230 * malloc/malloc.c (_int_malloc, _int_free): Likewise.
4231 * malloc/memusage.c (update_data, malloc, realloc, calloc, free)
4232 (mmap, mmap64, mremap, munmap): Likewise.
4233 * math/e_exp2l.c: Likewise.
4234 * math/e_scalb.c (invalid_fn, __ieee754_scalb): Likewise.
4235 * math/e_scalbf.c (invalid_fn, __ieee754_scalbf): Likewise.
4236 * math/e_scalbl.c (invalid_fn, __ieee754_scalbl): Likewise.
4237 * math/s_catan.c (__catan): Likewise.
4238 * math/s_catanf.c (__catanf): Likewise.
4239 * math/s_catanh.c (__catanh): Likewise.
4240 * math/s_catanhf.c (__catanhf): Likewise.
4241 * math/s_catanhl.c (__catanhl): Likewise.
4242 * math/s_catanl.c (__catanl): Likewise.
4243 * math/s_ccosh.c (__ccosh): Likewise.
4244 * math/s_ccoshf.c (__ccoshf): Likewise.
4245 * math/s_ccoshl.c (__ccoshl): Likewise.
4246 * math/s_cexp.c (__cexp): Likewise.
4247 * math/s_cexpf.c (__cexpf): Likewise.
4248 * math/s_cexpl.c (__cexpl): Likewise.
4249 * math/s_clog10.c (__clog10): Likewise.
4250 * math/s_clog10f.c (__clog10f): Likewise.
4251 * math/s_clog10l.c (__clog10l): Likewise.
4252 * math/s_clog.c (__clog): Likewise.
4253 * math/s_clogf.c (__clogf): Likewise.
4254 * math/s_clogl.c (__clogl): Likewise.
4255 * math/s_csin.c (__csin): Likewise.
4256 * math/s_csinf.c (__csinf): Likewise.
4257 * math/s_csinh.c (__csinh): Likewise.
4258 * math/s_csinhf.c (__csinhf): Likewise.
4259 * math/s_csinhl.c (__csinhl): Likewise.
4260 * math/s_csinl.c (__csinl): Likewise.
4261 * math/s_csqrt.c (__csqrt): Likewise.
4262 * math/s_csqrtf.c (__csqrtf): Likewise.
4263 * math/s_csqrtl.c (__csqrtl): Likewise.
4264 * math/s_ctan.c (__ctan): Likewise.
4265 * math/s_ctanf.c (__ctanf): Likewise.
4266 * math/s_ctanh.c (__ctanh): Likewise.
4267 * math/s_ctanhf.c (__ctanhf): Likewise.
4268 * math/s_ctanhl.c (__ctanhl): Likewise.
4269 * math/s_ctanl.c (__ctanl): Likewise.
4270 * math/w_pow.c: Likewise.
4271 * math/w_powf.c: Likewise.
4272 * math/w_powl.c: Likewise.
4273 * math/w_scalb.c (sysv_scalb): Likewise.
4274 * math/w_scalbf.c (sysv_scalbf): Likewise.
4275 * math/w_scalbl.c (sysv_scalbl): Likewise.
4276 * misc/error.c (error_tail): Likewise.
4277 * misc/pselect.c (__pselect): Likewise.
4278 * nis/nis_callback.c (__nis_create_callback): Likewise.
4279 * nis/nis_call.c (__nisfind_server): Likewise.
4280 * nis/nis_creategroup.c (nis_creategroup): Likewise.
4281 * nis/nis_domain_of_r.c (nis_domain_of_r): Likewise.
4282 * nis/nis_findserv.c (__nis_findfastest_with_timeout): Likewise.
4283 * nis/nis_getservlist.c (nis_getservlist): Likewise.
4284 * nis/nis_lookup.c (nis_lookup): Likewise.
4285 * nis/nis_subr.c (nis_leaf_of_r, nis_getnames): Likewise.
4286 * nis/nis_table.c (__create_ib_request, nis_list, nis_add_entry)
4287 (nis_modify_entry, nis_first_entry, nis_next_entry): Likewise.
4288 * nis/nis_xdr.c (xdr_endpoint): Likewise.
4289 * nis/nss_compat/compat-grp.c (getgrent_next_file)
4290 (internal_getgrnam_r, internal_getgrgid_r): Likewise.
4291 * nis/nss_compat/compat-initgroups.c (add_group)
4292 (internal_getgrent_r): Likewise.
4293 * nis/nss_compat/compat-pwd.c (getpwent_next_file)
4294 (internal_getpwnam_r, internal_getpwuid_r): Likewise.
4295 * nis/nss_compat/compat-spwd.c (getspent_next_file)
4296 (internal_getspnam_r): Likewise.
4297 * nis/nss_nis/nis-alias.c (internal_nis_getaliasent_r)
4298 (_nss_nis_getaliasbyname_r): Likewise.
4299 * nis/nss_nis/nis-ethers.c (_nss_nis_gethostton_r)
4300 (_nss_nis_getntohost_r): Likewise.
4301 * nis/nss_nis/nis-grp.c (internal_nis_setgrent)
4302 (internal_nis_getgrent_r, _nss_nis_getgrnam_r)
4303 (_nss_nis_getgrgid_r): Likewise.
4304 * nis/nss_nis/nis-hosts.c (_nss_nis_sethostent)
4305 (internal_nis_gethostent_r, internal_gethostbyname2_r)
4306 (_nss_nis_gethostbyname_r, _nss_nis_gethostbyaddr_r)
4307 (_nss_nis_gethostbyname4_r): Likewise.
4308 * nis/nss_nis/nis-initgroups.c (internal_getgrent_r)
4309 (initgroups_netid): Likewise.
4310 * nis/nss_nis/nis-netgrp.c (_nss_nis_setnetgrent): Likewise.
4311 * nis/nss_nis/nis-network.c (internal_nis_getnetent_r)
4312 (_nss_nis_getnetbyname_r, _nss_nis_getnetbyaddr_r): Likewise.
4313 * nis/nss_nis/nis-proto.c (_nss_nis_getprotobyname_r)
4314 (_nss_nis_getprotobynumber_r): Likewise.
4315 * nis/nss_nis/nis-publickey.c (_nss_nis_getpublickey)
4316 (_nss_nis_getsecretkey): Likewise.
4317 * nis/nss_nis/nis-pwd.c (_nis_saveit, internal_nis_setpwent)
4318 (internal_nis_getpwent_r, _nss_nis_getpwnam_r)
4319 (_nss_nis_getpwuid_r): Likewise.
4320 * nis/nss_nis/nis-rpc.c (internal_nis_getrpcent_r)
4321 (_nss_nis_getrpcbyname_r, _nss_nis_getrpcbynumber_r): Likewise.
4322 * nis/nss_nis/nis-service.c (dosearch, internal_nis_getservent_r)
4323 (_nss_nis_getservbyname_r, _nss_nis_getservbyport_r): Likewise.
4324 * nis/nss_nis/nis-spwd.c (_nss_nis_setspent)
4325 (internal_nis_getspent_r, _nss_nis_getspnam_r): Likewise.
4326 * nis/nss_nisplus/nisplus-alias.c (_nss_nisplus_getaliasbyname_r):
4328 * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_gethostton_r)
4329 (_nss_nisplus_getntohost_r): Likewise.
4330 * nis/nss_nisplus/nisplus-grp.c (internal_nisplus_getgrent_r)
4331 (_nss_nisplus_getgrnam_r, _nss_nisplus_getgrgid_r): Likewise.
4332 * nis/nss_nisplus/nisplus-hosts.c (internal_gethostbyname2_r)
4333 (_nss_nisplus_gethostbyaddr_r, _nss_nisplus_gethostbyname4_r):
4335 * nis/nss_nisplus/nisplus-initgroups.c
4336 (_nss_nisplus_initgroups_dyn): Likewise.
4337 * nis/nss_nisplus/nisplus-network.c (_nss_nisplus_getnetbyname_r)
4338 (_nss_nisplus_getnetbyaddr_r): Likewise.
4339 * nis/nss_nisplus/nisplus-proto.c (_nss_nisplus_getprotobyname_r)
4340 (_nss_nisplus_getprotobynumber_r): Likewise.
4341 * nis/nss_nisplus/nisplus-pwd.c (internal_nisplus_getpwent_r)
4342 (_nss_nisplus_getpwnam_r, _nss_nisplus_getpwuid_r): Likewise.
4343 * nis/nss_nisplus/nisplus-rpc.c (_nss_nisplus_getrpcbyname_r):
4345 * nis/nss_nisplus/nisplus-service.c
4346 (internal_nisplus_getservent_r, _nss_nisplus_getservbyname_r)
4347 (_nss_nisplus_getservbyport_r): Likewise.
4348 * nis/nss_nisplus/nisplus-spwd.c (internal_nisplus_getspent_r)
4349 (_nss_nisplus_getspnam_r): Likewise.
4350 * nis/ypclnt.c (__yp_bind, yp_match, yp_all, yp_maplist):
4352 * nscd/aicache.c (addhstaiX): Likewise.
4353 * nscd/cache.c (cache_search, prune_cache): Likewise.
4354 * nscd/connections.c (register_traced_file, send_ro_fd)
4355 (handle_request, nscd_run_prune, nscd_run_worker, fd_ready)
4356 (main_loop_epoll): Likewise.
4357 * nscd/grpcache.c (addgrbyX): Likewise.
4358 * nscd/hstcache.c (addhstbyX): Likewise.
4359 * nscd/initgrcache.c (addinitgroupsX): Likewise.
4360 * nscd/mem.c (gc, mempool_alloc): Likewise.
4361 * nscd/netgroupcache.c (do_notfound, addgetnetgrentX)
4362 (addinnetgrX): Likewise.
4363 * nscd/nscd-client.h (__nscd_acquire_maplock)
4364 (__nscd_drop_map_ref): Likewise.
4365 * nscd/nscd_getai.c (__nscd_getai): Likewise.
4366 * nscd/nscd_getgr_r.c (nscd_getgr_r): Likewise.
4367 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp, nscd_gethst_r):
4369 * nscd/nscd_getpw_r.c (nscd_getpw_r): Likewise.
4370 * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
4371 * nscd/nscd_helper.c (__readvall, open_socket, __nscd_get_mapping)
4372 (__nscd_get_map_ref): Likewise.
4373 * nscd/nscd_initgroups.c (__nscd_getgrouplist): Likewise.
4374 * nscd/nscd_netgroup.c (__nscd_setnetgrent, __nscd_innetgr):
4376 * nscd/pwdcache.c (addpwbyX): Likewise.
4377 * nscd/selinux.c (preserve_capabilities): Likewise.
4378 * nscd/servicescache.c (addservbyX): Likewise.
4379 * nss/nss_files/files-XXX.c (internal_getent): Likewise.
4380 * posix/fnmatch.c (fnmatch): Likewise.
4381 * posix/getopt.c (_getopt_internal_r): Likewise.
4382 * posix/glob.c (glob, glob_in_dir): Likewise.
4383 * posix/wordexp.c (exec_comm_child): Likewise.
4384 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyaddr2_r)
4385 (getanswer_r, gaih_getanswer_slice): Likewise.
4386 * resolv/nss_dns/dns-network.c (getanswer_r): Likewise.
4387 * resolv/res_init.c: Likewise.
4388 * resolv/res_mkquery.c (res_nmkquery): Likewise.
4389 * resolv/res_query.c (__libc_res_nquery): Likewise.
4390 * resolv/res_send.c (__libc_res_nsend, send_vc, reopen, send_dg):
4392 * stdio-common/_i18n_number.h (_i18n_number_rewrite): Likewise.
4393 * stdio-common/perror.c (perror): Likewise.
4394 * stdio-common/printf_fp.c (___printf_fp): Likewise.
4395 * stdio-common/tmpnam.c (tmpnam): Likewise.
4396 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
4397 * stdlib/cxa_finalize.c (__cxa_finalize): Likewise.
4398 * stdlib/cxa_thread_atexit_impl.c (__cxa_thread_atexit_impl):
4400 * stdlib/drand48-iter.c (__drand48_iterate): Likewise.
4401 * stdlib/putenv.c (putenv): Likewise.
4402 * stdlib/setenv.c (__add_to_environ): Likewise.
4403 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
4404 * stdlib/strtol_l.c (INTERNAL): Likewise.
4405 * string/memmem.c (memmem): Likewise.
4406 * string/strerror.c (strerror): Likewise.
4407 * string/strnlen.c (__strnlen): Likewise.
4408 * string/test-memmem.c (simple_memmem): Likewise.
4409 * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Likewise.
4410 * sunrpc/pm_getport.c (__get_socket): Likewise.
4411 * sysdeps/gnu/unwind-resume.c (init, _Unwind_Resume): Likewise.
4412 * sysdeps/i386/dl-irel.h (elf_irel): Likewise.
4413 * sysdeps/i386/dl-machine.h (elf_machine_runtime_setup)
4414 (elf_machine_rel, elf_machine_lazy_rel, elf_machine_lazy_rela):
4416 * sysdeps/ieee754/dbl-64/e_atanh.c (__ieee754_atanh): Likewise.
4417 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Likewise.
4418 * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Likewise.
4419 * sysdeps/ieee754/dbl-64/e_gamma_r.c (__ieee754_gamma_r): Likewise.
4420 * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Likewise.
4421 * sysdeps/ieee754/dbl-64/e_j1.c (__ieee754_j1, __ieee754_y1):
4423 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn, __ieee754_yn):
4425 * sysdeps/ieee754/dbl-64/e_log10.c (__ieee754_log10): Likewise.
4426 * sysdeps/ieee754/dbl-64/e_log2.c (__ieee754_log2): Likewise.
4427 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
4428 * sysdeps/ieee754/dbl-64/e_sinh.c (__ieee754_sinh): Likewise.
4429 * sysdeps/ieee754/dbl-64/s_asinh.c (__asinh): Likewise.
4430 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Likewise.
4431 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Likewise.
4432 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Likewise.
4433 * sysdeps/ieee754/dbl-64/s_modf.c (__modf): Likewise.
4434 * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): Likewise.
4435 * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
4436 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c (__ieee754_acosh):
4438 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c (__ieee754_log10):
4440 * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c (__ieee754_log2):
4442 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c (__frexp): Likewise.
4443 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
4444 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo): Likewise.
4445 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c (__round): Likewise.
4446 * sysdeps/ieee754/flt-32/e_atanhf.c (__ieee754_atanhf): Likewise.
4447 * sysdeps/ieee754/flt-32/e_gammaf_r.c (__ieee754_gammaf_r): Likewise.
4448 * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
4449 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Likewise.
4450 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_nearbyint): Likewise.
4451 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c (__llrintl): Likewise.
4452 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c (__llroundl): Likewise.
4453 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
4454 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Likewise.
4455 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c (__lroundl): Likewise.
4456 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
4457 * sysdeps/ieee754/ldbl-96/e_gammal_r.c (__ieee754_gammal_r):
4459 * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l, __ieee754_y0l):
4461 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l, __ieee754_y1l):
4463 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl, __ieee754_ynl):
4465 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
4466 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
4467 * sysdeps/posix/clock_getres.c (hp_timing_getres, realtime_getres):
4469 * sysdeps/posix/fdopendir.c (__fdopendir): Likewise.
4470 * sysdeps/posix/getaddrinfo.c (gaih_inet, getaddrinfo): Likewise.
4471 * sysdeps/posix/opendir.c (__opendirat): Likewise.
4472 * sysdeps/posix/sleep.c: Likewise.
4473 * sysdeps/posix/tempname.c: Likewise.
4474 * sysdeps/powerpc/powerpc32/dl-irel.h (elf_irela): Likewise.
4475 * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
4477 * sysdeps/powerpc/powerpc32/dl-machine.h
4478 (elf_machine_runtime_setup, elf_machine_rela): Likewise.
4479 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_irela): Likewise.
4480 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
4481 * sysdeps/pthread/aio_notify.c (__aio_notify_only): Likewise.
4482 * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait, aio_suspend):
4484 * sysdeps/s390/dl-irel.h (elf_irela): Likewise.
4485 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_runtime_setup)
4486 (elf_machine_rela, elf_machine_lazy_rel): Likewise.
4487 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_runtime_setup)
4488 (elf_machine_rela, elf_machine_lazy_rel): Likewise.
4489 * sysdeps/s390/s390-64/utf16-utf32-z9.c (gconv_end): Likewise.
4490 * sysdeps/s390/s390-64/utf8-utf16-z9.c (gconv_end): Likewise.
4491 * sysdeps/s390/s390-64/utf8-utf32-z9.c (gconv_end): Likewise.
4492 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
4493 * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Likewise.
4494 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela)
4495 (elf_machine_lazy_rel): Likewise.
4496 * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
4497 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela)
4498 (elf_machine_lazy_rel): Likewise.
4499 * sysdeps/sparc/sparc64/dl-plt.h (sparc64_fixup_plt): Likewise.
4500 * sysdeps/unix/clock_gettime.c (hp_timing_gettime): Likewise.
4501 * sysdeps/unix/clock_settime.c (hp_timing_settime): Likewise.
4502 * sysdeps/unix/grantpt.c (grantpt): Likewise.
4503 * sysdeps/unix/sysv/linux/accept4.c (accept4): Likewise.
4504 * sysdeps/unix/sysv/linux/adjtime.c (ADJTIME): Likewise.
4505 * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): Likewise.
4506 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
4508 * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Likewise.
4509 * sysdeps/unix/sysv/linux/fchmodat.c (fchmodat): Likewise.
4510 * sysdeps/unix/sysv/linux/fchownat.c (fchownat): Likewise.
4511 * sysdeps/unix/sysv/linux/futimesat.c (futimesat): Likewise.
4512 * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
4513 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
4514 * sysdeps/unix/sysv/linux/i386/fallocate64.c (fallocate64): Likewise.
4515 * sysdeps/unix/sysv/linux/i386/fallocate.c (fallocate): Likewise.
4516 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Likewise.
4517 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
4518 * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
4520 * sysdeps/unix/sysv/linux/i386/posix_fallocate64.c
4521 (__posix_fallocate64_l64): Likewise.
4522 * sysdeps/unix/sysv/linux/i386/posix_fallocate.c
4523 (posix_fallocate): Likewise.
4524 * sysdeps/unix/sysv/linux/i386/scandir64.c (__old_scandir64):
4526 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
4527 * sysdeps/unix/sysv/linux/ifaddrs.c (__netlink_request)
4528 (getifaddrs_internal): Likewise.
4529 * sysdeps/unix/sysv/linux/linkat.c (linkat): Likewise.
4530 * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Likewise.
4531 * sysdeps/unix/sysv/linux/mq_unlink.c (mq_unlink): Likewise.
4532 * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Likewise.
4533 * sysdeps/unix/sysv/linux/posix_fallocate64.c
4534 (__posix_fallocate64_l64): Likewise.
4535 * sysdeps/unix/sysv/linux/posix_fallocate.c (posix_fallocate):
4537 * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat): Likewise.
4538 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c
4539 (__get_clockfreq): Likewise.
4540 * sysdeps/unix/sysv/linux/readlinkat.c (readlinkat): Likewise.
4541 * sysdeps/unix/sysv/linux/recvmmsg.c (recvmmsg): Likewise.
4542 * sysdeps/unix/sysv/linux/renameat.c (renameat): Likewise.
4543 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
4544 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
4545 * sysdeps/unix/sysv/linux/sched_setaffinity.c: Likewise.
4546 * sysdeps/unix/sysv/linux/sendmmsg.c (__sendmmsg): Likewise.
4547 * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs, shm_open):
4549 * sysdeps/unix/sysv/linux/sleep.c (__sleep): Likewise.
4550 * sysdeps/unix/sysv/linux/symlinkat.c (symlinkat): Likewise.
4551 * sysdeps/unix/sysv/linux/tcgetattr.c (__tcgetattr): Likewise.
4552 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Likewise.
4553 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
4554 * sysdeps/unix/sysv/linux/unlinkat.c (unlinkat): Likewise.
4555 * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c (__fxstatat):
4557 * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
4558 (posix_fallocate): Likewise.
4559 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
4560 * sysdeps/unix/sysv/linux/xmknodat.c (__xmknodat): Likewise.
4561 * sysdeps/x86_64/dl-irel.h (elf_irela): Likewise.
4562 * sysdeps/x86_64/dl-machine.h (elf_machine_runtime_setup)
4563 (elf_machine_rela, elf_machine_rela_relative)
4564 (elf_machine_lazy_rel): Likewise.
4565 * time/asctime.c (asctime_internal): Likewise.
4566 * time/tzfile.c (__tzfile_read, __tzfile_compute): Likewise.
4567 * time/tzset.c (__tzset_parse_tz): Likewise.
4568 * wcsmbs/mbrtoc16.c (mbrtoc16): Likewise.
4569 * wcsmbs/mbrtowc.c (__mbrtowc): Likewise.
4570 * wcsmbs/wcsmbsload.c (__wcsmbs_load_conv): Likewise.
4571 * wcsmbs/wcsmbsload.h: Likewise.
4574 * stdlib/setenv.c (__add_to_environ): Remove duplicate code.
4576 * malloc/arena.c (grow_heap, get_free_list, reused_arena)
4577 (arena_get2): Remove THREAD_STATS conditionals.
4578 * malloc/malloc.c (__malloc_assert, __libc_realloc, _int_free)
4579 (__malloc_stats, int): Likewise.
4581 2014-02-08 Mike Frysinger <vapier@gentoo.org>
4583 * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs): Compare
4584 f.f_type to RAMFS_MAGIC too. Compare mp->mnt_type to shm too.
4586 * manual/setjmp.texi: Fix typos/grammar errors.
4588 * debug/tst-backtrace4.c (handle_signal): Add NUM_FUNCTIONS to output.
4589 Only return early when n is <= 0. Delete unused return statement.
4591 * debug/Makefile (CFLAGS-tst-longjmp_chk3.c): Define.
4592 (CPPFLAGS-tst-longjmp_chk3.c): Likewise.
4593 * debug/tst-longjmp_chk3.c: New file.
4595 * benchtests/bench-strcpy_chk.c: Move test-skeleton.c to top.
4596 (test_main): Replace code with set_fortify_handler call.
4597 * debug/test-strcpy_chk.c: Likewise.
4598 * debug/tst-chk1.c: Likewise.
4599 * debug/tst-longjmp_chk.c: Likewise.
4600 * test-skeleton.c: Include fcntl.h & paths.h
4601 (set_fortify_handler): Define.
4603 * debug/tst-longjmp_chk.c: Add header comment and include
4605 (do_test): Mark static.
4606 (TEST_FUNCTION): Define.
4608 * sysdeps/unix/sysv/linux/bits/in.h (IP_NODEFRAG): Define.
4609 (IP_PMTUDISC_INTERFACE): Likewise.
4610 (IP_MULTICAST_IF): Likewise.
4611 (IP_MULTICAST_TTL): Likewise.
4612 (IP_MULTICAST_LOOP): Likewise.
4613 (IP_ADD_MEMBERSHIP): Likewise.
4614 (IP_DROP_MEMBERSHIP): Likewise.
4615 (IP_UNBLOCK_SOURCE): Likewise.
4616 (IP_BLOCK_SOURCE): Likewise.
4617 (IP_ADD_SOURCE_MEMBERSHIP): Likewise.
4618 (IP_DROP_SOURCE_MEMBERSHIP): Likewise.
4619 (IP_MSFILTER): Likewise.
4620 (MCAST_JOIN_GROUP): Likewise.
4621 (MCAST_BLOCK_SOURCE): Likewise.
4622 (MCAST_UNBLOCK_SOURCE): Likewise.
4623 (MCAST_LEAVE_GROUP): Likewise.
4624 (MCAST_JOIN_SOURCE_GROUP): Likewise.
4625 (MCAST_LEAVE_SOURCE_GROUP): Likewise.
4626 (MCAST_MSFILTER): Likewise.
4627 (IP_MULTICAST_ALL): Likewise.
4628 (IP_UNICAST_IF): Likewise.
4630 * timezone/Makefile: Delete $(have-ksh) check.
4631 ($(objpfx)tzselect): Change $(KSH) to $(BASH).
4632 * timezone/tzselect.ksh: Add +x mode bits.
4634 * sysdeps/unix/sysv/linux/linux_fsinfo.h (AFS_SUPER_MAGIC): Define.
4635 (ANON_INODE_FS_MAGIC): Likewise.
4636 (BDEVFS_MAGIC): Likewise.
4637 (BINFMTFS_MAGIC): Likewise.
4638 (BTRFS_TEST_MAGIC): Likewise.
4639 (CRAMFS_MAGIC_WEND): Likewise.
4640 (DEBUGFS_MAGIC): Likewise.
4641 (ECRYPTFS_SUPER_MAGIC): Likewise.
4642 (EXT3_SUPER_MAGIC): Likewise.
4643 (EXT4_SUPER_MAGIC): Likewise.
4644 (FUTEXFS_SUPER_MAGIC): Likewise.
4645 (HOSTFS_SUPER_MAGIC): Likewise.
4646 (HUGETLBFS_MAGIC): Likewise.
4647 (MINIX3_SUPER_MAGIC): Likewise.
4648 (MTD_INODE_FS_MAGIC): Likewise.
4649 (NILFS_SUPER_MAGIC): Likewise.
4650 (OPENPROM_SUPER_MAGIC): Likewise.
4651 (PIPEFS_MAGIC): Likewise.
4652 (PSTOREFS_MAGIC): Likewise.
4653 (QNX6_SUPER_MAGIC): Likewise.
4654 (RAMFS_MAGIC): Likewise.
4655 (REISERFS_SUPER_MAGIC_STRING): Likewise.
4656 (REISER2FS_SUPER_MAGIC_STRING): Likewise.
4657 (REISER2FS_JR_SUPER_MAGIC_STRING): Likewise.
4658 (SECURITYFS_MAGIC): Likewise.
4659 (SELINUX_MAGIC): Likewise.
4660 (SMACK_MAGIC): Likewise.
4661 (SOCKFS_MAGIC): Likewise.
4662 (SQUASHFS_MAGIC): Likewise.
4663 (STACK_END_MAGIC): Likewise.
4664 (TMPFS_MAGIC): Likewise.
4665 (USBDEVICE_SUPER_MAGIC): Likewise.
4666 (V9FS_MAGIC): Likewise.
4667 (XENFS_SUPER_MAGIC): Likewise.
4668 (CRAMFS_MAGIC): Fix typo in comment.
4669 (EXT2_SUPER_MAGIC): Update comment.
4670 (USBDEVFS_SUPER_MAGIC): Fix sorting order by moving further down.
4672 2014-02-08 Joseph Myers <joseph@codesourcery.com>
4674 * sysdeps/arm: Move directory from ports/sysdeps/arm.
4675 * sysdeps/unix/arm: Move directory from ports/sysdeps/unix/arm.
4676 * sysdeps/unix/sysv/linux/arm: Move directory from
4677 ports/sysdeps/unix/sysv/linux/arm.
4678 * README: Update listing for arm-*-linux-gnueabi.
4680 * README: Remove mention of am33.
4682 2014-02-07 Roland McGrath <roland@hack.frob.com>
4684 * bits/sigset.h (__sigemptyset): Use a statement expression rather
4685 than the comma operator, to avoid "rhs of comma has no effect"
4687 (__sigfillset, __sigandset, __sigorset): Likewise.
4688 * include/signal.h (__sigemptyset): Likewise.
4689 * sysdeps/generic/malloc-machine.h (mutex_lock): Likewise.
4691 2014-02-07 Allan McRae <allan@archlinux.org>
4693 * version.h (RELEASE): Set to "development".
4694 (VERSION): Set to "2.19.90"
4695 * NEWS: Add 2.20 section.
4697 2014-02-06 Carlos O'Donell <carlos@redhat.com>
4700 * inet/netinet/in.h: Remove comma after IPPROTO_MH.
4702 2014-02-06 Siddhesh Poyarekar <siddhesh@redhat.com>
4704 * manual/contrib.texi: Update entry for Carlos O'Donell,
4705 Joseph Myers, Roland McGrath, Alexandre Oliva and Ryan Arnold.
4707 2014-02-05 Carlos O'Donell <carlos@rehdat.com>
4709 * sysdeps/unix/sysv/linux/kernel-features.h: Fix comment.
4711 * sysdeps/unix/sysv/linux/kernel-features.h
4712 [__LINUX_KERNEL_VERSION >= 0x020621]
4713 (__ASSUME_PROC_PID_TASK_COMM): Define.
4715 2014-02-05 Siddhesh Poyarekar <siddhesh@redhat.com>
4718 * libio/wfileops.c (_IO_wfile_seekoff): Break out form
4719 conversion when destination buffer does not have enough space.
4720 * libio/tst-ftell-partial-wide.c: New test case.
4721 * libio/Makefile (tests): Add tst-ftell-partial-wide.
4723 * manual/contrib.texi: Update entry for Ondrej Bilka, Will
4724 Newton and Alexandre Oliva. Add entries for Steve Ellcey, Chris
4725 Leonard and Allan McRae.
4727 2014-02-04 David S. Miller <davem@davemloft.net>
4729 * sysdeps/sparc/fpu/libm-test-ulps: Update for some 64-bit differences from
4732 2014-02-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4734 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld-le.abilist:
4736 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale-le.abilist:
4738 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl-le.abilist:
4740 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc-le.abilist:
4742 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt-le.abilist:
4744 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl-le.abilist:
4746 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm-le.abilist:
4748 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl-le.abilist:
4750 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread-le.abilist:
4752 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv-le.abilist:
4754 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt-le.abilist:
4756 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db-le.abilist:
4758 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil-le.abilist:
4761 2014-02-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4763 * nptl/shlib-versions: Change powerpc*le start to 2.17.
4764 * shlib-versions: Likewise.
4766 2014-02-04 Roland McGrath <roland@hack.frob.com>
4767 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4769 * sysdeps/powerpc/Makefile [$(config-machine) ends with 'le']
4770 (abilist-pattern): New variable, set to %-le.abilist.
4772 * Makerules (abilist-pattern): New variable.
4773 (vpath): Use $(abilist-pattern) in place of %.abilist.
4774 (check-abi-% pattern rule): Likewise.
4775 (check-abi, update-abi): Likewise.
4777 2014-02-04 Eric Wong <normalperson@yhbt.net>
4779 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
4781 2014-02-03 Carlos O'Donell <carlos@redhat.com>
4783 * manual/startup.texi: Add next, previous, and top entries for
4784 the `Program Arguments' and `Environment Variables' nodes.
4786 2014-02-03 Alexandre Oliva <aoliva@redhat.com>
4788 * manual/macros.texi: Add comments before MTASC-safety macros.
4790 * manual/users.texi: Document MTASC-safety properties.
4792 * manual/threads.texi (pthread_key_create, pthread_key_delete)
4793 (pthread_getspecific, pthread_setspecific): Format with
4794 @deftypefun, and add @safety note.
4795 * manual/signal.texi: Move comments that analyze the above
4796 functions to their home place.
4798 2014-02-03 Allan McRae <allan@archlinux.org>
4800 * po/sl.po: Update Slovenian translation from translation project.
4802 2014-02-02 Alexandre Oliva <aoliva@redhat.com>
4804 * manual/time.texi (timegm): Add missing blank after @c.
4805 Reported by Joseph Myers <joseph@codesourcery.com>.
4807 2014-02-01 Alexandre Oliva <aoliva@redhat.com>
4809 * manual/check-safety.sh: New.
4810 * manual/Makefile ($(objpfx)stamp-summary): Run it.
4812 * manual/terminal.texi: Document MTASC-safety properties.
4814 * manual/filesys.texi: Document MTASC-safety properties.
4816 * manual/errno.texi: Document MTASC-safety properties.
4818 * manual/intro.texi: Document safety identifiers and
4821 * manual/string.texi (wcstok): Fix prototype.
4822 (wcstok, strtok, strtok_r): Adjust reentrancy remarks.
4824 * manual/time.texi: Document MTASC-safety properties.
4826 * manual/string.texi: Document MTASC-safety properties.
4828 * manual/threads.texi: Document MTASC-safety properties.
4830 * manual/stdio.texi: Document MTASC-safety properties.
4832 * manual/syslog.texi: Document MTASC-safety properties.
4834 * manual/sysinfo.texi: Document MTASC-safety properties.
4836 * manual/startup.texi: Document MTASC-safety properties.
4838 * manual/socket.texi: Document MTASC-safety properties.
4840 * manual/signal.texi: Document MTASC-safety properties.
4842 2014-01-31 Alexandre Oliva <aoliva@redhat.com>
4844 * manual/setjmp.texi: Document MTASC-safety properties.
4846 * manual/search.texi: Document MTASC-safety properties.
4848 * manual/resource.texi: Document MTASC-safety properties.
4850 * manual/process.texi: Document MTASC-safety properties.
4852 * manual/platform.texi: Document MTASC-safety properties.
4854 * manual/pipe.texi: Document MTASC-safety properties.
4856 * manual/pattern.texi: Document MTASC-safety properties.
4858 * manual/message.texi: Document MTASC-safety properties.
4861 * manual/memory.texi: Document MTASC-safety properties.
4863 * manual/math.texi: Document MTASC-safety properties.
4865 * manual/locale.texi: Document MTASC-safety properties.
4867 * manual/llio.texi: Document MTASC-safety properties.
4869 * manual/libdl.texi: New.
4871 * manual/lang.texi: Document MTASC-safety properties.
4873 * manual/job.texi: Document MTASC-safety properties.
4875 * manual/getopt.texi: Document MTASC-safety properties.
4877 * manual/ctype.texi: Document MTASC-safety properties.
4879 2014-01-31 Maciej W. Rozycki <macro@codesourcery.com>
4882 * csu/libc-tls.c (static_map): Remove variable.
4883 (__libc_setup_tls): Use main executable's link map for TLS data.
4884 * elf/dl-close.c (_dl_close_worker) [!SHARED]: Remove special
4885 casing for LM_ID_BASE and GL(dl_nns).
4886 * elf/dl-iteratephdr.c [!SHARED] (dl_iterate_phdr): Remove
4887 function. Alias dl_iterate_phdr to __dl_iterate_phdr.
4888 * elf/dl-load.c (_dl_map_object) [!SHARED]: Remove special
4889 casing for GL(dl_ns)[LM_ID_BASE]._ns_loaded.
4890 * elf/dl-support.c (_dl_main_map): Also initialize l_flags_1
4892 (_dl_non_dynamic_init): Also initialize _dl_main_map's l_phdr and
4895 2014-01-30 Alexandre Oliva <aoliva@redhat.com>
4897 * manual/debug.texi: Document MTASC-safety properties.
4899 2014-01-29 H.J. Lu <hongjiu.lu@intel.com>
4902 * sysdeps/x86/fpu/bits/mathinline.h: Check __SSE2_MATH__ instead
4903 of __x86_64__ when disabling x87 inline functions.
4905 2014-01-29 Alexandre Oliva <aoliva@redhat.com>
4907 * manual/charset.texi: Document MTASC-safety properties.
4909 * manual/crypt.texi: Document MTASC-safety properties.
4911 * manual/conf.texi: Document MTASC-safety properties.
4913 * manual/arith.texi: Document MTASC-safety properties.
4915 * manual/argp.texi: Document MTASC-safety properties.
4917 * manual/macros.texi: Introduce macros to document multi
4918 thread, asynchronous signal and asynchronous cancellation
4920 * manual/intro.texi: Introduce the properties themselves.
4922 2014-01-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
4924 * sysdeps/sh/sh4/Makefile: New file.
4926 2014-01-27 Andreas Schwab <schwab@linux-m68k.org>
4928 * math/gen-libm-test.pl ($srcdir): New variable.
4929 ($auto_input): Use it.
4931 2014-01-27 Siddhesh Poyarekar <siddhesh@redhat.com>
4934 * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Avoid
4935 access beyond array bounds when parsing netgroups file.
4937 * nscd/netgroupcache.c (addgetnetgrentX): Compute offset from
4938 the old buffer before realloc.
4940 2014-01-27 Allan McRae <allan@archlinux.org>
4942 * po/fr.po: Update French translation from translation project.
4944 2014-01-26 Kaz Kojima <kkojima@rr.iij4u.or.jp>
4946 * sysdeps/sh/libm-test-ulps: Regenerate.
4948 2014-01-24 David S. Miller <davem@davemloft.net>
4950 * sysdeps/sparc/fpu/libm-test-ulps: Regenerate.
4952 2014-01-25 Kaz Kojima <kkojima@rr.iij4u.or.jp>
4954 * sysdeps/sh/sh4/fpu/libm-test-ulps: Move to ...
4955 * sysdeps/sh/libm-test-ulps: ... here and regenerated.
4957 2013-01-24 Siddhesh Poyarekar <siddhesh@redhat.com>
4960 * nscd/netgroupcache.c (addgetnetgrentX): Adjust triplet
4961 string pointers after reallocation.
4963 2014-01-24 Kaz Kojima <kkojima@rr.iij4u.or.jp>
4965 * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: Use __SH4__ and
4966 __SH4A__ instead of __SH_FPU_ANY__.
4968 2014-01-23 Kaz Kojima <kkojima@rr.iij4u.or.jp>
4970 * sysdeps/sh/fpu_control.h: New file.
4971 * sysdeps/sh/sh4/fpu/fpu_control.h: Remove.
4972 * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: New file.
4973 * sysdeps/unix/sysv/linux/sh/sh3/sys/ucontext.h: Remove.
4974 * sysdeps/unix/sysv/linux/sh/sh3/sys: Remove directory.
4975 * sysdeps/unix/sysv/linux/sh/sh4/sys/ucontext.h: Remove.
4976 * sysdeps/unix/sysv/linux/sh/sh4/sys: Remove directory.
4977 * sysdeps/sh/sys/ucontext.h: Remove.
4978 * sysdeps/sh/sys: Remove directory.
4980 2014-01-22 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
4982 * sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: Merge into
4983 s390/sys/ucontext.h.
4984 * sysdeps/unix/sysv/linux/s390/s390-64/sys/ucontext.h: Likewise.
4985 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: New file.
4987 2014-01-20 H.J. Lu <hongjiu.lu@intel.com>
4990 * sysdeps/x86_64/x32/symbol-hacks.h: Include generic symbol-hacks.h.
4992 2014-01-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4995 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
4996 Adjust the vDSO correctly for internal calls.
4997 * sysdeps/unix/sysv/linux/powerpc/time.c (time): Likewise.
4999 2014-01-20 Allan McRae <allan@archlinux.org>
5001 * po/ca.po: Update Catalan translation from translation project.
5003 2014-01-16 Mike Frysinger <vapier@gentoo.org>
5005 * sysdeps/s390/sotruss-lib.c: New file.
5007 2014-01-16 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5010 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c
5011 (__GI___gettimeofday): Alias for a different internal symbol to avoid
5012 local calls issues by not having a PLT stub required for IFUNC calls.
5013 * sysdeps/unix/sysv/linux/powerpc/time.c (__GI_time): Likewise.
5015 2014-01-16 Joseph Myers <joseph@codesourcery.com>
5017 * math/test-fpucw-ieee.c: Use <> in #include of test-fpucw.c.
5018 * math/test-fpucw-static.c: Likewise.
5020 2013-01-16 Siddhesh Poyarekar <siddhesh@redhat.com>
5023 * nscd/netgroupcache.c (addgetnetgrentX): Don't use alloca.
5025 2014-01-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5027 * sysdeps/powerpc/sotruss-lib.c: New file: sotruss-lib.so
5028 implementation for powerpc.
5030 2014-01-15 Ondřej Bílka <neleai@seznam.cz>
5033 * sysdeps/posix/system.c (__libc_system): Do not enable
5034 asynchronous cancellation.
5036 2014-01-15 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
5039 * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Invoke the non-IEEE
5040 handling only for numbers special also in the IEEE case.
5042 2014-01-15 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
5044 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
5046 2014-01-11 Allan McRae <allan@archlinux.org>
5048 * po/bg.po: Update Bulgarian translation from translation project.
5050 * po/de.po: Update German translation from translation project.
5052 2014-01-10 Roland McGrath <roland@hack.frob.com>
5054 * sysdeps/generic/gcc-compat.h: New file.
5056 2014-01-10 Siddhesh Poyarekar <siddhesh@redhat.com>
5058 * benchtests/asin-inputs: Correct slow inputs.
5059 * benchtests/acos-inputs: Likewise.
5061 2014-01-10 Allan McRae <allan@archlinux.org>
5063 * po:sv.po: Update Swedish translation from translation project.
5065 * po/vi.po: Update Vietnamese translation from translation project.
5067 * po/eo.po: Update Esperanto translation from translation project.
5069 * po/cs.po: Update Czech translation from translation project.
5071 * po/nl.po: Update Dutch translation from translation project.
5073 * po/pl.po: Update Polish translation from translation project.
5075 * po/ru.po: Update Russian translation from translation project.
5077 * po/uk.po: Update Ukrainian translation from translation project.
5079 2014-01-08 Brooks Moses <bmoses@google.com>
5081 * elf/dl-load.c: Fix comment typo.
5083 2014-01-08 Carlos O'Donell <carlos@redhat.com>
5085 * po/header.pot: Rename to...
5086 * po/pot.header: ... this.
5087 * po/Makefile: Use pot.header.
5089 2014-01-08 Yuriy Kaminskiy <yumkam@gmail.com>
5090 Maxim Kuvyrkov <maxim@kugelworks.com>
5093 * sysdeps/i386/i686/memmove.S (memmove): Compare distance between
5094 SRC and DEST against LEN.
5096 2014-01-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5099 * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Remove wrong
5101 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Remove bogus comment.
5103 2014-01-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5105 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
5107 2014-01-08 Joseph Myers <joseph@codesourcery.com>
5110 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Use __expl
5111 for large positive arguments.
5113 2014-01-07 Joseph Myers <joseph@codesourcery.com>
5115 * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
5117 * math/auto-libm-test-in: Mark various tests with
5118 xfail-rounding:ldbl-128ibm.
5119 * math/auto-libm-test-out: Regenerated.
5122 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl):
5123 Increase overflow threshold.
5125 2014-01-07 Ondřej Bílka <neleai@seznam.cz>
5128 * stdio-common/vfprintf.c: Check for integer overflow.
5130 2014-01-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
5132 * sysdeps/s390/dl-tls.h: sysdeps/s390/dl-tls.h: Remove casts for
5133 the first argument and return value of __tls_get_addr_internal.
5135 2014-01-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
5137 * sysdeps/s390/s390-32/dl-machine.h: Gate the definition of refsym
5138 also with !RTLD_BOOTSTRAP to get rid of unused variable warning.
5140 2014-01-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
5142 * sysdeps/s390/Makefile: Build rtld-global-offsets.sym.
5143 * sysdeps/s390/rtld-global-offsets.sym: New file.
5144 * sysdeps/unix/sysv/linux/s390/Versions: Add getcontext as new
5146 * sysdeps/unix/sysv/linux/s390/getcontext.S: New file.
5147 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Rename to ...
5148 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext-common.S:
5150 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Rename to ...
5151 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext-common.S:
5153 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
5155 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
5157 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Restore upper
5158 halfs of GPRs for high_gprs contexts.
5159 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Save and
5160 restore upper halfs of GPRs for high_gprs contexts. Copy uc_flags
5162 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Copy
5164 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: Split into 32 and
5166 * sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: Add field
5167 for high GPRs (uc_high_gprs) and for future extensions
5169 * sysdeps/unix/sysv/linux/s390/s390-64/sys/ucontext.h: Add field
5170 for future extensions (__reserved).
5171 * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Split into 32 and
5173 * sysdeps/unix/sysv/linux/s390/s390-32/ucontext_i.sym: Add
5174 SC_HIGHGPRS offset definition.
5175 * sysdeps/unix/sysv/linux/s390/s390-64/ucontext_i.sym: New file.
5176 * sysdeps/unix/sysv/linux/s390/rtld-getcontext.S: New file.
5178 * Versions.def: Add GLIBC_2.19 for libpthread.
5179 * nptl/sysdeps/unix/sysv/linux/s390/Versions: Add longjmp and
5180 siglongjmp for libpthread with GLIBC_2.19 symver.
5181 * nptl/sysdeps/unix/sysv/linux/s390/pt-longjmp.c: New file.
5182 * sysdeps/s390/Makefile: Build v1-longjmp.c and v1-sigjmp.c.
5183 * sysdeps/s390/Versions: New GLIBC_2.19 and GLIBC_PRIVATE symbols.
5184 * sysdeps/s390/__longjmp.c: New file.
5185 * sysdeps/s390/bits/setjmp.h: Add new fields to __s390_jmp_buf.
5186 * sysdeps/s390/longjmp.c: New file.
5187 * sysdeps/s390/setjmp.S: New file.
5188 * sysdeps/s390/sigjmp.S: New file.
5189 * sysdeps/s390/v1-longjmp.c: New file.
5190 * sysdeps/s390/v1-setjmp.h: New file.
5191 * sysdeps/s390/v1-sigjmp.c: New file.
5192 * sysdeps/unix/sysv/linux/s390/Makefile: Build __longjmp_chk.
5193 * sysdeps/unix/sysv/linux/s390/Versions: Add __longjmp_chk with
5195 * sysdeps/unix/sysv/linux/s390/longjmp_chk.c: New file.
5196 * sysdeps/unix/sysv/linux/s390/s390-32/____longjmp_chk.c: Provide
5197 versioned symbols for ____longjmp_chk.
5198 * sysdeps/unix/sysv/linux/s390/s390-64/____longjmp_chk.c:
5200 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
5202 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
5204 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
5206 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
5208 * sysdeps/unix/sysv/linux/s390/v1-longjmp_chk.c: New file.
5209 * sysdeps/s390/s390-32/__longjmp.c: Rename to ...
5210 * sysdeps/s390/s390-32/__longjmp-common.c: ... this.
5211 * sysdeps/s390/s390-32/setjmp.S: Rename and adjust to ...
5212 * sysdeps/s390/s390-32/setjmp-common.S: ... this.
5213 * sysdeps/s390/s390-64/__longjmp.c: Rename to ...
5214 * sysdeps/s390/s390-64/__longjmp-common.c: ... this.
5215 * sysdeps/s390/s390-64/setjmp.S: Rename and adjust to ...
5216 * sysdeps/s390/s390-64/setjmp-common.S: ... this.
5217 * sysdeps/s390/rtld-__longjmp.c: New file.
5218 * sysdeps/s390/rtld-setjmp.S: New file.
5220 2014-01-06 Joseph Myers <joseph@codesourcery.com>
5223 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
5224 Return -__logl (x) for small positive arguments without evaluating
5227 2014-01-06 Mike Frysinger <vapier@gentoo.org>
5229 * sysdeps/unix/sysv/linux/sys/ptrace.h (ptrace_peeksiginfo_args):
5231 (__ptrace_peeksiginfo_args): ... this.
5232 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
5233 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
5234 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
5236 2014-01-06 Allan McRae <allan@archlinux.org>
5238 * inet/netinet/in.h: Fix typo in comment.
5240 2014-01-05 Andreas Jaeger <aj@suse.de>
5242 * sysdeps/i386/fpu/libm-test-ulps: Update.
5244 2014-01-05 Allan McRae <allan@archlinux.org>
5246 * po/libc.pot: Regenerated.
5248 * malloc/memusagestat.c: Fix gettext call formatting.
5250 2014-01-04 Sami Kerola <kerolasa@iki.fi>
5252 * nscd/nscd.c: Improve usage() output.
5254 2014-01-04 Mike Frysinger <vapier@gentoo.org>
5256 * config.h.in: Add HAVE_LINUX_FANOTIFY_H template.
5257 * sysdeps/unix/sysv/linux/configure: Regenerated.
5258 * sysdeps/unix/sysv/linux/configure.ac: Call AC_DEFINE.
5259 * sysdeps/unix/sysv/linux/tst-fanotify.c: Include config.h.
5261 2014-01-03 Joseph Myers <joseph@codesourcery.com>
5264 * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
5265 (CFLAGS-e_atan2l.c): Use -fno-builtin-fabsl.
5267 2014-01-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5269 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: Remove
5270 extra tokens at end of #undef directive.
5271 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: Likewise.
5272 * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: Likewise.
5273 * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c: Likewise.
5275 2014-01-03 Joseph Myers <joseph@codesourcery.com>
5277 * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
5279 * math/auto-libm-test-in: Mark various tests with
5280 xfail-rounding:ldbl-128ibm.
5281 * math/auto-libm-test-out: Regenerated.
5283 2014-01-02 Joseph Myers <joseph@codesourcery.com>
5286 * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Adjust
5287 numbers with subnormal high part when calculating exponent.
5290 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Use fabsl not
5294 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (ln2): Initialize with
5296 (__ieee754_acoshl): Use __log1pl not __log1p.
5298 2013-01-02 Ondřej Bílka <neleai@seznam.cz>
5300 * malloc/arena.c (malloc_atfork, free_atfork, ptmalloc_lock_all)
5301 (ptmalloc_unlock_all, ptmalloc_unlock_all2, next_env_entry)
5302 (__failing_morecore, ptmalloc_init, dump_heap, new_heap)
5303 (grow_heap, heap_trim, _int_new_arena, get_free_list)
5304 (reused_arena, arena_get2): Convert to GNU style.
5305 * malloc/hooks.c (memalign_hook_ini, __malloc_check_init)
5306 (mem2mem_check, mem2chunk_check, top_check, realloc_check)
5307 (memalign_check, __malloc_set_state): Likewise.
5308 * malloc/mallocbug.c (main): Likewise.
5309 * malloc/malloc.c (__malloc_assert, malloc_init_state)
5310 (free_perturb, do_check_malloced_chunk, do_check_malloc_state)
5311 (sysmalloc, systrim, mremap_chunk, __libc_malloc, __libc_free)
5312 (__libc_realloc, _mid_memalign, _int_malloc, malloc_consolidate)
5313 (_int_realloc, _int_memalign, mtrim, musable, __libc_mallopt)
5314 (__posix_memalign, malloc_info): Likewise.
5315 * malloc/malloc.h: Likewise.
5316 * malloc/mcheck.c (checkhdr, unlink_blk, link_blk, freehook)
5317 (mallochook, memalignhook, reallochook, mabort): Likewise.
5318 * malloc/mcheck.h: Likewise.
5319 * malloc/memusage.c (update_data, me, malloc, realloc, calloc)
5320 (free, mmap, mmap64, mremap, munmap, dest): Likewise.
5321 * malloc/memusagestat.c (main, parse_opt, more_help): Likewise.
5322 * malloc/morecore.c (__default_morecore): Likewise.
5323 * malloc/mtrace.c (tr_break, lock_and_info, mtrace): Likewise.
5324 * malloc/obstack.c (_obstack_begin, _obstack_newchunk)
5325 (_obstack_allocated_p, obstack_free, _obstack_memory_used)
5326 (print_and_abort): Likewise.
5327 * malloc/obstack.h: Likewise.
5328 * malloc/set-freeres.c (__libc_freeres): Likewise.
5329 * malloc/tst-mallocstate.c (main): Likewise.
5330 * malloc/tst-mtrace.c (main): Likewise.
5331 * malloc/tst-realloc.c (do_test): Likewise.
5333 2013-01-02 Siddhesh Poyarekar <siddhesh@redhat.com>
5336 * nscd/netgroupcache.c (do_notfound): New function.
5337 (addgetnetgrentX): Use it.
5340 * nscd/netgroupcache.c (addgetnetgrentX): Break if status is
5341 NSS_STATUS_NOTFOUND.
5343 2014-01-01 Joseph Myers <joseph@codesourcery.com>
5345 * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
5346 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5348 2014-01-01 Allan McRae <allan@archlinux.org>
5350 * scripts/update-copyrights: Update configure input file suffix.
5352 * NEWS: Update copyright year.
5353 * catgets/gencat.c: Likewise.
5354 * csu/version.c: Likewise.
5355 * debug/catchsegv.sh: Likewise.
5356 * debug/pcprofiledump.c: Likewise.
5357 * debug/xtrace.sh: Likewise.
5358 * elf/ldconfig.c: Likewise.
5359 * elf/ldd.bash.in: Likewise.
5360 * elf/pldd.c: Likewise.
5361 * elf/sotruss.ksh: Likewise.
5362 * elf/sprof.c: Likewise.
5363 * iconv/iconv_prog.c: Likewise.
5364 * iconv/iconvconfig.c: Likewise.
5365 * locale/programs/locale.c: Likewise.
5366 * locale/programs/localedef.c: Likewise.
5367 * login/programs/pt_chown.c: Likewise.
5368 * malloc/memusage.sh: Likewise.
5369 * malloc/memusagestat.c: Likewise.
5370 * malloc/mtrace.pl: Likewise.
5371 * manual/libc.texinfo: Likewise.
5372 * nscd/nscd.c: Likewise.
5373 * nss/getent.c: Likewise.
5374 * nss/makedb.c: Likewise.
5375 * posix/getconf.c: Likewise.
5376 * scripts/test-installation.pl: Likewise.
5378 * All files with FSF copyright notices: Update copyright dates
5379 using scripts/update-copyrights.
5380 * intl/plural.c: Regenerated.
5381 * locale/programs/charmap-kw.h: Likewise.
5382 * locale/programs/locfile-kw.h: Likewise.
5384 2013-12-31 Mike Frysinger <vapier@gentoo.org>
5386 * sysdeps/unix/sysv/linux/configure: Regenerated.
5387 * sysdeps/unix/sysv/linux/configure.ac: Call AC_CHECK_HEADER on
5388 the linux/fanotify.h header.
5389 * sysdeps/unix/sysv/linux/tst-fanotify.c: Check if
5390 HAVE_LINUX_FANOTIFY_H is defined.
5392 2013-12-31 Siddhesh Poyarekar <siddhesh@redhat.com>
5394 * benchtests/cos-inputs: New inputs.
5395 * benchtests/sin-inputs: Likewise.
5397 * benchtests/atan-inputs: New inputs. Fix name of multiple
5398 precision fallback inputs.
5400 * benchtests/atanh-inputs: New inputs.
5401 * benchtests/tanh-inputs: Likewise.
5403 * benchtests/acosh-inputs: New inputs.
5404 * benchtests/asinh-inputs: Likewise.
5406 * benchtests/cosh-inputs: New inputs.
5407 * benchtests/sinh-inputs: Likewise.
5409 * benchtests/acos-inputs: Add more inputs.
5410 * benchtests/asin-inputs: Likewise.
5412 2013-12-30 Ville Skytta <ville.skytta@iki.fi>
5415 * manual/arith.texi: Fix spelling.
5416 * manual/charset.texi: Likewise.
5417 * manual/errno.texi: Likewise.
5418 * manual/filesys.texi: Likewise.
5419 * manual/lang.texi: Likewise.
5420 * manual/llio.texi: Likewise.
5421 * manual/locale.texi: Likewise.
5422 * manual/message.texi: Likewise.
5423 * manual/resource.texi: Likewise.
5424 * manual/search.texi: Likewise.
5425 * manual/setjmp.texi: Likewise.
5426 * manual/stdio.texi: Likewise.
5427 * manual/string.texi: Likewise.
5428 * manual/sysinfo.texi: Likewise.
5429 * manual/time.texi: Likewise.
5431 2013-12-27 Carlos O'Donell <carlos@redhat.com>
5433 * po/sl.po: New file.
5435 2013-12-27 Mike Frysinger <vapier@gentoo.org>
5437 * .gitignore: Add core/.gdbinit/.gdb_history.
5439 2013-12-27 Allan McRae <allan@archlinux.org>
5442 * sysdeps/ieee754/dbl-64/s_sin.c (csloww): Fix variable name.
5443 Reported by Il'ya Malakhov <ilmalakhov@yandex.ru>
5445 2013-12-24 Brooks Moses <bmoses@google.com>
5447 * string/string.h (__CORRECT_ISO_CPP_STRING_H_PROTO): Define for
5448 all compilers that claim C++98 compliance, not just GCC.
5449 * string/strings.h (__CORRECT_ISO_CPP_STRINGS_H_PROTO):
5452 2013-12-24 Maxim Kuvyrkov <maxim@kugelworks.com>
5454 * NEWS: Restore accidentally deleted bug-fix entries.
5456 2013-12-24 Maxim Kuvyrkov <maxim@kugelworks.com>
5457 Ondřej Bílka <neleai@seznam.cz>
5460 * malloc/malloc.c (_int_free): Perform sanity check only if we
5463 2013-12-23 Ondřej Bílka <neleai@seznam.cz>
5466 * manual/stdio.texi (String Input Conversions): Clarify that character
5467 classes are not supported.
5469 2013-12-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5471 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
5473 2013-12-22 Joseph Myers <joseph@codesourcery.com>
5476 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
5477 Calculate results for small negative arguments directly rather
5478 than using reflection formula with special underflow handling.
5480 * sysdeps/mach/hurd/Implies: Change unix/bsd/bsd4.4 to unix/bsd.
5481 * sysdeps/unix/bsd/syscalls.list (chflags): Add entry from
5482 sysdeps/unix/bsd/bsd4.4/syscalls.list.
5483 (fchflags): Likewise.
5485 (setlogin): Likewise.
5486 (sigaltstack): Likewise.
5489 (sigsetmask): Likewise.
5491 (waitpid): Likewise.
5492 * sysdeps/unix/bsd/bsd4.4/syscalls.list: Remove file.
5493 * sysdeps/unix/sysv/linux/wait3.c: Update directory of included
5495 * sysdeps/unix/bsd/bsd4.4/Makefile: Move to ...
5496 * sysdeps/unix/bsd/Makefile: ... here.
5497 * sysdeps/unix/bsd/bsd4.4/Versions: Move to ...
5498 * sysdeps/unix/bsd/Versions: ... here.
5499 * sysdeps/unix/bsd/bsd4.4/bits/sockaddr.h: Move to ...
5500 * sysdeps/unix/bsd/bits/sockaddr.h: ... here.
5501 * sysdeps/unix/bsd/bsd4.4/cmsg_nxthdr.c: Move to ...
5502 * sysdeps/unix/bsd/cmsg_nxthdr.c: ... here.
5503 * sysdeps/unix/bsd/bsd4.4/sigblock.c: Move to ...
5504 * sysdeps/unix/bsd/sigblock.c: ... here.
5505 * sysdeps/unix/bsd/bsd4.4/sigsetmask.c: Move to ...
5506 * sysdeps/unix/bsd/sigsetmask.c: ... here.
5507 * sysdeps/unix/bsd/bsd4.4/sigvec.c: Move to ...
5508 * sysdeps/unix/bsd/sigvec.c: ... here.
5509 * sysdeps/unix/bsd/bsd4.4/tcdrain.c: Move to ...
5510 * sysdeps/unix/bsd/tcdrain.c: ... here.
5511 * sysdeps/unix/bsd/bsd4.4/tcgetattr.c: Move to ...
5512 * sysdeps/unix/bsd/tcgetattr.c: ... here.
5513 * sysdeps/unix/bsd/bsd4.4/tcsetattr.c: Move to ...
5514 * sysdeps/unix/bsd/tcsetattr.c: ... here.
5515 * sysdeps/unix/bsd/bsd4.4/wait.c: Move to ...
5516 * sysdeps/unix/bsd/wait.c: ... here.
5517 * sysdeps/unix/bsd/bsd4.4/wait3.c: Move to ...
5518 * sysdeps/unix/bsd/wait3.c: ... here.
5519 * sysdeps/unix/bsd/bsd4.4/waitpid.c: Move to ...
5520 * sysdeps/unix/bsd/waitpid.c: ... here.
5522 2013-12-21 Joseph Myers <joseph@codesourcery.com>
5525 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Also set
5526 round-to-nearest for [!USE_AS_EXPM1L].
5527 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Likewise.
5528 * math/auto-libm-test-in: Do not expect cosh tests to fail. Add
5529 more tests of exp and exp10. Expect some exp10 tests to miss
5530 exceptions or fail in directed rounding modes.
5531 * math/auto-libm-test-out: Regenerated.
5532 * math/libm-test.inc (exp10_tonearest_test_data): New array.
5533 (exp10_test_tonearest): New function.
5534 (exp10_towardzero_test_data): New array.
5535 (exp10_test_towardzero): New function.
5536 (exp10_downward_test_data): New array.
5537 (exp10_test_downward): New function.
5538 (exp10_upward_test_data): New array.
5539 (exp10_test_upward): New function.
5540 (main): Call the new functions.
5541 * sysdeps/i386/fpu/libm-test-ulps: Update.
5542 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5544 2013-12-20 Joseph Myers <joseph@codesourcery.com>
5546 * math/auto-libm-test-in: Add more tests of acos, acosh, asin,
5547 asinh, atan, atan2, atanh, cbrt, cos and cosh.
5548 * math/auto-libm-test-out: Regenerated.
5549 * math/libm-test.inc (acosh_test_data): Add more tests.
5550 (atanh_test_data): Likewise.
5551 (ceil_test_data): Likewise.
5552 (copysign_test_data): Likewise.
5553 * sysdeps/i386/fpu/libm-test-ulps: Update.
5554 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5556 * timezone/checktab.awk: Update from tzcode 2013i.
5557 * timezone/private.h: Likewise.
5558 * timezone/scheck.c: Likewise.
5559 * timezone/tzfile.h: Likewise.
5560 * timezone/tzselect.ksh: Likewise.
5561 * timezone/zdump.c: Likewise.
5562 * timezone/zic.c: Likewise.
5564 * math/auto-libm-test-in: Add tests of cpow.
5565 * math/auto-libm-test-out: Regenerated.
5566 * math/libm-test.inc (cpow_test_data): Use AUTO_TESTS_cc_c.
5567 * math/gen-auto-libm-tests.c (func_calc_method): Add value
5569 (func_calc_desc): Add mpc_cc_c union field.
5570 (test_functions): Add cpow.
5571 (special_fill_2pi): New function.
5572 (special_real_inputs): Add 2pi.
5573 (calc_generic_results): Handle mpc_cc_c.
5574 * sysdeps/i386/fpu/libm-test-ulps: Update.
5575 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5577 * math/auto-libm-test-in: Add tests of ccos, ccosh, cexp, clog,
5578 csqrt, ctan and ctanh.
5579 * math/auto-libm-test-out: Regenerated.
5580 * math/libm-test.inc (TEST_COND_x86_64): New macro.
5581 (TEST_COND_x86): Likewise.
5582 (ccos_test_data): Use AUTO_TESTS_c_c.
5583 (ccosh_test_data): Likewise.
5584 (cexp_test_data): Likewise.
5585 (clog_test_data): Likewise.
5586 (csqrt_test_data): Likewise.
5587 (ctan_test_data): Likewise.
5588 (ctan_tonearest_test_data): Likewise.
5589 (ctan_towardzero_test_data): Likewise.
5590 (ctan_downward_test_data): Likewise.
5591 (ctan_upward_test_data): Likewise.
5592 (ctanh_test_data): Likewise.
5593 (ctanh_tonearest_test_data): Likewise.
5594 (ctanh_towardzero_test_data): Likewise.
5595 (ctanh_downward_test_data): Likewise.
5596 (ctanh_upward_test_data): Likewise.
5597 * math/gen-auto-libm-tests.c (func_calc_method): Add value
5599 (func_calc_desc): Add mpc_c_c union field.
5600 (FUNC_mpc_c_c): New macro.
5601 (test_functions): Add cacos, cacosh, casin, casinh, catan, catanh,
5602 ccos, ccosh, cexp, clog, clog10, csin, csinh, csqrt, ctan and
5604 (special_fill_min_subnorm_p120): New function.
5605 (special_real_inputs): Add min_subnorm_p120.
5606 (calc_generic_results): Handle mpc_c_c.
5607 * sysdeps/i386/fpu/libm-test-ulps: Update.
5608 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5610 2013-12-20 Siddhesh Poyarekar <siddhesh@redhat.com>
5612 * sysdeps/ieee754/dbl-64/s_sin.c (do_cos, do_cos_slow, do_sin)
5613 (do_sin_slow): New functions.
5614 (__sin, __cos, slow1, slow2, sloww1, sloww2, bsloww1, bsloww2)
5615 (cslow2, csloww1, csloww2): Use the new functions.
5617 * sysdeps/ieee754/dbl-64/s_sin.c (sloww1): Add new argument M.
5618 Use M to change sign of result instead of X. Assume X is
5620 (csloww1): Likewise.
5624 * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): Remove
5629 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use DA directly.
5631 (sloww1): Don't adjust sign of DX.
5632 (csloww1): Likewise.
5633 (sloww2): Use X directly and don't adjust sign of DX.
5634 (csloww2): Likewise.
5636 2013-12-19 Joseph Myers <joseph@codesourcery.com>
5638 * math/auto-libm-test-in: Add tests of cabs and carg.
5639 * math/auto-libm-test-out: Regenerated.
5640 * math/libm-test.inc (cabs_test_data): Use AUTO_TESTS_c_f.
5641 (carg_test_data): Likewise.
5642 * math/gen-auto-libm-tests.c (func_calc_method): Add value
5644 (func_calc_desc): Add mpc_c_f union field.
5645 (test_functions): Add cabs and carg.
5646 (calc_generic_results): Handle mpc_c_f.
5648 * sysdeps/powerpc/powerpc32/libgcc-compat.S
5649 [_SOFT_FLOAT || __NO_FPRS__] (__fixdfdi_v_glibc20): Do not define
5650 as a macro and a compat symbol.
5651 [_SOFT_FLOAT || __NO_FPRS__] (__fixsfdi_v_glibc20): Likewise.
5652 [_SOFT_FLOAT || __NO_FPRS__] (__fixunsdfdi_v_glibc20): Likewise.
5653 [_SOFT_FLOAT || __NO_FPRS__] (__fixunssfdi_v_glibc20): Likewise.
5654 [_SOFT_FLOAT || __NO_FPRS__] (__floatdidf_v_glibc20): Likewise.
5655 [_SOFT_FLOAT || __NO_FPRS__] (__floaddisf_v_glibc20): Likewise.
5656 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixdfdi): Do
5658 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixsfdi):
5660 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixunsdfdi):
5662 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixunssfdi):
5664 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__floaddidf):
5666 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__floaddisf):
5668 * sysdeps/powerpc/nofpu/Versions (libc): Remove __fixdfdi,
5669 __fixsfdi, __fixunsdfdi, __fixunssfdi, __floatdidf and __floatdisf
5672 2013-12-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5674 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
5676 2013-12-19 Joseph Myers <joseph@codesourcery.com>
5678 * manual/texinfo.tex: Update to version 2013-11-26.10 with
5679 trailing whitespace removed.
5680 * scripts/config.guess: Update to version 2013-11-29.
5681 * scripts/config.sub: Update to version 2013-10-01.
5683 * math/auto-libm-test-in: Add tests of sincos.
5684 * math/auto-libm-test-out: Regenerated.
5685 * math/libm-test.inc (sincos_test_data): Use AUTO_TESTS_fFF_11.
5686 * math/gen-auto-libm-tests.c (func_calc_method): Add value
5688 (func_calc_desc): Add mpfr_f_11 union field.
5689 (test_functions): Add sincos.
5690 (calc_generic_results): Handle mpfr_f_11.
5691 * sysdeps/i386/fpu/libm-test-ulps: Update.
5692 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5694 2013-12-19 Andreas Schwab <schwab@suse.de>
5696 * sysdeps/powerpc/powerpc64/power7/memchr.S: Fix argument of
5698 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
5699 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S
5700 [USE_IN_EXTENDED_LOCALE_MODEL]: Likewise.
5702 2013-12-19 Joseph Myers <joseph@codesourcery.com>
5704 * math/gen-libm-test.pl (%beautify): Remove M_* constants.
5705 * sysdeps/i386/fpu/libm-test-ulps: Update.
5706 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5709 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]: Set
5710 round-to-nearest mode when using frndint.
5711 * sysdeps/i386/fpu/s_expm1.S (__expm1): Likewise.
5712 * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
5713 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]:
5715 * math/auto-libm-test-in: Add more tests of expm1. Do not expect
5717 * math/auto-libm-test-out: Regenerated.
5718 * math/libm-test.inc (TEST_COND_x86_64): Remove macro.
5719 (TEST_COND_x86): Likewise.
5720 (expm1_tonearest_test_data): New array.
5721 (expm1_test_tonearest): New function.
5722 (expm1_towardzero_test_data): New array.
5723 (expm1_test_towardzero): New function.
5724 (expm1_downward_test_data): New array.
5725 (expm1_test_downward): New function.
5726 (expm1_upward_test_data): New array.
5727 (expm1_test_upward): New function.
5728 (main): Run the new test functions.
5729 * sysdeps/i386/fpu/libm-test-ulps: Update.
5730 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5732 * include/features.h: Update comment documenting feature test
5733 macros. Mention _DEFAULT_SOURCE in comment.
5734 [_GNU_SOURCE] (_DEFAULT_SOURCE): Undefine and redefine.
5735 [_DEFAULT_SOURCE]: Undefine and redefine _DEFAULT_SOURCE,
5736 _BSD_SOURCE and _SVID_SOURCE.
5737 [!__STRICT_ANSI__ && !_ISOC99_SOURCE && !_POSIX_SOURCE &&
5738 !_POSIX_C_SOURCE && !_XOPEN_SOURCE && !_BSD_SOURCE &&
5739 !_SVID_SOURCE]: Likewise.
5740 [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
5741 (__USE_POSIX_IMPLICITLY): Define.
5742 [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
5743 (_POSIX_SOURCE): Undefine and redefine.
5744 [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
5745 (_POSIX_C_SOURCE): Likewise.
5746 * manual/creature.texi (_DEFAULT_SOURCE): Document.
5747 (Feature Test Macros): Update documentation of default features.
5749 2013-12-19 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
5751 * benchtests/Makefile: Add bench-strtok.
5752 * benchtests/bench-strtok.c: New file: strtok benchtest.
5754 2013-12-19 Allan McRae <allan@archlinux.org>
5756 * manual/install.texi: Suppress menu for plain text output.
5757 * INSTALL: Regenerated.
5759 2013-12-18 Brooks Moses <bmoses@google.com>
5762 * misc/getauxval.c: Include errno.h.
5763 (__getauxval): Set errno to ENOENT if the requested type is not
5765 * misc/sys/auxv.h (getauxval): Document that it may set errno;
5766 don't declare with __attribute_const__.
5767 * elf/tst-auxv.c: Add tests for errno and type-not-found case.
5768 * manual/startup.texi: Document that getauxval sets errno.
5770 2013-12-18 Joseph Myers <joseph@codesourcery.com>
5772 * math/auto-libm-test-in: Add tests of jn and yn.
5773 * math/auto-libm-test-out: Regenerated.
5774 * math/libm-test.inc (jn_test_data): Use AUTO_TESTS_if_f.
5775 (yn_test_data): Likewise.
5776 * math/gen-auto-libm-tests.c (func_calc_method): Add value
5778 (func_calc_desc): Add mpfr_if_f union field.
5779 (FUNC_mpfr_if_f): New macro.
5780 (test_functions): Add jn and yn.
5781 (calc_generic_results): Assert type of second input for
5782 mpfr_ff_f. Handle mpfr_if_f.
5783 (output_for_one_input_case): Disable all checking for arguments
5784 fitting floating-point types in case of an integer argument.
5785 * sysdeps/i386/fpu/libm-test-ulps: Update.
5786 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5788 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
5789 Don't expect fegetround reference in libm.so.
5791 2013-12-17 Marcus Shawcroft <marcus.shawcroft@linaro.org>
5793 * sysdeps/ieee754/dbl-64/Makefile (CFLAGS-e_sqrt.c): Add
5794 $(config-cflags-nofma).
5796 2013-12-18 Joseph Myers <joseph@codesourcery.com>
5798 * math/auto-libm-test-in: Mark some hypot tests no-test-inline.
5799 * math/auto-libm-test-out: Regenerated.
5802 * sysdeps/ieee754/ldbl-128/e_logl.c (__ieee754_logl): Use __frexpl
5803 to determine exponent and adjust argument to have exponent of -1.
5804 * math/auto-libm-test-in: Add more tests of log, log10, log1p and
5806 * math/auto-libm-test-out: Regenerated.
5807 * sysdeps/i386/fpu/libm-test-ulps: Update.
5808 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5810 2013-12-18 Ondřej Bílka <neleai@seznam.cz>
5812 * manual/probes.texi: Remove cases when per-thread arenas are
5815 2013-12-18 Andreas Schwab <schwab@suse.de>
5817 * sysdeps/i386/i686/multiarch/strstr.c: Remove.
5818 * sysdeps/i386/i686/multiarch/strstr-c.c: Remove.
5819 * sysdeps/i386/i686/multiarch/strcasestr.c: Remove.
5820 * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: Remove.
5821 * sysdeps/i386/i686/multiarch/Makefile: Update.
5822 * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: Update.
5824 2013-12-17 Joseph Myers <joseph@codesourcery.com>
5826 * sysdeps/unix/bsd/bsd4.4/bits/errno.h: Remove file.
5827 * sysdeps/unix/bsd/bsd4.4/bits/ioctls.h: Likewise.
5829 2013-12-17 Paul Eggert <eggert@cs.ucla.edu>
5832 Support TZ transition times < 00:00:00.
5833 This is needed for version-3 tz-format files; it supports time
5834 stamps past 2037 for America/Godthab (the only entry in the tz
5835 database for which this change is relevant).
5836 * manual/time.texi (TZ Variable): Document transition times
5837 from -167:59:59 through -00:00:01.
5838 * time/tzset.c (tz_rule): Time of day is now signed.
5839 (__tzset_parse_tz): Parse negative time of day.
5841 Document TZ transition times >= 25:00:00.
5842 * manual/time.texi (TZ Variable): Document transition times from
5843 25:00:00 through 167:59:59. These are already supported, and this
5844 support will help with version-3 tz-format files.
5846 * manual/time.texi (TZ Variable): Modernize North America example
5847 to reflect current (i.e., 2007-and-later) daylight saving rules.
5849 * manual/time.texi (TZ Variable): POSIX.1 hour can be 24.
5851 2013-12-17 Joseph Myers <joseph@codesourcery.com>
5853 * sysdeps/unix/bsd/bits/posix_opt.h: Remove file.
5854 * sysdeps/unix/bsd/bits/stat.h: Likewise.
5855 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/environments.h: Likewise.
5856 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
5857 * sysdeps/unix/bsd/bsd4.4/freebsd/sys/sysmacros.h: Likewise.
5858 * sysdeps/unix/bsd/bsdstat.h: Likewise.
5859 * sysdeps/unix/bsd/clock.c: Likewise.
5860 * sysdeps/unix/bsd/i386/vfork.S: Likewise.
5861 * sysdeps/unix/bsd/i386/wait3.S: Likewise.
5862 * sysdeps/unix/bsd/init-posix.c: Likewise.
5863 * sysdeps/unix/bsd/poll.c: Likewise.
5864 * sysdeps/unix/bsd/ptsname.c: Likewise.
5865 * sysdeps/unix/bsd/seekdir.c: Likewise.
5866 * sysdeps/unix/bsd/setegid.c: Likewise.
5867 * sysdeps/unix/bsd/seteuid.c: Likewise.
5868 * sysdeps/unix/bsd/setgid.c: Likewise.
5869 * sysdeps/unix/bsd/setrgid.c: Likewise.
5870 * sysdeps/unix/bsd/setruid.c: Likewise.
5871 * sysdeps/unix/bsd/setsid.c: Likewise.
5872 * sysdeps/unix/bsd/setuid.c: Likewise.
5873 * sysdeps/unix/bsd/sigaction.c: Likewise.
5874 * sysdeps/unix/bsd/sigprocmask.c: Likewise.
5875 * sysdeps/unix/bsd/sigsuspend.c: Likewise.
5876 * sysdeps/unix/bsd/sys/reboot.h: Likewise.
5877 * sysdeps/unix/bsd/telldir.c: Likewise.
5878 * sysdeps/unix/bsd/times.c: Likewise.
5879 * sysdeps/unix/bsd/usleep.c: Likewise.
5881 * misc/Makefile (install-lib): Remove libbsd-compat.a.
5882 ($(objpfx)libbsd-compat.a): Remove rule.
5884 * include/features.h (__FAVOR_BSD): Do not define.
5885 * manual/creature.texi (_BSD_SOURCE): Do not document as enabling
5886 features conflicting with POSIX.
5887 (_GNU_SOURCE): Do not mention interaction with _BSD_SOURCE.
5888 (_BSD_SOURCE): Remove description of not being a subset of other
5889 feature test macros.
5890 * manual/job.texi (getpgrp): Do not document BSD version.
5891 (getpgid): Do not document by reference to BSD getpgrp.
5892 * posix/unistd.h [__FAVOR_BSD]: Remove conditional code.
5893 * setjmp/setjmp.h [__FAVOR_BSD]: Likewise.
5894 * signal/signal.h [__FAVOR_BSD]: Likewise.
5895 * sysdeps/gnu/netinet/tcp.h (struct tcphdr): Use anonymous unions
5896 instead of making contents conditional on [__FAVOR_BSD].
5897 * sysdeps/gnu/netinet/udp.h (struct udphdr): Likewise.
5899 2013-12-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5901 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
5903 2013-12-17 Joseph Myers <joseph@codesourcery.com>
5906 * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Adjust up
5907 values below 2**-450, not 2**-500.
5908 * math/auto-libm-test-in: Don't allow spurious underflow from
5910 * math/auto-libm-test-out: Regenerated.
5914 * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Update
5915 values of ha and hb and sort them after adjusting subnormal
5917 * sysdeps/ieee754/ldbl-128/e_hypotl.c (__ieee754_hypotl):
5919 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Update
5920 values of ea and eb and sort them after adjusting subnormal
5922 * math/auto-libm-test-in: Do not expect some hypot tests of
5923 subnormals to fail. Add more hypot tests.
5924 * math/auto-libm-test-out: Regenerated.
5926 2013-12-16 Kaz Kojima <kkojima@rr.iij4u.or.jp>
5929 * sysdeps/sh/s_fma.c: New file.
5930 * sysdeps/sh/s_fmaf.c: New file.
5931 * sysdeps/sh/soft-fp/sfp-machine.h: New file. Based on arm
5933 * sysdeps/sh/Implies: Add sh/soft-fp.
5935 2013-12-16 Roland McGrath <roland@hack.frob.com>
5937 * elf/dl-error.c (struct catch): Add new member `errcode'. Add a
5938 level of indirection to members `objname', `errstring', `malloced'.
5939 (_dl_signal_error): Store through pointers in *LCATCH rather modifying
5940 *LCATCH itself. Set *LCATCH->errcode to ERRCODE rather than passing
5941 it as the __longjmp argument (just pass 1 instead).
5942 (_dl_catch_error): Initialize C with argument pointers and address of
5943 volatile local ERRCODE rather than copying values out of C at return.
5945 2013-12-16 Joseph Myers <joseph@codesourcery.com>
5947 * math/auto-libm-test-in: Add tests of atan2, hypot and pow.
5948 * math/auto-libm-test-out: Regenerated.
5949 * math/libm-test.inc (atan2_test_data): Use AUTO_TESTS_ff_f.
5950 (hypot_test_data): Likewise.
5951 (pow_test_data): Likewise.
5952 (pow_tonearest_test_data): Likewise.
5953 * math/gen-auto-libm-tests.c (func_calc_method): Add value
5955 (func_calc_desc): Add mpfr_ff_f union field.
5956 (FUNC_mpfr_ff_f): New macro.
5957 (test_functions): Add atan2, hypot and pow.
5958 (special_fill_min): New function.
5959 (special_fill_minus_min): Likewise.
5960 (special_fill_min_subnorm): Likewise.
5961 (special_fill_minus_min_subnorm): Likewise.
5962 (special_real_inputs): Add min, -min, min_subnorm and
5964 (calc_generic_results): Handle mpfr_ff_f.
5965 * sysdeps/i386/fpu/libm-test-ulps: Update.
5966 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5968 2013-12-16 Will Newton <will.newton@linaro.org>
5970 * manual/memory.texi (Malloc Examples): Mention aligned_alloc.
5971 (Aligned Memory Blocks): Add documentation for aligned_alloc
5972 and suggest it as an alternative to posix_memalign.
5973 (Hooks for Malloc): Document __memalign_hook is also called
5974 for aligned_alloc. (Summary of Malloc): Add summary for
5975 aligned alloc. Document __memalign_hook is also called
5978 2013-12-16 Will Newton <will.newton@linaro.org>
5980 * manual/memory.texi (Malloc Examples): Clarify default
5981 alignment documentation. Suggest posix_memalign rather
5982 than memalign or valloc.
5983 (Aligned Memory Blocks): Remove suggestion to use memalign
5984 or valloc. Remove obsolete comment about BSD.
5985 Document memalign errno values and mark the function obsolete.
5986 Document posix_memalign returned error codes. Mark valloc
5987 as obsolete. (Hooks for Malloc): __memalign_hook is also
5988 called for posix_memalign and valloc.
5989 (Summary of Malloc): Add posix_memalign to function summary.
5990 __memalign_hook is also called for posix_memalign and valloc.
5992 2013-12-16 Siddhesh Poyarekar <siddhesh@redhat.com>
5994 * sysdeps/ieee754/dbl-64/s_sin.c (TAYLOR_SINCOS): Rename to
5998 (sloww): Use mynumber union. Expand ternary operator into
6000 (cslow): use mynumber union.
6002 2013-12-16 Allan McRae <allan@archlinux.org>
6004 * configure.ac: Set AUTOCONF when maintainer-mode is not used.
6005 * configure: Regenerated.
6007 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update file name.
6010 * configure.ac: Added --enable-maintainer-mode. Check for
6011 autoconf when enabled.
6012 * configure: Regenerated.
6014 * nscd/nscd.service: New file.
6015 * nscd/nscd.tmpfiles: New file.
6017 2013-12-14 Ondřej Bílka <neleai@seznam.cz>
6020 * sysdeps/x86_64/multiarch/strstr-sse2-unaligned.S: New file
6021 * sysdeps/x86_64/multiarch/strstr-c.c: Moved to ...
6022 * sysdeps/x86_64/multiarch/strstr.c: ... here.
6023 (strstr): Add __strstr_sse2_unaligned ifunc.
6024 * sysdeps/x86_64/multiarch/strcasestr-c.c: Moved to ...
6025 * sysdeps/x86_64/multiarch/strcasestr.c ... here.
6026 (strcasestr): Remove __strcasestr_sse42 ifunc.
6027 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Remove.
6028 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
6029 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
6031 2013-12-14 Kaz Kojima <kkojima@rr.iij4u.or.jp>
6033 * sysdeps/sh/sh4/fpu/bits/fenv.h: Move to ...
6034 * sysdeps/sh/bits/fenv.h: ... here.
6035 * sysdeps/sh/sh4/fpu/bits: Remove directory.
6037 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6039 * NEWS: Mention ppc64 STT_GNU_IFUNC support.
6041 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add hypot and
6042 hypotf multiarch implementations.
6043 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot-power7.c: New file.
6044 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot-ppc64.c: New file.
6045 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot.c: New file:
6046 multiarch hypot for PPC64.
6047 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf-power7.c: New file.
6048 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf-ppc64.c: New file.
6049 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf.c : New file:
6050 multiarch hypotf for PPC64.
6052 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add modf and
6053 modff multiarch implementations.
6054 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-power5+.c: New file.
6055 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-ppc64.c: New file.
6056 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf.c: New file:
6057 multiarch modf for PPC64.
6058 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff-power5+.c: New file.
6059 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff-ppc64.c: New file.
6060 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff.c : New file:
6061 multiarch modff for PPC64.
6063 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add logb, logbf,
6064 and logl multiarch implementations.
6065 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-power7.c: New file.
6066 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-ppc64.c: New file.
6067 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb.c: New file:
6068 multiarch logb for PPC64.
6069 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf-power7.c: New file.
6070 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf-ppc64.c: New file.
6071 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf.c: New file:
6072 multiarch logb for PPC64.
6073 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl-power7.c: New file.
6074 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl-ppc64.c: New file.
6075 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl.c: New file:
6076 multiarch logb for PPC64.
6078 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isinf and
6079 isinff multiarch implementation.
6080 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power7.S: New
6082 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-ppc64.S: New file.
6083 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c: New file:
6084 multiarch isinf for PPC64.
6085 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff-ppc64.c: New
6087 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff.c: New file:
6088 multiarch isinff for PPC64.
6090 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add finite and
6091 finitef multiarch implementation.
6092 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power7.S: New
6094 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-ppc64.S: New file.
6095 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c: New file:
6096 multiarch finite for PPC64.
6097 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef-ppc64.c: New
6099 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef.c: New file:
6100 multiarch finitef for PPC64.
6102 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llrint and
6103 lrint multiarch implementation.
6104 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power6x.S: New
6106 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-ppc64.S: New file.
6107 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint.c: New file:
6108 multiarch llrint for PPC64.
6109 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_lrint.c: New file:
6110 multiarch lrint for PPC64.
6112 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add copysign/
6113 copysignf multiarch implementation.
6114 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-power6.S: New
6116 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-ppc64.S: New
6118 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign.c: New file:
6119 multiarch copysign for PPC64.
6120 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysignf.c: New file:
6121 multiarch copysignf for PPC64.
6123 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add trunc/truncf
6124 multiarch implementation.
6125 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-power5+.S: New
6127 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-ppc64.S: New
6129 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-power5+.S: New
6131 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-ppc64.S: New
6133 multiarch llround for PPC64.
6134 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc.c: New file:
6135 multiarch trunc for PPC64.
6136 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf.c: New file:
6137 multiarch truncf for PPC64.
6139 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add round/roundf
6140 multiarch implementation.
6141 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-power5+.S: New
6143 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-ppc64.S: New
6145 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-power5+.S: New
6147 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-ppc64.S: New
6149 multiarch llround for PPC64.
6150 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round.c: New file:
6151 multiarch round for PPC64.
6152 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf.c: New file:
6153 multiarch roundf for PPC64.
6155 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add floor/floorf
6156 multiarch implementation.
6157 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-power5+.S: New
6159 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-ppc64.S: New
6161 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-power5+.S: New
6163 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-ppc64.S: New
6165 multiarch llround for PPC64.
6166 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor.c: New file:
6167 multiarch floor for PPC64.
6168 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf.c: New file:
6169 multiarch floorf for PPC64.
6171 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add ceil/ceilf
6172 multiarch implementation.
6173 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-power5+.S: New
6175 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-ppc64.S: New
6177 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-power5+.S: New
6179 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-ppc64.S: New
6181 multiarch llround for PPC64.
6182 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil.c: New file:
6183 multiarch ceil for PPC64.
6184 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf.c: New file:
6185 multiarch ceilf for PPC64.
6187 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llround
6188 multiarch implementation.
6189 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power5+.S: New
6191 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power6x.S: New
6193 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-ppc64.S: New
6195 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c: New file:
6196 multiarch llround for PPC64.
6197 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_lround.c: New file:
6198 multiarch lround for PPC64.
6200 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isnan
6201 multiarch implementation.
6202 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power5.S: New file.
6203 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6.S: New file.
6204 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6x.S: New
6206 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power7.S: New file.
6207 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-ppc64.S: New file.
6208 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c: New file:
6209 multiarch isnan for PPC64.
6210 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnanf.c: New file:
6211 multiarch isnanf for PPC64.
6213 * sysdeps/powerpc/powerpc64/power5+/fpu/multiarch/Implies: New file.
6214 * sysdeps/powerpc/powerpc64/power5/fpu/multiarch/Implies: New file.
6215 * sysdeps/powerpc/powerpc64/power6/fpu/multiarch/Implies: New file.
6216 * sysdeps/powerpc/powerpc64/power6x/fpu/multiarch/Implies: New file.
6217 * sysdeps/powerpc/powerpc64/power7/fpu/multiarch/Implies: New file
6218 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/Implies: Remove.
6220 * sysdeps/powerpc/fpu/w_sqrt.c: Remove file
6221 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
6222 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
6223 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
6225 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add stpcpy
6226 multiarch implementations.
6227 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
6228 (__libc_ifunc_impl_list): Likewise.
6229 * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power7.c: New file.
6230 * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.c: New file.
6231 * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c : New file:
6232 multiarch stpcpy for PPC64.
6234 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcpy
6235 multiarch implementations.
6236 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
6237 (__libc_ifunc_impl_list): Likewise.
6238 * sysdeps/powerpc/powerpc64/multiarch/strcpy-power7.c: New file.
6239 * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.c: New file.
6240 * sysdeps/powerpc/powerpc64/multiarch/strcpy.c : New file:
6241 multiarch strcpy for PPC64.
6243 * string/wordcopy.c (_wordcopy_fwd_aligned): Add define to
6244 redefine function name.
6245 (_wordcopy_fwd_dest_aligned): Likewise.
6246 (_wordcopy_bwd_aligned): Likewise.
6247 (_wordcopy_bwd_dest_aligned): Likewise.
6248 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wordcopy
6249 multiarch implementations.
6250 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
6251 (__libc_ifunc_impl_list): Likewise.
6252 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power6.c: New file.
6253 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power7.c: New file.
6254 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-ppc64.c: New file.
6255 * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c : New file:
6256 multiarch wcscpy for PPC64.
6258 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcscpy
6259 multiarch implementations.
6260 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
6261 (__libc_ifunc_impl_list): Likewise.
6262 * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power6.c: New file.
6263 * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power7.c: New file.
6264 * sysdeps/powerpc/powerpc64/multiarch/wcscpy-ppc64.c: New file.
6265 * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c : New file:
6266 multiarch wcscpy for PPC64.
6268 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcsrchr
6269 multiarch implementations.
6270 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
6271 (__libc_ifunc_impl_list): Likewise.
6272 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power6.c: New file.
6273 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power7.c: New file.
6274 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-ppc64.c: New file.
6275 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr.c : New file:
6276 multiarch wcsrchr for PPC64.
6278 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcschr
6279 multiarch implementations.
6280 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
6281 (__libc_ifunc_impl_list): Likewise.
6282 * sysdeps/powerpc/powerpc64/multiarch/wcschr-power6.c: New file.
6283 * sysdeps/powerpc/powerpc64/multiarch/wcschr-power7.c: New file.
6284 * sysdeps/powerpc/powerpc64/multiarch/wcschr-ppc64.c: New file.
6285 * sysdeps/powerpc/powerpc64/multiarch/wcschr.c : New file:
6286 multiarch wcschr for PPC64.
6288 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strchrnul
6289 multiarch implementations.
6290 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
6291 (__libc_ifunc_impl_list): Likewise.
6292 * sysdeps/powerpc/powerpc64/multiarch/strchrnul-power7.S: New file.
6293 * sysdeps/powerpc/powerpc64/multiarch/strchrnul-ppc64.c: New file.
6294 * sysdeps/powerpc/powerpc64/multiarch/strchrnul.c: New file:
6295 multiarch strchrnul for PPC64.
6297 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strchr multiarch
6299 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
6300 (__libc_ifunc_impl_list): Likewise.
6301 * sysdeps/powerpc/powerpc64/multiarch/rtld-strchr.S: New file.
6302 * sysdeps/powerpc/powerpc64/multiarch/strchr-power7.S: New file.
6303 * sysdeps/powerpc/powerpc64/multiarch/strchr-ppc64.S: New file.
6304 * sysdeps/powerpc/powerpc64/multiarch/strchr.c: New file: multiarch
6307 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncmp multiarch
6309 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
6310 (__libc_ifunc_impl_list): Likewise.
6311 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power4.S: New file.
6312 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power7.S: New file.
6313 * sysdeps/powerpc/powerpc64/multiarch/strncmp-ppc64.S: New file.
6314 * sysdeps/powerpc/powerpc64/multiarch/strncmp.c: New file: multiarch
6317 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncasecmp
6318 multiarch implementations.
6319 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
6320 (__libc_ifunc_impl_list): Likewise.
6321 * sysdeps/powerpc/powerpc64/multiarch/strncase-power7.c: New file.
6322 * sysdeps/powerpc/powerpc64/multiarch/strncase.c: New file: multiarch
6323 strncasecmp for PPC64.
6324 * sysdeps/powerpc/powerpc64/multiarch/strncase_l-power7.c: New file.
6325 * sysdeps/powerpc/powerpc64/multiarch/strncase_l.c: New file:
6326 multiarch strncasecmp_l for PPC64.
6328 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcasecmp
6329 multiarch implementations.
6330 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
6331 (__libc_ifunc_impl_list): Likewise.
6332 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: New file.
6333 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp.c: New file:
6334 multiarch strcasecmp for PPC64.
6335 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: New
6337 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l.c: new file:
6338 multiarch strcasecmp_l for PPC64.
6340 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strnlen multiarch
6342 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
6343 (__libc_ifunc_impl_list): Likewise.
6344 * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: New file.
6345 * sysdeps/powerpc/powerpc64/multiarch/strnlen-ppc64.c: New file.
6346 * sysdeps/powerpc/powerpc64/multiarch/strnlen.c: New file: multiarch
6349 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strlen multiarch
6351 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
6352 (__libc_ifunc_impl_list): Likewise.
6353 * sysdeps/powerpc/powerpc64/multiarch/strlen-power7.S: New file.
6354 * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S: New file.
6355 * sysdeps/powerpc/powerpc64/multiarch/strlen.c: New file: multiarch
6358 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add rawmemch multiarch
6360 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
6361 (__libc_ifunc_impl_list): Likewise.
6362 * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-power7.S: New file.
6363 * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-ppc64.c: New file.
6364 * sysdeps/powerpc/powerpc64/multiarch/rawmemchr.c: New file: multiarch
6365 rawmemrchr for PPC64.
6367 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memrchr multiarch
6369 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
6370 (__libc_ifunc_impl_list): Likewise.
6371 * sysdeps/powerpc/powerpc64/multiarch/memrchr-power7.S: New file.
6372 * sysdeps/powerpc/powerpc64/multiarch/memrchr-ppc64.c: New file.
6373 * sysdeps/powerpc/powerpc64/multiarch/memrchr.c: New file: multiarch
6376 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memchr multiarch
6378 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
6379 (__libc_ifunc_impl_list): Likewise.
6380 * sysdeps/powerpc/powerpc64/multiarch/memchr-power7.S: New file.
6381 * sysdeps/powerpc/powerpc64/multiarch/memchr-ppc64.c: New file.
6382 * sysdeps/powerpc/powerpc64/multiarch/memchr.c: New file: multiarch
6385 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add mempcpy multiarch
6387 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
6388 (__libc_ifunc_impl_list): Likewise.
6389 * sysdeps/powerpc/powerpc64/multiarch/mempcpy-power7.S: New file.
6390 * sysdeps/powerpc/powerpc64/multiarch/mempcpy-ppc64.c: New file.
6391 * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c: New file: multiarch
6394 * sysdeps/powerpc/powerpc64/memset.S (NO_BZERO_IMPL): Add macro to
6395 avoid cretion of __bzero symbol.
6396 * sysdeps/powerpc/powerpc64/power4/memset.S (NO_BZERO_IMPL):
6398 * sysdeps/powerpc/powerpc64/power6/memset.S (NO_BZERO_IMPL):
6400 * sysdeps/powerpc/powerpc64/power7/memset.S (NO_BZERO_IMPL):
6402 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memset/bzero
6403 multiarch implementations.
6404 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
6405 (__libc_ifunc_impl_list): Likewise.
6406 * sysdeps/powerpc/powerpc64/multiarch/bzero-power4.S: New file.
6407 * sysdeps/powerpc/powerpc64/multiarch/bzero-power6.S: New file.
6408 * sysdeps/powerpc/powerpc64/multiarch/bzero-power7.S: New file.
6409 * sysdeps/powerpc/powerpc64/multiarch/bzero.c: New file: multiarch
6411 * sysdeps/powerpc/powerpc64/multiarch/memset-power4.S: New file.
6412 * sysdeps/powerpc/powerpc64/multiarch/memset-power6.S: New file.
6413 * sysdeps/powerpc/powerpc64/multiarch/memset-power7.S: New file.
6414 * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S: New file.
6415 * sysdeps/powerpc/powerpc64/multiarch/memset.c: New file: multiarch
6417 * sysdeps/powerpc/powerpc64/multiarch/rtld-memset.c: New file.
6419 * string/memcmp.c (memcmp): Using macro to redefine symbol name.
6420 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memcpy multiarch
6422 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
6423 (__libc_ifunc_impl_list): Likewise.
6424 * sysdeps/powerpc/powerpc64/multiarch/memcmp-power4.S: New file.
6425 * sysdeps/powerpc/powerpc64/multiarch/memcmp-power7.S: New file.
6426 * sysdeps/powerpc/powerpc64/multiarch/memcmp-ppc64.c: New file.
6427 * sysdeps/powerpc/powerpc64/multiarch/memcmp.c: New file: multiarch
6430 * sysdeps/powerpc/powerpc64/multiarch/Makefile: New file to support
6431 multiarch for POWER/PPC64.
6432 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Likewise.
6433 * sysdeps/powerpc/powerpc64/multiarch/init-arch.h: Likewise.
6434 * sysdeps/powerpc/powerpc64/multiarch/memcpy-a2.S: New file.
6435 * sysdeps/powerpc/powerpc64/multiarch/memcpy-cell.S: New file.
6436 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power4.S: New file.
6437 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power6.S: New file.
6438 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power7.S: New file.
6439 * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S: New file.
6440 * sysdeps/powerpc/powerpc64/multiarch/memcpy.c: New file: multiarch
6443 * sysdeps/powerpc/powerpc64/power4/fpu/Implies: New file.
6444 * sysdeps/powerpc/powerpc64/power4/fpu/multiarch/Implies: New File.
6445 * sysdeps/powerpc/powerpc64/power4/multiarch/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/power5/Implies: New File.
6449 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: New File.
6450 * sysdeps/powerpc/powerpc64/power5/multiarch/Implies: New File.
6451 * sysdeps/powerpc/powerpc64/power6/fpu/Implies: New File.
6452 * sysdeps/powerpc/powerpc64/power6/multiarch/Implies: New File.
6453 * sysdeps/powerpc/powerpc64/power7/fpu/Implies: New File.
6454 * sysdeps/powerpc/powerpc64/power7/multiarch/Implies: New File.
6455 * sysdeps/powerpc/powerpc64/power8/fpu/Implies: New File.
6456 * sysdeps/powerpc/powerpc64/power8/fpu/multiarch/Implies: New File.
6457 * sysdeps/powerpc/powerpc64/power8/multiarch/Implies: New File.
6458 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: Remove.
6459 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/Implies: Remove.
6460 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: Remove.
6461 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: Remove.
6462 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: Remove.
6463 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: Remove.
6464 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Remove.
6466 2013-12-12 Kaz Kojima <kkojima@rr.iij4u.or.jp>
6468 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Use $$ver.
6470 2013-12-12 Siddhesh Poyarekar <siddhesh@redhat.com>
6472 * benchtests/Makefile (bench): Add exp2 and log2.
6473 (LDLIBS-bench-exp2): Add -lm.
6474 (LDLIBS-bench-log2): Likewise.
6475 * benchtests/exp2-inputs: New inputs file.
6476 * benchtests/log2-inputs: New inputs file.
6477 * benchtests/log-inputs: Add new inputs.
6478 * benchtests/tan-inputs: Likewise.
6480 2013-12-11 Siddhesh Poyarekar <siddhesh@redhat.com>
6482 * sysdeps/ieee754/dbl-64/s_sin.c (t22): Consolidate const
6484 (slow1, slow2, sloww1, sloww2, bsloww1, bsloww2, cslow2, csloww1)
6485 (csloww2): ... from here.
6487 * sysdeps/ieee754/dbl-64/usncs.h: Define constants as double
6488 instead of structures.
6489 * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): Adjust.
6490 (POLYNOMIAL): Likewise.
6491 (TAYLOR_SLOW): Likewise.
6499 (bsloww1): Likewise.
6500 (bsloww2): Likewise.
6503 (csloww1): Likewise.
6504 (csloww2): Likewise.
6506 2013-12-10 Ondřej Bílka <neleai@seznam.cz>
6508 * malloc/malloc.c (MALLOC_COPY, MALLOC_ZERO): Delete.
6509 (__malloc_assert, __libc_realloc, __libc_calloc, _int_realloc):
6510 Expand MALLOC_COPY and MALLOC_ZERO to memcpy and memset.
6511 * malloc/hooks.c (realloc_check): Likewise.
6513 * malloc/Makefile (CPPFLAGS-malloc.c): Remove -DPER_THREAD flag.
6514 * malloc/arena.c: Remove PER_THREAD conditional.
6515 [!PER_THREAD]: Remove code.
6516 (ptmalloc_unlock_all2): Likewise.
6517 (ptmalloc_init): Likewise.
6518 (_int_new_arena): Likewise.
6519 (arena_get2): Likewise.
6520 * malloc/hooks.c (__malloc_get_state): Likewise.
6521 (__malloc_set_state): Likewise.
6522 * malloc/malloc.c: Likewise.
6523 (struct malloc_state): Likewise.
6524 (struct malloc_par): Likewise.
6525 (__libc_realloc): Likewise.
6526 (__libc_mallopt): Likewise.
6528 2013-12-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6530 * Versions.def (libm): Add GLIBC_2.3 and GLIBC_2.19.
6532 2013-12-09 Ondřej Bílka <neleai@seznam.cz>
6534 * malloc/malloc.c (alloc_perturb, free_perturb): Convert from
6535 macro to a function. Check for zero perturb_byte.
6536 (_int_malloc, _int_free): Remove zero perturb_byte checks.
6538 * malloc/malloc.c: (force_reg): Remove.
6539 (__malloc_assert, __libc_malloc, __libc_free, __libc_realloc)
6540 (_mid_memalign, __libc_calloc, sysmalloc, systrim): Replace
6541 force_reg by atomic_forced_read.
6542 * malloc/arena.c (ptmalloc_init): Likewise.
6543 * malloc/hooks.c (top_check): Likewise.
6545 2013-12-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6547 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
6549 2013-12-09 Markus Trippelsdorf <markus@trippelsdorf.de>
6551 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
6553 2013-12-08 Joseph Myers <joseph@codesourcery.com>
6555 * math/auto-libm-test-in: Add tests of lgamma.
6556 * math/auto-libm-test-out: Regenerated.
6557 * math/libm-test.inc (M_LOG_SQRT_PIl): Remove macro.
6558 (M_LOG_2_SQRT_PIl): Likewise.
6559 (lgamma_test_data): Use AUTO_TESTS_f_f1.
6560 * math/gen-auto-libm-tests.c (func_calc_method): Add value
6562 (func_calc_desc): Add mpfr_f_f1 union field.
6571 (FUNC_mpfr_f_f): Use new macros FUNC, ARGS1, RET1 and CALC.
6572 (test_functions): Add lgamma.
6573 (calc_generic_results): Handle mpfr_f_f1.
6574 * sysdeps/i386/fpu/libm-test-ulps: Update.
6575 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6577 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6579 * sysdeps/powerpc/powerpc64/power7/add_n.S: New file: optimized
6580 __mpn_add_n for PowerPC64/POWER7.
6581 * sysdeps/powerpc/powerpc64/power7/sub_n.S: New file: optimized
6582 __mpn_sub_n for PowerPC64/POWER7.
6584 * sysdeps/powerpc/powerpc64/addmul_1.S: New file: optimized
6585 __mpn_addmul_1 for PowerPC64.
6586 * sysdeps/powerpc/powerpc64/submul_1.S: New file: optimized
6587 __mpn_submul_1 for PowerPC64.
6588 * sysdeps/powerpc/powerpc64/lshift.S: New file: optimized __mpn_lshift
6590 * sysdeps/powerpc/powerpc64/mul_1.S: New file: optimized __mpn_mul_1
6593 2013-12-06 Fernando J. V. da Silva <fernandojvdasilva@gmail.com>
6596 * malloc/malloc.c: Exit systrim() if pad is bigger than heap top size.
6598 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6600 * NEWS: Mention ppc32/power4+ STT_GNU_IFUNC support.
6602 * sysdeps/powerpc/powerpc32/power5+/fpu/multiarch/Implies: New file:
6603 add multiarch folders.
6604 * sysdeps/powerpc/powerpc32/power5+/multiarch/Implies: Likewise.
6605 * sysdeps/powerpc/powerpc32/power5/fpu/multiarch/Implies: Likewise.
6606 * sysdeps/powerpc/powerpc32/power5/multiarch/Implies: Likewise.
6607 * sysdeps/powerpc/powerpc32/power6/fpu/multiarch/Implies: Likewise.
6608 * sysdeps/powerpc/powerpc32/power6/multiarch/Implies: Likewise.
6609 * sysdeps/powerpc/powerpc32/power6x/fpu/multiarch/Implies: Likewise.
6610 * sysdeps/powerpc/powerpc32/power6x/multiarch/Implies: Likewise.
6611 * sysdeps/powerpc/powerpc32/power7/fpu/multiarch/Implies: Likewise.
6612 * sysdeps/powerpc/powerpc32/power7/multiarch/Implies: Likewise.
6613 * sysdeps/powerpc/powerpc32/power8/fpu/multiarch/Implies: Likewise.
6614 * sysdeps/powerpc/powerpc32/power8/multiarch/Implies: Likewise.
6615 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/Implies: Remove.
6616 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: Remove.
6617 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: Remove.
6618 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: Remove.
6619 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: Remove.
6620 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Remove.
6622 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add
6623 __ieee754_hypot and __ieee754_hypotf multiarch implementations.
6624 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot-power7.c:
6626 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot-ppc32.c:
6628 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot.c: New file:
6629 multiarch __ieee754_hypot for PowerPC32.
6630 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf-power7.c:
6632 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf-ppc32.c:
6634 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf.c: New file:
6635 multiarch __ieee754_hypotf for PowerPC32.
6637 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Define
6638 long_double_symbol only if __logbl is defined.
6639 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Moved to ...
6640 * sysdeps/powerpc/power7/fpu/s_logb.c: ... here.
6641 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: Move to ...
6642 * sysdeps/powerpc/power7/fpu/s_logbf.c: ... here.
6643 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: Move to ...
6644 * sysdeps/powerpc/power7/fpu/s_logbl.c: ... here.
6645 * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: Adjust to use new
6646 path for implementation.
6647 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: Likewise.
6648 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: Likewise.
6649 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add logbf,
6650 logb, and logbl multiarch implementations for PowerPC32.
6651 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-power7.c: New
6653 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-ppc32.c: New
6655 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb.c: New file:
6656 multiarch logb for PowerPC32.
6657 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf-power7.c: New
6659 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf-ppc32.c: New
6661 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf.c: New file:
6662 multiarch logbf for PowerPC32.
6663 * sysdeps/powerpc/power4/fpu/multiarch/s_logbl-power7.c: New file.
6664 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbl-ppc32.c: New
6666 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbl.c: New file:
6667 multiarch logbl implementation for PowerPC32.
6669 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add modf
6670 and modff multiarch implementations.
6671 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-power5+.c:
6673 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-ppc32.c:
6675 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf.c: New file:
6676 multiarch modf for PowerPC32.
6677 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff-power5+.c:
6679 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff-ppc32.c:
6681 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff.c: New file:
6682 multiarch modff for PowerPC32.
6684 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add lrint
6685 and lrintf multiarch implementations.
6686 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-power6x.S:
6688 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-ppc32.S:
6690 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint.c: New file:
6691 multiarch lrint for PowerPC32.
6692 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrintf.c: New
6693 file: multiarch lrintf for PowerPC32.
6695 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add lround
6696 and lroundf multiarch implementations.
6697 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power5+.S:
6699 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power6.S:
6701 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-ppc32.S:
6703 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround.c: New file:
6704 multiarch lround for PowerPC32.
6705 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lroundf.c: New
6706 file: multiarch lroundf for PowerPC32.
6708 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add
6709 copysign and copysignf multiarch implementations.
6710 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-power6.S:
6712 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-ppc32.S:
6714 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign.c: New
6715 file: multiarch copysign for PowerPC32.
6716 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysignf.c: New
6717 file: multiarch copysignf for PowerPC32.
6719 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add trunc
6720 and truncf multiarch implementations.
6721 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc-power5+.S:
6723 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc-ppc32.S: New
6725 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc.c: New file:
6726 multiarch trunc for PowerPC32.
6727 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf-power5+.S:
6729 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf-ppc32.S:
6731 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf.c: New file:
6732 multiarch truncf for PowerPC32.
6734 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add round
6735 and roundf multiarch implementations.
6736 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round-power5+.S:
6738 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round-ppc32.S: New
6740 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round.c: New file:
6741 multiarch round for PowerPC32.
6742 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf-power5+.S:
6744 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf-ppc32.S:
6746 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf.c: New file:
6747 multiarch roundf for PowerPC32.
6749 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add floor
6750 and floorf multiarch implementations.
6751 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-power5+.S:
6753 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-ppc32.S: New
6755 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor.c: New file:
6756 multiarch floor for PowerPC32.
6757 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-power5+.S:
6759 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-ppc32.S:
6761 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf.c: New file:
6762 multiarch floorf for PowerPC32.
6764 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add ceil
6765 and ceilf multiarch implementations.
6766 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-power5+.S:
6768 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-ppc32.S: New
6770 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil.c: New file:
6771 multiarch ceil for PowerPC32.
6772 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-power5+.S:
6774 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-ppc32.S: New
6776 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf.c: New file:
6777 multiarch ceilf for PowerPC32.
6779 * sysdeps/ieee754/dbl-64/s_finite.c (__finite): Redefine it if FINITE
6781 * sysdeps/ieee754/flt-32/s_finitef.c (__finitef): Redefine it if
6783 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add finite
6784 and finitef multiarch implementations.
6785 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-power7.S:
6787 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-ppc32.c: New
6789 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite.c: New file:
6790 multiarch finite for PowerPC32.
6791 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef-ppc32.c:
6793 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef.c: New
6794 file: multiarch finitef for PowerPC32.
6796 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add isinf
6797 and isinff multiarch implementations.
6798 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-power7.S: New
6800 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-ppc32.c: New
6802 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf.c: New file:
6803 multiarch isinf for PowerPC32.
6804 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff-ppc32.c:
6806 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff.c: New file:
6807 multiarch isinff for PowerPC32.
6809 * sysdeps/powerpc/powerpc32/fpu/s_isnan.S (__isnan): Only implement
6810 alias when __isnan is defined.
6811 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add isnan
6812 and isnanf multiarch implementations.
6813 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power5.S: New
6815 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power6.S: New
6817 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power7.S: New
6819 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-ppc32.S: New
6821 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan.c: New file:
6822 multiarch isnan for PowerPC32.
6823 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power6.S:
6825 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power7.S:
6827 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf.c: New file:
6828 multiarch isnanf for PowerPC32.
6830 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add sqrt
6831 and sqrtf multiarch implementations.
6832 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-power5.S: New
6834 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-ppc32.S: New
6836 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt.c: New file:
6837 multiarch sqrt for PowerPC32.
6838 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-power5.S: New
6840 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-ppc32.S: New
6842 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf.c: New file:
6843 multiarch sqrtf for PowerPC32.
6845 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add llround
6846 and llroundf multiarch implementations.
6847 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power5+.S:
6849 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power6.S:
6851 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-ppc32.S:
6853 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround.c: New
6854 file: multiarch llround for PowerPC32.
6855 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llroundf.c: New
6856 file: multiarch llroundf for PowerPC32.
6858 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: New file:
6859 multiarch PowerPC32 fpu implementations.
6860 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-power6.S:
6862 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-ppc32.S:
6864 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint.c: New file:
6865 multiarch llrint for PowerPC32.
6866 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-power6.S:
6868 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-ppc32.S:
6870 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf.c: New
6873 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/Implies: Remove.
6875 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power6.c: New
6877 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power7.c: New
6879 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-ppc32.c: New
6881 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy.c: New file:
6882 multiarch wordcopy for PPC32.
6883 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcscpy
6885 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
6886 (__libc_ifunc_impl_list): Likewise.
6887 * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Move ...
6888 * sysdeps/powerpc/power4/wordcopy.c: ... to here.
6889 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Move ...
6890 * sysdeps/powerpc/power6/wordcopy.c: ... to here.
6891 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Remove uneeded file.
6892 * sysdeps/powerpc/powerpc64/power4/wordcopy.c: Likewise.
6894 * wcsmbs/wcscpy.c (wcscpy): Using macro to redefine symbol name
6895 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power6.c: New
6897 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power7.c: New
6899 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-ppc32.c: New
6901 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy.c: New file:
6902 multiarch wcscpy for PPC32.
6903 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcscpy
6905 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
6906 (__libc_ifunc_impl_list): Likewise.
6907 * sysdeps/powerpc/powerpc32/power6/wcsrchr.c: Move ...
6908 * sysdeps/powerpc/power6/wcsrchr.c: ... to here.
6909 * sysdeps/powerpc/powerpc64/power6/wcscpy.c: Adjust to use
6910 sysdeps/powerpc/power6/wcscpy.c.
6912 * wcsmbs/wcsrchr.c (wcsrchr): Using macro to redefine symbol name
6913 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power6.c: New
6915 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power7.c: New
6917 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-ppc32.c: New
6919 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr.c: New file:
6920 multiarch wcsrchr for PPC32.
6921 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcschr
6923 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
6924 (__libc_ifunc_impl_list): Likewise.
6925 * sysdeps/powerpc/powerpc32/power6/wcsrchr.c: Move ...
6926 * sysdeps/powerpc/power6/wcsrchr.c: ... to here.
6927 * sysdeps/powerpc/powerpc64/power6/wcsrchr.c: Adjust to use
6928 sysdeps/powerpc/power6/wcsrchr.c.
6930 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power6.c: New
6932 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power7.c: New
6934 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c: New file.
6935 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c: New file:
6936 multiarch wcschr for PPc32.
6937 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcschr
6939 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
6940 (__libc_ifunc_impl_list): Likewise.
6941 * sysdeps/powerpc/powerpc32/power6/wcschr.c: Move ...
6942 * sysdeps/powerpc/power6/wcschr.c: ... to here.
6943 * sysdeps/powerpc/powerpc64/power6/wcschr.c: Adjust to use
6944 sysdeps/powerpc/power6/wcschr.c.
6946 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-strchr.S: New file.
6947 * sysdeps/powerpc/powerpc32/power4/multiarch/strchr-power7.S: New
6949 * sysdeps/powerpc/powerpc32/power4/multiarch/strchr-ppc32.S: New file.
6950 * sysdeps/powerpc/powerpc/powerpc32/power4/multiarch/strchr.c: New
6951 file: multiarch strchr for PPC32.
6952 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strchr
6954 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
6955 (__libc_ifunc_impl_list): Likewise.
6957 * string/strchrnul.c (__strchrnul): Using macro to redefine symbol
6959 * sysdeps/powerpc/powerpc32/power4//multiarch/strchrnul-power7.S: New
6961 * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul-ppc32.c: New
6963 * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul.c: New file:
6964 multiarch strchrnul for PPC32.
6965 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strchrnul
6967 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
6968 (__libc_ifunc_impl_list): Likewise.
6970 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase-power7.c: New
6972 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase.c: New file:
6973 multiarch strncasecmp for PPC32.
6974 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l-power7.c: New
6976 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l.c: New file:
6977 multiarch strncasecmp_l for PPC32.
6978 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added
6979 strncasecmp multiarch objects.
6980 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
6981 (__libc_ifunc_impl_list): Likewise.
6983 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp-power7.S: New
6985 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp.c: New file:
6986 multiarch strncasecmp for PPC32.
6987 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l-power7.S:
6989 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l.c: New file:
6990 multiarch strcasecmp_l for PPC32.
6991 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strcasecmp
6993 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
6994 (__libc_ifunc_impl_list): Likewise.
6996 * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-power7.S: New
6998 * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-ppc32.S: New
7000 * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp.c: New file:
7001 multiarch strncmp for PPC32.
7002 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strncmp
7004 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
7005 (__libc_ifunc_impl_list): Likewise.
7007 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-strnlen.c: New file.
7008 * sysdeps/powerpc/powerpc32//power4/multiarch/strnlen-power7.S: New
7010 * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen-ppc32.c: New file.
7011 * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen.c: New file.
7012 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strnlen
7014 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
7015 (__libc_ifunc_impl_list): Likewise.
7017 * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-power7.S: New
7019 * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-ppc32.S: New
7021 * sysdeps/powerpc/powerpc32/power4/multiarch/strlen.c: New file.
7022 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strlen
7024 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
7025 (__libc_ifunc_impl_list): Likewise.
7027 * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr-power7.S: New
7029 * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr-ppc32.c: New
7031 * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr.c: New file:
7032 multiarch rawmemchr for PPC32.
7033 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added rawmemchr
7035 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
7036 (__libc_ifunc_impl_list): Likewise.
7038 * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-power7.S: New
7040 * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-ppc32.c: New
7042 * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr.c: New
7043 file: memrchr multiarch for PPC32.
7044 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added memrchr
7046 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
7047 (__libc_ifunc_impl_list): Likewise.
7049 * string/memchr.c (__memchr): Using macro to redefine symbol name.
7050 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-power7.S: New
7052 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c: New File.
7053 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c: New file:
7054 multiarch memchr for PPC32.
7055 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memchr
7057 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
7058 (__libc_ifunc_impl_list): Likewise.
7060 * string/mempcpy.c (__mempcpy): Using macro to redefine symbol name.
7061 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy-power7.S: New
7063 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy-ppc32.c: New
7065 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c: New
7066 file: multiarch mempcpy for PPC32.
7067 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add mempcpy
7069 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
7070 (__libc_ifunc_impl_list): Likewise.
7072 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-power6.S: New file.
7073 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-power7.S: New file.
7074 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-ppc32.S: New file.
7075 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: New file:
7076 multiarch bzero for PPC32.
7077 * sysdeps/powerpc/powerpc32/power4/multiarch/memset-power6.S: New
7079 * sysdeps/powerpc/powerpc32/power4/multiarch/memset-power7.S: New
7081 * sysdeps/powerpc/powerpc32/power4/multiarch/memset-ppc32.S: New file.
7082 * sysdeps/powerpc/powerpc/powerpc32/power4/multiarch/memset.c: New
7083 file: multiarch memset for PPC32.
7084 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-memset.S: New file.
7085 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add bzero and
7086 memset multiarch objects.
7087 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
7088 (__libc_ifunc_impl_list): Likewise.
7090 * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-power7.S: New
7092 * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-ppc32.S: New file.
7093 * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp.c: multiarch
7095 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-memcmp.S: New file.
7096 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memcmp
7098 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
7099 (__libc_ifunc_impl_list): Likewise.
7101 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-a2.S: New file.
7102 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-cell.S: New file.
7103 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-power6.S: New
7105 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-power7.S: New
7107 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-ppc32.S: New
7109 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy.c: New file:
7110 multiarch memcpy for PPC32.
7111 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memcpy
7113 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
7114 (__libc_ifunc_impl_list): Likewise.
7116 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: New file to
7117 support multiarch for POWER/PPC32.
7118 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c:
7120 * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h: Likewise.
7121 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: Remove
7122 Implies file to make multiarch folder appers before the fpu and
7123 default folder for power4 configuration.
7125 2013-12-06 Siddhesh Poyarekar <siddhesh@redhat.com>
7127 * scripts/bench.pl: Append volatile keyword to type.
7129 2013-12-05 Kaz Kojima <kkojima@rr.iij4u.or.jp>
7131 * sysdeps/sh/sotruss-lib.c: New file.
7132 * sysdeps/unix/sysv/linux/sh/nptl/c++-types.data: New file.
7134 2013-12-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7136 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
7138 2013-12-05 Joseph Myers <joseph@codesourcery.com>
7141 * math/w_tgamma.c: Include <errno.h>.
7142 (__tgamma): Use __glibc_unlikely. Set errno on underflow to 0.
7143 * math/w_tgammaf.c: Include <errno.h>.
7144 (__tgammaf): Use __glibc_unlikely. Set errno on underflow to 0.
7145 * math/w_tgammal.c: Include <errno.h>.
7146 (__tgammal): Use __glibc_unlikely. Set errno on underflow to 0.
7147 * math/auto-libm-test-in: Do not allow missing errno on tgamma
7148 underflow. Add more tgamma tests.
7149 * math/auto-libm-test-out: Regenerated.
7150 * sysdeps/i386/fpu/libm-test-ulps: Update.
7151 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7153 * math/auto-libm-test-in: Add tests of log, log10, log1p, log2,
7154 sin, sinh, tan, tanh, tgamma, y0 and y1.
7155 * math/auto-libm-test-out: Regenerated.
7156 * math/libm-test.inc (TEST_COND_x86_64): New macro.
7157 (TEST_COND_x86): Likewise.
7158 (M_E2l): Remove macro.
7160 (M_2_SQRT_PIl): Likewise.
7161 (M_SQRT_PIl): Likewise.
7162 (M_1_DIV_El): Likewise.
7163 (log_test_data): Use AUTO_TESTS_f_f.
7164 (log10_test_data): Likewise.
7165 (log1p_test_data): Likewise.
7166 (log2_test_data): Likewise.
7167 (sin_test_data): Likewise.
7168 (sin_tonearest_test_data): Likewise.
7169 (sin_towardzero_test_data): Likewise.
7170 (sin_downward_test_data): Likewise.
7171 (sin_upward_test_data): Likewise.
7172 (sinh_test_data): Likewise.
7173 (sinh_tonearest_test_data): Likewise.
7174 (sinh_towardzero_test_data): Likewise.
7175 (sinh_downward_test_data): Likewise.
7176 (sinh_upward_test_data): Likewise.
7177 (tan_test_data): Likewise.
7178 (tan_tonearest_test_data): Likewise.
7179 (tan_towardzero_test_data): Likewise.
7180 (tan_downward_test_data): Likewise.
7181 (tan_upward_test_data): Likewise.
7182 (tanh_test_data): Likewise.
7183 (tgamma_test_data): Likewise.
7184 (y0_test_data): Likewise.
7185 (y1_test_data): Likewise.
7186 * math/gen-auto-libm-tests.c (special_fill_pi_4): New function.
7187 (special_real_inputs): Add pi/4.
7188 * sysdeps/i386/fpu/libm-test-ulps: Update.
7189 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7191 2013-12-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7193 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Add "longjmp" and
7194 "longjmp_target" static probes.
7195 (__longjmp): Rename to __longjmp_symbol.
7196 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
7197 * sysdeps/powerpc/powerpc32/__longjmp.S: Define __longjmp_symbol based
7198 on which longjmp to generate.
7199 * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
7200 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Add "setjmp" static
7202 (__sigsetjmp): Rename to __sigsetjmp_symbol.
7203 (__sigjmp_save): Rename to __sigjmp_save_symbol.
7204 * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
7205 * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Define __sigsetjmp_symbol
7206 and __sigjmp_save_symbol based on which sigsetjmp to generated.
7207 * sysdeps/powerpc/powerpc32/setjmp.S: Likewise
7208 * sysdeps/unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Define
7209 __longjmp_symbol based on which __longjmp to generate.
7210 * sysdeps/powerpc/powerpc64/setjmp-common.S: Add "setjmp" static
7212 (setjmp): Rename to setjmp_symbol.
7213 (__sigsetjmp): Rename to __sigsetjmp_symbol.
7214 (_setjmp): Rename to _setjmp_symbol.
7215 (__sigsetjmp): Rename to __sigsetjmp_symbol.
7216 * sysdeps/powerpc/powerpc64/setjmp.S: Define setjmp_symbol,
7217 _setjmp_symbol, __sigsetjmp_symbol, and __sigjmp_save_symbol based on
7218 which setjmp to generate.
7219 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Add "longjmp" and
7220 "longjmp_target" static probes.
7222 2013-12-05 Siddhesh Poyarekar <siddhesh@redhat.com>
7224 * benchtests/README: Add note about output arguments.
7225 * benchtests/bench-sincos.c: Remove file.
7226 * benchtests/sincos-inputs: New file.
7227 * scripts/bench.pl: Identify output arguments and define
7228 static variables for them.
7230 * debug/stpncpy_chk.c (__stpncpy_chk): Remove unused variables.
7233 * Makefile (INSTALL): Add install-plain.texi as the primary
7235 * manual/install-plain.texi: New file.
7236 * manual/install.texi: Include node directive only for
7237 non-plaintext output.
7239 2013-12-04 Joseph Myers <joseph@codesourcery.com>
7241 * stdlib/longlong.h: Update from GCC.
7245 * math/w_j0.c (y0): Raise FE_DIVBYZERO on zero argument.
7246 * math/w_j0f.c (y0f): Likewise.
7247 * math/w_j0l.c (__y0l): Likewise.
7248 * math/w_j1.c (y1): Likewise.
7249 * math/w_j1f.c (y1f): Likewise.
7250 * math/w_j1l.c (__y1l): Likewise
7251 * math/w_jn.c (yn): Likewise.
7252 * math/w_jnf.c (ynf): Likewise.
7253 * sysdeps/ieee754/k_standard.c (__kernel_standard): Use ERANGE for
7254 Bessel function pole errors in _POSIX_ mode. Use NAN as return
7255 value for Bessel function domain errors outside _SVID_ mode.
7256 Adjust sign of return value for yn (negative integer, 0).
7257 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Use division
7258 by zero in return for negative x and set sign appropriately for
7260 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Likewise.
7261 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
7262 * math/libm-test.inc (y0_test_data): Add more tests and adjust
7263 expectations in error cases.
7264 (y1_test_data): Likewise.
7265 (yn_test_data): Likewise.
7266 * sysdeps/i386/fpu/libm-test-ulps: Update.
7267 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7269 2013-11-12 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
7271 * sysdeps/unix/sysv/linux/powerpc/Makefile (abi-variants): Rename
7272 "64" to "64-v1". Add "64-v2".
7273 (abi-64-options): Rename to ...
7274 (abi-64-v1-options): ... this. Redefine _CALL_ELF.
7275 (abi-64-condition): Rename to ...
7276 (abi-64-v1-condition): ... this. Add _CALL_ELF check.,
7277 (abi-64-ld-soname): Rename to ...
7278 (abi-64-v1-ld-soname): ... this.
7279 (abi-64-v2-options): Define.
7280 (abi-64-v2-condition): Likewise.
7281 (abi-64-v2-ld-soname): Likewise.
7282 * sysdeps/unix/sysv/linux/powerpc/ldconfig.h
7283 (SYSDEP_KNOWN_INTERPRETER_NAMES): Add "/lib64/ld64.so.2".
7284 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: Delete file.
7285 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac: New file.
7286 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Generate.
7288 2013-11-12 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
7289 Alan Modra <amodra@gmail.com>
7291 * sysdeps/powerpc/bits/link.h (La_ppc64v2_regs, La_ppc64v2_retval):
7292 New versions for use with the ELFv2 ABI.
7293 (la_ppc64v2_gnu_pltenter, la_ppc64v2_gnu_pltexit): Add prototypes.
7294 * sysdeps/powerpc/lsdodefs.h (struct La_ppc64v2_regs): Add forward
7296 (struct La_ppc64v2_retval): Likewise.
7297 (ARCH_PLTENTER_MEMBERS): Add ppc64v2_gnu_pltenter.
7298 (ARCH_PLTEXIT_MEMBERS): Add ppc64v2_gnu_pltexit.
7299 * sysdeps/powerpc/powerpc64/dl-machine.h (ARCH_LA_PLTENTER): Define
7300 to ppc64v2_gnu_pltenter if _CALL_ELF == 2.
7301 (ARCH_LA_PLTEXIT): Define to ppc64v2_gnu_pltexit if _CALL_ELF == 2.
7302 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
7303 Do not save or restore CR.
7304 (FRAME_SIZE, VR_RTN): Provide updated values for _CALL_ELF == 2.
7305 (_dl_profile_resolve): Do no save or restore CR. Support extended
7306 return values for ELFv2 ABI. Fix location of FPR return registers.
7307 * sysdeps/powerpc/powerpc64/tst-audit.h (pltenter, pltexit): Provide
7308 updated values for _CALL_ELF == 2.
7309 (La_regs, La_retval, int_retval): Likewise.
7311 2013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
7313 * sysdeps/powerpc/powerpc64/sysdep.h (FRAME_MIN_SIZE): Define.
7314 (FRAME_MIN_SIZE_PARM): Likewise.
7315 (FRAME_BACKCHAIN): Likewise.
7316 (FRAME_CR_SAVE): Likewise.
7317 (FRAME_LR_SAVE): Likewise.
7318 (FRAME_TOC_SAVE): Likewise.
7319 (FRAME_PARM_SAVE): Likewise.
7320 (FRAME_PARM1_SAVE, FRAME_PARM2_SAVE, FRAME_PARM3_SAVE,
7321 FRAME_PARM4_SAVE, FRAME_PARM5_SAVE, FRAME_PARM6_SAVE,
7322 FRAME_PARM7_SAVE, FRAME_PARM8_SAVE, FRAME_PARM9_SAVE): Likewise.
7323 (call_mcount_parm_offset): New macro.
7324 (SAVE_ARG, REST_ARG, CFI_SAVE_ARG): Use it.
7325 (PROF): Use symbolic stack frame offsets.
7326 (TAIL_CALL_SYSCALL_ERROR): Likewise.
7327 * sysdeps/powerpc/powerpc64/dl-trampoline.S (FRAME_SIZE, INT_PARMS):
7328 Redefine in terms of FRAME_MIN_SIZE.
7329 (_dl_runtime_resolve): Use symbolic stack frame offsets.
7330 (_dl_profile_resolve): Likewise. Update comment.
7331 * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI__setjmp): Use
7332 symbols stack frame offsets.
7333 (__sigsetjmp): Likewise.
7334 * sysdeps/powerpc/powerpc64/__longjmp-common.S (__longjmp): Likewise.
7335 * sysdeps/powerpc/powerpc64/ppc-mcount.S (_mcount): Likewise.
7336 * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Likewise.
7337 * sysdeps/powerpc/powerpc64/crtn.S (_init, _fini): Likewise.
7339 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ucontext_i.sym
7340 (FRAME_BACKCHAIN): Remove.
7341 (FRAME_CR_SAVE): Likewise.
7342 (FRAME_LR_SAVE): Likewise.
7343 (FRAME_COMPILER_DW): Likewise.
7344 (FRAME_LINKER_DW): Likewise.
7345 (FRAME_TOC_SAVE): Likewise.
7346 (FRAME_PARM_SAVE): Likewise.
7347 (FRAME_PARM1_SAVE, FRAME_PARM2_SAVE, FRAME_PARM3_SAVE)
7348 (FRAME_PARM4_SAVE, FRAME_PARM5_SAVE, FRAME_PARM6_SAVE)
7349 (FRAME_PARM7_SAVE, FRAME_PARM8_SAVE, FRAME_PARM9_SAVE): Likewise.
7350 * sysdeps/unix/sysv/linux/powerpc/powerpc64/____longjmp_chk.S
7351 (CHECK_SP): Use symbolic stack frame offsets.
7352 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Use "red
7353 zone" instead of caller's parameter save area for temp storage.
7354 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
7355 Likewise. Also, use symbolic stack frame offsets.
7356 * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (FRAMESIZE,
7357 stackblock): Redefine for _CALL_ELF == 2 to save parameters into
7358 our own stack frame instead of the caller's.
7359 (__socket): Use symbolic stack frame offsets.
7361 2013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
7362 Alan Modra <amodra@gmail.com>
7364 * elf/elf.h (DT_PPC64_OPT, PPC64_OPT_TLS, PPC64_OPT_MULTI_TOC):
7366 (STO_PPC64_LOCAL_BIT, STO_PPC64_LOCAL_MASK)
7367 (PPC64_LOCAL_ENTRY_OFFSET): Define.
7368 * sysdeps/powerpc/powerpc64/dl-machine.h (ppc64_local_entry_offset):
7370 (elf_machine_fixup_plt): Call it.
7371 (elf_machine_plt_conflict): Likewise. Add map, sym_map, and
7373 (elf_machine_rela): Update call to elf_machine_plt_conflict.
7374 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve)
7375 (_dl_profile_resolve) [_CALL_ELF == 2]: Restore caller's TOC into
7376 r2 before calling target.
7378 2013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
7379 Alan Modra <amodra@gmail.com>
7381 * sysdeps/powerpc/powerpc64/sysdep.h [_CALL_ELF == 2]
7382 (PPC64_LOAD_FUNCPTR, DOT_LABEL, BODY_LABEL, ENTRY_2, END_2): New
7383 versions of macros to support ELFv2 ABI.
7384 (LOCALENTRY): New macro.
7385 (ENTRY, EALIGN): Use it.
7386 * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Use LOCALENTRY.
7387 * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI__setjmp): Do not
7388 fall through into ENTRY entry point.
7389 * libc/sysdeps/powerpc/powerpc64/dl-machine.h (Elf64_FuncDesc):
7390 Only define if _CALL_ELF != 2.
7392 (elf_machine_matches_host): Verify ABI version matches.
7393 (RTLD_START): Use LOCALENTRY.
7394 (elf_machine_type_class): Use SHN_UNDEF PLT handling for ELFv2 ABI.
7395 (PLT_INITIAL_ENTRY_WORDS): New version for _CALL_ELF != 2.
7396 (PLT_ENTRY_WORDS): New macro.
7397 (GLINK_INITIAL_ENTRY_WORDS, GLINK_ENTRY_WORDS): Likewise.
7398 (elf_machine_runtime_setup): Support ELFv2 ABI.
7399 (elf_machine_fixup_plt): Likewise.
7400 (elf_machine_plt_conflict): Likewise.
7401 (resolve_ifunc): Likewise.
7402 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_irela): Likewise.
7403 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET):
7405 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ldsodefs.h
7406 (DL_ADDR_SYM_MATCH): Only define if _CALL_ELF != 2.
7407 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
7408 (makecontext): Support ELFv2 ABI.
7409 * elf/elf.h (EF_PPC64_ABI): Define.
7411 2013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
7413 * sysdeps/powerpc/powerpc64/sysdep.h
7414 (PPC64_LOAD_FUNCPTR) [ASSEMBLER]: New assembler macro.
7415 (ENTRY_1) [ASSEMBLER]: Do not switch to .text section here ...
7416 (ENTRY) [ASSEMBLER]: ... but instead here ...
7417 (EALIGN) [ASSEMBLER]: ... and here.
7418 (PPC64_LOAD_FUNCPTR) [!ASSEMBLER]: New macro.
7419 (ENTRY_1) [!ASSEMBLER]: New macro; set up .opd entry.
7420 (ENTRY_2) [!ASSEMBLER]: Use it.
7421 * sysdeps/powerpc/powerpc64/dl-machine.h (RTLD_START): Update for
7422 ENTRY_2 changes. Use PPC64_LOAD_FUNCPTR.
7423 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve)
7424 (_dl_profile_resolve): Use PPC64_LOAD_FUNCPTR.
7425 * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Use ENTRY_2.
7426 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (clone):
7427 Use PPC64_LOAD_FUNCPTR.
7429 * sysdeps/powerpc/tls.h (tcbhead_t): Add __private_ss field.
7431 2013-12-04 Alan Modra <amodra@gmail.com>
7433 * elf/elf.h (R_PPC64_TLSGD, R_PPC64_TLSLD, R_PPC64_TOCSAVE): Define.
7434 (R_PPC64_ADDR16_HIGH, R_PPC64_ADDR16_HIGHA): Likewise.
7435 (R_PPC64_TPREL16_HIGH, R_PPC64_TPREL16_HIGHA): Likewise.
7436 (R_PPC64_DTPREL16_HIGH, R_PPC64_DTPREL16_HIGHA): Likewise.
7438 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Add
7439 overflow checking for R_PPC64_ADDR16_HI, R_PPC64_ADDR16_HA,
7440 R_PPC64_TPREL16_HI, and R_PPC64_TPREL16_HA.
7441 Support new R_PPC64_ADDR16_HIGH, R_PPC64_ADDR16_HIGHA,
7442 R_PPC64_TPREL16_HIGH, and R_PPC64_TPREL16_HIGHA relocations.
7443 Fix overflow checking for R_PPC64_ADDR30 and R_PPC64_ADDR32.
7445 2013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
7447 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
7448 (__makecontext): Fix incorrect CFI when backtracing out of
7449 context created via makecontext.
7450 * sysdeps/unix/sysv/linux/powerpc/powerpc64/secontext.S
7451 (__setcontext): Fix incorrect CFI during switch to new context.
7452 (__novec_setcontext): Likewise.
7454 2013-12-04 Ondřej Bílka <neleai@seznam.cz>
7457 * time/strptime_l.c (__strptime_internal): Allow modifiers
7459 * time/tst-strptime.c (day_tests): Add testcase.
7461 2013-12-04 Siddhesh Poyarekar <siddhesh@redhat.com>
7463 * scripts/bench.pl: Skip over blank lines.
7465 2013-12-04 Paul Eggert <eggert@cs.ucla.edu>
7468 * manual/time.texi (Calendar Time): Clarify what timezone functions
7471 2013-12-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7473 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
7475 2013-12-04 Ondřej Bílka <neleai@seznam.cz>
7477 * debug/memcpy_chk.c (__memcpy_chk): Use call instead of custom
7479 * debug/memmove_chk.c (MEMMOVE_CHK): Likewise.
7480 * debug/mempcpy_chk.c (__mempcpy_chk): Likewise.
7481 * debug/memset_chk.c (__memset_chk): Likewise.
7482 * debug/stpncpy_chk.c (__stpncpy_chk): Likewise.
7483 * debug/strncpy_chk.c: Likewise.
7485 2013-12-03 Joseph Myers <joseph@codesourcery.com>
7489 * sysdeps/ieee754/dbl-64/e_exp.c: Include <float.h>.
7490 (__ieee754_exp): For possibly underflowing results, check size of
7491 result and force underflow exception if required.
7492 * math/auto-libm-test-in: Add more tests of exp.
7493 * math/auto-libm-test-out: Regenerated.
7494 * sysdeps/i386/fpu/libm-test-ulps: Update.
7495 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7498 * math/w_exp2.c (__exp2): Handle a zero result as underflow.
7499 * math/w_exp2f.c (__exp2f): Likewise.
7500 * math/w_exp2l.c (__exp2l): Likewise.
7501 * math/auto-libm-test-in: Do not allow missing errno on exp2
7503 * math/auto-libm-test-out: Regenerated.
7505 2013-12-03 Ondřej Bílka <neleai@seznam.cz>
7508 * sysdeps/unix/sysv/linux/shm_open.c (shm_open): Correctly
7509 handle filename validation.
7510 * rt/tst-shm.c (do_test): Do not skip a test when shm_open fails.
7513 2013-12-03 Joseph Myers <joseph@codesourcery.com>
7516 * sysdeps/ieee754/dbl-64/s_erf.c: Include <errno.h> and <float.h>.
7517 (__erfc): Set errno to ERANGE when returning 0 or tiny * tiny.
7518 * sysdeps/ieee754/flt-32/s_erff.c: Include <errno.h> and
7520 (__erfcf): Set errno to ERANGE when returning 0 or tiny * tiny.
7521 * sysdeps/ieee754/ldbl-128/s_erfl.c: Include <errno.h>.
7522 (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
7523 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Include <errno.h>.
7524 (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
7525 * sysdeps/ieee754/ldbl-96/s_erfl.c: Include <errno.h>.
7526 (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
7527 * math/auto-libm-test-in: Don't allow missing errno from erfc.
7528 Add more erfc tests.
7529 * math/auto-libm-test-out: Regenerated.
7530 * sysdeps/i386/fpu/libm-test-ulps: Update.
7531 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7533 * math/auto-libm-test-in: Add tests of erf, erfc, exp, exp10,
7534 exp2, expm1, j0 and j1.
7535 * math/auto-libm-test-out: Regenerated.
7536 * math/libm-test.inc (erf_test_data): Use AUTO_TESTS_f_f.
7537 (erfc_test_data): Likewise.
7538 (exp_test_data): Likewise.
7539 (exp_tonearest_test_data): Likewise.
7540 (exp_towardzero_test_data): Likewise.
7541 (exp_downward_test_data): Likewise.
7542 (exp_upward_test_data): Likewise.
7543 (exp10_test_data): Likewise.
7544 (exp2_test_data): Likewise.
7545 (expm1_test_data): Likewise.
7546 (j0_test_data): Likewise.
7547 (j1_test_data): Likewise.
7548 * math/gen-auto-libm-tests.c: Mention "xfail-rounding" in comment.
7549 (input_flag_type): Add flag_xfail_rounding.
7550 (input_flags): Add xfail-rounding.
7551 (adjust_real): Assert mpfr_number_p not mpfr_regular_p.
7552 (output_for_one_input_case): Handle flag_xfail_rounding.
7553 * sysdeps/i386/fpu/libm-test-ulps: Update.
7554 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7556 2013-12-03 Aurelien Jarno <aurelien@aurel32.net>
7559 * locale/loadarchive.c (_nl_load_locale_from_archive): Avoid
7562 2013-12-03 Siddhesh Poyarekar <siddhesh@redhat.com>
7565 * include/stap-probe.h [!USE_STAP_PROBE && !__ASSEMBLER__]
7566 (LIBC_PROBE): Change definition to call STAP_PROBE* macros.
7567 (STAP_PROBE0): New macro.
7568 (STAP_PROBE1): Likewise.
7569 (STAP_PROBE2): Likewise.
7570 (STAP_PROBE3): Likewise.
7571 (STAP_PROBE4): Likewise.
7573 2013-12-02 Ondřej Bílka <neleai@seznam.cz>
7575 * manual/llio.texi (Memory-mapped I/O): Add shm_open and shm_close.
7577 2013-12-02 Steve Ellcey <sellcey@mips.com>
7579 * benchtests/Makefile (bench): Add sqrt.
7580 (LDLIBS-bench-sqrt): New.
7581 * benchtests/sqrt-input: New.
7583 2013-12-02 Pavel Simerda <psimerda@redhat.com>
7585 * sysdeps/posix/getaddrinfo.c (GAIH_OKIFUNSPEC): Remove macro.
7586 (GAIH_EAI): Likewise.
7587 (gaih_inet_serv): Don't use GAIH_OKIFUNSPEC.
7588 (gaih_inet): Likewise.
7589 (getaddrinfo): Don't use GAIH_EAI.
7591 * sysdeps/posix/getaddrinfo.c (UNIX_PATH_MAX): Remove macro.
7592 (struct gaih): Remove definition.
7594 2013-12-02 Siddhesh Poyarekar <siddhesh@redhat.com>
7596 * nss/nss_files/files-hosts.c (_nss_files_gethostbyname4_r):
7597 Use HERRNOP directly.
7599 2013-12-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7601 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
7603 2013-11-30 Joseph Myers <joseph@codesourcery.com>
7605 * math/gen-auto-libm-tests.c (test_functions): Add more
7606 single-argument functions.
7607 (special_fill_pi_2): New function.
7608 (special_fill_minus_pi_2): Likewise.
7609 (special_fill_pi_6): Likewise.
7610 (special_fill_minus_pi_6): Likewise.
7611 (special_fill_pi_3): Likewise.
7612 (special_fill_2pi_3): Likewise.
7613 (special_fill_e): Likewise.
7614 (special_fill_1_e): Likewise.
7615 (special_fill_e_minus_1): Likewise.
7616 (special_real_inputs): Add more special inputs.
7617 (output_for_one_input_case): Do not require ERANGE on underflow to
7618 zero if round-to-nearest result does not underflow to zero, unless
7619 exact results required.
7620 * math/auto-libm-test-in: Add tests of acos, acosh, asin, asinh,
7621 atan, atanh, cbrt, cos and cosh.
7622 * math/auto-libm-test-out: Regenerated.
7623 * math/libm-test.inc (acos_test_data): Use AUTO_TESTS_f_f.
7624 (acos_tonearest_test_data): Likewise.
7625 (acos_towardzero_test_data): Likewise.
7626 (acos_downward_test_data): Likewise.
7627 (acos_upward_test_data): Likewise.
7628 (acosh_test_data): Likewise.
7629 (asin_test_data): Likewise.
7630 (asin_tonearest_test_data): Likewise.
7631 (asin_towardzero_test_data): Likewise.
7632 (asin_upward_test_data): Likewise.
7633 (asinh_test_data): Likewise.
7634 (atan_test_data): Likewise.
7635 (atanh_test_data): Likewise.
7636 (cbrt_test_data): Likewise.
7637 (cos_test_data): Likewise.
7638 (cos_tonearest_test_data): Likewise.
7639 (cos_towardzero_test_data): Likewise.
7640 (cos_downward_test_data): Likewise.
7641 (cos_upward_test_data): Likewise.
7642 (cosh_test_data): Likewise.
7643 (cosh_tonearest_test_data): Likewise.
7644 (cosh_towardzero_test_data): Likewise.
7645 (cosh_downward_test_data): Likewise.
7646 (cosh_upward_test_data): Likewise.
7647 * sysdeps/i386/fpu/libm-test-ulps: Update.
7648 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7650 2013-11-29 Joseph Myers <joseph@codesourcery.com>
7653 * math/w_exp10.c (__exp10): Handle a zero result as underflow.
7654 * math/w_exp10f.c (__exp10f): Likewise.
7655 * math/w_exp10l.c (__exp10l): Likewise.
7656 * math/libm-test.inc (exp10_test_data): Add more tests and expect
7657 errno settings in existing tests.
7660 * sysdeps/i386/fpu/e_sqrt.S (__ieee754_sqrt): Do fsqrt with
7661 precision control set to double precision.
7662 * sysdeps/i386/fpu/w_sqrt.c: New file.
7663 * math/auto-libm-test-in: Add more tests.
7664 * math/auto-libm-test-out: Update.
7666 * math/libm-test.inc (sqrt_tonearest_test_data): New variable.
7667 (sqrt_test_tonearest): New function.
7668 (sqrt_towardzero_test_data): New variable.
7669 (sqrt_test_towardzero): New function.
7670 (sqrt_downward_test_data): New variable.
7671 (sqrt_test_downward): New function.
7672 (sqrt_upward_test_data): New variable.
7673 (sqrt_test_upward): New function.
7674 (main): Call the new functions.
7676 * math/gen-auto-libm-tests.c: New file.
7677 * math/auto-libm-test-in: Likewise.
7678 * math/auto-libm-test-out: New generated file.
7679 * math/gen-libm-test.pl ($auto_input, %auto_tests): New global
7681 (%beautify): Add generated representations of zero.
7682 (top level): Set $auto_input and call parse_auto_input.
7683 (beautify): Remove trailing "f" from hex float constants.
7684 (parse_args): Handle XFAIL_TEST.
7685 (convert_condition): New function.
7686 (or_value): Likewise.
7687 (or_cond_value): Likewise.
7688 (generate_testfile): Handle AUTO_TESTS_* lines.
7689 (parse_auto_input): New function.
7690 * math/libm-test.inc (XFAIL_TEST): New macro.
7691 (ERRNO_UNCHANGED): Update value.
7692 (ERRNO_EDOM): Likewise.
7693 (ERRNO_ERANGE): Likewise.
7694 (IGNORE_RESULT): Likewise.
7695 (TEST_COND_flt_32): New macro.
7696 (TEST_COND_dbl_64): Likewise.
7697 (TEST_COND_ldbl_96_intel): Likewise.
7698 (TEST_COND_ldbl_96_m68k): Likewise.
7699 (TEST_COND_ldbl_128): Likewise.
7700 (TEST_COND_ldbl_128ibm): Likewise.
7701 (TEST_COND_long32): Likewise.
7702 (TEST_COND_long64): Likewise.
7703 (TEST_COND_before_rounding): Likewise.
7704 (TEST_COND_after_rounding): Likewise.
7705 (enable_test): Handle XFAIL_TEST flag.
7706 (sqrt_test_data): Use AUTO_TESTS_f_f for tests of finite inputs
7707 with finite results.
7708 * math/Makefile ($(objpfx)libm-test.stmp): Depend on
7711 2013-11-29 Siddhesh Poyarekar <siddhesh@redhat.com>
7712 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
7715 * sysdeps/s390/dl-tls.h (__TLS_GET_ADDR): Invoke
7716 __tls_get_addr_internal instead of __tls_get_offset in order to
7717 avoid GOT pointer dependency. Make rtld export
7718 __tls_get_addr_internal@@GLIBC_PRIVATE while still hiding
7719 __tls_get_addr since we are a __tls_get_offset platform.
7720 * sysdeps/s390/s390-64/tls-macros.h (TLS_IE PIC): Don't rely on
7721 GOT pointer being set up before.
7722 * sysdeps/s390/s390-32/tls-macros.h (TLS_IE PIC): Likewise.
7724 2013-11-28 Joseph Myers <joseph@codesourcery.com>
7726 * manual/math.texi (Errors in Math Functions): Document accuracy
7730 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Remove file.
7731 * sysdeps/ieee754/ldbl-96/e_ilogbl.c: Likewise.
7732 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
7733 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
7734 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
7735 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
7736 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
7737 * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
7738 * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
7739 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
7740 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
7741 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
7742 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
7743 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
7744 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
7745 * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
7747 * sysdeps/powerpc/nofpu/atomic-feclearexcept.c: New file.
7748 * sysdeps/powerpc/nofpu/atomic-feholdexcept.c: Likewise.
7749 * sysdeps/powerpc/nofpu/atomic-feupdateenv.c: Likewise.
7750 * sysdeps/powerpc/nofpu/flt-rounds.c: Likewise.
7751 * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feclearexcept.c:
7753 * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feholdexcept.c:
7755 * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feupdateenv.c:
7757 * sysdeps/powerpc/powerpc32/e500/nofpu/flt-rounds.c: Likewise.
7758 * sysdeps/powerpc/nofpu/Makefile [$(subdir) = soft-fp]
7759 (sysdep_routines): Add atomic-feholdexcept, atomic-feclearexcept,
7760 atomic-feupdateenv and flt-rounds.
7761 * sysdeps/powerpc/nofpu/Versions (libc): Add
7762 __atomic_feholdexcept, __atomic_feclearexcept,
7763 __atomic_feupdateenv and __flt_rounds to GLIBC_2.19.
7764 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h
7765 (__feraiseexcept_soft): Declare and use libc_hidden_proto here.
7766 * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c
7767 (__feraiseexcept_soft): Don't declare and use libc_hidden_proto
7769 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libc.abilist:
7772 * manual/arith.texi (FP Exceptions): Document that exceptions may
7773 not be raised when matherr is used.
7774 (Math Error Reporting): Document overflow in directed rounding
7775 modes. Document that errno may not be set when finite values are
7776 returned on overflow. Document intent to set errno on underflow
7777 only for underflow to zero.
7780 * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Set
7781 round-to-nearest then adjust result for other rounding modes.
7782 * include/fenv.h (fegetround): Use libm_hidden_proto.
7783 * math/fegetround.c (fegetround): Use libm_hidden_def.
7784 * sysdeps/i386/fpu/fegetround.c (fegetround): Likewise.
7785 * sysdeps/powerpc/fpu/fegetround.c (fegetround): Likewise.
7786 * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Likewise.
7787 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c (fegetround):
7789 * sysdeps/s390/fpu/fegetround.c (fegetround): Likewise.
7790 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
7791 * sysdeps/sparc/fpu/fegetround.c (fegetround): Likewise.
7792 * sysdeps/x86_64/fpu/fegetround.c (fegetround): Likewise.
7794 2013-11-28 Siddhesh Poyarekar <siddhesh@redhat.com>
7797 * nss/Versions (libnss_files): Add
7798 _nss_files_gethostbyname3_r.
7799 * nss/nss_files/files-hosts.c (_nss_files_gethostbyname3_r):
7801 (HOST_DB_LOOKUP): Remove macro.
7802 (_nss_files_gethostbyname_r): Implement function without the
7803 HOST_DB_LOOKUP macro.
7804 (_nss_files_gethostbyname2_r): Likewise.
7806 2013-11-28 Ondřej Bílka <neleai@seznam.cz>
7808 * malloc/malloc.c (__libc_calloc): Make memset a tail call.
7810 2013-11-26 Uros Bizjak <ubizjak@gmail.com>
7812 * soft-fp/op-4.h (_FP_FRAC_ASSEMBLE_4): Check rsize against
7813 _FP_W_TYPE_SIZE to avoid "left shift count >= width of type"
7816 2013-11-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7818 * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Use
7819 __fe_nomask_env_priv instead of __fe_nomask_env to avoid a PLT call.
7820 * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Likewise.
7821 * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Likewise.
7822 * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Rename to
7823 __fe_nomask_env_priv and attribute_hidden.
7824 * sysdeps/powerpc/fpu/fenv_private.h (libc_fesetenv_ppc): Likewise.
7825 (libc_feupdateenv_test_ppc): Likewise.
7826 (libc_feresetround_ppc): Likewise.
7827 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
7828 (__fe_nomask_env): Rename to __fe_nomask_env_priv and adjust
7829 compat_symbol macro.
7830 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
7831 (__fe_nomask_env): Likewise.
7832 * sysdeps/powerpc/fpu/fe_nomask.c (__fe_nomask_env): Likewise.
7834 2013-11-26 Ondřej Bílka <neleai@seznam.cz>
7836 * string/Makefile: Remove ifunc tests.
7837 * string/test-string.h: Define TEST_IFUNC.
7838 * string/test-bcopy-ifunc.c: Remove.
7839 * string/test-bzero-ifunc.c: Likewise.
7840 * string/test-memccpy-ifunc.c: Likewise.
7841 * string/test-memchr-ifunc.c: Likewise.
7842 * string/test-memcmp-ifunc.c: Likewise.
7843 * string/test-memcpy-ifunc.c: Likewise.
7844 * string/test-memmem-ifunc.c: Likewise.
7845 * string/test-memmove-ifunc.c: Likewise.
7846 * string/test-mempcpy-ifunc.c: Likewise.
7847 * string/test-memrchr-ifunc.c: Likewise.
7848 * string/test-memset-ifunc.c: Likewise.
7849 * string/test-rawmemchr-ifunc.c: Likewise.
7850 * string/test-stpcpy-ifunc.c: Likewise.
7851 * string/test-stpncpy-ifunc.c: Likewise.
7852 * string/test-strcasecmp-ifunc.c: Likewise.
7853 * string/test-strcasestr-ifunc.c: Likewise.
7854 * string/test-strcat-ifunc.c: Likewise.
7855 * string/test-strchr-ifunc.c: Likewise.
7856 * string/test-strchrnul-ifunc.c: Likewise.
7857 * string/test-strcmp-ifunc.c: Likewise.
7858 * string/test-strcpy-ifunc.c: Likewise.
7859 * string/test-strcspn-ifunc.c: Likewise.
7860 * string/test-strlen-ifunc.c: Likewise.
7861 * string/test-strncasecmp-ifunc.c: Likewise.
7862 * string/test-strncat-ifunc.c: Likewise.
7863 * string/test-strncmp-ifunc.c: Likewise.
7864 * string/test-strncpy-ifunc.c: Likewise.
7865 * string/test-strnlen-ifunc.c: Likewise.
7866 * string/test-strpbrk-ifunc.c: Likewise.
7867 * string/test-strrchr-ifunc.c: Likewise.
7868 * string/test-strspn-ifunc.c: Likewise.
7869 * string/test-strstr-ifunc.c: Likewise.
7871 2013-11-26 Ondřej Bílka <neleai@seznam.cz>
7873 * benchtests/Makefile: Remove ifunc tests.
7874 * benchtests/bench-string.h: Define TEST_IFUNC.
7875 * benchtests/bench-bcopy-ifunc.c: Remove.
7876 * benchtests/bench-bzero-ifunc.c: Likewise.
7877 * benchtests/bench-memccpy-ifunc.c: Likewise.
7878 * benchtests/bench-memchr-ifunc.c: Likewise.
7879 * benchtests/bench-memcmp-ifunc.c: Likewise.
7880 * benchtests/bench-memcpy-ifunc.c: Likewise.
7881 * benchtests/bench-memmem-ifunc.c: Likewise.
7882 * benchtests/bench-memmove-ifunc.c: Likewise.
7883 * benchtests/bench-mempcpy-ifunc.c: Likewise.
7884 * benchtests/bench-memrchr-ifunc.c: Likewise.
7885 * benchtests/bench-memset-ifunc.c: Likewise.
7886 * benchtests/bench-rawmemchr-ifunc.c: Likewise.
7887 * benchtests/bench-stpcpy_chk-ifunc.c: Likewise.
7888 * benchtests/bench-stpcpy-ifunc.c: Likewise.
7889 * benchtests/bench-stpncpy-ifunc.c: Likewise.
7890 * benchtests/bench-strcasecmp-ifunc.c: Likewise.
7891 * benchtests/bench-strcasestr-ifunc.c: Likewise.
7892 * benchtests/bench-strcat-ifunc.c: Likewise.
7893 * benchtests/bench-strchr-ifunc.c: Likewise.
7894 * benchtests/bench-strchrnul-ifunc.c: Likewise.
7895 * benchtests/bench-strcmp-ifunc.c: Likewise.
7896 * benchtests/bench-strcpy_chk-ifunc.c: Likewise.
7897 * benchtests/bench-strcpy-ifunc.c: Likewise.
7898 * benchtests/bench-strcspn-ifunc.c: Likewise.
7899 * benchtests/bench-strlen-ifunc.c: Likewise.
7900 * benchtests/bench-strncasecmp-ifunc.c: Likewise.
7901 * benchtests/bench-strncat-ifunc.c: Likewise.
7902 * benchtests/bench-strncmp-ifunc.c: Likewise.
7903 * benchtests/bench-strncpy-ifunc.c: Likewise.
7904 * benchtests/bench-strnlen-ifunc.c: Likewise.
7905 * benchtests/bench-strpbrk-ifunc.c: Likewise.
7906 * benchtests/bench-strrchr-ifunc.c: Likewise.
7907 * benchtests/bench-strsep-ifunc.c: Likewise.
7908 * benchtests/bench-strspn-ifunc.c: Likewise.
7909 * benchtests/bench-strstr-ifunc.c: Likewise.
7911 2013-11-26 Ondřej Bílka <neleai@seznam.cz>
7913 * sysdeps/x86_64/dl-tlsdesc.S (_dl_tlsdesc_resolve_hold): Fix typo.
7915 2013-11-26 Ondřej Bílka <neleai@seznam.cz>
7917 * resolv/netdb.h: Use __glibc_reserved instead __unused.
7918 * rt/aio.h: Likewise.
7919 * sysdeps/gnu/bits/utmp.h: Likewise.
7920 * sysdeps/gnu/bits/utmpx.h: Likewise.
7921 * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
7922 * sysdeps/unix/sysv/linux/bits/ipc.h: Likewise.
7923 * sysdeps/unix/sysv/linux/bits/msq.h: Likewise.
7924 * sysdeps/unix/sysv/linux/bits/sem.h: Likewise.
7925 * sysdeps/unix/sysv/linux/bits/shm.h: Likewise.
7926 * sysdeps/unix/sysv/linux/bits/stat.h: Likewise.
7927 * sysdeps/unix/sysv/linux/kernel_stat.h: Likewise.
7928 * sysdeps/unix/sysv/linux/ntp_gettimex.c: Likewise.
7929 * sysdeps/unix/sysv/linux/powerpc/bits/ipc.h: Likewise.
7930 * sysdeps/unix/sysv/linux/powerpc/bits/msq.h: Likewise.
7931 * sysdeps/unix/sysv/linux/powerpc/bits/sem.h: Likewise.
7932 * sysdeps/unix/sysv/linux/powerpc/bits/shm.h: Likewise.
7933 * sysdeps/unix/sysv/linux/powerpc/bits/stat.h: Likewise.
7934 * sysdeps/unix/sysv/linux/powerpc/powerpc32/kernel_stat.h: Likewise.
7935 * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
7936 * sysdeps/unix/sysv/linux/s390/bits/ipc.h: Likewise.
7937 * sysdeps/unix/sysv/linux/s390/bits/msq.h: Likewise.
7938 * sysdeps/unix/sysv/linux/s390/bits/sem.h: Likewise.
7939 * sysdeps/unix/sysv/linux/s390/bits/shm.h: Likewise.
7940 * sysdeps/unix/sysv/linux/s390/bits/stat.h: Likewise.
7941 * sysdeps/unix/sysv/linux/s390/bits/utmp.h: Likewise.
7942 * sysdeps/unix/sysv/linux/s390/bits/utmpx.h: Likewise.
7943 * sysdeps/unix/sysv/linux/s390/s390-32/utmp32.h: Likewise.
7944 * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
7945 * sysdeps/unix/sysv/linux/sh/bits/shm.h: Likewise.
7946 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
7947 * sysdeps/unix/sysv/linux/sparc/bits/ipc.h: Likewise.
7948 * sysdeps/unix/sysv/linux/sparc/bits/msq.h: Likewise.
7949 * sysdeps/unix/sysv/linux/sparc/bits/sem.h: Likewise.
7950 * sysdeps/unix/sysv/linux/sparc/bits/shm.h: Likewise.
7951 * sysdeps/unix/sysv/linux/sparc/bits/stat.h: Likewise.
7952 * sysdeps/unix/sysv/linux/sparc/sparc32/kernel_stat.h: Likewise.
7953 * sysdeps/unix/sysv/linux/sparc/sparc64/kernel_stat.h: Likewise.
7954 * sysdeps/unix/sysv/linux/sparc/sparc64/xstatconv.c: Likewise.
7955 * sysdeps/unix/sysv/linux/sparc/sys/procfs.h: Likewise.
7956 * sysdeps/unix/sysv/linux/sys/timex.h: Likewise.
7957 * sysdeps/unix/sysv/linux/x86/bits/msq.h: Likewise.
7958 * sysdeps/unix/sysv/linux/x86/bits/sem.h: Likewise.
7959 * sysdeps/unix/sysv/linux/x86/bits/shm.h: Likewise.
7960 * sysdeps/unix/sysv/linux/x86/bits/stat.h: Likewise.
7961 * sysdeps/unix/sysv/linux/xstatconv.c: Likewise.
7962 * sysdeps/x86/fpu/bits/fenv.h: Likewise.
7964 2013-11-25 Carlos O'Donell <carlos@redhat.com>
7967 * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes):
7968 Rename PTRAVE_EVENT_SECCOMP to PTRACE_EVENT_SECCOMP.
7970 2013-11-25 Joseph Myers <joseph@codesourcery.com>
7972 * sysdeps/powerpc/nofpu/fenv_libc.h (__fegetround): New macro.
7973 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h (__fegetround):
7976 2013-11-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7978 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Use
7979 SET_RESTORE_ROUND instead of feholdexcept/fesetround/fesetenv.
7980 * sysdeps/powerpc/fpu/fenv_libc.h (__fegetround): Remove define.
7981 (__fesetround): Remove define.
7982 * sysdeps/powerpc/fpu/fenv_private.h: New file: Inline floating point
7983 rounding and exceptions handling.
7984 * sysdeps/powerpc/fpu/math_private.h: Include fenv_private.h.
7985 * sysdeps/powerpc/fpu/fenv_libc.h (__fe_mask_env): Define as hidden.
7986 (__fe_nomask_env): Likewise.
7987 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c (__llrintl): Use
7988 __fegetround instead of fegetround.
7989 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Likewise.
7990 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c (__rintl): Likewise.
7992 2013-11-21 Roland McGrath <roland@hack.frob.com>
7994 * malloc/malloc.c: Move #include <sys/param.h> to the top; comment why
7997 * sysdeps/generic/sys/swap.h (swapon): Add FLAGS argument to prototype.
7999 2013-11-21 Meador Inge <meadori@codesourcery.com>
8002 * crypt/crypt.h (encrypt): Use __glibc_block instead of __block.
8003 (encrypt_r): Likewise.
8004 * malloc/obstack.h (obstack_free): Likewise.
8005 * posix/unistd.h (encrypt): Likewise.
8007 2013-11-21 Guy Martin <gmsoft@tuxicoman.be>
8009 * sysdeps/generic/ldsodefs.h: Replace DL_DT_INIT_ADDRESS() and
8010 DL_DT_FINI_ADDRESS() macro with DL_CALL_DT_INIT() and
8011 DL_CALL_DT_FINI() that call the functions directly.
8012 * elf/dl-init.c: Use the new DL_CALL_DT_INIT() macro.
8013 * elf/dl-close.c: Use the new DL_CALL_DT_FINI() macro.
8014 * elf/dl-fini.c: Likewise.
8016 2013-11-20 Ondřej Bílka <neleai@seznam.cz>
8018 * malloc/hooks.c (memalign_check): Add alignment rounding.
8019 * malloc/malloc.c (_mid_memalign): New function.
8020 (__libc_valloc, __libc_pvalloc, __libc_memalign, __posix_memalign):
8021 Implement by calling _mid_memalign.
8022 * manual/probes.texi (Memory Allocation Probes): Remove
8023 memory_valloc_retry and memory_pvalloc_retry.
8025 2013-11-20 Siddhesh Poyarekar <siddhesh@redhat.com>
8027 * locale/programs/locarchive.c (open_archive): Add const
8028 qualifier to ARCHIVEFNAME and copy default fname to
8032 * libio/tst-widetext.input: Rename Oriya to Odia.
8033 * locale/iso-639.def: Likewise.
8035 * manual/probes.texi (Mathematical Function Probes): Add
8036 documentation for sin, cos, asin and acos probes.
8037 * sysdeps/ieee754/dbl-64/sincos32.c: Include stap-probe.h.
8038 (__sin32): Add slowasin probe.
8039 (__cos32): Add slowacos probe.
8040 (__mpsin): Add slowsin probe.
8041 (__mpcos): Add slowcos probe.
8043 2013-11-19 Joseph Myers <joseph@codesourcery.com>
8046 * sysdeps/powerpc/nofpu/sim-full.c (__sim_exceptions): Change to
8047 thread-local __sim_exceptions_thread and global
8048 __sim_exceptions_global.
8049 (__sim_disabled_exceptions): Change to thread-local
8050 __sim_disabled_exceptions_thread and global
8051 __sim_disabled_exceptions_global.
8052 (__sim_round_mode): Change to thread-local __sim_round_mode_thread
8053 and global __sim_round_mode_global.
8054 (__simulate_exceptions): Use thread-local floating-point state and
8055 set global state from it as needed.
8056 * sysdeps/powerpc/nofpu/Versions (GLIBC_PRIVATE): Add
8057 __sim_exceptions_thread, __sim_disabled_exceptions_thread and
8058 __sim_round_mode_thread.
8059 * sysdeps/powerpc/nofpu/soft-supp.h: Include <shlib-compat.h>.
8060 (__sim_exceptions): Change to thread-local __sim_exceptions_thread
8061 and global __sim_exceptions_global.
8062 (__sim_disabled_exceptions): Change to thread-local
8063 __sim_disabled_exceptions_thread and global
8064 __sim_disabled_exceptions_global.
8065 (__sim_round_mode): Change to thread-local __sim_round_mode_thread
8066 and global __sim_round_mode_global.
8067 [SIM_GLOBAL_COMPAT] (SIM_COMPAT_SYMBOL): New macro.
8068 (SIM_SET_GLOBAL): Likewise.
8069 * sysdeps/powerpc/soft-fp/sfp-machine.h
8070 [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_ROUNDMODE): Use
8071 __sim_round_mode_thread.
8072 [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_TRAPPING_EXCEPTIONS): Use
8073 __sim_disabled_exceptions_thread.
8074 (__sim_exceptions): Change to __sim_exceptions_thread.
8075 (__sim_disabled_exceptions): Change to
8076 __sim_disabled_exceptions_thread.
8077 (__sim_round_mode): Change to __sim_round_mode_thread.
8078 * sysdeps/powerpc/nofpu/fclrexcpt.c (__feclearexcept): Use
8079 thread-local floating-point state and set global state from it as
8081 * sysdeps/powerpc/nofpu/fedisblxcpt.c (fedisableexcept): Likewise.
8082 * sysdeps/powerpc/nofpu/feenablxcpt.c: Include "soft-supp.h".
8083 (__sim_disabled_exceptions): Remove extern declaration.
8084 (feenableexcept): Use thread-local floating-point state and set
8085 global state from it as needed.
8086 * sysdeps/powerpc/nofpu/fegetenv.c (__sim_exceptions): Remove
8088 (__sim_disabled_exceptions): Likewise.
8089 (__sim_round_mode): Likewise.
8090 (__fegetenv): Use thread-local floating-point state.
8091 * sysdeps/powerpc/nofpu/fegetexcept.c (fegetexcept): Likewise.
8092 * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Likewise.
8093 * sysdeps/powerpc/nofpu/fesetenv.c (__fesetenv): Use thread-local
8094 floating-point state and set global state from it as needed.
8095 * sysdeps/powerpc/nofpu/fesetround.c (fesetround): Likewise.
8096 * sysdeps/powerpc/nofpu/feupdateenv.c (__feupdateenv): Likewise.
8097 * sysdeps/powerpc/nofpu/fgetexcptflg.c (__fegetexceptflag):
8099 * sysdeps/powerpc/nofpu/fraiseexcpt.c (__feraiseexcept): Likewise.
8100 * sysdeps/powerpc/nofpu/fsetexcptflg.c (__fesetexceptflag):
8102 sysdeps/powerpc/nofpu/ftestexcept.c (fetestexcept): Likewise.
8103 * sysdeps/powerpc/nofpu/get-rounding-mode.h (get_rounding_mode):
8104 Use __sim_round_mode_thread.
8105 * math/test-fenv-tls.c: New file.
8106 * math/Makefile (tests): Add test-fenv-tls.
8107 ($(objpfx)test-fenv-tls): Depend on
8108 $(common-objpfx)nptl/libpthread.so.
8110 2013-11-19 Andreas Schwab <schwab@suse.de>
8112 * locale/programs/locale.c (show_info): Decode wordarray elements.
8113 * locale/categories.def (LC_MONETARY): Add element for
8114 _NL_MONETARY_CRNCYSTR.
8115 * locale/C-monetary.c (conversion_rate): New variable.
8116 (_nl_C_LC_MONETARY): Use it for _NL_MONETARY_CONVERSION_RATE
8119 2013-11-18 Chris Metcalf <cmetcalf@tilera.com>
8121 * math/test-fpucw-ieee.c [!defined _FPU_IEEE] (FPU_CONTROL):
8122 Omit definition of FPU_CONTROL and use default if no _FPU_IEEE.
8124 2013-11-18 Paul Pluzhnikov <ppluzhnikov@google.com>
8126 * elf/Makefile (tst-auxv): New test.
8127 * elf/tst-auxv.c: New
8128 * elf/rtld.c (dl_main): Adjust AT_EXECFN
8130 2013-11-18 Joseph Myers <joseph@codesourcery.com>
8132 * include/libc-symbols.h (__hidden_proto): Add argument "thread".
8133 (hidden_proto): Caller changed.
8134 (hidden_tls_proto): New macro.
8135 (libc_hidden_tls_proto): Likewise.
8136 (rtld_hidden_tls_proto): Likewise.
8137 (libm_hidden_tls_proto): Likewise.
8138 (libresolv_hidden_tls_proto): Likewise.
8139 (librt_hidden_tls_proto): Likewise.
8140 (libdl_hidden_tls_proto): Likewise.
8141 (libnss_files_hidden_tls_proto): Likewise.
8142 (libnsl_hidden_tls_proto): Likewise.
8143 (libnss_nisplus_hidden_tls_proto): Likewise.
8144 (libutil_hidden_tls_proto): Likewise.
8146 2013-11-18 Ondřej Bílka <neleai@seznam.cz>
8149 * elf/dl-load.c (fillin_rpath): Add linkmap parameter and expand path.
8150 (decompose_rpath): Defer expansion to fillin_rpath.
8151 (_dl_init_paths): Pass linkmap to fillin_rpath.
8153 2013-11-18 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
8155 * benchtests/Makefile: Add strsep.
8156 * benchtests/bench-strsep.c: New file: strsep benchtest.
8157 * benchtests/bench-strsep-ifunc.c: New file: strsep benchtest.
8159 2013-11-18 Andreas Schwab <schwab@suse.de>
8161 * locale/programs/locale.c (show_info) [case byte]: Check for
8162 '\377' instead of '\177'.
8163 * locale/C-monetary.c (not_available): Always use "\377".
8164 * stdlib/strfmon_l.c (__vstrfmon_l): Use -2 as marker for
8165 unspecified p_sign_posn and n_sign_posn. Check for '\377' to
8166 detect unavailable sign_posn locale elements.
8167 * locale/localeconv.c (__localeconv): For grouping and
8168 mon_grouping handle "\177" and "\377" like no grouping.
8169 (INT_ELEM): New macro. Use it to set all numeric members.
8170 * locale/programs/ld-monetary.c (monetary_read)
8171 <tok_mon_grouping>: Normalize single -1 to the empty string.
8172 * locale/programs/ld-numeric.c (numeric_read) <tok_grouping>:
8175 2013-11-07 Ondřej Bílka <neleai@seznam.cz>
8178 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Limit width
8179 when we match (nil).
8180 * stdio-common/tst-sscanf.c (struct test): Add testcase.
8182 2013-11-16 Joseph Myers <joseph@codesourcery.com>
8184 * math/libm-test.inc (TEST_NAN_SIGN): New macro.
8185 (NO_TEST_INLINE): Update value.
8186 (ERRNO_UNCHANGED): Likewise.
8187 (ERRNO_EDOM): Likewise.
8188 (ERRNO_ERANGE): Likewise.
8189 (IGNORE_RESULT): Likewise.
8190 (check_float_internal): Check signs of NaN results if
8192 (check_complex): Pass TEST_NAN_SIGN flag through to second
8193 check_float_internal call.
8194 (copysign_test_data): Add tests with quiet NaNs as second
8195 argument. Use TEST_NAN_SIGN.
8196 (fabs_test_data): Add test of negative quiet NaN argument. Use
8198 (signbit_test_data): Add tests of quiet NaN argument.
8199 * math/gen-libm-test.pl (parse_args): Handle TEST_NAN_SIGN.
8201 * math/gen-libm-test.pl (show_exceptions): Take extra argument
8203 (parse_args): Handle function results specified as IGNORE.
8204 * math/libm-test.inc (IGNORE_RESULT): New macro.
8205 (check_float_internal): Do not check numerical result if flag
8207 (check_complex): Pass through IGNORE_RESULT to second
8208 check_float_internal call.
8209 (check_int): Do not check numerical result if flag IGNORE_RESULT
8211 (check_long): Likewise.
8212 (check_bool): Likewise.
8213 (check_longlong): Likewise.
8214 (lrint_test_data): Add tests of infinite and NaN arguments.
8215 (lrint_tonearest_test_data): Likewise.
8216 (lrint_towardzero_test_data): Likewise.
8217 (lrint_downward_test_data): Likewise.
8218 (lrint_upward_test_data): Likewise.
8219 (llrint_test_data): Likewise.
8220 (llrint_tonearest_test_data): Likewise.
8221 (llrint_towardzero_test_data): Likewise.
8222 (llrint_downward_test_data): Likewise.
8223 (llrint_upward_test_data): Likewise.
8224 (lround_test_data): Likewise.
8225 (llround_test_data): Likewise.
8227 * math/libm-test.inc (NO_TEST_INLINE): New macro.
8228 (ERRNO_UNCHANGED): Update value.
8229 (ERRNO_EDOM): Likewise.
8230 (ERRNO_ERANGE): Likewise.
8231 (NO_TEST_INLINE_FLOAT): New macro.
8232 (NO_TEST_INLINE_DOUBLE): Likewise.
8233 (enable_test): New function.
8234 (RUN_TEST_f_f): Check enable_test before running test.
8235 (RUN_TEST_2_f): Likewise.
8236 (RUN_TEST_fff_f): Likewise.
8237 (RUN_TEST_c_f): Likewise.
8238 (RUN_TEST_f_f1): Likewise.
8239 (RUN_TEST_fF_f1): Likewise.
8240 (RUN_TEST_fI_f1): Likewise.
8241 (RUN_TEST_ffI_f1): Likewise.
8242 (RUN_TEST_c_c): Likewise.
8243 (RUN_TEST_cc_c): Likewise.
8244 (RUN_TEST_f_i): Likewise.
8245 (RUN_TEST_f_i_tg): Likewise.
8246 (RUN_TEST_ff_i_tg): Likewise.
8247 (RUN_TEST_f_b): Likewise.
8248 (RUN_TEST_f_b_tg): Likewise.
8249 (RUN_TEST_f_l): Likewise.
8250 (RUN_TEST_f_L): Likewise.
8251 (RUN_TEST_fFF_11): Likewise.
8252 (asinh_test_data): Use NO_TEST_INLINE instead of [!TEST_INLINE]
8254 (cosh_test_data): Likewise.
8255 (exp_test_data): Likewise.
8256 (expm1_test_data): Likewise.
8257 (hypot_test_data): Likewise.
8258 (pow_test_data): Likewise.
8259 (sinh_test_data): Likewise.
8260 (tanh_test_data): Likewise.
8261 * math/gen-libm-test.pl (parse_args): Allow NO_TEST_INLINE as
8264 * libm-test.inc (acos_test_data): Disallow inexact exceptions for
8265 tests with quiet NaN input and output.
8266 (acosh_test_data): Likewise.
8267 (asin_test_data): Likewise.
8268 (asinh_test_data): Likewise.
8269 (atan_test_data): Likewise.
8270 (atanh_test_data): Likewise.
8271 (atan2_test_data): Likewise.
8272 (cbrt_test_data): Likewise.
8273 (cos_test_data): Likewise.
8274 (cosh_test_data): Likewise.
8275 (erf_test_data): Likewise.
8276 (erfc_test_data): Likewise.
8277 (exp_test_data): Likewise.
8278 (exp10_test_data): Likewise.
8279 (exp2_test_data): Likewise.
8280 (expm1_test_data): Likewise.
8281 (hypot_test_data): Likewise.
8282 (j0_test_data): Likewise.
8283 (j1_test_data): Likewise.
8284 (jn_test_data): Likewise.
8285 (lgamma_test_data): Likewise.
8286 (log_test_data): Likewise.
8287 (log10_test_data): Likewise.
8288 (log1p_test_data): Likewise.
8289 (log2_test_data): Likewise.
8290 (pow_test_data): Likewise.
8291 (scalb_test_data): Likewise.
8292 (sin_test_data): Likewise.
8293 (sincos_test_data): Likewise.
8294 (sinh_test_data): Likewise.
8295 (tan_test_data): Likewise.
8296 (tanh_test_data): Likewise.
8297 (tgamma_test_data): Likewise.
8298 (y0_test_data): Likewise.
8299 (y1_test_data): Likewise.
8300 (yn_test_data): Likewise.
8303 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Check for first
8304 argument being NaN and avoid computations with second argument in
8306 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
8307 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.
8308 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
8310 2013-11-15 Arun Kumar Pyasi <arun@chitwanix.com>
8312 * locale/iso-639.def: Add Chitwani Tharu (the).
8314 2013-11-14 Andreas Schwab <schwab@suse.de>
8316 * locale/C-address.c (_nl_C_LC_ADDRESS): Set country_num to zero
8317 word instead of empty string.
8319 2013-11-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8321 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
8322 (__fe_nomask_env): Fir compat symbol to be remove for GLIBC_2.19.
8323 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
8324 (__fe_nomask_env): Likewise.
8326 2013-11-13 Steve Ellcey <sellcey@mips.com>
8328 * benchtests/bench-timing.h: Include time.h.
8330 2013-11-13 H.J. Lu <hongjiu.lu@intel.com>
8333 * sysdeps/unix/sysv/linux/configure.ac (arch_minimum_kernel): Set
8335 * sysdeps/unix/sysv/linux/configure: Regenerated.
8337 2013-11-13 Joseph Myers <joseph@codesourcery.com>
8340 * stdlib/strtod_l.c (round_and_return): Do not consider
8341 retval[RETURN_LIBM_SIZE - 1] when determining more_bits for an
8342 exponent one less than half the least subnormal exponent.
8343 * stdlib/test-strtod-round-data: Add more tests.
8344 * stdlib/tst-strtod-round.c (tests): Regenerated.
8346 2013-11-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8349 * sysdeps/powerpc/bits/fenv.h (__fe_nomask_env): Remove declaration.
8350 (__fe_mask_env): Likewise.
8351 * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Remove
8352 libm_hidden_proto and add function prototype.
8353 (__fe_mask_env): Add function prototype.
8354 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
8355 (__fe_nomask_env): Add compat symbol for GLIBC_2.1.
8356 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
8357 (__fe_mask_env): Remove compiler warnings regarding ununsed variables.
8358 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
8359 (__fe_nomask_env): Add compat symbol for GLIBC_2.3.
8361 2013-11-13 Marcus Shawcroft <marcus.shawcroft@linaro.org>
8363 * elf/dl-lookup.c (_dl_lookup_symbol_x): If UNDEF_MAP is false
8364 set reference_name to "" to avoid passing NULL to DSO_FILENAME.
8366 2013-11-13 Marcus Shawcroft <marcus.shawcroft@linaro.org>
8368 * elf/tlsdeschtab.h (_dl_make_tlsdesc_dynamic): Handle failure
8369 of htab_find_slot().
8371 2013-11-11 David S. Miller <davem@davemloft.net>
8374 * sysdeps/sparc/sparc64/multiarch/add_n.S: Resolve to the correct generic
8375 symbol in the non-vis3 case in static builds.
8376 * sysdeps/sparc/sparc64/multiarch/addmul_1.S: Likewise.
8377 * sysdeps/sparc/sparc64/multiarch/mul_1.S: Likewise.
8378 * sysdeps/sparc/sparc64/multiarch/sub_n.S: Likewise.
8379 * sysdeps/sparc/sparc64/multiarch/submul_1.S: Likewise.
8381 2013-11-11 Jan Kratochvil <jan.kratochvil@redhat.com>
8384 * elf/dl-object.c (_dl_new_object): Initialize L_NAME from NEWNAME if
8387 2013-11-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8389 * benchtests/Makefile: Add bench-strtod.
8390 * benchtests/bench-strtod.c: New file: strtod benchtest
8392 2013-11-11 Andreas Schwab <schwab@suse.de>
8395 * nscd/nscd_getserv_r.c (__nscd_getservbyport_r): Don't include
8396 terminating NUL in key length.
8398 2013-11-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8400 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET):
8401 Add artificial ODP entry for vDSO symbol for PPC64.
8402 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Adjust includes.
8403 * sysdeps/unix/sysv/linux/powerpc/time.c: Likewise.
8405 2013-11-07 Ondřej Bílka <neleai@seznam.cz>
8408 * nss/getent.c (services_keys): Recognize services starting with digit.
8410 2013-11-06 David S. Miller <davem@davemloft.net>
8413 * sysdeps/sparc/sparc32/fpu/s_fdim.S (__fdim): Do not use fnegd
8414 on pre-v9 cpus, use a fnegs+fmovs sequence instead.
8416 2013-11-06 Will Newton <will.newton@linaro.org>
8418 * manual/memory.texi (Malloc Examples): Remove register
8419 keyword from examples.
8421 2013-11-04 Chris Leonard <cjl@sugarlabs.org>
8423 * locale/iso-639.def: Correct Walaita (wal) and add Unami Delaware (unm).
8425 2013-11-04 Joseph Myers <joseph@codesourcery.com>
8428 * include/stdc-predef.h [__GCC_IEC_559] (__STDC_IEC_559__): Define
8429 depending on [__GCC_IEC_559 > 0].
8430 [__GCC_IEC_559_COMPLEX] (__STDC_IEC_559_COMPLEX__): Define
8431 depending on [__GCC_IEC_559_COMPLEX > 0].
8433 2013-11-03 Chris Leonard <cjl@sugarlabs.org>
8435 * locale/iso-639.def: Add Quechua, Southern (quz) and Silesian (szl)
8438 2013-11-03 Ondřej Bílka <neleai@seznam.cz>
8440 * elf/rtld.c: Remove unused NONTLS_INIT_TP.
8442 2013-11-01 Ondřej Bílka <neleai@seznam.cz>
8445 * malloc/malloc (malloc_info): Do not handle first bin as
8448 2013-11-01 Chris Leonard <cjl@sugarlabs.org>
8450 * locale/iso-639.def: Add Central Nahuatl (nhn).
8452 2013-11-01 Bruno Haible <bruno@clisp.org>
8455 * manual/math.texi (BSD Random): Specify range upper bound as
8458 2013-10-31 Chris Leonard <cjl@sugarlabs.org>
8460 * locale/iso-639.def: Add Meadow Mari (mhr).
8462 2013-10-31 Ondřej Bílka <neleai@seznam.cz>
8464 [BZ #14752], [BZ #15763]
8465 * sysdeps/unix/sysv/linux/shm_open.c (shm_open, shm_unlink):
8467 * rt/tst_shm.c: Add test for escaping directory.
8469 2013-10-31 Andreas Schwab <schwab@suse.de>
8472 * stdio-common/vfscanf.c (_IO_vfwscanf): Handle leading '0' not
8473 followed by 'x' as part of digit sequence.
8474 * stdio-common/tst-sscanf.c (double_tests2): New tests.
8476 2013-10-31 Marc-Antoine Perennou <Marc-Antoine@Perennou.com>
8479 * configure.ac: allow GNU Make 4.0 and greater.
8480 * configure: Regenerated.
8482 2013-10-30 Will Newton <will.newton@linaro.org>
8485 * malloc/hooks.c (memalign_check): Limit alignment to the
8486 maximum representable power of two.
8487 * malloc/malloc.c (__libc_memalign): Likewise.
8488 * malloc/tst-memalign.c (do_test): Add test for very
8489 large alignment values.
8490 * malloc/tst-posix_memalign.c (do_test): Likewise.
8492 2013-10-30 Ondřej Bílka <neleai@seznam.cz>
8495 * malloc/malloc.c (sysmalloc): Compute statistics atomically.
8496 (munmap_chunk): Likewise.
8497 (mremap_chunk): Likewise.
8499 2013-10-30 Ondřej Bílka <neleai@seznam.cz>
8502 * stdlib/div.c (div): Remove obsolete code.
8503 * stdlib/ldiv.c (ldiv): Likewise.
8504 * stdlib/lldiv.c (lldiv): Likewise.
8506 2013-10-30 Siddhesh Poyarekar <siddhesh@redhat.com>
8509 * nss/nss_files/files-XXX.c (get_contents_ret): New
8511 (get_contents): New function.
8512 (internal_getent): Use it. Expand size of LINEBUFLEN.
8514 2013-10-30 Mike Frysinger <vapier@gentoo.org>
8516 * configure.in: Moved to ...
8517 * configure.ac: ... here. Change reference to configure.in
8519 * sysdeps/arm/preconfigure.ac: ... here.
8520 configure.in to configure.ac.
8521 * sysdeps/gnu/configure.in: Moved to ...
8522 * sysdeps/gnu/configure.ac: ... here.
8523 * sysdeps/i386/configure.in: Moved to ...
8524 * sysdeps/i386/configure.ac: ... here.
8525 * sysdeps/ieee754/ldbl-opt/configure.in: Moved to ...
8526 * sysdeps/ieee754/ldbl-opt/configure.ac: ... here.
8527 * sysdeps/mach/configure.in: Moved to ...
8528 * sysdeps/mach/configure.ac: ... here.
8529 * sysdeps/mach/hurd/configure.in: Moved to ...
8530 * sysdeps/mach/hurd/configure.ac: ... here.
8531 * sysdeps/powerpc/configure.in: Moved to ...
8532 * sysdeps/powerpc/configure.ac: ... here.
8533 * sysdeps/powerpc/powerpc32/configure.in: Moved to ...
8534 * sysdeps/powerpc/powerpc32/configure.ac: ... here.
8535 * sysdeps/powerpc/powerpc64/configure.in: Moved to ...
8536 * sysdeps/powerpc/powerpc64/configure.ac: ... here.
8537 * sysdeps/s390/s390-32/configure.in: Moved to ...
8538 * sysdeps/s390/s390-32/configure.ac: ... here.
8539 * sysdeps/s390/s390-64/configure.in: Moved to ...
8540 * sysdeps/s390/s390-64/configure.ac: ... here.
8541 * sysdeps/sh/configure.in: Moved to ...
8542 * sysdeps/sh/configure.ac: ... here.
8543 * sysdeps/sparc/configure.in: Moved to ...
8544 * sysdeps/sparc/configure.ac: ... here.
8545 * sysdeps/unix/sysv/linux/configure.in: Moved to ...
8546 * sysdeps/unix/sysv/linux/configure.ac: ... here.
8547 * sysdeps/unix/sysv/linux/powerpc/configure.in: Moved to ...
8548 * sysdeps/unix/sysv/linux/powerpc/configure.ac: ... here.
8549 * sysdeps/x86_64/configure.in: Moved to ...
8550 * sysdeps/x86_64/configure.ac: ... here.
8551 * sysdeps/x86_64/preconfigure.in: Moved to ...
8552 * sysdeps/x86_64/preconfigure.ac: ... here.
8553 * aclocal.m4: Change reference to configure.in to configure.ac.
8554 * config.h.in: Likewise.
8555 * manual/install.texi: Likewise.
8556 * manual/maint.texi: Likewise.
8557 * Makefile: Likewise.
8558 * malloc/Makefile: Likewise.
8559 * nscd/Makefile: Likewise.
8560 * Makeconfig: Change reference to configure.in and
8561 preconfigure.in to configure.ac and preconfigure.ac
8563 * INSTALL: Regenerated.
8564 * configure: Likewise.
8565 * sysdeps/gnu/configure: Likewise.
8566 * sysdeps/i386/configure: Likewise.
8567 * sysdeps/ieee754/ldbl-opt/configure: Likewise.
8568 * sysdeps/mach/configure: Likewise.
8569 * sysdeps/mach/hurd/configure: Likewise.
8570 * sysdeps/powerpc/configure: Likewise.
8571 * sysdeps/powerpc/powerpc32/configure: Likewise.
8572 * sysdeps/powerpc/powerpc64/configure: Likewise.
8573 * sysdeps/s390/s390-32/configure: Likewise.
8574 * sysdeps/s390/s390-64/configure: Likewise.
8575 * sysdeps/sh/configure: Likewise.
8576 * sysdeps/sparc/configure: Likewise.
8577 * sysdeps/unix/sysv/linux/configure: Likewise.
8578 * sysdeps/unix/sysv/linux/powerpc/configure: Likewise.
8579 * sysdeps/x86_64/configure: Likewise.
8580 * sysdeps/x86_64/preconfigure: Likewise.
8582 2013-10-29 Andreas Schwab <schwab@suse.de>
8584 * stdio-common/Makefile (tst-swscanf-ENV): Define.
8586 2013-10-28 Siddhesh Poyarekar <siddhesh@redhat.com>
8588 * benchtests/pow-inputs: Add new inputs.
8590 * benchtests/exp-inputs: Add new inputs.
8592 * sysdeps/ieee754/dbl-64/sincos32.c (__sin32): Consolidate
8593 conditional check for return value.
8594 (__cos32): Likewise.
8596 2013-10-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8598 * sysdeps/powerpc/powerpc64/strcpy.S (strcpy): Add word load/store
8599 to provide a boost for large inputs with word alignment.
8600 * sysdeps/powerpc/powerpc64/stpcpy.S (__stpcpy): Rewrite
8601 implementation based on optimized PPC64 strcpy.
8602 * sysdeps/powerpc/powerpc64/power7/strcpy.S: New file: optimized
8603 strcpy for PPC64/POWER7 based on both doubleword and word load/store.
8604 * sysdeps/powerpc/powerpc64/power7/stpcpy.S: New file: optimized
8605 stpcpy for PPC64/POWER7 based on PPC64/POWER7 strcpy.
8607 2013-10-25 Ondřej Bílka <neleai@seznam.cz>
8610 * manual/socket.texi (Host Names): Fix gethostbyname_r example.
8612 2013-10-25 Ondřej Bílka <neleai@seznam.cz>
8615 * time/strptime_l.c (__strptime_internal): 14876 Read timezone entry.
8616 * time/tst-strptime.c (day_tests): Add testcase.
8618 2013-10-25 Ondřej Bílka <neleai@seznam.cz>
8621 * manual/pattern.texi: Acknowledge that fnmatch can fail.
8623 2013-10-25 Fabrice Bauzac <fbauzac@debian71.nce.amadeus.net>
8626 * manual/llio.texi (Memory-mapped I/O): Indicate that mmap returns
8627 MAP_FAILED on error.
8629 2013-10-25 Siddhesh Poyarekar <siddhesh@redhat.com>
8632 * sysdeps/posix/getaddrinfo.c (gethosts): Allocate tmpbuf on
8633 heap for large requests.
8635 2013-10-25 Aurelien Jarno <aurelien@aurel32.net>
8638 * sysdeps/posix/getaddrinfo.c (rfc3484_sort): do not assign native
8639 result if the result has no associated interface.
8640 * sysdeps/posix/getaddrinfo.c (getaddrinfo): correctly detect
8641 interface for all 127.X.Y.Z addresses.
8643 2013-10-24 Chris Leonard <cjl@sugarlabs.org>
8645 * locale/iso-639.def: Add Ligurian (lij)
8647 2013-10-21 Ondřej Bílka <neleai@seznam.cz>
8650 * sunrpc/rpc_main.c: Document rpcgen -5.
8652 2013-10-19 Michael Stahl <mstahl@redhat.com>
8654 * elf/rtld.c (do_preload): Print the reason why preloading failed.
8656 2013-10-19 Ondřej Bílka <neleai@seznam.cz>
8659 * posix/glob.c: Match only directories when trailing slash is present.
8660 * posix/tst-gnuglob.c (my_opendir): Do not open files.
8661 (main): Add testcase.
8663 2013-10-19 Ondřej Bílka <neleai@seznam.cz>
8666 * time/tzfile.c (__tzfile_read): Replace alloca with malloc.
8668 2013-10-18 Carlos O'Donell <carlos@redhat.com>
8670 * manual/crypt.texi (Cryptographic Functions): Using SunRPC and
8671 AUTH_DES will prevent FIPS 140-2 compliance. Add vindex for
8672 AUTH_DES and cindex for FIPS 140-2.
8673 (DES Encryption): Add cindex FIPS 46-3.
8675 * locale/locarchive.h (struct locarhandle): Add fname.
8676 * locale/programs/localedef.c (main): Pass ARGV[remaining]
8677 if an optional argument was specified to --list-archive,
8679 * locale/programs/locarchive.c (show_archive_content): Take new
8680 argument fname and pass it via ah.fname to open_archive.
8681 * locale/programs/localedef.h: Update decl.
8682 (open_archive): If AH->fname is non-null, open that file
8683 rather than the default file name, and don't ignore ENOENT.
8684 (create_archive): Set AH.fname to NULL.
8685 (delete_locales_from_archive): Likewise.
8686 (add_locales_to_archive): Likewise.
8687 * locale/programs/locfile.c (write_all_categories): Likewise.
8689 2013-10-18 Joseph Myers <joseph@codesourcery.com>
8690 Aldy Hernandez <aldyh@redhat.com>
8692 * sysdeps/powerpc/powerpc32/e500/nofpu/Makefile: New file.
8693 * sysdeps/powerpc/powerpc32/e500/nofpu/fclrexcpt.c: Likewise.
8694 * sysdeps/powerpc/powerpc32/e500/nofpu/fe_note_change.c: Likewise.
8695 * sysdeps/powerpc/powerpc32/e500/nofpu/fedisblxcpt.c: Likewise.
8696 * sysdeps/powerpc/powerpc32/e500/nofpu/feenablxcpt.c: Likewise.
8697 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c: Likewise.
8698 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetexcept.c: Likewise.
8699 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c: Likewise.
8700 * sysdeps/powerpc/powerpc32/e500/nofpu/feholdexcpt.c: Likewise.
8701 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_const.c: Likewise.
8702 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h: Likewise.
8703 * sysdeps/powerpc/powerpc32/e500/nofpu/fesetenv.c: Likewise.
8704 * sysdeps/powerpc/powerpc32/e500/nofpu/fesetround.c: Likewise.
8705 * sysdeps/powerpc/powerpc32/e500/nofpu/feupdateenv.c: Likewise.
8706 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_prctl.c:
8708 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_spe.c:
8710 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_prctl.c:
8712 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_spe.c:
8714 * sysdeps/powerpc/powerpc32/e500/nofpu/fgetexcptflg.c: Likewise.
8715 * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c:
8717 * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcpt.c: Likewise.
8718 * sysdeps/powerpc/powerpc32/e500/nofpu/fsetexcptflg.c: Likewise.
8719 * sysdeps/powerpc/powerpc32/e500/nofpu/ftestexcept.c: Likewise.
8720 * sysdeps/powerpc/powerpc32/e500/nofpu/get-rounding-mode.h:
8722 * sysdeps/powerpc/powerpc32/e500/nofpu/s_fabsf.S: Likewise.
8723 * sysdeps/powerpc/powerpc32/e500/nofpu/spe-raise.c: Likewise.
8724 * sysdeps/powerpc/preconfigure: Likewise.
8725 * sysdeps/unix/sysv/linux/powerpc/powerpc32/e500/nofpu/Implies:
8727 * sysdeps/powerpc/nofpu/soft-supp.h [__NO_FPRS__ && !_SOFT_FLOAT]:
8728 Replace contents of file by #include of <fenv_libc.h>.
8729 * sysdeps/powerpc/soft-fp/sfp-machine.h
8730 [__NO_FPRS__ && !_SOFT_FLOAT]: Include <fenv_libc.h>, <sysdep.h>
8732 [__NO_FPRS__ && !_SOFT_FLOAT] (__feraiseexcept_soft): Declare.
8733 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INEXACT): Define macro.
8734 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INVALID): Likewise.
8735 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_DIVZERO): Likewise.
8736 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_UNDERFLOW): Likewise.
8737 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_OVERFLOW): Likewise.
8738 [__NO_FPRS__ && !_SOFT_FLOAT] (_FP_DECL_EX): Likewise.
8739 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_ROUNDMODE): Likewise.
8740 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_EXCEPTIONS): Likewise.
8741 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_HANDLE_EXCEPTIONS): Likewise.
8742 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_ROUNDMODE): Likewise.
8743 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_TRAPPING_EXCEPTIONS): Likewise.
8744 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
8745 Allow copysignl PLT reference to be missing.
8747 2013-10-18 Richard Sandiford <richard@codesourcery.com>
8748 Joseph Myers <joseph@codesourcery.com
8751 * locale/programs/ld-collate.c (new_element): Handle <U0000> as a
8753 (add_to_tablewc): Assert sequence of wide characters is nonempty.
8755 2013-10-18 Siddhesh Poyarekar <siddhesh@redhat.com>
8757 * elf/tst-tls-dlinfo.c: Don't include tls.h.
8758 * elf/tst-tls1.c: Likewise.
8759 * elf/tst-tls10.h: Likewise.
8760 * elf/tst-tls14.c: Likewise.
8761 * elf/tst-tls2.c: Likewise.
8762 * elf/tst-tls3.c: Likewise.
8763 * elf/tst-tls4.c: Likewise.
8764 * elf/tst-tls5.c: Likewise.
8765 * elf/tst-tls6.c: Likewise.
8766 * elf/tst-tls7.c: Likewise.
8767 * elf/tst-tls8.c: Likewise.
8768 * elf/tst-tls9.c: Likewise.
8769 * elf/tst-tlsmod1.c: Likewise.
8770 * elf/tst-tlsmod13.c: Likewise.
8771 * elf/tst-tlsmod13a.c: Likewise.
8772 * elf/tst-tlsmod14a.c: Likewise.
8773 * elf/tst-tlsmod16a.c: Likewise.
8774 * elf/tst-tlsmod16b.c: Likewise.
8775 * elf/tst-tlsmod2.c: Likewise.
8776 * elf/tst-tlsmod3.c: Likewise.
8777 * elf/tst-tlsmod4.c: Likewise.
8778 * elf/tst-tlsmod5.c: Likewise.
8779 * elf/tst-tlsmod6.c: Likewise.
8781 2013-10-18 Ondřej Bílka <neleai@seznam.cz>
8784 * malloc/malloc.c: remove checks for statistics.
8786 2013-10-17 Ondřej Bílka <neleai@seznam.cz>
8789 * inet/inet_net.c (inet_network): Detect additional invalid strings.
8790 * inet/tst-network.c: Add testcase.
8792 2013-10-17 Andreas Schwab <schwab@suse.de>
8795 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't use gethostbyaddr
8796 to determine canonical name.
8798 2013-10-17 Ondřej Bílka <neleai@seznam.cz>
8800 * sysdeps/ieee754/dbl-64/dbl2mpn.c: Fix formatting.
8801 * sysdeps/ieee754/dbl-64/dla.h: Likewise.
8802 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
8803 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
8804 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
8805 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
8806 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
8807 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
8808 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
8809 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
8810 * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
8811 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
8812 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
8813 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
8814 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
8815 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
8816 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
8817 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
8818 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
8819 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
8820 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
8821 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
8822 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
8823 * sysdeps/ieee754/dbl-64/MathLib.h: Likewise.
8824 * sysdeps/ieee754/dbl-64/mpa-arch.h: Likewise.
8825 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
8826 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
8827 * sysdeps/ieee754/dbl-64/mpn2dbl.c: Likewise.
8828 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
8829 * sysdeps/ieee754/dbl-64/mydefs.h: Likewise.
8830 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
8831 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
8832 * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
8833 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
8834 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
8835 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
8836 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
8837 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
8838 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
8839 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
8840 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
8841 * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
8842 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
8843 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
8844 * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
8845 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
8846 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
8847 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
8848 * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
8849 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
8850 * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
8851 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
8852 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
8853 * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
8854 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
8855 * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
8856 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
8857 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
8859 2013-10-17 Joseph Myers <joseph@codesourcery.com>
8862 * soft-fp/op-common.h (FP_EXTEND): When input is a signaling NaN,
8863 make result into a quiet NaN.
8865 2013-10-16 Joseph Myers <joseph@codesourcery.com>
8867 * soft-fp/adddf3.c: Fix horizontal whitespace.
8868 * soft-fp/addsf3.c: Likewise.
8869 * soft-fp/addtf3.c: Likewise.
8870 * soft-fp/divdf3.c: Likewise.
8871 * soft-fp/divsf3.c: Likewise.
8872 * soft-fp/divtf3.c: Likewise.
8873 * soft-fp/double.h: Likewise.
8874 * soft-fp/eqdf2.c: Likewise.
8875 * soft-fp/eqsf2.c: Likewise.
8876 * soft-fp/eqtf2.c: Likewise.
8877 * soft-fp/extenddftf2.c: Likewise.
8878 * soft-fp/extended.h: Likewise.
8879 * soft-fp/extendsfdf2.c: Likewise.
8880 * soft-fp/extendsftf2.c: Likewise.
8881 * soft-fp/extendxftf2.c: Likewise.
8882 * soft-fp/fixdfdi.c: Likewise.
8883 * soft-fp/fixdfsi.c: Likewise.
8884 * soft-fp/fixdfti.c: Likewise.
8885 * soft-fp/fixsfdi.c: Likewise.
8886 * soft-fp/fixsfsi.c: Likewise.
8887 * soft-fp/fixsfti.c: Likewise.
8888 * soft-fp/fixtfdi.c: Likewise.
8889 * soft-fp/fixtfsi.c: Likewise.
8890 * soft-fp/fixtfti.c: Likewise.
8891 * soft-fp/fixunsdfdi.c: Likewise.
8892 * soft-fp/fixunsdfsi.c: Likewise.
8893 * soft-fp/fixunsdfti.c: Likewise.
8894 * soft-fp/fixunssfdi.c: Likewise.
8895 * soft-fp/fixunssfsi.c: Likewise.
8896 * soft-fp/fixunssfti.c: Likewise.
8897 * soft-fp/fixunstfdi.c: Likewise.
8898 * soft-fp/fixunstfsi.c: Likewise.
8899 * soft-fp/fixunstfti.c: Likewise.
8900 * soft-fp/floatdidf.c: Likewise.
8901 * soft-fp/floatdisf.c: Likewise.
8902 * soft-fp/floatditf.c: Likewise.
8903 * soft-fp/floatsidf.c: Likewise.
8904 * soft-fp/floatsisf.c: Likewise.
8905 * soft-fp/floatsitf.c: Likewise.
8906 * soft-fp/floattidf.c: Likewise.
8907 * soft-fp/floattisf.c: Likewise.
8908 * soft-fp/floattitf.c: Likewise.
8909 * soft-fp/floatundidf.c: Likewise.
8910 * soft-fp/floatundisf.c: Likewise.
8911 * soft-fp/floatunditf.c: Likewise.
8912 * soft-fp/floatunsidf.c: Likewise.
8913 * soft-fp/floatunsisf.c: Likewise.
8914 * soft-fp/floatunsitf.c: Likewise.
8915 * soft-fp/floatuntidf.c: Likewise.
8916 * soft-fp/floatuntisf.c: Likewise.
8917 * soft-fp/floatuntitf.c: Likewise.
8918 * soft-fp/fmadf4.c: Likewise.
8919 * soft-fp/fmasf4.c: Likewise.
8920 * soft-fp/fmatf4.c: Likewise.
8921 * soft-fp/gedf2.c: Likewise.
8922 * soft-fp/gesf2.c: Likewise.
8923 * soft-fp/getf2.c: Likewise.
8924 * soft-fp/ledf2.c: Likewise.
8925 * soft-fp/lesf2.c: Likewise.
8926 * soft-fp/letf2.c: Likewise.
8927 * soft-fp/muldf3.c: Likewise.
8928 * soft-fp/mulsf3.c: Likewise.
8929 * soft-fp/multf3.c: Likewise.
8930 * soft-fp/negdf2.c: Likewise.
8931 * soft-fp/negsf2.c: Likewise.
8932 * soft-fp/negtf2.c: Likewise.
8933 * soft-fp/op-1.h: Likewise.
8934 * soft-fp/op-2.h: Likewise.
8935 * soft-fp/op-4.h: Likewise.
8936 * soft-fp/op-8.h: Likewise.
8937 * soft-fp/op-common.h: Likewise.
8938 * soft-fp/quad.h: Likewise.
8939 * soft-fp/single.h: Likewise.
8940 * soft-fp/soft-fp.h: Likewise.
8941 * soft-fp/sqrtdf2.c: Likewise.
8942 * soft-fp/sqrtsf2.c: Likewise.
8943 * soft-fp/sqrttf2.c: Likewise.
8944 * soft-fp/subdf3.c: Likewise.
8945 * soft-fp/subsf3.c: Likewise.
8946 * soft-fp/subtf3.c: Likewise.
8947 * soft-fp/truncdfsf2.c: Likewise.
8948 * soft-fp/trunctfdf2.c: Likewise.
8949 * soft-fp/trunctfsf2.c: Likewise.
8950 * soft-fp/trunctfxf2.c: Likewise.
8951 * soft-fp/unorddf2.c: Likewise.
8952 * soft-fp/unordsf2.c: Likewise.
8953 * soft-fp/unordtf2.c: Likewise.
8955 2013-10-15 Joseph Myers <joseph@codesourcery.com>
8957 * soft-fp/op-2.h (_FP_DIV_MEAT_2_gmp): Remove macro.
8958 * soft-fp/soft-fp.h (FP_UNSET_EXCEPTION): Likewise.
8960 2013-10-15 Ondřej Bílka <neleai@seznam.cz>
8962 * elf/dl-libc.c: Clear initfini list after freeing.
8964 2013-10-14 Joseph Myers <joseph@codesourcery.com>
8966 * soft-fp/adddf3.c: Fix vertical whitespace and indentation.
8967 * soft-fp/addsf3.c: Likewise.
8968 * soft-fp/addtf3.c: Likewise.
8969 * soft-fp/divdf3.c: Likewise.
8970 * soft-fp/divsf3.c: Likewise.
8971 * soft-fp/divtf3.c: Likewise.
8972 * soft-fp/double.h: Likewise.
8973 * soft-fp/eqdf2.c: Likewise.
8974 * soft-fp/eqsf2.c: Likewise.
8975 * soft-fp/eqtf2.c: Likewise.
8976 * soft-fp/extenddftf2.c: Likewise.
8977 * soft-fp/extended.h: Likewise.
8978 * soft-fp/extendsfdf2.c: Likewise.
8979 * soft-fp/extendsftf2.c: Likewise.
8980 * soft-fp/extendxftf2.c: Likewise.
8981 * soft-fp/fixdfdi.c: Likewise.
8982 * soft-fp/fixdfsi.c: Likewise.
8983 * soft-fp/fixdfti.c: Likewise.
8984 * soft-fp/fixsfdi.c: Likewise.
8985 * soft-fp/fixsfsi.c: Likewise.
8986 * soft-fp/fixsfti.c: Likewise.
8987 * soft-fp/fixtfdi.c: Likewise.
8988 * soft-fp/fixtfsi.c: Likewise.
8989 * soft-fp/fixtfti.c: Likewise.
8990 * soft-fp/fixunsdfdi.c: Likewise.
8991 * soft-fp/fixunsdfsi.c: Likewise.
8992 * soft-fp/fixunsdfti.c: Likewise.
8993 * soft-fp/fixunssfdi.c: Likewise.
8994 * soft-fp/fixunssfsi.c: Likewise.
8995 * soft-fp/fixunssfti.c: Likewise.
8996 * soft-fp/fixunstfdi.c: Likewise.
8997 * soft-fp/fixunstfsi.c: Likewise.
8998 * soft-fp/fixunstfti.c: Likewise.
8999 * soft-fp/floatdidf.c: Likewise.
9000 * soft-fp/floatdisf.c: Likewise.
9001 * soft-fp/floatditf.c: Likewise.
9002 * soft-fp/floatsidf.c: Likewise.
9003 * soft-fp/floatsisf.c: Likewise.
9004 * soft-fp/floatsitf.c: Likewise.
9005 * soft-fp/floattidf.c: Likewise.
9006 * soft-fp/floattisf.c: Likewise.
9007 * soft-fp/floattitf.c: Likewise.
9008 * soft-fp/floatundidf.c: Likewise.
9009 * soft-fp/floatundisf.c: Likewise.
9010 * soft-fp/floatunsidf.c: Likewise.
9011 * soft-fp/floatunsisf.c: Likewise.
9012 * soft-fp/floatuntidf.c: Likewise.
9013 * soft-fp/floatuntisf.c: Likewise.
9014 * soft-fp/floatuntitf.c: Likewise.
9015 * soft-fp/fmadf4.c: Likewise.
9016 * soft-fp/fmasf4.c: Likewise.
9017 * soft-fp/fmatf4.c: Likewise.
9018 * soft-fp/gedf2.c: Likewise.
9019 * soft-fp/gesf2.c: Likewise.
9020 * soft-fp/getf2.c: Likewise.
9021 * soft-fp/ledf2.c: Likewise.
9022 * soft-fp/lesf2.c: Likewise.
9023 * soft-fp/letf2.c: Likewise.
9024 * soft-fp/muldf3.c: Likewise.
9025 * soft-fp/mulsf3.c: Likewise.
9026 * soft-fp/multf3.c: Likewise.
9027 * soft-fp/negdf2.c: Likewise.
9028 * soft-fp/negsf2.c: Likewise.
9029 * soft-fp/negtf2.c: Likewise.
9030 * soft-fp/op-1.h: Likewise.
9031 * soft-fp/op-2.h: Likewise.
9032 * soft-fp/op-4.h: Likewise.
9033 * soft-fp/op-8.h: Likewise.
9034 * soft-fp/op-common.h: Likewise.
9035 * soft-fp/quad.h: Likewise.
9036 * soft-fp/single.h: Likewise.
9037 * soft-fp/soft-fp.h: Likewise.
9038 * soft-fp/sqrtdf2.c: Likewise.
9039 * soft-fp/sqrtsf2.c: Likewise.
9040 * soft-fp/sqrttf2.c: Likewise.
9041 * soft-fp/subdf3.c: Likewise.
9042 * soft-fp/subsf3.c: Likewise.
9043 * soft-fp/subtf3.c: Likewise.
9044 * soft-fp/truncdfsf2.c: Likewise.
9045 * soft-fp/trunctfdf2.c: Likewise.
9046 * soft-fp/trunctfsf2.c: Likewise.
9047 * soft-fp/trunctfxf2.c: Likewise.
9048 * soft-fp/unorddf2.c: Likewise.
9049 * soft-fp/unordsf2.c: Likewise.
9050 * soft-fp/unordtf2.c: Likewise.
9052 2013-10-14 Ondřej Bílka <neleai@seznam.cz>
9055 * misc/error.c (error_tail): Fix possible buffer overflow.
9057 2013-10-14 Aurelien Jarno <aurelien@aurel32.net>
9060 * res_send.c(__libc_res_nsend): Correctly copy the nameserver
9063 2013-10-14 P. J. McDermott <pj@pehjota.net>
9066 * elf/ldd.bash.in (try_trace): New function. Delete previous code
9067 testing pipefail option.
9069 2013-10-12 Joseph Myers <joseph@codesourcery.com>
9071 * soft-fp/double.h: Indent preprocessor directives inside #if.
9072 * soft-fp/extended.h: Likewise.
9073 * soft-fp/op-2.h: Likewise.
9074 * soft-fp/op-4.h: Likewise.
9075 * soft-fp/op-common.h: Likewise.
9076 * soft-fp/quad.h: Likewise.
9077 * soft-fp/single.h: Likewise.
9078 * soft-fp/soft-fp.h: Likewise.
9080 2013-10-12 Yuri Chornoivan <yurchor@ukr.net>
9082 * iconv/iconv_prog.c: Fix typos.
9083 * stdio-common/psiginfo-data.h: Likewise.
9085 2013-10-12 Reuben Thomas <rrt@sc3d.org>
9088 * locale/setlocale.c: Fix typo.
9090 2013-10-12 Joseph Myers <joseph@codesourcery.com>
9093 * soft-fp/unorddf2.c (__unorddf2): Raise "invalid" exception for
9094 signaling NaN arguments.
9095 * soft-fp/unordsf2.c (__unordsf2): Likewise.
9096 * soft-fp/unordtf2.c (__unordtf2): Likewise.
9099 * soft-fp/gedf2.c (__gedf2): Raise "invalid" exception for all
9101 * soft-fp/gesf2.c (__gesf2): Likewise.
9102 * soft-fp/getf2.c (__getf2): Likewise.
9103 * soft-fp/ledf2.c (__ledf2): Likewise.
9104 * soft-fp/lesf2.c (__lesf2): Likewise.
9105 * soft-fp/letf2.c (__letf2): Likewise.
9107 * soft-fp/eqdf2.c (__eqdf2): Use FP_INIT_EXCEPTIONS.
9108 * soft-fp/eqsf2.c (__eqsf2): Likewise.
9109 * soft-fp/eqtf2.c (__eqtf2): Likewise.
9110 * soft-fp/fixdfdi.c (__fixdfdi): Likewise.
9111 * soft-fp/fixdfsi.c (__fixdfsi): Likewise.
9112 * soft-fp/fixdfti.c (__fixdfti): Likewise.
9113 * soft-fp/fixsfdi.c (__fixsfdi): Likewise.
9114 * soft-fp/fixsfsi.c (__fixsfsi): Likewise.
9115 * soft-fp/fixsfti.c (__fixsfti): Likewise.
9116 * soft-fp/fixtfdi.c (__fixtfdi): Likewise.
9117 * soft-fp/fixtfsi.c (__fixtfsi): Likewise.
9118 * soft-fp/fixtfti.c (__fixtfti): Likewise.
9119 * soft-fp/fixunsdfdi.c (__fixunsdfdi): Likewise.
9120 * soft-fp/fixunsdfsi.c (__fixunsdfsi): Likewise.
9121 * soft-fp/fixunsdfti.c (__fixunsdfti): Likewise.
9122 * soft-fp/fixunssfdi.c (__fixunssfdi): Likewise.
9123 * soft-fp/fixunssfsi.c (__fixunssfsi): Likewise.
9124 * soft-fp/fixunssfti.c (__fixunssfti): Likewise.
9125 * soft-fp/fixunstfdi.c (__fixunstfdi): Likewise.
9126 * soft-fp/fixunstfsi.c (__fixunstfsi): Likewise.
9127 * soft-fp/fixunstfti.c (__fixunstfti): Likewise.
9128 * soft-fp/floatdidf.c (__floatdidf): Use FP_INIT_ROUNDMODE.
9129 * soft-fp/floatdisf.c (__floatdisf): Likewise.
9130 * soft-fp/floatsisf.c (__floatsisf): Likewise.
9131 * soft-fp/floattidf.c (__floattidf): Likewise.
9132 * soft-fp/floattisf.c (__floattisf): Likewise.
9133 * soft-fp/floattitf.c (__floattitf): Likewise.
9134 * soft-fp/floatundidf.c (__floatundidf): Likewise.
9135 * soft-fp/floatundisf.c (__floatundisf): Likewise.
9136 * soft-fp/floatunsisf.c (__floatunsisf): Likewise.
9137 * soft-fp/floatuntidf.c (__floatuntidf): Likewise.
9138 * soft-fp/floatuntisf.c (__floatuntisf): Likewise.
9139 * soft-fp/floatuntitf.c (__floatuntitf): Likewise.
9140 * soft-fp/gedf2.c (__gedf2): Use FP_INIT_EXCEPTIONS.
9141 * soft-fp/gesf2.c (__gesf2): Likewise.
9142 * soft-fp/getf2.c (__getf2): Likewise.
9143 * soft-fp/ledf2.c (__ledf2): Likewise.
9144 * soft-fp/lesf2.c (__lesf2): Likewise.
9145 * soft-fp/letf2.c (__letf2): Likewise.
9147 * soft-fp/soft-fp.h [FP_NO_EXCEPTIONS] (FP_SET_EXCEPTION):
9148 Undefine and redefine.
9149 [FP_NO_EXCEPTIONS] (FP_CUR_EXCEPTIONS): Likewise.
9150 [FP_NO_EXCEPTIONS] (FP_TRAPPING_EXCEPTIONS): Likewise.
9151 [FP_NO_EXCEPTIONS] (FP_ROUNDMODE): Likewise.
9152 * soft-fp/floatditf.c (FP_NO_EXCEPTIONS): Define macro.
9153 (__floatditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
9154 * soft-fp/floatsidf.c (FP_NO_EXCEPTIONS): Define macro.
9155 (__floatsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
9156 * soft-fp/floatsitf.c (FP_NO_EXCEPTIONS): Define macro.
9157 (__floatsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
9158 * soft-fp/floatunditf.c (FP_NO_EXCEPTIONS): Define macro.
9159 (__floatunditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
9160 * soft-fp/floatunsidf.c (FP_NO_EXCEPTIONS): Define macro.
9161 (__floatunsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
9162 * soft-fp/floatunsitf.c (FP_NO_EXCEPTIONS): Define macro.
9163 (__floatunsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
9166 * soft-fp/op-2.h (_FP_DIV_MEAT_2_udiv): Shift numerator right
9167 without decrementing exponent if mantissa >= that for the
9169 (_FP_DIV_MEAT_2_gmp): Test numerator mantissa >= that for the
9170 denominator, not >. Decrement exponent in < case instead of
9171 incrementing in >= case.
9172 * soft-fp/op-4.h (_FP_DIV_MEAT_4_udiv): Shift numerator right
9173 without decrementing exponent if mantissa >= that for the
9176 * soft-fp/op-common.h (_FP_TO_INT): Reverse test of sign for
9177 computing saturated result for unsigned overflow.
9179 2013-10-11 Siddhesh Poyarekar <siddhesh@redhat.com>
9180 Jeff Law <law@redhat.com>
9182 * sysdeps/ieee754/dbl-64/e_atan2.c: Include stap-probe.h.
9183 (atan2Mp): Add systemtap probe marker.
9184 * sysdeps/ieee754/dbl-64/e_log.c: include stap-probe.h.
9185 (__ieee754_log): Add systemtap probe marker.
9186 * sysdeps/ieee754/dbl-64/s_atan.c: Include stap-probe.h.
9187 (atanMp): Add systemtap probe marker.
9188 * sysdeps/ieee754/dbl-64/s_tan.c: Include stap-probe.h.
9189 (tanMp): Add systemtap probe marker.
9190 * sysdeps/ieee754/dbl-64/slowexp.c: Include stap-probe.h.
9191 (__slowexp): Add systemtap probe marker.
9192 * sysdeps/ieee754/dbl-64/slowpow.c: Include stap-probe.h.
9193 (__slowpow): Add systemtap probe marker.
9194 * manual/probes.texi: Document probes.
9196 2013-10-11 Eric Biggers <ebiggers3@gmail.com>
9199 * libio/fileops.c (_IO_new_file_write): Return count of bytes
9201 (_IO_new_file_xsputn): Don't return EOF if nothing has been
9203 * libio/iofwrite.c (_IO_fwrite): Return count if bytes were
9204 written to buffer but not flushed.
9205 * libio/iofwrite_u.c: Likewise.
9206 * libio/iopadn.c: Return bytes returned even if EOF was
9208 * libio/iowpadn.c: Likewise.
9209 * stdio-common/vfprintf.c [COMPILE_WPRINTF] (PAD): Return error
9210 if _IO_padn does not write the whole buffer.
9211 [!COMPILE_WPRINTF] (PAD): Likewise.
9213 2013-10-10 David S. Miller <davem@davemloft.net>
9215 * sysdeps/posix/dirstream.h (struct __dirstream): Fix alignment of
9218 2013-10-10 Joseph Myers <joseph@codesourcery.com>
9220 * soft-fp/extendxftf2.c: Use copyright year range. Use URL
9221 instead of FSF address.
9222 * soft-fp/fixdfti.c: Likewise.
9223 * soft-fp/fixsfti.c: Likewise.
9224 * soft-fp/fixtfti.c: Likewise.
9225 * soft-fp/fixunsdfti.c: Likewise.
9226 * soft-fp/fixunssfti.c: Likewise.
9227 * soft-fp/fixunstfti.c: Likewise.
9228 * soft-fp/floattidf.c: Likewise.
9229 * soft-fp/floattisf.c: Likewise.
9230 * soft-fp/floattitf.c: Likewise.
9231 * soft-fp/floatuntidf.c: Likewise.
9232 * soft-fp/floatuntisf.c: Likewise.
9233 * soft-fp/floatuntitf.c: Likewise.
9234 * soft-fp/trunctfxf2.c: Likewise.
9236 * soft-fp/extendxftf2.c: New file. Copied from libgcc.
9237 * soft-fp/fixdfti.c: Likewise.
9238 * soft-fp/fixsfti.c: Likewise.
9239 * soft-fp/fixtfti.c: Likewise.
9240 * soft-fp/fixunsdfti.c: Likewise.
9241 * soft-fp/fixunssfti.c: Likewise.
9242 * soft-fp/fixunstfti.c: Likewise.
9243 * soft-fp/floattidf.c: Likewise.
9244 * soft-fp/floattisf.c: Likewise.
9245 * soft-fp/floattitf.c: Likewise.
9246 * soft-fp/floatuntidf.c: Likewise.
9247 * soft-fp/floatuntisf.c: Likewise.
9248 * soft-fp/floatuntitf.c: Likewise.
9249 * soft-fp/trunctfxf2.c: Likewise.
9251 2013-10-10 David S. Miller <davem@davemloft.net>
9253 * sysdeps/sparc/fpu/libm-test-ulps: Update.
9255 2013-10-10 Joseph Myers <joseph@codsourcery.com>
9257 * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
9258 (CFLAGS-e_hypotl.c): Add -fno-builtin-fabsl.
9259 [$(subdir) = math] (CFLAGS-w_acosl.c): Likewise.
9260 [$(subdir) = math] (CFLAGS-w_asinl.c): Likewise.
9261 [$(subdir) = math] (CFLAGS-w_atanhl.c): Likewise.
9262 [$(subdir) = math] (CFLAGS-w_j0l.c): Likewise.
9263 [$(subdir) = math] (CFLAGS-w_j1l.c): Likewise.
9265 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Check
9266 for NaNs before doing comparisons on argument.
9267 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl):
9270 2013-10-10 Will Newton <will.newton@linaro.org>
9272 * malloc/hooks.c (memalign_check): Ensure the value of bytes
9273 passed to _int_memalign does not overflow.
9275 2013-10-10 Torvald Riegel <triegel@redhat.com>
9277 * scripts/bench.pl: Add include-sources directive.
9278 * benchtests/README: Update documentation.
9280 2013-10-10 Joseph Myers <joseph@codesourcery.com>
9282 * soft-fp/soft-fp.h (FP_INIT_EXCEPTIONS): New macro.
9283 * soft-fp/extenddftf2.c (__extenddftf2): Use FP_INIT_EXCEPTIONS
9284 instead of FP_INIT_ROUNDMODE.
9285 * soft-fp/extendsfdf2.c (__extendsfdf2): Likewise.
9286 * soft-fp/extendsftf2.c (__extendsftf2): Likewise.
9289 * soft-fp/op-common.h (_FP_NEG): Document input as raw. Do not
9290 copy class of input value.
9291 * soft-fp/negdf2.c (__negdf2): Use raw unpacking and packing. Do
9292 not handle exceptions.
9293 * soft-fp/negsf2.c (__negsf2): Likewise.
9294 * soft-fp/negtf2.c (__negtf2): Likewise.
9295 * sysdeps/sparc/sparc32/soft-fp/q_neg.c (_Q_neg): Likewise.
9297 2013-10-09 Joseph Myers <joseph@codesourcery.com>
9299 * soft-fp/op-4.h (_FP_FRAC_DISASSEMBLE_4): Remove trailing
9300 semicolon. From Linux kernel.
9302 2013-10-09 Adam Buchbinder <adam.buchbinder@gmail.com>
9304 * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Fix typo in comment.
9306 2013-10-08 Yogesh Chaudhari <mr.yogesh@gmail.com>
9309 * manual/socket.texi: Added statement about buffer
9310 for gethostbyname2_r.
9312 2013-10-08 Ondřej Bílka <neleai@seznam.cz>
9314 * sysdeps/x86_64/memset.S (ALIGN): Macro removed.
9315 Use .p2align directive instead, throughout.
9316 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
9317 * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Likewise.
9318 * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: Likewise.
9319 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
9320 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
9321 * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: Likewise.
9322 * sysdeps/x86_64/strchr.S: Likewise.
9323 * sysdeps/x86_64/strrchr.S: Likewise.
9325 2013-10-08 Siddhesh Poyarekar <siddhesh@redhat.com>
9327 * sysdeps/ieee754/dbl-64/e_pow.c: Fix code formatting.
9329 * sysdeps/ieee754/dbl-64/e_exp.c: Fix code formatting.
9331 * sysdeps/generic/math_private.h (__mpsin1): Remove
9333 (__mpcos1): Likewise.
9334 (__mpsin): New argument __range_reduce.
9335 (__mpcos): Likewise.
9336 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
9337 (slow): Use __mpsin and __mpcos.
9344 (bsloww1): Likewise.
9345 (bsloww2): Likewise.
9348 (csloww1): Likewise.
9349 (csloww2): Likewise.
9350 * sysdeps/ieee754/dbl-64/sincos32.c (__mpsin): Add argument
9351 range_reduce. Merge in __mpsin1.
9352 (__mpcos): Likewise.
9354 (__mpcos1): Likewise.
9356 2013-10-07 Joseph Myers <joseph@codesourcery.com>
9358 * locale/loadlocale.c (_nl_intern_locale_data): Use
9360 * locale/programs/3level.h (CONCAT(add_locale_,TABLE)): Use
9361 LOCFILE_ALIGN_UP and LOCFILE_ALIGN.
9362 * locale/programs/ld-collate.c (obstack_int32_grow): Assert that
9363 obstack data is appropriately aligned.
9364 (obstack_int32_grow_fast): Likewise.
9365 * locale/programs/ld-ctype.c (ctype_output): Use LOCFILE_ALIGN.
9366 * locale/programs/locfile.c (add_locale_uint32): Likewise.
9367 (add_locale_uint32_array): Likewise.
9369 2013-10-07 Siddhesh Poyarekar <siddhesh@redhat.com>
9371 * benchtests/Makefile: Remove ARGLIST and RET variables.
9372 ($(objpfx)bench-%.c): Pass only function name to the script.
9373 * benchtests/README: Update documentation.
9374 * benchtests/acos-inputs: Add new directives.
9375 * benchtests/acosh-inputs: Likewise.
9376 * benchtests/asin-inputs: Likewise.
9377 * benchtests/asinh-inputs: Likewise.
9378 * benchtests/atan-inputs: Likewise.
9379 * benchtests/atanh-inputs: Likewise.
9380 * benchtests/cos-inputs: Likewise.
9381 * benchtests/cosh-inputs: Likewise.
9382 * benchtests/exp-inputs: Likewise.
9383 * benchtests/log-inputs: Likewise.
9384 * benchtests/pow-inputs: Likewise.
9385 * benchtests/rint-inputs: Likewise.
9386 * benchtests/sin-inputs: Likewise.
9387 * benchtests/sinh-inputs: Likewise.
9388 * benchtests/tan-inputs: Likewise.
9389 * benchtests/tanh-inputs: Likewise.
9390 * scripts/bench.pl: Add support for new directives.
9392 2013-10-07 Alan Modra <amodra@gmail.com>
9394 * README: Fix careless merge.
9396 2013-10-05 Alan Modra <amodra@gmail.com>
9398 * NEWS: Mention powerpc64le support and bugs fixed.
9399 * README: Both big-endian and little-endian powerpc64 supported.
9401 2013-10-04 Samuel Thibault <samuel.thibault@ens-lyon.org>
9403 * sysdeps/mach/hurd/fork.c (_hurd_atfork_prepare_hook)
9404 (_hurd_atfork_child_hook, _hurd_atfork_parent_hook): New hooks.
9405 (__fork): Call _hurd_atfork_prepare_hook hooks before all locking, call
9406 _hurd_atfork_parent_hook or _hurd_atfork_child_hook after all unlocking.
9408 2013-10-04 Ryan S. Arnold <ryan.arnold@linaro.org>
9410 * misc/swapon.c (swapon): Update definition, adding FLAGS parameter to
9413 2013-10-04 Joseph Myers <joseph@codesourcery.com>
9415 * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = yes] (+cflags):
9416 Move -mhard-float appending from
9417 ports/sysdeps/powerpc/powerpc32/Makefile.
9418 [$(with-fp) = yes] (ASFLAGS): Likewise.
9419 [$(with-fp) = yes] (sysdep-LDFLAGS): Likewise.
9420 * sysdeps/powerpc/nofpu: Move directory from
9421 ports/sysdeps/powerpc/nofpu.
9422 * sysdeps/powerpc/soft-fp: Move directory from
9423 ports/sysdeps/powerpc/soft-fp.
9424 * sysdeps/powerpc/powerpc32/405: Move directory from
9425 ports/sysdeps/powerpc/powerpc32/405.
9426 * sysdeps/powerpc/powerpc32/440: Move directory from
9427 ports/sysdeps/powerpc/powerpc32/440.
9428 * sysdeps/powerpc/powerpc32/464: Move directory from
9429 ports/sysdeps/powerpc/powerpc32/464.
9430 * sysdeps/powerpc/powerpc32/476: Move directory from
9431 ports/sysdeps/powerpc/powerpc32/476.
9432 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu: Move directory
9433 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu.
9434 * sysdeps/unix/sysv/linux/powerpc/powerpc32/405: Move directory
9435 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/405.
9436 * sysdeps/unix/sysv/linux/powerpc/powerpc32/440: Move directory
9437 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/440.
9438 * sysdeps/unix/sysv/linux/powerpc/powerpc32/464: Move directory
9439 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/464.
9440 * sysdeps/unix/sysv/linux/powerpc/powerpc32/476: Move directory
9441 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/476.
9442 * README: Update for powerpc-*-linux-gnu software floating point
9445 * sysdeps/unix/sysv/linux/configure.in (powerpc/powerpc32): Change
9446 case to powerpc/powerpc32*.
9447 * sysdeps/unix/sysv/linux/configure: Regenerated.
9449 * sysdeps/powerpc/fpu_control.h [__NO_FPRS__ && !_SOFT_FLOAT]
9450 (_FPU_MASK_OM): Define as 0x04.
9451 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Define as 0x08.
9452 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Define as
9454 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Define as
9456 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Define as _FPU_DEFAULT.
9458 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S
9459 (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
9461 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S
9462 (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
9464 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S
9465 (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use getcontext_e500
9466 and setcontext_e500.
9468 2013-10-04 Chris Leonard <cjl@sugarlabs,.org>
9470 * locale/iso-3166.def: Update iso-1366.def and related occurrences
9472 2013-10-04 Siddhesh Poyarekar <siddhesh@redhat.com>
9474 * manual/threads.texi (Default Thread Attributes): Fix typo.
9476 2013-10-04 Will Newton <will.newton@linaro.org>
9478 * malloc/Makefile: Add tst-memalign.
9479 * malloc/tst-memalign.c: New file.
9481 * malloc/tst-posix_memalign.c: Add comments.
9482 (do_test): Add comments and call free on all potentially
9483 allocated pointers. Add space after cast.
9485 * malloc/tst-pvalloc.c: Add comments.
9486 (do_test): Add comments and call free on all potentially
9487 allocated pointers. Remove duplicate check for NULL pointer.
9488 Add space after cast.
9490 * malloc/tst-valloc.c: Add comments.
9491 (do_test): Add comments and call free on all potentially
9492 allocated pointers. Remove duplicate check for NULL pointer.
9493 Add space after cast.
9495 2013-10-04 Alan Modra <amodra@gmail.com>
9497 * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
9498 Use stdint types in rather than __attribute__((mode())).
9499 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
9501 2013-10-04 Alan Modra <amodra@gmail.com>
9503 * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
9504 Correct handling of unaligned relocs for little-endian.
9505 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
9507 2013-10-04 Alan Modra <amodra@gmail.com>
9509 * configure.in: Map powerpc64le and powerpcle to base_machine/machine.
9510 * configure: Regenerate.
9511 * nptl/shlib-versions: Powerpc*le starts at 2.18.
9512 * shlib-versions: Likewise.
9514 2013-10-04 Alan Modra <amodra@gmail.com>
9516 * string/tester.c (test_memrchr): Increment reported test cycle.
9518 2013-10-04 Alan Modra <amodra@gmail.com>
9520 * string/test-memcpy.c (do_one_test): When reporting errors, print
9521 string address and don't overrun end of string.
9523 2013-10-04 Alan Modra <amodra@gmail.com>
9525 * sysdeps/powerpc/powerpc64/power7/memchr.S: Replace rlwimi with
9526 insrdi. Make better use of reg selection to speed exit slightly.
9527 Schedule entry path a little better. Remove useless "are we done"
9528 checks on entry to main loop. Handle wrapping around zero address.
9529 Correct main loop count. Handle single left-over word from main
9530 loop inline rather than by using loop_small. Remove extra word
9531 case in loop_small caused by wrong loop count. Add little-endian
9533 * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
9534 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise. Use proper
9536 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
9537 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Add little-endian
9538 support. Avoid rlwimi.
9539 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Likewise.
9541 2013-10-04 Alan Modra <amodra@gmail.com>
9543 * sysdeps/powerpc/powerpc64/memset.S: Replace rlwimi with
9545 * sysdeps/powerpc/powerpc64/power4/memset.S: Likewise.
9546 * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
9547 * sysdeps/powerpc/powerpc64/power7/memset.S: Likewise.
9548 * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
9549 * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
9550 * sysdeps/powerpc/powerpc32/power7/memset.S: Likewise.
9552 2013-10-04 Alan Modra <amodra@gmail.com>
9554 * sysdeps/powerpc/powerpc32/power4/memcpy.S: Add little endian support.
9555 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
9556 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Likewise.
9557 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Likewise.
9558 * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
9559 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
9560 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
9561 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
9562 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Likewise. Make better
9563 use of regs. Use power7 mtocrf. Tidy function tails.
9565 2013-10-04 Alan Modra <amodra@gmail.com>
9567 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Add little-endian support.
9568 Formatting. Consistently use rXXX register defines or rN defines.
9569 Use early exit labels that avoid restoring unused non-volatile regs.
9570 Make cr field use more consistent with rWORDn compares. Rename
9571 regs used as shift registers for unaligned loop, using rN defines
9572 for short lifetime/multiple use regs.
9573 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
9574 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise. Exit with
9575 addi 1,1,64 to pop stack frame. Simplify return value code.
9576 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
9578 2013-10-04 Alan Modra <amodra@gmail.com>
9580 * sysdeps/powerpc/powerpc64/power7/strchr.S (strchr): Add little-endian
9581 support. Correct typos, formatting. Optimize tail. Use insrdi
9583 * sysdeps/powerpc/powerpc32/power7/strchr.S: Likewise.
9584 * sysdeps/powerpc/powerpc64/power7/strchrnul.S (__strchrnul): Add
9585 little-endian support. Correct typos.
9586 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Likewise. Use insrdi
9588 * sysdeps/powerpc/powerpc64/strchr.S (rTMP4, rTMP5): Define. Use
9589 in loop and entry code to keep "and." results.
9590 (strchr): Add little-endian support. Comment. Move cntlzd
9592 * sysdeps/powerpc/powerpc32/strchr.S: Likewise.
9594 2013-10-04 Alan Modra <amodra@gmail.com>
9596 * sysdeps/powerpc/powerpc64/strcpy.S: Add little-endian support:
9597 * sysdeps/powerpc/powerpc32/strcpy.S: Likewise.
9598 * sysdeps/powerpc/powerpc64/stpcpy.S: Likewise.
9599 * sysdeps/powerpc/powerpc32/stpcpy.S: Likewise.
9601 2013-10-04 Alan Modra <amodra@gmail.com>
9603 * sysdeps/powerpc/powerpc64/strcmp.S (rTMP2): Define as r0.
9604 (rTMP): Define as r11.
9605 (strcmp): Add little-endian support. Optimise tail.
9606 * sysdeps/powerpc/powerpc32/strcmp.S: Similarly.
9607 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
9608 * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
9609 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
9610 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
9611 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
9612 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
9614 2013-10-04 Alan Modra <amodra@gmail.com>
9616 * sysdeps/powerpc/powerpc64/power7/strnlen.S (strnlen): Add
9617 little-endian support. Remove unnecessary "are we done" tests.
9618 Handle "s" wrapping around zero and extremely large "size".
9619 Correct main loop count. Handle single left-over word from main
9620 loop inline rather than by using small_loop. Correct comments.
9621 Delete "zero" tail, use "end_max" instead.
9622 * sysdeps/powerpc/powerpc32/power7/strnlen.S: Likewise.
9624 2013-10-04 Alan Modra <amodra@gmail.com>
9626 * sysdeps/powerpc/powerpc64/power7/strlen.S (strlen): Add little-endian
9627 support. Don't branch over align.
9628 * sysdeps/powerpc/powerpc32/power7/strlen.S: Likewise.
9629 * sysdeps/powerpc/powerpc64/strlen.S (strlen): Add little-endian
9630 support. Rearrange tmp reg use to suit. Comment.
9631 * sysdeps/powerpc/powerpc32/strlen.S: Likewise.
9633 2013-10-04 Alan Modra <amodra@gmail.com>
9635 * sysdeps/unix/sysv/linux/powerpc/bits/sigstack.h: New file.
9637 2013-10-04 Alan Modra <amodra@gmail.com>
9639 * sysdeps/unix/sysv/linux/powerpc/powerpc32/makecontext.S: Use
9640 conditional form of branch and link when obtaining pc.
9641 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: Likewise.
9643 2013-10-04 Alan Modra <amodra@gmail.com>
9645 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Use
9647 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Ditto.
9648 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Ditto.
9650 2013-10-04 Alan Modra <amodra@gmail.com>
9652 * sysdeps/powerpc/longjmp.c: Use proper symbol versioning macros.
9653 * sysdeps/powerpc/novmx-longjmp.c: Likewise.
9654 * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Likewise.
9655 * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Likewise.
9656 * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
9657 * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
9658 * sysdeps/powerpc/powerpc32/mcount.c: Likewise.
9659 * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
9660 * sysdeps/powerpc/powerpc64/setjmp.S: Likewise.
9661 * nptl/sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: Likewise.
9663 2013-10-04 Anton Blanchard <anton@au1.ibm.com>
9664 Alistair Popple <alistair@ozlabs.au.ibm.com>
9665 Alan Modra <amodra@gmail.com>
9668 * sysdeps/powerpc/jmpbuf-offsets.h: Comment fix.
9669 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Correct
9670 _dl_hwcap access for little-endian.
9671 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Likewise. Don't
9672 destroy vmx regs when saving unaligned.
9673 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Correct CR load.
9674 * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise CR save. Don't
9675 destroy vmx regs when saving unaligned.
9677 2013-10-04 Alan Modra <amodra@gmail.com>
9679 * sysdeps/powerpc/powerpc32/power4/hp-timing.h (HP_TIMING_NOW):
9680 Don't use a union to pack hi/low value.
9682 2013-10-04 Anton Blanchard <anton@au1.ibm.com>
9684 * sysdeps/powerpc/powerpc64/fpu/s_ceilf.S: Correct float constants
9686 * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
9687 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: Likewise.
9688 * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
9689 * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
9690 * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
9692 2013-10-04 Alan Modra <amodra@gmail.com>
9694 * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Increase alignment of
9695 constants to usual value for .cst8 section, and remove redundant
9697 * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Use float
9698 constant for 0x1p52. Load little-endian words of double from
9699 correct stack offsets.
9701 2013-10-04 Alan Modra <amodra@gmail.com>
9703 * sysdeps/powerpc/sysdep.h (LOWORD, HIWORD, HISHORT): Define.
9704 * sysdeps/powerpc/powerpc32/fpu/s_copysign.S: Load little-endian
9705 words of double from correct stack offsets.
9706 * sysdeps/powerpc/powerpc32/fpu/s_copysignl.S: Likewise.
9707 * sysdeps/powerpc/powerpc32/fpu/s_lrint.S: Likewise.
9708 * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
9709 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
9710 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
9711 * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
9712 * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
9713 * sysdeps/powerpc/powerpc32/power5/fpu/s_isnan.S: Likewise.
9714 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnan.S: Likewise.
9715 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
9716 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
9717 * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
9718 * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
9719 * sysdeps/powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
9720 * sysdeps/powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
9721 * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Use HISHORT.
9722 * sysdeps/powerpc/powerpc64/power7/fpu/s_isinf.S: Likewise.
9724 2013-10-04 Alan Modra <amodra@gmail.com>
9726 * sysdeps/powerpc/fpu_control.h (_FPU_GETCW): Rewrite using
9727 64-bit int/double union.
9728 (_FPU_SETCW): Likewise.
9729 * sysdeps/powerpc/fpu/tst-setcontext-fpscr.c (_GET_DI_FPSCR): Likewise.
9730 (_SET_DI_FPSCR, _GET_SI_FPSCR, _SET_SI_FPSCR): Likewise.
9732 2013-10-04 Alan Modra <amodra@gmail.com>
9734 * sysdeps/powerpc/fpu/s_llround.c (__llround): Rewrite.
9735 * sysdeps/powerpc/fpu/s_llroundf.c (__llroundf): Rewrite.
9737 2013-10-04 Alan Modra <amodra@gmail.com>
9739 * sysdeps/powerpc/fpu/s_float_bitwise.h (__float_and_test28): Don't
9740 use vector int constants.
9741 (__float_and_test24, __float_and8, __float_get_exp): Likewise.
9743 2013-10-04 Anton Blanchard <anton@au1.ibm.com>
9745 * sysdeps/powerpc/fpu/fenv_libc.h (fenv_union_t): Replace int
9746 array with long long.
9747 * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Adjust.
9748 * sysdeps/powerpc/fpu/e_sqrtf.c (__slow_ieee754_sqrtf): Adjust.
9749 * sysdeps/powerpc/fpu/fclrexcpt.c (__feclearexcept): Adjust.
9750 * sysdeps/powerpc/fpu/fedisblxcpt.c (fedisableexcept): Adjust.
9751 * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Adjust.
9752 * sysdeps/powerpc/fpu/fegetexcept.c (__fegetexcept): Adjust.
9753 * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Adjust.
9754 * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Adjust.
9755 * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Adjust.
9756 * sysdeps/powerpc/fpu/fgetexcptflg.c (__fegetexceptflag): Adjust.
9757 * sysdeps/powerpc/fpu/fraiseexcpt.c (__feraiseexcept): Adjust.
9758 * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Adjust.
9759 * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Adjust.
9761 2013-10-04 Anton Blanchard <anton@au1.ibm.com>
9763 * sysdeps/powerpc/bits/mathinline.h (__signbitf): Use builtin.
9764 (__signbit): Likewise. Correct for little-endian.
9765 (__signbitl): Call __signbit.
9766 (lrint): Correct for little-endian.
9767 (lrintf): Call lrint.
9769 2013-10-04 Alan Modra <amodra@gmail.com>
9771 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (mynumber): Replace
9772 union 32-bit int array member with 64-bit int array.
9773 (t515, tm256): Double rather than long double.
9774 (__ieee754_sqrtl): Rewrite using 64-bit arithmetic.
9776 2013-10-04 Alan Modra <amodra@gmail.com>
9778 * sysdeps/ieee754/ldbl-128ibm/ieee754.h (union ieee854_long_double):
9780 (IEEE854_LONG_DOUBLE_BIAS): Delete.
9781 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Don't include ieee854
9782 version of math_ldbl.h.
9784 2013-10-04 Alan Modra <amodra@gmail.com>
9786 [BZ #15734], [BZ #15735]
9787 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Rewrite
9788 all uses of ieee875 long double macros and unions. Simplify test
9789 for 0.0L. Correct |x|<|y| and |x|=|y| test. Use
9790 ldbl_extract_mantissa value for ix,iy exponents. Properly
9791 normalize after ldbl_extract_mantissa, and don't add hidden bit
9792 already handled. Don't treat low word of ieee854 mantissa like
9793 low word of IBM long double and mask off bit when testing for
9795 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Rewrite
9796 all uses of ieee875 long double macros and unions. Simplify tests
9797 for 0.0L and inf. Correct double adjustment of k. Delete dead code
9798 adjusting ha,hb. Simplify code setting kld. Delete two600 and
9799 two1022, instead use their values. Recognise that tests for large
9800 "a" and small "b" are mutually exclusive. Rename vars. Comment.
9801 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c (__ieee754_remainderl):
9802 Rewrite all uses of ieee875 long double macros and unions. Simplify
9803 test for 0.0L and nan. Correct negation.
9804 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfl): Rewrite all uses of
9805 ieee875 long double macros and unions. Correct output for large
9806 magnitude x. Correct absolute value calculation.
9807 (__erfcl): Likewise.
9808 * math/libm-test.inc: Add tests for errors discovered in IBM long
9809 double versions of fmodl, remainderl, erfl and erfcl.
9811 2013-10-04 Alan Modra <amodra@gmail.com>
9813 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Rewrite
9814 all uses of ieee854 long double macros and unions. Simplify tests
9815 for long doubles that are fully specified by the high double.
9816 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
9818 * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c (__ieee754_ilogbl): Likewise.
9819 Remove dead code too.
9820 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
9821 (__ieee754_ynl): Likewise.
9822 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l): Likewise.
9823 * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Likewise.
9824 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Likewise.
9825 Remove dead code too.
9826 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c (__kernel_tanl): Likewise.
9827 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Likewise.
9828 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Likewise.
9829 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c (__isinf_nsl): Likewise.
9831 * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c (___isinfl): Likewise.
9833 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Likewise.
9834 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c (__modfl): Likewise.
9835 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl): Likewise.
9836 Comment on variable precision.
9837 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c (__nexttoward): Likewise.
9838 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
9840 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
9841 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
9842 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
9843 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c (__tanhl): Likewise.
9844 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust tan_towardzero ulps.
9846 2013-10-04 Alan Modra <amodra@gmail.com>
9848 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_high): Define.
9849 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Rewrite
9850 all uses of ieee854 long double macros and unions.
9851 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Likewise.
9852 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
9853 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Likewise.
9854 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl): Likewise.
9855 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l): Likewise.
9856 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
9858 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Likewise.
9859 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
9860 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl): Likewise.
9861 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
9862 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Likewise.
9863 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Likewise.
9864 Simplify sign and nan test too.
9865 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c (__cosl): Likewise.
9866 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c (__fabsl): Likewise.
9867 * sysdeps/ieee754/ldbl-128ibm/s_finitel.c (___finitel): Likewise.
9868 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c (___fpclassifyl):
9870 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
9871 * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c (__issignalingl):
9873 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
9874 * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c (___signbitl): Likewise.
9875 * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c (__sincosl): Likewise.
9876 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c (__sinl): Likewise.
9877 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c (__tanl): Likewise.
9878 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (__logbl): Likewise.
9880 2013-10-04 Alan Modra <amodra@gmail.com>
9882 * stdio-common/printf_size.c (__printf_size): Don't use
9883 union ieee854_long_double in fpnum union.
9884 * stdio-common/printf_fphex.c (__printf_fphex): Likewise. Use
9885 signbit macro to retrieve sign from long double.
9886 * stdio-common/printf_fp.c (___printf_fp): Use signbit macro to
9887 retrieve sign from long double.
9888 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Adjust for fpnum change.
9889 * sysdeps/ieee754/ldbl-128/printf_fphex.c: Likewise.
9890 * sysdeps/ieee754/ldbl-96/printf_fphex.c: Likewise.
9891 * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
9892 * math/test-misc.c (main): Don't use union ieee854_long_double.
9894 2013-10-04 Alan Modra <amodra@gmail.com>
9897 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Comment fix.
9898 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c
9899 (PRINT_FPHEX_LONG_DOUBLE): Tidy code by moving -53 into ediff
9900 calculation. Remove unnecessary test for denormal exponent.
9901 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c (__mpn_extract_long_double):
9902 Correct handling of denormals. Avoid undefined shift behaviour.
9903 Correct normalisation of low mantissa when low double is denormal.
9904 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h
9905 (ldbl_extract_mantissa): Likewise. Comment. Use uint64_t* for hi64.
9906 (ldbl_insert_mantissa): Make both hi64 and lo64 parms uint64_t.
9907 Correct normalisation of low mantissa. Test for overflow of high
9908 mantissa and normalise.
9909 (ldbl_nearbyint): Use more readable constant for two52.
9910 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c
9911 (__mpn_construct_long_double): Fix test for overflow of high
9912 mantissa and correct normalisation. Avoid undefined shift.
9914 2013-10-04 Alan Modra <amodra@gmail.com>
9916 * sysdeps/ieee754/ldbl-128ibm/ieee754.h
9917 (union ibm_extended_long_double): Define as an array of ieee754_double.
9918 (IBM_EXTENDED_LONG_DOUBLE_BIAS): Delete.
9919 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Update all references
9920 to ibm_extended_long_double and IBM_EXTENDED_LONG_DOUBLE_BIAS.
9921 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
9922 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
9923 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c: Likewise.
9924 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
9925 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
9926 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
9927 * sysdeps/ieee754/ldbl-128ibm/strtold_l.c: Likewise.
9928 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
9930 2013-10-03 Joseph Myers <joseph@codesourcery.com>
9932 * locale/programs/locarchive.c (add_locale): Use constant 4096 for
9933 page size instead of calling getpagesize.
9935 * locale/localeinfo.h (LOCFILE_ALIGN): New macro.
9936 (LOCFILE_ALIGN_MASK): Likewise.
9937 (LOCFILE_ALIGN_UP): Likewise.
9938 (LOCFILE_ALIGNED_P): Likewise.
9939 * locale/programs/ld-collate.c (collate_output): Use the new
9940 macros instead of __alignof__ (int32_t).
9941 * locale/weight.h (findidx): Likewise.
9943 2013-10-03 Ondřej Bílka <neleai@seznam.cz>
9946 * manual/string.texi: Fix strncat and wcsncat.
9948 2013-10-03 Brooks Moses <bmoses@google.com>
9951 * Makefile (linkobj/libc_pic.a, linkobj/libc.so): Move rules to...
9952 * Makerules: ...here, and adjust associated comments.
9954 2013-10-02 Will Newton <will.newton@linaro.org>
9956 * malloc/Makefile: Add tst-pvalloc.
9957 * malloc/tst-pvalloc.c: New file.
9959 2013-10-02 Will Newton <will.newton@linaro.org>
9961 * malloc/tst-valloc.c: Rewrite to use test-skeleton.c and
9962 improve test coverage.
9964 2013-10-02 Will Newton <will.newton@linaro.org>
9966 * malloc/Makefile: Add tst-posix_memalign.
9967 * malloc/tst-posix_memalign.c: New file.
9969 2013-10-01 Eric Blake <eblake@redhat.com>
9971 * posix/glob.c (next_brace_sub, prefix_array, collated_compare):
9972 Use __THROWNL rather than __THROW on static functions.
9974 2013-09-30 Petr Machata <pmachata@redhat.com>
9976 * elf/elf.h (R_AARCH64_ABS16): New macro.
9977 (R_AARCH64_PREL64, R_AARCH64_PREL32): Likewise.
9978 (R_AARCH64_PREL16, R_AARCH64_MOVW_UABS_G0): Likewise.
9979 (R_AARCH64_MOVW_UABS_G0_NC, R_AARCH64_MOVW_UABS_G1): Likewise.
9980 (R_AARCH64_MOVW_UABS_G1_NC, R_AARCH64_MOVW_UABS_G2): Likewise.
9981 (R_AARCH64_MOVW_UABS_G2_NC, R_AARCH64_MOVW_UABS_G3): Likewise.
9982 (R_AARCH64_MOVW_SABS_G0, R_AARCH64_MOVW_SABS_G1): Likewise.
9983 (R_AARCH64_MOVW_SABS_G2, R_AARCH64_LD_PREL_LO19): Likewise.
9984 (R_AARCH64_ADR_PREL_LO21, R_AARCH64_ADR_PREL_PG_HI21): Likewise.
9985 (R_AARCH64_ADR_PREL_PG_HI21_NC, R_AARCH64_ADD_ABS_LO12_NC): Likewise.
9986 (R_AARCH64_LDST8_ABS_LO12_NC, R_AARCH64_LDST16_ABS_LO12_NC): Likewise.
9987 (R_AARCH64_LDST32_ABS_LO12_NC, R_AARCH64_LDST64_ABS_LO12_NC): Likewise.
9988 (R_AARCH64_LDST128_ABS_LO12_NC, R_AARCH64_TSTBR14): Likewise.
9989 (R_AARCH64_CONDBR19, R_AARCH64_JUMP26, R_AARCH64_CALL26): Likewise.
9990 (R_AARCH64_MOVW_PREL_G0, R_AARCH64_MOVW_PREL_G0_NC): Likewise.
9991 (R_AARCH64_MOVW_PREL_G1, R_AARCH64_MOVW_PREL_G1_NC): Likewise.
9992 (R_AARCH64_MOVW_PREL_G2, R_AARCH64_MOVW_PREL_G2_NC): Likewise.
9993 (R_AARCH64_MOVW_PREL_G3, R_AARCH64_MOVW_GOTOFF_G0): Likewise.
9994 (R_AARCH64_MOVW_GOTOFF_G0_NC, R_AARCH64_MOVW_GOTOFF_G1): Likewise.
9995 (R_AARCH64_MOVW_GOTOFF_G1_NC, R_AARCH64_MOVW_GOTOFF_G2): Likewise.
9996 (R_AARCH64_MOVW_GOTOFF_G2_NC, R_AARCH64_MOVW_GOTOFF_G3): Likewise.
9997 (R_AARCH64_GOTREL64, R_AARCH64_GOTREL32): Likewise.
9998 (R_AARCH64_GOT_LD_PREL19, R_AARCH64_LD64_GOTOFF_LO15): Likewise.
9999 (R_AARCH64_ADR_GOT_PAGE, R_AARCH64_LD64_GOT_LO12_NC): Likewise.
10000 (R_AARCH64_LD64_GOTPAGE_LO15, R_AARCH64_TLSGD_ADR_PREL21): Likewise.
10001 (R_AARCH64_TLSGD_ADR_PAGE21, R_AARCH64_TLSGD_ADD_LO12_NC): Likewise.
10002 (R_AARCH64_TLSGD_MOVW_G1, R_AARCH64_TLSGD_MOVW_G0_NC): Likewise.
10003 (R_AARCH64_TLSLD_ADR_PREL21, R_AARCH64_TLSLD_ADR_PAGE21): Likewise.
10004 (R_AARCH64_TLSLD_ADD_LO12_NC, R_AARCH64_TLSLD_MOVW_G1): Likewise.
10005 (R_AARCH64_TLSLD_MOVW_G0_NC, R_AARCH64_TLSLD_LD_PREL19): Likewise.
10006 (R_AARCH64_TLSLD_MOVW_DTPREL_G2): Likewise.
10007 (R_AARCH64_TLSLD_MOVW_DTPREL_G1): Likewise.
10008 (R_AARCH64_TLSLD_MOVW_DTPREL_G1_NC): Likewise.
10009 (R_AARCH64_TLSLD_MOVW_DTPREL_G0): Likewise.
10010 (R_AARCH64_TLSLD_MOVW_DTPREL_G0_NC): Likewise.
10011 (R_AARCH64_TLSLD_ADD_DTPREL_HI12): Likewise.
10012 (R_AARCH64_TLSLD_ADD_DTPREL_LO12): Likewise.
10013 (R_AARCH64_TLSLD_ADD_DTPREL_LO12_NC): Likewise.
10014 (R_AARCH64_TLSLD_LDST8_DTPREL_LO12): Likewise.
10015 (R_AARCH64_TLSLD_LDST8_DTPREL_LO12_NC): Likewise.
10016 (R_AARCH64_TLSLD_LDST16_DTPREL_LO12): Likewise.
10017 (R_AARCH64_TLSLD_LDST16_DTPREL_LO12_NC): Likewise.
10018 (R_AARCH64_TLSLD_LDST32_DTPREL_LO12): Likewise.
10019 (R_AARCH64_TLSLD_LDST32_DTPREL_LO12_NC): Likewise.
10020 (R_AARCH64_TLSLD_LDST64_DTPREL_LO12): Likewise.
10021 (R_AARCH64_TLSLD_LDST64_DTPREL_LO12_NC): Likewise.
10022 (R_AARCH64_TLSLD_LDST128_DTPREL_LO12): Likewise.
10023 (R_AARCH64_TLSLD_LDST128_DTPREL_LO12_NC): Likewise.
10024 (R_AARCH64_TLSIE_MOVW_GOTTPREL_G1): Likewise.
10025 (R_AARCH64_TLSIE_MOVW_GOTTPREL_G0_NC): Likewise.
10026 (R_AARCH64_TLSIE_ADR_GOTTPREL_PAGE21): Likewise.
10027 (R_AARCH64_TLSIE_LD64_GOTTPREL_LO12_NC): Likewise.
10028 (R_AARCH64_TLSIE_LD_GOTTPREL_PREL19): Likewise.
10029 (R_AARCH64_TLSLE_MOVW_TPREL_G2): Likewise.
10030 (R_AARCH64_TLSLE_MOVW_TPREL_G1): Likewise.
10031 (R_AARCH64_TLSLE_MOVW_TPREL_G1_NC): Likewise.
10032 (R_AARCH64_TLSLE_MOVW_TPREL_G0): Likewise.
10033 (R_AARCH64_TLSLE_MOVW_TPREL_G0_NC): Likewise.
10034 (R_AARCH64_TLSLE_ADD_TPREL_HI12): Likewise.
10035 (R_AARCH64_TLSLE_ADD_TPREL_LO12): Likewise.
10036 (R_AARCH64_TLSLE_ADD_TPREL_LO12_NC): Likewise.
10037 (R_AARCH64_TLSLE_LDST8_TPREL_LO12): Likewise.
10038 (R_AARCH64_TLSLE_LDST8_TPREL_LO12_NC): Likewise.
10039 (R_AARCH64_TLSLE_LDST16_TPREL_LO12): Likewise.
10040 (R_AARCH64_TLSLE_LDST16_TPREL_LO12_NC): Likewise.
10041 (R_AARCH64_TLSLE_LDST32_TPREL_LO12): Likewise.
10042 (R_AARCH64_TLSLE_LDST32_TPREL_LO12_NC): Likewise.
10043 (R_AARCH64_TLSLE_LDST64_TPREL_LO12): Likewise.
10044 (R_AARCH64_TLSLE_LDST64_TPREL_LO12_NC): Likewise.
10045 (R_AARCH64_TLSLE_LDST128_TPREL_LO12): Likewise.
10046 (R_AARCH64_TLSLE_LDST128_TPREL_LO12_NC): Likewise.
10047 (R_AARCH64_TLSDESC_LD_PREL19): Likewise.
10048 (R_AARCH64_TLSDESC_ADR_PREL21): Likewise.
10049 (R_AARCH64_TLSDESC_ADR_PAGE21): Likewise.
10050 (R_AARCH64_TLSDESC_LD64_LO12): Likewise.
10051 (R_AARCH64_TLSDESC_ADD_LO12): Likewise.
10052 (R_AARCH64_TLSDESC_OFF_G1): Likewise.
10053 (R_AARCH64_TLSDESC_OFF_G0_NC): Likewise.
10054 (R_AARCH64_TLSDESC_LDR): Likewise.
10055 (R_AARCH64_TLSDESC_ADD): Likewise.
10056 (R_AARCH64_TLSDESC_CALL): Likewise.
10058 2013-09-30 Andreas Schwab <schwab@suse.de>
10061 * nscd/aicache.c (addhstaiX): Properly use the cache variable for
10062 the nss database lookup.
10063 * nscd/initgrcache.c (addinitgroupsX): Likewise.
10064 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
10066 2013-09-28 Mike Frysinger <vapier@gentoo.org>
10068 * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Fix style.
10070 2013-09-28 P. J. McDermott <pj@pehjota.net>
10072 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't use
10073 ${Bash-specific parameter/pattern/string} parameter expansion.
10074 * sysdeps/unix/make-syscalls.sh: Likewise.
10076 2013-09-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
10078 * sysdeps/sh/stackguard-macros.h: New file.
10080 2013-09-26 Ondřej Bílka <neleai@seznam.cz>
10082 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
10083 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove strrchr ifunc.
10084 * sysdeps/x86_64/multiarch/strend-sse4.S Remove.
10085 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S Likewise.
10086 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
10087 * sysdeps/x86_64/strrchr.S (strrchr): Use optimized implementation.
10089 2013-09-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10091 * sysdeps/powerpc/powerpc64/stackguard-macros.h (POINTER_CHK_GUARD:
10092 Fix thread ID register.
10094 2013-09-25 Joseph Myers <joseph@codesourcery.com>
10096 * conform/data/sched.h-data [XPG3 || XPG4]: Disable whole file.
10097 [POSIX || UNIX98]: Require rather than permitting all symbols from
10099 [POSIX || UNIX98] (sched_ss_low_priority): Do not specify optional
10100 element of struct sched_param.
10101 [POSIX || UNIX98] (sched_ss_repl_period): Likewise.
10102 [POSIX || UNIX98] (sched_ss_init_budget): Likewise.
10103 [POSIX || UNIX98] (sched_ss_max_repl): Likewise.
10104 [POSIX || UNIX98] (SCHED_SPORADIC): Do not specify optional
10107 2013-09-24 Olivier Langlois <olivier@olivierlanglois.net>
10109 * stdio-common/tst-long-dbl-fphex.c (do_test): Fix swprintf length
10110 argument calculation.
10112 2013-09-24 Joseph Myers <joseph@codesourcery.com>
10114 * conform/data/pthread.h-data [POSIX] (PTHREAD_MUTEX_INITIALIZER):
10116 [POSIX] (pthread_attr_t): Do not require type.
10117 [POSIX] (pthread_cond_t): Likewise.
10118 [POSIX] (pthread_condattr_t): Likewise.
10119 [POSIX] (pthread_key_t): Likewise.
10120 [POSIX] (pthread_mutex_t): Likewise.
10121 [POSIX] (pthread_mutexattr_t): Likewise.
10122 [POSIX] (pthread_once_t): Likewise.
10123 [POSIX] (pthread_t): Likewise.
10124 [POSIX-based standards] (pthread_atfork): Expect function.
10126 2013-09-24 Joseph Myers <joseph@codesourcery.com>
10127 Richard Sandiford <richard@codesourcery.com>
10129 * locale/programs/locfile.h: Include <byteswap.h> and <stdbool.h>.
10130 (swap_endianness_p): New extern variable.
10131 (set_big_endian): New inline function.
10132 (maybe_swap_uint32): Likewise.
10133 (maybe_swap_uint32_array): Likewise.
10134 (maybe_swap_uint32_obstack): Likewise.
10135 * locale/programs/locfile.c: Include <stdbool.h>.
10136 (swap_endianness_p): New variable.
10137 (add_locale_uint32): Call maybe_swap_uint32.
10138 (add_locale_uint32_array): Call maybe_swap_uint32_obstack.
10139 (write_locale_data): Call maybe_swap_uint32_array.
10140 * locale/programs/ld-collate.c (obstack_int32_grow): Call
10142 (obstack_int32_grow_fast): Likewise.
10143 (output_weightwc): Call maybe_swap_uint32_obstack.
10144 (collate_output): Likewise.
10145 * locale/programs/localedef.c (OPT_LITTLE_ENDIAN): New macro.
10146 (OPT_LITTLE_ENDIAN): Likewise.
10147 (options): Add --little-endian and --big-endian options.
10148 (parse_opt): Handle OPT_LITTLE_ENDIAN and OPT_BIG_ENDIAN.
10149 * locale/programs/locarchive.c: Include "locfile.h".
10153 (create_archive): Use the new macros to access fields of
10154 structures directly mapped from or written to locale archives.
10155 (oldlocrecentcmp): Likewise.
10156 (enlarge_archive): Likewise.
10157 (insert_name): Likewise.
10158 (add_alias): Likewise.
10159 (add_locale): Likewise.
10160 (delete_locales_from_archive): Likewise.
10161 (show_archive_content): Likewise.
10162 (add_locale_to_archive): Likewise. Use maybe_swap_uint32 on
10165 2013-09-24 Roland McGrath <roland@hack.frob.com>
10167 * manual/freemanuals.texi: Updated from (newly) canonical copy at
10168 http://www.gnu.org/doc/freemanuals.texi.
10169 * manual/libc.texinfo (Free Manuals): Put the @appendix line here.
10171 2013-09-24 Will Newton <will.newton@linaro.org>
10173 * sysdeps/mach/hurd/i386/tls.h (TLS_INIT_TP_EXPENSIVE): Remove
10176 2013-09-23 Joseph Myers <joseph@codesourcery.com>
10178 * locale/hashval.h (compute_hashval): Interpret bytes of key as
10181 2013-09-23 Maciej W. Rozycki <macro@codesourcery.com>
10183 * manual/threads.texi (POSIX Threads): Fix a typo.
10185 2013-09-23 Siddhesh Poyarekar <siddhesh@redhat.com>
10188 * string/tst-strcoll-overflow.c: New test case.
10189 * string/Makefile (xtests): Add tst-strcoll-overflow.
10190 * string/strcoll_l.c (STRCOLL): Skip allocating memory for
10191 cache if string sizes may cause integer overflow.
10194 * string/strcoll_l.c (coll_seq): New members rule, idx,
10195 save_idx and back_us.
10196 (get_next_seq_nocache): New function.
10197 (do_compare_nocache): New function.
10198 (STRCOLL): Use get_next_seq_nocache and do_compare_nocache
10201 2013-09-23 Carlos O'Donell <carlos@redhat.com>
10204 * sysdeps/generic/stackguard-macros.h: If PTRGUARD_LOCAL use
10205 __pointer_chk_guard_local, otherwise __pointer_chk_guard.
10206 * elf/Makefile: Define CFLAGS-tst-ptrguard1-static.c.
10209 * elf/Makefile (tests): Add tst-ptrguard1.
10210 (tests-static): Add tst-ptrguard1-static.
10211 (tst-ptrguard1-ARGS): Define.
10212 (tst-ptrguard1-static-ARGS): Define.
10213 * elf/tst-ptrguard1.c: New file.
10214 * elf/tst-ptrguard1-static.c: New file.
10215 * sysdeps/x86_64/stackguard-macros.h: Define POINTER_CHK_GUARD.
10216 * sysdeps/i386/stackguard-macros.h: Likewise.
10217 * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
10218 * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
10219 * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
10220 * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
10221 * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
10222 * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
10224 2013-09-23 Hector Marco <hecmargi@upv.es>
10225 Ismael Ripoll <iripoll@disca.upv.es>
10226 Carlos O'Donell <carlos@redhat.com>
10229 * sysdeps/generic/stackguard-macros.h: Define
10230 __pointer_chk_guard_local and POINTER_CHK_GUARD.
10231 * csu/libc-start.c [!SHARED && !THREAD_SET_POINTER_GUARD]:
10232 Define __pointer_chk_guard_local.
10233 (LIBC_START_MAIN) [!SHARED]: Call _dl_setup_pointer_guard.
10234 Use THREAD_SET_POINTER_GUARD or set __pointer_chk_guard_local.
10236 2013-09-15 Vinitha Vijayan <vinitha.vijayann@gmail.com>
10239 * elf/dl-deps.c (_dl_map_object_deps): Remove duplicate declaration.
10241 2013-09-20 Andreas Schwab <schwab@linux-m68k.org>
10243 * include/string.h (__ffs): Declare as hidden.
10244 * string/ffs.c (__ffs): Define as hidden.
10245 * sysdeps/i386/ffs.c (__ffs): Likewise.
10246 * sysdeps/i386/i686/ffs.c (__ffs): Likewise.
10247 * sysdeps/powerpc/ffs.c (__ffs): Likewise.
10248 * sysdeps/s390/ffs.c (__ffs): Likewise.
10249 * sysdeps/x86_64/ffs.c (__ffs): Likewise.
10251 2013-09-20 Alexandre Oliva <aoliva@redhat.com>
10253 * NEWS: Mention malloc probes.
10255 * malloc/arena.c (new_heap): New memory_heap_new probe.
10256 (grow_heap): New memory_heap_more probe.
10257 (shrink_heap): New memory_heap_less probe.
10258 (heap_trim): New memory_heap_free probe.
10259 * malloc/malloc.c (sysmalloc): New memory_sbrk_more probe.
10260 (systrim): New memory_sbrk_less probe.
10261 * manual/probes.texi: Document them.
10263 * malloc/arena.c (arena_get_retry): Add memory_arena_retry probe.
10264 * manual/probes.texi: Document it.
10266 * malloc/malloc.c (__libc_malloc): Add memory_malloc_retry probe.
10267 (__libc_realloc): Add memory_realloc_retry probe.
10268 (__libc_memalign): Add memory_memalign_retry probe.
10269 (__libc_valloc): Add memory_valloc_retry probe.
10270 (__libc_pvalloc): Add memory_pvalloc_retry probe.
10271 (__libc_calloc): Add memory_calloc_retry probe.
10272 * manual/probes.texi: Document them.
10274 * malloc/arena.c (get_free_list): Add probe
10275 memory_arena_reuse_free_list.
10276 (reused_arena) [PER_THREAD]: Add probes memory_arena_reuse_wait
10277 and memory_arena_reuse.
10278 (arena_get2) [!PER_THREAD]: Likewise.
10279 * malloc/malloc.c (__libc_realloc) [!PER_THREAD]: Add probe
10280 memory_arena_reuse_realloc.
10281 * manual/probes.texi: Document them.
10283 * malloc/malloc.c (__libc_free): Add
10284 memory_mallopt_free_dyn_thresholds probe.
10285 (__libc_mallopt): Add multiple memory_mallopt probes.
10286 * manual/probes.texi: Document them.
10288 * malloc/malloc.c: Include stap-probe.h.
10289 (__libc_mallopt): Add memory_mallopt probe.
10290 * malloc/arena.c (_int_new_arena): Add memory_arena_new probe.
10291 * manual/probes.texi: New.
10292 * manual/Makefile (chapters): Add probes.
10293 * manual/threads.texi: Set next node.
10295 2013-09-19 Wei-Lun Chao <bluebat@member.fsf.org>
10297 [BZ #15963, #13985]
10298 * locale/iso-639.def: Add Chiga (cgg) and Chinese (gan, hak,
10299 czh, cjy, lzh, cmn, mnp, cdo, czo, cpx, wuu, hsn, yue).
10300 Add `Chinese' to `nan' entry name.
10302 2013-09-19 Siddhesh Poyarekar <siddhesh@redhat.com>
10304 * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): New macro.
10305 (POLYNOMIAL): Likewise.
10306 (TAYLOR_SINCOS): Likewise.
10307 (TAYLOR_SLOW): Likewise.
10308 (__sin): Use TAYLOR_SINCOS.
10310 (slow): Use TAYLOR_SLOW.
10312 (bsloww): Likewise.
10313 (csloww): Likewise.
10315 2013-09-19 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
10317 * stdlib/strtod_l.c: Fix buffer overrun.
10319 2013-09-19 Siddhesh Poyarekar <siddhesh@redhat.com>
10321 * benchtests/Makefile (bench): Add sincos.
10322 * benchtests/bench-sincos.c: New file.
10324 * math/libm-test.inc (cos_test_data): New test inputs.
10325 (sin_test_data): Likewise.
10327 * sysdeps/ieee754/dbl-64/s_sin.c (SINCOS_TABLE_LOOKUP): New
10333 (sloww1): Likewise.
10334 (sloww2): Likewise.
10335 (bsloww1): Likewise.
10336 (bsloww2): Likewise.
10337 (cslow2): Likewise.
10338 (csloww1): Likewise.
10339 (csloww2): Likewise.
10341 * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): New
10346 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Remove redundant
10350 2013-09-18 Maciej W. Rozycki <macro@codesourcery.com>
10352 * config.h.in (HAVE_MIPS_NAN2008): New macro.
10353 * elf/elf.h (EF_MIPS_NAN2008): Likewise.
10354 * sysdeps/generic/ldconfig.h (FLAG_MIPS_LIB32_NAN2008): Likewise.
10355 (FLAG_MIPS64_LIBN32_NAN2008): Likewise.
10356 (FLAG_MIPS64_LIBN64_NAN2008): Likewise.
10357 * elf/cache.c (print_entry): Handle the new cache flags.
10359 2013-09-18 Joseph Myers <joseph@codesourcery.com>
10360 Aldy Hernandez <aldyh@redhat.com>
10362 * sysdeps/powerpc/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]:
10363 Change condition to [_SOFT_FLOAT].
10364 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_NEAREST): New macro.
10365 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_DOWN): Likewise.
10366 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_UP): Likewise.
10367 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_ZERO): Likewise.
10368 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_ZM): Likewise.
10369 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_OM): Likewise.
10370 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Likewise.
10371 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_XM): Likewise.
10372 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_IM): Likewise.
10373 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Likewise.
10374 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Likewise.
10375 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Likewise.
10376 [__NO_FPRS__ && !_SOFT_FLOAT] (fpu_control_t): New typedef.
10377 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_GETCW): New macro.
10378 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_SETCW): Likewise.
10379 [__NO_FPRS__ && !_SOFT_FLOAT] (__fpu_control): New variable
10382 2013-09-18 Joseph Myers <joseph@codesourcery.com>
10384 * sysdeps/powerpc/powerpc32/__longjmp-common.S (LOAD_GP): Define
10385 macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
10386 (__longjmp): Use LOAD_GP to load saved GPRs.
10387 * sysdeps/powerpc/powerpc32/setjmp-common.S (SAVE_GP): Define
10388 macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
10389 (__sigsetjmp): Use SAVE_GP to save GPRs.
10391 * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = no] (+cflags):
10392 Do not append -msoft-float.
10393 [$(with-fp) = no] (sysdep-LDFLAGS): Likewise.
10395 2013-09-18 Siddhesh Poyarekar <siddhesh@redhat.com>
10397 * sysdeps/ieee754/dbl-64/sincos32.c: Fix code formatting.
10399 2013-09-17 Joseph Myers <joseph@codesourcery.com>
10402 * sysdeps/powerpc/fpu_control.h [!_SOFT_FLOAT && !__NO_FPRS__]
10403 (_FPU_GETCW): Use initial "__" on variable and field names but not
10404 on macro parameter name.
10405 [!_SOFT_FLOAT && !__NO_FPRS__] (_FPU_SETCW): Likewise. Use
10406 parentheses around reference to macro parameter.
10408 2013-09-13 Richard Sandiford <richard@codesourcery.com>
10410 * locale/programs/ld-ctype.c (find_idx): Use uint32_t in
10412 (ctype_startup): Use uint32_t in cast and sizeof for
10415 2013-09-11 Jia Liu <proljc@gmail.com>
10417 * sunrpc/rpc/types.h [__APPLE_CC__]: Define __u_char_defined and
10419 [__FreeBSD__]: Likewise.
10421 2013-09-11 Ondřej Bílka <neleai@seznam.cz>
10423 * sysdeps/x86_64/multiarch/ifunc-impl-list.c
10424 (__libc_ifunc_impl_list): Remove: __strchr_sse42.
10425 * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Remove.
10426 (strchr): Remove __strchr_sse42 ifunc selection.
10427 * sysdeps/x86_64/strchr.S (strchr): Use optimized implementation.
10428 * sysdeps/x86_64/strchrnul.S: Include sysdeps/x86_64/strchr.S.
10430 2013-09-11 Will Newton <will.newton@linaro.org>
10432 * benchtests/bench-timing.h (TIMING_INIT): Rename ITERS
10433 parameter to RES. Remove hardcoded 1000 value.
10434 * benchtests/bench-skeleton.c (main): Pass RES parameter
10435 to TIMING_INIT and multiply result by 1000.
10437 2013-09-10 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10439 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
10441 2013-09-11 Andreas Schwab <schwab@suse.de>
10443 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (__O_TMPFILE): Define
10445 (O_TMPFILE) [__USE_GNU]: Define.
10446 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_TMPFILE):
10449 2013-09-11 Will Newton <will.newton@linaro.org>
10452 * malloc/malloc.c (__libc_memalign): Check the value of bytes
10455 2013-09-11 Will Newton <will.newton@linaro.org>
10458 * malloc/malloc.c (__libc_valloc): Check the value of bytes
10461 2013-09-11 Will Newton <will.newton@linaro.org>
10464 * malloc/malloc.c (__libc_pvalloc): Check the value of bytes
10467 2013-09-10 Ondřej Bílka <neleai@seznam.cz>
10469 * sysdeps/ieee754/dbl-64/e_j0.c: Remove DO_NOT_USE_THIS conditionals.
10470 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
10471 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
10472 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
10473 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
10475 2013-09-10 Allan McRae <allan@archlinux.org>
10478 * manual/arith.texi (Parsing of Floats): Clarify
10482 * manual/install.texi (Running make install): Mention
10484 * INSTALL: Regenerated.
10486 2013-09-09 Maciej W. Rozycki <macro@codesourcery.com>
10488 * csu/init-first.c (_init): Remove the !SHARED condition around
10489 FPU control word initialization.
10490 * elf/dl-support.c (_dl_fpu_control): New variable.
10491 (_dl_aux_init) <AT_FPUCW>: Initialize it.
10492 * math/test-fpucw.c [!FPU_CONTROL] (FPU_CONTROL): New macro.
10493 (main): Replace _FPU_DEFAULT with FPU_CONTROL throughout.
10494 * math/test-fpucw-static.c: New file.
10495 * math/test-fpucw-ieee.c: New file.
10496 * math/test-fpucw-ieee-static.c: New file.
10497 * math/Makefile (tests): Add `test-fpucw-ieee' and
10499 (tests-static): New variable.
10500 [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests))): Move
10502 [($(build-shared),yes)]
10503 ($(addprefix $(objpfx),$(filter-out $(tests-static),$(tests)))):
10505 [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests-static))):
10508 2013-09-09 Allan McRae <allan@archlinux.org>
10511 * manual/string.texi (Collation Functions): Fix typo in
10513 Reported by Suren Karapetyan <me@suren.karapetyan.name>.
10516 * stdlib/isomac.c (get_null_defines): Fix memory leak.
10519 * libio/memstream.c (open_memstream): Fix memory leak.
10520 * libio/wmemstream.c (open_wmemstream): Likewise.
10523 * nscd/netgroupcache.c: Fix nesting of ifdefs.
10525 2013-09-09 Will Newton <will.newton@linaro.org>
10527 * malloc/Makefile: Add tst-realloc to tests.
10528 * malloc/tst-realloc.c: New file.
10530 2013-09-09 Allan McRae <allan@archlinux.org>
10533 * COPYING: Update from GNU website to fix FSF address.
10534 * COPYING.LIB: Likewise.
10536 2013-09-06 David S. Miller <davem@davemloft.net>
10538 * po/zh_TW.po: Update Chinese (traditional) translation from
10539 translation project.
10541 2013-09-06 Richard Sandiford <richard@codesourcery.com>
10542 Joseph Myers <joseph@codesourcery.com>
10544 * locale/programs/locfile.c: Include <assert.h>, <wchar.h> and
10546 (obstack_chunk_alloc): New macro.
10547 (obstack_chunk_free): Likewise.
10548 (record_offset): New function.
10549 (init_locale_data): Likewise.
10550 (align_locale_data): Likewise.
10551 (add_locale_empty): Likewise.
10552 (add_locale_raw_data): Likewise.
10553 (add_locale_raw_obstack): Likewise.
10554 (add_locale_string): Likewise.
10555 (add_locale_wstring): Likewise.
10556 (add_locale_uint32): Likewise.
10557 (add_locale_uint32_array): Likewise.
10558 (add_locale_char): Likewise.
10559 (start_locale_structure): Likewise.
10560 (end_locale_structure): Likewise.
10561 (start_locale_prelude): Likewise.
10562 (end_locale_prelude): Likewise.
10563 (write_locale_data): Take locale_file structure rather than an
10565 * locale/programs/locfile.h: Include "obstack.h".
10566 (struct locale_file): Change to store locale file contents instead
10568 (init_locale_data): New prototype.
10569 (align_locale_data): Likewise.
10570 (add_locale_empty): Likewise.
10571 (add_locale_raw_data): Likewise.
10572 (add_locale_raw_obstack): Likewise.
10573 (add_locale_string): Likewise.
10574 (add_locale_wstring): Likewise.
10575 (add_locale_uint32): Likewise.
10576 (add_locale_uint32_array): Likewise.
10577 (add_locale_char): Likewise.
10578 (start_locale_structure): Likewise.
10579 (end_locale_structure): Likewise.
10580 (start_locale_prelude): Likewise.
10581 (end_locale_prelude): Likewise.
10582 (write_locale_data): Update prototype.
10583 * locale/programs/3level.h (struct TABLE): Remove result field.
10584 (CONCAT(TABLE,_finalize)): Change to CONCAT(add_locale_,TABLE).
10585 Use new locale_file interface.
10586 [!NO_FINALIZE]: Change condition to [!NO_ADD_LOCALE].
10587 (NO_FINALIZE): Change #undef to #undef of NO_ADD_LOCALE.
10588 * locale/programs/ld-address.c (address_output): Use new
10589 locale_file interface.
10590 * locale/programs/ld-collate.c (NO_FINALIZE): Change to
10592 (collate_finish): Don't call collseq_table_finalize.
10593 (collate_output): Use new locale_file interface.
10594 * locale/programs/ld-ctype.c: Move includes of "3level.h" earlier
10596 (NO_FINALIZE): Change to NO_ADD_LOCALE.
10597 (TABLE): Move defines earlier in file.
10598 (ELEMENT): Likewise.
10599 (DEFAULT): Likewise.
10600 (wctrans_table_add): Move macro and inline function earlier in
10602 (struct wctype_table): Move type earlier in file.
10603 (add_locale_wctype_table): New static prototype.
10604 (struct locale_ctype_t): Use logical types instead of struct iovec
10605 pointers for members.
10606 (ctype_output): Use new locale_file interface.
10607 (wctype_table_finalize): Change to add_locale_wctype_table. Use
10608 new locale_file interface.
10609 (allocate_arrays): Update for use of new locale_file interface.
10610 * locale/programs/ld-identification.c (identification_output): Use
10611 new locale_file interface.
10612 * locale/programs/ld-measurement.c (measurement_output): Likewise.
10613 * locale/programs/ld-messages.c (messages_output): Likewise.
10614 * locale/programs/ld-monetary.c (monetary_output): Likewise.
10615 * locale/programs/ld-name.c (name_output): Likewise.
10616 * locale/programs/ld-numeric.c (numeric_output): Likewise.
10617 * locale/programs/ld-paper.c (paper_output): Likewise.
10618 * locale/programs/ld-telephone.c (telephone_output): Likewise.
10619 * locale/programs/ld-time.c (time_output): Likewise.
10621 2013-09-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10623 * benchtests/Makefile: Add memrchr benchmark.
10624 * benchtests/bench-memchr.c (USE_AS_MEMRCHR): Add define to use
10625 benchmark as memrchr.
10626 * benchtests/bench-memrchr-ifunc.c: New file.
10627 * benchtests/bench-memrchr.c: New file.
10629 2013-09-06 Will Newton <will.newton@linaro.org>
10631 * benchtests/Makefile (string-bench): Add memcpy.
10633 2013-09-05 Carlos O'Donell <carlos@redhat.com>
10634 Cong Wang <amwang@redhat.com>
10637 * sysdeps/unix/sysv/linux/bits/in.h
10638 [_UAPI_LINUX_IN6_H]: Define __USE_KERNEL_IPV6_DEFS.
10639 * inet/netinet/in.h: Move in_addr definition and bits/in.h inclusion
10640 before __USE_KERNEL_IPV6_DEFS uses.
10641 * inet/netinet/in.h [!__USE_KERNEL_IPV6_DEFS]: Define IPPROTO_MH, and
10643 [__USE_KERNEL_IPV6_DEFS]: Don't define any of IPPROTO_*, in6_addr,
10644 sockaddr_in6, or ipv6_mreq.
10646 2013-09-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10648 * sysdeps/powerpc/powerpc32/power7/memrchr.S (__memrchr): Fix invalid
10649 memory access for final bytes in some large inputs.
10650 * sysdeps/powerpc/powerpc64/power7/memrchr.S (__memrchr): Likewise.
10652 2013-09-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10654 * string/test-memrchr.c: New file.
10655 * string/test-memrchr-ifunc.c: New file.
10656 * string/Makefile: Add new memrchr testcase.
10658 2013-09-05 Mike Frysinger <vapier@gentoo.org>
10660 * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Skip test when
10661 fanotify_init returns EPERM.
10663 2013-09-04 Joseph Myers <joseph@codesourcery.com>
10665 * conform/conformtest.pl (newtoken): Treat tokens not allowed as
10667 (top level): Treat second token from macro or constant entries for
10668 allowed headers as allowed.
10669 * include/complex.h: Condition internal declarations on
10671 * include/fenv.h: Condition include of <stdbool.h> and internal
10672 declarations on [!_ISOMAC].
10674 2013-09-04 Chris Leonard <cjl@sugarlabs,.org>
10677 * locale/iso-4217.def: Update iso-1427.def and related occurrences.
10679 2013-09-04 Joseph Myers <joseph@codesourcery.com>
10681 * configure.in (--enable-versioning): Remove configure option.
10682 (libc_cv_asm_symver_directive): Remove configure test.
10683 (libc_cv_ld_version_script_option): Likewise.
10684 (VERSIONING): Remove variable and AC_SUBST.
10685 (DO_VERSIONING): Remove AC_DEFINE.
10686 * configure: Regenerated.
10687 * config.h.in (DO_VERSIONING): Remove macro.
10688 * Makerules [$(versioning) = yes]: Change conditionals to
10689 [$(build-shared) = yes].
10690 * config.make.in (versioning): Remove variable.
10691 * dlfcn/Makefile [$(versioning) = yes]: Change conditionals to
10692 [$(build-shared) = yes].
10693 * dlfcn/modstatic2.c (test) [DO_VERSIONING]: Remove conditional.
10694 * dlfcn/tststatic2.c (main) [DO_VERSIONING]: Likewise.
10695 * elf/Makefile [$(versioning) = yes]: Change conditionals to
10696 [$(build-shared) = yes].
10697 * extra-lib.mk [$(versioning) = yes]: Likewise.
10698 * hurd/Makefile [$(versioning) = yes]: Likewise.
10699 * hurd/geteuids.c [SHARED && DO_VERSIONING]: Change conditional to
10701 * include/libc-symbols.h [DO_VERSIONING]: Change conditional to
10703 [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
10704 [SHARED && !NO_HIDDEN].
10705 * include/shlib-compat.h [DO_VERSIONING]: Change conditional to
10707 [SHARED && DO_VERSIONING]: Likewise..
10708 * libio/Makefile [$(versioning) = yes]: Change conditionals to
10709 [$(build-shared) = yes].
10710 * manual/install.texi (--disable-versioning): Remove
10712 * INSTALL: Regenerated.
10713 * resolv/res_libc.c [SHARED && DO_VERSIONING]: Change conditional
10715 * sunrpc/Makefile [$(versioning) = yes]: Change conditional to
10716 [$(build-shared) = yes].
10717 * sysdeps/gnu/Makefile [$(versioning) = yes]: Likewise.
10718 * sysdeps/i386/i686/multiarch/strstr-c.c
10719 [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
10720 [SHARED && !NO_HIDDEN].
10721 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h
10722 [SHARED && DO_VERSIONING]: Change conditional to [SHARED].
10723 * sysdeps/powerpc/powerpc32/dl-machine.c
10724 [SHARED && !(DO_VERSIONING - 0)]: Remove conditional error.
10725 * sysdeps/powerpc/powerpc32/sysdep.h
10726 [SHARED && DO_VERSIONING && PIC && !NO_HIDDEN]: Change conditional
10727 to [SHARED && PIC && !NO_HIDDEN].
10728 * sysdeps/wordsize-32/divdi3.c [SHARED && DO_VERSIONING]: Change
10729 conditional to [SHARED].
10731 2013-09-04 Will Newton <will.newton@linaro.org>
10733 * benchtests/bench-timing.h (TIMING_PRINT_MEAN): New macro.
10734 * benchtests/bench-string.h: Include bench-timing.h instead
10735 of including hp-timing.h directly. (INNER_LOOP_ITERS): New
10736 define. (HP_TIMING_BEST): Delete macro. (test_init): Remove
10737 call to HP_TIMING_DIFF_INIT.
10738 * benchtests/bench-memccpy.c: Use bench-timing.h macros
10739 instead of hp-timing.h macros.
10740 * benchtests/bench-memchr.c: Likewise.
10741 * benchtests/bench-memcmp.c: Likewise.
10742 * benchtests/bench-memcpy.c: Likewise.
10743 * benchtests/bench-memmem.c: Likewise.
10744 * benchtests/bench-memmove.c: Likewise.
10745 * benchtests/bench-memset.c: Likewise.
10746 * benchtests/bench-rawmemchr.c: Likewise.
10747 * benchtests/bench-strcasecmp.c: Likewise.
10748 * benchtests/bench-strcasestr.c: Likewise.
10749 * benchtests/bench-strcat.c: Likewise.
10750 * benchtests/bench-strchr.c: Likewise.
10751 * benchtests/bench-strcmp.c: Likewise.
10752 * benchtests/bench-strcpy.c: Likewise.
10753 * benchtests/bench-strcpy_chk.c: Likewise.
10754 * benchtests/bench-strlen.c: Likewise.
10755 * benchtests/bench-strncasecmp.c: Likewise.
10756 * benchtests/bench-strncat.c: Likewise.
10757 * benchtests/bench-strncmp.c: Likewise.
10758 * benchtests/bench-strncpy.c: Likewise.
10759 * benchtests/bench-strnlen.c: Likewise.
10760 * benchtests/bench-strpbrk.c: Likewise.
10761 * benchtests/bench-strrchr.c: Likewise.
10762 * benchtests/bench-strspn.c: Likewise.
10763 * benchtests/bench-strstr.c: Likewise.
10765 2013-09-04 Will Newton <will.newton@linaro.org>
10767 * benchtests/Makefile: Use LDLIBS instead of LDFLAGS.
10769 2013-09-03 Joseph Myers <joseph@codesourcery.com>
10772 * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r): Use
10773 2**-30 instead of 2**-70 as threshold for returning -log(|x|).
10774 * math/libm-test.inc (lgamma_test_data): Add more tests.
10775 * sysdeps/i386/fpu/libm-test-ulps: Update.
10776 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10778 2013-09-03 Ondřej Bílka <neleai@seznam.cz>
10780 * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: New file.
10781 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
10783 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
10784 Add strcmp-sse2-unaligned
10785 * sysdeps/x86_64/multiarch/strcmp.S (strcmp): Add ifunc.
10787 2013-09-02 Mike Frysinger <vapier@gentoo.org>
10789 * Versions.def (libc): Add GLIBC_2.19.
10791 2013-09-02 Mike Frysinger <vapier@gentoo.org>
10793 * sysdeps/unix/sysv/linux/tst-fanotify.c: New test.
10794 * sysdeps/unix/sysv/linux/Makefile (tests): Add tst-fanotify.
10796 2013-09-02 Joseph Myers <joseph@codesourcery.com>
10799 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Use double for
10800 intermediate calculations in recurrence.
10801 (__ieee754_ynf): Likewise.
10802 * math/libm-test.inc (jn_test_data): Do not allow spurious
10803 underflow exception. Add more tests.
10804 (yn_test_data): Add more tests.
10805 * sysdeps/i386/fpu/libm-test-ulps: Update.
10806 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10808 2013-09-02 Ondřej Bílka <neleai@seznam.cz>
10810 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Fix typo.
10812 2013-08-30 Ondřej Bílka <neleai@seznam.cz>
10814 * csu/init-first.c: Fix then/than typos.
10815 * locale/programs/ld-collate.c: Likewise.
10816 * locale/programs/linereader.h: Likewise.
10817 * manual/charset.texi: Likewise.
10818 * manual/filesys.texi: Likewise.
10819 * manual/stdio.texi: Likewise.
10820 * manual/string.texi: Likewise.
10821 * stdlib/fmtmsg.c: Likewise.
10822 * sysdeps/i386/stpncpy.S: Likewise.
10823 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
10824 * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
10825 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
10826 * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
10828 2013-08-30 Ondřej Bílka <neleai@seznam.cz>
10830 * elf/dl-open.c: Fix typos.
10831 * iconvdata/gbbig5.c: Likewise.
10832 * iconvdata/iso-2022-jp.c: Likewise.
10833 * iconv/gconv_int.h: Likewise.
10834 * iconv/loop.c: Likewise.
10835 * nis/rpcsvc/nis.h: Likewise.
10836 * resolv/ns_name.c: Likewise.
10837 * stdio-common/vfscanf.c: Likewise.
10838 * streams/stropts.h: Likewise.
10839 * sunrpc/rpc_thread.c: Likewise.
10840 * sysdeps/i386/strpbrk.S: Likewise.
10841 * sysdeps/ieee754/k_standard.c: Likewise.
10842 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
10843 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
10844 * sysdeps/mach/hurd/dl-sysdep.c: Likewise.
10845 * sysdeps/mach/hurd/profil.c: Likewise.
10846 * sysdeps/s390/dl-procinfo.h: Likewise.
10847 * sysdeps/unix/sysv/linux/i386/chown.c: Likewise.
10848 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Likewise.
10849 * sysdeps/unix/sysv/linux/sparc/sparc32/makecontext.c: Likewise.
10850 * sysdeps/x86_64/dl-trampoline.S: Likewise.
10851 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
10853 2013-08-30 Ondřej Bílka <neleai@seznam.cz>
10855 * sysdeps/x86_64/multiarch/rawmemchr.S: Delete.
10856 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove rawmemchr ifunc.
10858 2013-08-29 Ondřej Bílka <neleai@seznam.cz>
10860 * sysdeps/unix/sysv/linux/powerpc/aix/aix-dirent.h: Remove
10861 aix specific files.
10862 * sysdeps/unix/sysv/linux/powerpc/aix/aix-errno.h: Likewise.
10863 * sysdeps/unix/sysv/linux/powerpc/aix/aix-stat.h: Likewise.
10864 * sysdeps/unix/sysv/linux/powerpc/aix/aix-termios.h: Likewise.
10865 * sysdeps/unix/sysv/linux/powerpc/aix/direntconv.c: Likewise.
10866 * sysdeps/unix/sysv/linux/powerpc/aix/errnoconv.c: Likewise.
10867 * sysdeps/unix/sysv/linux/powerpc/aix/statconv.c: Likewise.
10868 * sysdeps/unix/sysv/linux/powerpc/aix/tcgetattr.c: Likewise.
10869 * sysdeps/unix/sysv/linux/powerpc/aix/tcsetattr.c: Likewise.
10871 2013-08-29 Thomas Schwinge <thomas@codesourcery.com>
10872 Roland McGrath <roland@hack.frob.com>
10874 * sysdeps/mach/hurd/errnos.awk (BEGIN): Emit ESUCCESS.
10875 * sysdeps/mach/hurd/bits/errno.h: Regenerate.
10877 2013-08-29 Samuel Thibault <samuel.thibault@ens-lyon.org>
10879 * sysdeps/mach/hurd/i386/init-first.c (init1): Use
10880 __executable_start symbol instead of _start.
10882 2013-08-29 Thomas Schwinge <thomas@codesourcery.com>
10884 * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_HEADER)
10885 (VALID_ELF_OSABI, VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA):
10887 * sysdeps/gnu/ldsodefs.h: ... this new file.
10889 * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_OSABI)
10890 (VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA): Use ELFOSABI_GNU
10891 instead of ELFOSABI_LINUX.
10893 [BZ #15522] strtod ("nan(N)") returning a sNaN in some cases
10894 * stdlib/strtof_l.c (SET_MANTISSA): Rewrite.
10895 * stdlib/strtod_l.c (SET_MANTISSA): Likewise.
10896 * sysdeps/ieee754/ldbl-64-128/strtold_l.c (SET_MANTISSA):
10898 * sysdeps/ieee754/ldbl-96/strtold_l.c (SET_MANTISSA): Likewise.
10899 * sysdeps/ieee754/ldbl-128/strtold_l.c (SET_MANTISSA): Likewise.
10900 * sysdeps/ieee754/ldbl-128ibm/strtold_l.c (SET_MANTISSA):
10902 * sysdeps/ieee754/ldbl-128ibm/ieee754.h
10903 (ibm_extended_long_double): Add ieee_nan member.
10904 * stdlib/tst-strtod6.c (test): New function, renamed from do_test.
10905 (do_test): New function.
10907 * math/basic-test.c (TEST_CONVERT): New macro, renamed from
10909 (convert_dfsf_test, convert_tfsf_test, convert_tfdf_test): New
10910 functions, renamed from truncdfsf_test, trunctfsf_test,
10912 (convert_sfdf_test, convert_sftf_test, convert_dftf_test): New
10914 (do_test): Run all these.
10916 2013-08-29 Ondřej Bílka <neleai@seznam.cz>
10918 * argp/argp-help.c: Fix typos.
10919 * argp/argp-parse.c: Likewise.
10920 * debug/backtracesyms.c: Likewise.
10921 * elf/elf.h: Likewise.
10922 * malloc/malloc.c: Likewise.
10923 * nis/nis_print.c: Likewise.
10924 * resolv/res_comp.c: Likewise.
10925 * stdlib/stdlib.h: Likewise.
10926 * sunrpc/clnt_tcp.c: Likewise.
10927 * sunrpc/clnt_udp.c: Likewise.
10928 * sunrpc/clnt_unix.c: Likewise.
10929 * sysdeps/unix/bsd/ptsname.c: Likewise.
10930 * sysdeps/unix/sysv/linux/ifaddrs.c: Likewise.
10931 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Likewise.
10932 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S:
10934 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S:
10936 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S:
10938 * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
10940 2013-08-28 Siddhesh Poyarekar <siddhesh@redhat.com>
10942 * nscd/aicache.c (addhstaiX): Use __glibc_unlikely.
10943 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
10945 2013-08-27 Mike Frysinger <vapier@gentoo.org>
10948 * dlfcn/Makefile (tests): Add bug-dl-leaf.
10949 (modules-names): Add bug-dl-leaf-lib and bug-dl-leaf-lib-cb.
10950 ($(objpfx)bug-dl-leaf): New rule.
10951 ($(objpfx)bug-dl-leaf.so): Likewise.
10952 ($(objpfx)bug-dl-leaf.out): Likewise.
10953 ($(objpfx)bug-dl-leaf-lib.so): Likewise.
10954 ($(objpfx)bug-dl-leaf-lib-cb.so): Likewise.
10955 * dlfcn/bug-dl-leaf.c: New test.
10956 * dlfcn/bug-dl-leaf-lib.c: Likewise.
10957 * dlfcn/bug-dl-leaf-lib-cb.c: Likewise.
10958 * dlfcn/dlfcn.h (dlopen): Change __THROW to __THROWNL.
10959 (dlclose): Likewise.
10960 (dlmopen): Likewise.
10962 2013-08-27 Roland McGrath <roland@hack.frob.com>
10964 * include/netdb.h [!_ISOMAC]:
10965 Don't include <tls.h>.
10966 (h_errno, __libc_h_errno): Move declaration and macros out of
10969 * include/resolv.h [_RESOLV_H_]:
10970 Don't include <tls.h>.
10971 (__resp, _res): Move declaration and macro out of [_LIBC_REENTRANT].
10972 * resolv/res_libc.c: Don't include <tls.h>.
10973 (_res): Use __attribute__ ((nocommon)) in place of
10974 __attribute__ ((section (".bss"))).
10976 * Makefile ($(common-objpfx)linkobj/libc_pic.a):
10977 If [sunrpc not in $(subdirs)], define to use libc_pic.a directly.
10979 * resolv/res_send.c (send_dg): Don't try to use ioctl unless [FIONREAD].
10981 * resolv/res_hconf.c [!NOT_IN_libc] (ifaddrs): Declare
10982 only under [SIOCGIFCONF && SIOCGIFNETMASK].
10984 * resolv/res_mkquery.c: Include <sys/time.h>.
10986 * inet/ifreq.c: Moved to ...
10987 * sysdeps/unix/ifreq.c: ... here.
10988 * inet/ifreq.c: New file, true stub version.
10990 * socket/sa_len.c: New file.
10991 * socket/Makefile (aux): Add it.
10992 * sysdeps/unix/sysv/linux/Makefile
10993 [$(subdir) = socket] (sysdep_routines): Don't add sa_len here.
10994 * sysdeps/unix/sysv/linux/sa_len.c: Just #define HAVE_NET*_H
10995 and #include <socket/sa_len.c>.
10996 * sysdeps/unix/sysv/linux/s390/sa_len.c: Just #define
10997 HAVE_NETIUCV_IUCV_H and #include <sysdeps/unix/sysv/linux/sa_len.c>.
10999 * sysdeps/unix/bsd/bsd4.4/bits/socket.h: Moved to ...
11000 * bits/socket.h: ... here.
11002 * sysdeps/unix/bsd/bsd4.4/bits/socket.h (enum __socket_type):
11003 Add SOCK_CLOEXEC, SOCK_NONBLOCK with values from FreeBSD.
11004 (SOCK_MAX, SOCK_TYPE_MASK): New macros.
11006 2013-08-27 Andreas Schwab <schwab@suse.de>
11009 * locale/categories.def (LC_CTYPE): Add "nonascii-case" element.
11010 * string/Makefile (test-strcasecmp-ENV, test-strncasecmp-ENV)
11011 (test-strcasecmp-ifunc-ENV, test-strncasecmp-ifunc-ENV): Define.
11012 * string/test-strcasecmp.c (test_main): Run tests in several
11014 * string/test-strncasecmp.c (test_main): Likewise.
11016 * sysdeps/i386/i686/multiarch/strcmp-sse4.S (__strcasecmp_sse4_2)
11017 (__strncasecmp_sse4_2) [PIC]: Restore %ebx before falling through
11018 to __strcasecmp_nonascii and __strncasecmp_nonascii.
11019 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (__strcasecmp_ssse3)
11020 (__strncasecmp_ssse3) [PIC]: Likewise.
11022 2013-08-26 Roland McGrath <roland@hack.frob.com>
11024 * io/lxstat64.c: Just call __xstat64, for parity with stub __lxstat.
11026 * nss/nss_files/files-key.c: Include <rpc/des_crypt.h>
11027 instead of explicitly declaring xdecrypt.
11028 * nis/nss_nis/nis-publickey.c: Likewise.
11030 2013-08-26 Siddhesh Poyarekar <siddhesh@redhat.com>
11033 * nscd/aicache.c: Include res_hconf.h.
11034 (addhstaiX): Initialize res_hconf.
11036 2013-08-26 Andreas Schwab <schwab@suse.de>
11038 * stdlib/Makefile (LDFLAGS-tst-tls-atexit): Remove.
11039 ($(objpfx)tst-tls-atexit): Add dependencies here instead.
11041 2013-08-26 Siddhesh Poyarekar <siddhesh@redhat.com>
11043 * nscd/aicache.c (addhstaiX): Fix indentation.
11045 2013-08-25 Mike Frysinger <vapier@gentoo.org>
11047 * configure.ac: Quote $build_pt_chown test.
11048 * configure: Regenerated.
11050 2013-08-23 Joseph Myers <joseph@codesourcery.com>
11053 * math/s_cexp.c (__cexp): Return NaN + i0 for NaN + i0 argument.
11054 * math/s_cexpf.c (__cexpf): Likewise.
11055 * math/s_cexpl.c (__cexpl): Likewise.
11056 * math/libm-test.inc (cexp_test_data): Correct expected return
11057 value for NaN + i0. Add another test.
11059 2013-08-22 David S. Miller <davem@davemloft.net>
11061 * po/ca.po: Update Catalan translation from translation project.
11062 * po/uk.po: Add Ukrainian translations from translation project.
11064 2013-08-21 Joseph Myers <joseph@codesourcery.com>
11067 * math/s_fdim.c (__fdim): Check for infinite arguments if result
11068 is infinite, not alongside NaN test.
11069 * math/s_fdimf.c (__fdimf): Likewise.
11070 * math/s_fdiml.c (__fdiml): Likewise.
11071 * math/libm-test.inc (fdim_test_data): Add more tests. Test that
11072 errno is unchanged.
11074 2013-08-21 Ondřej Bílka <neleai@seznam.cz>
11076 * argp/argp-help.c: Fix typos.
11077 * crypt/speeds.c: Likewise.
11078 * csu/check_fds.c: Likewise.
11079 * elf/dl-load.c: Likewise.
11080 * elf/dl-open.c: Likewise.
11081 * elf/reldep3.c: Likewise.
11082 * elf/reldep.c: Likewise.
11083 * elf/sprof.c: Likewise.
11084 * iconv/iconv_charmap.c: Likewise.
11085 * iconv/skeleton.c: Likewise.
11086 * iconv/strtab.c: Likewise.
11087 * io/lockf64.c: Likewise.
11088 * libio/libioP.h: Likewise.
11089 * resolv/gai_notify.c: Likewise.
11090 * resolv/ns_name.c: Likewise.
11091 * resolv/ns_samedomain.c: Likewise.
11092 * resolv/res_send.c: Likewise.
11093 * stdlib/random.c: Likewise.
11094 * sunrpc/rpc/xdr.h: Likewise.
11095 * sysdeps/i386/fpu/fraiseexcpt.c: Likewise.
11096 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
11097 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
11098 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
11099 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
11100 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
11101 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
11102 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
11103 * sysdeps/mach/hurd/check_fds.c: Likewise.
11104 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
11105 * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
11106 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
11107 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
11108 * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
11109 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
11110 * sysdeps/pthread/aio_notify.c: Likewise.
11111 * sysdeps/sparc/fpu/fraiseexcpt.c: Likewise.
11112 * sysdeps/unix/sysv/linux/socketcall.h: Likewise.
11113 * sysdeps/x86_64/fpu/fraiseexcpt.c: Likewise.
11114 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
11115 * sysdeps/x86/fpu/bits/fenv.h: Likewise.
11117 2013-08-21 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
11119 * sysdeps/i386/i686/multiarch/strcmp.S: Skip SSE4_2
11120 version if bit_Slow_SSE4_2 is set.
11121 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
11122 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
11124 2013-07-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11127 * sysdeps/powerpc/powerpc32/backtrace.c (__backtrace): Handle signal
11128 trampoline stack frame information.
11129 * sysdeps/powerpc/powerpc64/backtrace.c (__backtrace): Likewise.
11130 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h
11131 (__vdso_sigtramp_rt64): New variable: PPC64 signal trampoline.
11132 (__vdso_sigtramp32): New variable: PPC32 signal trampoline.
11133 (__vdso_sigtramp_rt32): New variable: PPC32 signal trampoline.
11134 * sysdeps/unix/sysv/linux/powerpc/init-first.c
11135 (_libc_vdso_platform_setup): Initialize the signal trampolines.
11136 * debug/tst-backtrace5.c (fn): Add an option set modify sigaction
11138 * debug/tst-backtrace6.c: New file: check backtrace for signal frames,
11139 interrupting a syscall and set with option SA_SIGINFO.
11141 2013-08-20 Joseph Myers <joseph@codesourcery.com>
11144 * math/s_cproj.c (__cproj): Only return an infinity if one part of
11145 argument is infinite.
11146 * math/s_cprojf.c (__cprojf): Likewise.
11147 * math/s_cprojl.c (__cprojl): Likewise.
11148 * sysdeps/ieee754/ldbl-128ibm/s_cprojl.c (__cprojl): Likewise.
11149 * math/libm-test.inc (cproj_test_data): Add more tests.
11151 * sysdeps/unix/sysv/linux/mmap64.c: Include <string.h>.
11153 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64)
11154 [MMAP2_PAGE_SHIFT == -1]: Use __getpagesize to determine page
11155 size. Use __ffs to determine corresponding shift.
11157 2013-08-20 Joseph Myers <joseph@codesourcery.com>
11158 Roland McGrath <roland@hack.frob.com>
11160 * Makefile (INSTALL): Remove trailing blank lines from output of
11163 2013-08-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
11165 * sysdeps/unix/sysv/linux/s390/sys/procfs.h (struct elf_prstatus):
11166 Align 32 bit compat elf_greg to 8 bytes.
11168 2013-08-20 Andreas Arnez <arnez@linux.vnet.ibm.com>
11170 * elf/setup-vdso.h (setup_vdso): Fix missing string termination.
11172 2013-08-20 Siddhesh Poyarekar <siddhesh@redhat.com>
11174 * string/strcoll_l.c (coll_seq): New structure.
11175 (get_next_seq_cached): New function.
11176 (get_next_seq): New function.
11177 (do_compare): New function.
11178 (STRCOLL): Use GNU style definition. Simplify implementation
11179 by using get_next_seq, get_next_seq_cached and do_compare.
11181 2013-08-16 Florian Weimer <fweimer@redhat.com>
11185 * sysdeps/posix/dirstream.h (struct __dirstream): Add errcode
11187 * sysdeps/posix/opendir.c (__alloc_dir): Initialize errcode
11189 * sysdeps/posix/rewinddir.c (rewinddir): Reset errcode member.
11190 * sysdeps/posix/readdir_r.c (__READDIR_R): Enforce NAME_MAX limit.
11191 Return delayed error code. Remove GETDENTS_64BIT_ALIGNED
11193 * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Do not define
11194 GETDENTS_64BIT_ALIGNED.
11195 * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
11196 * manual/filesys.texi (Reading/Closing Directory): Document
11197 ENAMETOOLONG return value of readdir_r. Recommend readdir more
11199 * manual/conf.texi (Limits for Files): Add portability note to
11200 NAME_MAX, PATH_MAX.
11201 (Pathconf): Add portability note for _PC_NAME_MAX, _PC_PATH_MAX.
11203 2013-08-13 Andreas Schwab <schwab@suse.de>
11206 * sysdeps/ieee754/ldbl-96/s_cbrtl.c (__cbrtl): Use fabsl instead
11208 * math/libm-test.inc (cbrt_test_data) [TEST_LDOUBLE &&
11209 LDBL_MAX_EXP >= 16384]: Add tests for it.
11211 2013-08-12 David S. Miller <davem@davemloft.net>
11213 * version.h (RELEASE): Set to "development".
11214 (VERSION): Set to "2.18.90".
11215 * NEWS: Add 2.19 section.
11217 2013-08-03 David S. Miller <davem@davemloft.net>
11219 * po/ko.po: Update Korean translation from translation project.
11221 2013-08-01 David S. Miller <davem@davemloft.net>
11223 * manual/contrib.texi: Update entry for Siddhesh Poyarekar. Add
11224 entries for Will Newton, Andi Kleen, David Holsgrove, and Ondrej
11227 2013-07-30 David S. Miller <davem@davemloft.net>
11229 * po/fr.po: Update French translation from translation project.
11231 2013-07-28 David S. Miller <davem@davemloft.net>
11233 * po/cs.po: Update Czech translation from translation project.
11235 * po/sv.po: Update Swedish translation from translation project.
11237 2013-07-27 David S. Miller <davem@davemloft.net>
11239 * po/eo.po: Update Esperanto translation from translation project.
11241 * po/vi.po: Update Vietnamese translation from translation project.
11243 * po/de.po: Update German translation from translation project.
11245 2013-07-26 David S. Miller <davem@davemloft.net>
11247 * po/bg.po: Update Bulgarian translation from translation project.
11249 * po/nl.po: Update Dutch translation from translation project.
11250 * po/pl.po: Update Polish translation from translation project.
11251 * po/ru.po: Update Russian translation from translation project.
11253 2013-07-24 David S. Miller <davem@davemloft.net>
11255 * po/libc.pot: Update.
11257 2013-07-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11259 * sysdeps/unix/sysv/linux/powerpc/dl-static.c: New file to support
11260 variable page size.
11261 * sysdeps/unix/sysv/linux/powerpc/ldsodefs.h: Likewise.
11262 * sysdeps/unix/sysv/linux/powerpc/Makefile: Build dl-static in elf.
11263 * sysdeps/unix/sysv/linux/powerpc/Versions: Add _dl_var_init.
11265 2013-07-22 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
11267 * sysdeps/s390/fpu/libm-test-ulps: Refresh.
11269 2013-07-21 Siddhesh Poyarekar <siddhesh@redhat.com>
11270 Andreas Schwab <schwab@suse.de>
11271 Roland McGrath <roland@hack.frob.com>
11272 Joseph Myers <joseph@codesourcery.com>
11273 Carlos O'Donell <carlos@redhat.com>
11276 * config.h.in: Define HAVE_PT_CHOWN.
11277 * config.make.in (build-pt-chown): New variable.
11278 * configure.in (--enable-pt_chown): New configure option.
11279 * configure: Regenerate.
11280 * login/Makefile: Include Makeconfig. Build pt_chown only if
11281 build-pt-chown is enabled.
11282 * sysdeps/unix/grantpt.c (grantpt) [HAVE_PT_CHOWN]: Spawn
11283 pt_chown to fix pty ownership.
11284 * sysdeps/unix/sysv/linux/grantpt.c [HAVE_PT_CHOWN]: Define
11286 * manual/install.texi (Configuring and compiling): Mention
11287 --enable-pt_chown. Add @findex for grantpt.
11288 * INSTALL: Regenerate.
11290 2013-07-20 David S. Miller <davem@davemloft.net>
11292 * sysdeps/sparc/fpu/libm-test-ulps: Update ULPs to handle minor
11293 difference between 32-bit and 64-bit.
11295 2013-07-15 Carlos O'Donell <carlos@redhat.com>
11298 * sysdeps/unix/sysv/linux/Makefile ($(objpfx)bits/syscall%h):
11299 Avoid system header dependency with -ffreestanding.
11300 ($(objpfx)bits/syscall%d): Likewise.
11302 2013-07-13 David S. Miller <davem@davemloft.net>
11304 * math/libm-test.inc (casin_test_data): Annotate more cases of missing
11305 underflows from atanl/atan2l due to bug 15319.
11306 (casinh_test_data): Likewise.
11308 2013-07-07 David S. Miller <davem@davemloft.net>
11310 * sysdeps/sparc/fpu/libm-test-ulps: Regenerate from scratch.
11312 2013-07-05 Jeroen Albers <_jeroen_@yahoo.com>
11314 * sysdeps/i386/fpu/libm-test-ulps: Update.
11315 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11317 2013-07-04 Siddhesh Poyarekar <siddhesh@redhat.com>
11319 * configure.in (--enable-lock-elision): Fix message text.
11320 * INSTALL: Regenerate.
11321 * configure: Regenerate.
11323 2013-07-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11325 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
11327 2013-07-03 Andreas Jaeger <aj@suse.de>
11329 * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_LISTEN): Add
11331 (PTRACE_PEEKSIGINFO): Add new value from Linux 3.10.
11332 (ptrace_peeksiginfo_args): Add.
11333 (__ptrace_peeksiginfo_flags): Add.
11334 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
11335 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
11336 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
11338 2013-07-03 Allan McRae <allan@archlinux.org>
11340 * sysdeps/i386/fpu/libm-test-ulps: Update.
11342 2013-07-02 David S. Miller <davem@davemloft.net>
11344 * sysdeps/sparc/fpu/libm-test-ulps: Update.
11346 2013-07-02 Markus Trippelsdorf <markus@trippelsdorf.de>
11348 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
11350 2013-07-02 Joseph Myers <joseph@codesourcery.com>
11352 * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
11353 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11355 2013-07-02 Andi Kleen <ak@linux.intel.com>
11357 * config.h.in (ENABLE_LOCK_ELISION): Add.
11358 * configure.in (--enable-lock-elision): Add option.
11359 * manual/install.texi: Document --enable lock elision.
11360 * configure: Regenerate
11361 * INSTALL: Regenerate.
11363 2013-07-02 H.J. Lu <hongjiu.lu@intel.com>
11365 * sysdeps/i386/i686/multiarch/strcasecmp.S (__strcasecmp): Enable
11366 SSE4.2 strcasecmp for libc.a.
11367 * sysdeps/i386/i686/multiarch/strncase.S (__strncasecmp): Likewise.
11369 2013-07-02 Joseph Myers <joseph@codesourcery.com>
11372 * soft-fp/op-common.h (_FP_FMA): New macro.
11373 * soft-fp/op-1.h (_FP_FRAC_HIGHBIT_DW_1): New macro.
11374 (_FP_MUL_MEAT_DW_1_imm): Likewise. Split out of ...
11375 (_FP_MUL_MEAT_1_imm): ... here.
11376 (_FP_MUL_MEAT_DW_1_wide): New macro. Split out of ...
11377 (_FP_MUL_MEAT_1_wide): ... here.
11378 (_FP_MUL_MEAT_DW_1_hard): Likewise. Split out of ...
11379 (_FP_MUL_MEAT_1_hard): ... here.
11380 * soft-fp/op-2.h (_FP_FRAC_HIGHBIT_DW_2): New macro.
11381 (_FP_MUL_MEAT_DW_2_wide): Likewise. Split out of ...
11382 (_FP_MUL_MEAT_2_wide): ... here.
11383 (_FP_MUL_MEAT_DW_2_wide_3mul): New macro. Split out of ...
11384 (_FP_MUL_MEAT_2_wide_3mul): ... here.
11385 (_FP_MUL_MEAT_DW_2_gmp): New macro. Split out of ...
11386 (_FP_MUL_MEAT_2_gmp): ... here.
11387 * soft-fp/op-4.h (_FP_FRAC_HIGHBIT_DW_4): New macro.
11388 (_FP_MUL_MEAT_DW_4_wide): Likewise. Split out of ...
11389 (_FP_MUL_MEAT_4_wide): ... here.
11390 (_FP_MUL_MEAT_DW_4_gmp): New macro. Split out of ...
11391 (_FP_MUL_MEAT_4_gmp): ... here.
11392 * soft-fp/single.h (_FP_FRACTBITS_DW_S): New macro.
11393 (_FP_WFRACBITS_DW_S): Likewise.
11394 (_FP_WFRACXBITS_DW_S): Likewise.
11395 (_FP_HIGHBIT_DW_S): Likewise.
11396 (FP_FMA_S): Likewise.
11397 (_FP_FRAC_HIGH_DW_S): Likewise.
11398 * soft-fp/double.h (_FP_FRACTBITS_DW_D): New macro.
11399 (_FP_WFRACBITS_DW_D): Likewise.
11400 (_FP_WFRACXBITS_DW_D): Likewise.
11401 (_FP_HIGHBIT_DW_D): Likewise.
11402 (FP_FMA_D): Likewise.
11403 (_FP_FRAC_HIGH_DW_D): Likewise.
11404 * soft-fp/extended.h (_FP_FRACTBITS_DW_E): New macro.
11405 (_FP_WFRACBITS_DW_E): Likewise.
11406 (_FP_WFRACXBITS_DW_E): Likewise.
11407 (_FP_HIGHBIT_DW_E): Likewise.
11408 (FP_FMA_E): Likewise.
11409 (_FP_FRAC_HIGH_DW_E): Likewise.
11410 * soft-fp/quad.h (_FP_FRACTBITS_DW_Q): New macro.
11411 (_FP_WFRACBITS_DW_Q): Likewise.
11412 (_FP_WFRACXBITS_DW_Q): Likewise.
11413 (_FP_HIGHBIT_DW_Q): Likewise.
11414 (FP_FMA_Q): Likewise.
11415 (_FP_FRAC_HIGH_DW_Q): Likewise.
11416 * soft-fp/fmasf4.c: New file.
11417 * soft-fp/fmadf4.c: Likewise.
11418 * soft-fp/fmatf4.c: Likewise.
11420 2013-06-28 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
11422 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
11423 bit_Slow_SSE4_2 and bit_Prefer_PMINUB_for_stringop for Intel
11425 * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_SSE4_2): New
11427 (index_Slow_SSE4_2): Likewise.
11428 (index_Prefer_PMINUB_for_stringop): Likewise.
11429 * sysdeps/x86_64/multiarch/strchr.S: Skip SSE4.2 version if
11430 bit_Slow_SSE4_2 is set.
11431 * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
11432 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
11434 2013-06-28 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
11436 * sysdeps/powerpc/Makefile: Add comment about generating an offset to
11437 rtld_global._dl_hwcap2.
11438 * sysdeps/powerpc/bits/hwcap.h: Added PPC_FEATURE2_* definitions for
11440 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_cap_flags): Extend for
11441 POWER8 feature descriptions defined in _dl_hwcap2.
11442 * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Implement AT_HWCAP2
11443 string handling for POWER8 feature bits.
11444 (_DL_HWCAP_COUNT): Increment to 64 to cover AT_HWCAP2 bits.
11445 (_DL_HWCAP_LAST): New definition for position of last AT_HWCAP bit in
11446 _dl_powerpc_cap_flags.
11447 (_DL_HWCAP2_LAST): New definition for last usable bit of AT_HWCAP2.
11448 * sysdeps/powerpc/rtld-global-offsets.sym
11449 (RTLD_GLOBAL_RO_DL_HWCAP2_OFFSET): New offset macro to locate
11450 _dl_hwcap2 in the rtld_global_ro structure.
11452 2013-06-28 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
11454 * elf/dl-support.c (_dl_hwcap2): Add a new hwcap field for more
11455 hardware capabilities in support of AT_HWCAP2.
11456 (_dl_aux_init): Read AT_HWCAP2 into GLRO(dl_hwcap2).
11457 * elf/dl-sysdep.c (_dl_sysdep_start): Read AT_HWCAP2 into
11459 (_dl_show_auxv): Add support for calling _dl_procinfo to display
11460 AT_HWCAP2. If a platform doesn't chose to handle displaying AT_HWCAP2
11461 explicitly the unknown a_type display mechanism is used.
11462 * misc/getauxval.c (__getauxval): Return GLRO(dl_hwcap2) on AT_HWCAP2.
11463 * sysdeps/generic/ldsodefs.h (rtld_global_ro): Add _dl_hwcap2 as a new
11465 * sysdeps/generic/dl-procinfo.h (_dl_procinfo): Add TYPE parameter
11466 to macro prototype for AT_HWCAP2 support.
11467 * sysdeps/i386/dl-procinfo.h: Likewise.
11468 * sysdeps/s390/dl-procinfo.h: Likewise.
11469 * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Add TYPE parameter to
11470 macro prototype for AT_HWCAP2 support. Make WORD unsigned long int
11471 rather than signed int. Stub in handler for TYPE == AT_HWCAP2 to
11472 return -1 for unknown a_type display fallback.
11473 * sysdeps/sparc/dl-procinfo.h: Likewise.
11474 * sysdeps/unix/sysv/linux/i386/dl-procinfo.h: Likewise.
11475 * sysdeps/unix/sysv/linux/s390/dl-procinfo.h: Likewise.
11477 2013-06-28 Joseph Myers <joseph@codesourcery.com>
11479 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Shift by page_shift
11480 instead of MMAP2_PAGE_SHIFT in call to INLINE_SYSCALL.
11482 2013-06-28 Pierre Ynard <linkfanel@yahoo.fr>
11485 * elf/dl-load.c (_dl_map_object_from_fd): Test for failure of
11486 mprotect making __stack_prot writable.
11488 2013-06-28 Nathan Froyd <froydnj@codesourcery.com>
11489 Joseph Myers <joseph@codesourcery.com>
11491 * elf/dl-profile.c (struct here_cg_arc_record): Declare 'count'
11492 as being properly aligned.
11494 2013-06-28 Maciej W. Rozycki <macro@codesourcery.com>
11496 * dlfcn/modstatic5.c: New file.
11497 * dlfcn/tststatic5.c: New file.
11498 * dlfcn/Makefile (tests): Add tststatic5.
11499 (tests-static): Likewise.
11500 (modules-names): Add modstatic5.
11501 (tststatic5-ENV): New variable.
11502 ($(objpfx)tststatic5, $(objpfx)tststatic5.out): New dependencies.
11505 * elf/dl-support.c (_dl_main_map): New variable.
11506 (_dl_ns): Use it to initialize [LM_ID_BASE] element.
11507 (_dl_nns, _dl_load_adds): Set to 1.
11508 (_dl_initial_searchlist): Refer to _dl_main_map.
11509 (_dl_non_dynamic_init): Initialize _dl_main_map.l_origin.
11510 * elf/dl-load.c (_dl_dst_substitute) [!SHARED]: Remove fallback
11511 call to _dl_get_origin.
11512 * elf/dl-open.c (dl_open_worker): Remove !SHARED special casing
11514 (_dl_open) [!SHARED]: Remove code to initialize GL(dl_nns).
11515 * dlfcn/modstatic3.c: New file.
11516 * dlfcn/tststatic3.c: New file.
11517 * dlfcn/tststatic4.c: New file.
11518 * dlfcn/Makefile (tests): Add tststatic3 and tststatic4.
11519 (tests-static): Likewise.
11520 (modules-names): Add modstatic3.
11521 (tststatic3-ENV, tststatic4-ENV): New variables.
11522 ($(objpfx)tststatic3, $(objpfx)tststatic3.out): New dependencies.
11523 ($(objpfx)tststatic4, $(objpfx)tststatic4.out): Likewise.
11525 2013-06-26 Joseph Myers <joseph@codesourcery.com>
11527 * configure.in (CC): Require GCC version 4.4 or later.
11528 * configure: Regenerated.
11529 * manual/install.texi (Tools for Compilation): Update GCC version
11531 * INSTALL: Regenerated.
11533 2013-06-26 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
11536 * string/test-memcmp.c (check2): New.
11537 (main): Call check2.
11539 * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Fix buffers overrun.
11541 2013-06-26 Maciej W. Rozycki <macro@codesourcery.com>
11544 * elf/dl-open.c (_dl_open) [!SHARED]: Move call to DL_STATIC_INIT
11546 (dl_open_worker) [!SHARED]: ... here.
11548 2013-06-26 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
11550 * elf/elf.h (AT_HWCAP2): Add a new a_type entry.
11552 2013-06-25 Richard Henderson <rth@redhat.com>
11554 * locale/programs/locarchive.c: Include <libc-internal.h>
11556 2013-06-25 Joseph Myers <joseph@codesourcery.com>
11558 * manual/texinfo.tex: Update to version 2013-06-21.17, with
11559 trailing whitespace removed.
11561 2013-06-24 Mike Frysinger <vapier@gentoo.org>
11564 * locale/locarchive.h (struct locarhandle): Add mmap_base and mmap_len.
11565 * locale/programs/locarchive.c: Include libc-mmap.h.
11566 (prepare_address_space): Take two new outputs (the mmap base and len).
11567 Align p to MAP_FIXED_ALIGNMENT. Set mmap base and len to the right
11569 (create_archive): Declare new mmap base and len values for
11570 prepare_address_space, and store the result in ah.
11571 (file_data_available_p): Replace pagesz with MAP_FIXED_ALIGNMENT.
11572 (enlarge_archive): If ah->mmap_base is not NULL, use that and
11573 ah->mmap_len to unmap rather than ah->addr and ah->reserved.
11574 Declare new mmap base and len values for
11575 prepare_address_space, and store the result in new_ah.
11576 (open_archive): Declare new mmap base and len values for
11577 prepare_address_space, and store the result in ah.
11578 (close_archive): If ah->mmap_base is not NULL, use that and
11579 ah->mmap_len to unmap rather than ah->addr and ah->reserved.
11580 * sysdeps/generic/libc-mmap.h: New file.
11582 2013-06-24 Mike Frysinger <vapier@gentoo.org>
11584 * include/libc-internal.h (ALIGN_DOWN): New helper macro.
11585 (ALIGN_UP): Likewise.
11586 (PTR_ALIGN_DOWN): Likewise.
11587 (PTR_ALIGN_UP): Likewise.
11589 2013-06-24 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
11591 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add "power8"
11592 entry mapped to PPC_PLATFORM_POWER8.
11593 * sysdeps/powerpc/dl-procinfo.h (_DL_PLATFORMS_COUNT): Increment for
11595 (PPC_PLATFORM_POWER8): Add new platform bit for POWER8 processor.
11596 (_dl_string_platform): Add case for exporting platform position for
11598 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Chain
11599 search path to sysdeps/powerpc/powerpc32/power8 directory.
11600 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Chain
11601 search path to sysdeps/powerpc/powerpc64/power8 directory.
11602 * sysdeps/powerpc/powerpc32/power8/Implies: Chain search path to
11603 power7 directories.
11604 * sysdeps/powerpc/powerpc64/power8/Implies: Chain search path to
11605 power7 directories.
11607 2013-06-24 Siddhesh Poyarekar <siddhesh@redhat.com>
11609 * INSTALL: Regenerate.
11611 * nscd/connections.c (nscd_init): Fix comment.
11613 2013-06-22 Joseph Myers <joseph@codesourcery.com>
11615 * sysdeps/unix/sysv/linux/libc_fatal.c: Include <string.h>.
11618 * soft-fp/op-4.h (__FP_FRAC_ADD_3): Rename variables _c1 and _c2
11619 to __FP_FRAC_ADD_3_c1 and __FP_FRAC_ADD_3_c2.
11621 2013-06-21 Maciej W. Rozycki <macro@codesourcery.com>
11623 * elf/dl-dst.h (DL_DST_REQUIRED): Remove call to
11625 (DL_DST_REQ_STATIC): Remove macro.
11627 2013-06-21 Joseph Myers <joseph@codesourcery.com>
11630 * soft-fp/op-common.h (_FP_FROM_INT): Do not call _FP_FRAC_SLL
11631 with a shift of 0 bits.
11633 2013-06-21 Maciej W. Rozycki <macro@codesourcery.com>
11635 * dlfcn/Makefile (tststatic2-ENV): Redefine in terms of
11638 2013-06-21 Kaz Kojima <kkojima@rr.iij4u.or.jp>
11641 * sysdeps/sh/sh4/fpu/fgetexcptflg.c: New file.
11643 2013-06-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11645 * config.h.in (HAVE_CC_INHIBIT_LOOP_TO_LIBCALL): New define.
11646 * configure.in (libc_cv_cc_loop_to_function): Check if compiler
11647 accepts -fno-tree-loop-distribute-patterns.
11648 * include/libc-symbols.h (inhibit_loop_to_libcall): New macro.
11649 * string/memmove.c (MEMMOVE): Disable loop transformation to avoid
11651 * string/memset.c (memset): Likewise.
11652 * string/test-memmove.c (simple_memmove): Disable loop transformation
11654 * string/test-memset.c (simple_memset): Likewise.
11655 * benchtests/bench-memmove.c (simple_memmove): Likewise.
11656 * benchtests/bench-memset.c (simple_memset): Likewise.
11657 * configure: Regenerated.
11659 2013-06-20 Joseph Myers <joseph@codesourcery.com>
11661 * math/test-misc.c (main): Ignore fesetround failure when failures
11662 of subsequent rounding tests would be ignored.
11665 * math/fedisblxcpt.c (fedisableexcept): Return 0.
11666 * math/feenablxcpt.c (feenableexcept): Return 0 for argument 0.
11667 * math/fegetenv.c (__fegetenv): Return 0.
11668 * math/fegetexcept.c (fegetexcept): Return 0.
11669 * math/fegetround.c (fegetround) [FE_TONEAREST]: Return
11671 * math/feholdexcpt.c (feholdexcept): Return 0.
11672 * math/fesetenv.c (__fesetenv): Return 0.
11673 * math/fesetround.c (fesetround) [FE_TONEAREST]: Return 0 for
11674 argument FE_TONEAREST.
11675 * math/feupdateenv.c (__feupdateenv): Return 0.
11676 * math/fgetexcptflg.c (__fegetexceptflag): Return 0.
11678 2013-06-18 Roland McGrath <roland@hack.frob.com>
11680 * elf/rtld-Rules (rtld-compile-command.S): New variable.
11681 (rtld-compile-command.s, rtld-compile-command.c): New variables.
11682 ($(objpfx)rtld-%.os rules): Use them.
11684 2013-06-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11686 * nptl/sysdeps/powerpc/tls.h (tcbhead_t): Add Event-Based Branch
11689 2013-06-17 Roland McGrath <roland@hack.frob.com>
11691 * scripts/sysd-rules.awk: Sort sysd_rules_patterns by descending
11692 length of target pattern, then descending length of dependency pattern.
11693 * configure.in (AWK): Require gawk 3.1.2 or newer.
11694 * manual/install.texi (Tools for Compilation): Say that we do.
11695 * configure: Regenerated.
11697 * Makerules [inhibit-sysdep-asm] (check-inhibit-asm): Variable removed.
11698 ($(common-objpfx)sysd-rules): Replace shell logic with running ...
11699 * scripts/sysd-rules.awk: ... this new script.
11700 * sysdeps/mach/hurd/Makefile (inhibit-sysdep-asm): Use a regexp rather
11701 than a glob-style pattern.
11703 2013-06-17 Joseph Myers <joseph@codesourcery.com>
11705 * math/test-misc.c (main): Do not treat incorrectly rounded
11706 conversions as failure unless ROUNDING_TESTS passes.
11708 2013-06-15 Joseph Myers <joseph@codesourcery.com>
11711 * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Save and
11712 restore exception state around main square root computation, then
11713 check for inexactness explicitly.
11715 * math/libm-test.inc (fma_test_data): Add another test.
11717 2013-06-15 Siddhesh Poyarekar <siddhesh@redhat.com>
11719 * manual/threads.texi (Non-POSIX Extensions): New document
11720 node. Document pthread_getattr_default_np and
11721 pthread_setattr_default_np.
11723 * Versions.def (libpthread): Add GLIBC_2.18.
11724 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: Update.
11725 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
11727 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
11729 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
11731 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
11733 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist:
11735 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
11737 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
11739 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
11741 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
11744 2013-06-14 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
11746 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
11747 Set bit_Fast_Unaligned_Load for Intel Silvermont architecture.
11749 2013-06-14 Siddhesh Poyarekar <siddhesh@redhat.com>
11750 H.J. Lu <hjl.tools@gmail.com>
11753 * sysdeps/x86_64/rtld-memset.c: Remove file.
11754 * sysdeps/x86_64/rtld-memset.S: New file.
11756 2013-06-14 Joseph Myers <joseph@codesourcery.com>
11758 * stdlib/tst-strtod-round.c: Include <math-tests.h>.
11759 (test_in_one_mode): Take arguments for whether the rounding mode
11760 is supported for each floating-point type.
11761 (do_test): Pass new arguments to test_in_one_mode using
11764 2013-06-13 Roland McGrath <roland@hack.frob.com>
11766 * posix/tst-waitid.c (do_test): Distinguish different instances of
11767 stopped/continued in CHECK_SIGCHLD uses. Insert a delay between
11768 sending SIGSTOP and calling waitpid to ensure SIGCHLD gets delivered
11769 before entering the kernel for waitpid.
11771 2013-06-13 Siddhesh Poyarekar <siddhesh@redhat.com>
11773 * NEWS: Fix note on clock function precision. Text by Roland
11776 2013-06-13 Roland McGrath <roland@hack.frob.com>
11778 * elf/Makefile ($(objpfx)ld.so): Link into a temporary file and move
11779 it into place only when and if the sanity check passes.
11781 2013-06-13 Joseph Myers <joseph@codesourcery.com>
11783 * stdlib/gen-tst-strtod-round.c (round_str): Always generate
11784 output for whether conversion result is exact. Take argument
11785 indicating whether type is IBM long double.
11786 (round_for_all): Change need_exact field to ibm_ld.
11787 * stdlib/tst-strtod-round.c (struct exactness): New type.
11788 (struct test): Change bool ld_ok field to struct exactness exact.
11789 (TEST): Update all definitions for change to field.
11790 (tests): Regenerate array contents.
11791 (test_in_one_mode): Take pointer to new field instead of old ld_ok
11792 field value. Check for IBM long double here.
11793 (do_test): Update calls to test_in_one_mode.
11795 2013-06-13 Siddhesh Poyarekar <siddhesh@redhat.com>
11798 * sysdeps/unix/sysv/linux/clock.c (clock): Use result from
11799 CLOCK_PROCESS_CPUTIME_ID clock instead of __times.
11801 2013-06-12 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11804 * sysdeps/generic/symbol-hacks.h: Add workaround for memset/memmove calls
11805 generated by the compiler on loop optimizations.
11806 * sysdeps/wordsize-32/symbol-hacks.h: Include next symbol-hacks.h for
11807 general definitions.
11809 2013-06-12 Joseph Myers <joseph@codesourcery.com>
11811 * math/bug-nextafter.c: Include <math-tests.h>.
11812 (main): Only test for exceptions if EXCEPTION_TESTS is true for
11814 * math/bug-nexttoward.c: Include <math-tests.h>.
11815 (main): Only test for exceptions if EXCEPTION_TESTS is true for
11817 * math/test-misc.c: Include <math-tests.h>.
11818 (main): Only test for exceptions if EXCEPTION_TESTS is true for
11821 2013-06-12 Andreas Jaeger <aj@suse.de>
11823 * po/ia.po: Update Interlingua translation from translation
11826 2013-06-12 Siddhesh Poyarekar <siddhesh@redhat.com>
11828 * include/fenv.h: Include stdbool.h.
11829 (struct rm_ctx): New structure.
11830 * sysdeps/generic/math_private.h (SET_RESTORE_ROUND_GENERIC):
11832 (SET_RESTORE_ROUND): Define using SET_RESTORE_ROUND_GENERIC.
11833 (SET_RESTORE_ROUNDF): Likewise.
11834 (SET_RESTORE_ROUNDL): Likewise.
11835 (SET_RESTORE_ROUND_NOEX): Likewise.
11836 (SET_RESTORE_ROUND_NOEXF): Likewise.
11837 (SET_RESTORE_ROUND_NOEXL): Likewise.
11838 (SET_RESTORE_ROUND_53BIT): Likewise.
11839 [HAVE_RM_CTX] (libc_feresetround_noex_ctx): Define macro.
11840 (libc_feresetround_noexf_ctx): Likewise.
11841 (libc_feresetround_noexl_ctx): Likewise.
11842 (libc_feholdsetround_53bit_ctx): Likewise.
11843 (libc_feresetround_53bit_ctx): Likewise.
11844 * sysdeps/i386/fpu/fenv_private.h (HAVE_RM_CTX): Define macro.
11845 (libc_feholdexcept_setround_sse_ctx): New function.
11846 (libc_fesetenv_sse_ctx): Likewise.
11847 (libc_feupdateenv_sse_ctx): Likewise.
11848 (libc_feholdexcept_setround_387_prec_ctx): Likewise.
11849 (libc_feholdexcept_setround_387_ctx): Likewise.
11850 (libc_feholdexcept_setround_387_53bit_ctx): Likewise.
11851 (libc_feholdsetround_387_prec_ctx): Likewise.
11852 (libc_feholdsetround_387_ctx): Likewise.
11853 (libc_feholdsetround_387_53bit_ctx): Likewise.
11854 (libc_feholdsetround_sse_ctx): Likewise.
11855 (libc_feresetround_sse_ctx): Likewise.
11856 (libc_feresetround_387_ctx): Likewise.
11857 (libc_feupdateenv_387_ctx): Likewise.
11858 (libc_feholdexcept_setroundf_ctx): Define macro.
11859 (libc_fesetenvf_ctx): Likewise.
11860 (libc_feupdateenvf_ctx): Likewise.
11861 (libc_feholdsetroundf_ctx): Likewise.
11862 (libc_feresetroundf_ctx): Likewise.
11863 (libc_feholdexcept_setround_ctx): Likewise.
11864 (libc_fesetenv_ctx): Likewise.
11865 (libc_feupdateenv_ctx): Likewise.
11866 (libc_feholdsetround_ctx): Likewise.
11867 (libc_feresetround_ctx): Likewise.
11868 (libc_feholdexcept_setroundl_ctx): Likewise.
11869 (libc_feupdateenvl_ctx): Likewise.
11870 (libc_feholdsetroundl_ctx): Likewise.
11871 (libc_feresetroundl_ctx): Likewise.
11872 [!__SSE2_MATH__] (libc_feholdsetround_53bit_ctx): Likewise.
11873 (libc_feresetround_53bit_ctx): Likewise.
11875 2013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
11877 * locale/iso-639.def: Convert to UTF-8.
11879 2013-06-11 Joseph Myers <joseph@codesourcery.com>
11881 * sysdeps/generic/math-tests.h (EXCEPTION_TESTS_float): New macro.
11882 (EXCEPTION_TESTS_double): Likewise.
11883 (EXCEPTION_TESTS_long_double): Likewise.
11884 (EXCEPTION_TESTS): Likewise.
11885 * math/libm-test.inc (test_exceptions): Only test exceptions if
11886 EXCEPTION_TESTS (FLOAT).
11888 2013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
11890 * benchtests/Makefile (string-bench): Add strcpy_chk and
11892 * benchtests/bench-stpcpy_chk-ifunc.c: New file.
11893 * benchtests/bench-stpcpy_chk.c: New file.
11894 * benchtests/bench-strcpy_chk-ifunc.c: New file.
11895 * benchtests/bench-strcpy_chk.c: New file.
11896 * debug/test-strcpy_chk.c (do_one_test): Remove HP_TIMING
11898 (do_test): Likewise.
11900 2013-06-11 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
11902 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add ppc405,
11903 ppc440, ppc464, and ppc476, merging from ports/ dl-procinfo.c.
11904 * sysdeps/powerpc/dl-procinfo.h: Fix whitespace by correcting spaces
11905 with tabs where appropriate.
11906 [PPC_PLATFORM_PPC405]: Define new platform merging from ports/
11908 [PPC_PLATFORM_PPC440]: Likewise.
11909 [PPC_PLATFORM_PPC464]: Likewise.
11910 [PPC_PLATFORM_PPC476]: Likewise.
11911 (_dl_string_platform): Add support for detecting ppc405, ppc440,
11912 ppc464, and ppc476 platform strings merging from ports/
11915 2013-06-11 Andreas Schwab <schwab@suse.de>
11918 * iconvdata/big5hkscs.c (big5hkscs_to_ucs, from_ucs4)
11919 (from_ucs4_idx): Regenerate.
11920 (MIN_NEEDED_FROM, MAX_NEEDED_FROM, MIN_NEEDED_TO): Remove macros.
11921 (FROM_LOOP_MIN_NEEDED_FROM, FROM_LOOP_MAX_NEEDED_FROM)
11922 (FROM_LOOP_MIN_NEEDED_TO, FROM_LOOP_MAX_NEEDED_TO)
11923 (TO_LOOP_MIN_NEEDED_FROM, TO_LOOP_MAX_NEEDED_FROM)
11924 (TO_LOOP_MIN_NEEDED_TO, TO_LOOP_MAX_NEEDED_TO, PREPARE_LOOP)
11925 (EXTRA_LOOP_ARGS, SAVE_RESET_STATE, EMIT_SHIFT_TO_INIT)
11926 (EXTRA_LOOP_DECLS, MAX_NEEDED_OUTPUT): New macros.
11927 (MIN_NEEDED_INPUT, MAX_NEEDED_INPUT, MIN_NEEDED_OUTPUT): Define
11928 from FROM_LOOP and TO_LOOP specific macros.
11929 (BODY): Handle combining characters.
11930 * iconvdata/BIG5HKSCS.irreversible: Update.
11931 * iconvdata/BIG5HKSCS.precomposed: New file.
11932 * iconvdata/testdata/BIG5HKSCS: Regenerate to cover all assigned
11934 * iconvdata/testdata/BIG5HKSCS..UTF8: Update.
11936 2013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
11938 * include/sys/time.h: Fix indentation and add copyright header.
11940 * string/test-memccpy.c (do_one_test): Remove HP_TIMING code.
11941 (do_test): Likewise.
11942 * string/test-memchr.c (do_one_test): Likewise.
11943 (do_test): Likewise.
11944 * string/test-memcmp.c (do_one_test): Likewise.
11945 (do_test): Likewise.
11946 * string/test-memcpy.c (do_one_test): Likewise.
11947 (do_test): Likewise.
11948 * string/test-memmem.c (do_one_test): Likewise.
11949 (do_test): Likewise.
11950 (do_random_tests): Likewise.
11951 * string/test-memmove.c (do_one_test): Likewise.
11952 (do_test): Likewise.
11953 * string/test-memset.c (do_one_test): Likewise.
11954 (do_test): Likewise.
11955 * string/test-rawmemchr.c (do_one_test): Likewise.
11956 (do_test): Likewise.
11957 * string/test-strcasecmp.c (do_one_test): Likewise.
11958 (do_test): Likewise.
11959 * string/test-strcasestr.c (do_one_test): Likewise.
11960 (do_test): Likewise.
11961 * string/test-strcat.c (do_one_test): Likewise.
11962 (do_test): Likewise.
11963 * string/test-strchr.c (do_one_test): Likewise.
11964 (do_test): Likewise.
11965 * string/test-strcmp.c (do_one_test): Likewise.
11966 (do_test): Likewise.
11967 * string/test-strcpy.c (do_one_test): Likewise.
11968 (do_test): Likewise.
11969 * string/test-string.h: Likewise.
11970 (test_init): Likewise.
11971 * string/test-strlen.c (do_one_test): Likewise.
11972 (do_test): Likewise.
11973 * string/test-strncasecmp.c (do_one_test): Likewise.
11974 (do_test): Likewise.
11975 * string/test-strncat.c (do_one_test): Likewise.
11976 (do_test): Likewise.
11977 * string/test-strncmp.c (do_one_test): Likewise.
11978 (do_test_limit): Likewise.
11979 (do_test): Likewise.
11980 * string/test-strncpy.c (do_one_test): Likewise.
11981 (do_test): Likewise.
11982 * string/test-strnlen.c (do_one_test): Likewise.
11983 (do_test): Likewise.
11984 * string/test-strpbrk.c (do_one_test): Likewise.
11985 (do_test): Likewise.
11986 * string/test-strrchr.c (do_one_test): Likewise.
11987 (do_test): Likewise.
11988 * string/test-strspn.c (do_one_test): Likewise.
11989 (do_test): Likewise.
11990 * string/test-strstr.c (do_one_test): Likewise.
11991 (do_test): Likewise.
11993 * benchtests/Makefile (string-bench): Add string benchmarks.
11994 * benchtests/bench-bcopy-ifunc.c: New file.
11995 * benchtests/bench-bcopy.c: New file.
11996 * benchtests/bench-bzero-ifunc.c: New file.
11997 * benchtests/bench-bzero.c: New file.
11998 * benchtests/bench-memccpy-ifunc.c: New file.
11999 * benchtests/bench-memccpy.c: New file.
12000 * benchtests/bench-memchr-ifunc.c: New file.
12001 * benchtests/bench-memchr.c: New file.
12002 * benchtests/bench-memcmp-ifunc.c: New file.
12003 * benchtests/bench-memcmp.c: New file.
12004 * benchtests/bench-memmem-ifunc.c: New file.
12005 * benchtests/bench-memmem.c: New file.
12006 * benchtests/bench-memmove-ifunc.c: New file.
12007 * benchtests/bench-memmove.c: New file.
12008 * benchtests/bench-mempcpy-ifunc.c: New file.
12009 * benchtests/bench-mempcpy.c: New file.
12010 * benchtests/bench-memset-ifunc.c: New file.
12011 * benchtests/bench-memset.c: New file.
12012 * benchtests/bench-rawmemchr-ifunc.c: New file.
12013 * benchtests/bench-rawmemchr.c: New file.
12014 * benchtests/bench-stpcpy-ifunc.c: New file.
12015 * benchtests/bench-stpcpy.c: New file.
12016 * benchtests/bench-stpncpy-ifunc.c: New file.
12017 * benchtests/bench-stpncpy.c: New file.
12018 * benchtests/bench-strcasecmp-ifunc.c: New file.
12019 * benchtests/bench-strcasecmp.c: New file.
12020 * benchtests/bench-strcasestr-ifunc.c: New file.
12021 * benchtests/bench-strcasestr.c: New file.
12022 * benchtests/bench-strcat-ifunc.c: New file.
12023 * benchtests/bench-strcat.c: New file.
12024 * benchtests/bench-strchr-ifunc.c: New file.
12025 * benchtests/bench-strchr.c: New file.
12026 * benchtests/bench-strchrnul-ifunc.c: New file.
12027 * benchtests/bench-strchrnul.c: New file.
12028 * benchtests/bench-strcmp-ifunc.c: New file.
12029 * benchtests/bench-strcmp.c: New file.
12030 * benchtests/bench-strcpy-ifunc.c: New file.
12031 * benchtests/bench-strcpy.c: New file.
12032 * benchtests/bench-strcspn-ifunc.c: New file.
12033 * benchtests/bench-strcspn.c: New file.
12034 * benchtests/bench-strlen-ifunc.c: New file.
12035 * benchtests/bench-strlen.c: New file.
12036 * benchtests/bench-strncasecmp-ifunc.c: New file.
12037 * benchtests/bench-strncasecmp.c: New file.
12038 * benchtests/bench-strncat-ifunc.c: New file.
12039 * benchtests/bench-strncat.c: New file.
12040 * benchtests/bench-strncmp-ifunc.c: New file.
12041 * benchtests/bench-strncmp.c: New file.
12042 * benchtests/bench-strncpy-ifunc.c: New file.
12043 * benchtests/bench-strncpy.c: New file.
12044 * benchtests/bench-strnlen-ifunc.c: New file.
12045 * benchtests/bench-strnlen.c: New file.
12046 * benchtests/bench-strpbrk-ifunc.c: New file.
12047 * benchtests/bench-strpbrk.c: New file.
12048 * benchtests/bench-strrchr-ifunc.c: New file.
12049 * benchtests/bench-strrchr.c: New file.
12050 * benchtests/bench-strspn-ifunc.c: New file.
12051 * benchtests/bench-strspn.c: New file.
12052 * benchtests/bench-strstr-ifunc.c: New file.
12053 * benchtests/bench-strstr.c: New file.
12055 * benchtests/Makefile: Disable parallel execution of targets.
12056 (string-bench): Add memcpy.
12057 (benchset): New variable to store a list of benchmark sets.
12058 (bench-func): Renamed from bench.
12059 (bench-set): New target.
12060 (bench): Depend on bench-func and bench-set.
12061 * benchtests/README: Add section on benchmark sets.
12062 * benchtests/bench-memcpy-ifunc.c: New file.
12063 * benchtests/bench-memcpy.c: New file.
12064 * benchtests/bench-string.h: New file.
12066 2013-06-11 Andreas Schwab <schwab@suse.de>
12069 * nscd/connections.c (nscd_run_worker): Always zero-terminate key.
12070 * nscd/netgroupcache.c (addgetnetgrentX): Properly handle absent
12071 values in the triple.
12072 * nscd/nscd_netgroup.c (__nscd_setnetgrent): Include zero
12073 terminator in the group key.
12075 2013-06-11 Andreas Jaeger <aj@suse.de>
12077 * po/zh_TW.po: Update Chinese (traditional) translation from
12078 translation project.
12080 2013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
12082 * include/time.h (__clock_gettime): Add libc_hidden_proto.
12083 * rt/clock_getcpuclockid.c (clock_getcpuclockid): Rename to
12084 __clock_getcpuclockid. Add weak_alias and libc_hidden_def.
12085 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
12086 (clock_getcpuclockid): Likewise.
12087 * rt/clock_getres.c (clock_getres): Rename to __clock_getres.
12088 Add weak_alias and libc_hidden_def.
12089 * sysdeps/posix/clock_getres.c (clock_getres): Likewise.
12090 * rt/clock_gettime.c (clock_gettime): Rename to
12091 __clock_gettime. Add weak_alias and libc_hidden_def.
12092 * sysdeps/unix/clock_gettime.c (clock_gettime): Likewise.
12093 * rt/clock_nanosleep.c (clock_nanosleep): Rename to
12094 __clock_nanosleep. Add weak_alias and libc_hidden_def.
12095 * sysdeps/unix/clock_nanosleep.c (clock_nanosleep): Likewise.
12096 * sysdeps/unix/sysv/linux/clock_nanosleep.c (clock_nanosleep):
12098 * rt/clock_settime.c (clock_settime): Rename to
12099 __clock_settime. Add weak_alias and libc_hidden_def.
12100 * sysdeps/unix/clock_settime.c (clock_settime): Likewise.
12102 2013-06-10 Joseph Myers <joseph@codesourcery.com>
12104 * mach/err_boot.sub: Remove trailing whitespace.
12105 * mach/err_ipc.sub: Likewise.
12106 * mach/err_mach.sub: Likewise.
12108 * sysdeps/generic/math-tests.h (ROUNDING_TESTS_float): New macro.
12109 (ROUNDING_TESTS_double): Likewise.
12110 (ROUNDING_TESTS_long_double): Likewise.
12111 (ROUNDING_TESTS): Likewise.
12112 * math/libm-test.inc: Include <math-tests.h>.
12113 (IF_ROUND_INIT_FE_DOWNWARD): Use ROUNDING_TESTS.
12114 (IF_ROUND_INIT_FE_TONEAREST): Likewise.
12115 (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
12116 (IF_ROUND_INIT_FE_UPWARD): Likewise.
12118 2013-06-10 Siddhesh Poyarekar <siddhesh@redhat.com>
12120 * benchtests/Makefile (CPPFLAGS-nonlib): Append values instead
12123 2013-06-08 Joseph Myers <joseph@codesourcery.com>
12125 * sysdeps/gnu/errlist.awk: Do not generate space at end of
12126 otherwise empty TRANS lines.
12127 * sysdeps/gnu/errlist.c: Regenerated.
12129 * catgets/gencat.c (error_print): Use (void) in function
12131 * crypt/crypt_util.c (__init_des): Likewise.
12132 * crypt/speeds.c (Stop): Likewise.
12134 * hurd/hurdmalloc.c (print_malloc_free_list): Likewise.
12135 * inet/ruserpass.c (token): Likewise.
12136 * intl/finddomain.c (_nl_finddomain_subfreeres): Likewise.
12137 * intl/localealias.c (extend_alias_table): Likewise.
12138 * intl/plural-exp.c (init_germanic_plural): Likewise.
12139 * libio/fcloseall.c (__fcloseall): Likewise.
12140 * libio/genops.c (_IO_flush_all): Likewise.
12141 (_IO_flush_all_linebuffered): Likewise.
12142 (_IO_cleanup): Likewise.
12143 (_IO_iter_begin): Likewise.
12144 (_IO_iter_end): Likewise.
12145 (_IO_list_lock): Likewise.
12146 (_IO_list_unlock): Likewise.
12147 (_IO_list_resetlock): Likewise.
12148 * libio/getchar.c (getchar): Likewise.
12149 * libio/getchar_u.c (getchar_unlocked): Likewise.
12150 * libio/getwchar.c (getwchar): Likewise.
12151 * libio/getwchar_u.c (getwchar_unlocked): Likewise.
12152 * libio/oldstdfiles.c (_IO_check_libio): Likewise.
12153 * login/getpt.c (__getpt): Likewise.
12154 * login/tst-utmp.c (main): Likewise.
12155 * malloc/hooks.c (__malloc_check_init): Likewise.
12156 * malloc/malloc.c (__malloc_stats): Likewise.
12157 * malloc/mtrace.c (tr_break): Likewise.
12158 (mtrace): Likewise.
12159 (muntrace): Likewise.
12160 * misc/fstab.c (endfsent): Likewise.
12161 * misc/getclktck.c (__getclktck): Likewise.
12162 * misc/getdtsz.c (__getdtablesize): Likewise.
12163 * misc/gethostid.c (gethostid): Likewise.
12164 * misc/getpagesize.c (__getpagesize): Likewise.
12165 * misc/getsysstats.c (__get_nprocs_conf): Likewise.
12166 (__get_nprocs): Likewise.
12167 (__get_phys_pages): Likewise.
12168 (__get_avphys_pages): Likewise.
12169 * misc/getttyent.c (getttyent): Likewise.
12170 (setttyent): Likewise.
12171 (endttyent): Likewise.
12172 * misc/getusershell.c (getusershell): Likewise.
12173 (endusershell): Likewise.
12174 (setusershell): Likewise.
12175 (initshells): Likewise.
12176 * misc/hsearch.c (__hdestroy): Likewise.
12177 * misc/sync.c (sync): Likewise.
12178 * misc/syslog.c (closelog_internal): Likewise.
12179 (closelog): Likewise.
12180 * misc/ttyslot.c (ttyslot): Likewise.
12181 * misc/vhangup.c (vhangup): Likewise.
12182 * posix/fork.c (__fork): Likewise.
12183 * posix/getegid.c (__getegid): Likewise.
12184 * posix/geteuid.c (__geteuid): Likewise.
12185 * posix/getgid.c (__getgid): Likewise.
12186 * posix/getpid.c (__getpid): Likewise.
12187 * posix/getppid.c (__getppid): Likewise.
12188 * posix/getuid.c (__getuid): Likewise.
12189 * posix/pause.c (pause): Likewise.
12190 * posix/setpgrp.c (setpgrp): Likewise.
12191 * posix/setsid.c (__setsid): Likewise.
12192 * posix/test-vfork.c (noop): Likewise.
12193 * resolv/gethnamaddr.c (_endhtent): Likewise.
12194 (_gethtent): Likewise.
12195 (ht_endhostent): Likewise.
12196 (gethostent): Likewise.
12197 (dns_service): Likewise.
12198 * stdlib/drand48.c (drand48): Likewise.
12199 * stdlib/lrand48.c (lrand48): Likewise.
12200 * stdlib/mrand48.c (mrand48): Likewise.
12201 * stdlib/rand.c (rand): Likewise.
12202 * stdlib/random.c (__random): Likewise.
12203 * stdlib/setenv.c (clearenv): Likewise.
12204 * sunrpc/clnt_tcp.c (clnttcp_abort): Likewise.
12205 * sunrpc/clnt_unix.c (clntunix_abort): Likewise.
12206 * sysdeps/mach/getpagesize.c (__getpagesize): Likewise.
12207 * sysdeps/mach/getsysstats.c (__get_nprocs_conf): Likewise.
12208 (__get_nprocs): Likewise.
12209 (__get_phys_pages): Likewise.
12210 (__get_avphys_pages): Likewise.
12211 * sysdeps/mach/hurd/dl-sysdep.c (__getpid): Likewise.
12212 * sysdeps/mach/hurd/getclktck.c (__getclktck): Likewise.
12213 * sysdeps/mach/hurd/getdtsz.c (__getdtablesize): Likewise.
12214 * sysdeps/mach/hurd/getegid.c (__getegid): Likewise.
12215 * sysdeps/mach/hurd/geteuid.c (__geteuid): Likewise.
12216 * sysdeps/mach/hurd/getgid.c (__getgid): Likewise.
12217 * sysdeps/mach/hurd/gethostid.c (gethostid): Likewise.
12218 * sysdeps/mach/hurd/getlogin.c (getlogin): Likewise.
12219 * sysdeps/mach/hurd/getpid.c (__getpid): Likewise.
12220 * sysdeps/mach/hurd/getppid.c (__getppid): Likewise.
12221 * sysdeps/mach/hurd/getuid.c (__getuid): Likewise.
12222 * sysdeps/mach/hurd/sync.c (sync): Likewise.
12223 * sysdeps/posix/clock.c (clock): Likewise.
12224 * sysdeps/unix/bsd/setsid.c (__setsid): Likewise.
12225 * sysdeps/unix/getpagesize.c (__getpagesize): Likewise.
12226 * sysdeps/unix/sysv/linux/getclktck.c (__getclktck): Likewise.
12227 * sysdeps/unix/sysv/linux/gethostid.c (gethostid): Likewise.
12228 * sysdeps/unix/sysv/linux/getpagesize.c (__getpagesize): Likewise.
12229 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Likewise.
12230 (__get_nprocs_conf): Likewise.
12231 (__get_phys_pages): Likewise.
12232 (__get_avphys_pages): Likewise.
12233 * time/clock.c (clock): Likewise.
12234 * time/tzset.c (__tzname_max): Likewise.
12236 2013-06-07 Joseph Myers <joseph@codesourcery.com>
12238 * bits/byteswap.h [__GNUC__ && !__GNUC_PREREQ (4, 3)]
12239 (__bswap_32): Do not use "register".
12240 * crypt/crypt.c (_ufc_doit_r): Likewise.
12241 * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
12242 * debug/wcscat_chk.c (__wcscat_chk): Likewise.
12243 * gmon/gmon.c (__monstartup): Likewise.
12244 * gmon/mcount.c (_MCOUNT_DECL(frompc, selfpc)): Likewise.
12245 * hurd/hurdmalloc.c (more_memory): Likewise.
12246 (malloc): Likewise.
12248 (realloc): Likewise.
12249 (malloc_fork_prepare): Likewise.
12250 (malloc_fork_parent): Likewise.
12251 (malloc_fork_child): Likewise.
12252 * include/rpc/auth_des.h (xdr_authdes_verf): Likewise.
12253 (_svcauth_des): Likewise.
12254 * inet/inet_lnaof.c (inet_lnaof): Likewise.
12255 * inet/inet_net.c (inet_network): Likewise.
12256 * inet/inet_netof.c (inet_netof): Likewise.
12257 * inet/rcmd.c (__validuser2_sa): Likewise.
12258 * io/fts.c (fts_open): Likewise.
12259 (fts_load): Likewise.
12260 (fts_close): Likewise.
12261 (fts_read): Likewise.
12262 (fts_children): Likewise.
12263 (fts_build): Likewise.
12264 (fts_stat): Likewise.
12265 (fts_sort): Likewise.
12266 (fts_alloc): Likewise.
12267 (fts_lfree): Likewise.
12268 * libio/fileops.c (_IO_new_file_xsputn): Likewise.
12269 (_IO_file_xsgetn): Likewise.
12270 (_IO_file_xsgetn_mmap): Likewise.
12271 * libio/iofopncook.c (_IO_cookie_read): Likewise.
12272 (_IO_cookie_write): Likewise.
12273 * libio/oldfileops.c (_IO_old_file_xsputn): Likewise.
12274 * libio/wfileops.c (_IO_wfile_xsputn): Likewise.
12275 * mach/msgserver.c (__mach_msg_server_timeout): Likewise.
12276 * malloc/obstack.c (_obstack_begin): Likewise.
12277 (_obstack_begin_1): Likewise.
12278 (_obstack_newchunk): Likewise.
12279 (_obstack_allocated_p): Likewise.
12280 (obstack_free): Likewise.
12281 (_obstack_memory_used): Likewise.
12282 * misc/getttyent.c (getttynam): Likewise.
12283 (getttyent): Likewise.
12286 * misc/getusershell.c (initshells): Likewise.
12287 * misc/syslog.c (__vsyslog_chk): Likewise.
12288 * misc/ttyslot.c (ttyslot): Likewise.
12289 * nis/nis_hash.c (__nis_hash): Likewise.
12290 * posix/fnmatch_loop.c (FCT): Likewise.
12291 * posix/getconf.c (print_all): Likewise.
12293 * posix/getopt.c (exchange): Likewise.
12294 * posix/glob.c (globfree): Likewise.
12295 (prefix_array): Likewise.
12296 (__glob_pattern_type): Likewise.
12297 * resolv/arpa/nameser.h (NS_GET16): Likewise.
12298 (NS_GET32): Likewise.
12299 (NS_PUT16): Likewise.
12300 (NS_PUT32): Likewise.
12301 * resolv/gethnamaddr.c (getanswer): Likewise.
12302 (gethostbyname2): Likewise.
12303 (gethostbyaddr): Likewise.
12304 (_gethtent): Likewise.
12305 (_gethtbyname2): Likewise.
12306 (_gethtbyaddr): Likewise.
12307 * resolv/ns_print.c (dst_s_get_int16): Likewise.
12308 * resolv/nss_dns/dns-host.c (getanswer_r): Likewise.
12309 * resolv/res_init.c (__res_vinit): Likewise.
12310 (net_mask): Likewise.
12311 * resolv/res_mkquery.c (outchar): Likewise.
12313 * stdio-common/printf_fp.c (outchar): Likewise.
12315 * stdio-common/printf_fphex.c (outchar): Likewise.
12317 * stdio-common/printf_size.c (outchar): Likewise.
12319 * stdio-common/test_rdwr.c (main): Likewise.
12320 * stdio-common/tfformat.c (matches): Likewise.
12321 * stdio-common/vfprintf.c (outchar): Likewise.
12322 (printf_unknown): Likewise.
12323 (buffered_vfprintf): Likewise.
12324 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
12325 * stdio-common/xbug.c (AppendToBuffer): Likewise.
12326 (ReadFile): Likewise.
12327 * stdlib/qsort.c (SWAP): Likewise.
12328 (_quicksort): Likewise.
12329 * stdlib/setenv.c (__add_to_environ): Likewise.
12330 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
12331 * stdlib/strtol_l.c (__strtol_l): Likewise.
12332 * stdlib/tst-strtod.c (main): Likewise.
12333 * stdlib/tst-strtol.c (main): Likewise.
12334 * stdlib/tst-strtoll.c (main): Likewise.
12335 * string/bits/string2.h (__strcmp_cc): Likewise.
12336 (__strcmp_cg): Likewise.
12337 (__strcspn_c1): Likewise.
12338 (__strcspn_c2): Likewise.
12339 (__strcspn_c3): Likewise.
12340 (__strspn_c1): Likewise.
12341 (__strspn_c2): Likewise.
12342 (__strspn_c3): Likewise.
12343 (__strsep_1c): Likewise.
12344 (__strsep_2c): Likewise.
12345 (__strsep_3c): Likewise.
12346 * string/memccpy.c (__memccpy): Likewise.
12347 * string/stpcpy.c (__stpcpy): Likewise.
12348 * string/strcmp.c (strcmp): Likewise.
12349 * string/strrchr.c (strrchr): Likewise.
12350 * sysdeps/generic/sigset-cvt-mask.h (sigset_get_old_mask):
12352 * sysdeps/mach/hurd/getcwd.c
12353 (_hurd_canonicalize_directory_name_internal): Likewise.
12354 * sysdeps/mach/i386/sysdep.h (SNARF_ARGS): Likewise.
12355 * sysdeps/powerpc/powerpc32/power6/wcschr.c (wcschr): Likewise.
12356 * sysdeps/powerpc/powerpc32/power6/wcsrchr.c (wcsrchr): Likewise.
12357 * sysdeps/x86/bits/byteswap-16.h [__GNUC__] (__bswap_16):
12358 Likewise, in both definitions.
12359 * sysdeps/x86/bits/byteswap.h (__bswap_32): Likewise, in multiple
12361 [__GNUC_PREREQ (2, 0) && !__GNUC_PREREQ (4, 3) && __WORDSIZE ==
12362 64] (__bswap_64): Likewise.
12363 * time/test_time.c (main): Likewise.
12364 * time/tzfile.c (__tzfile_read): Likewise.
12365 (__tzfile_compute): Likewise.
12366 * time/tzset.c (__tzset_parse_tz): Likewise.
12367 (tzset_internal): Likewise.
12368 (compute_change): Likewise.
12369 * wcsmbs/wcscat.c (__wcscat): Likewise.
12370 * wcsmbs/wcschr.c (wcschr): Likewise.
12371 * wcsmbs/wcschrnul.c (__wcschrnul): Likewise.
12372 * wcsmbs/wcscspn.c (wcscspn): Likewise.
12373 * wcsmbs/wcspbrk.c (wcspbrk): Likewise.
12374 * wcsmbs/wcsrchr.c (wcsrchr): Likewise.
12375 * wcsmbs/wcsspn.c (wcsspn): Likewise.
12376 * wcsmbs/wcsstr.c (wcsstr): Likewise.
12377 * wcsmbs/wmemchr.c (wmemchr): Likewise.
12378 * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
12379 * wcsmbs/wmemset.c (wmemset): Likewise.
12381 2013-06-06 Joseph Myers <joseph@codesourcery.com>
12383 * scripts/config.guess: Update to version 2013-05-16.
12384 * scripts/config.sub: Update to version 2013-04-24.
12385 * scripts/install-sh: Update to version 2011-11-20.07.
12386 * scripts/mkinstalldirs: Update to version 2009-04-28.21.
12387 * scripts/move-if-change: Update to version 2012-01-06 07:23.
12389 2013-06-06 Ondřej Bílka <neleai@seznam.cz>
12391 * debug/fgetws_u_chk.c: Fix leading whitespaces.
12392 * elf/sln.c: Likewise.
12393 * hurd/hurd/ioctl.h: Likewise.
12394 * hurd/hurdmalloc.c: Likewise.
12395 * hurd/xattr.c: Likewise.
12396 * include/shlib-compat.h: Likewise.
12397 * inet/ruserpass.c: Likewise.
12398 * libio/iofgets_u.c: Likewise.
12399 * libio/iofgetws_u.c: Likewise.
12400 * locale/programs/ld-identification.c: Likewise.
12401 * locale/programs/ld-time.c: Likewise.
12402 * mach/msg-destroy.c: Likewise.
12403 * nss/nss_files/files-netgrp.c: Likewise.
12404 * resolv/res_data.c: Likewise.
12405 * soft-fp/op-1.h: Likewise.
12406 * soft-fp/op-2.h: Likewise.
12407 * soft-fp/op-4.h: Likewise.
12408 * soft-fp/op-common.h: Likewise.
12409 * stdio-common/printf_fphex.c: Likewise.
12410 * stdlib/strtod_l.c: Likewise.
12411 * sunrpc/rpc/clnt.h: Likewise.
12412 * sysdeps/generic/framestate.c: Likewise.
12413 * sysdeps/i386/bsd-_setjmp.S: Likewise.
12414 * sysdeps/i386/bsd-setjmp.S: Likewise.
12415 * sysdeps/i386/__longjmp.S: Likewise.
12416 * sysdeps/i386/setjmp.S: Likewise.
12417 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
12418 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
12419 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
12420 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
12421 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
12422 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
12423 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
12424 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
12425 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
12426 * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
12427 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
12428 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
12429 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
12430 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
12431 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
12432 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
12433 * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
12434 * sysdeps/ieee754/ldbl-96/ldbl2mpn.c: Likewise.
12435 * sysdeps/ieee754/support.c: Likewise.
12436 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
12437 * sysdeps/powerpc/powerpc32/lshift.S: Likewise.
12438 * sysdeps/sparc/sparc32/__longjmp.S: Likewise.
12439 * sysdeps/sparc/sparc64/soft-fp/qp_cmp.c: Likewise.
12440 * sysdeps/sparc/sparc64/soft-fp/qp_cmpe.c: Likewise.
12441 * sysdeps/sparc/sparc64/soft-fp/qp_feq.c: Likewise.
12442 * sysdeps/sparc/sparc64/soft-fp/qp_fge.c: Likewise.
12443 * sysdeps/sparc/sparc64/soft-fp/qp_fgt.c: Likewise.
12444 * sysdeps/sparc/sparc64/soft-fp/qp_fle.c: Likewise.
12445 * sysdeps/sparc/sparc64/soft-fp/qp_flt.c: Likewise.
12446 * sysdeps/sparc/sparc64/soft-fp/qp_fne.c: Likewise.
12447 * sysdeps/sparc/sparc64/soft-fp/qp_mul.c: Likewise.
12448 * sysdeps/sparc/sparc64/soft-fp/qp_qtoi.c: Likewise.
12449 * sysdeps/sparc/sparc64/soft-fp/qp_qtoui.c: Likewise.
12450 * sysdeps/sparc/sparc64/soft-fp/qp_qtoux.c: Likewise.
12451 * sysdeps/sparc/sparc64/soft-fp/qp_qtox.c: Likewise.
12452 * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
12453 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Likewise.
12455 2013-06-05 Ondřej Bílka <neleai@seznam.cz>
12457 * posix/transbug.c: Remove executable mode.
12459 2013-06-05 Joseph Myers <joseph@codesourcery.com>
12461 * crypt/speeds.c: Remove trailing whitespace.
12462 * dlfcn/default.c: Likewise.
12463 * elf/ifuncdep2.c: Likewise.
12464 * elf/ifuncmain1.c: Likewise.
12465 * elf/ifuncmain1vis.c: Likewise.
12466 * elf/testobj.h: Likewise.
12467 * elf/tst-stackguard1.c: Likewise.
12468 * gmon/sys/gmon.h: Likewise.
12469 * hurd/hurdmsg.c: Likewise.
12470 * hurd/new-fd.c: Likewise.
12471 * hurd/ports-get.c: Likewise.
12472 * iconvdata/ibm1008_420.c: Likewise.
12473 * inet/tst-getni1.c: Likewise.
12474 * inet/tst-getni2.c: Likewise.
12475 * libio/ioungetc.c: Likewise.
12476 * libio/wfiledoalloc.c: Likewise.
12477 * manual/libm-err-tab.pl: Likewise.
12478 * math/w_dremf.c: Likewise.
12479 * misc/ftruncate.c: Likewise.
12480 * posix/bug-glob2.c: Likewise.
12481 * posix/tst-pcre.c: Likewise.
12482 * posix/wait4.c: Likewise.
12483 * resolv/README: Likewise.
12484 * resolv/res_debug.h: Likewise.
12485 * resolv/tst-inet_ntop.c: Likewise.
12486 * setjmp/bug269-setjmp.c: Likewise.
12487 * soft-fp/extended.h: Likewise.
12488 * soft-fp/op-1.h: Likewise.
12489 * soft-fp/op-2.h: Likewise.
12490 * soft-fp/op-4.h: Likewise.
12491 * soft-fp/op-8.h: Likewise.
12492 * soft-fp/testit.c: Likewise.
12493 * stdio-common/bug16.c: Likewise.
12494 * stdlib/random.c: Likewise.
12495 * sunrpc/rpcsvc/rquota.x: Likewise.
12496 * sysdeps/ieee754/dbl-64/powtwo.tbl: Likewise.
12497 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
12498 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
12499 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
12500 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
12501 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
12502 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
12503 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
12504 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
12505 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
12506 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
12507 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
12508 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
12509 * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
12510 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
12511 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
12512 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
12513 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
12514 * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
12515 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
12516 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
12517 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
12518 * sysdeps/ieee754/ldbl-128/t_sincosl.c: Likewise.
12519 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
12520 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
12521 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
12522 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
12523 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
12524 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
12525 * sysdeps/ieee754/s_lib_version.c: Likewise.
12526 * sysdeps/mach/hurd/check_fds.c: Likewise.
12527 * sysdeps/mach/hurd/getsockname.c: Likewise.
12528 * sysdeps/mach/hurd/net/if_ppp.h: Likewise.
12529 * sysdeps/mach/hurd/recvfrom.c: Likewise.
12530 * sysdeps/powerpc/bits/link.h: Likewise.
12531 * sysdeps/powerpc/dl-procinfo.c: Likewise.
12532 * sysdeps/powerpc/fpu/feholdexcpt.c: Likewise.
12533 * sysdeps/powerpc/fpu/fenv_const.c: Likewise.
12534 * sysdeps/powerpc/fpu/fesetenv.c: Likewise.
12535 * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
12536 * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
12537 * sysdeps/powerpc/fpu/t_sqrt.c: Likewise.
12538 * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
12539 * sysdeps/powerpc/powerpc32/fpu/s_floor.S: Likewise.
12540 * sysdeps/powerpc/powerpc32/fpu/s_floorf.S: Likewise.
12541 * sysdeps/powerpc/powerpc32/fpu/s_isnan.S: Likewise.
12542 * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
12543 * sysdeps/powerpc/powerpc32/fpu/s_round.S: Likewise.
12544 * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Likewise.
12545 * sysdeps/powerpc/powerpc32/fpu/s_trunc.S: Likewise.
12546 * sysdeps/powerpc/powerpc32/fpu/s_truncf.S: Likewise.
12547 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
12548 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
12549 * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
12550 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
12551 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
12552 * sysdeps/powerpc/powerpc32/power4/hp-timing.c: Likewise.
12553 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
12554 * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
12555 * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Likewise.
12556 * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
12557 * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
12558 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
12559 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
12560 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
12561 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
12562 * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
12563 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
12564 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
12565 * sysdeps/powerpc/powerpc32/power6x/fpu/s_lround.S: Likewise.
12566 * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
12567 * sysdeps/powerpc/powerpc64/fpu/s_floor.S: Likewise.
12568 * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
12569 * sysdeps/powerpc/powerpc64/fpu/s_isnan.S: Likewise.
12570 * sysdeps/powerpc/powerpc64/fpu/s_llrint.S: Likewise.
12571 * sysdeps/powerpc/powerpc64/fpu/s_llrintf.S: Likewise.
12572 * sysdeps/powerpc/powerpc64/fpu/s_llround.S: Likewise.
12573 * sysdeps/powerpc/powerpc64/fpu/s_llroundf.S: Likewise.
12574 * sysdeps/powerpc/powerpc64/fpu/s_round.S: Likewise.
12575 * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
12576 * sysdeps/powerpc/powerpc64/fpu/s_roundl.S: Likewise.
12577 * sysdeps/powerpc/powerpc64/fpu/s_trunc.S: Likewise.
12578 * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
12579 * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Likewise.
12580 * sysdeps/powerpc/powerpc64/hp-timing.c: Likewise.
12581 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
12582 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
12583 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
12584 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
12585 * sysdeps/powerpc/powerpc64/power5+/fpu/s_llround.S: Likewise.
12586 * sysdeps/powerpc/powerpc64/power5/fpu/s_isnan.S: Likewise.
12587 * sysdeps/powerpc/powerpc64/power6/fpu/s_isnan.S: Likewise.
12588 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
12589 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Likewise.
12590 * sysdeps/powerpc/powerpc64/power6x/fpu/s_isnan.S: Likewise.
12591 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llrint.S: Likewise.
12592 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llround.S: Likewise.
12593 * sysdeps/powerpc/powerpc64/strlen.S: Likewise.
12594 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
12595 * sysdeps/powerpc/sysdep.h: Likewise.
12596 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
12597 * sysdeps/s390/s390-64/sub_n.S: Likewise.
12598 * sysdeps/sh/dl-trampoline.S: Likewise.
12599 * sysdeps/sh/memset.S: Likewise.
12600 * sysdeps/sh/sh4/fpu/fclrexcpt.c: Likewise.
12601 * sysdeps/sh/strlen.S: Likewise.
12602 * sysdeps/sparc/sparc32/dl-trampoline.S: Likewise.
12603 * sysdeps/sparc/sparc32/dotmul.S: Likewise.
12604 * sysdeps/sparc/sparc32/memcpy.S: Likewise.
12605 * sysdeps/sparc/sparc32/rem.S: Likewise.
12606 * sysdeps/sparc/sparc32/sdiv.S: Likewise.
12607 * sysdeps/sparc/sparc32/soft-fp/q_neg.c: Likewise.
12608 * sysdeps/sparc/sparc32/strchr.S: Likewise.
12609 * sysdeps/sparc/sparc32/udiv.S: Likewise.
12610 * sysdeps/sparc/sparc32/urem.S: Likewise.
12611 * sysdeps/sparc/sparc64/add_n.S: Likewise.
12612 * sysdeps/sparc/sparc64/memcpy.S: Likewise.
12613 * sysdeps/sparc/sparc64/rawmemchr.S: Likewise.
12614 * sysdeps/sparc/sparc64/soft-fp/s_frexpl.c: Likewise.
12615 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h: Likewise.
12616 * sysdeps/sparc/sparc64/stpncpy.S: Likewise.
12617 * sysdeps/sparc/sparc64/strncmp.S: Likewise.
12618 * sysdeps/sparc/sparc64/strncpy.S: Likewise.
12619 * sysdeps/unix/bsd/times.c: Likewise.
12620 * sysdeps/unix/sysv/linux/a.out.h: Likewise.
12621 * sysdeps/unix/sysv/linux/net/if_ppp.h: Likewise.
12622 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S: Likewise.
12623 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S: Likewise.
12624 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Likewise.
12625 * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h: Likewise.
12626 * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
12627 * sysdeps/unix/sysv/linux/s390/s390-32/clone.S: Likewise.
12628 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Likewise.
12629 * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Likewise.
12630 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Likewise.
12631 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
12632 * sysdeps/unix/sysv/linux/s390/s390-64/mmap.S: Likewise.
12633 * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
12634 * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
12635 * sysdeps/unix/sysv/linux/s390/s390-64/socket.S: Likewise.
12636 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
12637 * sysdeps/unix/sysv/linux/s390/s390-64/syscall.S: Likewise.
12638 * sysdeps/unix/sysv/linux/scsi/scsi_ioctl.h: Likewise.
12639 * sysdeps/unix/sysv/linux/sh/brk.c: Likewise.
12640 * sysdeps/unix/sysv/linux/sh/clone.S: Likewise.
12641 * sysdeps/unix/sysv/linux/sh/sh3/getcontext.S: Likewise.
12642 * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
12643 * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S: Likewise.
12644 * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S: Likewise.
12645 * sysdeps/unix/sysv/linux/sh/vfork.S: Likewise.
12646 * sysdeps/unix/sysv/linux/sparc/a.out.h: Likewise.
12647 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
12648 * sysdeps/unix/sysv/linux/sys/personality.h: Likewise.
12649 * sysdeps/x86_64/fpu/s_ceill.S: Likewise.
12650 * sysdeps/x86_64/fpu/s_llrintl.S: Likewise.
12651 * sysdeps/x86_64/strcspn.S: Likewise.
12653 2013-06-05 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
12655 * locale/C-translit.h: Revert #include <stdint.h> because this is a
12656 generated file. Regenerate properly from gen-translit.pl.
12657 * locale/gen-translit.pl: Add #include <stdint.h>. This generates
12658 locale/C-translit.h.
12660 2013-06-05 Andreas Schwab <schwab@suse.de>
12663 * time/strptime_l.c (__strptime_internal): Count Sunday in a %W
12664 week as 6 instead of -1.
12665 * time/tst-strptime.c (day_tests): Add test case.
12667 2013-06-05 Siddhesh Poyarekar <siddhesh@redhat.com>
12669 * sysdeps/generic/math_private.h
12670 (libc_feholdexcept_setround_53bit): Replace with
12671 libc_feholdsetround_53bit.
12672 (libc_feupdateenv_53bit): Replace with
12673 libc_feresetround_53bit.
12674 (SET_RESTORE_ROUND_53BIT): Adjust.
12676 2013-06-03 Siddhesh Poyarekar <siddhesh@redhat.com>
12678 * string/test-strchrnul.c: Add copyright header.
12680 * posix/tst-getaddrinfo4.c: Increase test timeout.
12682 2013-06-03 Carlos O'Donell <carlos@redhat.com>
12685 * math/libm-test.inc (MAX_EXP): Remove
12687 (ulp): Use MIN_EXP - MANT_DIG.
12688 (check_ulp): Verify subnormal ulps. Only allow a range of +/- 1 ulp.
12690 2013-05-31 Carlos O'Donell <carlos@redhat.com>
12692 * po/be.po: Revert last change.
12693 * po/zh_CN.po: Likewise.
12694 * po/header.pot: Likewise.
12696 2013-05-31 Joseph Myers <joseph@codesourcery.com>
12698 * Makefile ($(common-objpfx)linkobj/libc.so): Define
12699 link-libc-deps to empty as target-specific variable.
12700 * Makerules (link-libc-args): New variable.
12701 (libc-for-link): Likewise.
12702 (link-libc-deps): Likewise.
12703 (lib%.so): Depend on $(link-libc-deps). Link with
12705 (build-module): Link with $(link-libc-args).
12706 (build-module-asneeded): Likewise.
12707 (build-module-helper-objlist): Filter out $(link-libc-deps) from
12709 ($(common-objpfx)libc.so): Define link-libc-deps to empty as
12710 target-specific variable.
12711 ($(extra-modules-build:%=$(objpfx)%.so)): Depend on
12712 $(link-libc-deps) instead of libc.so and libc_nonshared.a.
12713 * crypt/Makefile ($(objpfx)libcrypt.so): Remove dependencies on
12715 * debug/Makefile ($(objpfx)libSegFault.so): Remove dependencies on
12717 ($(objpfx)libpcprofile.so): Likewise.
12718 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Remove ld.so and
12720 ($(objpfx)libdl.so): Remove dependencies on libc and ld.so.
12721 * hesiod/Makefile ($(objpfx)libnss_hesiod.so): Likewise.
12722 * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Depend on
12724 ($(objpfx)$(mod).so): Remove dependencies on libc and ld.so.
12725 * locale/Makefile ($(objpfx)libBrokenLocale.so): Likewise.
12726 * login/Makefile ($(objpfx)libutil.so): Likewise.
12727 * malloc/Makefile ($(objpfx)libmemusage.so): Likewise.
12728 * math/Makefile ($(objpfx)libm.so): Likewise.
12729 * nis/Makefile ($(services:%=$(objpfx)libnss_%.so)
12730 $(objpfx)libnsl.so): Define libc-for-link as target-specific
12731 variable instead of depending directly on libc.
12732 * nss/Makefile ($(services:%=$(objpfx)libnss_%.so)): Likewise.
12733 ($(objpfx)/libnss_test1.so): Change dependencies on libc to
12735 * resolv/Makefile ($(objpfx)libresolv.so): Remove dependencies on
12737 [$(have-ssp) = yes] (LDLIBS-resolv.so): Remove variable.
12738 ($(objpfx)libnss_dns.so): Remove dependencies on libc.
12739 ($(objpfx)libanl.so): Likewise.
12740 * rt/Makefile ($(objpfx)librt.so): Remove dependencies on libc and
12742 * stdlib/Makefile ($(objpfx)tst-putenvmod.so): Depend on
12744 * sysdeps/i386/fpu/Makefile: Remove file.
12745 * sysdeps/powerpc/fpu/Makefile [$(subdir) = math]
12746 ($(objpfx)libm.so): Remove dependency on ld.so.
12748 2013-05-30 Patsy Franklin <pfrankli@redhat.com>
12751 * nis/yp_xdr.c (XDRMAXNAME): Define.
12752 (XDRMAXRECORD): Define.
12753 (xdr_domainname): Use XDRMAXNAME.
12754 (xdr_mapname): Likewise.
12755 (xdr_peername): Likewise.
12756 (xdr_keydat): Use XDRMAXRECORD.
12757 (xdr_valdat): Likewise.
12759 2013-05-30 Jeff Law <law@redhat.com>
12762 * manual/errno.texi (ESTALE): Update to account for more than
12763 just NFS file systems.
12764 * sysdeps/gnu/errlist.c: Regenerated.
12766 2013-05-29 Siddhesh Poyarekar <siddhesh@redhat.com>
12769 * elf/Makefile (tests): Add tst-null-argv.
12770 (modules-names): Add tst-null-argv-lib.
12771 ($(objpfx)tst-null-argv): Depend on tst-null-argv-lib.so.
12772 (tst-null-argv-ENV): Set environment for tst-null-argv.
12773 * sysdeps/generic/ldsodefs.h (DSO_FILENAME): New macro.
12774 (RTLD_PROGNAME): New macro.
12775 * elf/tst-null-argv.c: New test case.
12776 * elf/tst-null-argv-lib.c: Library for test case.
12777 * elf/dl-conflict.c (_dl_resolve_conflicts): Use DSO_FILENAME.
12778 * elf/dl-deps.c (_dl_map_object_deps): Likewise.
12779 * elf/dl-error.c (_dl_signal_error): Use RTLD_PROGNAME.
12780 * elf/dl-fini.c (_dl_fini): Use DSO_FILENAME.
12781 * elf/dl-init.c (call_init): Likewise.
12782 (_dl_init): Likewise.
12783 * elf/dl-load.c (print_search_path): Likewise.
12784 (_dl_map_object): Likewise.
12785 * elf/dl-lookup.c (do_lookup_x): Likewise.
12786 (add_dependency): Likewise.
12787 (_dl_lookup_symbol_x): Likewise.
12788 (_dl_debug_bindings): Likewise.
12789 * elf/dl-open.c (_dl_show_scope): Likewise.
12790 * elf/dl-reloc.c (_dl_relocate_object): Likewise.
12791 * elf/dl-version.c (match_symbol): Likewise.
12792 (_dl_check_map_versions): Likewise.
12793 * elf/rtld.c (dl_main): Likewise.
12794 (print_unresolved): Use RTLD_PROGNAME.
12795 (print_missing_version): Likewise.
12796 * sysdeps/i386/dl-machine.h (elf_machine_rel): Likewise.
12797 (elf_machine_rela): Likewise.
12798 * sysdeps/powerpc/powerpc32/dl-machine.c
12799 (__process_machine_rela): Likewise.
12800 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
12802 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
12804 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela):
12806 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
12807 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela):
12809 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela):
12811 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
12813 2013-05-28 Carlos O'Donell <carlos@redhat.com>
12815 * po/be.po: Add descriptive title.
12816 * po/zh_CN.po: Likewise.
12817 * po/header.pot: Likewise.
12819 2013-05-28 Mike Frysinger <vapier@gentoo.org>
12821 * locale/programs/locarchive.c (create_archive): Inlucde fname in
12823 (enlarge_archive): Likewise.
12825 2013-05-28 Ben North <ben@redfrontdoor.org>
12827 * manual/arith.texi (frexp): It is the magnitude of the return
12828 value which lies in [0.5, 1), not the return value itself.
12830 2013-05-28 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12832 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
12834 2013-05-26 Thomas Schwinge <thomas@codesourcery.com>
12836 * stdio-common/bug26.c (main): Correct fscanf template.
12838 * sysdeps/mach/hurd/dl-sysdep.c (_dl_sysdep_start:go): Don't
12839 declare _dl_skip_args.
12841 * sysdeps/mach/hurd/i386/init-first.c (_dl_non_dynamic_init):
12844 * manual/platform.texi: Add missing @end deftypefun.
12846 2013-05-24 Joseph Myers <joseph@codesourcery.com>
12849 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Set high
12850 bit of mantissa of 2^16382.
12851 * math/libm-test.inc (hypot_test_data): Add more tests.
12853 * math/libm-test.inc: Add drem and pow10 to list of tested
12855 (pow10_test): New function.
12856 (drem_test): Likewise.
12857 (drem_test_tonearest): Likewise.
12858 (drem_test_towardzero): Likewise.
12859 (drem_test_downward): Likewise.
12860 (drem_test_upward): Likewise.
12861 (main): Call the new functions.
12863 * math/libm-test.inc (finite_test_data): Remove.
12864 (finite_test): Run tests from isfinite_test_data.
12865 (gamma_test_data): Remove.
12866 (gamma_test): Run tests from lgamma_test_data.
12867 * sysdeps/i386/fpu/libm-test-ulps: Update.
12868 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12870 2013-05-24 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12872 * manual/platform.texi: Add PowerPC PPR function set documentation.
12873 * sysdeps/powerpc/sys/platform/ppc.h: Add PowerPC PPR set function
12876 2013-05-24 Carlos O'Donell <carlos@redhat.com>
12878 * math/libm-test.inc (MAX_EXP): Define.
12880 (ulp): New function.
12881 (check_float_internal): Use ULPDIFF.
12882 (cpow_test): Disable failing test.
12883 (check_ulp): Test ulp() implemetnation.
12884 (main): Call check_ulp before starting tests.
12886 2013-05-24 Joseph Myers <joseph@codesourcery.com>
12888 * math/gen-libm-test.pl (generate_testfile): Do not handle
12889 START_DATA and END_DATA.
12890 * math/libm-test.inc (acos_test_data): Do not use START_DATA and
12892 (acos_tonearest_test_data): Likewise.
12893 (acos_towardzero_test_data): Likewise.
12894 (acos_downward_test_data): Likewise.
12895 (acos_upward_test_data): Likewise.
12896 (acosh_test_data): Likewise.
12897 (asin_test_data): Likewise.
12898 (asin_tonearest_test_data): Likewise.
12899 (asin_towardzero_test_data): Likewise.
12900 (asin_downward_test_data): Likewise.
12901 (asin_upward_test_data): Likewise.
12902 (asinh_test_data): Likewise.
12903 (atan_test_data): Likewise.
12904 (atanh_test_data): Likewise.
12905 (atan2_test_data): Likewise.
12906 (cabs_test_data): Likewise.
12907 (cacos_test_data): Likewise.
12908 (cacosh_test_data): Likewise.
12909 (carg_test_data): Likewise.
12910 (casin_test_data): Likewise.
12911 (casinh_test_data): Likewise.
12912 (catan_test_data): Likewise.
12913 (catanh_test_data): Likewise.
12914 (cbrt_test_data): Likewise.
12915 (ccos_test_data): Likewise.
12916 (ccosh_test_data): Likewise.
12917 (ceil_test_data): Likewise.
12918 (cexp_test_data): Likewise.
12919 (cimag_test_data): Likewise.
12920 (clog_test_data): Likewise.
12921 (clog10_test_data): Likewise.
12922 (conj_test_data): Likewise.
12923 (copysign_test_data): Likewise.
12924 (cos_test_data): Likewise.
12925 (cos_tonearest_test_data): Likewise.
12926 (cos_towardzero_test_data): Likewise.
12927 (cos_downward_test_data): Likewise.
12928 (cos_upward_test_data): Likewise.
12929 (cosh_test_data): Likewise.
12930 (cosh_tonearest_test_data): Likewise.
12931 (cosh_towardzero_test_data): Likewise.
12932 (cosh_downward_test_data): Likewise.
12933 (cosh_upward_test_data): Likewise.
12934 (cpow_test_data): Likewise.
12935 (cproj_test_data): Likewise.
12936 (creal_test_data): Likewise.
12937 (csin_test_data): Likewise.
12938 (csinh_test_data): Likewise.
12939 (csqrt_test_data): Likewise.
12940 (ctan_test_data): Likewise.
12941 (ctan_tonearest_test_data): Likewise.
12942 (ctan_towardzero_test_data): Likewise.
12943 (ctan_downward_test_data): Likewise.
12944 (ctan_upward_test_data): Likewise.
12945 (ctanh_test_data): Likewise.
12946 (ctanh_tonearest_test_data): Likewise.
12947 (ctanh_towardzero_test_data): Likewise.
12948 (ctanh_downward_test_data): Likewise.
12949 (ctanh_upward_test_data): Likewise.
12950 (erf_test_data): Likewise.
12951 (erfc_test_data): Likewise.
12952 (exp_test_data): Likewise.
12953 (exp_tonearest_test_data): Likewise.
12954 (exp_towardzero_test_data): Likewise.
12955 (exp_downward_test_data): Likewise.
12956 (exp_upward_test_data): Likewise.
12957 (exp10_test_data): Likewise.
12958 (exp2_test_data): Likewise.
12959 (expm1_test_data): Likewise.
12960 (fabs_test_data): Likewise.
12961 (fdim_test_data): Likewise.
12962 (finite_test_data): Likewise.
12963 (floor_test_data): Likewise.
12964 (fma_test_data): Likewise.
12965 (fma_towardzero_test_data): Likewise.
12966 (fma_downward_test_data): Likewise.
12967 (fma_upward_test_data): Likewise.
12968 (fmax_test_data): Likewise.
12969 (fmin_test_data): Likewise.
12970 (fmod_test_data): Likewise.
12971 (fpclassify_test_data): Likewise.
12972 (frexp_test_data): Likewise.
12973 (gamma_test_data): Likewise.
12974 (hypot_test_data): Likewise.
12975 (ilogb_test_data): Likewise.
12976 (isfinite_test_data): Likewise.
12977 (isgreater_test_data): Likewise.
12978 (isgreaterequal_test_data): Likewise.
12979 (isinf_test_data): Likewise.
12980 (isless_test_data): Likewise.
12981 (islessequal_test_data): Likewise.
12982 (islessgreater_test_data): Likewise.
12983 (isnan_test_data): Likewise.
12984 (isnormal_test_data): Likewise.
12985 (issignaling_test_data): Likewise.
12986 (isunordered_test_data): Likewise.
12987 (j0_test_data): Likewise.
12988 (j1_test_data): Likewise.
12989 (jn_test_data): Likewise.
12990 (ldexp_test_data): Likewise.
12991 (lgamma_test_data): Likewise.
12992 (lrint_test_data): Likewise.
12993 (lrint_tonearest_test_data): Likewise.
12994 (lrint_towardzero_test_data): Likewise.
12995 (lrint_downward_test_data): Likewise.
12996 (lrint_upward_test_data): Likewise.
12997 (llrint_test_data): Likewise.
12998 (llrint_tonearest_test_data): Likewise.
12999 (llrint_towardzero_test_data): Likewise.
13000 (llrint_downward_test_data): Likewise.
13001 (llrint_upward_test_data): Likewise.
13002 (log_test_data): Likewise.
13003 (log10_test_data): Likewise.
13004 (log1p_test_data): Likewise.
13005 (log2_test_data): Likewise.
13006 (logb_test_data): Likewise.
13007 (logb_downward_test_data): Likewise.
13008 (lround_test_data): Likewise.
13009 (llround_test_data): Likewise.
13010 (modf_test_data): Likewise.
13011 (nearbyint_test_data): Likewise.
13012 (nextafter_test_data): Likewise.
13013 (nexttoward_test_data): Likewise.
13014 (pow_test_data): Likewise.
13015 (pow_tonearest_test_data): Likewise.
13016 (pow_towardzero_test_data): Likewise.
13017 (pow_downward_test_data): Likewise.
13018 (pow_upward_test_data): Likewise.
13019 (remainder_test_data): Likewise.
13020 (remainder_tonearest_test_data): Likewise.
13021 (remainder_towardzero_test_data): Likewise.
13022 (remainder_downward_test_data): Likewise.
13023 (remainder_upward_test_data): Likewise.
13024 (remquo_test_data): Likewise.
13025 (rint_test_data): Likewise.
13026 (rint_tonearest_test_data): Likewise.
13027 (rint_towardzero_test_data): Likewise.
13028 (rint_downward_test_data): Likewise.
13029 (rint_upward_test_data): Likewise.
13030 (round_test_data): Likewise.
13031 (scalb_test_data): Likewise.
13032 (scalbn_test_data): Likewise.
13033 (scalbln_test_data): Likewise.
13034 (signbit_test_data): Likewise.
13035 (sin_test_data): Likewise.
13036 (sin_tonearest_test_data): Likewise.
13037 (sin_towardzero_test_data): Likewise.
13038 (sin_downward_test_data): Likewise.
13039 (sin_upward_test_data): Likewise.
13040 (sincos_test_data): Likewise.
13041 (sinh_test_data): Likewise.
13042 (sinh_tonearest_test_data): Likewise.
13043 (sinh_towardzero_test_data): Likewise.
13044 (sinh_downward_test_data): Likewise.
13045 (sinh_upward_test_data): Likewise.
13046 (sqrt_test_data): Likewise.
13047 (tan_test_data): Likewise.
13048 (tan_tonearest_test_data): Likewise.
13049 (tan_towardzero_test_data): Likewise.
13050 (tan_downward_test_data): Likewise.
13051 (tan_upward_test_data): Likewise.
13052 (tanh_test_data): Likewise.
13053 (tgamma_test_data): Likewise.
13054 (trunc_test_data): Likewise.
13055 (y0_test_data): Likewise.
13056 (y1_test_data): Likewise.
13057 (yn_test_data): Likewise.
13058 (significand_test_data): Likewise.
13060 * math/gen-libm-test.pl (@functions): Remove variable.
13061 (generate_testfile): Don't handle START and END lines.
13062 * math/libm-test.inc (START): New macro.
13064 (END_COMPLEX): Likewise.
13065 (acos_test): Use END macro without arguments.
13066 (acos_test_tonearest): Likewise.
13067 (acos_test_towardzero): Likewise.
13068 (acos_test_downward): Likewise.
13069 (acos_test_upward): Likewise.
13070 (acosh_test): Likewise.
13071 (asin_test): Likewise.
13072 (asin_test_tonearest): Likewise.
13073 (asin_test_towardzero): Likewise.
13074 (asin_test_downward): Likewise.
13075 (asin_test_upward): Likewise.
13076 (asinh_test): Likewise.
13077 (atan_test): Likewise.
13078 (atanh_test): Likewise.
13079 (atan2_test): Likewise.
13080 (cabs_test): Likewise.
13081 (cacos_test): Use END_COMPLEX macro without arguments.
13082 (cacosh_test): Likewise.
13083 (carg_test): Use END macro without arguments.
13084 (casin_test): Use END_COMPLEX macro without arguments.
13085 (casinh_test): Likewise.
13086 (catan_test): Likewise.
13087 (catanh_test): Likewise.
13088 (cbrt_test): Use END macro without arguments.
13089 (ccos_test): Use END_COMPLEX macro without arguments.
13090 (ccosh_test): Likewise.
13091 (ceil_test): Use END macro without arguments.
13092 (cexp_test): Use END_COMPLEX macro without arguments.
13093 (cimag_test): Use END macro without arguments.
13094 (clog_test): Use END_COMPLEX macro without arguments.
13095 (clog10_test): Likewise.
13096 (conj_test): Likewise.
13097 (copysign_test): Use END macro without arguments.
13098 (cos_test): Likewise.
13099 (cos_test_tonearest): Likewise.
13100 (cos_test_towardzero): Likewise.
13101 (cos_test_downward): Likewise.
13102 (cos_test_upward): Likewise.
13103 (cosh_test): Likewise.
13104 (cosh_test_tonearest): Likewise.
13105 (cosh_test_towardzero): Likewise.
13106 (cosh_test_downward): Likewise.
13107 (cosh_test_upward): Likewise.
13108 (cpow_test): Use END_COMPLEX macro without arguments.
13109 (cproj_test): Likewise.
13110 (creal_test): Use END macro without arguments.
13111 (csin_test): Use END_COMPLEX macro without arguments.
13112 (csinh_test): Likewise.
13113 (csqrt_test): Likewise.
13114 (ctan_test): Likewise.
13115 (ctan_test_tonearest): Likewise.
13116 (ctan_test_towardzero): Likewise.
13117 (ctan_test_downward): Likewise.
13118 (ctan_test_upward): Likewise.
13119 (ctanh_test): Likewise.
13120 (ctanh_test_tonearest): Likewise.
13121 (ctanh_test_towardzero): Likewise.
13122 (ctanh_test_downward): Likewise.
13123 (ctanh_test_upward): Likewise.
13124 (erf_test): Use END macro without arguments.
13125 (erfc_test): Likewise.
13126 (exp_test): Likewise.
13127 (exp_test_tonearest): Likewise.
13128 (exp_test_towardzero): Likewise.
13129 (exp_test_downward): Likewise.
13130 (exp_test_upward): Likewise.
13131 (exp10_test): Likewise.
13132 (exp2_test): Likewise.
13133 (expm1_test): Likewise.
13134 (fabs_test): Likewise.
13135 (fdim_test): Likewise.
13136 (finite_test): Likewise.
13137 (floor_test): Likewise.
13138 (fma_test): Likewise.
13139 (fma_test_towardzero): Likewise.
13140 (fma_test_downward): Likewise.
13141 (fma_test_upward): Likewise.
13142 (fmax_test): Likewise.
13143 (fmin_test): Likewise.
13144 (fmod_test): Likewise.
13145 (fpclassify_test): Likewise.
13146 (frexp_test): Likewise.
13147 (gamma_test): Likewise.
13148 (hypot_test): Likewise.
13149 (ilogb_test): Likewise.
13150 (isfinite_test): Likewise.
13151 (isgreater_test): Likewise.
13152 (isgreaterequal_test): Likewise.
13153 (isinf_test): Likewise.
13154 (isless_test): Likewise.
13155 (islessequal_test): Likewise.
13156 (islessgreater_test): Likewise.
13157 (isnan_test): Likewise.
13158 (isnormal_test): Likewise.
13159 (issignaling_test): Likewise.
13160 (isunordered_test): Likewise.
13161 (j0_test): Likewise.
13162 (j1_test): Likewise.
13163 (jn_test): Likewise.
13164 (ldexp_test): Likewise.
13165 (lgamma_test): Likewise.
13166 (lrint_test): Likewise.
13167 (lrint_test_tonearest): Likewise.
13168 (lrint_test_towardzero): Likewise.
13169 (lrint_test_downward): Likewise.
13170 (lrint_test_upward): Likewise.
13171 (llrint_test): Likewise.
13172 (llrint_test_tonearest): Likewise.
13173 (llrint_test_towardzero): Likewise.
13174 (llrint_test_downward): Likewise.
13175 (llrint_test_upward): Likewise.
13176 (log_test): Likewise.
13177 (log10_test): Likewise.
13178 (log1p_test): Likewise.
13179 (log2_test): Likewise.
13180 (logb_test): Likewise.
13181 (logb_test_downward): Likewise.
13182 (lround_test): Likewise.
13183 (llround_test): Likewise.
13184 (modf_test): Likewise.
13185 (nearbyint_test): Likewise.
13186 (nextafter_test): Likewise.
13187 (nexttoward_test): Likewise.
13188 (pow_test): Likewise.
13189 (pow_test_tonearest): Likewise.
13190 (pow_test_towardzero): Likewise.
13191 (pow_test_downward): Likewise.
13192 (pow_test_upward): Likewise.
13193 (remainder_test): Likewise.
13194 (remainder_test_tonearest): Likewise.
13195 (remainder_test_towardzero): Likewise.
13196 (remainder_test_downward): Likewise.
13197 (remainder_test_upward): Likewise.
13198 (remquo_test): Likewise.
13199 (rint_test): Likewise.
13200 (rint_test_tonearest): Likewise.
13201 (rint_test_towardzero): Likewise.
13202 (rint_test_downward): Likewise.
13203 (rint_test_upward): Likewise.
13204 (round_test): Likewise.
13205 (scalb_test): Likewise.
13206 (scalbn_test): Likewise.
13207 (scalbln_test): Likewise.
13208 (signbit_test): Likewise.
13209 (sin_test): Likewise.
13210 (sin_test_tonearest): Likewise.
13211 (sin_test_towardzero): Likewise.
13212 (sin_test_downward): Likewise.
13213 (sin_test_upward): Likewise.
13214 (sincos_test): Likewise.
13215 (sinh_test): Likewise.
13216 (sinh_test_tonearest): Likewise.
13217 (sinh_test_towardzero): Likewise.
13218 (sinh_test_downward): Likewise.
13219 (sinh_test_upward): Likewise.
13220 (sqrt_test): Likewise.
13221 (tan_test): Likewise.
13222 (tan_test_tonearest): Likewise.
13223 (tan_test_towardzero): Likewise.
13224 (tan_test_downward): Likewise.
13225 (tan_test_upward): Likewise.
13226 (tanh_test): Likewise.
13227 (tgamma_test): Likewise.
13228 (trunc_test): Likewise.
13229 (y0_test): Likewise.
13230 (y1_test): Likewise.
13231 (yn_test): Likewise.
13232 (significand_test): Likewise.
13234 2013-05-24 Ondřej Bílka <neleai@seznam.cz>
13237 * libio/genops.c (_IO_no_init): Initialize wide struct info.
13239 2013-05-23 Edjunior Machado <emachado@linux.vnet.ibm.com>
13242 * sysdeps/powerpc/sys/platform/ppc.h: Add __ppc_yield,
13243 __ppc_mdoio and __ppc_mdoom.
13244 * manual/platform.texi: Document new functions __ppc_yield,
13245 __ppc_mdoio and __ppc_mdoom.
13247 2013-05-22 Carlos O'Donell <carlos@redhat.com>
13249 * elf/ldconfig.c (is_hwcap_platform): Make comments full setences.
13250 (main): Mention "tls" pseudo-hwcap is legacy.
13251 * elf/dl-hwcaps.c (_dl_important_hwcaps): Correct rounding comment.
13253 2013-05-22 Joseph Myers <joseph@codesourcery.com>
13255 * math/gen-libm-test.pl (parse_args): Output only string of
13256 arguments as text for test name, not full call or descriptions of
13257 tests for extra outputs.
13258 (generate_testfile): Do not pass function name to parse_args.
13259 Generate this_func variable from START.
13260 * math/libm-test.inc (struct test_f_f_data): Rename test_name
13262 (struct test_ff_f_data): Likewise.
13263 (test_ff_f_data_nexttoward): Likewise.
13264 (struct test_fi_f_data): Likewise.
13265 (struct test_fl_f_data): Likewise.
13266 (struct test_if_f_data): Likewise.
13267 (struct test_fff_f_data): Likewise.
13268 (struct test_c_f_data): Likewise.
13269 (struct test_f_f1_data): Likewise. Remove field extra_name.
13270 (struct test_fF_f1_data): Likewise.
13271 (struct test_ffI_f1_data): Likewise.
13272 (struct test_c_c_data): Rename test_name field to arg_str.
13273 (struct test_cc_c_data): Likewise.
13274 (struct test_f_i_data): Likewise.
13275 (struct test_ff_i_data): Likewise.
13276 (struct test_f_l_data): Likewise.
13277 (struct test_f_L_data): Likewise.
13278 (struct test_fFF_11_data): Likewise. Remove fields extra1_name
13280 (COMMON_TEST_SETUP): New macro.
13281 (EXTRA_OUTPUT_TEST_SETUP): Likewise.
13282 (COMMON_TEST_CLEANUP): Likewise.
13283 (EXTRA_OUTPUT_TEST_CLEANUP): Likewise.
13284 (RUN_TEST_f_f): Take argument string. Call new setup and cleanup
13286 (RUN_TEST_LOOP_f_f): Update call to RUN_TEST_f_f.
13287 (RUN_TEST_2_f): Take argument string. Call new setup and cleanup
13289 (RUN_TEST_LOOP_2_f): Update call to RUN_TEST_2_f.
13290 (RUN_TEST_fff_f): Take argument string. Call new setup and
13292 (RUN_TEST_LOOP_fff_f): Update call to RUN_TEST_fff_f.
13293 (RUN_TEST_c_f): Take argument string. Call new setup and cleanup
13295 (RUN_TEST_LOOP_c_f): Update call to RUN_TEST_c_f.
13296 (RUN_TEST_f_f1): Take argument string. Call new setup and cleanup
13298 (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
13299 (RUN_TEST_fF_f1): Take argument string. Call new setup and
13301 (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
13302 (RUN_TEST_fI_f1): Take argument string. Call new setup and
13304 (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
13305 (RUN_TEST_ffI_f1): Take argument string. Call new setup and
13307 (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
13308 (RUN_TEST_c_c): Take argument string. Call new setup and cleanup
13310 (RUN_TEST_LOOP_c_c): Update call to RUN_TEST_c_c.
13311 (RUN_TEST_cc_c): Take argument string. Call new setup and cleanup
13313 (RUN_TEST_LOOP_cc_c): Update call to RUN_TEST_cc_c.
13314 (RUN_TEST_f_i): Take argument string. Call new setup and cleanup
13316 (RUN_TEST_LOOP_f_i): Update call to RUN_TEST_f_i.
13317 (RUN_TEST_f_i_tg): Take argument string. Call new setup and
13319 (RUN_TEST_LOOP_f_i_tg): Update call to RUN_TEST_f_i_tg.
13320 (RUN_TEST_ff_i_tg): Take argument string. Call new setup and
13322 (RUN_TEST_LOOP_ff_i_tg): Update call to RUN_TEST_ff_i_tg.
13323 (RUN_TEST_f_b): Take argument string. Call new setup and cleanup
13325 (RUN_TEST_LOOP_f_b): Update call to RUN_TEST_f_b.
13326 (RUN_TEST_f_b_tg): Take argument string. Call new setup and
13328 (RUN_TEST_LOOP_f_b_tg): Update call to RUN_TEST_f_b_tg.
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_f_L): Take argument string. Call new setup and cleanup
13334 (RUN_TEST_LOOP_f_L): Update call to RUN_TEST_f_L.
13335 (RUN_TEST_fFF_11): Take argument string. Call new setup and
13337 (RUN_TEST_LOOP_fFF_11): Update call to RUN_TEST_fFF_11.
13339 2013-05-22 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
13341 * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add si_addr_lsb
13342 to _sifields.sigfault.
13343 (si_addr_lsb): Define new macro.
13344 (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
13345 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
13346 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: Likewise.
13348 2013-05-03 Carlos O'Donell <carlos at redhat.com>
13351 * intl/dcigettext.c (DCIGETTEXT): Skip translating if _nl_find_msg
13353 (_nl_find_msg): Return -1 if recursive call returned -1. If newmem is
13355 * intl/loadmsgcat.c (_nl_load_domain): If _nl_find_msg returns -1 abort
13356 loading the domain.
13358 2013-05-22 Joseph Myers <joseph@codesourcery.com>
13360 * math/gen-libm-test.pl (parse_args): Do not include expected
13361 result in test name.
13362 * sysdeps/i386/fpu/libm-test-ulps: Update test names.
13363 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
13364 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
13365 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
13366 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
13367 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13369 2013-05-22 Siddhesh Poyarekar <siddhesh@redhat.com>
13371 * benchtests/Makefile: Sort function entries.
13373 * benchtests/Makefile (bench): Add asin, acos, sinh, cosh,
13374 tanh, asinh, acosh, atanh.
13375 * benchtests/acos-inputs: New file.
13376 * benchtests/acosh-inputs: New file.
13377 * benchtests/asin-inputs: New file.
13378 * benchtests/asinh-inputs: New file.
13379 * benchtests/atanh-inputs: New file.
13380 * benchtests/cosh-inputs: New file.
13381 * benchtests/log-inputs: New file.
13382 * benchtests/sinh-inputs: New file.
13383 * benchtests/tanh-inputs: New file.
13385 2013-05-21 Dmitry V. Levin <ldv@altlinux.org>
13388 * posix/tst-getaddrinfo4.c: New test.
13389 * posix/Makefile (tests): Add it.
13391 2013-05-21 Siddhesh Poyarekar <siddhesh@redhat.com>
13394 * nss/getXXbyYY_r.c (REENTRANT_NAME): Set NETDB_INTERNAL only
13395 when no services were used.
13396 * sysdeps/posix/getaddrinfo.c (gaih_inet): Set h_errno.
13397 Return EAI_SYSTEM if h_errno is NETDB_INTERNAL.
13399 2013-05-21 Andreas Schwab <schwab@suse.de>
13402 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME))
13403 [HANDLE_DIGITS_DOTS]: Set any_service when digits-dots parsing was
13405 * nss/digits_dots.c (__nss_hostname_digits_dots): Remove
13406 redundant variable declarations and reallocation of buffer when
13407 parsing as IPv6 address. Always set NSS status when called from
13408 reentrant functions. Use NETDB_INTERNAL instead of TRY_AGAIN when
13409 buffer too small. Correct computation of needed size.
13410 * nss/Makefile (tests): Add test-digits-dots.
13411 * nss/test-digits-dots.c: New test.
13413 2013-05-21 Siddhesh Poyarekar <siddhesh@redhat.com>
13415 * benchtests/Makefile: Remove instructions for adding
13417 * benchtests/README: New file to explain how to execute and
13418 enhance the benchmark tests.
13420 2013-05-21 Andreas Schwab <schwab@suse.de>
13423 * setjmp/Makefile (tests): Add tst-sigsetjmp.
13424 * setjmp/tst-sigsetjmp.c: New test.
13426 2013-05-20 Ondřej Bílka <neleai@seznam.cz>
13428 * sysdeps/x86_64/memset.S (memset): New implementation.
13429 (__bzero): Likewise.
13430 (__memset_tail): New function.
13432 2013-05-20 Ondřej Bílka <neleai@seznam.cz>
13434 * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: New file.
13435 * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Add
13436 __memcpy_sse2_unaligned ifunc selection.
13437 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
13438 Add memcpy-sse2-unaligned.S.
13439 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
13440 Add: __memcpy_sse2_unaligned.
13442 2013-05-19 Joseph Myers <joseph@codesourcery.com>
13445 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
13446 math_force_eval before restoring floating-point envrionment.
13447 * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Likewise.
13448 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl):
13450 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Include
13452 (__nearbyintl): Use math_force_eval before restoring
13453 floating-point environment.
13454 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c (__nearbyintl): Likewise.
13456 * math/gen-libm-test.pl (special_functions): Remove.
13457 (parse_args): Don't handle TEST_extra. Handle functions with no
13459 * math/libm-test.inc (struct test_sincos_data): Replace with
13460 struct test_fFF_11_data.
13461 (RUN_TEST_sincos): Replace with RUN_TEST_fFF_11.
13462 (RUN_TEST_LOOP_sincos): Replace with RUN_TEST_LOOP_fFF_11.
13463 (sincos_test_data): Change element type to struct
13464 test_fFF_11_data. Use TEST_fFF_11 instead of TEST_extra.
13465 (sincos_test): Use RUN_TEST_LOOP_fFF_11 instead of
13466 RUN_TEST_LOOP_sincos.
13467 * math/README.libm-test: Don't mention special handling of
13468 individual functions.
13469 * sysdeps/i386/fpu/libm-test-ulps: Update names of sincos tests.
13470 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
13471 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
13472 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
13473 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
13474 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13476 * math/gen-libm-test.pl (get_variable): Remove function.
13477 (parse_args): Don't show pointer parameters to call in test
13478 names. Use "extra output N" in test names for extra outputs
13479 rather than naming variables.
13481 2013-05-18 Joseph Myers <joseph@codesourcery.com>
13484 * math/complex.h [__USE_ISOC11 && __GNUC_PREREQ (4, 7) &&
13485 __NO_LONG_DOUBLE_MATH] (CMPLXL): Define macro.
13486 * math/tst-CMPLX.c (do_test) [NO_LONG_DOUBLE]: Do not disable long
13488 * make/tst-CMPLX2.c [NO_LONG_DOUBLE] (check_long_double): Do not
13490 (do_test) [NO_LONG_DOUBLE]: Do not disable call to
13493 * math/gen-libm-test.pl (@tests): Remove variable.
13494 ($count): Likewise.
13495 (new_test): Remove function.
13496 (show_exceptions): New function.
13497 (special_functions): Use show_exceptions instead of new_test.
13498 (parse_args): Likewise.
13499 (generate_testfile): Pass only function name in generated call to
13500 print_max_error or print_complex_max_error.
13501 (get_ulps): Do not handle complex tests specially.
13502 (output_test): Rename to ...
13503 (get_all_ulps_for_test): ... this. Return a string rather than
13504 printing to a file. Require ulps to be present.
13505 (output_ulps): Generate arrays rather than #defines.
13506 * math/libm-test.inc: Move down #include of "libm-test-ulps.h".
13507 (struct ulp_data): New type.
13508 (BUILD_COMPLEX_ULP): Remove macro.
13509 (compare_ulp_data): New function.
13510 (find_ulps): Likewise.
13511 (find_test_ulps): Likewise.
13512 (find_function_ulps): Likewise.
13513 (find_complex_function_ulps): Likewise.
13514 (print_max_error): Determine allowed ulps using
13515 find_function_ulps.
13516 (print_complex_max_error): Determine allowed ulps using
13517 find_complex_function_ulps.
13518 (check_float_internal): Determine max ulps using find_test_ulps.
13519 (check_float): Do not take max_ulp parameter. Update call to
13520 check_float_internal.
13521 (check_complex): Likewise.
13522 (check_int): Do not take max_ulp parameter.
13523 (check_long): Likewise.
13524 (check_bool): Likewise.
13525 (check_longlong): Likewise.
13526 (struct test_f_f_data): Remove max_ulp field.
13527 (struct test_ff_f_data): Likewise.
13528 (struct test_ff_f_data_nexttoward): Likewise.
13529 (struct test_fi_f_data): Likewise.
13530 (struct test_fl_f_data): Likewise.
13531 (struct test_if_f_data): Likewise.
13532 (struct test_fff_f_data): Likewise.
13533 (struct test_c_f_data): Likewise.
13534 (struct test_f_f1_data): Remove max_ulp and extra_ulp fields.
13535 (struct test_fF_f1_data): Likewise.
13536 (struct test_ffI_f1_data): Likewise.
13537 (struct test_c_c_data): Remove max_ulp field.
13538 (struct test_cc_c_data): Likewise.
13539 (struct test_f_i_data): Likewise.
13540 (struct test_ff_i_data): Likewise.
13541 (struct test_f_l_data): Likewise.
13542 (struct test_f_L_data): Likewise.
13543 (struct test_sincos_data): Likewise.
13544 (RUN_TEST_f_f): Do not handle ulps.
13545 (RUN_TEST_LOOP_f_f): Likewise.
13546 (RUN_TEST_2_f): Likewise.
13547 (RUN_TEST_LOOP_2_f): Likewise.
13548 (RUN_TEST_fff_f): Likewise.
13549 (RUN_TEST_LOOP_fff_f): Likewise.
13550 (RUN_TEST_c_f): Likewise.
13551 (RUN_TEST_LOOP_c_f): Likewise.
13552 (RUN_TEST_f_f1): Likewise.
13553 (RUN_TEST_LOOP_f_f1): Likewise.
13554 (RUN_TEST_fF_f1): Likewise.
13555 (RUN_TEST_LOOP_fF_f1): Likewise.
13556 (RUN_TEST_fI_f1): Likewise.
13557 (RUN_TEST_LOOP_fI_f1): Likewise.
13558 (RUN_TEST_ffI_f1): Likewise.
13559 (RUN_TEST_LOOP_ffI_f1): Likewise.
13560 (RUN_TEST_c_c): Likewise.
13561 (RUN_TEST_LOOP_c_c): Likewise.
13562 (RUN_TEST_cc_c): Likewise.
13563 (RUN_TEST_LOOP_cc_c): Likewise.
13564 (RUN_TEST_f_i): Likewise.
13565 (RUN_TEST_LOOP_f_i): Likewise.
13566 (RUN_TEST_f_i_tg): Likewise.
13567 (RUN_TEST_LOOP_f_i_tg): Likewise.
13568 (RUN_TEST_ff_i_tg): Likewise.
13569 (RUN_TEST_LOOP_ff_i_tg): Likewise.
13570 (RUN_TEST_f_b): Likewise.
13571 (RUN_TEST_LOOP_f_b): Likewise.
13572 (RUN_TEST_f_b_tg): Likewise.
13573 (RUN_TEST_LOOP_f_b_tg): Likewise.
13574 (RUN_TEST_f_l): Likewise.
13575 (RUN_TEST_LOOP_f_l): Likewise.
13576 (RUN_TEST_f_L): Likewise.
13577 (RUN_TEST_LOOP_f_L): Likewise.
13578 (RUN_TEST_sincos): Likewise.
13579 (RUN_TEST_LOOP_sincos): Likewise.
13581 2013-05-17 Joseph Myers <joseph@codesourcery.com>
13585 * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder): For
13586 main case of finite arguments, set rounding mode to FE_TONEAREST
13587 and discard exceptions.
13588 * math/libm-test.inc (remainder_test_data): Disallow "inexact"
13590 (remainder_tonearest_test_data): New variable.
13591 (remainder_test_tonearest): New function.
13592 (remainder_towardzero_test_data): New variable.
13593 (remainder_test_towardzero): New function.
13594 (remainder_downward_test_data): New variable.
13595 (remainder_test_downward): New function.
13596 (remainder_upward_test_data): New variable.
13597 (remainder_test_upward): New function.
13598 (main): Call the new test functions.
13600 * math/libm-test.inc (struct test_f_f1_data): Remove field
13602 (struct test_fF_f1_data): Likewise.
13603 (struct test_ffI_f1_data): Likewise.
13604 (RUN_TEST_f_f1): Remove argument EXTRA_INIT. Initialize EXTRA_VAR
13605 based on value of EXTRA_EXPECTED.
13606 (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
13607 (RUN_TEST_fF_f1): Remove argument EXTRA_INIT. Initialize
13608 EXTRA_VAR based on value of EXTRA_EXPECTED.
13609 (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
13610 (RUN_TEST_fI_f1): Remove argument EXTRA_INIT. Initialize
13611 EXTRA_VAR based on value of EXTRA_EXPECTED.
13612 (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
13613 (RUN_TEST_ffI_f1): Remove argument EXTRA_INIT. Initialize
13614 EXTRA_VAR based on value of EXTRA_EXPECTED.
13615 (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
13616 * math/gen-libm-test.pl (parse_args): Don't output initializers
13617 for extra output values.
13619 * math/libm-test.inc (check_int): Expect result to be exactly
13620 equal to expected value and do not handle ulps.
13621 (check_long): Likewise.
13622 (check_longlong): Likewise.
13624 * math/libm-test.inc (ceil_test_data): Test for "inexact"
13626 (cimag_test_data): Likewise.
13627 (conj_test_data): Likewise.
13628 (copysign_test_data): Likewise.
13629 (cproj_test_data): Likewise.
13630 (creal_test_data): Likewise.
13631 (fabs_test_data): Likewise.
13632 (fdim_test_data): Likewise.
13633 (finite_test_data): Likewise.
13634 (floor_test_data): Likewise.
13635 (fmax_test_data): Likewise.
13636 (fmin_test_data): Likewise.
13637 (fmod_test_data): Likewise.
13638 (fpclassify_test_data): Likewise.
13639 (frexp_test_data): Likewise.
13640 (ilogb_test_data): Likewise.
13641 (isfinite_test_data): Likewise.
13642 (isgreater_test_data): Likewise.
13643 (isgreaterequal_test_data): Likewise.
13644 (isinf_test_data): Likewise.
13645 (isless_test_data): Likewise.
13646 (islessequal_test_data): Likewise.
13647 (islessgreater_test_data): Likewise.
13648 (isnan_test_data): Likewise.
13649 (isnormal_test_data): Likewise.
13650 (issignaling_test_data): Likewise.
13651 (isunordered_test_data): Likewise.
13652 (ldexp_test_data): Likewise.
13653 (lrint_test_data): Likewise.
13654 (lrint_test_data) [TEST_FLOAT]: Disable one test.
13655 (lrint_test_data) [!TEST_LDOUBLE]: Likewise.
13656 (lrint_tonearest_test_data): Test for "inexact" exceptions.
13657 (lrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
13658 (lrint_tonearest_test_data) [!TEST_LDOUBLE]: Likewise.
13659 (lrint_tonearest_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
13661 (lrint_towardzero_test_data): Test for "inexact" exceptions.
13662 (lrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
13663 (lrint_towardzero_test_data) [!TEST_LDOUBLE]: Likewise.
13664 (lrint_towardzero_test_data) [TEST_LDOUBLE]: Use "L" suffix on
13666 (lrint_downward_test_data): Test for "inexact" exceptions.
13667 (lrint_downward_test_data) [TEST_FLOAT]: Disable one test.
13668 (lrint_downward_test_data) [!TEST_LDOUBLE]: Likewise.
13669 (lrint_downward_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
13671 (lrint_upward_test_data): Test for "inexact" exceptions.
13672 (lrint_upward_test_data) [TEST_LDOUBLE]: Use "L" suffix on one
13674 (llrint_test_data): Test for "inexact" exceptions.
13675 (llrint_test_data) [TEST_FLOAT]: Disable one test.
13676 (llrint_tonearest_test_data): Test for "inexact" exceptions.
13677 (llrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
13678 (llrint_towardzero_test_data): Test for "inexact" exceptions.
13679 (llrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
13680 (llrint_downward_test_data): Test for "inexact" exceptions.
13681 (llrint_downward_test_data) [TEST_FLOAT]: Disable one test.
13682 (llrint_upward_test_data): Test for "inexact" exceptions.
13683 (logb_test_data): Likewise.
13684 (logb_downward_test_data): Likewise.
13685 (nextafter_test_data): Likewise.
13686 (nexttoward_test_data): Likewise.
13687 (remainder_test_data): Likewise.
13688 (remquo_test_data): Likewise.
13689 (scalbn_test_data): Likewise.
13690 (scalbln_test_data): Likewise.
13691 (signbit_test_data): Likewise.
13692 (sqrt_test_data): Likewise.
13693 (significand_test_data): Likewise.
13695 2013-05-17 Siddhesh Poyarekar <siddhesh@redhat.com>
13698 * benchtests/bench-modf.c (struct args): Mark arg0 as
13700 * scripts/bench.pl: Mark members of struct args as volatile.
13702 2013-05-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13705 * sysdeps/powerpc/fpu/e_hypot.c (GET_TWO_FLOAT_WORD): Fix test for
13706 negative infinity on POWER6 or lower.
13707 * sysdeps/powerpc/fpu/e_hypotf.c (GET_TWO_FLOAT_WORD): Likewise.
13709 2013-05-16 Maciej W. Rozycki <macro@codesourcery.com>
13712 * soft-fp/op-common.h (_FP_FRAC_SNANP): New macro.
13713 (_FP_FRAC_SNANP_SEMIRAW): Likewise.
13714 (_FP_UNPACK_CANONICAL): Use _FP_FRAC_SNANP.
13715 (_FP_CHECK_SIGNAN_SEMIRAW): Use _FP_FRAC_SNANP_SEMIRAW.
13716 (_FP_SETQNAN): New macro.
13717 (_FP_SETQNAN_SEMIRAW): Likewise.
13718 (_FP_PACK_SEMIRAW): Use _FP_SETQNAN.
13719 (_FP_PACK_CANONICAL): Use _FP_SETQNAN.
13720 (_FP_ISSIGNAN): Use _FP_FRAC_SNANP.
13721 (FP_EXTEND): Use _FP_FRAC_SNANP.
13722 (FP_TRUNC): Use _FP_SETQNAN_SEMIRAW.
13723 * soft-fp/testit.c (gen_special_double): Take _FP_QNANNEGATEDP
13725 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
13727 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
13730 2013-05-16 Joseph Myers <joseph@codesourcery.com>
13732 * math/libm-test.inc (atanh_test_data): Use ERRNO_ERANGE together
13733 with DIVIDE_BY_ZERO_EXCEPTION.
13734 (gamma_test_data): Likewise.
13735 (lgamma_test_data): Likewise.
13736 (log_test_data): Likewise.
13737 (log10_test_data): Likewise.
13738 (log2_test_data): Likewise.
13739 (tgamma_test_data): Likewise.
13741 * math/libm-test.inc (acos_test): Don't test for ENOSYS error.
13742 (acos_test_tonearest): Likewise.
13743 (acos_test_towardzero): Likewise.
13744 (acos_test_downward): Likewise.
13745 (acos_test_upward): Likewise.
13746 (acosh_test): Likewise.
13747 (asin_test): Likewise.
13748 (asin_test_tonearest): Likewise.
13749 (asin_test_towardzero): Likewise.
13750 (asin_test_downward): Likewise.
13751 (asin_test_upward): Likewise.
13752 (asinh_test): Likewise.
13753 (atan_test): Likewise.
13754 (atanh_test): Likewise.
13755 (atan2_test): Likewise.
13756 (cabs_test): Likewise.
13757 (cacos_test): Likewise.
13758 (cacosh_test): Likewise.
13759 (casin_test): Likewise.
13760 (casinh_test): Likewise.
13761 (catan_test): Likewise.
13762 (catanh_test): Likewise.
13763 (cbrt_test): Likewise.
13764 (ccos_test): Likewise.
13765 (ccosh_test): Likewise.
13766 (cexp_test): Likewise.
13767 (clog_test): Likewise.
13768 (clog10_test): Likewise.
13769 (cos_test): Likewise.
13770 (cos_test_tonearest): Likewise.
13771 (cos_test_towardzero): Likewise.
13772 (cos_test_downward): Likewise.
13773 (cos_test_upward): Likewise.
13774 (cosh_test): Likewise.
13775 (cosh_test_tonearest): Likewise.
13776 (cosh_test_towardzero): Likewise.
13777 (cosh_test_downward): Likewise.
13778 (cosh_test_upward): Likewise.
13779 (cpow_test): Likewise.
13780 (csin_test): Likewise.
13781 (csinh_test): Likewise.
13782 (csqrt_test): Likewise.
13783 (ctan_test): Likewise.
13784 (ctan_test_tonearest): Likewise.
13785 (ctan_test_towardzero): Likewise.
13786 (ctan_test_downward): Likewise.
13787 (ctan_test_upward): Likewise.
13788 (ctanh_test): Likewise.
13789 (ctanh_test_tonearest): Likewise.
13790 (ctanh_test_towardzero): Likewise.
13791 (ctanh_test_downward): Likewise.
13792 (ctanh_test_upward): Likewise.
13793 (erf_test): Likewise.
13794 (erfc_test): Likewise.
13795 (exp_test): Likewise.
13796 (exp_test_tonearest): Likewise.
13797 (exp_test_towardzero): Likewise.
13798 (exp_test_downward): Likewise.
13799 (exp_test_upward): Likewise.
13800 (exp10_test): Likewise.
13801 (exp2_test): Likewise.
13802 (expm1_test): Likewise.
13803 (fmod_test): Likewise.
13804 (gamma_test): Likewise.
13805 (hypot_test): Likewise.
13806 (j0_test): Likewise.
13807 (j1_test): Likewise.
13808 (jn_test): Likewise.
13809 (lgamma_test): Likewise.
13810 (log_test): Likewise.
13811 (log10_test): Likewise.
13812 (log1p_test): Likewise.
13813 (log2_test): Likewise.
13814 (logb_test_downward): Likewise.
13815 (pow_test): Likewise.
13816 (pow_test_tonearest): Likewise.
13817 (pow_test_towardzero): Likewise.
13818 (pow_test_downward): Likewise.
13819 (pow_test_upward): Likewise.
13820 (remainder_test): Likewise.
13821 (remquo_test): Likewise.
13822 (sin_test): Likewise.
13823 (sin_test_tonearest): Likewise.
13824 (sin_test_towardzero): Likewise.
13825 (sin_test_downward): Likewise.
13826 (sin_test_upward): Likewise.
13827 (sincos_test): Likewise.
13828 (sinh_test): Likewise.
13829 (sinh_test_tonearest): Likewise.
13830 (sinh_test_towardzero): Likewise.
13831 (sinh_test_downward): Likewise.
13832 (sinh_test_upward): Likewise.
13833 (sqrt_test): Likewise.
13834 (tan_test): Likewise.
13835 (tan_test_tonearest): Likewise.
13836 (tan_test_towardzero): Likewise.
13837 (tan_test_downward): Likewise.
13838 (tan_test_upward): Likewise.
13839 (tanh_test): Likewise.
13840 (tgamma_test): Likewise.
13841 (y0_test): Likewise.
13842 (y1_test): Likewise.
13843 (yn_test): Likewise.
13845 * math/gen-libm-test.pl (adjust_arg): Remove function.
13846 (special_function): Remove argument $in_func. Only handle
13847 generating output for tables of tests, not inside functions.
13848 (parse_args): Likewise.
13849 (generate_testfile): Remove variable $in_func. Update call to
13851 * math/libm-test.inc (PLUS_ZERO_INIT): Rename macro to plus_zero.
13852 (MINUS_ZERO_INIT): Rename macro to minus_zero.
13853 (PLUS_INFTY_INIT): Rename macro to plus_infty.
13854 (MINUS_INFTY_INIT): Rename macro to minus_infty.
13855 (QNAN_VALUE_INIT): Rename macro to qnan_value.
13856 (MAX_VALUE_INIT): Rename macro to max_value.
13857 (MIN_VALUE_INIT): Rename macro to min_value.
13858 (MIN_SUBNORM_VALUE_INIT): Rename macro to min_subnorm_value.
13859 (plus_zero): Remove variable.
13860 (minus_zero): Likewise.
13861 (plus_infty): Likewise.
13862 (minus_infty): Likewise.
13863 (qnan_value): Likewise.
13864 (max_value): Likewise.
13865 (min_value): Likewise.
13866 (min_subnorm_value): Likewise.
13868 2013-05-16 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
13870 * crypt/sha512-block.c: Add missing #include <stdint.h> due to
13871 uint64_t or uint32_t usage.
13872 * crypt/sha256-block.c: Likewise.
13873 * crypt/sha256-crypt.c: Likewise.
13874 * crypt/sha256.c: Likewise.
13875 * crypt/sha512-block.c: Likewise.
13876 * crypt/sha512-crypt.c: Likewise.
13877 * crypt/sha512.c: Likewise.
13878 * debug/backtrace-tst.c: Likewise.
13879 * debug/pcprofiledump.c: Likewise.
13880 * elf/cache.c: Likewise.
13881 * elf/dl-cache.c: Likewise.
13882 * elf/dl-misc.c: Likewise.
13883 * elf/dl-profile.c: Likewise.
13884 * elf/dl-support.c: Likewise.
13885 * elf/ldconfig.c: Likewise.
13886 * elf/sprof.c: Likewise.
13887 * iconv/dummy-repertoire.c: Likewise.
13888 * iconv/iconv_charmap.c: Likewise.
13889 * iconv/skeleton.c: Likewise.
13890 * iconvdata/8bit-generic.c: Likewise.
13891 * iconvdata/cp737.h: Likewise.
13892 * iconvdata/cp775.h: Likewise.
13893 * iconvdata/ibm1008.h: Likewise.
13894 * iconvdata/ibm1025.h: Likewise.
13895 * iconvdata/ibm1046.h: Likewise.
13896 * iconvdata/ibm1097.h: Likewise.
13897 * iconvdata/ibm1112.h: Likewise.
13898 * iconvdata/ibm1122.h: Likewise.
13899 * iconvdata/ibm1123.h: Likewise.
13900 * iconvdata/ibm1124.h: Likewise.
13901 * iconvdata/ibm1129.h: Likewise.
13902 * iconvdata/ibm1130.h: Likewise.
13903 * iconvdata/ibm1132.h: Likewise.
13904 * iconvdata/ibm1133.h: Likewise.
13905 * iconvdata/ibm1137.h: Likewise.
13906 * iconvdata/ibm1140.h: Likewise.
13907 * iconvdata/ibm1141.h: Likewise.
13908 * iconvdata/ibm1142.h: Likewise.
13909 * iconvdata/ibm1143.h: Likewise.
13910 * iconvdata/ibm1144.h: Likewise.
13911 * iconvdata/ibm1145.h: Likewise.
13912 * iconvdata/ibm1146.h: Likewise.
13913 * iconvdata/ibm1147.h: Likewise.
13914 * iconvdata/ibm1148.h: Likewise.
13915 * iconvdata/ibm1149.h: Likewise.
13916 * iconvdata/ibm1153.h: Likewise.
13917 * iconvdata/ibm1154.h: Likewise.
13918 * iconvdata/ibm1155.h: Likewise.
13919 * iconvdata/ibm1156.h: Likewise.
13920 * iconvdata/ibm1157.h: Likewise.
13921 * iconvdata/ibm1158.h: Likewise.
13922 * iconvdata/ibm1160.h: Likewise.
13923 * iconvdata/ibm1161.h: Likewise.
13924 * iconvdata/ibm1162.h: Likewise.
13925 * iconvdata/ibm1163.h: Likewise.
13926 * iconvdata/ibm1164.h: Likewise.
13927 * iconvdata/ibm1166.h: Likewise.
13928 * iconvdata/ibm1167.h: Likewise.
13929 * iconvdata/ibm12712.h: Likewise.
13930 * iconvdata/ibm1390.h: Likewise.
13931 * iconvdata/ibm1399.h: Likewise.
13932 * iconvdata/ibm16804.h: Likewise.
13933 * iconvdata/ibm4517.h: Likewise.
13934 * iconvdata/ibm4899.h: Likewise.
13935 * iconvdata/ibm4909.h: Likewise.
13936 * iconvdata/ibm4971.h: Likewise.
13937 * iconvdata/ibm5347.h: Likewise.
13938 * iconvdata/ibm803.h: Likewise.
13939 * iconvdata/ibm856.h: Likewise.
13940 * iconvdata/ibm901.h: Likewise.
13941 * iconvdata/ibm902.h: Likewise.
13942 * iconvdata/ibm9030.h: Likewise.
13943 * iconvdata/ibm9066.h: Likewise.
13944 * iconvdata/ibm921.h: Likewise.
13945 * iconvdata/ibm922.h: Likewise.
13946 * iconvdata/ibm9448.h: Likewise.
13947 * iconvdata/isiri-3342.h: Likewise.
13948 * iconvdata/jis0201.h: Likewise.
13949 * include/link.h: Likewise.
13950 * include/netdb.h: Likewise.
13951 * inet/check_native.c: Likewise.
13952 * inet/check_pf.c: Likewise.
13953 * inet/getipv4sourcefilter.c: Likewise.
13954 * inet/getnameinfo.c: Likewise.
13955 * inet/getsourcefilter.c: Likewise.
13956 * inet/htonl.c: Likewise.
13957 * inet/setipv4sourcefilter.c: Likewise.
13958 * inet/setsourcefilter.c: Likewise.
13959 * inet/test-inet6_opt.c: Likewise.
13960 * inet/tst-network.c: Likewise.
13961 * locale/C-collate.c: Likewise.
13962 * locale/C-ctype.c: Likewise.
13963 * locale/C-time.c: Likewise.
13964 * locale/C-translit.h: Likewise.
13965 * locale/loadarchive.c: Likewise.
13966 * locale/programs/3level.h: Likewise.
13967 * locale/programs/charmap.c: Likewise.
13968 * locale/programs/charmap.h: Likewise.
13969 * locale/programs/ld-address.c: Likewise.
13970 * locale/programs/ld-collate.c: Likewise.
13971 * locale/programs/ld-ctype.c: Likewise.
13972 * locale/programs/ld-identification.c: Likewise.
13973 * locale/programs/ld-measurement.c: Likewise.
13974 * locale/programs/ld-messages.c: Likewise.
13975 * locale/programs/ld-monetary.c: Likewise.
13976 * locale/programs/ld-name.c: Likewise.
13977 * locale/programs/ld-numeric.c: Likewise.
13978 * locale/programs/ld-paper.c: Likewise.
13979 * locale/programs/ld-telephone.c: Likewise.
13980 * locale/programs/ld-time.c: Likewise.
13981 * locale/programs/linereader.c: Likewise.
13982 * locale/programs/locale.c: Likewise.
13983 * locale/programs/locarchive.c: Likewise.
13984 * locale/programs/locfile.h: Likewise.
13985 * locale/programs/repertoire.c: Likewise.
13986 * locale/programs/simple-hash.c: Likewise.
13987 * locale/programs/simple-hash.h: Likewise.
13988 * malloc/memusage.c: Likewise.
13989 * malloc/memusagestat.c: Likewise.
13990 * nis/nis_defaults.c: Likewise.
13991 * nis/nis_hash.c: Likewise.
13992 * nis/nis_print.c: Likewise.
13993 * nis/nis_xdr.c: Likewise.
13994 * nscd/connections.c: Likewise.
13995 * nscd/hstcache.c: Likewise.
13996 * nscd/nscd_gethst_r.c: Likewise.
13997 * nscd/nscd_getserv_r.c: Likewise.
13998 * nscd/nscd_helper.c: Likewise.
13999 * nscd/servicescache.c: Likewise.
14000 * nss/makedb.c: Likewise.
14001 * nss/nss_db/db-XXX.c: Likewise.
14002 * nss/nss_db/db-initgroups.c: Likewise.
14003 * nss/nss_db/db-netgrp.c: Likewise.
14004 * nss/nss_files/files-network.c: Likewise.
14005 * nss/nss_files/files-parse.c: Likewise.
14006 * posix/bug-regex5.c: Likewise.
14007 * posix/fnmatch_loop.c: Likewise.
14008 * posix/regcomp.c: Likewise.
14009 * posix/regexec.c: Likewise.
14010 * posix/tst-rfc3484-2.c: Likewise.
14011 * posix/tst-rfc3484-3.c: Likewise.
14012 * posix/tst-rfc3484.c: Likewise.
14013 * resolv/nss_dns/dns-canon.c: Likewise.
14014 * resolv/nss_dns/dns-network.c: Likewise.
14015 * resolv/res_init.c: Likewise.
14016 * resolv/res_mkquery.c: Likewise.
14017 * resolv/tst-aton.c: Likewise.
14018 * stdlib/cxa_atexit.c: Likewise.
14019 * stdlib/cxa_finalize.c: Likewise.
14020 * stdlib/gen-fpioconst.c: Likewise.
14021 * stdlib/strtol_l.c: Likewise.
14022 * string/tst-endian.c: Likewise.
14023 * sunrpc/auth_des.c: Likewise.
14024 * sunrpc/clnt_udp.c: Likewise.
14025 * sunrpc/rtime.c: Likewise.
14026 * sunrpc/svcauth_des.c: Likewise.
14027 * sunrpc/xdr.c: Likewise.
14028 * sunrpc/xdr_intXX_t.c: Likewise.
14029 * sunrpc/xdr_rec.c: Likewise.
14030 * sysdeps/generic/ldconfig.h: Likewise.
14031 * sysdeps/generic/ldsodefs.h: Likewise.
14032 * sysdeps/generic/memusage.h: Likewise.
14033 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
14034 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: Likewise.
14035 * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: Likewise.
14036 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
14037 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
14038 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
14039 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
14040 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
14041 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
14042 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
14043 * sysdeps/posix/getaddrinfo.c: Likewise.
14044 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
14045 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
14046 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
14047 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
14048 * sysdeps/powerpc/test-gettimebase.c: Likewise.
14049 * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
14050 * sysdeps/unix/sysv/linux/getipv4sourcefilter.c: Likewise.
14051 * sysdeps/unix/sysv/linux/getsourcefilter.c: Likewise.
14052 * sysdeps/unix/sysv/linux/netlinkaccess.h: Likewise.
14053 * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: Likewise.
14054 * sysdeps/unix/sysv/linux/preadv.c: Likewise.
14055 * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
14056 * sysdeps/unix/sysv/linux/setipv4sourcefilter.c: Likewise.
14057 * sysdeps/unix/sysv/linux/setsourcefilter.c: Likewise.
14058 * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: Likewise.
14059 * sysdeps/x86_64/dl-tls.h: Likewise.
14060 * sysdeps/x86_64/dl-tlsdesc.h: Likewise.
14061 * time/alt_digit.c: Likewise.
14062 * time/era.c: Likewise.
14063 * wcsmbs/tst-c16c32-1.c: Likewise.
14065 2013-05-16 Joseph Myers <joseph@codesourcery.com>
14067 * math/libm-test.inc (struct test_sincos_data): New type.
14068 (RUN_TEST_LOOP_sincos): New macro.
14069 (sincos_test_data): New variable.
14070 (sincos_test): Run tests with RUN_TEST_LOOP_sincos.
14072 2013-05-16 Richard Henderson <rth@redhat.com>
14074 * math/atest-exp2.c (LIMB64): New macro.
14075 (CONSTSZ): New macro.
14076 (mp_exp1, mp_exp_m1, mp_log2): New variables.
14078 (print_mpn_fp): ... to function scope.
14079 (read_mpn_hex): Remove.
14080 (get_log2): Remove.
14081 (exp2_mpn): Use mp_log2.
14082 (main): Use mp_exp1.
14084 2013-05-16 Joseph Myers <joseph@codesourcery.com>
14086 * math/libm-test.inc: Remove comment about not testing "inexact"
14088 (INEXACT_EXCEPTION): New macro.
14089 (NO_INEXACT_EXCEPTION): Likewise.
14090 (INVALID_EXCEPTION_OK): Update value.
14091 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
14092 (OVERFLOW_EXCEPTION_OK): Likewise.
14093 (UNDERFLOW_EXCEPTION_OK): Likewise.
14094 (IGNORE_ZERO_INF_SIGN): Likewise.
14095 (ERRNO_UNCHANGED): Likewise.
14096 (ERRNO_EDOM): Likewise.
14097 (ERRNO_ERANGE): Likewise.
14098 (test_exceptions): Handle testing "inexact" exceptions.
14099 (nearbyint_test_data): Use NO_INEXACT_EXCEPTION on all tests.
14100 (rint_test_data): Use NO_INEXACT_EXCEPTION and INEXACT_EXCEPTION.
14101 (rint_test_data) [LDBL_MANT_DIG <= 100]: Disable some tests.
14102 (rint_tonearest_test_data): Use NO_INEXACT_EXCEPTION and
14104 (rint_towardzero_test_data): Likewise.
14105 (rint_downward_test_data): Likewise.
14106 (rint_upward_test_data): Likewise.
14108 * math/libm-test.inc (exp_test_data): Use ERRNO_ERANGE together
14109 with OVERFLOW_EXCEPTION.
14110 (exp10_test_data): Likewise.
14111 (exp2_test_data): Likewise.
14112 (expm1_test_data): Likewise.
14113 (lgamma_test_data): Likewise.
14114 (pow_test_data): Likewise.
14115 (tgamma_test_data): Likewise.
14116 (yn_test_data): Remove duplicate test of overflow.
14118 * math/libm-test.inc (struct test_cc_c_data): New type.
14119 (RUN_TEST_LOOP_cc_c): New macro.
14120 (cpow_test_data): New variable.
14121 (cpow_test): Run tests with RUN_TEST_LOOP_cc_c.
14123 * math/libm-test.inc (struct test_f_L_data): New type.
14124 (RUN_TEST_LOOP_f_L): New macro.
14125 (llrint_test_data): New variable.
14126 (llrint_test): Run tests with RUN_TEST_LOOP_f_L.
14127 (llrint_tonearest_test_data): New variable.
14128 (llrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_L.
14129 (llrint_towardzero_test_data): New variable.
14130 (llrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_L.
14131 (llrint_downward_test_data): New variable.
14132 (llrint_test_downward): Run tests with RUN_TEST_LOOP_f_L.
14133 (llrint_upward_test_data): New variable.
14134 (llrint_test_upward): Run tests with RUN_TEST_LOOP_f_L.
14135 (llround_test_data): New variable.
14136 (llround_test): Run tests with RUN_TEST_LOOP_f_L.
14138 2013-05-13 Peter Collingbourne <pcc@google.com>
14140 * math/atest-exp2.c (get_log2): Remove const attribute.
14142 2013-05-15 Joseph Myers <joseph@codesourcery.com>
14144 * math/libm-test.inc (struct test_f_l_data): New type.
14145 (RUN_TEST_LOOP_f_l): New macro.
14146 (lrint_test_data): New variable.
14147 (lrint_test): Run tests with RUN_TEST_LOOP_f_l.
14148 (lrint_tonearest_test_data): New variable.
14149 (lrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_l.
14150 (lrint_towardzero_test_data): New variable.
14151 (lrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_l.
14152 (lrint_downward_test_data): New variable.
14153 (lrint_test_downward): Run tests with RUN_TEST_LOOP_f_l.
14154 (lrint_upward_test_data): New variable.
14155 (lrint_test_upward): Run tests with RUN_TEST_LOOP_f_l.
14156 (lround_test_data): New variable.
14157 (lround_test): Run tests with RUN_TEST_LOOP_f_l.
14159 2013-05-15 Peter Collingbourne <pcc@google.com>
14161 * sysdeps/x86_64/fpu/math_private.h (MOVQ): New macro.
14162 (EXTRACT_WORDS64) Use where appropriate.
14163 (INSERT_WORDS64) Likewise.
14165 * sysdeps/x86_64/fpu/multiarch/s_fma.c (__fma_fma4): Replace xm
14166 constraints with x constraints.
14167 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c (__fmaf_fma4): Likewise.
14169 * malloc/obstack.c (_obstack_compat): Add initializer.
14171 2013-05-15 Edjunior Machado <emachado@linux.vnet.ibm.com>
14173 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Remove
14174 si_trapno and add si_addr_lsb to _sifields.sigfault.
14175 (si_trapno): Remove macro.
14176 (si_addr_lsb): Define new macro.
14177 (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
14179 2013-05-15 Joseph Myers <joseph@codesourcery.com>
14181 * math/libm-test.inc (llrint_test): Consistently use TEST_f_L
14182 instead of TEST_f_l.
14183 (llrint_test_tonearest): Likewise.
14184 (llrint_test_towardzero): Likewise.
14185 (llrint_test_downward): Likewise.
14186 (llrint_test_upward): Likewise.
14187 (llround_test): Likewise.
14189 * math/libm-test.inc (struct test_f_i_data): Add comment.
14190 (RUN_TEST_LOOP_f_b): New macro.
14191 (RUN_TEST_LOOP_f_b_tg): Likewise.
14192 (finite_test_data): New variable.
14193 (finite_test): Run tests with RUN_TEST_LOOP_f_b.
14194 (isfinite_test_data): New variable.
14195 (isfinite_test): Run tests with RUN_TEST_LOOP_f_b_tg.
14196 (isinf_test_data): New variable.
14197 (isinf_test): Run tests with RUN_TEST_LOOP_f_b_tg.
14198 (isnan_test_data): New variable.
14199 (isnan_test): Run tests with RUN_TEST_LOOP_f_b_tg.
14200 (isnormal_test_data): New variable.
14201 (isnormal_test): Run tests with RUN_TEST_LOOP_f_b_tg.
14202 (issignaling_test_data): New variable.
14203 (issignaling_test): Run tests with RUN_TEST_LOOP_f_b_tg.
14204 (signbit_test_data): New variable.
14205 (signbit_test): Run tests with RUN_TEST_LOOP_f_b_tg.
14207 * math/libm-test.inc (acos_test_data): Use ERRNO_EDOM together
14208 with INVALID_EXCEPTION.
14209 (acosh_test_data): Likewise.
14210 (asin_test_data): Likewise.
14211 (atanh_test_data): Likewise.
14212 (fmod_test_data): Likewise.
14213 (log_test_data): Likewise.
14214 (log10_test_data): Likewise.
14215 (log2_test_data): Likewise.
14216 (pow_test_data): Likewise.
14217 (sqrt_test_data): Likewise.
14218 (y0_test_data): Likewise.
14219 (y1_test_data): Likewise.
14220 (yn_test_data): Likewise.
14222 * math/libm-test.inc (test_single_errno) [TEST_INLINE]: Disable
14225 * math/libm-test.inc (struct test_ff_i_data): New type.
14226 (RUN_TEST_LOOP_ff_i_tg): New macro.
14227 (isgreater_test_data): New variable.
14228 (isgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
14229 (isgreaterequal_test_data): New variable.
14230 (isgreaterequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
14231 (isless_test_data): New variable.
14232 (isless_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
14233 (islessequal_test_data): New variable.
14234 (islessequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
14235 (islessgreater_test_data): New variable.
14236 (islessgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
14237 (isunordered_test_data): New variable.
14238 (isunordered_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
14240 2013-05-14 David S. Miller <davem@davemloft.net>
14242 * sysdeps/sparc/fpu/libm-test-ulps: Update.
14244 2013-05-14 Joseph Myers <joseph@codesourcery.com>
14246 * math/libm-test.inc (RUN_TEST_LOOP_2_f): Fix whitespace.
14248 * math/libm-test.inc (struct test_fF_f1_data): Change type of
14250 (struct test_f_i_data): Change type of max_ulp to int.
14252 * math/libm-test.inc (test_ffI_f1_data): New type.
14253 (RUN_TEST_LOOP_ffI_f1): New macro.
14254 (remquo_test_data): New variable.
14255 (remquo_test): Run tests with RUN_TEST_LOOP_ffI_f1.
14257 * setjmp/tst-setjmp-fp.c: New file.
14258 * setjmp/Makefile (tests): Add tst-setjmp-fp.
14259 (link-libm): New variable.
14260 ($(objpfx)tst-setjmp-fp): Depend on $(link-libm).
14262 * math/libm-test.inc (struct test_f_i_data): New type.
14263 (RUN_TEST_LOOP_f_i): New macro.
14264 (RUN_TEST_LOOP_f_i_tg): Likewise.
14265 (fpclassify_test_data): New variable.
14266 (fpclassify_test): Run tests with RUN_TEST_LOOP_f_i_tg.
14267 (ilogb_test_data): New variable.
14268 (ilogb_test): Run tests with RUN_TEST_LOOP_f_i.
14270 * math/libm-test.inc (scalbln_test): Correct function name in END
14273 * math/libm-test.inc (struct test_f_f1_data): Add comment.
14274 (RUN_TEST_LOOP_fI_f1): New macro.
14275 (frexp_test_data): New variable.
14276 (frexp_test): Run tests with RUN_TEST_LOOP_fI_f1.
14278 * math/libm-test.inc (struct test_fF_f1_data): New type.
14279 (RUN_TEST_LOOP_fF_f1): New macro.
14280 (modf_test_data): New variable.
14281 (modf_test): Run tests with RUN_TEST_LOOP_fF_f1.
14283 * math/libm-test.inc (struct test_f_f1_data): New type.
14284 (RUN_TEST_LOOP_f_f1): New macro.
14285 (gamma_test_data): New variable.
14286 (gamma_test): Run tests with RUN_TEST_LOOP_f_f1.
14287 (lgamma_test_data): New variable.
14288 (lgamma_test): Run tests with RUN_TEST_LOOP_f_f1.
14290 2013-05-13 Carlos O'Donell <carlos@redhat.com>
14292 * elf/dl-hwcaps.c (_dl_important_hwcaps): Comment vDSO hwcap loading.
14293 * elf/ldconfig.c (is_hwcap_platform): Comment each hwcap check.
14294 (main): Comment "tls" pseudo-hwcap.
14296 2013-05-13 Joseph Myers <joseph@codesourcery.com>
14298 * math/libm-test.inc (struct test_fl_f_data): New type.
14299 (RUN_TEST_LOOP_fl_f): New variable.
14300 (scalbln_test_data): New variable.
14301 (scalbln_test): Run tests with RUN_TEST_LOOP_fl_f.
14303 * math/libm-test.inc (struct test_fi_f_data): New type.
14304 (RUN_TEST_LOOP_fi_f): New macro.
14305 (ldexp_test_data): New variable.
14306 (ldexp_test): Run tests with RUN_TEST_LOOP_fi_f.
14307 (scalbn_test_data): New variable.
14308 (scalbn_test): Run tests with RUN_TEST_LOOP_fi_f.
14310 * math/libm-test.inc (struct test_c_f_data): New type.
14311 (RUN_TEST_LOOP_c_f): New macro.
14312 (cabs_test_data): New variable.
14313 (cabs_test): Run tests with RUN_TEST_LOOP_c_f.
14314 (carg_test_data): New variable.
14315 (carg_test): Run tests with RUN_TEST_LOOP_c_f.
14316 (cimag_test_data): New variable.
14317 (cimag_test): Run tests with RUN_TEST_LOOP_c_f.
14318 (creal_test_data): New variable.
14319 (creal_test): Run tests with RUN_TEST_LOOP_c_f.
14321 * math/libm-test.inc (struct test_if_f_data): New type.
14322 (RUN_TEST_LOOP_if_f): New macro.
14323 (jn_test_data): New variable.
14324 (jn_test): Run tests with RUN_TEST_LOOP_if_f.
14325 (yn_test_data): New variable.
14326 (yn_test): Run tests with RUN_TEST_LOOP_if_f.
14328 * math/libm-test.inc (scalbln_test): Consistently use TEST_fl_f.
14330 2013-05-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14332 * math/libm-test.inc (M_1_DIV_El): Define using decimal constant.
14333 (log_test_data): Use M_1_DIV_El instead of 1.0 / M_El.
14335 2013-05-13 Siddhesh Poyarekar <siddhesh@redhat.com>
14337 * benchtests/Makefile (CPPFLAGS-nonlib): Add
14338 -DUSE_CLOCK_GETTIME if USE_CLOCK_GETTIME is defined.
14339 (bench-deps): Add bench-timing.h.
14340 * benchtests-bench-skeleton.c: Include bench-timing.h.
14341 (main): Use TIMING_* macros instead of clock_gettime.
14342 * benchtests/bench-timing.h: New file.
14345 * sysdeps/ieee754/s_lib_version.c (_LIB_VERSION_INTERNAL):
14346 Renamed from _LIB_VERSION.
14347 (_LIB_VERSION): Set as weak alias of _LIB_VERSION_INTERNAL.
14349 2013-05-12 Joseph Myers <joseph@codesourcery.com>
14351 * math/libm-test.inc (struct test_fff_f_data): New type.
14352 (RUN_TEST_LOOP_fff_f): New macro.
14353 (fma_test_data): New variable.
14354 (fma_test): Run tests with RUN_TEST_LOOP_fff_f.
14355 (fma_towardzero_test_data): New variable.
14356 (fma_test_towardzero): Run tests with RUN_TEST_LOOP_fff_f.
14357 (fma_downward_test_data): New variable.
14358 (fma_test_downward): Run tests with RUN_TEST_LOOP_fff_f.
14359 (fma_upward_test_data): New variable.
14360 (fma_test_upward): Run tests with RUN_TEST_LOOP_fff_f.
14362 * math/libm-test.inc (BUILD_COMPLEX_ULP): New macro.
14363 (struct test_c_c_data): New type.
14364 (RUN_TEST_LOOP_c_c): New macro.
14365 (cacos_test_data): New variable.
14366 (cacos_test): Run tests with RUN_TEST_LOOP_c_c.
14367 (cacosh_test_data): New variable.
14368 (cacosh_test): Run tests with RUN_TEST_LOOP_c_c.
14369 (casin_test_data): New variable.
14370 (casin_test): Run tests with RUN_TEST_LOOP_c_c.
14371 (casinh_test_data): New variable.
14372 (casinh_test): Run tests with RUN_TEST_LOOP_c_c.
14373 (catan_test_data): New variable.
14374 (catan_test): Run tests with RUN_TEST_LOOP_c_c.
14375 (catanh_test_data): New variable.
14376 (catanh_test): Run tests with RUN_TEST_LOOP_c_c.
14377 (ccos_test_data): New variable.
14378 (ccos_test): Run tests with RUN_TEST_LOOP_c_c.
14379 (ccosh_test_data): New variable.
14380 (ccosh_test): Run tests with RUN_TEST_LOOP_c_c.
14381 (cexp_test_data): New variable.
14382 (cexp_test): Run tests with RUN_TEST_LOOP_c_c.
14383 (clog_test_data): New variable.
14384 (clog_test): Run tests with RUN_TEST_LOOP_c_c.
14385 (clog10_test_data): New variable.
14386 (clog10_test): Run tests with RUN_TEST_LOOP_c_c.
14387 (conj_test_data): New variable.
14388 (conj_test): Run tests with RUN_TEST_LOOP_c_c.
14389 (cproj_test_data): New variable.
14390 (cproj_test): Run tests with RUN_TEST_LOOP_c_c.
14391 (csin_test_data): New variable.
14392 (csin_test): Run tests with RUN_TEST_LOOP_c_c.
14393 (csinh_test_data): New variable.
14394 (csinh_test): Run tests with RUN_TEST_LOOP_c_c.
14395 (csqrt_test_data): New variable.
14396 (csqrt_test): Run tests with RUN_TEST_LOOP_c_c.
14397 (ctan_test_data): New variable.
14398 (ctan_test): Run tests with RUN_TEST_LOOP_c_c.
14399 (ctan_tonearest_test_data): New variable.
14400 (ctan_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
14401 (ctan_towardzero_test_data): New variable.
14402 (ctan_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
14403 (ctan_downward_test_data): New variable.
14404 (ctan_test_downward): Run tests with RUN_TEST_LOOP_c_c.
14405 (ctan_upward_test_data): New variable.
14406 (ctan_test_upward): Run tests with RUN_TEST_LOOP_c_c.
14407 (ctanh_test_data): New variable.
14408 (ctanh_test): Run tests with RUN_TEST_LOOP_c_c.
14409 (ctanh_tonearest_test_data): New variable.
14410 (ctanh_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
14411 (ctanh_towardzero_test_data): New variable.
14412 (ctanh_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
14413 (ctanh_downward_test_data): New variable.
14414 (ctanh_test_downward): Run tests with RUN_TEST_LOOP_c_c.
14415 (ctanh_upward_test_data): New variable.
14416 (ctanh_test_upward): Run tests with RUN_TEST_LOOP_c_c.
14417 * math/gen-libm-test.pl (get_ulps): Use BUILD_COMPLEX_ULP instead
14420 * math/libm-test.inc (struct test_ff_f_data): New type.
14421 (struct test_ff_f_data_nexttoward): Likewise.
14422 (RUN_TEST_LOOP_2_f): New macro.
14423 (RUN_TEST_LOOP_ff_f): Likewise.
14424 (atan2_test_data): New variable.
14425 (atan2_test): Run tests with RUN_TEST_LOOP_ff_f.
14426 (copysign_test_data): New variable.
14427 (copysign_test): Run tests with RUN_TEST_LOOP_ff_f.
14428 (fdim_test_data): New variable.
14429 (fdim_test): Run tests with RUN_TEST_LOOP_ff_f.
14430 (fmax_test_data): New variable.
14431 (fmax_test): Run tests with RUN_TEST_LOOP_ff_f.
14432 (fmin_test_data): New variable.
14433 (fmin_test): Run tests with RUN_TEST_LOOP_ff_f.
14434 (fmod_test_data): New variable.
14435 (fmod_test): Run tests with RUN_TEST_LOOP_ff_f.
14436 (hypot_test_data): New variable.
14437 (hypot_test): Run tests with RUN_TEST_LOOP_ff_f.
14438 (nextafter_test_data): New variable.
14439 (nextafter_test): Run tests with RUN_TEST_LOOP_ff_f.
14440 (nexttoward_test_data): New variable.
14441 (nexttoward_test): Run tests with RUN_TEST_LOOP_ff_f.
14442 (pow_test_data): New variable.
14443 (pow_test): Run tests with RUN_TEST_LOOP_ff_f.
14444 (pow_tonearest_test_data): New variable.
14445 (pow_test_tonearest): Run tests with RUN_TEST_LOOP_ff_f.
14446 (pow_towardzero_test_data): New variable.
14447 (pow_test_towardzero): Run tests with RUN_TEST_LOOP_ff_f.
14448 (pow_downward_test_data): New variable.
14449 (pow_test_downward): Run tests with RUN_TEST_LOOP_ff_f.
14450 (pow_upward_test_data): New variable.
14451 (pow_test_upward): Run tests with RUN_TEST_LOOP_ff_f.
14452 (remainder_test_data): New variable.
14453 (remainder_test): Run tests with RUN_TEST_LOOP_ff_f.
14454 (scalb_test_data): New variable.
14455 (scalb_test): Run tests with RUN_TEST_LOOP_ff_f.
14456 * sysdeps/i386/fpu/libm-test-ulps: Update.
14458 2013-05-11 Joseph Myers <joseph@codesourcery.com>
14460 * math/libm-test.inc (fma_test): Use max_value instead of local
14462 (nextafter_test): Likewise.
14464 * math/libm-test.inc (acos_towardzero_test_data): New variable.
14465 (acos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
14466 (acos_downward_test_data): New variable.
14467 (acos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
14468 (acos_upward_test_data): New variable.
14469 (acos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
14470 (acosh_test_data): New variable.
14471 (acosh_test): Run tests with RUN_TEST_LOOP_f_f.
14472 (asin_test_data): New variable.
14473 (asin_test): Run tests with RUN_TEST_LOOP_f_f.
14474 (asin_tonearest_test_data): New variable.
14475 (asin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
14476 (asin_towardzero_test_data): New variable.
14477 (asin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
14478 (asin_downward_test_data): New variable.
14479 (asin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
14480 (asin_upward_test_data): New variable.
14481 (asin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
14482 (asinh_test_data): New variable.
14483 (asinh_test): Run tests with RUN_TEST_LOOP_f_f.
14484 (atan_test_data): New variable.
14485 (atan_test): Run tests with RUN_TEST_LOOP_f_f.
14486 (atanh_test_data): New variable.
14487 (atanh_test): Run tests with RUN_TEST_LOOP_f_f.
14488 (cbrt_test_data): New variable.
14489 (cbrt_test): Run tests with RUN_TEST_LOOP_f_f.
14490 (ceil_test_data): New variable.
14491 (ceil_test): Run tests with RUN_TEST_LOOP_f_f.
14492 (cos_test_data): New variable.
14493 (cos_test): Run tests with RUN_TEST_LOOP_f_f.
14494 (cos_tonearest_test_data): New variable.
14495 (cos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
14496 (cos_towardzero_test_data): New variable.
14497 (cos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
14498 (cos_downward_test_data): New variable.
14499 (cos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
14500 (cos_upward_test_data): New variable.
14501 (cos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
14502 (cosh_test_data): New variable.
14503 (cosh_test): Run tests with RUN_TEST_LOOP_f_f.
14504 (cosh_tonearest_test_data): New variable.
14505 (cosh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
14506 (cosh_towardzero_test_data): New variable.
14507 (cosh_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
14508 (cosh_downward_test_data): New variable.
14509 (cosh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
14510 (cosh_upward_test_data): New variable.
14511 (cosh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
14512 (erf_test_data): New variable.
14513 (erf_test): Run tests with RUN_TEST_LOOP_f_f.
14514 (erfc_test_data): New variable.
14515 (erfc_test): Run tests with RUN_TEST_LOOP_f_f.
14516 (exp_test_data): New variable.
14517 (exp_test): Run tests with RUN_TEST_LOOP_f_f.
14518 (exp_tonearest_test_data): New variable.
14519 (exp_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
14520 (exp_towardzero_test_data): New variable.
14521 (exp_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
14522 (exp_downward_test_data): New variable.
14523 (exp_test_downward): Run tests with RUN_TEST_LOOP_f_f.
14524 (exp_upward_test_data): New variable.
14525 (exp_test_upward): Run tests with RUN_TEST_LOOP_f_f.
14526 (exp10_test_data): New variable.
14527 (exp10_test): Run tests with RUN_TEST_LOOP_f_f.
14528 (exp2_test_data): New variable.
14529 (exp2_test): Run tests with RUN_TEST_LOOP_f_f.
14530 (expm1_test_data): New variable.
14531 (expm1_test): Run tests with RUN_TEST_LOOP_f_f.
14532 (fabs_test_data): New variable.
14533 (fabs_test): Run tests with RUN_TEST_LOOP_f_f.
14534 (floor_test_data): New variable.
14535 (floor_test): Run tests with RUN_TEST_LOOP_f_f.
14536 (j0_test_data): New variable.
14537 (j0_test): Run tests with RUN_TEST_LOOP_f_f.
14538 (j1_test_data): New variable.
14539 (j1_test): Run tests with RUN_TEST_LOOP_f_f.
14540 (log_test_data): New variable.
14541 (log_test): Run tests with RUN_TEST_LOOP_f_f.
14542 (log10_test_data): New variable.
14543 (log10_test): Run tests with RUN_TEST_LOOP_f_f.
14544 (log1p_test_data): New variable.
14545 (log1p_test): Run tests with RUN_TEST_LOOP_f_f.
14546 (log2_test_data): New variable.
14547 (log2_test): Run tests with RUN_TEST_LOOP_f_f.
14548 (logb_test_data): New variable.
14549 (logb_test): Run tests with RUN_TEST_LOOP_f_f.
14550 (logb_downward_test_data): New variable.
14551 (logb_test_downward): Run tests with RUN_TEST_LOOP_f_f.
14552 (nearbyint_test_data): New variable.
14553 (nearbyint_test): Run tests with RUN_TEST_LOOP_f_f.
14554 (rint_test_data): New variable.
14555 (rint_test): Run tests with RUN_TEST_LOOP_f_f.
14556 (rint_tonearest_test_data): New variable.
14557 (rint_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
14558 (rint_towardzero_test_data): New variable.
14559 (rint_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
14560 (rint_downward_test_data): New variable.
14561 (rint_test_downward): Run tests with RUN_TEST_LOOP_f_f.
14562 (rint_upward_test_data): New variable.
14563 (rint_test_upward): Run tests with RUN_TEST_LOOP_f_f.
14564 (round_test_data): New variable.
14565 (round_test): Run tests with RUN_TEST_LOOP_f_f.
14566 (sin_test_data): New variable.
14567 (sin_test): Run tests with RUN_TEST_LOOP_f_f.
14568 (sin_tonearest_test_data): New variable.
14569 (sin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
14570 (sin_towardzero_test_data): New variable.
14571 (sin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
14572 (sin_downward_test_data): New variable.
14573 (sin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
14574 (sin_upward_test_data): New variable.
14575 (sin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
14576 (sinh_test_data): New variable.
14577 (sinh_test): Run tests with RUN_TEST_LOOP_f_f.
14578 (sinh_tonearest_test_data): New variable.
14579 (sinh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
14580 (sinh_towardzero_test_data): New variable.
14581 (sinh_towardzero): Run tests with RUN_TEST_LOOP_f_f.
14582 (sinh_downward_test_data): New variable.
14583 (sinh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
14584 (sinh_upward_test_data): New variable.
14585 (sinh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
14586 (sqrt_test_data): New variable.
14587 (sqrt_test): Run tests with RUN_TEST_LOOP_f_f.
14588 (tan_test_data): New variable.
14589 (tan_test): Run tests with RUN_TEST_LOOP_f_f.
14590 (tan_tonearest_test_data): New variable.
14591 (tan_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
14592 (tan_towardzero_test_data): New variable.
14593 (tan_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
14594 (tan_downward_test_data): New variable.
14595 (tan_test_downward): Run tests with RUN_TEST_LOOP_f_f.
14596 (tan_upward_test_data): New variable.
14597 (tan_test_upward): Run tests with RUN_TEST_LOOP_f_f.
14598 (tanh_test_data): New variable.
14599 (tanh_test): Run tests with RUN_TEST_LOOP_f_f.
14600 (tgamma_test_data): New variable.
14601 (tgamma_test): Run tests with RUN_TEST_LOOP_f_f.
14602 (trunc_test_data): New variable.
14603 (trunc_test): Run tests with RUN_TEST_LOOP_f_f.
14604 (y0_test_data): New variable.
14605 (y0_test): Run tests with RUN_TEST_LOOP_f_f.
14606 (y1_test_data): New variable.
14607 (y1_test): Run tests with RUN_TEST_LOOP_f_f.
14608 (significand_test_data): New variable.
14609 (significand_test): Run tests with RUN_TEST_LOOP_f_f.
14611 2013-05-10 Christian Grönke <cgr_bugs@sysgo.com>
14614 * sysdeps/unix/sysv/linux/sh/getgid.c: New file.
14616 2013-05-10 Pino Toscano <toscano.pino@tiscali.it>
14618 * sysdeps/mach/hurd/bits/statvfs.h: Add ST_NOATIME.
14620 2013-05-10 Andreas Jaeger <aj@suse.de>
14623 * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_SET_S)
14624 (__CPU_CLR_S, __CPU_ISSET_S): Avoid integer overflow.
14626 2013-05-10 Joseph Myers <joseph@codesourcery.com>
14628 * math/gen-libm-test.pl (adjust_arg): New function.
14629 (special_functions): Handle generating output in both functions
14631 (parse_args): Likewise.
14632 (generate_testfile): Handle START_DATA and END_DATA. Pass extra
14633 $in_func argument to parse_args.
14634 * math/libm-test.inc (struct test_f_f_data): New type.
14635 (IF_ROUND_INIT_): New macro.
14636 (IF_ROUND_INIT_FE_DOWNWARD): Likewise.
14637 (IF_ROUND_INIT_FE_TONEAREST): Likewise.
14638 (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
14639 (IF_ROUND_INIT_FE_UPWARD): Likewise.
14640 (ROUND_RESTORE_): Likewise.
14641 (ROUND_RESTORE_FE_DOWNWARD): Likewise.
14642 (ROUND_RESTORE_FE_TONEAREST): Likewise.
14643 (ROUND_RESTORE_FE_TOWARDZERO): Likewise.
14644 (ROUND_RESTORE_FE_UPWARD): Likewise.
14645 (RUN_TEST_LOOP_f_f): New macro.
14646 (acos_test_data): New variable.
14647 (acos_test): Run tests with RUN_TEST_LOOP_f_f.
14648 (acos_tonearest_test_data): New variable.
14649 (acos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
14651 2013-05-10 Siddhesh Poyarekar <siddhesh@redhat.com>
14653 * benchtests/bench-skeleton.c (startup): Fix coding style.
14655 2013-05-10 Joseph Myers <joseph@codesourcery.com>
14658 * math/w_tgamma.c (__tgamma): Also call __kernel_standard for
14659 negative infinity argument.
14660 * math/w_tgammaf.c (__tgammaf): Also call __kernel_standard_f for
14661 negative infinity argument.
14662 * math/w_tgammal.c (__tgammal): Also call __kernel_standard_l for
14663 negative infinity argument.
14664 * math/libm-test.inc (tgamma_test): Expect errno to be set for
14667 2013-05-10 Florian Weimer <fweimer@redhat.com>
14669 * elf/sprof.c (load_profdata): Use fstat64 instead of fstat.
14670 * iconv/iconv_charmap.c (charmap_conversion): Likewise.
14671 * iconv/iconv_prog.c (main): Likewise.
14672 * locale/programs/charmap-dir.c (charmap_readdir)
14673 (fopen_uncompressed): Likewise.
14674 * locale/programs/locfile.c (siblings_uncached)
14675 (write_locale_data): Use lstat64 instead of lstat.
14676 * sunrpc/rpc_main.c (find_cpp, checkfiles): Use stat64 instead of
14679 2013-05-10 Andreas Jaeger <aj@suse.de>
14682 * sunrpc/rpc_main.c (main): Invoke setlocale and textdomain for
14684 Include <locale.h>.
14686 2013-05-09 Carlos O'Donell <carlos@redhat.com>
14688 * elf/dl-close.c (_dl_close_worker): Add comments.
14690 2013-05-09 Joseph Myers <joseph@codesourcery.com>
14693 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (c): Use 106 bits for
14695 (__ieee754_rem_pio2l): Update comments.
14698 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c (c): Use 113 bits for
14700 (__ieee754_rem_pio2l): Update comments.
14702 * math/libm-test.inc (M_SQRT_2_2): Remove macro.
14703 (csqrt_test): Use M_SQRT1_2l instead of M_SQRT_2_2.
14705 * math/libm-test.inc (carg_test): Use M_PI_34l instead of 3 *
14708 * math/libm-test.inc (M_PI_34l): Define using decimal constant.
14709 (M_PI_34_LOG10El): Likewise.
14710 (M_PI2_LOG10El): Likewise.
14711 (M_PI4_LOG10El): Likewise.
14712 (M_PI_LOG10El): Likewise.
14714 2013-05-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14716 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
14718 2013-05-08 Joseph Myers <joseph@codesourcery.com>
14720 * math/libm-test.inc (PLUS_ZERO_INIT): New macro.
14721 (MINUS_ZERO_INIT): Likewise.
14722 (PLUS_INFTY_INIT): Likewise.
14723 (MINUS_INFTY_INIT): Likewise.
14724 (QNAN_VALUE_INIT): Likewise.
14725 (MAX_VALUE_INIT): Likewise.
14726 (MIN_VALUE_INIT): Likewise.
14727 (MIN_SUBNORM_VALUE_INIT): Likewise.
14728 (plus_zero): Initialize with PLUS_ZERO_INIT.
14729 (minus_zero): Initialize with MINUS_ZERO_INIT.
14730 (plus_infty): Initialize with PLUS_INFTY_INIT.
14731 (minus_infty): Initialize with MINUS_INFTY_INIT.
14732 (qnan_value): Initialize with QNAN_VALUE_INIT.
14733 (max_value): Initialize with MAX_VALUE_INIT.
14734 (min_value): Initialize with MIN_VALUE_INIT.
14735 (min_subnorm_value): Initialize with MIN_SUBNORM_VALUE_INIT.
14737 * math/libm-test.inc (RUN_TEST_if_f): New macro.
14738 (jn_test): Use TEST_if_f instead of TEST_ff_f.
14739 (ldexp_text): Use TEST_fi_i instead of TEST_ff_f.
14740 (yn_test): Use TEST_if_f instead of TEST_ff_f.
14742 * math/libm-test.inc (RUN_TEST_f_f): New macro.
14743 (RUN_TEST_2_f): Likewise.
14744 (RUN_TEST_ff_f): Likewise.
14745 (RUN_TEST_fi_f): Likewise.
14746 (RUN_TEST_fl_f): Likewise.
14747 (RUN_TEST_fff_f): Likewise.
14748 (RUN_TEST_c_f): Likewise.
14749 (RUN_TEST_f_f1): Likewise.
14750 (RUN_TEST_fF_f1): Likewise.
14751 (RUN_TEST_fI_f1): Likewise.
14752 (RUN_TEST_ffI_f1): Likewise.
14753 (RUN_TEST_c_c): Likewise.
14754 (RUN_TEST_cc_c): Likewise.
14755 (RUN_TEST_f_i): Likewise.
14756 (RUN_TEST_f_i_tg): Likewise.
14757 (RUN_TEST_ff_i_tg): Likewise.
14758 (RUN_TEST_f_b): Likewise.
14759 (RUN_TEST_f_b_tg): Likewise.
14760 (RUN_TEST_f_l): Likewise.
14761 (RUN_TEST_f_L): Likewise.
14762 (RUN_TEST_sincos): Likewise.
14763 * math/gen-libm-test.pl (new_test): Take new argument to indicate
14764 whether to show exceptions. Do not include ");\n" in return
14766 (special_functions): Output call to RUN_TEST_sincos instead of
14767 check_float calls. Update calls to new_test.
14768 (parse_args): Output call to single RUN_TEST_* macro instead of
14769 check_* calls and other assignments. Update calls to new_test.
14775 * sysdeps/ieee754/k_standard.c (__kernel_standard): Copy sign of
14776 input to result for tgamma overflow.
14777 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Include <float.h>.
14778 (gamma_coeff): New variable.
14779 (NCOEFF): New macro.
14780 (gamma_positive): New function.
14781 (__ieee754_gamma_r): Handle positive infinity, NaN, overflow and
14782 underflow here. Use gamma_positive instead of exp (lgamma) for
14784 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Include <float.h>.
14785 (gamma_coeff): New variable.
14786 (NCOEFF): New macro.
14787 (gammaf_positive): New function.
14788 (__ieee754_gammaf_r): Handle positive infinity, NaN, overflow and
14789 underflow here. Use gamma_positive instead of exp (lgamma) for
14791 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Include <float.h>.
14792 (gamma_coeff): New variable.
14793 (NCOEFF): New macro.
14794 (gammal_positive): New function.
14795 (__ieee754_gammal_r): Handle positive infinity, NaN, overflow and
14796 underflow here. Use gamma_positive instead of exp (lgamma) for
14798 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Include <float.h>.
14799 (gamma_coeff): New variable.
14800 (NCOEFF): New macro.
14801 (gammal_positive): New function.
14802 (__ieee754_gammal_r): Handle positive infinity, overflow and
14803 underflow here. Handle NaN the same as positive infinity. Remove
14804 check x < 0xffffffff for negative integers. Use gamma_positive
14805 instead of exp (lgamma) for other arguments.
14806 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Include <float.h>.
14807 (gamma_coeff): New variable.
14808 (NCOEFF): New macro.
14809 (gammal_positive): New function.
14810 * sysdeps/ieee754/dbl-64/gamma_product.c: New file.
14811 * sysdeps/ieee754/dbl-64/gamma_productf.c: Likewise.
14812 * sysdeps/ieee754/ldbl-128/gamma_productl.c: Likewise.
14813 * sysdeps/ieee754/ldbl-128ibm/gamma_productl.c: Likewise.
14814 * sysdeps/ieee754/ldbl-96/gamma_product.c: Likewise.
14815 * sysdeps/ieee754/ldbl-96/gamma_productl.c: Likewise.
14816 * sysdeps/generic/math_private.h (__gamma_productf): New
14818 (__gamma_product): Likewise.
14819 (__gamma_productl): Likewise.
14820 * math/Makefile (libm-calls): Add gamma_product.
14821 * math/libm-test.inc (tgamma_test): Add more tests.
14822 * sysdeps/i386/fpu/libm-test-ulps: Update.
14823 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14825 2013-05-08 Ondřej Bílka <neleai@seznam.cz>
14827 * benchtests/bench-skeleton.c (main): Preheat CPU.
14829 2013-05-07 Aurelien Jarno <aurelien@aurel32.net>
14831 * misc/sys/param.h (DEV_BSIZE): Define only if not already defined.
14833 2013-05-07 Roland McGrath <roland@hack.frob.com>
14835 * sysdeps/generic/ldsodefs.h [IS_IN_rtld]: Declare _dl_skip_args
14836 and _dl_skip_args_internal.
14838 2013-05-07 Carlos O'Donell <carlos@redhat.com>
14840 * manual/message.texi (Message Translation): Talk about users.
14841 Message to key mapping impacts design.
14843 2013-05-06 Roland McGrath <roland@hack.frob.com>
14845 * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: New file.
14847 * elf/dl-open.c: Remove declaration of _dl_sysdep_start.
14849 * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: Moved to ...
14850 * sysdeps/wordsize-64/glob64.c: ... here.
14852 * sysdeps/generic/not-cancel.h (NO_CANCELLATION): New macro.
14853 (pause_not_cancel, nanosleep_not_cancel, sigsuspend_not_cancel):
14856 * debug/getlogin_r_chk.c: Moved to ...
14857 * login/getlogin_r_chk.c: ... here.
14858 * debug/Makefile (routines): Move getlogin_r_chk to ...
14859 * login/Makefile (routines): ... here.
14860 * debug/Versions (libc: GLIBC_2.4): Move getlogin_r_chk to ...
14861 * login/Versions (libc: GLIBC_2.4): ... here.
14863 * io/poll.c (__poll): Renamed from poll.
14864 Add libc_hidden_def.
14865 (poll): Define as weak alias.
14867 * debug/ptsname_r_chk.c: Moved to ...
14868 * login/ptsname_r_chk.c: ... here.
14869 * debug/Makefile (routines): Move ptsname_r_chk to ...
14870 * login/Makefile (routines): ... here.
14871 * debug/Versions (libc: GLIBC_2.4): Move __ptsname_r_chk to ...
14872 * login/Versions (libc: GLIBC_2.4): ... here.
14874 * posix/getlogin.c: Moved to ...
14875 * login/getlogin.c: ... here.
14876 * posix/getlogin_r.c: Moved to ...
14877 * login/getlogin_r.c: ... here.
14878 * posix/getlogin_r.c: Moved to ...
14879 * login/getlogin_r.c: ... here.
14880 * posix/Makefile (routines): Move getlogin, getlogin_r, setlogin to ...
14881 * login/Makefile (routines): ... here.
14882 * posix/Versions (libc: GLIBC_2.0): Move setlogin to ...
14883 * login/Versions (libc: GLIBC_2.0): ... here.
14885 * resource/setrlimit.c (__setrlimit): Renamed from setrlimit.
14886 (setrlimit): Define as weak alias.
14888 * sysdeps/posix/truncate.c (__truncate): Renamed from truncate.
14889 Call __ names for open, ftruncate, and close.
14890 For LENGTH==0 case, just use O_TRUNC rather than calling ftruncate.
14891 (truncate): Define as weak alias.
14893 2013-05-06 Joseph Myers <joseph@codesourcery.com>
14895 * math/gen-libm-test.pl (parse_args): Initialize x before each
14896 test of frexp, modf and remquo.
14898 * math/libm-test.inc (gamma_test): Consistently use TEST_f_f1 to
14899 test signgam value.
14901 2013-05-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14905 * sysdeps/powerpc/fpu/e_hypot.c: Fix spurious FP exception generated by
14907 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
14909 2013-05-06 Roland McGrath <roland@hack.frob.com>
14911 * elf/dl-writev.h: New file.
14912 * elf/dl-misc.c: Include it.
14913 (_dl_debug_vdprintf): Call _dl_writev instead of __writev et al.
14914 * sysdeps/unix/sysv/linux/dl-writev.h: New file.
14916 2013-05-04 Joseph Myers <joseph@codesourcery.com>
14918 * math/libm-test.inc (noXFails): Remove variable.
14919 (noXPasses): Likewise.
14920 (BUILD_COMPLEX_INT): Remove macro.
14921 (print_screen): Remove xfail argument.
14922 (print_screen_max_error): Likewise.
14923 (update_stats): Likewise.
14924 (print_max_error): Likewise. Update calls to other affected
14926 (print_complex_max_error): Likewise.
14927 (test_single_exception): Update calls to print_screen.
14928 (test_single_errno): Likewise.
14929 (check_float_internal): Remove xfail argument. Update calls to
14930 other affected functions.
14931 (check_float): Likewise.
14932 (check_complex): Likewise.
14933 (check_int): Likewise.
14934 (check_long): Likewise.
14935 (check_bool): Likewise.
14936 (check_longlong): Likewise.
14937 (main): Don't print noXFails and noXPasses.
14938 * math/gen-libm-test.pl (top level): Don't mention expected
14939 failure handling in comment.
14940 (new_test): Don't handle expected failures.
14941 (parse_args): Don't mention expected failure handling in comment.
14942 (generate_testfile): Don't handle expected failures.
14943 (parse_ulps): Likewise.
14944 (print_ulps_file): Likewise.
14945 (get_failure): Remove function.
14946 (output_test): Don't handle expected failures.
14947 * make/README.libm-test: Don't mention expected failure handling.
14949 * math/libm-test.inc (plus_zero): Make const. Add initializer.
14950 (minus_zero): Likewise.
14951 (plus_infty): Likewise.
14952 (minus_infty): Likewise.
14953 (qnan_value): Likewise.
14954 (max_value): Likewise.
14955 (min_value): Likewise.
14956 (min_subnorm_value): Likewise.
14957 (initialize): Do not initialize those variables dynamically.
14959 2013-05-03 Roland McGrath <roland@hack.frob.com>
14961 * io/open.c (__open_2): Moved to ...
14962 * io/open_2.c: ... this new file.
14963 * io/open64.c (__open64_2): Moved to ...
14964 * io/open64_2.c: ... this new file.
14965 * io/openat.c (__openat_2): Moved to ...
14966 * io/openat_2.c: ... this new file.
14967 * io/openat64.c (__openat64_2): Moved to ...
14968 * io/openat64_2.c: ... this new file.
14969 * io/Makefile (routines): Add them.
14970 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Remove them.
14971 * sysdeps/unix/sysv/linux/open_2.c: File removed.
14972 * sysdeps/unix/sysv/linux/open64_2.c: File removed.
14973 * sysdeps/unix/sysv/linux/openat.c (__OPENAT_2): Removed.
14974 * sysdeps/unix/sysv/linux/openat64.c (__OPENAT_2): Removed.
14975 * sysdeps/unix/sysv/linux/wordsize-64/openat.c (__openat_2): Removed.
14976 (__openat64): Add hidden_ver.
14977 * sysdeps/mach/hurd/open.c (__open_2, __open64_2): Removed.
14978 * sysdeps/mach/hurd/openat.c (__openat_2): Removed.
14980 * elf/dl-sysdep.c (_dl_sysdep_start) [NEED_DL_SYSINFO]:
14981 Separately conditionalize setting of GLRO(dl_sysinfo) so
14982 that the GLRO(dl_sysinfo_dso) test is under [NEED_DL_SYSINFO_DSO]
14983 as well, but the actual setting is only under [NEED_DL_SYSINFO].
14985 2013-04-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14987 * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_time symbol.
14988 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Add __vdso_time
14990 (VDSO_IFUNC_RET): Cast to void * to silence compiler warning.
14991 * sysdeps/unix/sysv/linux/powerpc/init-first.c
14992 (_libc_vdso_platform_setup): Add __vdso_time initialization.
14993 * sysdeps/unix/sysv/linux/powerpc/time.c: New file: time implementation
14994 for PowerPC using vDSO where is avaliable or gettimeofday as a fallback.
14996 2013-05-03 Joseph Myers <joseph@codesourcery.com>
14998 * math/libm-test.inc (lgamma_test): Consistently use TEST_f_f1 to
14999 test signgam value.
15001 * math/libm-test.inc (hypot_test): Do not use
15002 IGNORE_ZERO_INF_SIGN.
15004 2013-05-03 Andreas Jaeger <aj@suse.de>
15006 * sysdeps/gnu/netinet/tcp.h (TCP_TIMESTAMP): New value, from
15008 * sysdeps/unix/sysv/linux/bits/socket.h (PF_VSOCK, AF_VSOCK): Add.
15009 (PF_MAX): Adjust for VSOCK change.
15011 2013-05-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15013 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
15015 2013-05-02 Carlos O'Donell <carlos@redhat.com>
15018 * localedata/locales/en_CA (LC_MESSAGES): Define yesstr and nostr.
15019 * localedata/locales/es_AR (LC_MESSAGES): Copy es_ES.
15020 * localedata/locales/es_ES (LC_MESSAGES): Define yesstr and nostr.
15022 2013-05-02 David S. Miller <davem@davemloft.net>
15024 * sysdeps/sparc/fpu/libm-test-ulps: Update.
15026 2013-05-01 Ondřej Bílka <neleai@seznam.cz>
15028 * string/bits/string2.h (__strcmp_cg): Call __strcmp_gc.
15030 2013-05-01 Roland McGrath <roland@hack.frob.com>
15032 * sysdeps/posix/opendir.c: Include <sys/param.h> to get MIN/MAX macros.
15034 2013-05-01 Richard Smith <richard@metafoo.co.uk>
15037 * misc/sys/cdefs.h (__extern_inline, __extern_always_inline)
15038 [__GNUC__ && (__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
15039 Use __attribute__ ((__gnu_inline__)).
15040 [__GNUC__ && !(__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
15041 Don't use __attribute__ ((__gnu_inline__)).
15043 2013-05-01 Joseph Myers <joseph@codesourcery.com>
15046 * math/s_catan.c (__catan): Handle small real or imaginary part of
15047 input specially to avoid spurious underflow.
15048 * math/s_catanf.c (__catanf): Likewise.
15049 * math/s_catanh.c (__catanh): Likewise.
15050 * math/s_catanhf.c (__catanhf): Likewise.
15051 * math/s_catanhl.c (__catanhl): Likewise.
15052 * math/s_catanl.c (__catanl): Likewise.
15053 * math/libm-test.inc (catan_test): Add more tests.
15054 (catanh_test): Likewise.
15055 * sysdeps/i386/fpu/libm-test-ulps: Update.
15056 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15058 2013-04-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15060 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
15062 2013-04-30 Joseph Myers <joseph@codesourcery.com>
15065 * math/s_catan.c (__catan): Compute expressions 1 - x^2 - y^2 more
15066 accurately for denominator in atan2.
15067 * math/s_catanf.c (__catanf): Likewise.
15068 * math/s_catanh.c (__catanh): Likewise.
15069 * math/s_catanhf.c (__catanhf): Likewise.
15070 * math/s_catanhl.c (__catanhl): Likewise.
15071 * math/s_catanl.c (__catanl): Likewise.
15072 * math/libm-test.inc (catan_test): Add more tests.
15073 (catanh_test): Likewise.
15074 * sysdeps/i386/fpu/libm-test-ulps: Update.
15075 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15077 2013-04-30 Siddhesh Poyarekar <siddhesh@redhat.com>
15079 * sysdeps/ieee754/dbl-64/s_sin.c: Format code.
15081 * benchtests/Makefile (bench): Remove slow benchmarks.
15082 * benchtests/atan-inputs: Add slow benchmark inputs.
15083 * benchtests/bench-modf.c (NUM_VARIANTS): Define.
15084 (BENCH_FUNC): Accept variant offset.
15086 * benchtests/bench-skeleton.c (main): Run benchmark for each
15088 * benchtests/cos-inputs: Add slow benchmark inputs.
15089 * benchtests/exp-inputs: Likewise.
15090 * benchtests/pow-inputs: Likewise.
15091 * benchtests/sin-inputs: Likewise.
15092 * benchtests/slowatan-inputs: Remove.
15093 * benchtests/slowatan.c: Remove.
15094 * benchtests/slowcos-inputs: Remove.
15095 * benchtests/slowcos.c: Remove.
15096 * benchtests/slowexp-inputs: Remove.
15097 * benchtests/slowexp.c: Remove.
15098 * benchtests/slowpow-inputs: Remove.
15099 * benchtests/slowpow.c: Remove.
15100 * benchtests/slowsin-inputs: Remove.
15101 * benchtests/slowsin.c: Remove.
15102 * benchtests/slowtan-inputs: Remove.
15103 * benchtests/slowtan.c: Remove.
15104 * benchtests/tan-inputs: Add slow benchmark inputs.
15105 * scripts/bench.pl: Parse comments and directives.
15107 * benchtests/Makefile: Remove *-ITER. Define BENCH_DURATION
15109 ($(objpfx)bench-%.c): Remove *-ITER.
15110 * benchtests/bench-modf.c: Remove definition of ITER.
15111 * benchtests/bench-skeleton.c (TIMESPEC_AFTER): New macro.
15112 (main): Loop for DURATION seconds instead of fixed number of
15114 * scripts/bench.pl: Don't expect iterations in parameters.
15116 2013-04-29 Roland McGrath <roland@hack.frob.com>
15118 * io/fchdir.c (__fchdir): Renamed from fchdir.
15119 (fchdir): Define as weak alias.
15121 2013-04-29 Joseph Myers <joseph@codesourcery.com>
15123 * math/libm-test.inc (ERRNO_UNCHANGED): New macro.
15124 (ERRNO_EDOM): Likewise.
15125 (ERRNO_ERANGE): Likewise.
15126 (noErrnoTests): New variable.
15127 (init_max_error): Set errno to 0.
15128 (test_single_errno): New function.
15129 (test_errno): Likewise.
15130 (check_float_internal): Call test_errno. Set errno to 0.
15131 (check_complex): Refer to errno tests in comment.
15132 (check_int): Call test_errno. Set errno to 0.
15133 (check_long): Likewise.
15134 (check_bool): Likewise.
15135 (check_longlong): Likewise.
15136 (cos_test): Use ERRNO_* flags for errno tests instead of
15138 (expm1_test): Likewise.
15139 (fmod_test): Likewise.
15140 (ilogb_test): Likewise.
15141 (lgamma_test): Likewise.
15142 (pow_test): Likewise.
15143 (remainder_test): Likewise.
15144 (sin_test): Likewise.
15145 (tan_test): Likewise.
15146 (yn_test): Likewise.
15147 (initialize): Set errno to 0.
15148 (main): Print number of errno tests.
15149 * math/gen-libm-test.pl (parse_args): Allow ERRNO flags on tests.
15151 2013-04-29 Andreas Jaeger <aj@suse.de>
15154 * resolv/res_debug.c (p_option): Fix strings for RES_USEBSTRING
15158 * resolv/resolv.h (RES_NOCHECKNAME): Mark as unimplemented.
15159 * resolv/res_debug.c (p_option): Mark RES_NOCHECKNAME as
15163 * stdlib/random.c (__initstate): Return NULL if
15167 * resolv/res_debug.c (p_option): Handle RES_NOALIASES,
15168 RES_KEEPTSIG, RES_BLAST, RES_NOIP6DOTINT, RES_SNGLKUP,
15171 2013-04-29 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15173 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
15175 2013-04-29 Joseph Myers <joseph@codesourcery.com>
15177 * math/libm-test.inc (cacos_test): Add missing semicolons at ends
15178 of individual tests.
15179 (casin_test): Likewise.
15180 (casinh_test): Likewise.
15182 2013-04-27 Joseph Myers <joseph@codesourcery.com>
15185 * math/s_catan.c (__catan): Handle arguments with large real or
15186 imaginary part separately without squaring.
15187 * math/s_catanf.c (__catanf): Likewise.
15188 * math/s_catanh.c (__catanh): Likewise.
15189 * math/s_catanhf.c (__catanhf): Likewise.
15190 * math/s_catanhl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
15192 (__catanhl): Handle arguments with large real or imaginary part
15193 separately without squaring.
15194 * math/s_catanl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
15196 (__catanl): Handle arguments with large real or imaginary part
15197 separately without squaring.
15198 * math/libm-test.inc (catan_test): Add more tests.
15199 (catanh_test): Likewise.
15200 * sysdeps/i386/fpu/libm-test-ulps: Update.
15201 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15203 2013-04-27 Andreas Jaeger <aj@suse.de>
15206 * stdlib/stdlib.h: Update guards for qecvt.
15207 * stdlib/bits/stdlib-ldbl.h: Sync guards for qecvt etc with
15210 2013-04-27 Allan McRae <allan@archlinux.org>
15212 * sysdeps/i386/fpu/libm-test-ulps: Update.
15214 2013-04-26 Joseph Myers <joseph@codesourcery.com>
15217 * math/s_catan.c: Include <float.h>.
15218 (__catan): Ensure underflow exception occurs for underflowed
15220 * math/s_catanf.c: Include <float.h>.
15221 (__catanf): Ensure underflow exception occurs for underflowed
15223 * math/s_catanh.c: Include <float.h>.
15224 (__catanh): Ensure underflow exception occurs for underflowed
15226 * math/s_catanhf.c: Include <float.h>.
15227 (__catanhf): Ensure underflow exception occurs for underflowed
15229 * math/s_catanhl.c: Include <float.h>.
15230 (__catanhl): Ensure underflow exception occurs for underflowed
15232 * math/s_catanl.c: Include <float.h>.
15233 (__catanl): Ensure underflow exception occurs for underflowed
15235 * math/libm-test.inc (catan_test): Add more tests.
15236 (catanh_test): Likewise.
15239 * math/s_ccosh.c (__ccosh): Ensure underflow exception occurs for
15240 underflowed result.
15241 * math/s_ccoshf.c (__ccoshf): Likewise.
15242 * math/s_ccoshl.c (__ccoshl): Likewise.
15243 * math/s_csin.c (__csin): Likewise.
15244 * math/s_csinf.c (__csinf): Likewise.
15245 * math/s_csinh.c (__csinh): Likewise.
15246 * math/s_csinhf.c (__csinhf): Likewise.
15247 * math/s_csinhl.c (__csinhl): Likewise.
15248 * math/s_csinl.c (__csinl): Likewise.
15249 * math/libm-test.inc (ccos_test): Add more tests.
15250 (ccosh_test): Likewise.
15251 (csin_test): Likewise.
15252 (csinh_test): Likewise.
15254 2013-04-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15256 * sysdeps/powerpc/power5/fpu/s_modf.c: Moved to ...
15257 * sysdeps/powerpc/power5+/fpu/s_modf.c: ... this.
15258 * sysdeps/powerpc/power5/fpu/s_modff.c: Moved to ...
15259 * sysdeps/powerpc/power5+/fpu/s_modff.c: ... this.
15260 * sysdeps/powerpc/powerpc32/power5+/Implies: Add powerpc/power5+ and
15261 powerpc/power5+/fpu folders.
15262 * sysdeps/powerpc/powerpc64/power5+/Implies: Likewise.
15265 2013-04-26 Markus Trippelsdorf <markus@trippelsdorf.de>
15267 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
15269 2013-04-25 Joseph Myers <joseph@codesourcery.com>
15271 * elf/Makefile [$(config-machine) = x86_64] (tests): Remove
15272 additions to variable.
15273 [$(config-machine) = x86_64] (modules-names): Likewise.
15274 ($(objpfx)tst-audit3): Remove dependency.
15275 ($(objpfx)tst-audit3.out): Likewise.
15276 ($(objpfx)tst-audit4): Likewise.
15277 ($(objpfx)tst-audit4.out): Likewise.
15278 ($(objpfx)tst-audit5): Likewise.
15279 ($(objpfx)tst-audit5.out): Likewise.
15280 ($(objpfx)tst-audit6): Likewise.
15281 ($(objpfx)tst-audit6.out): Likewise.
15282 ($(objpfx)tst-audit7): Likewise.
15283 ($(objpfx)tst-audit7.out): Likewise.
15284 (tst-audit3-ENV): Remove variable.
15285 (tst-audit4-ENV): Likewise.
15286 (tst-audit5-ENV): Likewise.
15287 (tst-audit6-ENV): Likewise.
15288 (tst-audit7-ENV): Likewise.
15289 [$(config-cflags-avx) = yes] (AVX-CFLAGS): Likewise.
15290 [$(config-cflags-avx) = yes] (CFLAGS-tst-audit4.c): Remove
15291 addition to variable.
15292 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4a.c): Likewise.
15293 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4b.c): Likewise.
15294 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6b.c): Likewise.
15295 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6c.c): Likewise.
15296 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod7b.c): Likewise.
15297 * sysdeps/x86_64/Makefile [$(subdir) = elf] (tests): Add
15298 tst-audit3, tst-audit4 and tst-audit5.
15299 [$(subdir) = elf && $(config-cflags-avx) = yes] (tests): Add
15300 tst-audit6 and tst-audit7.
15301 [$(subdir) = elf] (modules-names): Add audit modules for those
15303 [$(subdir) = elf] ($(objpfx)tst-audit3): New dependency.
15304 [$(subdir) = elf] ($(objpfx)tst-audit3.out): Likewise.
15305 [$(subdir) = elf] ($(objpfx)tst-audit4): Likewise.
15306 [$(subdir) = elf] ($(objpfx)tst-audit4.out): Likewise.
15307 [$(subdir) = elf] ($(objpfx)tst-audit5): Likewise.
15308 [$(subdir) = elf] ($(objpfx)tst-audit5.out): Likewise.
15309 [$(subdir) = elf] ($(objpfx)tst-audit6): Likewise.
15310 [$(subdir) = elf] ($(objpfx)tst-audit6.out): Likewise.
15311 [$(subdir) = elf] ($(objpfx)tst-audit7): Likewise.
15312 [$(subdir) = elf] ($(objpfx)tst-audit7.out): Likewise.
15313 [$(subdir) = elf] (tst-audit3-ENV): New variable.
15314 [$(subdir) = elf] (tst-audit4-ENV): Likewise.
15315 [$(subdir) = elf] (tst-audit5-ENV): Likewise.
15316 [$(subdir) = elf] (tst-audit6-ENV): Likewise.
15317 [$(subdir) = elf] (tst-audit7-ENV): Likewise.
15318 [$(subdir) = elf && $(config-cflags-avx) = yes] (AVX-CFLAGS):
15320 [$(subdir) = elf && $(config-cflags-avx) = yes]
15321 (CFLAGS-tst-audit4.c): Append $(AVX-CFLAGS).
15322 [$(subdir) = elf && $(config-cflags-avx) = yes]
15323 (CFLAGS-tst-auditmod4a.c): Likewise.
15324 [$(subdir) = elf && $(config-cflags-avx) = yes]
15325 (CFLAGS-tst-auditmod4b.c): Likewise.
15326 [$(subdir) = elf && $(config-cflags-avx) = yes]
15327 (CFLAGS-tst-auditmod6b.c): Likewise.
15328 [$(subdir) = elf && $(config-cflags-avx) = yes]
15329 (CFLAGS-tst-auditmod6c.c): Likewise.
15330 [$(subdir) = elf && $(config-cflags-avx) = yes]
15331 (CFLAGS-tst-auditmod7b.c): Likewise.
15332 * elf/tst-audit3.c: Move to ...
15333 * sysdeps/x86_64/tst-audit3.c: ... here.
15334 * elf/tst-audit4.c: Move to ...
15335 * sysdeps/x86_64/tst-audit4.c: ... here.
15336 * elf/tst-audit5.c: Move to ...
15337 * sysdeps/x86_64/tst-audit5.c: ... here.
15338 * elf/tst-audit6.c: Move to ...
15339 * sysdeps/x86_64/tst-audit6.c: ... here.
15340 * elf/tst-audit7.c: Move to ...
15341 * sysdeps/x86_64/tst-audit7.c: ... here.
15342 * elf/tst-auditmod3a.c: Move to ...
15343 * sysdeps/x86_64/tst-auditmod3a.c: ... here.
15344 * elf/tst-auditmod3b.c: Move to ...
15345 * sysdeps/x86_64/tst-auditmod3b.c: ... here.
15346 * elf/tst-auditmod4a.c: Move to ...
15347 * sysdeps/x86_64/tst-auditmod4a.c: ... here.
15348 * elf/tst-auditmod4b.c: Move to ...
15349 * sysdeps/x86_64/tst-auditmod4b.c: ... here.
15350 * elf/tst-auditmod5a.c: Move to ...
15351 * sysdeps/x86_64/tst-auditmod5a.c: ... here.
15352 * elf/tst-auditmod5b.c: Move to ...
15353 * sysdeps/x86_64/tst-auditmod5b.c: ... here.
15354 * elf/tst-auditmod6a.c: Move to ...
15355 * sysdeps/x86_64/tst-auditmod6a.c: ... here.
15356 * elf/tst-auditmod6b.c: Move to ...
15357 * sysdeps/x86_64/tst-auditmod6b.c: ... here.
15358 * elf/tst-auditmod6c.c: Move to ...
15359 * sysdeps/x86_64/tst-auditmod6c.c: ... here.
15360 * elf/tst-auditmod7a.c: Move to ...
15361 * sysdeps/x86_64/tst-auditmod7a.c: ... here.
15362 * elf/tst-auditmod7b.c: Move to ...
15363 * sysdeps/x86_64/tst-auditmod7b.c: ... here.
15365 2013-04-25 Paul Pluzhnikov <ppluzhnikov@google.com>
15368 * sysdeps/generic/inttypes.h (PRId8, PRId16, etc.):
15369 define unconditionally.
15370 * sysdeps/generic/stdint.h (INT8_MIN, INT16_MIN, etc.):
15371 define unconditionally.
15372 (INT8_C, INT16_C, etc.): Likewise.
15374 2013-04-25 Maciej W. Rozycki <macro@codesourcery.com>
15376 * csu/libc-start.c (__libc_start_main) [!SHARED]: Declare
15377 __ehdr_start with hidden visibility.
15379 * soft-fp/op-common.h (_FP_SQRT): s/sNAN/NAN/ in a comment.
15381 2013-04-24 Carlos O'Donell <carlos@redhat.com>
15383 * math/libm-test.inc (cos_test): Use accurate hex constants.
15384 (sincost_test): Likewise.
15386 2013-04-24 Joseph Myers <joseph@codesourcery.com>
15388 * math/libm-test.inc (catan_test): Add more tests.
15389 (catanh_test): Likewise.
15391 * math/s_catanf.c (__catanf): Use suffixed floating-point
15393 * math/s_catanhf.c (__catanhf): Likewise.
15394 * math/s_catanhl.c (__catanhl): Likewise.
15395 * math/s_catanl.c (__catanl): Likewise.
15398 * math/s_catan.c (__catan): Calculate imaginary part of result
15399 with log1p not log unless computing log of number close to 0.
15400 * math/s_catanf.c (__catanf): Likewise.
15401 * math/s_catanl.c (__catanl): Likewise.
15402 * math/s_catanh.c (__catanh): Calculate real part of result with
15403 log1p not log unless computing log of number close to 0.
15404 * math/s_catanhf.c (__catanhf): Likewise.
15405 * math/s_catanhl.c (__catanhl): Likewise.
15406 * math/libm-test.inc (catan_test): Add more tests.
15407 (catanh_test): Likewise.
15408 * sysdeps/i386/fpu/libm-test-ulps: Update.
15409 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15411 2013-04-24 Siddhesh Poyarekar <siddhesh@redhat.com>
15413 * benchtests/Makefile: Mention files in which fast and slow
15414 paths of math functions are implemented.
15416 2013-04-23 Roland McGrath <roland@hack.frob.com>
15418 * sysdeps/posix/timespec_get.c: New file.
15420 2013-04-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15422 * sysdeps/powerpc/power5/fpu/s_modf.c: New file: modf optimization for
15424 * sysdeps/powerpc/power5/fpu/s_modff.c: New file: modff optimization
15426 * sysdeps/powerpc/powerpc64/power5/Implies: Add powerpc/power5 and
15427 powerpc/power5/fpu folders.
15428 * sysdeps/powerpc/powerpc32/power5/Implies: Likewise.
15429 * benchtests/Makefile: Add modf testcase.
15430 * benchtests/bench-modf.c: New file: Benchmark test for mo
15432 2013-04-23 Siddhesh Poyarekar <siddhesh@redhat.com>
15435 * time/Makefile (tests): Add tst-strptime-whitespace.
15436 * time/strptime_l.c (get_number): Use ISSPACE.
15437 (__strptime_internal): Likewise.
15438 * time/tst-strptime-whitespace.c: New test case.
15440 2013-04-23 Andreas Schwab <schwab@linux-m68k.org>
15442 * nss/nss_files/files-init.c (TF): Don't initialize flexible array
15444 (_nss_files_init): Set it here.
15446 2013-04-23 Heiko Carstens <heiko.carstens@de.ibm.com>
15448 * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Change types of
15449 f_type, f_bsize, f_namelen, f_frsize, f_flags,and f_spare to
15452 2013-04-22 Jan-Benedict Glaw <jbglaw@getslash.de>
15454 * nss/getent.c (shadow_keys): Call endspent, not endpwent.
15456 2013-04-22 Siddhesh Poyarekar <siddhesh@redhat.com>
15458 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Compute results
15461 2013-04-21 David S. Miller <davem@davemloft.net>
15463 * po/ru.po: Update Russion translation from translation project.
15465 2013-04-17 Adam Conrad <adconrad@0c3.net>
15467 * sysdeps/unix/sysv/linux/sys/fsuid.h: Remove __wur from setfsuid
15470 2013-04-17 Carlos O'Donell <carlos@redhat.com>
15472 * configure.in: Remove i386 configure warning. Remove i386 case.
15473 * configure: Regenerate.
15474 * sysdeps/i386/configure.in: Raise error if config_machine is i386.
15475 Add example to error message.
15476 * sysdeps/i386/configure: Regenerate.
15478 2013-04-17 Siddhesh Poyarekar <siddhesh@redhat.com>
15480 * benchtests/Makefile (bench): Add cos, tan, slowcos and
15482 * benchtests/cos-inputs: New file.
15483 * benchtests/slowcos-inputs: New file.
15484 * benchtests/slowcos.c: New file.
15485 * benchtests/slowtan-inputs: New file.
15486 * benchtests/slowtan.c: New file.
15487 * benchtests/tan-inputs: New file.
15489 2013-04-16 Roland McGrath <roland@hack.frob.com>
15491 * rt/tst-aio7.c (do_test): Don't test O_RDONLY fd case, which is now
15494 2013-04-16 Siddhesh Poyarekar <siddhesh@redhat.com>
15496 * benchtests/Makefile: Include cppflags-iterator.mk to add
15497 -DNOT_IN_libc=1 to CPPFLAGS of all benchmark programs.
15499 * Makefile.in (bench-clean): New target.
15500 * benchtests/Makefile (bench-clean): Likewise.
15502 2013-04-16 David Holsgrove <david.holsgrove@xilinx.com>
15504 * elf/elf.h: Add EM_MICROBLAZE and MicroBlaze relocations.
15506 2013-04-15 Thomas Schwinge <thomas@codesourcery.com>
15508 * stdio-common/tstdiomisc.c: Fix coding-style violation.
15510 2013-04-15 Andreas Schwab <schwab@suse.de>
15512 * nscd/grpcache.c (cache_addgr): Properly check for short write.
15513 * nscd/initgrcache.c (addinitgroupsX): Likewise.
15514 * nscd/pwdcache.c (cache_addpw): Likewise.
15515 * nscd/servicescache.c (cache_addserv): Likewise. Don't write
15518 2013-04-15 Siddhesh Poyarekar <siddhesh@redhat.com>
15520 * benchtests/Makefile (bench): Write all output to
15521 bench-out.tmp together.
15523 2013-04-15 Andreas Schwab <schwab@suse.de>
15525 * nscd/nscd.c (main): Don't fork again after closing files.
15527 2013-04-15 Siddhesh Poyarekar <siddhesh@redhat.com>
15529 * libio/tst-fwrite-error.c (do_test): Fix BUF array definition.
15531 * benchtests/Rules (bench-deps): Collect dependencies into a
15532 single variable. Add Makefile to dependencies.
15533 ($(objpfx)bench-%.c): Depend on bench-deps.
15535 2013-04-12 Roland McGrath <roland@hack.frob.com>
15536 Xavier Roche <roche+kml2@exalead.com>
15539 * sysdeps/pthread/aio_fsync.c (aio_fsync): Don't check open modes,
15540 just that it's a file descriptor.
15541 * manual/llio.texi (Synchronizing AIO Operations): Update description
15542 for EBADF error from aio_fsync.
15544 2013-04-12 Siddhesh Poyarekar <siddhesh@redhat.com>
15546 * Rules (bench): Move target definition...
15547 * benchtests/Makefile: ... here.
15549 2013-04-11 Carlos O'Donell <carlos@redhat.com>
15551 * math/libm-test.inc (cos_test): Fix PI/2 test.
15552 (sincos_test): Likewise.
15553 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
15554 * sysdeps/i386/fpu/libm-test-ulps: Regenerate.
15556 2013-04-11 Andreas Schwab <schwab@suse.de>
15559 * stdio-common/vfscanf.c (_IO_vfwscanf): When parsing a float
15560 accept exponent character only when digits were seen.
15561 * stdio-common/Makefile (tests): Add bug26.
15562 * stdio-common/bug26.c: New file.
15565 * elf/dl-load.c (_dl_init_paths): Mark decomposed RUNPATH as
15568 2013-04-11 Siddhesh Poyarekar <siddhesh@redhat.com>
15570 * Makeconfig (rtld-prefix): Define built linker prefix.
15571 * Rules (run-bench): Use it.
15572 * math/Makefile (run-regen-ulps): Likewise.
15574 * Rules (bench): Remove eval.
15576 2013-04-10 Siddhesh Poyarekar <siddhesh@redhat.com>
15577 Roland McGrath <roland@hack.frob.com>
15578 Ondrej Bilka <neleai@seznam.cz>
15581 * time/getdate.c: Include ctype.h and alloca.h.
15582 (__getdate_r): Trim leading and trailing spaces of input.
15583 * time/tst-getdate.c (tests): Add tests with leading and
15586 2013-04-08 Roland McGrath <roland@hack.frob.com>
15589 * sysdeps/mach/hurd/bits/ioctls.h (_IOTS): Cast to enum __ioctl_datum
15590 when computing value.
15592 2013-04-06 Carlos O'Donell <carlos@redhat.com>
15594 * math/README.libm-test (How can I generate "libm-test-ulps"?):
15595 Use testrun.sh to run libm tests.
15598 * elf/dl-open.c (dl_open_worker): memset all of seen array.
15600 2013-04-06 Marko Myllynen <myllynen@redhat.com>
15603 * locales/fi_FI (LC_MESSAGES): Define yesstr and nostr.
15605 2013-04-06 Carlos O'Donell <carlos@redhat.com>
15607 * Makefile.in (regen-ulps): New target.
15608 * math/Makefile [ifneq (no,$(PERL)]: Declare regen-ulps with .PHONY.
15609 [ifneq (no,$(PERL)] (run-regen-ulps): New variable.
15610 [ifneq (no,$(PERL)] (regen-ulps): New target.
15611 [ifeq (no,$(PERL)] (regen-ulps): New target.
15612 * math/libm-test.inc (ulps_file_name): Define.
15613 (output_dir): New variable.
15614 (options): Add "output-dir" option.
15615 (parse_opt): Handle 'o' case.
15616 (main): If output_dir is non-NULL use it as a prefix
15618 * math/README.libm-test: Update `How can I generate "libm-test-ulps"?'
15620 2013-04-06 Carlos O'Donell <carlos@redhat.com>
15622 [BZ #10060, #10062]
15623 * aclocal.m4 (LIBC_COMPILER_BUILTIN_INLINED): New macro.
15624 * sysdeps/i386/configure.in: Use LIBC_COMPILER_BUILTIN_INLINED and
15625 fail configure if __sync_val_compare_and_swap is not inlined.
15626 * sysdeps/i386/configure: Regenerate.
15627 * configure.in: Build for i686 when configured for i386.
15628 * configure: Regenerate.
15629 * README: Remove i386 reference.
15631 2013-04-06 Carlos O'Donell <carlos@redhat.com>
15633 * sysdeps/s390/s390-32/sysdep.h: Undefine PSEUDO before redefinition.
15634 * sysdeps/s390/s390-64/sysdep.h: Likewise.
15636 2013-04-05 Thomas Schwinge <thomas@codesourcery.com>
15638 * stdio-common/tstdiomisc.c (snanval, msnanval, lsnanval)
15639 (lmsnanval): New variables.
15640 (F): Add conversion tests.
15641 * stdlib/tst-strtod6.c (do_test): Add issignaling tests.
15642 * stdlib/Makefile ($(objpfx)tst-strtod6): Depend on $(link-libm).
15644 * stdio-common/tstdiomisc.c (F): Properly collect individual
15647 [BZ #14686, #15336]
15648 * sysdeps/ieee754/dbl-64/urem.h (nNAN, NAN): Remove definitions.
15649 * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder):
15650 Instead, use input NaN values or generate a qNaN by arithmetic
15651 operation. Also fix bugs to comply with the standard.
15652 * math/libm-test.inc (remainder_test): Add more tests.
15654 [BZ #15335, #15342]
15655 * sysdeps/ieee754/dbl-64/upow.h (NaNQ): Remove definitions.
15656 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Instead, use
15657 input NaN values or generate a qNaN by arithmetic operation.
15659 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Remove
15662 * sysdeps/ieee754/dbl-64/usncs.h (NAN): Removed unused
15665 2013-04-03 Joseph Myers <joseph@codesourcery.com>
15668 * math/s_cexp.c (__cexp): Ensure underflow exception occurs for
15669 underflowed result.
15670 * math/s_cexpf.c (__cexpf): Likewise.
15671 * math/s_cexpl.c (__cexpl): Likewise.
15672 * math/libm-test.inc (cexp_test): Add more tests.
15674 2013-04-03 Andreas Schwab <schwab@suse.de>
15677 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Allocate results and
15678 order arrays from heap if bigger than alloca cutoff.
15680 2013-04-03 Thomas Schwinge <thomas@codesourcery.com>
15682 * sysdeps/i386/fpu/math-tests.h (SNAN_TESTS_float)
15683 (SNAN_TESTS_double): Refer to GCC PR56831.
15684 * sysdeps/powerpc/math-tests.h (SNAN_TESTS_TYPE_CAST): Refer to
15687 2013-04-03 Siddhesh Poyarekar <siddhesh@redhat.com>
15689 * Rules (bench): Move bench.out after the run is complete.
15691 * Rules (bench): Echo currently running benchmark.
15693 * benchtests/Makefile (bench): Add atan and slowatan.
15694 * benchtests/atan-inputs: New file.
15695 * benchtests/slowatan-inputs: New file.
15696 * benchtests/slowatan.c: New file.
15698 * sysdeps/ieee754/dbl-64/mpa.h (TWO): Remove definition.
15699 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Replace TWO with
15703 * sysdeps/unix/sysv/linux/kernel-features.h
15704 [__LINUX_KERNEL_VERSION >= 0x02061d]: Define
15705 __ASSUME_XFS_RESTRICTED_CHOWN.
15706 * sysdeps/unix/sysv/linux/pathconf.c
15707 (__statfs_chown_restricted) [!__ASSUME_XFS_RESTRICTED_CHOWN]:
15708 Save and restore errno.
15710 2013-04-02 Joseph Myers <joseph@codesourcery.com>
15713 * math/s_cacosh.c (__cacosh): Implement for finite nonzero
15714 arguments using __kernel_casinh.
15715 * math/s_cacoshf.c (__cacoshf): Implement for finite nonzero
15716 arguments using __kernel_casinhf.
15717 * math/s_cacoshl.c (__cacoshl): Implement for finite nonzero
15718 arguments using __kernel_casinhl.
15719 * math/libm-test.inc (cacosh_test): Add more tests.
15720 * sysdeps/i386/fpu/libm-test-ulps: Update.
15721 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15723 2013-04-02 Siddhesh Poyarekar <siddhesh@redhat.com>
15725 * sysdeps/ieee754/dbl-64/mpa.h (HALFRAD): Define as TWO23.
15726 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Use mantissa_t.
15728 * bench/Makefile (bench): Add sin and slowsin.
15729 * benchtests/sin-inputs: New file.
15730 * benchtests/slowsin-inputs: New file.
15731 * benchtests/slowsin.c: New file.
15733 * benchtests/Makefile: Add benchmarks for slowpow and slowexp.
15734 (bench): Add slowexp and slowpow.
15735 (exp-ITER): Increase iterations.
15736 (pow-ITER): Likewise.
15737 * benchtests/exp-inputs: Change input.
15738 * benchtests/pow-inputs: Likewise.
15739 * benchtests/slowexp-inputs: New file.
15740 * benchtests/slowexp.c: New file.
15741 * benchtests/slowpow-inputs: New file.
15742 * benchtests/slowpow.c: New file.
15744 2013-04-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15746 * sysdeps/powerpc/powerpc32/fpu/s_rint.S: Remove branch prediction
15748 * sysdeps/powerpc/powerpc32/fpu/s_rintf.S: Likewise.
15749 * sysdeps/powerpc/powerpc64/fpu/s_rint.S: Likewise.
15750 * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
15751 * benchtests/Makefile: Add rint benchtest.
15752 * benchtests/rint-inputs: Input for rint benchtest.
15754 2013-04-02 Thomas Schwinge <thomas@codesourcery.com>
15756 * Versions.def (libm): Add GLIBC_2.18.
15757 * include/math.h [!_ISOMAC] (__issignaling, __issignalingf): Add
15758 hidden libm prototypes.
15759 [!_ISOMAC && !__NO_LONG_DOUBLE_MATH] (__issignalingl): Likewise.
15760 * math/Makefile (libm-calls): Add s_issignaling.
15761 * math/Versions (libm: GLIBC_2.18): Add __issignaling,
15762 __issignalingf, __issignalingl. Adjust all libm.abilist files.
15763 * math/bits/mathcalls.h [__USE_GNU] (__issignaling): New prototype
15765 * math/math.h [__USE_GNU] (issignaling): New macro.
15766 * sysdeps/ieee754/flt-32/s_issignalingf.c: New file.
15767 * sysdeps/ieee754/dbl-64/s_issignaling.c: Likewise.
15768 * sysdeps/ieee754/dbl-64/wordsize-64/s_issignaling.c: Likewise.
15769 * sysdeps/ieee754/ldbl-96/s_issignalingl.c: Likewise.
15770 * sysdeps/ieee754/ldbl-128/s_issignalingl.c: Likewise.
15771 * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c: Likewise.
15772 * manual/arith.texi (issignaling): New section.
15773 * manual/libm-err-tab.pl (@all_functions): Update comment.
15774 * math/gen-libm-test.pl (parse_args): Apply special handling for
15776 * math/libm-test.inc (print_float, issignaling_test): New
15778 (check_float_internal): Add issignaling checks.
15779 * sysdeps/generic/math-tests.h (SNAN_TESTS_TYPE_CAST): Provide
15780 default definition.
15781 * sysdeps/powerpc/math-tests.h: New file.
15782 * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Add issignaling
15784 * math/test-snan.c (TEST_FUNC): Likewise.
15786 2013-03-30 David S. Miller <davem@davemloft.net>
15788 * po/de.po: Update from translation team.
15790 2013-03-30 Joseph Myers <joseph@codesourcery.com>
15793 * math/k_casinh.c (__kernel_casinh): Handle arguments with
15794 imaginary part less than 1.0 and real part less than 0.5
15796 * math/k_casinhf.c (__kernel_casinhf): Likewise.
15797 * math/k_casinhl.c (__kernel_casinhl): Likewise.
15798 * math/libm-test.inc (UNDERFLOW_EXCEPTION_OK_DOUBLE): New macro.
15799 (cacos_test): Add more tests.
15800 (casin_test): Likewise.
15801 (casinh_test): Likewise.
15802 * sysdeps/i386/fpu/libm-test-ulps: Update.
15803 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15805 2013-03-29 Siddhesh Poyarekar <siddhesh@redhat.com>
15807 * sysdeps/powerpc/power4/fpu/mpa-arch.h (INTEGER_OF): Replace
15808 ONE with its value.
15810 * sysdeps/ieee754/dbl-64/mpa.h (ONE, MONE): Remove defines.
15811 (__pow_mp): Replace ONE and MONE with their values.
15812 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
15813 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Likewise.
15814 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
15815 * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Likewise.
15816 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
15817 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
15819 * sysdeps/ieee754/dbl-64/s_tan.c: Fix formatting.
15821 * sysdeps/ieee754/dbl-64/mpa.h (ZERO, MZERO): Remove defines.
15822 (__pow_mp): Replace ZERO and MZERO with their values.
15823 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
15824 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
15825 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
15826 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
15827 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
15828 * sysdeps/powerpc/power4/fpu/mpa.c (__mul): Likewise.
15831 * sysdeps/ieee754/dbl-64/s_atan.c: Fix formatting.
15833 * sysdeps/ieee754/dbl-64/e_log.c: Fix formatting.
15835 2013-03-28 Roland McGrath <roland@hack.frob.com>
15837 * include/stdlib.h [!SHARED] (__call_tls_dtors):
15838 Declare with __attribute__ ((weak)).
15839 * stdlib/exit.c (__libc_atexit) [!SHARED]:
15840 Call __call_tls_dtors only if it's not NULL.
15842 2013-03-28 Roland McGrath <roland@hack.frob.com>
15844 * csu/libc-start.c (__libc_start_main) [!SHARED]: If _dl_aux_init
15845 didn't do it already, then set _dl_phdr and _dl_phnum based on the
15846 magic __ehdr_start linker symbol if it's defined.
15847 * sysdeps/mach/hurd/i386/init-first.c (init1) [!SHARED]: Don't set
15848 them up here if it was already done.
15850 * elf/dl-support.c (_dl_phdr): Make pointer to const.
15851 (_dl_aux_init): Use const in cast when setting it.
15852 * sysdeps/mach/hurd/i386/init-first.c (init1): Remove superfluous cast.
15853 * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr): Update decl.
15854 * csu/libc-tls.c (__libc_setup_tls): Make PHDR pointer to const.
15856 * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr, _dl_phnum):
15858 * elf/dl-iteratephdr.c [!SHARED] (_dl_phdr, _dl_phnum): Not here.
15859 * csu/libc-tls.c: Nor here.
15860 * sysdeps/mach/hurd/i386/init-first.c (init1): Nor here.
15862 * sysdeps/posix/libc_fatal.c: Don't include <sys/syslog.h>.
15863 (__libc_message): Never call vsyslog.
15865 2013-03-28 Alan Modra <amodra@gmail.com>
15867 * sysdeps/powerpc/powerpc32/start.S (cfi_startproc, cfi_endproc):
15869 * sysdeps/powerpc/powerpc64/start.S (cfi_startproc, cfi_endproc):
15872 2013-03-28 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15875 * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Fix spurious
15877 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
15879 2013-03-28 Siddhesh Poyarekar <siddhesh@redhat.com>
15882 * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
15883 Don't add gid passed as argument.
15885 * sysdeps/ieee-754/dbl-64/e_atan2.c: Reformat.
15887 2013-03-27 Joseph Myers <joseph@codesourcery.com>
15890 * math/k_casinh.c (__kernel_casinh): Handle arguments with
15891 imaginary part between 1.0 and 1.5 and real part less than 0.5
15893 * math/k_casinhf.c (__kernel_casinhf): Likewise.
15894 * math/k_casinhl.c (__kernel_casinhl): Likewise.
15895 * math/libm-test.inc (cacos_test): Add more tests.
15896 (casin_test): Likewise.
15897 (casinh_test): Likewise.
15898 * sysdeps/i386/fpu/libm-test-ulps: Update.
15899 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15901 2013-03-26 Siddhesh Poyarekar <siddhesh@redhat.com>
15903 * sysdeps/ieee754/dbl-64/mpa.c (__acr): Use integral
15906 (denorm): Likewise.
15907 (__dbl_mp): Likewise.
15908 (add_magnitudes): Likewise.
15909 (sub_magnitudes): Likewise.
15917 * sysdeps/ieee754/dbl-64/branred.c (__branred): Remove
15919 * sysdeps/ieee754/dbl-64/dosincos.c (__dubsin): Likewise.
15920 (__dubcos): Likewise.
15921 * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Likewise.
15922 (__ieee754_acos): Likewise.
15923 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
15924 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Likewise.
15925 (__exp1): Likewise.
15926 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
15927 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
15929 (my_log2): Likewise.
15930 (checkint): Likewise.
15931 * sysdeps/ieee754/dbl-64/e_remainder.c
15932 (__ieee754_remainder): Likewise.
15933 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
15934 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Likewise.
15935 (bsloww): Likewise.
15936 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
15938 * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
15939 * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T and
15940 MANTISSA_STORE_T to store computations on mantissa. Use
15941 macros for rounding and division.
15942 (denorm): Likewise.
15943 (__dbl_mp): Likewise.
15944 (add_magnitudes): Likewise.
15945 (sub_magnitudes): Likewise.
15948 * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h. Define
15949 powers of two in terms of TWOPOW macro.
15950 (mp_no): Make type of mantissa as MANTISSA_T.
15951 [!RADIXI]: Define RADIXI.
15952 [!TWO52]: Define TWO52.
15953 * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
15955 2013-03-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15957 * sysdeps/powerpc/fpu/s_llround.c: Fix libm ABI issue with missing
15958 llroundl symbol when building for PPC32.
15960 2013-03-24 Mark H Weaver <mhw@netris.org>
15962 * manual/arith.texi (Normalization Functions): Fix prototypes for
15963 scalbn, scalbnf, scalbnl, scalbln, scalblnf, and scalblnl.
15965 2013-03-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15968 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Increase the
15969 high value to check if expl overflow.
15970 * sysdeps/ieee754/ldbl-128ibm/w_expl.c (__expl): Fix threshold constants
15971 to check for underflow and overflow.
15972 * math/libm-test.inc: Add exp test.
15974 2013-03-21 Dmitry V. Levin <ldv@altlinux.org>
15977 * sysdeps/x86_64/strcmp.S: Replace all occurrences of NOT_IN_lib
15980 2013-03-21 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15982 * sysdeps/powerpc/fpu/w_sqrt.c (compat_symbol): Add sqrtl compat
15985 2013-03-21 Thomas Schwinge <thomas@codesourcery.com>
15987 * math/gen-libm-test.pl (parse_args, special_functions): Properly
15988 wrap blocks consisting of several statements.
15990 * sysdeps/generic/math-tests.h: New file.
15991 * sysdeps/i386/fpu/math-tests.h: Likewise.
15992 * math/test-snan.c: Include it.
15993 (TEST_FUNC): Use SNAN_TESTS to short-circuit certain tests.
15995 2013-03-21 Joseph Myers <joseph@codesourcery.com>
15998 * sysdeps/ieee754/ldbl-128/e_j0l.c: Include <float.h>.
15999 (__ieee754_j0l): Do not improve calculations using cos of twice
16000 input for inputs above LDBL_MAX / 2.0L.
16001 (__ieee754_y0l): Likewise.
16002 * sysdeps/ieee754/ldbl-128/e_j1l.c: Include <float.h>.
16003 (__ieee754_j1l): Do not improve calculations using cos of twice
16004 input for inputs above LDBL_MAX / 2.0L.
16005 (__ieee754_y1l): Likewise.
16006 * math/libm-test.inc (j0_test): Add another test.
16007 (j1_test): Likewise.
16008 (y0_test): Likewise.
16009 (y1_test): Likewise.
16010 * sysdeps/i386/fpu/libm-test-ulps: Update.
16012 2013-03-21 Siddhesh Poyarekar <siddhesh@redhat.com>
16014 * Rules ($(objpfx)bench-%.c): Include code from a C source
16017 2013-03-21 Joseph Myers <joseph@codesourcery.com>
16020 * math/k_casinh.c (__kernel_casinh): Handle arguments with
16021 imaginary part 1.0 and real part less than 0.5 specially.
16022 * math/k_casinhf.c (__kernel_casinhf): Likewise.
16023 * math/k_casinhl.c (__kernel_casinhl): Likewise.
16024 * math/libm-test.inc (cacos_test): Add more tests.
16025 (casin_test): Likewise.
16026 (casinh_test): Likewise.
16027 * sysdeps/i386/fpu/libm-test-ulps: Update.
16028 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16030 2013-03-21 Siddhesh Poyarekar <siddhesh@redhat.com>
16032 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Use HALFRAD.
16033 * sysdeps/ieee754/dbl-64/sincos32.c (__mpranred): Likewise.
16035 2013-03-20 Joseph Myers <joseph@codesourcery.com>
16037 * aclocal.m4 (LIBC_CONFIG_VAR): New autoconf macro.
16038 * config.make.in (config-cflags-sse4): Remove variable.
16039 (config-cflags-avx): Likewise.
16040 (config-cflags-sse2avx): Likewise.
16041 (config-cflags-novzeroupper): Likewise.
16042 (config-asflags-i686): Likewise.
16043 (have-mfma4): Likewise.
16044 (have-as-vis3): Likewise.
16046 * configure.in (MIG): Do not AC_SUBST.
16047 (libc_cv_cc_nofma): Move AC_SUBST next to configure test.
16048 (libc_cv_cc_sse4): Do not AC_SUBST.
16049 (libc_cv_cc_avx): Likewise.
16050 (libc_cv_cc_sse2avx): Likewise.
16051 (libc_cv_cc_novzeroupper): Likewise.
16052 (libc_cv_cc_fma4): Likewise.
16053 (libc_cv_as_i686): Likewise.
16054 (libc_cv_sparc_as_vis3): Likewise.
16055 * sysdeps/i386/configure.in (config-cflags-sse4): Set using
16057 (config-asflags-i686): Likewise.
16058 (config-cflags-avx): Likewise.
16059 (config-cflags-sse2avx): Likewise.
16060 (have-mfma4): Likewise.
16061 (config-cflags-novzeroupper): Likewise.
16062 * sysdeps/mach/configure.in (MIG): Likewise.
16063 * sysdeps/sparc/configure.in (have-as-vis3): Likewise.
16064 * sysdeps/x86_64/configure.in (config-cflags-sse4): Set using
16066 (config-cflags-avx): Likewise.
16067 (config-cflags-sse2avx): Likewise.
16068 (have-mfma4): Likewise.
16069 (config-cflags-novzeroupper): Likewise.
16070 * configure: Regenerated.
16071 * sysdeps/i386/configure: Likewise.
16072 * sysdeps/mach/configure: Likewise.
16073 * sysdeps/sparc/configure: Likewise.
16074 * sysdeps/x86_64/configure: Likewise.
16076 2013-03-20 Roland McGrath <roland@hack.frob.com>
16079 * locale/programs/localedef.c (options): Put N_ translation marker
16080 on argument names, not just descriptions.
16082 2013-03-20 Marcus Shawcroft <marcus.shawcroft@linaro.org>
16084 * Makerules ($(inst_libdir)/libc.so): Use $(rtlddir).
16086 2013-03-20 Ondřej Bílka <neleai@seznam.cz>
16089 * stdlib/stdlib.h (mblen, mbtowc, wctomb): Remove __wur.
16091 2013-03-19 Roland McGrath <roland@hack.frob.com>
16093 * sysdeps/posix/libc_fatal.c: Include <sys/mman.h>.
16094 [!WRITEV_FOR_FATAL] (writev_for_fatal): New function.
16095 [!WRITEV_FOR_FATAL] (WRITEV_FOR_FATAL): New macro; call that.
16096 [!BEFORE_ABORT] (before_abort): New function.
16097 [!BEFORE_ABORT] (BEFORE_ABORT): New macro; call that.
16098 * sysdeps/unix/sysv/linux/libc_fatal.c: Trim includes.
16099 (writev_for_fatal): New function.
16100 (WRITEV_FOR_FATAL): New macro; call that.
16101 (backtrace_and_maps): New function.
16102 (BEFORE_ABORT): New macro; call that.
16103 (struct str_list): Type removed.
16104 (__libc_message, __libc_fatal): Functions removed.
16105 Include <sysdeps/posix/libc_fatal.c> instead.
16107 2013-03-19 Joseph Myers <joseph@codesourcery.com>
16109 * math/k_casinhf.c (__kernel_casinhf): Consistently use float
16111 * math/k_casinhl.c (__kernel_casinhl): Consistently use long
16114 2013-03-19 Andreas Schwab <schwab@suse.de>
16116 * sysdeps/gnu/configure.in: Set libc_cv_rtldir for s390x.
16117 * sysdeps/gnu/configure: Regenerate.
16119 * configure.in: Substitute libc_cv_rtlddir.
16120 * configure: Regenerate.
16121 * config.make.in (rtlddir): Set from libc_cv_rtlddir.
16122 * Makeconfig (rtlddir, inst_rtlddir): New variables.
16123 (rtld-LDFLAGS): Use them with $(rtld-installed-name).
16124 * elf/Makefile (install-others, CFLAGS-interp.c)
16125 (ldso_install, common-ldd-rewrite): Likewise.
16126 ($(inst_rtlddir)/$(rtld-installed-name)): Renamed from
16127 $(inst_slibdir)/$(rtld-installed-name).
16128 * scripts/rellns-sh: Add -p option.
16129 * Makerules (make-shlib-link): Use rellns-sh to get relative name
16132 2013-03-19 Siddhesh Poyarekar <siddhesh@redhat.com>
16134 * manual/nptl.texi: Renamed to ...
16135 * manual/threads.texi: ... this.
16136 * manual/Makefile (chapters): Update.
16138 2013-03-18 Roland McGrath <roland@hack.frob.com>
16141 * argp/argp-parse.c (argp_default_options): Put N_ translation marker
16142 on argument names, not just descriptions.
16143 * malloc/memusagestat.c (options): Likewise.
16144 * nss/getent.c (options): Likewise.
16146 2013-03-18 Benno Schulenberg <bensberg@justemail.net>
16149 * iconv/iconv_prog.c (options): Put N_ translation marker
16150 on argument names, not just descriptions.
16151 * iconv/iconvconfig.c (options): Likewise.
16153 2013-03-18 Ondrej Bilka <neleai@seznam.cz>
16155 * sysdeps/x86_64/strlen.S: Replace with new SSE2 based
16156 implementation which is faster on all x86_64 architectures.
16157 Tested on AMD, Intel Nehalem, SNB, IVB.
16158 * sysdeps/x86_64/strnlen.S: Likewise.
16160 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
16161 Remove all multiarch strlen and strnlen versions.
16162 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
16163 Remove strlen and strnlen related parts.
16165 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: Update.
16166 Inline strlen part.
16167 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Likewise.
16169 * sysdeps/x86_64/multiarch/strlen.S: Remove.
16170 * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S: Likewise.
16171 * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: Likewise.
16172 * sysdeps/x86_64/multiarch/strlen-sse4.S: Likewise.
16173 * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
16174 * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: Likewise.
16176 2013-03-17 Carlos O'Donell <carlos@redhat.com>
16178 * manual/memory.texi (Malloc Tunable Parameters):
16179 Sort parameters alphabetically. Add comments for missing entries.
16181 2013-03-17 David S. Miller <davem@davemloft.net>
16183 * sysdeps/sparc/fpu/libm-test-ulps: Update.
16185 2013-03-16 Joseph Myers <joseph@codesourcery.com>
16188 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_y1l): Correct test
16189 for arguments at most half maximum finite value.
16190 * math/libm-test.inc (j0_test): Add more tests.
16191 (j1_test): Likewise.
16192 (y0_test): Likewise.
16193 (y1_test): Likewise.
16194 * sysdeps/i386/fpu/libm-test-ulps: Update.
16195 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16198 * sysdeps/ieee754/ldbl-128/e_j0l.c (__ieee754_j0l): Do not compute
16199 1 / x and functions P and Q for arguments above 0x1p256L.
16200 (__ieee754_y0l): Likewise.
16201 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Likewise.
16202 (__ieee754_y1l): Likewise.
16203 * math/libm-test.inc (j0_test): Do not allow spurious underflows.
16204 (j1_test): Likewise.
16205 (y0_test): Likewise.
16206 (y1_test): Likewise.
16208 2013-03-16 Thomas Schwinge <thomas@codesourcery.com>
16210 * math/test-snan.c (TEST_FUNC): Add and use minus_sNaN_var
16213 2013-03-15 Roland McGrath <roland@hack.frob.com>
16215 * elf/dl-support.c (_dl_aux_init): Ignore zero value for AT_PAGESZ.
16216 (_dl_non_dynamic_init): Don't set _dl_pagesize; it will never be
16217 zero since it's initialized to EXEC_PAGESIZE.
16219 * sysdeps/unix/sysv/linux/ldsodefs.h
16220 (_dl_non_dynamic_init, _dl_aux_init): Move declarations to ...
16221 * sysdeps/generic/ldsodefs.h: ... here.
16223 2013-03-15 Thomas Schwinge <thomas@codesourcery.com>
16225 * math/libm-test.inc (ldexp_test): Add missing START/END markers.
16227 * sysdeps/powerpc/fpu/test-powerpc-snan.c: Rename to
16229 * math/test-snan.c: Renamed from
16230 sysdeps/powerpc/fpu/test-powerpc-snan.c.
16231 * math/Makefile (tests): Add test-snan.
16232 * sysdeps/powerpc/fpu/Makefile (libm-tests): Don't add
16235 * math/basic-test.c (TEST_FUNC): Replace NANFUNC argument with
16236 SUFFIX. Initialize qNaN_var with __builtin_nan family of
16238 (TEST_TRUNC): Add SUFFIX argument. Initialize qNaN_var with
16239 __builtin_nan family of functions.
16240 * math/libm-test.inc (initialize): Initialize qnan_value with
16241 __builtin_nan family of functions.
16242 * sysdeps/powerpc/fpu/test-powerpc-snan.c (SNANf, SNAN, SNANl):
16244 (init_signaling_nan, snan_float, snan_double, snan_ldouble):
16246 (TEST_FUNC): Add SUFFIX argument. Move sNaN_var into static
16247 storage class. Initialize qNaN_var and sNaN_var with
16248 __builtin_nan and __builtin_nans families of functions,
16251 * math/libm-test.inc (acosh_test): Also test with qNaN input.
16252 (sqrt_test): Remove duplicate test with qNaN input.
16253 (lrint_test, llrint_test, lround_test, llround_test, rint_test)
16254 (round_test, signbit_test, significand_test): Note missing +/-Inf
16255 as well as qNaN tests.
16257 * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Rename NaN_var to
16258 qNaN_var. Fix a few strings, too.
16259 * math/libm-test.inc (nan_value): Rename to qnan_value.
16260 * math/gen-libm-test.pl (%beautify): Adjust to that.
16261 * math/bits/mathcalls.h (nan): Refer to qNaN instead of NaN.
16262 * math/test-misc.c (main): Likewise.
16263 * sysdeps/ieee754/bits/nan.h (__nan_bytes, __nan_union): Rename
16264 to __qnan_bytes, and __qnan_union, respectively.
16265 * ports/sysdeps/mips/bits/nan.h (__nan_bytes, __nan_union):
16267 * stdio-common/tstdiomisc.c (nanval, lnanval): Rename to qnanval,
16268 and lqnanval, respectively.
16269 * sysdeps/powerpc/bits/fenv.h: Fix usage of NaN/qNaN/sNaN.
16270 * sysdeps/powerpc/fpu/fenv_libc.h: Likewise.
16271 * sysdeps/powerpc/fpu/test-powerpc-snan.c (TEST_FUNC): Likewise,
16272 and rename NaN_var to qNaN_var, and SNaN_var to sNaN_var.
16274 * math/libm-test.inc (fpstack_test) [__x86_64__]: Enable test.
16275 * math/test-misc.c (main) [__x86_64__]: Enable test for long
16278 * math/test-misc.c (main): Fix copy'n'pastos.
16279 * misc/tst-efgcvt.c (special): Likewise.
16281 * stdio-common/printf_fp.c (__isinfl_internal, __isnanl_internal):
16282 Remove declarations.
16284 2013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
16286 * sysdeps/ieee754/dbl-64/mpa-arch.h: Remove.
16287 * sysdeps/ieee754/dbl-64/mpa.c: Revert last change.
16288 * sysdeps/ieee754/dbl-64/mpa.h: Revert last change.
16289 * sysdeps/powerpc/power4/fpu/mpa-arch.h: Remove.
16291 2013-03-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16293 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET): Add
16294 macro to return vdso values correctly in IFUNC implementations.
16295 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
16296 Optimization by using IFUNC.
16298 2013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
16299 Richard Henderson <rth@redhat.com>
16300 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
16302 * Makefile.in (bench): New target.
16303 * NEWS: Mention the benchmark framework.
16304 * Rules (bench): Likewise.
16305 (binaries-bench): Generate binaries for functions to
16307 * benchtests/Makefile: New makefile for benchmark tests.
16308 * benchtests/bench-skeleton.c: New skeleton file for benchmark
16310 * benchtests/exp-inputs: New input file for EXP function.
16311 * benchtests/pow-inputs: New input file for POW function.
16312 * scripts/bench.pl: New script to generate source files for
16313 benchmark programs.
16315 2013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
16317 * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
16318 * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T to store
16319 computations on mantissa. Use macros for rounding and
16321 (denorm): Likewise.
16322 (__dbl_mp): Likewise.
16323 (add_magnitudes): Likewise.
16324 (sub_magnitudes): Likewise.
16327 * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h. Define
16328 powers of two in terms of TWOPOW macro.
16329 (mp_no): Make type of mantissa as MANTISSA_T.
16330 [!RADIXI]: Define RADIXI.
16331 [!TWO52]: Define TWO52.
16332 * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
16334 * manual/nptl.texi (cindex): Modify threads to pthreads.
16336 2013-03-15 Joseph Myers <joseph@codesourcery.com>
16338 * sysdeps/x86_64/preconfigure: Regenerated.
16340 2013-03-14 Joseph Myers <joseph@codesourcery.com>
16343 * sysdeps/ieee754/dbl-64/e_j0.c (pzero): Return 1.0 for arguments
16345 (qzero): Return -0.125 / x for arguments 0x1p28 and above.
16346 * sysdeps/ieee754/dbl-64/e_j1.c (pzero): Return 1.0 for arguments
16348 (qzero): Return 0.375 / x for arguments 0x1p28 and above.
16349 * math/libm-test.inc (j0_test): Do not allow one spurious
16350 underflow exception.
16351 (y1_test): Likewise.
16353 2013-03-14 Siddhesh Poyarekar <siddhesh@redhat.com>
16355 * manual/Makefile (chapters): Add nptl.
16356 * manual/debug.texi (Debugging Support): Add link to Threads
16358 * manual/nptl.texi: New file.
16360 * sysdeps/unix/sysv/linux/times.c (__times): Fix formatting.
16362 2013-03-14 Petr Baudis <pasky@ucw.cz>
16364 * sysdeps/unix/sysv/linux/times.c (__times): On EFAULT, test
16365 for non-NULL pointer before the memory validity test. Pointed
16366 out by Holger Brunck <holger.brunck@keymile.com>.
16368 2013-03-13 Andreas Schwab <schwab@suse.de>
16370 * extra-lib.mk (extra-objs): Add static-only-routines as .oS
16373 2013-03-13 Joseph Myers <joseph@codesourcery.com>
16375 * timezone/zic.c: Update from tzcode 2013b.
16377 2013-03-12 Carlos O'Donell <carlos@redhat.com>
16379 * manual/install.texi (Configuring and compiling):
16380 Mention i686 and i586.
16381 * INSTALL: Regenerate.
16383 2013-03-12 Roland McGrath <roland@hack.frob.com>
16385 * sysdeps/init_array/elf-init.c: New file.
16387 (__libc_csu_init) [!NO_INITFINI]: Conditionalize _init call on this.
16388 (__libc_csu_fini) [!NO_INITFINI]: Conditionalize _fini call on this.
16390 * csu/gmon-start.c [GMON_START_ARRAY_SECTION]: Don't define
16391 __gmon_start__ as global, but as static with a .preinit_array pointer.
16392 * sysdeps/init_array/gmon-start.c: New file. Use that.
16393 * sysdeps/init_array/crti.S: New file, empty except for comments.
16394 * sysdeps/init_array/crtn.S: Likewise.
16396 2013-03-11 Ondřej Bílka <neleai@seznam.cz>
16398 * sysdeps/x86_64/memset.S: Remove USE_MULTIARCH conditional for
16400 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
16401 Remove Prefer_SSE_for_memop.
16402 * sysdeps/x86_64/multiarch/init-arch.h: Remove
16403 bit_Prefer_SSE_for_memop, index_Prefer_SSE_for_memop,
16404 HAS_PREFER_SSE_FOR_MEMOP.
16405 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove
16407 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
16408 Remove bzero, memset ifunc support.
16409 * sysdeps/x86_64/multiarch/bzero.S: Remove file.
16410 * sysdeps/x86_64/multiarch/memset-x86-64.S: Likewise.
16411 * sysdeps/x86_64/multiarch/memset.S: Likewise.
16412 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
16414 2013-03-11 Andreas Schwab <schwab@suse.de>
16417 * Versions.def (libpthread): Add GLIBC_2.3, so that it can be used
16419 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist
16420 (GLIBC_2.16): Remove pthread_atfork.
16422 2013-03-08 Paul Pluzhnikov <ppluzhnikov@google.com>
16424 * posix/Makefile (testcases.h): Set LC_ALL=C before sed.
16425 (ptestcases.h): Likewise.
16427 2013-03-08 Roland McGrath <roland@hack.frob.com>
16429 * Makeconfig ($(common-objpfx)config.status): Depend on
16430 sysdeps/*/preconfigure{,.in} too.
16432 2013-03-08 Joseph Myers <joseph@codesourcery.com>
16434 * malloc/malloc.h (__malloc_ptr_t): Remove macro.
16435 (__free_hook): Use void * instead of __malloc_ptr_t.
16436 (__malloc_hook): Likewise.
16437 (__realloc_hook): Likewise.
16438 (__memalign_hook): Likewise.
16439 (__after_morecore_hook): Likewise.
16440 * malloc/arena.c (save_malloc_hook): Likewise.
16441 (save_free_hook): Likewise.
16442 * malloc/hooks.c (malloc_hook_ini): Likewise.
16443 (realloc_hook_ini): Likewise.
16444 (memalign_hook_ini): Likewise.
16445 * malloc/malloc.c (malloc_hook_ini): Likewise.
16446 (realloc_hook_ini): Likewise.
16447 (memalign_hook_ini): Likewise.
16448 (__free_hook): Likewise.
16449 (__malloc_hook): Likewise.
16450 (__realloc_hook): Likewise.
16451 (__memalign_hook): Likewise.
16452 (__libc_malloc): Likewise.
16453 (__libc_free): Likewise.
16454 (__libc_realloc): Likewise.
16455 (__libc_memalign): Likewise.
16456 (__libc_valloc): Likewise.
16457 (__libc_pvalloc): Likewise.
16458 (__libc_calloc): Likewise.
16459 (__posix_memalign): Likewise.
16460 * malloc/morecore.c (__sbrk): Likewise.
16461 (__default_morecore): Likewise.
16463 * malloc/morecore.c (__default_morecore): Use ISO C prototype.
16465 * malloc/malloc.h (__malloc_ptrdiff_t): Remove macro.
16466 * malloc/morecore.c (__default_morecore): Use ptrdiff_t instead of
16467 __malloc_ptrdiff_t.
16469 * malloc/malloc.h (__malloc_size_t): Remove macro.
16470 * malloc/mcheck.c (old_malloc_hook): Use size_t instead of
16472 (old_memalign_hook): Likewise.
16473 (old_realloc_hook): Likewise.
16474 (struct hdr): Likewise.
16476 (mallochook): Likewise.
16477 (memalignhook): Likewise.
16478 (reallochook): Likewise.
16479 * malloc/mtrace.c (tr_old_malloc_hook): Likewise.
16480 (tr_old_realloc_hook): Likewise.
16481 (tr_old_memalign_hook): Likewise.
16482 (tr_mallochook): Likewise.
16483 (tr_reallochook): Likewise.
16484 (tr_memalignhook): Likewise.
16486 2013-03-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16488 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_pack): Rename to
16489 default_ldbl_pack and using as default implementation.
16490 (ldbl_unpack): Rename to default_ldbl_unpack and using as default
16492 * sysdeps/powerpc/fpu/math_ldbl.h (ldbl_extract_mantissa): Remove
16493 redundant definition.
16494 (ldbl_insert_mantissa): Likewise.
16495 (ldbl_canonicalize): Likewise.
16496 (ldbl_nearbyint): Likewise.
16497 (ldbl_pack): Rename to ldbl_pack_ppc.
16498 (ldbl_unpack): Rename to ldbl_unpack_ppc.
16499 * sysdeps/unix/sysv/linux/powerpc/Implies: Remove file.
16500 * sysdeps/powerpc/Implies: Add ieee754/ldbl-opt after ieee754/ldbl-128ibm.
16502 2013-03-08 Siddhesh Poyarekar <siddhesh@redhat.com>
16504 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Move file...
16505 * sysdeps/powerpc/power4/fpu/mpa.c: ... here.
16506 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile: Move file...
16507 * sysdeps/powerpc/power4/fpu/Makefile: ... here.
16508 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Remove file.
16509 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile: Remove file.
16510 * sysdeps/powerpc/powerpc32/power4/Implies: New file.
16511 * sysdeps/powerpc/powerpc64/power4/Implies: New file.
16513 2013-03-07 Andreas Jaeger <aj@suse.de>
16515 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
16518 2013-03-07 Siddhesh Poyarekar <siddhesh@redhat.com>
16520 * sysdeps/ieee754/dbl-64/slowexp.c [!USE_LONG_DOUBLE_FOR_MP]:
16521 Include mpa.h and declare __MPEXP.
16522 [USE_LONG_DOUBLE_FOR_MP] (__slowexp): Call __IEEE754_EXPL.
16523 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
16524 (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
16525 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Remove.
16526 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
16527 (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
16528 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Remove.
16530 * sysdeps/ieee754/dbl-64/slowpow.c [USE_LONG_DOUBLE_FOR_MP]
16531 (__slowpow): Use long double EXPL and LOGL functions to
16533 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
16534 (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
16535 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Remove.
16536 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
16537 (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
16538 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Remove.
16540 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Use
16541 intermediate variable to calculate exponent.
16543 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
16547 * sysdeps/ieee754/dbl-64/mpa.c [!NO__MUL]: Define __mul.
16548 [!NO__SQR]: Define __sqr.
16549 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: define NO__MUL
16550 and NO__SQR. Remove all code except __mul and __sqr. Include
16551 sysdeps/ieee754/dbl-64/mpa.c.
16552 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
16555 * posix/Makefile (tests): Add tst-pathconf.
16556 * posix/tst-pathconf.c: New test case.
16557 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Remove
16559 * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Likewise.
16561 2013-03-06 Patsy Franklin <pfrankli@redhat.com>
16563 * io/fcntl.h: Added a comment about AT_EACCESS and AT_REMOVEDIR.
16565 2013-03-06 Andreas Jaeger <aj@suse.de>
16567 * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_ANONYMOUS): Allow
16568 definition via __MAP_ANONYMOUS.
16570 * sysdeps/unix/sysv/linux/s390/bits/mman.h (MAP_GROWSUP): Remove,
16571 it's not part of Linux headers.
16573 * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_HUGE_SHIFT): Define.
16574 (MAP_HUGE_MASK): Define.
16576 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h (PTRACE_O_EXIT_KILL):
16578 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
16579 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h (PTRACE_O_EXIT_KILL):
16581 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
16582 * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_O_EXIT_KILL):
16584 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
16585 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h (PTRACE_O_EXITKILL):
16587 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
16589 * sysdeps/unix/sysv/linux/x86/bits/msq.h (MSG_COPY): Likewise.
16590 * sysdeps/unix/sysv/linux/generic/bits/msq.h (MSG_COPY): Define.
16591 * sysdeps/unix/sysv/linux/powerpc/bits/msq.h (MSG_COPY): Likewise.
16592 * sysdeps/unix/sysv/linux/bits/msq.h (MSG_COPY): Likewise.
16593 * sysdeps/unix/sysv/linux/s390/bits/msq.h (MSG_COPY): Likewise.
16594 * sysdeps/unix/sysv/linux/sparc/bits/msq.h (MSG_COPY): Define.
16596 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
16599 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
16600 Handle f2fs and efivarfs.
16602 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Handle
16605 * sysdeps/unix/sysv/linux/linux_fsinfo.h (F2FS_SUPER_MAGIC): Add.
16606 (EFIVARFS_MAGIC): Add.
16607 (F2FS_LINK_MAX): Add.
16609 2013-03-06 Paul Pluzhnikov <ppluzhnikov@google.com>
16611 * stdio-common/vfprintf.c: Replace __builtin_expect with
16614 2013-03-06 Joseph Myers <joseph@codesourcery.com>
16617 * sysdeps/generic/bp-sym.h: Remove file.
16618 * sysdeps/powerpc/powerpc64/bp-asm.h: Likewise.
16619 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Don't include
16620 <bp-sym.h> and <bp-asm.h>.
16621 (__longjmp): Don't use BP_SYM.
16622 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Don't include <bp-sym.h>
16624 (memcpy): Don't use BP_SYM.
16625 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Don't include
16626 <bp-sym.h> and <bp-asm.h>.
16627 (memcpy): Don't use BP_SYM.
16628 * sysdeps/powerpc/powerpc64/memcpy.S: Don't include <bp-sym.h> and
16630 (memcpy): Don't use BP_SYM.
16631 * sysdeps/powerpc/powerpc64/memset.S: Don't include <bp-sym.h> and
16633 (memset): Don't use BP_SYM.
16634 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
16635 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
16636 (__bzero): Don't use BP_SYM.
16637 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
16638 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
16639 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Don't include
16640 <bp-sym.h> and <bp-asm.h>.
16641 (memcmp): Don't use BP_SYM. Remove comment about bounded
16643 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Don't include
16644 <bp-sym.h> and <bp-asm.h>.
16645 (memcpy): Don't use BP_SYM.
16646 * sysdeps/powerpc/powerpc64/power4/memset.S: Don't include
16647 <bp-sym.h> and <bp-asm.h>.
16648 (memset): Don't use BP_SYM.
16649 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
16650 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
16651 (__bzero): Don't use BP_SYM.
16652 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
16653 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
16654 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Don't include
16655 <bp-sym.h> and <bp-asm.h>.
16656 (strncmp): Don't use BP_SYM. Remove comment about bounded
16658 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Don't include
16659 <bp-sym.h> and <bp-asm.h>.
16660 (memcpy): Don't use BP_SYM.
16661 * sysdeps/powerpc/powerpc64/power6/memset.S: Don't include
16662 <bp-sym.h> and <bp-asm.h>.
16663 (memset): Don't use BP_SYM.
16664 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
16665 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
16666 (__bzero): Don't use BP_SYM.
16667 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
16668 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
16669 * sysdeps/powerpc/powerpc64/power7/memchr.S: Don't include
16670 <bp-sym.h> and <bp-asm.h>.
16671 (__memchr): Don't use BP_SYM.
16672 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Don't include
16673 <bp-sym.h> and <bp-asm.h>.
16674 (memcmp): Don't use BP_SYM. Remove comment about bounded
16676 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Don't include
16677 <bp-sym.h> and <bp-asm.h>.
16678 (memcpy): Don't use BP_SYM.
16679 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Don't include
16680 <bp-sym.h> and <bp-asm.h>.
16681 (__mempcpy): Don't use BP_SYM.
16682 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Don't include
16683 <bp-sym.h> and <bp-asm.h>.
16684 (__memrchr): Don't use BP_SYM.
16685 * sysdeps/powerpc/powerpc64/power7/memset.S: Don't include
16686 <bp-sym.h> and <bp-asm.h>.
16687 (memset): Don't use BP_SYM.
16688 (__bzero): Likewise.
16689 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Don't include
16690 <bp-sym.h> and <bp-asm.h>.
16691 (__rawmemchr): Don't use BP_SYM.
16692 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Don't include
16693 <bp-sym.h> and <bp-asm.h>.
16694 (__STRCMP): Don't use BP_SYM.
16695 * sysdeps/powerpc/powerpc64/power7/strchr.S: Don't include
16696 <bp-sym.h> and <bp-asm.h>.
16697 (strchr): Don't use BP_SYM.
16698 * sysdeps/powerpc/powerpc64/power7/strchrnul.S: Don't include
16699 <bp-sym.h> and <bp-asm.h>.
16700 (__strchrnul): Don't use BP_SYM.
16701 * sysdeps/powerpc/powerpc64/power7/strlen.S: Don't include
16702 <bp-sym.h> and <bp-asm.h>.
16703 (strlen): Don't use BP_SYM.
16704 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Don't include
16705 <bp-sym.h> and <bp-asm.h>.
16706 (strncmp): Don't use BP_SYM. Remove comment about bounded
16708 * sysdeps/powerpc/powerpc64/power7/strnlen.S: Don't include
16709 <bp-sym.h> and <bp-asm.h>.
16710 (__strnlen): Don't use BP_SYM.
16711 * sysdeps/powerpc/powerpc64/setjmp-common.S: Don't include
16712 <bp-sym.h> and <bp-asm.h>.
16713 (__GI__setjmp): Don't use BP_SYM.
16714 (_setjmp): Likewise.
16715 (__sigsetjmp): Likewise.
16716 * sysdeps/powerpc/powerpc64/start.S: Don't include "bp-sym.h".
16717 (L(start_addresses)): Don't use BP_SYM.
16718 (_start): Likewise.
16719 * sysdeps/powerpc/powerpc64/stpcpy.S: Don't include <bp-sym.h> and
16721 (__stpcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW,
16722 STORE_RETURN_BOUNDS, CHECK_BOUNDS_HIGH and STORE_RETURN_VALUE.
16723 (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
16724 (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
16725 * sysdeps/powerpc/powerpc64/strchr.S: Don't include <bp-sym.h> and
16727 (strchr): Don't use BP_SYM, CHECK_BOUNDS_LOW, STORE_RETURN_BOUNDS,
16728 CHECK_BOUNDS_HIGH_RTN and STORE_RETURN_VALUE. Remove comment
16729 about bounded pointers.
16730 (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
16731 (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
16732 * sysdeps/powerpc/powerpc64/strcmp.S: Don't include <bp-sym.h> and
16734 (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove comment
16735 about bounded pointers. Remove GKM FIXME comments.
16736 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
16737 * sysdeps/powerpc/powerpc64/strcpy.S: Don't include <bp-sym.h> and
16739 (strcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW and
16740 STORE_RETURN_BOUNDS. Remove comment about bounded pointers.
16741 Remove GKM FIXME comments.
16742 (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
16743 (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
16744 * sysdeps/powerpc/powerpc64/strlen.S: Don't include <bp-sym.h> and
16746 (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove comment
16747 about bounded pointers. Remove GKM FIXME comment.
16748 * sysdeps/powerpc/powerpc64/strncmp.S: Don't include <bp-sym.h>
16750 (strncmp): Don't use BP_SYM. Remove comment about bounded
16752 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S: Don't include
16753 <bp-sym.h> and <bp-asm.h>.
16754 (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
16755 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Don't include
16756 <bp-sym.h> and <bp-asm.h>.
16757 (__clone): Don't use BP_SYM and DISCARD_BOUNDS. Remove GKM FIXME
16760 2013-03-05 Paul Pluzhnikov <ppluzhnikov@google.com>
16762 * stdio-common/vfprintf.c (vfprintf): Check malloc return; don't
16765 2013-03-05 David S. Miller <davem@davemloft.net>
16767 * po/es.po: Update from translation team.
16769 2013-03-05 Andreas Jaeger <aj@suse.de>
16771 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Include
16772 <bits/mman-linux.h>.
16773 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
16775 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Move include of
16776 <bits/mman-linux.h> to end of file.
16777 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
16779 * sysdeps/unix/sysv/linux/x86/bits/mman.h: Move include of
16780 <bits/mman-linux.h> to end of file.
16781 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
16783 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Move include of
16784 <bits/mman-linux.h> to end of file.
16786 * sysdeps/unix/sysv/linux/bits/mman-linux.h [!MCL_CURRENT]
16787 (MCL_CURRENT, MCL_FUTURE): Define here.
16789 2013-03-05 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
16792 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Use
16794 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
16796 2013-03-05 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
16798 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Set the
16799 fourth parameter needed for rt_sigprocmask syscall.
16800 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S:
16801 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
16802 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Likewise.
16803 * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
16804 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
16805 * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Define _NSIG8.
16807 2013-03-04 Joseph Myers <joseph@codesourcery.com>
16810 * sysdeps/powerpc/powerpc32/power4/strncmp.S (strncmp): Remove
16811 comment about bounded pointers.
16812 * sysdeps/powerpc/powerpc32/power7/strncmp.S (strncmp): Likewise.
16813 * sysdeps/powerpc/powerpc32/strncmp.S (strncmp): Likewise.
16815 2013-03-04 Andreas Jaeger <aj@suse.de>
16817 * sysdeps/unix/sysv/linux/bits/mman-linux.h: New file, with Linux
16818 common definitions.
16820 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Remove all defines
16821 provided by bits/mman-linux.h and include <bits/mman-linux.h>.
16822 * sysdeps/unix/sysv/linux/x86/bits/mman.h: Likewise.
16823 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
16824 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
16825 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
16827 2013-03-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16830 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Use
16831 __ieee754_sqrl instead of __sqrl.
16833 2013-03-01 Joseph Myers <joseph@codesourcery.com>
16835 * sysdeps/powerpc/fpu/fpu_control.h: Move to ...
16836 * sysdeps/powerpc/fpu_control.h: ... here.
16837 * sysdeps/powerpc/fpu/bits/fenvinline.h: Move to ...
16838 * sysdeps/powerpc/bits/fenvinline.h: ... here.
16839 * sysdeps/powerpc/fpu/bits/mathinline.h: Move to ...
16840 * sysdeps/powerpc/bits/mathinline.h: ... here.
16842 2013-03-01 Roland McGrath <roland@hack.frob.com>
16844 * elf/dl-hwcaps.c (_dl_important_hwcaps):
16845 Change [NEED_DL_SYSINFO || NEED_DL_SYSINFO_DSO] conditionals
16846 to just [NEED_DL_SYSINFO_DSO].
16847 * elf/dl-support.c: Likewise.
16848 * elf/dl-sysdep.c (_dl_sysdep_start): Likewise.
16849 * elf/rtld.c (dl_main): Likewise.
16850 * elf/setup-vdso.h (setup_vdso): Likewise.
16851 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Likewise.
16852 * sysdeps/unix/sysv/linux/dl-sysdep.c
16853 (_dl_discover_osversion): Likewise.
16855 2013-03-01 Carlos O'Donell <carlos@redhat.com>
16857 * csu/libc-start.c (__pthread_initialize_minimal): Revert last change.
16858 * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
16860 2013-03-01 Siddhesh Poyarekar <siddhesh@redhat.com>
16862 * NEWS: Mention libm performance improvements and non-x86 PI
16865 * csu/libc-start.c (__pthread_initialize_minimal): Change
16866 function arguments.
16867 * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
16869 2013-02-28 Joseph Myers <joseph@codesourcery.com>
16872 * sysdeps/powerpc/powerpc32/bp-asm.h: Remove file.
16873 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Don't include
16874 <bp-sym.h> and <bp-asm.h>.
16875 (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
16876 * sysdeps/powerpc/powerpc32/a2/memcpy.S: Don't include <bp-sym.h>
16878 (memcpy): Don't use BP_SYM.
16879 * sysdeps/powerpc/powerpc32/add_n.S: Don't include <bp-sym.h> and
16881 (__mpn_add_n): Don't use BP_SYM.
16882 (__mpn_add_n) [__BOUNDED_POINTERS_]: Remove conditional code.
16883 * sysdeps/powerpc/powerpc32/addmul_1.S: Don't include <bp-sym.h>
16885 (__mpn_addmul_1): Don't use BP_SYM.
16886 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
16887 * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Don't include
16889 (_setjmp): Don't use BP_SYM.
16890 (__novmx_setjmp): Likewise.
16891 (__GI__setjmp): Likewise.
16892 (__vmx_setjmp): Likewise.
16893 * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Don't include
16895 * sysdeps/powerpc/powerpc32/bzero.S: Don't include <bp-sym.h>.
16896 (__bzero): Don't use BP_SYM.
16897 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
16898 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
16899 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Don't include
16900 <bp-sym.h> and <bp-asm.h>.
16901 (memcpy): Don't use BP_SYM.
16902 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Don't include
16903 <bp-sym.h> and <bp-asm.h>.
16904 (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
16905 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Don't include
16906 <bp-sym.h> and <bp-asm.h>.
16907 (__sigsetjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
16908 * sysdeps/powerpc/powerpc32/lshift.S: Don't include <bp-sym.h> and
16910 (__mpn_lshift): Don't use BP_SYM.
16911 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
16912 * sysdeps/powerpc/powerpc32/memset.S: Don't include <bp-sym.h> and
16914 (memset): Don't use BP_SYM.
16915 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
16916 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
16917 * sysdeps/powerpc/powerpc32/mul_1.S: Don't include <bp-sym.h> and
16919 (__mpn_mul_1): Don't use BP_SYM.
16920 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
16921 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Don't include
16922 <bp-sym.h> and <bp-asm.h>.
16923 (memcmp): Don't use BP_SYM.
16924 * sysdeps/powerpc/powerpc32/power4/memcpy.S: Don't include
16925 <bp-sym.h> and <bp-asm.h>.
16926 (memcpy): Don't use BP_SYM.
16927 * sysdeps/powerpc/powerpc32/power4/memset.S: Don't include
16928 <bp-sym.h> and <bp-asm.h>.
16929 (memset): Don't use BP_SYM.
16930 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't include
16931 <bp-sym.h> and <bp-asm.h>.
16932 (strncmp): Don't use BP_SYM.
16933 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Don't include
16934 <bp-sym.h> and <bp-asm.h>.
16935 (memcpy): Don't use BP_SYM.
16936 * sysdeps/powerpc/powerpc32/power6/memset.S: Don't include
16937 <bp-sym.h> and <bp-asm.h>.
16938 (memset): Don't use BP_SYM.
16939 * sysdeps/powerpc/powerpc32/power7/memchr.S: Don't include
16940 <bp-sym.h> and <bp-asm.h>.
16941 (__memchr): Don't use BP_SYM.
16942 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Don't include
16943 <bp-sym.h> and <bp-asm.h>.
16944 (memcmp): Don't use BP_SYM.
16945 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Don't include
16946 <bp-sym.h> and <bp-asm.h>.
16947 (memcpy): Don't use BP_SYM.
16948 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Don't include
16949 <bp-sym.h> and <bp-asm.h>.
16950 (__mempcpy): Don't use BP_SYM.
16951 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Don't include
16952 <bp-sym.h> and <bp-asm.h>.
16953 (__memrchr): Don't use BP_SYM.
16954 * sysdeps/powerpc/powerpc32/power7/memset.S: Don't include
16955 <bp-sym.h> and <bp-asm.h>.
16956 (memset): Don't use BP_SYM.
16957 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Don't include
16958 <bp-sym.h> and <bp-asm.h>.
16959 (__rawmemchr): Don't use BP_SYM.
16960 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Don't include
16961 <bp-sym.h> and <bp-asm.h>.
16962 (__STRCMP): Don't use BP_SYM.
16963 * sysdeps/powerpc/powerpc32/power7/strchr.S: Don't include
16964 <bp-sym.h> and <bp-asm.h>.
16965 (strchr): Don't use BP_SYM.
16966 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Don't include
16967 <bp-sym.h> and <bp-asm.h>.
16968 (__strchrnul): Don't use BP_SYM.
16969 * sysdeps/powerpc/powerpc32/power7/strlen.S: Don't include
16970 <bp-sym.h> and <bp-asm.h>.
16971 (strlen): Don't use BP_SYM.
16972 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Don't include
16973 <bp-sym.h> and <bp-asm.h>.
16974 (strncmp): Don't use BP_SYM.
16975 * sysdeps/powerpc/powerpc32/power7/strnlen.S: Don't include
16976 <bp-sym.h> and <bp-asm.h>.
16977 (__strnlen): Don't use BP_SYM.
16978 * sysdeps/powerpc/powerpc32/rshift.S: Don't include <bp-sym.h> and
16980 (__mpn_rshift): Don't use BP_SYM.
16981 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
16982 * sysdeps/powerpc/powerpc32/setjmp-common.S: Don't include
16983 <bp-sym.h> and <bp-asm.h>.
16984 (__sigsetjmp): Don't use BP_SYM.
16985 * sysdeps/powerpc/powerpc32/start.S: Don't include "bp-sym.h".
16986 (L(start_addresses)): Don't use BP_SYM.
16987 (_start): Likewise.
16988 * sysdeps/powerpc/powerpc32/stpcpy.S: Don't include <bp-sym.h> and
16990 (__stpcpy): Don't use BP_SYM and macros from bp-asm.h.
16991 (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
16992 (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
16993 * sysdeps/powerpc/powerpc32/strchr.S: Don't include <bp-sym.h> and
16995 (strchr): Don't use BP_SYM.h and macros from bp-asm.h.
16996 (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
16997 (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
16998 * sysdeps/powerpc/powerpc32/strcmp.S: Don't include <bp-sym.h> and
17000 (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove GKM FIXME
17002 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
17003 * sysdeps/powerpc/powerpc32/strcpy.S: Don't include <bp-sym.h> and
17005 (strcpy): Don't use BP_SYM and macros from bp-asm.h. Remove GKM
17007 (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
17008 (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
17009 * sysdeps/powerpc/powerpc32/strlen.S: Don't include <bp-sym.h> and
17011 (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove GKM FIXME
17013 * sysdeps/powerpc/powerpc32/strncmp.S: Don't include <bp-sym.h>
17015 (strncmp): Don't use BP_SYM,
17016 * sysdeps/powerpc/powerpc32/sub_n.S: Don't include <bp-sym.h> and
17018 (__mpn_sub_n): Don't use BP_SYM.
17019 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
17020 * sysdeps/powerpc/powerpc32/submul_1.S: Don't include <bp-sym.h>
17022 (__mpn_submul_1): Don't use BP_SYM.
17023 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
17024 * sysdeps/unix/sysv/linux/powerpc/powerpc32/brk.S: Don't include
17025 <bp-sym.h> and <bp-asm.h>.
17026 (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
17027 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Don't include
17028 <bp-sym.h> and <bp-asm.h>.
17029 (__clone): Don't use BP_SYM and DISCARD_BOUNDS. Remove GKM FIXME
17032 2013-02-28 Siddhesh Poyarekar <siddhesh@redhat.com>
17034 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (add_magnitudes):
17035 Use ZK to minimize writes to Z.
17036 (sub_magnitudes): Simplify code a bit.
17037 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (add_magnitudes):
17038 Use ZK to minimize writes to Z.
17039 (sub_magnitudes): Simplify code a bit.
17041 2013-02-27 Roland McGrath <roland@hack.frob.com>
17043 * csu/gmon-start.c: Add special exception to license text.
17045 2013-02-27 Richard Henderson <rth@redhat.com>
17047 * scripts/config.guess: Update from config.git.
17048 * scripts/config.sub: Likewise.
17050 2013-02-27 Siddhesh Poyarekar <siddhesh@redhat.com>
17052 * sysdeps/ieee754/dbl-64/mpsqrt.c: Reformat.
17054 * sysdeps/ieee754/dbl-64/mpatan2.c: Reformat.
17056 * sysdeps/ieee754/dbl-64/mpatan.c: Reformat.
17058 * sysdeps/ieee754/dbl-64/mptan.c: Reformat.
17060 * sysdeps/ieee754/dbl-64/mplog.c: Reformat.
17062 2013-02-26 Roland McGrath <roland@hack.frob.com>
17064 * Makeconfig (%.v.i, %.v): Move these pattern rules outside of
17065 [$(build-shared = yes].
17067 2013-02-26 Siddhesh Poyarekar <siddhesh@redhat.com>
17069 * sysdeps/ieee754/dbl-64/mpa.c: Include alloca.h.
17070 (__mul): Reduce iterations for calculating mantissa.
17072 * sysdeps/ieee754/dbl-64/sincos32.c (__c32): Use MPONE and
17074 (__mpranred): Likewise.
17077 * malloc/memusagestat.c (main): Draw graphs for heap and stack
17078 only if MAXSIZE_HEAP and MAXSIZE_STACK are non-zero.
17080 2013-02-26 Paul Eggert <eggert@cs.ucla.edu>
17082 * posix/regex_internal.h [__GNUC__ < 3 + (__GNUC_MINOR__ < 1]:
17083 Define __attribute__.
17085 2013-02-26 Siddhesh Poyarekar <siddhesh@redhat.com>
17087 * locale/elem-hash.h (elem_hash): Mark as pure and possibly
17089 * posix/regex_internal.h (__attribute): Remove.
17090 [!_LIBC && __i386__]: Use __attribute__ instead of __attribute.
17091 (re_string_context_at): Likewise.
17092 (bitset_not): Use __attribute__ and mark function as possibly
17094 (bitset_merge): Likewise.
17095 (bitset_mask): Likewise.
17096 (re_string_char_size_at): Likewise.
17097 (re_string_wchar_at): Likewise.
17098 (re_string_elem_size_at): Likewise.
17100 2013-02-25 Siddhesh Poyarekar <siddhesh@redhat.com>
17102 * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Remove commented
17106 * sysdeps/ieee754/dbl-64/mpa.c (mcr): Use long instead of int.
17110 (denorm): Likewise.
17111 (__dbl_mp): Likewise.
17112 (add_magnitudes): Likewise.
17113 (sub_magnitudes): Likewise.
17117 * sysdeps/ieee754/dbl-64/slowexp.c: Reformat in GNU coding
17120 * sysdeps/ieee754/dbl-64/slowpow.c: Reformat in GNU coding
17123 * sysdeps/ieee754/dbl-64/slowexp.c (__slowexp): Remove commented
17126 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mp_dbl): Sync
17127 up changes with default code.
17128 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mp_dbl):
17131 2013-02-24 Allan McRae <allan@archlinux.org>
17133 * manual/socket.texi (The Internet Namespace): Order menu items
17134 to match that in the file.
17136 * manual/libc-texinfo.sh: Use @detailmenu around the detailed
17137 node listing of the info page menu.
17139 2013-02-21 Joseph Myers <joseph@codesourcery.com>
17142 * sysdeps/i386/bp-asm.h: Remove file.
17143 * sysdeps/i386/add_n.S: Do not include "bp-sym.h" and "bp-asm.h".
17144 (PARMS): Do not use macros from bp-asm.h.
17148 (__mpn_add_n): Do not use BP_SYM
17149 * sysdeps/i386/addmul_1.S: Do not include "bp-sym.h" and
17151 (PARMS): Do not use macros from bp-asm.h.
17154 (__mpn_addmul_1): Do not use BP_SYM
17155 * sysdeps/i386/bsd-_setjmp.S: Do not include "bp-sym.h" and
17157 (PARMS): Do not use macros from bp-asm.h.
17158 (SIGMSK): Likewise.
17159 (_setjmp): Likewise. Do not use BP_SYM.
17160 * sysdeps/i386/bsd-setjmp.S: Do not include "bp-sym.h" and
17162 (PARMS): Do not use macros from bp-asm.h.
17163 (SIGMSK): Likewise.
17164 (setjmp): Likewise. Do not use BP_SYM.
17165 * sysdeps/i386/fpu/s_frexp.S: Do not include "bp-sym.h" and
17167 (PARMS): Do not use macros from bp-asm.h.
17168 (__frexp): Do not use BP_SYM.
17170 * sysdeps/i386/fpu/s_frexpf.S: Do not include "bp-sym.h" and
17172 (PARMS): Do not use macros from bp-asm.h.
17173 (__frexpf): Do not use BP_SYM.
17174 (frexpf): Likewise.
17175 * sysdeps/i386/fpu/s_frexpl.S: Do not include "bp-sym.h" and
17177 (PARMS): Do not use macros from bp-asm.h.
17178 (__frexpl): Do not use BP_SYM.
17179 (frexpl): Likewise.
17180 * sysdeps/i386/fpu/s_remquo.S: Do not include "bp-sym.h" and
17182 (PARMS): Do not use macros from bp-asm.h.
17183 (__remquo): Do not use BP_SYM.
17184 (remquo): Likewise.
17185 * sysdeps/i386/fpu/s_remquof.S: Do not include "bp-sym.h" and
17187 (PARMS): Do not use macros from bp-asm.h.
17188 (__remquof): Do not use BP_SYM.
17189 (remquof): Likewise.
17190 * sysdeps/i386/fpu/s_remquol.S: Do not include "bp-sym.h" and
17192 (PARMS): Do not use macros from bp-asm.h.
17193 (__remquol): Do not use BP_SYM.
17194 (remquol): Likewise.
17195 * sysdeps/i386/i486/strcat.S: Do not include "bp-sym.h" and
17197 (PARMS): Do not use macros from bp-asm.h.
17200 (strcat): Remove GKM FIXME comment. Do not use BP_SYM.
17201 * sysdeps/i386/i486/strlen.S: Do not include "bp-sym.h" and
17203 (PARMS): Do not use macros from bp-asm.h.
17204 (strlen): Do not use BP_SYM.
17205 * sysdeps/i386/i586/add_n.S: Do not include "bp-sym.h" and
17207 (PARMS): Do not use macros from bp-asm.h.
17211 (__mpn_add_n): Do not use BP_SYM.
17212 * sysdeps/i386/i586/addmul_1.S: Do not include "bp-sym.h" and
17214 (PARMS): Do not use macros from bp-asm.h.
17217 (__mpn_addmul_1): Do not use BP_SYM.
17218 * sysdeps/i386/i586/bzero.S (__bzero): Do not use BP_SYM in
17221 * sysdeps/i386/i586/lshift.S: Do not include "bp-sym.h" and
17223 (PARMS): Do not use macros from bp-asm.h.
17226 (__mpn_lshift): Do not use BP_SYM.
17227 * sysdeps/i386/i586/memcpy.S: Do not include "bp-sym.h" and
17229 (PARMS): Do not use macros from bp-asm.h.
17233 (memcpy): Likewise. Do not use BP_SYM.
17234 * sysdeps/i386/i586/mempcpy.S (__mempcpy): Do not use BP_SYM in
17235 libc_hidden_def and weak_alias.
17236 (mempcpy): Do not use BP_SYM in weak_alias.
17237 * sysdeps/i386/i586/memset.S: Do not include "bp-sym.h" and
17239 (PARMS): Do not use macros from bp-asm.h.
17242 [!BZERO_P] (CHR): Likewise.
17243 (memset): Likewise. Do not use BP_SYM.
17244 * sysdeps/i386/i586/mul_1.S: Do not include "bp-sym.h" and
17246 (PARMS): Do not use macros from bp-asm.h.
17249 (__mpn_mul_1): Do not use BP_SYM.
17250 * sysdeps/i386/i586/rshift.S: Do not include "bp-sym.h" and
17252 (PARMS): Do not use macros from bp-asm.h.
17255 (__mpn_rshift): Do not use BP_SYM.
17256 * sysdeps/i386/i586/strchr.S: Do not include "bp-sym.h" and
17258 (PARMS): Do not use macros from bp-asm.h.
17261 (strchr): Likewise. Do not use BP_SYM.
17262 (index): Do not use BP_SYM in weak_alias.
17263 * sysdeps/i386/i586/strcpy.S: Do not include "bp-sym.h" and
17265 (PARMS): Do not use macros from bp-asm.h.
17268 (STRCPY): Likewise. Remove GKM FIXME comment. Do not use BP_SYM.
17269 * sysdeps/i386/i586/strlen.S: Do not include "bp-sym.h" and
17271 (PARMS): Do not use macros from bp-asm.h.
17272 (strlen): Do not use BP_SYM.
17273 * sysdeps/i386/i586/sub_n.S: Do not include "bp-sym.h" and
17275 (PARMS): Do not use macros from bp-asm.h.
17279 (__mpn_sub_n): Do not use BP_SYM.
17280 * sysdeps/i386/i586/submul_1.S: Do not include "bp-sym.h" and
17282 (PARMS): Do not use macros from bp-asm.h.
17285 (__mpn_submul_1): Do not use BP_SYM.
17286 * sysdeps/i386/i686/add_n.S: Do not include "bp-sym.h" and
17288 (PARMS): Do not use macros from bp-asm.h.
17292 (__mpn_add_n): Do not use BP_SYM.
17293 * sysdeps/i386/i686/bzero.S (__bzero): Do not use BP_SYM in
17296 * sysdeps/i386/i686/memcmp.S: Do not include "bp-sym.h" and
17298 (PARMS): Do not use macros from bp-asm.h.
17301 (memcmp): Do not use BP_SYM.
17302 (bcmp): Do not use BP_SYM in weak_alias.
17303 * sysdeps/i386/i686/memcpy.S: Do not include "bp-sym.h" and
17305 (PARMS): Do not use macros from bp-asm.h.
17309 (memcpy): Likewise. Do not use BP_SYM.
17310 * sysdeps/i386/i686/memmove.S: Do not include "bp-sym.h" and
17312 (PARMS): Do not use macros from bp-asm.h.
17316 (memmove): Likewise. Do not use BP_SYM.
17317 * sysdeps/i386/i686/mempcpy.S: Do not include "bp-sym.h" and
17319 (PARMS): Do not use macros from bp-asm.h.
17323 (__mempcpy): Likewise. Do not use BP_SYM.
17324 (mempcpy): Do not use BP_SYM in weak_alias.
17325 * sysdeps/i386/i686/memset.S: Do not include "bp-sym.h" and
17327 (PARMS): Do not use macros from bp-asm.h.
17330 [!BZERO_P] (CHR): Likewise.
17331 (memset): Likewise. Do not use BP_SYM.
17332 * sysdeps/i386/i686/strcmp.S: Do not include "bp-sym.h" and
17334 (PARMS): Do not use macros from bp-asm.h.
17336 (strcmp): Do not use BP_SYM.
17337 * sysdeps/i386/i686/strtok.S: Do not include "bp-sym.h" and
17339 (PARMS): Do not use macros from bp-asm.h.
17342 [USE_AS_STRTOK_R] (SAVE): Likewise.
17343 (FUNCTION): Likewise. Do not use BP_SYM.
17344 * sysdeps/i386/i686/strtok_r.S (__strtok_r): Do not use BP_SYM in
17346 (strtok_r): Likewise.
17347 (__GI___strtok_r): Likewise.
17348 * sysdeps/i386/lshift.S: Do not include "bp-sym.h" and "bp-asm.h".
17349 (PARMS): Do not use macros from bp-asm.h.
17352 (__mpn_lshift): Do not use BP_SYM.
17353 * sysdeps/i386/memchr.S: Do not include "bp-sym.h" and "bp-asm.h".
17354 (PARMS): Do not use macros from bp-asm.h.
17357 (__memchr): Do not use BP_SYM.
17358 (memchr): Do not use BP_SYM in weak_alias.
17359 * sysdeps/i386/memcmp.S: Do not include "bp-sym.h" and "bp-asm.h".
17360 (PARMS): Do not use macros from bp-asm.h.
17363 (memcmp): Do not use BP_SYM.
17364 (bcmp): Do not use BP_SYM in weak_alias.
17365 * sysdeps/i386/mul_1.S: Do not include "bp-sym.h" and "bp-asm.h".
17366 (PARMS): Do not use macros from bp-asm.h.
17369 (__mpn_mul_1): Do not use BP_SYM.
17370 * sysdeps/i386/rawmemchr.S: Do not include "bp-sym.h" and
17372 (PARMS): Do not use macros from bp-asm.h.
17375 (__rawmemchr): Do not use BP_SYM.
17376 (rawmemchr): Do not use BP_SYM in weak_alias.
17377 * sysdeps/i386/rshift.S: Do not include "bp-sym.h" and "bp-asm.h".
17378 (PARMS): Do not use macros from bp-asm.h.
17381 (__mpn_rshift): Do not use BP_SYM.
17382 * sysdeps/i386/setjmp.S: Do not include "bp-sym.h" and "bp-asm.h".
17383 (PARMS): Do not use macros from bp-asm.h.
17384 (SIGMSK): Likewise.
17385 (__sigsetjmp): Likewise. Do not use BP_SYM.
17386 * sysdeps/i386/start.S: Do not include "bp-sym.h".
17387 (_start): Do not use BP_SYM.
17388 * sysdeps/i386/stpcpy.S: Do not include "bp-sym.h" and "bp-asm.h".
17389 (PARMS): Do not use macros from bp-asm.h.
17392 (__stpcpy): Likewise. Do not use BP_SYM.
17393 (stpcpy): Do not use BP_SYM in weak_alias.
17394 * sysdeps/i386/stpncpy.S: Do not include "bp-sym.h" and
17396 (PARMS): Do not use macros from bp-asm.h.
17400 (__stpncpy): Likewise. Do not use BP_SYM.
17401 (stpncpy): Do not use BP_SYM in weak_alias.
17402 * sysdeps/i386/strchr.S: Do not include "bp-sym.h" and "bp-asm.h".
17403 (PARMS): Do not use macros from bp-asm.h.
17406 (strchr): Likewise. Do not use BP_SYM.
17407 * sysdeps/i386/strchrnul.S: Do not include "bp-sym.h" and
17409 (PARMS): Do not use macros from bp-asm.h.
17412 (__strchrnul): Likewise. Do not use BP_SYM.
17413 (strchrnul): Do not use BP_SYM in weak_alias.
17414 * sysdeps/i386/strcspn.S: Do not include "bp-sym.h" and
17416 (PARMS): Do not use macros from bp-asm.h.
17418 (strcspn): Do not use BP_SYM.
17419 * sysdeps/i386/strpbrk.S: Do not include "bp-sym.h" and
17421 (PARMS): Do not use macros from bp-asm.h.
17424 (strpbrk): Likewise. Do not use BP_SYM.
17425 * sysdeps/i386/strrchr.S: Do not include "bp-sym.h" and
17427 (PARMS): Do not use macros from bp-asm.h.
17430 (strrchr): Likewise. Do not use BP_SYM.
17431 * sysdeps/i386/strspn.S: Do not include "bp-sym.h" and "bp-asm.h".
17432 (PARMS): Do not use macros from bp-asm.h.
17434 (strspn): Do not use BP_SYM.
17435 * sysdeps/i386/strtok.S: Do not include "bp-sym.h" and "bp-asm.h".
17436 (PARMS): Do not use macros from bp-asm.h.
17440 (FUNCTION): Likewise. Do not use BP_SYM.
17441 * sysdeps/i386/strtok_r.S (__strtok_r): Do not use BP_SYM in
17443 (strtok_r): Likewise.
17444 (__GI___strtok_r): Likewise.
17445 * sysdeps/i386/sub_n.S: Do not include "bp-sym.h" and "bp-asm.h".
17446 (PARMS): Do not use macros from bp-asm.h.
17450 (__mpn_sub_n): Do not use BP_SYM.
17451 * sysdeps/i386/submul_1.S: Do not include "bp-sym.h" and
17453 (PARMS): Do not use macros from bp-asm.h.
17456 (__mpn_submul_1): Do not use BP_SYM.
17457 * sysdeps/unix/i386/sysdep.S: Do not include <bp-asm.h> and
17459 * sysdeps/unix/sysv/linux/i386/clone.S: Do not include <bp-sym.h>
17461 (PARMS): Do not use macros from bp-asm.h.
17466 (__clone): Do not use BP_SYM.
17467 (clone): Do not use BP_SYM in weak_alias.
17468 * sysdeps/unix/sysv/linux/i386/mmap64.S: Do not include <bp-sym.h>
17470 (PARMS): Do not use macros from bp-asm.h.
17472 (__mmap64): Do not use BP_SYM.
17473 (mmap64): Do not use BP_SYM in weak_alias.
17474 * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
17475 <bp-sym.h> and <bp-asm.h>.
17476 (PARMS): Do not use macros from bp-asm.h.
17477 (__posix_fadvise64_l64): Do not use BP_SYM.
17478 * sysdeps/unix/sysv/linux/i386/semtimedop.S
17479 (PARMS): Do not use macros from bp-asm.h.
17481 (semtimedop): Do not use BP_SYM.
17482 * sysdeps/unix/sysv/linux/i386/sysdep.h: Do not include <bp-sym.h>
17485 2013-02-21 Allan McRae <allan@archlinux.org>
17487 * manual/message.texi (Charset conversion in gettext):
17488 Move @end statement to beginning of line.
17490 2013-02-21 Siddhesh Poyarekar <siddhesh@redhat.com>
17492 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Mark as
17494 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
17497 * sysdeps/ieee754/dbl-64/mpa.c (norm): Fix whitespace.
17498 (denorm): Likewise.
17499 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (norm): Likewise.
17500 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (norm): Likewise.
17502 2013-02-21 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
17504 * sysdeps/s390/s390-32/dl-trampoline.S (_dl_runtime_profile): Do a
17505 tail-call to the resolved function if pltexit isn't needed.
17507 2013-02-21 Siddhesh Poyarekar <siddhesh@redhat.com>
17509 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Mark X
17510 or Y being zero as being unlikely.
17511 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
17514 2013-02-20 Carlos O'Donell <carlos@redhat.com>
17516 * manual/nss.texi (System Databases and Name Service Switch):
17517 Remove frobnicate @pxref.
17519 2013-02-20 Thomas Schwinge <thomas@codesourcery.com>
17521 * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
17522 __attribute__ ((unused)) to __attribute__ ((__unused__)).
17524 2013-02-20 Petr Machata <pmachata@redhat.com>
17526 * elf/elf.h (R_ARM_TARGET1): New macro.
17527 (R_ARM_SBREL31, R_ARM_V4BX, R_ARM_TARGET2): Likewise.
17528 (R_ARM_PREL31, R_ARM_MOVW_ABS_NC, R_ARM_MOVT_ABS): Likewise.
17529 (R_ARM_MOVW_PREL_NC, R_ARM_MOVT_PREL): Likewise.
17530 (R_ARM_THM_MOVW_ABS_NC, R_ARM_THM_MOVT_ABS): Likewise.
17531 (R_ARM_THM_MOVW_PREL_NC, R_ARM_THM_MOVT_PREL): Likewise.
17532 (R_ARM_THM_JUMP19, R_ARM_THM_JUMP6): Likewise.
17533 (R_ARM_THM_ALU_PREL_11_0, R_ARM_THM_PC12): Likewise.
17534 (R_ARM_ABS32_NOI, R_ARM_REL32_NOI): Likewise.
17535 (R_ARM_ALU_PC_G0_NC, R_ARM_ALU_PC_G0): Likewise.
17536 (R_ARM_ALU_PC_G1_NC, R_ARM_ALU_PC_G1): Likewise.
17537 (R_ARM_ALU_PC_G2, R_ARM_LDR_PC_G1, R_ARM_LDR_PC_G2): Likewise.
17538 (R_ARM_LDRS_PC_G0, R_ARM_LDRS_PC_G1): Likewise.
17539 (R_ARM_LDRS_PC_G2, R_ARM_LDC_PC_G0): Likewise.
17540 (R_ARM_LDC_PC_G1, R_ARM_LDC_PC_G2): Likewise.
17541 (R_ARM_ALU_SB_G0_NC, R_ARM_ALU_SB_G0): Likewise.
17542 (R_ARM_ALU_SB_G1_NC, R_ARM_ALU_SB_G1): Likewise.
17543 (R_ARM_ALU_SB_G2, R_ARM_LDR_SB_G0, R_ARM_LDR_SB_G1): Likewise.
17544 (R_ARM_LDR_SB_G2, R_ARM_LDRS_SB_G0): Likewise.
17545 (R_ARM_LDRS_SB_G1, R_ARM_LDRS_SB_G2): Likewise.
17546 (R_ARM_LDC_SB_G0, R_ARM_LDC_SB_G1, R_ARM_LDC_SB_G2): Likewise.
17547 (R_ARM_MOVW_BREL_NC, R_ARM_MOVT_BREL): Likewise.
17548 (R_ARM_MOVW_BREL, R_ARM_THM_MOVW_BREL_NC): Likewise.
17549 (R_ARM_THM_MOVT_BREL, R_ARM_THM_MOVW_BREL): Likewise.
17550 (R_ARM_PLT32_ABS, R_ARM_GOT_ABS, R_ARM_GOT_PREL): Likewise.
17551 (R_ARM_GOT_BREL12, R_ARM_GOTOFF12, R_ARM_GOTRELAX): Likewise.
17552 (R_ARM_TLS_LDO12, R_ARM_TLS_LE12, R_ARM_TLS_IE12GP): Likewise.
17553 (R_ARM_PRIVATE_0, R_ARM_PRIVATE_1, R_ARM_PRIVATE_2): Likewise.
17554 (R_ARM_PRIVATE_3, R_ARM_PRIVATE_4, R_ARM_PRIVATE_5): Likewise.
17555 (R_ARM_PRIVATE_6, R_ARM_PRIVATE_7, R_ARM_PRIVATE_8): Likewise.
17556 (R_ARM_PRIVATE_9, R_ARM_PRIVATE_10): Likewise.
17557 (R_ARM_PRIVATE_11, R_ARM_PRIVATE_12): Likewise.
17558 (R_ARM_PRIVATE_13, R_ARM_PRIVATE_14): Likewise.
17559 (R_ARM_PRIVATE_15, R_ARM_ME_TOO): Likewise.
17560 (R_ARM_THM_TLS_DESCSEQ16, R_ARM_THM_TLS_DESCSEQ32): Likewise.
17561 (R_ARM_THM_GOT_BREL12): Likewise.
17562 (R_ARM_PC24, R_ARM_PLT32): Updated a comment at this macro.
17563 (R_ARM_THM_PC11, R_ARM_THM_PC9): Likewise.
17564 (R_ARM_THM_ABS5, R_ARM_THM_PC22): Added a comment to this macro.
17565 (R_ARM_THM_PC8, R_ARM_THM_SWI8, R_ARM_XPC25): Likewise.
17566 (R_ARM_THM_XPC22, R_ARM_ALU_PCREL_7_0): Likewise.
17567 (R_ARM_ALU_PCREL_15_8, R_ARM_ALU_PCREL_23_15): Likewise.
17568 (R_ARM_LDR_SBREL_11_0, R_ARM_ALU_SBREL_19_12): Likewise.
17569 (R_ARM_ALU_SBREL_27_20, R_ARM_TLS_DESCSEQ): Likewise.
17570 (R_ARM_THM_TLS_DESCSEQ): Fixed whitespace.
17572 2013-02-20 Thomas Schwinge <thomas@codesourcery.com>
17574 * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
17575 __attribute_used__ to __attribute__ ((unused)).
17577 2013-02-20 Siddhesh Poyarekar <siddhesh@redhat.com>
17579 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Copy over comment from
17581 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Fix
17582 comment formatting.
17583 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul): Likewise.
17585 2013-02-19 Joseph Myers <joseph@codesourcery.com>
17588 * sysdeps/i386/bp-asm.h [__BOUNDED_POINTERS__] (BOUNDS_VIOLATED):
17590 (ENTER): Remove both macro definitions.
17592 (CHECK_BOUNDS_LOW): Likewise.
17593 (CHECK_BOUNDS_HIGH): Likewise.
17594 (CHECK_BOUNDS_BOTH): Likewise.
17595 (CHECK_BOUNDS_BOTH_WIDE): Likewise.
17596 (RETURN_BOUNDED_POINTER): Likewise.
17597 (RETURN_NULL_BOUNDED_POINTER): Likewise.
17598 (PUSH_ERRNO_LOCATION_RETURN): Likewise.
17599 (POP_ERRNO_LOCATION_RETURN): Likewise.
17600 * sysdeps/i386/add_n.S (__mpn_add_n): Do not use removed macros.
17601 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
17602 * sysdeps/i386/addmul_1.S (__mpn_addmul_1): Do not use removed
17604 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
17605 * sysdeps/i386/bsd-_setjmp.S (_setjmp): Do not use removed macros.
17606 * sysdeps/i386/bsd-setjmp.S (setjmp): Likewise.
17607 * sysdeps/i386/fpu/s_frexp.S (__frexp): Likewise.
17608 * sysdeps/i386/fpu/s_frexpf.S (__frexpf): Likewise.
17609 * sysdeps/i386/fpu/s_frexpl.S (__frexpl): Likewise.
17610 * sysdeps/i386/fpu/s_remquo.S (__remquo): Likewise.
17611 * sysdeps/i386/fpu/s_remquof.S (__remquof): Likewise.
17612 * sysdeps/i386/fpu/s_remquol.S (__remquol): Likewise.
17613 * sysdeps/i386/i486/strcat.S (strcat): Likewise.
17614 * sysdeps/i386/i486/strlen.S (strlen): Likewise.
17615 * sysdeps/i386/i586/add_n.S (__mpn_add_n): Likewise.
17616 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
17617 * sysdeps/i386/i586/addmul_1.S (__mpn_addmul_1): Do not use
17619 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
17620 * sysdeps/i386/i586/lshift.S (__mpn_lshift): Do not use removed
17622 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
17623 * sysdeps/i386/i586/memcpy.S (memcpy): Do not use removed macros.
17624 * sysdeps/i386/i586/memset.S (memset): Likewise.
17625 * sysdeps/i386/i586/mul_1.S (__mpn_mul_1): Likewise.
17626 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
17627 * sysdeps/i386/i586/rshift.S (__mpn_rshift): Do not use removed
17629 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
17630 * sysdeps/i386/i586/strchr.S (strchr): Do not use removed macros.
17631 Change uses of L(2) to L(out).
17632 * sysdeps/i386/i586/strcpy.S (STRCPY): Do not use removed macros.
17633 * sysdeps/i386/i586/strlen.S (strlen): Likewise.
17634 * sysdeps/i386/i586/sub_n.S (__mpn_sub_n): Likewise.
17635 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
17636 * sysdeps/i386/i586/submul_1.S (__mpn_submul_1): Do not use
17638 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
17639 * sysdeps/i386/i686/add_n.S (__mpn_add_n): Do not use removed
17641 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
17642 * sysdeps/i386/i686/memcmp.S (ENTRANCE): Do not use macro ENTER.
17643 (RETURN): Do not use macro LEAVE.
17644 * sysdeps/i386/i686/memcpy.S (memcpy): Do not use removed macros.
17645 * sysdeps/i386/i686/memmove.S (memmove): Likewise.
17646 * sysdeps/i386/i686/mempcpy.S (mempcpy): Likewise.
17647 * sysdeps/i386/i686/memset.S (memset): Likewise.
17648 * sysdeps/i386/i686/strcmp.S (strcmp): Likewise.
17649 (strcmp) [!__BOUNDED_POINTERS__]: Make code unconditional.
17650 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
17651 * sysdeps/i386/i686/strtok.S (save_ptr) [__BOUNDED_POINTERS__]:
17653 (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
17654 (FUNCTION): Do not use removed macros. Combine labels L(1_1),
17655 L(1_2) and L(1_3) into L(1).
17656 (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
17657 * sysdeps/i386/lshift.S (__mpn_lshift): Do not use removed macros.
17658 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
17659 * sysdeps/i386/memchr.S (__memchr): Do not use removed macros.
17660 (__memchr) [__BOUNDED_POINTERS__]: Remove conditional code.
17661 * sysdeps/i386/memcmp.S (memcmp): Do not use removed macros.
17662 * sysdeps/i386/mul_1.S (__mpn_mul_1): Likewise.
17663 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
17664 * sysdeps/i386/rawmemchr.S (__rawmemchr): Do not use removed
17666 * sysdeps/i386/rshift.S (__mpn_rshift): Likewise.
17667 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
17668 * sysdeps/i386/setjmp.S (__sigsetjmp): Do not use removed macros.
17669 * sysdeps/i386/stpcpy.S (__stpcpy): Likewise.
17670 * sysdeps/i386/stpncpy.S (__stpncpy): Likewise.
17671 (__stpncpy) [__BOUNDED_POINTERS__]: Remove conditional code.
17672 * sysdeps/i386/strchr.S (strchr): Do not use removed macros.
17673 * sysdeps/i386/strchrnul.S (__strchrnul): Likewise.
17674 * sysdeps/i386/strcspn.S (strcspn): Likewise.
17675 * sysdeps/i386/strpbrk.S (strpbrk): Likewise.
17676 * sysdeps/i386/strrchr.S (strrchr): Likewise.
17677 * sysdeps/i386/strspn.S (strspn): Likewise.
17678 * sysdeps/i386/strtok.S (save_ptr) [__BOUNDED_POINTERS__]: Remove
17680 (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
17681 (FUNCTION) [!__BOUNDED_POINTERS__]: Likewise.
17682 (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
17683 (FUNCTION): Do not use removed macros. Combine labels L(1_2) and
17684 L(1_3) into L(1_1).
17685 * sysdeps/i386/sub_n.S (__mpn_sub_n): Do not use removed macros.
17686 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
17687 * sysdeps/i386/submul_1.S (__mpn_submul_1): Do not use removed
17689 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
17691 2013-02-19 Jakub Jelinek <jakub@redhat.com>
17693 * stdlib/strtod_l.c (__mpn_lshift_1): Rewritten as function-like
17696 2013-02-19 Siddhesh Poyarekar <siddhesh@redhat.com>
17698 * math/atest-exp.c (exp_mpn): Remove ROUND.
17699 * math/atest-exp2.c (exp_mpn): Likewise.
17700 * math/atest-sincos.c (sincosx_mpn): Remove ROUND and CHK.
17702 * stdlib/cxa_thread_atexit_impl.c: Fix Copyright year.
17703 * stdlib/tst-tls-atexit-lib.c: Likewise.
17704 * stdlib/tst-tls-atexit.c: Likewise.
17706 2013-02-18 Mike Frysinger <vapier@gentoo.org>
17708 * stdlib/stdlib.h (aligned_alloc): Use __attribute_malloc__
17709 and __attribute_alloc_size__.
17711 2013-02-18 Mike Frysinger <vapier@gentoo.org>
17713 * include/programs/xmalloc.h: Change __attribute_alloc_size to
17714 __attribute_alloc_size__.
17715 * include/sys/cdefs.h (__attribute_alloc_size): Macro removed.
17716 * misc/sys/cdefs.h (__attribute_alloc_size__): New macro.
17718 2013-02-18 Mike Frysinger <vapier@gentoo.org>
17720 * include/programs/xmalloc.h: New file.
17721 * catgets/gencat.c: Include it.
17722 (xmalloc, xcalloc, xrealloc, xstrdup): Don't declare them.
17723 * elf/pldd.c: Likewise.
17724 * iconv/iconv_charmap.c: Likewise.
17725 * iconv/iconvconfig.c: Likewise.
17726 * iconv/strtab.c: Likewise.
17727 * locale/programs/locale.c: Likewise.
17728 * locale/programs/localedef.h: Likewise.
17729 * locale/programs/simple-hash.c: Likewise.
17730 * nscd/nscd.h: Likewise.
17731 * nss/makedb.c: Likewise.
17732 * sysdeps/generic/ldconfig.h: Likewise.
17734 2013-02-18 Siddhesh Poyarekar <siddhesh@redhat.com>
17736 * Versions.def: Add GLIBC_2.18.
17737 * include/link.h (struct link_map): New member l_tls_dtor_count.
17738 * include/stdlib.h (__cxa_thread_atexit_impl): Declare.
17739 (__call_tls_dtors): Likewise.
17740 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add
17741 __cxa_thread_atexit_impl.
17742 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
17744 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
17746 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
17748 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
17750 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
17751 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist:
17753 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist:
17755 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
17756 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
17758 * stdlib/Makefile (routines): Add __cxa_thread_atexit_impl.
17759 (tests): Add test case tst-tls-atexit.
17760 (modules-names): Add shared library for tst-tls-atexit.
17761 * stdlib/Versions (GLIBC_2.18): Add __cxa_thread_atexit_impl.
17762 (GLIBC_PRIVATE): Add __call_tls_dtors.
17763 * stdlib/cxa_thread_atexit_impl.c: New file with helper function
17765 * stdlib/exit.c (__run_exit_handlers): Call __call_tls_dtors.
17766 * stdlib/tst-tls-atexit.c: New test case.
17767 * stdlib/tst-tls-atexit-lib.c: New test case.
17769 * misc/tst-pselect.c: Include stdlib.h for declaration of exit.
17771 * elf/Versions (ld): Add _dl_find_dso_for_object.
17772 * elf/dl-addr.c (_dl_addr): Use _dl_find_dso_for_object.
17773 * elf/dl-open.c (_dl_find_dso_for_object): New function.
17774 (dl_open_worker): Use _dl_find_dso_for_object.
17775 * elf/dl-sym.c (do_sym): Likewise.
17776 * sysdeps/generic/ldsodefs.h: Declare _dl_find_dso_for_object.
17778 2013-02-18 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
17780 * sysdeps/s390/s390-64/dl-trampoline.S (_dl_runtime_resolve):
17781 Syntactic changes only.
17782 (_dl_runtime_profile): Do a tail-call to the resolved function.
17784 2013-02-17 Joseph Myers <joseph@codesourcery.com>
17787 * sysdeps/x86_64/bp-asm.h: Remove file.
17788 * sysdeps/unix/sysv/linux/x86_64/clone.S: Do not include
17789 <bp-sym.h> and <bp-asm.h>.
17790 (__clone): Do not use BP_SYM.
17791 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Do not include
17792 <bp-sym.h> and <bp-asm.h>.
17793 * sysdeps/unix/x86_64/sysdep.S: Likewise.
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/bsd-setjmp.S: Do not include "bp-sym.h" and
17799 (setjmp): Do not use BP_SYM.
17800 * sysdeps/x86_64/mempcpy.S (__mempcpy): Do not use BP_SYM in
17802 (mempcpy): Do not use BP_SYM in weak_alias.
17803 * sysdeps/x86_64/rtld-strchr.S: Do not include "bp-sym.h" and
17805 (strchr): Do not use BP_SYM.
17806 * sysdeps/x86_64/rtld-strlen.S: Do not include "bp-sym.h" and
17808 * sysdeps/x86_64/setjmp.S (__sigsetjmp): Do not use BP_SYM.
17809 * sysdeps/x86_64/start.S: Do not include "bp-sym.h".
17810 (_start): Do not use BP_SYM.
17811 * sysdeps/x86_64/strcat.S: Do not include "bp-sym.h" and
17813 (strcat): Do not use BP_SYM.
17814 * sysdeps/x86_64/strcmp.S: Do not include "bp-sym.h" and
17816 (STRCMP): Do not use BP_SYM.
17817 * sysdeps/x86_64/strcpy.S: Do not include "bp-sym.h" and
17819 (STRCPY): Do not use BP_SYM.
17820 * sysdeps/x86_64/strcpy_chk.S: Do not include "bp-sym.h" and
17822 * sysdeps/x86_64/strtok.S: Do not include "bp-sym.h" and
17824 (FUNCTION): Do not use BP_SYM.
17825 * sysdeps/x86_64/strtok_r.S (strtok_r): Do not use BP_SYM in
17827 (__GI___strtok_r): Do not use BP_SYM in strong_alias.
17829 2013-02-17 Andreas Jaeger <aj@suse.de>
17831 * time/Versions: Sort entries.
17832 * string/Versions: Likewise.
17833 * resolv/Versions: Likewise.
17834 * posix/Versions: Likewise.
17835 * iconv/Versions: Likewise.
17836 * elf/Versions: Likewise.
17837 * wcsmbs/Versions: Likewise.
17839 2013-02-15 Siddhesh Poyarekar <siddhesh@redhat.com>
17841 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Avoid using LIM in
17842 loop termination condition.
17844 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Use intermediate
17845 variable to calculate EZ.
17848 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Fix determination of
17849 the lower precision input.
17851 2013-02-15 Joseph Myers <joseph@codesourcery.com>
17854 * Makeconfig [!+link-bounded] (+link-bounded): Remove variable.
17855 [!link-extra-libs] (link-extra-libs-bounded): Likewise.
17856 (run-via-rtld-prefix): Do not handle %-bp tests.
17857 (test-via-rtld-prefix): Do not mention %-bp tests in comment.
17858 (all-object-suffixes): Remove .ob.
17859 (bppfx): Remove variable.
17860 [$(build-bounded) = yes] (object-suffixes): Do not add .ob.
17861 [$(build-bounded) = yes] (CPPFLAGS-.ob): Remove variable.
17862 [$(build-bounded) = yes] (CFLAGS-.ob): Likewise.
17863 [$(build-bounded) = yes] (libtype.ob): Likewise.
17864 * Makerules (elide-routines.ob): Remove variable.
17865 (do-tests-clean): Do not handle *-bp.out.
17866 (common-mostlyclean): Do not handle *-bp and *-bp.out.
17867 * Rules [$(build-bounded) = yes] (tests-bp.out): Remove variable.
17868 [$(build-bounded) = yes] (xtests-bp.out): Likewise.
17869 (tests): Do not include $(tests-bp.out).
17870 (xtests): Do not include $(xtests-bp.out).
17871 [$(build-bounded) = yes] (binaries-bounded): Remove variable.
17872 [$(build-bounded) = yes] ($(addprefix
17873 $(objpfx),$(binaries-bounded))): Remove rule.
17874 ($(objpfx)%-bp.out): Remove rule.
17875 * config.make.in (build-bounded): Remove variable.
17876 * crypt/Makefile [$(build-bounded) = yes]
17877 ($(tests:%=$(objpfx)%-bp)): Remove dependency.
17878 * csu/Makefile [$(build-bounded) = yes] (extra-objs): Do not
17879 append to variable.
17880 [$(build-bounded) = yes] (install-lib): Likewise.
17881 [$(build-bounded) = yes] (generated): Likewise.
17882 [!start-installed-name-rule] ($(objpfx)b$(start-installed-name)):
17884 * intl/Makefile [$(build-bounded) = yes]
17885 ($(multithread-test-srcs:%=$(objpfx)%-bp)): Remove dependency.
17886 * math/Makefile [$(build-bounded) = yes]
17887 ($(tests:%=$(objpfx)%-bp): Likewise.
17888 * misc/Makefile [$(build-bounded) = yes]
17889 ($(objpfx)tst-tsearch-bp): Likewise.
17890 * nptl/Makeconfig (bounded-thread-library): Remove variable.
17891 * rt/Makefile [$(build-bounded) = yes] ($(tests:%=$(objpfx)%-bp)):
17893 * string/Makefile (o-objects.ob): Remove variable.
17894 * sysdeps/i386/i686/Makefile [$(config-asflags-i686) = yes]
17895 (CFLAGS-.ob): Remove variable.
17896 [$(config-asflags-i686) = yes] (ASFLAGS-.ob): Likewise.
17897 * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-.ob): Remove
17898 both definitions of variable.
17899 * sysdeps/sparc/sparc64/Makefile [$(have-as-vis3) = yes]
17900 (ASFLAGS-.ob): Remove variable.
17902 2013-02-14 Joseph Myers <joseph@codesourcery.com>
17905 * config.h.in [USE_REGPARMS && !PROF && !__BOUNDED_POINTERS__]:
17906 Remove __BOUNDED_POINTERS__ from condition.
17907 * elf/dl-runtime.c [!PROF && !__BOUNDED_POINTERS__]: Likewise.
17908 * string/bits/string2.h [!__NO_STRING_INLINES &&
17909 !__BOUNDED_POINTERS__]: Likewise.
17910 * sysdeps/i386/dl-machine.h [!PROF && !__BOUNDED_POINTERS__]:
17912 * sysdeps/unix/sysv/linux/shmat.c (shmat) [__BOUNDED_POINTERS__]:
17913 Remove conditional code.
17914 * sysdeps/x86/bits/string.h [!__NO_STRING_INLINES &&
17915 __USE_STRING_INLINES && __GNUC__ && __GNUC__ >= 2 &&
17916 !__BOUNDED_POINTERS__]: Remove __BOUNDED_POINTERS__ from
17920 * csu/libc-start.c: Do not include <bp-sym.h>.
17921 [!LIBC_START_MAIN] (LIBC_START_MAIN): Do not use BP_SYM.
17922 * elf/dl-open.c: Do not include <bp-sym.h>.
17923 (_dl_sysdep_start): Do not use BP_SYM in weak_extern.
17924 * math/fegetenv.c: Do not include <bp-sym.h>.
17925 (fegetenv): Do not use BP_SYM in versioned symbols.
17926 * nptl/sysdeps/pthread/bits/libc-lockP.h
17927 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]: Do not include
17929 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
17930 (__pthread_mutex_init): Do not use BP_SYM in weak_extern.
17931 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
17932 (__pthread_mutex_destroy): Likewise.
17933 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
17934 (__pthread_mutex_lock): Likewise.
17935 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
17936 (__pthread_mutex_trylock): Likewise.
17937 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
17938 (__pthread_mutex_unlock): Likewise.
17939 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
17940 (__pthread_mutexattr_init): Likewise.
17941 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
17942 (__pthread_mutexattr_destroy): Likewise.
17943 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
17944 (__pthread_mutexattr_settype): Likewise.
17945 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
17946 (__pthread_rwlock_init): Likewise.
17947 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
17948 (__pthread_rwlock_destroy): Likewise.
17949 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
17950 (__pthread_rwlock_rdlock): Likewise.
17951 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
17952 (__pthread_rwlock_tryrdlock): Likewise.
17953 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
17954 (__pthread_rwlock_wrlock): Likewise.
17955 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
17956 (__pthread_rwlock_trywrlock): Likewise.
17957 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
17958 (__pthread_rwlock_unlock): Likewise.
17959 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
17960 (__pthread_key_create): Likewise.
17961 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
17962 (__pthread_setspecific): Likewise.
17963 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
17964 (__pthread_getspecific): Likewise.
17965 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern] (__pthread_once):
17967 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
17968 (_pthread_cleanup_push_defer): Likewise.
17969 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
17970 (_pthread_cleanup_pop_restore): Likewise.
17971 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
17972 (pthread_setcancelstate): Likewise.
17973 * string/memchr.c [HAVE_BP_SYM_H || _LIBC]: Do not include
17975 [!(HAVE_BP_SYM_H || _LIBC)] (BP_SYM): Remove macro definition.
17976 (memchr): Do not use BP_SYM in weak_alias.
17977 * sysdeps/i386/fpu/fegetenv.c: Do not include <bp-sym.h>.
17978 (fegetenv): Do not use BP_SYM in versioned symbols.
17979 * sysdeps/i386/fpu/fesetenv.c: Do not include <bp-sym.h>.
17980 (fesetenv): Do not use BP_SYM in versioned symbols.
17981 * sysdeps/i386/fpu/feupdateenv.c: Do not include <bp-sym.h>.
17982 (feupdateenv): Do not use BP_SYM in versioned symbols.
17983 * sysdeps/i386/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
17984 (fesetexceptflag): Do not use BP_SYM in versioned symbols.
17985 * sysdeps/posix/open64.c: Do not include <bp-sym.h>.
17986 (__open64): Do not use BP_SYM in weak_alias and libc_hidden_weak.
17987 (open64): Do not use BP_SYM in weak_alias.
17988 * sysdeps/powerpc/fpu/fegetenv.c: Do not include <bp-sym.h>.
17989 (fegetenv): Do not use BP_SYM in versioned symbols.
17990 * sysdeps/powerpc/fpu/fesetenv.c: Do not include <bp-sym.h>.
17991 (fesetenv): Do not use BP_SYM in versioned symbols.
17992 * sysdeps/powerpc/fpu/feupdateenv.c: Do not include <bp-sym.h>.
17993 (feupdateenv): Do not use BP_SYM in versioned symbols.
17994 * sysdeps/powerpc/fpu/fgetexcptflg.c: Do not include <bp-sym.h>.
17995 (fegetexceptflag): Do not use BP_SYM in versioned symbols.
17996 * sysdeps/powerpc/fpu/fraiseexcpt.c: Do not include <bp-sym.h>.
17997 (feraiseexcept): Do not use BP_SYM in versioned symbols.
17998 * sysdeps/powerpc/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
17999 (fesetexceptflag): Do not use BP_SYM in versioned symbols.
18000 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Do not include
18002 (__libc_start_main): Do not use BP_SYM.
18004 2013-02-14 Siddhesh Poyarekar <siddhesh@redhat.com>
18006 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cpy): Remove
18007 redundant return line.
18009 (denorm): Likewise.
18010 (dbl_mp): Likewise.
18011 (sub_magnitudes): Likewise.
18017 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cpy): Likewise.
18019 (denorm): Likewise.
18020 (dbl_mp): Likewise.
18021 (sub_magnitudes): Likewise.
18028 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use __sqr
18030 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
18031 * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Likewise.
18034 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): New function.
18035 * sysdeps/ieee754/dbl-64/mpa.h (__sqr): Declare.
18036 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): use __sqr instead
18037 of __mul for squares.
18038 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__sqr): New
18040 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__sqr):
18042 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define __sqr.
18043 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
18045 2013-02-13 Joseph Myers <joseph@codesourcery.com>
18048 * misc/sys/cdefs.h [!__BOUNDED_POINTERS__]: Remove conditional
18050 * csu/libc-start.c (LIBC_START_MAIN): Do not use __unbounded in
18051 prototype or function definition. Rename ubp_* variables and
18052 parameters. Remove argv definitions conditional on
18053 [__BOUNDED_POINTERS__].
18054 * debug/backtrace.c (__backtrace): Do not use __unbounded.
18055 * elf/dl-runtime.c (_dl_fixup): Likewise.
18056 * include/set-hooks.h (RUN_HOOK): Likewise.
18057 * stdio-common/vfprintf.c (JUMP): Do not use __unbounded in either
18059 * string/strcpy.c (strcpy): Do not use __unbounded.
18060 * sysdeps/generic/frame.h (struct layout): Likewise.
18061 * sysdeps/gnu/bits/msq.h (struct msqid_ds): Likewise.
18062 * sysdeps/i386/dl-machine.h (_dl_fixup): Likewise.
18063 * sysdeps/powerpc/powerpc32/backtrace.c (struct layout): Likewise.
18064 * sysdeps/powerpc/powerpc64/backtrace.c (struct layout): Likewise.
18065 * sysdeps/sparc/backtrace.c (struct layout): Likewise.
18066 (__backtrace): Likewise.
18067 * sysdeps/unix/sysv/linux/aio_sigqueue.c (__aio_sigqueue): Do not
18069 * sysdeps/unix/sysv/linux/fxstat.c (__fxstat): Likewise.
18070 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
18071 * sysdeps/unix/sysv/linux/gai_sigqueue.c (__gai_sigqueue):
18073 * sysdeps/unix/sysv/linux/i386/brk.c (__brk): Likewise.
18074 * sysdeps/unix/sysv/linux/i386/fxstat.c (__fxstat): Likewise.
18075 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
18076 * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
18077 * sysdeps/unix/sysv/linux/i386/msgctl.c (struct __old_msqid_ds):
18078 Do not use __unbounded.
18079 * sysdeps/unix/sysv/linux/i386/setrlimit.c (__new_setrlimit):
18080 Rename __unboundedrlimits parameter to rlimits in prototype.
18081 * sysdeps/unix/sysv/linux/i386/shmctl.c (struct __old_shmid_ds):
18082 Do not use __unbounded.
18083 * sysdeps/unix/sysv/linux/i386/sigaction.c (__libc_sigaction): Do
18084 not use __ptrvalue.
18085 * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
18086 * sysdeps/unix/sysv/linux/llseek.c (__llseek): Likewise.
18087 * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
18088 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Do not use
18089 __ptrvalue or __unbounded.
18090 (__mmap64) [__BOUNDED_POINTERS__]: Remove conditional code.
18091 * sysdeps/unix/sysv/linux/msgctl.c (struct __old_msqid_ds): Do not
18093 (__new_msgctl): Do not use __ptrvalue.
18094 * sysdeps/unix/sysv/linux/msgrcv.c (struct ipc_kludge): Do not use
18096 (__libc_msgrcv): Do not use __ptrvalue.
18097 * sysdeps/unix/sysv/linux/powerpc/libc-start.c (struct
18098 startup_info): Do not use __unbounded.
18099 (__libc_start_main): Likewise. Rename ubp_* variables and
18100 parameters. Remove argv definitions conditional on
18101 [__BOUNDED_POINTERS__].
18102 * sysdeps/unix/sysv/linux/ptrace.c (ptrace): Do not use
18104 * sysdeps/unix/sysv/linux/semctl.c (struct __old_semid_ds): Do not
18106 * sysdeps/unix/sysv/linux/shmat.c (shmat): Do not use __unbounded
18108 * sysdeps/unix/sysv/linux/shmctl.c (struct __old_shmid_ds): Do not
18110 (__new_shmctl): Do not use __ptrvalue.
18111 * sysdeps/unix/sysv/linux/shmdt.c (shmdt): Likewise.
18112 * sysdeps/unix/sysv/linux/sigaction.c (__libc_sigaction):
18114 * sysdeps/unix/sysv/linux/sigqueue.c (__sigqueue): Likewise.
18115 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c
18116 (__libc_sigaction): Likewise.
18117 * sysdeps/unix/sysv/linux/sysctl.c (__sysctl): Likewise.
18118 * sysdeps/unix/sysv/linux/x86_64/sigaction.c (__libc_sigaction):
18120 * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
18122 2013-02-13 Ondřej Bílka <neleai@seznam.cz>
18124 * stdlib/Makefile (headers): Add bits/stdlib-bsearch.h.
18126 * string/mempcpy.c: Implement by calling memcpy.
18128 2013-02-13 Siddhesh Poyarekar <siddhesh@redhat.com>
18130 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove NFA.
18132 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Faster polynomial
18135 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Don't bother with zero
18136 values in the mantissa.
18138 * sysdeps/ieee754/dbl-64/mpa.c (add_magnitudes): Use ZK to
18139 minimize writes to Z.
18140 (sub_magnitudes): Simplify code a bit.
18142 2013-02-12 Roland McGrath <roland@hack.frob.com>
18144 * include/libc-symbols.h (stub_warning): Remove "warning: " prefix
18145 from the message. The linker prefixes all warnings with that already.
18147 2013-02-12 Andreas Schwab <schwab@suse.de>
18150 * posix/regexec.c (extend_buffers): Add parameter min_len.
18151 (check_matching): Pass minimum needed length.
18152 (clean_state_log_if_needed): Likewise.
18153 (get_subexp): Likewise.
18154 * posix/Makefile (tests): Add bug-regex34.
18155 (bug-regex34-ENV): Define.
18156 * posix/bug-regex34.c: New file.
18159 * posix/regcomp.c (parse_bracket_exp): When looking up collating
18160 elements compare against the byte sequence of it, not its name.
18161 * posix/Makefile (tests): Add bug-regex35.
18162 (bug-regex35-ENV): Define.
18163 * posix/bug-regex35.c: New file.
18165 2013-02-11 Tom de Vries <tom@codesourcery.com>
18167 * string/str-two-way.h: Fix typo RESULT_TYPE -> RETURN_TYPE in
18169 Add RET0_IF_0 and CHECK_EOL to macro list in comment.
18170 (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J): Remove superfluous undef.
18171 (CHECK_EOL): Add undef.
18173 2013-02-11 Ondřej Bílka <neleai@seznam.cz>
18175 * bits/stdlib-bsearch.h: New file.
18176 * stdlib/bsearch.c: Include bits/stdlib-bsearch.h.
18177 * stdlib/stdlib.h: Likewise.
18179 2013-02-11 Roland McGrath <roland@hack.frob.com>
18181 * manual/conf.texi (General Limits): Fix SSIZE_MAX type to ssize_t.
18182 * manual/errno.texi (Error Messages): Fix typo in error_print_progname
18184 * manual/search.texi (Array Search Function): Add missing const in
18186 * manual/resource.texi (Limits on Resources): Fix RLIM_INFINITY
18187 declaration to use rlim_t.
18188 (Basic Scheduling Functions): Remove erroneous const from
18189 sched_getparam prototype. Remove erroneous * from
18190 sched_get_priority_max and sched_get_priority_min prototypes.
18191 (Resource Usage): Fix summary @comment on vtimes to refer to
18192 sys/vtimes.h rather than vtimes.h.
18193 Add missing *s in vtimes prototype.
18194 (Limits on Resources): Fix ulimit prototype to return long int.
18195 * manual/math.texi (SVID Random): Fix lrand48_r and mrand48_r
18196 prototypes to use long int rather than double.
18197 (BSD Random): Fix initstate and setstate to use char *, not void *.
18198 * manual/llio.texi (Asynchronous Reads/Writes): Fix lio_listio64
18199 prototype to make second argument 'struct aiocb64 *const[]'.
18200 Fix aio_read64 and aio_write64 prototypes to use struct aiocb64.
18201 (Status of AIO Operations): Remove erroneous const in aio_return and
18202 aio_return64 prototypes.
18203 (Synchronizing I/O): Fix sync prototype to return void.
18204 * manual/startup.texi (Suboptions): Remove an erroneous const in
18205 getsubopt prototype.
18206 * manual/getopt.texi (Using Getopt): Add a const in getopt prototype.
18207 * manual/users.texi (Lookup Netgroup): Fix getnetgrent_r prototype to
18208 use size_t rather than int.
18209 (Scanning All Users): Likewise for getpwent_r.
18210 (Setting Groups): Add missing const to setgroups prototype.
18211 * manual/sysinfo.texi (mtab): Fix typo in getmntent_r prototype.
18212 * manual/socket.texi (Host Names): Fix gethostbyaddr and
18213 gethostbyaddr_r prototypes to use socklen_t rather than size_t and
18214 'const void *' rather than 'const char *'.
18215 (Host Address Functions): Likewise for inet_ntop.
18216 (Networks Database): Fix getnetbyaddr prototype to use uint32_t.
18217 (Receiving Data): Fix recv, recvfrom, recvmsg prototypes to use
18218 ssize_t for return value.
18219 (Sending Data): Likewise for send, sendto, sendmsg.
18220 (Socket Option Functions): Add a missing const in setsockopt prototype.
18221 * manual/stdio.texi (Simple Output): Fix fputwc_unlocked prototype to
18222 use wchar_t for the argument.
18223 (Formatted Input Functions): Fix swscanf prototype to use wchar_t *.
18224 * manual/arith.texi (Control Functions): Fix fegetexcept prototype to
18226 (Normalization Functions): Fix scalb, scalbf, scalbl prototypes to use
18227 double/float/long double for second argument.
18228 Fix return types of significand, significandf, significandl.
18229 * manual/filesys.texi (Setting Permissions): Use mode_t for second
18230 argument in fchmod prototype.
18231 (File Owner): Use uid_t and gid_t in fchown prototype.
18232 (File Times): Add const to utimes, futimes, and lutimes prototypes.
18233 (Making Special Files): Use mode_t and dev_t in mknod prototype.
18234 (Scanning Directory Content): Fix scandir and scandir64 prototypes to
18235 use 'const struct dirent **' as argument types to CMP function pointer
18237 (Symbolic Links): Fix readlink prototype with ssize_t as return value.
18238 (File Times): Fix summary magic @comment for struct utimbuf and utime
18239 to refer to utime.h, not time.h.
18240 * manual/string.texi (Argz Functions): Add missing const in
18241 argz_extract and argz_next prototypes.
18242 (Finding Tokens in a String): Likewise for basename.
18243 (String/Array Comparison): Fix typo in wcscasecmp prototype.
18244 (Copying and Concatenation): Fix typo in wmemmove prototype.
18245 * manual/signal.texi (Using Pause): Use (void) in pause prototype.
18246 (Signal Stack): Remove erroneous const in sigstack prototype.
18247 * manual/time.texi (Setting an Alarm): Add missing const in setitimer
18249 (Simple Calendar Time): Likewise for stime.
18250 * manual/terminal.texi (BSD Terminal Modes): Add missing const in stty
18252 * manual/sysinfo.texi (System Parameters): Fix mentions of sysctl.h to
18253 say sys/sysctl.h instead.
18254 * manual/syslog.texi (syslog; vsyslog): Add missing const in syslog
18255 and vsyslog prototypes.
18257 2013-02-11 Tom de Vries <tom@codesourcery.com>
18259 * string/Makefile (CFLAGS-bug-strstr1.c, CFLAGS-bug-strcasestr1.c):
18262 2013-02-11 Roland McGrath <roland@hack.frob.com>
18264 * misc/sys/mman.h: Fix typo in mremap comment.
18266 2013-02-08 Roland McGrath <roland@hack.frob.com>
18268 * manual/examples/mkfsock.c (make_named_socket): Don't add one for
18269 the '\0' terminator.
18271 2013-02-08 Joseph Myers <joseph@codesourcery.com>
18274 * debug/segfault.c: Don't include <bp-checks.h>.
18275 * sysdeps/generic/bp-checks.h: Remove file.
18276 * sysdeps/unix/sysv/linux/getdents.c: Don't include <bp-checks.h>.
18277 (__GETDENTS): Don't use CHECK_N.
18278 * sysdeps/unix/sysv/linux/i386/brk.c: Don't include <bp-checks.h>.
18279 * sysdeps/unix/sysv/linux/i386/getgroups.c: Likewise.
18280 (__getgroups): Don't use CHECK_N.
18281 * sysdeps/unix/sysv/linux/i386/setgroups.c: Likewise.
18282 (setgroups): Don't use CHECK_N.
18283 * sysdeps/unix/sysv/linux/mmap64.c: Don't include <bp-checks.h>.
18284 * sysdeps/unix/sysv/linux/msgrcv.c: Likewise.
18285 (__libc_msgrcv): Don't use CHECK_N.
18286 * sysdeps/unix/sysv/linux/msgsnd.c: Don't include <bp-checks.h>.
18287 (__libc_msgsnd): Don't use CHECK_N.
18288 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Don't include
18290 (__libc_pread): Don't use CHECK_N.
18291 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Don't
18292 include <bp-checks.h>.
18293 (__libc_pread64): Don't use CHECK_N.
18294 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Don't
18295 include <bp-checks.h>.
18296 (__libc_pwrite): Don't use CHECK_N.
18297 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Don't
18298 include <bp-checks.h>.
18299 (__libc_pwrite64): Don't use CHECK_N.
18300 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Don't include
18302 (__libc_pread): Don't use CHECK_N.
18303 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Don't
18304 include <bp-checks.h>.
18305 (__libc_pread64): Don't use CHECK_N.
18306 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Don't
18307 include <bp-checks.h>.
18308 (__libc_pwrite): Don't use CHECK_N.
18309 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Don't
18310 include <bp-checks.h>.
18311 (__libc_pwrite64): Don't use CHECK_N.
18312 * sysdeps/unix/sysv/linux/pread.c: Don't include <bp-checks.h>.
18313 (do_pread): Don't use CHECK_N.
18314 * sysdeps/unix/sysv/linux/pread64.c: Don't include <bp-checks.h>.
18315 (do_pread64): Don't use CHECK_N.
18316 * sysdeps/unix/sysv/linux/pwrite.c: Don't include <bp-checks.h>.
18317 (do_pwrite): Don't use CHECK_N.
18318 * sysdeps/unix/sysv/linux/pwrite64.c: Don't include <bp-checks.h>.
18319 (do_pwrite64): Don't use CHECK_N.
18320 * sysdeps/unix/sysv/linux/readv.c: Don't include <bp-checks.h>.
18321 (__libc_readv): Don't use CHECK_N.
18322 * sysdeps/unix/sysv/linux/semop.c: Don't include <bp-checks.h>.
18323 (semop): Don't use CHECK_N.
18324 * sysdeps/unix/sysv/linux/semtimedop.c: Don't include
18326 (semtimedop): Don't use CHECK_N.
18327 * sysdeps/unix/sysv/linux/sh/pread.c: Don't include <bp-checks.h>.
18328 (__libc_pread): Don't use CHECK_N.
18329 * sysdeps/unix/sysv/linux/sh/pread64.c: Don't include
18331 (__libc_pread64): Don't use CHECK_N.
18332 * sysdeps/unix/sysv/linux/sh/pwrite.c: Don't include
18334 (__libc_pwrite): Don't use CHECK_N.
18335 * sysdeps/unix/sysv/linux/sh/pwrite64.c: Don't include
18337 (__libc_pwrite64): Don't use CHECK_N.
18338 * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c: Don't include
18340 (__libc_msgrcv): Don't use CHECK_N.
18341 * sysdeps/unix/sysv/linux/sysctl.c: Don't include <bp-checks.h>.
18342 (__sysctl): Don't use CHECK_N. Remove GKM FIXME comment.
18343 * sysdeps/unix/sysv/linux/writev.c: Don't include <bp-checks.h>.
18344 (__libc_writev): Don't use CHECK_N.
18346 2013-02-08 Roland McGrath <roland@hack.frob.com>
18348 * string/strcpy.c: Removed unused variable.
18350 * Makeconfig (+sysdep-includes): Define with := rather than =.
18351 Use an existing include/ subdir of each sysdeps dir before it.
18353 2013-02-08 Carlos O'Donell <carlos@redhat.com>
18355 * nscd/connection.c (register_traced_file): Comment function.
18356 [HAVE_INOTIFY] (union __inev): Define.
18357 [HAVE_INOTIFY] (inotify_check_files): New function.
18358 [HAVE_INOTIFY] (clear_db_cache): Likewise.
18359 [HAVE_INOTIFY] (main_loop_poll): Call inotify_check_files and
18361 [HAVE_INOTIFY] (main_loop_epoll): Likewise.
18363 2013-02-08 Carlos O'Donell <carlos@redhat.com>
18365 * elf/dl-cache.c (_dl_load_cache_lookup): Comment that cache is
18366 loaded if not already and that a failure is permanent.
18368 2013-02-08 Carlos O'Donell <carlos@redhat.com>
18371 * sysdeps/generic/ldconfig.h: Define FLAG_ARM_LIBSF.
18372 * elf/cache.c (print_entry): Add FLAG_ARM_LIBSF support.
18374 2013-02-08 Joseph Myers <joseph@codesourcery.com>
18377 * sysdeps/generic/bp-checks.h (CHECK_1): Remove all definitions.
18378 (CHECK_1_NULL_OK): Likewise.
18379 * sysdeps/unix/sysv/linux/fxstat.c: Do not include <bp-checks.h>.
18380 (__fxstat): Do not use CHECK_1.
18381 * sysdeps/unix/sysv/linux/fxstat64.c: Do not include
18383 (___fxstat64): Do not use CHECK_1.
18384 * sysdeps/unix/sysv/linux/fxstatat.c: Do not include
18386 (__fxstatat): Do not use CHECK_1.
18387 * sysdeps/unix/sysv/linux/fxstatat64.c: Do not include
18389 (__fxstatat64): Do not use CHECK_1.
18390 * sysdeps/unix/sysv/linux/i386/fxstat.c: Do not include
18392 (__fxstat): Do not use CHECK_1.
18393 * sysdeps/unix/sysv/linux/i386/fxstatat.c: Do not include
18395 (__fxstatat): Do not use CHECK_1.
18396 * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
18398 (__getresgid): Do not use CHECK_1.
18399 * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
18401 (__getresuid): Do not use CHECK_1.
18402 * sysdeps/unix/sysv/linux/i386/lxstat.c: Do not include
18404 (__lxstat): Do not use CHECK_1.
18405 * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
18407 (__old_msgctl): Do not use CHECK_1.
18408 (__new_msgctl): Likewise.
18409 * sysdeps/unix/sysv/linux/i386/setrlimit.c: Do not include
18411 (__new_setrlimit): Do not use CHECK_1.
18412 * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
18414 (__old_shmctl): Do not use CHECK_1.
18415 (__new_shmctl): Likewise.
18416 * sysdeps/unix/sysv/linux/i386/xstat.c: Do not include
18418 (__xstat): Do not use CHECK_1.
18419 * sysdeps/unix/sysv/linux/lxstat.c: Do not include <bp-checks.h>.
18420 (__lxstat): Do not use CHECK_1.
18421 * sysdeps/unix/sysv/linux/lxstat64.c: Do not include
18423 (___lxstat64): Do not use CHECK_1.
18424 * sysdeps/unix/sysv/linux/msgctl.c: Do not include <bp-checks.h>.
18425 (__old_msgctl): Do not use CHECK_1.
18426 (__new_msgctl): Likewise.
18427 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Do not include
18429 (__gettimeofday): Do not use CHECK_1.
18430 * sysdeps/unix/sysv/linux/ptrace.c: Do not include <bp-checks.h>.
18431 (ptrace) [__BOUNDED_POINTERS__]: Remove conditional code.
18432 * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Do not include
18434 (__gettimeofday): Do not use CHECK_1.
18435 * sysdeps/unix/sysv/linux/shmctl.c: Do not include <bp-checks.h>.
18436 (__old_shmctl): Do not use CHECK_1_NULL_OK.
18437 (__new_shmctl): Do not use CHECK_1.
18438 * sysdeps/unix/sysv/linux/sigtimedwait.c: Do not include
18440 (do_sigtimedwait): Do not use CHECK_1.
18441 * sysdeps/unix/sysv/linux/sigwaitinfo.c: Do not include
18443 (do_sigwaitinfo): Do not use CHECK_1.
18444 * sysdeps/unix/sysv/linux/sparc/sparc64/msgctl.c: Do not include
18446 (msgctl): Do not use CHECK_1.
18447 * sysdeps/unix/sysv/linux/sparc/sparc64/shmctl.c: Do not include
18449 (shmctl): Do not use CHECK_1.
18450 * sysdeps/unix/sysv/linux/ustat.c: Do not include <bp-checks.h>.
18451 (ustat): Do not use CHECK_1.
18452 * sysdeps/unix/sysv/linux/wordsize-64/fxstat.c: Do not include
18454 (__fxstat): Do not use CHECK_1.
18455 * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Do not include
18457 (__fxstatat): Do not use CHECK_1.
18458 * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c: Do not include
18460 (__lxstat): Do not use CHECK_1.
18461 * sysdeps/unix/sysv/linux/wordsize-64/xstat.c: Do not include
18463 (__xstat): Do not use CHECK_1.
18464 * sysdeps/unix/sysv/linux/xstat.c: Do not include <bp-checks.h>.
18465 (__xstat): Do not use CHECK_1.
18466 * sysdeps/unix/sysv/linux/xstat64.c: Do not include <bp-checks.h>.
18467 (___xstat64): Do not use CHECK_1.
18470 * sysdeps/generic/bp-checks.h (CHECK_BOUNDS_LOW): Remove all
18472 (CHECK_BOUNDS_HIGH): Likewise.
18473 * string/strcpy.c: Do not include <bp-checks.h>.
18474 (strcpy): Do not use CHECK_BOUNDS_LOW and CHECK_BOUNDS_HIGH.
18476 2013-02-07 Roland McGrath <roland@hack.frob.com>
18478 * nscd/nscd-client.h (__nscd_drop_map_ref):
18479 Add __attribute__ ((unused)).
18480 * nis/nss-nisplus.h (niserr2nss): Likewise.
18482 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Define it only
18483 under [!(USE_AS_STRCASESTR && STRCASESTR_NONASCII)].
18485 * csu/libc-tls.c (init_static_tls, init_slotinfo):
18486 Remove inline keyword.
18487 * include/rounding-mode.h (round_away): Likewise.
18488 * libio/wfileops.c (adjust_wide_data): Likewise.
18489 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Likewise.
18490 (__m128i_strloadu_tolower): Likewise.
18491 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c
18492 (__m128i_strloadu_tolower): Likewise.
18493 * time/mktime.c (ydhms_diff): Likewise.
18494 * locale/elem-hash.h (elem_hash): Likewise.
18495 * locale/setlocale.c (setdata): Likewise.
18496 * posix/regex_internal.h (re_string_char_size_at): Likewise.
18497 (re_string_wchar_at): Likewise.
18498 (bitset_not, bitset_merge, bitset_mask): Likewise.
18499 [!(__GNUC__ > 3)] (inline): Remove macro.
18500 * nscd/nscd-client.h (__nscd_drop_map_ref): Remove inline keyword.
18501 * elf/dl-deps.c (_dl_map_object_deps: preload): Likewise.
18502 * elf/tlsdeschtab.h (_dl_tlsdesc_resolve_early_return_p): Likewise.
18503 (_dl_tlsdesc_wake_up_held_fixups): Likewise.
18504 * string/memcmp.c (memcmp_bytes): Likewise.
18505 * locale/programs/locarchive.c (compute_hashval): Likewise.
18506 * sysdeps/ieee754/dbl-64/x2y2m1.c (mul_split): Likewise.
18507 * sysdeps/unix/sysv/linux/fips-private.h (fips_enabled_p): Likewise.
18508 * resolv/res_send.c (evNowTime, evCmpTime): Likewise.
18509 * nss/getent.c (print_rpc, print_protocols): Likewise.
18510 (print_passwd, print_group, print_aliases): Likewise.
18511 * nis/nss-nisplus.h (niserr2nss): Likewise.
18512 * nscd/connections.c (restart_p): Likewise.
18513 Change return type to bool.
18515 2013-02-05 Roland McGrath <roland@hack.frob.com>
18517 * Makeconfig (all-Depend-files): Add existing
18518 $(sorted-subdirs:=/Depend) files.
18519 (all-subdirs): Remove nss.
18520 * sysdeps/unix/inet/Subdirs: Add it here instead.
18521 * hesiod/Depend: New file.
18523 * elf/dl-hwcaps.c (_dl_important_hwcaps): Use a variable-length array
18524 instead of calling alloca.
18526 * io/lseek.c (__lseek): Rename to __libc_lseek.
18527 Define __lseek as an alias.
18529 * sysdeps/generic/malloc-sysdep.h: Include <stdbool.h> and <unistd.h>.
18531 2013-02-04 Carlos O'Donell <carlos@redhat.com>
18533 * stdlib/getenv.c (getenv): Assume __BIG_ENDIAN in the
18534 else clause and remove check for non-standard endianness.
18536 2013-02-04 David S. Miller <davem@davemloft.net>
18538 * sysdeps/sparc/fpu/libm-test-ulps: Update.
18540 2013-02-04 Joseph Myers <joseph@codesourcery.com>
18543 * sysdeps/generic/bp-checks.h [__BOUNDED_POINTERS__]
18544 (__ubp_memchr): Remove prototype.
18545 [__BOUNDED_POINTERS__] (_CHECK_STRING): Remove macro.
18546 [__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
18547 [__BOUNDED_POINTERS__] (CHECK_STRING_NULL_OK): Likewise.
18548 [!__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
18549 * sysdeps/i386/memchr.S [!__BOUNDED_POINTERS__] (__ubp_memchr):
18551 * sysdeps/sparc/sparc32/memchr.S [!__BOUNDED_POINTERS__]
18552 (__ubp_memchr): Likewise.
18553 * sysdeps/sparc/sparc64/memchr.S [!__BOUNDED_POINTERS__]
18554 (__ubp_memchr): Likewise.
18555 * sysdeps/unix/sysv/linux/execve.c: Do not include <bp-checks.h>.
18556 (__execve) [__BOUNDED_POINTERS__]: Remove conditional code.
18557 (__execve) [!__BOUNDED_POINTERS__]: Make code unconditional.
18558 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Do not use
18560 * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
18561 * sysdeps/unix/sysv/linux/getcwd.c: Do not include <bp-checks.h>.
18562 (__getcwd): Do not use CHECK_STRING.
18563 * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
18565 (__real_chown): Do not use CHECK_STRING.
18566 * sysdeps/unix/sysv/linux/i386/fchownat.c: Do not include
18568 (fchownat): Do not use CHECK_STRING.
18569 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Do not use
18571 * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
18573 (__lchown): Do not use CHECK_STRING.
18574 * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
18575 * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
18576 * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
18577 * sysdeps/unix/sysv/linux/lxstat64.c (___lxstat64): Likewise.
18578 * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
18579 include <bp-checks.h>.
18580 (truncate64): Do not use CHECK_STRING.
18581 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
18583 (__real_chown): Do not use CHECK_STRING.
18584 * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
18586 (__lchown): Do not use CHECK_STRING.
18587 * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
18589 (__chown): Do not use CHECK_STRING.
18590 * sysdeps/unix/sysv/linux/truncate64.c: Do not include
18592 (truncate64): Do not use CHECK_STRING.
18593 * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c (__lxstat):
18595 * sysdeps/unix/sysv/linux/xmknod.c: Do not include <bp-checks.h>.
18596 (__xmknod): Do not use CHECK_STRING.
18597 * sysdeps/unix/sysv/linux/xmknodat.c: Do not include
18599 (__xmknodat): Do not use CHECK_STRING.
18600 * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
18601 * sysdeps/unix/sysv/linux/xstat64.c (___xstat64): Likewise.
18603 2013-02-04 Andreas Schwab <schwab@suse.de>
18606 * include/errno.h: Redefine errno only if !NOT_IN_libc || IN_LIB.
18607 * include/netdb.h: Likewise for h_errno.
18608 * elf/tst-stackguard1.c: Include <tls.h>.
18610 2013-02-02 Jan Kratochvil <jan.kratochvil@redhat.com>
18612 * elf/link.h (struct link_map): Extend the l_addr comment.
18613 * include/link.h (struct link_map): Likewise.
18615 2013-02-01 Joseph Myers <joseph@codesourcery.com>
18618 * sysdeps/generic/bp-checks.h (BOUNDED_N): Remove all definitions.
18619 (BOUNDED_1): Remove macro.
18620 * debug/backtrace.c: Don't include <bp-checks.h>.
18621 (ADVANCE_STACK_FRAME): Don't use BOUNDED_1.
18622 (__backtrace): Likewise.
18623 * sysdeps/powerpc/powerpc32/backtrace.c: Don't include
18625 (__backtrace): Don't use BOUNDED_1.
18626 * sysdeps/powerpc/powerpc64/backtrace.c: Don't include
18628 (__backtrace): Don't use BOUNDED_1.
18629 * sysdeps/sparc/backtrace.c: Don't include <bp-checks.h>.
18630 (__backtrace): Don't use BOUNDED_1.
18631 * sysdeps/unix/sysv/linux/shmat.c: Don't include <bp-checks.h>.
18632 (shmat): Don't use BOUNDED_N.
18634 2013-01-31 Joseph Myers <joseph@codesourcery.com>
18637 * sysdeps/generic/bp-start.h: Remove file.
18638 * csu/libc-start.c: Don't include <bp-start.h>.
18639 (LIBC_START_MAIN): Set up __environ directly instead of using
18640 INIT_ARGV_and_ENVIRON.
18641 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Don't include
18645 * sysdeps/generic/bp-checks.h (CHECK_IOCTL): Remove both
18647 (CHECK_FCNTL): Likewise.
18648 (CHECK_N_PAGES): Likewise.
18651 * sysdeps/generic/bp-checks.h (CHECK_SIGSET): Remove both
18653 (CHECK_SIGSET_NULL_OK): Likewise.
18654 * sysdeps/unix/sysv/linux/sigpending.c: Don't include
18656 (sigpending): Don't use CHECK_SIGSET.
18657 * sysdeps/unix/sysv/linux/sigprocmask.c: Don't include
18659 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
18660 * sysdeps/unix/sysv/linux/sigsuspend.c: Don't include
18662 (do_sigsuspend): Don't use CHECK_SIGSET.
18663 * sysdeps/unix/sysv/linux/sigtimedwait.c (do_sigtimedwait): Don't
18665 * sysdeps/unix/sysv/linux/sigwait.c: Don't include <bp-checks.h>.
18666 (do_sigwait): Don't use CHECK_SIGSET.
18667 * sysdeps/unix/sysv/linux/sigwaitinfo.c (do_sigwaitinfo): Don't
18669 * sysdeps/unix/sysv/linux/sparc/sparc64/sigpending.c: Don't
18670 include <bp-checks.h>.
18671 (sigpending): Don't use CHECK_SIGSET.
18672 * sysdeps/unix/sysv/linux/sparc/sparc64/sigprocmask.c: Don't
18673 include <bp-checks.h>.
18674 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
18675 * sysdeps/unix/sysv/linux/x86_64/sigpending.c: Don't include
18677 (sigpending): Don't use CHECK_SIGSET.
18678 * sysdeps/unix/sysv/linux/x86_64/sigprocmask.c: Don't include
18680 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
18683 * sysdeps/generic/bp-semctl.h: Remove file.
18684 * sysdeps/unix/sysv/linux/i386/semctl.c: Don't include
18685 <bp-checks.h> and <bp-semctl.h>.
18686 (__old_semctl): Don't use CHECK_SEMCTL.
18687 (__new_semctl): Likewise.
18688 * sysdeps/unix/sysv/linux/semctl.c: Don't include <bp-checks.h>
18690 (__old_semctl): Don't use CHECK_SEMCTL.
18691 (__new_semctl): Likewise.
18692 * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Don't include
18693 <bp-checks.h> and <bp-semctl.h>.
18694 (__old_semctl): Don't use CHECK_SEMCTL.
18695 (__new_semctl): Likewise.
18696 * sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c: Don't include
18697 <bp-checks.h> and <bp-semctl.h>.
18698 (semctl): Don't use CHECK_SEMCTL.
18701 * Makerules (elide-bp-thunks): Remove variable.
18702 (elide-routines.oS): Don't use $(elide-bp-thunks).
18703 (elide-routines.os): Likewise.
18704 (elide-routines.o): Likewise.
18705 (elide-routines.op): Likewise.
18706 (elide-routines.og): Likewise.
18707 (objects): Don't use $(bp-thunks).
18708 * sysdeps/unix/Makefile ($(common-objpfx)s-proto-bp.d): Do not
18710 (common-generated): Do not add s-proto-bp.d.
18711 * sysdeps/unix/make-syscalls.sh (ptr): Remove variable.
18714 Do not generate makefile rules for bounded-pointer thunks.
18715 * sysdeps/generic/bp-thunks.h: Remove file.
18716 * sysdeps/unix/sysv/linux/i386/bp-thunks.h: Likewise.
18717 * sysdeps/unix/s-proto-bp.S: Likewise.
18720 * math/k_casinh.c (__kernel_casinh): Compute real and imaginary
18721 parts of result separately when argument is not close to line from
18722 -i to i and one part of argument is small.
18723 * math/k_casinhf.c (__kernel_casinhf): Likewise.
18724 * math/k_casinhl.c (__kernel_casinhl): Likewise.
18725 * math/libm-test.inc (cacos_test): Add more tests.
18726 (casin_test): Likewise.
18727 (casinh_test): Likewise.
18728 * sysdeps/i386/fpu/libm-test-ulps: Update.
18729 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18731 2013-01-31 David S. Miller <davem@davemloft.net>
18733 * po/de.po: Update from translation team.
18735 2013-01-25 Maxim Kuvyrkov <maxim.kuvyrkov@gmail.com>
18737 * time/tzfile.c: Include stdint.h for SIZE_MAX.
18739 2013-01-25 Thomas Schwinge <thomas@codesourcery.com>
18741 * configure.in (_AC_PROG_CC_C89): New definition.
18742 * configure: Regenerate.
18744 * configure.in (AC_PROG_CPP): New definition.
18745 * configure: Regenerate.
18747 2013-01-23 Joseph Myers <joseph@codesourcery.com>
18749 * debug/tst-backtrace.h: New file.
18750 * debug/tst-backtrace2.c: Include tst-backtrace.h.
18751 (ret): Remove variable.
18753 (FAIL): Remove macro.
18754 (NO_INLINE): Likewise.
18755 (fn1): Use match function instead of strstr.
18756 * debug/tst-backtrace3.c: Include tst-backtrace.h.
18757 (ret): Remove variable.
18759 (FAIL): Remove macro.
18760 (NO_INLINE): Likewise.
18761 (fn): Use match function instead of strstr.
18762 * debug/tst-backtrace4.c: Include tst-backtrace.h.
18763 (ret): Remove variable.
18765 (FAIL): Remove macro.
18766 (NO_INLINE): Likewise.
18767 (handle_signal): Use match function instead of strstr.
18768 * debug/tst-backtrace5.c: Include tst-backtrace.h.
18769 (ret): Remove variable.
18771 (FAIL): Remove macro.
18772 (NO_INLINE): Likewise.
18773 (handle_signal): Use match function instead of strstr.
18775 2013-01-23 Roland McGrath <roland@hack.frob.com>
18777 * misc/sys/cdefs.h (__glibc_unlikely, __glibc_likely): Fix whitespace.
18779 2013-01-23 David S. Miller <davem@davemloft.net>
18781 * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h
18782 (__arch_compare_and_exchange_val_32_acq): Use %g0 as second
18783 argument of CAS if possible.
18784 * sysdeps/sparc/sparc64/bits/atomic.h
18785 (__arch_compare_and_exchange_val_32_acq): Likewise.
18786 (__arch_compare_and_exchange_val_64_acq): Likewise.
18788 2013-01-23 Pino Toscano <toscano.pino@tiscali.it>
18790 * sysdeps/unix/sysv/linux/ulimit.c: Moved to ...
18791 * sysdeps/posix/ulimit.c: ... this.
18792 Include <limits.h>.
18793 * sysdeps/unix/bsd/ulimit.c: Remove file.
18795 2013-01-23 Adam Conrad <adconrad@0c3.net>
18797 * elf/Makefile (LDFLAGS-tst-array2): Add $(no-as-needed).
18798 (LDFLAGS-tst-array5): Likewise.
18800 2013-01-23 Joseph Myers <joseph@codesourcery.com>
18803 * bits/wchar.h (__WCHAR_MAX): Define based on __WCHAR_MAX__, or
18804 based on [L'\0' - 1 > 0] if [!__WCHAR_MAX__].
18805 (__WCHAR_MIN): Likewise, using __WCHAR_MIN__.
18806 * sysdeps/unix/sysv/linux/x86/bits/wchar.h: Remove.
18808 2013-01-21 David S. Miller <davem@davemloft.net>
18810 * sysdeps/sparc/backtrace.c: New file.
18811 * sysdeps/sparc/sparc32/backtrace.h: New file.
18812 * sysdeps/sparc/sparc32/sparcv9/backtrace.h: New file.
18813 * sysdeps/sparc/sparc64/backtrace.h: New file.
18814 * sysdeps/sparc/sparc64/backtrace.c: Delete.
18815 * sysdeps/sparc/Makefile (CFLAGS-backtrace.c): Add
18818 2013-01-21 Andreas Schwab <schwab@suse.de>
18821 * posix/wordexp.c (exec_comm): Avoid busy loop when command has
18824 2013-01-20 Andreas Schwab <schwab@linux-m68k.org>
18826 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Don't include
18828 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
18830 2013-01-18 Joseph Myers <joseph@codesourcery.com>
18831 Mark Mitchell <mark@codesourcery.com>
18832 Tom de Vries <tom@codesourcery.com>
18833 Paul Pluzhnikov <ppluzhnikov@google.com>
18835 * debug/tst-backtrace2.c: New file.
18836 * debug/tst-backtrace3.c: Likewise.
18837 * debug/tst-backtrace4.c: Likewise.
18838 * debug/tst-backtrace5.c: Likewise.
18839 * debug/Makefile (CFLAGS-tst-backtrace2.c): New variable.
18840 (CFLAGS-tst-backtrace3.c): Likewise.
18841 (CFLAGS-tst-backtrace4.c): Likewise.
18842 (CFLAGS-tst-backtrace5.c): Likewise.
18843 (LDFLAGS-tst-backtrace2): Likewise.
18844 (LDFLAGS-tst-backtrace3): Likewise.
18845 (LDFLAGS-tst-backtrace4): Likewise.
18846 (LDFLAGS-tst-backtrace5): Likewise.
18847 (tests): Add new tests tst-backtrace2, tst-backtrace3,
18848 tst-backtrace4 and tst-backtrace5.
18850 2013-01-18 Anton Blanchard <anton@samba.org>
18851 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
18853 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Rename
18854 __kernel_vdso_get_tbfreq to __kernel_get_tbfreq.
18855 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Add parameter to
18856 INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK to specify return type.
18857 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
18858 (INTERNAL_VSYSCALL_NCS): Change "=&r" in inline asm output regs list to
18859 "+r" and remove output regs list as redundant. Add explicit inline
18860 asm to specify register of return val to work around compiler codegen
18861 bug. Remove (int) cast on return value. Add return type parameter to
18862 use in macro so that this macro does not truncate return value for
18864 (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Add return type parameter and
18865 pass to INTERNAL_VSYSCALL_NCS.
18866 (INLINE_VSYSCALL): Add 'long int' as return type to
18867 INTERNAL_VSYSCALL_NCS macro invocation.
18868 (INTERNAL_VSYSCALL): Add 'long int' as return type to
18869 INTERNAL_VSYSCALL_NCS macro invocation.
18870 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
18872 2013-01-18 Siddhesh Poyarekar <siddhesh@redhat.com>
18875 * sysdeps/i386/fpu/fenv_private.h (libc_feupdateenv_test_sse):
18876 Fix application of SIMD FP exception mask.
18878 * sysdeps/ieee754/dbl-64/mpa.h (__pow_mp): New function to get an
18879 mp_no from a power of two.
18880 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove
18881 __mpexp_twomm1. Use __pow_mp.
18883 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove unnecessary
18886 2013-01-17 David S. Miller <davem@davemloft.net>
18888 * sysdeps/sparc/fpu/libm-test-ulps: Update.
18890 2013-01-17 Joseph Myers <joseph@codesourcery.com>
18893 * include/complex.h: Condition contents on [!_COMPLEX_H].
18894 (__kernel_casinhf): New prototype.
18895 (__kernel_casinh): Likewise.
18896 (__kernel_casinhl): Likewise.
18897 * math/Makefile (libm_calls): Add k_casinh.
18898 * math/k_casinh.c: New file.
18899 * math/k_casinhf.c: Likewise.
18900 * math/k_casinhl.c: Likewise.
18901 * math/s_cacos.c (__cacos): Implement using __kernel_casinh for
18902 finite nonzero arguments.
18903 * math/s_cacosf.c (__cacosf): Implement using __kernel_casinhf for
18904 finite nonzero arguments.
18905 * math/s_cacosl.c (__cacosl): Implement using __kernel_casinhl for
18906 finite nonzero arguments.
18907 * math/s_casinh.c: Do not include <float.h>.
18908 (__casinh): Move code for finite nonzero arguments to k_casinh.c.
18909 * math/s_casinhf.c: Do not include <float.h>.
18910 (__casinhf): Move code for finite nonzero arguments to
18912 * math/s_casinhl.c: Do not include <float.h>.
18913 [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Do not undefine and
18915 (__casinhl): Move code for finite nonzero arguments to
18917 * math/libm-test.inc (cacos_test): Add more tests.
18918 * sysdeps/i386/fpu/libm-test-ulps: Update.
18919 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18921 2013-01-17 Pino Toscano <toscano.pino@tiscali.it>
18923 * sysdeps/unix/sysv/linux/malloc-sysdep.h (HAVE_MREMAP): New define.
18924 * malloc/malloc.c: Include <unistd.h> and <malloc-sysdep.h>.
18925 [!HAVE_MREMAP]: Remove [defined linux] case.
18926 * malloc/arena.c: Do not include <malloc-sysdep.h>.
18928 2013-01-17 Siddhesh Poyarekar <siddhesh@redhat.com>
18930 * sysdeps/ieee754/dbl-64/mpa.c: Fix header comment.
18932 2013-01-17 H.J. Lu <hongjiu.lu@intel.com>
18934 * elf/elf.h (R_386_SIZE32): New relocation.
18935 * sysdeps/i386/dl-machine.h (elf_machine_rel): Handle
18937 (elf_machine_rela): Likewise.
18938 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
18939 R_X86_64_SIZE64 and R_X86_64_SIZE32.
18941 2013-01-17 Joseph Myers <joseph@codesourcery.com>
18943 * sysdeps/powerpc/bits/mathdef.h [_SOFT_FLOAT || __NO_FPRS__]
18944 (FP_FAST_FMA): Do not define.
18945 [_SOFT_FLOAT || __NO_FPRS__] (FP_FAST_FMAF): Likewise.
18946 * sysdeps/powerpc/fpu/bits/fenvinline.h [__GNUC__ && !_SOFT_FLOAT
18947 && !__NO_MATH_INLINES]: Add [!__NO_FPRS__] condition.
18948 * sysdeps/powerpc/fpu/bits/mathinline.h [__GNUC__ &&
18949 !_SOFT_FLOAT]: Likewise.
18950 * sysdeps/powerpc/fpu/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]
18951 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_RESERVED): Define with generic
18953 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_DEFAULT): Likewise.
18954 [_SOFT_FLOAT || __NO_FPRS__] (fpu_control_t): Likewise.
18955 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_GETCW): Likewise.
18956 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_SETCW): Likewise.
18957 [_SOFT_FLOAT || __NO_FPRS__] (__fpu_control): Likewise.
18958 [!_SOFT_FLOAT && !__NO_FPRS__]: Condition previous contents of
18961 2013-01-16 Andreas Schwab <schwab@suse.de>
18964 * include/stdlib.h (__mktemp): Add declaration.
18965 * misc/mktemp.c (__mktemp): Renamed from mktemp, add weak alias.
18966 * misc/Versions (GLIBC_PRIVATE): Add __mktemp.
18968 2013-01-16 Siddhesh Poyarekar <siddhesh@redhat.com>
18970 * sysdeps/ieee754/dbl-64/atnat.h: Remove constant value
18972 * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
18973 * sysdeps/ieee754/dbl-64/mpa.c: Do not include mpa2.h.
18974 * sysdeps/ieee754/dbl-64/mpa.h: Move all constant value
18976 * sysdeps/ieee754/dbl-64/mpa2.h: Remove.
18977 * sysdeps/ieee754/dbl-64/mpatan.h: Remove constant value
18979 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Remove ZERO
18981 * sysdeps/ieee754/dbl-64/mpexp.c: Do not include mpexp.h.
18982 * sysdeps/ieee754/dbl-64/mpexp.h: Remove.
18983 * sysdeps/ieee754/dbl-64/mpsqrt.h: Remove constant value
18985 * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Remove MONE.
18986 * sysdeps/ieee754/dbl-64/ulog.h: Remove constant value
18988 * sysdeps/ieee754/dbl-64/utan.h: Likewise.
18990 * sysdeps/ieee754/dbl-64/mpa2.h: Fix the value of TWO.
18992 2013-01-15 David S. Miller <davem@davemloft.net>
18994 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
18995 trunc{,f} to libm-sysdep_routes.
18996 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
18997 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc-vis3.S: New
18999 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc.S: New file.
19000 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf-vis3.S: New
19002 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf.S: New
19004 * sysdeps/sparc/sparc32/sparcv9/fpu/s_trunc.S: New file.
19005 * sysdeps/sparc/sparc32/sparcv9/fpu/s_truncf.S: New file.
19006 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc-vis3.S: New file.
19007 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc.S: New file.
19008 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf-vis3.S: New file.
19009 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf.S: New file.
19010 * sysdeps/sparc/sparc64/fpu/s_trunc.S: New file.
19011 * sysdeps/sparc/sparc64/fpu/s_truncf.S: New file.
19013 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
19014 nearbyint{,f} to libm-sysdep_routes.
19015 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
19016 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint-vis3.S:
19018 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint.S: New
19020 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf-vis3.S:
19022 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf.S: New
19024 * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyint.S: New file.
19025 * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyintf.S: New file.
19026 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint-vis3.S: New
19028 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint.S: New file.
19029 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf-vis3.S: New
19031 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf.S: New file.
19032 * sysdeps/sparc/sparc64/fpu/s_nearbyint.S: New file.
19033 * sysdeps/sparc/sparc64/fpu/s_nearbyintf.S: New file.
19035 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
19036 libc_feholdexcept and libc_fesetenv.
19038 2013-01-15 Mike Frysinger <vapier@gentoo.org>
19040 * sysdeps/unix/sysv/linux/scsi/sg.h: Include stddef.h.
19042 2013-01-14 David S. Miller <davem@davemloft.net>
19044 * sysdeps/sparc/sparc-ifunc.h (SPARC_ASM_IFUNC2): New macro.
19045 (SPARC_ASM_VIS2_IFUNC): Likewise.
19046 (SPARC_ASM_VIS3_VIS2_IFUNC): Likewise.
19047 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: Make
19048 use of 'siam' instruction.
19049 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S:
19051 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S:
19053 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S:
19055 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: Likewise.
19056 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: Likewise.
19057 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: Likewise.
19058 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: Likewise.
19059 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis2.S: New
19061 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis2.S: New
19063 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis2.S: New
19065 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis2.S: New
19067 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis2.S: New file.
19068 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis2.S: New file.
19069 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis2.S: New file.
19070 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis2.S: New file.
19071 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Hook in
19073 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
19074 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
19075 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
19077 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
19078 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
19079 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
19080 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
19081 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new VIS2
19082 routines to libm-sysdep_routines.
19083 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
19085 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
19086 fdim/fdimf to libm-sysdep_routines.
19087 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-vis3.S: New
19089 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.S: New file.
19090 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf-vis3.S: New
19092 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf.S: New file.
19093 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdim.S: New file.
19094 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdimf.S: New file.
19095 * sysdeps/sparc/sparc32/fpu/s_fdim.S: New file.
19096 * sysdeps/sparc/sparc32/fpu/s_fdimf.S: New file.
19097 * sysdeps/sparc/sparc64/fpu/s_fdim.S: New file.
19098 * sysdeps/sparc/sparc64/fpu/s_fdimf.S: New file.
19100 2013-01-14 Siddhesh Poyarekar <siddhesh@redhat.com>
19102 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Add a local variable
19103 to optimize copies.
19105 * sysdeps/ieee754/dbl-64/mpa.c: Fix formatting.
19106 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
19107 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
19109 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Remove
19110 local variable MPTWO.
19111 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
19114 2013-01-13 Mike Frysinger <vapier@gentoo.org>
19116 * manual/pattern.texi (Flags for Globbing): Move GLOB_NOSORT after
19119 2013-01-13 Mike Frysinger <vapier@gentoo.org>
19121 * manual/pattern.texi (Flags for Globbing): Highlight GNU extensions.
19123 2013-01-13 Mike Frysinger <vapier@gentoo.org>
19125 * manual/pattern.texi (glob_t): Document gl_flags.
19126 (glob64_t): Likewise.
19128 2013-01-11 David S. Miller <davem@davemloft.net>
19130 * math/Makefile (gmp-objs): Use $(gmp-sysdep_routines).
19131 * sysdeps/sparc/sparc64/multiarch/Makefile [$(subdir) = math]
19132 (gmp-sysdep_routines): New variable. Add VIS3 optimized GMP routines.
19133 * sysdeps/sparc/sparc64/multiarch/add_n-vis3.S: New file.
19134 * sysdeps/sparc/sparc64/multiarch/add_n.S: New file.
19135 * sysdeps/sparc/sparc64/multiarch/addmul_1-vis3.S: New file.
19136 * sysdeps/sparc/sparc64/multiarch/addmul_1.S: New file.
19137 * sysdeps/sparc/sparc64/multiarch/mul_1-vis3.S: New file.
19138 * sysdeps/sparc/sparc64/multiarch/mul_1.S: New file.
19139 * sysdeps/sparc/sparc64/multiarch/sub_n-vis3.S: New file.
19140 * sysdeps/sparc/sparc64/multiarch/sub_n.S: New file.
19141 * sysdeps/sparc/sparc64/multiarch/submul_1-vis3.S: New file.
19142 * sysdeps/sparc/sparc64/multiarch/submul_1.S: New file.
19144 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
19145 sparc V9 rather than using V8 code.
19146 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
19147 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
19149 * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
19151 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/multiarch/Implies:
19154 2013-01-11 Roland McGrath <roland@hack.frob.com>
19156 * configure.in (sysnames): Use $multi_arch_d in setting up $mach list,
19157 not in the main loop.
19158 * configure: Regenerated.
19160 2013-01-11 Joseph Myers <joseph@codesourcery.com>
19162 * include/features.h (__GLIBC_HAVE_LONG_LONG): Remove.
19163 * bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change #elif condition
19165 * bits/types.h [__GLIBC_HAVE_LONG_LONG]: Likewise. Remove
19166 [!__GLIBC_HAVE_LONG_LONG] case.
19167 * posix/sys/types.h [__GLIBC_HAVE_LONG_LONG]: Change #elif
19168 condition to just #else.
19169 * stdlib/stdlib.h [__USE_ISOC99 || (__GLIBC_HAVE_LONG_LONG &&
19170 __USE_MISC)]: Change all uses to [__USE_ISOC99 || __USE_MISC].
19171 [__GLIBC_HAVE_LONG_LONG && __USE_BSD]: Change to [__USE_BSD].
19172 * string/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Make code
19174 * string/endian.h [__GLIBC_HAVE_LONG_LONG]: Likewise.
19175 * sysdeps/s390/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
19176 #elif condition to just #else.
19177 * sysdeps/unix/sysv/linux/sys/sysmacros.h
19178 [__GLIBC_HAVE_LONG_LONG]: Make code unconditional.
19179 * sysdeps/x86/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
19180 #elif condition to just #else.
19182 2013-01-11 Steve Ellcey <sellcey@mips.com>
19184 * elf/elf.h (EF_MIPS_ARCH_32): Fix value.
19185 (EF_MIPS_ARCH_64): Fix value.
19186 (EF_MIPS_ARCH_32R2): New.
19187 (EF_MIPS_ARCH_64R2): New.
19189 2013-01-11 H.J. Lu <hongjiu.lu@intel.com>
19191 * Makeconfig (+link-pie-before-libc): New.
19192 (+link-pie-after-libc): Likewise.
19193 (+link-pie-tests): Likewise.
19194 (+link-pie): Rewritten.
19195 (link-before-libc): Remove $(config-LDFLAGS).
19196 (+link): Add $(rtld-LDFLAGS) after $(+link-before-libc).
19197 (+link-tests): Add $(rtld-tests-LDFLAGS) after $(+link-before-libc).
19198 (config-LDFLAGS): Renamed to ...
19199 (rtld-LDFLAGS): This.
19200 (rtld-tests-LDFLAGS): New macro.
19201 (link-libc-rpath-link): Likewise.
19202 (link-libc-tests-rpath-link): Likewise.
19203 (link-libc-before-gnulib): Remove -Wl,-rpath-link=$(rpath-link).
19204 (link-libc): Prepand $(link-libc-rpath-link).
19205 (link-libc-tests): Prepand $(link-libc-tests-rpath-link).
19206 (test-program-prefix): New macro.
19207 (test-via-rtld-prefix): Likewise.
19208 (test-program-cmd): Likewise.
19209 (host-test-program-cmd): Likewise.
19210 * Makefile ($(common-objpfx)testrun.sh): Replace
19211 $(run-program-prefix) with $(test-program-prefix).
19212 * Makerules ($(LINK.o)): Replace $(config-LDFLAGS) with
19214 ($(common-objpfx)shlib.lds): Likewise.
19215 (build-module-helper): Likewise.
19216 ($(common-objpfx)format.lds): Likewise.
19217 * Rules (binaries-pie-tests): New.
19218 (binaries-pie-notests): Likewise.
19219 (binaries-pie): Rewritten.
19220 ($(addprefix $(objpfx),$(binaries-pie))): Renamed to ...
19221 ($(addprefix $(objpfx),$(binaries-pie-notests))): This.
19222 ($(addprefix $(objpfx),$(binaries-pie-tests))): New.
19223 (make-test-out): Replace $(host-built-program-cmd) with
19224 $(host-test-program-cmd).
19225 * config.make.in (build-hardcoded-path-in-tests): New variable.
19226 * configure.in (--enable-hardcoded-path-in-tests): New configure
19228 (hardcoded_path_in_tests): New AC_SUBST.
19229 * configure: Regenerated.
19230 * catgets/Makefile ($(objpfx)test-gencat.out): Replace
19231 $(built-program-cmd) with $(test-program-cmd).
19232 * catgets/test-gencat.sh (run_program_cmd): Renamed to ...
19233 (test_program_cmd): This.
19234 * elf/Makefile ($(objpfx)order.out): Run test with
19235 $(test-program-prefix).
19236 ($(objpfx)order2.out): Likewise.
19237 ($(objpfx)tst-initorder.out): Likewise.
19238 ($(objpfx)tst-initorder2.out): Likewise.
19239 ($(objpfx)tst-array1.out): Replace $(built-program-cmd) with
19240 $(test-program-cmd).
19241 ($(objpfx)tst-array1-static.out): Likewise.
19242 ($(objpfx)tst-array2.out): Likewise.
19243 ($(objpfx)tst-array3.out): Likewise.
19244 ($(objpfx)tst-array4.out): Likewise.
19245 ($(objpfx)tst-array5.out): Likewise.
19246 ($(objpfx)tst-array5-static.out): Likewise.
19247 (tst-stackguard1-ARGS): Replace $(built-program-cmd) with
19248 $(test-program-cmd).
19249 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Replace
19250 $(run-program-prefix) with $(test-program-prefix).
19251 * grp/tst_fgetgrent.sh (run_program_prefix): Renamed to ...
19252 (test_program_prefix): This.
19253 * iconvdata/Makefile ($(objpfx)tst-tables.out): Replace
19254 $(run-program-prefix) with $(test-program-prefix).
19255 * iconvdata/tst-table.sh (run_program_prefix): Renamed to ...
19256 (test_program_prefix): This.
19257 * iconvdata/tst-tables.sh: Likewise.
19258 * intl/Makefile ($(objpfx)tst-gettext.out): Replace
19259 $(run-program-prefix) with $(test-program-prefix).
19260 ($(objpfx)tst-translit.out): Likewise.
19261 ($(objpfx)tst-gettext2.out): Likewise.
19262 ($(objpfx)tst-gettext4.out): Likewise.
19263 ($(objpfx)tst-gettext6.out): Likewise.
19264 * intl/tst-gettext.sh (run_program_prefix): Renamed to ...
19265 (test_program_prefix): This.
19266 * intl/tst-gettext2.sh: Likewise.
19267 * intl/tst-gettext4.sh Likewise.
19268 * intl/tst-gettext6.sh: Likewise.
19269 * intl/tst-translit.sh: Likewise.
19270 * io/Makefile ($(objpfx)ftwtest.out): Replace $(run-program-cmd)
19271 with $(test-program-cmd).
19272 * libio/Makefile ($(objpfx)test-freopen.out): Replace
19273 $(run-program-prefix) with $(test-program-prefix).
19274 * libio/test-freopen.sh (run_program_prefix): Renamed to ...
19275 (test_program_prefix): This.
19276 * malloc/Makefile ($(objpfx)tst-mtrace.out): Replace
19277 $(run-program-prefix) with $(test-program-prefix).
19278 * malloc/tst-mtrace.sh (run_program_prefix): Renamed to ...
19279 (test_program_prefix): This.
19280 * manual/install.texi: Document --enable-hardcoded-path-in-tests.
19281 * posix/Makefile ($(objpfx)globtest.out): Replace
19282 $(run-via-rtld-prefix) and $(test-wrapper) with
19283 $(test-program-prefix) and $(test-via-rtld-prefix).
19284 ($(objpfx)wordexp-tst.out): Replace $(run-program-prefix) with
19285 $(test-program-prefix).
19286 (tst-exec-ARGS): Replace $(host-built-program-cmd) with
19287 $(host-test-program-cmd).
19288 (tst-spawn-ARGS): Likewise.
19289 ($(objpfx)tst-rxspencer-mem): Replace $(run-program-prefix) with
19290 $(test-program-prefix).
19291 * posix/globtest.sh (un_via_rtld_prefix): Renamed to ...
19292 (test_via_rtld_prefix): This.
19293 (test_wrapper): Renamed to ...
19294 (test_program_prefix): This.
19295 (run_program_prefix): Replaced by test_program_prefix.
19296 * posix/wordexp-tst.sh (run_program_prefix): Renamed to ...
19297 (test_program_prefix): This.
19298 * rt/Makefile (tst-mqueue7-ARGS): Replace $(host-built-program-cmd)
19299 with $(host-test-program-cmd).
19300 * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Replace
19301 $(run-program-prefix) with $(test-program-prefix).
19302 ($(objpfx)tst-printf.out): Likewise.
19303 ($(objpfx)tst-setvbuf1.out): Replace $(built-program-cmd) with
19304 $(test-program-cmd).
19305 * stdio-common/tst-printf.sh (run_program_prefix): Renamed to ...
19306 (test_program_prefix): This.
19307 * stdio-common/tst-unbputc.sh: Likewise.
19308 * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Replace
19309 $(run-program-prefix) with $(test-program-prefix).
19310 * stdlib/tst-fmtmsg.sh (run_program_prefix): Renamed to ...
19311 (test_program_prefix): This.
19312 * string/Makefile ($(objpfx)tst-svc.out): Replace
19313 $(built-program-cmd) with $(test-program-cmd).
19315 2013-01-11 Andreas Jaeger <aj@suse.de>
19318 * sysdeps/unix/sysv/linux/bits/socket.h (MSG_FASTOPEN): New
19319 value. Sync with Linux 3.7.
19321 2013-01-10 David S. Miller <davem@davemloft.net>
19323 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Revert previous changes.
19324 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
19325 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
19327 2013-01-10 Roland McGrath <roland@hack.frob.com>
19329 * configure.in (sysnames): Drop use of $m0sub and $msub, which are
19331 * configure: Regenerated.
19333 2013-01-10 David S. Miller <davem@davemloft.net>
19335 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
19336 sparc V9 rather than using V8 code.
19337 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
19338 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
19340 2013-01-10 Roland McGrath <roland@hack.frob.com>
19342 * elf/elf.h (DT_SPARC_REGISTER, DT_SPARC_NUM): Fix whitespace.
19343 (EF_MIPS_NOREORDER, EF_MIPS_PIC, EF_MIPS_CPIC, EF_MIPS_XGOT): Likewise.
19344 (EF_MIPS_64BIT_WHIRL, EF_MIPS_ABI2, EF_MIPS_ABI_ON32): Likewise.
19345 (EF_MIPS_ARCH, EF_MIPS_ARCH_1, EF_MIPS_ARCH_2): Likewise.
19346 (EF_MIPS_ARCH_3, EF_MIPS_ARCH_4, EF_MIPS_ARCH_5): Likewise.
19347 (EF_MIPS_ARCH_32, EF_MIPS_ARCH_64): Likewise.
19348 (E_MIPS_ARCH_1): Define in terms of EF_MIPS_ARCH_* counterpart.
19349 (E_MIPS_ARCH_2, E_MIPS_ARCH_3, E_MIPS_ARCH_4, E_MIPS_ARCH_5): Likewise.
19350 (E_MIPS_ARCH_32, E_MIPS_ARCH_64): Likewise.
19351 (SHN_MIPS_ACOMMON, SHN_MIPS_TEXT, SHN_MIPS_DATA): Fix whitespace.
19352 (SHN_MIPS_SCOMMON, SHN_MIPS_SUNDEFINED): Likewise.
19353 (SHT_MIPS_LIBLIST, SHT_MIPS_MSYM, SHT_MIPS_CONFLICT): Likewise.
19354 (SHT_MIPS_GPTAB, SHT_MIPS_UCODE, SHT_MIPS_DEBUG): Likewise.
19355 (SHT_MIPS_REGINFO, SHT_MIPS_PACKAGE, SHT_MIPS_PACKSYM): Likewise.
19356 (SHT_MIPS_RELD, SHT_MIPS_IFACE, SHT_MIPS_CONTENT): Likewise.
19357 (SHT_MIPS_OPTIONS, SHT_MIPS_SHDR, SHT_MIPS_FDESC): Likewise.
19358 (SHT_MIPS_EXTSYM, SHT_MIPS_DENSE, SHT_MIPS_PDESC): Likewise.
19359 (SHT_MIPS_LOCSYM, SHT_MIPS_AUXSYM, SHT_MIPS_OPTSYM): Likewise.
19360 (SHT_MIPS_LOCSTR, SHT_MIPS_LINE, SHT_MIPS_RFDESC): Likewise.
19361 (SHT_MIPS_DELTASYM, SHT_MIPS_DELTAINST, SHT_MIPS_DELTACLASS): Likewise.
19362 (SHT_MIPS_DELTADECL, SHT_MIPS_SYMBOL_LIB, SHT_MIPS_EVENTS): Likewise.
19363 (SHT_MIPS_TRANSLATE, SHT_MIPS_PIXIE, SHT_MIPS_XLATE): Likewise.
19364 (SHT_MIPS_XLATE_DEBUG, SHT_MIPS_WHIRL, SHT_MIPS_EH_REGION): Likewise.
19365 (SHT_MIPS_XLATE_OLD, SHT_MIPS_PDR_EXCEPTION): Likewise.
19366 (SHF_MIPS_GPREL, SHF_MIPS_MERGE, SHF_MIPS_ADDR): Likewise.
19367 (SHF_MIPS_STRINGS, SHF_MIPS_NOSTRIP, SHF_MIPS_LOCAL): Likewise.
19368 (SHF_MIPS_NAMES, SHF_MIPS_NODUPE): Likewise.
19370 2013-01-10 David S. Miller <davem@davemloft.net>
19372 * sysdeps/sparc/fpu/libm-test-ulps: Update.
19374 2013-01-10 H.J. Lu <hongjiu.lu@intel.com>
19376 * posix/Makefile (tests-static): New variable.
19377 (tests): Add $(tests-static).
19378 (tst-exec-static-ARGS): New variable.
19379 (tst-spawn-static-ARGS): Likewise.
19380 * posix/tst-exec-static.c: New file.
19381 * posix/tst-spawn-static.c: Likewise.
19382 * posix/tst-exec.c: Support run directly.
19383 * posix/tst-spawn.c: Likewise.
19385 2013-01-10 Joseph Myers <joseph@codesourcery.com>
19387 * elf/link.h (struct dl_phdr_info): Use __extension__ with long
19389 * math/bits/mathcalls.h (llrint): Likewise.
19390 (llround): Likewise.
19391 * stdlib/stdlib.h (struct drand48_data): Likewise.
19392 * sysdeps/generic/inttypes.h (imaxdiv_t): Likewise.
19393 * sysdeps/s390/bits/byteswap.h (__bswap_64): Likewise.
19394 * sysdeps/unix/sysv/linux/sparc/bits/ipc.h (struct ipc_perm):
19396 * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (struct fpu):
19398 * sysdeps/unix/sysv/linux/x86/sys/procfs.h [__x86_64__]
19399 (elf_greg_t): Likewise.
19400 * sysdeps/x86/bits/setjmp.h [__x86_64__ && __WORDSIZE != 64]
19401 (__jmp_buf): Likewise.
19402 * sysdeps/x86/fpu/bits/mathinline.h (llrintf): Likewise, for all
19404 (llrint): Likewise, for all definitions.
19405 (llrintl): Likewise.
19407 * string/string.h [__USE_BSD && __USE_GNU && __GNUC__] (ffsll):
19408 Remove [__GNUC__] condition.
19409 * wcsmbs/wchar.h [__USE_ISOC99 || (__GNUC__ && __USE_GNU)]: Change
19410 condition to just [__USE_ISOC99].
19411 [__GNUC__ && __USE_GNU]: Change condition to just [__USE_GNU].
19413 2013-01-10 H.J. Lu <hongjiu.lu@intel.com>
19416 * sysdeps/unix/sysv/linux/x86/bits/environments.h
19417 (_POSIX_V7_ILP32_OFF32): Defined as 1 only if __x86_64__ isn't
19419 (_POSIX_V6_ILP32_OFF32): Likewise.
19420 (_XBS5_ILP32_OFF32): Likewise.
19421 (__ILP32_OFFBIG_CFLAGS): Defined as "-mx32" for x32.
19422 (__ILP32_OFFBIG_LDFLAGS): Likewise.
19424 2013-01-10 Siddhesh Poyarekar <siddhesh@redhat.com>
19426 * sysdeps/ieee754/dbl-64/mpexp.c: Fix formatting.
19428 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): New array of
19429 doubles __mpexp_twomm1. Adjust usage.
19430 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1):
19433 2013-01-10 Andreas Schwab <schwab@suse.de>
19436 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (FALLOC_FL_KEEP_SIZE)
19437 (FALLOC_FL_PUNCH_HOLE) [__USE_GNU]: New macros.
19439 2013-01-09 David S. Miller <davem@davemloft.net>
19442 * sysdeps/gnu/netinet/tcp.h (TCP_COOKIE_TRANSACTIONS)
19443 (TCP_THIN_LINEAR_TIMEOUTS, TCP_THIN_DUPACK, TCP_USER_TIMEOUT)
19444 (TCP_REPAIR, TCP_REPAIR_QUEUE, TCP_QUEUE_SEQ, TCP_REPAIR_OPTIONS)
19445 (TCP_FASTOPEN): Define.
19446 (tcp_repair_opt): New structure.
19447 (TCP_NO_QUEUE, TCP_RECV_QUEUE, TCP_SEND_QUEUE, TCP_QUEUES_NR): New
19449 (TCP_COOKIE_MIN, TCP_COOKIE_MAX, TCP_COOKIE_PAIR_SIZE)
19450 (TCP_COOKIE_IN_ALWAYS, TCP_COOKIE_OUT_NEVER, TCP_S_DATA_IN)
19451 (TCP_S_DATA_OUT, TCP_MSS_DEFAULT, TCP_MSS_DESIRED): Define.
19452 (tcp_cookie_transactions): New structure.
19454 2013-01-09 Anton Blanchard <anton@samba.org>
19456 * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: New file.
19457 * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_getcpu.
19458 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Likewise.
19459 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Likewise.
19461 2013-01-09 Joseph Myers <joseph@codesourcery.com>
19463 * include/features.h (__USE_ANSI): Remove.
19465 2013-01-09 Roland McGrath <roland@hack.frob.com>
19467 * posix/Makefile (others): Depend on $(objpfx)getconf.speclist.
19469 * misc/error.c (error_tail: ALLOCA_LIMIT): Remove unused macro.
19471 2013-01-09 Siddhesh Poyarekar <siddhesh@redhat.com>
19473 * sysdeps/s390/fpu/libm-test-ulps: Update.
19475 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
19477 * sysdeps/ieee754/dbl-64/mpa.c (mcr): Reword comment.
19481 (denorm): Likewise.
19482 (__mp_dbl): Likewise.
19483 (__dbl_mp): Likewise.
19484 (add_magnitudes): Likewise.
19485 (sub_magnitudes): Likewise.
19491 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mcr): Likewise.
19495 (denorm): Likewise.
19496 (__mp_dbl): Likewise.
19497 (__dbl_mp): Likewise.
19498 (add_magnitudes): Likewise.
19499 (sub_magnitudes): Likewise.
19505 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mcr): Likewise.
19509 (denorm): Likewise.
19510 (__mp_dbl): Likewise.
19511 (__dbl_mp): Likewise.
19512 (add_magnitudes): Likewise.
19513 (sub_magnitudes): Likewise.
19520 2013-01-08 Joseph Myers <joseph@codesourcery.com>
19522 * io/sys/stat.h [__GNUC__ && __GNUC__ >= 2 &&
19523 __USE_EXTERN_INLINES]: Change condition to [__USE_EXTERN_INLINES].
19524 * sysdeps/unix/sysv/linux/sys/sysmacros.h [__GNUC__ && __GNUC__ >=
19525 2 && __USE_EXTERN_INLINES]: Likewise.
19527 2013-01-08 Andreas Jaeger <aj@suse.de>
19530 * sysdeps/unix/sysv/linux/sparc/bits/epoll.h (EPOLL_NONBLOCK):
19532 * sysdeps/unix/sysv/linux/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
19533 * sysdeps/unix/sysv/linux/x86/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
19535 2013-01-07 Anton Blanchard <anton@samba.org>
19537 * sysdeps/powerpc/fpu/feholdexcpt.c: Fixed spelling errors.
19538 * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
19539 * sysdeps/powerpc/fpu/math_ldbl.h: Likewise.
19540 * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
19541 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
19542 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
19543 * sysdeps/powerpc/powerpc32/dl-start.S: Likewise.
19544 * sysdeps/powerpc/powerpc32/memset.S: Likewise.
19545 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
19546 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
19547 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
19548 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
19549 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
19550 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
19551 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
19552 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
19553 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
19554 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
19555 * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
19556 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
19557 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
19558 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Likewise.
19559 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
19560 * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
19561 * sysdeps/powerpc/powerpc64/bits/atomic.h: Likewise.
19562 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
19563 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
19564 * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
19565 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Likewise.
19566 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
19567 * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
19568 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
19569 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
19570 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
19571 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
19572 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
19573 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
19574 * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
19575 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Likewise.
19576 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
19577 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Likewise.
19578 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
19579 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
19581 2013-01-07 Joseph Myers <joseph@codesourcery.com>
19583 * malloc/malloc.h (__MALLOC_P): Remove all definitions.
19584 (__MALLOC_PMT): Likewise.
19585 [__GNUC__] (__MALLOC_HOOK_VOLATILE): Make not conditional on
19586 [__GNUC__], only on [_LIBC].
19587 [__GNUC__] (__MALLOC_DEPRECATED): Likewise.
19588 [!__GNUC__] (__MALLOC_HOOK_VOLATILE): Remove definition.
19589 [!__GNUC__] (__MALLOC_DEPRECATED): Likewise.
19590 * malloc/malloc.c (malloc_hook_ini): Do not use __MALLOC_P in
19591 forward declaration.
19592 (realloc_hook_ini): Likewise.
19593 (memalign_hook_ini): Likewise.
19594 (__libc_memalign): Do not use __MALLOC_PMT in variable
19596 (__libc_valloc): Likewise.
19597 (__libc_pvalloc): Likewise.
19598 (__libc_calloc): Likewise.
19599 (__posix_memalign): Likewise.
19602 * math/s_casinh.c: Include <float.h>.
19603 (__casinh): Do not do computation with squaring and square root
19604 for large arguments.
19605 * math/s_casinhf.c: Include <float.h>.
19606 (__casinhf): Do not do computation with squaring and square root
19607 for large arguments.
19608 * math/s_casinhl.c: Include <float.h>.
19609 [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine and redefine.
19610 (__casinhl): Do not do computation with squaring and square root
19611 for large arguments.
19612 * math/libm-test.inc (casin_test): Add more tests.
19613 (casinh_test): Likewise.
19614 * sysdeps/i386/fpu/libm-test-ulps: Update.
19615 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19617 2013-01-04 H.J. Lu <hongjiu.lu@intel.com>
19619 * sysdeps/i386/i686/cacheinfo.c (__x86_64_data_cache_size): Removed.
19620 (__x86_64_raw_data_cache_size): Likewise.
19621 (__x86_64_data_cache_size_half): Likewise.
19622 (__x86_64_raw_data_cache_size_half): Likewise.
19623 (__x86_64_shared_cache_size): Likewise.
19624 (__x86_64_raw_shared_cache_size): Likewise.
19625 (__x86_64_shared_cache_size_half): Likewise.
19626 (__x86_64_raw_shared_cache_size_half): Likewise.
19627 * sysdeps/x86_64/cacheinfo.c (__x86_64_data_cache_size): Renamed
19629 (__x86_data_cache_size): This.
19630 (__x86_64_raw_data_cache_size): Renamed to ...
19631 (__x86_raw_data_cache_size): This.
19632 (__x86_64_data_cache_size_half): Renamed to ...
19633 (__x86_data_cache_size_half): This.
19634 (__x86_64_raw_data_cache_size_half): Renamed to ...
19635 (__x86_raw_data_cache_size_half): This.
19636 (__x86_64_shared_cache_size): Renamed to ...
19637 (__x86_shared_cache_size): This.
19638 (__x86_64_raw_shared_cache_size): Renamed to ...
19639 (__x86_raw_shared_cache_size): This.
19640 (__x86_64_shared_cache_size_half): Renamed to ...
19641 (__x86_shared_cache_size_half): This.
19642 (__x86_64_raw_shared_cache_size_half): Renamed to ...
19643 (__x86_raw_shared_cache_size_half): This.
19644 * sysdeps/x86_64/memcpy.S: Updated.
19645 * sysdeps/x86_64/memset.S: Likewise.
19646 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
19647 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
19648 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
19650 2013-01-04 David S. Miller <davem@davemloft.net>
19652 * sysdeps/sparc/fpu/libm-test-ulps: Update.
19654 2013-01-04 Andreas Schwab <schwab@linux-m68k.org>
19656 * sysdeps/powerpc/fpu/test-powerpc-snan.c (_GNU_SOURCE): Define as
19657 1 to avoid redefinition warning.
19658 (__USE_GNU): Don't define.
19659 (init_signaling_nan): Protoize.
19661 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
19663 2013-01-04 Siddhesh Poyarekar <siddhesh@redhat.com>
19665 * sysdeps/ieee754/dbl-64/mpa.c: Remove commented code.
19666 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cr): Remove.
19667 (__cpymn): Likewise.
19668 (norm): Remove commented code.
19669 (denorm): Likewise.
19670 (__mp_dbl): Likewise.
19672 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cr): Remove.
19673 (__cpymn): Likewise.
19674 (norm): Remove commented code.
19675 (denorm): Likewise.
19676 (__mp_dbl): Likewise.
19679 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mpone): Define
19680 mp_no value for 1.0 and 2.0.
19681 (norm): Use RADIXI instead of radixi.d.
19682 (denorm): Likewise.
19683 (__mul): Use 0.0 instead of zero.d.
19684 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mpone): Define
19685 mp_no value for 1.0 and 2.0.
19686 (norm): Use RADIXI instead of radixi.d.
19687 (denorm): Likewise.
19688 (__mul): Use 0.0 instead of zero.d.
19690 2013-01-04 Joseph Myers <joseph@codesourcery.com>
19693 * math/s_casinh.c (__casinh): Reduce finite argument to first
19694 quadrant then set signs of results at the end.
19695 * math/s_casinhf.c (__casinhf): Likewise.
19696 * math/s_casinhl.c (__casinhl): Likewise.
19697 * math/libm-test.inc (casin_test): Add more tests.
19698 (casinh_test): Likewise.
19699 * sysdeps/i386/fpu/libm-test-ulps: Update.
19700 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19702 2013-01-04 Siddhesh Poyarekar <siddhesh@redhat.com>
19704 * sysdeps/ieee754/dbl-64/mpa.h: Fix code formatting.
19706 * sysdeps/ieee754/dbl-64/mpa.h: Clean up comment for MP_NO.
19708 * sysdeps/ieee754/dbl-64/mpa.c(norm): Remove commented
19710 (denorm): Likewise.
19711 (__mp_dbl): Likewise.
19714 * sysdeps/ieee754/dbl-64/mpa.h: Remove commented declarations
19715 and adjust the header comment.
19717 * sysdeps/ieee754/dbl-64/mpa.h (__mpexp): Remove unnecessary
19718 variable name from declaration.
19720 2013-01-03 H.J. Lu <hongjiu.lu@intel.com>
19722 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
19723 Initialize COMMON_CPUID_INDEX_7 element.
19724 * sysdeps/x86_64/multiarch/init-arch.h (bit_RTM): New macro.
19725 (CPUID_RTM): Likewise.
19726 (HAS_RTM): Likewise.
19727 (COMMON_CPUID_INDEX_7): New enum.
19729 2013-01-03 Andreas Schwab <schwab@linux-m68k.org>
19732 * malloc/mtrace.c (tr_reallochook): If realloc returns NULL when
19733 size is zero, record memory as freed.
19735 2013-01-03 Andreas Jaeger <aj@suse.de>
19737 * po/ia.po: Add new Interlingua translation.
19739 2012-01-03 Allan McRae <allan@archlinux.org>
19741 * locale/programs/localedef.c: Fix description of '--posix' flag.
19743 2013-01-02 Joseph Myers <joseph@codesourcery.com>
19745 * NEWS: Update dates in second copyright notice.
19746 * README: Update copyright dates in example.
19747 * manual/libc.texinfo: Update copyright dates.
19748 * scripts/test-installation.pl: Update copyright date in --version
19751 * hurd/ctty-input.c: Fix copyright notice formatting.
19752 * hurd/ctty-output.c: Likewise.
19753 * hurd/dtable.c: Likewise.
19754 * hurd/hurd-raise.c: Likewise.
19755 * hurd/hurdprio.c: Likewise.
19756 * hurd/msgportdemux.c: Likewise.
19757 * misc/sys/file.h: Likewise.
19758 * misc/sys/ioctl.h: Likewise.
19759 * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
19760 * sysdeps/mach/hurd/chdir.c: Likewise.
19761 * sysdeps/mach/hurd/fchdir.c: Likewise.
19762 * sysdeps/mach/hurd/rename.c: Likewise.
19763 * sysdeps/mach/hurd/rmdir.c: Likewise.
19764 * sysdeps/mach/hurd/seekdir.c: Likewise.
19765 * sysdeps/mach/hurd/setsid.c: Likewise.
19766 * sysdeps/posix/wait3.c: Likewise.
19768 * All files with FSF copyright notices: Update copyright dates
19769 using scripts/update-copyrights.
19770 * intl/plural.c: Regenerated.
19771 * locale/programs/charmap-kw.h: Likewise.
19772 * locale/programs/locfile-kw.h: Likewise.
19774 2013-01-02 Siddhesh Poyarekar <siddhesh@redhat.com>
19776 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1): Fix first
19779 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Split mantissa
19780 calculation loop and add branch prediction.
19782 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Add assert to
19783 check access beyond bounds of m1np.
19785 * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
19787 (__inv): Remove local variable MPTWO to use the global
19789 * sysdeps/ieee754/dbl-64/mpa.h: Declare MPTWO.
19790 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
19792 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Make MPHALF and
19793 MP3HALFS static const.
19795 2013-01-01 David S. Miller <davem@davemloft.net>
19797 * po/ca.po: Update from translation team.
19799 2013-01-01 Joseph Myers <joseph@codesourcery.com>
19801 * scripts/update-copyrights: New file.
19802 * Makeconfig: Reformat copyright notice.
19803 * ctype/ctype.h: Likewise.
19804 * debug/swprintf_chk.c: Likewise.
19805 * elf/dl-cache.c: Likewise.
19806 * elf/dl-debug.c: Likewise.
19807 * elf/dl-object.c: Likewise.
19808 * grp/initgroups.c: Likewise.
19809 * hurd/Makefile: Likewise.
19810 * hurd/hurd/signal.h: Likewise.
19811 * hurd/hurdfault.c: Likewise.
19812 * hurd/hurdioctl.c: Likewise.
19813 * hurd/hurdlookup.c: Likewise.
19814 * hurd/intr-msg.c: Likewise.
19815 * iconv/gconv_open.c: Likewise.
19816 * libio/swprintf.c: Likewise.
19817 * locale/lc-ctype.c: Likewise.
19818 * locale/nl_langinfo.c: Likewise.
19819 * mach/Machrules: Likewise.
19820 * mach/Makefile: Likewise.
19821 * malloc/obstack.h: Likewise.
19822 * manual/Makefile: Likewise.
19823 * manual/tsort.awk: Likewise.
19824 * misc/bits/stab.def: Likewise.
19825 * nis/nis_print_group_entry.c: Likewise.
19826 * nis/nis_table.c: Likewise.
19827 * nis/nss_compat/compat-pwd.c: Likewise.
19828 * nis/nss_compat/compat-spwd.c: Likewise.
19829 * po/Makefile: Likewise.
19830 * posix/fnmatch.c: Likewise.
19831 * posix/regex.h: Likewise.
19832 * resolv/Makefile: Likewise.
19833 * resolv/nss_dns/dns-network.c: Likewise.
19834 * resolv/res_hconf.c: Likewise.
19835 * scripts/gen-sorted.awk: Likewise.
19836 * soft-fp/soft-fp.h: Likewise.
19837 * stdio-common/printf.h: Likewise.
19838 * stdlib/monetary.h: Likewise.
19839 * stdlib/random.c: Likewise.
19840 * stdlib/random_r.c: Likewise.
19841 * sysdeps/generic/Makefile: Likewise.
19842 * sysdeps/gnu/Makefile: Likewise.
19843 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
19844 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
19845 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
19846 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
19847 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
19848 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
19849 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
19850 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
19851 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
19852 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
19853 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
19854 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
19855 * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
19856 * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
19857 * sysdeps/ieee754/dbl-64/mplog.c: Likewise.
19858 * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
19859 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
19860 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
19861 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
19862 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
19863 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
19864 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
19865 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
19866 * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
19867 * sysdeps/ieee754/ldbl-128/mpn2ldbl.c: Likewise.
19868 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
19869 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
19870 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Likewise.
19871 * sysdeps/mach/hurd/errnos.awk: Likewise.
19872 * sysdeps/mach/hurd/fork.c: Likewise.
19873 * sysdeps/mach/hurd/getcwd.c: Likewise.
19874 * sysdeps/mach/hurd/i386/trampoline.c: Likewise.
19875 * sysdeps/mach/hurd/mmap.c: Likewise.
19876 * sysdeps/mach/hurd/utimes.c: Likewise.
19877 * sysdeps/mach/hurd/xmknod.c: Likewise.
19878 * sysdeps/posix/profil.c: Likewise.
19879 * sysdeps/posix/readdir_r.c: Likewise.
19880 * sysdeps/powerpc/bits/mathdef.h: Likewise.
19881 * sysdeps/powerpc/bits/setjmp.h: Likewise.
19882 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Likewise.
19883 * sysdeps/powerpc/powerpc32/memset.S: Likewise.
19884 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
19885 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
19886 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
19887 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
19888 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
19889 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
19890 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
19891 * sysdeps/pthread/lio_listio.c: Likewise.
19892 * sysdeps/sparc/dl-procinfo.h: Likewise.
19893 * sysdeps/unix/i386/sysdep.S: Likewise.
19894 * sysdeps/unix/sysv/linux/aio_sigqueue.c: Likewise.
19895 * sysdeps/unix/sysv/linux/fstatvfs64.c: Likewise.
19896 * sysdeps/unix/sysv/linux/getdents.c: Likewise.
19897 * sysdeps/unix/sysv/linux/msgctl.c: Likewise.
19898 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
19899 * sysdeps/unix/sysv/linux/semctl.c: Likewise.
19900 * sysdeps/unix/sysv/linux/shmctl.c: Likewise.
19901 * sysdeps/unix/sysv/linux/speed.c: Likewise.
19902 * sysdeps/unix/sysv/linux/xstatconv.h: Likewise.
19903 * sysdeps/wordsize-32/divdi3.c: Likewise.
19904 * time/sys/time.h: Likewise.
19905 * wcsmbs/Makefile: Likewise.
19907 2013-01-01 David S. Miller <davem@davemloft.net>
19909 * po/fr.po: Update from translation team.
19911 * catgets/gencat.c: Update copyright year.
19912 * csu/version.c: Likewise.
19913 * debug/catchsegv.sh: Likewise.
19914 * debug/pcprofiledump.c: Likewise.
19915 * debug/xtrace.sh: Likewise.
19916 * elf/ldconfig.c: Likewise.
19917 * elf/ldd.bash.in: Likewise.
19918 * elf/pldd.c: Likewise.
19919 * elf/sotruss.ksh: Likewise.
19920 * elf/sprof.c: Likewise.
19921 * iconv/iconv_prog.c: Likewise.
19922 * iconv/iconvconfig.c: Likewise.
19923 * locale/programs/locale.c: Likewise.
19924 * locale/programs/localedef.c: Likewise.
19925 * login/programs/pt_chown.c: Likewise.
19926 * malloc/memusage.sh: Likewise.
19927 * malloc/memusagestat.c: Likewise.
19928 * malloc/mtrace.pl: Likewise.
19929 * nscd/nscd.c: Likewise.
19930 * nss/getent.c: Likewise.
19931 * nss/makedb.c: Likewise.
19932 * posix/getconf.c: Likewise.
19934 2012-12-31 Siddhesh Poyarekar <siddhesh@redhat.com>
19936 * sysdeps/ieee754/dbl-64/mpa.c (__mp_dbl): Favour normal
19939 2012-12-30 Mike Frysinger <vapier@gentoo.org>
19941 * math/bits/mathcalls.h (modf): Use __nonnull.
19943 2012-12-29 Siddhesh Poyarekar <siddhesh@redhat.com>
19945 * sysdeps/ieee754/dbl-64/branred.h: Include dla.h.
19946 (split): Use macro CN instead of the bare value.
19947 * sysdeps/ieee754/dbl-64/dla.h: Add comment to explain why CN
19949 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use CN
19950 instead of the bare value.
19951 (power1): Likewise.
19953 2012-12-28 Siddhesh Poyarekar <siddhesh@redhat.com>
19955 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove
19957 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
19959 * sysdeps/ieee754/dbl-64/atnat.h: Replaced constants with
19961 * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
19962 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
19963 * sysdeps/ieee754/dbl-64/ulog.h: Likewise.
19964 * sysdeps/ieee754/dbl-64/utan.h: Likewise.
19966 2012-12-28 Andreas Jaeger <aj@suse.de>
19968 * elf/elf.h (NT_S390_TDB, NT_FILE, NT_SIGINFO): Define. New
19969 values are from Linux 3.7.
19971 * sysdeps/gnu/netinet/tcp.h (TCPI_OPT_SYN_DATA)
19972 (TCPI_OPT_ECN_SEEN): Define. Sync with Linux 3.7.
19974 2012-12-28 Siddhesh Poyarekar <siddhesh@redhat.com>
19976 * misc/sys/cdefs.h (__glibc_likely): Wrap __builtin_expect for
19979 * sysdeps/ieee754/dbl-64/mpa.c (norm): Define R as RADIXI.
19981 * sysdeps/ieee754/dbl-64/mpa2.h: Remove all static const
19982 variables with preprocessor constants.
19983 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
19984 * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
19985 * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
19987 2012-12-27 Bruno Haible <bruno@clisp.org>
19990 * string/xpg-strerror.c (__xpg_strerror_r): Optimize, call strlen
19993 2012-12-27 Siddhesh Poyarekar <siddhesh@redhat.com>
19995 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Eliminate __mpexp_nn
19996 and use variable directly.
19997 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_nn): Remove.
19999 * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
20001 * sysdeps/ieee754/dbl-64/mpa.h: Declare MPONE.
20002 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
20004 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
20005 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
20006 * sysdeps/ieee754/dbl-64/mplog.c (__mplog): Remove mplog.h
20007 include directive. Remove local variable MPONE.
20008 * sysdeps/ieee754/dbl-64/mplog.h: Remove.
20009 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define NO__CONST.
20010 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
20012 2012-12-25 David S. Miller <davem@davemloft.net>
20014 * version.h (RELEASE): Set to "development".
20015 (VERSION): Set to "2.17.90".
20016 * NEWS: Add 2.18 section.
20018 2012-12-21 David S. Miller <davem@davemloft.net>
20020 * po/hr.po: Update from translation team.
20022 2012-12-21 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
20024 * sysdeps/s390/fpu/libm-test-ulps: Refreshed.
20026 2012-12-19 Steve Ellcey <sellcey@mips.com>
20028 * NEWS: Mention new memcpy for MIPS.
20030 2012-12-18 Marcus Shawcroft <marcus.shawcroft@linaro.org>
20032 * manual/contrib.texi (Contributors): Spelling correction.
20034 2012-12-15 David S. Miller <davem@davemloft.net>
20036 * po/ru.po: Update from translation team.
20038 2012-12-13 David S. Miller <davem@davemloft.net>
20040 * NEWS: Mention IFUNC testsuite enhancements.
20042 * po/pl.po: Update from translation team.
20043 * po/bg.po: Likewise.
20045 * manual/contrib.texi (Contributors): Update entries for Hongjiu
20046 Lu and Joseph S. Myers. Add entry for Marcus Shawcroft.
20048 2012-12-11 David S. Miller <davem@davemloft.net>
20050 * po/sv.po: Update from translation team.
20052 * po/vi.po: Update from translation team.
20054 * po/cs.po: Update from translation team.
20056 * po/de.po: Update from translation team.
20057 * po/eo.po: Likewise.
20058 * po/nl.po: Likewise.
20060 2012-12-11 Siddhesh Poyarekar <siddhesh@redhat.com>
20063 * manual/argp.texi (Argp Helper Functions): Move node to follow
20064 Argp Parsing State.
20067 * manual/conf.texi (Limits on File System Capacity): Mention if
20068 terminating null is included in the max size.
20070 2012-12-10 Andreas Jaeger <aj@suse.de>
20072 * po/cs.po: Update from translation team.
20074 2012-12-08 Siddhesh Poyarekar <siddhesh@redhat.com>
20076 * sysdeps/s390/jmpbuf-unwind.h (_jmpbuf_sp): Declare SP as
20077 void pointer and cast to uintptr_t.
20078 * sysdeps/s390/s390-64/memcmp.S: Pick sysdep.h from include
20080 * sysdeps/s390/s390-64/memcpy.S: Likewise.
20081 * sysdeps/s390/s390-64/memset.S: Likewise.
20083 2012-12-08 Benno Schulenberg <bensberg@justemail.net>
20086 * menual/message.texi (Message Translation): Fix typos.
20087 (Helper programs for gettext): Likewise.
20089 2012-12-07 Andreas Schwab <schwab@linux-m68k.org>
20092 * include/link.h (FORCED_DYNAMIC_TLS_OFFSET) [NO_TLS_OFFSET == 0]:
20095 2012-12-07 David S. Miller <davem@davemloft.net>
20097 * po/libc.pot: Update.
20099 2012-12-07 Richard Henderson <rth@redhat.com>
20102 * soft-fp/op-common.h (_FP_MUL): Pull computation of R_e from the
20103 normal/normal case to before the switch.
20104 (_FP_DIV): Likewise.
20106 2012-12-06 Carlos O'Donell <carlos@systemhalted.org>
20107 Mike Frysinger <vapier@gentoo.org>
20109 * sysdeps/unix/sysv/linux/posix_fadvise.c (posix_fadvise): Also
20110 check for __NR_fadvise64_64.
20112 2012-12-06 Chris Metcalf <cmetcalf@tilera.com>
20114 * sysdeps/generic/fpu_control.h (_FPU_GETCW): Define to set cw to
20115 0, not just to plain "0" as a statement.
20116 (_FPU_SETCW): Define to (void) (cw), rather than doing nothing
20119 2012-12-06 Joseph Myers <joseph@codesourcery.com>
20121 * NEWS: Use sourceware.org in Bugzilla URL.
20123 2012-12-06 Siddhesh Poyarekar <siddhesh@redhat.com>
20125 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
20126 (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
20128 * stdio-common/tst-put-error.c (do_test): Add newline to the
20129 padded test to ensure flush.
20131 2012-12-05 Jeff Law <law@redhat.com>
20133 * sunrpc/etc.rpc (fedfs_admin): Add entry.
20135 2012-12-05 Joseph Myers <joseph@codesourcery.com>
20137 * README: Don't refer to ports add-on as distributed separately.
20138 Mention AArch64 in list of systems supported in the ports add-on.
20140 * LICENSES: Add more non-FSF copyright and license notices.
20142 * soft-fp/op-common.h (_FP_DECL): Declare X##_s with __attribute__
20145 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Include <stdlib.h>.
20147 * stdio-common/tst-put-error.c (do_test): Use 10000000 instead of
20148 10000 as width of padded output.
20150 2012-12-04 Joseph Myers <joseph@codesourcery.com>
20152 * sysdeps/powerpc/sysdep.h (_SYS_AUXV_H): Define to 1 not empty.
20154 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Mark
20155 variable LX with __attribute__ ((unused)).
20156 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
20158 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
20159 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
20160 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Mark variable LY
20161 with __attribute__ ((unused)).
20163 2012-12-04 David S. Miller <davem@abraco.davemloft.net>
20165 * sysdeps/generic/memcopy.h: Add multiple inclusion protection.
20167 2012-12-04 Joseph Myers <joseph@codesourcery.com>
20169 * sysdeps/ieee754/ldbl-opt/Makefile [$(subdir) = math]
20170 (CFLAGS-nldbl-acos.c): New variable.
20171 [$(subdir) = math] (CFLAGS-nldbl-acosh.c): Likewise.
20172 [$(subdir) = math] (CFLAGS-nldbl-asin.c): Likewise.
20173 [$(subdir) = math] (CFLAGS-nldbl-asinh.c): Likewise.
20174 [$(subdir) = math] (CFLAGS-nldbl-atan.c): Likewise.
20175 [$(subdir) = math] (CFLAGS-nldbl-atan2.c): Likewise.
20176 [$(subdir) = math] (CFLAGS-nldbl-atanh.c): Likewise.
20177 [$(subdir) = math] (CFLAGS-nldbl-cabs.c): Likewise.
20178 [$(subdir) = math] (CFLAGS-nldbl-cacos.c): Likewise.
20179 [$(subdir) = math] (CFLAGS-nldbl-cacosh.c): Likewise.
20180 [$(subdir) = math] (CFLAGS-nldbl-carg.c): Likewise.
20181 [$(subdir) = math] (CFLAGS-nldbl-casin.c): Likewise.
20182 [$(subdir) = math] (CFLAGS-nldbl-casinh.c): Likewise.
20183 [$(subdir) = math] (CFLAGS-nldbl-catan.c): Likewise.
20184 [$(subdir) = math] (CFLAGS-nldbl-catanh.c): Likewise.
20185 [$(subdir) = math] (CFLAGS-nldbl-cbrt.c): Likewise.
20186 [$(subdir) = math] (CFLAGS-nldbl-ccos.c): Likewise.
20187 [$(subdir) = math] (CFLAGS-nldbl-ccosh.c): Likewise.
20188 [$(subdir) = math] (CFLAGS-nldbl-ceil.c): Likewise.
20189 [$(subdir) = math] (CFLAGS-nldbl-cexp.c): Likewise.
20190 [$(subdir) = math] (CFLAGS-nldbl-cimag.c): Likewise.
20191 [$(subdir) = math] (CFLAGS-nldbl-clog.c): Likewise.
20192 [$(subdir) = math] (CFLAGS-nldbl-clog10.c): Likewise.
20193 [$(subdir) = math] (CFLAGS-nldbl-conj.c): Likewise.
20194 [$(subdir) = math] (CFLAGS-nldbl-copysign.c): Likewise.
20195 [$(subdir) = math] (CFLAGS-nldbl-cos.c): Likewise.
20196 [$(subdir) = math] (CFLAGS-nldbl-cosh.c): Likewise.
20197 [$(subdir) = math] (CFLAGS-nldbl-cpow.c): Likewise.
20198 [$(subdir) = math] (CFLAGS-nldbl-cproj.c): Likewise.
20199 [$(subdir) = math] (CFLAGS-nldbl-creal.c): Likewise.
20200 [$(subdir) = math] (CFLAGS-nldbl-csin.c): Likewise.
20201 [$(subdir) = math] (CFLAGS-nldbl-csinh.c): Likewise.
20202 [$(subdir) = math] (CFLAGS-nldbl-csqrt.c): Likewise.
20203 [$(subdir) = math] (CFLAGS-nldbl-ctan.c): Likewise.
20204 [$(subdir) = math] (CFLAGS-nldbl-ctanh.c): Likewise.
20205 [$(subdir) = math] (CFLAGS-nldbl-drem.c): Likewise.
20206 [$(subdir) = math] (CFLAGS-nldbl-erf.c): Likewise.
20207 [$(subdir) = math] (CFLAGS-nldbl-erfc.c): Likewise.
20208 [$(subdir) = math] (CFLAGS-nldbl-exp.c): Likewise.
20209 [$(subdir) = math] (CFLAGS-nldbl-exp10.c): Likewise.
20210 [$(subdir) = math] (CFLAGS-nldbl-exp2.c): Likewise.
20211 [$(subdir) = math] (CFLAGS-nldbl-expm1.c): Likewise.
20212 [$(subdir) = math] (CFLAGS-nldbl-fabs.c): Likewise.
20213 [$(subdir) = math] (CFLAGS-nldbl-fdim.c): Likewise.
20214 [$(subdir) = math] (CFLAGS-nldbl-finite.c): Likewise.
20215 [$(subdir) = math] (CFLAGS-nldbl-floor.c): Likewise.
20216 [$(subdir) = math] (CFLAGS-nldbl-fma.c): Likewise.
20217 [$(subdir) = math] (CFLAGS-nldbl-fmax.c): Likewise.
20218 [$(subdir) = math] (CFLAGS-nldbl-fmin.c): Likewise.
20219 [$(subdir) = math] (CFLAGS-nldbl-fmod.c): Likewise.
20220 [$(subdir) = math] (CFLAGS-nldbl-frexp.c): Likewise.
20221 [$(subdir) = math] (CFLAGS-nldbl-gamma.c): Likewise.
20222 [$(subdir) = math] (CFLAGS-nldbl-hypot.c): Likewise.
20223 [$(subdir) = math] (CFLAGS-nldbl-ilogb.c): Likewise.
20224 [$(subdir) = math] (CFLAGS-nldbl-isinf.c): Likewise.
20225 [$(subdir) = math] (CFLAGS-nldbl-isnan.c): Likewise.
20226 [$(subdir) = math] (CFLAGS-nldbl-j0.c): Likewise.
20227 [$(subdir) = math] (CFLAGS-nldbl-j1.c): Likewise.
20228 [$(subdir) = math] (CFLAGS-nldbl-jn.c): Likewise.
20229 [$(subdir) = math] (CFLAGS-nldbl-ldexp.c): Likewise.
20230 [$(subdir) = math] (CFLAGS-nldbl-lgamma.c): Likewise.
20231 [$(subdir) = math] (CFLAGS-nldbl-lgamma_r.c): Likewise.
20232 [$(subdir) = math] (CFLAGS-nldbl-llrint.c): Likewise.
20233 [$(subdir) = math] (CFLAGS-nldbl-llround.c): Likewise.
20234 [$(subdir) = math] (CFLAGS-nldbl-log.c): Likewise.
20235 [$(subdir) = math] (CFLAGS-nldbl-log10.c): Likewise.
20236 [$(subdir) = math] (CFLAGS-nldbl-log1p.c): Likewise.
20237 [$(subdir) = math] (CFLAGS-nldbl-log2.c): Likewise.
20238 [$(subdir) = math] (CFLAGS-nldbl-logb.c): Likewise.
20239 [$(subdir) = math] (CFLAGS-nldbl-lrint.c): Likewise.
20240 [$(subdir) = math] (CFLAGS-nldbl-lround.c): Likewise.
20241 [$(subdir) = math] (CFLAGS-nldbl-modf.c): Likewise.
20242 [$(subdir) = math] (CFLAGS-nldbl-nan.c): Likewise.
20243 [$(subdir) = math] (CFLAGS-nldbl-nearbyint.c): Likewise.
20244 [$(subdir) = math] (CFLAGS-nldbl-nextafter.c): Likewise.
20245 [$(subdir) = math] (CFLAGS-nldbl-nexttoward.c): Likewise.
20246 [$(subdir) = math] (CFLAGS-nldbl-nexttowardf.c): Likewise.
20247 [$(subdir) = math] (CFLAGS-nldbl-pow.c): Likewise.
20248 [$(subdir) = math] (CFLAGS-nldbl-pow10.c): Likewise.
20249 [$(subdir) = math] (CFLAGS-nldbl-remainder.c): Likewise.
20250 [$(subdir) = math] (CFLAGS-nldbl-remquo.c): Likewise.
20251 [$(subdir) = math] (CFLAGS-nldbl-rint.c): Likewise.
20252 [$(subdir) = math] (CFLAGS-nldbl-round.c): Likewise.
20253 [$(subdir) = math] (CFLAGS-nldbl-scalb.c): Likewise.
20254 [$(subdir) = math] (CFLAGS-nldbl-scalbln.c): Likewise.
20255 [$(subdir) = math] (CFLAGS-nldbl-scalbn.c): Likewise.
20256 [$(subdir) = math] (CFLAGS-nldbl-significand.c): Likewise.
20257 [$(subdir) = math] (CFLAGS-nldbl-sin.c): Likewise.
20258 [$(subdir) = math] (CFLAGS-nldbl-sincos.c): Likewise.
20259 [$(subdir) = math] (CFLAGS-nldbl-sinh.c): Likewise.
20260 [$(subdir) = math] (CFLAGS-nldbl-sqrt.c): Likewise.
20261 [$(subdir) = math] (CFLAGS-nldbl-tan.c): Likewise.
20262 [$(subdir) = math] (CFLAGS-nldbl-tanh.c): Likewise.
20263 [$(subdir) = math] (CFLAGS-nldbl-tgamma.c): Likewise.
20264 [$(subdir) = math] (CFLAGS-nldbl-trunc.c): Likewise.
20265 [$(subdir) = math] (CFLAGS-nldbl-y0.c): Likewise.
20266 [$(subdir) = math] (CFLAGS-nldbl-y1.c): Likewise.
20267 [$(subdir) = math] (CFLAGS-nldbl-yn.c): Likewise.
20269 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
20270 (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
20273 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Clear
20274 whole low double instead of just low 47 bits when splitting values
20277 2012-12-03 Allan McRae <allan@archlinux.org>
20279 * manual/stdio.texi (Predefined Printf Handlers): Remove
20280 @hsep and @vsep usage.
20282 2012-12-03 Mike Frysinger <vapier@gentoo.org>
20284 * bits/byteswap.h [__GNUC__]: Change __GNUC_PREREQ from 4.2 to 4.3.
20285 * sysdeps/x86/bits/byteswap.h [__GNUC__]: Likewise.
20287 2012-12-03 Jeff Law <law@redhat.com>
20289 * time/sys/time.h (settimeofday): Do not mark TV argument
20292 2012-12-01 Mike Frysinger <vapier@gentoo.org>
20294 * libio/fileops.c (_IO_new_file_close_it): Do not always flush
20295 when currently writing and seek to current position when not.
20296 * libio/Makefile (tests): Remove bug-fclose1.
20297 * libio/bug-fclose1.c: Delete.
20299 2012-12-01 Joseph Myers <joseph@codesourcery.com>
20301 * manual/arith.texi (feenableexcept): Fix typo.
20302 (fedisableexcept): Likewise.
20304 2012-11-30 Roland McGrath <roland@hack.frob.com>
20306 * sysdeps/powerpc/powerpc64/entry.h (TEXT_START): Define using a
20307 second, differently-typed declaration, rather than a cast.
20309 2012-11-30 Siddhesh Poyarekar <siddhesh@redhat.com>
20311 * sunrpc/rpc/svc.h (__svc_accept_failed): Move declaration...
20312 * include/rpc/svc.h: ... here.
20314 2012-11-30 Aurelien Jarno <aurel32@debian.org>
20317 * resolv/res_query.c(__libc_res_nquery): Assign hp and hp2
20318 depending n and resplen2 to catch cases where answer
20321 2012-11-29 Carlos O'Donell <carlos@systemhalted.org>
20323 * elf/get-dynamic-info.h (elf_get_dynamic_info): Warn
20324 for unsupported DF_1_* bits when DL_DEBUG_FILES is set.
20326 2012-11-29 Mike Frysinger <vapier@gentoo.org>
20328 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c (HAS_CPUCLOCK): Delete.
20330 2012-11-29 Roland McGrath <roland@hack.frob.com>
20332 * inet/tst-inet6_rth.c (do_test): Use a union rather than type punning.
20334 2012-11-28 Jeff Law <law@redhat.com>
20337 * nscd/grpcache.c (cache_addgr): Rename alloca_used to
20338 dataset_temporary. Track alloca usage into alloca_used.
20339 If dataset is large allocate and release it via malloc/free.
20341 2012-06-04 Florian Weimer <fweimer@redhat.com>
20344 * debug/test-strcpy_chk.c: Mention __chk_fail ABI test.
20346 2012-11-28 David S. Miller <davem@davemloft.net>
20348 * sysdeps/sparc/fpu/libm-test-ulps: Update.
20350 2012-11-28 Joseph Myers <joseph@codesourcery.com>
20353 * sysdeps/ieee754/ldbl-96/e_asinl.c (pio2_hi): Use hex float value
20354 of pi/2 rounded to nearest to 64 bits.
20355 (pio2_lo): Use hex float value of pi/2 - pio2_hi rounded to
20356 nearest to 64 bits.
20357 (pio4_hi): Use hex float value of pi/4 rounded to nearest to 64
20360 2012-11-28 Jeff Law <law@redhat.com>
20361 Martin Osvald <mosvald@redhat.com>
20364 * sunrpc/rpc/svc.h (__svc_accept_failed): New prototype.
20365 * sunrpc/svc.c: Include time.h.
20366 (__svc_accept_failed): New function.
20367 * sunrpc/svc_tcp.c (rendezvous_request): If the accept fails for
20368 any reason other than EINTR, call __svc_accept_failed.
20369 * sunrpc/svc_udp.c (svcudp_recv): Similarly.
20370 * sunrpc/svc_unix.c (rendezvous_request): Similarly.
20372 2012-11-28 Andreas Schwab <schwab@suse.de>
20374 * scripts/abilist.awk: Also handle indirect functions in .opd
20377 2012-11-28 Joseph Myers <joseph@codesourcery.com>
20380 * sysdeps/x86/fpu/powl_helper.c: New file.
20381 * sysdeps/x86/fpu/Makefile: Likewise.
20382 * sysdeps/i386/fpu/e_powl.S (limit): Remove object.
20384 (__ieee754_powl): Use __powl_helper for finite arguments except
20385 integer exponents below 8.
20386 * sysdeps/x86_64/fpu/e_powl.S (limit): Remove object.
20388 (__ieee754_powl): Use __powl_helper for finite arguments except
20389 integer exponents below 8.
20390 * math/libm-test.inc (pow_test): Add more tests and enable some
20391 previously disabled tests.
20392 * sysdeps/i386/fpu/libm-test-ulps: Update.
20393 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20395 2012-11-28 Siddhesh Poyarekar <siddhesh@redhat.com>
20396 Carlos O'Donell <carlos_odonell@mentor.com>
20398 * nss/makedb.c (is_prime): Assert that input is odd and greater
20399 than 4. Note that fact in a comment too.
20400 (next_prime): Add 4 to input.
20402 2012-11-27 Siddhesh Poyarekar <siddhesh@redhat.com>
20405 * libio/Makefile (tests): Add test case tst-fwrite-error.
20406 * libio/iofwrite.c (_IO_fwrite): Return 0 on EOF.
20407 * libio/iofwrite_u.c (fwrite_unlocked): Likewise.
20408 * libio/tst-fwrite-error.c: New test case.
20410 2012-11-26 H.J. Lu <hongjiu.lu@intel.com>
20412 * elf/dl-load.c (_dl_map_object_from_fd): Cast to uintptr_t
20413 before casting to void *.
20414 * include/libc-internal.h (__pointer_type): New macro.
20415 (__integer_if_pointer_type_sub): Likewise.
20416 (__integer_if_pointer_type): Likewise.
20417 (cast_to_integer): Likewise.
20418 * sysdeps/x86_64/bits/atomic.h: Include <libc-internal.h>.
20419 (__arch_c_compare_and_exchange_val_64_acq): Use cast_to_integer
20420 before casting to atomic64_t.
20421 (atomic_exchange_acq): Likewise.
20422 (__arch_exchange_and_add_body): Likewise.
20423 (__arch_add_body): Likewise.
20424 (atomic_add_negative): Likewise.
20425 (atomic_add_zero): Likewise.
20427 2012-11-26 Joseph Myers <joseph@codesourcery.com>
20429 * sysdeps/generic/unwind-dw2-fde.c (get_pc_begin): New function.
20430 (fde_unencoded_compare): Use get_pc_begin instead of type-punning.
20431 (add_fdes): Likewise.
20432 (linear_search_fdes): Likewise.
20433 (binary_search_unencoded_fdes): Likewise.
20435 2012-11-26 Andreas Schwab <schwab@linux-m68k.org>
20437 * elf/sotruss.ksh: Correctly locate argument of -F and -T options.
20439 2012-11-24 Adam Conrad <adconrad@0c3.net>
20441 * configure.in: Autodetect C++ header directories.
20442 * configure: Regenerated.
20444 2012-11-23 Mike Frysinger <vapier@gentoo.org>
20446 * elf/Makefile ($(objpfx)ld.so): Change readelf to $(READELF).
20448 2012-11-23 Andreas Schwab <schwab@linux-m68k.org>
20450 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
20452 2012-11-22 Joseph Myers <joseph@codesourcery.com>
20454 * math/libm-test.inc (fma_test_towardzero) [TEST_LDOUBLE &&
20455 LDBL_MANT_DIG == 106]: Disable some tests.
20456 (fma_test_downward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
20458 (fma_test_upward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
20462 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Return the
20463 input for small inputs. Return +/- pi/2 for large inputs.
20464 * math/libm-test.inc (atan_test): Add more tests.
20466 * sysdeps/generic/unwind-dw2-fde-glibc.c
20467 (_Unwind_IteratePhdrCallback): Declare P_DYNAMIC with
20468 __attribute__ ((unused)).
20471 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c (__fmal): Compute result as
20472 x * y if x and y are nonzero and z is zero.
20475 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Saturate
20476 nonzero exponents with absolute value below 0x1p-117 to +/-
20480 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Scale
20481 up arguments below 2**-450, not just those below 2**-500.
20482 * math/libm-test.inc (hypot_test): Add another test.
20485 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl):
20486 Return a+b for ratio over 2**120, not 2**60.
20487 * math/libm-test.inc (hypot_test): Add another test.
20489 * math/libm-test.inc (clog_test): Use
20490 UNDERFLOW_EXCEPTION_LDOUBLE_IBM on two tests.
20491 (clog10_test): Likewise.
20494 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (big): Change to 1e290L.
20496 2012-11-22 Andreas Schwab <schwab@suse.de>
20498 * sysdeps/i386/fpu/libm-test-ulps: Update.
20500 2012-11-22 Pino Toscano <toscano.pino@tiscali.it>
20502 * sysdeps/x86_64/multiarch/test-multiarch.c (get_cpuinfo): Terminate
20503 printf output with newline.
20505 2012-11-21 H.J. Lu <hongjiu.lu@intel.com>
20508 * aclocal.m4 (LIBC_LINKER_FEATURE): New macro.
20509 * configure.in: Use LIBC_LINKER_FEATURE to check -z nodelete,
20510 -z nodlopen, -z initfirst and -z execstack support.
20511 * configure: Regenerated.
20513 * elf/elf.h (DF_1_NODIRECT): New macro.
20514 (DF_1_IGNMULDEF): Likewise.
20515 (DF_1_NOKSYMS): Likewise.
20516 (DF_1_NOHDR): Likewise.
20517 (DF_1_EDITED): Likewise.
20518 (DF_1_NORELOC): Likewise.
20519 (DF_1_SYMINTPOSE): Likewise.
20520 (DF_1_GLOBAUDIT): Likewise.
20521 (DF_1_SINGLETON): Likewise.
20522 * elf/get-dynamic-info.h (elf_get_dynamic_info): Assert
20523 DT_1_SUPPORTED_MASK bits.
20524 * include/elf.h (DT_1_SUPPORTED_MASK): New macro.
20526 2012-11-20 Carlos O'Donell <carlos_odonell@mentor.com>
20528 * sysdeps/unix/make-syscalls.sh: Document prefixes.
20530 2012-11-20 Thomas Schwinge <thomas@codesourcery.com>
20532 * sysdeps/sh/dl-machine.h (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): New
20535 * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr, recvmmsg)
20536 (sendmmsg): Move declarations...
20537 * socket/sys/socket.h: ... here.
20538 * sysdeps/unix/sysv/linux/recvmmsg.c [!defined __NR_recvmmsg &&
20539 !defined __NR_socketcall] (recvmmsg): Move ENOSYS stub into and
20541 * socket/recvmmsg.c: ... this new file.
20542 * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SENDMMSG]
20543 (sendmmsg): Rename to __sendmmsg, create weak alias and make
20544 definition of __sendmmsg hidden.
20545 * sysdeps/unix/sysv/linux/sendmmsg.c (sendmmsg): Likewise.
20546 [!defined __NR_sendmmsg && !defined __NR_socketcall] (sendmmsg):
20547 Move ENOSYS stub into and include it from...
20548 * socket/sendmmsg.c: ... this new file.
20549 * sysdeps/unix/sysv/linux/Makefile [subdir=socket]
20550 (sysdep_routines): Move recvmmsg and sendmmsg...
20551 * socket/Makefile (routines): ... here.
20552 * socket/Versions (GLIBC_2.17): Add recvmmsg and sendmmsg.
20553 (GLIBC_PRIVATE): Add __sendmmsg.
20554 * include/sys/socket.h (__sendmmsg): Add declarations.
20555 * resolv/res_send.c (send_dg): Invoke __sendmmsg instead of
20558 2012-11-20 Joseph Myers <joseph@codesourcery.com>
20560 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Mark
20561 variable I1 with __attribute__ ((unused)).
20562 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
20564 2012-11-19 Joseph Myers <joseph@codesourcery.com>
20566 * stdio-common/_itowa.c (_itowa) [BITS_PER_MP_LIMB == 64]: Declare
20567 DUMMY variables with __attribute__ ((unused)).
20569 * bits/byteswap.h: Include <bits/types.h>.
20570 (__bswap_64): Use __uint64_t instead of unsigned long long int.
20572 2012-11-19 Pino Toscano <toscano.pino@tiscali.it>
20574 * sysdeps/mach/hurd/ptsname.c (ptsname): Change the type of PEERNAME to
20575 string_t. Do not manually set errno.
20576 (__ptsname_r): Change the type of PEERNAME to string_t, and check its
20577 length with __strnlen. Make sure to both set errno and return it on
20580 2012-11-19 David S. Miller <davem@davemloft.net>
20582 With help from Joseph Myers.
20583 * sysdeps/ieee754/ldbl-128/s_atanl.c (__atanl): Handle tiny and
20584 very large arguments properly.
20585 * math/libm-test.inc (atan_test): New tests.
20586 (atan2_test): New tests.
20587 * sysdeps/sparc/fpu/libm-test-ulps: Update.
20588 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
20590 2012-11-19 Joseph Myers <joseph@codesourcery.com>
20593 * posix/bits/posix1_lim.h [!__USE_XOPEN2K] (_POSIX_TZNAME_MAX):
20596 * conform/data/errno.h-data [POSIX] (EADDRINUSE): Do not expect.
20597 [POSIX] (EADDRNOTAVAIL): Likewise.
20598 [POSIX] (EAFNOSUPPORT): Likewise.
20599 [POSIX] (EALREADY): Likewise.
20600 [POSIX] (ECONNABORTED): Likewise.
20601 [POSIX] (ECONNREFUSED): Likewise.
20602 [POSIX] (ECONNRESET): Likewise.
20603 [POSIX] (EDESTADDRREQ): Likewise.
20604 [POSIX] (EDQUOT): Likewise.
20605 [POSIX] (EHOSTUNREACH): Likewise.
20606 [POSIX] (EIDRM): Likewise.
20607 [POSIX] (EISCONN): Likewise.
20608 [POSIX] (ELOOP): Likewise.
20609 [POSIX] (EMULTIHOP): Likewise.
20610 [POSIX] (ENETDOWN): Likewise.
20611 [POSIX] (ENETUNREACH): Likewise.
20612 [POSIX] (ENOBUFS): Likewise.
20613 [POSIX] (ENODATA): Likewise.
20614 [POSIX] (ENOLINK): Likewise.
20615 [POSIX] (ENOMSG): Likewise.
20616 [POSIX] (ENOPROTOOPT): Likewise.
20617 [POSIX] (ENOSR): Likewise.
20618 [POSIX] (ENOSTR): Likewise.
20619 [POSIX] (ENOTCONN): Likewise.
20620 [POSIX] (ENOTSOCK): Likewise.
20621 [POSIX] (EOPNOTSUPP): Likewise.
20622 [POSIX] (EOVERFLOW): Likewise.
20623 [POSIX] (EPROTO): Likewise.
20624 [POSIX] (EPROTONOSUPPORT): Likewise.
20625 [POSIX] (EPROTOTYPE): Likewise.
20626 [POSIX] (ESTALE): Likewise.
20627 [POSIX] (ETIME): Likewise.
20628 [POSIX] (ETXTBSY): Likewise.
20629 [POSIX] (EWOULDBLOCK): Likewise.
20630 [!ISO && !ISO99 && !ISO11] (E*): Do not allow.
20631 * conform/data/fcntl.h-data [POSIX] (SEEK_SET): Allow.
20632 [POSIX] (SEEK_CUR): Likewise.
20633 [POSIX] (SEEK_END): Likewise.
20634 [POSIX || UNIX98] (mode_t): Do not require.
20635 [POSIX] (off_t): Likewise.
20636 [POSIX] (pid_t): Likewise.
20637 [POSIX] (sys/stat.h): Do not allow header.
20638 [POSIX] (unistd.h): Likewise.
20639 [!ISO && !ISO99 && !ISO11] (timespec): Do not allow.
20640 [!ISO && !ISO99 && !ISO11] (tv_nsec): Likewise.
20641 [!ISO && !ISO99 && !ISO11] (tv_sec): Likewise.
20642 * conform/data/locale.h-data [POSIX] (LC_MESSAGES): Do not
20644 * conform/data/mqueue.h-data [!ISO && !ISO99 && !ISO11] (struct
20645 sigevent): Specify elements.
20646 [XOPEN2K8 || POSIX2008] (struct sigevent): Remove duplicate type
20648 [!ISO && !ISO99 && !ISO11] (mq_*): Allow.
20649 [!ISO && !ISO99 && !ISO11] (MQ_*): Likewise.
20651 * conform/data/cpio.h-data [POSIX]: Disable whole file.
20652 * conform/data/glob.h-data [POSIX] (GLOB_NOSYS): Do not expect.
20653 * conform/data/limits.h-data [!ISO && !ISO99 && !ISO11]
20654 (AIO_LIST_MAX): Change to AIO_LISTIO_MAX.
20655 [!ISO && !ISO99 && !ISO11] (ATEXT_MAX): Remove.
20656 [!ISO && !ISO99 && !ISO11 && !POSIX && !XPG3] (ATEXIT_MAX): Allow.
20657 [POSIX || POSIX2008 || XPG3] (IOV_MAX): Do not allow.
20658 [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Likewise.
20659 [!ISO && !ISO99 && !ISO11] (MQ_PRIO_MAX): Allow.
20660 [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Remove duplicate entry.
20661 [POSIX || XPG3 || XPG4 || UNIX98] (SS_REPL_MAX): Do not allow.
20662 [POSIX || XPG3 || XPG4 || UNIX98] (SYMLOOP_MAX): Likewise.
20663 [POSIX || XPG3 || XPG4] (FILESIZEBITS): Likewise.
20664 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_ALLOC_SIZE_MIN):
20666 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_INCR_XFER_SIZE):
20668 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_MAX_XFER_SIZE):
20670 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_XFER_ALIGN):
20672 [POSIX || XPG3 || XPG4 || UNIX98] (SYMLINK_MAX): Likewise.
20673 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SS_REPL_MAX): Likewise.
20674 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLINK_MAX): Likewise.
20675 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLOOP_MAX): Likewise.
20676 [!ISO && !ISO99 && !ISO11] (BC_BASE_MAX): Use macro-constant.
20677 Specify lower bound on value.
20678 [!ISO && !ISO99 && !ISO11] (BC_DIM_MAX): Likewise.
20679 [!ISO && !ISO99 && !ISO11] (BC_SCALE_MAX): Likewise.
20680 [!ISO && !ISO99 && !ISO11] (BC_STRING_MAX): Likewise.
20681 [!ISO && !ISO99 && !ISO11] (COLL_WEIGHTS_MAX): Likewise.
20682 [!ISO && !ISO99 && !ISO11] (EXPR_NEST_MAX): Likewise.
20683 [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Likewise
20684 [POSIX || XPG3 || XPG4] (CHARCLASS_NAME_MAX): Do not allow.
20685 [!ISO && !ISO99 && !ISO11] (_POSIX_CLOCKRES_MIN): Specify exact
20687 [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_LISTIO_MAX): Do not specify
20689 [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_MAX): Likewise.
20690 [!ISO && !ISO99 && !ISO11] (_POSIX_ARG_MAX): Likewise.
20691 [!ISO && !ISO99 && !ISO11] (_POSIX_CHILD_MAX): Likewise.
20692 [!ISO && !ISO99 && !ISO11] (_POSIX_DELAYTIMER_MAX): Likewise.
20693 [!ISO && !ISO99 && !ISO11] (_POSIX_LINK_MAX): Likewise.
20694 [!ISO && !ISO99 && !ISO11] (_POSIX_LOGIN_NAME_MAX): Likewise.
20695 [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_CANON): Likewise.
20696 [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_INPUT): Likewise.
20697 [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_OPEN_MAX): Likewise.
20698 [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_PRIO_MAX): Likewise.
20699 [!ISO && !ISO99 && !ISO11] (_POSIX_NAME_MAX): Likewise.
20700 [!ISO && !ISO99 && !ISO11] (_POSIX_NGROUPS_MAX): Likewise.
20701 [!ISO && !ISO99 && !ISO11] (_POSIX_OPEN_MAX): Likewise.
20702 [!ISO && !ISO99 && !ISO11] (_POSIX_PATH_MAX): Likewise.
20703 [!ISO && !ISO99 && !ISO11] (_POSIX_PIPE_BUF): Likewise.
20704 [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Remove duplicate
20706 [!ISO && !ISO99 && !ISO11] (_POSIX_RTSIG_MAX): Do not specify as
20708 [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_NSEMS_MAX): Likewise.
20709 [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_VALUE_MAX): Likewise.
20710 [!ISO && !ISO99 && !ISO11] (_POSIX_SIGQUEUE_MAX): Likewise.
20711 [!ISO && !ISO99 && !ISO11] (_POSIX_SSIZE_MAX): Likewise.
20712 [!ISO && !ISO99 && !ISO11] (_POSIX_STREAM_MAX): Likewise.
20713 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_DESTRUCTOR_ITERATIONS):
20715 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_KEYS_MAX): Likewise.
20716 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_THREADS_MAX): Likewise.
20717 [!ISO && !ISO99 && !ISO11] (_POSIX_TIMER_MAX): Likewise.
20718 [!ISO && !ISO99 && !ISO11] (_POSIX_TTY_NAME_MAX): Likewise.
20719 [!ISO && !ISO99 && !ISO11] (_POSIX_TZNAME_MAX): Likewise. Give
20720 value as 3 for [POSIX || XPG3 || XPG4 || UNIX98].
20721 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_BASE_MAX): Do not specify
20723 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_DIM_MAX): Likewise.
20724 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_SCALE_MAX): Likewise.
20725 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_STRING_MAX): Likewise.
20726 [!ISO && !ISO99 && !ISO11] (_POSIX2_CHARCLASS_NAME_MAX):
20727 Likewise. Do not allow for [POSIX || XPG3 || XPG4 || UNIX98].
20728 [!ISO && !ISO99 && !ISO11] (_POSIX2_COLL_WEIGHTS_MAX): Do not
20729 specify as optional.
20730 [!ISO && !ISO99 && !ISO11] (_POSIX2_EXPR_NEST_MAX): Likewise.
20731 [!ISO && !ISO99 && !ISO11] (_POSIX2_LINE_MAX): Likewise.
20732 [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Likewise.
20733 [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Do not allow.
20734 [POSIX || XPG3] (NL_ARGMAX): Do not allow.
20735 [XPG3] (NL_LANGMAX): Likewise.
20736 [POSIX || XPG3] (NL_MSGMAX): Likewise.
20737 [POSIX || XPG3] (NL_NMAX): Likewise.
20738 [POSIX || XPG3] (NL_SETMAX): Likewise.
20739 [POSIX || XPG3] (NL_TEXTMAX): Likewise.
20740 [XPG3] (NZERO): Likewise.
20741 [XPG4 || UNIX98] (TMP_MAX): Only enable for these conditions.
20742 [POSIX || XPG3 || XPG4 || UNIX98] (*_MIN): Do not allow.
20743 [!ISO && !ISO99 && !ISO11] (*_t): Allow.
20744 * conform/data/regex.h-data [!ISO && !ISO99 && !ISO11]
20745 (REG_ERANGE): Expect.
20746 * conform/data/stdio.h-data [POSIX] (L_cuserid): Use
20748 [POSIX || XOPEN2K || XOPEN2K8 || POSIX2008] (getchar_unlocked):
20749 Use (void) in prototype.
20750 [POSIX] (*_t): Allow.
20751 * conform/data/sys/times.h-data [POSIX]: Enable whole file.
20752 * conform/data/wordexp.h-data [!ISO && !ISO99 && !ISO11]
20753 (WRDE_BADVAL): Expect.
20755 * conform/data/fcntl.h-data [XPG3 || XPG4] (O_DSYNC): Do not
20757 [XPG3 || XPG4] (O_RSYNC): Likewise.
20758 * conform/data/signal.h-data [XPG3 || XPG4] (pthread_kill):
20760 [XPG3 || XPG4] (pthread_sigmask): Likewise.
20761 [XPG3 || XPG4] (sigqueue): Likewise.
20762 [XPG3 || XPG4] (sigtimedwait): Likewise.
20763 [XPG3 || XPG4] (sigwaitinfo): Likewise.
20764 * conform/data/stdio.h-data [XPG3 || XPG4] (snprintf): Likewise.
20765 [XPG3 || XPG4] (vsnprintf): Likewise.
20766 * conform/data/sys/stat.h-data [XPG3 || XPG4] (blkcnt_t):
20768 [XPG3 || XPG4] (blksize_t): Likewise.
20769 * conform/data/time.h-data [XPG3 || XPG4] (struct timespec):
20771 [XPG3 || XPG4] (CLOCK_PROCESS_CPUTIME_ID): Likewise.
20772 [XPG3 || XPG4] (CLOCK_THREAD_CPUTIME_ID): Likewise.
20773 [XPG3 || XPG4] (struct itimerspec): Likewise.
20774 [XPG3 || XPG4] (CLOCK_REALTIME): Likewise.
20775 [XPG3 || XPG4] (TIMER_ABSTIME): Likewise.
20776 [XPG3 || XPG4] (CLOCK_MONOTONIC): Likewise.
20777 [XPG3 || XPG4] (clockid_t): Likewise.
20778 [XPG3 || XPG4] (timer_t): Likewise.
20779 [XPG3 || XPG4] (clock_getres): Likewise.
20780 [XPG3 || XPG4] (clock_gettime): Likewise.
20781 [XPG3 || XPG4] (clock_settime): Likewise.
20782 [XPG3 || XPG4] (nanosleep): Likewise.
20783 [XPG3 || XPG4] (timer_create): Likewise.
20784 [XPG3 || XPG4] (timer_delete): Likewise.
20785 [XPG3 || XPG4] (timer_gettime): Likewise.
20786 [XPG3 || XPG4] (timer_getoverrun): Likewise.
20787 [XPG3 || XPG4] (timer_settime): Likewise.
20788 * conform/data/unistd.h-data [XPG3 || XPG4] (fdatasync): Likewise.
20789 [XPG3 || XPG4] (getlogin_r): Likewise.
20790 [XPG3 || XPG4] (pread): Likewise.
20791 [XPG3 || XPG4] (pthread_atfork): Likewise.
20792 [XPG3 || XPG4] (pwrite): Likewise.
20795 * signal/signal.h [__USE_XOPEN_EXTENDED]: Include
20798 2012-11-19 Pino Toscano <toscano.pino@tiscali.it>
20800 * malloc/mtrace.c (muntrace): Reset MALLSTREAM and the hooks before
20801 finalizing MALLSTREAM.
20803 * sysdeps/mach/hurd/syncfs.c: New file.
20805 2012-11-19 Siddhesh Poyarekar <siddhesh@redhat.com>
20808 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Set h_errno to
20809 NETDB_INTERNAL when NSS_STATUS_UNAVAIL.
20810 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Set
20811 h_errno to NETDB_INTERNAL when errno is EMFILE or ENFILE.
20812 (_nss_dns_gethostbyname4_r): Likewise.
20813 * sysdeps/posix/getaddrinfo.c (gaih_inet): Set result to
20814 EAI_SYSTEM if NSS_STATUS_UNAVAIL.
20816 2012-11-19 Peng Haitao <penght@cn.fujitsu.com>
20819 * sunrpc/bindrsvprt.c: Add lock to protect static variable.
20821 2012-11-19 Steve McIntyre <steve.mcintyre@linaro.org>
20823 * sysdeps/generic/ldconfig.h (FLAG_AARCH64_LIB64): New macro.
20824 * elf/cache.c (print_entry): Print ",AArch64" for
20827 * sysdeps/generic/ldconfig.h (FLAG_ARM_LIBHF): New macro.
20828 * elf/cache.c (print_entry): Print ",hard-float" for
20831 2012-11-18 David S. Miller <davem@davemloft.net>
20833 With help from Joseph Myers.
20834 * sysdeps/ieee754/flt-32/e_j0f.c (__ieee754_y0f): Adjust tinyness
20836 * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Adjust tinyness
20838 * sysdeps/ieee754/ldbl-128/e_j0l.c (U0): New constant.
20839 ( __ieee754_y0l): Avoid arithmetic underflow when 'x' is very
20841 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l): Likewise.
20842 * math/libm-test.inc (y0_test): New tests.
20843 (y1_test): New tests.
20844 * sysdeps/i386/fpu/libm-test-ulps: Update.
20845 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
20846 * sysdeps/sparc/fpu/libm-test-ulps: Update.
20848 2012-11-18 Andreas Schwab <schwab@linux-m68k.org>
20850 * configure.in (libc_cv_ld_gnu_indirect_function): Use .quad on
20852 * configure: Regenerated.
20854 2012-11-17 David S. Miller <davem@davemloft.net>
20857 * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Saturate
20858 nonzero exponents with absolute value below 0x1p-128 to +/-
20861 2012-11-17 Joseph Myers <joseph@codesourcery.com>
20863 * sysdeps/unix/sysv/linux/fxstatat.c: Include <string.h>.
20865 * elf/dl-runtime.c [!ELF_MACHINE_NO_PLT]: Make code unconditional.
20867 * posix/getconf-speclist.c: New file.
20868 * posix/posix-envs.def: Likewise.
20869 * posix/confstr.c (START_ENV_GROUP): New macro.
20870 (END_ENV_GROUP): Likewise.
20871 (KNOWN_ABSENT_ENVIRONMENT): Likewise.
20872 (KNOWN_PRESENT_ENV_STRING): Likewise.
20873 (KNOWN_PRESENT_ENVIRONMENT): Likewise.
20874 (UNKNOWN_ENVIRONMENT): Likewise.
20875 (confstr): Include posix-envs.def instead of handling
20876 _CS_V7_WIDTH_RESTRICTED_ENVS, _CS_V6_WIDTH_RESTRICTED_ENVS and
20877 _CS_V5_WIDTH_RESTRICTED_ENVS directly here.
20878 * sysdeps/posix/sysconf.c (START_ENV_GROUP): New macro.
20879 (END_ENV_GROUP): Likewise.
20880 (KNOWN_ABSENT_ENVIRONMENT): Likewise.
20881 (KNOWN_PRESENT_ENVIRONMENT): Likewise.
20882 (UNKNOWN_ENVIRONMENT): Likewise.
20883 (__sysconf): Include posix-envs.def instead of handling associated
20884 cases directly here.
20885 * posix/Makefile ($(objpfx)getconf.speclist): Generate by
20886 preprocessing getconf-speclist.c rather than running getconf or
20887 generating empty file.
20889 2012-11-16 Pino Toscano <toscano.pino@tiscali.it>
20891 * scripts/check-local-headers.sh: Ignore 'mach' headers.
20893 2012-11-16 Andrej Lajovic <natrij@gmail.com>
20896 * iconv/iconv_prog.c (main): Fix -c handling of '/'.
20898 2012-11-16 David S. Miller <davem@davemloft.net>
20900 * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): If xm1 is
20901 smaller than LDBL_EPSILON/2.0L, just return xm1.
20903 2012-11-16 H.J. Lu <hongjiu.lu@intel.com>
20905 * elf/tst-array1.c (init): Set constructor priority to 1000.
20906 (fini): Set destructor priority to 1000.
20907 * elf/tst-array2dep.c: Likewise.
20909 2012-11-16 Siddhesh Poyarekar <siddhesh@redhat.com>
20912 * libio/fileops.c (_IO_new_file_write): Correctly return error.
20913 (_IO_new_file_xsputn): Also return EOF if none of the input
20914 data was written when overflow failed.
20915 * libio/iopadn.c (_IO_padn): Likewise.
20916 * libio/iowpadn.c (_IO_wpadn): Likewise.
20917 * stdio-common/tst-put-error.c: Add copyright notice.
20918 (do_test): Add case for printing padded string.
20919 * stdio-common/vfprintf [!COMPILE_WPRINTF] (PAD): Flag error if
20920 _IO_padn returned error.
20921 [COMPILE_WPRINTF] (PAD): Flag error if _IO_wpadn returned error.
20922 * libio/libioP.h (_IO_xsputn_t): Note in comment that xsputn can
20925 2012-11-16 Siddhesh Poyarekar <siddhesh@redhat.com>
20927 * libio/libioP.h: Add comment note that the references to C++
20928 bits are now obsolete.
20930 2012-11-15 Marcus Shawcroft <marcus.shawcroft@linaro.org>
20932 * math/libm-test.inc (check_complex): Use asprintf.
20934 2012-11-14 Joseph Myers <joseph@codesourcery.com>
20936 * debug/pcprofiledump.c (print_version): Update copyright year.
20937 * malloc/memusagestat.c (print_version): Likewise.
20939 2012-11-14 H.J. Lu <hongjiu.lu@intel.com>
20942 * elf/Makefile (tests): Add tst-audit8.
20943 ($(objpfx)tst-audit8): Also depend on $(common-objpfx)math/libm.so.
20944 ($(objpfx)tst-audit8.out): New target.
20945 (tst-audit8-ENV): New variable.
20946 * elf/dl-runtime.c (_dl_profile_fixup): Call _dl_fixup to skip
20947 audit if l_reloc_result is NULL.
20948 (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): Issue an error if it isn't
20949 defined and ELF_MACHINE_RUNTIME_FIXUP_ARGS is defined.
20950 * elf/tst-audit8.c: New file.
20952 2012-11-14 Marcus Shawcroft <marcus.shawcroft@linaro.org>
20954 * io/Makefile (CFLAGS-open.c, CFLAGS-open64.c): Define.
20955 * misc/Makefile (CFLAGS-select.c): Define.
20956 * posix/Makefile (CFLAGS-pause.c): Define.
20958 2012-11-13 David S. Miller <davem@davemloft.net>
20960 * crypt/Makefile: Move test targets after toplevel Rules
20961 inclusion. Grab any necessary sysdep routines when linking.
20962 * crypt/md5.c (md5_process_block): Remove define, we will always
20963 name it __md5_process_block.
20964 (md5_finish_ctx): Update md5_process_block call.
20965 (md5_stream): Likewise.
20966 (md5_process_bytes): Likewise.
20967 (md5_process_block): Rename to __md5_process_block and move to ...
20968 * crypt/md5-block.c: ... here.
20969 * crypt/sha256.c (sha256_process_block): Move to ...
20970 * crypt/sha256-block.c: ... here.
20971 * crypt/sha512.c (sha512_process_block): Move to ...
20972 * crypt/sha512-block.c: ... here.
20973 * locale/Makefile (CFLAGS-md5.c): Define to add crypt/ to include
20975 * sysdeps/sparc/sparc-ifunc.c (sparc_libc_ifunc): Define.
20976 * sysdeps/sparc/sparc64/multiarch/Makefile
20977 (libcrypt-sysdep_routines): Add crypto assembler sysdeps when in
20979 (localedef-aux): Add md5 crypto assembler when in locale subdir.
20980 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Mirror sparc64
20982 * sysdeps/sparc/sparc64/multiarch/md5-block.c: New file.
20983 * sysdeps/sparc/sparc64/multiarch/md5-crop.S: New file.
20984 * sysdeps/sparc/sparc64/multiarch/sha256-block.c: New file.
20985 * sysdeps/sparc/sparc64/multiarch/sha256-crop.S: New file.
20986 * sysdeps/sparc/sparc64/multiarch/sha512-block.c: New file.
20987 * sysdeps/sparc/sparc64/multiarch/sha512-crop.S: New file.
20988 * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-block.c: New file.
20989 * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-crop.S: New file.
20990 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-block.c: New
20992 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-crop.S: New file.
20993 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-block.c: New
20995 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-crop.S: New file.
20997 2012-11-13 Joseph Myers <joseph@codesourcery.com>
20999 * timezone/tzselect.ksh: Update from tzcode git revision
21000 a435f9f0ecafa56d9e0263835836bd0c64cd7307.
21001 * timezone/zdump.c: Likewise.
21002 * timezone/zic.c: Likewise.
21003 * timezone/Makefile ($(objpfx)version.h): Only include $(version)
21004 in TZVERSION setting, not $(PKGVERSION).
21005 ($(objpfx)tzselect): Likewise. Also substitute PKGVERSION and
21006 REPORT_BUGS_TO settings.
21009 * resolv/netdb.h [__USE_XOPEN_EXTENDED] (IPPORT_RESERVED): Define
21012 2012-11-13 Marcus Shawcroft <marcus.shawcroft@linaro.org>
21014 * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Move underflow
21015 detection to immediately after _FP_ROUND().
21016 * soft-fp/soft-fp.h (_FP_ROUND): Don't round if working
21019 2012-11-11 David S. Miller <davem@davemloft.net>
21021 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Include
21023 (__get_clockfreq_via_proc_openprom): Use __open, __read, and
21024 __close rather than their public counterparts.
21026 2012-11-10 Joseph Myers <joseph@codesourcery.com>
21028 * conform/data/semaphore.h-data [XPG3 || XPG4]: Disable whole
21030 [UNIX98] (sem_timedwait): Do not expect.
21031 * conform/data/sys/socket.h-data [XPG3]: Disable whole file.
21032 [XPG4 || UNIX98] (sockatmark): Do not expect.
21033 * conform/data/time.h-data [XPG3 || XPG4 || UNIX98]
21034 (clock_getcpuclockid): Do not expect.
21035 [XPG3 || XPG4 || UNIX98] (clock_nanosleep): Do not expect.
21036 * conform/data/unistd.h-data [XPG3 || XPG4 || UNIX98] (setegid):
21038 [XPG3 || XPG4 || UNIX98] (seteuid): Likewise.
21039 * conform/data/wchar.h-data [UNIX98] (vfwscanf): Do not expect.
21040 [UNIX98] (vwscanf): Likewise.
21041 [UNIX98] (vswscanf): Likewise.
21043 2012-11-09 Joseph Myers <joseph@codesourcery.com>
21045 * timezone/version.h: Remove file.
21046 * timezone/README: Do not refer to version.h.
21047 * timezone/Makefile ($(objpfx)zic.o): New dependency on
21048 $(objpfx)version.h.
21049 ($(objpfx)zdump.o): Likewise.
21050 ($(objpfx)version.h): New target.
21052 * timezone/tzselect.ksh: Change to verbatim copy from tzcode
21054 * timezone/README: Don't mention modification to tzselect.ksh.
21055 * timezone/Makefile ($(objpfx)tzselect): Update substitutions to
21056 work on unmodified tzselect.ksh. Substitute version numbers in
21059 * Makefile (format-me): Remove.
21060 (INSTALL): Adjust indentation. Use commands directly instead of
21061 using $(format-me).
21063 * aclocal.m4 (ACX_PKGVERSION): New macro.
21064 (ACX_BUGURL): Likewise.
21065 * configure.in: Use ACX_PKGVERSION and ACX_BUGURL.
21066 (PKGVERSION): New AC_DEFINE_UNQUOTED.
21067 (REPORT_BUGS_TO): Likewise.
21068 * configure: Regenerated.
21069 * config.h.in (PKGVERSION): New macro.
21070 (REPORT_BUGS_TO): Likewise.
21071 * config.make.in (PKGVERSION): New variable.
21072 (PKGVERSION_TEXI): Likewise.
21073 (REPORT_BUGS_TO): Likewise.
21074 (REPORT_BUGS_TEXI): Likewise.
21075 * Makefile (format-me): Use -I$(common-objpfx)manual.
21076 (INSTALL): Depend on $(common-objpfx)manual/pkgvers.texi.
21077 ($(common-objpfx)manual/%): New target.
21078 (manual/%): Remove target.
21079 * catgets/gencat.c (more_help): Use REPORT_BUGS_TO.
21080 (print_version): Use PKGVERSION.
21081 * csu/version.c (banner): Use PKGVERSION and REPORT_BUGS_TO.
21082 * debug/Makefile ($(objpfx)catchsegv): Also substitute PKGVERSION
21083 and REPORT_BUGS_TO.
21084 ($(objpfx)xtrace): Likewise.
21085 * debug/catchsegv.sh: Use PKGVERSION and REPORT_BUGS_TO.
21086 * debug/pcprofiledump.c (more_help): Use REPORT_BUGS_TO.
21087 (print_version): Use PKGVERSION.
21088 * debug/xtrace.sh (do_help): Use REPORT_BUGS_TO.
21089 (do_version): Use PKGVERSION.
21090 * elf/Makefile ($(objpfx)sotruss): Also substitute PKGVERSION and
21092 (common-ldd-rewrite): Likewise.
21093 * elf/dl-close.c (_dl_close_worker): Use REPORT_BUGS_TO.
21094 * elf/ldconfig.c (more_help): Use REPORT_BUGS_TO.
21095 (print_version): Use PKGVERSION.
21096 * elf/ldd.bash.in: Use PKGVERSION and REPORT_BUGS_TO.
21097 * elf/pldd.c (argp_program_bug_address): Remove variable.
21098 (more_help): New function.
21099 (argp): Use more_help.
21100 (print_version): Use PKGVERSION.
21101 * elf/sln.c (main): Use PKGVERSION.
21102 (usage): Use REPORT_BUGS_TO.
21103 * elf/sotruss.ksh (do_help): Use REPORT_BUGS_TO.
21104 (top level): Use PKGVERSION.
21105 * elf/sprof.c (more_help): Use REPORT_BUGS_TO.
21106 (print_version): Use PKGVERSION.
21107 * iconv/iconv_prog.c (more_help): Use REPORT_BUGS_TO.
21108 (print_version): Use PKGVERSION.
21109 * iconv/iconvconfig.c (more_help): Use REPORT_BUGS_TO.
21110 (print_version): Use PKGVERSION.
21111 * locale/programs/locale.c (more_help): Use REPORT_BUGS_TO.
21112 (print_version): Use PKGVERSION.
21113 * locale/programs/localedef.c (more_help): Use REPORT_BUGS_TO.
21114 (print_version): Use PKGVERSION.
21115 * login/programs/pt_chown.c (more_help): Use REPORT_BUGS_TO.
21116 (print_version): Use PKGVERSION.
21117 * malloc/Makefile ($(objpfx)mtrace): Also substitute PKGVERSION
21119 ($(objpfx)memusage): Likewise.
21120 * malloc/memusage.sh (do_help): Use REPORT_BUGS_TO.
21121 (do_version): Use PKGVERSION.
21122 * malloc/memusagestat.c (more_help): Use REPORT_BUGS_TO.
21123 (print_version): Use PKGVERSION.
21124 * malloc/mtrace.pl ($PACKAGE): Remove variable.
21125 ($PKGVERSION): New variable.
21126 ($REPORT_BUGS_TO): Likewise.
21127 (usage): Use $REPORT_BUGS_TO.
21128 (top level): Use $PKGVERSION.
21129 * manual/Makefile (libc-texi-generated): Add pkgvers.texi.
21130 ($(objpfx)pkgvers.texi): New rule.
21131 ($(objpfx)stamp-pkgvers): Likewise.
21132 * manual/install.texi: Include pkgvers.texi.
21133 (--with-pkgversion): Document new configure option.
21134 (--with-bugurl): Likewise.
21135 (Reporting Bugs): Describe Bugzilla as upstream tracker rather
21136 than necessarily for this particular distribution. Use
21137 REPORT_BUGS_TO for where to report bugs.
21138 * INSTALL: Regenerated.
21139 * manual/libc.texinfo: Include pkgvers.texi.
21140 [!PKGVERSION_DEFAULT]: Include PKGVERSION in version information.
21141 * nscd/nscd.c (more_help): Use REPORT_BUGS_TO.
21142 (print_version): Use PKGVERSION.
21143 * nss/getent.c (more_help): Use REPORT_BUGS_TO.
21144 (print_version): Use PKGVERSION.
21145 * nss/makedb.c (more_help): Use REPORT_BUGS_TO.
21146 (print_version): Use PKGVERSION.
21147 * posix/getconf.c (main): Use PKGVERSION and REPORT_BUGS_TO.
21148 * sunrpc/proto.h [IS_IN_build] (_libc_intl_domainname): Remove
21150 * sunrpc/rpc_main.c (options_usage): Use REPORT_BUGS_TO.
21151 (print_version): Use PKGVERSION.
21152 * sunrpc/rpcinfo.c (usage): Use REPORT_BUGS_TO.
21153 (print_version): Use PKGVERSION.
21154 * sysdeps/unix/sysv/linux/lddlibc4.c (main): Use REPORT_BUGS_TO
21157 * timezone/checktab.awk: Update from tzcode 2012i.
21158 * timezone/ialloc.c: Likewise.
21159 * timezone/private.h: Likewise.
21160 * timezone/scheck.c: Likewise.
21161 * timezone/tzfile.h: Likewise.
21162 * timezone/tzselect.ksh: Merge in changes from tzcode 2012i.
21163 (TZVERSION): Hardcode tzcode version number.
21164 * timezone/zdump.c: Update from tzcode 2012i.
21165 * timezone/zic.c: Likewise.
21166 * timezone/version.h: New file.
21167 * timezone/README: Describe version.h. Update upstream location.
21170 * stdlib/stdlib.h [__USE_XOPEN_EXTENDED && __USE_XOPEN2K]
21171 (mktemp): Enable declaration.
21172 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (ecvt): Likewise.
21173 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (fcvt): Likewise.
21174 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (gcvt): Likewise.
21175 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qecvt):
21177 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qfcvt):
21179 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qgcvt):
21181 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (ecvt_r):
21183 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (fcvt_r):
21185 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (gcvt_r):
21189 * sunrpc/clnt_tcp.c (clnttcp_control): Access values at fixed
21190 offset in buffer as u_int32_t not u_long. Consistently use memcpy
21191 for copies of such integer values.
21192 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
21193 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
21195 2012-11-09 Andreas Jaeger <aj@suse.de>
21197 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Remove all
21198 definitions and declarations that are provided by
21199 <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
21201 2012-11-08 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
21203 * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Add "te".
21204 * sysdeps/s390/dl-procinfo.h (HWCAP_S390_TE): Add enum value.
21205 * sysdeps/unix/sysv/linux/s390/hwcap.h (HWCAP_S390_TE): Add macro
21208 2012-11-08 Marcus Shawcroft <marcus.shawcroft@linaro.org>
21210 * elf/elf.h: Update comment before AArch64 relocations.
21212 2012-11-07 David S. Miller <davem@davemloft.net>
21214 * sysdeps/unix/sysv/linux/sparc/sparc64/__start_context.S: New file.
21215 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
21216 (__start_context): Declare.
21217 (__makecontext_ret): Delete.
21218 (__makecontext): Hook up __start_context instead of
21220 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile
21221 (sysdep_routines): Add __start_context when in stdlib.
21223 2012-11-07 Joseph Myers <joseph@codesourcery.com>
21225 * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Pass $(NM),
21226 $(OBJDUMP) and $(READELF) to tst-xmmymm.sh.
21227 * sysdeps/x86/tst-xmmymm.sh (NM): New variable. Use it instead of
21229 (OBJDUMP): New variable. Use it instead of hardcoded "objdump".
21230 (READELF): New variable. Use it instead of hardcoded "readelf".
21232 2012-11-07 H.J. Lu <hongjiu.lu@intel.com>
21234 * sysdeps/x86_64/Makefile ($(objpfx)tst-xmmymm.out): Moved to ...
21235 * sysdeps/x86/Makefile: Here.
21236 * sysdeps/x86_64/tst-xmmymm.sh: Renamed to ...
21237 * sysdeps/x86/tst-xmmymm.sh: This.
21239 2012-11-07 Joseph Myers <joseph@codesourcery.com>
21241 * conform/data/pthread.h-data [XPG3 || XPG4]: Disable all
21243 [UNIX98] (pthread_barrier_t): Do not expect.
21244 [UNIX98] (pthread_barrierattr_t): Likewise.
21245 [UNIX98] (pthread_spinlock_t): Likewise.
21246 [UNIX98] (pthread_barrier_destroy): Likewise.
21247 [UNIX98] (pthread_barrier_init): Likewise.
21248 [UNIX98] (pthread_barrier_wait): Likewise.
21249 [UNIX98] (pthread_barrierattr_destroy): Likewise.
21250 [UNIX98] (pthread_barrierattr_getpshared): Likewise.
21251 [UNIX98] (pthread_barrierattr_init): Likewise.
21252 [UNIX98] (pthread_barrierattr_setpshared): Likewise.
21253 [UNIX98] (pthread_getcpuclockid): Likewise.
21254 [UNIX98] (pthread_mutex_timedlock): Likewise.
21255 [UNIX98] (pthread_rwlock_timedrdlock): Likewise.
21256 [UNIX98] (pthread_rwlock_timedwrlock): Likewise.
21257 [UNIX98] (pthread_sigmask): Likewise.
21258 [UNIX98] (pthread_spin_destroy): Likewise.
21259 [UNIX98] (pthread_spin_init): Likewise.
21260 [UNIX98] (pthread_spin_lock): Likewise.
21261 [UNIX98] (pthread_spin_trylock): Likewise.
21262 [UNIX98] (pthread_spin_unlock): Likewise.
21263 * conform/data/sys/types.h-data [XPG3 || XPG4] (pthread_attr_t):
21265 [XPG3 || XPG4 || UNIX98] (pthread_barrier_t): Likewise.
21266 [XPG3 || XPG4 || UNIX98] (pthread_barrierattr_t): Likewise.
21267 [XPG3 || XPG4] (pthread_cond_t): Likewise.
21268 [XPG3 || XPG4] (pthread_condattr_t): Likewise.
21269 [XPG3 || XPG4] (pthread_key_t): Likewise.
21270 [XPG3 || XPG4] (pthread_mutex_t): Likewise.
21271 [XPG3 || XPG4] (pthread_mutexattr_t): Likewise.
21272 [XPG3 || XPG4] (pthread_once_t): Likewise.
21273 [XPG3 || XPG4] (pthread_rwlock_t): Likewise.
21274 [XPG3 || XPG4] (pthread_rwlockattr_t): Likewise.
21275 [XPG3 || XPG4 || UNIX98] (pthread_spinlock_t): Likewise.
21276 [XPG3 || XPG4] (pthread_t): Likewise.
21278 * conform/data/stdlib.h-data [XPG3 || XPG4 || UNIX98] (setenv): Do
21280 [XPG3 || XPG4 || UNIX98] (unsetenv): Likewise.
21282 * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (isnan):
21283 Change function return type to int.
21285 * conform/data/sys/mman.h-data [!POSIX] (POSIX_MADV_NORMAL):
21286 Change condition to [!POSIX && !XPG3 && !XPG4 && !UNIX98].
21287 [!POSIX] (POSIX_MADV_SEQUENTIAL): Likewise.
21288 [!POSIX] (POSIX_MADV_RANDOM): Likewise.
21289 [!POSIX] (POSIX_MADV_WILLNEED): Likewise.
21290 [!POSIX] (POSIX_MADV_DONTNEED): Likewise.
21291 [!POSIX] (posix_madvise): Likewise.
21292 (POSIX_TYPED_MEM_ALLOCATE): Condition on [!POSIX && !XPG3 && !XPG4
21294 (POSIX_TYPED_MEM_ALLOCATE_CONTIG): Likewise.
21295 (POSIX_TYPED_MEM_MAP_ALLOCATABLE): Likewise.
21296 (mode_t): Likewise.
21297 (posix_mem_offset): Likewise.
21298 (posix_typed_mem_get_info): Likewise.
21299 (posix_typed_mem_open): Likewise.
21301 * conform/data/sys/stat.h-data [!POSIX && !POSIX2008] (mknodat):
21302 Change condition to [XOPEN2K8].
21304 * conform/conformtest.pl: Preprocess allow-header data with -x c
21305 instead of from stdin.
21306 (@headers): Add stdalign.h, stdbool.h and stdnoreturn.h.
21307 * conform/data/complex.h-data [C99-based standards] (cerf): Allow.
21308 [C99-based standards] (cerfc): Likewise.
21309 [C99-based standards] (cexp2): Likewise.
21310 [C99-based standards] (cexpm1): Likewise.
21311 [C99-based standards] (clog10): Likewise.
21312 [C99-based standards] (clog1p): Likewise.
21313 [C99-based standards] (clog2): Likewise.
21314 [C99-based standards] (clgamma): Likewise.
21315 [C99-based standards] (ctgamma): Likewise.
21316 [C99-based standards] (cerff): Likewise.
21317 [C99-based standards] (cerfcf): Likewise.
21318 [C99-based standards] (cexp2f): Likewise.
21319 [C99-based standards] (cexpm1f): Likewise.
21320 [C99-based standards] (clog10f): Likewise.
21321 [C99-based standards] (clog1pf): Likewise.
21322 [C99-based standards] (clog2f): Likewise.
21323 [C99-based standards] (clgammaf): Likewise.
21324 [C99-based standards] (ctgammaf): Likewise.
21325 [C99-based standards] (cerfl): Likewise.
21326 [C99-based standards] (cerfcl): Likewise.
21327 [C99-based standards] (cexp2l): Likewise.
21328 [C99-based standards] (cexpm1l): Likewise.
21329 [C99-based standards] (clog10l): Likewise.
21330 [C99-based standards] (clog1pl): Likewise.
21331 [C99-based standards] (clog2l): Likewise.
21332 [C99-based standards] (clgammal): Likewise.
21333 [C99-based standards] (ctgammal): Likewise.
21334 * conform/data/inttypes.h-data [C99-based standards]: Include
21335 stdint.h-data. Remove all expectations for stdint.h contents.
21336 [C99-based standards] (PRI*): Do not allow.
21337 [C99-based standards] (SCN*): Likewise.
21338 [C99-based standards] (*_t): Likewise.
21339 [C99-based-standards] (PRId8): Expect macro.
21340 [C99-based-standards] (PRIi8): Likewise.
21341 [C99-based-standards] (PRIo8): Likewise.
21342 [C99-based-standards] (PRIu8): Likewise.
21343 [C99-based-standards] (PRIx8): Likewise.
21344 [C99-based-standards] (PRIX8): Likewise.
21345 [C99-based-standards] (SCNd8): Likewise.
21346 [C99-based-standards] (SCNi8): Likewise.
21347 [C99-based-standards] (SCNo8): Likewise.
21348 [C99-based-standards] (SCNu8): Likewise.
21349 [C99-based-standards] (SCNx8): Likewise.
21350 [C99-based-standards] (PRIdLEAST8): Likewise.
21351 [C99-based-standards] (PRIiLEAST8): Likewise.
21352 [C99-based-standards] (PRIoLEAST8): Likewise.
21353 [C99-based-standards] (PRIuLEAST8): Likewise.
21354 [C99-based-standards] (PRIxLEAST8): Likewise.
21355 [C99-based-standards] (PRIXLEAST8): Likewise.
21356 [C99-based-standards] (SCNdLEAST8): Likewise.
21357 [C99-based-standards] (SCNiLEAST8): Likewise.
21358 [C99-based-standards] (SCNoLEAST8): Likewise.
21359 [C99-based-standards] (SCNuLEAST8): Likewise.
21360 [C99-based-standards] (SCNxLEAST8): Likewise.
21361 [C99-based-standards] (PRIdFAST8): Likewise.
21362 [C99-based-standards] (PRIiFAST8): Likewise.
21363 [C99-based-standards] (PRIoFAST8): Likewise.
21364 [C99-based-standards] (PRIuFAST8): Likewise.
21365 [C99-based-standards] (PRIxFAST8): Likewise.
21366 [C99-based-standards] (PRIXFAST8): Likewise.
21367 [C99-based-standards] (SCNdFAST8): Likewise.
21368 [C99-based-standards] (SCNiFAST8): Likewise.
21369 [C99-based-standards] (SCNoFAST8): Likewise.
21370 [C99-based-standards] (SCNuFAST8): Likewise.
21371 [C99-based-standards] (SCNxFAST8): Likewise.
21372 [C99-based-standards] (PRId16): Likewise.
21373 [C99-based-standards] (PRIi16): Likewise.
21374 [C99-based-standards] (PRIo16): Likewise.
21375 [C99-based-standards] (PRIu16): Likewise.
21376 [C99-based-standards] (PRIx16): Likewise.
21377 [C99-based-standards] (PRIX16): Likewise.
21378 [C99-based-standards] (SCNd16): Likewise.
21379 [C99-based-standards] (SCNi16): Likewise.
21380 [C99-based-standards] (SCNo16): Likewise.
21381 [C99-based-standards] (SCNu16): Likewise.
21382 [C99-based-standards] (SCNx16): Likewise.
21383 [C99-based-standards] (PRIdLEAST16): Likewise.
21384 [C99-based-standards] (PRIiLEAST16): Likewise.
21385 [C99-based-standards] (PRIoLEAST16): Likewise.
21386 [C99-based-standards] (PRIuLEAST16): Likewise.
21387 [C99-based-standards] (PRIxLEAST16): Likewise.
21388 [C99-based-standards] (PRIXLEAST16): Likewise.
21389 [C99-based-standards] (SCNdLEAST16): Likewise.
21390 [C99-based-standards] (SCNiLEAST16): Likewise.
21391 [C99-based-standards] (SCNoLEAST16): Likewise.
21392 [C99-based-standards] (SCNuLEAST16): Likewise.
21393 [C99-based-standards] (SCNxLEAST16): Likewise.
21394 [C99-based-standards] (PRIdFAST16): Likewise.
21395 [C99-based-standards] (PRIiFAST16): Likewise.
21396 [C99-based-standards] (PRIoFAST16): Likewise.
21397 [C99-based-standards] (PRIuFAST16): Likewise.
21398 [C99-based-standards] (PRIxFAST16): Likewise.
21399 [C99-based-standards] (PRIXFAST16): Likewise.
21400 [C99-based-standards] (SCNdFAST16): Likewise.
21401 [C99-based-standards] (SCNiFAST16): Likewise.
21402 [C99-based-standards] (SCNoFAST16): Likewise.
21403 [C99-based-standards] (SCNuFAST16): Likewise.
21404 [C99-based-standards] (SCNxFAST16): Likewise.
21405 [C99-based-standards] (PRId32): Likewise.
21406 [C99-based-standards] (PRIi32): Likewise.
21407 [C99-based-standards] (PRIo32): Likewise.
21408 [C99-based-standards] (PRIu32): Likewise.
21409 [C99-based-standards] (PRIx32): Likewise.
21410 [C99-based-standards] (PRIX32): Likewise.
21411 [C99-based-standards] (SCNd32): Likewise.
21412 [C99-based-standards] (SCNi32): Likewise.
21413 [C99-based-standards] (SCNo32): Likewise.
21414 [C99-based-standards] (SCNu32): Likewise.
21415 [C99-based-standards] (SCNx32): Likewise.
21416 [C99-based-standards] (PRIdLEAST32): Likewise.
21417 [C99-based-standards] (PRIiLEAST32): Likewise.
21418 [C99-based-standards] (PRIoLEAST32): Likewise.
21419 [C99-based-standards] (PRIuLEAST32): Likewise.
21420 [C99-based-standards] (PRIxLEAST32): Likewise.
21421 [C99-based-standards] (PRIXLEAST32): Likewise.
21422 [C99-based-standards] (SCNdLEAST32): Likewise.
21423 [C99-based-standards] (SCNiLEAST32): Likewise.
21424 [C99-based-standards] (SCNoLEAST32): Likewise.
21425 [C99-based-standards] (SCNuLEAST32): Likewise.
21426 [C99-based-standards] (SCNxLEAST32): Likewise.
21427 [C99-based-standards] (PRIdFAST32): Likewise.
21428 [C99-based-standards] (PRIiFAST32): Likewise.
21429 [C99-based-standards] (PRIoFAST32): Likewise.
21430 [C99-based-standards] (PRIuFAST32): Likewise.
21431 [C99-based-standards] (PRIxFAST32): Likewise.
21432 [C99-based-standards] (PRIXFAST32): Likewise.
21433 [C99-based-standards] (SCNdFAST32): Likewise.
21434 [C99-based-standards] (SCNiFAST32): Likewise.
21435 [C99-based-standards] (SCNoFAST32): Likewise.
21436 [C99-based-standards] (SCNuFAST32): Likewise.
21437 [C99-based-standards] (SCNxFAST32): Likewise.
21438 [C99-based-standards] (PRId64): Likewise.
21439 [C99-based-standards] (PRIi64): Likewise.
21440 [C99-based-standards] (PRIo64): Likewise.
21441 [C99-based-standards] (PRIu64): Likewise.
21442 [C99-based-standards] (PRIx64): Likewise.
21443 [C99-based-standards] (PRIX64): Likewise.
21444 [C99-based-standards] (SCNd64): Likewise.
21445 [C99-based-standards] (SCNi64): Likewise.
21446 [C99-based-standards] (SCNo64): Likewise.
21447 [C99-based-standards] (SCNu64): Likewise.
21448 [C99-based-standards] (SCNx64): Likewise.
21449 [C99-based-standards] (PRIdLEAST64): Likewise.
21450 [C99-based-standards] (PRIiLEAST64): Likewise.
21451 [C99-based-standards] (PRIoLEAST64): Likewise.
21452 [C99-based-standards] (PRIuLEAST64): Likewise.
21453 [C99-based-standards] (PRIxLEAST64): Likewise.
21454 [C99-based-standards] (PRIXLEAST64): Likewise.
21455 [C99-based-standards] (SCNdLEAST64): Likewise.
21456 [C99-based-standards] (SCNiLEAST64): Likewise.
21457 [C99-based-standards] (SCNoLEAST64): Likewise.
21458 [C99-based-standards] (SCNuLEAST64): Likewise.
21459 [C99-based-standards] (SCNxLEAST64): Likewise.
21460 [C99-based-standards] (PRIdFAST64): Likewise.
21461 [C99-based-standards] (PRIiFAST64): Likewise.
21462 [C99-based-standards] (PRIoFAST64): Likewise.
21463 [C99-based-standards] (PRIuFAST64): Likewise.
21464 [C99-based-standards] (PRIxFAST64): Likewise.
21465 [C99-based-standards] (PRIXFAST64): Likewise.
21466 [C99-based-standards] (SCNdFAST64): Likewise.
21467 [C99-based-standards] (SCNiFAST64): Likewise.
21468 [C99-based-standards] (SCNoFAST64): Likewise.
21469 [C99-based-standards] (SCNuFAST64): Likewise.
21470 [C99-based-standards] (SCNxFAST64): Likewise.
21471 [C99-based-standards] (PRIdMAX): Likewise.
21472 [C99-based-standards] (PRIiMAX): Likewise.
21473 [C99-based-standards] (PRIoMAX): Likewise.
21474 [C99-based-standards] (PRIuMAX): Likewise.
21475 [C99-based-standards] (PRIxMAX): Likewise.
21476 [C99-based-standards] (PRIXMAX): Likewise.
21477 [C99-based-standards] (SCNdMAX): Likewise.
21478 [C99-based-standards] (SCNiMAX): Likewise.
21479 [C99-based-standards] (SCNoMAX): Likewise.
21480 [C99-based-standards] (SCNuMAX): Likewise.
21481 [C99-based-standards] (SCNxMAX): Likewise.
21482 [C99-based-standards] (PRIdPTR): Likewise.
21483 [C99-based-standards] (PRIiPTR): Likewise.
21484 [C99-based-standards] (PRIoPTR): Likewise.
21485 [C99-based-standards] (PRIuPTR): Likewise.
21486 [C99-based-standards] (PRIxPTR): Likewise.
21487 [C99-based-standards] (PRIXPTR): Likewise.
21488 [C99-based-standards] (SCNdPTR): Likewise.
21489 [C99-based-standards] (SCNiPTR): Likewise.
21490 [C99-based-standards] (SCNoPTR): Likewise.
21491 [C99-based-standards] (SCNuPTR): Likewise.
21492 [C99-based-standards] (SCNxPTR): Likewise.
21493 * conform/data/iso646.h-data [ISO C standards] (*_t): Do not
21495 * conform/data/stdint.h-data: Update comments to clarify
21497 [C99-based standards] (INT8_MIN): Use macro-int-constant. Specify
21499 [C99-based standards] (INT8_MAX): Likewise.
21500 [C99-based standards] (INT16_MIN): Likewise.
21501 [C99-based standards] (INT16_MAX): Likewise.
21502 [C99-based standards] (INT32_MIN): Likewise.
21503 [C99-based standards] (INT32_MAX): Likewise.
21504 [C99-based standards] (INT64_MIN): Likewise.
21505 [C99-based standards] (INT64_MAX): Likewise.
21506 [C99-based standards] (UINT8_MAX): Likewise.
21507 [C99-based standards] (UINT16_MAX): Likewise.
21508 [C99-based standards] (UINT32_MAX): Likewise.
21509 [C99-based standards] (UINT64_MAX): Likewise.
21510 [C99-based standards] (INT_LEAST8_MIN): Likewise.
21511 [C99-based standards] (INT_LEAST8_MAX): Likewise.
21512 [C99-based standards] (INT_LEAST16_MIN): Likewise.
21513 [C99-based standards] (INT_LEAST16_MAX): Likewise.
21514 [C99-based standards] (INT_LEAST32_MIN): Likewise.
21515 [C99-based standards] (INT_LEAST32_MAX): Likewise.
21516 [C99-based standards] (INT_LEAST64_MIN): Likewise.
21517 [C99-based standards] (INT_LEAST64_MAX): Likewise.
21518 [C99-based standards] (UINT_LEAST8_MAX): Likewise.
21519 [C99-based standards] (UINT_LEAST16_MAX): Likewise.
21520 [C99-based standards] (UINT_LEAST32_MAX): Likewise.
21521 [C99-based standards] (UINT_LEAST64_MAX): Likewise.
21522 [C99-based standards] (INT_FAST8_MIN): Likewise.
21523 [C99-based standards] (INT_FAST8_MAX): Likewise.
21524 [C99-based standards] (INT_FAST16_MIN): Likewise.
21525 [C99-based standards] (INT_FAST16_MAX): Likewise.
21526 [C99-based standards] (INT_FAST32_MIN): Likewise.
21527 [C99-based standards] (INT_FAST32_MAX): Likewise.
21528 [C99-based standards] (INT_FAST64_MIN): Likewise.
21529 [C99-based standards] (INT_FAST64_MAX): Likewise.
21530 [C99-based standards] (UINT_FAST8_MAX): Likewise.
21531 [C99-based standards] (UINT_FAST16_MAX): Likewise.
21532 [C99-based standards] (UINT_FAST32_MAX): Likewise.
21533 [C99-based standards] (UINT_FAST64_MAX): Likewise.
21534 [C99-based standards] (INTPTR_MIN): Likewise.
21535 [C99-based standards] (INTPTR_MAX): Likewise.
21536 [C99-based standards] (UINTPTR_MAX): Likewise.
21537 [C99-based standards] (INTMAX_MIN): Likewise.
21538 [C99-based standards] (INTMAX_MAX): Likewise.
21539 [C99-based standards] (UINTMAX_MAX): Likewise.
21540 [C99-based standards] (PTRDIFF_MIN): Likewise.
21541 [C99-based standards] (PTRDIFF_MAX): Likewise.
21542 [C99-based standards] (SIG_ATOMIC_MAX): Likewise.
21543 [C99-based standards] (SIZE_MAX): Likewise.
21544 [C99-based standards] (WCHAR_MAX): Likewise.
21545 [C99-based standards] (WINT_MAX): Likewise.
21546 [C99-based standards] (SIG_ATOMIC_MIN): Likewise. Do not specify
21547 constraint on value.
21548 [C99-based standards] (WCHAR_MIN): Likewise.
21549 [C99-based standards] (WINT_MIN): Likewise.
21550 [C99-based standards] (*_t): Allow.
21551 * conform/data/tgmath.h-data [XOPEN2K || POSIX2008]: Change
21552 condition to [!ISO && !POSIX && !XPG3 && !XPG4 && !UNIX98].
21553 Include math.h-data and complex.h-data. Remove all expectations
21554 of math.h and complex.h contents.
21555 * conform/data/uchar.h-data [ISO11] (c16rtomb): Remove stray "16"
21557 * conform/data/wchar.h-data [!ISO && !POSIX && !XPG3 && !XPG4]
21558 (struct tm): Expect tag.
21559 [C99-based-standards] (wcstof): Expect function.
21560 [C99-based-standards] (wcstold): Likewise.
21561 [C99-based-standards] (wcstoll): Likewise.
21562 [C99-based-standards] (wcstoull): Likewise.
21563 [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MIN): Use
21564 macro-int-constant. Specify type.
21565 [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MAX): Likewise. Specify
21566 constraint on value.
21567 [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
21569 [!ISO && !POSIX && !XPG3 && !XPG4] (NULL): Use macro-constant.
21571 [ISO C standards]: Do not allow headers.
21572 [!ISO && !POSIX && !XPG3 && !XPG4] (wcs*): Change to
21573 wcs[abcdefghijklmnopqrstuvwxyz]*.
21574 [ISO C standards] (*_t): Do not allow.
21575 * conform/data/wctype.h-data [C99-based standards] (iswblank):
21577 [XOPEN2K8 || POSIX2008] (iswblank_l): Likewise.
21578 [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
21580 [ISO C standards]: Do not allow headers.
21581 [!ISO && !POSIX && !XPG3 && !XPG4] (is*): Change to
21582 is[abcdefghijklmnopqrstuvwxyz]*.
21583 [!ISO && !POSIX && !XPG3 && !XPG4] (to*): Change to
21584 to[abcdefghijklmnopqrstuvwxyz]*.
21585 [ISO C standards] (*_t): Do not allow.
21586 * conform/data/stdalign.h-data: New file.
21587 * conform/data/stdbool.h-data: Likewise.
21588 * conform/data/stdnoreturn.h-data: Likewise.
21590 2012-11-07 Roland McGrath <roland@hack.frob.com>
21593 * manual/filesys.texi (Directory Entries): Typo fix.
21594 Reported by <h-iwamoto@kit.hi-ho.ne.jp>.
21596 2012-11-07 Marcus Shawcroft <marcus.shawcroft@linaro.org>
21598 * elf/elf.h (EM_AARCH64): New macro.
21599 (R_AARCH64_NONE, R_AARCH64_ABS64, R_AARCH64_ABS32): Likewise.
21600 (R_AARCH64_COPY, R_AARCH64_GLOB_DAT, R_AARCH64_JUMP_SLOT): Likewise.
21601 (R_AARCH64_RELATIVE, R_AARCH64_TLS_DTPMOD64): Likewise.
21602 (R_AARCH64_TLS_DTPREL64, R_AARCH64_TLS_TPREL64): Likewise.
21603 (R_AARCH64_TLSDESC): Likewise.
21604 (NT_ARM_TLS): Likewise.
21605 (NT_ARM_HW_BREAK): Likewise.
21606 (NT_ARM_HW_WATCH): Likewise.
21608 2012-11-07 Joseph Myers <joseph@codesourcery.com>
21611 * sysdeps/i386/fpu/e_powl.S (pm79): New object.
21612 (__ieee754_powl): Saturate nonzero exponents with absolute value
21613 below 0x1p-79 to +/- 0x1p-79.
21614 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Saturate nonzero
21615 exponents with absolute value below 0x1p-64 to +/- 0x1p-64.
21616 * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Saturate
21617 nonzero exponents with absolute value below 0x1p-32 to +/-
21619 * sysdeps/x86_64/fpu/e_powl.S (pm79): New object.
21620 (__ieee754_powl): Saturate nonzero exponents with absolute value
21621 below 0x1p-79 to +/- 0x1p-79.
21622 * math/libm-test.inc (pow_test): Add more tests.
21624 2012-11-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
21626 * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Sync
21627 _dl_s390_cap_flags with kernel. Increase string length.
21628 (_dl_s390_platforms): Add z196 and zEC12.
21630 2012-11-07 Joseph Myers <joseph@codesourcery.com>
21632 * conform/data/time.h-data [!XOPEN21K && !XOPEN2K8 && !POSIX2008]:
21633 Change XOPEN21K to XOPEN2K.
21635 2012-11-06 Maxim Kuvyrkov <maxim@codesourcery.com>
21637 * string/memmove.c: Use memcpy when possible.
21639 2012-11-06 Andreas Jaeger <aj@suse.de>
21641 * po/eo.po: Update from translation team.
21643 2012-11-06 Joseph Myers <joseph@codesourcery.com>
21646 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): In case of large z
21647 exponent and small x and y exponents, scale x or y up. Increase
21648 by 2 the exponent used in scaling up.
21649 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
21650 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
21651 * math/libm-test.inc (fma_test): Add more tests.
21652 (fma_test_towardzero): Likewise.
21653 (fma_test_downward): Likewise.
21654 (fma_test_upward): Likewise.
21656 2012-11-05 Joseph Myers <joseph@codesourcery.com>
21659 * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_DFL_ENV): Use cast to const
21663 * sysdeps/s390/fpu/bits/fenv.h (fenv_t): Use implementation
21664 namespace for names of struct fields.
21665 * sysdeps/s390/fpu/fegetenv.c (fegetenv): Update references to
21667 * sysdeps/s390/fpu/feholdexcpt.c (feholdexcept): Likewise.
21668 * sysdeps/s390/fpu/fesetenv.c (fesetenv): Likewise.
21670 2012-11-04 Samuel Thibault <samuel.thibault@ens-lyon.org>
21673 * sysdeps/mach/hurd/bits/errno.h: Regenerated.
21675 2012-11-04 Thomas Schwinge <thomas@codesourcery.com>
21677 * csu/libc-start.c (LIBC_START_MAIN): Conditionalize use of
21681 * sysdeps/mach/hurd/i386/____longjmp_chk.S: Conditionalize use of
21684 2012-11-04 Joseph Myers <joseph@codesourcery.com>
21687 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute cases that
21688 definitely overflow as x * y not x * y + z.
21689 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
21690 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
21691 * math/libm-test.inc (fma_test): Add more tests.
21692 (fma_test_towardzero): Likewise.
21693 (fma_test_downward): Likewise.
21694 (fma_test_upward): Likewise.
21696 2012-11-04 Thomas Schwinge <thomas@codesourcery.com>
21700 * include/stub-tag.h: Remove file.
21701 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't emit
21703 * manual/maint.texi (Porting): Don't reference it.
21704 * Makerules ($(objpfx)stubs): Likewise.
21705 * dirent/closedir.c: Don't include <stub-tag.h>.
21706 * dirent/dirfd.c: Likewise.
21707 * dirent/fdopendir.c: Likewise.
21708 * dirent/getdents.c: Likewise.
21709 * dirent/getdents64.c: Likewise.
21710 * dirent/opendir.c: Likewise.
21711 * dirent/readdir.c: Likewise.
21712 * dirent/readdir64.c: Likewise.
21713 * dirent/readdir64_r.c: Likewise.
21714 * dirent/readdir_r.c: Likewise.
21715 * dirent/rewinddir.c: Likewise.
21716 * dirent/seekdir.c: Likewise.
21717 * dirent/telldir.c: Likewise.
21718 * gmon/profil.c: Likewise.
21719 * grp/setgroups.c: Likewise.
21720 * inet/if_index.c: Likewise.
21721 * io/access.c: Likewise.
21722 * io/chdir.c: Likewise.
21723 * io/chmod.c: Likewise.
21724 * io/chown.c: Likewise.
21725 * io/close.c: Likewise.
21726 * io/dup.c: Likewise.
21727 * io/dup2.c: Likewise.
21728 * io/dup3.c: Likewise.
21729 * io/euidaccess.c: Likewise.
21730 * io/faccessat.c: Likewise.
21731 * io/fchdir.c: Likewise.
21732 * io/fchmod.c: Likewise.
21733 * io/fchmodat.c: Likewise.
21734 * io/fchown.c: Likewise.
21735 * io/fchownat.c: Likewise.
21736 * io/fcntl.c: Likewise.
21737 * io/flock.c: Likewise.
21738 * io/fstatfs.c: Likewise.
21739 * io/fstatfs64.c: Likewise.
21740 * io/fstatvfs.c: Likewise.
21741 * io/fstatvfs64.c: Likewise.
21742 * io/futimens.c: Likewise.
21743 * io/fxstat.c: Likewise.
21744 * io/fxstat64.c: Likewise.
21745 * io/fxstatat.c: Likewise.
21746 * io/fxstatat64.c: Likewise.
21747 * io/getcwd.c: Likewise.
21748 * io/isatty.c: Likewise.
21749 * io/lchmod.c: Likewise.
21750 * io/lchown.c: Likewise.
21751 * io/link.c: Likewise.
21752 * io/linkat.c: Likewise.
21753 * io/lseek.c: Likewise.
21754 * io/lseek64.c: Likewise.
21755 * io/lxstat64.c: Likewise.
21756 * io/mkdir.c: Likewise.
21757 * io/mkdirat.c: Likewise.
21758 * io/mkfifo.c: Likewise.
21759 * io/mkfifoat.c: Likewise.
21760 * io/open.c: Likewise.
21761 * io/open64.c: Likewise.
21762 * io/openat.c: Likewise.
21763 * io/openat64.c: Likewise.
21764 * io/pipe.c: Likewise.
21765 * io/pipe2.c: Likewise.
21766 * io/poll.c: Likewise.
21767 * io/posix_fadvise.c: Likewise.
21768 * io/posix_fadvise64.c: Likewise.
21769 * io/posix_fallocate.c: Likewise.
21770 * io/posix_fallocate64.c: Likewise.
21771 * io/read.c: Likewise.
21772 * io/readlink.c: Likewise.
21773 * io/readlinkat.c: Likewise.
21774 * io/rmdir.c: Likewise.
21775 * io/sendfile.c: Likewise.
21776 * io/sendfile64.c: Likewise.
21777 * io/statfs.c: Likewise.
21778 * io/statfs64.c: Likewise.
21779 * io/statvfs.c: Likewise.
21780 * io/statvfs64.c: Likewise.
21781 * io/symlink.c: Likewise.
21782 * io/symlinkat.c: Likewise.
21783 * io/ttyname.c: Likewise.
21784 * io/ttyname_r.c: Likewise.
21785 * io/umask.c: Likewise.
21786 * io/unlink.c: Likewise.
21787 * io/unlinkat.c: Likewise.
21788 * io/utime.c: Likewise.
21789 * io/utimensat.c: Likewise.
21790 * io/write.c: Likewise.
21791 * io/xmknod.c: Likewise.
21792 * io/xmknodat.c: Likewise.
21793 * io/xstat.c: Likewise.
21794 * io/xstat64.c: Likewise.
21795 * login/getpt.c: Likewise.
21796 * login/grantpt.c: Likewise.
21797 * login/unlockpt.c: Likewise.
21798 * math/e_acoshl.c: Likewise.
21799 * math/e_acosl.c: Likewise.
21800 * math/e_asinl.c: Likewise.
21801 * math/e_atan2l.c: Likewise.
21802 * math/e_atanhl.c: Likewise.
21803 * math/e_coshl.c: Likewise.
21804 * math/e_expl.c: Likewise.
21805 * math/e_fmodl.c: Likewise.
21806 * math/e_gammal_r.c: Likewise.
21807 * math/e_hypotl.c: Likewise.
21808 * math/e_j0l.c: Likewise.
21809 * math/e_j1l.c: Likewise.
21810 * math/e_jnl.c: Likewise.
21811 * math/e_lgammal_r.c: Likewise.
21812 * math/e_log10l.c: Likewise.
21813 * math/e_log2l.c: Likewise.
21814 * math/e_logl.c: Likewise.
21815 * math/e_powl.c: Likewise.
21816 * math/e_rem_pio2l.c: Likewise.
21817 * math/e_sinhl.c: Likewise.
21818 * math/e_sqrtl.c: Likewise.
21819 * math/fclrexcpt.c: Likewise.
21820 * math/fedisblxcpt.c: Likewise.
21821 * math/feenablxcpt.c: Likewise.
21822 * math/fegetenv.c: Likewise.
21823 * math/fegetexcept.c: Likewise.
21824 * math/fegetround.c: Likewise.
21825 * math/feholdexcpt.c: Likewise.
21826 * math/fesetenv.c: Likewise.
21827 * math/fesetround.c: Likewise.
21828 * math/feupdateenv.c: Likewise.
21829 * math/fgetexcptflg.c: Likewise.
21830 * math/fraiseexcpt.c: Likewise.
21831 * math/fsetexcptflg.c: Likewise.
21832 * math/ftestexcept.c: Likewise.
21833 * math/k_cosl.c: Likewise.
21834 * math/k_rem_pio2l.c: Likewise.
21835 * math/k_sinl.c: Likewise.
21836 * math/k_tanl.c: Likewise.
21837 * math/s_asinhl.c: Likewise.
21838 * math/s_atanl.c: Likewise.
21839 * math/s_cbrtl.c: Likewise.
21840 * math/s_erfl.c: Likewise.
21841 * math/s_expm1l.c: Likewise.
21842 * math/s_log1pl.c: Likewise.
21843 * math/s_tanhl.c: Likewise.
21844 * misc/acct.c: Likewise.
21845 * misc/brk.c: Likewise.
21846 * misc/chflags.c: Likewise.
21847 * misc/chroot.c: Likewise.
21848 * misc/fchflags.c: Likewise.
21849 * misc/fgetxattr.c: Likewise.
21850 * misc/flistxattr.c: Likewise.
21851 * misc/fremovexattr.c: Likewise.
21852 * misc/fsetxattr.c: Likewise.
21853 * misc/fsync.c: Likewise.
21854 * misc/ftruncate.c: Likewise.
21855 * misc/futimes.c: Likewise.
21856 * misc/futimesat.c: Likewise.
21857 * misc/getdomain.c: Likewise.
21858 * misc/getdtsz.c: Likewise.
21859 * misc/gethostid.c: Likewise.
21860 * misc/gethostname.c: Likewise.
21861 * misc/getloadavg.c: Likewise.
21862 * misc/getpagesize.c: Likewise.
21863 * misc/getsysstats.c: Likewise.
21864 * misc/getxattr.c: Likewise.
21865 * misc/gtty.c: Likewise.
21866 * misc/ioctl.c: Likewise.
21867 * misc/lgetxattr.c: Likewise.
21868 * misc/listxattr.c: Likewise.
21869 * misc/llistxattr.c: Likewise.
21870 * misc/lremovexattr.c: Likewise.
21871 * misc/lsetxattr.c: Likewise.
21872 * misc/lutimes.c: Likewise.
21873 * misc/madvise.c: Likewise.
21874 * misc/mincore.c: Likewise.
21875 * misc/mlock.c: Likewise.
21876 * misc/mlockall.c: Likewise.
21877 * misc/mmap.c: Likewise.
21878 * misc/mprotect.c: Likewise.
21879 * misc/msync.c: Likewise.
21880 * misc/munlock.c: Likewise.
21881 * misc/munlockall.c: Likewise.
21882 * misc/munmap.c: Likewise.
21883 * misc/preadv.c: Likewise.
21884 * misc/preadv64.c: Likewise.
21885 * misc/ptrace.c: Likewise.
21886 * misc/pwritev.c: Likewise.
21887 * misc/pwritev64.c: Likewise.
21888 * misc/readv.c: Likewise.
21889 * misc/reboot.c: Likewise.
21890 * misc/remap_file_pages.c: Likewise.
21891 * misc/removexattr.c: Likewise.
21892 * misc/revoke.c: Likewise.
21893 * misc/select.c: Likewise.
21894 * misc/setdomain.c: Likewise.
21895 * misc/setegid.c: Likewise.
21896 * misc/seteuid.c: Likewise.
21897 * misc/sethostid.c: Likewise.
21898 * misc/sethostname.c: Likewise.
21899 * misc/setregid.c: Likewise.
21900 * misc/setreuid.c: Likewise.
21901 * misc/setxattr.c: Likewise.
21902 * misc/sstk.c: Likewise.
21903 * misc/stty.c: Likewise.
21904 * misc/swapoff.c: Likewise.
21905 * misc/swapon.c: Likewise.
21906 * misc/sync.c: Likewise.
21907 * misc/syncfs.c: Likewise.
21908 * misc/syscall.c: Likewise.
21909 * misc/truncate.c: Likewise.
21910 * misc/ualarm.c: Likewise.
21911 * misc/usleep.c: Likewise.
21912 * misc/ustat.c: Likewise.
21913 * misc/utimes.c: Likewise.
21914 * misc/vhangup.c: Likewise.
21915 * misc/writev.c: Likewise.
21916 * posix/_exit.c: Likewise.
21917 * posix/alarm.c: Likewise.
21918 * posix/execve.c: Likewise.
21919 * posix/fexecve.c: Likewise.
21920 * posix/fork.c: Likewise.
21921 * posix/fpathconf.c: Likewise.
21922 * posix/getaddrinfo.c: Likewise.
21923 * posix/getegid.c: Likewise.
21924 * posix/geteuid.c: Likewise.
21925 * posix/getgid.c: Likewise.
21926 * posix/getgroups.c: Likewise.
21927 * posix/getlogin.c: Likewise.
21928 * posix/getlogin_r.c: Likewise.
21929 * posix/getpgid.c: Likewise.
21930 * posix/getpid.c: Likewise.
21931 * posix/getppid.c: Likewise.
21932 * posix/getresgid.c: Likewise.
21933 * posix/getresuid.c: Likewise.
21934 * posix/getsid.c: Likewise.
21935 * posix/getuid.c: Likewise.
21936 * posix/glob64.c: Likewise.
21937 * posix/nanosleep.c: Likewise.
21938 * posix/pathconf.c: Likewise.
21939 * posix/pause.c: Likewise.
21940 * posix/posix_madvise.c: Likewise.
21941 * posix/pread.c: Likewise.
21942 * posix/pread64.c: Likewise.
21943 * posix/pwrite.c: Likewise.
21944 * posix/pwrite64.c: Likewise.
21945 * posix/sched_getaffinity.c: Likewise.
21946 * posix/sched_getp.c: Likewise.
21947 * posix/sched_gets.c: Likewise.
21948 * posix/sched_primax.c: Likewise.
21949 * posix/sched_primin.c: Likewise.
21950 * posix/sched_rr_gi.c: Likewise.
21951 * posix/sched_setaffinity.c: Likewise.
21952 * posix/sched_setp.c: Likewise.
21953 * posix/sched_sets.c: Likewise.
21954 * posix/sched_yield.c: Likewise.
21955 * posix/setgid.c: Likewise.
21956 * posix/setlogin.c: Likewise.
21957 * posix/setpgid.c: Likewise.
21958 * posix/setresgid.c: Likewise.
21959 * posix/setresuid.c: Likewise.
21960 * posix/setsid.c: Likewise.
21961 * posix/setuid.c: Likewise.
21962 * posix/sleep.c: Likewise.
21963 * posix/spawni.c: Likewise.
21964 * posix/sysconf.c: Likewise.
21965 * posix/times.c: Likewise.
21966 * posix/wait.c: Likewise.
21967 * posix/wait3.c: Likewise.
21968 * posix/wait4.c: Likewise.
21969 * posix/waitpid.c: Likewise.
21970 * resolv/gai_sigqueue.c: Likewise.
21971 * resource/getpriority.c: Likewise.
21972 * resource/getrlimit.c: Likewise.
21973 * resource/getrusage.c: Likewise.
21974 * resource/nice.c: Likewise.
21975 * resource/setpriority.c: Likewise.
21976 * resource/setrlimit.c: Likewise.
21977 * resource/ulimit.c: Likewise.
21978 * rt/aio_cancel.c: Likewise.
21979 * rt/aio_fsync.c: Likewise.
21980 * rt/aio_read.c: Likewise.
21981 * rt/aio_sigqueue.c: Likewise.
21982 * rt/aio_suspend.c: Likewise.
21983 * rt/aio_write.c: Likewise.
21984 * rt/clock_getres.c: Likewise.
21985 * rt/clock_gettime.c: Likewise.
21986 * rt/clock_nanosleep.c: Likewise.
21987 * rt/clock_settime.c: Likewise.
21988 * rt/lio_listio.c: Likewise.
21989 * rt/mq_close.c: Likewise.
21990 * rt/mq_getattr.c: Likewise.
21991 * rt/mq_notify.c: Likewise.
21992 * rt/mq_open.c: Likewise.
21993 * rt/mq_receive.c: Likewise.
21994 * rt/mq_send.c: Likewise.
21995 * rt/mq_setattr.c: Likewise.
21996 * rt/mq_timedreceive.c: Likewise.
21997 * rt/mq_timedsend.c: Likewise.
21998 * rt/mq_unlink.c: Likewise.
21999 * rt/shm_open.c: Likewise.
22000 * rt/shm_unlink.c: Likewise.
22001 * rt/timer_create.c: Likewise.
22002 * rt/timer_delete.c: Likewise.
22003 * rt/timer_getoverr.c: Likewise.
22004 * rt/timer_gettime.c: Likewise.
22005 * rt/timer_settime.c: Likewise.
22006 * setjmp/__longjmp.c: Likewise.
22007 * setjmp/setjmp.c: Likewise.
22008 * signal/kill.c: Likewise.
22009 * signal/killpg.c: Likewise.
22010 * signal/raise.c: Likewise.
22011 * signal/sigaction.c: Likewise.
22012 * signal/sigaltstack.c: Likewise.
22013 * signal/sigblock.c: Likewise.
22014 * signal/sigignore.c: Likewise.
22015 * signal/sigintr.c: Likewise.
22016 * signal/signal.c: Likewise.
22017 * signal/sigpause.c: Likewise.
22018 * signal/sigpending.c: Likewise.
22019 * signal/sigqueue.c: Likewise.
22020 * signal/sigreturn.c: Likewise.
22021 * signal/sigset.c: Likewise.
22022 * signal/sigsetmask.c: Likewise.
22023 * signal/sigstack.c: Likewise.
22024 * signal/sigsuspend.c: Likewise.
22025 * signal/sigtimedwait.c: Likewise.
22026 * signal/sigvec.c: Likewise.
22027 * signal/sigwait.c: Likewise.
22028 * signal/sigwaitinfo.c: Likewise.
22029 * signal/sysv_signal.c: Likewise.
22030 * socket/accept.c: Likewise.
22031 * socket/accept4.c: Likewise.
22032 * socket/bind.c: Likewise.
22033 * socket/connect.c: Likewise.
22034 * socket/getpeername.c: Likewise.
22035 * socket/getsockname.c: Likewise.
22036 * socket/getsockopt.c: Likewise.
22037 * socket/isfdtype.c: Likewise.
22038 * socket/listen.c: Likewise.
22039 * socket/recv.c: Likewise.
22040 * socket/recvfrom.c: Likewise.
22041 * socket/recvmsg.c: Likewise.
22042 * socket/send.c: Likewise.
22043 * socket/sendmsg.c: Likewise.
22044 * socket/sendto.c: Likewise.
22045 * socket/setsockopt.c: Likewise.
22046 * socket/shutdown.c: Likewise.
22047 * socket/sockatmark.c: Likewise.
22048 * socket/socket.c: Likewise.
22049 * socket/socketpair.c: Likewise.
22050 * stdio-common/ctermid.c: Likewise.
22051 * stdio-common/cuserid.c: Likewise.
22052 * stdio-common/remove.c: Likewise.
22053 * stdio-common/rename.c: Likewise.
22054 * stdio-common/renameat.c: Likewise.
22055 * stdio-common/tempname.c: Likewise.
22056 * stdlib/getcontext.c: Likewise.
22057 * stdlib/makecontext.c: Likewise.
22058 * stdlib/setcontext.c: Likewise.
22059 * stdlib/swapcontext.c: Likewise.
22060 * stdlib/system.c: Likewise.
22061 * streams/fattach.c: Likewise.
22062 * streams/fdetach.c: Likewise.
22063 * streams/getmsg.c: Likewise.
22064 * streams/getpmsg.c: Likewise.
22065 * streams/putmsg.c: Likewise.
22066 * streams/putpmsg.c: Likewise.
22067 * sysdeps/unix/bsd/getpt.c: Likewise.
22068 * sysdeps/unix/sysv/linux/epoll_pwait.c: Likewise.
22069 * sysdeps/unix/sysv/linux/futimens.c: Likewise.
22070 * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
22071 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
22073 * sysdeps/unix/sysv/linux/readahead.c: Likewise.
22074 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
22075 * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
22076 * sysvipc/msgctl.c: Likewise.
22077 * sysvipc/msgget.c: Likewise.
22078 * sysvipc/msgrcv.c: Likewise.
22079 * sysvipc/msgsnd.c: Likewise.
22080 * sysvipc/semctl.c: Likewise.
22081 * sysvipc/semget.c: Likewise.
22082 * sysvipc/semop.c: Likewise.
22083 * sysvipc/semtimedop.c: Likewise.
22084 * sysvipc/shmat.c: Likewise.
22085 * sysvipc/shmctl.c: Likewise.
22086 * sysvipc/shmdt.c: Likewise.
22087 * sysvipc/shmget.c: Likewise.
22088 * termios/tcdrain.c: Likewise.
22089 * termios/tcflow.c: Likewise.
22090 * termios/tcflush.c: Likewise.
22091 * termios/tcgetattr.c: Likewise.
22092 * termios/tcgetpgrp.c: Likewise.
22093 * termios/tcsendbrk.c: Likewise.
22094 * termios/tcsetattr.c: Likewise.
22095 * termios/tcsetpgrp.c: Likewise.
22096 * time/adjtime.c: Likewise.
22097 * time/clock.c: Likewise.
22098 * time/getitimer.c: Likewise.
22099 * time/gettimeofday.c: Likewise.
22100 * time/setitimer.c: Likewise.
22101 * time/settimeofday.c: Likewise.
22102 * time/stime.c: Likewise.
22103 * time/time.c: Likewise.
22105 2012-11-04 Pino Toscano <toscano.pino@tiscali.it>
22107 * sysdeps/generic/paths.h (_PATH_STDPATH): Remove /usr/contrib/bin and
22110 * sysdeps/generic/paths.h (_PATH_MNTTAB, _PATH_MOUNTED): Use tabs
22112 * sysdeps/unix/sysv/linux/paths.h (_PATH_UTMP, _PATH_WTMP): Likewise.
22114 2012-11-03 Joseph Myers <joseph@codesourcery.com>
22117 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Set rounding mode to
22118 FE_TONEAREST before applying Dekker multiplication and Knuth
22119 addition. Clear inexact exceptions and check for exact zero
22120 results afterwards.
22121 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
22122 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
22123 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
22124 * math/libm-test.inc (fma_test): Add more tests.
22125 (fma_test_towardzero): Likewise.
22126 (fma_test_downward): Likewise.
22127 (fma_test_upward): Likewise.
22128 * sysdeps/generic/math_private.h (default_libc_fesetround): New
22130 (libc_fesetround): New macro.
22131 (libc_fesetroundf): Likewise.
22132 (libc_fesetroundl): Likewise.
22133 * sysdeps/i386/fpu/fenv_private.h (libc_fesetround_sse): New
22135 (libc_fesetround_387): Likewise.
22136 (libc_fesetroundf): New macro.
22137 (libc_fesetround): Likewise.
22138 (libc_fesetroundl): Likewise.
22139 * sysdeps/sparc/fpu/fenv_private.h (libc_fesetround): New
22141 (libc_fesetroundf): New macro.
22142 (libc_fesetround): Likewise.
22143 (libc_fesetroundl): Likewise.
22144 * include/fenv.h (feclearexcept): Add libm_hidden_proto.
22145 * math/fclrexcpt.c (feclearexcept): Add libm_hidden_ver.
22146 * sysdeps/i386/fpu/fclrexcpt.c (feclearexcept): Add
22148 * sysdeps/powerpc/fpu/fclrexcpt.c (feclearexcept): Likewise.
22149 * sysdeps/s390/fpu/fclrexcpt.c (feclearexcept): Add
22151 * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Likewise.
22152 * sysdeps/sparc/fpu/fclrexcpt.c (feclearexcept): Add
22154 * sysdeps/x86_64/fpu/fclrexcpt.c (feclearexcept): Add
22158 * sysdeps/powerpc/bits/fenv.h (FE_INEXACT): Define macro to
22159 integer constant usable in #if and use that to give value to enum
22161 (FE_DIVBYZERO): Likewise.
22162 (FE_UNDERFLOW): Likewise.
22163 (FE_OVERFLOW): Likewise.
22164 (FE_INVALID): Likewise.
22165 (FE_INVALID_SNAN): Likewise.
22166 (FE_INVALID_ISI): Likewise.
22167 (FE_INVALID_IDI): Likewise.
22168 (FE_INVALID_ZDZ): Likewise.
22169 (FE_INVALID_IMZ): Likewise.
22170 (FE_INVALID_COMPARE): Likewise.
22171 (FE_INVALID_SOFTWARE): Likewise.
22172 (FE_INVALID_SQRT): Likewise.
22173 (FE_INVALID_INTEGER_CONVERSION): Likewise.
22174 (FE_TONEAREST): Likewise.
22175 (FE_TOWARDZERO): Likewise.
22176 (FE_UPWARD): Likewise.
22177 (FE_DOWNWARD): Likewise.
22178 * sysdeps/s390/fpu/bits/fenv.h (FE_INVALID): Likewise.
22179 (FE_DIVBYZERO): Likewise.
22180 (FE_OVERFLOW): Likewise.
22181 (FE_UNDERFLOW): Likewise.
22182 (FE_INEXACT): Likewise.
22183 (FE_TONEAREST): Likewise.
22184 (FE_DOWNWARD): Likewise.
22185 (FE_UPWARD): Likewise.
22186 (FE_TOWARDZERO): Likewise.
22187 * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_INEXACT): Likewise.
22188 (FE_UNDERFLOW): Likewise.
22189 (FE_OVERFLOW): Likewise.
22190 (FE_DIVBYZERO): Likewise.
22191 (FE_INVALID): Likewise.
22192 (FE_TONEAREST): Likewise.
22193 (FE_TOWARDZERO): Likewise.
22194 * sysdeps/sparc/fpu/bits/fenv.h (FE_INVALID): Likewise.
22195 (FE_OVERFLOW): Likewise.
22196 (FE_UNDERFLOW): Likewise.
22197 (FE_DIVBYZERO): Likewise.
22198 (FE_INEXACT): Likewise.
22199 (FE_TONEAREST): Likewise.
22200 (FE_TOWARDZERO): Likewise.
22201 (FE_UPWARD): Likewise.
22202 (FE_DOWNWARD): Likewise.
22203 * sysdeps/x86/fpu/bits/fenv.h (FE_INVALID): Likewise.
22204 (FE_DIVBYZERO): Likewise.
22205 (FE_OVERFLOW): Likewise.
22206 (FE_UNDERFLOW): Likewise.
22207 (FE_INEXACT): Likewise.
22208 (FE_TONEAREST): Likewise.
22209 (FE_DOWNWARD): Likewise.
22210 (FE_UPWARD): Likewise.
22211 (FE_TOWARDZERO): Likewise.
22213 2012-11-02 Chris Metcalf <cmetcalf@tilera.com>
22215 * elf/elf.h (R_TILEGX_IMM16_X[01]_HW[012]_(|LAST_)PLT_PCREL): Add.
22217 2012-11-03 Andreas Schwab <schwab@linux-m68k.org>
22219 * scripts/cross-test-ssh.sh (command): Use newlines to separate
22220 commands. Quote $PWD.
22221 (blacklist_exports): Don't use remove_newlines. Replace "declare
22223 (remove_newlines): Remove.
22225 2012-11-02 H.J. Lu <hongjiu.lu@intel.com>
22227 * stdlib/Makefile (headers): Add bits/stdlib-float.h.
22228 * stdlib/stdlib.h (atof): Moved to ...
22229 * include/bits/stdlib-float.h: Here. New file.
22230 * stdlib/stdlib.h: Include <bits/stdlib-float.h>.
22231 * stdlib/bits/stdlib-float.h: New file.
22232 * sysdeps/x86/Makefile (CFLAGS-.os): Compile rtld routines with
22234 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Include
22237 2012-11-02 Joseph Myers <joseph@codesourcery.com>
22239 * conform/conformtest.pl (@headers): Add fenv.h.
22240 * conform/data/fenv.h-data: New file.
22241 * include/fenv.h [_ISOMAC]: Disable all contents of file except
22242 include of <math/fenv.h>.
22244 * conform/data/complex.h-data [ISO99 || ISO11 || XOPEN2K ||
22245 POSIX2008]: Change condition to [!ISO && !POSIX && !XPG3 && !XPG4
22246 && !UNIX98]. Enables tests for XOPEN2K8.
22247 * conform/data/inttypes.h-data [ISO99 || ISO11 || XOPEN2K ||
22248 POSIX2008]: Likewise.
22250 * conform/data/sys/wait.h-data [XPG3 || XOPEN2K8 || POSIX2008]
22251 (struct rusage): Do not expect type or its members.
22254 * math/math.h (FP_NAN): Define macro to integer constant usable in
22255 #if and use that to give value to enum constant.
22256 (FP_INFINITE): Likewise.
22257 (FP_ZERO): Likewise.
22258 (FP_SUBNORMAL): Likewise.
22259 (FP_NORMAL): Likewise.
22261 2012-11-02 Andreas Schwab <schwab@linux-m68k.org>
22263 * iconvdata/bug-iconv8.c (do_test): Use %z for size_t arguments.
22264 * iconvdata/bug-iconv9.c (do_test): Use %t for ptrdiff_t
22267 2012-11-02 Roland McGrath <roland@hack.frob.com>
22269 * aclocal.m4 (GLIBC_AUTOCONF_VERSION): New macro.
22270 Check that AC_AUTOCONF_VERSION matches it and m4_fatal at
22271 autoconf-time if not.
22272 * configure.in: Remove AC_PREREQ.
22274 2012-11-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
22276 * sysdeps/powerpc/sys/platform/ppc.h (__ppc_get_timebase): Use
22277 __builtin_ppc_get_timebase when building with GCC >= 4.8 instead
22278 of the internal implementation.
22280 2012-11-02 Joseph Myers <joseph@codesourcery.com>
22282 * include/sys/syslog.h [_ISOMAC]: Disable all contents of file
22283 except include of <misc/sys/syslog.h>.
22285 2012-11-01 Andreas Schwab <schwab@linux-m68k.org>
22287 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: If the
22288 function returns with a NULL context exit with zero.
22290 2012-11-01 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
22292 * sysdeps/powerpc/Makefile (cflags): Remove -mnew-mnemonics.
22294 2012-11-01 H.J. Lu <hongjiu.lu@intel.com>
22296 * catgets/test-gencat.sh (run_program_prefix): Renamed to ...
22297 (run_program_cmd): This.
22298 * localedata/tst-langinfo.sh (run_program_prefix): Removed.
22299 (tst_langinfo): New variable. Use it.
22301 2012-11-01 Sebastan Andrzej Siewior <bigeasy@linutronix.de>
22303 * sysdeps/powerpc/powerpc32/dl-trampoline.S: Put __NO_FPRS__ around
22304 floating point opcodes.
22306 2012-11-01 Thomas Schwinge <thomas@codesourcery.com>
22308 * sysdeps/mach/hurd/Makefile (link-libc-static-tests): New
22311 * elf/dl-support.c: Unconditionally include "setup-vdso.h".
22313 * sysdeps/mach/hurd/powerpc: Remove directory.
22314 * sysdeps/mach/powerpc: Likewise.
22316 2012-11-01 Andreas Schwab <schwab@linux-m68k.org>
22318 * scripts/check-local-headers.sh: Ignore c++ headers.
22320 2012-11-01 Thomas Schwinge <thomas@codesourcery.com>
22322 * libio/genops.c (_IO_flush_all_lockp): Use NULL rather than 0 for
22323 __libc_cleanup_region_start argument.
22325 2012-11-01 Joseph Myers <joseph@codesourcery.com>
22329 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle cases with small
22330 x * y using scaling, not as x * y + z.
22331 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
22332 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
22333 * math/libm-test.inc (fma_test): Add more tests.
22334 (fma_test_towardzero): Likewise.
22335 (fma_test_downward): Likewise.
22336 (fma_test_upward): Likewise.
22338 2012-11-01 Thomas Schwinge <thomas@codesourcery.com>
22340 * sysdeps/mach/hurd/bits/param.h: Remove stray #endif.
22342 2012-10-31 Joseph Myers <joseph@codesourcery.com>
22344 * sysdeps/sh/Makefile [$(subdir) = debug] (CFLAGS-backtrace.c):
22347 2012-10-31 Thomas Schwinge <thomas@codesourcery.com>
22349 * rt/tst-shm.c (worker): Correct checking for mmap failure.
22351 2012-10-31 Andreas Schwab <schwab@linux-m68k.org>
22353 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
22355 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
22358 2012-10-31 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
22360 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
22361 Fix the order of the list for glibc 2.17.
22362 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
22365 2012-10-31 Andreas Schwab <schwab@linux-m68k.org>
22367 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
22369 2012-10-31 Joseph Myers <joseph@codesourcery.com>
22372 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Check
22373 for low part of x being zero before using __atanl (y).
22374 * math/libm-test.inc (atan2_test): Add another test.
22376 * manual/install.texi (Configuring and compiling): Document
22377 general use of test-wrapper and test-wrapper-env.
22378 * INSTALL: Regenerated.
22380 * sysdeps/ieee754/dbl-64/s_fma.c: Include <tininess.h>.
22381 (__fma): Do not extract and scale down low bits on after-rounding
22382 systems when result rounded to normal precision would have normal
22384 * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <tininess.h>.
22385 (__fmal): Do not extract and scale down low bits on after-rounding
22386 systems when result rounded to normal precision would have normal
22388 * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <tininess.h>.
22389 (__fmal): Do not extract and scale down low bits on after-rounding
22390 systems when result rounded to normal precision would have normal
22392 * math/libm-test.inc (UNDERFLOW_EXCEPTION_BEFORE_ROUNDING): New
22394 (fma_test): Add more tests.
22395 (fma_test_towardzero): Likewise.
22396 (fma_test_downward): Likewise.
22397 (fma_test_upward): Likewise.
22399 2012-10-30 H.J. Lu <hongjiu.lu@intel.com>
22401 * sysdeps/i386/tininess.h: Renamed to ...
22402 * sysdeps/x86/tininess.h: This.
22403 * sysdeps/x86_64/tininess.h: Removed.
22405 2012-10-30 Joseph Myers <joseph@codesourcery.com>
22407 * elf/Makefile ($(objpfx)tst-array1.out): Depend on comparison
22408 input. Use $(build-program-cmd).
22409 ($(objpfx)tst-array1-static.out): Likewise.
22410 ($(objpfx)tst-array2.out): Likewise.
22411 ($(objpfx)tst-array3.out): Likewise.
22412 ($(objpfx)tst-array4.out): Likewise.
22413 ($(objpfx)tst-array5.out): Likewise.
22414 ($(objpfx)tst-array5-static.out): Likewise.
22416 2012-10-30 Chris Metcalf <cmetcalf@tilera.com>
22418 * elf/dl-load.c (_dl_map_object_from_fd): Call DL_AFTER_LOAD
22421 * nss/nsswitch.h (nss_interface_function): Provide new
22422 macro for use with NSS functions.
22423 * grp/initgroups.c: Use new macro.
22424 * nss/getXXbyYY.c: Likewise.
22425 * nss/getXXbyYY_r.c: Likewise.
22426 * nss/getXXent.c: Likewise.
22427 * nss/getXXent_r.c: Likewise.
22428 * sysdeps/posix/getaddrinfo.c: Likewise.
22430 2012-10-30 Andreas Jaeger <aj@suse.de>
22432 * po/ru.po: Update Russion translation from translation project.
22434 2012-10-30 Joseph Myers <joseph@codesourcery.com>
22438 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Extract low bits of
22439 result and shift together with sticky bit instead of replicating
22440 round-to-nearest rounding.
22441 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
22442 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
22443 * math/libm-test.inc (fma_test): Add more tests. Do not permit
22444 missing underflow exceptions.
22445 (fma_test_towardzero): Add more tests.
22446 (fma_test_downward): Likewise.
22447 (fma_test_upward): Likewise.
22450 * sysdeps/generic/tininess.h: New file.
22451 * sysdeps/i386/tininess.h: Likewise.
22452 * sysdeps/sh/tininess.h: Likewise.
22453 * sysdeps/x86_64/tininess.h: Likewise.
22454 * stdlib/tst-strtod-underflow.c: Likewise.
22455 * stdlib/tst-tininess.c: Likewise.
22456 * stdlib/strtod_l.c: Include <tininess.h>.
22457 (round_and_return): Do not set errno for exact underflow cases.
22458 Force an underflow exception when setting errno for underflow.
22459 Determine underflow based on rounding to normal precision if
22460 TININESS_AFTER_ROUNDING.
22461 * stdlib/tst-strtod.c (tests): Do not expect errno to be set to
22462 ERANGE for exact underflow cases.
22463 * stdlib/Makefile (tests): Add tst-tininess and
22464 tst-strtod-underflow.
22465 ($(objpfx)tst-tininess): Use $(link-libm).
22466 ($(objpfx)tst-strtod-underflow): Likewise.
22468 2012-10-30 Andreas Jaeger <aj@suse.de>
22471 * elf/Makefile (tests): Remove conditional for have-initfini-array
22472 since this is now always required and the variable does not exist
22474 (tests-static): Likewise.
22475 (modules-names): Likewise.
22477 * po/eo.po: Add Esperanto translation from translation project.
22479 * elf/tst-array1.c (fini_array): Make writeable so that it can be
22480 merged with constructor/destructor.
22481 (init_array): Likewise.
22482 * elf/tst-array2dep.c (fini_array): Likewise.
22483 (init_array): Likewise.
22485 2012-10-29 Mike Frysinger <vapier@gentoo.org>
22487 * manual/message.texi: Delete @cartouche tags.
22489 2012-10-29 Pino Toscano <toscano.pino@tiscali.it>
22491 * sysdeps/mach/hurd/fdatasync.c: Turn ERR into EINVAL if it is
22493 * sysdeps/mach/hurd/fsync.c: Likewise.
22495 * sysdeps/pthread/aio_notify.c (__aio_notify_only)
22496 [_POSIX_REALTIME_SIGNALS]: Change condition to
22497 [_POSIX_REALTIME_SIGNALS > 0].
22499 2012-10-27 Andreas Jaeger <aj@suse.de>
22501 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (__O_LARGEFILE)
22502 [!__x86_64]: Do not define, take value from <bits/fcntl-linux.h>.
22503 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE):
22504 [__WORDSIZE != 64]: Likewise.
22506 2012-10-26 H.J. Lu <hongjiu.lu@intel.com>
22508 * iconvdata/tst-table.sh: Remove ${SHELL}.
22509 * iconvdata/tst-tables.sh: Likewise.
22511 2012-10-25 David S. Miller <davem@davemloft.net>
22513 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
22514 (__get_clockfreq_via_proc_openprom): Use strtoumax instead
22517 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add comments for
22519 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
22520 * sysdeps/sparc/sparc64/multiarch/ifunc-impl-list.c: New file.
22521 * sysdeps/sparc/sparc32/sparcv9/multiarch/ifunc-impl-list.c: New
22524 2012-10-25 Roland McGrath <roland@hack.frob.com>
22526 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
22527 (__get_clockfreq_via_proc_openprom): Use __getdents instead of
22530 2012-10-25 Joseph Myers <joseph@codesourcery.com>
22531 Jim Blandy <jimb@codesourcery.com>
22533 * scripts/cross-test-ssh.sh: New file.
22534 * manual/install.texi (Configuring and compiling): Document use of
22536 * INSTALL: Regenerated.
22538 2012-10-25 Pino Toscano <toscano.pino@tiscali.it>
22540 * sysdeps/mach/hurd/ptrace.c (ptrace): Use __hurd_fail to return
22543 2012-10-25 Joseph Myers <joseph@codesourcery.com>
22545 * Makeconfig (run-program-prefix): Fix comment.
22547 2012-10-24 Joseph Myers <joseph@codesourcery.com>
22548 Jim Blandy <jimb@codesourcery.com>
22550 * Makeconfig (test-wrapper): New variable,
22551 (test-wrapper-env): Likewise.
22552 [$(cross-compiling) = yes && $(test-wrapper) != ""]
22553 (run-built-tests): Define to yes.
22554 (run-program-prefix): Use $(test-wrapper).
22555 (built-program-cmd): Likewise.
22556 * Rules (make-test-out): Use $(test-wrapper-env) and
22557 $(host-built-program-cmd).
22558 * elf/Makefile ($(objpfx)order.out): Use $(test-wrapper).
22559 ($(objpfx)tst-pathopt.out): Pass $(test-wrapper-env) to
22561 ($(objpfx)tst-rtld-load-self.out): Pass $(test-wrapper) and
22562 $(test-wrapper-env) to tst-rtld-load-self.sh.
22563 ($(objpfx)order2.out): Use $(test-wrapper).
22564 ($(objpfx)tst-initorder.out): Likewise.
22565 ($(objpfx)tst-initorder2.out): Likewise.
22566 ($(objpfx)tst-unused-dep.out): Use $(test-wrapper-env).
22567 * elf/tst-pathopt.sh (run_program_prefix): Remove unused variable.
22568 (test_wrapper_env): New variable. Use it to run ld.so.
22569 * elf/tst-rtld-load-self.sh (test_wrapper): New variable.
22570 Use it to run ld.so.
22571 (test_wrapper_env): Likewise.
22572 * iconvdata/Makefile ($(objpfx)iconv-test.out): Pass
22573 $(test-wrapper) to run-iconv-test.sh.
22574 * iconvdata/run-iconv-test.sh (test_wrapper): New variable.
22575 (ICONV): Use $test_wrapper.
22576 * posix/Makefile ($(objpfx)globtest.out): Pass
22577 $(run-via-rtld-prefix), $(test-wrapper) and $(test-wrapper-env) to
22578 globtest.sh, not $(run-program-prefix).
22579 * posix/globtest.sh (run_via_rtld_prefix): New variable.
22580 (test_wrapper): Likewise.
22581 (test_wrapper_env): Likewise. Use it to run globtest with HOME
22582 set together with run_via_rtld_prefix.
22583 (run_program_prefix): Define in terms of test_wrapper and
22584 run_via_rtld_prefix.
22586 2012-10-24 Roland McGrath <roland@hack.frob.com>
22588 * nscd/Makefile ($(objpfx)nscd): Remove librt dependency.
22589 * posix/Makefile ($(objpfx)tst-regex, $(objpfx)tst-regex2):
22593 * include/time.h: Remove librt_hidden_proto (clock_gettime).
22594 Declare __clock_getres, __clock_gettime, __clock_settime,
22595 __clock_nanosleep, and __clock_getcpuclockid.
22596 * rt/clock_gettime.c: Define __clock_gettime as an alias.
22597 Remove librt_hidden_def (clock_gettime).
22598 * sysdeps/unix/clock_gettime.c: Likewise.
22599 * rt/clock_getcpuclockid.c: Define __clock_getcpuclockid as an alias.
22600 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
22601 * rt/clock_getres.c: Define __clock_getres as an alias.
22602 * sysdeps/posix/clock_getres.c: Likewise.
22603 * rt/clock_settime.c: Define __clock_settime as an alias.
22604 * sysdeps/unix/clock_settime.c: Likewise.
22605 * rt/clock_nanosleep.c: Define __clock_nanosleep as an alias.
22606 * sysdeps/unix/clock_nanosleep.c: Likewise.
22607 * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
22608 * rt/clock-compat.c: New file.
22609 * rt/Makefile (librt-routines): Add clock-compat and move
22610 $(clock-routines) to ...
22611 (routines): ... here, new variable.
22612 * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_routines):
22613 Don't add get_clockfreq here.
22614 * rt/Versions (libc: GLIBC_2.17): New version set.
22615 Add clock_* symbols here.
22616 (libc: GLIBC_PRIVATE): New version set. Add __clock_* symbols here.
22617 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist
22618 (GLIBC_2.17): Add clock_* symbols.
22619 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
22620 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
22621 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
22622 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
22624 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
22626 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
22627 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
22628 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
22629 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
22630 * NEWS: Mention the move.
22632 * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
22633 Use __open, __read, __close rather than their public counterparts.
22634 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
22635 (__get_clockfreq_via_cpuinfo): Likewise.
22636 (__get_clockfreq_via_proc_openprom): Likewise, and __getdirentries.
22637 (__get_clockfreq_via_dev_openprom): Likewise, and __ioctl.
22639 * config.h.in (HAVE_IFUNC): New #undef.
22640 * configure.in: Define it if libc_cv_ld_gnu_indirect_function
22642 * configure: Regenerated.
22644 2012-10-24 Mike Frysinger <vapier@gentoo.org>
22646 * configure.in: Move READELF check to start of file.
22647 (libc_cv_ld_gnu_indirect_function): Change to a link test. Rename from
22648 libc_cv_asm_gnu_indirect_function in the process.
22649 * configure: Regenerated.
22651 2012-10-24 Mike Frysinger <vapier@gentoo.org>
22653 * configure.in (libc_cv_gcc_static_libgcc): Drop -q flag to grep and
22654 send the output to /dev/null.
22655 (libc_cv_cc_with_libunwind): Likewise.
22656 (libc_cv_as_noexecstack): Likewise.
22657 * configure: Regenerate.
22659 2012-10-24 Joseph Myers <joseph@codesourcery.com>
22661 * io/ftwtest-sh (tmp): Define to ${objpfx}io, not using `pwd`.
22663 * posix/globtest.sh (TMPDIR): Do not set.
22664 (testdir): Define using ${common_objpfx}posix not $TMPDIR.
22665 (testout): Likewise.
22667 2012-10-24 Andreas Jaeger <aj@suse.de>
22669 * io/fcntl.h: Always define mode_t, off_t, pid_t and use these
22670 types for creat, creat64, lockf, posix_fadvise, posix_fallocate.
22671 [__USE_LARGEFILE64 && !__off64_t_defined]: Define off64_t.
22672 [__USE_LARGEFILE64]: Use off64_t in declaration of lock64,
22673 posix_fadvise64, posix_fallocate64.
22675 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (F_GETLK, F_SETLK)
22676 (F_SETLKW) [__x86_64]: Remove, provided by <bits/fcntl-linux.h>.
22677 (F_GETLK, F_SETLK, F_SETLKW) [!__USE_FILE_OFFSET64 && !__x86_64__]:
22679 (F_GETLK, F_SETLK, F_SETLKW) [__USE_FILE_OFFSET64 && ! __x86_64__]:
22681 (F_GETLK64, F_SETLK64, F_SETLKW64) [!__x86_64__]: Likewise.
22683 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (F_GETLK, F_SETLK)
22684 (F_SETLKW) [__USE_FILE_OFFSET64]: Remove, provided by
22685 <bits/fcntl-linux.h>.
22686 (F_GETLK64, F_SETLK64, F_SETLKW64) [__WORDSIZE == 64]: Likewise.
22688 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (F_DUPFD, F_GETFD)
22689 (F_SETFD, F_GETFL, F_SETFL): Remove, provided by <bits/fcntl-linux.h>.
22690 (F_GETLK, F_SETLK, F_SETLKW) [__WORDSIZE == 64]: Likewise.
22691 (F_GETLK, F_SETLK, F_SETLKW, F_GETLK64, F_SETLK64, F_SETLKW64)
22692 [__WORDSIZE != 64]: Likewise.
22694 2012-10-23 Joseph Myers <joseph@codesourcery.com>
22696 * Makeconfig (run-built-tests): New variable.
22697 * Rules [$(cross-compiling) = yes]: Change condition to
22698 [$(run-built-tests) = no].
22699 * catgets/Makefile [$(cross-compiling) != yes]: Change condition
22700 to [$(run-built-tests) = yes].
22701 * elf/Makefile [$(cross-compiling) = no]: Likewise
22702 * grp/Makefile [$(cross-compiling) = no]: Likewise.
22703 * iconv/Makefile [$(cross-compiling) != yes]: Likewise.
22704 * iconvdata/Makefile [$(cross-compiling) = no]: Likewise.
22705 * intl/Makefile [$(cross-compiling) = no]: Likewise.
22706 * io/Makefile [$(cross-compiling) = no]: Likewise.
22707 * libio/Makefile [$(cross-compiling) = no]: Likewise.
22708 * malloc/Makefile [$(cross-compiling) = no]: Likewise.
22709 * misc/Makefile [$(cross-compiling) = no]: Likewise.
22710 * posix/Makefile [$(cross-compiling) = no]: Likewise.
22711 * resolv/Makefile [$(cross-compiling) = no]: Likewise.
22712 * stdio-common/Makefile [$(cross-compiling) = no]: Likewise.
22713 * stdlib/Makefile [$(cross-compiling) = no]: Likewise.
22714 * string/Makefile [$(cross-compiling) = no]: Likewise.
22716 * posix/Makefile ($(objpfx)globtest.out): Pass
22717 $(run-program-prefix) to globtest.sh, not $(elf-objpfx) and
22718 $(rtld-installed-name).
22719 * posix/globtest.sh (elf_objpfx): Remove variable.
22720 (rtld_installed_name): Likewise.
22721 (library_path): Likewise.
22722 (run_program_prefix): New variable. Use for running globtest
22725 2012-10-23 Jim Blandy <jimb@codesourcery.com>
22726 Joseph Myers <joseph@codesourcery.com>
22728 * Makeconfig (host-built-program-cmd): New variable.
22729 * elf/Makefile (tst-stackguard1-ARGS): Use
22730 $(host-built-program-cmd).
22731 * posix/Makefile (tst-exec-ARGS): Use $(host-built-program-cmd).
22732 (tst-spawn-ARGS): Likewise.
22733 * rt/Makefile (tst-mqueue7-ARGS): Use $(host-built-program-cmd).
22735 2012-10-23 Joseph Myers <joseph@codesourcery.com>
22736 Jim Blandy <jimb@codesourcery.com>
22738 * Makeconfig (run-via-rtld-prefix): New variable.
22739 (run-program-prefix): Define in terms of $(run-via-rtld-prefix).
22740 (built-program-cmd): Likewise.
22742 2012-10-22 Andreas Jaeger <aj@suse.de>
22744 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (O_RSYNC): Define to
22745 __O_RSYNC if it exists, otherwise to O_SYNC.
22747 2012-10-22 Jim Blandy <jimb@codesourcery.com>
22748 Joseph Myers <joseph@codesourcery.com>
22750 * iconvdata/run-iconv-test.sh: Redirect iconv stdin in loops from
22752 * iconvdata/tst-tables.sh: Redirect tst-table.sh stdin in loop
22754 * posix/tst-getconf.sh: Redirect getconf stdin in loop from
22757 2012-10-22 Andreas Jaeger <aj@suse.de>
22759 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_LARGEFILE):
22761 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE): Likewise.
22763 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
22764 bits/fcntl-linux.h.
22766 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (F_GETLK, F_SETLK)
22767 (F_SETLKW) [!F_GETLK]: Define values for [!__USE_FILE_OFFSET64].
22769 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (O_LARGEFILE): Rename
22771 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_LARGEFILE): Rename
22774 2012-10-21 Jim Blandy <jimb@codesourcery.com>
22775 Joseph Myers <joseph@codesourcery.com>
22777 * config.make.in (NM): New variable.
22779 2012-10-21 Andreas Jaeger <aj@suse.de>
22781 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Remove all
22782 definitions and declarations that are provided by
22783 <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
22785 2012-10-20 H.J. Lu <hongjiu.lu@intel.com>
22788 * elf/Makefile (tests-static): Add tst-leaks1-static.
22789 (tests): Also depend on $(objpfx)tst-leaks1-static-mem.
22790 ($(objpfx)tst-leaks1-static): New rule.
22791 ($(objpfx)tst-leaks1-static-mem): Likewise.
22792 (tst-leaks1-static-ENV): New macro.
22793 * elf/dl-open.c (dl_open_worker): Check the main application
22794 only if SHARED is defined.
22795 * elf/tst-leaks1-static.c: New file.
22797 2012-10-20 Andreas Jaeger <aj@suse.de>
22799 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: New file, contains
22800 generic values for Linux.
22801 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: Remove all definitions
22802 and declarations that are provided by <bits/fcntl-linux.h> and
22803 include <bits/fcntl-linux.h>.
22804 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
22805 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
22807 2012-10-20 Roland McGrath <roland@hack.frob.com>
22809 * io/fcntl.h: Move include of <bits/types.h> to the top and
22810 include it unconditionally.
22812 2012-10-20 H.J. Lu <hongjiu.lu@intel.com>
22814 * wcsmbs/Makefile (tests-ifunc): New variable.
22815 (tests): Add $(tests-ifunc).
22816 * wcsmbs/test-wcschr-ifunc.c: New file.
22817 * wcsmbs/test-wcscmp-ifunc.c: Likewise.
22818 * wcsmbs/test-wcscpy-ifunc.c: Likewise.
22819 * wcsmbs/test-wcslen-ifunc.c: Likewise.
22820 * wcsmbs/test-wcsrchr-ifunc.c: Likewise.
22821 * wcsmbs/test-wmemcmp-ifunc.c: Likewise.
22823 * string/Makefile (tests-ifunc): New variable.
22824 (tests): Add $(tests-ifunc).
22825 * string/test-memccpy.c (TEST_NAME): New macro.
22826 * string/test-memchr.c (TEST_NAME): Likewise.
22827 * string/test-memcmp.c (TEST_NAME): Likewise.
22828 * string/test-memcpy.c (TEST_NAME): Likewise.
22829 * string/test-memmem.c (TEST_NAME): Likewise.
22830 * string/test-memmove.c (TEST_NAME): Likewise.
22831 * string/test-memset.c (TEST_NAME): Likewise.
22832 * string/test-rawmemchr.c (TEST_NAME): Likewise.
22833 * string/test-stpcpy.c (TEST_NAME): Likewise.
22834 * string/test-stpncpy.c (TEST_NAME): Likewise.
22835 * string/test-strcasecmp.c (TEST_NAME): Likewise.
22836 * string/test-strcasestr.c (TEST_NAME): Likewise.
22837 * string/test-strcat.c (TEST_NAME): Likewise.
22838 * string/test-strchr.c (TEST_NAME): Likewise.
22839 * string/test-strcmp.c(TEST_NAME): Likewise.
22840 * string/test-strcpy.c (TEST_NAME): Likewise.
22841 * string/test-strcspn.c (TEST_NAME): Likewise.
22842 * string/test-strlen.c (TEST_NAME): Likewise.
22843 * string/test-strncasecmp.c (TEST_NAME): Likewise.
22844 * string/test-strncmp.c (TEST_NAME): Likewise.
22845 * string/test-strncpy.c (TEST_NAME): Likewise.
22846 * string/test-strnlen.c (TEST_NAME): Likewise.
22847 * string/test-strpbrk.c (TEST_NAME): Likewise.
22848 * string/test-strrchr.c (TEST_NAME): Likewise.
22849 * string/test-strspn.c (TEST_NAME): Likewise.
22850 * string/test-strstr.c (TEST_NAME): Likewise.
22851 * string/test-bcopy-ifunc.c: New file.
22852 * string/test-bzero-ifunc.c: Likewise.
22853 * string/test-memccpy-ifunc.c: Likewise.
22854 * string/test-memchr-ifunc.c: Likewise.
22855 * string/test-memcmp-ifunc.c: Likewise.
22856 * string/test-memcpy-ifunc.c: Likewise.
22857 * string/test-memmem-ifunc.c: Likewise.
22858 * string/test-memmove-ifunc.c: Likewise.
22859 * string/test-mempcpy-ifunc.c: Likewise.
22860 * string/test-memset-ifunc.c: Likewise.
22861 * string/test-rawmemchr-ifunc.c: Likewise.
22862 * string/test-stpcpy-ifunc.c: Likewise.
22863 * string/test-stpncpy-ifunc.c: Likewise.
22864 * string/test-strcasecmp-ifunc.c: Likewise.
22865 * string/test-strcasestr-ifunc.c: Likewise.
22866 * string/test-strcat-ifunc.c: Likewise.
22867 * string/test-strchr-ifunc.c: Likewise.
22868 * string/test-strchrnul-ifunc.c: Likewise.
22869 * string/test-strcmp-ifunc.c: Likewise.
22870 * string/test-strcpy-ifunc.c: Likewise.
22871 * string/test-strcspn-ifunc.c: Likewise.
22872 * string/test-strlen-ifunc.c: Likewise.
22873 * string/test-strncasecmp-ifunc.c: Likewise.
22874 * string/test-strncat-ifunc.c: Likewise.
22875 * string/test-strncmp-ifunc.c: Likewise.
22876 * string/test-strncpy-ifunc.c: Likewise.
22877 * string/test-strnlen-ifunc.c: Likewise.
22878 * string/test-strpbrk-ifunc.c: Likewise.
22879 * string/test-strrchr-ifunc.c: Likewise.
22880 * string/test-strspn-ifunc.c: Likewise.
22881 * string/test-strstr-ifunc.c: Likewise.
22883 * debug/Makefile (tests-ifunc): New variable.
22884 (tests): Add $(tests-ifunc).
22885 * debug/test-stpcpy_chk.c (TEST_NAME): New macro.
22886 * debug/test-strcpy_chk.c (TEST_NAME): Likewise.
22887 * debug/test-stpcpy_chk-ifunc.c: New file.
22888 * debug/test-strcpy_chk-ifunc.c: Likewise.
22890 2012-10-20 Siddhesh Poyarekar <siddhesh@redhat.com>
22893 * elf/dl-load.c (open_verify): Retry read if the entire ELF
22894 header is not read in.
22896 2012-10-19 Joseph Myers <joseph@codesourcery.com>
22898 * io/Makefile ($(objpfx)ftwtest.out): Depend on ftwtest-sh. Pass
22899 script to $(SHELL) as $<. Pass $(common-objpfx) to script
22900 directly. Pass built executable to script as
22901 $(built-program-cmd).
22902 * io/ftwtest-sh (ldso): Remove variable. Run ftwtest directly as
22903 $testprogram without using LD_LIBRARY_PATH and $ldso.
22905 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Pass
22906 $(run-program-prefix) to tst_fgetgrent.sh, not $(elf-objpfx) and
22907 $(rtld-installed-name).
22908 * grp/tst_fgetgrent.sh (elf_objpfx): Remove variable.
22909 (rtld_installed_name): Likewise.
22910 (library_path): Likewise.
22911 (run_program_prefix): New variable. Use it to run tst_fgetgrent.
22912 * iconvdata/Makefile ($(objpfx)tst-tables.out): Pass
22913 $(run-program-prefix) to tst-tables.sh.
22914 * iconvdata/tst-table.sh (run_program_prefix): New variable. Use
22915 it to run tst-table-from and tst-table-to.
22916 * iconvdata/tst-tables.sh (run_program_prefix): New variable.
22917 Pass it to tst-table.sh.
22918 * intl/Makefile ($(objpfx)tst-gettext.out): Pass
22919 $(run-program-prefix) to tst-gettext.sh.
22920 ($(objpfx)tst-translit.out): Pass $(run-program-prefix) to
22922 ($(objpfx)tst-gettext2.out): Pass $(run-program-prefix) to
22924 * intl/tst-gettext.sh (run_program_prefix): New variable. Use it
22925 to run tst-gettext.
22926 * intl/tst-gettext2.sh (run_program_prefix): New variable. Use it
22927 to run tst-gettext2.
22928 * intl/tst-translit.sh (run_program_prefix): New variable. Use it
22929 to run tst-translit.
22930 * malloc/Makefile ($(objpfx)tst-mtrace.out): Pass
22931 $(run-program-prefix) to tst-mtrace.sh.
22932 * malloc/tst-mtrace.sh (run_program_prefix): New variable. Use it
22934 * posix/Makefile ($(objpfx)wordexp-tst.out): Pass
22935 $(run-program-prefix) to wordexp-tst.sh, not $(elf-objpfx) and
22936 $(rtld-installed-name).
22937 * posix/wordexp-tst.sh (elf_objpfx): Remove variable.
22938 (rtld_installed_name): Likewise.
22939 (run_program_prefix): New variable. Use it to run wordexp-test.
22941 * Makeconfig (ARCH): Remove all definitions.
22942 (machine): Likewise.
22943 [ARCH]: Remove conditional code.
22944 [!objdir]: Give error.
22945 [!objdir] (objpfx): Remove.
22946 [!objdir] (common-objpfx): Likewise.
22947 [!objdir] (common-objdir): Likewise.
22948 * configure.in (config_makefile): Remove. Hardcode Makefile in
22949 AC_CONFIG_FILES call.
22950 * configure: Regenerated.
22953 * io/ftwtest-sh (tmp): Set to use the working directory, not /tmp
22955 (testout): Likewise.
22957 * posix/Makefile ($(objpfx)tst-getconf.out): Pass
22958 $(built-program-cmd) to tst-getconf.sh, not $(elf-objpfx) and
22959 $(rtld-installed-name).
22960 * posix/tst-getconf.sh (elf_objpfx): Remove variable.
22961 (rtld_installed_name): Likwise.
22962 (runit): Remove function.
22963 (run_getconf): New variable, Use it for running getconf binary.
22965 2012-10-18 H.J. Lu <hongjiu.lu@intel.com>
22968 * string/test-memmem.c (check_result): New function.
22969 (do_one_test): Use it.
22970 (check1): New function.
22971 (test_main): Use it.
22973 2012-10-18 Markus Trippelsdorf <markus@trippelsdorf.de>
22975 * math/Makefile: Comment on slow compilation of test-tgmath2.c.
22977 2012-10-18 Joseph Myers <joseph@codesourcery.com>
22979 * sysdeps/generic/_G_config.h (_G_OPEN64): Remove.
22980 (_G_LSEEK64): Likewise.
22981 (_G_MMAP64): Likewise.
22982 (_G_FSTAT64): Likewise.
22983 * sysdeps/unix/sysv/linux/_G_config.h (_G_OPEN64): Remove.
22984 (_G_LSEEK64): Likewise.
22985 (_G_MMAP64): Likewise.
22986 (_G_FSTAT64): Likewise.
22987 * libio/fileops.c (mmap_remap_check) [_G_MMAP64]: Make code
22988 unconditional. Call __mmap64 directly.
22989 (mmap_remap_check) [!_G_MMAP64]: Remove conditional code.
22990 (mmap_remap_check) [_G_LSEEK64]: Make code unconditional. Call
22991 __lseek64 directly.
22992 (mmap_remap_check) [!_G_LSEEK64]: Remove conditional code.
22993 (decide_maybe_mmap) [_G_MMAP64]: Make code unconditional. Call
22995 (decide_maybe_mmap) [!_G_MMAP64]: Remove conditional code.
22996 (decide_maybe_mmap) [_G_LSEEK64]: Make code unconditional. Call
22997 __lseek64 directly.
22998 (decide_maybe_mmap) [!_G_LSEEK64]: Remove conditional code.
22999 (_IO_file_sync_mmap) [_G_LSEEK64]: Make code unconditional. Call
23000 __lseek64 directly.
23001 (_IO_file_sync_mmap) [!_G_LSEEK64]: Remove conditional code.
23002 (_IO_file_seek) [_G_LSEEK64]: Make code unconditional. Call
23003 __lseek64 directly.
23004 (_IO_file_seek) [!_G_LSEEK64]: Remove conditional code.
23005 (_IO_file_stat) [_G_FSTAT64]: Make code unconditional. Call
23006 __fxstat64 directly.
23007 (_IO_file_stat) [!_G_FSTAT64]: Remove conditional code.
23008 * libio/freopen64.c (freopen64) [_G_OPEN64]: Make code
23010 (freopen64) [!_G_OPEN64]: Remove conditional code.
23011 * libio/fseeko64.c (fseeko64) [_G_LSEEK64]: Make code
23013 (fseeko64) [!_G_LSEEK64]: Remove conditional code.
23014 * libio/ftello64.c (ftello64) [_G_LSEEK64]: Make code
23016 (ftello64) [!_G_LSEEK64]: Remove conditional code.
23017 * libio/iofgetpos64.c (_IO_new_fgetpos64) [_G_LSEEK64]: Make code
23019 (_IO_new_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
23020 * libio/iofopen64.c (_IO_fopen64) [_G_OPEN64]: Make code
23022 (_IO_fopen64) [!_G_OPEN64]: Remove conditional code.
23023 * libio/iofsetpos64.c (_IO_new_fsetpos64) [_G_LSEEK64]: Make code
23025 (_IO_new_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
23026 * libio/oldiofgetpos64.c (_IO_old_fgetpos64) [_G_LSEEK64]: Make code
23028 (_IO_old_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
23029 * libio/oldiofsetpos64.c (_IO_old_fsetpos64) [_G_LSEEK64]: Make code
23031 (_IO_old_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
23033 2012-10-18 Siddhesh Poyarekar <siddhesh@redhat.com>
23036 * manual/memory.texi (Malloc Tunable Parameters): Add note
23037 about free list pointers overwriting some perturb bytes.
23038 Wording suggested by Roland McGrath.
23040 2012-10-17 Joseph Myers <joseph@codesourcery.com>
23042 * math/libm-test.inc (gamma_test): Do not call feclearexcept.
23043 (lgamma_test): Likewise.
23044 (tgamma_test): Likewise.
23046 2012-10-16 Florian Weimer <fweimer@redhat.com>
23049 * sysdeps/posix/opendir.c (MAX_DIR_BUFFER_SIZE): New constant.
23050 (__alloc_dir): Limit buffer to MAX_DIR_BUFFER_SIZE.
23052 2012-10-16 Maxim Kuvyrkov <maxim@codesourcery.com>
23054 * NEWS: Mention BZ #14716.
23055 * string/str-two-way.h (two_way_short_needle): Fix thinko introduced
23056 when removing AVAILABLE1_USES_J macro.
23058 2012-10-12 H.J. Lu <hongjiu.lu@intel.com>
23060 * sysdeps/x86/bits/byteswap.h: Include <bits/types.h>.
23061 (__bswap_64): __uint64_t for unsigned 64-bit int.
23063 2012-10-12 Andreas Schwab <schwab@linux-m68k.org>
23065 * include/string.h (memmem): Declare libc hidden alias.
23066 * string/memmem.c (memmem): Define libc hidden alias.
23067 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Use __open,
23068 __read, __close instead of open, read, close.
23070 2012-10-11 H.J. Lu <hongjiu.lu@intel.com>
23072 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: New file.
23073 * sysdeps/x86_64/multiarch/memcmp.S (__memcmp_sse2): Make it
23075 * sysdeps/x86_64/multiarch/memcpy.S (__memcpy_sse2): Likewise.
23076 * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy_sse2): Likewise.
23077 * sysdeps/x86_64/multiarch/rawmemchr.S (__rawmemchr_sse42):
23079 (__rawmemchr_sse2): Likewise.
23080 * sysdeps/x86_64/multiarch/strcat.S (STRCAT_SSE2): Likewise.
23081 * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Likewise.
23082 (__strchr_sse2): Likewise.
23083 * sysdeps/x86_64/multiarch/strcmp-sse42.S (STRCMP_SSE42): Likewise.
23084 * sysdeps/x86_64/multiarch/strcmp.S (STRCMP_SSE2): Likewise.
23085 (__strcasecmp_sse2): Likewise.
23086 (__strncasecmp_sse2): Likewise.
23087 * sysdeps/x86_64/multiarch/strcpy.S (STRCPY_SSE2): Likewise.
23088 * sysdeps/x86_64/multiarch/strlen.S (__strlen_sse2): Likewise.
23089 * sysdeps/x86_64/multiarch/strnlen.S (__strnlen_sse2): Likewise.
23090 * sysdeps/x86_64/multiarch/strrchr.S (__strrchr_sse42): Likewise.
23091 (__strrchr_sse2): Likewise.
23092 * sysdeps/x86_64/multiarch/memcmp.S: Add comments for
23094 * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
23095 * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
23096 * sysdeps/x86_64/multiarch/memmove.c: Likewise.
23097 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
23098 * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
23099 * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
23100 * sysdeps/x86_64/multiarch/memset.S: Likewise.
23101 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
23102 * sysdeps/x86_64/multiarch/rawmemchr.S: Likewise.
23103 * sysdeps/x86_64/multiarch/stpcpy.S: Likewise.
23104 * sysdeps/x86_64/multiarch/stpncpy.S: Likewise.
23105 * sysdeps/x86_64/multiarch/strcasecmp_l.S: Likewise.
23106 * sysdeps/x86_64/multiarch/strcasestr-c.c: Likewise.
23107 * sysdeps/x86_64/multiarch/strcat.S: Likewise.
23108 * sysdeps/x86_64/multiarch/strchr.S: Likewise.
23109 * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
23110 * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
23111 * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
23112 * sysdeps/x86_64/multiarch/strlen.S: Likewise.
23113 * sysdeps/x86_64/multiarch/strncase_l.S: Likewise.
23114 * sysdeps/x86_64/multiarch/strncat.S: Likewise.
23115 * sysdeps/x86_64/multiarch/strncmp.S: Likewise.
23116 * sysdeps/x86_64/multiarch/strncpy.S: Likewise.
23117 * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
23118 * sysdeps/x86_64/multiarch/strpbrk.S: Likewise.
23119 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
23120 * sysdeps/x86_64/multiarch/strspn.S: Likewise.
23121 * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
23122 * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
23123 * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
23125 * sysdeps/i386/i686/multiarch/bcopy.S (__bcopy_ia32): Make it
23127 * sysdeps/i386/i686/multiarch/bzero.S (__bzero_ia32): Likewise.
23128 * sysdeps/i386/i686/multiarch/memcmp.S (__memcmp_ia32): Likewise.
23129 * sysdeps/i386/i686/multiarch/memcpy.S (__memcpy_ia32): Likewise.
23130 * sysdeps/i386/i686/multiarch/memmove.S (__memmove_ia32):
23132 * sysdeps/i386/i686/multiarch/mempcpy.S (__mempcpy_ia32):
23134 * sysdeps/i386/i686/multiarch/strcat.S (STRCAT_IA32): Likewise.
23135 * sysdeps/i386/i686/multiarch/strcmp.S (__STRCMP_IA32): Likewise.
23136 * sysdeps/i386/i686/multiarch/strcpy.S (STRCPY_IA32): Likewise.
23137 * sysdeps/i386/i686/multiarch/bcopy.S: Add comments for
23139 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
23140 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
23141 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
23142 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
23143 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
23144 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
23145 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
23146 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
23147 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
23148 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
23149 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
23150 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
23151 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
23152 * sysdeps/i386/i686/multiarch/stpcpy.S: Likewise.
23153 * sysdeps/i386/i686/multiarch/stpncpy.S: Likewise.
23154 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
23155 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: Likewise.
23156 * sysdeps/i386/i686/multiarch/strcasestr-c.c: Likewise.
23157 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
23158 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
23159 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
23160 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
23161 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
23162 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
23163 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
23164 * sysdeps/i386/i686/multiarch/strncase_l.S: Likewise.
23165 * sysdeps/i386/i686/multiarch/strncat.S: Likewise.
23166 * sysdeps/i386/i686/multiarch/strncmp.S: Likewise.
23167 * sysdeps/i386/i686/multiarch/strncpy.S: Likewise.
23168 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
23169 * sysdeps/i386/i686/multiarch/strpbrk.S: Likewise.
23170 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
23171 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
23172 * sysdeps/i386/i686/multiarch/strstr-c.c: Likewise.
23173 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
23174 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
23175 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
23176 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
23177 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
23178 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
23179 * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: New file.
23181 * Rules [$(multi-arch) = no] (tests): Filter out $(tests-ifunc).
23182 [$(multi-arch) = no] (xtests): Filter out $(xtests-ifunc).
23183 * include/ifunc-impl-list.h: New file.
23184 * misc/ifunc-impl-list.c: Likewise.
23185 * misc/Makefile (routines): Add ifunc-impl-list.
23186 * misc/Versions (GLIBC_PRIVATE): Add __libc_ifunc_impl_list.
23187 * string/test-string.h: Include <ifunc-impl-list.h>.
23188 (func_list, func_count, impl_count, impl_array) [TEST_IFUNC &&
23189 TEST_NAME]: New variables.
23190 (FOR_EACH_IMPL): Support func_list if TEST_IFUNC and TEST_NAME
23192 (test_init): Call __libc_ifunc_impl_list to initialize
23193 func_list if TEST_IFUNC and TEST_NAME are defined.
23195 * string/Makefile (strop-tests): Add bcopy and bzero.
23196 * string/test-bcopy.c: New file.
23197 * string/test-bzero.c: Likewise.
23198 * string/test-memmove.c: Support bcopy test if TEST_BCOPY is
23200 * string/test-memset.c: Support bzero test if TEST_BZERO is
23202 * sysdeps/x86_64/multiarch/bcopy.S (bcopy): Jump to
23204 * sysdeps/x86_64/multiarch/bzero.S (__bzero): Jump to
23206 * sysdeps/x86_64/multiarch/memset.S (__libc_memset): New alias
23209 2012-10-10 Joseph Myers <joseph@codesourcery.com>
23211 * configure.in: Run $CXX, not cc1plus, to locate C++ headers.
23212 * configure: Regenerated.
23214 * Makeconfig (+link-static-before-libc): Don't include
23215 $(link-static-libc).
23217 * libio/libio.h (_IO_pos_t): Remove.
23219 2012-10-10 Alexandre Oliva <aoliva@redhat.com>
23221 * NEWS: Add note about FIPS mode. Wording suggested by Roland
23224 2012-10-10 Alexandre Oliva <aoliva@redhat.com>
23226 * crypt/crypt-entry.c: Include fips-private.h.
23227 (__crypt_r, __crypt): Disable MD5 and DES if FIPS is enabled.
23228 * crypt/md5c-test.c (main): Tolerate disabled MD5.
23229 * sysdeps/unix/sysv/linux/fips-private.h: New file.
23230 * sysdeps/generic/fips-private.h: New file, dummy fallback.
23232 2012-10-10 Alexandre Oliva <aoliva@redhat.com>
23234 * crypt/crypt-private.h: Include stdbool.h.
23235 (_ufc_setup_salt_r): Return bool.
23236 * crypt/crypt-entry.c: Include errno.h.
23237 (__crypt_r): Return NULL with EINVAL for bad salt.
23238 * crypt/crypt_util.c (bad_for_salt): New.
23239 (_ufc_setup_salt_r): Check that salt is long enough and within
23240 the specified alphabet.
23241 * crypt/badsalttest.c: New file.
23242 * crypt/Makefile (tests): Add it.
23243 ($(objpfx)badsalttest): New.
23245 2012-10-09 Maxim Kuvyrkov <maxim@codesourcery.com>
23247 * NEWS: Add entry for BZ #14602.
23249 2012-10-09 Joseph Myers <joseph@codesourcery.com>
23251 * math/gen-libm-test.pl (parse_args): Handle comparison macros as
23253 * math/libm-test.inc: Update comment listing what functions and
23255 (isgreater_test): New function.
23256 (isgreaterequal_test): Likewise.
23257 (isless_test): Likewise.
23258 (islessequal_test): Likewise.
23259 (islessgreater_test): Likewise.
23260 (isunordered_test): Likewise.
23261 (main): Call the new functions.
23263 2012-10-09 Roland McGrath <roland@hack.frob.com>
23265 * aclocal.m4 (GLIBC_PROVIDES): Provide _AS_BASENAME_PREPARE,
23266 _AS_ME_PREPARE, _AS_VAR_ARITH_PREPARE, AS_SHELL_FN_as_fn_set_status,
23267 AS_SHELL_FN_as_fn_exit, AS_SHELL_FN_ac_fn_c_try_compile.
23268 * sysdeps/i386/configure: Regenerated.
23269 * sysdeps/ieee754/ldbl-opt/configure: Regenerated.
23270 * sysdeps/mach/configure: Regenerated.
23271 * sysdeps/mach/hurd/configure: Regenerated.
23272 * sysdeps/powerpc/configure: Regenerated.
23273 * sysdeps/powerpc/powerpc32/configure: Regenerated.
23274 * sysdeps/powerpc/powerpc64/configure: Regenerated.
23275 * sysdeps/s390/s390-32/configure: Regenerated.
23276 * sysdeps/s390/s390-64/configure: Regenerated.
23277 * sysdeps/sh/configure: Regenerated.
23278 * sysdeps/sparc/configure: Regenerated.
23279 * sysdeps/unix/sysv/linux/configure: Regenerated.
23280 * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
23281 * sysdeps/x86_64/configure: Regenerated.
23283 * dlfcn/dlerror.c (check_free): Call _dl_addr only if SHARED is
23284 defined. Don't check if MAP is NULL.
23286 2012-10-09 Joseph Myers <joseph@codesourcery.com>
23288 * sysdeps/generic/_G_config.h (_G_off64_t): Remove.
23289 (_G_stat64): Likewise.
23290 * sysdeps/unix/sysv/linux/_G_config.h (_G_off64_t): Remove.
23291 (_G_stat64): Likewise.
23292 * libio/filedoalloc.c (_IO_file_doallocate): Use struct stat64
23293 instead of struct _G_stat64.
23294 * libio/fileops.c (mmap_remap_check): Likewise.
23295 (decide_maybe_mmap): Likewise.
23296 (_IO_new_file_seekoff): Likewise.
23297 (_IO_file_stat): Likewise.
23298 * libio/libio.h (_IO_off64_t): Define to __off64_t, not
23300 * libio/oldfileops.c (_IO_old_file_seekoff): Use struct stat64
23301 instead of struct _G_stat64.
23302 * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
23304 2012-10-08 Maxim Kuvyrkov <maxim@codesourcery.com>
23307 * string/str-two-way.h (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
23309 (CHECK_EOL): New macro.
23310 (two_way_short_needle): Check beginning of haystack for EOL. Use
23312 * string/strcasestr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
23313 Replace with CHECK_EOL.
23314 * string/strstr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
23315 Replace with CHECK_EOL.
23317 2012-10-08 Joseph Myers <joseph@codesourcery.com>
23319 * math/gen-libm-test.pl (parse_args): Handle isinf and isnan as
23321 * math/libm-test.inc: Update comment listing what functions and
23323 (finite_test): New function.
23324 (isinf_test): Likewise.
23325 (isnan_test): Likewise.
23326 (fpclassify_test): Test subnormal input.
23327 (isfinite_test): Likewise.
23328 (isnormal_test): Likewise.
23329 (main): Call the new functions.
23331 2012-10-08 Jonathan Nieder <jrnieder@gmail.com>
23334 * Makerules (%.dynsym): Force C locale when running
23335 $(OBJDUMP) --dynamic-syms.
23337 2012-10-08 Andreas Schwab <schwab@linux-m68k.org>
23339 * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Include
23342 2012-10-06 David S. Miller <davem@davemloft.net>
23344 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: On 32-bit, clear
23345 upper 32-bits of the length value in %o2 since we use branch-on-register
23346 tests which consider the entire 64-bit register.
23348 2012-10-06 H.J. Lu <hongjiu.lu@intel.com>
23350 * string/test-strstr.c (check2): Add a test for page boundary.
23352 2012-10-05 David S. Miller <davem@davemloft.net>
23354 * sysdeps/sparc/sparc64/multiarch/memset-niagara4.S: New file.
23355 * sysdeps/sparc/sparc32/sparcv9/multiarch/memset-niagara4.S: New
23357 * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
23359 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
23360 * sysdeps/sparc/sparc64/multiarch/memset.S: Use Niagara-4 memset
23361 and bzero when HWCAP_SPARC_CRYPTO is present.
23363 2012-10-05 H.J. Lu <hongjiu.lu@intel.com>
23366 * string/test-strstr.c (check2): New function.
23367 (test_main): Call check2.
23369 * string/Makefile (tests): Remove bug-strstr1, bug-strcasestr1
23371 * string/bug-strcasestr1.c (do_test): Moved to ...
23372 * string/test-strcasestr.c (check1): Here. New function.
23373 (do_one_test): Break out result checking code into ...
23374 (check_result): This. New function.
23375 (do_one_test): Call check_result.
23376 (test_main): Call check1.
23377 * string/bug-strchr1.c (do_test): Moved to ...
23378 * string/test-strchr.c (check1): Here. New function.
23379 (do_one_test): Break out result checking code into ...
23380 (check_result): This. New function.
23381 (do_one_test): Call check_result.
23382 (test_main): Call check1.
23383 * string/bug-strstr1.c (main): Moved to ...
23384 * string/test-strstr.c (check1): Here. New function.
23385 (do_one_test): Break out result checking code into ...
23386 (check_result): This. New function.
23387 (do_one_test): Call check_result.
23388 (test_main): Call check1.
23389 * string/bug-strcasestr1.c: Removed.
23390 * string/bug-strchr1.c: Likewise.
23391 * string/bug-strstr1.c: Likewise.
23393 * elf/Makefile (dl-routines): Add hwcaps.
23394 * elf/dl-support.c (_dl_important_hwcaps): Removed.
23395 * elf/dl-sysdep.c (_DL_FIRST_EXTRA): Likewise.
23396 (_dl_important_hwcaps): Moved to ...
23397 * elf/dl-hwcaps.c: Here. New file.
23398 * sysdeps/mach/hurd/dl-sysdep.c (_dl_important_hwcaps): Removed.
23401 * elf/setup-vdso.h (setup_vdso): Set GL(dl_nns) to 1 for vDSO
23402 if IS_IN_rtld isn't defined.
23404 * elf/dl-support.c (_dl_sysinfo_map): New.
23405 Include "get-dynamic-info.h" and "setup-vdso.h".
23406 (_dl_non_dynamic_init): Call setup_vdso.
23407 * elf/dynamic-link.h: Don't include <assert.h>.
23408 (elf_get_dynamic_info): Moved to ...
23409 * elf/get-dynamic-info.h: Here. New file.
23410 * elf/dynamic-link.h: Include "get-dynamic-info.h".
23411 * elf/rtld.c (dl_main): Break out vDSO setup code into ...
23412 * elf/setup-vdso.h: Here. New file.
23413 * elf/rtld.c: Include "setup-vdso.h".
23414 (dl_main): Call setup_vdso.
23416 2012-10-05 Joseph Myers <joseph@codesourcery.com>
23418 * math/libm-test.inc: List nexttoward, cimag, clog10, conf and
23419 creal in comment listing functions tested. List finite, isinf,
23420 isnan, isless, islessequal, isgreater, isgreaterequal,
23421 islessgreater, isunordered, lgamma_r and pow10 as functions and
23422 macros not tested. Mention which functions not tested are aliases
23423 for other functions. Fix typo. Note that signs of NaNs are not
23426 * scripts/config.guess: Update from config.git.
23427 * scripts/config.sub: Likewise.
23429 2012-10-04 Roland McGrath <roland@hack.frob.com>
23431 * misc/Versions (GLIBC_PRIVATE): New set, add __madvise.
23432 * misc/madvise.c (madvise): Renamed to __madvise.
23433 Make madvise a weak alias.
23434 * include/sys/mman.h: Declare __madvise.
23435 Replace libc_hidden_proto (madvise) with libc_hidden_proto (__madvise).
23436 * sysdeps/unix/syscalls.list
23437 (madvise): Make __madvise the strong name, and madvise a weak alias.
23438 * sysdeps/unix/sysv/linux/syscalls.list
23439 (madvise, mmap): Remove redundant entries.
23440 * malloc/arena.c (shrink_heap): Use __madvise, not madvise.
23441 * malloc/malloc.c (mtrim): Likewise.
23442 * sysdeps/mach/hurd/malloc-machine.h (madvise): Renamed to __madvise.
23444 2012-10-03 Roland McGrath <roland@hack.frob.com>
23446 * sysdeps/mach/hurd/dl-cache.c: File removed.
23447 * config.h.in (USE_LDCONFIG): New #undef.
23448 * configure.in (use_ldconfig): If set, define USE_LDCONFIG.
23449 * configure: Regenerated.
23450 * elf/Makefile (dl-routines): Add dl-cache only under
23451 [$(use-ldconfig) = yes].
23452 * elf/dl-load.c (_dl_map_object): Conditionalize code consulting the
23453 cache on [USE_LDCONFIG].
23454 * elf/dl-open.c (_dl_open): Call _dl_unload_cache only under
23456 * elf/rtld.c (dl_main): Likewise.
23458 2012-10-03 Pino Toscano <toscano.pino@tiscali.it>
23460 * sysdeps/posix/sysconf.c (__sysconf): Return 0 also for
23461 _SC_LEVEL4_CACHE_LINESIZE.
23463 2012-10-03 Roland McGrath <roland@hack.frob.com>
23465 * sysdeps/unix/bsd/confstr.h: File removed.
23467 2012-10-02 Alexandre Oliva <aoliva@redhat.com>
23469 * scripts/check-local-headers.sh: Exclude sys/sdt.h and
23472 2012-10-02 Roland McGrath <roland@hack.frob.com>
23474 * elf/dl-load.c (_dl_map_object_from_fd: struct loadcmd):
23475 Make 'mapoff' field ElfW(Off) rather than off_t.
23477 2012-10-02 Dmitry V. Levin <ldv@altlinux.org>
23479 * nscd/Makefile: Remove nscd-cflags and all its users.
23480 (CPPFLAGS-nonlib): Add preprocessor flags for nscd modules.
23481 (CFLAGS-nonlib): Add compiler flags for nscd modules.
23484 * malloc.c (malloc_printerr): Clarify error message.
23486 2012-10-02 H.J. Lu <hongjiu.lu@intel.com>
23489 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
23490 Set bit_FMA_Usable if FMA is supported.
23491 * sysdeps/x86_64/multiarch/init-arch.h (bit_FMA_Usable): New
23493 (bit_FMA4_Usable): Updated.
23494 (index_FMA_Usable): New macro.
23495 (CPUID_FMA): Likewise
23496 (HAS_FMA): Defined with bit_FMA_Usable.
23498 2012-10-01 Roland McGrath <roland@hack.frob.com>
23500 * bits/types.h (__swblk_t): Type removed.
23501 * bits/typesizes.h (__SWBLK_T_TYPE): Macro removed.
23502 * sysdeps/mach/hurd/bits/typesizes.h (__SWBLK_T_TYPE): Likewise.
23503 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
23504 (__SWBLK_T_TYPE): Likewise.
23505 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
23506 (__SWBLK_T_TYPE): Likewise.
23507 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
23508 (__SWBLK_T_TYPE): Likewise.
23509 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
23510 (__SWBLK_T_TYPE): Likewise.
23512 2012-10-01 Patsy Franklin <pfrankli@redhat.com>
23513 Honza Horak <hhorak@redhat.com>
23515 * nis/yp_xdr.c (xdr_domainname): Use YPMAXDOMAIN as maxsize.
23516 (xdr_mapname): Use YPMAXMAP as maxsize.
23517 (xdr_peername): Use YPMAXPEER as maxsize.
23518 (xdr_keydat): Use YPAXRECORD as maxsize.
23519 (xdr_valdat): Use YPMAXRECORD as maxsize.
23521 2012-10-01 Roland McGrath <roland@hack.frob.com>
23523 * io/openat.c [!__ASSUME_ATFCTS] (__have_atfcts): New global variable.
23525 * sysdeps/unix/sysv/linux/init-first.c: Moved to ...
23526 * csu/init-first.c: ... here.
23527 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Update #include.
23528 * sysdeps/unix/sysv/linux/s390/init-first.c: Likewise.
23529 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Likewise.
23530 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
23531 * sysdeps/i386/init-first.c: File removed.
23532 * sysdeps/sh/init-first.c: File removed.
23534 2012-10-01 Joseph Myers <joseph@codesourcery.com>
23537 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute result as x * y
23538 if x * y might underflow to zero and z is zero.
23539 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
23540 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
23541 * math/libm-test.inc (min_subnorm_value): New variable.
23542 (fma_test): Add more tests.
23543 (fma_test_towardzero): Likewise.
23544 (fma_test_downward): Likewise
23545 (fma_test_upward): Likewise.
23546 (initialize): Set min_subnorm_value.
23548 2012-09-29 Joseph Myers <joseph@codesourcery.com>
23551 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use x * y + z for exact
23553 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Use original rounding
23554 mode for addition resulting in exact zero.
23555 * sysdeps/ieee754/ldbl-128/s_fma.c (__fma): Likewise.
23556 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Use x * y + z for
23558 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
23559 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
23560 * math/libm-test.inc (fma_test): Add more tests.
23561 (fma_test_towardzero): New function.
23562 (fma_test_downward): Likewise.
23563 (fma_test_upward): Likewise.
23564 (main): Call the new functions.
23566 2012-09-28 David S. Miller <davem@davemloft.net>
23568 * sysdeps/sparc/fpu/libm-test-ulps: Fix garbage in file.
23570 2012-09-28 Roland McGrath <roland@hack.frob.com>
23572 * sysdeps/posix/sleep.c (__sleep): Rewritten using __nanosleep
23573 instead of SIGALRM.
23575 * sysdeps/gnu/_G_config.h: Moved to ...
23576 * sysdeps/unix/sysv/linux/_G_config.h: ... here.
23577 * sysdeps/mach/hurd/_G_config.h: Moved to ...
23578 * sysdeps/generic/_G_config.h: ... here.
23580 * io/open.c (__open): Renamed to __libc_open. Make __open an alias.
23582 * posix/Makefile ($(objpfx)config-name.h): Do $(make-target-directory).
23584 * nss/Makefile ($(objpfx)/libnss_test1.so$(libnss_test1.so-version)):
23585 Conditionalize target on [libnss_test1.so-version].
23587 * elf/dl-sysdep.c: Conditionalize whole contents on [SHARED].
23589 * Makeconfig (nssobjdir, resolvobjdir): Remove variables.
23590 (elfobjdir): Move out of conditionals.
23592 * nss/nsswitch.c (nss_new_service): Conditionalize definition and
23593 declaration on [!DO_STATIC_NSS || SHARED], matching its only caller.
23594 (__nss_lookup_function): Conditionalize label remove_from_tree on
23595 [!DO_STATIC_NSS || SHARED], matching its only use.
23597 2012-09-28 David S. Miller <davem@davemloft.net>
23599 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: New file.
23600 * sysdeps/sparc/sparc32/sparcv9/multiarch/memcpy-niagara4.S: New
23602 * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
23604 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
23605 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use Niagara-4 memcpy
23606 when HWCAP_SPARC_CRYPTO is present.
23608 2012-09-28 Pino Toscano <toscano.pino@tiscali.it>
23610 * io/tst-mknodat.c: Create a FIFO instead of a socket.
23612 2012-09-28 Andreas Schwab <schwab@linux-m68k.org>
23615 * stdio-common/vfprintf.c (process_string_arg): Revert
23618 2011-09-28 Jonathan Nieder <jrnieder@gmail.com>
23620 * stdio-common/Makefile (tst-sprintf-ENV): Set environment
23622 * stdio-common/tst-sprintf.c: Include <locale.h>
23623 (main): Test sprintf's handling of incomplete multibyte
23626 2012-09-28 H.J. Lu <hongjiu.lu@intel.com>
23628 * elf/dl-runtime.c (VERSYMIDX): Removed.
23629 * elf/dl-version.c (VERSYMIDX): Likewise.
23630 * elf/do-rel.h (VERSYMIDX): Likewise.
23631 (VALIDX): Likewise.
23632 * elf/dynamic-link.h (VERSYMIDX): Likewise.
23633 * elf/rtld.c (VALIDX): Likewise.
23634 (ADDRIDX): Likewise.
23635 * sysdeps/sparc/sparc32/dl-machine.h (VALIDX): Likewise.
23636 * sysdeps/sparc/sparc64/dl-machine.h (VALIDX): Likewise.
23637 * sysdeps/x86_64/dl-tlsdesc.h (ADDRIDX): Likewise.
23638 * sysdeps/generic/ldsodefs.h (VERSYMIDX): New macro.
23639 (VALIDX): Likewise.
23640 (ADDRIDX): Likewise.
23642 2012-09-28 Pino Toscano <toscano.pino@tiscali.it>
23644 * sysdeps/pthread/aio_fsync.c: Fix the file mode checking.
23646 2012-09-28 Dmitry V. Levin <ldv@altlinux.org>
23649 * sysdeps/posix/getaddrinfo.c (default_scopes): Map RFC 1918 addresses
23651 * posix/tst-rfc3484.c: Verify 10/8, 172.16/12 and 196.128/16
23652 addresses are in the same scope as 192.0.2/24.
23653 * posix/gai.conf: Document new scope table defaults.
23655 2012-09-28 Siddhesh Poyarekar <siddhesh@redhat.com>
23658 * libio/fileops.c (_IO_new_file_seekoff): Don't flush buffer
23659 for ftell. Compute offsets from write pointers instead.
23660 * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
23662 2012-09-28 Siddhesh Poyarekar <siddhesh@redhat.com>
23665 * libio/Makefile (tests): New test case tst-fseek.
23666 * libio/tst-fseek.c: New test case to verify that fseek/ftell
23667 combination works in wide mode.
23668 * libio/wfileops.c (_IO_wfile_seekoff): Adjust internal buffer
23669 state when the external buffer state changes.
23671 2012-09-27 David S. Miller <davem@davemloft.net>
23674 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Do not
23675 pass reloc->r_addend in as the 'high' argument to
23676 sparc64_fixup_plt when handling R_SPARC_JMP_IREL relocations.
23678 * sysdeps/sparc/fpu/libm-test-ulps: Update.
23680 2012-09-28 Pino Toscano <toscano.pino@tiscali.it>
23682 * rt/tst-aio2.c: Include <pthread.h>.
23683 * rt/tst-aio3.c: Likewise.
23685 2012-09-27 Steve Ellcey <sellcey@mips.com>
23687 * sysdeps/ieee754/ldbl-128/bits/huge_vall.h: Remove.
23689 2012-09-27 H.J. Lu <hongjiu.lu@intel.com>
23691 * sysdeps/x86_64/multiarch/strncmp-ssse3.S: Conditionalize
23692 contents on [SHARED].
23694 2012-09-26 Marek Polacek <polacek@redhat.com>
23698 * misc/sys/cdefs.h: Define __extern_inline and __extern_always_inline
23699 for C++ and GCC <4.3 as well as for non GCC compilers.
23701 2012-09-26 Markus Trippelsdorf <markus@trippelsdorf.de>
23703 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
23705 2012-09-25 Roland McGrath <roland@hack.frob.com>
23707 * Makefile.in (all, install): Declare with .PHONY.
23708 Reported by Michael Hope <michael.hope@linaro.org>.
23710 2012-09-25 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
23712 * manual/platform.texi (PowerPC): Document __ppc_get_timebase_freq.
23713 * sysdeps/powerpc/sys/platform/ppc.h: Include the operating
23715 * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_headers):
23717 (sydep_routines): Add the new and the internal functions.
23718 * sysdeps/unix/sysv/linux/powerpc/bits/ppc.h: New file.
23719 * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Likewise.
23720 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions
23721 (GLIBC_2.17): Add the new function.
23722 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
23723 (GLIBC_2.17): Likewise.
23724 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions
23725 (GLIBC_2.17): Likewise.
23726 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist
23727 (GLIBC_2.17): Likewise.
23728 * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: New file.
23730 2012-09-25 Alan Modra <amodra@gmail.com>
23732 * sysdeps/unix/sysv/linux/powerpc/pthread_once.c (__pthread_once):
23733 Add release barrier before setting once_control to say
23734 initialisation is done. Add hints on lwarx. Use macro in
23736 (clear_once_control): Add release barrier.
23738 2012-09-25 Joseph Myers <joseph@codesourcery.com>
23741 * math/s_clog.c (__clog): Handle more values close to |z| = 1
23743 * math/s_clog10.c (__clog10): Likewise.
23744 * math/s_clog10f.c (__clog10f): Likewise.
23745 * math/s_clog10l.c (__clog10l): Likewise.
23746 * math/s_clogf.c (__clogf): Likewise.
23747 * math/s_clogl.c (__clogl): Likewise.
23748 * math/Makefile (libm-calls): Add x2y2m1.
23749 * sysdeps/generic/math_private.h (__x2y2m1f): Declare.
23750 (__x2y2m1): Likewise.
23751 (__x2y2m1l): Likewise.
23752 * sysdeps/ieee754/dbl-64/x2y2m1.c: New file.
23753 * sysdeps/ieee754/dbl-64/x2y2m1f.c: Likewise.
23754 * sysdeps/ieee754/ldbl-128/x2y2m1l.c: Likewise.
23755 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
23756 * sysdeps/ieee754/ldbl-96/x2y2m1.c: Likewise.
23757 * sysdeps/ieee754/ldbl-96/x2y2m1l.c: Likewise.
23758 * math/libm-test.inc (clog_test, clog10_test): Add more tests.
23759 * sysdeps/i386/fpu/libm-test-ulps: Update.
23760 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23763 * posix/glob.c (next_brace_sub): Use size_t instead of unsigned
23764 int as type of variable DEPTH.
23765 (glob): Use size_t instead of int as type of variables NEWCOUNT
23768 2012-09-25 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
23770 * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
23771 Add s_sincosf-sse2.
23772 * sysdeps/i386/i686/fpu/multiarch/s_sincosf.c: New file.
23773 * sysdeps/i386/i686/fpu/multiarch/s_sincosf-sse2.S: New file.
23774 * sysdeps/ieee754/flt-32/s_sincosf.c (SINCOSF, SINCOSF_FUNC): Add
23775 macros for using routine as __sincosf_ia32.
23776 Use macro for function declaration and weak_alias.
23777 * sysdeps/i386/fpu/libm-test-ulps: Update.
23779 * sysdeps/x86_64/fpu/s_sincosf.S: New file.
23780 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
23782 * math/s_ccoshf.c (__ccoshf): Fix wrong usage of sincos for
23783 subnormal argument.
23784 * math/s_cexpf.c (__cexpf): Likewise.
23785 * math/s_csinf.c (__csinf): Likewise.
23786 * math/s_csinhf.c (__csinhf): Likewise.
23787 * math/s_ctanf.c (__ctanf): Likewise.
23788 * math/s_ctanhf.c (__ctanhf): Likewise.
23789 * math/s_ccosh.c (__ccoshf): Likewise.
23790 * math/s_cexp.c (__cexpl): Likewise.
23791 * math/s_csin.c (__csin): Likewise.
23792 * math/s_csinh.c (__csinh): Likewise.
23793 * math/s_ctan.c (__ctan): Likewise.
23794 * math/s_ctanh.c (ctanh): Likewise.
23795 * math/s_ccoshl.c (__ccoshl): Likewise.
23796 * math/s_cexpl.c (__cexpl): Likewise.
23797 * math/s_csinl.c (__csinl): Likewise.
23798 * math/s_csinhl.c (__csinhl): Likewise.
23799 * math/s_ctanl.c (__ctanl): Likewise.
23800 * math/s_ctanhl.c (__ctanhl): Likewise.
23802 2012-09-25 Joseph Myers <joseph@codesourcery.com>
23804 * libio/libio.h (_IO_size_t): Define to size_t, not _G_size_t.
23805 (_IO_ssize_t): Define to __ssize_t, not _G_ssize_t.
23806 (_IO_off_t): Define to __off_t, not _G_off_t.
23807 (_IO_pid_t): Define to __pid_t, not _G_pid_t.
23808 (_IO_uid_t): Define to __uid_t, not _G_uid_t.
23809 (_IO_wint_t): Define to wint_t, not _G_wint_t.
23810 * libio/libioP.h (struct _IO_jump_t): Use size_t not _G_size_t as
23811 type of __dummy and __dummy2 fields.
23812 * sysdeps/generic/_G_config.h (_G_size_t): Remove.
23813 (_G_ssize_t): Likewise.
23814 (_G_off_t): Likewise.
23815 (_G_pid_t): Likewise.
23816 (_G_uid_t): Likewise.
23817 (_G_wchar_t): Likewise.
23818 (_G_wint_t): Likewise.
23819 * sysdeps/gnu/_G_config.h (_G_size_t): Remove.
23820 (_G_ssize_t): Likewise.
23821 (_G_off_t): Likewise.
23822 (_G_pid_t): Likewise.
23823 (_G_uid_t): Likewise.
23824 (_G_wchar_t): Likewise.
23825 (_G_wint_t): Likewise.
23826 * sysdeps/mach/hurd/_G_config.h (_G_size_t): Remove.
23827 (_G_ssize_t): Likewise.
23828 (_G_off_t): Likewise.
23829 (_G_pid_t): Likewise.
23830 (_G_uid_t): Likewise.
23831 (_G_wchar_t): Likewise.
23832 (_G_wint_t): Likewise.
23834 2012-09-25 Siddhesh Poyarekar <siddhesh@redhat.com>
23836 * malloc/arena.c: Include malloc-sysdep.h.
23837 (shrink_heap): Use check_may_shrink_heap to decide if madvise
23838 is sufficient to shrink the heap or an unmap is needed.
23839 * sysdeps/generic/malloc-sysdep.h: New file. Define
23840 new function check_may_shrink_heap.
23841 * sysdeps/unix/sysv/linux/malloc-sysdep.h: New file. Define
23842 new function check_may_shrink_heap.
23844 2012-09-25 Siddhesh Poyarekar <siddhesh@redhat.com>
23846 * libio/fileops.c (_IO_new_file_seekoff): Fix typos in
23849 2012-09-24 Dmitry V. Levin <ldv@altlinux.org>
23851 * catgets/test-gencat.sh: Add "set -e".
23852 * elf/tst-pathopt.sh: Likewise.
23853 * grp/tst_fgetgrent.sh: Likewise.
23854 * iconvdata/run-iconv-test.sh: Likewise.
23855 * intl/tst-gettext.sh: Likewise.
23856 * intl/tst-gettext2.sh: Likewise.
23857 * intl/tst-gettext4.sh: Likewise.
23858 * intl/tst-gettext6.sh: Likewise.
23859 * intl/tst-translit.sh: Likewise.
23860 * io/ftwtest-sh: Likewise.
23861 * libio/test-freopen.sh: Likewise.
23862 * malloc/tst-mtrace.sh: Likewise.
23863 * posix/globtest.sh: Likewise.
23864 * posix/tst-getconf.sh: Likewise.
23865 * posix/wordexp-tst.sh: Likewise.
23866 * stdio-common/tst-printf.sh: Likewise.
23867 * stdio-common/tst-unbputc.sh: Likewise.
23868 * stdlib/tst-fmtmsg.sh: Likewise.
23869 * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
23870 * catgets/Makefile: Do not specify -e option when running
23871 testsuite shell scripts.
23872 * elf/Makefile: Likewise.
23873 * grp/Makefile: Likewise.
23874 * iconvdata/Makefile: Likewise.
23875 * intl/Makefile: Likewise.
23876 * io/Makefile: Likewise.
23877 * libio/Makefile: Likewise.
23878 * malloc/Makefile: Likewise.
23879 * posix/Makefile: Likewise.
23880 * stdio-common/Makefile: Likewise.
23881 * stdlib/Makefile: Likewise.
23882 * sysdeps/x86_64/Makefile: Likewise.
23884 * io/ftwtest-sh: Add copyright header.
23885 * posix/globtest.sh: Likewise.
23886 * posix/tst-getconf.sh: Likewise.
23887 * posix/wordexp-tst.sh: Likewise.
23888 * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
23890 2012-09-24 H.J. Lu <hongjiu.lu@intel.com>
23893 * Makeconfig (+link): Defined as $(+link-static) if
23894 $(build-shared) isn't yes.
23895 (link-tests): Defined as $(+link-static-tests) if $(build-shared)
23897 (static-gnulib): Add -lgcc_eh if $(build-shared) isn't yes.
23899 * Makeconfig (+postctorT): Replace crtendS.o with crtend.o.
23902 * malloc/arena.c (heap_trim): Properly get fencepost and adjust
23903 new chunk size with MALLOC_ALIGN_MASK.
23905 2012-09-24 Joseph Myers <joseph@codesourcery.com>
23908 * stdio-common/printf_fphex.c: Include <stdbool.h> and
23910 (__printf_fphex): Determine rounding using get_rounding_mode and
23912 * stdio-common/tst-printf-round.c (struct hex_test): New
23914 (hex_tests): New variable.
23915 (test_hex_in_one_mode): New function.
23916 (do_test): Also run tests for hex float output.
23918 2012-09-21 Joseph Myers <joseph@codesourcery.com>
23920 * libio/iopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
23921 [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
23922 * libio/libio.h (_IO_HAVE_SYS_WAIT): Remove.
23923 * libio/oldiopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
23924 [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
23925 * sysdeps/generic/_G_config.h (_G_HAVE_SYS_WAIT): Remove.
23926 * sysdeps/gnu/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
23927 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
23929 2012-09-20 Joseph Myers <joseph@codesourcery.com>
23931 * libio/libio.h [_G_NEED_STDARG_H]: Make code unconditional.
23932 * sysdeps/generic/_G_config.h (_G_NEED_STDARG_H): Remove.
23933 * sysdeps/gnu/_G_config.h (_G_NEED_STDARG_H): Remove.
23934 * sysdeps/mach/hurd/_G_config.h (_G_NEED_STDARG_H): Remove.
23936 2012-09-19 Dmitry V. Levin <ldv@altlinux.org>
23939 * elf/rtld.c (dl_main): Limit the check for self loading to normal
23941 * elf/tst-rtld-load-self.sh: New test.
23942 * elf/Makefile: Run it.
23944 2012-09-18 Joseph Myers <joseph@codesourcery.com>
23946 * sysdeps/wordsize-64/Makefile [$(subdir) = misc]
23947 (tst-writev-ENV): Remove.
23948 * sysdeps/wordsize-64/tst-writev.c (TIMEOUT): Define.
23950 2012-09-17 Chris Metcalf <cmetcalf@tilera.com>
23952 * crypt/md5test-giant.c (TIMEOUT): Increase to 8 minutes for tilegx.
23954 2012-09-17 Joseph Myers <joseph@codesourcery.com>
23956 * libio/iogetline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]: Make code
23958 * libio/iogetwline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]:
23960 * sysdeps/generic/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Remove.
23961 * sysdeps/gnu/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Likewise.
23962 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_IO_GETLINE_INFO):
23965 2012-09-14 H.J. Lu <hongjiu.lu@intel.com>
23968 * Makeconfig (ASFLAGS): Remove $(have-cpp-asm-debuginfo) check.
23969 * config.make.in (have-cpp-asm-debuginfo): Removed.
23970 * configure.in: Don't substitute libc_cv_cpp_asm_debuginfo.
23971 * configure: Regenerated.
23973 2012-09-14 Joseph Myers <joseph@codesourcery.com>
23976 * stdio-common/printf_fp.c: Include <stdbool.h> and
23978 (___printf_fp): Determine rounding using get_rounding_mode and
23980 * stdio-common/tst-printf-round.c: New file.
23981 * stdio-common/Makefile (tests): Add tst-printf-round.
23982 (link-libm): New variable.
23983 ($(objpfx)tst-printf-round): Depend in $(link-libm).
23985 2012-09-13 H.J. Lu <hongjiu.lu@intel.com>
23988 * bits/libc-lock.h (__rtld_lock_init_recursive): Removed.
23989 * sysdeps/mach/bits/libc-lock.h (__rtld_lock_init_recursive):
23991 * sysdeps/mach/hurd/bits/libc-lock.h (__rtld_lock_init_recursive):
23994 2012-09-13 Joseph Myers <joseph@codesourcery.com>
23996 * libio/libio.h [!_G_HAVE_PRINTF_FP] (_IO_USE_DTOA): Remove.
23997 * sysdeps/generic/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
23998 * sysdeps/gnu/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
23999 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
24001 2012-09-12 Joseph Myers <joseph@codesourcery.com>
24004 * include/rounding-mode.h: New file.
24005 * sysdeps/generic/get-rounding-mode.h: Likewise.
24006 * sysdeps/s390/fpu/get-rounding-mode.h: Likewise.
24007 * stdlib/strtod_l.c: Include <rounding-mode.h>.
24008 (MAX_VALUE): New macro.
24009 (MIN_VALUE): Likewise.
24010 (overflow_value): New function.
24011 (underflow_value): Likewise.
24012 (round_and_return): Use overflow_value and underflow_value to
24013 determine return values in overflow and underflow cases. Use
24014 round_away to determine rounding depending on rounding mode.
24015 (____STRTOF_INTERNAL): Use overflow_value and underflow_value to
24016 determine return values in overflow and underflow cases.
24017 * stdlib/tst-strtod-round.c: Include <fenv.h>.
24018 (struct test_results): New structure.
24019 (struct test): Use struct test_results to store expected results
24020 for all rounding modes.
24021 (TEST): Include expected results for all rounding modes.
24022 (test_in_one_mode): New function.
24023 (do_test): Use test_in_one_mode to compute and check results.
24024 Check results for all rounding modes.
24025 * stdlib/Makefile ($(objpfx)tst-strtod-round): Depend on
24028 2012-12-09 Allan McRae <allan@archlinux.org>
24030 * sysdeps/i386/fpu/libm-test-ulps: Update
24032 2012-09-11 Joseph Myers <joseph@codesourcery.com>
24034 * sysdeps/generic/_G_config.h (_G_int16_t): Remove.
24035 (_G_int32_t): Likewise.
24036 (_G_uint16_t): Likewise.
24037 (_G_uint32_t): Likewise.
24038 (_G_HAVE_BOOL): Likewise.
24039 (_G_HAVE_ATEXIT): Likewise.
24040 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
24041 (_G_HAVE_IO_FILE_OPEN): Likewise.
24042 * sysdeps/gnu/_G_config.h (_G_int16_t): Remove.
24043 (_G_int32_t): Likewise.
24044 (_G_uint16_t): Likewise.
24045 (_G_uint32_t): Likewise.
24046 (_G_HAVE_BOOL): Likewise.
24047 (_G_HAVE_ATEXIT): Likewise.
24048 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
24049 (_G_HAVE_IO_FILE_OPEN): Likewise.
24050 * sysdeps/mach/hurd/_G_config.h (_G_int16_t): Remove.
24051 (_G_int32_t): Likewise.
24052 (_G_uint16_t): Likewise.
24053 (_G_uint32_t): Likewise.
24054 (_G_HAVE_BOOL): Likewise.
24055 (_G_HAVE_ATEXIT): Likewise.
24056 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
24057 (_G_HAVE_IO_FILE_OPEN): Likewise.
24059 2012-09-11 H.J. Lu <hongjiu.lu@intel.com>
24061 * csu/libc-tls.c: Update copyright years.
24063 2012-09-10 Joseph Myers <joseph@codesourcery.com>
24065 * libioP.h [_G_USING_THUNKS]: Make code unconditional.
24066 [!_G_USING_THUNKS]: Remove conditional code.
24067 * sysdeps/gnu/_G_config.h (_G_USING_THUNKS): Remove.
24068 * sysdeps/mach/hurd/_G_config.h (_G_USING_THUNKS): Likewise.
24070 * libio/libioP.h [__GNUC__] (VTABLE_LABEL): Remove.
24071 [!builtinbuf_vtable && __cplusplus] (builtinbuf_vtable): Likewise.
24072 * sysdeps/generic/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
24073 (_G_VTABLE_LABEL_PREFIX): Likewise.
24074 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
24075 * sysdeps/gnu/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
24076 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
24077 (_G_VTABLE_LABEL_PREFIX): Likewise.
24078 (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
24079 * sysdeps/mach/hurd/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
24080 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
24081 (_G_VTABLE_LABEL_PREFIX): Likewise.
24082 (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
24084 2012-09-10 H.J. Lu <hongjiu.lu@intel.com>
24086 * libio/Makefile: Include ../Makeconfig before tests.
24087 (tests): Add tst-fopenloc and depend on $(objpfx)tst-fopenloc.check
24088 only if $(build-shared) is yes.
24090 * iconv/gconv_db.c: Update copyright years.
24092 2012-09-10 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
24094 * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: Fix
24095 unwind info if defined PIC. Fix special cases description.
24096 * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: Likewise.
24098 * sysdeps/x86_64/fpu/s_sinf.S: Fix special cases description, fix
24100 * sysdeps/x86_64/fpu/s_cosf.S: Likewise.
24102 2012-09-07 H.J. Lu <hongjiu.lu@intel.com>
24104 * scripts/check-local-headers.sh: Add "shopt -s nullglob".
24106 * iconv/gconv_db.c (free_derivation): Check if deriv->steps
24109 * debug/Makefile (LDFLAGS-tst-chk4): Renamed to ...
24110 (LDLIBS-tst-chk4): This.
24111 (LDFLAGS-tst-chk5): Renamed to ...
24112 (LDLIBS-tst-chk5): This.
24113 (LDFLAGS-tst-chk6): Renamed to ...
24114 (LDLIBS-tst-chk6): This.
24115 (LDFLAGS-tst-lfschk4): Renamed to ...
24116 (LDLIBS-tst-lfschk4): This.
24117 (LDFLAGS-tst-lfschk5): Renamed to ...
24118 (LDLIBS-tst-lfschk5): This.
24119 (LDFLAGS-tst-lfschk6): Renamed to ...
24120 (LDLIBS-tst-lfschk6): This.
24122 * Makefile ($(inst_includedir)/gnu/stubs.h): Remove dependency
24123 on $(common-objpfx)soversions.mk.
24125 2012-09-07 Joseph Myers <joseph@codesourcery.com>
24128 * manual/examples/inetcli.c (SERVERHOST): Use www.gnu.org as
24131 2012-09-07 Siddhesh Poyarekar <siddhesh@redhat.com>
24133 * malloc/arena.c (arena_get_retry): New function that gets
24134 another arena for the caller to try its request on.
24135 * malloc/malloc.c (__libc_malloc): Use get_another_arena if the
24136 current arena cannot fulfill the request.
24137 (__libc_memalign): Likewise.
24138 (__libc_memalign): Likewise.
24139 (__libc_pvalloc): Likewise.
24140 (__libc_calloc): Likewise.
24142 2012-09-05 John Tobey <john.tobey@gmail.com>
24145 * manual/arith.texi (Operations on Complex): Fix description
24146 of carg branch cut.
24148 2012-09-06 Joseph Myers <joseph@codesourcery.com>
24151 * manual/socket.texi (Host Addresses): Use www.gnu.org as example
24155 * manual/memory.texi (Memory): Make order of menu items match
24158 2012-09-06 H.J. Lu <hongjiu.lu@intel.com>
24160 * elf/dl-tls.c (DL_INITIAL_DTV): Removed.
24161 (_dl_initial_dtv): New. Defined if SHARED isn't defined.
24162 (_dl_deallocate_tls): Restore GL(dl_initial_dtv).
24164 2012-09-06 H.J. Lu <hongjiu.lu@intel.com>
24166 * csu/libc-tls.c (static_dtv): Renamed to ...
24167 (_dl_static_dtv): This. Make it global.
24168 (_dl_initial_dtv): Removed.
24169 (__libc_setup_tls): Updated.
24170 * elf/dl-tls.c (DL_INITIAL_DTV): New macro.
24171 (_dl_deallocate_tls): Replace GL(dl_initial_dtv) with
24174 2012-09-06 Petr Machata <pmachata@redhat.com>
24176 * elf/elf.h (NT_S390_HIGH_GPRS): New macro.
24177 (NT_S390_TIMER, NT_S390_TODCMP, NT_S390_TODPREG): Likewise.
24178 (NT_S390_CTRS, NT_S390_PREFIX, NT_S390_LAST_BREAK): Likewise.
24179 (NT_S390_SYSTEM_CALL, NT_ARM_VFP): Likewise.
24181 2012-09-06 H.J. Lu <hongjiu.lu@intel.com>
24184 * csu/libc-tls.c (_dl_initial_dtv): New variable.
24185 * elf/dl-tls.c (_dl_deallocate_tls): Always check dtv before
24188 2012-09-06 H.J. Lu <hongjiu.lu@intel.com>
24191 * Makeconfig (link-static-before-libc): Replace $(+prector)
24193 (link-static-after-libc): Replace $(+postctor) with
24195 (link-bounded): Replace $(+prector)/$(+postctor) with
24196 $(+prectorT)/$(+postctorT).
24197 (+prectorT): New macro.
24198 (+postctorT): Likewise.
24200 2012-09-06 Joseph Myers <joseph@codesourcery.com>
24202 * stdlib/gen-tst-strtod-round.c: Include <assert.h>.
24203 (round_str): Handle values above the maximum for IBM long double
24205 * stdlib/tst-strtod-round.c (tests): Regenerated.
24207 2012-09-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
24209 * sysdeps/s390/s390-32/multiarch/Makefile: Remove -mzarch
24211 * sysdeps/s390/s390-32/multiarch/memcmp.S: Use .machinemode
24212 zarch_nohighgprs around the zarch optimized routines.
24213 * sysdeps/s390/s390-32/multiarch/memcpy.S: Likewise.
24214 * sysdeps/s390/s390-32/multiarch/memset.S: Likewise.
24215 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Explicitly check
24218 2012-09-05 David S. Miller <davem@davemloft.net>
24220 * sysdeps/sparc/fpu/libm-test-ulps: Update.
24222 * sysdeps/sparc/bits/hwcap.h (HWCAP_SPARC_PAUSE)
24223 (HWCAP_SPARC_CBCOND, HWCAP_SPARC_CRYPTO): Define.
24224 * sysdeps/sparc/dl-procinfo.h (_DL_HWCAP_COUNT): Increase to 27.
24225 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
24228 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
24230 * malloc/arena.c: Fold copyright years.
24231 * malloc/mcheck.c, malloc/memusage.c: Likewise.
24233 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
24235 * malloc/malloc.c (__libc_mallopt) <M_MMAP_MAX>: Fix indentation.
24237 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
24239 * manual/contrib.texi (Contributors): Fix typo. Complete entry.
24241 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
24243 * malloc/malloc.c (__libc_mallopt) <M_MMAP_THRESHOLD>: Do not
24244 change internal state upon failure.
24246 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
24248 * malloc/mcheck.c (mcheck_check_all): Fix typo.
24249 * malloc/memusage.c (mmap): Likewise.
24250 (mmap64, mremap): Likewise. Adjust name in comment.
24252 2012-09-05 Siddhesh Poyarekar <siddhesh@redhat.com>
24254 * libio/fileops.c: Fix typos in comments.
24255 * libio/oldfileops.c: Likewise.
24256 * libio/wfileops.c: Likewise.
24258 2012-09-05 Siddhesh Poyarekar <siddhesh@redhat.com>
24261 * malloc/Makefile (tests): Add tst-malloc-usable test case.
24262 (tst-malloc-usable-ENV): Set environment for test case.
24263 * malloc/hooks.c (malloc_check_get_size): New function to get
24265 * malloc/malloc.c (musable): Use malloc_check_get_size.
24266 * malloc/tst-malloc-usable.c: New test case.
24268 2012-09-05 Andreas Schwab <schwab@linux-m68k.org>
24270 * stdlib/tst-strtod-overflow.c (TIMEOUT): Define.
24272 2012-09-05 Allan McRae <allan@archlinux.org>
24275 * configure.in (CXX_SYSINCLUDES): Use compiler output to
24276 determine header location.
24277 * configure: Regenerated.
24279 2012-09-05 Andreas Schwab <schwab@linux-m68k.org>
24281 * stdlib/gen-tst-strtod-round.c (formats): Add Motorola extended
24283 * stdlib/tst-strtod-round.c (TEST) [LDBL_MANT_DIG == 64 &&
24284 LDBL_MAX_EXP == 16384]: Add case for Motorola extended float
24286 (test): Regenerate.
24288 2012-09-04 David S. Miller <davem@davemloft.net>
24290 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: New file.
24291 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: New file.
24292 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: New file.
24294 2012-09-04 Florian Weimer <fweimer@redhat.com>
24296 * stdlib/tst-secure-getenv.c (alternative_main): Only warn on SGID
24299 * stdlib/tst-secure-getenv.c: Fix whitespace in comments.
24301 2012-09-04 Joseph Myers <joseph@codesourcery.com>
24304 * libio/iogetdelim.c: Include <limits.h>.
24305 (_IO_getdelim): Avoid integer overflow in testing whether cur_len
24306 + len + 1 would overflow.
24308 2012-09-03 Andreas Jaeger <aj@suse.de>
24310 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
24311 * sysdeps/i386/fpu/libm-test-ulps: Update.
24313 2012-09-03 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
24315 * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
24316 Add s_sinf-sse2, s_conf-sse2.
24318 * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: New file.
24319 * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: New file.
24320 * sysdeps/i386/i686/fpu/multiarch/s_sinf.c: New file.
24321 * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: New file.
24323 * sysdeps/ieee754/flt-32/s_sinf.c (SINF, SINF_FUNC): Add macros
24324 for using routine as __sinf_ia32.
24325 Use macro for function declaration and weak_alias.
24326 * sysdeps/ieee754/flt-32/s_cosf.c (COSF, COSF_FUNC): Add macros
24327 for using routine as __cosf_ia32.
24328 Use macro for function declaration and weak_alias.
24330 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Fix Copyright.
24331 * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Fix Copyright.
24333 * sysdeps/x86_64/fpu/s_sinf.S: New file.
24334 * sysdeps/x86_64/fpu/s_cosf.S: New file.
24335 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
24337 * math/libm-test.inc (cos_test): Add more test cases.
24338 (sin_test): Likewise.
24339 (sincos_test): Likewise.
24341 2012-09-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
24343 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c
24344 (IFUNC_RESOLVE): Make pointers to the specialized implementations
24346 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
24348 2012-09-02 H.J. Lu <hongjiu.lu@intel.com>
24351 * sysdeps/x86_64/dl-machine.h (elf_machine_dynamic): Use the
24352 first element of the GOT.
24353 (elf_machine_load_address): Return the difference between
24354 the runtime address of _DYNAMIC and elf_machine_dynamic ().
24356 2012-09-01 Allan McRae <allan@archlinux.org>
24359 * configure.in (AWK): Require gawk version 3.0 or later.
24360 * configure: Regenerated.
24362 2012-09-01 Joseph Myers <joseph@codesourcery.com>
24364 * sysdeps/unix/sysv/linux/kernel-features.h
24365 (__ASSUME_POSIX_CPU_TIMERS): Remove.
24366 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
24367 [__NR_clock_getres]: Make code unconditional.
24368 [!__ASSUME_POSIX_CPU_TIMERS]: Remoce conditional code.
24369 (clock_getcpuclockid): Remove code left unreachable by removal of
24371 * sysdeps/unix/sysv/linux/clock_getres.c [__NR_clock_getres]: Make
24372 code unconditional.
24373 [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
24374 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
24375 * sysdeps/unix/sysv/linux/clock_gettime.c [__NR_clock_gettime]:
24376 Make code unconditional.
24377 [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
24378 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
24379 * sysdeps/unix/sysv/linux/clock_settime.c
24380 [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]: Remove
24382 [__ASSUME_POSIX_CPU_TIMERS]: Make code unconditional.
24383 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
24385 2012-08-29 H.J. Lu <hongjiu.lu@intel.com>
24388 * Makefile (install): Also pass LD_SO=$(ld.so-version) to
24389 scripts/test-installation.pl.
24391 * scripts/test-installation.pl: Use LD_SO to get $ld_so_name
24392 and $ld_so_version if it is set.
24394 2012-08-29 Siddhesh Poyarekar <siddhesh@redhat.com>
24397 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Don't return
24398 failure if reading from procfs failed.
24399 * sysdeps/unix/sysv/linux/ttyname_r.c (ttyname_r): Likewise.
24401 2012-08-27 Joseph Myers <joseph@codesourcery.com>
24403 * sysdeps/unix/sysv/linux/kernel-features.h
24404 (__ASSUME_STAT64_SYSCALL): Remove all definitions.
24405 * sysdeps/unix/sysv/linux/fxstat64.c [!__ASSUME_STAT64_SYSCALL]:
24406 Remove conditional code.
24407 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
24408 * sysdeps/unix/sysv/linux/fxstatat64.c [!__ASSUME_STAT64_SYSCALL]:
24409 Remove conditional code.
24410 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
24411 * sysdeps/unix/sysv/linux/i386/fxstat.c
24412 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
24413 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
24414 * sysdeps/unix/sysv/linux/i386/fxstatat.c
24415 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
24416 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
24417 * sysdeps/unix/sysv/linux/i386/lxstat.c
24418 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
24419 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
24420 * sysdeps/unix/sysv/linux/i386/xstat.c [!__ASSUME_STAT64_SYSCALL]:
24421 Remove conditional code.
24422 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
24423 * sysdeps/unix/sysv/linux/lxstat64.c [!__ASSUME_STAT64_SYSCALL]:
24424 Remove conditional code.
24425 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
24426 * sysdeps/unix/sysv/linux/sparc/sparc64/xstat.c: Do not include
24427 <kernel-features.h>.
24428 [__NR_stat64 && !__ASSUME_STAT64_SYSCALL] (__have_no_stat64):
24430 * sysdeps/unix/sysv/linux/xstat64.c [!__ASSUME_STAT64_SYSCALL]:
24431 Remove conditional code.
24432 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
24433 * sysdeps/unix/sysv/linux/xstatconv.c [!__ASSUME_STAT64_SYSCALL]:
24434 Remove conditional.
24436 2012-08-27 Mike Frysinger <vapier@gentoo.org>
24439 * NEWS: Add fixed bug number.
24441 2012-08-27 Joseph Myers <joseph@codesourcery.com>
24444 * stdlib/strtod_l.c (round_and_return): Return -0.0 for
24445 underflowing exponent in case of negative sign.
24446 * stdlib/tst-strtod-round-data: Add more tests.
24447 * stdlib/tst-strtod-round.c (tests): Regenerated.
24450 * stdlib/strtod_l.c (NDIG): Remove.
24451 (HEXNDIG): Likewise.
24452 (MPNSIZE): Increase to represent 10^n where 2^-n is 1/4 ulp of the
24453 smallest representable value.
24454 (____STRTOF_INTERNAL): Use all fractional decimal digits that may
24455 lie within an exact representation of 1/2 ulp of the result.
24456 * stdlib/fpioconst.c (__tens): Include 10^2^9 and 10^2^10
24458 (TENS_P9_IDX): Define unconditionally.
24459 (TENS_P9_SIZE): Likewise.
24460 (TENS_P10_IDX): Likewise.
24461 (TENS_P10_SIZE): Likewise.
24462 [BITS_PER_MP_LIMB == 32]: Change condition for larger powers of 10
24463 to !defined __NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024.
24464 [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024] (__tens): Add
24465 entries for 10^2^13 and 10^2^14.
24466 [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024]
24467 (TENS_P13_IDX): Define.
24468 (TENS_P13_SIZE): Likewise.
24469 (TENS_P14_IDX): Likewise.
24470 (TENS_P14_SIZE): Likewise.
24471 (_fpioconst_pow10): Change array size to
24472 FPIOCONST_POW10_ARRAY_SIZE. Make entries for 10^2^9 and 10^2^10
24474 (_fpioconst_pow10) [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ >
24475 1024]: Add entries for 10^2^13 and 10^2^14.
24476 [LAST_POW10 > _LAST_POW10]: Remove #error.
24477 * stdlib/fpioconst.h (FPIOCONST_POW10_ARRAY_SIZE): Define.
24478 (_fpioconst_pow10): Change array size to
24479 FPIOCONST_POW10_ARRAY_SIZE.
24480 * stdlib/gen-fpioconst.c: New file.
24481 * stdlib/gen-tst-strtod-round.c: Likewise.
24482 * stdlib/tst-strtod-round-data: Likewise.
24483 * stdlib/tst-strtod-round.c: Likewise.
24484 * stdlib/Makefile (tests): Add tst-strtod-round.
24487 * stdlib/strtod_l.c: Include <stdint.h>.
24488 (NDEBUG): Do not define.
24489 (round_and_return): Change EXPONENT parameter to type intmax_t.
24490 Rearrange calculations to avoid internal overflow possibilities.
24491 (str_to_mpn): Change EXPONENT parameter to type intmax_t *.
24492 Rearrange calculations to avoid internal overflow possibilities.
24493 Assert that number fits inside MPNSIZE limbs.
24494 (____STRTOF_INTERNAL): Change EXPONENT variable to type intmax_t.
24495 Change DIG_NO, INT_NO and LEAD_ZERO to type size_t. Rearrange
24496 calculations and add assertions to avoid internal overflow
24497 possibilities. Add casts to avoid signed/unsigned operations.
24498 * stdlib/tst-strtod-overflow.c: New file.
24499 * stdlib/Makefile (tests): Add tst-strtod-overflow.
24501 2012-08-25 Marek Polacek <polacek@redhat.com>
24503 * time/time.h: Fix some typos in comments.
24505 2012-08-23 Roland McGrath <roland@hack.frob.com>
24507 * posix/tst-rfc3484.c: #undef USE_NSCD before including getaddrinfo.c.
24508 * posix/tst-rfc3484-2.c: Likewise.
24509 * posix/tst-rfc3484-3.c: Likewise.
24511 2012-08-23 Steve McIntyre <steve.mcintyre@linaro.org>
24513 * elf/elf.h (EF_ARM_ABI_FLOAT_SOFT): New macro.
24514 (EF_ARM_ABI_FLOAT_HARD): Likewise.
24516 2012-08-23 Joseph Myers <joseph@codesourcery.com>
24518 * sysdeps/unix/sysv/linux/dl-fxstatat64.c: Use <> instead of "" in
24519 #include of fxstatat64.c.
24521 2012-08-22 Roland McGrath <roland@hack.frob.com>
24523 * shadow/getspent.c: #undef USE_NSCD before #include that gets the code.
24524 * shadow/getspent_r.c: Likewise.
24525 * shadow/getspnam.c: Likewise.
24526 * shadow/getspnam_r.c: Likewise.
24527 * gshadow/getsgent.c: Likewise.
24528 * gshadow/getsgent_r.c: Likewise.
24529 * gshadow/getsgnam.c: Likewise.
24530 * gshadow/getsgnam_r.c: Likewise.
24531 * inet/getnetbyad.c: Likewise.
24532 * inet/getnetbyad_r.c: Likewise.
24533 * inet/getnetbynm.c: Likewise.
24534 * inet/getnetbynm_r.c: Likewise.
24535 * inet/getnetent.c: Likewise.
24536 * inet/getnetent_r.c: Likewise.
24537 * inet/getproto.c: Likewise.
24538 * inet/getproto_r.c: Likewise.
24539 * inet/getprtent.c: Likewise.
24540 * inet/getprtent_r.c: Likewise.
24541 * inet/getprtname.c: Likewise.
24542 * inet/getprtname_r.c: Likewise.
24543 * inet/getrpcbyname.c: Likewise.
24544 * inet/getrpcbyname_r.c: Likewise.
24545 * inet/getrpcbynumber.c: Likewise.
24546 * inet/getrpcbynumber_r.c: Likewise.
24547 * inet/getrpcent.c: Likewise.
24548 * inet/getrpcent_r.c: Likewise.
24549 * inet/getaliasent.c: Likewise.
24550 * inet/getaliasent_r.c: Likewise.
24551 * inet/getaliasname.c: Likewise.
24552 * inet/getaliasname_r.c: Likewise.
24553 * nscd/getgrgid_r.c: Likewise.
24554 * nscd/getgrnam_r.c: Likewise.
24555 * nscd/gethstbyad_r.c: Likewise.
24556 * nscd/gethstbynm3_r.c: Likewise.
24557 * nscd/getpwnam_r.c: Likewise.
24558 * nscd/getpwuid_r.c: Likewise.
24559 * nscd/getsrvbynm_r.c: Likewise.
24560 * nscd/getsrvbypt_r.c: Likewise.
24561 * nscd/gai.c: Likewise.
24563 * configure.in (build_nscd): New substituted variable, set
24564 by --disable-build-nscd and defaults to $use_nscd.
24565 * configure: Regenerated.
24566 * config.make.in (build-nscd): New substituted variable.
24567 * nscd/Makefile (others, others-pie, install-sbin, extra-objs):
24568 Change conditional to require [$(build-nscd) = yes] as well.
24569 * NEWS: Mention --disable-build-nscd in the --disable-nscd item.
24572 * configure.in (use_nscd): New substituted variable, set by
24573 --disable-nscd. If enabled, define USE_NSCD.
24574 * configure: Regenerated.
24575 * config.h.in: Add USE_NSCD.
24576 * config.make.in (use-nscd): New substituted variable.
24577 * inet/Makefile (CFLAGS-gethstbyad_r.c): Likewise.
24578 (CFLAGS-gethstbynm_r.c, CFLAGS-gethstbynm2_r.c): Likewise.
24579 (CFLAGS-getsrvbynm_r.c, CFLAGS-getsrvbypt_r.c): Variables removed.
24580 * grp/Makefile (CFLAGS-getgrgid_r.c): Remove -DUSE_NSCD.
24581 (CFLAGS-getgrnam_r.c): Likewise.
24582 (CFLAGS-initgroups.c): Likewise.
24583 * posix/Makefile (CFLAGS-getaddrinfo.c): Remove -DUSE_NSCD.
24584 * pwd/Makefile (CFLAGS-getpwuid_r.c, CFLAGS-getpwnam_r.c):
24586 * inet/getnetgrent_r.c
24587 (nscd_setnetgrent): New function, broken out of ...
24588 (setnetgrent): ... here. Call it.
24589 (innetgr): Conditionalize nscd bits on [USE_NSCD].
24590 (nscd_getnetgrent): Conditionalize on [USE_NSCD].
24591 (__internal_getnetgrent_r): Conditionalize its use on [USE_NSCD].
24592 * nscd/Makefile (routines, aux): Move definitions after include of
24593 Makeconfig. Conditionalize on [$(use-nscd) != no].
24594 * nss/nsswitch.c (nss_load_all_libraries, __nss_disable_nscd):
24595 Conditionalize on [USE_NSCD].
24596 (is_nscd, nscd_init_cb): Likewise.
24597 (nss_load_library): Conditionalize init callback on [USE_NSCD].
24598 * nss/nss_files/files-init.c: Conditionalize body on [USE_NSCD].
24599 * nss/nss_db/db-init.c: Likewise.
24600 * nscd/nscd.c (main): Conditionalize __nss_disable_nscd call on
24602 * sysdeps/unix/sysv/linux/check_pf.c (get_nl_timestamp): New function.
24603 (make_request): Use it.
24604 (cache_valid_p): New function.
24605 (__check_pf): Use it.
24606 * NEWS: Add item for --disable-nscd.
24608 2012-08-22 Dmitry V. Levin <ldv@altlinux.org>
24610 * configure.in (SED): Update AC_CHECK_PROG_VER's version extract regexp
24611 to support sed >= 4.2.1-20-ga9bf076.
24612 * configure: Regenerated.
24614 2012-08-22 Roland McGrath <roland@hack.frob.com>
24616 * csu/libc-start.c (apply_irel): Move extern declarations inside here.
24617 Conditionalize whole body on [IREL].
24619 2012-08-22 Jeff Law <law@redhat.com>
24622 * sysdeps/posix/getaddrinfo.c (gaih_inet): Only use gethostbyname4_r
24623 if the family is PF_UNSPEC.
24625 2012-08-22 Mike Frysinger <vapier@gentoo.org>
24627 * Makerules (lib-version): Rename from V.
24628 (install-lib-nosubdir): Change V to lib-version.
24630 2012-08-22 Will Schmidt <will_schmidt@vnet.ibm.com>
24633 * powerpc32/power6/wcschr.c: New file.
24634 * powerpc32/power6/wcscpy.c: New file.
24635 * powerpc32/power6/wcsrchr.c: New file.
24636 * powerpc64/power6/wcschr.c: New file.
24637 * powerpc64/power6/wcscpy.c: New file.
24638 * powerpc64/power6/wcsrchr.c: New file.
24640 2012-08-21 Maxim Kuvyrkov <maxim@codesourcery.com>
24642 * string/str-two-way.h (AVAILABLE1_USES_J): New macro, define default.
24643 (two_way_short_needle): Use it.
24644 * string/strstr.c (AVAILABLE1_USES_J): Define.
24645 * string/strcasestr.c: Likewise.
24647 * string/str-two-way.h (two_way_short_needle): Use pointers instead of
24649 * string/strcasestr.c (TOLOWER): Make side-effect safe.
24652 * NEWS: Add an entry.
24653 * string/str-two-way.h (AVAILABLE1, AVAILABLE2, RET0_IF_0): New macros,
24654 define their defaults.
24655 (two_way_short_needle): Detect end-of-string on-the-fly.
24656 * string/strcasestr.c, string/strstr.c (AVAILABLE): Update.
24657 (AVAILABLE1, AVAILABLE2, RET0_IF_0, AVAILABLE_USES_J): Define.
24658 * string/bug-strcasestr1.c: New test.
24659 * string/Makefile: Run it.
24661 2012-08-21 Maxim Kuvyrkov <maxim@codesourcery.com>
24664 * string/str-two-way.h (two_way_short_needle): Optimize matching of
24665 the first character.
24667 2012-08-21 Roland McGrath <roland@hack.frob.com>
24669 * csu/elf-init.c (__libc_csu_irel): Function removed.
24670 * csu/libc-start.c (apply_irel): New function.
24671 (LIBC_START_MAIN): Call it instead of __libc_csu_irel.
24673 2012-08-21 Joseph Myers <joseph@codesourcery.com>
24675 * sysdeps/unix/sysv/linux/kernel-features.h
24676 (__ASSUME_FADVISE64_64_SYSCALL): Remove.
24677 * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
24678 <kernel-features.h>.
24679 [__NR_fadvise64_64]: Make code unconditional.
24680 [!__ASSUME_FADVISE64_64_SYSCALL]: Remove conditional code.
24681 [__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
24682 !__NR_fadvise64_64)]: Likewise.
24683 [!(__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
24684 !__NR_fadvise64_64))]: Likewise.
24685 [__NR_fadvise64]: Make code unconditional.
24686 [!__NR_fadvise64]: Remove conditional code.
24687 * sysdeps/unix/sysv/linux/posix_fadvise64.c: Do not include
24688 <kernel-features.h>.
24689 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
24691 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
24693 * sysdeps/unix/sysv/linux/powerpc/powerpc32/posix_fadvise64.c: Do
24694 not include <kernel-features.h>.
24695 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
24697 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
24699 * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Do not
24700 include <kernel-features.h>.
24701 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
24703 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
24706 2012-08-21 Will Schmidt <will_schmidt@vnet.ibm.com>
24708 * sysdeps/powerpc/powerpc64/power7/memchr.S: Unrolled short loop and
24709 slight instruction rearrangements per scrollpipe analysis.
24710 * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
24712 2012-08-20 Roland McGrath <roland@hack.frob.com>
24714 * manual/syslog.texi (syslog; vsyslog, closelog):
24715 Fix typo repeated twice: @file{dev/log} -> @file{/dev/log}.
24716 Reported by Ricardo Catalinas Jiménez <jimenezrick@gmail.com>.
24718 * elf/dl-sysdep.c (_dl_important_hwcaps): Fix conditional on using
24719 DSOCAPS to match condition on defining it.
24721 2012-08-20 Joseph Myers <joseph@codesourcery.com>
24723 * sysdeps/unix/sysv/linux/kernel-features.h
24724 (__ASSUME_SWAPCONTEXT_SYSCALL): Remove.
24725 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S
24726 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
24727 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
24728 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S
24729 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
24730 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
24731 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S
24732 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
24733 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
24735 * sysdeps/unix/sysv/linux/kernel-features.h [__s390__ &&
24736 __LINUX_KERNEL_VERSION >= 0x020616] (__ASSUME_UTIMES): Define.
24738 * sysdeps/unix/sysv/linux/kernel-features.h
24739 (__ASSUME_MMAP2_SYSCALL): Remove all definitions.
24740 * sysdeps/unix/sysv/linux/mmap64.c [__NR_mmap2]: Make code
24742 [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
24743 * sysdeps/unix/sysv/linux/i386/mmap.S (__mmap)
24744 [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
24745 (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
24746 * sysdeps/unix/sysv/linux/i386/mmap64.S (__mmap64) [__NR_mmap2]:
24747 Make code unconditional.
24748 (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
24749 (__mmap64) [!__NR_mmap2]: Likewise.
24750 * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S (__mmap)
24751 [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
24752 (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
24753 * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S (__mmap64)
24754 [__NR_mmap2]: Make code unconditional.
24755 (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
24756 (__mmap64) [!__NR_mmap2]: Likewise.
24758 2012-08-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
24760 * sysdeps/unix/sysv/linux/s390/s390-32/getrlimit.c: Remove.
24762 2012-08-18 Andreas Jaeger <aj@suse.de>
24764 * stdio-common/_itoa.c (_itoa): Add missing DUMMY variable.
24766 2012-08-18 Mike Frysinger <vapier@gentoo.org>
24768 * include/sys/socket.h (__have_sock_cloexec): Add attribute_hidden.
24769 * include/unistd.h (__have_sock_cloexec): Likewise.
24770 (__have_pipe2): Likewise.
24771 (__have_dup3): Likewise.
24773 2012-08-18 Mike Frysinger <vapier@gentoo.org>
24776 * include/unistd.h (__have_pipe2): Change define into an extern int.
24777 (__have_dup3): Likewise.
24778 * socket/have_sock_cloexec.c: Include fcntl.h.
24779 (__have_pipe2): New variable.
24780 (__have_dup3): Likewise.
24782 2012-08-17 Mike Frysinger <vapier@gentoo.org>
24784 * sysdeps/unix/sysv/linux/nice.c: Adjust #include.
24786 2012-08-17 Marek Polacek <polacek@redhat.com>
24788 * sysdeps/ieee754/ldbl-96/s_sincosl.c (__sincosl): Use __attribute__
24789 ((unused)) on I1, which is set by GET_LDOUBLE_WORDS but never used.
24791 2012-08-17 Roland McGrath <roland@hack.frob.com>
24793 * configure.in: Add AC_SUBST for sysheaders.
24794 * configure: Regenerated.
24795 * config.make.in (sysheaders): New substituted variable.
24797 * sysdeps/unix/mkfifo.c: Moved ...
24798 * sysdeps/posix/mkfifo.c: ... here.
24799 * sysdeps/unix/mkfifoat.c: Moved ...
24800 * sysdeps/posix/mkfifoat.c: ... here.
24802 * sysdeps/unix/utime.c: Moved ...
24803 * sysdeps/posix/utime.c: ... here.
24805 * sysdeps/unix/time.c: Moved ...
24806 * sysdeps/posix/time.c: ... here.
24807 * sysdeps/unix/sysv/linux/time.c: Adjust #include.
24808 * sysdeps/unix/sysv/linux/sparc/sparc64/time.c: Likewise.
24810 * sysdeps/unix/nice.c: Moved ...
24811 * sysdeps/posix/nice.c: ... here.
24813 * sysdeps/unix/alarm.c: Moved ...
24814 * sysdeps/posix/alarm.c: ... here.
24816 * intl/Makefile ($(codeset_mo)): Depend on the input file.
24818 2012-08-17 Jeff Law <law@redhat.com>
24820 * intl/Makefile (codeset_mo): New variable.
24821 ($(codeset_mo)): New target.
24822 (tst-codeset.out): Depend on that. Remove explicit rule.
24823 (tst-gettext3.out, tst-gettext5.out): Likewise.
24824 (LOCPATH-ENV, tst-codeset-ENV): New variables.
24825 (tst-gettext3-ENV, tst-gettext5-ENV): Likewise.
24826 * intl/tst-codeset.sh: Remove.
24827 * intl/tst-gettext3.sh: Likewise.
24828 * intl/tst-gettext5.sh: Likewise.
24830 2012-08-17 Roland McGrath <roland@hack.frob.com>
24832 * sysdeps/unix/inet/syscalls.list: File removed. Move contents into ...
24833 * sysdeps/unix/syscalls.list: ... here.
24835 * sysdeps/posix/getaddrinfo.c
24836 (save_gaiconf_mtime, check_gaiconf_mtime): New functions.
24837 (gaiconf_init, gaiconf_reload): Use them.
24838 [!_STATBUF_ST_NSEC]
24839 (gaiconf_mtime, save_gaiconf_mtime, check_gaiconf_mtime):
24840 Define using time_t rather than struct timespec.
24842 * sysdeps/generic/malloc-machine.h (MUTEX_INITIALIZER): New macro.
24843 (atomic_full_barrier, atomic_read_barrier, atomic_write_barrier):
24845 * malloc/arena.c (save_malloc_hook, save_free_hook): Conditionalize on
24847 (malloc_atfork, free_atfork, atfork_recursive_cntr): Likewise.
24848 (ptmalloc_lock_all, ptmalloc_unlock_all, ptmalloc_unlock_all2):
24851 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Use NULL rather than 0 for
24852 __libc_cleanup_push argument.
24854 * bits/param.h: New file.
24855 * misc/sys/param.h: New file.
24856 * include/sys/param.h: New file.
24857 * misc/Makefile (headers): Add bits/param.h.
24858 * sysdeps/generic/sys/param.h: File removed.
24859 * sysdeps/unix/sysv/linux/bits/param.h: New file.
24860 * sysdeps/unix/sysv/linux/sys/param.h: File removed.
24861 * sysdeps/mach/hurd/bits/param.h: New file.
24862 * sysdeps/mach/hurd/sys/param.h: File removed.
24864 * elf/dl-close.c (_dl_close_worker): Add a cast and a comment to the
24867 * libio/genops.c (_IO_unbuffer_write): Conditionalize locking code on
24869 * libio/libioP.h [!_IO_MTSAFE_IO && !NOT_IN_libc]
24870 (_IO_acquire_lock, _IO_acquire_lock_clear_flags2, _IO_release_lock):
24873 * Makeconfig [$(libc-reentrant) = yes] (libio-mtsafe): New variable.
24874 * libio/Makefile (CPPFLAGS): Append $(libio-mtsafe) unconditionally
24875 rather than -D_IO_MTSAFE_IO conditionally.
24876 * stdio-common/Makefile (CPPFLAGS): Likewise.
24877 * wcsmbs/Makefile (CPPFLAGS): Likewise.
24878 * stdlib/Makefile (CFLAGS-strfmon.c, CFLAGS-strfmon_l.c):
24879 Use $(libio-mtsafe).
24880 * debug/Makefile (CFLAGS-sprintf_chk.c): Use $(libio-mtsafe) instead
24881 of -D_IO_MTSAFE_IO.
24882 (CFLAGS-snprintf_chk.c, CFLAGS-vsprintf_chk.c): Likewise.
24883 (CFLAGS-vsnprintf_chk.c, CFLAGS-asprintf_chk.c): Likewise.
24884 (CFLAGS-vasprintf_chk.c, CFLAGS-obprintf_chk.c): Likewise.
24885 (CFLAGS-dprintf_chk.c, CFLAGS-vdprintf_chk.c): Likewise.
24886 (CFLAGS-printf_chk.c, CFLAGS-fprintf_chk.c): Likewise.
24887 (CFLAGS-vprintf_chk.c, CFLAGS-vfprintf_chk.c): Likewise.
24888 (CFLAGS-gets_chk.c, CFLAGS-fgets_chk.c): Likewise.
24889 (CFLAGS-fgets_u_chk.c, CFLAGS-fread_chk.c): Likewise.
24890 (CFLAGS-fread_u_chk.c): Likewise.
24891 (CFLAGS-swprintf_chk.c, CFLAGS-vswprintf_chk.c): Likewise.
24892 (CFLAGS-wprintf_chk.c, CFLAGS-fwprintf_chk.c): Likewise.
24893 (CFLAGS-vwprintf_chk.c, CFLAGS-vfwprintf_chk.c): Likewise.
24894 (CFLAGS-fgetws_chk.c, CFLAGS-fgetws_u_chk.c): Likewise.
24895 * grp/Makefile (CFLAGS-fgetgrent_r.c, CFLAGS-putgrent.c): Likewise.
24896 * gshadow/Makefile (CFLAGS-fgetsgent_r.c, CFLAGS-putsgent.c): Likewise.
24897 * misc/Makefile (CFLAGS-mntent_r.c): Likewise.
24898 * pwd/Makefile (CFLAGS-fgetpwent_r.c): Likewise.
24899 * shadow/Makefile (CFLAGS-fgetspent_r.c, CFLAGS-putspent.c): Likewise.
24901 * libio/Makefile: Test [$(libc-reentrant) = yes]
24902 instead of [$(filter %REENTRANT, $(defines)) nonempty].
24905 [$(libc-reentrant) = yes] (defines): Append -D_LIBC_REENTRANT.
24906 * sysdeps/pthread/configure: File removed.
24907 * sysdeps/pthread/Makeconfig: New file.
24908 * sysdeps/mach/hurd/Makeconfig (libc-reentrant): New variable.
24909 * sysdeps/mach/hurd/configure.in: Don't touch DEFINES here.
24911 2012-08-16 Gary Benson <gbenson@redhat.com>
24913 * elf/dl-close.c (_dl_close_worker): Also set r->r_map when
24914 unmapping the first object in a namespace.
24916 2012-08-16 Roland McGrath <roland@hack.frob.com>
24918 * inet/getnetgrent_r.c (internal_setnetgrent): Renamed to ...
24919 (__internal_setnetgrent): ... this. Add internal_function to
24920 definition. Add libc_hidden_def.
24921 (setnetgrent): Update caller.
24922 (internal_endnetgrent): Renamed to ...
24923 (__internal_endnetgrent): ... this. Add internal_function to
24924 definition. Add libc_hidden_def.
24925 (endnetgrent): Update caller.
24926 (internal_getnetgrent_r): Renamed to ...
24927 (__internal_getnetgrent_r): ... this. Add internal_function to
24928 definition. Add libc_hidden_def.
24929 (__getnetgrent_r): Update caller.
24930 * inet/netgroup.h: Update declarations. Add libc_hidden_proto uses.
24932 2012-08-16 Joseph Myers <joseph@codesourcery.com>
24934 * stdlib/longlong.h: Update from GCC.
24936 2012-08-16 Roland McGrath <roland@hack.frob.com>
24938 * stdlib/gmp-impl.h (udiv_qrnnd_preinv): Use __attribute__ ((unused))
24939 on _QL, which is set by umul_ppmm but never used.
24940 * stdio-common/_itoa.c (_itoa): Use __attribute__ ((unused)) on DUMMY
24941 variables, which are set by GMP macros but never used.
24942 * stdio-common/_itowa.c (_itowa): Likewise.
24943 * stdlib/divmod_1.c (mpn_divmod_1): Likewise.
24944 * stdlib/mod_1.c (mpn_mod_1): Likewise.
24946 2012-08-16 Carlos O'Donell <carlos_odonell@mentor.com>
24948 * sysdeps/sh/ldsodefs.h (ARCH_PLTENTER_MEMBERS) <sh_gnu_pltenter>:
24949 struct La_sh_regs is not constant.
24950 * sysdeps/sparc/ldsodefs.h (ARCH_PLTENTER_MEMBERS)
24951 <sparc32_gnu_pltenter, sparc64_gnu_pltenter>: struct La_sparc32_regs
24952 and struct La_sparc64_regs are not constant.
24954 2012-08-16 Joseph Myers <joseph@codesourcery.com>
24956 * sysdeps/unix/sysv/linux/kernel-features.h
24957 (__ASSUME_POSIX_TIMERS): Remove.
24958 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
24959 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
24960 * sysdeps/unix/sysv/linux/clock_getres.c [__ASSUME_POSIX_TIMERS]:
24961 Make code unconditional.
24962 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
24963 * sysdeps/unix/sysv/linux/clock_gettime.c [__ASSUME_POSIX_TIMERS]:
24964 Make code unconditional.
24965 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
24966 * sysdeps/unix/sysv/linux/clock_nanosleep.c
24967 [__ASSUME_POSIX_TIMERS]: Make code unconditional.
24968 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
24969 * sysdeps/unix/sysv/linux/clock_settime.c [__ASSUME_POSIX_TIMERS]:
24970 Make code unconditional.
24971 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
24972 [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]
24973 (__libc_missing_posix_timers): Remove.
24975 2012-08-15 Roland McGrath <roland@hack.frob.com>
24977 * elf/dl-load.c (_dl_map_object_from_fd) [SHARED]: Conditionalize
24978 check of GL(dl_error_catch_tsd) on [_LIBC_REENTRANT].
24980 * bits/libc-lock.h (__rtld_lock_initialize): New macro.
24982 * elf/dl-sym.c: Include <stdlib.h>.
24984 * posix/regcomp.c (init_word_char): Use temporaries to hold the 64-bit
24985 constants, which avoids warnings in 32-bit builds.
24987 * bits/fcntl.h [__USE_POSIX199309 || __USE_UNIX98]:
24988 (O_DSYNC, O_RSYNC): New macros (with NetBSD values).
24990 * misc/lseek.c: File moved to ...
24991 * io/lseek.c: ... here.
24993 * rt/clock_nanosleep.c: Include <time.h>, not <sys/time.h>.
24995 * crypt/sha512.c (sha512_process_block) [!USE_TOTAL128]: Avoid
24996 shifting LEN more than 31 bits at once.
24998 2012-08-15 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
25001 * sysdeps/i386/i686/multiarch/strcmp-sssse3.S: Fix
25002 segmentation fault for a case of two empty input strings.
25003 * string/test-strncasecmp.c (check1): Renamed to...
25004 (bz12205): ...this.
25005 (bz14195): Add new testcase for two empty input strings and N > 0.
25006 (test_main): Call new testcase, adapt for renamed function.
25008 2012-08-15 Andreas Jaeger <aj@suse.de>
25011 * crypt/md5test2.c: New test, based on test supplied by Serge
25012 Belyshev <belyshev@depni.sinp.msu.ru>.
25013 * crypt/Makefile (xtests): Add md5test-giant..
25014 * crypt/Makefile ($(objpfx)md5test-giant): Add.
25016 2012-08-15 Paul Eggert <eggert@cs.ucla.edu>
25019 * crypt/md5.c (md5_process_block): Don't assume the buffer
25020 length is less than 2**32.
25021 * crypt/sha512.c (sha512_process_block): Don't assume the buffer
25022 length is less than 2**64.
25024 2012-08-15 Roland McGrath <roland@hack.frob.com>
25026 * string/str-two-way.h: Include <sys/param.h>.
25027 (MAX): Macro removed.
25029 * sysdeps/x86_64/multiarch/strstr-c.c: Add copyright header.
25030 Move #define and #undef of memmove to just before and after
25031 including <string.h>.
25033 * sysdeps/x86_64/multiarch/memmove.c: Don't include <stddef.h>.
25034 [!NOT_IN_libc]: Move #define and #undef of memmove to just before
25035 and after including <string.h>. Move declarations of
25036 __memmove_sse2, __memmove_ssse3, and __memmove_ssse3_back
25037 to before #include "string/memmove.c".
25039 * include/dirent.h: Declare __getdirentries.
25041 * sysdeps/posix/system.c (do_system): Cast SUB_REF () to void when not
25042 using its value, to avoid warnings in the [!_LIBC_REENTRANT] case.
25044 2012-08-14 Mike Frysinger <vapier@gentoo.org>
25046 * config.h.in (HAVE_CPP_ASM_DEBUGINFO): Delete.
25047 * sysdeps/i386/configure.in: Remove assembler-with-cpp debug check.
25048 * sysdeps/i386/configure: Regenerated.
25049 * sysdeps/i386/sysdep.h (ENTRY): Remove calls to STABS_CURRENT_FILE1,
25050 STABS_CURRENT_FILE, and STABS_FUN.
25051 (END): Remove call to STABS_FUN_END.
25052 (STABS_CURRENT_FILE1): Delete.
25053 (STABS_CURRENT_FILE): Likewise.
25054 (STABS_FUN): Likewise.
25055 (STABS_FUN_END): Likewise.
25056 (STABS_FUN2): Likewise.
25057 * sysdeps/x86_64/configure.in: Remove assembler-with-cpp debug check.
25058 * sysdeps/x86_64/configure: Regenerated.
25060 2012-08-14 Roland McGrath <roland@hack.frob.com>
25062 * elf/dl-open.c: Include <atomic.h>.
25063 * elf/dl-lookup.c: Likewise.
25065 2012-08-14 Joseph Myers <joseph@codesourcery.com>
25067 * sysdeps/unix/sysv/linux/kernel-features.h
25068 (__ASSUME_CLONE_THREAD_FLAGS): Remove.
25069 * sysdeps/unix/sysv/linux/s390/system.c (FORK): Define
25071 * sysdeps/unix/sysv/linux/sparc/system.c (FORK): Define
25073 * sysdeps/unix/sysv/linux/system.c [!FORK] (FORK): Do not
25074 condition on __ASSUME_CLONE_THREAD_FLAGS.
25076 2012-08-14 Andreas Jaeger <aj@suse.de>
25078 * sysdeps/i386/fpu/libm-test-ulps: Update.
25080 2012-08-13 Maxim Kuvyrkov <maxim@codesourcery.com>
25082 * include/atomic.h (atomic_exchange_and_add): Split into ...
25083 (atomic_exchange_and_add_acq, atomic_exchange_and_add_rel): ... these.
25086 2012-08-13 Markus Trippelsdorf <markus@trippelsdorf.de>
25088 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
25090 2012-08-13 Jeff Law <law@redhat.com>
25092 * manual/stdio.texi (snprintf): Clarify handling of the trailing
25093 null byte in the output string.
25095 2012-08-10 Joseph Myers <joseph@codesourcery.com>
25097 * sysdeps/unix/sysv/linux/kernel-features.h
25098 (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Define.
25099 [__LINUX_KERNEL_VERSION >= __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL]
25100 (__ASSUME_ARG_MAX_STACK_BASED): Define.
25101 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
25102 [__LINUX_KERNEL_VERSION < 0x020617]: Change condition to
25103 !__ASSUME_ARG_MAX_STACK_BASED. Compare version with
25104 __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL.
25106 2012-08-09 Jeff Law <law@redhat.com>
25109 * malloc.c/arena.c (reused_arena): New parameter, avoid_arena.
25110 When avoid_arena is set, don't retry in the that arena. Pick the
25111 next one, whatever it might be.
25112 (arena_get2): New parameter avoid_arena, pass through to reused_arena.
25113 (arena_lock): Pass in new parameter to arena_get2.
25114 * malloc/malloc.c (__libc_memalign): Pass in new parameter to
25116 (__libc_malloc): Unify retrying after main arena failure with
25117 __libc_memalign version.
25118 (__libc_valloc, __libc_pvalloc, __libc_calloc): Likewise.
25120 2012-08-09 H.J. Lu <hongjiu.lu@intel.com>
25123 * sysdeps/i386/i686/multiarch/strstr-c.c (strstr): Redefined
25124 to __redirect_strstr.
25125 (__strstr_sse42): Use typeof __redirect_strstr.
25126 (__strstr_ia32): Likewise.
25127 (__libc_strstr): New prototype.
25128 (strstr): Renamed to ...
25129 (__libc_strstr): This.
25130 (strstr): New strong alias of __libc_strstr.
25131 * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
25132 * sysdeps/unix/sysv/linux/x86_64/time.c (time): Redefined to
25135 (__libc_time): New prototype.
25136 (time_ifunc): Replace time with __libc_time.
25137 (time): New strong alias and hidden definition of __libc_time.
25138 (__GI_time): Remove strong alias.
25139 * sysdeps/x86_64/multiarch/memmove.c: Don't include <string.h>.
25140 Include <stddef.h>.
25141 (memmove): Redefined to __redirect_memmove.
25142 (__memmove_sse2): Use typeof __redirect_memmove.
25143 (__memmove_ssse3): Likewise.
25144 (__memmove_ssse3_back): Likewise.
25145 (__libc_memmove): New prototype.
25146 (memmove): Renamed to ...
25147 (__libc_memmove): This.
25148 (memmove): New strong alias of __libc_memmove.
25150 2012-08-08 Mark Salter <msalter@redhat.com>
25153 (R_MN10300_TLS_GD): Define.
25154 (R_MN10300_TLS_LD): Likewise.
25155 (R_MN10300_TLS_LDO): Likewise.
25156 (R_MN10300_TLS_GOTIE): Likewise.
25157 (R_MN10300_TLS_IE): Likewise.
25158 (R_MN10300_TLS_LE): Likewise.
25159 (R_MN10300_TLS_DTPMOD): Likewise.
25160 (R_MN10300_TLS_DTPOFF): Likewise.
25161 (R_MN10300_TLS_TPOFF): Likewise.
25162 (R_MN10300_SYM_DIFF): Likewise.
25163 (R_MN10300_ALIGN): Likewise.
25164 (R_MN10300_NUM): Update.
25166 2012-08-08 Joseph Myers <joseph@codesourcery.com>
25168 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_TGKILL):
25171 2012-08-08 Roland McGrath <roland@hack.frob.com>
25173 * sysdeps/posix/fdopendir.c: Include <stddef.h>.
25175 * sysdeps/unix/sysv/linux/readdir64_r.c: Update #include for
25176 sysdeps/unix -> sysdeps/posix move.
25177 * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
25179 2012-08-07 Allan McRae <allan@archlinux.org>
25182 * sunrpc/rpc_main.c (SVR4_CPP): Remove.
25183 (SUNOS_CPP): Likewise.
25184 (find_cpp): Fall back to selecting system cpp when /lib/cpp is
25186 (open_input): Call CPP using execvp.
25188 2012-08-07 Joseph Myers <joseph@codesourcery.com>
25190 * sysdeps/unix/sysv/linux/kernel-features.h
25191 (__ASSUME_PROT_GROWSUPDOWN): Remove.
25192 (__ASSUME_NO_CLONE_DETACHED): Likewise.
25193 (__ASSUME_GETDENTS32_D_TYPE): Likewise.
25194 (__ASSUME_WAITID_SYSCALL): Likewise.
25195 * sysdeps/unix/sysv/linux/dl-execstack.c
25196 (_dl_make_stack_executable) [PROT_GROWSDOWN || PROT_GROWSUP]: Make
25197 code unconditional.
25198 (_dl_make_stack_executable) [!__ASSUME_PROT_GROWSUPDOWN]: Remove
25200 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS)
25201 [__ASSUME_GETDENTS32_D_TYPE]: Make code unconditional.
25202 (__GETDENTS) [!__ASSUME_GETDENTS32_D_TYPE]: Remove conditional
25204 * sysdeps/unix/sysv/linux/waitid.c [__NR_waitid]: Make code
25206 [__ASSUME_WAITID_SYSCALL]: Likewise.
25207 [!__ASSUME_WAITID_SYSCALL]: Remove conditional code.
25209 2012-08-07 Roland McGrath <roland@hack.frob.com>
25211 * sysdeps/unix/closedir.c: Renamed to ...
25212 * sysdeps/posix/closedir.c: ... here.
25213 * sysdeps/unix/dirfd.c: Renamed to ...
25214 * sysdeps/posix/dirfd.c: ... here.
25215 * sysdeps/unix/dirstream.h: Renamed to ...
25216 * sysdeps/posix/dirstream.h: ... here.
25217 * sysdeps/unix/fdopendir.c: Renamed to ...
25218 * sysdeps/posix/fdopendir.c: ... here.
25219 * sysdeps/unix/opendir.c: Renamed to ...
25220 * sysdeps/posix/opendir.c: ... here.
25221 * sysdeps/unix/readdir.c: Renamed to ...
25222 * sysdeps/posix/readdir.c: ... here.
25223 * sysdeps/unix/readdir_r.c: Renamed to ...
25224 * sysdeps/posix/readdir_r.c: ... here.
25225 * sysdeps/unix/rewinddir.c: Renamed to ...
25226 * sysdeps/posix/rewinddir.c: ... here.
25227 * sysdeps/unix/seekdir.c: Renamed to ...
25228 * sysdeps/posix/seekdir.c: ... here.
25229 * sysdeps/unix/telldir.c: Renamed to ...
25230 * sysdeps/posix/telldir.c: ... here.
25231 * sysdeps/unix/sysv/linux/opendir.c: Update #include.
25232 * sysdeps/unix/sysv/linux/readdir64.c: Likewise.
25233 * sysdeps/unix/sysv/linux/i386/readdir64.c: Likewise.
25234 * sysdeps/unix/sysv/linux/wordsize-64/readdir.c: Likewise.
25236 * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h: Renamed to ...
25237 * bits/fcntl.h: ... here.
25239 * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h (O_NOCTTY): Define to 0x8000,
25241 (O_ASYNC, O_FSYNC, O_SYNC): Move outside [__USE_MISC].
25242 [__USE_XOPEN2K8] (O_DIRECTORY, O_NOFOLLOW, O_CLOEXEC): New macros.
25243 (FCREAT, FEXCL, FTRUNC, FNOCTTY, FNONBLOCK): Macros removed.
25244 (struct flock): Move l_start, l_len to the beginning.
25245 Use __pid_t for l_pid.
25246 [__USE_XOPEN2K] (POSIX_FADV_NORMAL, POSIX_FADV_RANDOM): New macros.
25247 [__USE_XOPEN2K] (POSIX_FADV_SEQUENTIAL, POSIX_FADV_WILLNEED): Likewise.
25248 [__USE_XOPEN2K] (POSIX_FADV_DONTNEED, POSIX_FADV_NOREUSE): Likewise.
25249 (F_GETLK64, F_SETLK64, F_SETLKW64): New macros.
25250 [__USE_XOPEN2K8] (F_DUPFD_CLOEXEC): New macro.
25251 [__USE_LARGEFILE64] (struct flock64): New type.
25252 (F_GETOWN, F_SETOWN): Also define for [__USE_XOPEN2K8].
25254 * sysdeps/unix/bsd/bsd4.4/bits/dirent.h: Renamed to ...
25255 * bits/dirent.h: ... here.
25257 * sysdeps/unix/bsd/bsd4.4/bits/dirent.h
25258 [__INO_T_MATCHES_INO64_T] (_DIRENT_MATCHES_DIRENT64): New macro.
25260 2012-08-07 Joseph Myers <joseph@codesourcery.com>
25262 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
25263 Change from 2.6.0 to 2.6.16.
25264 * sysdeps/unix/sysv/linux/configure: Regenerated.
25265 * sysdeps/unix/sysv/linux/kernel-features.h
25266 (__ASSUME_POSIX_CPU_TIMERS): Define unconditionally.
25267 (__ASSUME_TGKILL): Define conditional on architectures, not kernel
25269 (__ASSUME_UTIMES): Likewise.
25270 (__ASSUME_CLONE_STOPPED): Remove.
25271 (__ASSUME_FADVISE64_64_SYSCALL): Define conditional on
25272 architectures, not kernel version.
25273 (__ASSUME_PROT_GROWSUPDOWN): Define unconditionally.
25274 (__ASSUME_NO_CLONE_DETACHED): Likewise.
25275 (__ASSUME_GETDENTS32_D_TYPE): Likewise.
25276 (__ASSUME_WAITID_SYSCALL): Likewise.
25277 [__sparc__ && __arch64__] (__ASSUME_STAT64_SYSCALL): Do not
25278 condition definition on __LINUX_KERNEL_VERSION >= 0x02060c.
25279 * README: State 2.6.16 as minimum Linux kernel version. Do not
25280 refer to older versions.
25282 2012-08-06 Roland McGrath <roland@hack.frob.com>
25284 * dirent/alphasort.c [_DIRENT_MATCHES_DIRENT64]:
25285 Define alphasort64 as an alias.
25286 * dirent/versionsort.c [_DIRENT_MATCHES_DIRENT64]:
25287 Define versionsort64 as an alias.
25288 * dirent/scandir.c [_DIRENT_MATCHES_DIRENT64]:
25289 Define scandir64 as an alias.
25290 * dirent/scandirat.c [_DIRENT_MATCHES_DIRENT64]:
25291 Define scandirat64 as an alias.
25292 * dirent/alphasort64.c (alphasort64):
25293 Conditionalize on [!_DIRENT_MATCHES_DIRENT64].
25294 * dirent/versionsort64.c: Likewise.
25295 * dirent/scandir64.c: Likewise.
25296 * dirent/scandirat64.c: Likewise.
25297 * sysdeps/wordsize-64/alphasort.c: File removed.
25298 * sysdeps/wordsize-64/alphasort64.c: File removed.
25299 * sysdeps/wordsize-64/scandir.c: File removed.
25300 * sysdeps/wordsize-64/scandir64.c: File removed.
25301 * sysdeps/wordsize-64/scandirat.c: File removed.
25302 * sysdeps/wordsize-64/scandirat64.c: File removed.
25303 * sysdeps/wordsize-64/versionsort.c: File removed.
25304 * sysdeps/wordsize-64/versionsort64.c: File removed.
25305 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: File removed.
25306 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: File removed.
25307 * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: File removed.
25308 * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: File removed.
25309 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: File removed.
25310 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: File removed.
25311 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: File removed.
25312 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: File removed.
25314 * bits/typesizes.h [__LP64__] (__INO_T_MATCHES_INO64_T): New macros.
25315 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
25316 [__s390x__] (__INO_T_MATCHES_INO64_T): New macro.
25317 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
25318 [defined __arch64__ || defined __sparcv9]
25319 (__INO_T_MATCHES_INO64_T): New macro.
25320 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
25321 [__x86_64__] (__INO_T_MATCHES_INO64_T): New macro.
25322 * bits/dirent.h (_DIRENT_MATCHES_DIRENT64): New macro.
25323 * sysdeps/unix/sysv/linux/bits/dirent.h
25324 [defined __OFF_T_MATCHES_OFF64_T && defined __INO_T_MATCHES_INO64_T]
25325 (_DIRENT_MATCHES_DIRENT64): New macro.
25327 * io/lockf.c [__OFF_T_MATCHES_OFF64_T]:
25328 Define lockf64 as an alias.
25329 * libio/fseeko.c [__OFF_T_MATCHES_OFF64_T]:
25330 Define fseeko64 as an alias.
25331 * libio/ftello.c [__OFF_T_MATCHES_OFF64_T]:
25332 Define ftello64 as an alias.
25333 * libio/iofgetpos.c [__OFF_T_MATCHES_OFF64_T]:
25334 Define _IO_fgetpos64 and fgetpos64 as aliases.
25335 * libio/iofsetpos.c [__OFF_T_MATCHES_OFF64_T]:
25336 Define _IO_fsetpos64 and fsetpos64 as aliases.
25337 * io/lockf64.c [!__OFF_T_MATCHES_OFF64_T]:
25338 Conditionalize body on this.
25339 * libio/fseeko64.c: Likewise.
25340 * libio/ftello64.c: Likewise.
25341 * libio/iofgetpos64.c: Likewise.
25342 * libio/iofsetpos64.c: Likewise.
25343 * sysdeps/wordsize-64/lockf.c: File removed.
25344 * sysdeps/wordsize-64/lockf64.c: File removed.
25345 * sysdeps/wordsize-64/fseeko.c: File removed.
25346 * sysdeps/wordsize-64/fseeko64.c: File removed.
25347 * sysdeps/wordsize-64/ftello.c: File removed.
25348 * sysdeps/wordsize-64/ftello64.c: File removed.
25349 * sysdeps/wordsize-64/iofgetpos.c: File removed.
25350 * sysdeps/wordsize-64/iofgetpos64.c: File removed.
25351 * sysdeps/wordsize-64/iofsetpos.c: File removed.
25352 * sysdeps/wordsize-64/iofsetpos64.c: File removed.
25353 * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: File removed.
25354 * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: File removed.
25355 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: File removed.
25356 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: File removed.
25357 * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: File removed.
25358 * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: File removed.
25359 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: File removed.
25360 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: File removed.
25361 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: File removed.
25362 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: File removed.
25364 * bits/typesizes.h [__LP64__] (__OFF_T_MATCHES_OFF64_T): New macro.
25365 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
25366 [__s390x__] (__OFF_T_MATCHES_OFF64_T): New macro.
25367 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
25368 [defined __arch64__ || defined __sparcv9]
25369 (__OFF_T_MATCHES_OFF64_T): New macro.
25370 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
25371 [__x86_64__] (__OFF_T_MATCHES_OFF64_T): New macro.
25372 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
25373 (__OFF_T_MATCHES_OFF64_T): New macro.
25375 2012-08-06 H.J. Lu <hongjiu.lu@intel.com>
25377 * stdlib/secure-getenv.c (__secure_getenv): Replace
25378 GLIBC_2_16 with GLIBC_2_17.
25380 2012-08-06 H.J. Lu <hongjiu.lu@intel.com>
25382 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Removed.
25383 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
25385 2012-08-03 David S. Miller <davem@davemloft.net>
25387 * sysdeps/sparc/fpu/libm-test-ulps: Update.
25389 2012-08-03 Joseph Myers <joseph@codesourcery.com>
25391 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_SECURE):
25393 (__ASSUME_CORRECT_SI_PID): Likewise.
25394 (__ASSUME_BRK_PAGE_ROUNDED): Likewise.
25395 (__ASSUME_TMPFS_NAME): Likewise.
25396 * sysdeps/unix/sysv/linux/dl-sysdep.c (frob_brk)
25397 [!__ASSUME_BRK_PAGE_ROUNDED]: Remove conditional code.
25398 * sysdeps/unix/sysv/linux/ldsodefs.h [__ASSUME_AT_SECURE]
25399 (HAVE_AUX_SECURE): Make definition unconditional.
25400 * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs)
25401 [!__ASSUME_TMPFS_NAME]: Remove conditional code.
25403 2012-08-03 Roland McGrath <roland@hack.frob.com>
25405 * sysdeps/mach/hurd/sys/param.h (MAXSYMLINKS): Macro removed.
25406 * sysdeps/mach/hurd/bits/local_lim.h (SYMLOOP_MAX): Macro removed.
25407 * sysdeps/mach/hurd/eloop-threshold.h: New file.
25408 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
25409 __eloop_threshold instead of SYMLOOP_MAX.
25411 * sysdeps/generic/eloop-threshold.h: New file.
25412 * stdlib/canonicalize.c (__realpath): Use __eloop_threshold instead
25414 * elf/chroot_canon.c (chroot_canon): Likewise.
25416 2012-08-03 Joseph Myers <joseph@codesourcery.com>
25419 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
25420 Change to 2.6.0 everywhere.
25421 * sysdeps/unix/sysv/linux/configure: Regenerated.
25422 * sysdeps/unix/sysv/linux/kernel-features.h
25423 (__ASSUME_SET_THREAD_AREA_SYSCALL): Remove.
25424 (__ASSUME_CLONE_THREAD_FLAGS): Condition on architectures, not
25426 (__ASSUME_POSIX_TIMERS): Define unconditionally.
25427 (__ASSUME_FUTEX_REQUEUE): Remove.
25428 (__ASSUME_STATFS64): Define unconditionally.
25429 (__ASSUME_AT_SECURE): Likewise.
25430 (__ASSUME_CORRECT_SI_PID): Likewise.
25431 (__ASSUME_TGKILL): Define without depending on kernel version for
25433 (__ASSUME_UTIMES): Likewise.
25434 (__ASSUME_SWAPCONTEXT_SYSCALL): Condition on architecture, not
25436 (__ASSUME_BRK_PAGE_ROUNDED): Define unconditionally.
25437 (__ASSUME_TMPFS_NAME): Likewise.
25438 * README: Update reference to Linux kernel versions.
25440 2012-08-02 Marek Polacek <polacek@redhat.com>
25443 * configure.in (libc_cv_asm_type_prefix): Remove test. Replace
25444 libc_cv_asm_type_prefix with %.
25445 * configure: Regenerated.
25446 * include/libc-symbols.h: Remove comment about
25447 ASM_TYPE_DIRECTIVE_PREFIX. Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
25448 (declare_symbol_alias_1_paste) [__ASSEMBLER__]: Do not define.
25449 (declare_symbol_alias_1_paste_1) [__ASSEMBLER__]: Likewise.
25450 (declare_symbol_alias_1_stringify) [!__ASSEMBLER__]: Likewise.
25451 (declare_symbol_alias_1_stringify_1) [!__ASSEMBLER__]: Likewise.
25452 * elf/tst-unique2mod2.c: Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
25453 [HAVE_ASM_UNIQUE_OBJECT]: Do not define S.
25454 [HAVE_ASM_UNIQUE_OBJECT]: Do not define _S.
25455 * elf/tst-unique2mod1.c: Likewise.
25456 * elf/tst-unique1mod2.c: Likewise.
25457 * elf/tst-unique1mod1.c: Likewise.
25458 * config.h.in: Do not undef ASM_TYPE_DIRECTIVE_PREFIX.
25459 * sysdeps/s390/s390-32/sysdep.h: Do not define ASM_TYPE_DIRECTIVE.
25460 Replace ASM_TYPE_DIRECTIVE with .type.
25461 * sysdeps/s390/s390-64/sysdep.h: Likewise.
25462 * sysdeps/i386/sysdep.h: Likewise.
25463 * sysdeps/x86_64/sysdep.h: Likewise.
25464 * sysdeps/sh/sysdep.h: Likewise.
25465 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
25466 Do not define ASM_TYPE_DIRECTIVE.
25467 * sysdeps/powerpc/sysdep.h: Likewise.
25468 * sysdeps/powerpc/powerpc32/sysdep.h:
25469 Replace ASM_TYPE_DIRECTIVE with .type.
25470 * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
25471 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
25472 * sysdeps/i386/fpu/e_powf.S: Likewise.
25473 * sysdeps/i386/fpu/e_expl.S: Likewise.
25474 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
25475 * sysdeps/i386/fpu/e_acosh.S: Likewise.
25476 * sysdeps/i386/fpu/e_pow.S: Likewise.
25477 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
25478 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
25479 * sysdeps/i386/fpu/s_expm1.S: Likewise.
25480 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
25481 * sysdeps/i386/fpu/e_log2.S: Likewise.
25482 * sysdeps/i386/fpu/e_log2l.S: Likewise.
25483 * sysdeps/i386/fpu/e_scalb.S: Likewise.
25484 * sysdeps/i386/fpu/e_powl.S: Likewise.
25485 * sysdeps/i386/fpu/e_log10f.S: Likewise.
25486 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
25487 * sysdeps/i386/fpu/e_logl.S: Likewise.
25488 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
25489 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
25490 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
25491 * sysdeps/i386/fpu/e_log2f.S: Likewise.
25492 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
25493 * sysdeps/i386/fpu/e_log.S: Likewise.
25494 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
25495 * sysdeps/i386/fpu/e_logf.S: Likewise.
25496 * sysdeps/i386/fpu/e_log10l.S: Likewise.
25497 * sysdeps/i386/fpu/e_atanh.S: Likewise.
25498 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
25499 * sysdeps/i386/fpu/e_log10.S: Likewise.
25500 * sysdeps/i386/fpu/s_frexp.S: Likewise.
25501 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
25502 * sysdeps/i386/fpu/s_asinh.S: Likewise.
25503 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
25504 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
25505 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Likewise.
25506 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
25507 * sysdeps/i386/i686/strtok.S: Likewise.
25508 * sysdeps/i386/i386-mcount.S: Likewise.
25509 * sysdeps/i386/strtok.S: Likewise.
25510 * sysdeps/x86_64/fpu/e_expl.S: Likewise.
25511 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
25512 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
25513 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
25514 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
25515 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
25516 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
25517 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
25518 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
25519 * sysdeps/x86_64/_mcount.S: Likewise.
25520 * sysdeps/x86_64/strtok.S: Likewise.
25521 * sysdeps/sh/_mcount.S: Likewise.
25523 2012-08-01 Roland McGrath <roland@hack.frob.com>
25525 * libio/iofopen.c: Include <fcntl.h>.
25526 [_LIBC] [!defined O_LARGEFILE || O_LARGEFILE == 0]
25527 (_IO_fopen64, fopen64): Define as aliases.
25528 * libio/iofopen64.c: Include <fcntl.h>.
25529 [!defined _LIBC || (defined O_LARGEFILE && O_LARGEFILE != 0)]:
25530 Conditionalize body on this.
25531 * sysdeps/wordsize-64/iofopen.c: File removed.
25532 * sysdeps/wordsize-64/iofopen64.c: File removed.
25534 2012-08-01 Marek Polacek <polacek@redhat.com>
25536 * libc/Makeconfig: Use elf in place of binfmt-subdir.
25537 Use dlfcn directly instead of a variable.
25538 (binfmt-subdir): Do not define.
25541 2012-08-01 Joseph Myers <joseph@codesourcery.com>
25543 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_FCNTL64):
25544 Remove all definitions.
25545 * sysdeps/unix/sysv/linux/i386/fcntl.c: Do not include
25546 <kernel-features.h>.
25547 [!__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
25548 (miss_F_GETOWN_EX): Remove all definitions.
25549 [NO_CANCELLATION && !__ASSUME_FCNTL64] (__fcntl_nocancel): Remove
25551 [!__ASSUME_FCNTL64]: Remove conditional code.
25552 [__ASSUME_FCNTL64]: Make code unconditional.
25553 * sysdeps/unix/sysv/linux/i386/lockf64.c: Do not include
25554 <kernel-features.h>.
25555 [__NR_fcntl64 && !__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
25556 (lockf64) [!__ASSUME_FCNTL64]: Remove conditional code.
25557 (lockf64) [__NR_fcntl64]: Make code unconditional.
25558 (lockf64) [__ASSUME_FCNTL64]: Likewise.
25560 * sysdeps/unix/sysv/linux/kernel-features.h
25561 (__ASSUME_VFORK_SYSCALL): Remove all definitions.
25562 * sysdeps/unix/sysv/linux/i386/vfork.S (__vfork) [__NR_vfork]:
25563 Make code unconditional.
25564 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
25565 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
25566 * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S (__vfork)
25567 [__NR_vfork]: Make code unconditional.
25568 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
25569 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
25570 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork)
25571 [__NR_vfork]: Make code unconditional.
25572 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
25573 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
25575 2012-08-01 Roland McGrath <roland@hack.frob.com>
25577 * sysdeps/generic/sys/param.h (NGROUPS): Define only if [NGROUPS_MAX].
25578 (MAXSYMLINKS): Define only if [SYMLOOP_MAX].
25580 * misc/mkstemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
25581 Define mkstemp64 as an alias.
25582 * misc/mkstemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
25583 Define mkstemps64 as an alias.
25584 * misc/mkostemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
25585 Define mkostemp64 as an alias.
25586 * misc/mkostemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
25587 Define mkostemps64 as an alias.
25588 * misc/mkstemp64.c [defined O_LARGEFILE && O_LARGEFILE != 0]:
25589 Conditionalize body on this.
25590 * misc/mkostemp64.c: Likewise.
25591 * misc/mkostemps64.c: Likewise.
25592 * misc/mkstemps64.c: Likewise.
25593 * sysdeps/wordsize-64/mkstemp64.c: File removed.
25594 * sysdeps/wordsize-64/mkostemp64.c: File removed.
25595 * sysdeps/wordsize-64/mkostemp.c: File removed.
25596 * sysdeps/wordsize-64/mkstemp.c: File removed.
25597 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: File removed.
25598 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: File removed.
25599 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: File removed.
25600 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: File removed.
25603 * sysdeps/unix/sysv/linux/syscalls.list: Add getrlimit/ugetrlimit line.
25604 * sysdeps/unix/sysv/linux/i386/getrlimit.c: File removed.
25605 * sysdeps/unix/sysv/linux/powerpc/getrlimit.c: File removed.
25606 * sysdeps/unix/sysv/linux/sh/getrlimit.c: File removed.
25608 * sysdeps/unix/make-syscalls.sh: Emit uses of the versioned_symbol and
25609 compat_symbol macros from <shlib-compat.h> rather than the underlying
25610 default_symbol_version and symbol_version macros, so that DEFAULT
25611 lines in shlib-versions are respected.
25612 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Likewise.
25614 2012-08-01 Florian Weimer <fweimer@redhat.com>
25616 * posix/unistd.h (setuid, setreuid, seteuid, setresuid):
25617 Declare with warn_unused_result.
25618 (setgid, setregid, setegid, setresgid): Likewise.
25619 * sysdeps/unix/sysv/linux/sys/fsuid.h (setfsuid, setfsgid):
25621 * WUR-REPORT: Remove set*id functions.
25623 2012-07-31 Pino Toscano <toscano.pino@tiscali.it>
25625 * sysdeps/mach/hurd/renameat.c: New file, mostly copied from rename.c.
25627 2012-07-31 Roland McGrath <roland@hack.frob.com>
25630 * include/sys/socket.h (__libc_accept, __libc_accept4):
25631 Add attribute_hidden.
25632 * socket/accept4.c (__libc_accept4): Remove libc_hidden_def.
25634 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Conditionalize
25636 * inet/getnetgrent_r.c (setup): Likewise.
25638 * sysdeps/generic/siglist.h: Put SIGWINCH under #ifdef.
25640 2012-07-31 David S. Miller <davem@davemloft.net>
25642 * sysdeps/sparc/fpu/libm-test-ulps: Update.
25644 2012-07-31 Joseph Myers <joseph@codesourcery.com>
25647 * math/s_clog.c (__clog): Use __log1p if larger part has absolute
25648 value between 1.0 and 2.0 and smaller part has absolute value less
25650 * math/s_clog10.c (__clog10): Likewise.
25651 * math/s_clog10f.c (__clog10f): Likewise.
25652 * math/s_clog10l.c (__clog10l): Likewise.
25653 * math/s_clogf.c (__clogf): Likewise.
25654 * math/s_clogl.c (__clogl): Likewise.
25655 * math/libm-test.inc (clog_test): Add more tests.
25656 (clog10_test): Likewise.
25657 * sysdeps/i386/fpu/libm-test-ulps: Update.
25658 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25660 2012-07-31 Florian Weimer <fweimer@redhat.com>
25662 * stdlib/tst-secure-getenv.c: Use printf for error reporting.
25663 Exit with zero in case no suitable GID is found, and write a
25664 message to standard error.
25666 2012-07-30 Roland McGrath <roland@hack.frob.com>
25668 * sysdeps/generic/sys/param.h (MAXSYMLINKS): Define to SYMLOOP_MAX
25670 (NBBY, NGROUPS, CANBSIZ, NCARGS): New macros.
25671 (MAXPATHLEN): Removed.
25672 (NOGROUP, NODEV): New macros.
25673 (setbit, clrbit, isset, isclr): New macros.
25674 (howmany, roundup, powerof2): New macros.
25675 (DEV_BSIZE): New macro.
25677 * include/unistd.h: Add attribute_hidden on __libc_pwrite64.
25678 * sysdeps/posix/pwrite64.c: Remove libc_hidden_def (__libc_pwrite64).
25680 * sysdeps/ieee754/k_standard.c (__kernel_standard_l): Conditionalize
25681 definition on [!__NO_LONG_DOUBLE_MATH].
25683 * nss/nsswitch.c (__nss_lookup_function): Conditionalize use of
25684 PTR_MANGLE and PTR_DEMANGLE.
25686 * socket/accept4.c (accept4): Rename to __libc_accept4.
25687 Define accept4 as a weak alias.
25689 * sysdeps/posix/getcwd.c (__getcwd): Conditionalize d_type field use
25690 on [_DIRENT_HAVE_D_TYPE].
25691 * io/ftw.c (ftw_dir): Likewise.
25693 * io/xmknod.c (__xmknod): Don't check PATH for being null.
25695 * libio/genops.c (flush_cleanup): Move inside [_IO_MTSAFE_IO].
25697 * bits/signum.h (SIGSTOP, SIGCONT, SIGTSTP, SIGTTIN, SIGTTOU, SIGCHLD):
25698 Use the BSD numbers rather than the arbitrary ones we had.
25699 (SIGBUS, SIGIO, SIGPOLL, SIGPROF, SIGSYS): New macros.
25700 (SIGTRAP, SIGURG, SIGUSR1, SIGUSR2, SIGVTALRM): New macros.
25701 (SIGXCPU, SIGXFSZ): New macros.
25704 * elf/rtld.c (_rtld_global): Conditionalize .dl_ns[LM_ID_BASE]
25705 initializer on [_LIBC_REENTRANT].
25707 * iconv/iconv_charmap.c (charmap_conversion): Move ST, ADDR
25708 definitions inside [_POSIX_MAPPED_FILES].
25710 * posix/regex.c: Include <sys/param.h> for MIN/MAX.
25712 * dirent/opendir.c: Include <fcntl.h>.
25714 * bits/libc-lock.h (__libc_setspecific): Evaluate arguments.
25715 (__libc_getspecific): Likewise.
25716 (__libc_key_create): Likewise.
25718 * stdio-common/tmpfile64.c: Include <fcntl.h> first.
25719 [defined O_LARGEFILE && O_LARGEFILE != 0]: Conditionalize on this.
25720 * stdio-common/tmpfile.c [!defined O_LARGEFILE || O_LARGEFILE == 0]
25721 (tmpfile64): Define as alias.
25722 * sysdeps/wordsize-64/tmpfile.c: File removed.
25723 * sysdeps/wordsize-64/tmpfile64.c: File removed.
25724 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: File removed.
25725 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: File removed.
25727 * stdio-common/vfscanf.c: Include <stdbool.h>.
25728 * nss/makedb.c: Likewise.
25729 * stdio-common/_i18n_number.h: Likewise.
25730 * argp/argp-help.c: Likewise.
25731 * posix/wordexp.c: Likewise.
25732 * sysdeps/posix/spawni.c: Likewise.
25733 * nss/nss_files/files-initgroups.c: Likewise.
25734 * stdio-common/reg-modifier.c: Include <stdlib.h>.
25735 * nss/nss_files/files-initgroups.c: Likewise.
25736 * nss/nss_db/db-netgrp.c: Likewise.
25737 * nss/nss_db/db-initgroups.c: Likewise.
25738 * io/fchmodat.c: Include <sys/stat.h>.
25740 * sysdeps/generic/ldsodefs.h (struct rtld_global): Use
25741 __rtld_lock_define_recursive macro instead of __rtld_lock_recursive_t.
25743 * intl/loadmsgcat.c (_nl_load_domain): Don't use MAP_FAILED outside of
25746 * bits/stat.h: Fix inclusion guard to accept _FCNTL_H too.
25747 Add multiple inclusion protection.
25749 2012-07-27 David S. Miller <davem@davemloft.net>
25751 * sysdeps/sparc/fpu/libm-test-ulps: Update.
25753 2012-07-27 Gary Benson <gbenson@redhat.com>
25756 * elf/rtld.c: Include <stap-probe.h>.
25757 (dl_main): Added static probes "init_start" and "init_complete".
25758 * elf/dl-load.c: Include <stap-probe.h>.
25759 (lose): Take new parameter "nsid".
25760 Added static probe "map_failed".
25761 (_dl_map_object_from_fd): Pass namespace id to lose.
25762 Added static probe "map_start".
25763 (open_verify): Pass namespace id to lose.
25764 * elf/dl-open.c: Include <stap-probe.h>.
25765 (dl_open_worker) Added static probes "map_complete", "reloc_start"
25766 and "reloc_complete".
25767 * elf/dl-close.c: Include <stap-probe.h>.
25768 (_dl_close_worker): Added static probes "unmap_start" and
25770 * elf/rtld-debugger-interface.txt: New file documenting the above.
25772 2012-07-26 Roland McGrath <roland@hack.frob.com>
25774 * sunrpc/rpc_hout.c (pdeclaration): Call f_print with a "%s" format
25775 rather than a string variable.
25776 * sunrpc/rpc_main.c (h_output): Likewise.
25777 * sunrpc/rpc_svcout.c (write_real_program): Likewise.
25779 2012-07-26 Pino Toscano <toscano.pino@tiscali.it>
25781 * inet/check_native.c: New file.
25783 2012-07-26 Joseph Myers <joseph@codesourcery.com>
25786 * math/s_clog.c (__clog): Use __log1p or direct log1p calculation
25787 if larger part has absolute value 1.0.
25788 * math/s_clog10.c (__clog10): Likewise.
25789 * math/s_clog10f.c (__clog10f): Likewise.
25790 * math/s_clog10l.c (__clog10l): Likewise.
25791 * math/s_clogf.c (__clogf): Likewise.
25792 * math/s_clogl.c (__clogl): Likewise.
25793 * math/libm-test.inc (clog_test): Add more tests.
25794 (clog10_test): Likewise.
25795 * sysdeps/i386/fpu/libm-test-ulps: Update.
25796 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25798 * elf/tst-auditmod1.c (pltenter): Remove all definitions of macro.
25799 (pltexit): Likewise.
25800 (La_regs): Likewise.
25801 (La_retval): Likewise.
25802 (int_retval): Likewise.
25803 Update #error for removed macros to refer only to definitions in
25805 * elf/tst-auditmod3b.c (pltenter): Remove all definitions of
25807 (pltexit): Likewise.
25808 (La_regs): Likewise.
25809 (La_retval): Likewise.
25810 (int_retval): Likewise.
25811 * elf/tst-auditmod4b.c (pltenter): Remove all definitions of
25813 (pltexit): Likewise.
25814 (La_regs): Likewise.
25815 (La_retval): Likewise.
25816 (int_retval): Likewise.
25817 * elf/tst-auditmod5b.c (pltenter): Remove all definitions of
25819 (pltexit): Likewise.
25820 (La_regs): Likewise.
25821 (La_retval): Likewise.
25822 (int_retval): Likewise.
25823 * elf/tst-auditmod6b.c (pltenter): Remove all definitions of
25825 (pltexit): Likewise.
25826 (La_regs): Likewise.
25827 (La_retval): Likewise.
25828 (int_retval): Likewise.
25829 * elf/tst-auditmod6c.c (pltenter): Remove all definitions of
25831 (pltexit): Likewise.
25832 (La_regs): Likewise.
25833 (La_retval): Likewise.
25834 (int_retval): Likewise.
25835 * elf/tst-auditmod7b.c (pltenter): Remove all definitions of
25837 (pltexit): Likewise.
25838 (La_regs): Likewise.
25839 (La_retval): Likewise.
25840 (int_retval): Likewise.
25841 * sysdeps/generic/tst-audit.h: Update comment to refer only to
25842 macro definitions in tst-audit.h.
25843 * sysdeps/i386/tst-audit.h: New file.
25844 * sysdeps/powerpc/powerpc32/tst-audit.h: Likewise.
25845 * sysdeps/powerpc/powerpc64/tst-audit.h: Likewise.
25846 * sysdeps/s390/s390-32/tst-audit.h: Likewise.
25847 * sysdeps/s390/s390-64/tst-audit.h: Likewise.
25848 * sysdeps/sh/tst-audit.h: Likewise.
25849 * sysdeps/sparc/sparc32/tst-audit.h: Likewise.
25850 * sysdeps/sparc/sparc64/tst-audit.h: Likewise.
25851 * sysdeps/x86_64/tst-audit.h: Likewise.
25853 2012-07-26 Andreas Jaeger <aj@suse.de>
25855 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Add __THROW for
25858 * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes): Add
25859 new value PTRACE_EVENT_SECCOMP from Linux 3.5.
25860 (__ptrace_setoptions): Add new value PTRACE_O_TRACESECCOMP, adjust
25862 * sysdeps/unix/sysv/linux/s390/bits/ptrace.h: Likewise.
25863 * sysdeps/unix/sysv/linux/sparc/bits/ptrace.h: Likewise.
25864 * sysdeps/unix/sysv/linux/powerpc/bits/ptrace.h: Likewise.
25866 * sysdeps/unix/sysv/linux/sys/epoll.h (EPOLLWAKEUP): Add new
25869 * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add
25871 (si_call_addr, si_syscall, si_arch): Define new macro.
25872 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Add
25874 (si_call_addr, si_syscall, si_arch): Define new marcro.
25875 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (siginfo_t): Add
25877 (si_call_addr, si_syscall, si_arch): Define new macro.
25878 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (struct): Add
25880 (si_call_addr, si_syscall, si_arch): Define new macro.
25882 2012-07-25 Joseph Myers <joseph@codesourcery.com>
25885 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
25886 Change to 2.4.21 where previously 2.4.1.
25887 * sysdeps/unix/sysv/linux/configure: Regenerated.
25888 * sysdeps/unix/sysv/linux/kernel-features.h [(__powerpc__ ||
25889 __sh__) && !__powerpc64__] (__ASSUME_FCNTL64): Do not condition on
25890 Linux kernel version.
25891 (__ASSUME_STD_AUXV): Remove.
25892 [__powerpc__] (__ASSUME_VFORK_SYSCALL): Do not condition on Linux
25894 [__powerpc__ && !__powerpc64] (__ASSUME_MMAP2_SYSCALL): Likewise.
25895 (__ASSUME_NEW_PRCTL_SYSCALL): Remove.
25896 (__ASSUME_FIXED_CLONE_SYSCALL): Likewise.
25897 (__ASSUME_NEW_RT_SIGRETURN_SYSCALL): Likewise.
25898 (__ASSUME_NETLINK_SUPPORT): Likewise.
25899 * nscd/gai.c [NEED_NETLINK && __ASSUME_NETLINK_SUPPORT == 0]
25900 (__no_netlink_support): Remove conditional definition.
25901 * sysdeps/unix/sysv/linux/check_pf.c (__no_netlink_support):
25903 (__check_pf) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
25904 [__ASSUME_NETLINK_SUPPORT]: Make code unconditional.
25905 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_NETLINK_SUPPORT]
25906 (if_nameindex_ioctl): Remove.
25907 (if_nameindex_netlink): Do not handle __no_netlink_support.
25908 (if_nameindex) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
25910 * sysdeps/unix/sysv/linux/ifaddrs.c [!__ASSUME_NETLINK_SUPPORT]:
25911 Remove conditional code.
25912 (__netlink_open) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
25914 (getifaddrs_internal) [__ASSUME_NETLINK_SUPPORT]: Make code
25916 [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
25917 [__ASSUME_NETLINK_SUPPORT] (freeifaddrs): Make code unconditional.
25918 * sysdeps/unix/sysv/linux/netlinkaccess.h (__no_netlink_support):
25920 * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c
25921 [!__ASSUME_STD_AUXV]: Remove conditional code.
25922 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone)
25923 [!__ASSUME_FIXED_CLONE_SYSCALL]: Remove conditional code.
25924 [__ASSUME_FIXED_CLONE_SYSCALL]: Make code unconditional.
25925 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c
25926 [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_mask_handler): Remove.
25927 (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
25929 [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
25930 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
25931 [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_nomask_handler): Remove.
25932 (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
25934 [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
25935 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
25936 (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
25938 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
25939 (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
25941 * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S
25942 (__novec_getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
25943 code unconditional.
25944 (__novec_getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
25946 (__getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
25948 (__getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
25950 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
25951 (__makecontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
25953 (__makecontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
25955 * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S
25956 (__novec_setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
25957 code unconditional.
25958 (__novec_setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
25960 (__setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
25962 (__setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
25964 * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S
25965 (__novec_swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
25966 code unconditional.
25967 (__novec_swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
25969 (__swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
25971 (__swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
25974 2012-07-25 Andreas Schwab <schwab@linux-m68k.org>
25976 * sysdeps/unix/sysv/linux/i386/accept4.S: Remove pseudo_end label.
25977 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: Likewise.
25978 * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
25979 * sysdeps/unix/sysv/linux/i386/epoll_pwait.S: Likewise.
25980 * sysdeps/unix/sysv/linux/i386/getcontext.S: Likewise.
25981 * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
25982 * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
25983 * sysdeps/unix/sysv/linux/i386/semtimedop.S: Likewise.
25984 * sysdeps/unix/sysv/linux/i386/setcontext.S: Likewise.
25985 * sysdeps/unix/sysv/linux/i386/socket.S: Likewise.
25986 * sysdeps/unix/sysv/linux/i386/swapcontext.S: Likewise.
25987 * sysdeps/unix/sysv/linux/i386/syscall.S: Likewise.
25988 * sysdeps/unix/sysv/linux/i386/sysdep.h (PSEUDO): Likewise.
25989 * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
25990 * sysdeps/unix/sysv/linux/x86_64/clone.S: Likewise.
25991 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Likewise.
25992 * sysdeps/unix/sysv/linux/x86_64/setcontext.S: Likewise.
25993 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Likewise.
25994 * sysdeps/unix/sysv/linux/x86_64/syscall.S: Likewise.
25995 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PSEUDO): Likewise.
25996 * sysdeps/unix/sysv/linux/x86_64/swapcontext.S: Likewise.
25997 * sysdeps/unix/sysv/linux/x86_64/vfork.S: Likewise.
25998 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
26000 2012-07-25 Florian Weimer <fweimer@redhat.com>
26002 * Versions.def: Add GLIBC_2.17.
26003 * stdlib/stdlib.h: Rename __secure_getenv to secure_getenv.
26004 * include/stdlib.h: Rename __secure_getenv to secure_getenv.
26005 Introduce __libc_secure_getenv.
26006 * stdlib/Versions (2.17): Add secure_getenv
26007 (GLIBC_PRIVATE): Add __libc_secure_getenv.
26008 * stdlib/secure-getenv.c: Rename __secure_getenv to
26009 __libc_secure_getenv. Add secure_getenv alias. Add compatibility
26010 symbol __secure_getenv for GLIBC_2.0.
26011 * stdlib/tst-secure-getenv.c: New.
26012 * stdlib/Makefile (tests): Add testcase.
26013 * manual/startup.texi (Environment Access): Document
26015 * hesiod/hesiod.c (hesiod_init): Rename __secure_getenv to
26016 __libc_secure_getenv.
26017 * inet/ruserpass.c (ruserpass): Likewise.
26018 * malloc/mtrace.c (mtrace): Likewise.
26019 * sysdeps/mach/hurd/tmpfile.c (__tmpfile): Likewise.
26020 * sysdeps/posix/libc_fatal.c (__libc_fatal): Likewise.
26021 * sysdeps/posix/sysconf.c (__sysconf__check_spec): Likewise.
26022 * sysdeps/posix/tempname.c: Likewise. Evaluate
26023 HAVE_SECURE_GETENV.
26024 * sysdeps/unix/sysv/linux/libc_fatal.c (__libc_message): Rename
26025 __secure_getenv to __libc_secure_getenv.
26026 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add secure_getenv.
26027 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
26029 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
26031 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
26032 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
26033 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
26034 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
26035 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
26036 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
26037 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
26039 2012-07-25 Joseph Myers <joseph@codesourcery.com>
26041 * sysdeps/generic/ldsodefs.h (struct La_i86_regs): Remove.
26042 (struct La_i86_retval): Likewise.
26043 (struct La_x86_64_regs): Likewise.
26044 (struct La_x86_64_retval): Likewise.
26045 (struct La_x32_regs): Likewise.
26046 (struct La_x32_retval): Likewise.
26047 (struct La_ppc32_regs): Likewise.
26048 (struct La_ppc32_retval): Likewise.
26049 (struct La_ppc64_regs): Likewise.
26050 (struct La_ppc64_retval): Likewise.
26051 (struct La_sh_regs): Likewise.
26052 (struct La_sh_retval): Likewise.
26053 (struct La_s390_32_regs): Likewise.
26054 (struct La_s390_32_retval): Likewise.
26055 (struct La_s390_64_regs): Likewise.
26056 (struct La_s390_64_retval): Likewise.
26057 (struct La_sparc32_regs): Likewise.
26058 (struct La_sparc32_retval): Likewise.
26059 (struct La_sparc64_regs): Likewise.
26060 (struct La_sparc64_retval): Likewise.
26061 (struct audit_ifaces): Remove architecture-specific pltenter and
26063 * sysdeps/i386/ldsodefs.h: New file.
26064 * sysdeps/powerpc/ldsodefs.h: Likewise.
26065 * sysdeps/s390/ldsodefs.h: Likewise.
26066 * sysdeps/sh/ldsodefs.h: Likewise.
26067 * sysdeps/sparc/ldsodefs.h: Likewise.
26068 * sysdeps/x86_64/ldsodefs.h: Likewise.
26070 2012-07-25 Marek Polacek <polacek@redhat.com>
26073 * math/libm-test.inc (yn_test): Add another test.
26074 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Set errno
26075 to ERANGE when the result is +-Inf.
26076 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
26077 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_ynf): Likewise.
26078 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Likewise.
26079 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_yn): Likewise.
26081 2012-07-24 Joseph Myers <joseph@codesourcery.com>
26083 * conform/data/time.h-data (NULL): Use macro-constant. Require
26085 (CLOCKS_PER_SEC): Use macro instead of constant. Specify type as
26087 [ISO11] (TIME_UTC): Use macro-int-constant. Require value > 0.
26089 2012-07-23 Thomas Schwinge <thomas@codesourcery.com>
26091 * configure.in <sysdeps resolving>: Correct printing
26093 * configure: Regenerate.
26095 2012-07-22 Thomas Schwinge <thomas@codesourcery.com>
26097 * math/w_ilogb.c: Include <limits.h>.
26098 * math/w_ilogbl.c: Likewise.
26100 2012-07-20 Joseph Myers <joseph@codesourcery.com>
26102 * manual/lang.texi (__va_copy): Document primarily as ISO C99
26103 va_copy. Document allowing for unavailable va_copy only as
26104 pre-C99 compatibility.
26105 * manual/string.texi (Copying and Concatenation): Use va_copy
26106 instead of __va_copy in concat example.
26108 2012-07-20 Pino Toscano <toscano.pino@tiscali.it>
26110 * sysdeps/mach/hurd/sendto.c (create_address_port): New subroutine.
26111 (__sendto): Use create_address_port. Initialize APORT and deallocate
26114 * sysdeps/mach/hurd/llistxattr.c: New file, copied from listxattr.c
26115 with O_NOLINK passed to __file_name_lookup.
26117 * sysdeps/mach/hurd/lremovexattr.c: New file, copied from removexattr.c
26118 with O_NOLINK passed to __file_name_lookup.
26120 * sysdeps/mach/hurd/getgroups.c: Return -1 and set EINVAL for
26121 negative N or less than NGIDS.
26123 * sysdeps/mach/hurd/getlogin_r.c: Make LOGIN non-static and change its
26124 type to string_t. Set ERANGE as errno and return it if NAME is not big
26125 enough. Use memcpy instead of strncpy.
26127 2012-07-20 Joseph Myers <joseph@codesourcery.com>
26129 * elf/Makefile (check-data): Remove.
26130 (localplt.data): New vpath directive.
26131 ($(objpfx)check-localplt.out): Use localplt.data from vpath
26132 instead of $(check-data).
26133 * scripts/data/localplt-generic.data: Move to ...
26134 * sysdeps/generic/localplt.data: ... here.
26135 * scripts/data/localplt-i386-linux-gnu.data: Move to ...
26136 * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: ... here.
26137 * scripts/data/localplt-powerpc-linux-gnu.data: Move to ...
26138 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
26140 * scripts/data/localplt-powerpc64-linux-gnu.data: Move to ...
26141 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
26143 * scripts/data/localplt-s390-linux-gnu.data: Move to ...
26144 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data:
26146 * scripts/data/localplt-s390x-linux-gnu.data: Move to ...
26147 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
26149 * scripts/data/localplt-sparc-linux-gnu.data: Move to ...
26150 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data:
26152 * scripts/data/localplt-sparc64-linux-gnu.data: Move to ...
26153 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data:
26156 2012-07-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
26158 * sysdeps/powerpc/tls-macros.h: Split PowerPC definitions in
26159 PPC32 and PPC64 files.
26160 * sysdeps/powerpc/powerpc32/tls-macros.h: New file.
26161 * sysdeps/powerpc/powerpc64/tls-macros.h: Likewise.
26163 2012-07-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
26165 * sysdeps/unix/sysv/linux/s390/s390-32/makecontext.c: Move
26166 __makecontext_ret to ...
26167 * sysdeps/unix/sysv/linux/s390/s390-32/__makecontext_ret.S:
26168 ... here and call exit if uc_link is NULL. New file.
26169 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile: Add
26170 __makecontext_ret.S.
26171 * sysdeps/unix/sysv/linux/s390/s390-64/makecontext.c: Move
26172 __makecontext_ret to ...
26173 * sysdeps/unix/sysv/linux/s390/s390-64/__makecontext_ret.S:
26174 ... here and call exit if uc_link is NULL. New file.
26175 * sysdeps/unix/sysv/linux/s390/s390-64/Makefile: Add
26176 __makecontext_ret.S.
26178 2012-07-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
26180 * elf/elf.h (R_390_IRELATIVE): New definition.
26181 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Invoke the
26182 resolver function for IFUNC symbols. Support R_390_IRELATIVE.
26183 (elf_machine_lazy_rel): Support R_390_IRELATIVE.
26184 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
26185 (elf_machine_lazy_rel): Likewise.
26186 * sysdeps/s390/dl-irel.h: New file.
26187 * sysdeps/s390/s390-64/memcpy.S: New asm code.
26188 * sysdeps/s390/s390-64/memset.S: New asm code.
26189 * sysdeps/s390/s390-64/memcmp.S: New asm code.
26190 * sysdeps/s390/s390-64/multiarch/memset.S: New file.
26191 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: New file.
26192 * sysdeps/s390/s390-64/multiarch/memcmp.S: New file.
26193 * sysdeps/s390/s390-64/multiarch/memcpy.S: New file.
26194 * sysdeps/s390/s390-64/multiarch/Makefile: New file.
26195 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: New file.
26196 * sysdeps/s390/s390-32/multiarch/Makefile: New file.
26197 * sysdeps/s390/s390-32/multiarch/memcmp.S: New file.
26198 * sysdeps/s390/s390-32/multiarch/memcpy.S: New file.
26199 * sysdeps/s390/s390-32/multiarch/memset.S: New file.
26200 * sysdeps/s390/s390-32/memcpy.S: New asm code.
26201 * sysdeps/s390/s390-32/memset.S: New asm code.
26202 * sysdeps/s390/s390-32/memcmp.S: New asm code.
26204 2012-07-17 Marek Polacek <polacek@redhat.com>
26207 * sysdeps/s390/s390-32/configure.in: Remove TLS check.
26208 * sysdeps/s390/s390-64/configure.in: Likewise.
26209 * sysdeps/sparc/configure.in: Likewise.
26210 * sysdeps/powerpc/powerpc32/configure.in: Likewise.
26211 * sysdeps/powerpc/powerpc64/configure.in: Likewise.
26212 * sysdeps/i386/configure.in: Likewise.
26213 * sysdeps/x86_64/configure.in: Likewise.
26214 * sysdeps/sh/configure.in: Likewise.
26215 * sysdeps/s390/s390-32/configure: Regenerated.
26216 * sysdeps/s390/s390-64/configure: Likewise.
26217 * sysdeps/x86_64/configure: Likewise.
26218 * sysdeps/sh/configure: Likewise.
26219 * sysdeps/powerpc/powerpc64/configure: Likewise.
26220 * sysdeps/powerpc/powerpc32/configure: Likewise.
26221 * sysdeps/sparc/configure: Likwise.
26222 * sysdeps/i386/configure: Likewise.
26224 * elf/dl-open.c: Comment fixes.
26226 2012-07-17 Joseph Myers <joseph@codesourcery.com>
26228 * Makefile [CXX] (check-data): Remove.
26229 [CXX] (c++-types.data): New vpath directive.
26230 [CXX] ($(objpfx)c++-types-check.out): Use c++-types.data from
26231 vpath. Do not allow for C++ type data being missing.
26232 * scripts/data/c++-types-alpha-linux-gnu.data: Move to
26233 ports/sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data.
26234 * scripts/data/c++-types-ia64-linux-gnu.data: Move to
26235 ports/sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data.
26236 * scripts/data/c++-types-i386-linux-gnu.data: Move to ...
26237 * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: ... here.
26238 * scripts/data/c++-types-powerpc-linux-gnu.data: Move to ...
26239 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
26241 * scripts/data/c++-types-powerpc64-linux-gnu.data: Move to ...
26242 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
26244 * scripts/data/c++-types-s390-linux-gnu.data: Move to ...
26245 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data:
26247 * scripts/data/c++-types-s390x-linux-gnu.data: Move to ...
26248 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data:
26250 * scripts/data/c++-types-sparc-linux-gnu.data: Move to ...
26251 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data:
26253 * scripts/data/c++-types-sparc64-linux-gnu.data: Move to ...
26254 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data:
26256 * scripts/data/c++-types-x32-linux-gnu.data: Move to ...
26257 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data:
26259 * scripts/data/c++-types-x86_64-linux-gnu.data: Move to ...
26260 * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: ... here.
26262 * elf/tls-macros.h (TLS_LE): Move architecture-specific
26263 definitions to architecture-specific files.
26264 (TLS_IE): Likewise.
26265 (TLS_LD): Likewise.
26266 (TLS_GD): Likewise.
26267 * sysdeps/i386/tls-macros.h: New file.
26268 * sysdeps/powerpc/tls-macros.h: Likewise.
26269 * sysdeps/s390/s390-32/tls-macros.h: Likewise.
26270 * sysdeps/s390/s390-64/tls-macros.h: Likewise.
26271 * sysdeps/sh/tls-macros.h: Likewise.
26272 * sysdeps/sparc/sparc32/tls-macros.h: Likewise.
26273 * sysdeps/sparc/sparc64/tls-macros.h: Likewise.
26274 * sysdeps/x86_64/tls-macros.h: Likewise.
26276 2012-07-17 Thomas Schwinge <thomas@codesourcery.com>
26278 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Preserve
26279 zero value for regular exit case.
26281 * sysdeps/unix/sysv/linux/x86_64/__start_context.S
26282 (__start_context): Preserve zero value for regular exit case.
26284 2012-07-17 Thomas Schwinge <thomas@codesourcery.com>
26285 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
26287 * manual/setjmp.texi (setcontext): Clarify normal process
26288 termination when uc_link is the null pointer.
26289 * stdlib/tst-makecontext.c (cf): Exercise this: remove explicit
26292 2012-07-16 Andreas Schwab <schwab@linux-m68k.org>
26294 * stdlib/bug-getcontext.c (do_test): Don't test FE_ALL_EXCEPT in
26295 preprocessor. Test for each exception mask separately.
26297 2012-07-16 Andreas Jaeger <aj@suse.de>
26299 * po/ru.po: Update from translation team.
26301 2012-07-15 Joseph Myers <joseph@codesourcery.com>
26303 * conform/data/string.h-data (NULL): Use macro-constant. Require
26305 [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
26306 (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
26307 (wcs*): Change to wcs[abcdefghijklmnopqrstuvwxyz]*.
26308 (mem[abcdefghijklmnopqrstuvwxyz]*): Allow.
26309 [ISO || ISO99 || ISO11] (*_t): Do not allow.
26311 2012-07-13 Andreas Jaeger <aj@suse.de>
26313 * po/fr.po: Update from translation team.
26315 2012-07-12 Marek Polacek <polacek@redhat.com>
26318 * math/libm-test.inc (yn_test): Add test for BZ #14173.
26319 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Correct
26322 2012-07-12 Joseph Myers <joseph@codesourcery.com>
26325 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
26326 Change to 2.4.1 where previously 2.4.0.
26327 * sysdeps/unix/sysv/linux/configure: Regenerated.
26328 * sysdeps/unix/sysv/linux/kernel-features.h [!__sh__]
26329 (__ASSUME_ST_INO_64_BIT): Do not condition definition on kernel
26331 [__i386__ || __sparc__] (__ASSUME_FCNTL64): Likewise.
26332 (__ASSUME_AT_CLKTCK): Remove.
26333 (__ASSUME_AT_PAGESIZE): Likewise.
26334 (__ASSUME_AT_XID): Likewise.
26335 (__ASSUME_GETDENTS64_SYSCALL): Define unconditionally.
26336 [__i386__] (__ASSUME_VFORK_SYSCALL): Define unconditionally.
26337 * sysdeps/unix/sysv/linux/ldsodefs.h (HAVE_AUX_XID): Define
26339 (HAVE_AUX_PAGESIZE): Likewise.
26340 * sysdeps/unix/sysv/linux/prof-freq.c (__profile_frequency)
26341 [__ASSUME_AT_CLKTCK]: Make code unconditional.
26342 [!__ASSUME_AT_CLKTCK]: Remove conditional code.
26344 2012-07-12 Jeroen van Bemmel <jvb127@gmail.com>
26347 * sysdeps/posix/getaddrinfo.c (gaih_inet): Increase the size of
26348 the temporary buffer used to invoke __gethostbyname2_r,
26349 __gethostbyaddr_r and gethostbyname4_r to make room for struct
26350 host_data / struct gaih_addrtuple.
26351 * resolv/nss_dns/dns-host.c (global scope): Move definition of
26352 implementation constants MAX_NR_ALIASES and MAX_NR_ADDRS to
26353 header file nss/nsswitch.h.
26354 * nss/nsswitch.h (global scope): Add definition of implementation
26355 constants MAX_NR_ALIASES and MAX_NR_ADDRS (moved from
26356 resolv/nss_dns/dns-host.c).
26358 2012-07-11 Andreas Jaeger <aj@suse.de>
26360 * po/fr.po: Update from translation team.
26362 * po/sv.po: Update from translation team
26363 * po/fr.po: Another update from translation team.
26365 2012-07-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
26367 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Do not call sinh and cosh
26368 for subnormals or multiply small sinh result by itself.
26369 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
26370 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
26372 2012-07-11 David S. Miller <davem@davemloft.net>
26374 * sysdeps/sparc/fpu/libm-test-ulps: Update.
26376 2012-07-10 Andreas Schwab <schwab@linux-m68k.org>
26379 * misc/sys/syslog.h (LOG_MAKEPRI): Don't shift first argument.
26380 (INTERNAL_MARK): Shift it here.
26382 2012-07-10 Marek Polacek <polacek@redhat.com>
26385 * configure.in (libc_cv_asm_global_directive): Remove test. Replace
26386 libc_cv_asm_global_directive with .globl.
26387 * configure: Regenerated.
26388 * sysdeps/i386/configure.in: Replace libc_cv_asm_global_directive
26390 * sysdeps/i386/configure: Regenerated.
26391 * sysdeps/x86_64/configure.in: Replace libc_cv_asm_global_directive
26393 * sysdeps/x86_64/configure: Regenerated.
26394 * config.h.in: Do not undefine ASM_GLOBAL_DIRECTIVE.
26395 * include/libc-symbols.h: Replace ASM_GLOBAL_DIRECTIVE with .globl.
26396 * elf/tst-unique2mod2.c: Likewise.
26397 * elf/tst-unique2mod1.c: Likewise.
26398 * elf/tst-unique1mod2.c: Likewise.
26399 * elf/tst-unique1mod1.c: Likewise.
26400 * sysdeps/s390/s390-32/sysdep.h: Likewise.
26401 * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
26402 * sysdeps/s390/s390-64/sysdep.h: Likewise.
26403 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
26404 * sysdeps/mach/sysdep.h: Likewise.
26405 * sysdeps/i386/sysdep.h: Likewise.
26406 * sysdeps/i386/i386-mcount.S: Likewise.
26407 * sysdeps/x86_64/_mcount.S: Likewise.
26408 * sysdeps/x86_64/sysdep.h: Likewise.
26409 * sysdeps/sh/_mcount.S: Likewise.
26410 * sysdeps/sh/sysdep.h: Likewise.
26411 * sysdeps/powerpc/powerpc32/gprsave1.S: Likewise.
26412 * sysdeps/powerpc/powerpc32/fpu/fprrest.S: Likewise.
26413 * sysdeps/powerpc/powerpc32/fpu/fprsave.S: Likewise.
26414 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
26415 * sysdeps/powerpc/powerpc32/gprrest1.S: Likewise.
26416 * sysdeps/powerpc/powerpc32/gprsave0.S: Likewise.
26417 * sysdeps/powerpc/powerpc32/gprrest0.S: Likewise.
26418 * locale/localeinfo.h: Likewise.
26419 (_NL_CURRENT_DEFINE_STRINGIFY): Delete macro.
26420 (_NL_CURRENT_DEFINE_STRINGIFY_1): Likewise.
26422 2012-07-09 Roland McGrath <roland@hack.frob.com>
26425 * manual/charset.texi (Extended Char Intro): Word use fix, "operating
26427 * manual/message.texi (The Uniforum approach): Likewise.
26428 * manual/charset.texi (Extended Char Intro): Spelling fix, "affected".
26429 (glibc iconv Implementation): Likewise.
26431 2012-07-09 Joseph Myers <joseph@codesourcery.com>
26434 * math/s_clog.c (__clog): Avoid scaling a value down where that
26435 could result in underflow.
26436 * math/s_clog10.c (__clog10): Likewise.
26437 * math/s_clog10f.c (__clog10f): Likewise.
26438 * math/s_clog10l.c (__clog10l): Likewise.
26439 * math/s_clogf.c (__clogf): Likewise.
26440 * math/s_clogl.c (__clogl): Likewise.
26441 * math/libm-test.inc (clog_test): Add more tests.
26442 (clog10_test): Likewise.
26443 * sysdeps/i386/fpu/libm-test-ulps: Update.
26444 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26446 2012-07-06 Andreas Schwab <schwab@linux-m68k.org>
26449 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Shift
26450 by 7 not 8 to examine high bit of fractional part.
26453 * sysdeps/powerpc/powerpc32/ppc-mcount.S [SHARED]: Don't use PLT
26454 for call to __mcount_internal.
26455 * sysdeps/powerpc/powerpc32/Makefile (sysdep_routines)
26456 (shared-only-routines) [$(subdir) = gmon]: Add compat-ppc-mcount.
26457 * sysdeps/powerpc/powerpc32/compat-ppc-mcount.S: New file.
26459 2012-07-06 Joseph Myers <joseph@codesourcery.com>
26462 * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Use linear
26463 approximation for values within 0x1p-13f of an odd multiple of
26465 * math/libm-test.inc (tan_test): Do not allow spurious underflow
26466 exception. Add more tests.
26467 * sysdeps/i386/fpu/libm-test-ulps: Update.
26470 * sysdeps/i386/fpu/s_expm1.S (__expm1): Check for large negative
26471 inputs and return -1 for them. Do not check for +Inf in case not
26472 reachable for +Inf.
26473 * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
26474 * sysdeps/i386/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not define.
26475 (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
26476 and return -1 for them. Do not check for +Inf in case not
26477 reachable for +Inf.
26478 * sysdeps/x86_64/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not
26480 (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
26481 and return -1 for them. Do not check for +Inf in case not
26482 reachable for +Inf.
26483 * math/libm-test.inc (expm1_test): Add more tests. Do not allow
26484 spurious underflow.
26485 * sysdeps/i386/fpu/libm-test-ulps: Update.
26486 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26488 2012-07-06 Mike Frysinger <vapier@gentoo.org>
26490 * sunrpc/rpc_clntout.c: Change <rpc/types.h> to "rpc/types.h".
26492 2012-07-05 Joseph Myers <joseph@codesourcery.com>
26496 * math/s_csqrt.c (__csqrt): Avoid multiplying by 0.5 where this
26497 could result in spurious underflow. Scale down values above
26498 DBL_MAX / 4.0 instead of DBL_MAX / 2.0.
26499 * math/s_csqrtf.c (__csqrtf): Likewise.
26500 * math/s_csqrtl.c (__csqrtl): Likewise.
26501 * math/libm-test.inc (csqrt_test): Add more tests. Do not allow
26502 spurious underflow.
26503 * sysdeps/i386/fpu/libm-test-ulps: Update.
26504 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26506 2012-07-04 Andreas Schwab <schwab@linux-m68k.org>
26508 * catgets/Makefile ($(objpfx)de.msg): Use xopen-msg.awk instead of
26510 * catgets/xopen-msg.awk: New file.
26511 * catgets/xopen-msg.sed: Removed.
26513 * intl/Makefile ($(objpfx)msgs.h): Use po2test.awk instead of
26515 * intl/po2test.awk: New file.
26516 * intl/po2test.sed: Removed.
26518 2012-07-04 Joseph Myers <joseph@codesourcery.com>
26521 * math/s_ctan.c (__ctan): Do not call sinh and cosh for subnormals
26522 or multiply small sinh result by itself.
26523 * math/s_ctanf.c (__ctanf): Likewise.
26524 * math/s_ctanh.c (__ctanh): Likewise.
26525 * math/s_ctanhf.c (__ctanhf): Likewise.
26526 * math/s_ctanhl.c (__ctanhl): Likewise.
26527 * math/s_ctanl.c (__ctanl): Likewise.
26528 * math/libm-test.inc (ctan_test_tonearest): New function.
26529 (ctan_test_towardzero): Likewise.
26530 (ctan_test_downward): Likewise.
26531 (ctan_test_upward): Likewise.
26532 (ctanh_test_tonearest): Likewise.
26533 (ctanh_test_towardzero): Likewise.
26534 (ctanh_test_downward): Likewise.
26535 (ctanh_test_upward): Likewise.
26536 (main): Call these new functions.
26537 * sysdeps/i386/fpu/libm-test-ulps: Update.
26538 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26540 2012-07-03 Mike Frysinger <vapier@gentoo.org>
26542 * .gitignore: Delete /ports entry.
26544 2012-07-03 Andreas Jaeger <aj@suse.de>
26546 * po/bg.po: Update from translation team.
26547 * po/cs.po: Likewise.
26548 * po/de.po: Likewise.
26549 * po/hr.po: Likewise.
26550 * po/nl.pl: Likewise.
26551 * po/pl.po: Likewise.
26552 * po/vi.po: Likewise.
26554 2012-07-03 Joseph Myers <joseph@codesourcery.com>
26556 * Makeconfig [!+link] (+link-before-libc): New variable.
26557 [!+link] (+link-after-libc): Likewise.
26558 [!+link] (+link-tests): Likewise.
26559 [!+link] (+link): Define in terms of $(+link-before-libc) and
26560 $(+link-after-libc).
26561 [!+link-static] (+link-static-before-libc): New variable.
26562 [!+link-static] (+link-static-after-libc): Likewise.
26563 [!+link-static] (+link-static-tests): Likewise.
26564 [!+link-static] (+link-static): Define in terms of
26565 $(+link-static-before-libc) and $(+link-static-after-libc).
26566 [build-shared] (link-libc-before-gnulib): New variable.
26567 [build-shared] (link-libc-tests): Likewise.
26568 [build-shared] (link-libc): Define in terms of
26569 $(link-libc-before-gnulib).
26570 [!build-shared] (link-libc-tests): New variable.
26571 (link-libc-static-tests): New variable.
26572 [!gnulib] (gnulib-arch): New variable.
26573 [!gnulib] (gnulib-tests): Likewise.
26574 [!gnulib] (static-gnulib-arch): Likewise.
26575 [!gnulib] (static-gnulib-tests): Likewise.
26576 [!gnulib] (gnulib): Use $(gnulib-arch). Do not use $(libgcc_eh).
26577 Define with "=" instead of ":=".
26578 [!gnulib] (static-gnulib): Use $(static-gnulib-arch). Do not use
26579 -lgcc_eh $(libunwind). Define with "=" instead of ":=".
26580 * Rules (binaries-all-notests): New variable.
26581 (binaries-all-tests): Likewise.
26582 (binaries-static-notests): Likewise.
26583 (binaries-static-tests): Likewise.
26584 (binaries-all): Define using $(binaries-all-notests) and
26585 $(binaries-all-tests).
26586 (binaries-static): Define using $(binaries-static-notests) and
26587 $(binaries-static-tests).
26588 (binaries-shared-tests): New variable.
26589 (binaries-shared-notests): Likewise.
26590 (binaries-shared): Remove variable.
26591 ($(addprefix $(objpfx),$(binaries-shared-notests))): New rule.
26592 ($(addprefix $(objpfx),$(binaries-shared-tests))): Likewise.
26593 ($(addprefix $(objpfx),$(binaries-shared))): Remove rule.
26594 ($(addprefix $(objpfx),$(binaries-static-notests))): New rule.
26595 ($(addprefix $(objpfx),$(binaries-static-tests))): Likewise.
26596 ($(addprefix $(objpfx),$(binaries-static))): Remove rule.
26597 * elf/Makefile (sln-modules): New variable.
26598 (extra-objs): Add $(sln-modules:=.o).
26599 (ldconfig-modules): Add static-stubs.
26600 ($(objpfx)sln): Depend on $(sln-modules:%=$(objpfx)%.o).
26601 * elf/static-stubs.c: New file.
26604 * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f): Shift
26605 by 7 not 8 to examine high bit of fractional part. Use volatile
26606 variables when splitting into final array of floats if
26607 __FLT_EVAL_METHOD__ != 0.
26608 * math/libm-test.inc (cos_test): Add another test.
26609 (sin_test): Likewise.
26610 * sysdeps/i386/fpu/libm-test-ulps: Update.
26613 * math/libm-test.inc (cosh_test): Add more tests.
26615 * version.h (RELEASE): Set to "development".
26616 (VERSION): Set to "2.16.90".
26618 2012-06-30 Carlos O'Donell <carlos_odonell@mentor.com>
26620 * NEWS: Update copyright. Remove last-updated date.
26621 Mention math library bug fixes and timezone data changes.
26622 * README: Mention GNU/Hurd, x32, and HPPA support status.
26624 2012-06-28 Thomas Schwinge <thomas@codesourcery.com>
26626 * manual/contrib.texi (Contributors): Sort alphabetically by last name.
26628 2012-06-27 Andreas Jaeger <aj@suse.de>
26630 * manual/contrib.texi (Contributors): Add Samuel Thibault.
26632 2012-06-25 Andreas Jaeger <aj@suse.de>
26634 * sysdeps/s390/fpu/libm-test-ulps: Update.
26636 2012-06-23 Andreas Schwab <schwab@linux-m68k.org>
26637 Thomas Schwinge <thomas@codesourcery.com>
26639 * sysdeps/unix/sysv/linux/sh/syscalls.list: Add fanotify_mark.
26640 * sysdeps/unix/sysv/linux/sh/Versions (GLIBC_2.16): Add fanotify_mark.
26641 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist (GLIBC_2.16): Add
26644 2012-06-23 Thomas Schwinge <thomas@codesourcery.com>
26646 * sysdeps/mach/start.c: Remove file.
26647 * sysdeps/mach/hurd/i386/static-start.S: Fix start.S include.
26648 * sysdeps/i386/init-first.c: Fix comment regarding start.S.
26649 * sysdeps/sh/init-first.c: Likewise.
26651 * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Preserve r12 and pr
26652 registers for frame unwinding purposes, add CFI directives.
26653 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
26654 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Likewise
26655 * sysdeps/unix/sysv/linux/sh/sysdep.h (SYSCALL_ERROR_HANDLER):
26658 * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Don't plan for the call to
26659 __fortify_fail returning.
26660 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
26662 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S: New file, based on
26663 sysdeps/sh/____longjmp_chk.S.
26664 * sysdeps/unix/sysv/linux/sh/sigaltstack-offsets.sym: New file, based
26665 on sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym.
26666 * sysdeps/unix/sysv/linux/sh/Makefile [subdir=misc]
26667 (gen-as-const-headers): Append sigaltstack-offsets.sym.
26669 * sysdeps/sh/abort-instr.h: New file.
26670 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Terminate the
26671 process in case exit returns.
26673 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Always
26674 initialize the GOT register before use.
26676 * sysdeps/unix/sysv/linux/sh/makecontext.S (__makecontext): Fix
26677 calculation of ARGC > 4.
26679 * sysdeps/unix/sysv/linux/sh/makecontext.S: Add comments and give more
26680 meaningful names to some local labels.
26682 2012-06-22 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
26683 Kaz Kojima <kkojima@rr.iij4u.or.jp>
26685 * sysdeps/unix/sysv/linux/sh/bits/atomic.h
26686 (__arch_compare_and_exchange_val_8_acq): Remove explicit nop.
26687 (__arch_compare_and_exchange_val_16_acq): Likewise.
26688 (__arch_compare_and_exchange_val_32_acq): Likewise.
26689 (atomic_exchange_and_add): Fix gUSA sequence.
26690 (atomic_add): Likewise.
26691 (atomic_add_negative): Likewise.
26692 (atomic_add_zero): Likewise.
26693 (atomic_bit_test_set): Likewise.
26695 2012-06-22 Andreas Schwab <schwab@redhat.com>
26698 * include/link.h (struct link_map): Add l_free_initfini.
26699 * elf/dl-deps.c (_dl_map_object_deps): Set it when assigning
26701 * elf/dl-close.c (_dl_close_worker): Don't free l_initfini.
26702 * elf/rtld.c (dl_main): Clear it on all objects loaded on startup.
26703 * elf/dl-libc.c (free_mem): Free l_initfini if l_free_initfini is
26706 2012-06-22 Carlos O'Donell <carlos_odonell@mentor.com>
26708 * configure.in: Use AC_LANG_SOURCE.
26709 * configure: Regenerate.
26711 2012-06-22 Roland McGrath <roland@hack.frob.com>
26713 * configure.in (libc_cv_localstatedir): New substituted variable.
26714 * configure: Regenerated.
26715 * config.make.in (localstatedir): New variable, substituted from
26716 libc_cv_localstatedir.
26717 * Makeconfig (vardbdir): Use $(localstatedir) in place of /var.
26718 * sysdeps/gnu/configure.in (libc_cv_localstatedir): Change
26719 ${prefix}/var to /var when we change ${prefix}/etc to /etc.
26720 * sysdeps/gnu/configure: Regenerated.
26722 2012-06-21 Jeff Law <law@redhat.com>
26725 * intl/dcigettext.c (_nl_find_msg): Avoid use after potential
26726 free. Simplify list management for _LIBC case.
26728 2012-06-21 Joseph Myers <joseph@codesourcery.com>
26731 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c (__ieee754_cosh):
26732 Clear sign bit of 64-bit integer value before comparing against
26735 * sysdeps/mach/configure: Regenerated.
26737 2012-06-21 H.J. Lu <hongjiu.lu@intel.com>
26740 * sysdeps/i386/sysdep.h (SYSCALL_PIC_SETUP): Fix a typo.
26742 2012-06-21 Jeff Law <law@redhat.com>
26745 * elf/dl-deps.c (_dl_map_object_deps): Fix cycle detection. Use
26746 uint16_t for elements in the "seen" array to avoid char overflows.
26747 * elf/dl-fini.c (_dl_sort_fini): Likewise.
26748 * elf/dl-open.c (dl_open_worker): Likewise.
26750 2012-06-21 Carlos O'Donell <carlos_odonell@mentor.com>
26752 * scripts/list-sources.sh: Scan PORTS for translations.
26753 * po/libc.pot: Regenerated.
26755 2012-06-21 Andreas Jaeger <aj@suse.de>
26758 * sysdeps/s390/bits/byteswap-16.h (__bswap_16): Avoid -Wconversion
26760 * sysdeps/s390/bits/byteswap.h (__bswap_constant_16): Likewise.
26761 * bits/byteswap-16.h (__bswap_16): Likewise.
26762 * bits/byteswap.h (__bswap_constant_16): Likewise.
26764 2012-06-18 H.J. Lu <hongjiu.lu@intel.com>
26767 * sysdeps/i386/fpu_control.h: Removed.
26768 * sysdeps/x86_64/fpu_control.h: Moved to ...
26769 * sysdeps/x86/fpu_control.h: Here.
26771 * sysdeps/x86_64/fpu_control.h (_FPU_GETCW): Add __volatile__.
26772 (_FPU_SETCW): Likewise.
26774 2012-06-15 H.J. Lu <hongjiu.lu@intel.com>
26777 * sysdeps/i386/fpu/bits/mathinline.h: Renamed to ...
26778 * sysdeps/x86/fpu/bits/mathinline.h: This.
26779 * sysdeps/x86_64/fpu/bits/mathinline.h: Removed.
26783 * sysdeps/i386/fpu/bits/mathinline.h: Disable x87 inline
26784 functions if __x86_64__ is defined.
26786 2012-06-15 Chung-Lin Tang <cltang@codesourcery.com>
26788 * string/endian.h: Add !__ASSEMBLER__ condition for including
26789 conversion interfaces.
26791 2012-06-15 Joseph Myers <joseph@codesourcery.com>
26794 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use 0.0 instead
26795 of ABS(x) in calculating zero to negative powers other than odd
26797 * math/libm-test.inc (pow_test): Add more tests.
26799 2012-06-15 Andreas Jaeger <aj@suse.de>
26801 * manual/contrib.texi (Contributors): Update entry of Liubov
26802 Dmitrieva and add entries for Will Schmidt and Tulio Magno Quites
26805 2012-06-15 Cyril Hrubis <metan@ucw.cz>
26807 * string/string.h: Add __wur to GNU version of strerror_r.
26809 2012-06-14 H.J. Lu <hongjiu.lu@intel.com>
26812 * string/Makefile (tests): Add tst-strtok_r.
26813 * string/tst-strtok_r.c: New file.
26814 * sysdeps/x86_64/strtok.S: Use LP_SIZE on save_ptr and use
26815 RAX_LP/RDX_LP on SAVE_PTR.
26817 2012-06-14 Roland McGrath <roland@hack.frob.com>
26819 * manual/Makefile ($(objpfx)texis): Do $(make-target-directory).
26821 2012-06-14 Joseph Myers <joseph@codesourcery.com>
26823 * libm_test.inc (csqrt_test): Allow more spurious underflow
26825 (j0_test): Likewise.
26826 (j1_test): Likewise.
26827 (y0_test): Likewise.
26828 (y1_test): Likewise.
26830 2012-06-13 Carlos O'Donell <carlos_odonell@mentor.com>
26832 * po/Makefile (libc.pot): Use UTF-8 charset.
26834 2012-06-13 Paul Pluzhnikov <ppluzhnikov@google.com>
26837 Suppress sign-conversion warning from FD_SET.
26838 See <http://sourceware.org/ml/libc-alpha/2012-05/msg01794.html>.
26839 * debug/fdelt_chk.c (__fdelt_chk): Accept and return long int,
26840 not unsigned long int.
26841 * misc/bits/select2.h (__fdelt_chk, __fdelt_warn, __FD_ELT): Likewise.
26843 2012-06-12 H.J. Lu <hongjiu.lu@intel.com>
26847 * sysdeps/i386/fpu/bits/mathinline.h (__MATH_INLINE): Check
26848 __extern_always_inline instead of __extern_inline.
26849 (__signbitf): Support __SSE2_MATH__ and C++ namespace.
26850 (__signbit): Likewise.
26851 (__signbitl): Support C++ namespace.
26852 (lrintf): New inline function.
26854 (llrintf): Likewise.
26855 (llrint): Likewise.
26865 (floorf): Likewise.
26866 (nearbyint): Likewise.
26867 (nearbyintf): Likewise.
26869 2012-06-12 Thomas Schwinge <thomas@codesourcery.com>
26871 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Fix case for
26872 non-default versions.
26874 2012-06-11 Roland McGrath <roland@hack.frob.com>
26877 * manual/argp.texi (Argp): Reword argp_parse description slightly.
26879 2012-06-09 Thomas Schwinge <thomas@codesourcery.com>
26881 * sysdeps/sh/sh4/fpu/bits/fenv.h (__FE_UNDEFINED): Define.
26882 (FE_UPWARD, FE_DOWNWARD): Don't define.
26883 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Adapt to that.
26884 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
26886 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Do not re-write fpscr after
26888 * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
26889 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
26891 2012-06-09 Kaz Kojima <kkojima@rr.iij4u.or.jp>
26893 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
26894 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Refreshed.
26895 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Refreshed.
26896 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Refreshed.
26898 2012-06-06 H.J. Lu <hongjiu.lu@intel.com>
26901 * sysdeps/i386/fpu/bits/fenv.h: Removed.
26902 * sysdeps/i386/fpu/Implies: New file.
26903 * sysdeps/x86_64/fpu/Implies: Likewise.
26904 * sysdeps/x86_64/fpu/bits/fenv.h: Renamed to ...
26905 * sysdeps/x86/fpu/bits/fenv.h: This.
26907 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Check
26910 2012-06-06 Siddhesh Poyarekar <siddhesh@redhat.com>
26913 * iconvdata/ibm930.c (BODY) [FROM_LOOP]: Check for invalid
26914 character 0xffff that matches the last element of the
26917 2012-06-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
26919 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Fix for wrong ldbl128-ibm
26922 2012-06-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
26924 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Fix spurious underflow for
26925 values higher than 25.6283.
26927 2012-06-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
26929 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Fix
26930 subnormal exponent extraction and add some __builtin_expect.
26931 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_extract_mantissa):
26932 Fix for subnormal mantissa calculation.
26934 2012-06-04 Mike Frysinger <vapier@gentoo.org>
26936 * sysdeps/unix/sysv/linux/tst-getcpu.c (do_test): Call perror when
26937 cpu2 is -1 and errno is not ENOSYS.
26939 2012-06-04 H.J. Lu <hongjiu.lu@intel.com>
26942 * sysdeps/i386/i486/bits/string.h: Renamed to ...
26943 * sysdeps/x86/bits/string.h: This.
26944 * sysdeps/x86_64/bits/string.h: Removed.
26946 * sysdeps/i386/i486/bits/string.h: Define inline functions only
26947 if not compiling for x86-64, but compiling for >= i486.
26949 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Renamed to ...
26950 * sysdeps/unix/sysv/linux/x86/bits/sigcontext.h: This.
26952 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h (FP_XSTATE_MAGIC1):
26953 New macro from Linux kernel 3.4.0.
26954 (FP_XSTATE_MAGIC2): Likewise.
26955 (FP_XSTATE_MAGIC2_SIZE): Likewise.
26956 (X86_FXSR_MAGIC): New macro from Linux i386 kernel.
26957 (struct _fpx_sw_bytes): New struct.
26958 (struct _xsave_hdr): Likewise.
26959 (struct _ymmh_state): Likewise.
26960 (struct _xstate): Likewise.
26962 * sysdeps/unix/sysv/linux/i386/sys/debugreg.h: Removed.
26963 * sysdeps/unix/sysv/linux/i386/sys/reg.h: Likewise.
26964 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Renamed to ...
26965 * sysdeps/unix/sysv/linux/x86/sys/debugreg.h: This.
26966 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Renamed to ...
26967 * sysdeps/unix/sysv/linux/x86/sys/reg.h: This.
26969 * sysdeps/unix/sysv/linux/i386/sys/io.h: Removed.
26970 * sysdeps/unix/sysv/linux/x86_64/sys/io.h: Renamed to ...
26971 * sysdeps/unix/sysv/linux/x86/sys/io.h: This.
26972 * sysdeps/unix/sysv/linux/i386/sys/perm.h: Removed.
26973 * sysdeps/unix/sysv/linux/x86_64/sys/perm.h: Renamed to ...
26974 * sysdeps/unix/sysv/linux/x86/sys/perm.h: This.
26976 2012-06-04 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
26979 * sysdeps/powerpc/sys/platform/ppc.h: New file for PowerPC features.
26980 * sysdeps/powerpc/Makefile (tests): Add test-gettimebase.
26981 (sysdep_headers): Include sys/platform/ppc.h.
26982 * sysdeps/powerpc/test-gettimebase.c: Test for
26983 __ppc_get_timebase() to catch future ISA opcode/insn changes.
26984 * manual/Makefile (appendices): Include platform.texi.
26985 * manual/contrib.texi (Contributors): Update @node pointers.
26986 * manual/maint.texi (Maintenance): Likewise.
26987 (Platform): New node.
26988 * manual/platform.texi: New file. Document the new features.
26990 2012-06-04 Siddhesh Poyarekar <siddhesh@redhat.com>
26991 Jakub Jelinek <jakub@redhat.com>
26994 * misc/sys/cdefs.h (__glibc_unlikely): New macro to wrap cases
26995 where __builtin_expect is unavailable.
26997 2012-06-03 David S. Miller <davem@davemloft.net>
26999 * stdlib/longlong.h: Updated from GCC.
27001 2012-06-02 Andreas Schwab <schwab@linux-m68k.org>
27004 * sysdeps/powerpc/powerpc32/mcount.c: New file.
27005 * sysdeps/powerpc/powerpc32/Versions (GLIBC_2.16): Add
27007 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
27008 (GLIBC_2.16): Likewise.
27010 2012-06-01 H.J. Lu <hongjiu.lu@intel.com>
27012 * sysdeps/unix/sysv/linux/x86_64/sys/io.h (outsw): Fix a typo.
27014 2012-06-01 Joseph Myers <joseph@codesourcery.com>
27016 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Makefile
27017 (default-abi): New variable.
27018 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: New file.
27019 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile (default-abi): New
27021 * sysdeps/unix/sysv/linux/s390/s390-64/Makefile (default-abi):
27023 * sysdeps/unix/sysv/linux/sparc/sparc32/Makefile (default-abi):
27025 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile (default-abi):
27028 * Makeconfig [abi-variants && !default-abi] (default-abi): Remove
27029 definition. Document in comment.
27031 2012-06-01 David S. Miller <davem@davemloft.net>
27033 * stdlib/longlong.h: Updated from GCC.
27035 2012-06-01 H.J. Lu <hongjiu.lu@intel.com>
27038 * sysdeps/unix/sysv/linux/i386/Makefile (sysdep_headers):
27039 Don't add sys/elf.h sys/perm.h sys/reg.h sys/vm86.h
27040 sys/debugreg.h sys/io.h here.
27041 * sysdeps/unix/sysv/linux/x86/Makefile (sysdep_headers): Add
27042 sys/elf.h sys/perm.h sys/reg.h sys/vm86.h sys/debugreg.h
27044 * sysdeps/unix/sysv/linux/x86_64/Makefile (sysdep_headers):
27045 Don't add sys/perm.h sys/reg.h sys/debugreg.h sys/io.h here.
27046 * sysdeps/unix/sysv/linux/i386/sys/elf.h: Renamed to ...
27047 * sysdeps/unix/sysv/linux/x86/sys/elf.h: This.
27048 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Renamed to ...
27049 * sysdeps/unix/sysv/linux/x86/sys/vm86.h: This.
27051 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h (DR_LEN_8):
27052 Define only if __x86_64__ is defined.
27054 2012-06-01 Joseph Myers <joseph@codesourcery.com>
27057 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c (__ieee754_fmod):
27058 Use int64_t for variable i.
27059 * math/libm-test.inc (fmod_test): Add more tests.
27061 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Ensure temp + (double)
27062 z computation is not scheduled after fetestexcept.
27063 * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <math_private.h>.
27064 Use math_force_eval instead of asm to ensure calculation scheduled
27065 before exception test.
27066 * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <math_private.h>.
27067 Ensure a1 + u.d computation is not scheduled after fetestexcept.
27069 2012-06-01 Aurelien Jarno <aurelien@aurel32.net>
27071 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Ensure a1 + u.d
27072 computation is not scheduled after fetestexcept.
27074 2012-06-01 H.J. Lu <hongjiu.lu@intel.com>
27077 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Renamed to ...
27078 * sysdeps/unix/sysv/linux/x86/bits/wchar.h: This.
27080 2012-06-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
27082 * sysdeps/powerpc/fpu/k_cosf.c: Fix underflow generation.
27083 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
27085 2012-05-31 H.J. Lu <hongjiu.lu@intel.com>
27088 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Include
27090 (__WCHAR_MIN): Support __WORDSIZE == 64.
27091 (__WCHAR_MAX): Likewise.
27093 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: Renamed to ...
27094 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h: This.
27097 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__FSWORD_T_TYPE):
27098 Defined with __SWORD_TYPE if __x86_64__ isn't defined.
27101 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: Renamed to ...
27102 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: This.
27104 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h: Renamed to ...
27105 * sysdeps/unix/sysv/linux/x86/bits/stat.h: This.
27107 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_KERNEL):
27108 Defined to 1 if __x86_64__ isn't defined.
27109 (_STAT_VER_LINUX_OLD): New.
27110 (st_atime): Remove duplicate.
27111 (st_mtime): Likewise.
27112 (st_ctime): Likewise.
27114 2012-05-31 David S. Miller <davem@davemloft.net>
27116 * sysdeps/sparc/fpu/libm-test-ulps: Remove sqrt(2) and sqrt test
27119 2012-06-01 Andreas Schwab <schwab@linux-m68k.org>
27121 * sysdeps/powerpc/fpu/libm-test-ulps: Sort through
27125 * elf/dl-reloc.c: Include <_itoa.h>.
27126 (_dl_reloc_bad_type): Remove use of INTUSE.
27127 * elf/dl-minimal.c (_itoa, _itoa_lower_digits): Likewise.
27128 * stdio-common/_itoa.c (_itoa_word, _itoa): Likewise.
27129 * stdio-common/psiginfo.c (psiginfo): Likewise.
27130 * stdio-common/psignal.c (psignal): Likewise.
27131 * string/strsignal.c (strsignal): Likewise.
27132 * include/signal.h (_sys_siglist): Declare hidden proto.
27133 * stdio-common/itoa-digits.c: Include <_itoa.h>. Replace
27134 INTVARDEF with libc_hidden_data_def.
27135 * stdio-common/itoa-udigits.c: Likewise.
27136 * sysdeps/generic/_itoa.h (_itoa_upper_digits_internal)
27137 (_itoa_lower_digits_internal): Remove declaration.
27138 (_itoa_upper_digits, _itoa_lower_digits): Declare hidden proto.
27139 * sysdeps/gnu/siglist.c (_sys_siglist_internal)
27140 (_sys_sigabbrev_internal): Remove aliases.
27141 (_sys_siglist): Define hidden alias.
27143 2012-05-31 Markus Trippelsdorf <markus@trippelsdorf.de>
27145 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
27148 2012-05-31 H.J. Lu <hongjiu.lu@intel.com>
27151 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Renamed to ...
27152 * sysdeps/unix/sysv/linux/x86/bits/sysctl.h: This.
27154 * sysdeps/unix/sysv/linux/i386/sys/ucontext.h: Removed.
27155 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Renamed to ...
27156 * sysdeps/unix/sysv/linux/x86/sys/ucontext.h: This.
27157 * sysdeps/unix/sysv/linux/i386/sys/user.h: Removed.
27158 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Renamed to ...
27159 * sysdeps/unix/sysv/linux/x86/sys/user.h: This.
27161 * sysdeps/unix/sysv/linux/i386/sys/procfs.h: Removed.
27162 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Renamed to ...
27163 * sysdeps/unix/sysv/linux/x86/sys/procfs.h: This.
27165 * sysdeps/unix/sysv/linux/x86_64/sys/io.h (insb): Replace addr
27173 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Removed.
27174 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Renamed to ...
27175 * sysdeps/unix/sysv/linux/x86/bits/mman.h: This.
27177 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Renamed to ...
27178 * sysdeps/unix/sysv/linux/x86/bits/msq.h: This.
27179 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h: Renamed to ...
27180 * sysdeps/unix/sysv/linux/x86/bits/sem.h: This.
27181 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h: Renamed to ...
27182 * sysdeps/unix/sysv/linux/x86/bits/shm.h: This.
27184 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: Renamed to ...
27185 * sysdeps/unix/sysv/linux/x86/bits/ipctypes.h: This.
27187 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Renamed to ...
27188 * sysdeps/unix/sysv/linux/x86/bits/epoll.h: This.
27190 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Removed.
27191 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Renamed to ...
27192 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: This.
27194 * sysdeps/unix/sysv/linux/i386/bits/environments.h: Removed.
27195 * sysdeps/unix/sysv/linux/x86_64/bits/environments.h: Renamed
27197 * sysdeps/unix/sysv/linux/x86/bits/environments.h: This.
27199 * sysdeps/unix/sysv/linux/i386/bits/a.out.h: Removed.
27200 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Renamed to ...
27201 * sysdeps/unix/sysv/linux/x86/bits/a.out.h: This.
27203 * sysdeps/unix/sysv/linux/i386/sys/elf.h: Error when compiling
27205 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Likewise.
27207 2012-05-31 Joseph Myers <joseph@codesourcery.com>
27209 * math/math.h (M_El): Use two more decimal places.
27210 (M_LOG2El): Likewise.
27211 (M_LOG10El): Likewise.
27212 (M_LN2l): Likewise.
27213 (M_LN10l): Likewise.
27215 (M_PI_2l): Likewise.
27216 (M_PI_4l): Likewise.
27217 (M_1_PIl): Likewise.
27218 (M_2_PIl): Likewise.
27219 (M_2_SQRTPIl): Likewise.
27220 (M_SQRT2l): Likewise.
27221 (M_SQRT1_2l): Likewise.
27223 2012-05-31 David S. Miller <davem@davemloft.net>
27225 * sysdeps/sparc/sparc64/memcpy.S: Use fsrc2 to move 64-bit
27226 values between float registers.
27227 * sysdeps/sparc/sparc64/memset.S: Likewise.
27228 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
27230 2012-05-31 Mike Frysinger <vapier@gentoo.org>
27232 * debug/Makefile (CFLAGS-tst-longjmp_chk.c): Delete
27233 -D_FORTIFY_SOURCE=1.
27234 (CPPFLAGS-tst-longjmp_chk.c): Define.
27235 (CFLAGS-tst-longjmp_chk2.c): Delete -D_FORTIFY_SOURCE=1.
27236 (CPPFLAGS-tst-longjmp_chk2.c): Define.
27237 * wcsmbs/Makefile (CPPFLAGS-tst-wchar-h.c): Rename from
27238 CFLAGS-tst-wchar-h.c.
27240 2012-05-31 Marek Polacek <polacek@redhat.com>
27243 * include/mntent.h (__setmntent_internal, __getmntent_r_internal
27244 __endmntent_internal): Remove declaration.
27245 (__setmntent, __endmntent, __getmntent_r) [NOT_IN_libc]: Remove macro.
27246 (__setmntent, __endmntent, __getmntent_r): Declare hidden proto.
27247 * misc/mntent_r.c: Replace INTDEF with libc_hidden_def.
27249 2012-05-30 David S. Miller <davem@davemloft.net>
27251 * sysdeps/sparc/sparc32/soft-fp/q_util.c
27252 (___Q_simulate_exceptions): Use real FP ops rather than writing
27254 * sysdeps/sparc/sparc32/soft-fp/q_util.c (__Qp_handle_exceptions):
27257 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
27260 * sysdeps/x86_64/bits/xtitypes.h: Renamed to ...
27261 * sysdeps/x86/bits/xtitypes.h: This.
27263 * sysdeps/x86_64/bits/wordsize.h: Renamed to ...
27264 * sysdeps/x86/bits/wordsize.h: This.
27266 * sysdeps/i386/bits/huge_vall.h: Renamed to ...
27267 * sysdeps/x86/bits/huge_vall.h: This.
27269 * sysdeps/i386/bits/select.h: Removed.
27270 * sysdeps/x86_64/bits/select.h: Renamed to ...
27271 * sysdeps/x86/bits/select.h: This.
27273 * sysdeps/i386/bits/setjmp.h: Removed.
27274 * sysdeps/x86_64/bits/setjmp.h: Renamed to ...
27275 * sysdeps/x86/bits/setjmp.h: This.
27277 * sysdeps/i386/bits/mathdef.h: Removed.
27278 * sysdeps/x86_64/bits/mathdef.h: Renamed to ...
27279 * sysdeps/x86/bits/mathdef.h: This.
27281 2012-05-30 Andreas Schwab <schwab@linux-m68k.org>
27284 * include/sys/socket.h (__connect_internal)
27285 (__libc_sa_len_internal): Remove declaration.
27286 (__connect, __libc_sa_len): Declare hidden_proto.
27287 (SA_LEN): Remove use of INTUSE.
27288 * socket/connect.c: Add libc_hidden_def.
27289 * sysdeps/mach/hurd/connect.c: Replace INTDEF by libc_hidden_def.
27290 * sysdeps/unix/sysv/linux/sa_len.c: Likewise.
27291 * sysdeps/unix/inet/syscalls.list: Remove __connect_internal
27293 * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
27294 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Likewise.
27295 * sysdeps/unix/sysv/linux/connect.S: Use libc_hidden_weak instead
27296 of adding _internal alias.
27298 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
27301 * sysdeps/i386/bits/link.h: Removed.
27302 * sysdeps/i386/bits/linkmap.h: Likewise.
27303 * sysdeps/x86_64/bits/link.h: Renamed to ...
27304 * sysdeps/x86/bits/link.h: This.
27305 * sysdeps/x86_64/bits/linkmap.h: Renamed to ...
27306 * sysdeps/x86/bits/linkmap.h: This.
27308 * sysdeps/i386/bits/endian.h: Removed.
27309 * sysdeps/x86_64/bits/endian.h: Renamed to ...
27310 * sysdeps/x86/bits/endian.h: This.
27312 * sysdeps/i386/bits/byteswap.h: Removed.
27313 * sysdeps/i386/bits/byteswap-16.h: Likewise.
27314 * sysdeps/x86_64/bits/byteswap.h: Renamed to ...
27315 * sysdeps/x86/bits/byteswap.h: This.
27316 * sysdeps/x86_64/bits/byteswap-16.h: Renamed to ...
27317 * sysdeps/x86/bits/byteswap-16.h: This.
27318 * sysdeps/i386/Implies: Add x86.
27319 * sysdeps/x86_64/Implies: Likewise.
27321 2012-05-30 David S. Miller <davem@davemloft.net>
27323 * soft-fp/soft-fp.h (FP_CUR_EXCEPTIONS): Define.
27324 (FP_TRAPPING_EXCEPTIONS): Provide default implementation.
27325 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
27326 (FP_TRAPPING_EXCEPTIONS): Define.
27327 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
27328 (FP_TRAPPING_EXCEPTIONS): Define.
27329 * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Signal underflow for
27330 subnormals only when inexact has been signalled or underflow
27331 exceptions are enabled.
27332 (_FP_PACK_CANONICAL): Likewise.
27334 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
27337 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__NLINK_T_TYPE):
27338 Defined with __UWORD_TYPE if __x86_64__ isn't defined.
27340 2012-05-30 Richard Henderson <rth@twiddle.net>
27342 * sysdeps/unix/make-syscalls.sh: Protect symbol_version output
27343 with #ifndef NOT_IN_libc.
27345 * scripts/abilist.awk: Accept 8 fields. Handle Alpha functions
27346 marked to avoid plt entry.
27348 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
27351 * Makeconfig (default-abi): New macro.
27352 (abi-includes): Likewise.
27353 ($(common-objpfx)soversions.mk): Remove WORDSIZE check. Use
27354 $(abi-$(default-abi)-lib-soname) for soname if defined.
27355 ($(common-objpfx)gnu/lib-names.stmp): Generate from
27357 * Makefile (installed-stubs): Likewise.
27358 * include/stubs-biarch.h: Removed.
27359 * scripts/lib-names.awk: Only handle one library at a time.
27360 * scripts/soversions.awk: Remove WORDSIZE support.
27361 * shlib-versions: Remove WORDSIZE and i.86/s390x/powerpc64 ld
27363 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants):
27365 (syscall-list-default-condition): Likewise.
27366 (syscall-list-default-condition): Likewise.
27367 (syscall-list-includes): Likewise.
27368 ($(objpfx)bits/syscall%h $(objpfx)bits/syscall%d): Replace
27369 syscall-list-* with abi-*. Handle undefined abi-variants.
27370 * sysdeps/unix/sysv/linux/i386/Makefile (default-abi): New macro.
27371 * sysdeps/unix/sysv/linux/i386/Implies: New file.
27372 * sysdeps/unix/sysv/linux/x86/Makefile: Likewise.
27373 * sysdeps/unix/sysv/linux/x86_64/64/Makefile: Likewise.
27374 * sysdeps/unix/sysv/linux/x86_64/Implies: Add unix/sysv/linux/x86.
27375 * sysdeps/unix/sysv/linux/x86_64/Makefile (syscall-list-variants):
27377 (syscall-list-32-options): Likewise.
27378 (syscall-list-32-condition): Likewise.
27379 (syscall-list-64-options): Likewise.
27380 (syscall-list-64-condition): Likewise.
27381 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (default-abi): New
27383 * sysdeps/unix/sysv/linux/powerpc/Makefile (syscall-list-*):
27386 (abi-64-ld-soname): New macro.
27387 * sysdeps/unix/sysv/linux/s390/Makefile: Likewise.
27388 * sysdeps/unix/sysv/linux/sparc/Makefile (syscall-list-*):
27391 * sysdeps/x86_64/64/shlib-versions: Remove ld entry.
27392 * sysdeps/x86_64/x32/shlib-versions: Likewise.
27394 2012-05-30 Joseph Myers <joseph@codesourcery.com>
27396 * sysdeps/unix/sysv/linux/kernel-features.h
27397 (__ASSUME_TRUNCATE64_SYSCALL): Remove all definitions.
27398 * sysdeps/unix/sysv/linux/ftruncate64.c: Do not
27399 include <kernel-features.h>.
27400 [!__NR_ftruncate64]: Remove conditional code.
27401 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
27402 [__NR_ftruncate64]: Make code unconditional.
27403 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
27404 * sysdeps/unix/sysv/linux/truncate64.c: Do not
27405 include <kernel-features.h>.
27406 [!__NR_ftruncate64]: Remove conditional code.
27407 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
27408 [__NR_ftruncate64]: Make code unconditional.
27409 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
27410 * sysdeps/unix/sysv/linux/powerpc/powerpc32/ftruncate64.c: Do not
27411 include <kernel-features.h>.
27412 [!__NR_ftruncate64]: Remove conditional code.
27413 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
27414 [__NR_ftruncate64]: Make code unconditional.
27415 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
27416 * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
27417 include <kernel-features.h>.
27418 [!__NR_ftruncate64]: Remove conditional code.
27419 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
27420 [__NR_ftruncate64]: Make code unconditional.
27421 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
27423 * configure.in (libc_cv_fpie): Weaken to a compile test using
27424 LIBC_TRY_CC_OPTION.
27425 * configure: Regenerated.
27427 2012-05-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
27429 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Refreshed.
27430 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Refreshed.
27431 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Refreshed.
27432 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
27434 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Refreshed.
27435 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Refreshed.
27436 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Refreshed.
27437 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Refreshed.
27438 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Refreshed.
27439 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
27442 2012-05-27 David S. Miller <davem@davemloft.net>
27444 * sysdeps/sparc/sparc32/soft-fp/q_util.c (___Q_numbers): Delete.
27446 (__Q_simulate_exceptions): Return void. Change to simulate
27447 exceptions by writing into the %fsr.
27448 * sysdeps/sparc/sparc64/soft-fp/qp_util.c
27449 (__Qp_handle_exceptions): Likewise.
27451 * sysdeps/sparc/sparc64/soft-fp/Versions: Remove entry for
27452 __Qp_handle_exceptions.
27453 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Remove
27454 __Qp_handle_exceptions.
27455 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
27456 as unused and give dummy FP_RND_NEAREST initializer.
27457 (FP_INHIBIT_RESULTS): Define.
27458 (___Q_simulate_exceptions): Update declaration.
27459 (FP_HANDLE_EXCEPTIONS): Use ___Q_zero and tidy inline asm
27461 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
27462 as unused and give dummy FP_RND_NEAREST initializer.
27463 (__Qp_handle_exceptions): Update declaration.
27464 (FP_HANDLE_EXCEPTIONS, QP_NO_EXCEPTIONS): Tidy inline asm
27467 2012-05-27 Thomas Schwinge <thomas@codesourcery.com>
27469 * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Use fpu_control_t for
27470 the temporary FPU control word.
27471 * sysdeps/sh/sh4/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
27472 * sysdeps/sh/sh4/fpu/feenablxcpt.c (feenableexcept): Likewise.
27473 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise.
27474 * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
27475 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
27476 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Likewise.
27477 * sysdeps/sh/sh4/fpu/fesetenv.c (fesetenv): Likewise.
27478 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
27479 * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
27480 * sysdeps/sh/sh4/fpu/fsetexcptflg.c (fesetexceptflag): Likewise.
27481 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
27483 2012-05-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
27485 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Restore fpscr flag
27488 2012-05-27 Chung-Lin Tang <cltang@codesourcery.com>
27490 * sysdeps/sh/_mcount.S (_mount): Add CFI directives.
27491 * sysdeps/unix/sh/sysdep.S (__syscall_error): Likewise.
27492 * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S (__setcontext): Likewise.
27493 * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S (__swapcontext):
27495 * sysdeps/unix/sysv/linux/sh/sh4/setcontext.S (__setcontext): Likewise.
27496 * sysdeps/unix/sysv/linux/sh/sh4/swapcontext.S (__swapcontext):
27499 2012-05-27 Ulrich Drepper <drepper@gmail.com>
27501 * po/h.po: Update from translation team.
27503 2012-05-26 Andreas Schwab <schwab@linux-m68k.org>
27505 * sysdeps/powerpc/powerpc32/dl-irel.h: Include <ldsodefs.h>.
27507 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Optimize
27508 handling of denormals.
27509 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
27510 * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
27511 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
27512 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
27513 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
27514 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c (_logb): Likewise.
27515 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (_logbl):
27518 2012-05-26 Marek Polacek <polacek@redhat.com>
27521 * math/libm-test.inc (fma_test): Don't always expect underflow
27524 2012-05-26 Siddhesh Poyarekar <siddhesh@redhat.com>
27527 * elf/tst-execstack.c: Include stackinfo.h.
27528 (do_test): Adjust test case to ensure that pthread_getattr_np
27529 behaviour remains the same after marking stack executable.
27531 2012-05-25 Joseph Myers <joseph@codesourcery.com>
27533 * sysdeps/unix/sysv/linux/kernel-features.h
27534 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Remove all definitions.
27535 * sysdeps/unix/sysv/linux/i386/getrlimit.c: Do not include
27537 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
27538 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
27539 * sysdeps/unix/sysv/linux/i386/setrlimit.c Do not include
27541 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
27542 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
27544 2012-05-25 H.J. Lu <hongjiu.lu@intel.com>
27546 * configure.in: Define the default includes to being none.
27547 * configure: Regenerated.
27549 2012-05-25 Roland McGrath <roland@hack.frob.com>
27551 * sysdeps/x86_64/__longjmp.S: Add a static probe here.
27552 * sysdeps/x86_64/setjmp.S: Likewise.
27553 * sysdeps/i386/bsd-setjmp.S: Likewise.
27554 * sysdeps/i386/bsd-_setjmp.S: Likewise.
27555 * sysdeps/i386/setjmp.S: Likewise.
27556 * sysdeps/i386/__longjmp.S: Likewise.
27557 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
27558 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S: Likewise.
27560 * include/stap-probe.h: New file.
27561 * configure.in: Handle --enable-systemtap.
27562 * configure: Regenerated.
27563 * config.h.in (USE_STAP_PROBE): New #undef.
27564 * extra-lib.mk (CPPFLAGS-$(lib)): Add -DIN_LIB=$(lib).
27565 * elf/Makefile (CPPFLAGS-.os): Add -DIN_LIB=rtld.
27566 * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
27568 2012-05-25 Joseph Myers <joseph@codesourcery.com>
27571 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
27572 to 2.4.0 where earlier.
27573 * sysdeps/unix/sysv/linux/configure: Regenerated.
27574 * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
27575 <kernel-features.h>.
27576 [__ASSUME_32BITUIDS]: Make code unconditional.
27577 [!__ASSUME_32BITUIDS]: Remove conditional code.
27578 * sysdeps/unix/sysv/linux/i386/fchown.c: Do not include
27579 <kernel-features.h>.
27580 [__ASSUME_32BITUIDS]: Make code unconditional.
27581 [!__ASSUME_32BITUIDS]: Remove conditional code.
27582 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat)
27583 [__ASSUME_32BITUIDS]: Make code unconditional.
27584 (fchownat) [!__ASSUME_32BITUIDS]: Remove conditional code.
27585 * sysdeps/unix/sysv/linux/i386/getegid.c: Do not include
27586 <kernel-features.h>.
27587 [__ASSUME_32BITUIDS]: Make code unconditional.
27588 [!__ASSUME_32BITUIDS]: Remove conditional code.
27589 * sysdeps/unix/sysv/linux/i386/geteuid.c: Do not include
27590 <kernel-features.h>.
27591 [__ASSUME_32BITUIDS]: Make code unconditional.
27592 [!__ASSUME_32BITUIDS]: Remove conditional code.
27593 * sysdeps/unix/sysv/linux/i386/getgid.c: Do not include
27594 <kernel-features.h>.
27595 [__ASSUME_32BITUIDS]: Make code unconditional.
27596 [!__ASSUME_32BITUIDS]: Remove conditional code.
27597 * sysdeps/unix/sysv/linux/i386/getgroups.c: Do not include
27598 <kernel-features.h>.
27599 [__ASSUME_32BITUIDS]: Make code unconditional.
27600 [!__ASSUME_32BITUIDS]: Remove conditional code.
27601 * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
27602 <kernel-features.h>.
27603 [__ASSUME_32BITUIDS]: Make code unconditional.
27604 [!__ASSUME_32BITUIDS]: Remove conditional code.
27605 * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
27606 <kernel-features.h>.
27607 [__ASSUME_32BITUIDS]: Make code unconditional.
27608 [!__ASSUME_32BITUIDS]: Remove conditional code.
27609 * sysdeps/unix/sysv/linux/i386/getuid.c: Do not include
27610 <kernel-features.h>.
27611 [__ASSUME_32BITUIDS]: Make code unconditional.
27612 [!__ASSUME_32BITUIDS]: Remove conditional code.
27613 * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
27614 <kernel-features.h>.
27615 [__ASSUME_32BITUIDS]: Make code unconditional.
27616 [!__ASSUME_32BITUIDS]: Remove conditional code.
27617 * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
27618 <kernel-features.h>.
27619 [__ASSUME_32BITUIDS]: Make code unconditional.
27620 [!__ASSUME_32BITUIDS]: Remove conditional code.
27621 * sysdeps/unix/sysv/linux/i386/semctl.c: Do not include
27622 <kernel-features.h>.
27623 [__ASSUME_32BITUIDS]: Make code unconditional.
27624 [!__ASSUME_32BITUIDS]: Remove conditional code.
27625 * sysdeps/unix/sysv/linux/i386/setegid.c: Do not include
27626 <kernel-features.h>.
27627 [__NR_setresgid] (__setresgid): Do not declare.
27628 [__ASSUME_32BITUIDS]: Make code unconditional.
27629 [!__ASSUME_32BITUIDS]: Remove conditional code.
27630 * sysdeps/unix/sysv/linux/i386/seteuid.c: Do not include
27631 <kernel-features.h>.
27632 [__NR_setresuid] (__setresuid): Do not declare.
27633 [__ASSUME_32BITUIDS]: Make code unconditional.
27634 [!__ASSUME_32BITUIDS]: Remove conditional code.
27635 * sysdeps/unix/sysv/linux/i386/setfsgid.c: Do not include
27636 <kernel-features.h>.
27637 [__ASSUME_32BITUIDS]: Make code unconditional.
27638 [!__ASSUME_32BITUIDS]: Remove conditional code.
27639 * sysdeps/unix/sysv/linux/i386/setfsuid.c: Do not include
27640 <kernel-features.h>.
27641 [__ASSUME_32BITUIDS]: Make code unconditional.
27642 [!__ASSUME_32BITUIDS]: Remove conditional code.
27643 * sysdeps/unix/sysv/linux/i386/setgid.c: Do not include
27644 <kernel-features.h>.
27645 [__ASSUME_32BITUIDS]: Make code unconditional.
27646 [!__ASSUME_32BITUIDS]: Remove conditional code.
27647 * sysdeps/unix/sysv/linux/i386/setgroups.c: Do not include
27648 <kernel-features.h>.
27649 [__ASSUME_32BITUIDS]: Make code unconditional.
27650 [!__ASSUME_32BITUIDS]: Remove conditional code.
27651 * sysdeps/unix/sysv/linux/i386/setregid.c: Do not include
27652 <kernel-features.h>.
27653 [__ASSUME_32BITUIDS]: Make code unconditional.
27654 [!__ASSUME_32BITUIDS]: Remove conditional code.
27655 * sysdeps/unix/sysv/linux/i386/setresgid.c: Do not include
27656 <kernel-features.h>.
27657 [__ASSUME_32BITUIDS]: Make code unconditional.
27658 [!__ASSUME_32BITUIDS]: Remove conditional code.
27659 * sysdeps/unix/sysv/linux/i386/setresuid.c: Do not include
27660 <kernel-features.h>.
27661 [__ASSUME_32BITUIDS]: Make code unconditional.
27662 [!__ASSUME_32BITUIDS]: Remove conditional code.
27663 * sysdeps/unix/sysv/linux/i386/setreuid.c: Do not include
27664 <kernel-features.h>.
27665 [__ASSUME_32BITUIDS]: Make code unconditional.
27666 [!__ASSUME_32BITUIDS]: Remove conditional code.
27667 * sysdeps/unix/sysv/linux/i386/setuid.c: Do not include
27668 <kernel-features.h>.
27669 [__ASSUME_32BITUIDS]: Make code unconditional.
27670 [!__ASSUME_32BITUIDS]: Remove conditional code.
27671 * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
27672 <kernel-features.h>.
27673 [__ASSUME_32BITUIDS]: Make code unconditional.
27674 [!__ASSUME_32BITUIDS]: Remove conditional code.
27675 * sysdeps/unix/sysv/linux/kernel-features.h
27676 (__ASSUME_SETRESUID_SYSCALL): Remove.
27677 (__ASSUME_SETRESGID_SYSCALL): Likewise.
27678 (__ASSUME_32BITUIDS): Likewise.
27679 (__ASSUME_LDT_WORKS): Likewise.
27680 (__ASSUME_O_DIRECTORY): Likewise.
27681 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Define conditional on
27682 architecture but not kernel version.
27683 (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
27684 (__ASSUME_MMAP2_SYSCALL): Likewise.
27685 (__ASSUME_STAT64_SYSCALL): Likewise.
27686 (__ASSUME_IPC64): Likewise.
27687 * sysdeps/unix/sysv/linux/local-setxid.h: Do not include
27688 <kernel-features.h>.
27689 [__ASSUME_32BITUIDS]: Make code unconditional.
27690 [!__ASSUME_32BITUIDS]: Remove conditional code.
27691 * sysdeps/unix/sysv/linux/opendir.c: Do not include
27692 <kernel-features.h>.
27693 [__ASSUME_O_DIRECTORY]: Make code unconditional.
27694 * sysdeps/unix/sysv/linux/opensock.c [__LINUX_KERNEL_VERSION <
27695 132096]: Remove conditional code.
27696 [__LINUX_KERNEL_VERSION >= 132096]: Make code unconditional.
27697 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
27698 <kernel-features.h>.
27699 [__ASSUME_32BITUIDS]: Make code unconditional.
27700 [!__ASSUME_32BITUIDS]: Remove conditional code.
27701 * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
27702 <kernel-features.h>.
27703 [__ASSUME_32BITUIDS]: Make code unconditional.
27704 [!__ASSUME_32BITUIDS]: Remove conditional code.
27705 * sysdeps/unix/sysv/linux/setegid.c: Do not include
27706 <kernel-features.h>.
27707 [__NR_setresgid || __ASSUME_SETRESGID_SYSCALL]: Make code
27709 (__setresgid): Do not declare.
27710 [__ASSUME_32BITUIDS]: Make code unconditional.
27711 [!__ASSUME_32BITUIDS]: Remove conditional code.
27712 * sysdeps/unix/sysv/linux/seteuid.c: Do not include
27713 <kernel-features.h>.
27714 [__NR_setresuid || __ASSUME_SETRESUID_SYSCALL]: Make code
27716 (__setresuid): Do not declare.
27717 [__ASSUME_32BITUIDS]: Make code unconditional.
27718 [!__ASSUME_32BITUIDS]: Remove conditional code.
27719 * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
27720 <kernel-features.h>.
27721 [__ASSUME_32BITUIDS]: Make code unconditional.
27722 [!__ASSUME_32BITUIDS]: Remove conditional code.
27723 * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Do not include
27724 <kernel-features.h>.
27725 [__ASSUME_32BITUIDS]: Make code unconditional.
27726 [!__ASSUME_32BITUIDS]: Remove conditional code.
27728 2012-05-25 Richard Henderson <rth@twiddle.net>
27730 * sysdeps/powerpc/powerpc32/dl-irel.h (elf_ifunc_invoke): Pass
27731 dl_hwcap to ifunc resolver.
27732 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Use
27734 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_ifunc_invoke): Pass
27735 dl_hwcap to ifunc resolver.
27736 * sysdeps/powerpc/powerpc64/dl-machine.h (resolve_ifunc): Likewise.
27738 2012-05-24 Joseph Myers <joseph@codesourcery.com>
27741 * sysdeps/ieee754/flt-32/e_acosf.c (__ieee754_acosf): Return pi/2
27742 for |x| <= 2**-26, not 2**-57.
27743 * math/libm-test.inc (acos_test): Do not allow spurious underflow
27746 2012-05-24 Jeff Law <law@redhat.com>
27748 * stdio-common/Makefile (tests): Add bug25.
27749 * stdio-common/bug25.c: New test.
27751 2012-05-24 H.J. Lu <hongjiu.lu@intel.com>
27754 * malloc/malloc.c (sYSMALLOc): Free the old top chunk with a
27755 multiple of MALLOC_ALIGNMENT in size.
27756 (_int_free): Check chunk size is a multiple of MALLOC_ALIGNMENT.
27758 2012-05-24 Joseph Myers <joseph@codesourcery.com>
27760 * conform/data/stdio.h-data (BUFSIZ): Use macro-int-constant.
27762 (FILENAME_MAX): Use macro-int-constant.
27763 (FOPEN_MAX): Use macro-int-constant. Require >= 8.
27764 (_IOFBF): Use macro-int-constant.
27765 (_IOLBF): Likewise.
27766 (_IONBF): Likewise.
27767 (SEEK_CUR): Likewise.
27768 (SEEK_END): Likewise.
27769 (SEEK_SET): Likewise.
27770 (TMP_MAX): Likewise.
27771 (EOF): Use macro-int-constant. Require < 0.
27772 (NULL): Use macro-constant. Require == 0.
27773 (stdin): Require type to be FILE *.
27774 (stdout): Likewise.
27775 (stderr): Likewise.
27776 * conform/data/stdlib.h-data (EXIT_FAILURE): Use
27777 macro-int-constant.
27778 (EXIT_SUCCESS): Likewise.
27779 (NULL): Use macro-constant. Require == 0.
27780 (RAND_MAX): Use macro-int-constant.
27781 [ISO99 || ISO11] (lldiv_t): Require also for these standards.
27782 [C99-based standards] (strtof): Require function.
27783 [C99-based standards] (strtold): Likewise.
27784 [C99-based standards] (strtoll): Likewise.
27785 [C99-based standards] (strtoull): Likewise.
27786 [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
27787 [ISO || ISO99 || ISO11] (limits.h): Likewise.
27788 [ISO || ISO99 || ISO11] (math.h): Likewise.
27789 [ISO || ISO99 || ISO11] (sys/wait.h): Likewise.
27790 (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
27791 [ISO || ISO99 || ISO11] (*_t): Do not allow.
27793 2012-05-24 Andreas Schwab <schwab@linux-m68k.org>
27796 * argp/argp-help.c (dgettext) [_LIBC]: Remove use of INTUSE.
27797 * argp/argp-parse.c (dgettext) [_LIBC]: Likewise.
27798 * intl/dgettext.c (DCGETTEXT): Likewise.
27799 * intl/gettext.c (DCGETTEXT): Likewise.
27800 * intl/l10nflist.c (__argz_count, __argz_stringify): Likewise.
27801 * posix/regex_internal.h (gettext): Likewise.
27802 * include/libintl.h (__dcgettext_internal, __dcngettext_internal):
27803 Remove declaration.
27804 * include/argz.h (__argz_count_internal)
27805 (__argz_stringify_internal): Remove declaration.
27806 (__argz_count, __argz_stringify): Declare hidden proto.
27807 * intl/dcgettext.c: Remove use of INTDEF.
27808 * string/argz-count.c: Replace INTDEF with libc_hidden_def.
27809 * string/argz-stringify.c: Likewise.
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/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
27814 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
27815 Declare hidden proto.
27816 * include/stdio.h (__asprintf_internal): Don't declare.
27817 (__asprintf): Don't define as macro. Declare hidden proto.
27818 * include/stdio_ext.h (__fsetlocking_internal): Don't declare.
27819 (__fsetlocking): Declare hidden proto.
27820 * libio/iolibio.h (_IO_fdopen, _IO_fflush, _IO_ftell, _IO_fread)
27821 (_IO_fwrite, _IO_setbuffer, _IO_setvbuf, _IO_vsprintf): Declare
27823 (_IO_vprintf, _IO_freopen, _IO_freopen64, _IO_setbuf)
27824 (_IO_setlinebuf): Remove use of INTUSE.
27825 (_IO_setbuffer_internal, _IO_fread_internal, _IO_fdopen_internal)
27826 (_IO_vsprintf_internal, _IO_fflush_internal, _IO_fwrite_internal)
27827 (_IO_ftell_internal, _IO_fputs_internal, _IO_setvbuf_internal):
27828 Remove declaration.
27829 * libio/libioP.h (INTUSE, INTDEF, INTDEF2): Don't define.
27830 (_IO_do_flush): Remove use of INTUSE.
27831 (_IO_switch_to_get_mode, _IO_init, _IO_sputbackc, _IO_un_link)
27832 (_IO_link_in, _IO_doallocbuf, _IO_unsave_markers, _IO_setb)
27833 (_IO_adjust_column, _IO_least_wmarker)
27834 (_IO_switch_to_main_wget_area, _IO_switch_to_wbackup_area)
27835 (_IO_switch_to_wget_mode, _IO_wsetb, _IO_sputbackwc)
27836 (_IO_wdoallocbuf, _IO_default_uflow, _IO_wdefault_uflow)
27837 (_IO_default_doallocate, _IO_wdefault_doallocate)
27838 (_IO_default_finish, _IO_wdefault_finish, _IO_default_pbackfail)
27839 (_IO_wdefault_pbackfail, _IO_default_xsputn, _IO_wdefault_xsputn)
27840 (_IO_default_xsgetn, _IO_wdefault_xsgetn, _IO_do_write)
27841 (_IO_wdo_write, _IO_flush_all, _IO_flush_all_linebuffered)
27842 (_IO_file_doallocate, _IO_file_setbuf, _IO_file_seekoff)
27843 (_IO_file_xsputn, _IO_file_xsgetn, _IO_file_stat, _IO_file_close)
27844 (_IO_file_underflow, _IO_file_overflow, _IO_file_init)
27845 (_IO_file_attach, _IO_file_fopen, _IO_file_read, _IO_file_sync)
27846 (_IO_file_close_it, _IO_file_seek, _IO_file_finish)
27847 (_IO_wfile_xsputn, _IO_wfile_sync, _IO_wfile_underflow)
27848 (_IO_wfile_overflow, _IO_wfile_seekoff, _IO_str_underflow)
27849 (_IO_str_overflow, _IO_str_pbackfail, _IO_str_seekoff)
27850 (_IO_getline, _IO_getline_info, _IO_list_all): Declare hidden
27852 (_IO_flush_all_internal, _IO_adjust_column_internal)
27853 (_IO_default_uflow_internal, _IO_default_finish_internal)
27854 (_IO_default_pbackfail_internal, _IO_default_xsputn_internal)
27855 (_IO_default_xsgetn_internal, _IO_default_doallocate_internal)
27856 (_IO_wdefault_finish_internal, _IO_wdefault_pbackfail_internal)
27857 (_IO_wdefault_xsputn_internal, _IO_wdefault_xsgetn_internal)
27858 (_IO_wdefault_doallocate_internal, _IO_wdefault_uflow_internal)
27859 (_IO_file_doallocate_internal, _IO_file_setbuf_internal)
27860 (_IO_file_seekoff_internal, _IO_file_xsputn_internal)
27861 (_IO_file_xsgetn_internal, _IO_file_stat_internal)
27862 (_IO_file_close_internal, _IO_file_close_it_internal)
27863 (_IO_file_underflow_internal, _IO_file_overflow_internal)
27864 (_IO_file_init_internal, _IO_file_attach_internal)
27865 (_IO_file_fopen_internal, _IO_file_read_internal)
27866 (_IO_file_sync_internal, _IO_file_seek_internal)
27867 (_IO_file_finish_internal, _IO_wfile_xsputn_internal)
27868 (_IO_wfile_seekoff_internal, _IO_wfile_sync_internal)
27869 (_IO_str_underflow_internal, _IO_str_overflow_internal)
27870 (_IO_str_pbackfail_internal, _IO_str_seekoff_internal)
27871 (_IO_file_jumps_internal, _IO_wfile_jumps_internal)
27872 (_IO_list_all_internal, _IO_link_in_internal)
27873 (_IO_sputbackc_internal, _IO_wdoallocbuf_internal)
27874 (_IO_sgetn_internal, _IO_flush_all_linebuffered_internal)
27875 (_IO_switch_to_wget_mode_internal, _IO_unsave_markers_internal)
27876 (_IO_switch_to_main_wget_area_internal, _IO_wdo_write_internal)
27877 (_IO_do_write_internal, _IO_padn_internal)
27878 (_IO_getline_info_internal, _IO_getline_internal)
27879 (_IO_free_wbackup_area_internal, _IO_free_backup_area_internal)
27880 (_IO_switch_to_wbackup_area_internal, _IO_setb_internal)
27881 (_IO_sputbackwc_internal, _IO_switch_to_get_mode_internal)
27882 (_IO_vfscanf_internal, _IO_vfprintf_internal)
27883 (_IO_doallocbuf_internal, _IO_wsetb_internal, _IO_putc_internal)
27884 (_IO_init_internal, _IO_un_link_internal): Don't declare.
27885 * libio/fileops.c: Replace INTDEF with libc_hidden_def and INTDEF2
27886 with libc_hidden_ver, remove use of INTUSE.
27887 * libio/genops.c: Likewise.
27888 * libio/freopen.c: Likewise.
27889 * libio/freopen64.c: Likewise.
27890 * libio/iofclose.c: Likewise.
27891 * libio/iofdopen.c: Likewise.
27892 * libio/iofflush.c: Likewise.
27893 * libio/iofflush_u.c: Likewise.
27894 * libio/iofgets.c: Likewise.
27895 * libio/iofgets_u.c: Likewise.
27896 * libio/iofopen.c: Likewise.
27897 * libio/iofopncook.c: Likewise.
27898 * libio/iofread.c: Likewise.
27899 * libio/iofread_u.c: Likewise.
27900 * libio/ioftell.c: Likewise.
27901 * libio/iofwrite.c: Likewise.
27902 * libio/iogetline.c: Likewise.
27903 * libio/iogets.c: Likewise.
27904 * libio/iogetwline.c: Likewise.
27905 * libio/iopadn.c: Likewise.
27906 * libio/iopopen.c: Likewise.
27907 * libio/ioseekoff.c: Likewise.
27908 * libio/ioseekpos.c: Likewise.
27909 * libio/iosetbuffer.c: Likewise.
27910 * libio/iosetvbuf.c: Likewise.
27911 * libio/ioungetc.c: Likewise.
27912 * libio/ioungetwc.c: Likewise.
27913 * libio/iovdprintf.c: Likewise.
27914 * libio/iovsprintf.c: Likewise.
27915 * libio/iovsscanf.c: Likewise.
27916 * libio/memstream.c: Likewise.
27917 * libio/obprintf.c: Likewise.
27918 * libio/oldfileops.c: Likewise.
27919 * libio/oldiofclose.c: Likewise.
27920 * libio/oldiofdopen.c: Likewise.
27921 * libio/oldiofopen.c: Likewise.
27922 * libio/oldiopopen.c: Likewise.
27923 * libio/oldstdfiles.c: Likewise.
27924 * libio/putc.c: Likewise.
27925 * libio/setbuf.c: Likewise.
27926 * libio/setlinebuf.c: Likewise.
27927 * libio/stdfiles.c: Likewise.
27928 * libio/strops.c: Likewise.
27929 * libio/vasprintf.c: Likewise.
27930 * libio/vscanf.c: Likewise.
27931 * libio/vsnprintf.c: Likewise.
27932 * libio/vswprintf.c: Likewise.
27933 * libio/wfiledoalloc.c: Likewise.
27934 * libio/wfileops.c: Likewise.
27935 * libio/wgenops.c: Likewise.
27936 * libio/wmemstream.c: Likewise.
27937 * libio/wstrops.c: Likewise.
27938 * libio/__fpurge.c: Likewise.
27939 * libio/__fsetlocking.c: Likewise.
27940 * assert/assert.c: Likewise.
27941 * debug/fgets_chk.c: Likewise.
27942 * debug/fgets_u_chk.c: Likewise.
27943 * debug/fread_chk.c: Likewise.
27944 * debug/fread_u_chk.c: Likewise.
27945 * debug/gets_chk.c: Likewise.
27946 * debug/obprintf_chk.c: Likewise.
27947 * debug/vasprintf_chk.c: Likewise.
27948 * debug/vdprintf_chk.c: Likewise.
27949 * debug/vsnprintf_chk.c: Likewise.
27950 * debug/vsprintf_chk.c: Likewise.
27951 * malloc/mtrace.c: Likewise.
27952 * misc/error.c: Likewise.
27953 * misc/syslog.c: Likewise.
27954 * stdio-common/asprintf.c: Likewise.
27955 * stdio-common/fxprintf.c: Likewise.
27956 * stdio-common/getw.c: Likewise.
27957 * stdio-common/isoc99_fscanf.c: Likewise.
27958 * stdio-common/isoc99_scanf.c: Likewise.
27959 * stdio-common/isoc99_vfscanf.c: Likewise.
27960 * stdio-common/isoc99_vscanf.c: Likewise.
27961 * stdio-common/isoc99_vsscanf.c: Likewise.
27962 * stdio-common/printf-prs.c: Likewise.
27963 * stdio-common/printf_fp.c: Likewise.
27964 * stdio-common/printf_fphex.c: Likewise.
27965 * stdio-common/printf_size.c: Likewise.
27966 * stdio-common/putw.c: Likewise.
27967 * stdio-common/scanf.c: Likewise.
27968 * stdio-common/sprintf.c: Likewise.
27969 * stdio-common/tmpfile.c: Likewise.
27970 * stdio-common/vfprintf.c: Likewise.
27971 * stdio-common/vfscanf.c: Likewise.
27972 * stdlib/strfmon_l.c: Likewise.
27973 * sunrpc/openchild.c: Likewise.
27974 * sunrpc/xdr_stdio.c: Likewise.
27975 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Likewise.
27976 * sysdeps/mach/hurd/tmpfile.c: Likewise.
27978 2012-05-24 Roland McGrath <roland@hack.frob.com>
27980 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
27982 * sysdeps/unix/make-syscalls.sh: Support "syscall:vdso_name@VDSOVER"
27983 in the third column, to generate for the shared library an IFUNC
27984 that uses _dl_vdso_vsym.
27985 * Makerules (COMPILE.c, compile-stdin.c): New variables.
27986 * Makeconfig (object-suffixes-noshared): New variable.
27988 * sysdeps/unix/sysv/linux/dl-vdso.h (PREPARE_VERSION_KNOWN): New macro.
27989 (VDSO_NAME_LINUX_2_6, VDSO_HASH_LINUX_2_6): New macros.
27990 (VDSO_NAME_LINUX_2_6_15, VDSO_HASH_LINUX_2_6_15): New macros.
27991 (VDSO_NAME_LINUX_2_6_29, VDSO_HASH_LINUX_2_6_29): New macros.
27994 * include/sys/time.h (__gettimeofday): Remove macro.
27995 (__gettimeofday, gettimeofday): Add libc_hidden_proto.
27996 * time/gettimeofday.c (__gettimeofday): Remove #undef.
27998 (__gettimeofday): Add libc_hidden_def.
27999 (gettimeofday): Add libc_hidden_weak.
28000 * sysdeps/mach/gettimeofday.c: Likewise.
28001 * sysdeps/posix/gettimeofday.c: Likewise.
28002 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Likewise.
28003 * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Likewise.
28004 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c
28005 (__gettimeofday_internal): Remove strong_alias.
28006 (__gettimeofday): Add libc_hidden_def.
28007 (gettimeofday): Add libc_hidden_weak.
28008 * sysdeps/unix/syscalls.list (gettimeofday):
28009 Remove __gettimeofday_internal alias.
28011 2012-05-24 Daniel Jacobowitz <drow@false.org>
28012 H.J. Lu <hongjiu.lu@intel.com>
28015 * malloc/malloc.c (SMALLBIN_CORRECTION): New.
28016 (MIN_LARGE_SIZE, smallbin_index): Use it to handle 16-byte alignment.
28017 (largebin_index_32_big): New.
28018 (largebin_index): Use it for 16-byte alignment.
28019 (sYSMALLOc): Handle MALLOC_ALIGNMENT > 2 * SIZE_SZ. Don't update
28020 correction with front_misalign.
28022 2012-05-24 H.J. Lu <hongjiu.lu@intel.com>
28024 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: New file.
28025 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
28027 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist:
28029 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
28031 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist:
28033 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist:
28035 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist:
28037 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist:
28039 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
28041 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist:
28043 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist:
28045 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
28047 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist:
28050 * scripts/data/c++-types-x32-linux-gnu.data: New file.
28051 * sysdeps/x86_64/x32/shlib-versions: Add x32 ABI entry.
28053 2012-05-24 Joseph Myers <joseph@codesourcery.com>
28057 * math/libm-test.inc (exp_test): Add test from bug 14036.
28058 (pow_test): Add test from bug 10846.
28060 * math/gen-libm-test.pl (%beautify): Remove entries for exceptions
28062 (special_function): Do not include flags in test name.
28063 (parse_args): Likewise.
28064 * sysdeps/i386/fpu/libm-test-ulps: Update.
28065 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
28066 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
28067 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
28068 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
28070 * math/gen-libm-test.pl (%beautify): Add entries for underflow
28072 * math/libm-test.inc ("Philosophy"): Update comment about
28074 (UNDERFLOW_EXCEPTION): New macro.
28075 (UNDERFLOW_EXCEPTION_OK): Likewise.
28076 (UNDERFLOW_EXCEPTION_FLOAT): Likewise.
28077 (UNDERFLOW_EXCEPTION_OK_FLOAT): Likewise.
28078 (UNDERFLOW_EXCEPTION_DOUBLE): Likewise.
28079 (UNDERFLOW_EXCEPTION_LDOUBLE_IBM): Likewise.
28080 (INVALID_EXCEPTION_OK): Update value.
28081 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
28082 (OVERFLOW_EXCEPTION_OK): Likewise.
28083 (IGNORE_ZERO_INF_SIGN): Likewise.
28084 (test_exceptions): Handle underflow exceptions.
28085 (acos_test): Update for underflow exception expectations.
28086 (cexp_test): Likewise.
28087 (clog_test): Likewise.
28088 (clog10_test): Likewise.
28089 (csqrt_test): Likewise.
28090 (ctan_test): Likewise.
28091 (ctanh_test): Likewise.
28092 (exp_test): Likewise.
28093 (exp10_test): Likewise.
28094 (exp2_test): Likewise.
28095 (expm1_test): Likewise.
28096 (fma_test): Likewise.
28097 (j0_test): Likewise.
28098 (jn_test): Likewise.
28099 (nexttoward_test): Likewise.
28100 (pow_test): Likewise.
28101 (scalbn_test): Likewise.
28102 (scalbln_test): Likewise.
28103 (tan_test): Likewise.
28104 (y1_test): Likewise.
28105 * sysdeps/i386/fpu/libm-test-ulps: Update.
28106 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
28108 2012-05-23 David S. Miller <davem@davemloft.net>
28110 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
28111 (__libc_sigaction): Remove unused local variables.
28113 2012-05-23 H.J. Lu <hongjiu.lu@intel.com>
28115 * sysdeps/unix/sysv/linux/x86_64/x32/configure: New file.
28117 2012-05-23 Paul Eggert <eggert@cs.ucla.edu>
28119 mktime: avoid signed integer overflow
28120 * time/mktime.c (__mktime_internal): Do not mishandle the case
28121 where diff == INT_MIN.
28123 mktime: simplify computation of average
28124 * time/mktime.c (ranged_convert): Use new time_t_avg function
28125 instead of rolling our own (probably-slower) code.
28127 mktime: do not assume signed right shift propagates sign bit
28128 * time/mktime.c (isdst_differ): New static function.
28129 (__mktime_internal): No need to normalize tm_isdst now.
28130 (__mktime_internal, not_equal_tm): Use isdst_differ to compare
28133 mktime: merge another wrapv change from gnulib
28134 * time/mktime.c (TYPE_MAXIMUM): Rework slightly to avoid diagnostics
28135 from some compilers.
28137 mktime: remove incorrect attempt at unusual arithmetics
28138 * time/mktime.c (TYPE_ONES_COMPLEMENT, TYPE_SIGNED_MAGNITUDE): Remove.
28139 The code didn't really work on such machines anyway.
28140 (TYPE_MINIMUM): Assume two's complement.
28141 (twos_complement_arithmetic): Verify that long_int and time_t
28142 are two's complement (or unsigned, in the latter case).
28144 mktime: check signed shifts on long_int and time_t, too
28145 * time/mktime.c (SHR): Check that shifts work as desired
28146 on the types long_int and time_t too, as SHR is used on
28149 mktime: do not assume 'long' is wide enough
28150 * time/mktime.c (verify): Move decl up.
28151 (long_int): New type.
28152 (leapyear, ydhms_diff, guess_time_tm, __mktime_internal): Use it,
28153 to remove assumption in the code that 'long' is wide enough to
28154 store year values. This assumption is not true on x32 and on
28155 some non-glibc platforms.
28157 mktime: merge wrapv change from gnulib
28158 * time/mktime.c (WRAPV): New macro.
28159 (time_t_avg, time_t_add_ok, time_t_int_add_ok): New static functions.
28160 (guess_time_tm, __mktime_internal): Do not assume that signed
28161 integer overflow wraps around; modern compilers generate code
28162 where this assumption is no longer valid.
28164 2012-05-23 H.J. Lu <hongjiu.lu@intel.com>
28166 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
28167 Replace "jmp L(pseudo_end)" with "ret".
28168 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_ERROR_HANDLER):
28171 2012-05-23 Andreas Jaeger <aj@suse.de>
28173 * sysdeps/unix/sysv/linux/syscalls.list: Add poll.
28174 * sysdeps/unix/sysv/linux/poll.c: Remove file.
28176 2012-05-23 Andreas Jaeger <aj@suse.de>
28177 Maximilian Attems <max@stro.at>
28179 * sysdeps/unix/sysv/linux/sys/reboot.h (RB_SW_SUSPEND, RB_KEXEC):
28182 2012-05-23 H.J. Lu <hongjiu.lu@intel.com>
28184 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Rearrange
28185 code so that pseudo_end is just ret and the stack pointer is
28186 correct also for static library in error case.
28188 2012-05-23 Joseph Myers <joseph@codesourcery.com>
28190 * sysdeps/unix/sysv/linux/powerpc/chown.c: Add comment suggesting
28191 move to syscalls.list.
28192 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
28193 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
28194 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
28195 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
28197 * manual/install.texi (Running make install): Do not mention Linux
28198 kernel version for which pt_chown is not needed.
28199 (Linux): Do not mention problems with nscd with 2.0 kernels.
28200 * INSTALL: Regenerated.
28202 2012-05-23 Andreas Jaeger <aj@suse.de>
28204 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h
28205 (MADV_DONTDUMP,MADV_DODUMP): New macros from Linux 3.4.
28207 * sysdeps/unix/sysv/linux/s390/bits/mman.h
28208 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
28209 * sysdeps/unix/sysv/linux/sh/bits/mman.h
28210 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
28211 * sysdeps/unix/sysv/linux/i386/bits/mman.h
28212 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
28213 * sysdeps/unix/sysv/linux/sparc/bits/mman.h
28214 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
28215 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h
28216 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
28217 * sysdeps/unix/sysv/linux/bits/in.h
28218 (IP_MULTICAST_ALL,IP_UNICAST_IF): Likewise.
28220 2012-05-22 Roland McGrath <roland@hack.frob.com>
28222 * sysdeps/unix/sysv/linux/dl-vdso.h (CHECK_HASH): Macro removed.
28223 (PREPARE_VERSION): Just use assert instead, it will be elided
28224 under [NDEBUG] anyway.
28226 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
28228 * sysdeps/unix/sysv/linux/Makefile: Include
28229 $(firstword $(wildcard $(sysdirs:=/sysctl.mk))).
28230 (sysdep_routines): Remove sysctl.
28231 * sysdeps/unix/sysv/linux/bits/sysctl.h: New file.
28232 * sysdeps/unix/sysv/linux/sysctl.mk: Likewise.
28233 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Likewise.
28234 * sysdeps/unix/sysv/linux/x86_64/x32/sysctl.mk: Likewise.
28235 * sysdeps/unix/sysv/linux/sys/sysctl.h: Include <bits/sysctl.h>.
28237 2012-05-22 Andreas Jaeger <aj@suse.de>
28239 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Rearrange code so
28240 that pseudo_end is just ret and the stack pointer is correct also
28241 for static library in error case.
28243 2012-05-22 Paul Pluzhnikov <ppluzhnikov@google.com>
28246 * nss/nsswitch.c (defconfig_entries): New variable.
28247 (__nss_database_lookup): Don't leak defconfig entries.
28248 (nss_parse_service_list): Don't leak on error paths.
28249 (free_database_entries): New function.
28250 (free_defconfig): New function.
28251 (free_mem): Move common code to free_database_entries.
28253 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
28255 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (sysdep_routines):
28257 * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: New file.
28259 * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
28260 (posix_fallocate): Use INTERNAL_SYSCALL_TYPES if it is defined.
28261 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (INLINE_SYSCALL_TYPES):
28263 (INTERNAL_SYSCALL_NCS_TYPES): Likewise.
28264 (INTERNAL_SYSCALL_TYPES): Likewise.
28265 (LOAD_ARGS_TYPES_[1-6]): Likewise.
28266 (LOAD_REGS_TYPES_[1-6]): Likewise.
28267 (LOAD_ARGS_[1-6]): Use LOAD_ARGS_TYPES_[1-6].
28268 (LOAD_REGS_[1-6]): Use LOAD_REGS_TYPES_[1-6].
28270 2012-05-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
28272 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Add compat symbol
28273 copysignl for GLIBC_2_0.
28274 * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Add compat symbol
28275 finitel for GLIBC_2.0 and __finitel for GLIBC_2_1.
28276 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Add compat symbol
28277 logbl for GLIBC_2_0.
28278 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
28279 * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
28281 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
28283 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Don't include
28284 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
28286 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
28289 * time/mktime.c: Update copyright years.
28291 2012-05-22 Paul Eggert <eggert@cs.ucla.edu>
28293 mktime: merge comment-quoting-style change from gnulib
28294 * time/mktime.c: Quote 'like this' in comments.
28295 The GNU coding standards suggest that we no longer quote `like this',
28296 as "`" and "'" are typically rendered asymmetrically nowadays.
28297 The typical gnulib style is to quote 'like this' when quoting
28298 code, and "like this" when quoting English.
28300 * time/mktime.c (compile-command): Add "-I.".
28302 mktime: merge mktime-internal.h change from gnulib
28303 * time/mktime.c [!_LIBC]: Include "mktime-internal.h".
28305 mktime: merge time_r change from gnulib
28306 * time/mktime.c [!_LIBC]: Do not include "time_r.h".
28308 mktime: merge DEBUG change from gnulib
28309 * time/mktime.c (mktime) [DEBUG]: #undef before #define-ing, in
28310 case system <time.h> has a #define.
28312 mktime: merge <sys/types.h> change from gnulib
28313 * time/mktime.c: Do not include <sys/types.h>; no longer needed,
28314 since <time.t> is now guaranteed to define time_t.
28316 mktime: merge HAVE_CONFIG_H change from gnulib
28317 * time/mktime.c: Include <config.h> if !_LIBC, not if HAVE_CONFIG_H.
28319 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
28321 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
28324 * sysdeps/unix/sysv/linux/bits/resource.h (RLIM_INFINITY): Use
28326 (struct rusage): Use anonymous union to pad each field to
28329 2012-05-21 David S. Miller <davem@davemloft.net>
28331 * Makefules (o-iterator): Remove .s cases.
28332 (compile-command.s): Delete.
28333 (COMPILE.s): Delete.
28334 * sysdeps/unix/make-syscalls.sh: Remove .s file tests.
28336 2012-05-21 Joseph Myers <joseph@codesourcery.com>
28338 * configure.in (libc_cv_predef_stack_protector): Only consider
28339 "foobar" and "__stack_chk_fail" lines in libc_undefs.
28340 * configure: Regenerated.
28342 2012-05-21 H.J. Lu <hongjiu.lu@intel.com>
28344 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
28345 New macro. Use R*LP on int and pointer.
28346 (SYSCALL_ERROR_HANDLER): Use SYSCALL_SET_ERRNO.
28347 * sysdeps/unix/sysv/linux/x86_64/x32/lseek.S: New file.
28348 * sysdeps/unix/sysv/linux/x86_64/x32/llseek.S: Likewise.
28349 * sysdeps/unix/sysv/linux/x86_64/x32/sysdep.h: Likewise.
28351 * sysdeps/gnu/bits/utmp.h (struct lastlog): Check
28352 [__WORDSIZE_TIME64_COMPAT32] instead of
28353 [__WORDSIZE == 64 && __WORDSIZE_COMPAT32].
28354 (struct utmp): Likewise.
28355 * sysdeps/gnu/bits/utmpx.h (struct utmpx): Likewise.
28356 * sysdeps/powerpc/powerpc32/bits/wordsize.h (__WORDSIZE_COMPAT32):
28358 (__WORDSIZE_TIME64_COMPAT32): This.
28359 * sysdeps/powerpc/powerpc64/bits/wordsize.h: Likewise.
28360 * sysdeps/sparc/sparc32/bits/wordsize.h: Likewise.
28361 * sysdeps/sparc/sparc64/bits/wordsize.h: Likewise.
28362 * sysdeps/unix/sysv/linux/powerpc/bits/wordsize.h: Likewise.
28363 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE_COMPAT32): Removed.
28364 (__WORDSIZE_TIME64_COMPAT32): New macro.
28366 2012-05-21 Andreas Jaeger <aj@suse.de>
28368 * sysdeps/i386/i686/multiarch/wcschr-c.c: Redefine libc_hidden_def
28369 only if [SHARED]. Add prototype for __wcschr_ia32.
28371 2012-05-21 Roland McGrath <roland@hack.frob.com>
28373 * sysdeps/x86_64/setjmp.S [PTR_MANGLE] [__ILP32__]: Preserve high bits
28374 of %rbp unmolested in the jmp_buf while mangling the low bits.
28375 * sysdeps/x86_64/__longjmp.S [PTR_DEMANGLE] [__ILP32__]: Restore the
28376 unmolested high bits of %rbp while demangling the low bits.
28377 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
28379 2012-05-21 Andreas Jaeger <aj@suse.de>
28381 * include/shlib-compat.h (libc_sunrpc_symbol): New macro.
28382 * sunrpc/svc_simple.c: Use it for registerrpc.
28383 * sunrpc/xcrypt.c: Use it for passwd2des.
28385 * malloc/malloc.c: Include shlib-compat.h for SHLIB_COMPAT.
28387 2012-05-21 H.J. Lu <hongjiu.lu@intel.com>
28389 * sysdeps/unix/sysv/linux/bits/statvfs.h (_STATVFSBUF_F_UNUSED):
28390 Don't define if [__SYSCALL_WORDSIZE != 32].
28391 * sysdeps/x86_64/bits/wordsize.h (__SYSCALL_WORDSIZE):
28394 2012-05-21 Bruno Haible <bruno@clisp.org>
28395 Andreas Jaeger <aj@suse.de>
28397 [BZ #13691], Revert breakage of iconv() converter for TCVN-5712.
28398 * iconvdata/tcvn5712-1.c (BODY for FROM_LOOP): Don't consider
28399 inptr and inend for must_buffer_ch.
28400 * wcsmbs/tst-mbsnrtowcs.c: Remove file.
28401 * wcsmbs/Makefile (tests): Remove tst-mbsnrtowcs.
28402 * stdio-common/Makefile (tests): Remove bug15.
28403 (bug15-ENV): Remove macro.
28404 * stdio-common/bug15.c: Remove, we do not support vi_VN.TCVN5712-1
28407 2012-05-19 Andreas Jaeger <aj@suse.de>
28408 Roland McGrath <roland@hack.frob.com>
28410 * manual/contrib.texi: Completely rewritten. It contains now an
28411 alphabetical list of contributors and their contributions.
28413 2012-05-21 Richard Henderson <rth@twiddle.net>
28415 * misc/getauxval.c (__getauxval): Use unsigned long int.
28416 * misc/sys/auxv.h: Include <sys/cdefs.h>.
28417 (getauxval): Use unsigned long int.
28419 2012-05-21 H.J. Lu <hongjiu.lu@intel.com>
28421 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
28423 2012-05-21 Roland McGrath <roland@hack.frob.com>
28425 * malloc/malloc.c [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_16)]
28426 (MALLOC_ALIGNMENT): Set it to the greater of 2 * SIZE_SZ and
28427 __alignof__ (long double).
28429 2012-05-21 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
28431 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
28433 2012-05-20 Richard Henderson <rth@twiddle.net>
28435 * misc/getauxval.c: New file.
28436 * misc/sys/auxv.h: New file.
28437 * misc/Makefile (headers): Add sys/auxv.h, bits/hwcap.h.
28438 (routines): Add getauxval.
28439 * misc/Versions (GLIBC_2.16): Add __getauxval, getauxval.
28440 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Add _dl_auxv.
28441 * elf/dl-sysdep.c (_dl_auxv): Remove.
28442 (_dl_sysdep_start, _dl_show_auxv): Use GLRO to access _dl_auxv.
28443 * elf/dl-support.c (_dl_auxv): New variable.
28444 (_dl_aux_init): Initialize it.
28445 * manual/startup.texi (Auxiliary Vector): New node.
28446 * sysdeps/generic/bits/hwcap.h: New file.
28447 * sysdeps/powerpc/bits/hwcap.h: New file, split out from ...
28448 * sysdeps/powerpc/sysdep.h: ... here. Include it.
28449 * sysdeps/sparc/bits/hwcap.h: New file, split out from ...
28450 * sysdeps/sparc/sysdep.h: ... here. Include it.
28451 * sysdeps/unix/sysv/linux/s390/bits/hwcap.h: New file.
28452 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Update.
28453 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
28455 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: Update.
28456 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Update.
28457 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Update.
28458 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Update.
28459 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
28460 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
28461 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Update.
28462 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Update.
28464 2012-05-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
28466 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
28468 2012-05-19 David S. Miller <davem@davemloft.net>
28470 * sysdeps/sparc/fpu/libm-test-ulps: Update.
28472 2012-05-19 Joseph Myers <joseph@codesourcery.com>
28475 * math/s_ccosh.c: Include <float.h>
28476 (__ccosh): Avoid internal overflow calculating sinh and cosh
28477 values before multiplying by sin and cos values.
28478 * math/s_ccoshf.c: Likewise.
28479 * math/s_ccoshl.c: Likewise.
28480 * math/s_csin.c: Likewise.
28481 * math/s_csinf.c: Likewise.
28482 * math/s_csinl.c: Likewise.
28483 * math/s_csinh.c: Likewise.
28484 * math/s_csinhf.c: Likewise.
28485 * math/s_csinhl.c: Likewise.
28486 * math/libm-test.inc (ccos_test): Add more tests.
28487 (ccosh_test): Likewise.
28488 (csin_test): Likewise.
28489 (csinh_test): Likewise.
28490 * sysdeps/i386/fpu/libm-test-ulps: Update.
28491 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
28493 2012-05-19 H.J. Lu <hongjiu.lu@intel.com>
28495 * sysdeps/unix/sysv/linux/wordsize-64/preadv.c: New file.
28496 * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c: Likewise.
28498 * sysdeps/x86_64/x32/_itoa.h: Add comment.
28500 2012-05-19 Joseph Myers <joseph@codesourcery.com>
28502 * sysdeps/powerpc/soft-fp/Makefile: Remove file.
28503 * sysdeps/powerpc/soft-fp/Subdirs: Likewise.
28504 * sysdeps/powerpc/soft-fp/Versions: Likewise.
28505 * sysdeps/powerpc/soft-fp/q_add.c: Likewise.
28506 * sysdeps/powerpc/soft-fp/q_cmp.c: Likewise.
28507 * sysdeps/powerpc/soft-fp/q_cmpe.c: Likewise.
28508 * sysdeps/powerpc/soft-fp/q_div.c: Likewise.
28509 * sysdeps/powerpc/soft-fp/q_dtoq.c: Likewise.
28510 * sysdeps/powerpc/soft-fp/q_feq.c: Likewise.
28511 * sysdeps/powerpc/soft-fp/q_fge.c: Likewise.
28512 * sysdeps/powerpc/soft-fp/q_fgt.c: Likewise.
28513 * sysdeps/powerpc/soft-fp/q_fle.c: Likewise.
28514 * sysdeps/powerpc/soft-fp/q_flt.c: Likewise.
28515 * sysdeps/powerpc/soft-fp/q_fne.c: Likewise.
28516 * sysdeps/powerpc/soft-fp/q_itoq.c: Likewise.
28517 * sysdeps/powerpc/soft-fp/q_lltoq.c: Likewise.
28518 * sysdeps/powerpc/soft-fp/q_mul.c: Likewise.
28519 * sysdeps/powerpc/soft-fp/q_neg.c: Likewise.
28520 * sysdeps/powerpc/soft-fp/q_qtod.c: Likewise.
28521 * sysdeps/powerpc/soft-fp/q_qtoi.c: Likewise.
28522 * sysdeps/powerpc/soft-fp/q_qtoll.c: Likewise.
28523 * sysdeps/powerpc/soft-fp/q_qtos.c: Likewise.
28524 * sysdeps/powerpc/soft-fp/q_qtou.c: Likewise.
28525 * sysdeps/powerpc/soft-fp/q_qtoull.c: Likewise.
28526 * sysdeps/powerpc/soft-fp/q_sqrt.c: Likewise.
28527 * sysdeps/powerpc/soft-fp/q_stoq.c: Likewise.
28528 * sysdeps/powerpc/soft-fp/q_sub.c: Likewise.
28529 * sysdeps/powerpc/soft-fp/q_ulltoq.c: Likewise.
28530 * sysdeps/powerpc/soft-fp/q_util.c: Likewise.
28531 * sysdeps/powerpc/soft-fp/q_utoq.c: Likewise.
28532 * sysdeps/powerpc/soft-fp/sfp-machine.h: Likewise.
28534 2012-05-18 Andreas Jaeger <aj@suse.de>
28536 * csu/.gitignore: Delete.
28538 2012-05-18 H.J. Lu <hongjiu.lu@intel.com>
28540 * sysdeps/unix/sysv/linux/bits/timex.h: Include <bits/types.h>.
28541 (timex): Use __syscall_slong_t.
28543 2012-05-18 Andreas Jaeger <aj@suse.de>
28544 Carlos O'Donell <carlos_odonell@mentor.com>
28546 * manual/install.texi (Configuring and compiling): Update
28547 description about files modified in the source directory.
28548 * INSTALL: Regenerated.
28550 2012-05-18 H.J. Lu <hongjiu.lu@intel.com>
28552 * sysdeps/unix/x86_64/sysdep.S: Use RAX_LP to access return
28553 value. Use "or" to set return value to -1.
28554 * sysdeps/unix/sysv/linux/x86_64/sysdep.S: Use RAX_LP to
28555 negate return value.
28557 2012-05-18 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
28559 * sysdeps/powerpc/powerpc32/power4/Makefile (CFLAGS-wordcopy.c)
28560 (CFLAGS-memmove.c): remove -ftree-loop-linear which causes a build
28561 failure if the compiler has Graphite support disabled.
28562 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile (CFLAGS-mpa.c):
28564 * sysdeps/powerpc/powerpc64/power4/Makefile (CFLAGS-wordcopy.c)
28565 (CFLAGS-memmove.c): Likewise.
28566 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile (CFLAGS-mpa.c):
28569 2012-05-18 H.J. Lu <hongjiu.lu@intel.com>
28571 * sysdeps/x86_64/x32/_itoa.h: New file.
28573 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): Use
28574 getdents system call only if kernel and user dirents have the
28575 same d_ino and d_off.
28577 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
28578 LLONG_MAX != LONG_MAX.
28579 (_itoa_word): Use _ITOA_WORD_TYPE on value.
28580 (_fitoa_word): Likewise.
28582 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Fold copyright
28584 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Likewise.
28585 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Likewise.
28586 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Likewise.
28588 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Don't
28589 include <bits/wordsize.h>. Check __x86_64__ instead of
28591 (sigcontext): Use "__uint64_t" instead of "unsigned long int"
28592 if __x86_64__ is defined. Use anonymous union on fpstate.
28594 * sysdeps/unix/sysv/linux/x86_64/sys/user.h (user): Use
28597 2012-05-18 Andreas Schwab <schwab@linux-m68k.org>
28599 * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
28600 INTUSE on _dl_argv, and _rtld_local instead of _rtld_global.
28601 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S [IS_IN_rtld]:
28602 Refer to _rtld_local_ro instead of _rtld_global_ro.
28603 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S [IS_IN_rtld]:
28605 * sysdeps/powerpc/powerpc64/__longjmp-common.S [IS_IN_rtld]:
28607 * sysdeps/powerpc/powerpc64/setjmp-common.S [IS_IN_rtld]:
28609 * sysdeps/powerpc/powerpc64/dl-trampoline.S [SHARED]: Likewise.
28610 * sysdeps/powerpc/powerpc64/dl-machine.h: Use _rtld_local instead
28611 of _rtld_global, and rtld_progname instead of _dl_argv[0].
28613 * sysdeps/powerpc/powerpc32/dl-machine.c
28614 (__elf_machine_runtime_setup) [PROF]: Don't reference
28617 2012-05-18 Andreas Jaeger <aj@suse.de>
28619 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Make inline
28620 function only available for GCCs before 3.4 since GCC 3.4
28621 introduced a builtin.
28623 (llrintf): Likewise.
28624 (llrint): Likewise.
28631 (nearbyint): Likewise.
28632 (nearbyintf): Likewise.
28636 (floorf): Likewise.
28638 2012-05-17 H.J. Lu <hongjiu.lu@intel.com>
28640 * sysdeps/unix/sysv/linux/pselect.c (data): Use __syscall_ulong_t
28641 on both fields and cast pointer to __syscall_ulong_t.
28643 * bits/types.h (__fsword_t): New type.
28644 * bits/typesizes.h (__FSWORD_T_TYPE): New macro.
28645 sysdeps/mach/hurd/bits/typesizes.h (__FSWORD_T_TYPE): Likewise.
28646 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
28647 (__FSWORD_T_TYPE): Likewise.
28648 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
28649 (__FSWORD_T_TYPE): Likewise.
28650 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
28651 (__FSWORD_T_TYPE): Likewise.
28652 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h
28653 (__FSWORD_T_TYPE): Likewise.
28654 * sysdeps/unix/sysv/linux/bits/statfs.h (statfs): Replace
28655 __SWORD_TYPE with __fsword_t.
28656 (statfs64): Likewise.
28658 2012-05-17 David S. Miller <davem@davemloft.net>
28660 * crypt/sha512c-test.c (TIMEOUT): Increase to 32.
28662 2012-05-17 Andreas Jaeger <aj@suse.de>
28664 * elf/tst-relsort1.c (do_test): Fix function declaration to avoid
28667 2012-05-17 H.J. Lu <hongjiu.lu@intel.com>
28669 * sysdeps/x86_64/tst-mallocalign1.c (test): Cast to unsigned long.
28671 2012-05-17 Andreas Jaeger <aj@suse.de>
28673 * sysdeps/i386/dl-machine.h (elf_machine_rel): Declare refsym only
28676 2012-05-17 Chris Metcalf <cmetcalf@tilera.com>
28678 * stdio-common/bug22.c (TIMEOUT): Bump up from 30 to 60.
28680 2012-05-17 H.J. Lu <hongjiu.lu@intel.com>
28682 * sysdeps/x86_64/Makefile (tests): Add tst-mallocalign1.
28683 * sysdeps/x86_64/tst-mallocalign1.c: New file.
28685 2012-05-17 Andreas Jaeger <aj@suse.de>
28686 Carlos O'Donell <carlos_odonell@mentor.com>
28689 * sysdeps/x86_64/multiarch/init-arch.h
28690 (bit_YMM_Usable): Rename to...
28691 (bit_AVX_Usable): ... this.
28692 (bit_FMA4_Usable): New macro.
28693 (bit_XMM_state): New macro.
28694 (bit_YMM_state): New macro.
28695 [__ASSEMBLER__] (index_YMM_Usable): Rename to...
28696 [__ASSEMBLER__] (index_AVX_Usable): ... this.
28697 [__ASSEMBLER__] (index_FMA4_Usable): New macro.
28698 (CPUID_OSXSAVE): New macro.
28699 (CPUID_AVX): New macro.
28700 (CPUID_FMA4): New macro.
28701 (index_YMM_Usable): Rename to...
28702 (index_AVX_Usable): ... this.
28703 (HAS_AVX): Use HAS_ARCH_FEATURE.
28704 (HAS_FMA4): Likewise.
28705 (HAS_YMM_USABLE): Remove.
28706 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
28707 Enable AVX or FMA4 IFF YMM and XMM states are usable and the features
28709 * sysdeps/x86_64/multiarch/strcmp.S: Use bit_AVX_Usable.
28710 * sysdeps/i386/i686/multiarch/Makefile: Add test-multiarch to tests.
28711 * sysdeps/x86_64/multiarch/Makefile: Likewise.
28712 * sysdeps/i386/i686/multiarch/test-multiarch.c: New file.
28713 * sysdeps/x86_64/multiarch/test-multiarch.c: New file.
28715 2012-05-17 Chris Metcalf <cmetcalf@tilera.com>
28717 * math/libm-test.c: Support platforms without multiple rounding modes.
28718 * math/bug-nextafter.c: Support platforms without FP exceptions.
28719 * math/bug-nexttoward.c: Likewise.
28720 * math/test-fenv.c: Likewise.
28721 * math/test-misc.c: Likewise.
28722 * stdlib/bug-getcontext.c: Likewise.
28724 2012-05-17 Andreas Jaeger <aj@suse.de>
28726 * manual/examples/search.c (critter_cmp): Change signature to
28728 * manual/string.texi (Collation Functions): Likewise.
28730 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
28732 * bits/types.h: Fold copyright years.
28733 * bits/typesizes.h: Likewise.
28734 * sysdeps/mach/hurd/bits/typesizes.h: Likewise.
28735 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
28736 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h: Likewise.
28737 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h: Likewise.
28738 * time/time.h: Likewise.
28740 2012-05-16 Paul Pluzhnikov <ppluzhnikov@google.com>
28743 * malloc.c (int_mallinfo): Add parameter to accumulate statistics
28744 in instead of returning them. Return void.
28745 (__libc_mallinfo): Accumulate over all arenas.
28746 (__malloc_stats): Adjust for change in int_mallinfo interface.
28748 2012-05-16 Roland McGrath <roland@hack.frob.com>
28751 * configure.in (NM): Add AC_CHECK_TOOL for it.
28752 (libc_extra_cflags): New substituted variable.
28753 Check for -fstack-protector being used implicitly.
28754 * configure: Regenerated.
28755 * config.make.in (config-extra-cflags): New variable,
28756 gets @libc_extra_cflags@.
28757 * Makeconfig (CFLAGS): Add $(config-extra-cflags) near the front.
28760 * configure.in: Check for _FORTIFY_SOURCE being predefined.
28761 (CPPUNDEFS): New substituted variable; add -U_FORTIFY_SOURCE if needed.
28762 * configure: Regenerated.
28763 * config.make.in (CPPUNDEFS): New substituted variable.
28764 * Makeconfig (CPPFLAGS): Put $(CPPUNDEFS) at the beginning.
28765 * Makerules ($(stdio_lim:h=st)): Use $(CPPUNDEFS).
28766 * time/ctime.c: Don't #undef __OPTIMIZE__ and ctime.
28768 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
28770 * sysdeps/unix/sysv/linux/bits/mqueue.h: Include <bits/types.h>.
28771 (mq_attr): Use __syscall_slong_t.
28773 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
28775 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_SVR4):
28776 Check __x86_64__ instead of __WORDSIZE.
28777 (_STAT_VER_LINUX): Likewise.
28778 (stat): Check __x86_64__ instead of __WORDSIZE. Use
28779 __syscall_ulong_t and __syscall_slong_t.
28780 (stat64): Likewise.
28782 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
28784 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: New file.
28786 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
28788 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: New file.
28790 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
28792 * sysdeps/unix/sysv/linux/bits/ipc.h (ipc_perm): Use
28795 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Don't
28796 include <bits/wordsize.h>. Check __x86_64__ instead of
28798 (greg_t): Use "__extension__ long long int" if __x86_64__ is
28800 (mcontext_t): Replace "unsigned long" with "unsigned long long".
28802 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Don't
28803 include <bits/wordsize.h>. Check __x86_64__ instead of
28805 (user_regs_struct): Use "__extension__ unsigned long long"
28806 instead of "unsigned long" if __x86_64__ is defined.
28807 (user): Likewise. Pad after pointer field if __ILP32__ is
28810 2012-05-16 Joseph Myers <joseph@codesourcery.com>
28812 * configure.in (makeinfo): Require version 4.5 or later. Allow
28814 * configure: Regenerated.
28815 * manual/install.texi (texinfo): Increase version requirement to
28817 * INSTALL: Regenerated.
28819 * include/stdc-predef.h (__STDC_ISO_10646__): Increase to 201103L.
28821 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
28823 * sysdeps/x86_64/x32/gmp-mparam.h: New file.
28825 * sysdeps/x86_64/x32/ffs.c: New file.
28827 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h (shmatt_t): Use
28829 (shmid_ds): Add __unused1 and __unused2 only if __x86_64__ isn't
28830 defined. Use __syscall_ulong_t.
28831 (shminfo): Use __syscall_ulong_t.
28832 (shm_info): Likewise.
28834 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semid_ds): Use
28837 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Don't include
28839 (msgqnum_t): Use __syscall_ulong_t.
28840 (msglen_t): Likewise.
28841 (msqid_ds): Check __x86_64__ instead of __WORDSIZE. Use
28844 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Don't include
28845 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
28847 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: New file.
28849 * sysdeps/x86_64/x32/divdi3.c: New dummy file.
28850 * sysdeps/x86_64/x32/symbol-hacks.h: Likewise.
28852 * sysvipc/sys/msg.h (msgbuf): Replace long int with
28855 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Don't
28856 include <bits/wordsize.h>. Check __x86_64__ instead of
28859 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h (elf_greg_t): Use
28860 "unsigned long long int" if __x86_64__ is defined.
28861 (elf_fpregset_t): Check __x86_64__ instead of __WORDSIZE.
28863 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Don't include
28864 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
28865 (DR_CONTROL_RESERVED): Use ULL instead of UL suffix.
28867 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Include
28869 (GET_PC): Cast to uintptr_t first.
28870 (GET_FRAME): Likewise.
28871 (GET_STACK): Likewise.
28873 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: New file.
28874 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: Likewise.
28875 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: Likewise.
28876 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: Likewise.
28877 * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: Likewise.
28878 * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: Likewise.
28879 * sysdeps/unix/sysv/linux/x86_64/x32/ftw.c: Likewise.
28880 * sysdeps/unix/sysv/linux/x86_64/x32/ftw64.c: Likewise.
28881 * sysdeps/unix/sysv/linux/x86_64/x32/glob.c: Likewise.
28882 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: Likewise.
28883 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: Likewise.
28884 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Likewise.
28885 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
28886 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: Likewise.
28887 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: Likewise.
28888 * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: Likewise.
28889 * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: Likewise.
28890 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: Likewise.
28891 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: Likewise.
28892 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: Likewise.
28893 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: Likewise.
28894 * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: Likewise.
28895 * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: Likewise.
28896 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: Likewise.
28897 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: Likewise.
28898 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: Likewise.
28899 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: Likewise.
28900 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: Likewise.
28901 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: Likewise.
28903 2012-05-16 Andreas Schwab <schwab@linux-m68k.org>
28905 * Makerules (+depfiles): Also collect depfiles from .oS in
28907 * sysdeps/ieee754/ldbl-opt/Makefile (extra-objs): Add $(addsuffix
28908 .oS, $(libnldbl-routines)).
28910 * Makerules (native-compile-mkdep-flags): Define.
28911 * sunrpc/Makefile (extra-objs): Add $(addprefix
28912 cross-,$(rpcgen-objs)), don't add $(cross-rpcgen-objs).
28913 ($(cross-rpcgen-objs)): Use $(native-compile-mkdep-flags) instead
28914 of $(compile-mkdep-flags). Depend on $(before-compile) instead of
28915 calling $(make-target-directory).
28917 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
28919 * bits/types.h (__snseconds_t): Removed.
28920 * time/time.h (struct timespec): Replace __snseconds_t with
28922 * bits/typesizes.h (__SNSECONDS_T_TYPE): Removed.
28923 * sysdeps/mach/hurd/bits/typesizes.h (__SNSECONDS_T_TYPE):
28925 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
28926 (__SNSECONDS_T_TYPE): Likewise.
28927 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
28928 (__SNSECONDS_T_TYPE): Likewise.
28929 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
28930 (__SNSECONDS_T_TYPE): Likewise.
28932 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
28934 * sysdeps/mach/hurd/bits/typesizes.h
28935 (__SYSCALL_SLONG_TYPE): New macro.
28936 (__SYSCALL_ULONG_TYPE): Likewise.
28938 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
28940 * bits/types.h (__syscall_slong_t): New type.
28941 (__syscall_ulong_t): Likewise.
28943 * bits/typesizes.h (__SYSCALL_SLONG_TYPE): New macro.
28944 (__SYSCALL_ULONG_TYPE): Likewise.
28945 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
28946 (__SYSCALL_SLONG_TYPE): Likewise.
28947 (__SYSCALL_ULONG_TYPE): Likewise.
28948 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
28949 (__SYSCALL_SLONG_TYPE): Likewise.
28950 (__SYSCALL_ULONG_TYPE): Likewise.
28951 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
28952 (__SYSCALL_SLONG_TYPE): Likewise.
28953 (__SYSCALL_ULONG_TYPE): Likewise.
28955 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
28957 * sysdeps/unix/sysv/linux/x86_64/Makefile (gen-as-const-headers):
28958 Add sigaltstack-offsets.sym.
28959 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Include
28960 <sigaltstack-offsets.h>.
28961 (CALL_FAIL): Use RSP_LP to operate on stack. Use RDI_LP on
28962 longjmp_msg pointer.
28963 (____longjmp_chk): Use R8_LP and RDX_LP on SP and PC. Use
28964 R*_LP, sizeSS, oSS_FLAGS, oSS_SP and oSS_SIZE for alternate
28966 * sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym: New.
28968 2012-05-15 Joseph Myers <joseph@codesourcery.com>
28970 * elf/stackguard-macros.h: Remove file.
28971 * sysdeps/generic/stackguard-macros.h: New file.
28972 * sysdeps/i386/stackguard-macros.h: Likewise.
28973 * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
28974 * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
28975 * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
28976 * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
28977 * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
28978 * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
28979 * sysdeps/x86_64/stackguard-macros.h: Likewise.
28980 * nptl/tst-stackguard1.c: Include <stackguard-macros.h> not
28981 <elf/stackguard-macros.h>.
28984 * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h (elf_vrreg_t): Use
28985 __aligned__ in attribute.
28986 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (__psw_t): Likewise.
28987 (gregset_t): Likewise.
28989 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
28991 * sysdeps/x86_64/Implies (wordsize-64): Moved to ....
28992 * sysdeps/x86_64/64/Implies-after: Here. New file.
28993 * sysdeps/x86_64/x32/Implies-after: New file.
28995 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
28997 * sysdeps/x86_64/dl-trampoline.h: Use R*_LP to pass arguments
28998 and access return value for _dl_profile_fixup. Use R10_LP to
29001 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
29003 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: New.
29005 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
29007 * sysdeps/x86_64/sysdep.h: Allowed to be include more than once.
29008 * sysdeps/x86_64/x32/sysdep.h: New file.
29010 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
29012 * sysdeps/x86_64/__longjmp.S: Use R*_LP on SP and PC.
29013 * sysdeps/x86_64/setjmp.S: Likewise.
29015 2012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
29017 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: New file.
29018 * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c: New file.
29019 * sysdeps/ieee754/dbl-64/e_log2.c: Fixing indents.
29020 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise and also
29021 remove unused global constant.
29023 2012-05-15 Chris Metcalf <cmetcalf@tilera.com>
29025 * sysdeps/unix/sysv/linux/getsysstats.c: Remove duplicate
29026 include of <not-cancel.h>.
29028 2012-05-15 Roland McGrath <roland@hack.frob.com>
29030 * nscd/nscd-client.h (__nscd_acquire_maplock): Fix formatting.
29032 2012-05-15 Jeff Law <law@redhat.com>
29033 Andreas Jaeger <aj@suse.de>
29036 * nscd/nscd-client.h (__nscd_acquire_maplock): New function, split
29038 * nscd/nscd_helper.c (__nscd_get_map_ref): ... here.
29039 * nscd/nscd-client.h: Add __nscd_acquire_maplock.
29040 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): Add locking to
29041 code changing __hst_map_handle.map.
29043 2012-05-15 Roland McGrath <roland@hack.frob.com>
29045 * configure.in (sysnames): Look for Implies-before and Implies-after
29047 * configure: Regenerated.
29049 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
29051 * sysdeps/unix/sysv/linux/x86_64/sigaction.c (RESTORE2): Replace
29052 8-byte data alignment with LP_SIZE alignment.
29054 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
29056 * sysdeps/unix/sysv/linux/x86_64/clone.S: Load pointer to TID
29059 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
29061 * sysdeps/unix/sysv/linux/x86_64/x32/dl-cache.h: New.
29063 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
29065 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile: New file.
29066 * sysdeps/unix/sysv/linux/x86_64/x32/getcpu.c: Likewise.
29067 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu-static.c:
29069 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
29071 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
29073 * sysdeps/x86_64/stackinfo.h (stackinfo_get_sp): Use RSP_LP.
29074 (stackinfo_sub_sp): Likewise.
29076 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
29078 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Load pointers into
29081 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
29083 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Load cache sizes
29086 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
29088 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Load cache
29091 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
29093 * sysdeps/x86_64/strcmp.S: Load pointers into R*_LP.
29095 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
29097 * sysdeps/x86_64/memcpy.S: Load __x86_64_data_cache_size_half
29098 into R11_LP and load __x86_64_shared_cache_size_half into
29101 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
29103 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Load cache size into
29106 2012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
29108 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: New file. Optimized
29110 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: New file. Optimized
29112 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: New file. Optimized
29114 * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: New file. Use
29115 powerpc32/power7/fpu/s_logb.c via #include.
29116 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: New file. Use
29117 powerpc32/power7/fpu/s_logbf.c via #include.
29118 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: New file. Use
29119 powerpc32/power7/fpu/s_logbl.c via #include.
29121 2012-05-15 Joseph Myers <joseph@codesourcery.com>
29123 * README.libm: Remove file.
29125 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
29127 * sysdeps/x86_64/start.S: Simulate popping 4-byte argument
29128 count for x32. Use R*_LP and omit operand-size suffix.
29130 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
29132 * shlib-versions: Move x86_64-.*-linux.* entries to ...
29133 * sysdeps/x86_64/64/shlib-versions: Here. New file.
29134 * sysdeps/x86_64/x32/shlib-versions: New file.
29136 2012-05-14 Roland McGrath <roland@hack.frob.com>
29138 * sysdeps/unix/sysv/linux/dl-osinfo.h (dl_fatal): Function removed.
29139 * elf/rtld.c (dl_main) [DL_SYSDEP_OSCHECK]:
29140 Use _dl_fatal_printf instead.
29142 2012-05-14 Joseph Myers <joseph@codesourcery.com>
29144 * sysdeps/unix/sysv/linux/configure.in (minimum_kernel): Always
29145 set if not set by the user. Do not allow for being unset.
29146 * sysdeps/unix/sysv/linux/configure: Regenerated.
29148 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
29150 * sysdeps/x86_64/dl-machine.h (elf_machine_load_address): Remove
29151 the `q' suffix from lea and replace .quad with ASM_ADDR.
29153 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
29155 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PTR_MANGLE): Remove
29156 the `q' suffix from xor/rol instructions. Use $2*LP_SIZE+1
29158 (PTR_DEMANGLE): Likewise.
29160 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
29162 * sysdeps/x86_64/sysdep.h (LP_SIZE): New macro.
29164 (ASM_ADDR): Likewise.
29165 (RAX_LP): Likewise.
29166 (RBP_LP): Likewise.
29167 (RBX_LP): Likewise.
29168 (RCX_LP): Likewise.
29169 (RDI_LP): Likewise.
29170 (RSI_LP): Likewise.
29171 (RSP_LP): Likewise.
29174 (R10_LP): Likewise.
29175 (R10_LP): Likewise.
29176 (R11_LP): Likewise.
29177 (R12_LP): Likewise.
29178 (R13_LP): Likewise.
29179 (R14_LP): Likewise.
29180 (R15_LP): Likewise.
29182 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
29184 * sysdeps/x86_64/x32/dl-machine.h: New file.
29186 2012-05-14 Andreas Jaeger <aj@suse.de>
29188 * manual/Makefile (subdir): Remove export of subdir.
29189 (all): Remove target.
29190 (.PHONY): Remove all from list.
29191 (mkinstalldirs): Remove.
29192 (.PHONY): Remove installdirs from list.
29193 ($(inst_infodir)/libc.info): Use make-target-directory.
29194 (installdirs): Remove.
29195 (subdir_%): Remove.
29196 (glibc-targets): Remove.
29199 ($(objpfx)stubs ../po/manual.pot): Remove.
29200 ($(objpfx)stamp%): Remove.
29201 (make-target-directory): Remove.
29202 (subdir_install): Remove.
29203 (routines): Remove.
29210 * manual/.gitignore: Remove, it's not needed anymore.
29211 * manual/libc-texinfo.sh: Pass OUTDIR as extra argument, create
29213 * manual/Makefile (dvi, pdf, info, html): Depend on files in build
29215 (texis): Renamed to $(objpfx)texis.
29216 (texis-path): New, contains path to generated files.
29217 (chapters.%): Use texis-path for complete path, add extra argument
29219 (libc.dvi, libc.pdf, libc.info, libc.pdf): Add $(objfpx) as prefix.
29220 (libc/index.html, summary.texi): Add $(objpfx) as prefix.
29221 (summary,texi, stamp-summary): Use complete path of
29222 files. Generate files in build dir.
29223 (dir-add.texi): Build in build dir.
29224 (libm-err.texi,stamp-libm-err): Likewise.
29225 (version.texi, stamp-version): Likewise.
29226 (.%c.texi): Likewise.
29227 (%.info,%.dvi,%.pdf): Add $(objpfx) as prefix, build in build dir.
29228 (mostlyclean): Remove target.
29229 (realclean): Remove target.
29230 (generated): Add new variable with contents from mostlyclean and
29231 realclean, remove entries duplicated in common-mostlyclean, add
29232 stamp-libm-err and stamp-version.
29233 (generated-dirs): Add libc directory.
29234 ($(inst_infodir)/libc.info): Install files from build dir.
29236 * manual/install.texi (Configuring and compiling): Adjust since
29237 the info files are not part of the tar ball anymore.
29239 2012-05-14 Andreas Jaeger <aj@suse.de>
29241 * sysdeps/unix/sysv/linux/getcwd.c (__getcwd): Remove unused
29244 2012-05-14 Joseph Myers <joseph@codesourcery.com>
29247 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
29248 to 2.2.0 where earlier.
29249 * sysdeps/unix/sysv/linux/configure: Regenerated.
29250 * sysdeps/unix/sysv/linux/getcwd.c [!__ASSUME_GETCWD_SYSCALL]:
29251 Remove conditional code.
29252 [__ASSUME_GETCWD_SYSCALL]: Make code unconditional.
29253 * sysdeps/unix/sysv/linux/i386/chown.c [!__ASSUME_LCHOWN_SYSCALL]:
29254 Remove conditional code.
29255 [!__NR_lchown]: Likewise.
29256 [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
29257 [__NR_lchown]: Likewise.
29258 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Remove
29259 comment referencing __ASSUME_LCHOWN_SYSCALL.
29260 * sysdeps/unix/sysv/linux/i386/sigaction.c
29261 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
29262 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
29263 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_SIOCGIFNAME]:
29264 Remove conditional code.
29265 [__ASSUME_SIOCGIFNAME ]: Make code unconditional.
29266 (__protocol_available): Remove #if 0 code.
29267 * sysdeps/unix/sysv/linux/ifreq.c [!__ASSUME_SIOCGIFNAME]: Remove
29269 [__ASSUME_SIOCGIFNAME]: Make code unconditional.
29270 * sysdeps/unix/sysv/linux/kernel-features.h
29271 (__ASSUME_GETCWD_SYSCALL): Don't define.
29272 (__ASSUME_REALTIME_SIGNALS): Likewise.
29273 (__ASSUME_PREAD_SYSCALL): Likewise.
29274 (__ASSUME_PWRITE_SYSCALL): Likewise.
29275 (__ASSUME_POLL_SYSCALL): Likewise.
29276 (__ASSUME_LCHOWN_SYSCALL): Likewise.
29277 (__ASSUME_SETRESUID_SYSCALL): Define for all kernel versions for
29279 (__ASSUME_SIOCGIFNAME): Don't define.
29280 (__ASSUME_MSG_NOSIGNAL): Likewise.
29281 (__ASSUME_SENDFILE): Define unconditionally.
29282 (__ASSUME_PROC_SELF_FD_SYMLINK): Don't define.
29283 * sysdeps/unix/sysv/linux/poll.c [!__ASSUME_POLL_SYSCALL]: Remove
29285 [__ASSUME_POLL_SYSCALL]: Make code unconditional.
29286 * sysdeps/unix/sysv/linux/powerpc/chown.c (__chown)
29287 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
29288 (__chown) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
29289 * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat)
29290 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
29291 (fchownat) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
29292 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c
29293 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
29294 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
29295 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
29296 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
29297 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
29298 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c
29299 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
29300 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
29301 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
29302 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
29303 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
29304 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c
29305 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
29306 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
29307 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c
29308 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
29309 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
29310 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c
29311 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
29312 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
29313 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c
29314 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
29315 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
29316 * sysdeps/unix/sysv/linux/pread.c [!__ASSUME_PREAD_SYSCALL]:
29317 Remove conditional code.
29318 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
29319 * sysdeps/unix/sysv/linux/pread64.c [!__ASSUME_PREAD_SYSCALL]:
29320 Remove conditional code.
29321 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
29322 * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal)
29323 [__LINUX_KERNEL_VERSION < 131443]: Remove conditional code.
29324 * sysdeps/unix/sysv/linux/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
29325 Remove conditional code.
29326 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
29327 * sysdeps/unix/sysv/linux/pwrite64.c [!__ASSUME_PWRITE_SYSCALL]:
29328 Remove conditional code.
29329 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
29330 * sysdeps/unix/sysv/linux/sh/pread.c [!__ASSUME_PREAD_SYSCALL]:
29331 Remove conditional code.
29332 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
29333 * sysdeps/unix/sysv/linux/sh/pread64.c [!__ASSUME_PREAD_SYSCALL]:
29334 Remove conditional code.
29335 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
29336 * sysdeps/unix/sysv/linux/sh/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
29337 Remove conditional code.
29338 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
29339 * sysdeps/unix/sysv/linux/sh/pwrite64.c
29340 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
29341 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
29342 * sysdeps/unix/sysv/linux/sigaction.c
29343 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
29344 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
29345 * sysdeps/unix/sysv/linux/sigpending.c
29346 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
29347 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
29348 * sysdeps/unix/sysv/linux/sigprocmask.c
29349 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
29350 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
29351 * sysdeps/unix/sysv/linux/sigsuspend.c
29352 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
29353 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
29354 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
29355 (__libc_missing_rt_sigs): Remove.
29356 (__libc_sigaction) [__NR_rt_sigaction]: Make code unconditional.
29357 (__libc_sigaction): Do not handle ENOSYS from rt_sigaction.
29358 * sysdeps/unix/sysv/linux/syslog.c [!__ASSUME_MSG_NOSIGNAL]:
29359 Remove conditional code.
29360 [__ASSUME_MSG_NOSIGNAL]: Make code unconditional.
29361 * sysdeps/unix/sysv/linux/testrtsig.h (kernel_has_rtsig): Always
29363 * sysdeps/unix/sysv/linux/ttyname.c (ttyname)
29364 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Remove conditional code.
29365 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r)
29366 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Likewise.
29368 2012-05-14 Andreas Jaeger <aj@suse.de>
29370 * sysdeps/i386/fpu/bits/mathinline.h (__pow2): Remove,
29371 it's not used in glibc.
29372 (__coshm1): Likewise.
29373 (__acosh1p): Likewise.
29376 * manual/string.texi (Copying and Concatenation): Add missing
29377 variable in concat example.
29378 Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
29380 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
29383 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Replace
29384 __builtin_clzl with __builtin_clzll.
29386 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
29389 * sysdeps/unix/sysv/linux/check_pf.c (cache): Use
29392 2012-05-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
29394 * sysdeps/i386/i686/fpu/multiarch/Makefile: New file.
29395 * sysdeps/i386/i686fpu/multiarch/e_expf.c: New file.
29396 * sysdeps/i386/i686fpu/multiarch/e_expf-ia32.S: New file.
29397 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: New file.
29399 2012-05-14 Mike Frysinger <vapier@gentoo.org>
29401 * NEWS: Update ia64 info.
29403 2012-05-12 Andreas Schwab <schwab@linux-m68k.org>
29405 * sysdeps/powerpc/memmove.c (MEMMOVE): Don't return a value if
29408 2012-05-12 Thomas Schwinge <thomas@codesourcery.com>
29410 * io/dup3.c (dup3): Rename to __dup3, add weak alias for dup3.
29411 * sysdeps/unix/syscalls.list (dup3): Likewise.
29412 * libio/freopen.c (freopen): Invoke __dup3 instead of dup3.
29413 * libio/freopen64.c (freopen64): Invoke __dup3 instead of dup3.
29415 2012-05-11 H.J. Lu <hongjiu.lu@intel.com>
29417 * elf/stackguard-macros.h (STACK_CHK_GUARD) [__x86_64__]: Use
29418 "%c1" with "i" (offsetof (tcbhead_t, stack_guard)).
29420 2012-05-11 H.J. Lu <hongjiu.lu@intel.com>
29422 * elf/tls-macros.h (TLS_LE): Use mov instead of movq to load
29424 (TLS_IE): Use mov/add instead of movq/addq to load thread
29426 (TLS_GD_PREFIX): New.
29429 2012-05-11 David S. Miller <davem@davemloft.net>
29431 * sysdeps/sparc/fpu/bits/fenv.h (__fenv_stfsr): Add __volatile__.
29432 * sysdeps/sparc/fpu/fpu_control.h (_FPU_GETCW): Likewise.
29433 (_FPU_SETCW): Likewise.
29435 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
29437 * sysdeps/x86_64/dl-trampoline.S: Check if RTLD_SAVESPACE_SSE
29438 is 32-byte aligned.
29440 2012-05-11 Andreas Schwab <schwab@linux-m68k.org>
29443 * iconvdata/gb18030.c: Update tables.
29444 (BODY for FROM_LOOP): Update. Handle two-byte encoded non-BMP
29445 characters specially.
29446 (BODY for TO_LOOP): Add encoding of missing ranges.
29448 2012-05-11 Thomas Schwinge <thomas@codesourcery.com>
29451 * sysdeps/mach/hurd/accept4.c: Replace FSF snail mail address with URL.
29452 * sysdeps/mach/hurd/dup3.c: Likewise.
29453 * sysdeps/mach/hurd/readlinkat.c: Likewise.
29454 * sysdeps/powerpc/memmove.c:: Likewise.
29456 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
29458 * sysdeps/x86_64/dl-machine.h (elf_machine_rela_relative): Handle
29459 R_X86_64_RELATIVE64 only if RTLD_BOOTSTRAP isn't defined.
29461 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
29463 * elf/elf.h (R_X86_64_RELATIVE64): New.
29464 (R_X86_64_NUM): Updated.
29465 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
29466 R_X86_64_RELATIVE64. Always use Elf64_Addr with R_X86_64_64.
29467 (elf_machine_rela_relative): Handle R_X86_64_RELATIVE64.
29468 * sysdeps/x86_64/Makefile (tests): Add tst-quad1 tst-quad2
29469 tst-quad1pie tst-quad2pie
29470 (modules-names): Add tst-quadmod1 tst-quadmod2.
29471 ($(objpfx)tst-quad1): New dependency.
29472 ($(objpfx)tst-quad2): Likewise.
29473 ($(objpfx)tst-quad1pie): Likewise.
29474 ($(objpfx)tst-quad2pie): Likewise.
29475 * sysdeps/x86_64/tst-quad1.c: New file.
29476 * sysdeps/x86_64/tst-quad1pie.c: New file.
29477 * sysdeps/x86_64/tst-quad2.c: Likewise.
29478 * sysdeps/x86_64/tst-quad2pie.c: Likewise.
29479 * sysdeps/x86_64/tst-quadmod1.S: Likewise.
29480 * sysdeps/x86_64/tst-quadmod1pie.S: Likewise.
29481 * sysdeps/x86_64/tst-quadmod2.S: Likewise.
29482 * sysdeps/x86_64/tst-quadmod2pie.S: Likewise.
29484 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
29486 * io/fcntl.h (mode_t, off_t, pid_t): Define types.
29487 (__mode_t_defined, __off_t_defined, __pid_t_defined): Define macros.
29488 * streams/stropts.h (t_scalar_t): Define type.
29490 * sysdeps/generic/paths.h (_PATH_MAN): Set to "/usr/share/man"
29491 (_PATH_PRESERVE): Set to "/var/lib".
29492 (_PATH_RWHODIR): Set to "/var/spool/rwho".
29494 * sysdeps/mach/hurd/openat.c (__openat): Set type of MODE to mode_t
29497 * sysdeps/mach/hurd/xmknodat.c (__xmknodat): Deallocate NODE port only
29498 if __dir_mkfile succeeded.
29500 * sysdeps/mach/hurd/dup3.c: Lock _hurd_dtable_lock before
29501 checking for _hurd_dtablesize. Unlock it right after having
29502 finished _hurd_dtable allocation.
29504 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
29506 * sysdeps/mach/hurd/configure.in: Remove warning for --prefix=[...].
29507 * sysdeps/mach/hurd/configure: Regenerated.
29508 * sysdeps/unix/sysv/linux/configure.in: Move --prefix=/usr
29509 special-casing to...
29510 * sysdeps/gnu/configure.in: ... this new file.
29511 * sysdeps/unix/sysv/linux/configure: Regenerated.
29512 * sysdeps/gnu/configure: New generated file.
29514 * sysdeps/mach/hurd/bits/stat.h (struct stat): Align to what is done
29515 for Linux: use nsec instead of usec, as well as:
29516 [__USE_MISC || __USE_XOPEN2K8] (st_atim, st_mtim, st_ctim): New
29517 members of type struct timespec.
29518 [__USE_MISC || __USE_XOPEN2K8] (st_atime, st_mtime, st_ctime):
29520 (struct stat64): Likewise.
29521 (_STATBUF_ST_NSEC): New macro.
29522 * sysdeps/mach/hurd/xstatconv.c (xstat64_conv): Adapt to that.
29524 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
29525 __strtoul_internal rather than strtoul.
29527 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
29529 * hurd/hurdsock.c (_hurd_socket_server): Check for negative domains,
29532 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
29534 * sysdeps/mach/hurd/setresgid.c (__setresgid): Handle the -1 case,
29535 which preserves existing values.
29536 * sysdeps/mach/hurd/setresuid.c (__setresuid): Likewise.
29538 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
29540 * hurd/hurdselect.c (_hurd_select): Return EINVAL for negative
29541 TIMEOUT values. Return EINVAL for NFDS values either negative or
29542 greater than FD_SETSIZE.
29544 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
29546 * sysdeps/mach/hurd/brk.c (_hurd_set_brk): When more space needs to be
29547 allocated, call __vm_protect to finish enabling the existing space, and
29548 pass a copy of _hurd_data_end instead of PAGEBRK to __vm_allocate to
29549 allocate the remainder.
29551 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
29553 * sysdeps/mach/hurd/recvfrom.c (__recvfrom): Check also for a null
29554 address port. Set ADDR_LEN to 0 when not filling ADDRARG.
29556 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
29558 * sysdeps/mach/hurd/readlinkat.c: New file, heavily derived from
29559 sysdeps/mach/hurd/readlink.c.
29561 * posix/tst-sysconf.c (posix_options): Only use
29562 _POSIX_PRIORITIZED_IO, _POSIX_PRIORITY_SCHEDULING, and
29563 _POSIX_SYNCHRONIZED_IO when they are defined
29564 * sysdeps/mach/hurd/bits/posix_opt.h:
29565 (_POSIX_PRIORITY_SCHEDULING): Undefine macro.
29566 (_XOPEN_REALTIME): Undefine macro.
29567 (_XOPEN_REALTIME_THREADS): Undefine macro.
29568 (_XOPEN_SHM): Undefine macro.
29569 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_INHERIT): Define
29571 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_PROTECT): Define
29573 (_POSIX_ASYNC_IO): Undefine macro.
29574 (_POSIX_PRIORITIZED_IO): Undefine macro.
29575 (_POSIX_SPIN_LOCKS): Define macro to -1.
29577 * bits/sigaction.h [__USE_XOPEN2K8]: Define SA_RESTART,
29578 SA_NODEFER, SA_RESETHAND.
29579 * sysdeps/mach/hurd/bits/fcntl.h [__USE_XOPEN2K8]: Define
29580 O_NOFOLLOW, O_DIRECTORY, O_CLOEXEC, F_GETOWN, F_SETOWN,
29583 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
29585 * elf/Makefile (pldd-modules): Define unconditionally.
29587 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
29589 * sysdeps/mach/hurd/opendir.c (__opendirat): New function.
29591 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
29593 * hurd/hurdchdir.c (_hurd_change_directory_port_from_name):
29594 Return ENOENT when name is empty.
29595 * sysdeps/mach/hurd/chroot.c (chroot): Likewise.
29597 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
29599 * include/libc-symbols.h [NO_HIDDEN] (hidden_nolink): New macro.
29601 * nss/makedb.c (MAP_POPULATE): If not defined, define to zero.
29603 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
29605 Fix mlock in all cases except non-readable pages.
29606 * sysdeps/mach/hurd/mlock.c (mlock): Give VM_PROT_READ
29607 instead of VM_PROT_ALL as parameter to __vm_wire function.
29609 * sysdeps/mach/hurd/mkdir.c: Include <string.h>.
29610 (__mkdir): When path is `/', just fail with EEXIST.
29611 * sysdeps/mach/hurd/mkdirat.c: Likewise.
29613 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
29615 * nss/makedb.c: Include <sys/param.h> (for MAX and roundup), and
29616 <sys/uio.h> (for writev).
29617 * nss/nss_db/db-initgroups.c: Include <limits.h> (for ULONG_MAX),
29618 and <sys/param.h> (for MIN).
29620 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
29622 * sysdeps/mach/nanosleep.c: Return EINVAL for invalid values of
29623 REQUESTED_TIME. Properly set the remaining time and return EINTR
29626 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
29628 * sysdeps/mach/hurd/Makefile ($(common-objpfx)linkobj/libc.so):
29629 Depend on against $(link-rpcuserlibs).
29631 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
29633 * sysdeps/generic/ldsodefs.h [LIBC_STACK_END_NOT_RELRO]
29634 (__libc_stack_end): Do not use attribute_relro.
29635 * sysdeps/mach/hurd/dl-sysdep.h (LIBC_STACK_END_NOT_RELRO): Define.
29636 * sysdeps/mach/hurd/i386/init-first.c (init): Update __libc_stack_end
29637 to libthread-provided value.
29638 * sysdeps/mach/hurd/dl-sysdep.c (__libc_stack_end): Do not use
29641 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
29644 * bits/libc-lock.h (__libc_once_get): New macro.
29645 * sysdeps/mach/bits/libc-lock.h: Likewise.
29646 * sysdeps/mach/hurd/bits/libc-lock.h: Likewise.
29647 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Use __libc_once_get
29648 instead of using implementation details.
29650 * libio/fileops.c: Unconditionally include <kernel-features.h>.
29651 * libio/freopen.c: Likewise.
29652 * libio/freopen64.c: Likewise.
29653 * misc/syslog.c: Likewise.
29654 * nscd/connections.c: Likewise.
29655 * nscd/netgroupcache.c: Likewise.
29656 * sysdeps/posix/getcwd.c: Likewise.
29658 2012-05-10 Roland McGrath <roland@hack.frob.com>
29660 * math/w_ilogbf.c: Add #include <limits.h>.
29662 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
29664 * sysdeps/mach/hurd/setitimer.c (setitimer_locked): Use common exit
29665 path instead of returning without unlocking.
29667 * sysdeps/mach/hurd/bits/ioctls.h (_IOIW): New macro for
29668 immediate-write ioctls.
29669 * sysdeps/mach/hurd/ioctl.c: Handle cases with no arguments.
29671 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
29673 * sysdeps/mach/hurd/i386/init-first.c (init): Use
29674 __builtin_frame_address instead of making assumptions about the
29675 location of the return address relative to DATA. Force early load of
29676 the return address.
29677 (_dl_init_first, doinit1 in doinit in _hurd_stack_setup): Don't use
29678 __builtin_frame_address.
29681 * include/unistd.h: Declare __dup3 and use libc_hidden_proto on it.
29682 * sysdeps/mach/hurd/dup3.c: New file, copy from dup2.c. Evolve it to
29683 implement dup3 and do some further code clean-ups.
29684 * sysdeps/mach/hurd/dup2.c (__dup2): Reimplement using __dup3.
29685 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_DUP3): Define.
29687 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
29689 * sysdeps/mach/hurd/dl-sysdep.c: Conditionalize contents on [SHARED].
29691 * hurd/hurd/fd.h (_hurd_fd_get): Call HURD_CRITICAL_BEGIN/
29692 HURD_CRITICAL_END around holding _hurd_dtable_lock.
29693 * sysdeps/mach/hurd/dirfd (dirfd): Likewise.
29694 * sysdeps/mach/hurd/opendir.c (_hurd_fd_opendir): Call
29695 HURD_CRITICAL_BEGIN/HURD_CRITICAL_END around holding
29698 * hurd/catch-signal.c (hurd_catch_signal): Use sigsetjmp/siglongjmp
29699 instead of setjmp/longjmp to restore the signal mask. Call sigsetjmp
29700 when handler == SIG_ERR, not when handler != SIG_ERR.
29702 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
29704 * sysdeps/mach/hurd/bits/socket.h: New file, copy from the bsd4.4 one.
29705 (SOCK_MAX, SOCK_TYPE_MASK, SOCK_CLOEXEC, SOCK_NONBLOCK): New
29708 accept4 for GNU Hurd.
29709 * include/sys/socket.h (__libc_accept4): New prototype.
29710 * sysdeps/mach/hurd/accept4.c: New file, copy from accept.c. Evolve it
29711 to implement __libc_accept4.
29712 * sysdeps/mach/hurd/accept.c (accept): Reimplement using
29714 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_ACCEPT4): Define.
29716 * sysdeps/mach/hurd/i386/____longjmp_chk.S: New file.
29717 * sysdeps/mach/hurd/i386/signal-defines.sym: New file.
29718 * sysdeps/mach/hurd/i386/Makefile (gen-as-const-headers): Add
29719 signal-defines.sym.
29721 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
29723 * bits/in.h (SOL_IP, SOL_IPV6, SOL_ICMPV6): New macros.
29725 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
29727 * sysdeps/mach/hurd/dl-sysdep.c (open_file): Do not raise
29728 assertion on O_CLOEXEC flag.
29729 * hurd/hurd/fd.h: Update comment to mention O_CLOEXEC.
29730 * hurd/intern-fd.c: Likewise.
29731 * hurd/port2fd.c: Likewise.
29733 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
29736 * bits/in.h (IPV6_PKTINFO): Define new macro.
29737 (IPV6_RXINFO,IPV6_TXINFO,SCM_SRCINFO): Redefine to IPV6_PKTINFO.
29739 2012-05-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
29744 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Fix for subnormal number.
29745 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
29746 * sysdeps/ieee754/flt-32/s_logbf.c (__logf): Likewise.
29747 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
29748 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
29749 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
29750 * math/libm-test.inc (logb_test) : Additional logb tests.
29752 2012-05-09 Andreas Schwab <schwab@linux-m68k.org>
29753 Andreas Jaeger <aj@suse.de>
29755 * configure.in (obsolete-rpc): Add new option --enable-obsolete-rpc.
29756 * configure: Regenerated.
29757 * config.h.in (LINK_OBSOLETE_RPC): New macro.
29758 * config.make.in (link-obsolete-rpc): New substituted variable.
29759 * include/libc-symbols.h (libc_hidden_nolink_sunrpc): Rename from
29760 libc_hidden_nolink and define based on LINK_OBSOLETE_RPC.
29761 * sunrpc/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
29762 (shared-only-routines): Don't set it under [link-obsolete-rpc],
29763 so that libc.a contains the symbols.
29764 * nis/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
29765 * sunrpc/auth_des.c: Use libc_hidden_nolink_sunrpc.
29766 * sunrpc/auth_none.c: Likewise.
29767 * sunrpc/auth_unix.c: Likewise.
29768 * sunrpc/authdes_prot.c: Likewise.
29769 * sunrpc/authuxprot.c: Likewise.
29770 * sunrpc/clnt_gen.c: Likewise.
29771 * sunrpc/clnt_perr.c: Likewise.
29772 * sunrpc/clnt_raw.c: Likewise.
29773 * sunrpc/clnt_simp.c: Likewise.
29774 * sunrpc/clnt_tcp.c: Likewise.
29775 * sunrpc/clnt_udp.c: Likewise.
29776 * sunrpc/clnt_unix.c: Likewise.
29777 * sunrpc/des_crypt.c: Likewise.
29778 * sunrpc/des_soft.c: Likewise.
29779 * sunrpc/get_myaddr.c: Likewise.
29780 * sunrpc/key_call.c: Likewise.
29781 * sunrpc/key_prot.c: Likewise.
29782 * sunrpc/netname.c: Likewise.
29783 * sunrpc/pm_getmaps.c: Likewise.
29784 * sunrpc/pm_getport.c: Likewise.
29785 * sunrpc/pmap_clnt.c: Likewise.
29786 * sunrpc/pmap_prot.c: Likewise.
29787 * sunrpc/pmap_prot2.c: Likewise.
29788 * sunrpc/pmap_rmt.c: Likewise.
29789 * sunrpc/publickey.c: Likewise.
29790 * sunrpc/rpc_cmsg.c: Likewise.
29791 * sunrpc/rpc_common.c: Likewise.
29792 * sunrpc/rpc_dtable.c: Likewise.
29793 * sunrpc/rpc_prot.c: Likewise.
29794 * sunrpc/rpc_thread.c: Likewise.
29795 * sunrpc/rtime.c: Likewise.
29796 * sunrpc/svc.c: Likewise.
29797 * sunrpc/svc_auth.c: Likewise.
29798 * sunrpc/svc_raw.c: Likewise.
29799 * sunrpc/svc_run.c: Likewise.
29800 * sunrpc/svc_tcp.c: Likewise.
29801 * sunrpc/svc_udp.c: Likewise.
29802 * sunrpc/svc_unix.c: Likewise.
29803 * sunrpc/svcauth_des.c: Likewise.
29804 * sunrpc/xcrypt.c: Likewise.
29805 * sunrpc/xdr.c: Likewise.
29806 * sunrpc/xdr_array.c: Likewise.
29807 * sunrpc/xdr_float.c: Likewise.
29808 * sunrpc/xdr_intXX_t.c: Likewise.
29809 * sunrpc/xdr_mem.c: Likewise.
29810 * sunrpc/xdr_rec.c: Likewise.
29811 * sunrpc/xdr_ref.c: Likewise.
29812 * sunrpc/xdr_sizeof.c: Likewise.
29813 * sunrpc/xdr_stdio.c: Likewise.
29815 2012-05-10 Roland McGrath <roland@hack.frob.com>
29817 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Fix typo in last
29818 change. Update copyright years.
29820 2012-05-10 Joseph Myers <joseph@codesourcery.com>
29822 * include/stdc-predef.h (__STDC_NO_THREADS__): Define.
29824 2012-05-10 Maxim Kuvyrkov <maxim@codesourcery.com>
29825 Joseph Myers <joseph@codesourcery.com>
29826 Paul Pluzhnikov <ppluzhnikov@google.com>
29829 * sunrpc/Makefile [cross-compiling] (headers): Enable additions
29831 [cross-compiling] (extra-libs): Likewise.
29832 [cross-compiling] (extra-libs-others): Likewise.
29833 [cross-compiling] (librpcsvc-routines): Likewise.
29834 [cross-compiling] (librpcsvc-inhibit-o): Likewise.
29835 [cross-compiling] (omit-deps): Likewise.
29836 (sunrpc-CPPFLAGS): New variable.
29837 (CPPFLAGS): Define using $(sunrpc-CPPFLAGS).
29838 (BUILD_CPPFLAGS): Append $(sunrpc-CPPFLAGS).
29839 (cross-rpcgen-objs): New variable.
29840 (extra-objs): Append $(cross-rpcgen-objs).
29841 ($(cross-rpcgen-objs)): New rule.
29842 ($(objpfx)cross-rpcgen): Likewise.
29843 (rpcgen-cmd): Define to use $(built-program-file). Expand
29845 ($(objpfx)rpcsvc/%.stmp): Depend on cross-rpcgen.
29846 ($(objpfx)x%.stmp): Likewise.
29847 * sunrpc/proto.h [IS_IN_build] (_): Define.
29848 [IS_IN_build] (_libc_intl_domainname): Likewise.
29850 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
29852 * sysdeps/x86_64/dl-machine.h (elf_machine_rela) [__ILP32__]:
29853 Sign extend relocation result to 64 bits for R_X86_64_DTPOFF64
29854 and R_X86_64_TPOFF64.
29856 2012-05-10 Joseph Myers <joseph@codesourcery.com>
29858 * sysdeps/unix/sysv/linux/syscalls.list (alarm): Add entry from
29859 sysdeps/unix/sysv/syscalls.list.
29862 * sysdeps/unix/sysv/syscalls.list: Remove file.
29864 2012-05-10 Paul Eggert <eggert@cs.ucla.edu>
29867 * locale/bits/locale.h (__LC_CTYPE, __LC_NUMERIC, __LC_TIME)
29868 (__LC_COLLATE, __LC_MONETARY, __LC_MESSAGES, __LC_ALL, __LC_PAPER)
29869 (__LC_NAME, __LC_ADDRESS, __LC_TELEPHONE, __LC_MEASUREMENT)
29870 (__LC_IDENTIFICATION): Make these macros useful in #if
29871 expressions, as required by C99.
29873 2012-05-10 Andreas Schwab <schwab@linux-m68k.org>
29875 * sunrpc/Makefile (extra-objs) [$(build-shared) = yes]: Add
29876 $(addsuffix .os,$(rpc-compat-routines)). Move include ../Rules
29879 2012-05-09 H.J. Lu <hongjiu.lu@intel.com>
29881 * stdlib/longlong.h: Updated from GCC.
29883 2012-05-09 Andreas Jaeger <aj@suse.de>
29885 * nscd/nscd.c (run_modes): Make named enum, reorder so that
29886 default is first entry.
29887 (run_mode): Set type.
29888 (main): Remove informal message about syslog.
29889 (options): Fix typo.
29892 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Add __volatile
29895 (llrintf): Likewise.
29896 (llrint): Likewise.
29899 (nearbyint): Likewise.
29900 (nearbyintf): Likewise.
29902 2012-05-09 Andreas Jaeger <aj@suse.de>
29903 Pedro Alves <palves@redhat.com>
29905 * nscd/nscd.c (run_mode): Use enum.
29906 (main): Cleanup coding style issue.
29908 2012-05-09 Alexandre Oliva <aoliva@redhat.com>
29909 Andreas Jaeger <aj@suse.de>
29911 * nscd/nscd.c (go_background): Replaced with...
29912 (run_mode): ... this.
29913 (RUN_FOREGROUND, RUN_DAEMONIZE, RUN_DEBUG): Add.
29914 (options): Add -F --foreground.
29915 (main): Implement it.
29916 (parse_opt): Parse it.
29918 2012-05-09 Andreas Jaeger <aj@suse.de>
29921 * string/bits/string2.h (strspn) [__GNUC_PREREQ(3, 2) &&
29922 !_HAVE_STRING_ARCH_strspn]: Cast zero to size_t to avoid
29923 -Wconversion warning.
29924 (strspn) [!__GNUC_PREREQ(3, 2) && !_HAVE_STRING_ARCH_strspn]:
29927 2012-05-09 Joseph Myers <joseph@codesourcery.com>
29929 * conform/data/locale.h-data (NULL): Use macro-constant. Require
29931 (LC_ALL): Use macro-int-constant.
29932 (LC_COLLATE): Likewise.
29933 (LC_CTYPE): Likewise.
29934 (LC_MESSAGES): Likewise.
29935 (LC_MONETARY): Likewise.
29936 (LC_NUMERIC): Likewise.
29937 (LC_TIME): Likewise.
29938 [ISO || ISO99 || ISO11] (LC_MESSAGES): Do not require.
29939 (LC_*): Change to LC_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
29940 [ISO || ISO99 || ISO11] (*_t): Do not allow.
29941 * conform/data/math.h-data (HUGE_VAL): Use macro-constant.
29943 [C99-based standards] (float_t): Expect type.
29944 [C99-based standards] (double_t): Expect type.
29945 [C99-based standards] (HUGE_VALF): Use macro-constant. Specify
29947 [C99-based standards] (HUGE_VALL): Likewise.
29948 [C99-based standards] (INFINITY): Likewise.
29949 [C99-based standards] (NAN): Likewise.
29950 [C99-based standards] (FP_INFINITE): Use macro-int-constant.
29951 [C99-based standards] (FP_NAN): Likewise.
29952 [C99-based standards] (FP_NORMAL): Likewise.
29953 [C99-based standards] (FP_SUBNORMAL): Likewise.
29954 [C99-based standards] (FP_ZERO): Likewise.
29955 [C99-based standards] (FP_FAST_FMA): Use
29956 optional-macro-int-constant. Specify type. Require == 1.
29957 [C99-based standards] (FP_FAST_FMAF): Likewise.
29958 [C99-based standards] (FP_FAST_FMAL): Likewise.
29959 [C99-based standards] (FP_ILOGB0): Use macro-int-constant.
29960 [C99-based standards] (FP_ILOGBNAN): Likewise.
29961 [C99-based standards] (MATH_ERRNO): Use macro-int-constant.
29963 [C99-based standards] (MATH_ERREXCEPT): Likewise.
29964 [C99-based standards] (math_errhandling): Specify type.
29965 [ISO99 || ISO11] (signgam): Do not allow.
29966 [non-C99-based standards] (copysignf): Do not allow.
29967 [non-C99-based standards] (exp2f): Likewise.
29968 [non-C99-based standards] (log2f): Likewise.
29969 [non-C99-based standards] (modff): Allow.
29970 [non-C99-based standards] (erff): Do not allow.
29971 [non-C99-based standards] (erfcf): Likewise.
29972 [non-C99-based standards] (gammaf): Likewise.
29973 [non-C99-based standards] (hypotf): Likewise.
29974 [non-C99-based standards] (j0f): Likewise.
29975 [non-C99-based standards] (j1f): Likewise.
29976 [non-C99-based standards] (jnf): Likewise.
29977 [non-C99-based standards] (lgammaf): Likewise.
29978 [non-C99-based standards] (tgammaf): Likewise.
29979 [non-C99-based standards] (y0f): Likewise.
29980 [non-C99-based standards] (y1f): Likewise.
29981 [non-C99-based standards] (ynf): Likewise.
29982 [non-C99-based standards] (isnanf): Likewise.
29983 [non-C99-based standards] (acoshf): Likewise.
29984 [non-C99-based standards] (asinhf): Likewise.
29985 [non-C99-based standards] (atanhf): Likewise.
29986 [non-C99-based standards] (cbrtf): Likewise.
29987 [non-C99-based standards] (expm1f): Likewise.
29988 [non-C99-based standards] (ilogbf): Likewise.
29989 [non-C99-based standards] (log1pf): Likewise.
29990 [non-C99-based standards] (logbf): Likewise.
29991 [non-C99-based standards] (nextafterf): Likewise.
29992 [non-C99-based standards] (remainderf): Likewise.
29993 [non-C99-based standards] (rintf): Likewise.
29994 [non-C99-based standards] (scalbf): Likewise.
29995 [non-C99-based standards] (copysignl): Likewise.
29996 [non-C99-based standards] (exp2l): Likewise.
29997 [non-C99-based standards] (log2l): Likewise.
29998 [non-C99-based standards] (modfl): Allow.
29999 [non-C99-based standards] (erfl): Do not allow.
30000 [non-C99-based standards] (erfcl): Likewise.
30001 [non-C99-based standards] (gammal): Likewise.
30002 [non-C99-based standards] (hypotl): Likewise.
30003 [non-C99-based standards] (j0l): Likewise.
30004 [non-C99-based standards] (j1l): Likewise.
30005 [non-C99-based standards] (jnl): Likewise.
30006 [non-C99-based standards] (lgammal): Likewise.
30007 [non-C99-based standards] (tgammal): Likewise.
30008 [non-C99-based standards] (y0l): Likewise.
30009 [non-C99-based standards] (y1l): Likewise.
30010 [non-C99-based standards] (ynl): Likewise.
30011 [non-C99-based standards] (isnanl): Likewise.
30012 [non-C99-based standards] (acoshl): Likewise.
30013 [non-C99-based standards] (asinhl): Likewise.
30014 [non-C99-based standards] (atanhl): Likewise.
30015 [non-C99-based standards] (cbrtl): Likewise.
30016 [non-C99-based standards] (expm1l): Likewise.
30017 [non-C99-based standards] (ilogbl): Likewise.
30018 [non-C99-based standards] (log1pl): Likewise.
30019 [non-C99-based standards] (logbl): Likewise.
30020 [non-C99-based standards] (nextafterl): Likewise.
30021 [non-C99-based standards] (remainderl): Likewise.
30022 [non-C99-based standards] (rintl): Likewise.
30023 [non-C99-based standards] (scalbl): Likewise.
30024 [ISO || ISO99 || ISO11] (*_t): Do not allow.
30025 [non-C99-based standards] (FP_*): Do not allow.
30026 [C99-based standards] (FP_*): Change to
30027 FP_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
30028 * conform/data/setjmp.h-data [ISO || ISO99 || ISO11] (*_t): Do not
30030 * conform/data/signal.h-data (SIG_DFL): Use macro-constant.
30031 (SIG_ERR): Likewise.
30032 [X/Open-based standards] (SIG_HOLD): Likewise.
30033 (SIG_IGN): Likewise.
30034 (SIGABRT): Use macro-int-constant. Specify type. Require
30036 (SIGFPE): Likewise.
30037 (SIGILL): Likewise.
30038 (SIGINT): Likewise.
30039 (SIGSEGV): Likewise.
30040 (SIGTER): Likewise.
30041 [!ISO && !ISO99 && !ISO11] (SIGALRM): Likewise.
30042 [!ISO && !ISO99 && !ISO11] (SIGHUP): Likewise.
30043 [!ISO && !ISO99 && !ISO11] (SIGIO): Likewise.
30044 [!ISO && !ISO99 && !ISO11] (SIGKILL): Likewise.
30045 [!ISO && !ISO99 && !ISO11] (SIGPIPE): Likewise.
30046 [!ISO && !ISO99 && !ISO11] (SIGQUIT): Likewise.
30047 [!ISO && !ISO99 && !ISO11] (SIGUSR1): Likewise.
30048 [!ISO && !ISO99 && !ISO11] (SIGUSR2): Likewise.
30049 [!ISO && !ISO99 && !ISO11] (SIGCHLD): Likewise.
30050 [!ISO && !ISO99 && !ISO11] (SIGCONT): Likewise.
30051 [!ISO && !ISO99 && !ISO11] (SIGSTOP): Likewise.
30052 [!ISO && !ISO99 && !ISO11] (SIGTSTP): Likewise.
30053 [!ISO && !ISO99 && !ISO11] (SIGTTIN): Likewise.
30054 [!ISO && !ISO99 && !ISO11] (SIGTTOU): Likewise.
30055 [!ISO && !ISO99 && !ISO11] (SIGBUS): Likewise.
30056 [!ISO && !ISO99 && !ISO11] (SIGPOLL): Likewise.
30057 [!ISO && !ISO99 && !ISO11] (SIGPROF): Likewise.
30058 [!ISO && !ISO99 && !ISO11] (SIGSYS): Likewise.
30059 [X/Open-based standards] (SIGTRAP): Likewise.
30060 [!ISO && !ISO99 && !ISO11] (SIGURG): Likewise.
30061 [!ISO && !ISO99 && !ISO11] (SIGVTALRM): Likewise.
30062 [!ISO && !ISO99 && !ISO11] (SIGXCPU): Likewise.
30063 [!ISO && !ISO99 && !ISO11] (SIGXFSZ): Likewise.
30064 * conform/data/stdarg.h-data [ISO || ISO99 || ISO11] (*_t): Do not
30067 2012-05-08 Ian Wienand <ianw@vmware.com>
30070 * time/tzset.c (__tzset_parse_tz): Update default rules for
30071 daylight time changes in the Energy Policy Act of 2005.
30073 2012-05-09 Andreas Jaeger <aj@suse.de>
30076 * elf/ldconfig.c (parse_conf): Change string to make clear that
30077 ldconfig only issued a warning if ld.so.conf does not exist.
30079 2012-05-08 David S. Miller <davem@davemloft.net>
30081 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: Use
30082 movxtod instead of popping the value on the stack.
30084 * sysdeps/sparc/fpu/libm-test-ulps: Update.
30086 2012-05-08 Carlos O'Donell <carlos_odonell@mentor.com>
30088 * config.h.in: Add HAVE_ARM_PCS_VFP.
30090 2012-05-08 Roland Mc Grath <roland@hack.frob.com>
30093 * include/features.h: Warn if user requests __FORTIFY_SOURCE
30094 checking but the checks are disabled for any reason.
30096 2012-05-08 H.J. Lu <hongjiu.lu@intel.com>
30098 * sysdeps/x86_64/dl-machine.h: Replace Elf64_XXX with ElfW(XXX)
30099 and ELF64_R_TYPE with ELFW(R_TYPE).
30101 2012-05-08 Joseph Myers <joseph@codesourcery.com>
30103 * sysdeps/unix/sysv/syscalls.list (pause): Remove.
30104 (ulimit): Likewise.
30106 * sysdeps/unix/sysv/syscalls.list (setrlimit): Remove.
30107 (settimeofday): Likewise.
30109 2012-05-08 Mike Frysinger <vapier@gentoo.org>
30111 * inet/arpa/tftp.h (struct tftphdr): Rename th_u to th_u1. Add
30112 a struct th_u2 inside the union, and move tu_block/tu_code into
30113 a new th_u3 union of tu_block/tu_code inside of that. Move
30114 th_data[1] into the th_u2 as tu_data[0]. Change tu_stuff[1] to
30115 tu_stuff[0]. Add a new tu_padding[4] to keep sizeof() the same.
30116 (th_block): Change to th_u1.th_u2.th_u3.tu_block.
30117 (th_code): Change to th_u1.th_u2.th_u3.tu_code.
30118 (th_stuff): Change to th_u1.tu_stuff.
30120 (th_msg): Change to th_u1.th_u2.tu_data.
30122 2012-05-07 David S. Miller <davem@davemloft.net>
30124 * sysdeps/sparc/fpu/libm-test-ulps: Update.
30127 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK_CALL): New macro.
30128 (SETUP_PIC_REG): Use it.
30129 (SETUP_PIC_REG_LEAF): Use it.
30131 2012-05-07 Joseph Myers <joseph@codesourcery.com>
30135 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
30137 (EXPL_FINITE): Likewise.
30138 (FLDLOG): Likewise.
30139 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
30140 * sysdeps/i386/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
30142 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
30144 (EXPL_FINITE): Likewise.
30145 (FLDLOG): Likewise.
30146 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
30147 * sysdeps/x86_64/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
30149 * math/libm-test.inc (expm1_test): Add more tests. Do not disable
30150 test of -max_value argument for long double.
30151 * sysdeps/i386/fpu/libm-test-ulps: Update.
30152 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
30154 2012-05-06 David S. Miller <davem@davemloft.net>
30156 * scripts/data/localplt-sparc-linux-gnu.data: Add '?' markers to
30157 quad soft-float symbols whose references which are compiler
30159 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
30161 2012-05-06 Joseph Myers <joseph@codesourcery.com>
30165 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
30167 (EXPL_FINITE): Likewise.
30168 (FLDLOG): Likewise.
30171 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
30172 Adjust comments for base varying.
30173 (__expl_finite): Change alias to EXPL_FINITE.
30174 * sysdeps/i386/fpu/e_exp10l.S: Define USE_AS_EXP10L and include
30176 * sysdeps/ieee754/dbl-64/e_exp10.c: New file.
30177 * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
30178 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
30179 * sysdeps/x86_64/fpu/e_exp10l.S: Likewise.
30180 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
30182 (EXPL_FINITE): Likewise.
30183 (FLDLOG): Likewise.
30186 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
30187 Adjust comments for base varying.
30188 (__expl_finite): Change alias to EXPL_FINITE.
30189 * math/libm-test.inc (exp10_test): Add more tests. Do not disable
30191 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
30194 * math/libm-test.inc (check_float_internal): Correct ulp
30195 calculation for subnormal expected results.
30197 2012-05-06 Andreas Jaeger <aj@suse.de>
30199 * Makeconfig (+math-flags): New, set to -frounding-math.
30200 (+cflags): Add +math-flags so that all of glibc gets compiled with
30203 * sysdeps/x86_64/fpu/libm-test-ulps: Updated.
30205 2012-05-05 Joseph Myers <joseph@codesourcery.com>
30207 * math/libm-test.inc (hypot_test) [TEST_DOUBLE && TEST_INLINE]:
30213 * sysdeps/i386/fpu/e_expl.S (csat): New constant.
30214 (__ieee754_expl): Allow for and saturate large arguments.
30215 * sysdeps/ieee754/dbl-64/w_exp.c (o_threshold): Remove variable.
30216 (u_threshold): Likewise.
30217 (__exp): Call __ieee754_exp before checking for overflow and
30219 * sysdeps/ieee754/flt-32/w_expf.c (o_threshold): Remove variable.
30220 (u_threshold): Likewise.
30221 (__expf): Call __ieee754_expf before checking for overflow and
30223 * sysdeps/ieee754/ldbl-96/w_expl.c (o_threshold): Remove variable.
30224 (u_threshold): Likewise.
30225 (__expl): Call __ieee754_expl before checking for overflow and
30227 * sysdeps/x86_64/fpu/e_expl.S (csat): New constant.
30228 (__ieee754_expl): Allow for and saturate large arguments.
30229 * math/libm-test.inc (exp_test): Add another test. Do not allow
30230 missing overflow exception on overflow.
30231 (expm1_test): Do not allow missing overflow exception on overflow.
30233 * sysdeps/i386/fpu/e_expl.c: Move to ...
30234 * sysdeps/i386/fpu/e_expl.S: ... here. Write directly in assembly
30235 rather than using inline asm.
30236 * sysdeps/x86_64/fpu/e_expl.c: Remove file.
30237 * sysdeps/x86_64/fpu/e_expl.S: Copy from
30238 sysdeps/i386/fpu/e_expl.S, adjusted for x86_64.
30240 * sysdeps/unix/sysv/syscalls.list (ftime): Remove.
30243 (signal): Likewise.
30247 2012-05-04 Joseph Myers <joseph@codesourcery.com>
30249 * sysdeps/unix/syscalls.list (adjtime): Add entry from
30250 sysdeps/unix/common/syscalls.list.
30251 (fchmod): Likewise.
30252 (fchown): Likewise.
30253 (ftruncate): Likewise.
30254 (getrusage): Likewise.
30255 (gettimeofday): Likewise.
30256 (setpgid): Likewise.
30257 (setregid): Likewise.
30258 (setreuid): Likewise.
30259 (sigaction): Likewise.
30260 (truncate): Likewise.
30261 (vhangup): Likewise.
30262 * sysdeps/unix/common/syscalls.list: Remove file.
30263 * sysdeps/unix/bsd/Implies: Don't include unix/common.
30264 * sysdeps/unix/sysv/linux/Implies: Likewise.
30266 2012-05-04 H.J. Lu <hongjiu.lu@intel.com>
30268 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: Moved to ...
30269 * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Here.
30270 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist:
30272 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
30274 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: Moved
30276 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Here.
30277 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: Moved
30279 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Here.
30280 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: Moved
30282 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Here.
30283 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: Moved
30285 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Here.
30286 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: Moved
30288 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Here.
30289 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: Moved
30291 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Here.
30292 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: Moved
30294 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
30296 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: Moved
30298 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist:
30300 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: Moved
30302 * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Here.
30303 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist:
30305 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist:
30307 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: Moved
30309 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Here.
30311 2012-05-04 Joseph Myers <joseph@codesourcery.com>
30313 * sysdeps/unix/common/bits/dirent.h: Remove file.
30314 * sysdeps/unix/common/bits/fcntl.h: Likewise.
30316 * sysdeps/unix/bsd/bits/dirent.h: Remove file.
30317 * sysdeps/unix/bsd/bits/fcntl.h: Likewise.
30318 * sysdeps/unix/bsd/bsd4.4/isatty.c: Likewise.
30319 * sysdeps/unix/bsd/isatty.c: Likewise.
30320 * sysdeps/unix/bsd/tcdrain.c: Likewise.
30321 * sysdeps/unix/bsd/tcgetattr.c: Likewise.
30322 * sysdeps/unix/bsd/tcsetattr.c: Likewise.
30324 2012-05-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
30327 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Fix
30328 long double comparison inaccuracies.
30329 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
30330 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
30332 2012-05-04 Andreas Schwab <schwab@linux-m68k.org>
30334 * sysdeps/unix/make-syscalls.sh: Fix check for version aliases.
30335 * sysdeps/unix/sysv/linux/i386/syscalls.list: Revert last change.
30337 2012-05-04 Joseph Myers <joseph@codesourcery.com>
30340 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Check for trailing
30341 nonzero digits before rounding a hex value.
30342 * stdlib/tst-strtod.c (tests): Add another test.
30344 2012-05-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
30346 * sysdeps/s390/fpu/libm-test-ulps: Update.
30348 2012-05-03 Andreas Jaeger <aj@suse.de>
30350 * malloc/mcheck.c (mcheck): Add barrier so that malloc/free pair
30351 does not get optimized out.
30352 (malloc_opt_barrier): New.
30354 2012-05-03 Andreas Jaeger <aj@suse.de>
30355 Roland McGrath <roland@hack.frob.com>
30357 * Makerules (.PRECIOUS): Add %.symlist pattern to prevent
30358 intermediate file deletion.
30359 (generated): Add .symlist files.
30361 2012-05-03 Joseph Myers <joseph@codesourcery.com>
30364 * libio/bits/stdio-ldbl.h [__USE_XOPEN2K8] (__dprintf_chk):
30365 Redirect under this condition.
30366 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
30367 [__USE_GNU] (__dprintf_chk): Not under this condition.
30368 [__USE_GNU] (__vdprintf_chk): Likewise.
30369 * libio/bits/stdio2.h [__USE_XOPEN2K8] (__dprintf_chk): Declare
30370 under this condition.
30371 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
30372 [__USE_XOPEN2K8] (dprintf): Define under this condition.
30373 [__USE_XOPEN2K8] (vdprintf): Likewise.
30374 [__USE_GNU] (__dprintf_chk): Not under this condition.
30375 [__USE_GNU] (__vdprintf_chk): Likewise.
30376 [__USE_GNU] (dprintf): Likewise.
30377 [__USE_GNU] (vdprintf): Likewise.
30379 2012-05-03 Roland McGrath <roland@hack.frob.com>
30381 * elf/Makefile (common-generated): Set this instead of generated for
30382 .dyn, .phdr, .jmprel files. Remove $(common-objpfx) from the
30383 $(all-built-dso)-derived lists.
30385 2012-05-03 Andreas Jaeger <aj@suse.de>
30387 * sysdeps/i386/fpu/libm-test-ulps: Update.
30390 * FAQ.in: Likewise.
30391 * scripts/gen-FAQ.pl: Likewise.
30392 * manual/install.texi (Installation): Point to online location of
30394 * Makefile (files-for-dist): Remove FAQ.
30397 2012-05-02 Allan McRae <allan@archlinux.org>
30399 * elf/Makefile: (LDFLAGS-nodel2mod3.so: Use $(no-as-needed).
30400 (LDFLAGS-reldepmod5.so): Likewise.
30401 (LDFLAGS-reldep6mod1.so): Likewise.
30402 (LDFLAGS-reldep6mod4.so): Likewise.
30403 (LDFLAGS-reldep8mod3.so): Likewise.
30404 (LDFLAGS-unload4mod1.so): Likewise.
30405 (LDFLAGS-unload4mod2.so): Likewise.
30406 (LDFLAGS-tst-initorder): Likewise.
30407 (LDFLAGS-tst-initordera2.so): Likewise.
30408 (LDFLAGS-tst-initordera3.so): Likewise.
30409 (LDFLAGS-tst-initordera4.so): Likewise.
30410 (LDFLAGS-tst-initorderb2.so): Likewise.
30411 (LDFLAGS-noload): Likewise.
30412 (LDFLAGS-next): Likewise.
30413 (LDFLAGS-order2mod1.so): Likewise.
30414 (LDFLAGS-order2mod2.so): Likewise.
30415 (LDFLAGS-tst-initorder2): Likewise.
30416 (LDFLAGS-tst-initorder2a.so): Likewise.
30417 (LDFLAGS-tst-initorder2b.so): Likewise.
30418 (LDFLAGS-tst-initorder2c.so): Likewise.
30419 * stdlib/Makefile: (LDFLAGS-tst-putenv): Likewise.
30421 2012-05-02 David S. Miller <davem@davemloft.net>
30423 * sysdeps/sparc/fpu/libm-test-ulps: Update.
30425 2012-05-02 Paul Pluzhnikov <ppluzhnikov@google.com>
30428 * elf/dl-sysdep.c (_dl_show_auxv): Add bounds check.
30430 2012-05-02 Andreas Jaeger <aj@suse.de>
30432 * math/Makefile (CPPFLAGS-test-ildoubl.c): Add -frounding-math
30433 since we manipulate rounding mode.
30434 (CPPFLAGS-test-idouble.c): Likewise.
30435 (CPPFLAGS-test-ifloat.c): Likewise.
30436 (CFLAGS-test-ldouble.c): Likewise.
30437 (CFLAGS-test-double.c): Likewise.
30438 (CFLAGS-test-float.c): Likewise.
30439 (CFLAGS-test-misc.c): Likewise.
30440 (CFLAGS-test-test-fenv.c): Likewise.
30442 2012-05-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
30446 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Use floating-point
30447 comparisons to determine direction to adjust input.
30449 2012-05-01 Roland McGrath <roland@hack.frob.com>
30451 * elf/Makefile ($(objpfx)check-localplt.out): Redirect the test's
30452 output to the target.
30454 * scripts/localplt.awk: New file.
30455 * elf/Makefile ($(objpfx)check-localplt): Target removed.
30456 (check-localplt-CFLAGS): Variable removed.
30457 ($(all-built-dso:=.jmprel)): New static pattern rule.
30458 (generated): Add those targets.
30459 (localplt-built-dso): New variable.
30460 ($(objpfx)check-localplt.out): Use the script on the .jmprel files.
30462 * elf/check-localplt.c: File removed.
30464 * scripts/check-execstack.awk: New file.
30465 * elf/Makefile ($(objpfx)check-execstack): Target removed.
30466 (check-execstack-CFLAGS): Variable removed.
30467 ($(objpfx)check-execstack.h): Target removed.
30468 ($(objpfx)execstack-default): New target.
30469 (generated): Add that instead of check-execstack.h.
30470 ($(all-built-dso:=.phdr)): New static pattern rule.
30471 (generated): Add those targets.
30472 * elf/check-execstack.c: File removed.
30474 * scripts/check-textrel.awk: New file.
30475 * elf/Makefile ($(objpfx)check-textrel): Target removed.
30476 (check-textrel-CFLAGS): Variable removed.
30477 (all-built-dso): Use := to define.o
30478 ($(all-built-dso:=.dyn)): New static pattern rule.
30479 (generated): Add those targets.
30480 ($(objpfx)check-textrel.out): Use the script on the .dyn files.
30481 * config.make.in (READELF): New substituted variable.
30482 * elf/check-textrel.c: File removed.
30484 2012-05-01 Joseph Myers <joseph@codesourcery.com>
30486 * conform/data/assert.h-data [ISO || ISO99 || ISO11] (*_t): Do not
30488 * conform/data/ctype.h-data [C99-based standards] (isblank):
30490 (is*): Change to is[abcdefghijklmnopqrstuvwxyz]*.
30491 (to*): Change to to[abcdefghijklmnopqrstuvwxyz]*.
30492 [ISO || ISO99 || ISO11] (*_t): Do not allow.
30493 * conform/data/errno.h-data (EDOM): Use macro-int-constant.
30494 Specify type. Require positive value.
30495 (EILSEQ): Likewise.
30496 (ERANGE): Likewise.
30497 [ISO || POSIX] (EILSEQ): Do not expect.
30498 [!ISO && !ISO99 && !ISO11] (E2BIG): Use macro-int-constant.
30499 Specify type. Require positive value.
30500 [!ISO && !ISO99 && !ISO11] (EACCES): Likewise.
30501 [!ISO && !ISO99 && !ISO11] (EADDRINUSE): Likewise.
30502 [!ISO && !ISO99 && !ISO11] (EADDRNOTAVAIL): Likewise.
30503 [!ISO && !ISO99 && !ISO11] (EAFNOSUPPORT): Likewise.
30504 [!ISO && !ISO99 && !ISO11] (EAGAIN): Likewise.
30505 [!ISO && !ISO99 && !ISO11] (EALREADY): Likewise.
30506 [!ISO && !ISO99 && !ISO11] (EBADF): Likewise.
30507 [!ISO && !ISO99 && !ISO11] (EBADMSG): Likewise.
30508 [!ISO && !ISO99 && !ISO11] (EBUSY): Likewise.
30509 [!ISO && !ISO99 && !ISO11] (ECANCELED): Likewise.
30510 [!ISO && !ISO99 && !ISO11] (ECHILD): Likewise.
30511 [!ISO && !ISO99 && !ISO11] (ECONNABORTED): Likewise.
30512 [!ISO && !ISO99 && !ISO11] (ECONNREFUSED): Likewise.
30513 [!ISO && !ISO99 && !ISO11] (ECONNRESET): Likewise.
30514 [!ISO && !ISO99 && !ISO11] (EDEADLK): Likewise.
30515 [!ISO && !ISO99 && !ISO11] (EDESTADDRREQ): Likewise.
30516 [!ISO && !ISO99 && !ISO11] (EDQUOT): Likewise.
30517 [!ISO && !ISO99 && !ISO11] (EEXIST): Likewise.
30518 [!ISO && !ISO99 && !ISO11] (EFAULT): Likewise.
30519 [!ISO && !ISO99 && !ISO11] (EFBIG): Likewise.
30520 [!ISO && !ISO99 && !ISO11] (EHOSTUNREACH): Likewise.
30521 [!ISO && !ISO99 && !ISO11] (EIDRM): Likewise.
30522 [!ISO && !ISO99 && !ISO11] (EINPROGRESS): Likewise.
30523 [!ISO && !ISO99 && !ISO11] (EINTR): Likewise.
30524 [!ISO && !ISO99 && !ISO11] (EINVAL): Likewise.
30525 [!ISO && !ISO99 && !ISO11] (EIO): Likewise.
30526 [!ISO && !ISO99 && !ISO11] (EISCONN): Likewise.
30527 [!ISO && !ISO99 && !ISO11] (EISDIR): Likewise.
30528 [!ISO && !ISO99 && !ISO11] (ELOOP): Likewise.
30529 [!ISO && !ISO99 && !ISO11] (EMFILE): Likewise.
30530 [!ISO && !ISO99 && !ISO11] (EMLINK): Likewise.
30531 [!ISO && !ISO99 && !ISO11] (EMSGSIZE): Likewise.
30532 [!ISO && !ISO99 && !ISO11] (EMULTIHOP): Likewise.
30533 [!ISO && !ISO99 && !ISO11] (ENAMETOOLONG): Likewise.
30534 [!ISO && !ISO99 && !ISO11] (ENETDOWN): Likewise.
30535 [!ISO && !ISO99 && !ISO11] (ENETUNREACH): Likewise.
30536 [!ISO && !ISO99 && !ISO11] (ENFILE): Likewise.
30537 [!ISO && !ISO99 && !ISO11] (ENOBUFS): Likewise.
30538 [!ISO && !ISO99 && !ISO11] (ENODATA): Likewise.
30539 [!ISO && !ISO99 && !ISO11] (ENODEV): Likewise.
30540 [!ISO && !ISO99 && !ISO11] (ENOENT): Likewise.
30541 [!ISO && !ISO99 && !ISO11] (ENOEXEC): Likewise.
30542 [!ISO && !ISO99 && !ISO11] (ENOLCK): Likewise.
30543 [!ISO && !ISO99 && !ISO11] (ENOLINK): Likewise.
30544 [!ISO && !ISO99 && !ISO11] (ENOMEM): Likewise.
30545 [!ISO && !ISO99 && !ISO11] (ENOMSG): Likewise.
30546 [!ISO && !ISO99 && !ISO11] (ENOPROTOOPT): Likewise.
30547 [!ISO && !ISO99 && !ISO11] (ENOSPC): Likewise.
30548 [!ISO && !ISO99 && !ISO11] (ENOSR): Likewise.
30549 [!ISO && !ISO99 && !ISO11] (ENOSTR): Likewise.
30550 [!ISO && !ISO99 && !ISO11] (ENOSYS): Likewise.
30551 [!ISO && !ISO99 && !ISO11] (ENOTCONN): Likewise.
30552 [!ISO && !ISO99 && !ISO11] (ENOTDIR): Likewise.
30553 [!ISO && !ISO99 && !ISO11] (ENOTEMPTY): Likewise.
30554 [!ISO && !ISO99 && !ISO11] (ENOTSOCK): Likewise.
30555 [!ISO && !ISO99 && !ISO11] (ENOTSUP): Likewise.
30556 [!ISO && !ISO99 && !ISO11] (ENOTTY): Likewise.
30557 [!ISO && !ISO99 && !ISO11] (ENXIO): Likewise.
30558 [!ISO && !ISO99 && !ISO11] (EOPNOTSUPP): Likewise.
30559 [!ISO && !ISO99 && !ISO11] (EOVERFLOW): Likewise.
30560 [!ISO && !ISO99 && !ISO11] (EPERM): Likewise.
30561 [!ISO && !ISO99 && !ISO11] (EPIPE): Likewise.
30562 [!ISO && !ISO99 && !ISO11] (EPROTO): Likewise.
30563 [!ISO && !ISO99 && !ISO11] (EPROTONOSUPPORT): Likewise.
30564 [!ISO && !ISO99 && !ISO11] (EPROTOTYPE): Likewise.
30565 [!ISO && !ISO99 && !ISO11] (EROFS): Likewise.
30566 [!ISO && !ISO99 && !ISO11] (ESPIPE): Likewise.
30567 [!ISO && !ISO99 && !ISO11] (ESRCH): Likewise.
30568 [!ISO && !ISO99 && !ISO11] (ESTALE): Likewise.
30569 [!ISO && !ISO99 && !ISO11] (ETIME): Likewise.
30570 [!ISO && !ISO99 && !ISO11] (ETIMEDOUT): Likewise.
30571 [!ISO && !ISO99 && !ISO11] (ETXTBSY): Likewise.
30572 [!ISO && !ISO99 && !ISO11] (EWOULDBLOCK): Likewise.
30573 [!ISO && !ISO99 && !ISO11] (EXDEV): Likewise.
30574 [XOPEN2K8 || defined POSIX2008] (ENOTRECOVERABLE): Likewise.
30575 [XOPEN2K8 || defined POSIX2008] (EOWNERDEAD): Likewise.
30576 * conform/data/float.h-data (FLT_RADIX): Use macro-int-constant.
30578 (FLT_ROUNDS): Expect as macro, not constant.
30579 (FLT_MANT_DIG): Use macro-int-constant.
30580 (DBL_MANT_DIG): Likewise.
30581 (LDBL_MANT_DIG): Likewise.
30582 (FLT_DIG): Likewise.
30583 (DBL_DIG): Likewise.
30584 (LDBL_DIG): Likewise.
30585 (FLT_MIN_EXP): Use macro-int-constant. Require < 0.
30586 (DBL_MIN_EXP): Likewise.
30587 (LDBL_MIN_EXP): Likewise.
30588 (FLT_MAX_EXP): Use macro-int-constant.
30589 (DBL_MAX_EXP): Likewise.
30590 (LDBL_MAX_EXP): Likewise.
30591 (FLT_MAX_10_EXP): Likewise.
30592 (DBL_MAX_10_EXP): Likewise.
30593 (LDBL_MAX_10_EXP): Likewise.
30594 (FLT_MAX): Use macro-constant.
30595 (DBL_MAX): Likewise.
30596 (LDBL_MAX): Likewise.
30597 (FLT_EPSILON): Use macro-constant. Give upper bound.
30598 (DBL_EPSILON): Likewise.
30599 (LDBL_EPSILON): Likewise.
30600 (FLT_MIN): Likewise.
30601 (DBL_MIN): Likewise.
30602 (LDBL_MIN): Likewise.
30603 [C99-based standards] (DECIMAL_DIG): Use macro-int-constant.
30604 [C99-based standards] (FLT_EVAL_METHOD): Likewise.
30605 [ISO11] (DBL_HAS_SUBNORM): Use macro-int-constant.
30606 [ISO11] (FLT_HAS_SUBNORM): Likewise.
30607 [ISO11] (LDBL_HAS_SUBNORM): Likewise.
30608 [ISO11] (DBL_DECIMAL_DIG): Likewise.
30609 [ISO11] (FLT_DECIMAL_DIG): Likewise.
30610 [ISO11] (LDBL_DECIMAL_DIG): Likewise.
30611 [ISO11] (DBL_TRUE_MIN): Use macro-constant.
30612 [ISO11] (FLT_TRUE_MIN): Likewise.
30613 [ISO11] (LDBL_TRUE_MIN): Likewise.
30614 [ISO || ISO99 || ISO11] (*_t): Do not allow.
30615 * conform/data/limits.h-data (CHAR_BIT): Use macro-int-constant.
30616 (SCHAR_MIN): Use macro-int-constant. Specify type.
30617 (SCHAR_MAX): Likewise.
30618 (UCHAR_MAX): Likewise.
30619 (CHAR_MIN): Likewise.
30620 (CHAR_MAX): Likewise.
30621 (MB_LEN_MAX): Use macro-int-constant.
30622 (SHRT_MIN): Use macro-int-constant. Specify type.
30623 (SHRT_MAX): Likewise.
30624 (USHRT_MAX): Likewise.
30625 (INT_MAX): Likewise.
30626 (INT_MIN): Use macro-int-constant. Specify type. Make upper
30628 (UINT_MAX): Use macro-int-constant. Specify type. Suffix lower
30630 (LONG_MAX): Use macro-int-constant. Specify type. Suffix lower
30632 (LONG_MIN): Use macro-int-constant. Specify type. Make upper
30633 bound negative. Suffix upper bound with "L".
30634 (ULONG_MAX): Use macro-int-constant. Specify type. Suffix lower
30636 [C99-based standards] (LLONG_MIN): Use macro-int-constant.
30638 [C99-based standards] (LLONG_MAX): Likewise.
30639 [C99-based standards] (ULLONG_MAX): Likewise.
30640 * conform/data/stddef.h-data (NULL): Use macro-constant. Require
30642 [ISO11] (max_align_t): Require type.
30643 [ISO || ISO99 || ISO11] (*_t): Do not allow.
30645 * conform/conformtest.pl ($CFLAGS_namespace): Define separately
30646 from $CFLAGS, without defining away __attribute__ calls.
30647 (checknamespace): Use $CFLAGS_namespace.
30649 * conform/conformtest.pl (@keywords): Only include C99 keywords
30650 for standards based on C99 or C11.
30652 * conform/data/iso646.h-data [ISO || POSIX || XPG3 || XPG4]:
30654 * conform/data/stdint.h-data [ISO || POSIX || XPG3 || XPG4 ||
30657 * conform/conformtest.pl: Handle "macro-int-constant" and test for
30658 usability of symbols in #if.
30660 * conform/conformtest.pl: If macro or constant types start
30661 "promoted:", expect the symbol to be of the following type
30662 promoted by the integer promotions.
30664 * conform/conformtest.pl: Parse all "constant" and "macro" lines
30665 in one place. Also handle "macro-constant".
30667 * conform/conformtest.pl: Only accept expected macro values with
30668 "==". Parse all "macro" lines in one place.
30669 * conform/data/stdlib.h-data: Use "==" form on "macro" lines.
30671 * conform/conformtest.pl: Handle braced types on "constant" lines
30672 instead of handling "typed-constant".
30673 * conform/data/signal.h-data: Use "constant" instead of
30676 * conform/conformtest.pl: Handle "optional-" at start of lines in
30677 one place rather than duplicating several cases. Handle each
30678 format of "macro" line with initial "optional-".
30680 * conform/conformtest.pl: Only accept expected constant or
30681 optional-constant values with "==". Parse all "constant" lines in
30682 one place. Parse all "optional-constant" lines in one place.
30683 * conform/data/cpio.h-data: Use "==" form on "constant" lines.
30684 * conform/data/fmtmsg.h-data: Likewise.
30685 * conform/data/netinet/in.h-data: Likewise.
30686 * conform/data/tar.h-data: Likewise.
30687 * conform/data/limits.h-data: Use "==" form on "constant" and
30688 "optional-constant" lines.
30690 * conform/conformtest.pl: Use -ansi for XPG3, XPG4 and UNIX98.
30691 Use -std=c99 for XOPEN2K.
30692 (@knownproblems): Remove.
30693 (newtoken): Don't check %isknown.
30695 * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (fpclassify):
30696 Do not expect macro.
30697 [XPG3 || XPG4 || UNIX98] (isfinite): Likewise.
30698 [XPG3 || XPG4 || UNIX98] (isinf): Likewise.
30699 [XPG3 || XPG4 || UNIX98] (isnan): Likewise.
30700 [XPG3 || XPG4 || UNIX98] (isnormal): Likewise.
30701 [XPG3 || XPG4 || UNIX98] (signbit): Likewise.
30702 [XPG3 || XPG4 || UNIX98] (isgreater): Likewise.
30703 [XPG3 || XPG4 || UNIX98] (isgreaterequal): Likewise.
30704 [XPG3 || XPG4 || UNIX98] (isless): Likewise.
30705 [XPG3 || XPG4 || UNIX98] (islessequal): Likewise.
30706 [XPG3 || XPG4 || UNIX98] (islessgreater): Likewise.
30707 [XPG3 || XPG4 || UNIX98] (isunordered): Likewise.
30708 [XPG3 || XPG4 || UNIX98] (isnan): Expect as function.
30709 [XPG3 || XPG4 || UNIX98] (HUGE_VALF): Do not expect.
30710 [XPG3 || XPG4 || UNIX98] (HUGE_VALL): Likewise.
30711 [XPG3 || XPG4 || UNIX98] (INFINITY): Likewise.
30712 [XPG3 || XPG4 || UNIX98] (NAN): Likewise.
30713 [XPG3 || XPG4 || UNIX98] (FP_INFINITE): Likewise.
30714 [XPG3 || XPG4 || UNIX98] (FP_NAN): Likewise.
30715 [XPG3 || XPG4 || UNIX98] (FP_NORMAL): Likewise.
30716 [XPG3 || XPG4 || UNIX98] (FP_SUBNORMAL): Likewise.
30717 [XPG3 || XPG4 || UNIX98] (FP_ZERO): Likewise.
30718 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMA): Likewise.
30719 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAF): Likewise.
30720 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAL): Likewise.
30721 [XPG3 || XPG4 || UNIX98] (FP_ILOGB0): Likewise.
30722 [XPG3 || XPG4 || UNIX98] (FP_ILOGBNAN): Likewise.
30723 [XPG3 || XPG4 || UNIX98] (copysign): Likewise.
30724 [XPG3 || XPG4 || UNIX98] (exp2): Likewise.
30725 [XPG3 || XPG4 || UNIX98] (log2): Likewise.
30726 [XPG3 || XPG4 || UNIX98] (tgama): Likewise.
30727 [XPG3] (acosh): Likewise.
30728 [XPG3] (asinh): Likewise.
30729 [XPG3] (atanh): Likewise.
30730 [XPG3] (cbrt): Likewise.
30731 [XPG3] (expm1): Likewise.
30732 [XPG3] (ilogb): Likewise.
30733 [XPG3] (log1p): Likewise.
30734 [XPG3] (logb): Likewise.
30735 [XPG3] (nextafter): Likewise.
30736 [XPG3 || XPG4 || UNIX98] (nexttoward): Likewise.
30737 [XPG3 || XPG4 || UNIX98] (nearbyint): Likewise.
30738 [XPG3] (remainder): Likewise.
30739 [XPG3] (rint): Likewise.
30740 [XPG3 || XPG4 || UNIX98] (round): Likewise.
30741 [XPG3 || XPG4 || UNIX98] (trunc): Likewise.
30742 [XPG3 || XPG4 || UNIX98] (lrint): Likewise.
30743 [XPG3 || XPG4 || UNIX98] (llrint): Likewise.
30744 [XPG3 || XPG4 || UNIX98] (lround): Likewise.
30745 [XPG3 || XPG4 || UNIX98] (llround): Likewise.
30746 [XPG3 || XPG4 || UNIX98] (remquo): Likewise.
30747 [UNIX98 || XOPEN2K] (scalb): Expect.
30748 [XPG3 || XPG4 || UNIX98] (scalbn): Do not expect.
30749 [XPG3 || XPG4 || UNIX98] (scalbln): Likewise.
30750 [XPG3 || XPG4 || UNIX98] (fdim): Likewise.
30751 [XPG3 || XPG4 || UNIX98] (fmax): Likewise.
30752 [XPG3 || XPG4 || UNIX98] (fmin): Likewise.
30753 [XPG3 || XPG4 || UNIX98] (fma): Likewise.
30754 [XPG3 || XPG4 || UNIX98] (nan): Likewise.
30755 [XPG3 || XPG4 || UNIX98] (acosf): Likewise.
30756 [XPG3 || XPG4 || UNIX98] (asinf): Likewise.
30757 [XPG3 || XPG4 || UNIX98] (atanf): Likewise.
30758 [XPG3 || XPG4 || UNIX98] (atan2f): Likewise.
30759 [XPG3 || XPG4 || UNIX98] (ceilf): Likewise.
30760 [XPG3 || XPG4 || UNIX98] (copysignf): Likewise.
30761 [XPG3 || XPG4 || UNIX98] (cosf): Likewise.
30762 [XPG3 || XPG4 || UNIX98] (coshf): Likewise.
30763 [XPG3 || XPG4 || UNIX98] (expf): Likewise.
30764 [XPG3 || XPG4 || UNIX98] (exp2f): Likewise.
30765 [XPG3 || XPG4 || UNIX98] (fabsf): Likewise.
30766 [XPG3 || XPG4 || UNIX98] (floorf): Likewise.
30767 [XPG3 || XPG4 || UNIX98] (fmodf): Likewise.
30768 [XPG3 || XPG4 || UNIX98] (frexpf): Likewise.
30769 [XPG3 || XPG4 || UNIX98] (ldexpf): Likewise.
30770 [XPG3 || XPG4 || UNIX98] (logf): Likewise.
30771 [XPG3 || XPG4 || UNIX98] (log10f): Likewise.
30772 [XPG3 || XPG4 || UNIX98] (log2f): Likewise.
30773 [XPG3 || XPG4 || UNIX98] (modff): Likewise.
30774 [XPG3 || XPG4 || UNIX98] (powf): Likewise.
30775 [XPG3 || XPG4 || UNIX98] (sinf): Likewise.
30776 [XPG3 || XPG4 || UNIX98] (sinhf): Likewise.
30777 [XPG3 || XPG4 || UNIX98] (sqrtf): Likewise.
30778 [XPG3 || XPG4 || UNIX98] (tanf): Likewise.
30779 [XPG3 || XPG4 || UNIX98] (tanhf): Likewise.
30780 [XPG3 || XPG4 || UNIX98] (erff): Likewise.
30781 [XPG3 || XPG4 || UNIX98] (erfcf): Likewise.
30782 [XPG3 || XPG4 || UNIX98] (gammaf): Likewise.
30783 [XPG3 || XPG4 || UNIX98] (hypotf): Likewise.
30784 [XPG3 || XPG4 || UNIX98] (j0f): Likewise.
30785 [XPG3 || XPG4 || UNIX98] (j1f): Likewise.
30786 [XPG3 || XPG4 || UNIX98] (jnf): Likewise.
30787 [XPG3 || XPG4 || UNIX98] (lgammaf): Likewise.
30788 [XPG3 || XPG4 || UNIX98] (tgammaf): Likewise.
30789 [XPG3 || XPG4 || UNIX98] (y0f): Likewise.
30790 [XPG3 || XPG4 || UNIX98] (y1f): Likewise.
30791 [XPG3 || XPG4 || UNIX98] (ynf): Likewise.
30792 [XPG3 || XPG4 || UNIX98] (acoshf): Likewise.
30793 [XPG3 || XPG4 || UNIX98] (asinhf): Likewise.
30794 [XPG3 || XPG4 || UNIX98] (atanhf): Likewise.
30795 [XPG3 || XPG4 || UNIX98] (cbrtf): Likewise.
30796 [XPG3 || XPG4 || UNIX98] (expm1f): Likewise.
30797 [XPG3 || XPG4 || UNIX98] (ilogbf): Likewise.
30798 [XPG3 || XPG4 || UNIX98] (log1pf): Likewise.
30799 [XPG3 || XPG4 || UNIX98] (logbf): Likewise.
30800 [XPG3 || XPG4 || UNIX98] (nextafterf): Likewise.
30801 [XPG3 || XPG4 || UNIX98] (nexttowardf): Likewise.
30802 [XPG3 || XPG4 || UNIX98] (nearbyintf): Likewise.
30803 [XPG3 || XPG4 || UNIX98] (remainderf): Likewise.
30804 [XPG3 || XPG4 || UNIX98] (rintf): Likewise.
30805 [XPG3 || XPG4 || UNIX98] (roundf): Likewise.
30806 [XPG3 || XPG4 || UNIX98] (truncf): Likewise.
30807 [XPG3 || XPG4 || UNIX98] (lrintf): Likewise.
30808 [XPG3 || XPG4 || UNIX98] (llrintf): Likewise.
30809 [XPG3 || XPG4 || UNIX98] (lroundf): Likewise.
30810 [XPG3 || XPG4 || UNIX98] (llroundf): Likewise.
30811 [XPG3 || XPG4 || UNIX98] (remquof): Likewise.
30812 [XPG3 || XPG4 || UNIX98] (scalbf): Likewise.
30813 [XPG3 || XPG4 || UNIX98] (scalbnf): Likewise.
30814 [XPG3 || XPG4 || UNIX98] (scalblnf): Likewise.
30815 [XPG3 || XPG4 || UNIX98] (fdimf): Likewise.
30816 [XPG3 || XPG4 || UNIX98] (fmaxf): Likewise.
30817 [XPG3 || XPG4 || UNIX98] (fminf): Likewise.
30818 [XPG3 || XPG4 || UNIX98] (fmaf): Likewise.
30819 [XPG3 || XPG4 || UNIX98] (nanf): Likewise.
30820 [XPG3 || XPG4 || UNIX98] (acosl): Likewise.
30821 [XPG3 || XPG4 || UNIX98] (asinl): Likewise.
30822 [XPG3 || XPG4 || UNIX98] (atanl): Likewise.
30823 [XPG3 || XPG4 || UNIX98] (atan2l): Likewise.
30824 [XPG3 || XPG4 || UNIX98] (ceill): Likewise.
30825 [XPG3 || XPG4 || UNIX98] (copysignl): Likewise.
30826 [XPG3 || XPG4 || UNIX98] (cosl): Likewise.
30827 [XPG3 || XPG4 || UNIX98] (coshl): Likewise.
30828 [XPG3 || XPG4 || UNIX98] (expl): Likewise.
30829 [XPG3 || XPG4 || UNIX98] (exp2l): Likewise.
30830 [XPG3 || XPG4 || UNIX98] (fabsl): Likewise.
30831 [XPG3 || XPG4 || UNIX98] (floorl): Likewise.
30832 [XPG3 || XPG4 || UNIX98] (fmodl): Likewise.
30833 [XPG3 || XPG4 || UNIX98] (frexpl): Likewise.
30834 [XPG3 || XPG4 || UNIX98] (ldexpl): Likewise.
30835 [XPG3 || XPG4 || UNIX98] (logl): Likewise.
30836 [XPG3 || XPG4 || UNIX98] (log10l): Likewise.
30837 [XPG3 || XPG4 || UNIX98] (log2l): Likewise.
30838 [XPG3 || XPG4 || UNIX98] (modfl): Likewise.
30839 [XPG3 || XPG4 || UNIX98] (powl): Likewise.
30840 [XPG3 || XPG4 || UNIX98] (sinl): Likewise.
30841 [XPG3 || XPG4 || UNIX98] (sinhl): Likewise.
30842 [XPG3 || XPG4 || UNIX98] (sqrtl): Likewise.
30843 [XPG3 || XPG4 || UNIX98] (tanl): Likewise.
30844 [XPG3 || XPG4 || UNIX98] (tanhl): Likewise.
30845 [XPG3 || XPG4 || UNIX98] (erfl): Likewise.
30846 [XPG3 || XPG4 || UNIX98] (erfcl): Likewise.
30847 [XPG3 || XPG4 || UNIX98] (gammal): Likewise.
30848 [XPG3 || XPG4 || UNIX98] (hypotl): Likewise.
30849 [XPG3 || XPG4 || UNIX98] (j0l): Likewise.
30850 [XPG3 || XPG4 || UNIX98] (j1l): Likewise.
30851 [XPG3 || XPG4 || UNIX98] (jnl): Likewise.
30852 [XPG3 || XPG4 || UNIX98] (lgammal): Likewise.
30853 [XPG3 || XPG4 || UNIX98] (tgammal): Likewise.
30854 [XPG3 || XPG4 || UNIX98] (y0l): Likewise.
30855 [XPG3 || XPG4 || UNIX98] (y1l): Likewise.
30856 [XPG3 || XPG4 || UNIX98] (ynl): Likewise.
30857 [XPG3 || XPG4 || UNIX98] (acoshl): Likewise.
30858 [XPG3 || XPG4 || UNIX98] (asinhl): Likewise.
30859 [XPG3 || XPG4 || UNIX98] (atanhl): Likewise.
30860 [XPG3 || XPG4 || UNIX98] (cbrtl): Likewise.
30861 [XPG3 || XPG4 || UNIX98] (expm1l): Likewise.
30862 [XPG3 || XPG4 || UNIX98] (ilogbl): Likewise.
30863 [XPG3 || XPG4 || UNIX98] (log1pl): Likewise.
30864 [XPG3 || XPG4 || UNIX98] (logbl): Likewise.
30865 [XPG3 || XPG4 || UNIX98] (nextafterl): Likewise.
30866 [XPG3 || XPG4 || UNIX98] (nexttowardl): Likewise.
30867 [XPG3 || XPG4 || UNIX98] (nearbyintl): Likewise.
30868 [XPG3 || XPG4 || UNIX98] (remainderl): Likewise.
30869 [XPG3 || XPG4 || UNIX98] (rintl): Likewise.
30870 [XPG3 || XPG4 || UNIX98] (roundl): Likewise.
30871 [XPG3 || XPG4 || UNIX98] (truncl): Likewise.
30872 [XPG3 || XPG4 || UNIX98] (lrintl): Likewise.
30873 [XPG3 || XPG4 || UNIX98] (llrintl): Likewise.
30874 [XPG3 || XPG4 || UNIX98] (lroundl): Likewise.
30875 [XPG3 || XPG4 || UNIX98] (llroundl): Likewise.
30876 [XPG3 || XPG4 || UNIX98] (remquol): Likewise.
30877 [XPG3 || XPG4 || UNIX98] (scalbl): Likewise.
30878 [XPG3 || XPG4 || UNIX98] (scalbnl): Likewise.
30879 [XPG3 || XPG4 || UNIX98] (scalblnl): Likewise.
30880 [XPG3 || XPG4 || UNIX98] (fdiml): Likewise.
30881 [XPG3 || XPG4 || UNIX98] (fmaxl): Likewise.
30882 [XPG3 || XPG4 || UNIX98] (fminl): Likewise.
30883 [XPG3 || XPG4 || UNIX98] (fmal): Likewise.
30884 [XPG3 || XPG4 || UNIX98] (nanl): Likewise.
30886 * conform/conformtest.pl: Define _XOPEN_SOURCE as well as
30887 _XOPEN_SOURCE_EXTENDED for XPG4.
30889 * conform/conformtest.pl: Handle "symbol" lines for allow-header.
30891 * Makeconfig (localtime): Remove variable.
30892 (inst_localtime-file): Likewise.
30894 2012-05-01 Andreas Schwab <schwab@linux-m68k.org>
30896 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
30898 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
30900 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
30902 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
30904 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
30906 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist:
30908 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
30910 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist:
30912 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
30915 2012-05-01 Joseph Myers <joseph@codesourcery.com>
30919 * math/s_nexttowardf.c (__nexttowardf): Use floating-point
30920 comparisons to determine direction to adjust input.
30921 * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
30922 * sysdeps/i386/fpu/s_nexttowardf.c(__nexttowardf): Likewise.
30923 * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
30925 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
30927 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
30929 * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
30930 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
30932 * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
30934 * math/libm-test.inc (nexttoward_test): Add more tests.
30936 2012-05-01 Andreas Schwab <schwab@linux-m68k.org>
30939 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (nearbyintl): Define
30940 in version GLIBC_2.1, not GLIBC_2.0.
30941 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (nearbyintl):
30944 2012-04-30 Joseph Myers <joseph@codesourcery.com>
30947 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Calculate 1 - x^2 as
30949 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
30950 * sysdeps/i386/fpu/e_asin.S (__ieee754_asin): Likewise.
30951 * math/libm-test.inc (acos_test): Add more tests.
30952 (asin_test): Likewise.
30953 * sysdeps/i386/fpu/libm-test-ulps: Update.
30954 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
30957 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Take absolute value
30959 * sysdeps/i386/fpu/e_acosf.S (__ieee754_acosf): Likewise.
30960 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
30961 * math/libm-test.inc (acos_test_tonearest): New function.
30962 (acos_test_towardzero): Likewise.
30963 (acos_test_downward): Likewise.
30964 (acos_test_upward): Likewise.
30965 (asin_test_tonearest): Likewise.
30966 (asin_test_towardzero): Likewise.
30967 (asin_test_downward): Likewise.
30968 (asin_test_upward): Likewise.
30969 (main): Call the new functions.
30970 * sysdeps/i386/fpu/libm-test-ulps: Update.
30971 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
30975 * math/e_exp10.c: Include <float.h>.
30976 (__ieee754_exp10): Handle underflow here rather than multiplying
30977 large negative argument by M_LN10.
30978 * math/e_exp10f.c (__ieee754_exp10f): Call __ieee754_exp instead
30980 * math/e_exp10l.c: Include <float.h>.
30981 (__ieee754_exp10l): Handle underflow here rather than multiplying
30982 large negative argument by M_LN10l.
30983 * math/libm-test.inc (exp10_test): Add another test. Do not allow
30984 spurious overflow exception on underflow.
30986 2012-04-29 Marek Polacek <polacek@redhat.com>
30988 * misc/sys/cdefs.h (__attribute_artificial__): New macro.
30989 (__fortify_function): New macro.
30990 (__extern_always_inline): Don't use __attribute__ ((__artificial__)).
30991 * libio/bits/stdio-ldbl.h: Use __fortify_function in place of
30992 __extern_always_inline.
30993 * libio/bits/stdio2.h: Likewise.
30994 * libio/bits/stdio.h: Likewise.
30995 * string/string.h: Likewise.
30996 * string/bits/string3.h: Likewise.
30997 * include/stdio.h: Likewise.
30998 * stdlib/bits/stdlib.h: Likewise.
30999 * stdlib/stdlib.h: Likewise.
31000 * rt/bits/mqueue2.h: Likewise.
31001 * rt/mqueue.h: Likewise.
31002 * posix/bits/unistd.h: Likewise.
31003 * posix/unistd.h: Likewise.
31004 * io/bits/poll2.h: Likewise.
31005 * io/bits/fcntl2.h: Likewise.
31006 * io/fcntl.h: Likewise.
31007 * io/sys/poll.h: Likewise.
31008 * misc/bits/syslog.h: Likewise.
31009 * misc/bits/syslog-ldbl.h: Likewise.
31010 * misc/sys/syslog.h: Likewise.
31011 * socket/bits/socket2.h: Likewise.
31012 * socket/sys/socket.h: Likewise.
31013 * debug/tst-chk1.c: Likewise.
31014 * wcsmbs/bits/wchar2.h: Likewise.
31015 * wcsmbs/bits/wchar-ldbl.h: Likewise.
31016 * wcsmbs/wchar.h: Likewise.
31018 2012-04-29 Andreas Jaeger <aj@suse.de>
31020 * Makerules (tests): Remove enable-check-abi protection.
31021 (check-abi-warn): Remove.
31022 (check-abi-%): Remove check-abi-warn usage.
31024 * configure.in: Remove check-abi configure option.
31025 * configure: Regenerated.
31026 * config.make.in (enable-check-abi): Remove.
31028 2012-04-28 Andreas Schwab <schwab@linux-m68k.org>
31031 * math/bits/math-finite.h [__NO_LONG_DOUBLE_MATH]: Redirect long
31032 double functions to double *_finite functions.
31035 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c
31036 (__mpn_extract_long_double): Use DBL_MIN_EXP instead of
31038 * stdio-common/Makefile (tests): Add tst-sprintf3.
31039 * stdio-common/tst-sprintf3.c: New file.
31041 * elf/Makefile ($(objpfx)tst-leaks1-mem, $(objpfx)noload-mem)
31042 ($(objpfx)tst-unused-dep.out): Don't run when cross-compiling.
31044 2012-04-28 Joseph Myers <joseph@codesourcery.com>
31046 * conform/conformtest.pl: Remove duplicate typed-constant
31049 2012-04-28 David S. Miller <davem@davemloft.net>
31051 * Makerules (%.abilist): Add vpath on sysdep_dirs.
31052 (check-abi-%): Remove AWK script prerequisite and explicit
31054 (check-abi): Rewrite to just diff the symlist with the abilist.
31055 (config-tls, config-abi-config): Delete, no longer used.
31056 (update-abi-%): Remove AWK script and explicit abilist directory.
31057 (update-abi): Rewrite to simply compare and conditionally copy the
31058 symlist and the sysdep abilist file. Remove update-abi-config
31060 * abilist/ld.abilist: Remove.
31061 * abilist/libBrokenLocale.abilist: Remove.
31062 * abilist/libanl.abilist: Remove.
31063 * abilist/libcrypt.abilist: Remove.
31064 * abilist/libdl.abilist: Remove.
31065 * abilist/librt.abilist: Remove.
31066 * abilist/libthread_db.abilist: Remove.
31067 * abilist/libutil.abilist: Remove.
31068 * scripts/extract-abilist.awk: Remove.
31069 * scripts/merge-abilist.awk: Remove.
31070 * sysdeps/generic/libcidn.abilist: New file.
31071 * sysdeps/generic/libnss_compat.abilist: New file.
31072 * sysdeps/generic/libnss_db.abilist: New file.
31073 * sysdeps/generic/libnss_dns.abilist: New file.
31074 * sysdeps/generic/libnss_files.abilist: New file.
31075 * sysdeps/generic/libnss_hesiod.abilist: New file.
31076 * sysdeps/generic/libnss_nis.abilist: New file.
31077 * sysdeps/generic/libnss_nisplus.abilist: New file.
31078 * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: New file.
31079 * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: New file.
31080 * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: New
31082 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: New file.
31083 * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: New file.
31084 * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: New file.
31085 * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: New file.
31086 * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: New file.
31087 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: New file.
31088 * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: New file.
31089 * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: New file.
31090 * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: New
31092 * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: New file.
31093 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: New file.
31094 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: New file.
31095 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist: New
31097 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: New file.
31098 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: New file.
31099 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: New file.
31100 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: New file.
31101 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: New file.
31102 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: New
31104 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: New file.
31105 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: New file.
31106 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist: New
31108 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: New file.
31109 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/ld.abilist:
31111 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libanl.abilist:
31113 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libBrokenLocale.abilist:
31115 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libc.abilist:
31117 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libcrypt.abilist:
31119 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libdl.abilist:
31121 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libm.abilist:
31123 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libnsl.abilist:
31125 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libpthread.abilist:
31127 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libresolv.abilist:
31129 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/librt.abilist:
31131 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libthread_db.abilist:
31133 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libutil.abilist:
31135 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: New
31137 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
31139 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
31141 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: New
31143 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
31145 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
31147 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: New
31149 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
31151 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
31153 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
31155 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
31157 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
31159 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
31161 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: New file.
31162 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: New
31164 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
31166 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: New
31168 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: New
31170 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: New
31172 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: New
31174 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: New
31176 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
31178 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: New
31180 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: New
31182 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
31184 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: New
31186 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: New file.
31187 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist: New
31189 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
31191 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: New
31193 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: New
31195 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: New
31197 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: New
31199 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: New
31201 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
31203 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist: New
31205 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: New
31207 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
31209 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: New
31211 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
31212 * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: New file.
31213 * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: New
31215 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: New file.
31216 * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: New file.
31217 * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: New file.
31218 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: New file.
31219 * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: New file.
31220 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: New file.
31221 * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: New file.
31222 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: New file.
31223 * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: New file.
31224 * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: New file.
31225 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: New file.
31226 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: New
31228 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
31230 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: New
31232 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist: New
31234 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: New
31236 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: New
31238 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: New
31240 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
31242 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
31244 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: New
31246 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
31248 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: New
31250 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: New file.
31251 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: New
31253 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
31255 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: New
31257 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist: New
31259 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: New
31261 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: New
31263 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: New
31265 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
31267 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
31269 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: New
31271 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
31273 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: New
31276 2012-04-28 Joseph Myers <joseph@codesourcery.com>
31278 * conform/conformtest.pl: Fix typo in handling typed-constant from
31281 2012-04-27 Joseph Myers <joseph@codesourcery.com>
31283 * README: Cut down references to pre-2.6 Linux kernels and
31284 Linuxthreads. Update lists of configurations in libc and ports
31285 and sort alphabetically. Say "or newer" with Linux kernel version
31288 * config.h.in [IS_IN_build]: Allow compiling without optimization.
31290 2012-04-27 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
31293 * math/libm-test.inc (logb_test_downward): New test to expose
31294 erroneous negative sign on -0.0 result of logb[l](1) in FE_DOWNWARD
31297 2012-04-27 Joseph Myers <joseph@codesourcery.com>
31300 * math/fclrexcpt.c (__feclearexcept): Return zero if nothing needs
31302 * math/fraiseexcpt.c (__feraiseexcept): Likewise.
31303 * math/fsetexcptflg.c (__fesetexceptflag): Likewise.
31305 2012-04-26 Joseph Myers <joseph@codesourcery.com>
31307 * sysdeps/unix/i386/brk.S: Remove file.
31308 * sysdeps/unix/i386/dl-brk.S: Likewise.
31309 * sysdeps/unix/i386/pipe.S: Likewise.
31310 * sysdeps/unix/i386/sigreturn.S: Likewise.
31311 * sysdeps/unix/i386/syscall.S: Likewise.
31312 * sysdeps/unix/i386/vfork.S: Likewise.
31313 * sysdeps/unix/i386/wait.S: Likewise.
31315 * sysdeps/unix/common/tcsendbrk.c: Move to ...
31316 * sysdeps/unix/sysv/linux/tcsendbrk.c: ... here.
31318 * configure.in (arm*-none*): Do not allow without
31319 --enable-hacker-mode.
31320 (netbsd*): Remove case setting base_os.
31321 (386bsd*): Likewise.
31322 (freebsd*): Likewise.
31325 (sunos*): Likewise.
31326 (ultrix*): Likewise.
31327 (newsos*): Likewise.
31328 (dynix*): Likewise.
31334 (minix*): Likewise.
31335 (irix4*): Likewise.
31336 (irix6*): Likewise.
31337 (solaris[2-9]*): Likewise.
31339 * configure: Regenerated.
31341 2012-04-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
31344 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c (__ctanhl): Avoid internal
31345 overflow or cancellation in calculating denominator.
31346 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c (__ctanl): Likewise.
31347 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Breaking
31348 down expression to avoid unexpected rounding in newer GCCs.
31349 * sysdeps/powerpc/fpu/libm-test-ulps: Update for ctan, ctanh fix.
31351 2012-04-26 David S. Miller <davem@davemloft.net>
31353 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Generate
31354 long-double compat symbols.
31355 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
31356 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
31357 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
31358 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: Likewise.
31359 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
31360 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Likewise.
31361 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: Likewise.
31362 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: Likewise.
31363 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: Likewise.
31364 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
31365 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: Likewise.
31366 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: Likewise.
31367 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
31369 2012-04-25 David S. Miller <davem@davemloft.net>
31371 * sysdeps/sparc/sparc32/bits/atomic.h: Include sysdep.h to get
31372 HWCAP_* values only after the memory barriers have been defined.
31373 (atomic_full_barrier): Define.
31374 (atomic_read_barrier): Define.
31375 (atomic_write_barrier): Define.
31377 2012-04-26 Siddhesh Poyarekar <siddhesh@redhat.com>
31379 * shlib-versions: Add libgcc_s version information.
31380 * sysdeps/generic/libgcc_s.h: Remove.
31381 * sysdeps/generic/framestate.c: Include gnu/lib-names.h instead of
31383 * sysdeps/gnu/unwind-resume.c: Likewise.
31384 * scripts/test-installation.pl: Remove libgcc_s from link_libs.
31386 2012-04-25 David S. Miller <davem@davemloft.net>
31388 * sysdeps/unix/sparc/brk.S: Delete.
31389 * sysdeps/unix/sparc/dl-brk.S: Delete.
31390 * sysdeps/unix/sparc/pipe.S: Delete.
31391 * sysdeps/unix/sparc/sysdep.S: Delete.
31392 * sysdeps/unix/sparc/sysdep.h: Delete.
31393 * sysdeps/unix/sparc/vfork.S: Delete.
31394 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK, SPARC_PIC_REG)
31395 (SPARC_PIC_REG_LEAF, ENTRY, END, LOC): Define.
31396 * sysdeps/unix/sysv/linux/sparc/sysdep.h (ret, ret_NOERRNO)
31397 (ret_ERRVAL, r0, r1, MOVE): Define.
31398 (JUMPTARGET): Remove.
31399 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Don't include
31400 sysdeps/unix/sparc/sysdep.h
31401 (ENTRY, END): Remove.
31402 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
31404 2012-04-25 Joseph Myers <joseph@codesourcery.com>
31406 * Makerules (native-compile): Use $(BUILD_LDFLAGS).
31407 (ALL_BUILD_CFLAGS): Use $(BUILD_CPPFLAGS) -D_GNU_SOURCE
31410 * timezone/README: Update upstream location and email address for
31412 * timezone/zdump.c: Update from tzcode 2012b.
31413 * timezone/zic.c: Likewise.
31415 * configure.in (libc_cv_as_needed): Remove test.
31416 * configure: Regenerated.
31417 * Makeconfig [$(have-as-needed) != yes] (as-needed): Remove
31418 conditional definition.
31419 [$(have-as-needed) != yes] (no-as-needed): Likewise.
31420 [$(have-as-needed) != yes] (libgcc_eh): Likewise.
31421 * config.make.in (have-as-needed): Remove variable.
31423 2012-04-25 Siddhesh Poyarekar <siddhesh@redhat.com>
31424 Paul Pluzhnikov <ppluzhnikov@google.com>
31426 * elf/dl-minimal.c (__strtoul_internal): Parse hexadecimal and octal
31429 2012-04-25 Chung-Lin Tang <cltang@codesourcery.com>
31431 * sysdeps/sh/memcpy.S: Remove include of endian.h, change
31432 preprocessor endian tests to '#ifdef __BIG_ENDIAN__'.
31433 * sysdeps/sh/strlen.S: Likewise.
31435 2012-04-24 Joseph Myers <joseph@codesourcery.com>
31437 * sysdeps/unix/fork.S: Remove file.
31438 * sysdeps/unix/i386/fork.S: Likewise.
31439 * sysdeps/unix/sparc/fork.S: Likewise.
31441 * sysdeps/unix/system.c: Remove file.
31442 * sysdeps/unix/bsd/bsd4.4/system.c: Likewise.
31444 * sysdeps/unix/getegid.S: Remove file.
31445 * sysdeps/unix/geteuid.S: Likewise.
31447 2012-04-24 Roland McGrath <roland@hack.frob.com>
31449 * scripts/check-localplt.awk: New file.
31450 * elf/Makefile ($(objpfx)check-localplt.out): Use that script instead
31452 * scripts/data/localplt-generic.data: Add a comment.
31454 * sysdeps/mach/hurd/symlink.c: Don't call __mach_port_deallocate on
31455 NODE when __dir_mkfile failed.
31456 * sysdeps/mach/hurd/symlinkat.c: Likewise.
31457 Reported by Ludovic Courtès <ludo@gnu.org>.
31459 2012-04-24 Andreas Jaeger <aj@suse.de>
31461 * Makerules (common-clean): Also remove gen-as-const-headers
31464 2012-04-24 Joseph Myers <joseph@codesourcery.com>
31466 * Makerules (native-compile): Do not change working directory for
31467 build. Use $(OUTPUT_OPTION) in command.
31468 (ALL_BUILD_CFLAGS): Use $(common-objpfx) to find config.h.
31470 2012-04-24 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
31473 * sysdeps/powerpc/powerpc64/fpu/s_floorl.S: Delete file. Use the
31474 sysdeps/ieee754/ldbl-128ibm/s_floorl.c version instead.
31475 * math/libm-test.inc (floor_test): Add more tests.
31476 * sysdeps/powerpc/fpu/libm-test-ulps: Update for pow tests.
31478 2012-04-24 Joseph Myers <joseph@codesourcery.com>
31480 * sysdeps/unix/getdents.c: Remove file.
31481 * sysdeps/unix/sysv/getdents.c: Likewise.
31482 * sysdeps/unix/sysv/syscalls.list (s_getdents): Remove.
31484 * sysdeps/unix/syscalls.list (madvise): Add syscall from
31485 sysdeps/unix/mman/syscalls.list.
31487 (mprotect): Likewise.
31489 (munmap): Likewise.
31490 * sysdeps/unix/bsd/bsd4.4/Implies: Remove.
31491 * sysdeps/unix/mman/syscalls.list: Remove.
31492 * sysdeps/unix/sysv/linux/Implies: Don't include unix/mman.
31494 * configure.in (libc_cv_libgcc_s_suffix): Remove test.
31495 (libc_cv_as_needed): Don't use $libc_cv_libgcc_s_suffix.
31496 * configure: Regenerated.
31497 * Makeconfig [$(have-as-needed) = yes] (libgcc_eh): Don't use
31498 $(libgcc_s_suffix).
31499 * config.make.in (libgcc_s_suffix): Remove variable.
31501 2012-04-23 Joseph Myers <joseph@codesourcery.com>
31503 * sysdeps/unix/sysv/gethostname.c: Move to ...
31504 * sysdeps/posix/gethostname.c: ... here.
31506 * sysdeps/unix/execve.S: Remove file.
31508 * sysdeps/unix/_exit.S: Remove file.
31510 2012-04-23 Andreas Jaeger <aj@suse.de>
31513 * manual/Makefile: Remove make dist support, there's no
31514 need for a stand-alone documentation tar ball.
31515 (TEXI2DVI): Define always, it's not in Makeconfig.
31518 (edition): Removed.
31519 (glibc-doc-$(edition).tar): Removed
31523 (ETAGS): Remove, it's in Makeconfig.
31524 (move-if-change): Remove, it's in Makeconfig.
31526 2012-04-23 Paul Eggert <eggert@cs.ucla.edu>
31529 * stdlib/stdlib.h: Remove warn_unused_result attribute from strtol etc.
31530 (strtod, strtof, strtold, strtol, strtoul, strtoq)
31531 (strtouq, strtoll, strtoull, strtol_l, strtoul_l, strtoll_l, strtoull_l)
31532 (strtod_l, strtof_l, strtold_l): Remove __wur.
31533 It is not necessarily an error to ignore strtol's return value.
31534 One can reliably look at the stored endptr to decide whether
31535 the number had valid syntax.
31537 2012-04-21 Andreas Jaeger <aj@suse.de>
31540 * sysdeps/s390/s390-64/Makefile (distribute): Remove variable.
31542 2012-04-21 Joseph Myers <joseph@codesourcery.com>
31544 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.0): Add sysinfo.
31545 * sysdeps/unix/sysv/Versions: Remove file.
31547 2012-04-21 Markus Trippelsdorf <markus@trippelsdorf.de>
31550 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
31552 2012-04-21 Nick Alcock <nick.alcock@oracle.com>
31555 * sysdeps/unix/sysv/linux/i386/syscalls.list: Omit explicit
31556 version from __vm86.
31558 2012-04-20 Joseph Myers <joseph@codesourcery.com>
31560 * sysdeps/unix/common/lxstat.c: Remove file.
31561 * sysdeps/unix/common/syscalls.list (sys_lstat): Remove.
31563 * sysdeps/unix/sysv/Makefile: Remove file.
31565 * sysdeps/unix/sysv/direct.h: Remove file.
31567 * sysdeps/unix/sysv/bits/dirent.h: Remove file.
31568 * sysdeps/unix/sysv/bits/fcntl.h: Likewise.
31569 * sysdeps/unix/sysv/bits/local_lim.h: Likewise.
31570 * sysdeps/unix/sysv/bits/signum.h: Likewise.
31571 * sysdeps/unix/sysv/bits/stat.h: Likewise.
31572 * sysdeps/unix/sysv/bits/utmp.h: Likewise.
31573 * sysdeps/unix/sysv/bits/utsname.h: Likewise.
31575 * sysdeps/unix/sysv/setrlimit.c: Remove file.
31577 * sysdeps/unix/xmknod.c: Remove file.
31578 * sysdeps/unix/syscalls.list (sys_mknod): Remove.
31580 * sysdeps/unix/sysv/settimeofday.c: Remove file.
31582 * sysdeps/unix/sysv/i386/time.S: Remove file.
31584 * sysdeps/unix/fxstat.c: Remove file.
31585 * sysdeps/unix/xstat.c: Likewise.
31586 * sysdeps/unix/syscalls.list (sys_fstat, sys_stat): Remove.
31588 * sysdeps/unix/sysv/sigaction.c: Remove file.
31590 * sysdeps/unix/sysv/Makefile [termio.h not in sysdep_headers]
31591 (sysdep_headers): Remove variable.
31592 [termio.h not in sysdep_headers] (generated): Likewise.
31593 [termio.h not in sysdep_headers] ($(objpfx)termio.h): Remove rule.
31594 * sysdeps/unix/sysv/sysv_termio.h: Remove file.
31595 * sysdeps/unix/sysv/tcdrain.c: Likewise.
31596 * sysdeps/unix/sysv/tcflow.c: Likewise.
31597 * sysdeps/unix/sysv/tcflush.c: Likewise.
31598 * sysdeps/unix/sysv/tcgetattr.c: Likewise.
31599 * sysdeps/unix/sysv/tcgetpgrp.c: Likewise.
31600 * sysdeps/unix/sysv/tcsendbrk.c: Likewise.
31601 * sysdeps/unix/sysv/tcsetattr.c: Likewise.
31602 * sysdeps/unix/sysv/tcsetpgrp.c: Likewise.
31604 * sysdeps/unix/siglist.c: Remove file.
31606 * sysdeps/unix/getppid.S: Remove file.
31608 * sysdeps/unix/mkdir.c: Remove file.
31609 * sysdeps/unix/rmdir.c: Likewise.
31611 2012-04-19 Andreas Schwab <schwab@linux-m68k.org>
31613 * sysdeps/gnu/errlist-compat.awk (END): Correct computation of
31615 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.12): Adjust
31616 errlist-compat value.
31618 2012-04-18 David S. Miller <davem@davemloft.net>
31620 * sysdeps/generic/memcopy.h (reg_char): Delete.
31621 * debug/strcat_chk.c: Use char, not reg_char.
31622 * debug/strcpy_chk.c: Likewise.
31623 * debug/strncat_chk.c: Likewise.
31624 * debug/strncpy_chk.c: Likewise.
31625 * string/memchr.c: Likewise.
31626 * string/memrchr.c: Likewise.
31627 * string/rawmemchr.c: Likewise.
31628 * string/strcat.c: Likewise.
31629 * string/strchr.c: Likewise.
31630 * string/strchrnul.c: Likewise.
31631 * string/strcmp.c: Likewise.
31632 * string/strcpy.c: Likewise.
31633 * string/strncat.c: Likewise.
31634 * string/strncmp.c: Likewise.
31635 * string/strncpy.c: Likewise.
31637 2012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
31639 * sysdeps/powerpc/memmove.c: New file based on string/memmove.c where
31640 __builtin_memcopy is called when src and dest ranges are known to not
31643 2012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
31645 * sysdeps/powerpc/powerpc64/power6/wordcopy.c
31646 (_wordcopy_fwd_dest_aligned): Replace switch with a parameterized
31647 fwd_align_merge macro call.
31648 (_wordcopy_bwd_dest_aligned): Replace switch with a parameterized
31649 bwd_align_merge macro call.
31650 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
31652 2012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
31654 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Add fwd_align_merge and
31655 bwd_align_merge macros.
31656 (_wordcopy_fwd_dest_aligned): Use fwd_align_merge macro calls.
31657 (_wordcopy_bwd_dest_aligned): Use bwd_align_merge macro calls.
31658 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
31660 2012-04-18 David S. Miller <davem@davemloft.net>
31662 * sysdeps/sparc/sparc64/memcopy.h: Delete.
31664 2012-04-18 Andreas Jaeger <aj@suse.de>
31667 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Moved to ...
31668 * sysdeps/ieee754/ldbl-96/e_ilogbl.c: ... here.
31669 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
31671 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Moved to ...
31672 * sysdeps/ieee754/ldbl-128/e_ilogbl.c: ... here.
31673 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
31675 * sysdeps/ieee754/ldbl-64-128/s_ilogbl.c: Moved to ...
31676 * sysdeps/ieee754/ldbl-64-128/e_ilogbl.c: ... here.
31677 Adjust for changed ldbl-128 files.
31679 * sysdeps/sparc/sparc64/soft-fp/s_ilogbl.c: Moved to ...
31680 * sysdeps/sparc/sparc64/soft-fp/e_ilogbl.c: ... here.
31681 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
31683 2012-04-17 David S. Miller <davem@davemloft.net>
31685 * sysdeps/sparc/sparc32/memcopy.h: Delete.
31687 2012-04-17 Andreas Schwab <schwab@linux-m68k.org>
31689 * sysdeps/i386/fpu/e_ilogb.S: Remove __ilogb*_finite alias.
31690 * sysdeps/i386/fpu/e_ilogbf.S: Likewise.
31691 * sysdeps/i386/fpu/e_ilogbl.S: Likewise.
31692 * sysdeps/x86_64/fpu/e_ilogbl.S: Likewise.
31693 * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
31694 * sysdeps/ieee754/flt-32/e_ilogbf.c: Likewise.
31696 2012-04-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
31699 * math/Makefile: Add e_ilogb and w_ilogb, remove s_logb.
31700 * math/libm-test.inc: Add ilogb errno and exception tests.
31701 * math/w_ilogb.c: New file: ilogb wrapper.
31702 * math/w_ilogbf.c: New file: ilogbf wrapper.
31703 * math/w_ilogbl.c: New file: ilogbl wrapper.
31704 * sysdeps/generic/math_private.h: Add __ieee754_ilogb[l|f] prototypes.
31705 * sysdeps/i386/fpu/s_ilogb.S: Moved to ...
31706 * sysdeps/i386/fpu/e_ilogb.S: ... here. Also fixed a FE_DIVBYZERO
31707 exception being thrown with 0.0 as argument.
31708 * sysdeps/i386/fpu/s_ilogbf.S: Moved to ...
31709 * sysdeps/i386/fpu/e_ilogbf.S: ... here. Also fixed a FE_DIVBYZERO
31710 exception being thrown with 0.0 as argument.
31711 * sysdeps/i386/fpu/s_ilogbl.S: Moved to ...
31712 * sysdeps/i386/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
31713 exception being thrown with 0.0 as argument.
31714 * sysdeps/x86_64/fpu/s_ilogbl.S: Moved to ...
31715 * sysdeps/x86_64/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
31716 exception being thrown with 0.0 as argument.
31717 * sysdeps/ieee754/dbl-64/s_ilogb.c: Moved to ...
31718 * sysdeps/ieee754/dbl-64/e_ilogb.c: ... here.
31719 * sysdeps/ieee754/flt-32/s_ilogbf.c: Moved to ...
31720 * sysdeps/ieee754/flt-32/e_ilogbf.c: ... here.
31721 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Moved to ...
31722 * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c: ... here.
31723 * sysdeps/ieee754/ldbl-opt/s_ilogb.c: Moved to ...
31724 * sysdeps/ieee754/ldbl-opt/w_ilogb.c: ... here.
31725 * sysdeps/ieee754/ldbl-opt/w_ilogbl.c: New file: ilogbl wrapper.
31727 2012-04-17 Petr Baudis <pasky@ucw.cz>
31729 * include/sys/uio.h: Change __vector to __iovec to avoid clash
31732 2012-04-16 Marek Polacek <polacek@redhat.com>
31734 * elf/pldd-xx.c: Rename static_assert to pldd_assert.
31736 2012-04-16 Marek Polacek <polacek@redhat.com>
31738 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Reverse the
31739 operands of fdivp instruction.
31741 2012-04-13 H.J. Lu <hongjiu.lu@intel.com>
31743 * elf/tst-auditmod1.c: Check __ILP32__ instead of __LP64__.
31744 * elf/tst-auditmod3b.c: Likewise.
31745 * elf/tst-auditmod4b.c: Likewise.
31746 * elf/tst-auditmod5b.c: Likewise.
31747 * elf/tst-auditmod6b.c: Likewise.
31748 * elf/tst-auditmod6c.c: Likewise.
31749 * elf/tst-auditmod7b.c: Likewise.
31750 * sysdeps/x86_64/ffsll.c (ffsl): Likewise.
31751 * sysdeps/x86_64/preconfigure.in: Likewise.
31752 * sysdeps/x86_64/preconfigure: Regenerated.
31754 2012-04-13 H.J. Lu <hongjiu.lu@intel.com>
31756 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE): Also check
31759 2012-04-13 Antoine Balestrat <merkil33@gmail.com>
31761 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
31762 (__get_clockfreq_via_proc_openprom): Fix test on wrong variable.
31764 2012-04-13 Chris Leonard <cjlhomeaddress@gmail.com>
31767 * locale/iso-639.def: Fix gl language name. Spotted by
31770 2012-04-12 Roland McGrath <roland@hack.frob.com>
31773 * libio/libio.h (__io_write_fn): Update comment.
31775 2012-04-12 Petr Baudis <pasky@ucw.cz>
31778 * stdio.texi (Hook Functions): The user provided writer function
31779 is not allowed to return -1.
31781 2012-04-11 David S. Miller <davem@davemloft.net>
31783 * sysdeps/sparc/fpu/libm-test-ulps: Update.
31785 2012-04-11 Mike Frysinger <vapier@gentoo.org>
31787 * .gitignore: Add /ports, /linuxthreads, and /linuxthreads_db.
31788 Add a leading slash to rtkaio.
31790 2012-04-11 Jim Meyering <meyering@redhat.com>
31793 * libio/stdio.h (fwrite, fwrite_unlocked): Remove __wur.
31794 It is not necessarily an error to ignore fwrite's return
31795 value. One can reliably use ferror to test for errors after
31798 2012-04-10 H.J. Lu <hongjiu.lu@intel.com>
31800 * bits/types.h (__snseconds_t): New type.
31801 * time/time.h (struct timespec): Use __snseconds_t on tv_nsec.
31803 * bits/typesizes.h (__SNSECONDS_T_TYPE): New macro.
31804 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
31805 (__SNSECONDS_T_TYPE): Likewise.
31806 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
31807 (__SNSECONDS_T_TYPE): Likewise.
31808 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
31809 (__SNSECONDS_T_TYPE): Likewise.
31811 2012-04-10 Andreas Jaeger <aj@suse.de>
31814 * manual/time.texi (Processor Time): Return type of times is
31815 elapsed real time since an arbitrary point in the past.
31816 (CPU Time): Move CLK_TCK from here...
31817 (Processor Time): ...to here. Correct description.
31818 * manual/conf.texi (Constants for Sysconf): Correct description of
31821 2012-04-10 David S. Miller <davem@davemloft.net>
31824 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Handle the case
31825 where the is a gap between DT_REL(A) and DT_JMPREL.
31827 2012-04-10 H.J. Lu <hongjiu.lu@intel.com>
31829 * sysdeps/x86_64/bits/byteswap.h: Include <features.h>.
31830 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
31831 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
31833 2012-04-10 Siddhesh Poyarekar <siddhesh@redhat.com>
31835 * elf/dl-support.c (_dl_inhibit_cache): New variable.
31836 * elf/rtld.c (_rtld_global_ro): New member _dl_inhibit_cache.
31837 (dl_main): Handle --inhibit-cache.
31838 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): New member
31840 * elf/dl-load.c (_dl_map_object): Use it.
31841 * elf/Makefile: Define SYSCONFDIR when building rtld.c.
31843 2012-04-09 Joseph Myers <joseph@codesourcery.com>
31846 * sysdeps/i386/fpu/e_powl.S (p78): New object.
31847 (__ieee754_powl): Saturate large exponents rather than testing for
31848 overflow of y*log2(x).
31849 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
31850 * math/libm-test.inc (pow_test): Do not permit spurious overflow
31854 * math/s_ctan.c: Include <float.h>.
31855 (__ctan): Avoid internal overflow or cancellation in calculating
31857 * math/s_ctanf.c: Likewise.
31858 * math/s_ctanl.c: Likewise.
31859 * math/s_ctanh.c: Likewise.
31860 * math/s_ctanhf.c: Likewise.
31861 * math/s_ctanhl.c: Likewise.
31862 * math/libm-test.inc (ctan_test): Add more tests.
31863 (ctanh_test): Likewise.
31864 * sysdeps/i386/fpu/libm-test-ulps: Update.
31865 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
31867 2012-04-09 Andreas Jaeger <aj@suse.de>
31870 * manual/filesys.texi (Directory Entries): Mention that d_namlen
31871 is an optional BSD extension.
31874 * manual/stdio.texi (Opening Streams): Document additional fopen
31877 2012-04-09 Roland McGrath <roland@hack.frob.com>
31879 * sysdeps/i386/fpu/bits/mathinline.h (__sincos_code): Don't clobber
31880 %eax without telling the compiler.
31882 2012-04-09 Carlos O'Donell <carlos_odonell@mentor.com>
31885 * manual/install.texi: Use sourceware.org.
31887 2012-04-09 Joseph Myers <joseph@codesourcery.com>
31890 * sysdeps/ieee754/dbl-64/e_pow.c (huge, tiny): New variables.
31891 (__ieee754_pow): Generate overflow and underflow using huge*huge
31892 and tiny*tiny rather than just returning constant infinity or zero
31893 for large exponents.
31894 * math/libm-test.inc (pow_test): Require overflow exceptions for
31895 applicable cases of large exponents.
31898 * sysdeps/i386/fpu/e_pow.S (p10): New object.
31899 (__ieee754_pow): Use iterative multiplication algorithm only for
31900 integer exponents with absolute value below 1024. Check for odd
31901 integer exponents when using algorithm for real exponents.
31902 * math/libm-test.inc (pow_test): Add more tests.
31903 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
31905 2012-04-08 Joseph Myers <joseph@codesourcery.com>
31908 * math/libm-test.inc (exp_test): Do not allow overflow exception
31911 2012-04-08 Aurelien Jarno <aurelien@aurel32.net>
31914 * sysdeps/ieee754/dbl-64/w_exp.c (__exp): Use __kernel_standard
31915 instead of __kernel_standard_f.
31917 2012-04-08 Mike Frysinger <vapier@gentoo.org>
31919 * sysdeps/i386/i686/memset_chk.S: Update copyright year.
31920 * sysdeps/x86_64/memset_chk.S: Likewise.
31922 2012-04-08 Andreas Jaeger <aj@suse.de>
31925 * manual/startup.texi (Environment Access): Describe return value
31926 for putenv and setenv.
31929 * manual/filesys.texi (Directory Entries): Add description for
31933 * manual/filesys.texi (Directory Entries): Clarify that it's file
31934 system not operating system in the description of DT_UNKNOWN.
31937 * manual/syslog.texi (closelog): Fix reference, it's openlog.
31939 2012-04-08 Stephen Compall <s11@member.fsf.org>
31942 * manual/llio.texi (Opening and Closing Files): Add cross
31943 reference to explain mode argument.
31945 2012-04-07 Mike Frysinger <vapier@gentoo.org>
31947 * sysdeps/i386/i686/memset_chk.S: Change PIC to SHARED.
31948 * sysdeps/x86_64/memset_chk.S: Likewise.
31950 2012-04-07 David S. Miller <davem@davemloft.net>
31952 * elf/elf.h (R_SPARC_WDISP10): Define.
31953 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Handle
31955 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Handle
31956 R_SPARC_SIZE64 and R_SPARC_H34.
31958 2012-04-07 Carlos O'Donell <carlos_odonell@mentor.com>
31960 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Simplify
31961 conditions and remove no longer applicable assertion.
31963 2012-04-06 H.J. Lu <hongjiu.lu@intel.com>
31965 * bits/byteswap.h: Include <features.h>.
31966 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
31967 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
31969 2012-04-06 H.J. Lu <hongjiu.lu@intel.com>
31971 * bits/byteswap.h (__bswap_16): Removed.
31972 Include <bits/byteswap-16.h> to get __bswap_16.
31973 * sysdeps/i386/bits/byteswap.h: Likewise.
31974 * sysdeps/s390/bits/byteswap.h: Likewise.
31975 * sysdeps/x86_64/bits/byteswap.h: Likewise.
31976 * bits/byteswap-16.h: New file.
31977 * sysdeps/i386/bits/byteswap-16.h: Likewise.
31978 * sysdeps/s390/bits/byteswap-16.h: Likewise.
31979 * sysdeps/x86_64/bits/byteswap-16.h: Likewise.
31980 * string/Makefile (headers): Add bits/byteswap-16.h.
31982 2012-04-06 Paul Pluzhnikov <ppluzhnikov@google.com>
31985 * nss/nsswitch.c (nss_load_library, __nss_lookup_function): Avoid
31987 * nss/Makefile (tests-static, tests): Add tst-nss-static.
31988 * nss/tst-nss-static.c: New.
31990 2012-04-06 Robert Millan <rmh@gnu.org>
31993 * manual/llio.texi (File Position Primitive): lseek
31994 refers to WHENCE when it really means OFFSET.
31996 2012-04-06 Andreas Jaeger <aj@suse.de>
31998 * nss/nss_db/db-initgroups.c: Include <string.h> for strlen and
31999 strncmp declarations.
32001 * abilist/libc.abilist: Add __poll and __ppoll.
32003 2012-04-05 David S. Miller <davem@davemloft.net>
32005 * scripts/check-local-headers.sh: Accept a host triplet in the
32006 path matched by the exclude regexp.
32008 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Reduce down to one
32010 * sysdeps/powerpc/powerpc32/dl-machine.h
32011 (ELF_MACHINE_PLTREL_OVERLAP): Delete.
32012 * sysdeps/s390/s390-32/dl-machine.h
32013 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
32014 * sysdeps/sparc/sparc32/dl-machine.h
32015 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
32016 * sysdeps/sparc/sparc64/dl-machine.h
32017 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
32019 * elf/rtld.c (dl_main): If DL_DEBUG_UNUSED is enabled, turn off
32021 * elf/dl-lookup.c (_dl_lookup_symbol_x): If DL_DEBUG_UNUSED, ignore
32022 undefined symbol errors.
32024 * elf/rtld.c (dl_main): Skip VDSO when checking for unused
32027 2012-04-05 Michael Matz <matz@suse.de>
32030 * sysdeps/x86_64/memset.S: Fix size paramater comparisions.
32032 2012-04-05 Andreas Jaeger <aj@suse.de>
32035 * stdlib/stdlib.h: Don't warn about unused result of mktemp, fix
32038 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
32040 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Fix return value
32041 which ROUND is no valid rounding mode.
32043 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
32045 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Set fpscr register which
32047 * sysdeps/sh/sh4/fpu/ftestexcept.c: Likewise.
32049 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
32051 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Produce
32052 an exception using FPU order intentionally.
32054 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
32056 * sysdeps/sh/sh4/fpu/fedisblxcpt.c: New file.
32057 * sysdeps/sh/sh4/fpu/feenablxcpt.c: New file.
32058 * sysdeps/sh/sh4/fpu/fegetexcept.c: New file.
32059 * sysdeps/sh/sh4/fpu/feupdateenv.c: New file.
32061 2012-04-05 Simon Josefsson <simon@josefsson.org>
32064 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Return ERANGE instead of
32065 EINVAL when BUFLEN is too smal.
32067 2012-04-05 Thomas Schwinge <thomas@codesourcery.com>
32070 * sysdeps/mach/i386/machine-lock.h: Use volatile instead of __volatile.
32071 * sysdeps/mach/powerpc/machine-lock.h: Likewise.
32073 2012-04-03 Andreas Jaeger <aj@suse.de>
32076 * manual/setjmp.texi (System V contexts): Fix sentence.
32079 * sysdeps/i386/bits/byteswap.h [!__GNUC__](__bswap_constant_64):
32080 New macro for this case.
32081 [!__GNUC__] (__bswap_64): New inline function for this case.
32082 * sysdeps/x86_64/bits/byteswap.h: Likewise.
32083 * bits/byteswap.h: Likewise.
32084 * sysdeps/s390/bits/byteswap.h: [!__GNUC__] (__bswap_64): Use
32085 ull, guard with __GLIBC_HAVE_LONG_LONG.
32087 * string/endian.h (htobe64,htole64,be64toh,le64toh): Guard with
32088 __GLIBC_HAVE_LONG_LONG.
32090 * string/byteswap.h (bswap_64): Guard with __GLIBC_HAVE_LONG_LONG.
32091 Include <features.h> for __GLIBC_HAVE_LONG_LONG.
32093 2012-04-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
32096 * iconvdata/tcvn5712-1.c (FROM_LOOP): Test end of input using
32097 inptr and inend, rather than using last_ch.
32099 2012-04-02 David S. Miller <davem@davemloft.net>
32101 With help from Paul Eggert, Carlos O'Donell, and Roland McGrath.
32102 * stdio-common/printf-parse.h (read_int): Change return type to
32103 'int', return -1 on INT_MAX overflow.
32104 * stdio-common/vfprintf.c (vfprintf): Validate width and precision
32105 against overflow of INT_MAX. Set errno to EOVERFLOW when 'done'
32106 overflows INT_MAX. Check for overflow of in-format-string precision
32107 values properly. Use EOVERFLOW rather than ERANGE throughout. Use
32108 SIZE_MAX not INT_MAX for integer overflow test.
32109 * stdio-common/printf-parsemb.c: If read_int signals an overflow,
32110 skip the construct in the format string but do not record anything.
32111 * stdio-common/bug22.c: Adjust to test both width/prevision
32112 INT_MAX overflow as well as total length INT_MAX overflow. Check
32113 explicitly for proper errno values.
32115 2012-04-02 Thomas Schwinge <thomas@codesourcery.com>
32117 * string/test-memcmp.c [! WIDE]: #include <limits.h> for CHAR_MIN,
32119 * string/test-strcmp.c [! WIDE]: Likewise.
32120 * time/tst-mktime2.c: Likewise for INT_MAX.
32121 * string/test-string.h: #include <sys/param.h> for MIN.
32123 * csu/init-first.c (__libc_init_first): Call __ctype_init.
32124 * sysdeps/i386/init-first.c (init): Likewise.
32125 * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Likewise.
32126 * sysdeps/mach/hurd/powerpc/init-first.c (posixland_init): Likewise.
32127 * sysdeps/sh/init-first.c (init): Likewise.
32129 2012-04-01 Ulrich Drepper <drepper@gmail.com>
32131 * po/ru.po: Update from translation team.
32132 * po/vi.po: Likewise.
32134 2012-03-31 Siddhesh Poyarekar <siddhesh@redhat.com>
32136 * resolv/nss_dns/dns-host.c: Merge copyright years.
32138 2012-03-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
32140 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
32141 Optimize memcpy with prefetch if
32142 DATA_CACHE_SIZE_HALF <= len < SHARED_CACHE_SIZE_HALF and
32143 src, dst pointers have unequal 16 byte alignments.
32145 2012-03-30 Siddhesh Poyarekar <siddhesh@redhat.com>
32148 * resolv/nss_dns/dns-host.c (getanswer_r): Also consider ttl
32149 from a CNAME entry and return the minimum ttl for the query.
32150 (gaih_getanswer_slice): Likewise.
32152 2012-03-30 Jeff Law <law@redhat.com>
32154 * crypt/md5-crypt.c (__md5_crypt_r): Avoid unbounded alloca uses
32156 * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
32157 * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
32159 * resolv/nss_dns/dns-host.c: Update copyright year.
32161 2012-03-30 Ulrich Drepper <drepper@gmail.com>
32163 * resolv/res_send.c (send_dg): Use sendmmsg if we have to write two
32164 requests to save a system call. Fix check that all bytes are sent.
32166 * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr): Fix up
32167 comments for sendmmsg.
32169 2012-03-30 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
32172 * iconvdata/tcvn5712-1.c (FROM_LOOP): Fix a bug when converting strings
32173 with only 1 character between 0x0041 and 0x01b0.
32174 * wcsmbs/Makefile (tests): Add tst-mbsnrtowcs.
32175 * wcsmbs/tst-mbsnrtowcs.c: New file.
32177 2012-03-29 David S. Miller <davem@davemloft.net>
32179 * libio/fileops.c (_IO_new_file_xsputn): Don't try to optimize
32180 small copies by hand.
32182 2012-03-28 Siddhesh Poyarekar <siddhesh@redhat.com>
32185 * nis/nss_compat/compat-initgroups.c (getgrent_next_nss)
32186 (_nss_compat_initgroups_dyn): Fall back to malloc/free for large
32189 2012-03-28 David S. Miller <davem@davemloft.net>
32191 * sysdeps/sparc/sparc32/memcpy.S: Implement mempcpy using a stub
32192 that branches into memcpy.
32193 * sysdeps/sparc/sparc64/memcpy.S: Likewise.
32194 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
32195 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
32196 * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
32197 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add mempcpy multiarch
32199 * sysdeps/sparc/sparc64/rtld-memcpy.c: Include generic mempcpy
32200 implementation too.
32201 * sysdeps/sparc/mempcpy.S: New file.
32203 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Provide a hidden def to
32204 the IFUNC routine in the libc case.
32205 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
32207 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memset.c: New file.
32208 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memcpy.c: New file.
32209 * sysdeps/sparc/sparc32/sparcv9/rtld-memset.c: New file.
32210 * sysdeps/sparc/sparc32/sparcv9/rtld-memcpy.c: New file.
32211 * sysdeps/sparc/sparc64/multiarch/rtld-memset.c: New file.
32212 * sysdeps/sparc/sparc64/multiarch/rtld-memcpy.c: New file.
32213 * sysdeps/sparc/sparc64/rtld-memset.c: New file.
32214 * sysdeps/sparc/sparc64/rtld-memcpy.c: New file.
32216 * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Unroll main
32217 loop to 256 bytes instead of 64 bytes and fix test signedness.
32219 * sysdeps/sparc/Makefile: Add -fPIC to ASFLAGS-.os here....
32220 * sysdeps/sparc/sparc32/Makefile: rather than here...
32221 * sysdeps/sparc/sparc64/Makefile: and here.
32223 2012-03-28 Ulrich Drepper <drepper@gmail.com>
32225 * malloc/mallocbug.c: Avoid warnings about unused variables.
32227 2012-02-22 Siddhesh Poyarekar <siddhesh@redhat.com>
32230 * resolv/nss_dns/dns-host.c (gaih_getanswer): Look for errno
32231 in the right place. Discard and retry query if response is
32232 larger than input buffer size.
32234 2012-03-28 Joseph Myers <joseph@codesourcery.com>
32239 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Take absolute value of
32240 x for large integer exponent.
32241 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
32242 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise. Adjust
32243 sign of result as needed afterwards.
32244 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
32245 * sysdeps/ieee754/k_standard.c (__kernel_standard): Handle sign of
32246 result for underflowing pow the same as for overflow.
32247 (__kernel_standard_l): Handle powl overflow and underflow here
32248 rather than calling __kernel_standard.
32249 * math/libm-test.inc (pow_test): Add more tests.
32264 * sysdeps/generic/math_private.h (__kernel_standard_l): Declare.
32265 * sysdeps/ieee754/k_standard.c: Include <float.h>.
32266 (__kernel_standard_l): New function.
32267 * math/w_acoshl.c (__acoshl): Use __kernel_standard_l instead of
32269 * math/w_acosl.c (__acosl): Likewise.
32270 * math/w_asinl.c (__asinl): Likewise.
32271 * math/w_atan2l.c (__atan2l): Likewise.
32272 * math/w_atanhl.c (__atanhl): Likewise.
32273 * math/w_coshl.c (__coshl): Likewise.
32274 * math/w_exp10l.c (__exp10l): Likewise.
32275 * math/w_exp2l.c (__exp2l): Likewise.
32276 * math/w_fmodl.c (__fmodl): Likewise.
32277 * math/w_hypotl.c (__hypotl): Likewise.
32278 * math/w_j0l.c (__j0l, __y0l): Likewise.
32279 * math/w_j1l.c (__j1l, __y1l): Likewise.
32280 * math/w_jnl.c (__jnl, __ynl): Likewise.
32281 * math/w_lgammal.c (__lgammal): Likewise.
32282 * math/w_log10l.c (__log10l): Likewise.
32283 * math/w_log2l.c (__log2l): Likewise.
32284 * math/w_logl.c (__logl): Likewise.
32285 * math/w_powl.c (__powl): Likewise.
32286 * math/w_remainderl.c (__remainderl): Likewise.
32287 * math/w_scalbl.c (sysv_scalbl): Likewise.
32288 * math/w_sinhl.c (__sinhl): Likewise.
32289 * math/w_sqrtl.c (__sqrtl): Likewise.
32290 * math/w_tgammal.c (__tgammal): Likewise.
32291 * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Likewise.
32292 * sysdeps/ieee754/ldbl-96/w_expl.c (__expl): Likewise.
32293 * math/libm-test.inc (acos_test): Add more tests.
32294 (acosh_test): Likewise.
32295 (asin_test): Likewise.
32296 (atanh_test): Likewise.
32297 (exp_test): Likewise.
32298 (exp10_test): Likewise.
32299 (exp2_test): Likewise.
32300 (expm1_test): Likewise.
32301 (lgamma_test): Likewise.
32302 (log_test): Likewise.
32303 (log10_test): Likewise.
32304 (log1p_test): Likewise.
32305 (log2_test): Likewise.
32306 (pow_test): Do not allow some spurious overflow exceptions.
32307 (sqrt_test): Add more tests.
32308 (tgamma_test): Likewise.
32309 (y0_test): Likewise.
32310 (y1_test): Likewise.
32311 (yn_test): Likewise.
32313 2012-03-27 Anton Blanchard <anton@samba.org>
32315 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Define MAP_STACK and
32317 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
32318 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
32319 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
32321 2012-03-27 David S. Miller <davem@davemloft.net>
32323 * conform/Makefile: Run run-conformtest.sh using $(BASH).
32325 * sysdeps/sparc/sparc64/Makefile (ASFLAGS-.os): Move before
32326 have-as-vis3 check.
32328 2012-03-27 Andreas Jaeger <aj@suse.de>
32330 * sysdeps/x86_64/elf/configure.in: Moved to ...
32331 * sysdeps/x86_64/configure.in: ... here.
32332 * sysdeps/x86_64/elf/start.S: Moved to ...
32333 * sysdeps/x86_64/start.S: ... here.
32334 * sysdeps/x86_64/elf/configure: Delete.
32336 * sysdeps/x86_64/configure.in: Merge contents from
32337 sysdeps/i386/configure.in (without i686 check).
32339 * sysdeps/i386/elf/Versions: Merge into ...
32340 * sysdeps/i386/Versions: ... this.
32341 * sysdeps/i386/elf/Versions: Delete file.
32342 * sysdeps/i386/elf/start.S: Moved to ...
32343 * sysdeps/i386/start.S: ...here.
32344 * sysdeps/i386/elf/configure.in: Merge into...
32345 * sysdeps/i386/configure.in: ...here.
32346 * sysdeps/i386/elf/configure.in: Delete file.
32347 * sysdeps/i386/elf/configure: Delete file.
32349 * sysdeps/generic/elf/backtracesyms.c: Moved to ...
32350 * debug/backtracesyms.c: ... here.
32351 * sysdeps/generic/elf/backtracesymsfd.c: Moved to ...
32352 * debug/backtracesymsfd.c: ... here.
32353 * sysdeps/generic/elf/ifunc-sel.h: Moved to ...
32354 * sysdeps/generic/ifunc-sel.h: ... here.
32356 * sysdeps/unix/i386/start.c: Delete file.
32357 * sysdeps/unix/sparc/start.c: Delete file.
32358 * sysdeps/unix/start.c: Delete file.
32360 * sysdeps/sh/elf/configure.in: Moved to ...
32361 * sysdeps/sh/configure.in: ... here.
32362 * sysdeps/sh/elf/start.S: Moved to ...
32363 * sysdeps/sh/start.S: ... here.
32364 * sysdeps/sh/elf/configure: Delete file.
32366 * sysdeps/powerpc/powerpc64/elf/bzero.S: Moved to ...
32367 * sysdeps/powerpc/powerpc64/bzero.S: ... here.
32368 * sysdeps/powerpc/powerpc64/elf/entry.h: Moved to ...
32369 * sysdeps/powerpc/powerpc64/entry.h: ... here.
32370 * sysdeps/powerpc/powerpc64/elf/start.S: Moved to ...
32371 * sysdeps/powerpc/powerpc64/start.S: here.
32372 * sysdeps/powerpc/powerpc64/elf/Makefile: Merge into ...
32373 * sysdeps/powerpc/powerpc64/Makefile: ... this.
32374 * sysdeps/powerpc/powerpc64/elf/configure.in: Merge into ...
32375 * sysdeps/powerpc/powerpc64/configure.in: ... this.
32376 * sysdeps/powerpc/powerpc64/elf/configure: Delete file.
32378 * sysdeps/powerpc/powerpc32/elf/bzero.S: Moved to ...
32379 * sysdeps/powerpc/powerpc32/bzero.S: ... here.
32380 * sysdeps/powerpc/powerpc32/elf/start.S: Moved to ...
32381 * sysdeps/powerpc/powerpc32/start.S: ... here.
32382 * sysdeps/powerpc/powerpc32/elf/configure.in: Merge into ...
32383 * sysdeps/powerpc/powerpc32/configure.in: ... this.
32384 * sysdeps/powerpc/powerpc32/elf/configure: Delete file.
32386 * sysdeps/powerpc/elf/ifunc-sel.h: Moved to ...
32387 * sysdeps/powerpc/ifunc-sel.h: ... here.
32388 * sysdeps/powerpc/elf/rtld-global-offsets.sym: Moved to ...
32389 * sysdeps/powerpc/rtld-global-offsets.sym: ... here.
32391 * sysdeps/sparc/elf/configure.in: Moved to ...
32392 * sysdeps/sparc/configure.in: ... here.
32393 * sysdeps/sparc/elf/configure: Delete file.
32394 * sysdeps/sparc/sparc32/elf/start.S: Moved to ...
32395 * sysdeps/sparc/sparc32/start.S: ... here.
32396 * sysdeps/sparc/sparc64/elf/start.S: Moved to ...
32397 * sysdeps/sparc/sparc64/start.S: ... here.
32398 * sysdeps/sparc/sparc32/elf/Makefile: Merged into ...
32399 * sysdeps/sparc/sparc32/Makefile: ... this.
32400 * sysdeps/sparc/sparc64/elf/Makefile: Merged into ...
32401 * sysdeps/sparc/sparc64/Makefile: ... this.
32403 * sysdeps/s390/s390-32/elf/bsd-_setjmp.S: Moved to ...
32404 * sysdeps/s390/s390-32/bsd-_setjmp.S: ... here.
32405 * sysdeps/s390/s390-32/elf/bsd-setjmp.S: Moved to ...
32406 * sysdeps/s390/s390-32/bsd-setjmp.S: ... here.
32407 * sysdeps/s390/s390-32/elf/setjmp.S: Moved to ...
32408 * sysdeps/s390/s390-32/setjmp.S: ... here.
32409 * sysdeps/s390/s390-32/elf/configure.in: Moved to ...
32410 * sysdeps/s390/s390-32/configure.in: ... here.
32411 * sysdeps/s390/s390-32/elf/configure: Delete file.
32412 * sysdeps/s390/s390-32/elf/start.S: Moved to ...
32413 * sysdeps/s390/s390-32/start.S: ... here.
32415 * sysdeps/s390/s390-64/elf/bsd-_setjmp.S: Moved to ...
32416 * sysdeps/s390/s390-64/bsd-_setjmp.S: ... here.
32417 * sysdeps/s390/s390-64/elf/bsd-setjmp.S: Moved to ...
32418 * sysdeps/s390/s390-64/bsd-setjmp.S: ... here.
32419 * sysdeps/s390/s390-64/elf/setjmp.S: Moved to ...
32420 * sysdeps/s390/s390-64/setjmp.S: ... here.
32421 * sysdeps/s390/s390-64/elf/configure.in: Moved to ...
32422 * sysdeps/s390/s390-64/configure.in: ... here
32423 * sysdeps/s390/s390-64/elf/configure: Delete file.
32424 * sysdeps/s390/s390-64/elf/start.S: Moved to ...
32425 * sysdeps/s390/s390-64/start.S: ... here.
32426 * sysdeps/s390/s390-64/elf/configure: Delete.
32428 * configure.in: Remove support for elf directories in sysdeps.
32430 * configure: Regenerated.
32431 * sysdeps/i386/configure: Regenerated.
32432 * sysdeps/powerpc/powerpc32/configure: Regenerated.
32433 * sysdeps/powerpc/powerpc64/configure: Regenerated.
32434 * sysdeps/s390/s390-32/configure: Regenerated.
32435 * sysdeps/s390/s390-64/configure: Regenerated.
32436 * sysdeps/sh/configure: Regenerated.
32437 * sysdeps/sparc/configure: Regenerated.
32438 * sysdeps/x86_64/configure: Regenerated.
32440 2012-03-26 Andreas Schwab <schwab@linux-m68k.org>
32442 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
32444 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (lomark): Adjust to take
32445 denormal result into account.
32447 2012-03-25 Roland McGrath <roland@hack.frob.com>
32449 * posix/confstr.c (confstr): Lift RESTENVS definition to function scope.
32450 Reported by Allan McRae <allan@archlinux.org>.
32452 2012-03-23 Jeff Law <law@redhat.com>
32454 * nss/getnssent.c (__nss_getent): Fix typo.
32456 2012-03-23 David S. Miller <davem@davemloft.net>
32458 * sysdeps/sparc/fpu/libm-test-ulps: Update.
32460 2012-03-23 H.J. Lu <hongjiu.lu@intel.com>
32462 * sysdeps/x86_64/dl-tlsdesc.h (tlsdesc): Use anonymous union
32463 to pad to uint64_t for each field.
32464 (dl_tls_index): Replace unsigned long with uint64_t.
32466 2012-03-23 Daniel Jacobowitz <dmj@google.com>
32467 Paul Pluzhnikov <ppluzhnikov@google.com>
32470 * grp/Makefile (otherlibs): Don't set it.
32471 * inet/Makefile (otherlibs): Likewise.
32472 * login/Makefile (otherlibs): Likewise.
32473 * nscd/Makefile (otherlibs): Likewise.
32474 * posix/Makefile (otherlibs): Likewise.
32475 * pwd/Makefile (otherlibs): Likewise.
32476 * rt/Makefile (otherlibs): Likewise.
32477 * sunrpc/Makefile (otherlibs): Likewise.
32478 * nss/Makefile (otherlibs): Likewise.
32479 Add libnss_files to routines and static-only-routines.
32480 ($(objpfx)getent): Remove rule.
32481 * resolv/Makefile: Add libnss_dns and libresolv to routines and
32482 static-only-routines.
32484 2012-03-22 Joseph Myers <joseph@codesourcery.com>
32487 * math/s_cexp.c: Include <float.h>.
32488 (__cexp): Handle exp result overflowing not necessarily
32489 overflowing both real and imaginary parts of result.
32490 * math/s_cexpf.c: Likewise.
32491 * math/s_cexpl.c: Likewise.
32492 * math/libm-test.inc (cexp_test): Add more tests.
32493 * sysdeps/i386/fpu/libm-test-ulps: Update.
32494 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
32496 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
32498 * include/link.h (ELFW): New macro.
32499 * sysdeps/x86_64/dl-irel.h: Replace Elf64_XXX with ElfW(XXX).
32500 Replace ELF64_R_TYPE with ELFW(R_TYPE).
32502 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
32504 * sysdeps/x86_64/dl-tls.h (dl_tls_index): Replace unsigned long
32507 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
32509 * sysdeps/generic/ldsodefs.h (struct La_x32_regs): New forward
32511 (struct La_x32_retval): Likewise.
32513 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
32515 * sysdeps/x86_64/preconfigure.in: New file.
32516 * sysdeps/x86_64/preconfigure: New generated file.
32518 2012-03-22 Joseph Myers <joseph@codesourcery.com>
32521 * math/e_exp2l.c: Include <float.h>.
32522 (__ieee754_exp2l): Handle overflow and underflow cases
32523 separately. Only pass fractional part of argument to
32525 * math/libm-test.inc (exp2_test): Add more tests.
32527 * sysdeps/ieee754/ldbl-128/k_cosl.c (__kernel_cosl): Negate y if
32528 negating x to take absolute value.
32529 * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
32531 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
32532 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl):
32534 * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Negate y when
32535 computing low part if x was negated.
32536 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
32538 2012-03-21 H.J. Lu <hongjiu.lu@intel.com>
32540 * elf/tst-auditmod1.c: Support la_x32_gnu_pltenter and
32541 la_x32_gnu_pltexit.
32542 (pltexit): Cast int_retval to ptrdiff_t.
32543 * elf/tst-auditmod3b.c: Likewise.
32544 * elf/tst-auditmod4b.c: Likewise.
32545 * elf/tst-auditmod5b.c: Likewise.
32546 * elf/tst-auditmod6b.c: Likewise.
32547 * elf/tst-auditmod6c.c: Likewise.
32548 * elf/tst-auditmod7b.c: Likewise.
32550 * sysdeps/generic/ldsodefs.h (audit_ifaces): Add x32_gnu_pltenter
32551 and x32_gnu_pltexit.
32553 * sysdeps/x86_64/bits/link.h: Check __x86_64__ instead of
32554 __ELF_NATIVE_CLASS.
32555 (La_x32_regs): New macro.
32556 (La_x32_retval): Likewise.
32557 (la_x32_gnu_pltenter): New function prototype.
32558 (la_x32_gnu_pltexit): Likewise.
32560 2012-03-21 Andreas Schwab <schwab@linux-m68k.org>
32562 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (huge, tiny): Correct
32565 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
32567 * configure.in (libc_cv_cc_nofma): Check for option to disable
32568 generation of FMA instructions.
32569 * configure: Regenerate.
32570 * config.make.in (config-cflags-nofma): Set from libc_cv_cc_nofma.
32571 * sysdeps/ieee754/dbl-64/Makefile: New file.
32572 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
32573 Remove brandred-fma4.
32574 (CFLAGS-brandred-fma4.c): Remove.
32575 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Remove.
32576 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c (__branred): Don't
32578 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c (__branred): Don't
32581 2012-03-21 H.J. Lu <hongjiu.lu@intel.com>
32583 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
32584 LLONG_MAX != LONG_MAX.
32585 (_itoa_word): Use _ITOA_WORD_TYPE on value.
32586 (_fitoa_word): Likewise.
32587 * stdio-common/_itowa.c: Check _ITOA_NEEDED instead of
32588 LLONG_MAX != LONG_MAX.
32589 * stdio-common/_itowa.h: Include <_itoa.h>.
32590 (_itowa_word): Use _ITOA_WORD_TYPE on value.
32591 (_itowa): New macro. Defined only if _ITOA_NEEDED is false.
32592 * sysdeps/generic/_itoa.h (_ITOA_NEEDED): New macro. Defined
32593 only if not defined.
32594 (_ITOA_WORD_TYPE): Likewise.
32595 (_itoa_word): Use _ITOA_WORD_TYPE on value.
32596 Check !_ITOA_NEEDED instead of LONG_MAX == LLONG_MAX.
32598 2012-03-21 David S. Miller <davem@davemloft.net>
32600 * sysdeps/sparc/fpu/libm-test-ulps: Update.
32602 2012-03-21 H.J. Lu <hongjiu.lu@intel.com>
32604 * sysdeps/unix/sysv/linux/configure.in: Check x86_64* instead
32605 of x86_64 when setting libc_cv_slibdir, libdir and
32607 * sysdeps/unix/sysv/linux/configure: Regenerated.
32609 2012-03-21 Joseph Myers <joseph@codesourcery.com>
32611 * manual/lang.texi (Old Varargs): Remove section.
32612 (How Variadic): Update menu.
32613 (va_start): Do not mention varargs.h.
32615 2012-03-21 Thomas Schwinge <thomas@codesourcery.com>
32616 Joseph Myers <joseph@codesourcery.com>
32618 * configure.in (libc_cv_ssp): Use LIBC_TRY_CC_OPTION instead of a
32620 * configure: Regenerated.
32622 2012-03-21 Thomas Schwinge <thomas@codesourcery.com>
32624 * conform/conformtest.pl: Handle --tmpdir argument, defaulting to /tmp.
32625 * conform/run-conformtest.sh: Pass --tmpdir argument when invoking
32628 2012-03-21 Joseph Myers <joseph@codesourcery.com>
32631 * Makefile (files-for-dist): Remove NOTES.
32632 (NOTES): Remove rule.
32633 * README: Don't refer to NOTES.
32634 * manual/creature.texi: Don't include macros.texi.
32635 * manual/intro.texi (creature.texi): Remove comment referring to
32638 * aclocal.m4 (LIBC_TRY_CC_OPTION): New macro.
32639 * configure.in (libc_cv_cc_submachine): Use LIBC_TRY_CC_OPTION.
32640 * configure: Regenerated.
32641 * sysdeps/i386/configure.in (libc_cv_cc_sse4): Use
32642 LIBC_TRY_CC_OPTION.
32643 (libc_cv_as_i686): Likewise.
32644 (libc_cv_cc_avx): Likewise.
32645 (libc_cv_cc_sse2avx): Likewise.
32646 (libc_cv_cc_fma4): Likewise.
32647 (libc_cv_cc_novzeroupper): Likewise.
32648 * sysdeps/i386/configure: Regenerated.
32651 * sysdeps/i386/fpu/s_cexp.S: Remove.
32652 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
32653 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
32654 * math/libm-test.inc (cexp_test): Add more tests.
32655 * sysdeps/i386/fpu/libm-test-ulps: Update.
32656 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
32658 2012-03-21 Allan McRae <allan@archlinux.org>
32660 * timezone/Makefile: Do not install iso3166.tab and zone.tab
32662 2012-03-21 Joseph Myers <joseph@codesourcery.com>
32665 * math/w_exp2.c: Do not include <float.h>.
32666 (o_threshold, u_threshold): Remove.
32667 (__exp2): Calculate result before checking finiteness and calling
32669 * math/w_exp2f.c: Likewise.
32670 * math/w_exp2l.c: Likewise.
32671 * math/libm-test.inc (exp2_test): Require overflow exception for
32675 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Test for y outside the
32676 range of signed 64-bit integers before using fistpll. Remove
32677 checks for whether integers fit in mantissa bits.
32678 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Test for y outside
32679 the range of signed 32-bit integers before using fistpl. Remove
32680 checks for whether integers fit in mantissa bits.
32681 * sysdeps/i386/fpu/e_powl.S (p64): New object.
32682 (__ieee754_powl): Test for y outside the range of signed 64-bit
32683 integers before using fistpll. Reduce 64-bit values to 63-bit
32685 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Ensure
32686 divide-by-zero is raised for zero to large negative powers.
32687 * sysdeps/x86_64/fpu/e_powl.S (p64): New object.
32688 (__ieee754_powl): Test for y outside the range of signed 64-bit
32689 integers before using fistpll. Reduce 64-bit values to 63-bit
32691 * math/libm-test.inc (pow_test): Add more tests.
32693 2012-03-20 H.J. Lu <hongjiu.lu@intel.com>
32695 * debug/backtracesymsfd.c: Include <_itoa.h> instead of
32696 <stdio-common/_itoa.h>.
32697 * debug/segfault.c: Likewise.
32698 * elf/dl-cache.c: Likewise.
32699 * elf/dl-minimal.c: Likewise.
32700 * elf/dl-misc.c: Likewise.
32701 * elf/dl-sysdep.c: Likewise.
32702 * elf/dl-version.c: Likewise.
32703 * elf/rtld.c: Likewise.
32704 * hurd/hurdsock.c: Likewise.
32705 * hurd/lookup-retry.c: Likewise.
32706 * malloc/malloc.c: Likewise.
32707 * malloc/mtrace.c: Likewise.
32708 * nscd/nscd_getgr_r.c: Likewise.
32709 * nscd/nscd_getpw_r.c: Likewise.
32710 * nscd/nscd_getserv_r.c: Likewise.
32711 * posix/getopt_init.c: Likewise.
32712 * posix/wordexp.c: Likewise.
32713 * stdio-common/_itoa.c: Likewise.
32714 * stdio-common/printf_fphex.c: Likewise.
32715 * stdio-common/vfprintf.c: Likewise.
32716 * string/_strerror.c: Likewise.
32717 * sysdeps/generic/elf/backtracesymsfd.c: Likewise.
32718 * sysdeps/i386/i686/hp-timing.h: Likewise.
32719 * sysdeps/mach/_strerror.c: Likewise.
32720 * sysdeps/mach/hurd/powerpc/register-dump.h: Likewise.
32721 * sysdeps/mach/hurd/sethostid.c: Likewise.
32722 * sysdeps/mach/hurd/xmknodat.c: Likewise.
32723 * sysdeps/mach/xpg-strerror.c: Likewise.
32724 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
32725 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
32726 * sysdeps/powerpc/powerpc32/register-dump.h: Likewise.
32727 * sysdeps/powerpc/powerpc64/dl-machine.c: Likewise.
32728 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
32729 * sysdeps/powerpc/powerpc64/register-dump.h: Likewise.
32730 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
32731 * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
32732 * sysdeps/unix/sysv/linux/fd_to_filename.h: Likewise.
32733 * sysdeps/unix/sysv/linux/futimes.c: Likewise.
32734 * sysdeps/unix/sysv/linux/i386/register-dump.h: Likewise.
32735 * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
32736 * sysdeps/unix/sysv/linux/s390/s390-32/register-dump.h: Likewise.
32737 * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
32738 * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
32739 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Likewise.
32740 * sysdeps/unix/sysv/linux/sparc/sparc32/register-dump.h: Likewise.
32741 * sysdeps/unix/sysv/linux/sparc/sparc64/register-dump.h: Likewise.
32742 * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
32743 * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
32744 * sysdeps/unix/sysv/linux/x86_64/register-dump.h: Likewise.
32746 * stdio-common/_itoa.c: Include <_itoa.h> instead of "_itoa.h".
32748 * stdio-common/_itoa.h: Moved to ...
32749 * sysdeps/generic/_itoa.h: Here.
32751 * stdio-common/_itowa.c: Include <_itowa.h> instead of "_itowa.h".
32753 * stdio-common/printf_fphex.c: Include <_itoa.h> and <_itowa.h>
32754 instead of "_itoa.h" and "_itowa.h".
32755 * stdio-common/vfprintf.: Likewise.
32757 2012-03-20 H.J. Lu <hongjiu.lu@intel.com>
32759 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't include
32761 (__signbitf): Check __x86_64__ instead of __WORDSIZE.
32762 (__signbit): Likwise.
32763 (llrintf): Likwise.
32766 2012-03-20 H.J. Lu <hongjiu.lu@intel.com>
32768 * sysdeps/x86_64/bits/setjmp.h (__jmp_buf): Support x86-64 with
32771 2012-03-20 Joseph Myers <joseph@codesourcery.com>
32773 * math/gen-libm-test.pl (%beautify): Add OVERFLOW_EXCEPTION and
32774 OVERFLOW_EXCEPTION_OK.
32775 * math/libm-test.inc ("Philosophy"): Update comment about
32777 (OVERFLOW_EXCEPTION): Define.
32778 (OVERFLOW_EXCEPTION_OK): Likewise.
32779 (INVALID_EXCEPTION_OK): Renumber.
32780 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
32781 (IGNORE_ZERO_INF_SIGN): Likewise.
32782 (test_exceptions): Handle FE_OVERFLOW.
32783 (exp10_test): Expect overflow exceptions.
32784 (exp2_test): Likewise.
32785 (expm1_test): Likewise.
32786 (nextafter_test): Likewise.
32787 (pow_test): Likewise.
32788 (scalbn_test): Likewise.
32789 (scalbln_test): Likewise.
32791 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
32793 * sysdeps/x86_64/bits/atomic.h
32794 (__arch_c_compare_and_exchange_val_64_acq): Use atomic64_t on
32796 (atomic_exchange_acq): Likewise.
32797 (__arch_exchange_and_add_body): Likewise.
32798 (__arch_add_body): Likewise.
32799 (atomic_add_negative): Likewise.
32800 (atomic_add_zero): Likewise.
32802 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
32804 * sysdeps/x86_64/fpu/bits/fenv.h: Don't include <bits/wordsize.h>.
32805 (fenv_t): Check __x86_64__ instead of __WORDSIZE.
32807 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
32809 * sysdeps/x86_64/bits/mathdef.h: Don't include <bits/wordsize.h>.
32810 Check __x86_64__ instead of __WORDSIZE.
32812 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
32814 * sysdeps/unix/sysv/linux/x86_64/ldd-rewrite.sed: Support x32.
32816 2012-03-19 David S. Miller <davem@davemloft.net>
32818 * sysdeps/sparc/fpu/libm-test-ulps: Update.
32820 * sysdeps/sparc/fpu/fenv_private.h: New file.
32821 * sysdeps/sparc/fpu/math_private.h: Use it.
32822 (libc_feholdexcept, libc_feholdexceptf, libc_feholdexceptl):
32824 (libc_feholdexcept_setround, libc_feholdexcept_setroundf)
32825 (libc_feholdexcept_setroundl): Remove.
32826 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl):
32828 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Remove.
32829 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvf): Remove.
32831 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
32833 * sysdeps/x86_64/fpu/math_private.h (EXTRACT_WORDS64): Use
32834 int64_t instead of long int.
32835 (INSERT_WORDS64): Likwise.
32837 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
32839 * sysdeps/x86_64/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast
32840 _Unwind_GetCFA return to _Unwind_Ptr first.
32842 2012-03-19 Joseph Myers <joseph@codesourcery.com>
32845 * math/s_clog.c: Include <float.h>.
32846 (__clog): Scale large or subnormal inputs.
32847 * math/s_clogf.c: Likewise.
32848 * math/s_clogl.c: Likewise.
32849 * math/s_clog10.c: Include <float.h>.
32850 (M_LOG10_2): Define.
32851 (__clog10): Scale large or subnormal inputs.
32852 * math/s_clog10f.c: Likewise.
32853 * math/s_clog10l.c: Likewise.
32854 * math/libm-test.inc (clog_test): Add more tests.
32855 (clog10_test): Likewise.
32856 * sysdeps/i386/fpu/libm-test-ulps: Update.
32857 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
32860 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Scale large
32862 * math/libm-test.inc (atan2_test): Add another test.
32864 * Makerules (common-objdir-compile): Remove.
32865 * sysdeps/unix/Makefile (config-generated): Do not add
32866 $(unix-generated) to variable.
32867 [generic bits/local_lim.h] (mk-local_lim-CFLAGS): Remove variable.
32868 [generic bits/local_lim.h] ($(common-objpfx)bits/local_lim.h):
32870 [generic bits/local_lim.h] ($(common-objpfx)mk-local_lim):
32872 [generic bits/local_lim.h] (before-compile): Do not append to
32874 [generic bits/local_lim.h] (common-generated): Likewise.
32875 [generic sys/param.h] (before-compile): Do not append to variable.
32876 [generic sys/param.h] ($(common-objpfx)sys/param.h): Remove rule.
32877 [generic sys/param.h] ($(common-objpfx)param.h.c): Likewise.
32878 [generic sys/param.h] ($(common-objpfx)param.h.dep): Likewise.
32879 [generic sys/param.h] ($(common-objpfx)param.h.dep): Do not
32881 [generic sys/param.h] (sys/param.h-includes): Remove variable.
32882 [generic sys/param.h] (sys/param.h-includes): Remove rule.
32883 [generic sys/param.h] ($(addprefix
32884 $(common-objpfx),$(sys/param.h-includes))): Likewise.
32885 [generic sys/param.h] (common-generated): Do not append to
32887 [generic sys/param.h] (sysdep_headers): Likewise.
32888 [generic bits/errno.h] (before-compile): Do not append to
32890 [generic bits/errno.h] ($(common-objpfx)bits/errno.h): Remove
32892 [generic bits/errno.h] ($(common-objpfx)make-errnos): Likewise.
32893 [generic bits/errno.h] ($(common-objpfx)make-errnos.c): Likewise.
32894 [generic bits/errno.h] ($(common-objpfx)errnos): Likewise.
32895 [generic bits/errno.h] (common-generated): Do not append to
32897 [generic bits/ioctls.h] (before-compile): Do not append to
32899 [generic bits/ioctls.h] ($(common-objpfx)bits/ioctls.h): Remove
32901 [generic bits/ioctls.h] (ioctl-includes): Remove variable.
32902 [generic bits/ioctls.h] (make-ioctls-CFLAGS): Likewise.
32903 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls): Remove
32905 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls.c): Likewise.
32906 [generic bits/ioctls.h] (bits_termios.h): Remove variable.
32907 [generic bits/ioctls.h] ($(common-objpfx)ioctls): Remove rule.
32908 [generic bits/ioctls.h] (common-generated): Do not append to
32910 [generic sys/syscall.h] (syscall.h): Remove variable.
32911 [generic sys/syscall.h] ($(common-objpfx)sys/syscall.h): Remove
32913 [generic sys/syscall.h] (before-compile): Do not append to
32915 [generic sys/syscall.h] (common-generated): Likewise.
32916 * sysdeps/unix/errnos-tmpl.c: Remove file.
32917 * sysdeps/unix/errnos.awk: Likewise.
32918 * sysdeps/unix/ioctls-tmpl.c: Likewise.
32919 * sysdeps/unix/ioctls.awk: Likewise.
32920 * sysdeps/unix/mk-local_lim.c: Likewise.
32921 * sysdeps/unix/snarf-ioctls: Likewise.
32923 2012-03-19 Richard Henderson <rth@twiddle.net>
32925 * sysdeps/i386/fpu/fenv_private.h: New file.
32926 * sysdeps/i386/fpu/math_private.h: Use it.
32927 (math_opt_barrier, math_force_eval): Remove.
32928 (libc_feholdexcept_setround_53bit): Remove.
32929 (libc_feupdateenv_53bit): Remove.
32930 * sysdeps/x86_64/fpu/math_private.h: Likewise.
32931 (math_opt_barrier, math_force_eval): Remove.
32932 (libc_feholdexcept): Remove.
32933 (libc_feholdexcept_setround): Remove.
32934 (libc_fetestexcept, libc_fesetenv): Remove.
32935 (libc_feupdateenv_test): Remove.
32936 (libc_feupdateenv, libc_feholdsetround): Remove.
32937 (libc_feresetround): Remove.
32939 * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Avoid the fldenv.
32940 * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
32942 * sysdeps/generic/math_private.h (default_libc_feupdateenv_test): New.
32943 (libc_feupdateenv_test, libc_feupdateenv_testf): New.
32944 (libc_feupdateenv_testl): New.
32945 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv_test): New.
32946 (libc_feupdateenv_testf): New.
32947 (libc_feupdateenv): Use libc_feupdateenv_test.
32948 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use libc_feupdateenv_test.
32949 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Likewise.
32951 * sysdeps/generic/math_private.h (libc_feholdsetround): New.
32952 (libc_feholdsetroundf, libc_feholdsetroundl): New.
32953 (libc_feresetround, libc_feresetroundf, libc_feresetroundl): New.
32954 (libc_feresetround_noex): New.
32955 (libc_feresetround_noexf): New.
32956 (libc_feresetround_noexl): New.
32957 (SET_RESTORE_ROUND, SET_RESTORE_ROUNDF, SET_RESTORE_ROUNDL): New.
32958 (SET_RESTORE_ROUND_NOEX, SET_RESTORE_ROUND_NOEXF): New.
32959 (SET_RESTORE_ROUND_NOEXL, SET_RESTORE_ROUND_53BIT): New.
32960 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use
32962 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
32963 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use SET_RESTORE_ROUND_53BIT.
32965 * sysdeps/ieee754/dbl-64/s_tan.c (__tan): Likewise.
32966 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Use
32967 SET_RESTORE_ROUND_NOEX.
32968 * sysdeps/ieee754/dbl-64/e_exp2f.c (__ieee754_exp2f): Use
32969 SET_RESTORE_ROUND_NOEXF.
32970 * sysdeps/ieee754/flt-32/e_expf.c (__ieee754_expf): Likewise.
32971 * sysdeps/x86_64/fpu/math_private.h (libc_feholdsetround): New.
32972 (libc_feholdsetroundf): New.
32973 (libc_feresetround, libc_feresetroundf): New.
32975 * sysdeps/i386/fpu/math_private.h: Include <fenv.h>, <fpu_control.h>.
32976 (libc_feholdexcept_setround_53bit): Convert from macro to function.
32977 (libc_feupdateenv_53bit): Likewise. Don't force _FPU_EXTENDED.
32979 * sysdeps/generic/math_private.h: Include <fenv.h>.
32980 (default_libc_feholdexcept): New.
32981 (default_libc_feholdexcept_setround): New.
32982 (default_libc_fesetenv, default_libc_feupdateenv): New.
32983 (libc_feholdexcept): Only define if undefined.
32984 (libc_feholdexceptf, libc_feholdexceptl): Likewise.
32985 (libc_feholdexcept_setround, libc_feholdexcept_setroundf): Likewise.
32986 (libc_feholdexcept_setroundl): Likewise.
32987 (libc_feholdexcept_setround_53bit): Likewise.
32988 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl): Likewise.
32989 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Likewise.
32990 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvl): Likewise.
32991 (libc_feupdateenv_53bit): Likewise.
32992 * sysdeps/x86_64/fpu/math_private.h: Include <fenv.h>.
32993 (libc_feholdexcept): Convert from macro to inline function.
32994 (libc_feholdexcept_setround, libc_fetestexcept): Likewise.
32995 (libc_fesetenv, libc_feupdateenv): Likewise.
32997 * sysdeps/generic/math_private.h (GET_HIGH_WORD): Define only if
32998 not previously defined.
32999 (GET_LOW_WORD, EXTRACT_WORDS64, INSERT_WORDS): Likewise.
33000 (INSERT_WORDS64, SET_HIGH_WORD, SET_LOW_WORD): Likewise.
33001 (GET_FLOAT_WORD, SET_FLOAT_WORD): Likewise.
33002 * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: New file.
33003 * sysdeps/ieee754/flt-32/math_private.h: New file.
33004 * sysdeps/x86_64/fpu/math_private.h: Move the include_next of
33005 math_private.h below SET_FLOAT_WORD.
33006 (__isnan, __isinf_ns, __finite): Remove.
33007 (__isnanf, __isinf_nsf, __finitef): Remove.
33009 2012-03-18 Andreas Schwab <schwab@linux-m68k.org>
33011 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
33013 2012-03-17 David S. Miller <davem@davemloft.net>
33016 * sysdeps/unix/sysv/linux/sparc/Versions: Add __getshmlba entry
33019 2012-03-16 David S. Miller <davem@davemloft.net>
33021 * sysdeps/unix/sysv/linux/shmat.c (shmat): Use -1l to avoid
33025 * sysdeps/unix/sysv/linux/shmat.c (shmat): Test for syscall errors
33027 * sysdeps/unix/sysv/linux/sparc/getshmlba.c: New file.
33028 * sysdeps/unix/sysv/linux/sparc/Makefile: Add getshmlba to
33029 sysdep_routines when subdir is sysvipc.
33030 * sysdeps/unix/sysv/linux/sparc/bits/shm.h (SHMLBA): Use new
33031 __getshmlba helper.
33033 * sysdeps/sparc/fpu/libm-test/ulps: Update.
33035 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
33037 * sysdeps/x86_64/ffsll.c (ffsl): Define alias only under
33040 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
33042 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Moved to ...
33043 * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c: This.
33044 (__lround): Renamed to ...
33045 (__llround): This. Replace long int with long long int.
33046 Define lround functions as aliases of llround functions.
33047 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Empty file.
33049 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
33051 * sysdeps/unix/sysv/linux/x86_64/makecontext.c (__makecontext):
33052 Use greg_t on sp. Use unsigned int on idx_uc_link. Cast
33053 adresses to uintptr_t. Replace "long int" and "unsigned long
33054 int" with "greg_t" on va_arg.
33056 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
33058 * sysdeps/generic/ldconfig.h (FLAG_X8664_LIBX32): New macro.
33059 * elf/cache.c (print_entry): Handle FLAG_X8664_LIBX32.
33061 * sysdeps/unix/sysv/linux/i386/readelflib.c (process_elf_file):
33062 Move e_machine check before EI_CLASS check. Handle x32
33063 libraries. Check EM_IA_64 only if SKIP_EM_IA_64 isn't defined.
33064 * sysdeps/unix/sysv/linux/x86_64/readelflib.c: Just define
33065 SKIP_EM_IA_64 and include
33066 <sysdeps/unix/sysv/linux/i386/readelflib.c>.
33068 * sysdeps/unix/sysv/linux/x86_64/dl-cache.h:
33069 Don't include <sysdeps/unix/sysv/linux/sparc/dl-cache.h>.
33070 (add_system_dir): New macro.
33072 * sysdeps/unix/sysv/linux/x86_64/ldconfig.h
33073 (SYSDEP_KNOWN_INTERPRETER_NAMES): Add /libx32/ld-linux-x32.so.2.
33075 2012-03-16 Joseph Myers <joseph@codesourcery.com>
33086 * math/w_j0.c (j0): Don't produce TLOSS errors for POSIX libm.
33088 * math/w_j0f.c (j0f): Likewise.
33090 * math/w_j0l.c (__j0l): Likewise.
33092 * math/w_j1.c (j1): Likewise.
33094 * math/w_j1f.c (j1f): Likewise.
33096 * math/w_j1l.c (__j1l): Likewise.
33098 * math/w_jn.c (jn): Likewise.
33100 * math/w_jnf.c (jnf): Likewise.
33102 * math/w_jnl.c (__jnl): Likewise.
33104 * math/libm-test.inc (j0_test): Add more tests.
33105 (j1_test): Likewise.
33106 (jn_test): Likewise. Add trailing semicolon to existing test.
33107 (y0_test): Likewise.
33108 (y1_test): Likewise.
33109 * sysdeps/i386/fpu/libm-test-ulps: Update.
33110 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
33114 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Use
33115 libc_feholdexcept_setround_53bit and libc_feupdateenv_53bit.
33116 * sysdeps/ieee754/ldbl-96/k_tanl.c: New file.
33117 * sysdeps/ieee754/ldbl-96/s_tanl.c: Include <errno.h>.
33118 (__tanl): Set errno for infinite argument.
33119 * sysdeps/i386/fpu/mptan.c: Remove.
33120 * sysdeps/i386/fpu/s_tan.S: Likewise.
33121 * sysdeps/i386/fpu/s_tanl.S: Likewise.
33122 * sysdeps/x86_64/fpu/k_tanl.c: Likewise.
33123 * sysdeps/x86_64/fpu/s_tanl.S: Likewise.
33124 * math/libm-test.inc (tan_test): Add more tests and enable more
33125 tests for double and long double.
33126 * sysdeps/i386/fpu/libm-test-ulps: Update.
33127 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
33129 2012-03-16 Jan Kratochvil <jan.kratochvil@redhat.com>
33131 * sysdeps/x86_64/elf/start.S: Include <sysdep.h>.
33132 (_start): Add cfi_startproc, cfi_undefined for rip and cfi_endproc.
33134 2012-03-16 Roland McGrath <roland@hack.frob.com>
33136 * aclocal.m4 (LIBC_PRECONFIGURE): New macro.
33137 * configure.in: Use it for both main tree and add-ons.
33138 * configure: Regenerated.
33140 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
33142 * time/offtime.c (__offtime): Use time_t on days, rem, y and yg.
33144 2012-03-16 Joseph Myers <joseph@codesourcery.com>
33146 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Include generator program
33150 * sysdeps/ieee754/ldbl-96/e_rem_pio2l.c: New file.
33151 * sysdeps/ieee754/ldbl-96/k_cosl.c: Likewise.
33152 * sysdeps/ieee754/ldbl-96/k_sinl.c: Likewise.
33153 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Likewise.
33154 * sysdeps/ieee754/ldbl-96/s_cosl.c (__cosl): Correct test for
33156 * sysdeps/ieee754/ldbl-96/s_sinl.c (__sinl): Likewise.
33157 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Handle __FLT_EVAL_METHOD__
33158 != 0 for prec == 2.
33159 * sysdeps/i386/fpu/e_rem_pio2l.c: Remove.
33160 * sysdeps/i386/fpu/k_rem_pio2.c: Likewise.
33161 * sysdeps/i386/fpu/s_cosl.S: Likewise.
33162 * sysdeps/i386/fpu/s_sincosl.S: Likewise.
33163 * sysdeps/i386/fpu/s_sinl.S: Likewise.
33164 * sysdeps/x86_64/fpu/e_rem_pio2l.c: Likewise.
33165 * sysdeps/x86_64/fpu/k_cosl.c: Likewise.
33166 * sysdeps/x86_64/fpu/k_sinl.c: Likewise.
33167 * sysdeps/x86_64/fpu/s_cosl.S: Likewise.
33168 * sysdeps/x86_64/fpu/s_sincosl.S: Likewise.
33169 * sysdeps/x86_64/fpu/s_sinl.S: Likewise.
33170 * math/libm-test.inc (cos_test): Add more tests and enable more
33171 tests for long double.
33172 (sin_test): Likewise.
33173 (sincos_test): Likewise.
33174 * sysdeps/i386/fpu/libm-test-ulps: Update.
33175 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
33177 2012-03-16 David S. Miller <davem@davemloft.net>
33179 * sysdeps/sparc/fpu/math_private.h: New file.
33181 2012-03-15 David S. Miller <davem@davemloft.net>
33183 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma-vis3.S: New
33185 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c: New file.
33186 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf-vis3.S: New
33188 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf.c: New file.
33189 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma-vis3.S: New file.
33190 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma.c: New file.
33191 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf-vis3.S: New file.
33192 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf.c: New file.
33193 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add fma/fmaf
33195 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
33197 * sysdeps/sparc/sparc32/fpu/s_fma.c: New file.
33198 * sysdeps/sparc/sparc64/fpu/s_fma.c: New file.
33200 * sysdeps/sparc/sparc-ifunc.h: New file.
33201 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Use
33203 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
33204 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S:
33206 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S:
33208 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Likewise.
33209 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: Likewise.
33210 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
33211 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
33213 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
33214 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: Likewise.
33215 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
33216 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: Likewise.
33217 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S:
33219 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S:
33221 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
33222 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: Likewise.
33223 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: Likewise.
33224 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: Likewise.
33225 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
33226 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
33227 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: Likewise.
33228 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: Likewise.
33229 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
33230 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
33231 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: Likewise.
33232 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: Likewise.
33233 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: Likewise.
33234 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: Likewise.
33235 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: Likewise.
33236 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: Likewise.
33237 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: Likewise.
33238 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: Likewise.
33239 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: Likewise.
33240 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: Likewise.
33241 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: Likewise.
33242 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: Likewise.
33243 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: Likewise.
33244 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: Likewise.
33246 2012-03-15 Andreas Schwab <schwab@linux-m68k.org>
33248 * sysdeps/powerpc/fpu/e_hypotf.c: Use double precision instead of
33250 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
33252 2012-03-15 Andreas Jaeger <aj@suse.de>
33255 * sysdeps/i386/fpu/e_rem_pio2f.c: Delete so that i386 uses the
33256 ieee754/flt-32 implementation for sin, cos and sincos.
33257 * sysdeps/i386/fpu/k_rem_pio2f.c: Likewise.
33258 * sysdeps/i386/fpu/s_cosf.S: Likewise.
33259 * sysdeps/i386/fpu/s_sincosf.S: Likewise.
33260 * sysdeps/i386/fpu/s_sinf.S: Likewise.
33261 * sysdeps/i386/fpu/s_tanf.S: Delete so that i386 uses the
33262 ieee754/flt-32 implementation for tan.
33264 * math/libm-test.inc (cos_test): Enable some large input tests for
33266 (sin_test): Likewise.
33267 (sincos_test): Likewise.
33268 (tan_test): Add tests for large input.
33270 * sysdeps/i386/fpu/libm-test-ulps: Update.
33272 2012-03-15 Andreas Jaeger <aj@suse.de>
33275 * math/libm-test.inc (cos_test): Add more test cases.
33276 (sin_test): Likewise.
33277 (sincos_test): Likewise.
33279 2012-03-15 Andreas Jaeger <aj@suse.de>
33282 * math/libm-test.inc (cos_test): Add a test case for large input
33284 (sin_test): Likewise.
33285 (sincos_test): Likewise.
33287 2012-03-15 Andreas Jaeger <aj@suse.de>
33288 Joseph Myers <joseph@codesourcery.com>
33291 * sysdeps/x86_64/fpu/s_sincos.S: Delete files so that
33292 x86-64 and i386 use the iee754/dbl-64 sin and cos implementation.
33293 * sysdeps/i386/fpu/branred.c: Likewise.
33294 * sysdeps/i386/fpu/dosincos.c: Likewise.
33295 * sysdeps/i386/fpu/mpa.c: Likewise.
33296 * sysdeps/i386/fpu/s_cos.S: Likewise.
33297 * sysdeps/i386/fpu/s_sin.S: Likewise.
33298 * sysdeps/i386/fpu/s_sincos.S: Likewise.
33299 * sysdeps/i386/fpu/sincos32.c: Likewise.
33301 * sysdeps/generic/math_private.h (libc_feholdexcept_setround_53bit):
33303 (libc_feupdateenv_53bit): Define.
33304 * sysdeps/i386/fpu/math_private.h (libc_feholdexcept_setround_53bit):
33306 (libc_feupdateenv_53bit): Define.
33308 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Do double arithmetic in
33309 53 bit (without extend i386 double precision).
33311 * math/libm-test.inc (sincos_test): Add tests for large input.
33315 * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
33317 2012-03-15 Andreas Schwab <schwab@linux-m68k.org>
33319 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
33321 2012-03-15 David S. Miller <davem@davemloft.net>
33323 * sysdeps/sparc/sparc64/fpu/s_fmax.S: New file.
33324 * sysdeps/sparc/sparc64/fpu/s_fmaxf.S: New file.
33325 * sysdeps/sparc/sparc64/fpu/s_fmin.S: New file.
33326 * sysdeps/sparc/sparc64/fpu/s_fminf.S: New file.
33327 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: New file.
33328 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmaxf.S: New file.
33329 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: New file.
33330 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fminf.S: New file.
33331 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: New file.
33332 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf-vis3.S: New file.
33333 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: New file.
33334 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin-vis3.S: New file.
33335 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: New file.
33336 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf-vis3.S: New file.
33337 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: New file.
33338 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax-vis3.S: New
33340 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: New file.
33341 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf-vis3.S: New
33343 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: New file.
33344 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin-vis3.S: New
33346 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: New file.
33347 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf-vis3.S: New
33349 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: New file.
33350 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new vis3
33351 fmin/fmax sysdep routines.
33352 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
33354 2012-03-14 David S. Miller <davem@davemloft.net>
33356 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: New file.
33357 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: New file.
33358 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: New file.
33359 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: New file.
33360 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite-vis3.S: New file.
33361 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: New file.
33362 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef-vis3.S: New file.
33363 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: New file.
33364 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: New file.
33365 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: New file.
33366 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: New file.
33367 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: New file.
33368 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf-vis3.S: New file.
33369 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: New file.
33370 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff-vis3.S: New file.
33371 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: New file.
33372 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan-vis3.S: New file.
33373 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: New file.
33374 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf-vis3.S: New file.
33375 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: New file.
33376 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint-vis3.S: New file.
33377 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: New file.
33378 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf-vis3.S: New file.
33379 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: New file.
33380 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint-vis3.S: New file.
33381 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: New file.
33382 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf-vis3.S: New file.
33383 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: New file.
33384 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new VIS3
33386 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: New
33388 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: New file.
33389 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S: New
33391 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: New file.
33392 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs-vis3.S: New
33394 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: New file.
33395 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf-vis3.S: New
33397 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: New file.
33398 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: New
33400 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: New file.
33401 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S: New
33403 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S: New
33405 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint-vis3.S: New
33407 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: New
33409 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf-vis3.S:
33411 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S: New
33413 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint-vis3.S: New
33415 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: New file.
33416 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf-vis3.S: New
33418 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: New file.
33419 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt-vis3.S: New
33421 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: New file.
33422 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf-vis3.S: New
33424 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: New file.
33425 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new
33428 * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
33431 * sysdeps/sparc/fpu/libm-test-ulps: Update.
33433 * sysdeps/sparc/configure.in: New file.
33434 * sysdeps/sparc/configure: Generate.
33435 * configure.in (libc_cv_sparc_as_vis3): Substitute.
33436 * configure: Regenerate.
33437 * config.h.in (HAVE_AS_VIS3_SUPPORT): New.
33438 * config.make.in (have-as-vis3): New.
33439 * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-*): If VIS3 is
33440 available use -Av9d instead of -Av9a.
33441 * sysdeps/sparc/sparc64/Makefile: Likewise.
33442 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: New file.
33443 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign-vis3.S:
33445 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S: New
33447 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf-vis3.S:
33449 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S: New
33451 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: New file.
33452 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit-vis3.S: New file.
33453 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: New file.
33454 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf-vis3.S: New file.
33455 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: New file.
33457 * sysdeps/sparc/sparc64/fpu/s_copysign.S (__copysign): Use
33458 fzeros/fnegs to load 0x80000000 into a float register instead of
33460 * sysdeps/sparc/sparc64/fpu/s_copysignf.S (__copysignf): Likewise.
33462 2012-03-14 Joseph Myers <joseph@codesourcery.com>
33464 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
33466 ($(objpfx)syscall-%.h): Rename rule to $(objpfx)bits/syscall%h.
33467 ($(objpfx)syscall-%.d): Rename rule to $(objpfx)bits/syscall%d.
33468 ($(inst_includedir)/bits/syscall.h): Remove rule.
33469 ($(objpfx)bits/syscall.d): Include instead of
33470 $(objpfx)syscall-list.d.
33471 (generated): Change syscall-list.h and syscall-list.d to
33472 bits/syscall.h and bits/syscall.d.
33474 2012-03-14 Roland McGrath <roland@hack.frob.com>
33477 * manual/llio.texi (Memory-mapped I/O): Fix wrong function name.
33479 2012-03-14 Joseph Myers <joseph@codesourcery.com>
33482 * math/s_csqrt.c: Include <float.h>.
33483 (__csqrt): Scale large or subnormal inputs.
33484 * math/s_csqrtf.c: Likewise.
33485 * math/s_csqrtl.c: Likewise.
33486 * math/libm-test.inc (csqrt_test): Add more tests.
33487 * sysdeps/i386/fpu/libm-test-ulps: Update.
33488 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
33491 * math/libm-test.inc (hypot_test): Add more tests.
33493 2012-03-13 David S. Miller <davem@davemloft.net>
33496 * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Rewrite to use
33497 double-precision for the calculation instead of scaling.
33499 2012-03-13 Joseph Myers <joseph@codesourcery.com>
33501 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Do not
33502 manipulate bits before adding and subtracting TWO52[sx].
33503 * sysdeps/ieee754/dbl-64/s_rint.c (__rint): Likewise.
33504 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c (__nearbyint):
33506 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c (__rint): Likewise.
33508 2012-03-13 David S. Miller <davem@davemloft.net>
33510 * sysdeps/sparc/Makefile: Remove rtld-global-offsets.sym handling.
33511 * sysdeps/sparc/elf/rtld-global-offsets.sym: Delete.
33512 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Don't include
33513 rtld-global-offsets.h
33514 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
33516 * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Use expl for
33519 * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c: New file.
33521 * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Declare syscall
33522 'err' in the ifdef scope in which it is actually used.
33524 * nss/nss_db/db-init.c: Include string.h
33526 2012-03-12 David S. Miller <davem@davemloft.net>
33528 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
33529 masking out of the most significant byte of random value used.
33530 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
33531 Fix coding style in previous change.
33533 * sysdeps/unix/sysv/linux/kernel-features.h
33534 (__ASSUME_CLONE_THREAD_FLAGS): Set on sparc when 2.5.64 and later.
33535 (__ASSUME_TGKILL): Set on sparc when 2.6.1 and later, simplify
33537 (__ASSUME_FADVISE64_64_SYSCALL): Set on sparc when 2.6.1 and
33540 2012-03-11 David S. Miller <davem@davemloft.net>
33542 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
33543 (__makecontext): Fix signedness of pointer casts setting up 'sp'.
33544 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL) Use 'long'
33545 for 'resultvar' otherwise things get truncated on 64-bit.
33547 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
33548 Fix masking out of the most significant byte of random value used.
33550 * sysdeps/sparc/fpu/libm-test-ulps: Update.
33552 2012-03-10 Andreas Schwab <schwab@linux-m68k.org>
33554 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
33556 2012-03-09 David S. Miller <davem@davemloft.net>
33558 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Protect local
33559 variables with appropriate CPP guards.
33560 * sysdeps/sparc/sparc32/dl-trampoline.S: Propagate the stack_ptr
33561 from the frame pointer, not the stack pointer. Correct layout
33562 comments. Fix test on resulting framesize and the management of
33563 the outregs buffer for pltexit. Preserve floating point return
33564 values across _dl_call_pltexit call.
33565 * sysdeps/sparc/sparc64/dl-trampoline.S: Fix test on resulting
33566 framesize and the management of the outregs buffer for pltexit.
33567 Preserve floating point return values across _dl_call_pltexit
33569 * elf/sotruss-lib.c (la_sparc32_gnu_pltenter)
33570 (la_sparc64_gnu_pltenter, la_sparc32_gnu_pltexit)
33571 (la_sparc64_gnu_pltexit): New functions.
33572 (print_exit): Fix format string for return register value.
33574 2012-03-10 Joseph Myers <joseph@codesourcery.com>
33576 * sunrpc/Makefile (others): Add rpcgen.
33577 ($(objpfx)rpcgen): Remove special build rule and dependency on
33579 * sunrpc/rpcgen.c: New file.
33581 2012-03-09 Paul Eggert <eggert@cs.ucla.edu>
33584 * posix/bug-regex33.c: Replace FSF snail mail address with URL.
33585 * stdio-common/bug-vfprintf-nargs.c: Likewise.
33586 * sysdeps/i386/crti.S: Likewise.
33587 * sysdeps/i386/crtn.S: Likewise.
33588 * sysdeps/powerpc/powerpc32/crti.S: Likewise.
33589 * sysdeps/powerpc/powerpc32/crtn.S: Likewise.
33590 * sysdeps/powerpc/powerpc64/crti.S: Likewise.
33591 * sysdeps/powerpc/powerpc64/crtn.S: Likewise.
33592 * sysdeps/sh/crti.S: Likewise.
33593 * sysdeps/sh/crtn.S: Likewise.
33594 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
33597 * locale/programs/charmap-kw.gperf: Replace FSF snail mail address
33599 * locale/programs/locfile-kw.gperf: Likewise.
33600 * locale/programs/charmap-kw.h: Regenerated.
33601 * locale/programs/locfile-kw.h: Likewise.
33604 * intl/plural.y: Replace FSF snail mail address with URL.
33605 * intl/plural.c: Regenerated.
33607 2012-03-09 Richard Henderson <rth@twiddle.net>
33609 * include/math_private.h: Remove file.
33610 * math/math_private.h: Move file ...
33611 * sysdeps/generic/math_private.h: ... here.
33613 * sysdeps/i386/fpu/math_private.h: Use include_next for math_private.h.
33614 * sysdeps/powerpc/fpu/math_private.h: Likewise.
33615 * sysdeps/x86_64/fpu/math_private.h: Likewise.
33617 * sysdeps/i386/fpu/s_fpclassifyl.c: Use <> to include both <math.h>
33618 and <math_private.h>.
33619 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
33620 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
33621 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
33622 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
33623 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
33624 * sysdeps/ieee754/dbl-64/branred.c: Likewise.
33625 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
33626 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
33627 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
33628 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
33629 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
33630 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
33631 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
33632 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
33633 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
33634 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
33635 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
33636 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
33637 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
33638 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
33639 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
33640 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
33641 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
33642 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
33643 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
33644 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
33645 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
33646 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
33647 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
33648 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
33649 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
33650 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
33651 * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
33652 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
33653 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
33654 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
33655 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
33656 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
33657 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
33658 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
33659 * sysdeps/ieee754/dbl-64/s_fpclassify.c: Likewise.
33660 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
33661 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
33662 * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
33663 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
33664 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
33665 * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
33666 * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
33667 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
33668 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
33669 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
33670 * sysdeps/ieee754/dbl-64/s_lround.c: Likewise.
33671 * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
33672 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
33673 * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
33674 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
33675 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
33676 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
33677 * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
33678 * sysdeps/ieee754/dbl-64/s_signbit.c: Likewise.
33679 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
33680 * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
33681 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
33682 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
33683 * sysdeps/ieee754/dbl-64/s_trunc.c: Likewise.
33684 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
33685 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
33686 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
33687 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: Likewise.
33688 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: Likewise.
33689 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
33690 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
33691 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
33692 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
33693 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: Likewise.
33694 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Likewise.
33695 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: Likewise.
33696 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
33697 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: Likewise.
33698 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Likewise.
33699 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
33700 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Likewise.
33701 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
33702 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
33703 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
33704 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
33705 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: Likewise.
33706 * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Likewise.
33707 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
33708 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
33709 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
33710 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
33711 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
33712 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
33713 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
33714 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
33715 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
33716 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
33717 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
33718 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
33719 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
33720 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
33721 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
33722 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
33723 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
33724 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
33725 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
33726 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
33727 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
33728 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
33729 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
33730 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
33731 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
33732 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
33733 * sysdeps/ieee754/flt-32/s_cbrtf.c: Likewise.
33734 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
33735 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
33736 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
33737 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
33738 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
33739 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
33740 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
33741 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
33742 * sysdeps/ieee754/flt-32/s_fpclassifyf.c: Likewise.
33743 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
33744 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
33745 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
33746 * sysdeps/ieee754/flt-32/s_isinff.c: Likewise.
33747 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
33748 * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
33749 * sysdeps/ieee754/flt-32/s_llroundf.c: Likewise.
33750 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
33751 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
33752 * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
33753 * sysdeps/ieee754/flt-32/s_lroundf.c: Likewise.
33754 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
33755 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
33756 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
33757 * sysdeps/ieee754/flt-32/s_remquof.c: Likewise.
33758 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
33759 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
33760 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
33761 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
33762 * sysdeps/ieee754/flt-32/s_signbitf.c: Likewise.
33763 * sysdeps/ieee754/flt-32/s_sincosf.c: Likewise.
33764 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
33765 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
33766 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
33767 * sysdeps/ieee754/flt-32/s_truncf.c: Likewise.
33768 * sysdeps/ieee754/k_standard.c: Likewise.
33769 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
33770 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
33771 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
33772 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
33773 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
33774 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
33775 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
33776 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
33777 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
33778 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
33779 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
33780 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
33781 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
33782 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
33783 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
33784 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
33785 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
33786 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
33787 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
33788 * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
33789 * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
33790 * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
33791 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
33792 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
33793 * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
33794 * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
33795 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
33796 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
33797 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
33798 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
33799 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
33800 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
33801 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
33802 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
33803 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
33804 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
33805 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
33806 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: Likewise.
33807 * sysdeps/ieee754/ldbl-128/s_isinfl.c: Likewise.
33808 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
33809 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
33810 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
33811 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
33812 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
33813 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
33814 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
33815 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
33816 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
33817 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
33818 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
33819 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
33820 * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
33821 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
33822 * sysdeps/ieee754/ldbl-128/s_roundl.c: Likewise.
33823 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
33824 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
33825 * sysdeps/ieee754/ldbl-128/s_signbitl.c: Likewise.
33826 * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
33827 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
33828 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
33829 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
33830 * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
33831 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
33832 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
33833 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
33834 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
33835 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
33836 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
33837 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
33838 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
33839 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
33840 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
33841 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
33842 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
33843 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
33844 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
33845 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Likewise.
33846 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
33847 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
33848 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
33849 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
33850 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
33851 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
33852 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
33853 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Likewise.
33854 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
33855 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
33856 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
33857 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
33858 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
33859 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c: Likewise.
33860 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
33861 * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
33862 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
33863 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
33864 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
33865 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: Likewise.
33866 * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
33867 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
33868 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c: Likewise.
33869 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
33870 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
33871 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
33872 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
33873 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c: Likewise.
33874 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
33875 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
33876 * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
33877 * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Likewise.
33878 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
33879 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
33880 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
33881 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
33882 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
33883 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
33884 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
33885 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
33886 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
33887 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
33888 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
33889 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
33890 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
33891 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
33892 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
33893 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
33894 * sysdeps/ieee754/ldbl-96/s_cbrtl.c: Likewise.
33895 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
33896 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
33897 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
33898 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
33899 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
33900 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
33901 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
33902 * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
33903 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
33904 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
33905 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: Likewise.
33906 * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
33907 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
33908 * sysdeps/ieee754/ldbl-96/s_llrintl.c: Likewise.
33909 * sysdeps/ieee754/ldbl-96/s_llroundl.c: Likewise.
33910 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
33911 * sysdeps/ieee754/ldbl-96/s_lrintl.c: Likewise.
33912 * sysdeps/ieee754/ldbl-96/s_lroundl.c: Likewise.
33913 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
33914 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
33915 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
33916 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
33917 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
33918 * sysdeps/ieee754/ldbl-96/s_remquol.c: Likewise.
33919 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
33920 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
33921 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
33922 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
33923 * sysdeps/ieee754/ldbl-96/s_signbitl.c: Likewise.
33924 * sysdeps/ieee754/ldbl-96/s_sincosl.c: Likewise.
33925 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
33926 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
33927 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
33928 * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
33929 * sysdeps/ieee754/s_lib_version.c: Likewise.
33930 * sysdeps/ieee754/s_matherr.c: Likewise.
33931 * sysdeps/ieee754/s_signgam.c: Likewise.
33932 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
33933 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
33934 * sysdeps/powerpc/fpu/e_rem_pio2f.c: Likewise.
33935 * sysdeps/powerpc/fpu/k_cosf.c: Likewise.
33936 * sysdeps/powerpc/fpu/k_rem_pio2f.c: Likewise.
33937 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
33938 * sysdeps/powerpc/fpu/s_cosf.c: Likewise.
33939 * sysdeps/powerpc/fpu/s_float_bitwise.h: Likewise.
33940 * sysdeps/powerpc/fpu/s_isnan.c: Likewise.
33941 * sysdeps/powerpc/fpu/s_rint.c: Likewise.
33942 * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
33943 * sysdeps/powerpc/fpu/s_sinf.c: Likewise.
33944 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
33945 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
33946 * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Likewise.
33947 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
33948 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
33949 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
33950 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
33951 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
33952 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
33954 2012-03-09 Joseph Myers <joseph@codesourcery.com>
33956 * sunrpc/rpc_cout.c: Remove __GNU_LIBRARY__ conditionals.
33957 * sunrpc/rpc_main.c: Likewise.
33958 * sunrpc/rpc_svcout.c: Likewise.
33960 2012-03-09 David S. Miller <davem@davemloft.net>
33962 * include/math_private.h: New file.
33964 2012-03-09 Joseph Myers <joseph@codesourcery.com>
33966 * sysdeps/unix/sysv/linux/bits/socket_type.h: New file.
33967 * sysdeps/unix/sysv/linux/sparc/bits/socket_type.h: Likewise.
33968 * sysdeps/unix/sysv/linux/bits/socket.h: Get enum __socket_type
33969 from <bits/socket_type.h>.
33970 (enum __socket_type): Don't define here.
33971 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Remove.
33972 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
33973 bits/socket_type.h.
33976 * libio/stdio.h (gets): Always declare for C++ up to C++11 without
33977 checking __USE_GNU.
33979 * Makerules ($(inst_includedir)/%.h): New rule.
33980 * stdio-common/Makefile (headers): Add bits/stdio_lim.h.
33981 (install-others): Remove variable setting.
33982 ($(inst_includedir)/bits/stdio_lim.h): Remove rule.
33984 2012-03-08 Richard Henderson <rth@twiddle.net>
33986 * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrt): Convert
33987 from macro to inline function; merge with the
33988 !__LIBC_INTERNAL_MATH_INLINES version.
33989 (__ieee754_sqrtf): Likewise.
33991 * sysdeps/x86_64/fpu/math_private.h (__rint): Convert from macro
33992 to inline function.
33993 (__rintf, __floor, __floorf): Likewise.
33995 * sysdeps/x86_64/fpu/math_private.h (__ieee754_sqrt): Convert from
33996 macro to inline function.
33997 (__ieee754_sqrtf, __ieee754_sqrtl): Likewise.
33999 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Include <math_private.h>,
34000 not <math/math_private.h>.
34002 2012-03-08 David S. Miller <davem@davemloft.net>
34004 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Update
34006 * sysdeps/unix/sysv/linux/sparc/sysdep.h: Likewise.
34008 2012-03-08 Thomas Schwinge <thomas@codesourcery.com>
34010 * resolv/gai_misc.c (handle_requests): Fix struct timespec
34012 * rt/tst-cpuclock2.c (test_nanosleep): Likewise.
34013 * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
34015 2012-03-08 Ulrich Drepper <drepper@gmail.com>
34017 * stdio-common/tst-fphex.c: Various cleanups. The macros cannot
34018 be defined individually, they must be defined as a block. Define
34019 S for printing a string instead of hidint the different by using a
34020 macro for adding the 'l'.
34021 * stdio-common/tst-fphex-wide.c: Adjust.
34023 2012-03-07 Marek Polacek <polacek@redhat.com>
34025 * stdio-common/tst-long-dbl-fphex.c: Fix test for non ldbl-96 targets.
34027 2012-03-08 Marek Polacek <polacek@redhat.com>
34030 * stdio-common/Makefile (tests): Add tst-fphex-wide.
34031 * stdio-common/tst-fphex.c: Define a few macros to make the
34032 test reusable. Use them.
34033 * stdio-common/tst-fphex-wide.c: New file.
34035 2012-03-08 Joseph Myers <joseph@codesourcery.com>
34038 * manual/macros.texi (gnusystems): New macro.
34039 (nongnusystems): Likewise.
34040 (gnulinuxhurdsystems): Likewise.
34041 (gnuhurdsystems): Likewise..
34042 (gnulinuxsystems): Likewise.
34043 * manual/charset.texi: Use new macros or @theglibc{} to refer to
34044 variants of the GNU system, not "GNU system".
34045 * manual/conf.texi: Likewise.
34046 * manual/errno.texi: Likewise. Update example of errno macro
34048 * manual/filesys.texi: Likewise.
34049 (getumask): Document as specific to GNU/Hurd.
34050 * manual/install.texi: Likewise. Reword some references to
34052 * manual/intro.texi: Likewise.
34053 * manual/io.texi: Likewise.
34054 (File Name Portability): Detail which constraints are inapplicable
34055 to all GNU systems and which are only inapplicable to GNU/Hurd.
34056 * manual/job.texi: Likewise.
34057 * manual/llio.texi: Likewise.
34058 (O_NOCTTY): Document as present on GNU/Linux.
34059 * manual/maint.texi: Likewise.
34060 * manual/memory.texi: Likewise.
34061 * manual/pattern.texi: Likewise.
34062 * manual/pipe.texi: Likewise.
34063 * manual/process.texi: Likewise.
34064 * manual/resource.texi: Likewise.
34065 (RUSAGE_CHILDREN): Remove statement about specifying a particular
34067 * manual/setjmp.texi: Likewise.
34068 * manual/signal.texi: Likewise.
34069 * manual/startup.texi: Likewise.
34070 * manual/stdio.texi: Likewise.
34071 * manual/terminal.texi: Likewise.
34072 (ONLCR): Document as POSIX.
34073 (OXTABS): Document availability on GNU/Linux as XTABS.
34074 (ONOEOT): Document availability separately from other bits.
34075 (VLNEXT, VDISCARD, VSTATUS): Document availability individually.
34076 * manual/time.texi: Likewise.
34077 * manual/users.texi: Likewise.
34078 * INSTALL: Regenerated.
34079 * sysdeps/gnu/errlist.c: Regenerated.
34081 * aclocal.m4 (LIBC_TRY_LINK_STATIC): New macro.
34082 * configure.in (libc_cv_preinit_array): Use LIBC_TRY_LINK_STATIC.
34083 (libc_cv_ctors_header): Likewise. Use asm ("") instead of calling
34085 * configure: Regenerated.
34087 2012-03-07 Joseph Myers <joseph@codesourcery.com>
34089 * sysdeps/i386/configure.in (cpuid.h): Use AC_CHECK_HEADER with no
34090 default includes instead of AC_HEADER_CHECK.
34091 * sysdeps/i386/configure: Regenerated.
34094 * math/s_cacosh.c (__cacosh): Convert negative log results to 0.
34095 * math/s_cacoshf.c (__cacoshf): Likewise.
34096 * math/s_cacoshl.c (__cacoshl): Likewise.
34097 * math/s_casinh.c (__casinh): Set signs of result from argument.
34098 * math/s_casinhf.c (__casinhf): Likewise.
34099 * math/s_casinhl.c (__casinhl): Likewise.
34100 * math/libm-test.inc (cacos_test, cacosh_test, casin_test)
34101 (casinh_test): Add more tests.
34102 * sysdeps/i386/fpu/libm-test-ulps: Update.
34103 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
34105 2012-03-07 Ulrich Drepper <drepper@gmail.com>
34107 * po/zh_TW.po: Update from translation team.
34109 * login/Makefile (distribute): Remove variable.
34110 * catgets/Makefile: Likewise.
34111 * mach/Makefile: Likewise.
34112 * malloc/Makefile: Likewise.
34113 * misc/Makefile: Likewise.
34114 * iconv/Makefile: Likewise.
34115 * nscd/Makefile: Likewise.
34116 * hurd/Makefile: Likewise.
34117 * manual/Makefile: Likewise.
34118 * locale/Makefile: Likewise.
34119 * intl/Makefile: Likewise.
34120 * conform/Makefile: Likewise.
34121 * nss/Makefile: Likewise.
34122 * time/Makefile: Likewise.
34123 * soft-fp/Makefile: Likewise.
34124 * dirent/Makefile: Likewise.
34125 * gmon/Makefile: Likewise.
34126 * po/Makefile: Likewise.
34127 * rt/Makefile: Likewise.
34128 * socket/Makefile: Likewise.
34129 * math/Makefile: Likewise.
34130 * signal/Makefile: Likewise.
34131 * debug/Makefile: Likewise.
34132 * elf/Makefile: Likewise.
34133 * timezone/Makefile: Likewise.
34134 * stdlib/Makefile: Likewise.
34135 * iconvdata/Makefile: Likewise.
34136 * sunrpc/Makefile: Likewise.
34137 * io/Makefile: Likewise.
34138 * argp/Makefile: Likewise.
34139 * inet/Makefile: Likewise.
34140 * hesiod/Makefile: Likewise.
34141 * grp/Makefile: Likewise.
34142 * csu/Makefile: Likewise.
34143 * wctype/Makefile: Likewise.
34144 * crypt/Makefile: Likewise.
34145 * libio/Makefile: Likewise.
34146 * string/Makefile: Likewise.
34147 * nis/Makefile: Likewise.
34148 * resolv/Makefile: Likewise.
34149 * stdio-common/Makefile: Likewise.
34150 * wcsmbs/Makefile: Likewise.
34151 * dlfcn/Makefile: Likewise.
34152 * posix/Makefile: Likewise.
34155 * timezone/Makefile: Don't install timezone files, just the programs
34158 2012-03-06 Ulrich Drepper <drepper@gmail.com>
34160 * nss/databases.def: Add missing gshadow entry.
34162 * stdio-common/vfprintf.c: Fix formatting. Missing copyright update.
34164 2012-03-06 Marek Polacek <polacek@redhat.com>
34167 * sysdeps/ieee754/ldbl-96/printf_fphex.c: Adjust position of wnumstr.
34168 * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
34169 * stdio-common/Makefile (tests): Add tst-long-dbl-fphex.
34170 * stdio-common/tst-long-dbl-fphex.c: New file.
34172 2012-03-06 David S. Miller <davem@davemloft.net>
34174 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
34175 (set_obp_int): New function.
34176 (get_obp_int): New function.
34177 (__get_clockfreq_via_dev_openprom): Likewise.
34178 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INTERNAL_SYSCALL_ERROR_P):
34179 Avoid unused variable warnings on 'val' and use builtin_expect.
34180 (INLINE_SYSCALL): Don't wrap INTERNAL_SYSCALL_ERROR_P with
34182 (INLINE_CLONE_SYSCALL): Likewise.
34184 2012-03-05 David S. Miller <davem@davemloft.net>
34186 * sysdeps/sparc/fpu/libm-test-ulps: Update.
34188 2012-03-05 Andreas Schwab <schwab@linux-m68k.org>
34190 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
34192 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Drop exp(-x) term
34193 only for |x| >= 40.
34194 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
34196 2012-03-05 H.J. Lu <hongjiu.lu@intel.com>
34198 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c (gettimeofday_ifunc):
34199 Replace gettimeofday with __vdso_gettimeofday.
34201 * sysdeps/unix/sysv/linux/x86_64/init-first.c
34202 (_libc_vdso_platform_setup): Replace clock_gettime and getcpu with
34203 __vdso_clock_gettime and __vdso_getcpu.
34205 * sysdeps/unix/sysv/linux/x86_64/time.c (time_ifunc): Replace
34206 time with __vdso_time.
34208 2012-03-05 Joseph Myers <joseph@codesourcery.com>
34210 * manual/lang.texi (size_t): Note types to which size_t may be
34211 equivalent with the GNU C Library, but do not describe when
34212 differences between them are significant.
34214 2012-03-05 Andreas Jaeger <aj@suse.de>
34216 * sysdeps/i386/fpu/libm-test-ulps: Update.
34218 2012-03-05 Joseph Myers <joseph@codesourcery.com>
34221 * sysdeps/ieee754/dbl-64/e_pow.c: Include <fenv.h>.
34222 (__ieee754_pow): Save and restore rounding mode and use
34223 round-to-nearest for main computations.
34224 * math/libm-test.inc (pow_test_tonearest): New function.
34225 (pow_test_towardzero): Likewise.
34226 (pow_test_downward): Likewise.
34227 (pow_test_upward): Likewise.
34228 (main): Call the new functions.
34229 * sysdeps/i386/fpu/libm-test-ulps: Update.
34230 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
34233 * math/libm-test.inc (cosh_test_tonearest): New function.
34234 (cosh_test_towardzero): Likewise.
34235 (cosh_test_downward): Likewise.
34236 (cosh_test_upward): Likewise.
34237 (sinh_test_tonearest): Likewise.
34238 (sinh_test_towardzero): Likewise.
34239 (sinh_test_downward): Likewise.
34240 (sinh_test_upward): Likewise.
34241 (main): Call the new functions.
34242 * sysdeps/i386/fpu/libm-test-ulps: Update.
34243 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
34245 2012-03-05 Tom de Vries <tom@codesourcery.com>
34247 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Ensure
34248 default stack guard is set in last bytes.
34249 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Same.
34251 2012-03-05 Kees Cook <keescook@chromium.org>
34253 * stdio-common/vfprintf.c (vfprintf): add missing errno settings.
34256 * stdio-common/vfprintf.c (vfprintf): Check for nargs overflow and
34257 possibly allocate from heap instead of stack.
34258 * stdio-common/bug-vfprintf-nargs.c: New file.
34259 * stdio-common/Makefile (tests): Add nargs overflow test.
34261 2012-03-03 Andreas Schwab <schwab@linux-m68k.org>
34263 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
34265 2012-03-03 Marek Polacek <polacek@redhat.com>
34267 * include/sys/cdefs.h: Remove __GNUC_PREREQ macro.
34268 * math/math_private.h: Likewise.
34269 * stdlib/tst-strtod.c: Likewise.
34270 * sysdeps/i386/i486/bits/atomic.h: Likewise.
34271 * sysdeps/x86_64/bits/atomic.h: Likewise.
34273 2012-03-02 David S. Miller <davem@davemloft.net>
34275 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: New file.
34276 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrintf.S: New file.
34277 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: New file.
34278 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrintf.S: New file.
34279 * sysdeps/sparc/sparc64/fpu/s_llrint.S: New file.
34280 * sysdeps/sparc/sparc64/fpu/s_llrintf.S: New file.
34281 * sysdeps/sparc/sparc64/fpu/s_lrint.S: New file.
34282 * sysdeps/sparc/sparc64/fpu/s_lrintf.S: New file.
34284 2012-03-02 Roland McGrath <roland@hack.frob.com>
34287 * manual/examples/README: New file, says the example source files
34288 can be used under GPL>=2.
34289 * manual/Makefile (%.c.texi): Eat the leading part of the file until a
34290 line containing just "*/".
34291 * manual/examples/add.c: Add copyright header (GPL>=2).
34292 * manual/examples/argp-ex1.c: Likewise.
34293 * manual/examples/argp-ex2.c: Likewise.
34294 * manual/examples/argp-ex3.c: Likewise.
34295 * manual/examples/argp-ex4.c: Likewise.
34296 * manual/examples/atexit.c: Likewise.
34297 * manual/examples/db.c: Likewise.
34298 * manual/examples/dir.c: Likewise.
34299 * manual/examples/dir2.c: Likewise.
34300 * manual/examples/execinfo.c: Likewise.
34301 * manual/examples/filecli.c: Likewise.
34302 * manual/examples/filesrv.c: Likewise.
34303 * manual/examples/fmtmsgexpl.c: Likewise.
34304 * manual/examples/genpass.c: Likewise.
34305 * manual/examples/inetcli.c: Likewise.
34306 * manual/examples/inetsrv.c: Likewise.
34307 * manual/examples/isockad.c: Likewise.
34308 * manual/examples/longopt.c: Likewise.
34309 * manual/examples/memopen.c: Likewise.
34310 * manual/examples/memstrm.c: Likewise.
34311 * manual/examples/mkfsock.c: Likewise.
34312 * manual/examples/mkisock.c: Likewise.
34313 * manual/examples/mygetpass.c: Likewise.
34314 * manual/examples/pipe.c: Likewise.
34315 * manual/examples/popen.c: Likewise.
34316 * manual/examples/rprintf.c: Likewise.
34317 * manual/examples/search.c: Likewise.
34318 * manual/examples/select.c: Likewise.
34319 * manual/examples/setjmp.c: Likewise.
34320 * manual/examples/sigh1.c: Likewise.
34321 * manual/examples/sigusr.c: Likewise.
34322 * manual/examples/stpcpy.c: Likewise.
34323 * manual/examples/strdupa.c: Likewise.
34324 * manual/examples/strftim.c: Likewise.
34325 * manual/examples/strncat.c: Likewise.
34326 * manual/examples/subopt.c: Likewise.
34327 * manual/examples/swapcontext.c: Likewise.
34328 * manual/examples/termios.c: Likewise.
34329 * manual/examples/testopt.c: Likewise.
34330 * manual/examples/testpass.c: Likewise.
34331 * manual/examples/timeval_subtract.c: Likewise.
34334 * manual/time.texi (Elapsed Time): Move timeval_subtract example
34336 * manual/timeval_subtract.c.texi: ... here, new file.
34338 2012-03-02 David S. Miller <davem@davemloft.net>
34340 * sysdeps/sparc/fpu/libm-test-ulps: Update for recently added tests.
34342 2012-03-02 Joseph Myers <joseph@codesourcery.com>
34345 * sysdeps/ieee754/dbl-64/s_sin.c: Include <fenv.h>
34346 (__sin): Save and restore rounding mode and use round-to-nearest
34347 for all computations.
34348 (__cos): Save and restore rounding mode and use round-to-nearest
34349 for all computations.
34350 * sysdeps/ieee754/dbl-64/s_tan.c: Include "math_private.h" and
34352 (tan): Save and restore rounding mode and use round-to-nearest for
34354 * math/libm-test.inc (cos_test_tonearest): New function.
34355 (cos_test_towardzero): Likewise.
34356 (cos_test_downward): Likewise.
34357 (cos_test_upward): Likewise.
34358 (sin_test_tonearest): Likewise.
34359 (sin_test_towardzero): Likewise.
34360 (sin_test_downward): Likewise.
34361 (sin_test_upward): Likewise.
34362 (tan_test_tonearest): Likewise.
34363 (tan_test_towardzero): Likewise.
34364 (tan_test_downward): Likewise.
34365 (tan_test_upward): Likewise.
34366 (main): Call the new functions.
34367 * sysdeps/i386/fpu/libm-test-ulps: Update.
34368 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
34371 * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): First test for
34372 small n, then large n, before computing and testing k+n.
34373 * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
34374 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c (__scalbln):
34376 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (__scalbn):
34378 * sysdeps/ieee754/flt-32/s_scalblnf.c (__scalblnf): Likewise.
34379 * sysdeps/ieee754/flt-32/s_scalbnf.c (__scalbnf): Likewise.
34380 * sysdeps/ieee754/ldbl-128/s_scalblnl.c (__scalblnl): Likewise.
34381 * sysdeps/ieee754/ldbl-128/s_scalbnl.c (__scalbnl): Likewise.
34382 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
34383 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
34384 * sysdeps/ieee754/ldbl-96/s_scalblnl.c (__scalblnl): Likewise.
34385 * sysdeps/ieee754/ldbl-96/s_scalbnl.c (__scalbnl): Likewise.
34386 * math/libm-test.inc (scalbn_test): Add more tests.
34387 (scalbln_test): Likewise.
34389 * manual/filesys.texi (mode_t): Describe constraints on size and
34390 signedness, not exact equivalence to a particular type.
34392 (ino64_t): Likewise.
34394 (nlink_t): Likewise.
34395 (blkcnt_t): Likewise.
34396 (blkcnt64_t): Likewise.
34397 * manual/llio.texi (off_t): Likewise.
34400 * sysdeps/ieee754/dbl-64/e_exp.c: Include <fenv.h>.
34401 (__ieee754_exp): Save and restore rounding mode and use
34402 round-to-nearest for all computations.
34403 * math/libm-test.inc (exp_test_tonearest): New function.
34404 (exp_test_towardzero): Likewise.
34405 (exp_test_downward): Likewise.
34406 (exp_test_upward): Likewise.
34407 (main): Call the new functions.
34408 * sysdeps/i386/fpu/libm-test-ulps: Update.
34409 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
34411 2012-03-01 Chris Demetriou <cgd@google.com>
34413 * sysdeps/gnu/errlist-compat.awk: Don't depend on AWK internals to
34414 have predictable order.
34416 2012-03-01 David S. Miller <davem@davemloft.net>
34418 * sysdeps/unix/sysv/linux/sparc/sparc32/getpagesize.c: Delete.
34420 * sysdeps/sparc/sparc64/fpu/s_finite.S: New file.
34421 * sysdeps/sparc/sparc64/fpu/s_finitef.S: New file.
34422 * sysdeps/sparc/sparc64/fpu/s_isinf.S: New file.
34423 * sysdeps/sparc/sparc64/fpu/s_isinff.S: New file.
34425 * sysdeps/sparc/sparc32/fpu/s_signbit.S: New file.
34426 * sysdeps/sparc/sparc32/fpu/s_signbitf.S: New file.
34427 * sysdeps/sparc/sparc32/fpu/s_signbitl.S: New file.
34428 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: New file.
34429 * sysdeps/sparc/sparc64/fpu/s_isnan.S: New file.
34430 * sysdeps/sparc/sparc64/fpu/s_isnanf.S: New file.
34431 * sysdeps/sparc/sparc64/fpu/s_signbit.S: New file.
34432 * sysdeps/sparc/sparc64/fpu/s_signbitf.S: New file.
34433 * sysdeps/sparc/sparc64/fpu/s_signbitl.S: New file.
34435 * sysdeps/sparc/fpu/libm-test-ulps: Update.
34437 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Move...
34438 * sysdeps/sparc/fpu/libm-test-ulps: to here.
34439 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Delete.
34441 * sysdeps/sparc/crti.S: Remove HAVE_BINUTILS_GOTDATA checks.
34442 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
34443 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
34444 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: Likewise.
34445 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: Likewise.
34446 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: Likewise.
34447 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: Likewise.
34448 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
34449 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
34450 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: Likewise.
34451 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: Likewise.
34452 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
34453 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
34454 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
34455 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
34456 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
34457 * config.h.in (HAVE_BINUTILS_GOTDATA): Delete.
34458 * sysdeps/sparc/elf/configure.in: Remove binutils GOTDATA checks.
34459 * sysdeps/sparc/elf/configure: Regenerated.
34461 2012-03-01 Joseph Myers <joseph@codesourcery.com>
34463 * configure.in (AS, LD): Require binutils 2.20 or later.
34464 * configure: Regenerated.
34465 * manual/install.texi (Tools for Compilation): Give binutils 2.20
34466 as required minimum version.
34467 * INSTALL: Regenerated.
34471 * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Mask out one more bit
34472 before squaring exponent.
34473 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Mask out whole
34474 bottom long double and 27 bits of top long double before squaring
34476 * math/libm-test.inc (erfc_test): Add more tests.
34477 * sysdeps/i386/fpu/libm-test-ulps: Update.
34478 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
34479 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
34481 2012-03-01 Kai Tietz <ktietz@redhat.com>
34483 * soft-fp/soft-fp.h (_FP_STRUCT_LAYOUT): New macro.
34484 * soft-fp/quad.h (_FP_UNION_Q): Use _FP_STRUCT_LAYOUT on struct
34485 containing bit-fields.
34486 * soft-fp/extended.h (_FP_UNION_E): Likewise.
34487 * soft-fp/single.h (_FP_UNION_S): Likewise.
34488 * soft-fp/double.h (_FP_UNION_D): Likewise.
34490 2012-02-29 Joseph Myers <joseph@codesourcery.com>
34493 * sysdeps/i386/i686/multiarch/strcmp.S [USE_AS_STRCASECMP_L]: Do
34494 not include ../strcmp.S.
34495 [USE_AS_STRNCASECMP_L]: Likewise.
34496 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c
34497 (__strcasecmp_l_ia32): Define as alias to __strcasecmp_l_nonascii.
34498 * sysdeps/i386/i686/multiarch/strncase_l-c.c
34499 (__strncasecmp_l_ia32): Define as alias to
34500 __strncasecmp_l_nonascii.
34503 * math/libm-test.inc (expm1_test): Add test for bug 5794.
34504 * sysdeps/i386/fpu/libm-test-ulps: Update.
34505 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
34507 * sysdeps/i386/fpu/libm-test-ulps: Reduce some expected errors.
34508 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
34510 2012-02-29 Jeff Law <law@redhat.com>
34512 * resolv/res_query.c (__libc_res_nquerydomain): Avoid
34513 out of bounds read.
34515 2012-02-29 Marek Polacek <polacek@redhat.com>
34518 * elf/rtld.c (dl_main): Always set l_used to 1 for vDSO.
34519 * elf/Makefile: Add rules to run tst-unused-dep.out.
34521 2012-02-28 David S. Miller <davem@davemloft.net>
34523 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: New file.
34524 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: New file.
34525 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: New file.
34526 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: New file.
34527 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: New file.
34528 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: New file.
34530 2012-02-29 Joseph Myers <joseph@codesourcery.com>
34532 * math/libm-test.inc (llround_test): Move one test from
34533 lround_test. Use TEST_f_L in moved test.
34534 (lround_test): Move misplaced test to llround_test. Add testcase
34537 2012-02-28 Ulrich Drepper <drepper@gmail.com>
34539 * sysdeps/x86_64/fpu/e_expf.S: New file.
34540 Contributed by Dmitrieva Liubov <liubov.dmitrieva@gmail.com>.
34542 2012-02-28 Stanislav Brabec <sbrabec@suse.cz>
34545 * posix/regex_internal.c (re_string_skip_chars): Fix miscomputation
34546 of remain_len that may cause incomplete multi-byte character and
34548 * posix/bug-regex33.c: New file.
34549 * posix/Makefile (tests): Add bug-regex33.
34551 2012-02-28 Joseph Myers <joseph@codesourcery.com>
34553 * manual/macros.texi: New file.
34554 * Makefile (INSTALL, NOTES): Depend on manual/macros.texi.
34555 * manual/libc.texinfo: Include macros.texi.
34556 * manual/creatute.texi: Likewise.
34557 * manual/install.texi: Likewise.
34558 * manual/arith.texi: Use macros @Theglibc{}, @theglibc{} and
34559 @glibcadj{} in references to the GNU C Library.
34560 * manual/charset.texi: Likewise.
34561 * manual/conf.texi: Likewise.
34562 * manual/contrib.texi: Likewise. Consistently use "GNU C Library"
34563 when not using those macros.
34564 * manual/creature.texi: Likewise.
34565 * manual/crypt.texi: Likewise.
34566 * manual/errno.texi: Likewise.
34567 * manual/filesys.texi: Likewise.
34568 * manual/header.texi: Likewise.
34569 * manual/install.texi: Likewise.
34570 * manual/intro.texi: Likewise.
34571 * manual/io.texi: Likewise.
34572 * manual/job.texi: Likewise.
34573 * manual/lang.texi: Likewise.
34574 * manual/libc.texiinfo: Likewise.
34575 * manual/llio.texi: Likewise.
34576 * manual/locale.texi: Likewise.
34577 * manual/maint.texi: Likewise.
34578 * manual/math.texi: Likewise.
34579 * manual/memory.texi: Likewise.
34580 * manual/message.texi: Likewise.
34581 * manual/nss.texi: Likewise.
34582 * manual/pattern.texi: Likewise.
34583 * manual/process.texi: Likewise.
34584 * manual/resource.texi: Likewise.
34585 * manual/search.texi: Likewise.
34586 * manual/setjmp.texi: Likewise.
34587 * manual/signal.texi: Likewise.
34588 * manual/socket.texi: Likewise.
34589 * manual/startup.texi: Likewise.
34590 * manual/stdio.texi: Likewise.
34591 * manual/string.texi: Likewise.
34592 * manual/sysinfo.texi: Likewise.
34593 * manual/syslog.texi: Likewise.
34594 * manual/terminal.texi: Likewise.
34595 * manual/time.texi: Likewise.
34596 * manual/users.texi: Likewise.
34597 * INSTALL: Regenerated.
34598 * NOTES: Regenerated.
34599 * sysdeps/gnu/errlist.c: Regenerated.
34601 2012-02-28 Andreas Schwab <schwab@linux-m68k.org>
34603 * include/dirent.h: Include <dirstream.h> before
34606 2012-02-28 David S. Miller <davem@davemloft.net>
34608 * sysdeps/sparc/sparc32/fpu/s_copysign.S: New file.
34609 * sysdeps/sparc/sparc32/fpu/s_copysignf.S: New file.
34610 * sysdeps/sparc/sparc64/fpu/s_copysign.S: New file.
34611 * sysdeps/sparc/sparc64/fpu/s_copysignf.S: New file.
34613 2012-02-27 David S. Miller <davem@davemloft.net>
34615 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: New file.
34616 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floorf.S: New file.
34617 * sysdeps/sparc/sparc64/fpu/s_floor.S: New file.
34618 * sysdeps/sparc/sparc64/fpu/s_floorf.S: New file.
34620 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix accidental use of
34621 frame pointer instead of stack pointer relative arg slot.
34622 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
34623 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
34624 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
34626 2012-02-27 Carlos O'Donell <carlos_odonell@mentor.com>
34629 * stdlib/fmtmsg.c: Use of uint32_t requires stdint.h.
34631 2012-02-27 David S. Miller <davem@davemloft.net>
34633 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix comment formatting.
34634 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
34635 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
34636 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: Likewise.
34637 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
34638 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
34639 * sysdeps/sparc/sparc64/fpu/s_rint.S: Likewise.
34640 * sysdeps/sparc/sparc64/fpu/s_rintf.S: Likewise.
34642 2012-02-27 Joseph Myers <joseph@codesourcery.com>
34644 * configure.in (CC): Restrict allowed GCC versions to 4.3 and
34645 later. Allow versions 5-9.
34646 * configure: Regenerated.
34647 * manual/install.texi (Tools for Compilation): Give GCC 4.3 as
34648 required minimum version and 4.6 as recommended version. Do not
34649 mention bugs in GCC 2.7 and 2.8.
34650 * INSTALL: Regenerated.
34652 2012-02-27 David S. Miller <davem@davemloft.net>
34654 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: New file.
34655 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: New file.
34656 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: New file.
34657 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: New file.
34658 * sysdeps/sparc/sparc64/fpu/s_ceil.S: New file.
34659 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: New file.
34660 * sysdeps/sparc/sparc64/fpu/s_rint.S: New file.
34661 * sysdeps/sparc/sparc64/fpu/s_rintf.S: New file.
34663 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Do not
34664 manipulate bits before adding and subtracting TWO112[sx].
34665 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
34667 2012-02-27 Roland McGrath <roland@hack.frob.com>
34670 * libio/bits/stdio-ldbl.h (vdprintf, dprintf): Put these under
34671 [__USE_XOPEN2K8] rather than [__USE_GNU], to match the stdio.h decls.
34672 * libio/stdio.h (vdprintf, dprintf): Remove comment about these not
34673 being in POSIX, because they are in 1003.1-2008.
34675 * rt/tst-aio.c: Include <fcntl.h>.
34676 * rt/tst-aio7.c: Likewise.
34677 * rt/tst-aio64.c: Likewise.
34679 * stdio-common/tst-fmemopen.c (main): Remove spurious const.
34681 2012-02-27 Joseph Myers <joseph@codesourcery.com>
34683 * manual/install.texi (--with-headers): Describe headers as
34684 interface headers, not private headers.
34685 (Specific advice for GNU/Linux systems): Describe use of headers
34686 from "make headers_install", not private headers from older
34688 * INSTALL: Regenerated.
34689 * sysdeps/unix/sysv/linux/configure.in (LIBC_LINUX_VERSION):
34691 * sysdeps/unix/sysv/linux/configure: Regenerated.
34693 * manual/llio.texi (fclean): Remove documentation.
34695 * manual/Makefile (libc-texi-generated): New variable. Include
34697 (libc.dvi, libc.pdf, libc.info, libc/index.html): Depend on
34698 $(libc-texi-generated), not duplicated list of files.
34699 (version.texi, stamp-version): New rules.
34700 (realclean): Remove $(libc-texi-generated), not individual files
34701 from that list. Do not remove dir-add.texinfo.
34702 * manual/libc.texinfo: Comment out uses of edition numbers and
34703 references to printed manual. Remove last-updated dates.
34704 (EDITION): Comment out.
34706 (VERSION, UPDATED): Remove.
34707 (version.texi): Include.
34709 2012-02-27 Andreas Schwab <schwab@linux-m68k.org>
34711 * sysdeps/posix/spawni.c: Include <signal.h>.
34712 * sysdeps/pthread/aio_cancel.c: Include <fcntl.h>.
34713 * sysdeps/pthread/aio_fsync.c: Likewise.
34715 2012-02-26 Ulrich Drepper <drepper@gmail.com>
34717 * conform/Makefile (tests): Run only when not cross-compiling and
34718 when fast-check is not defined.
34720 * conform/conformtest.pl: XPG7 and POSIX2008 require C99.
34721 * conform/data/limits.h-data: Fixes for POSIX2008.
34722 * conform/run-conformtest.sh: Run all tests.
34723 * include/arpa/inet.h: Changes to allow conformtest.pl to use the
34725 * include/bits/dlfcn.h: Likewise.
34726 * include/langinfo.h: Likewise.
34727 * include/monetary.h: Likewise.
34728 * include/sys/poll.h: Likewise.
34730 * io/fcntl.h: Define AT_NO_AUTOMOUNT and AT_EMPTY_PATH only
34732 * posix/spawn.h: Define __need_sigset_t.
34733 * posix/sys/wait.h: Don't include <sys/resource.h>, define id_t here.
34734 * posix/unistd.h: Declare ctermid only for XPG before XPG6.
34735 * rt/aio.h: Don't include fcntl.h and signal.h. Use bits/siginfo.h
34736 to get sigevent_t only.
34737 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg and recvmmsg
34738 only for __USE_GNU.
34739 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
34740 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
34741 process_vm_writev only for __USE_GNU.
34742 * termios/termios.h: Declare tcgetsid also for POSIX2008.
34744 * conform/Makefile: For now ignore errors from run-conformtest.
34745 * conform/conformtest.pl: Simplify code. Add -ansi to CFLAGS for
34746 POSIX to avoid namespace pollution. Don't prepend headers.
34747 * conform/data/aio.h-data: Fixes for POSIX testing.
34748 * conform/data/fcntl.h-data: Likewise.
34749 * conform/data/glob.h-data: Likewise.
34750 * conform/data/grp.h-data: Likewise.
34751 * conform/data/pthread.h-data: Likewise.
34752 * conform/data/pwd.h-data: Likewise.
34753 * conform/data/signal.h-data: Likewise.
34754 * conform/data/spawn.h-data: Likewise.
34755 * conform/data/stdio.h-data: Likewise.
34756 * conform/data/stdlib.h-data: Likewise.
34757 * conform/data/stropts.h-data: Likewise.
34758 * conform/data/sys/mman.h-data: Likewise.
34759 * conform/data/sys/stat.h-data: Likewise.
34760 * conform/data/sys/types.h-data: Likewise.
34761 * conform/data/sys/wait.h-data: Likewise.
34762 * conform/data/time.h-data: Likewise.
34763 * conform/data/unistd.h-data: Likewise.
34764 * conform/data/utime.h-data: Likewise.
34766 * io/sys/stat.h: fchmod was always in POSIX.
34767 * posix/sys/wait.h: Include <sys/resource.h> only for waitid.
34768 * posix/unistd.h: fsync and ftruncate were in early POSIX as well.
34769 * rt/aio.h: Define __need_timespec before including <time.h>.
34770 * sysdeps/unix/sysv/linux/bits/siginfo.h: Don't name siginfo_t
34771 struct. Add forward declaration of pthread_attr_t and use it in
34773 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
34774 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
34775 * sysdeps/unix/sysv/linux/bits/time.h: Don't let __STRICT_ANSI__
34776 always remove CLK_TCK definition.
34778 2012-02-26 Andreas Schwab <schwab@linux-m68k.org>
34780 * sysdeps/ieee754/dbl-64/k_tan.c: Replace with empty file.
34782 2012-02-25 Ulrich Drepper <drepper@gmail.com>
34784 * conform/run-conformtest.sh: New file.
34785 * conform/Makefile: Run run-conformtest for tests.
34786 * conform/conformtest.pl: Many bug fixes. Add ISO C99, ISO C11
34789 * conform/data/uchar.h-data: New file.
34790 * conform/data/aio.h-data: Fixes for ISO C and POSIX 1995 testing.
34791 * conform/data/arpa/inet.h-data: Likewise.
34792 * conform/data/assert.h-data: Likewise.
34793 * conform/data/complex.h-data: Likewise.
34794 * conform/data/cpio.h-data: Likewise.
34795 * conform/data/ctype.h-data: Likewise.
34796 * conform/data/dirent.h-data: Likewise.
34797 * conform/data/dlfcn.h-data: Likewise.
34798 * conform/data/errno.h-data: Likewise.
34799 * conform/data/fcntl.h-data: Likewise.
34800 * conform/data/float.h-data: Likewise.
34801 * conform/data/fmtmsg.h-data: Likewise.
34802 * conform/data/fnmatch.h-data: Likewise.
34803 * conform/data/ftw.h-data: Likewise.
34804 * conform/data/glob.h-data: Likewise.
34805 * conform/data/grp.h-data: Likewise.
34806 * conform/data/iconv.h-data: Likewise.
34807 * conform/data/inttypes.h-data: Likewise.
34808 * conform/data/langinfo.h-data: Likewise.
34809 * conform/data/libgen.h-data: Likewise.
34810 * conform/data/limits.h-data: Likewise.
34811 * conform/data/locale.h-data: Likewise.
34812 * conform/data/math.h-data: Likewise.
34813 * conform/data/monetary.h-data: Likewise.
34814 * conform/data/mqueue.h-data: Likewise.
34815 * conform/data/ndbm.h-data: Likewise.
34816 * conform/data/net/if.h-data: Likewise.
34817 * conform/data/netdb.h-data: Likewise.
34818 * conform/data/netinet/in.h-data: Likewise.
34819 * conform/data/nl_types.h-data: Likewise.
34820 * conform/data/poll.h-data: Likewise.
34821 * conform/data/pthread.h-data: Likewise.
34822 * conform/data/pwd.h-data: Likewise.
34823 * conform/data/regex.h-data: Likewise.
34824 * conform/data/sched.h-data: Likewise.
34825 * conform/data/search.h-data: Likewise.
34826 * conform/data/semaphore.h-data: Likewise.
34827 * conform/data/setjmp.h-data: Likewise.
34828 * conform/data/signal.h-data: Likewise.
34829 * conform/data/spawn.h-data: Likewise.
34830 * conform/data/stdarg.h-data: Likewise.
34831 * conform/data/stdio.h-data: Likewise.
34832 * conform/data/stdlib.h-data: Likewise.
34833 * conform/data/string.h-data: Likewise.
34834 * conform/data/strings.h-data: Likewise.
34835 * conform/data/stropts.h-data: Likewise.
34836 * conform/data/sys/ipc.h-data: Likewise.
34837 * conform/data/sys/mman.h-data: Likewise.
34838 * conform/data/sys/msg.h-data: Likewise.
34839 * conform/data/sys/resource.h-data: Likewise.
34840 * conform/data/sys/select.h-data: Likewise.
34841 * conform/data/sys/sem.h-data: Likewise.
34842 * conform/data/sys/shm.h-data: Likewise.
34843 * conform/data/sys/socket.h-data: Likewise.
34844 * conform/data/sys/stat.h-data: Likewise.
34845 * conform/data/sys/statvfs.h-data: Likewise.
34846 * conform/data/sys/time.h-data: Likewise.
34847 * conform/data/sys/timeb.h-data: Likewise.
34848 * conform/data/sys/times.h-data: Likewise.
34849 * conform/data/sys/types.h-data: Likewise.
34850 * conform/data/sys/uio.h-data: Likewise.
34851 * conform/data/sys/un.h-data: Likewise.
34852 * conform/data/sys/utsname.h-data: Likewise.
34853 * conform/data/sys/wait.h-data: Likewise.
34854 * conform/data/syslog.h-data: Likewise.
34855 * conform/data/tar.h-data: Likewise.
34856 * conform/data/termios.h-data: Likewise.
34857 * conform/data/utime.h-data: Likewise.
34858 * conform/data/utmpx.h-data: Likewise.
34859 * conform/data/varargs.h-data: Likewise.
34860 * conform/data/wchar.h-data: Likewise.
34861 * conform/data/wctype.h-data: Likewise.
34862 * conform/data/wordexp.h-data: Likewise.
34864 * include/stropts.h: New file.
34865 * include/uchar.h: New file.
34866 * include/aio.h: Changes to allow conformtest.pl to use the headers.
34867 * include/assert.h: Likewise.
34868 * include/ctype.h: Likewise.
34869 * include/dirent.h: Likewise.
34870 * include/dlfcn.h: Likewise.
34871 * include/fcntl.h: Likewise.
34872 * include/fnmatch.h: Likewise.
34873 * include/glob.h: Likewise.
34874 * include/grp.h: Likewise.
34875 * include/libio.h: Likewise.
34876 * include/locale.h: Likewise.
34877 * include/math.h: Likewise.
34878 * include/net/if.h: Likewise.
34879 * include/netdb.h: Likewise.
34880 * include/netinet/in.h: Likewise.
34881 * include/pthread.h: Likewise.
34882 * include/pwd.h: Likewise.
34883 * include/regex.h: Likewise.
34884 * include/sched.h: Likewise.
34885 * include/search.h: Likewise.
34886 * include/setjmp.h: Likewise.
34887 * include/signal.h: Likewise.
34888 * include/stdio.h: Likewise.
34889 * include/stdlib.h: Likewise.
34890 * include/string.h: Likewise.
34891 * include/sys/cdefs.h: Likewise.
34892 * include/sys/mman.h: Likewise.
34893 * include/sys/msg.h: Likewise.
34894 * include/sys/resource.h: Likewise.
34895 * include/sys/select.h: Likewise.
34896 * include/sys/socket.h: Likewise.
34897 * include/sys/stat.h: Likewise.
34898 * include/sys/statvfs.h: Likewise.
34899 * include/sys/time.h: Likewise.
34900 * include/sys/times.h: Likewise.
34901 * include/sys/uio.h: Likewise.
34902 * include/sys/utsname.h: Likewise.
34903 * include/sys/wait.h: Likewise.
34904 * include/termios.h: Likewise.
34905 * include/time.h: Likewise.
34906 * include/ulimit.h: Likewise.
34907 * include/unistd.h: Likewise.
34908 * include/utime.h: Likewise.
34909 * include/wchar.h: Likewise.
34910 * include/wctype.h: Likewise.
34911 * include/wordexp.h: Likewise.
34913 * posix/tar.h (TSVTX): Should not be visible for POSIX before 2008.
34915 * time/time.h: TIME_UTC must be a macro.
34916 Make timespec_get available for ISO C11 only as well.
34918 2012-02-24 Ulrich Drepper <drepper@gmail.com>
34920 * stdlib/fmtmsg.c (fmtmsg): Lock around use of severity list.
34921 Reported by Peng Haitao <penght@cn.fujitsu.com>.
34923 2012-02-24 Joseph Myers <joseph@codesourcery.com>
34925 * configure.in: Use -o not -a in test for unsupported multi-arch.
34927 2012-02-24 Joseph Myers <joseph@codesourcery.com>
34929 * manual/texinfo.tex: Update to version 2012-01-19.16.
34931 2012-02-24 Joseph Myers <joseph@codesourcery.com>
34933 * manual/Makefile (licenses): Change fdl-1.1.texi to fdl-1.3.texi.
34935 2012-02-24 Roland McGrath <roland@hack.frob.com>
34938 * manual/libc.texinfo (FDL_VERSION): Set to 1.3.
34939 * manual/fdl-1.3.texi: New file.
34940 * manual/fdl-1.1.texi: File removed.
34943 * manual/libc.texinfo (FDL_VERSION): New @set.
34944 Use it for mention of FDL in cover text.
34945 (Documentation License): Use it in @include file name.
34947 2012-02-22 Joseph Myers <joseph@codesourcery.com>
34948 Roland McGrath <roland@hack.frob.com>
34951 * manual/arith.texi (strtoll): Refer to LLONG_MAX and LLONG_MIN)
34952 (not LONG_LONG_MAX and LONG_LONG_MIN.
34953 * manual/lang.texi (LONG_LONG_MIN): Document first as ISO
34954 LLONG_MIN. Refer to LONG_LONG_MIN only as older GCC-specific
34956 (LONG_LONG_MAX, LLONG_MAX, ULONG_LONG_MAX, ULLONG_MAX): Likewise.
34958 2012-02-22 Joseph Myers <joseph@codesourcery.com>
34962 * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Do not
34963 manipulate bits before adding and subtracting TWO23[sx].
34964 * math/libm-test.inc (nearbyint_test): Add more tests.
34966 2012-02-22 Joseph Myers <joseph@codesourcery.com>
34969 * sysdeps/ieee754/flt-32/s_rintf.c (__rintf): Do not manipulate
34970 bits before adding and subtracting TWO23[sx].
34971 * math/libm-test.inc (rint_test): Add more tests.
34972 (rint_test_tonearest): Likewise.
34973 (rint_test_towardzero): Likewise.
34974 (rint_test_downward): Likewise.
34975 (rint_test_upward: Likewise.
34977 2012-02-22 Joseph Myers <joseph@codesourcery.com>
34980 * include/stdc-predef.h: New file. Extracted from features.h.
34981 * include/features.h: Include stdc-predef.h.
34982 * Makefile (headers): Add stdc-predef.h.
34983 * CONFORMANCE (Compiler limitations): Update.
34985 2012-02-22 Joseph Myers <joseph@codesourcery.com>
34987 * manual/libc.texinfo (VERSION, UPDATED): Revert.
34989 2012-02-21 David S. Miller <davem@davemloft.net>
34991 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: More jn test ULP updates.
34992 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
34994 2012-02-20 David S. Miller <davem@davemloft.net>
34996 * sysdeps/sparc/sparc32/__longjmp.S: Unwind in the 'thread' path
34997 using a normal save/restore sequence, rather than allocating a
34998 dummy stack frame just to store a frame pointer and restore.
34999 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
35001 2012-02-21 Joseph Myers <joseph@codesourcery.com>
35003 * manual/install.texi: Fix stray word in line-wrapped comment.
35005 2012-02-20 David S. Miller <davem@davemloft.net>
35007 * sysdeps/sparc/elf/configure.in (PI_STATIC_AND_HIDDEN): Define if
35008 both binutils and gcc support GOTDATA.
35010 * sysdeps/unix/sparc/sysdep.h: Document why we don't use
35011 "rd %pc" in the PIC register setup sequences.
35013 * sysdeps/sparc/crti.S: Try to use GOTDATA relocs.
35014 * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
35015 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
35016 * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
35017 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
35018 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
35019 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
35020 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
35021 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h
35022 (SYSCALL_ERROR_HANDLER): Likewise.
35023 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
35024 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
35025 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h
35026 (SYSCALL_ERROR_HANDLER): Likewise.
35028 * config.h.in (HAVE_BINUTILS_GOTDATA): New.
35029 (HAVE_GCC_GOTDATA): New.
35030 * sysdeps/sparc/elf/configure.in: Test for GOTDATA
35031 relocation support in both binutils and gcc.
35032 * sysdeps/sparc/elf/configure: Regenerate.
35034 * sysdeps/sparc/sparc32/elf/configure.in: Delete.
35035 * sysdeps/sparc/sparc32/elf/configure: Delete.
35036 * sysdeps/sparc/sparc64/elf/configure.in: Delete.
35037 * sysdeps/sparc/sparc64/elf/configure: Delete.
35038 * sysdeps/sparc/elf/configure.in: New file.
35039 * sysdeps/sparc/elf/configure: Generate.
35041 * sysdeps/sparc/sparc32/elf/configure.in: Delete WDISP22 check.
35042 * sysdeps/sparc/sparc32/elf/configure: Regenerate.
35043 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
35044 * sysdeps/sparc/sparc64/elf/configure: Regenerate.
35045 * config.h.in (BROKEN_SPARC_WDISP22): Remove.
35047 2012-02-21 Joseph Myers <joseph@codesourcery.com>
35049 * manual/install.texi: Do not mention specific glibc version
35051 * manual/libc.texinfo (VERSION, UPDATED): Update.
35052 (@copying): Use @copyright{} and range of years.
35054 2012-02-21 Joseph Myers <joseph@codesourcery.com>
35057 * csu/Makefile (distribute): Remove initfini.c and defs.awk.
35058 [crti.S not in sysdirs] (generated): Do not append.
35059 [crti.S not in sysdirs] (omit-deps): Likewise.
35060 [crti.S not in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Remove rule.
35061 [crti.S not in sysdirs] ($(objpfx)initfini.s): Likewise.
35062 [crti.S not in sysdirs] ($(objpfx)crti.S): Likewise.
35063 [crti.S not in sysdirs] ($(objpfx)crtn.S): Likewise.
35064 [crti.S not in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)):
35066 [crti.S not in sysdirs] ($(objpfx)defs.h): Likewise.
35067 [crti.S not in sysdirs] (CFLAGS-initfini.s): Remove variable.
35068 [crti.S not in sysdirs] (initfini.c): Remove vpath directive.
35069 * csu/defs.awk: Remove file.
35070 * sysdeps/generic/initfini.c: Likewise.
35071 * sysdeps/powerpc/powerpc32/Makefile (CFLAGS-initfini.s): Remove
35073 * sysdeps/powerpc/powerpc64/Makefile (CFLAGS-initfini.s):
35076 2012-02-20 Joseph Myers <joseph@codesourcery.com>
35078 * sysdeps/unix/sysv/linux/bits/epoll.h: New file.
35079 * sysdeps/unix/sysv/linux/sparc/bits/epoll.h: Likewise.
35080 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Likewise.
35081 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Remove
35082 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
35083 * sysdeps/unix/sysv/linux/sys/epoll.h: Get flags from
35085 (EPOLL_CLOEXEC, EPOLL_NONBLOCK): Don't define here.
35086 (__EPOLL_PACKED): Define to empty if not defined by
35088 (struct epoll_event): Use __EPOLL_PACKED to make possibly packed.
35089 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
35092 2012-02-20 Joseph Myers <joseph@codesourcery.com>
35094 * sysdeps/unix/sysv/linux/bits/timerfd.h: New file.
35095 * sysdeps/unix/sysv/linux/sparc/bits/timerfd.h: Likewise.
35096 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Remove.
35097 * sysdeps/unix/sysv/linux/sys/timerfd.h: Get flags from
35099 (TFD_CLOEXEC, TFD_NONBLOCK): Don't define here.
35100 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
35103 2012-02-20 Joseph Myers <joseph@codesourcery.com>
35105 * sysdeps/i386/fpu/libm-test-ulps: Resort with gen-libm-test.pl -n
35107 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
35108 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
35109 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Likewise.
35110 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
35112 2012-02-20 Aurelien Jarno <aurelien@aurel32.net>
35114 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Adjust ULPs for jn tests.
35115 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
35117 2012-02-19 Andreas Schwab <schwab@linux-m68k.org>
35119 * manual/errno.texi (Error Codes): Add EHWPOISON entry.
35120 * sysdeps/unix/sysv/linux/bits/errno.h (EHWPOISON): Define if not
35122 * sysdeps/unix/sysv/linux/sparc/bits/errno.h (EHWPOISON):
35124 * sysdeps/unix/sysv/linux/sparc/Versions: Add new errlist compat
35127 2012-02-19 Aurelien Jarno <aurelien@aurel32.net>
35129 * math/w_acos.c: Use non-signaling floating-point comparisons.
35130 * math/w_acosf.c: Likewise.
35131 * math/w_acosh.c: Likewise.
35132 * math/w_acoshf.c: Likewise.
35133 * math/w_acoshl.c: Likewise.
35134 * math/w_acosl.c: Likewise.
35135 * math/w_asin.c: Likewise.
35136 * math/w_asinf.c: Likewise.
35137 * math/w_asinl.c: Likewise.
35138 * math/w_atanh.c: Likewise.
35139 * math/w_atanhf.c: Likewise.
35140 * math/w_atanhl.c: Likewise.
35141 * math/w_exp2.c: Likewise.
35142 * math/w_exp2f.c: Likewise.
35143 * math/w_exp2l.c: Likewise.
35144 * math/w_j0.c: Likewise.
35145 * math/w_j0f.c: Likewise.
35146 * math/w_j0l.c: Likewise.
35147 * math/w_j1.c: Likewise.
35148 * math/w_j1f.c: Likewise.
35149 * math/w_j1l.c: Likewise.
35150 * math/w_jn.c: Likewise.
35151 * math/w_jnf.c: Likewise.
35152 * math/w_log.c: Likewise.
35153 * math/w_log10.c: Likewise.
35154 * math/w_log10f.c: Likewise.
35155 * math/w_log10l.c: Likewise.
35156 * math/w_log2.c: Likewise.
35157 * math/w_log2f.c: Likewise.
35158 * math/w_log2l.c: Likewise.
35159 * math/w_logf.c: Likewise.
35160 * math/w_logl.c: Likewise.
35161 * math/w_sqrt.c: Likewise.
35162 * math/w_sqrtf.c: Likewise.
35163 * math/w_sqrtl.c: Likewise.
35164 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
35165 * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
35166 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
35167 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
35168 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
35170 2012-02-19 Joseph Myers <joseph@codesourcery.com>
35173 * manual/string.texi (strnlen): Use correct parameter name in
35174 equivalent expression.
35176 2012-02-19 Joseph Myers <joseph@codesourcery.com>
35179 * manual/users.texi (seteuid): Consistently use neweuid for
35182 2012-02-19 Joseph Myers <joseph@codesourcery.com>
35185 * manual/nss.texi (Services in the NSS configuration): Correct
35186 list of services in example configuration file.
35188 2012-02-19 Nick Bowler <nbowler@draconx.ca>
35191 * manual/arith.texi: Remove statements about negative zero
35192 behaving identically to zero.
35194 2012-02-18 Joseph Myers <joseph@codesourcery.com>
35197 * manual/install.texi: Do not document upgrading from libc5.
35199 2012-02-18 Joseph Myers <joseph@codesourcery.com>
35202 * manual/conf.texi (_POSIX_VERSION): Do not mention __POSIX__.
35204 2012-02-18 David S. Miller <davem@davemloft.net>
35206 * sysdeps/unix/sparc/sysdep.h (SPARC_PIC_THUNK): New macro.
35207 (SETUP_PIC_REG): Use SPARC_PIC_THUNK and don't save and restore
35208 %o7 across the call.
35209 (SETUP_PIC_REG_LEAF): Do %o7 save/restore in this new macro
35211 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Use
35212 SETUP_PIC_REG_LEAF.
35213 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
35214 * sysdeps/sparc/crti.S: Use SETUP_PIC_REG.
35215 * sysdeps/sparc/crtn.S: Likewise.
35217 2012-02-17 Ulrich Drepper <drepper@gmail.com>
35219 * aout/Makefile: Remove.
35221 2012-02-18 Rafe Kettler <rafe.kettler@gmail.com>
35224 * manual/examples/argp-ex1.c (main): Format definition in GNU
35226 * manual/examples/argp-ex2.c (main): Likewise.
35227 * manual/examples/argp-ex3.c (main): Likewise.
35228 * manual/examples/argp-ex4.c (main): Likewise.
35229 * manual/examples/longopt.c (main): Use new-style prototype
35231 * manual/examples/strncat.c (main): Specify return type and use
35232 (void) for arguments.
35233 * manual/examples/subopt.c (main): Use char **argv argument.
35235 2012-02-17 Joseph Myers <joseph@codesourcery.com>
35238 * manual/lang.texi (FLT_EPSILON): Avoid description depending on
35241 2012-02-17 Fabrice Bauzac <fabrice.bauzac@wanadoo.fr>
35244 * manual/string.texi (strchr): Change when strchrnul is
35247 2012-02-17 Dwayne Grant McConnell <decimal@us.ibm.com>
35250 * manual/locale.texi (setlocale): Document LOCPATH.
35252 2012-02-17 Joseph Myers <joseph@codesourcery.com>
35255 * manual/process.texi (execle): Move @dots{} before last argument.
35257 2012-02-17 Paul Bolle <pebolle@tiscali.nl>
35260 * manual/charset.texi (Generic Charset Conversion): Fix typo
35261 (LC_TYPE -> LC_CTYPE).
35263 2012-02-17 Nicolas Boulenguez <nicolas.boulenguez@free.fr>
35266 * manual/arith.texi (scalbn): Use @var{} on parameter names.
35267 (scalbnf): Likewise.
35268 (scalbnl): Likewise.
35269 (scalbln): Likewise.
35270 (scalblnf): Likewise.
35271 (scalblnl): Likewise.
35272 * manual/errno.texi (vwarn): Name last parameter as @var{ap}.
35273 (vwarnx): Likewise.
35276 * manual/filesys.texi (telldir): Use braces around return type.
35277 * manual/llio.texi (mmap): Add space after comma.
35278 (mmap64): Likewise.
35279 * manual/math.texi (jn): Use @var{} on parameter names.
35285 * manual/memory.texi (alloca): Remove semicolon on @deftypefun
35287 * manual/resource.texi (ulimit): Use @dots{} instead of literal
35289 (sched_get_priority_min): Remove semicolon on @deftypefun line.
35290 (sched_get_priority_max): Likewise.
35291 * manual/signal.texi (sigvec): Add space after comma.
35292 * manual/socket.texi (if_nametoindex): Use @var{} on parameter
35294 (if_indextoname): Likewise.
35295 (if_freenameindex): Likewise.
35296 (sendto): Use ',' instead of '.' in prototype.
35297 * manual/startup.texi (syscall): Use @dots{} instead of literal
35299 * manual/stdio.texi (__fpending): Separate initial words of
35300 paragraph from @deftypefun line.
35301 * manual/syslog.texi (syslog): Use @dots{} instead of literal
35303 (vsyslog): Use @var{} on parameter names.
35304 * manual/terminal.texi (stty): Use @var{} on parameter names.
35305 * manual/users.texi (getutmp): Use @var{} on parameter names.
35306 (getutmpx): Likewise.
35308 2012-02-17 Joseph Myers <joseph@codesourcery.com>
35311 * manual/stdio.texi (fopen): Fix typos in description of
35314 2012-02-17 Aurelien Jarno <aurelien@aurel32.net>
35317 * sysdeps/unix/sysv/linux/clock_settime.c: include <time.h> to
35318 get clock_id definition.
35320 2012-02-17 Thomas Schwinge <thomas@schwinge.name>
35323 * sysdeps/mach/hurd/malloc-machine.h: #include <sys/mman.h>.
35324 (madvise): Cast every argument to void on its own.
35326 2012-02-17 Joseph Myers <joseph@codesourcery.com>
35329 * manual/startup.texi (Exit Status): Fix typo.
35331 2012-02-17 Joseph Myers <joseph@codesourcery.com>
35334 * manual/examples/argp-ex1.c: Include <stdlib.h>.
35335 * manual/examples/argp-ex2.c: Likewise.
35336 * manual/examples/argp-ex3.c: Likewise.
35338 2012-02-16 Richard Henderson <rth@redhat.com>
35340 * sysdeps/s390/s390-32/crti.S, sysdeps/s390/s390-32/crtn.S: New files.
35341 * sysdeps/s390/s390-32/initfini.c: Remove.
35342 * sysdeps/s390/s390-64/crti.S, sysdeps/s390/s390-64/crtn.S:
35343 * sysdeps/s390/s390-64/initfini.c: Remove.
35345 2012-02-15 Kaz Kojima <kkojima@rr.iij4u.or.jp>
35347 * sysdeps/sh/crti.S, sysdeps/sh/crtn.S: New files, based on
35348 compiler output for sysdeps/generic/initfini.c.
35349 * sysdeps/sh/elf/initfini.c: Remove file.
35351 2012-02-16 David S. Miller <davem@davemloft.net>
35354 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_FSYNC): Define.
35356 * sysdeps/sparc/Makefile: Add -fPIC when building crt{i,n}.S
35357 * sysdeps/sparc/crti.S: New file.
35358 * sysdeps/sparc/crtn.S: New file.
35359 * sysdeps/sparc/sparc32/Makefile: Remove initfini handling.
35360 * sysdeps/sparc/sparc64/Makefile: Likewise.
35362 2012-02-15 Mike Frysinger <vapier@gentoo.org>
35365 * sysdeps/unix/sysv/linux/getcwd.c: Include sys/param.h.
35367 2012-02-15 Roland McGrath <roland@hack.frob.com>
35370 * sysdeps/mach/hurd/malloc-machine.h (madvise): New macro.
35372 * mach/devstream.c (cookie_io_functions_t): Macro removed.
35373 (write, read, close): Likewise.
35374 Patch by Aurelien Jarno <aurelien@aurel32.net>.
35376 2012-02-15 Joseph Myers <joseph@codesourcery.com>
35378 * sysdeps/unix/sysv/linux/bits/signalfd.h: New file.
35379 * sysdeps/unix/sysv/linux/sparc/bits/signalfd.h: Likewise.
35380 * sysdeps/unix/sysv/linux/sparc/sys/signalfd.h: Remove.
35381 * sysdeps/unix/sysv/linux/sys/signalfd.h: Get flags from
35383 (SFD_CLOEXEC, SFD_NONBLOCK): Don't define here.
35384 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
35387 2012-02-14 Marek Polacek <polacek@redhat.com>
35389 * sysdeps/x86_64/crti.S: New file.
35390 * sysdeps/x86_64/crtn.S: New file.
35391 * sysdeps/x86_64/elf/initfini.c: Remove file.
35393 2012-02-13 Joseph Myers <joseph@codesourcery.com>
35395 * sysdeps/unix/sysv/linux/bits/inotify.h: New file.
35396 * sysdeps/unix/sysv/linux/sparc/bits/inotify.h: Likewise.
35397 * sysdeps/unix/sysv/linux/sparc/sys/inotify.h: Remove.
35398 * sysdeps/unix/sysv/linux/sys/inotify.h: Get flags from
35400 (IN_CLOEXEC, IN_NONBLOCK): Don't define here.
35401 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
35404 2012-02-13 Joseph Myers <joseph@codesourcery.com>
35406 * sysdeps/unix/sysv/linux/bits/eventfd.h: New file.
35407 * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h: Likewise.
35408 * sysdeps/unix/sysv/linux/sparc/sys/eventfd.h: Remove.
35409 * sysdeps/unix/sysv/linux/sys/eventfd.h: Get flags from
35411 (EFD_SEMAPHORE, EFD_CLOEXEC, EFD_NONBLOCK): Don't define here.
35412 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
35415 2012-02-10 Thomas Schwinge <thomas@codesourcery.com>
35417 * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Invoke
35418 __feraiseexcept instead of feraiseexcept.
35420 * rt/tst-cpuclock1.c: Add a few comments, and error checking for
35421 nanosleep invocations.
35422 * rt/tst-cpuclock2.c: Print some values as intended, fix explanatory
35423 strings, and add error checking for a nanosleep invocations.
35425 2012-02-09 Paul Eggert <eggert@cs.ucla.edu>
35427 Replace FSF snail mail address with URLs, as per GNU coding standards.
35428 Most of the snail mail addresses were wrong anyway, and omitting
35429 them makes the source code easier to maintain. Almost all of the
35430 changes are to license notices and to locale LC_IDENTIFICATION
35431 addresses, except for this one:
35432 * manual/libc.texinfo: In "Published by", give the FSF's URL,
35433 not its snail mail address.
35435 2012-02-09 Richard Henderson <rth@twiddle.net>
35437 * sysdeps/unix/sysv/linux/internal_statvfs.c: Use <> for include
35438 of kernel-features.h.
35440 * elf/dl-tls.c (update_get_addr): Avoid pointer type mismatch warning.
35442 2012-02-08 Marek Polacek <polacek@redhat.com>
35444 * libio/libio.h: Remove _G_HAVE_SYS_CDEFS conditional.
35445 * sysdeps/mach/hurd/_G_config.h: Remove _G_HAVE_SYS_CDEFS macro.
35446 * sysdeps/gnu/_G_config.h: Likewise.
35447 * sysdeps/generic/_G_config.h: Likewise.
35449 2012-02-08 Andreas Schwab <schwab@linux-m68k.org>
35451 * sysdeps/i386/fpu/libm-test-ulps: Reduce ldouble ULPs for jn
35453 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
35455 * sysdeps/powerpc/powerpc32/crti.S: New file.
35456 * sysdeps/powerpc/powerpc32/crtn.S: New file.
35457 * sysdeps/powerpc/powerpc64/crti.S: New file.
35458 * sysdeps/powerpc/powerpc64/crtn.S: New file.
35460 * Makeconfig (have-initfini): Don't set.
35461 * config.make.in (have-initfini, need-nopic-initfini): Don't set.
35462 * configure.in (nopic_initfini): Don't substitute.
35463 * config.h.in (HAVE_INITFINI): Don't #undef.
35464 * csu/Makefile (CPPFLAGS): Don't add -DHAVE_INITFINI.
35465 * csu/gmon-start.c: Assume HAVE_INITFINI is defined.
35467 2012-02-08 Joseph Myers <joseph@codesourcery.com>
35469 Support crti.S and crtn.S provided directly by architectures.
35470 * csu/Makefile [crti.S in sysdirs] (generated): Do not append.
35471 [crti.S in sysdirs] (omit-deps): Likewise.
35472 [crti.S in sysdirs] (CFLAGS-initfini.s): Do not define variable.
35473 [crti.S in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Disable rule.
35474 [crti.S in sysdirs] ($(objpfx)initfini.s): Likewise.
35475 [crti.S in sysdirs] ($(objpfx)crti.S): Likewise.
35476 [crti.S in sysdirs] ($(objpfx)crtn.S): Likewise.
35477 [crti.S in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)): Likewise.
35478 [crti.S in sysdirs] ($(objpfx)defs.h): Likewise.
35479 [crti.S in sysdirs] (initfini.c): Remove vpath directive.
35480 * sysdeps/i386/crti.S, sysdeps/i386/crtn.S: New files, based on
35481 compiler output for sysdeps/generic/initfini.c.
35482 * sysdeps/i386/elf/Makefile: Remove file.
35483 * sysdeps/i386/Makefile (CFLAGS-initfini.s): Remove variable.
35485 2012-02-07 Marek Polacek <polacek@redhat.com>
35487 * sysdeps/generic/_G_config.h: Remove _G_ARGS macro.
35488 * sysdeps/gnu/_G_config.h: Likewise.
35489 * sysdeps/mach/hurd/_G_config.h: Likewise.
35491 2012-02-07 Marek Polacek <polacek@redhat.com>
35493 * math/Makefile (tests): Add tst-CMPLX2.
35494 * math/tst-CMPLX2.c: New file.
35496 2012-02-07 Andreas Schwab <schwab@linux-m68k.org>
35498 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
35500 * math/libm-test.inc (jn_test): Add missing L suffix.
35502 2012-02-06 Marek Polacek <polacek@redhat.com>
35504 * sysdeps/s390/asm-syntax.h: Remove __ELF__ conditionals.
35505 * sysdeps/i386/fpu/e_powf.S: Likewise.
35506 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
35507 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
35508 * sysdeps/i386/fpu/e_acosh.S: Likewise.
35509 * sysdeps/i386/fpu/e_pow.S: Likewise.
35510 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
35511 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
35512 * sysdeps/i386/fpu/s_expm1.S: Likewise.
35513 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
35514 * sysdeps/i386/fpu/e_log2.S: Likewise.
35515 * sysdeps/i386/fpu/e_log2l.S: Likewise.
35516 * sysdeps/i386/fpu/e_scalb.S: Likewise.
35517 * sysdeps/i386/fpu/e_powl.S: Likewise.
35518 * sysdeps/i386/fpu/s_log1p.S: Likewise.
35519 * sysdeps/i386/fpu/e_log10f.S: Likewise.
35520 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
35521 * sysdeps/i386/fpu/e_logl.S: Likewise.
35522 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
35523 * sysdeps/i386/fpu/s_expm1l.S: Likewise.
35524 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
35525 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
35526 * sysdeps/i386/fpu/e_log2f.S: Likewise.
35527 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
35528 * sysdeps/i386/fpu/e_log.S: Likewise.
35529 * sysdeps/i386/fpu/s_cexp.S: Likewise.
35530 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
35531 * sysdeps/i386/fpu/s_log1pl.S: Likewise.
35532 * sysdeps/i386/fpu/e_logf.S: Likewise.
35533 * sysdeps/i386/fpu/e_log10l.S: Likewise.
35534 * sysdeps/i386/fpu/e_atanh.S: Likewise.
35535 * sysdeps/i386/fpu/s_log1pf.S: Likewise.
35536 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
35537 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
35538 * sysdeps/i386/fpu/e_log10.S: Likewise.
35539 * sysdeps/i386/fpu/s_frexp.S: Likewise.
35540 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
35541 * sysdeps/i386/fpu/s_asinh.S: Likewise.
35542 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
35543 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
35544 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
35545 * sysdeps/i386/asm-syntax.h: Likewise.
35546 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
35547 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
35548 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
35549 * sysdeps/x86_64/fpu/s_expm1l.S: Likewise.
35550 * sysdeps/x86_64/fpu/s_log1pl.S: Likewise.
35551 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
35552 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
35553 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
35554 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
35555 * sysdeps/powerpc/sysdep.h: Likewise.
35556 * sysdeps/powerpc/powerpc64/sysdep.h: Likewise.
35557 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
35559 2012-02-06 Joseph Myers <joseph@codesourcery.com>
35562 * sysdeps/i386/sysdep.h (__i686): Undefine and redefine.
35564 2012-02-06 Joseph Myers <joseph@codesourcery.com>
35566 * sysdeps/i386/sysdep.h: Include <features.h>.
35567 (GET_PC_THUNK, GET_PC_THUNK_STR): Define conditionally on compiler
35570 2012-02-05 Joseph Myers <joseph@codesourcery.com>
35572 * sysdeps/i386/sysdep.h (SETUP_PIC_REG_STR, LOAD_PIC_REG_STR):
35574 * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Use
35577 2012-02-03 Joseph Myers <joseph@codesourcery.com>
35579 * sysdeps/i386/sysdep.h (GET_PC_THUNK, GET_PC_THUNK_STR): Define.
35580 (SETUP_PIC_REG): Use GET_PC_THUNK.
35581 * sysdeps/unix/sysv/linux/i386/sysdep.h: Use GET_PC_THUNK_STR
35584 2012-02-03 Joseph Myers <joseph@codesourcery.com>
35586 * sysdeps/i386/sysdep.h (SETUP_PIC_REG, LOAD_PIC_REG): Define also
35587 for non-PIC compilation.
35588 (SETUP_PIC_REG): Add .p2align directive.
35589 * sysdeps/i386/i686/memcmp.S: Use macros for PIC register setup.
35590 * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
35591 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
35592 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
35593 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
35594 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
35595 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
35596 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
35597 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
35598 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
35599 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
35600 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
35601 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
35602 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
35603 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
35604 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
35605 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
35606 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
35607 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
35608 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
35609 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
35610 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
35611 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
35612 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
35613 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
35614 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
35615 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
35616 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
35617 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
35618 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
35619 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
35620 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
35621 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
35622 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
35623 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
35624 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
35625 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
35626 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
35627 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
35628 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
35629 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
35631 2012-02-03 Joseph Myers <joseph@codesourcery.com>
35633 * math/tst-CMPLX.c: Include <stdio.h>.
35635 2012-01-31 Joseph Myers <joseph@codesourcery.com>
35637 * sysdeps/powerpc/bits/mathdef.h (float_t): Always define as
35639 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
35640 * sysdeps/sparc/bits/mathdef.h: Likewise.
35642 2012-01-31 Marek Polacek <polacek@redhat.com>
35644 * libio/libio.h: Don't define _PARAMS.
35645 * locale/programs/config.h: Don't define PARAMS.
35646 * stdlib/strtol_l.c: Likewise.
35647 (__strtol_l): Remove PARAMS from the prototype.
35649 2012-01-31 Ulrich Drepper <drepper@gmail.com>
35651 * malloc/malloc.c: Remove name translation. Don't use mixed-cap
35652 names. Just use the correct names. Remove unnecessary wrapper
35654 * malloc/arena.c: Likewise.
35655 * malloc/hooks.c: Likewise.
35657 * malloc/arena.c (arena_get2): Really don't call __get_nprocs if
35658 ARENA_TEST says not to. Simplify test for creation of a new arena.
35659 Partially based on a patch by Siddhesh Poyarekar <siddhesh@redhat.com>.
35661 2012-01-30 Ulrich Drepper <drepper@gmail.com>
35663 * elf/dl-tls.c (__tls_get_addr): Optimize by transforming all calls
35665 (update_get_addr): New function.
35666 (tls_get_addr_tail): Take GET_ADDR_ARGS parameter, remove
35667 GET_ADDR_MODULE parameter.
35669 2012-01-30 Joseph Myers <joseph@codesourcery.com>
35671 * crypt/cert.c: Remove __STDC__ conditionals.
35672 * crypt/crypt-entry.c: Likewise.
35673 * crypt/crypt_util.c: Likewise.
35674 * libio/filedoalloc.c: Likewise.
35675 * libio/fileops.c: Likewise.
35676 * libio/genops.c: Likewise.
35677 * libio/iofclose.c: Likewise.
35678 * libio/iofdopen.c: Likewise.
35679 * libio/iofopen.c: Likewise.
35680 * libio/iofopen64.c: Likewise.
35681 * libio/iogetdelim.c: Likewise.
35682 * libio/iopopen.c: Likewise.
35683 * libio/obprintf.c: Likewise.
35684 * libio/oldfileops.c: Likewise.
35685 * libio/oldiofclose.c: Likewise.
35686 * libio/oldiofdopen.c: Likewise.
35687 * libio/oldiofopen.c: Likewise.
35688 * libio/oldiopopen.c: Likewise.
35689 * libio/wfiledoalloc.c: Likewise.
35690 * libio/wgenops.c: Likewise.
35691 * locale/programs/xmalloc.c: Likewise.
35692 * misc/syslog.c: Likewise.
35693 * stdio-common/xbug.c: Likewise.
35694 * string/memchr.c: Likewise.
35695 * string/memcmp.c: Likewise.
35696 * string/memrchr.c: Likewise.
35697 * string/rawmemchr.c: Likewise.
35698 * sysdeps/posix/getcwd.c: Likewise.
35699 * time/strftime_l.c: Likewise.
35701 2012-01-30 Joseph Myers <joseph@codesourcery.com>
35703 * configure.in (libc_cv_cc_sse2avx): AC_SUBST.
35704 * config.make.in (config-cflags-sse2avx): Define.
35705 * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-slowexp-avx.c):
35708 2012-01-29 Chris Metcalf <cmetcalf@tilera.com>
35710 * scripts/config.guess: Update from upstream config git repository.
35711 * scripts/config.sub: Likewise.
35713 2012-01-28 Chris Metcalf <cmetcalf@tilera.com>
35715 * elf/elf.h (EM_TILEPRO, EM_TILEGX): New macros.
35717 (R_TILEPRO_*, R_TILEGX_*): New macros.
35719 * scripts/firstversions.awk: Fix bug in version range handling.
35721 * sysdeps/unix/sysv/linux/grantpt.c: Use <> brackets for not-cancel.h.
35723 * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Call __fxstatat64.
35725 * include/sys/epoll.h: New file.
35726 * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Mark as
35729 2012-01-28 Ulrich Drepper <drepper@gmail.com>
35731 * sysdeps/x86_64/fpu/bits/mathinline.h (__signbitl): Optimize a bit.
35732 Avoid unnecessary __WORDSIZE == 64 test.
35733 (fmaxf): Use VEX format if possible.
35738 * config.h.in: Define HAVE_SSE2AVX_SUPPORT.
35739 * math/math_private.h: Remove libc_fegetround* and
35741 * sysdeps/i386/configure.in: Check for -msse2avx.
35742 * sysdeps/x86_64/fpu/math_private.h: Use VEX-encoded instructions
35743 also if SSE2AVX is defined.
35744 Remove libc_fegetround* and libc_fesetround*.
35745 * sysdeps/x86_64/fpu/multiarch/Makefile: Compile *-avx functions
35746 if config-cflags-sse2avx is yes. Also add -DSSE2AVX to defines.
35747 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_AVX again instead
35749 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
35750 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
35751 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
35752 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
35753 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
35755 * sysdeps/x86_64/fpu/math_private.h: Simplify use of AVX instructions.
35757 2012-01-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
35759 * sysdeps/powerpc/powerpc32/a2/memcpy.S: Fix for when cache line
35761 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
35763 2012-01-27 Ulrich Drepper <drepper@gmail.com>
35766 * elf/dl-open.c (dl_open_worker): Sort objects by dependency before
35768 * Makeconfig (libm): Define.
35769 * elf/Makefile: Add rules to build and run tst-relsort1.
35770 * elf/tst-relsort1.c: New file.
35771 * elf/tst-relsort1mod1.c: New file.
35772 * elf/tst-relsort1mod2.c: New file.
35774 2012-01-27 Joseph Myers <joseph@codesourcery.com>
35776 * math/s_ldexp.c: Remove __STDC__ conditionals.
35777 * math/s_ldexpf.c: Likewise.
35778 * math/s_ldexpl.c: Likewise.
35779 * math/s_nextafter.c: Likewise.
35780 * math/s_nexttowardf.c: Likewise.
35781 * math/s_significand.c: Likewise.
35782 * math/s_significandf.c: Likewise.
35783 * math/s_significandl.c: Likewise.
35784 * math/w_jnl.c: Likewise.
35785 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
35786 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
35787 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
35788 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
35789 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
35790 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
35791 * sysdeps/ieee754/dbl-64/k_tan.c: Likewise.
35792 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
35793 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
35794 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
35795 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
35796 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
35797 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
35798 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
35799 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
35800 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
35801 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
35802 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
35803 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
35804 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
35805 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
35806 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
35807 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
35808 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
35809 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
35810 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
35811 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
35812 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
35813 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
35814 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
35815 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
35816 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
35817 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
35818 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
35819 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
35820 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
35821 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
35822 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
35823 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
35824 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
35825 * sysdeps/ieee754/k_standard.c: Likewise.
35826 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
35827 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
35828 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
35829 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
35830 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
35831 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
35832 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
35833 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
35834 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
35835 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
35836 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
35837 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
35838 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
35839 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
35840 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
35841 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
35842 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
35843 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
35844 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
35845 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
35846 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
35847 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
35848 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
35849 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
35850 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
35851 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
35852 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
35853 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
35854 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
35855 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
35856 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
35857 * sysdeps/ieee754/ldbl-128ibm/s_ceill.c: Likewise.
35858 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
35859 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
35860 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
35861 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
35862 * sysdeps/ieee754/ldbl-128ibm/s_floorl.c: Likewise.
35863 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
35864 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
35865 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Likewise.
35866 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Likewise.
35867 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
35868 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
35869 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Likewise.
35870 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
35871 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
35872 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
35873 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
35874 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
35875 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
35876 * sysdeps/ieee754/ldbl-128ibm/s_roundl.c: Likewise.
35877 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
35878 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
35879 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
35880 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
35881 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
35882 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Likewise.
35883 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
35884 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
35885 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
35886 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
35887 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
35888 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
35889 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
35890 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
35891 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
35892 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
35893 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
35894 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
35895 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
35896 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
35897 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
35898 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
35899 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
35900 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
35901 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
35902 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
35903 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
35904 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
35905 * sysdeps/ieee754/s_matherr.c: Likewise.
35906 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
35907 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
35908 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
35909 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
35911 2012-01-26 Joseph Myers <joseph@codesourcery.com>
35913 * crypt/md5.h: Remove __STDC__ conditionals.
35914 * libio/libioP.h: Likewise.
35915 * locale/programs/config.h: Likewise.
35916 * sysdeps/generic/sysdep.h: Likewise.
35917 * sysdeps/i386/asm-syntax.h: Likewise.
35918 * sysdeps/s390/asm-syntax.h: Likewise.
35919 * sysdeps/unix/sysdep.h: Likewise.
35920 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
35921 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
35923 2012-01-26 Joseph Myers <joseph@codesourcery.com>
35925 * libio/libio.h: Remove __STDC__ conditionals.
35926 * malloc/obstack.h: Likewise.
35927 * math/complex.h: Likewise.
35928 * math/math.h: Likewise.
35929 * sysdeps/generic/_G_config.h: Likewise.
35930 * sysdeps/gnu/_G_config.h: Likewise.
35931 * sysdeps/mach/hurd/_G_config.h: Likewise.
35932 * sysdeps/powerpc/bits/mathdef.h: Likewise.
35933 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
35934 * sysdeps/sparc/bits/mathdef.h: Likewise.
35936 2012-01-26 Ulrich Drepper <drepper@gmail.com>
35939 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_OSXSAVE.
35940 Clean up HAS_* macros.
35941 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): If
35942 bit_AVX is set also check OSXAVE/XCR0 and set bit_YMM_Usable if
35944 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_YMM_USABLE, not
35946 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
35947 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
35948 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
35949 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
35950 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
35952 2012-01-25 Joseph Myers <joseph@codesourcery.com>
35954 * elf/tst-unique3.cc (gets): Remove declaration.
35955 * elf/tst-unique3lib.cc (gets): Likewise.
35956 * elf/tst-unique3lib2.cc (gets): Likewise.
35957 * elf/tst-unique4.cc (gets): Likewise.
35959 2012-01-24 Ulrich Drepper <drepper@gmail.com>
35961 * include/stdio.h: Add C++ protection. Add gets declarations and
35963 * debug/tst-chk1.c: Don't declare gets here.
35964 * stdio-common/tst-gets.c: Likewise.
35966 2012-01-24 Joseph Myers <joseph@codesourcery.com>
35968 * posix/glob: Remove directory.
35970 2012-01-24 Joseph Myers <joseph@codesourcery.com>
35972 * wcsmbs/Makefile (tst-c16c32-1-ENV): Define.
35974 2012-01-22 Pino Toscano <toscano.pino@tiscali.it>
35976 * sysdeps/mach/hurd/socket.c (__socket): Return EAFNOSUPPORT instead
35977 of the non-standard EPFNOSUPPORT.
35979 2011-12-26 Samuel Thibault <samuel.thibault@ens-lyon.org>
35981 * sysdeps/mach/hurd/mmap.c (__mmap): When MAPADDR is nonzero, try
35982 __vm_allocate and __vm_map with ANYWHERE set to 0 first, and try with
35983 ANYWHERE set to 1 only on KERN_NO_SPACE error.
35985 2012-01-21 Ulrich Drepper <drepper@gmail.com>
35987 * wcsmbs/uchar.h: Test __STDC_VERSION__.
35989 2012-01-20 Ulrich Drepper <drepper@gmail.com>
35991 * nscd/aicache.c (addhstaiX): Do not cache negative results of
35993 * nscd/grpcache.c (cache_addgr): Likewise.
35994 * nscd/hstcache.c (cache_addhst): Likewise.
35995 * nscd/initgrcache.c (addinitgroupsX): Likewise.
35996 * nscd/pwdcache.c (cache_addpw): Likewise.
35997 * nscd/servicescache.c (cache_addserv): Likewise.
35999 2012-01-16 Ulrich Drepper <drepper@gmail.com>
36001 * malloc/malloc.c: Various cleanups.
36002 * malloc/hooks.c: Likewise.
36004 * stdlib/Makefile (tests): Add bug-fmtmsg1.
36005 * stdlib/bug-fmtmsg1.c: New file.
36007 * stdlib/fmtmsg.c (init): Add missing unlock.
36008 Patch by Peng Haitao <penght@cn.fujitsu.com>.
36010 2012-01-12 Marek Polacek <polacek@redhat.com>
36012 * libio/bits/stdio2.h: Do not define gets for ISO C11, ISO C++11,
36015 2012-01-04 Will Schmidt <will_schmidt@vnet.ibm.com>
36017 * powerpc/powerpc32/sysdep.h: Add GLUE and GENERATE_GOT_LABEL macros.
36018 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Call
36019 macro to ensure uniqueness of label name.
36020 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
36021 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
36023 2012-01-11 Ulrich Drepper <drepper@gmail.com>
36025 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: New file.
36027 * sysdeps/ieee754/dbl-64/s_scalbln.c: Add branch prediction.
36028 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
36029 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
36030 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: New file.
36032 2012-01-10 Ulrich Drepper <drepper@gmail.com>
36034 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: New file.
36036 * sysdeps/ieee754/dbl-64/s_modf.c: Add branch prediction.
36037 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
36038 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
36040 * math/bits/mathcalls.h: Add const attribute to fmin and fmax.
36042 * sysdeps/ieee754/dbl-64/s_scalbn.c: Add branch prediction.
36043 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
36044 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
36045 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: New file.
36047 * math/bits/math-finite.h: Add ldexp support.
36049 2012-01-10 Marek Polacek <polacek@redhat.com>
36051 * locale/programs/localedef.h (show_archive_content): Add noreturn
36054 2012-01-09 Ulrich Drepper <drepper@gmail.com>
36056 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Add branch prediction.
36058 2012-01-08 Ulrich Drepper <drepper@gmail.com>
36060 * io/bits/poll2.h: Add __BEGIN/__END_DECLS.
36062 * io/Makefile (headers): Add bits/poll2.h.
36064 2011-01-05 Will Schmidt <will_schmidt@vnet.ibm.com>
36066 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Fix a
36067 typo #include statement.
36069 2012-01-08 Ulrich Drepper <drepper@gmail.com>
36071 * include/sys/cdefs.h: Define __attribute_alloc_size.
36072 * catgets/gencat.c: Add alloc_size attribute and apply consistently
36073 the malloc attribute to xmalloc, xcalloc, xrealloc, and xstrdup.
36074 * elf/pldd.c: Likewise.
36075 * iconv/iconv_charmap.c: Likewise.
36076 * iconv/iconvconfig.c: Likewise.
36077 * iconv/strtab.c: Likewise.
36078 * locale/programs/locale.c: Likewise.
36079 * locale/programs/localedef.h: Likewise.
36080 * locale/programs/simple-hash.c: Likewise.
36081 * nscd/nscd.h: Likewise.
36082 * nss/makedb.c: Likewise.
36083 * sysdeps/generic/ldconfig.h: Likewise.
36084 * locale/programs/localedef.c: Remove xmalloc prototype.
36085 * nscd/mem.c: Remove xmalloc and xcalloc prototypes.
36087 2012-01-05 Paul Pluzhnikov <ppluzhnikov@google.com>
36089 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Use alloca when
36092 2012-01-08 Ulrich Drepper <drepper@gmail.com>
36094 * math/Makefile (tests): Add tst-CMPLX.
36095 * math/tst-CMPLX.c: New file.
36097 * math/complex.h (CMPLXL): Fix typo.
36099 * debug/Makefile (routines): Add poll_chk and ppoll_chk.
36100 * debug/Versions: Export __pool_chk and __ppoll_chk from libc for
36102 * debug/tst-chk1.c: Add poll and ppoll tests.
36103 * io/sys/poll.h: Include bits/poll2.h for _FORTIFY_SOURCE.
36104 * include/sys/poll.h: Add hidden proto for ppoll.
36105 * sysdeps/unix/sysv/linux/ppoll.c: Add hidden def.
36106 * sysdeps/mach/hurd/ppoll.c: Likewise.
36107 * io/ppoll.c: Likewise.
36108 * debug/poll_chk.c: New file.
36109 * debug/ppoll_chk.c: New file.
36110 * include/bits/poll2.h: New file.
36111 * io/bits/poll2.h: New file.
36114 * math/complex.h (CMPLX, CMPLXF, CMPLXL): Define.
36116 * configure.in: static is always set to yes. Remove.
36117 * config.make.in: Don't set build-static.
36118 * Makeconfig: Remove use of build-static.
36119 * dlfcn/Makefile: Likewise.
36120 * elf/Makefile: Likewise.
36121 * math/Makefile: Likewise.
36122 * misc/Makefile: Likewise.
36123 * nptl/Makefile: Likewise.
36124 * sysdeps/mach/hurd/Makefile: Likewise.
36126 * configure.in: PWD_P is not used anymore.
36127 * config.make.in: Remove PWD_P entry.
36129 * configure.in: Remove last remnants of RANLIB.
36130 No need to check for signed size_t anymore.
36131 Don't set libc_commonpagesize and libc_relro_required here for Alpha
36133 Remove __builtin_expect test because we require at least gcc 3.4.
36134 * aclocal.m4: Likewise.
36136 * wcsmbs/mbrtoc16.c: Implement using towc function.
36137 * wcsmbs/wcsmbsload.h: No need for toc16 and fromc16 functions.
36138 * wcsmbs/wcsmbsload.c: Likewise.
36139 * iconv/gconv_simple.c: Likewise.
36140 * iconv/gconv_int.h: Likewise.
36141 * iconv/gconv_builtin.h: Likewise.
36142 * iconv/iconv_prog.c: Remove CHAR16 handling.
36144 * wcsmbs/c16rtomb.c: Remove #if 0'ed code.
36146 * wcsmbs/mbrtowc.c: Better check for invalid inputs.
36148 * configure.in: Remove --with-elf and --enable-bounded options.
36149 Dont set base_machine for ia64. More non-ELF conditions removed.
36150 Remove testing and setting of leading underscore information.
36151 * config.make.in (build-bounded): Set to no.
36152 * config.h.in: Remove NO_UNDERSCORES entry.
36153 * include/libc-symbols.h: Don't define HAVE_WEAK_SYMBOLS. ELF has
36155 * csu/start.c: Remove !NO_UNDERSCORE code.
36156 * locale/localeinfo.h: Likewise.
36157 * sysdeps/generic/machine-gmon.h: Likewise.
36158 * sysdeps/generic/sysdep.h: Likewise.
36159 * sysdeps/i386/sysdep.h: Likewise.
36160 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
36161 * sysdeps/mach/sysdep.h: Likewise.
36162 * sysdeps/s390/s390-32/sysdep.h: Likewise.
36163 * sysdeps/s390/s390-64/sysdep.h: Likewise.
36164 * sysdeps/sh/sysdep.h: Likewise.
36165 * sysdeps/sparc/sparc32/alloca.S: Likewise.
36166 * sysdeps/unix/i386/sysdep.S: Likewise.
36167 * sysdeps/unix/sparc/start.c: Likewise.
36168 * sysdeps/unix/sparc/sysdep.S: Likewise.
36169 * sysdeps/unix/sparc/sysdep.h: Likewise.
36170 * sysdeps/unix/start.c: Likewise.
36171 * sysdeps/unix/x86_64/sysdep.S: Likewise.
36172 * sysdeps/x86_64/sysdep.h: Likewise.
36174 2012-01-07 Ulrich Drepper <drepper@gmail.com>
36177 * misc/sys/cdefs.h: Remove __const, __signed, and __volatile definition
36179 * argp/argp-fmtstream.h: Use const instead __const.
36180 * argp/argp.h: Likewise.
36181 * assert/assert.h: Likewise.
36182 * bits/fenv.h: Likewise.
36183 * bits/sched.h: Likewise.
36184 * bits/sigset.h: Likewise.
36185 * bits/sigthread.h: Likewise.
36186 * catgets/nl_types.h: Likewise.
36187 * conform/data/pthread.h-data: Likewise.
36188 * crypt/crypt-private.h: Likewise.
36189 * crypt/crypt.h: Likewise.
36190 * crypt/crypt_util.c: Likewise.
36191 * ctype/ctype.h: Likewise.
36192 * debug/execinfo.h: Likewise.
36193 * debug/mbsnrtowcs_chk.c: Likewise.
36194 * debug/mbsrtowcs_chk.c: Likewise.
36195 * debug/wcsnrtombs_chk.c: Likewise.
36196 * debug/wcsrtombs_chk.c: Likewise.
36197 * debug/wcstombs_chk.c: Likewise.
36198 * dirent/dirent.h: Likewise.
36199 * dlfcn/dlfcn.h: Likewise.
36200 * elf/neededtest4.c: Likewise.
36201 * grp/grp.h: Likewise.
36202 * gshadow/gshadow.h: Likewise.
36203 * iconv/gconv.h: Likewise.
36204 * iconv/gconv_int.h: Likewise.
36205 * iconv/gconv_simple.c: Likewise.
36206 * iconv/iconv.h: Likewise.
36207 * iconv/loop.c: Likewise.
36208 * iconv/skeleton.c: Likewise.
36209 * include/aio.h: Likewise.
36210 * include/aliases.h: Likewise.
36211 * include/argz.h: Likewise.
36212 * include/arpa/inet.h: Likewise.
36213 * include/assert.h: Likewise.
36214 * include/dirent.h: Likewise.
36215 * include/dlfcn.h: Likewise.
36216 * include/execinfo.h: Likewise.
36217 * include/fcntl.h: Likewise.
36218 * include/fenv.h: Likewise.
36219 * include/glob.h: Likewise.
36220 * include/grp.h: Likewise.
36221 * include/libintl.h: Likewise.
36222 * include/mntent.h: Likewise.
36223 * include/netdb.h: Likewise.
36224 * include/pwd.h: Likewise.
36225 * include/rpc/netdb.h: Likewise.
36226 * include/sched.h: Likewise.
36227 * include/search.h: Likewise.
36228 * include/shadow.h: Likewise.
36229 * include/signal.h: Likewise.
36230 * include/stdio.h: Likewise.
36231 * include/stdlib.h: Likewise.
36232 * include/string.h: Likewise.
36233 * include/sys/socket.h: Likewise.
36234 * include/sys/stat.h: Likewise.
36235 * include/sys/statfs.h: Likewise.
36236 * include/sys/statvfs.h: Likewise.
36237 * include/sys/syslog.h: Likewise.
36238 * include/sys/time.h: Likewise.
36239 * include/sys/uio.h: Likewise.
36240 * include/time.h: Likewise.
36241 * include/unistd.h: Likewise.
36242 * include/utmp.h: Likewise.
36243 * include/wchar.h: Likewise.
36244 * include/wctype.h: Likewise.
36245 * inet/aliases.h: Likewise.
36246 * inet/arpa/inet.h: Likewise.
36247 * inet/netinet/ether.h: Likewise.
36248 * inet/netinet/in.h: Likewise.
36249 * intl/libintl.h: Likewise.
36250 * io/bits/fcntl2.h: Likewise.
36251 * io/fcntl.h: Likewise.
36252 * io/ftw.h: Likewise.
36253 * io/sys/poll.h: Likewise.
36254 * io/sys/stat.h: Likewise.
36255 * io/sys/statfs.h: Likewise.
36256 * io/sys/statvfs.h: Likewise.
36257 * io/utime.h: Likewise.
36258 * libio/bits/stdio.h: Likewise.
36259 * libio/bits/stdio2.h: Likewise.
36260 * libio/libio.h: Likewise.
36261 * libio/libioP.h: Likewise.
36262 * libio/stdio.h: Likewise.
36263 * locale/lc-ctype.c: Likewise.
36264 * locale/locale.h: Likewise.
36265 * login/utmp.h: Likewise.
36266 * malloc/arena.c: Likewise.
36267 * malloc/malloc.c: Likewise.
36268 * malloc/malloc.h: Likewise.
36269 * malloc/mcheck.c: Likewise.
36270 * malloc/mtrace.c: Likewise.
36271 * math/bits/mathcalls.h: Likewise.
36272 * math/fenv.h: Likewise.
36273 * math/math_private.h: Likewise.
36274 * misc/bits/error.h: Likewise.
36275 * misc/bits/syslog.h: Likewise.
36276 * misc/err.h: Likewise.
36277 * misc/error.h: Likewise.
36278 * misc/fstab.h: Likewise.
36279 * misc/mntent.h: Likewise.
36280 * misc/regexp.h: Likewise.
36281 * misc/search.h: Likewise.
36282 * misc/sgtty.h: Likewise.
36283 * misc/sys/mman.h: Likewise.
36284 * misc/sys/syslog.h: Likewise.
36285 * misc/sys/uio.h: Likewise.
36286 * misc/sys/xattr.h: Likewise.
36287 * misc/ttyent.h: Likewise.
36288 * nis/rpcsvc/ypclnt.h: Likewise.
36289 * nss/nss.h: Likewise.
36290 * posix/bits/unistd.h: Likewise.
36291 * posix/fnmatch.h: Likewise.
36292 * posix/glob.h: Likewise.
36293 * posix/sched.h: Likewise.
36294 * posix/spawn.h: Likewise.
36295 * posix/sys/wait.h: Likewise.
36296 * posix/unistd.h: Likewise.
36297 * posix/wordexp.h: Likewise.
36298 * pwd/pwd.h: Likewise.
36299 * resolv/netdb.h: Likewise.
36300 * resource/sys/resource.h: Likewise.
36301 * rt/aio.h: Likewise.
36302 * rt/bits/mqueue2.h: Likewise.
36303 * rt/mqueue.h: Likewise.
36304 * shadow/shadow.h: Likewise.
36305 * signal/signal.h: Likewise.
36306 * socket/send.c: Likewise.
36307 * socket/sendto.c: Likewise.
36308 * socket/sys/socket.h: Likewise.
36309 * stdio-common/printf.h: Likewise.
36310 * stdlib/bits/stdlib.h: Likewise.
36311 * stdlib/fmtmsg.h: Likewise.
36312 * stdlib/monetary.h: Likewise.
36313 * stdlib/stdlib.h: Likewise.
36314 * stdlib/ucontext.h: Likewise.
36315 * streams/stropts.h: Likewise.
36316 * string/argz.h: Likewise.
36317 * string/bits/string2.h: Likewise.
36318 * string/string.h: Likewise.
36319 * string/strings.h: Likewise.
36320 * sunrpc/rpc/auth.h: Likewise.
36321 * sunrpc/rpc/auth_des.h: Likewise.
36322 * sunrpc/rpc/clnt.h: Likewise.
36323 * sunrpc/rpc/netdb.h: Likewise.
36324 * sunrpc/rpc/pmap_clnt.h: Likewise.
36325 * sunrpc/rpc/xdr.h: Likewise.
36326 * sysdeps/generic/inttypes.h: Likewise.
36327 * sysdeps/generic/net/if.h: Likewise.
36328 * sysdeps/generic/sys/swap.h: Likewise.
36329 * sysdeps/gnu/net/if.h: Likewise.
36330 * sysdeps/gnu/utmpx.h: Likewise.
36331 * sysdeps/i386/fpu/bits/fenv.h: Likewise.
36332 * sysdeps/i386/i486/bits/string.h: Likewise.
36333 * sysdeps/ieee754/ldbl-opt/nldbl-strtold_l.c: Likewise.
36334 * sysdeps/s390/bits/string.h: Likewise.
36335 * sysdeps/s390/fpu/bits/fenv.h: Likewise.
36336 * sysdeps/sparc/fpu/bits/fenv.h: Likewise.
36337 * sysdeps/sparc/fpu/bits/mathinline.h: Likewise.
36338 * sysdeps/unix/sysv/linux/bits/resource.h: Likewise.
36339 * sysdeps/unix/sysv/linux/bits/sched.h: Likewise.
36340 * sysdeps/unix/sysv/linux/bits/sigset.h: Likewise.
36341 * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
36342 * sysdeps/unix/sysv/linux/bits/sys_errlist.h: Likewise.
36343 * sysdeps/unix/sysv/linux/bits/uio.h: Likewise.
36344 * sysdeps/unix/sysv/linux/i386/glob64.c: Likewise.
36345 * sysdeps/unix/sysv/linux/i386/olddirent.h: Likewise.
36346 * sysdeps/unix/sysv/linux/preadv.c: Likewise.
36347 * sysdeps/unix/sysv/linux/prlimit.c: Likewise.
36348 * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
36349 * sysdeps/unix/sysv/linux/readv.c: Likewise.
36350 * sysdeps/unix/sysv/linux/s390/s390-32/utmp-convert.h: Likewise.
36351 * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
36352 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
36353 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
36354 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
36355 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
36356 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Likewise.
36357 * sysdeps/unix/sysv/linux/sys/acct.h: Likewise.
36358 * sysdeps/unix/sysv/linux/sys/epoll.h: Likewise.
36359 * sysdeps/unix/sysv/linux/sys/mount.h: Likewise.
36360 * sysdeps/unix/sysv/linux/sys/swap.h: Likewise.
36361 * sysdeps/unix/sysv/linux/sys/timerfd.h: Likewise.
36362 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
36363 * sysdeps/x86_64/fpu/bits/fenv.h: Likewise.
36364 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Likewise.
36365 * sysdeps/x86_64/strncase_l-nonascii.c: Likewise.
36366 * sysvipc/sys/ipc.h: Likewise.
36367 * sysvipc/sys/msg.h: Likewise.
36368 * sysvipc/sys/sem.h: Likewise.
36369 * sysvipc/sys/shm.h: Likewise.
36370 * termios/termios.h: Likewise.
36371 * time/sys/time.h: Likewise.
36372 * time/time.h: Likewise.
36373 * wcsmbs/bits/wchar2.h: Likewise.
36374 * wcsmbs/uchar.h: Likewise.
36375 * wcsmbs/wchar.h: Likewise.
36376 * wctype/wctype.h: Likewise.
36379 * Makeconfig: Remove all but ELF support including AIX support.
36380 * Makerules: Likewise.
36381 * config.h.in: Likewise.
36382 * config.make.in: Likewise.
36383 * configure: Likewise.
36384 * configure.in: Likewise.
36385 * csu/Makefile: Likewise.
36386 * csu/version.c: Likewise.
36387 * debug/Makefile: Likewise.
36388 * dlfcn/Makefile: Likewise.
36389 * elf/Makefile: Likewise.
36390 * extra-lib.mk: Likewise.
36391 * iconv/Makefile: Likewise.
36392 * include/libc-symbols.h: Likewise.
36393 * include/shlib-compat.h: Likewise.
36394 * resolv/Makefile: Likewise.
36395 * resolv/res_libc.c: Likewise.
36396 * rt/Makefile: Likewise.
36397 * sysdeps/i386/asm-syntax.h: Likewise.
36398 * sysdeps/i386/sysdep.h: Likewise.
36399 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
36400 * sysdeps/mach/sysdep.h: Likewise.
36401 * sysdeps/powerpc/powerpc32/Makefile: Likewise.
36402 * sysdeps/powerpc/powerpc64/Makefile: Likewise.
36403 * sysdeps/s390/asm-syntax.h: Likewise.
36404 * sysdeps/s390/s390-32/sysdep.h: Likewise.
36405 * sysdeps/s390/s390-64/sysdep.h: Likewise.
36406 * sysdeps/sh/sysdep.h: Likewise.
36407 * sysdeps/unix/sparc/sysdep.h: Likewise.
36408 * sysdeps/wordsize-32/divdi3.c: Likewise.
36409 * sysdeps/x86_64/sysdep.h: Likewise.
36411 * argp/Versions: Remove _argp_unlock_xxx.
36414 * abilist/ld.abilist: Update. Adjust for removal of tls option.
36415 * abilist/libBrokenLocale.abilist: Likewise.
36416 * abilist/libanl.abilist: Likewise.
36417 * abilist/libc.abilist: Likewise.
36418 * abilist/libcrypt.abilist: Likewise.
36419 * abilist/libdl.abilist: Likewise.
36420 * abilist/libm.abilist: Likewise.
36421 * abilist/libnsl.abilist: Likewise.
36422 * abilist/libpthread.abilist: Likewise.
36423 * abilist/libresolv.abilist: Likewise.
36424 * abilist/librt.abilist: Likewise.
36425 * abilist/libthread_db.abilist: Likewise.
36426 * abilist/libutil.abilist: Likewise.
36427 * abilist/libnss_db.abilist: New file.
36429 * scripts/abilist.awk: Add support for indirect functions.
36431 * sysdeps/unix/sysv/linux/configure.in: Remove m68k support.
36433 * sysdeps/generic/ldsodefs.h: Remove Alpha support.
36435 * shlib-versions: Remove entries for ports architectures.
36437 * elf/tls-macros.h: Remove support for Alpha and IA-64. Should be in
36439 * elf/stackguard-macros.h: Remove support for IA-64.
36440 * elf/tst-auditmod1.c: Likewise.
36441 * sysdeps/generic/ldsodefs.h: Likewise.
36443 * sysdeps/unix/sysv/linux/configure.in: Ports should define
36444 libc_cv_gcc_unwind_find_fde and arch_minimum_kernel in their
36448 * configure.in: Remove --enable-omitfp support.
36450 * config.make.in: Likewise.
36451 * Makeconfig: Likewise.
36452 * manual/install.texi: Likewise.
36454 In case anyone cares, the IA-64 architecture could move to ports.
36455 * sysdeps/ia64/*: Removed.
36456 * sysdeps/unix/sysv/linux/ia64/*: Removed.
36457 * sysdeps/unix/sysv/linux/kernel-features.h: Remove IA-64 support.
36460 * configure.in: Remove entries for unsupported architectures.
36463 * iconv/gconv_builtin.h: Use CHAR16 for the char16_t conversions.
36464 * iconv/gconv_simple.c: Rename char16_t routines. Add char16_t<->utf8
36466 * iconv/gconv_int.h: Adjust prototypes for char16_t routines.
36467 * iconv/iconv_prog.c: Recognize CHAR16 as internal name.
36468 * wcsmbs/c16rtomb.c: Fix a few problems. Disable all the code and
36469 fall back to using wcrtomb.
36470 * wcsmbs/mbrtoc16.: Fix implementation to handle real conversions.
36471 * wcsmbs/wcsmbsload.c: Make char16 routines optional. Adjust for
36473 * wcsmbs/Makefile (tests): Add tst-c16c32-1:
36474 * wcsmbs/tst-c16c32-1.c: New file.
36476 * wcsmbs/wcrtomb.c: Use MB_LEN_MAX instead of MB_CUR_MAX for sizing
36479 * libio/stdio.h: Do not declare gets at all for _GNU_SOURCE.
36481 * elf/tst-unique3.cc: Add explicit declaration of gets.
36482 * elf/tst-unique3lib.cc: Likewise.
36483 * elf/tst-unique3lib2.cc: Likewise.
36484 * elf/tst-unique4.cc: Likewise.
36486 * string/test-strcpy.c (do_one_test): Fix format string for WIDE use.
36488 2012-01-06 Joseph Myers <joseph@codesourcery.com>
36491 * assert/assert.h (static_assert): Don't define for C++.
36492 * libio/stdio.h (gets): Do declare for C++ <= C++11.
36493 * wcsmbs/uchar.h (char16_t, char32_t): Don't typedef for C++11.
36495 2012-01-03 Ulrich Drepper <drepper@gmail.com>
36497 * iconv/loop.c (single loop): Fix assertion in storing of
36500 * posix/regcomp.c (init_word_char): Optimize a bit for sane encodings.
36502 2012-01-01 Ulrich Drepper <drepper@gmail.com>
36504 * posix/getconf.c: Update copyright year.
36505 * nss/getent.c: Likewise.
36506 * nss/makedb.c: Likewise.
36507 * iconv/iconvconfig.c: Likewise.
36508 * iconv/iconv_prog.c: Likewise.
36509 * elf/ldconfig.c: Likewise.
36510 * elf/pldd.c: Likewise.
36511 * elf/sotruss.ksh: Likewise.
36512 * catgets/gencat.c: Likewise.
36513 * csu/version.c: Likewise.
36514 * elf/ldd.bash.in: Likewise.
36515 * elf/sprof.c (print_version): Likewise.
36516 * locale/programs/locale.c: Likewise.
36517 * locale/programs/localedef.c: Likewise.
36518 * login/programs/pt_chown.c: Likewise.
36519 * nscd/nscd.c (print_version): Likewise.
36520 * debug/xtrace.sh: Likewise.
36521 * malloc/memusage.sh: Likewise.
36522 * malloc/mtrace.pl: Likewise.
36523 * debug/catchsegv.sh: Likewise.
36525 2011-12-30 Jakub Jelinek <jakub@redhat.com>
36527 * posix/regex_internal.c (re_string_fetch_byte_case): Remove
36530 2011-12-24 Ulrich Drepper <drepper@gmail.com>
36533 * iconv/gconv_simple.c: Add ASCII<->UTF-16 transformations.
36534 * iconv/gconv_builtin.h: Add entries for internal ASCII<->UTF-16
36536 * iconv/gconv_int.h: Likewise.
36537 * wcsmbs/Makefile (routines): Add mbrtoc16 and c16rtomb.
36538 * wcsmbs/Versions: Export mbrtoc16, c16rtomb, mbrtoc32, c32rtomb
36539 from libc for GLIBC_2.16.
36540 * wcsmbs/mbrtowc.c: Define mbrtoc32 alias.
36541 * wcsmbs/wcrtomb.c: Define c32rtomb alias.
36542 * wcsmbs/uchar.h: Really define mbstate_t.
36543 * wcsmbs/wchar.h: Allow defining mbstate_t in uchar.h.
36544 * wcsmbs/c16rtomb.c: New file.
36545 * wcsmbs/mbrtoc16.c: New file.
36546 * wcsmbs/wcsmbsload.c: Add static definitions for c16 conversions
36547 for C/POSIX locale.
36548 (__wcsmbs_load_conv): Do not fill in c16 routines yet.
36549 * wcsmbs/wcsmbsload.h (gconv_fcts): Add entries for c16 routines.
36551 * wcsmbs/wchar.h: Add missing __restrict.
36553 2011-12-23 Ulrich Drepper <drepper@gmail.com>
36556 * time/Makefile (routines): Add timespec_get.
36557 * time/Versions: Export timespec_get from libc for GLIBC_2.16.
36558 * time/time.h: Define TIME_UTC and declare timespec_get. Define
36559 timespec for ISO C11.
36560 * time/timespec_get.c: New file.
36561 * sysdeps/unix/sysv/linux/timespec_get.c: New file.
36562 * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: New file.
36565 * malloc/malloc.c: Define alias aligned_alloc for public_mEMALIGn.
36566 * stdlib/stdlib.h: Declare aligned_alloc.
36567 * Versions.def: Add GLIBC_2.16 for libc.
36568 * malloc/Versions: Export aligned_alloc from libc for GLIBC_2.16.
36571 * stdlib/stdlib.h: Make at_quick_exit and quick_exit available for
36574 * include/features.h: Define __USE_ISOCXX11 when compiling ISO C++11
36578 * libio/stdio.h: Do not declare gets for ISO C11 and _GNU_SOURCE.
36581 * assert/assert.h (static_assert): Define.
36583 * version.h: Update for 2.16 development version.
36586 * include/features.h: Handle __STDC_VERSION__ >= 201112 and
36589 * version.h (RELEASE): Bump for 2.15 release.
36590 * include/features.h (__GLIBC_MINOR__): Bump to 15.
36592 * sysdeps/x86_64/dl-machine.h: Fix typos in comments.
36593 Patch by Marek Polacek <mpolacek@redhat.com>.
36595 * bits/byteswap.h: Protect long long constants with __extension__.
36596 * sysdeps/i386/bits/byteswap.h: Likewise.
36597 * sysdeps/ia64/bits/byteswap.h: Likewise.
36598 * sysdeps/s390/bits/byteswap.h: Likewise.
36599 * sysdeps/x86_64/bits/byteswap.h: Likewise.
36601 2011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
36604 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Fix overrun in
36605 destination buffer.
36606 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
36608 2011-12-23 Marek Polacek <polacek@redhat.com>
36610 * elf/dl-addr.c (determine_info): Add inline keyword.
36611 * elf/tst-auditmod4b.c (check_avx): Likewise.
36612 * elf/tst-auditmod6b.c (check_avx): Likewise.
36613 * elf/tst-auditmod6c.c (check_avx): Likewise.
36614 * elf/tst-auditmod7b.c (check_avx): Likewise.
36616 2011-12-23 Ulrich Drepper <drepper@gmail.com>
36618 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Also enable for
36621 2011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
36624 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Fix wrong copying
36625 processing for last bytes.
36627 2011-08-06 Bruno Haible <bruno@clisp.org>
36630 * iconvdata/cp1258.c (comp_table_data): Combine U+00A8 U+0301 to
36631 U+0385, not to U+1FEE.
36634 * iconvdata/tcvn5712-1.c (comp_table_data): Remove useless and wrong
36635 entry for U+00A5 U+0301.
36637 2011-12-22 Ulrich Drepper <drepper@gmail.com>
36640 * inet/getnameinfo.c (getnameinfo): Return EAI_OVERFLOW if the
36641 buffer for the output is too small.
36643 * sysdeps/i386/fpu/bits/fenv.h [__SSE_MATH__]: Add feraiseexcept
36647 * sysdeps/i386/fpu/fgetexcptflg.c (__fegetexceptflag): Also return
36648 SSE flags if possible.
36650 2011-12-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
36653 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Fix wrong copying
36654 processing for last bytes.
36656 2011-12-22 Joseph Myers <joseph@codesourcery.com>
36658 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants)
36659 (syscall-list-default-options, syscall-list-default-condition)
36660 (syscall-list-includes): Define.
36661 ($(objpfx)syscall-%.h $(objpfx)syscall-%.d): Support arbitrary
36662 list of ABIs and options and #if conditions for each ABI. Do not
36663 handle common syscalls between ABIs specially.
36664 * sysdeps/unix/sysv/linux/powerpc/Makefile (64bit-predefine):
36666 (syscall-list-variants, syscall-list-32bit-options)
36667 (syscall-list-32bit-condition, syscall-list-64bit-options)
36668 (syscall-list-64bit-condition): Define.
36669 * sysdeps/unix/sysv/linux/s390/Makefile (64bit-predefine): Remove.
36670 (syscall-list-variants, syscall-list-32bit-options)
36671 (syscall-list-32bit-condition, syscall-list-64bit-options)
36672 (syscall-list-64bit-condition): Define.
36673 * sysdeps/unix/sysv/linux/sparc/Makefile (64bit-predefine):
36675 (syscall-list-variants, syscall-list-32bit-options)
36676 (syscall-list-32bit-condition, syscall-list-64bit-options)
36677 (syscall-list-64bit-condition): Define.
36678 * sysdeps/unix/sysv/linux/x86_64/Makefile (64bit-predefine):
36680 (syscall-list-variants, syscall-list-32bit-options)
36681 (syscall-list-32bit-condition, syscall-list-64bit-options)
36682 (syscall-list-64bit-condition): Define.
36684 2011-12-22 Ulrich Drepper <drepper@gmail.com>
36686 * locale/iso-639.def: Add brx entry.
36689 * malloc/mtrace.c (tr_freehook): Avoid unnecessary unlock/lock.
36690 Proposed by Mariusz_Cukr <marcukr@op.pl>.
36692 * sysdeps/x86_64/fpu/bits/fenv.h: Use __REDIRECT_NTH for
36693 __feraiseexcept_renamed.
36695 2011-12-21 Ulrich Drepper <drepper@gmail.com>
36698 * sysdeps/unix/sysv/linux/sys/epoll.h: Initialize EPOLLONESHOT and
36699 EPOLLET with unsigned values.
36700 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
36701 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
36703 * math/s_cacosh.c: Use Kahan's formula if the subtraction could lead
36704 to large cancellation.
36705 * math/s_cacoshf.c: Likewise.
36706 * math/s_cacoshl.c: Likewise.
36708 2011-11-18 Richard B. Kreckel <kreckel@ginac.de>
36712 * math/s_cacosh.c: Fix rare miscomputation in cacosh().
36713 * math/s_cacoshf.c: Likewise.
36714 * math/s_cacoshl.c: Likewise.
36716 2011-12-21 Ulrich Drepper <drepper@gmail.com>
36719 * iconv/gconv.h: Define __GCONV_SWAP.
36720 * iconvdata/unicode.c: The swap bit must be stored in __flags.
36721 * iconvdata/utf-16.c: Likewise.
36722 * iconvdata/utf-32.c: Likewise.
36724 2011-12-21 Andreas Schwab <schwab@linux-m68k.org>
36727 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Clear lowest limb of
36728 numerator after shifting it by one limb.
36730 2011-12-19 Rafael Ávila de Espíndola <rafael.espindola@gmail.com>
36732 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Define it only
36733 under [__USE_EXTERN_INLINES].
36735 2011-12-17 Ulrich Drepper <drepper@gmail.com>
36738 * stdio-common/vfprintf.c (vfprintf): Fix extension of specs array.
36740 2011-11-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
36742 * sysdeps/powerpc/Makefile: Added locale-defines.sym generation.
36743 * sysdeps/powerpc/locale-defines.sym: Locale definitions for strcasecmp
36745 * sysdeps/powerpc/powerpc32/power7/Makefile: New file.
36746 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: New file.
36747 * sysdeps/powerpc/powerpc32/power7/strcasecmp_l.S: New file.
36748 * sysdeps/powerpc/powerpc64/power7/Makefile: Added unroll-loop option
36749 for strncasecmp/strncasecmp_l compilation.
36750 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: New file.
36751 * sysdeps/powerpc/powerpc64/power7/strcasecmp_l.S: New file.
36753 2011-12-08 Marek Polacek <mpolacek@redhat.com>
36756 * math/bits/math-finite.h: Use __REDIRECT_NTH and __NTH instead
36759 2011-12-17 Ulrich Drepper <drepper@gmail.com>
36762 * time/tzfile.c (__tzfile_read): Check values from file header.
36764 2011-11-21 Will Schmidt <will_schmidt@vnet.ibm.com>
36766 * powerpc/powerpc32/sysdep.h: Define SETUP_GOT_ACCESS() macro.
36767 * powerpc/powerpc32/a2/memcpy.S: Use SETUP_GOT_ACCESS() macro.
36768 * powerpc/powerpc32/dl-start.S: Likewise.
36769 * powerpc/powerpc32/elf/start.S: Likewise.
36770 * powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
36771 * powerpc/powerpc32/fpu/s_ceil.S: Likewise.
36772 * powerpc/powerpc32/fpu/s_ceilf.S: Likewise.
36773 * powerpc/powerpc32/fpu/s_floor.S: Likewise.
36774 * powerpc/powerpc32/fpu/s_floorf.S: Likewise.
36775 * powerpc/powerpc32/fpu/s_lround.S: Likewise.
36776 * powerpc/powerpc32/fpu/s_rint.S: Likewise.
36777 * powerpc/powerpc32/fpu/s_rintf.S: Likewise.
36778 * powerpc/powerpc32/fpu/s_round.S: Likewise.
36779 * powerpc/powerpc32/fpu/s_roundf.S: Likewise.
36780 * powerpc/powerpc32/fpu/s_trunc.S: Likewise.
36781 * powerpc/powerpc32/fpu/s_truncf.S: Likewise.
36782 * powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
36783 * powerpc/powerpc32/memset.S: Likewise.
36784 * powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
36785 * powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
36786 * powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
36787 * powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
36788 * powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
36789 * powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
36790 * powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
36791 * powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
36792 * unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Likewise.
36793 * unix/sysv/linux/powerpc/powerpc32/brk.S: Likewise.
36794 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Likewise.
36795 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
36796 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
36798 2011-11-18 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
36800 * math/libm-test.inc: Added more nearbyint tests.
36801 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S: New file.
36802 * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S: New file.
36803 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S: New file.
36804 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: New file.
36806 2011-11-21 Ross Lagerwall <rosslagerwall@gmail.com>
36808 * resolv/res_init.c (__res_vinit): Open /etc/resolv.conf with
36811 2011-11-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
36813 * sysdeps/x86_64/multiarch/Makefile [subdir=wcsmbs] (sysdep_routines):
36814 Add wcscpy-ssse3 wcscpy-c.
36815 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: New file.
36816 * sysdeps/x86_64/multiarch/wcscpy-c.c: New file.
36817 * sysdeps/x86_64/multiarch/wcscpy.S: New file.
36818 * sysdeps/x86_64/wcschr.S: New file.
36819 * sysdeps/x86_64/wcsrchr.S: New file.
36820 * string/test-strcmp.c: Remove checking of wcscmp function for
36822 * sysdeps/i386/i686/multiarch/Makefile [subdir=wcsmbs]
36823 (sysdep_routines): Add wcscpy-ssse3 wcscpy-c wcschr-sse2 wcschr-c
36824 wcsrchr-sse2 wcsrchr-c.
36825 * sysdeps/i386/i686/multiarch/wcschr.S: New file.
36826 * sysdeps/i386/i686/multiarch/wcschr-c.c: New file.
36827 * sysdeps/i386/i686/multiarch/wcschr-sse2.S: New file.
36828 * sysdeps/i386/i686/multiarch/wcsrchr.S: New file.
36829 * sysdeps/i386/i686/multiarch/wcsrchr-c.c: New file.
36830 * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: New file.
36831 * sysdeps/i386/i686/multiarch/wcscpy.S: New file.
36832 * sysdeps/i386/i686/multiarch/wcscpy-c.c: New file.
36833 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: New file.
36834 * wcsmbc/wcschr.c (WCSCHR): New macro.
36836 2011-11-17 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
36838 * wcsmbs/Makefile (strop-tests): Add wcsrchr wcscpy.
36839 * wcsmbs/test-wcsrchr.c: New file.
36840 * string/test-strrchr.c: Add wcsrchr support.
36842 * wcsmbs/test-wcscpy.c: New file.
36843 * string/test-strcpy.c: Add wcscpy support.
36846 2011-12-10 Ulrich Drepper <drepper@gmail.com>
36848 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Lift one operation out of
36851 2011-12-06 Andreas Schwab <schwab@linux-m68k.org>
36854 * sysdeps/powerpc/fpu/e_hypot.c (twoM600): Correct value.
36856 2011-12-04 Ulrich Drepper <drepper@gmail.com>
36858 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Fix attribute.
36859 Minor optimizations.
36861 * sunrpc/clnt_unix.c (clntunix_control): Fix aliasing issues.
36862 * sunrpc/clnt_tcp.c (clnttcp_control): Likewise.
36863 * sunrpc/clnt_udp.c (clntudp_call): Likewise.
36865 2011-12-03 Ulrich Drepper <drepper@gmail.com>
36867 * inet/netinet/in.h: Provide versions of IN6_IS_ADDR_UNSPECIFIED,
36868 IN6_IS_ADDR_LOOPBACK, IN6_IS_ADDR_LINKLOCAL, IN6_IS_ADDR_SITELOCAL,
36869 IN6_IS_ADDR_V4MAPPED, IN6_IS_ADDR_V4COMPAT, and IN6_ARE_ADDR_EQUAL
36870 for gcc to avoid warnings.
36871 * inet/Makefile (tests): Add tst-checks.
36872 * inet/tst-checks.c: New file.
36874 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Add attribute to avoid
36877 * sysdeps/x86_64/multiarch/wmemcmp-c.c: Provide prototype for
36880 * sysdeps/x86_64/fpu/s_scalbln.c: Removed.
36881 * sysdeps/x86_64/fpu/s_scalbn.c: Removed.
36883 * malloc/mcheck.h: Fix use of incorrect encoding in comment.
36885 2011-12-02 Ulrich Drepper <drepper@gmail.com>
36887 * nis/nis_findserv.c (__nis_findfastest_with_timeout): Avoid aliasing
36890 * nscd/aicache.c (addhstaiX): Avoid unused variable warning.
36892 2011-11-29 Joseph Myers <joseph@codesourcery.com>
36894 * sysdeps/unix/sysv/linux/sh/bits/atomic.h (rNOSP): Define
36895 conditional on GCC version.
36896 (__arch_compare_and_exchange_val_8_acq)
36897 (__arch_compare_and_exchange_val_16_acq)
36898 (__arch_compare_and_exchange_val_32_acq, atomic_exchange_and_add)
36899 (atomic_add, atomic_add_negative, atomic_add_zero, atomic_bit_set)
36900 (atomic_bit_test_set): Use rNOSP instead of "r" constraints.
36902 2011-12-02 Joseph Myers <joseph@codesourcery.com>
36904 * sysdeps/sh/backtrace.c: New file.
36906 2011-12-02 Andreas Schwab <schwab@redhat.com>
36908 * misc/bits/select2.h (__FD_ELT): Mark as extension. Add
36911 2011-12-01 Andreas Schwab <schwab@redhat.com>
36913 * sysdeps/unix/sysv/linux/futimes.c: Truncate time values when
36914 falling back to utime.
36916 2011-11-30 Andreas Schwab <schwab@redhat.com>
36918 * sysdeps/s390/fpu/libm-test-ulps: Relax cpow (2 + 3 i, 4 + 0 i)
36919 expectations for float.
36921 2011-11-29 Andreas Schwab <schwab@redhat.com>
36923 * locale/weight.h (findidx): Add parameter len.
36924 * locale/weightwc.h (findidx): Likewise.
36925 * posix/fnmatch_loop.c (FCT): Adjust caller.
36926 * posix/regcomp.c (build_equiv_class): Likewise.
36927 * posix/regex_internal.h (re_string_elem_size_at): Likewise.
36928 * posix/regexec.c (check_node_accept_bytes): Likewise.
36929 * string/strcoll_l.c (STRCOLL): Likewise.
36930 * string/strxfrm_l.c (STRXFRM): Likewise.
36932 2011-11-17 Ulrich Drepper <drepper@gmail.com>
36934 * Makefile.in: Remove CVSOPT handling.
36935 * configure.in: Remove use of AC_REVISION.
36936 * iconvdata/Makefile (distribute): No need to filter out CVS.
36937 * scripts/list-sources.sh: Remove CVS, subversion and monotone
36940 2011-11-16 Andreas Schwab <schwab@redhat.com>
36942 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S
36943 [USE_AS_STRCASECMP_L]: Fix argument offsets for non-PIC.
36944 [USE_AS_STRNCASECMP_L]: Likewise.
36945 (__strcasecmp_ssse3, __strncasecmp_ssse3): Handle
36946 NO_TLS_DIRECT_SEG_REFS.
36947 * sysdeps/i386/i686/multiarch/strcmp-sse4.S [USE_AS_STRCASECMP_L]:
36948 Fix argument offsets for non-PIC.
36949 [USE_AS_STRNCASECMP_L]: Likewise.
36950 (__strcasecmp_sse4_2, __strncasecmp_sse4_2): Handle
36951 NO_TLS_DIRECT_SEG_REFS.
36953 2011-11-15 Ulrich Drepper <drepper@gmail.com>
36955 * locale/loadarchive.c (_nl_load_locale_from_archive): Open files with
36957 * locale/loadlocale.c (_nl_load_locale): Likewise.
36959 2011-11-15 Andreas Schwab <schwab@redhat.com>
36961 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU)
36962 [__ASSUME_POSIX_CPU_TIMERS > 0]: Assign to retval and break.
36963 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c
36964 (SYSCALL_GETTIME): Set errno on error.
36966 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Properly
36967 count references to noai6ai_cached.
36969 2011-11-15 Ulrich Drepper <drepper@gmail.com>
36971 * time/getdate.c (__getdate_r): Set FD_CLOEXEC for given file.
36973 * sysdeps/unix/sysv/linux/readonly-area.c (__readonly_area): Set
36974 FD_CLOEXEC for /proc/self/maps.
36976 * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Set
36977 FD_CLOEXEC for /proc/meminfo.
36979 * sysdeps/posix/getaddrinfo.c (gaiconf_init): Set FD_CLOEXEC for
36982 * resolv/res_query.c (res_hostalias): Don't allow cancellation and set
36983 FD_CLOEXEC for given file.
36985 * resolv/res_hconf.c (do_init): Set FD_CLOEXEC for host.conf.
36987 * resolv/gethnamaddr.c (_sethtent): Don't allow cancellation and set
36988 FD_CLOEXEC for /etc/hosts.
36989 (_gethtent): Likewise.
36991 * nss/nsswitch.c (nss_parse_file): Set FD_CLOEXEC.
36993 * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Don't allow
36994 cancellation and set FD_CLOEXEC for /etc/netgroup.
36996 * nss/nss_files/files-key.c (search): Don't allow cancellation when
36997 reading /etc/publickey.
36999 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Don't
37000 allow cancellation when reading /etc/group.
37002 * nss/nss_files/files-alias.c (internal_setent): Don't allow
37004 (get_next_alias): Likewise for included file. Also set FD_CLOEXEC.
37006 * nss/nss_files/files-XXX.c (internal_setent): Don't allow cancellation
37007 when using data file.
37009 * nis/nss-default.c (init): Set FD_CLOEXEC for /etc/default/nss.
37011 * nis/nis_file.c (read_nis_obj): Set FD_CLOEXEC.
37012 (write_nis_obj): Use "c" and "e" in fopen.
37014 * misc/mntent_r.c (__setmntent): Also append e to fopen format.
37016 * misc/getusershell.c (initshells): Set FD_CLOEXEC for /etc/shells.
37018 * misc/getttyent.c (setttyent): Set FD_CLOEXEC.
37020 * misc/getpass.c (getpass): Set FD_CLOEXEC for /dev/tty.
37022 * intl/localealias.c (read_alias_file): Set FD_CLOEXEC for
37025 * inet/ruserpass.c (ruserpass): Set FD_CLOEXEC for .netrc.
37027 * inet/rcmd.c (iruserfopen): Set FD_CLOEXEC for hosts.equiv.
37029 * iconv/gconv_conf.c (read_conf_file): Set FD_CLOEXEC for config file.
37031 * hesiod/hesiod.c (parse_config_file): Prevent cancellation in config
37032 file parsing and set FD_CLOEXEC.
37034 2011-11-14 Ulrich Drepper <drepper@gmail.com>
37036 * time/tzfile.c (__tzfile_read): Use "e" in fopen call.
37038 2011-11-14 Andreas Schwab <schwab@redhat.com>
37040 * malloc/arena.c (arena_get2): Don't call reused_arena when
37041 _int_new_arena failed.
37043 2011-11-14 Ulrich Drepper <drepper@gmail.com>
37045 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]
37046 (sysdep_routines): Add strcasecmp_l-sse4 and strncase_l-sse4.
37047 * sysdeps/i386/i686/multiarch/strcasecmp.S: Re-enable SSE4.2 code.
37048 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
37049 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
37050 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Change to allow reuse
37051 to compile strcasecmp and strncasecmp.
37052 * sysdeps/i386/i686/multiarch/strcasecmp_l-sse4.S: New file.
37053 * sysdeps/i386/i686/multiarch/strncase_l-sse4.S: New file.
37055 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Use L macro consistently.
37057 2011-11-13 Ulrich Drepper <drepper@gmail.com>
37059 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]: Add
37060 locale-defines.sym to gen-as-const-headers.
37061 (sysdep_routines): Add strcasecmp_l-c, strcasecmp-c,
37062 strcasecmp_l-ssse3, strncase_l-c, strncase-c, and strncase_l-ssse3.
37063 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Change to allow reuse
37064 to compile strcasecmp and strncasecmp.
37065 * sysdeps/i386/i686/multiarch/strcmp.S: Allow to use for
37066 strcasecmp_l and strncasecmp_l.
37067 * sysdeps/i386/i686/multiarch/locale-defines.sym: New file.
37068 * sysdeps/i386/i686/multiarch/strcasecmp-c.c: New file.
37069 * sysdeps/i386/i686/multiarch/strcasecmp.S: New file.
37070 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c: New file.
37071 * sysdeps/i386/i686/multiarch/strcasecmp_l-ssse3.S: New file.
37072 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: New file.
37073 * sysdeps/i386/i686/multiarch/strncase-c.c: New file.
37074 * sysdeps/i386/i686/multiarch/strncase.S: New file.
37075 * sysdeps/i386/i686/multiarch/strncase_l-c.c: New file.
37076 * sysdeps/i386/i686/multiarch/strncase_l-ssse3.S: New file.
37077 * sysdeps/i386/i686/multiarch/strncase_l.S: New file.
37079 2011-11-12 Ulrich Drepper <drepper@gmail.com>
37081 * sysdeps/unix/clock_gettime.c (clock_gettime): No need to assign
37082 result of SYSDEP_GETTIME_CPU to retval.
37083 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU): Add
37084 parameter list to macro. Remove trailing semicolon. Adjust users.
37086 * resolv/getaddrinfo_a.c (getaddrinfo_a): Avoid warning about unused
37089 * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Avoid storing
37091 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
37093 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Avoid warning
37094 from unused variable.
37096 * sysdeps/generic/sysdep.h: Clean up, pretty print, use dwarf2.h for
37098 * sysdeps/generic/dwarf2.h: Don't define enums when using the file
37101 * elf/dl-iteratephdr.c [!SHARED] (__dl_iterate_phdr): Don't iterate
37104 * sunrpc/rpc_prot.c (rejected): Fix case value.
37106 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS): Use
37107 unsigned long long int to avoid warnings in shift.
37109 * posix/regex_internal.c (re_string_reconstruct): Actually use result
37111 * posix/regex_internal.h (re_string_wchar_at): Remove temporary
37114 * sysdeps/i386/i686/multiarch/wcscmp-c.c: Avoid warning.
37115 * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
37116 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
37118 * nis/nis_table.c (nis_list): Use variable of correct type for
37119 result of __follow_path call.
37121 2011-11-07 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
37123 * sysdeps/powerpc/fpu/math_private.h: Using inline assembly version
37124 of math functions ceil, trunc, floor, round, and sqrt, when
37125 avaliable on the platform.
37126 * sysdeps/powerpc/fpu/e_sqrt.c: Undefine __ieee754_sqrt to avoid
37128 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
37129 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
37130 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
37132 2011-10-30 Marek Polacek <mpolacek@redhat.com>
37134 * libio/wfileops.c (_IO_wfile_underflow_mmap): Remove unused variable.
37135 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
37137 2011-11-11 Roland McGrath <roland@hack.frob.com>
37139 * include/unistd.h: Fix __readlink return type.
37140 Reported by Chris Metcalf <cmetcalf@tilera.com>.
37142 2011-11-11 Ulrich Drepper <drepper@gmail.com>
37144 * stdlib/ucontext.h: Undo last change for makecontext.
37146 2011-11-11 Andreas Schwab <schwab@redhat.com>
37148 * nss/db-Makefile ($(VAR_DB)/group.db): Fix typo in awk script.
37150 * misc/sys/cdefs.h (__REDIRECT_NTHNL): Define.
37151 * setjmp/setjmp.h: Mark functions as non-leaf.
37152 * setjmp/bits/setjmp2.h: Likewise.
37153 * stdlib/ucontext.h: Likewise.
37155 2011-11-10 Andreas Schwab <schwab@redhat.com>
37157 * malloc/arena.c (_int_new_arena): Don't increment narenas.
37158 (reused_arena): Don't check arena limit.
37159 (arena_get2): Atomically check arena limit.
37161 2011-11-08 Ulrich Drepper <drepper@gmail.com>
37163 * locale/findlocale.c (_nl_find_locale): Use __strcasecmp_l.
37164 * intl/localealias.c (strcasecmp): Define using __strcasecmp_l.
37166 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Remove unnecessary
37169 2011-11-07 Andreas Schwab <schwab@redhat.com>
37171 * libio/genops.c (_IO_flush_all_lockp): Only register cleanup
37172 handler when locking.
37174 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
37175 Fix size of allocated buffer.
37177 2011-11-04 Andreas Schwab <schwab@redhat.com>
37180 * math/math.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Provide
37181 declarations for long double functions.
37182 * math/complex.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Likewise.
37184 * elf/sprof.c (load_shobj): Fix off-by-one when reading link name.
37186 2011-11-03 Andreas Schwab <schwab@redhat.com>
37188 * nscd/nscd.c (main): Don't start AVC thread until credentials are
37191 * nss/makedb.c (set_file_creation_context): Do nothing if SELinux
37194 2011-11-02 Samuel Thibault <samuel.thibault@ens-lyon.org>
37196 * bits/ioctl-types.h (_IOT_sgttyb): Set number of chars to 4.
37198 2011-11-01 Andreas Schwab <schwab@linux-m68k.org>
37200 * include/alloca.h (stackinfo_alloca_round): Define.
37201 (extend_alloca): Use it.
37202 [_STACK_GROWS_UP]: Correct check for adjacent allocation.
37203 * elf/dl-deps.c (_dl_map_object_deps): Don't round alloca size
37206 * scripts/check-local-headers.sh: Ignore libaudit.h.
37208 * nscd/Makefile (extra-objs): Make recursively expanded.
37210 2011-11-01 Ulrich Drepper <drepper@gmail.com>
37212 * sysdeps/x86_64/strcmp.S: Fix test for non-ASCII locales.
37213 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
37215 * posix/tst-rfc3484.c: Add missing __free_in6ai dummy function.
37216 * posix/tst-rfc3484-2.c: Likewise.
37217 * posix/tst-rfc3484-3.c: Likewise.
37219 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
37221 * sysdeps/unix/sysv/linux/syscalls.list: Add process_vm_readv and
37223 * sysdeps/unix/sysv/linux/Versions: Export process_vm_readv and
37224 process_vm_writev from libc using GLIBC_2.15 version.
37226 * nscd/connections.c: Use kernel headers instead of <netlink/netlink.h>.
37228 2011-10-31 Paul Pluzhnikov <ppluzhnikov@google.com>
37230 * elf/dl-deps.c (_dl_map_object_deps): Reuse alloca space to reduce
37233 2011-10-31 Ulrich Drepper <drepper@gmail.com>
37236 * nss/getent.c (initgroups_keys): Show error message in case no group
37239 * include/ifaddrs.h: Declare __free_in6ai and __bump_nl_timestamp.
37240 * inet/check_pf.c: Provide dummy versions of __free_in6ai and
37241 __bump_nl_timestamp.
37242 * nscd/connections (nscd_init): When host database is served open
37243 netlink socket and request notification about configuration changes.
37244 (main_loop_poll): Track netlink file descriptor and bump timestamp
37245 in case data becomes available.
37246 (main_loop_epoll): Likewise.
37247 * nscd/nscd-client.h (DB_VERSION): Bump to 2.
37248 (database_pers_head): Add extra_data fileds.
37249 Declare __nscd_get_mapping and __nscd_get_nl_timestamp.
37250 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): New function.
37251 * nscd/nscd_helper.c (__nscd_get_mapping): Renamed from get_mapping.
37253 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Don't call free on
37254 in6ai data, call __free_in6ai.
37255 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd] (sysdep-CFLAGS):
37256 Add -DHAVE_NETLINK.
37257 * sysdeps/unix/sysv/linux/check_pf.c: Major rewrite. Cache the
37258 interface information. Reuse previous data if netlink timestamp
37260 (__bump_nl_timestamp): New function.
37261 (__free_in6ai): New function.
37263 2011-10-30 Ulrich Drepper <drepper@gmail.com>
37265 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Don't call
37266 close_not_cancel_no_status here.
37267 (__check_pf): Reorganize code a bit to not call close twice if OOM.
37269 2011-10-29 Ulrich Drepper <drepper@gmail.com>
37272 * malloc/malloc.c (munmap_chunk): Don't use assertion to check munmap
37275 * posix/sys/wait.h: Mark wait3 and wait4 with __THROWNL.
37276 * libio/stdio.h: Mark sprintf, vsprintf snprintf, vsnprintf, vasprintf,
37277 asprintf, __asprintf, obstack_printf, obstack_vprintf with __THROWNL.
37279 2011-07-03 Andreas Jaeger <aj@suse.de>
37282 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Fix incorrect rounding
37283 of sin. Patch suggested by Paul Zimmermann <zimmerma+gcc@loria.fr>.
37284 * math/libm-test.inc (sin_test): Add test case.
37286 2011-10-29 Ulrich Drepper <drepper@gmail.com>
37289 * elf/sprof.c (load_shobj): Correctly NUL-terminate link name.
37290 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
37292 * elf/chroot_canon.c (chroot_canon): Cleanups.
37294 * elf/dl-lookup.c (_dl_setup_hash): Avoid warning.
37297 * elf/chroot_canon.c (chroot_canon): Fix readlink call.
37298 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
37300 * string/test-strchr.c: Make usable for strchrnul testing.
37301 * string/test-strchrnul.c: New file.
37302 * string/Makefile (strop-tests): Add strchrnul.
37304 * po/it.po: Update from translation team.
37305 * po/es.po: Likewise.
37307 2011-10-28 Ulrich Drepper <drepper@gmail.com>
37309 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Take
37310 the three constants needed as parameters. Drop the others.
37311 (strcasestr_sse42): Load uclow, uchigh, and lcqword and pass to
37312 __m128i_strloadu_tolower.
37313 Create and initialize variable zero and use it in all the places
37314 where _mm_setzero_si128 was used.
37316 * sysdeps/x86_64/fpu/multiarch/Makefile: Don't build brandred-avx.c,
37317 doasin-avx.c, dosincos-avx.c, e_asin-avx.c, mpatan-avx.c,
37318 mpatan2-avx.c, mpsqrt-avx.c, mptan-avx.c, sincos32-avx.c.
37319 * sysdeps/x86_64/fpu/multiarch/e_asin.c: There are no _avx variants
37321 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: Don't redirect __mpatan2.
37322 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: Don't redirect __mpatan.
37323 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: Don't redirect __branred,
37324 __docos, __dubsin, __mpcos, __mpcos1, __mpsin, __mpsin1.
37325 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: Don't redirect __branred,
37326 __mpranred, __mptan.
37327 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: Removed.
37328 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: Removed.
37329 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: Removed.
37330 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: Removed.
37331 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: Removed.
37332 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: Removed.
37333 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: Removed.
37334 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: Removed.
37335 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: Removed.
37337 2011-10-28 Andreas Schwab <schwab@redhat.com>
37339 * sysdeps/i386/i686/multiarch/strnlen-c.c (libc_hidden_def): Only
37340 redefine if SHARED.
37341 * sysdeps/i386/i686/multiarch/wcscmp-c.c (libc_hidden_def): Likewise.
37343 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Move
37344 wide char related routines to wcsmbs subdir.
37346 2011-10-27 Andreas Schwab <schwab@redhat.com>
37349 * misc/sys/cdefs.h (__THROWNL): Define.
37350 * posix/unistd.h: Use __THREADNL instead of __THREAD
37351 for memory synchronization functions.
37353 2011-10-26 Roland McGrath <roland@hack.frob.com>
37356 * libio/Versions (GLIBC_2.0): Remove open_obstack_stream, which
37358 * manual/stdio.texi (Obstack Streams): Node removed.
37360 2011-10-26 Andreas Schwab <schwab@redhat.com>
37362 * sysdeps/ieee754/flt-32/e_j0f.c: Fix use of math_force_eval.
37363 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
37364 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
37366 * math/math_private.h (math_force_eval): Allow non-addressable
37368 * sysdeps/i386/fpu/math_private.h (math_force_eval): Likewise.
37370 2011-10-25 Ulrich Drepper <drepper@gmail.com>
37372 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Comment everything out, the
37373 file is not needed.
37375 * sysdeps/x86_64/fpu/multiarch/e_asin.c: Support AVX variants.
37376 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
37377 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
37378 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
37379 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
37380 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
37381 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
37382 * sysdeps/x86_64/fpu/multiarch/Makefile: Fix some CFLAGS-* variables.
37384 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: New file.
37385 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: New file.
37386 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: New file.
37387 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: New file.
37388 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: New file.
37389 * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c: New file.
37390 * sysdeps/x86_64/fpu/multiarch/e_log-avx.c: New file.
37391 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: New file.
37392 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: New file.
37393 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: New file.
37394 * sysdeps/x86_64/fpu/multiarch/mpexp-avx.c: New file.
37395 * sysdeps/x86_64/fpu/multiarch/mplog-avx.c: New file.
37396 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: New file.
37397 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: New file.
37398 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: New file.
37399 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: New file.
37400 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: New file.
37401 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: New file.
37402 * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: New file.
37404 * sysdeps/x86_64/multiarch/init-arch.h: Make bit_* macros available
37405 all the time. Define bit_AVX. Define HAS_* macros using bit_* macros.
37407 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Move common code to earlier
37408 place. Use VEX encoding when compiling for AVX.
37410 2011-10-25 Andreas Schwab <schwab@redhat.com>
37412 * wcsmbs/wcscmp.c (WCSCMP): Compare as wchar_t, not wint_t.
37413 * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
37415 * string/test-strchr.c (do_test): Don't generate NUL bytes.
37417 2011-10-25 Ulrich Drepper <drepper@gmail.com>
37419 * sysdeps/ieee754/dbl-64/e_atanh.c: Use math_force_eval instead of a
37420 useless if() expression.
37421 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
37422 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
37423 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
37424 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
37425 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
37426 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
37427 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
37428 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
37429 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
37430 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
37431 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
37432 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
37433 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
37434 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
37435 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
37436 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
37437 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
37438 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
37439 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
37441 * sysdeps/x86_64/fpu/math_private.h: Use VEX encoding when possible.
37443 2011-10-25 Andreas Schwab <schwab@redhat.com>
37445 * elf/dl-deps.c (_dl_map_object_deps): Remove always true
37447 * elf/dl-fini.c (_dl_sort_fini): Likewise.
37449 2011-10-25 Ulrich Drepper <drepper@gmail.com>
37451 * sysdeps/ieee754/dbl-64/branred.c: Move FMA4 code into separate
37452 .text section. Avoid duplicate constants.
37453 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
37454 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
37455 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
37456 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
37457 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
37458 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
37459 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
37460 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
37461 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
37462 * sysdeps/ieee754/dbl-64/mpa.h: Likewise.
37463 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
37464 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
37465 * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
37466 * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
37467 * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
37468 * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
37469 * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
37470 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
37471 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
37472 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
37473 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
37474 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
37475 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
37476 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Likewise.
37477 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: Likewise.
37478 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: Likewise.
37479 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: Likewise.
37480 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: Likewise.
37481 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: Likewise.
37482 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: Likewise.
37483 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: Likewise.
37484 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: Likewise.
37485 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
37486 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: Likewise.
37487 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: Likewise.
37488 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: Likewise.
37489 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: Likewise.
37490 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: Likewise.
37491 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: Likewise.
37492 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: Likewise.
37493 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: Likewise.
37494 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: Likewise.
37495 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: Likewise.
37496 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise.
37497 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: Likewise.
37499 2011-10-24 Ulrich Drepper <drepper@gmail.com>
37501 * sysdeps/x86_64/dla.h: Move to ...
37502 * sysdeps/x86_64/fpu/dla.h: ...here.
37503 (DLA_FMS): Some compilers fail to inline __builtin_fma in some
37504 situations. Use __builtin_fma only for gcc 4.6 and up.
37506 * config.make.in: Add have-mfma4 entry.
37507 * configure.in: Substitute libc_cv_cc_fma4.
37508 * math/Makefile (dbl-only-routines): Add sincostab.
37509 * sysdeps/ieee754/dbl-64/dosincos.c: Don't include sincos.tbl.
37510 Use __sincostab not sincos.
37511 * sysdeps/ieee754/dbl-64/e_asin.c: Don't define aliases when function
37513 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
37514 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
37515 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
37516 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise. Define singArctan2
37518 * sysdeps/ieee754/dbl-64/mpa.c: Don't export __acr. Don't define
37519 __cr and __cpymn. Define __cpy unless NO___CPY is defined. Define
37520 norm, denorm, and __mp_dbl unless NO___MP_DBL is defined.
37521 * sysdeps/ieee754/dbl-64/mpa.h: Don't declare __acr, __cr, __cpymn,
37523 * sysdeps/ieee754/dbl-64/mpsqrt.c: Make fastiroot static.
37524 * sysdeps/ieee754/dbl-64/s_atan.c: Define __signArctan using
37526 * sysdeps/ieee754/dbl-64/s_sin.c: Use __sincostab not sincos. Don't
37527 define aliases when function name is a macro.
37528 * sysdeps/ieee754/dbl-64/sincostab.c: Renamed from
37529 sysdeps/ieee754/dbl-64/sincos.tbl.
37530 * sysdeps/x86_64/fpu/multiarch/Makefile: Add entries to build
37531 fma4-enabled routines.
37532 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: New file.
37533 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: New file.
37534 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: New file.
37535 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: New file.
37536 * sysdeps/x86_64/fpu/multiarch/e_asin.c: New file.
37537 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: New file.
37538 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: New file.
37539 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: New file.
37540 * sysdeps/x86_64/fpu/multiarch/e_exp.c: New file.
37541 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: New file.
37542 * sysdeps/x86_64/fpu/multiarch/e_log.c: New file.
37543 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: New file.
37544 * sysdeps/x86_64/fpu/multiarch/e_pow.c: New file.
37545 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: New file.
37546 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: New file.
37547 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: New file.
37548 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: New file.
37549 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: New file.
37550 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: New file.
37551 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: New file.
37552 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: New file.
37553 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: New file.
37554 * sysdeps/x86_64/fpu/multiarch/s_atan.c: New file.
37555 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: New file.
37556 * sysdeps/x86_64/fpu/multiarch/s_sin.c: New file.
37557 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: New file.
37558 * sysdeps/x86_64/fpu/multiarch/s_tan.c: New file.
37559 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: New file.
37560 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: New file.
37561 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: New file.
37563 * sysdeps/ieee754/dbl-64/doasin.c: Adjust for DLA_FMA -> DLA_FMS
37565 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
37566 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
37567 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
37568 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
37569 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
37570 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
37571 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
37572 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
37574 2011-10-24 Andreas Schwab <schwab@redhat.com>
37576 * wcsmbs/wcslen.c: Don't define WCSLEN, reverse logic.
37578 2011-10-23 Ulrich Drepper <drepper@gmail.com>
37580 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: New file.
37582 * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Add some branch
37584 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: New file.
37586 * string/strnlen.c: Don't define STRNLEN, reverse logic.
37587 Remove unused variable magic_bits.
37588 * sysdeps/i386/i686/multiarch/rtld-strnlen.c: New file.
37590 * string/strnlen.c: Define and use STRNLEN macro.
37591 * sysdeps/i386/i686/multiarch/Makefile [string] (sysdep_routines):
37592 Add strnlen-sse2, strnlen-c, wcslen-sse2, and wcslen-c.
37593 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Add support for strnlen.
37594 * wcsmbs/wcslen.c: Define and use WCSLEN.
37595 * sysdeps/i386/i686/multiarch/strnlen-c.c: New file.
37596 * sysdeps/i386/i686/multiarch/strnlen-sse2.S: New file.
37597 * sysdeps/i386/i686/multiarch/strnlen.S: New file.
37598 * sysdeps/i386/i686/multiarch/wcslen-c.c: New file.
37599 * sysdeps/i386/i686/multiarch/wcslen-sse2.S: New file.
37600 * sysdeps/i386/i686/multiarch/wcslen.S: New file.
37601 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
37603 2011-10-20 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
37605 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
37606 strnlen-sse2-no-bsf.
37607 Rename strlen-no-bsf to strlen-sse2-no-bsf.
37608 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Rename to
37609 * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S:
37610 Add strnlen support.
37611 (USE_AS_STRNLEN): New macro.
37612 * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: New file.
37613 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Update.
37614 Rename strlen-no-bsf.S to strlen-sse2-no-bsf.S
37615 * sysdeps/x86_64/wcslen.S: New file.
37617 2011-10-20 Michael Zolotukhin <michael.v.zolotukhin@gmail.com>
37619 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
37620 XMM-moves are used for copying on small sizes.
37622 2011-10-19 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
37624 * wcsmbs/Makefile (strop-tests): Add wcschr.
37625 * wcsmbs/test-wcschr.c: New file.
37626 * string/test-strchr.c: Update.
37627 Add wcschr support.
37630 2011-10-18 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
37632 * wcsmbs/Makefile (strop-tests): Add wcslen.
37633 * wcsmbs/test-wcslen.c: New file.
37634 * string/test-strlen.c: Update.
37635 Add wcslen support.
37638 2011-10-23 Ulrich Drepper <drepper@gmail.com>
37640 * po/it.po: Update from translation team.
37642 2011-09-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
37644 * sysdeps/x86_64/wcscmp.S: Update.
37645 Fix wrong comparison semantics.
37646 wcscmp shall use signed comparison not unsigned.
37647 Don't use substraction to avoid overflow bug.
37648 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
37649 * wcsmbc/wcscmp.c: Likewise.
37650 * string/test-strcmp.c: Likewise.
37651 Add new tests to check cases with negative values.
37653 2011-10-23 Ulrich Drepper <drepper@gmail.com>
37655 * sysdeps/ieee754/dbl-64/dla.h: Move DLA_FMA definition to...
37656 * sysdeps/x86_64/dla.h: ...here. New file.
37657 * sysdeps/ieee754/dbl-64/doasin.c: Use <dla.h> not "dla.h".
37658 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
37659 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
37660 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
37661 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
37662 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
37663 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
37664 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
37665 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
37667 2011-10-23 Andreas Schwab <schwab@linux-m68k.org>
37669 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Add __jnl_finite and
37670 __ynl_finite aliases.
37672 2011-10-22 Ulrich Drepper <drepper@gmail.com>
37674 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
37676 * sysdeps/ieee754/dbl-64/dla.h: When compiling with FMA4 support
37678 [DLA_FMA] (EMULV): Use DLA_FMA.
37679 [DLA_FMA] (MUL12): Use EMULV.
37680 * sysdeps/ieee754/dbl-64/doasin.c [DLA_FMA]: Don't define variables
37681 that are not needed.
37682 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
37683 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
37684 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
37685 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
37686 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
37687 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
37688 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
37690 2011-10-22 Andreas Schwab <schwab@linux-m68k.org>
37692 * math/s_nan.c: Undef __nan.
37693 * math/s_nanf.c: Undef __nanf.
37694 * math/s_nanl.c: Undef __nanl.
37695 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <math.h> before
37698 2011-10-22 Ulrich Drepper <drepper@gmail.com>
37700 * math/s_catan.c: Add branch predictions.
37701 * math/s_catanf.c: Likewise.
37702 * math/s_catanh.c: Likewise.
37703 * math/s_catanhf.c: Likewise.
37704 * math/s_catanhl.c: Likewise.
37705 * math/s_catanl.c: Likewise.
37706 * math/s_cexp.c: Likewise.
37707 * math/s_cexpf.c: Likewise.
37708 * math/s_cexpl.c: Likewise.
37709 * math/s_clog.c: Likewise.
37710 * math/s_clog10.c: Likewise.
37711 * math/s_clog10f.c: Likewise.
37712 * math/s_clog10l.c: Likewise.
37713 * math/s_clogf.c: Likewise.
37714 * math/s_clogl.c: Likewise.
37715 * math/s_csqrt.c: Likewise.
37716 * math/s_csqrtf.c: Likewise.
37717 * math/s_csqrtl.c: Likewise.
37718 * math/s_ctanf.c: Likewise.
37719 * math/s_ctanh.c: Likewise.
37720 * math/s_ctanhf.c: Likewise.
37721 * math/s_ctanhl.c: Likewise.
37722 * math/s_ctanl.c: Likewise.
37724 * math/math_private.h: Define __nan, __nanf, __nanl.
37725 * math/s_cacosh.c: Include <math_private.h>.
37726 * math/s_cacoshl.c: Likewise.
37727 * math/s_casinh.c: Likewise.
37728 * math/s_casinhf.c: Likewise.
37729 * math/s_casinhl.c: Likewise.
37730 * math/s_ccos.c: Rely entire on ccosh.
37731 * math/s_ccosf.c: Rely entire on ccoshf.
37732 * math/s_ccosl.c: Rely entirely on ccoshl.
37733 * math/s_ccosh.c: Add branch predicion helpers. Add branch prediction.
37734 Remove tests for FE_INVALID.
37735 * math/s_ccoshf.c: Likewise.
37736 * math/s_ccoshl.c: Likewise.
37737 * math/s_csin.c: Likewise.
37738 * math/s_csinf.c: Likewise.
37739 * math/s_csinh.c Likewise.
37740 * math/s_csinhf.c: Likewise.
37741 * math/s_csinhl.c: Likewise.
37742 * math/s_csinl.c: Likewise.
37743 * math/s_ctan.c: Likewise.
37744 * sysdeps/ieee754/dbl-64/e_acosh.c: Use __ieee754_sqrt.
37745 * sysdeps/ieee754/flt-32/e_acoshf.c: Use __ieee754_sqrtf.
37746 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Use __ieee754_sqrtl.
37748 2011-10-21 Ulrich Drepper <drepper@gmail.com>
37750 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Fix
37751 compilation problems.
37753 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Add a few more
37756 2011-10-20 Ulrich Drepper <drepper@gmail.com>
37758 * sysdeps/i386/configure.in: Test for -mfma4 option.
37759 * config.h.in: Add HAVE_FMA4_SUPPORT entry.
37760 * sysdeps/x86_64/multiarch/init-arch.h: Define HAS_FMA4 and
37761 COMMON_CPUID_INDEX_80000001.
37762 * sysdeps/x86_64/multiarch/init-arch.c: Read 80000001 leaf for AMD.
37763 * sysdeps/x86_64/fpu/multiarch/s_fma.c: Test for FMA4 support and
37764 use it if FMA3 is not supported.
37765 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
37767 * sysdeps/x86_64/multiarch/s_fma.c: Moved to ../fpu/multiarch.
37768 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
37770 2011-10-20 Andreas Schwab <schwab@redhat.com>
37773 * elf/dl-fini.c (_dl_sort_fini): Ignore relocation dependency if
37774 it would create a cycle with a link time dependency.
37776 2011-10-19 Ulrich Drepper <drepper@gmail.com>
37778 * sysdeps/x86_64/multiarch/rawmemchr.S: Small optimization to safe an
37780 * string/Makefile (strop-tests): Add rawmemchr.
37781 * string/test-rawmemchr.c: New file.
37783 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_AVX and index_AVX.
37784 * sysdeps/x86_64/multiarch/strcmp-sse42.S: New file. Split out from...
37785 * sysdeps/x86_64/multiarch/strcmp.S: ...here. Include strcmp-sse42.S
37786 when compiling str{,n}casecmp and when AVX is available. Hook up
37787 new optimized code in initializers.
37789 2011-10-19 Andreas Schwab <schwab@redhat.com>
37791 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv): Use
37792 __feraiseexcept instead of feraiseexcept.
37794 2011-10-18 Ulrich Drepper <drepper@gmail.com>
37796 * math/math_private.h: Define defaults for libc_fetestexcept and
37798 * sysdeps/ieee754/dbl-64/s_fma.c: Use libc_fe* interfaces.
37799 * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
37800 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
37801 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
37802 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
37803 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
37804 libc_fetestexcept and libc_feupdateenv.
37806 * math/math_private.h: Define defaults for libc_feholdexcept_setround,
37807 libc_feholdexcept_setroundf, libc_feholdexcept_setroundl.
37808 * sysdeps/ieee754/dbl-64/e_exp2.c: Use libc_feholdexcept_setround.
37809 * sysdeps/x86_64/fpu/math_private.h: Define special version of
37810 libc_feholdexcept_setround.
37812 * sysdeps/x86_64/fpu/multiarch/Makefile [math] (libm-sysdep-routines):
37813 Add s_nearbyint-c and s_nearbyintf-c.
37814 * sysdeps/x86_64/fpu/bits/mathinline.h: Define nearbyint and
37815 nearbyintf inlines.
37816 * sysdeps/x86_64/fpu/multiarch/s_nearbyint-c.c: New file.
37817 * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S: New file.
37818 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf-c.c: New file.
37819 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: New file.
37821 * math/math_private.h: Define defaults for libc_fegetround,
37822 libc_fegetroundf, libc_fegetroundl, libc_fesetround, libc_fesetroundf,
37823 libc_fesetroundl, libc_feholdexcept, libc_feholdexceptf,
37824 libc_feholdexceptl, libc_fesetenv, libc_fesetenvf, libc_fesetenvl.
37825 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Use
37826 libc_feholdexcept, libc_fesetround, libc_fesetenv instead of the
37827 standard functions.
37828 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
37829 Remove comments and hacks for old compiler versions.
37830 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
37831 libc_fegetround, libc_fesetround, libc_feholdexcept, and
37832 libc_feholdexceptl.
37834 2011-10-18 Andreas Schwab <schwab@redhat.com>
37836 * sysdeps/x86_64/fpu/bits/fenv.h: Add C linkage markers.
37837 (__feraiseexcept_renamed): Add __NTH.
37838 (feraiseexcept): Add __NTH. Rename local variables to fix
37839 namespace violations.
37841 2011-10-17 Ulrich Drepper <drepper@gmail.com>
37843 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Small optimization.
37845 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: New file.
37847 * sysdeps/x86_64/fpu/math_private.h: Relax asm requirements for
37848 recently added interfaces.
37849 * sysdeps/x86_64/fpu/bits/mathinline.h: Likewise.
37851 * sysdeps/x86_64/fpu/math_private.h: Add some parenthesis to be safe
37852 about macro parameter expansion.
37854 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't define inlines if
37855 __NO_MATH_INLINES is defined. Cleanups.
37857 * sysdeps/x86_64/fpu/math_private.h: Define __rint, __rintf, __floor,
37858 and __floorf is target has SSE4.1.
37859 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: Undef first.
37860 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.: Likewise.
37861 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: Likewise.
37862 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: Likewise.
37864 * sysdeps/x86_64/fpu/bits/mathinline.h (floor): Use correct function
37866 (floorf): Likewise.
37868 * nscd/netgroupcache.c (addgetnetgrentX): Fix #ifdef nesting.
37870 2011-10-17 Andreas Schwab <schwab@redhat.com>
37872 * misc/sys/cdefs.h: Fix last change.
37874 * grp/initgroups.c (internal_getgrouplist): Fix initgroups
37877 2011-10-16 Ulrich Drepper <drepper@gmail.com>
37879 * misc/sys/cdefs.h: Use leaf function attribute in __THROW.
37881 * sysdeps/ieee754/dbl-64/s_ceil.c: Avoid alias renamed.
37882 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
37883 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
37884 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
37885 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
37886 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
37887 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
37888 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
37889 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
37890 * sysdeps/x86_64/fpu/multiarch/Makefile: New file.
37891 * sysdeps/x86_64/fpu/multiarch/s_ceil-c.c: New file.
37892 * sysdeps/x86_64/fpu/multiarch/s_ceil.S: New file.
37893 * sysdeps/x86_64/fpu/multiarch/s_ceilf-c.c: New file.
37894 * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: New file.
37895 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: New file.
37896 * sysdeps/x86_64/fpu/multiarch/s_floor.S: New file.
37897 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.c: New file.
37898 * sysdeps/x86_64/fpu/multiarch/s_floorf.S: New file.
37899 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: New file.
37900 * sysdeps/x86_64/fpu/multiarch/s_rint.S: New file.
37901 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: New file.
37902 * sysdeps/x86_64/fpu/multiarch/s_rintf.S: New file.
37904 * sysdeps/x86_64/fpu/bits/mathinline.h: Add inlines for rint, rintf,
37905 ceil, ceilf, floor, floorf.
37907 * elf/do-rel.h (elf_dynamic_do_Rel): Work around linker problem.
37908 Perform IRELATIVE relocations last.
37910 * elf/do-rel.h: Add another parameter nrelative, replacing the
37911 local variable with the same name. Change name of the function
37912 to end in Rel or Rela (uppercase).
37913 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Add new element
37914 nrelative to ranges. Only nonzero for DT_REL/DT_RELA. Pass to the
37915 elf_dynamic_do_##reloc function.
37917 2011-10-15 Ulrich Drepper <drepper@gmail.com>
37919 * sysdeps/i386/i686/fpu/e_log.S: No need for the fyl2xp1 use, fyl2x
37920 is sufficient, at least on modern CPUs.
37922 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: New file.
37924 * sysdeps/ieee754/dbl-64/e_cosh.c: Cleanup.
37925 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: New file.
37927 * math/Versions [libm] (GLIBC_2.15): Add __exp_finite, __expf_finite,
37929 * math/bits/math-finite.h: Add entries for exp.
37930 * math/e_expl.c: Add __*_finite alias.
37931 * sysdeps/i386/fpu/e_exp.S: Likewise.
37932 * sysdeps/i386/fpu/e_expf.S: Likewise.
37933 * sysdeps/i386/fpu/e_expl.c: Likewise.
37934 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
37935 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
37936 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
37937 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
37938 * sysdeps/ieee754/dbl-64/w_exp.c: Complete rewrite.
37939 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
37940 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
37942 * sysdeps/i386/i686/fpu/e_logf.S: No need for the fyl2xp1 use, fyl2x
37943 is sufficient, at least on modern CPUs.
37945 * ctype/ctype-info.c (__ctype_init): Define.
37946 * include/ctype.h (__ctype_init): Declare.
37947 (__ctype_b_loc): The variable is always initialized.
37948 (__ctype_toupper_loc): Likewise.
37949 (__ctype_tolower_loc): Likewise.
37950 * ctype/Versions: Export __ctype_init for GLIBC_PRIVATE.
37951 * sysdeps/unix/sysv/linux/init-first.c (_init): Call __ctype_init.
37953 2011-10-15 Andreas Schwab <schwab@linux-m68k.org>
37955 * wcsmbs/wmemcmp.c (WMEMCMP): Define.
37957 * configure.in: Also look in $cxxmachine/include for C++ system
37960 2011-09-27 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
37962 * sysdeps/x86_64/multiarch/Makefile: (sysdep_routines): Add
37963 memcmp-ssse3 wmemcmp-sse4 wmemcmp-ssse3 wmemcmp-c
37964 * sysdeps/x86_64/multiarch/memcmp-ssse3: New file.
37965 * sysdeps/x86_64/multiarch/memcmp.S: Update. Add __memcmp_ssse3.
37966 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Update.
37967 (USE_AS_WMEMCMP): New macro.
37969 * sysdeps/x86_64/multiarch/wmemcmp.S: New file.
37970 * sysdeps/x86_64/multiarch/wmemcmp-ssse3.S: New file.
37971 * sysdeps/x86_64/multiarch/wmemcmp-sse4.S: New file.
37972 * sysdeps/x86_64/multiarch/wmemcmp-c.S: New file.
37973 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
37974 wmemcmp-ssse3 wmemcmp-sse4 wmemcmp-c
37975 * sysdeps/i386/i686/multiarch/wmemcmp.S: New file.
37976 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: New file.
37977 * sysdeps/i386/i686/multiarch/wmemcmp-ssse3.S: New file.
37978 * sysdeps/i386/i686/multiarch/wmemcmp-sse4.S: New file.
37979 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Update.
37980 (USE_AS_WMEMCMP): New macro.
37981 * sysdeps/i386/i686/multiarch/memcmp-ssse3: Likewise.
37982 * sysdeps/string/test-memcmp.c: Update.
37983 Fix simple_wmemcmp.
37985 * wcsmbs/wmemcmp.c: Update.
37986 (WMEMCMP): New macro.
37989 2011-10-12 Andreas Jaeger <aj@suse.de>
37992 * math/bits/mathcalls.h: Mark argument 2 of modf as non-null.
37994 2011-10-15 Ulrich Drepper <drepper@gmail.com>
37996 * libio/iofwide.c (do_length): Avoid warning.
37998 * ctype/ctype.h (__isctype_f): Add missing __THROW.
38000 2011-10-14 Ulrich Drepper <drepper@gmail.com>
38002 * elf/pldd-xx.c (find_maps): Remove leftover debug message.
38004 * sysdeps/i386/fpu/e_log.S: Add real definition of __log_finite.
38005 * sysdeps/i386/fpu/e_logf.S: Add real definition of __logf_finite.
38006 * sysdeps/i386/fpu/e_logl.S: Add real definition of __logl_finite.
38007 * sysdeps/i386/i686/fpu/e_log.S: New file.
38008 * sysdeps/i386/i686/fpu/e_logf.S: New file.
38009 * sysdeps/i386/i686/fpu/e_logl.S: New file.
38011 * ctype/ctype.h: Add support for inlined isXXX functions when
38012 compiling C++ code.
38014 2011-10-14 Andreas Schwab <schwab@redhat.com>
38016 * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for jn tests.
38018 * sysdeps/x86_64/fpu/fraiseexcpt.c: Fix last change.
38020 2011-10-13 Roland McGrath <roland@hack.frob.com>
38023 * manual/string.texi (String/Array Comparison): Typo fix in strverscmp.
38025 2011-10-13 Andreas Schwab <schwab@redhat.com>
38027 * sysdeps/x86_64/fpu/fraiseexcpt.c: Add __feraiseexcept alias.
38028 * sysdeps/x86_64/fpu/feupdateenv.c: Use __feraiseexcept instead of
38031 * sysdeps/x86_64/memrchr.S: Check for zero size.
38033 * string/stratcliff.c: Add memrchr tests.
38035 2011-10-12 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
38037 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
38038 memchr-sse2 memchr-sse2-bsf memrchr-sse2 memrchr-sse2-bsf memrchr-c
38039 rawmemchr-sse2 rawmemchr-sse2-bsf.
38040 * sysdeps/i386/i686/multiarch/memchr.S: New file.
38041 * sysdeps/i386/i686/multiarch/memchr-sse2.S: New file.
38042 * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: New file.
38043 * sysdeps/i386/i686/multiarch/memrchr.S: New file.
38044 * sysdeps/i386/i686/multiarch/memrchr-c.c: New file.
38045 * sysdeps/i386/i686/multiarch/memrchr-sse2.S: New file.
38046 * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: New file.
38047 * sysdeps/i386/i686/multiarch/rawmemchr.S: New file.
38048 * sysdeps/i386/i686/multiarch/rawmemchr-sse2.S: New file.
38049 * sysdeps/i386/i686/multiarch/rawmemchr-sse2-bsf.S: New file.
38050 * string/memrchr.c (MEMRCHR): New macro.
38052 2011-10-12 Ulrich Drepper <drepper@gmail.com>
38054 Add integration with gcc's -ffinite-math-only and optimize wrapper
38056 * Versions.def: Define GLIBC_2.15 version for libm.
38057 * math/Makefile (headers): Add bits/math-finite.h.
38058 * math/bits/math-finite.h: New file.
38059 * sysdeps/ia64/fpu/bits/math-finite.h: New file.
38060 * math/Versions [libm] (GLIBC_2.15): Export __*_finite symbols.
38061 * math/e_acoshl.c: Add __*_finite alias.
38062 * math/e_acosl.c: Likewise.
38063 * math/e_asinl.c: Likewise.
38064 * math/e_atan2l.c: Likewise.
38065 * math/e_atanhl.c: Likewise.
38066 * math/e_coshl.c: Likewise.
38067 * math/e_exp10.c: Likewise.
38068 * math/e_exp10f.c: Likewise.
38069 * math/e_exp10l.c: Likewise.
38070 * math/e_exp2l.c: Likewise.
38071 * math/e_fmodl.c: Likewise.
38072 * math/e_gammal_r.c: Likewise.
38073 * math/e_hypotl.c: Likewise.
38074 * math/e_j0l.c: Likewise.
38075 * math/e_j1l.c: Likewise.
38076 * math/e_jnl.c: Likewise.
38077 * math/e_lgammal_r.c: Likewise.
38078 * math/e_log10l.c: Likewise.
38079 * math/e_log2l.c: Likewise.
38080 * math/e_logl.c: Likewise.
38081 * math/e_powl.c: Likewise.
38082 * math/e_sinhl.c: Likewise.
38083 * math/e_sqrtl.c: Likewise.
38084 * math/e_scalb.c: Completely rewritten and optimized.
38085 * math/e_scalbf.c: Likewise.
38086 * math/e_scalbl.c: Likewise.
38087 * math/w_acos.c: Likewise.
38088 * math/w_acosf.c: Likewise.
38089 * math/w_acosl.c: Likewise.
38090 * math/w_acosh.c: Likewise.
38091 * math/w_acoshf.c: Likewise.
38092 * math/w_acoshl.c: Likewise.
38093 * math/w_asin.c: Likewise.
38094 * math/w_asinf.c: Likewise.
38095 * math/w_asinl.c: Likewise.
38096 * math/w_atan2.c: Likewise.
38097 * math/w_atan2f.c: Likewise.
38098 * math/w_atan2l.c: Likewise.
38099 * math/w_atanh.c: Likewise.
38100 * math/w_atanhf.c: Likewise.
38101 * math/w_atanhl.c: Likewise.
38102 * math/w_exp10.c: Likewise.
38103 * math/w_exp10f.c: Likewise.
38104 * math/w_exp10l.c: Likewise.
38105 * math/w_fmod.c: Likewise.
38106 * math/w_fmodf.c: Likewise.
38107 * math/w_fmodl.c: Likewise.
38108 * math/w_j0.c: Likewise.
38109 * math/w_j0f.c: Likewise.
38110 * math/w_j0l.c: Likewise.
38111 * math/w_j1.c: Likewise.
38112 * math/w_j1f.c: Likewise.
38113 * math/w_j1l.c: Likewise.
38114 * math/w_jn.c: Likewise.
38115 * math/w_jnf.c: Likewise.
38116 * math/w_log.c: Likewise.
38117 * math/w_logf.c: Likewise.
38118 * math/w_logl.c: Likewise.
38119 * math/w_log10.c: Likewise.
38120 * math/w_log10f.c: Likewise.
38121 * math/w_log10l.c: Likewise.
38122 * math/w_log2.c: Likewise.
38123 * math/w_log2f.c: Likewise.
38124 * math/w_log2l.c: Likewise.
38125 * math/w_pow.c: Likewise.
38126 * math/w_powf.c: Likewise.
38127 * math/w_powl.c: Likewise.
38128 * math/w_remainder.c: Likewise.
38129 * math/w_remainderf.c: Likewise.
38130 * math/w_remainderl.c: Likewise.
38131 * math/w_scalb.c: Likewise.
38132 * math/w_scalbf.c: Likewise.
38133 * math/w_scalbl.c: Likewise.
38134 * math/w_sqrt.c: Likewise.
38135 * math/w_sqrtf.c: Likewise.
38136 * math/w_sqrtl.c: Likewise.
38137 * math/math.h: Define __MATH_DECLARE_LDOUBLE if long double functions
38138 are declared. Include <bits/math-finite.h> if -ffinite-math-only is
38140 * math/math_private.h: Declare __kernel_standard_f.
38141 * math/w_cosh.c: Remove cruft and optimize a bit.
38142 * math/w_coshf.c: Likewise.
38143 * math/w_coshl.c: Likewise.
38144 * math/w_exp2.c: Likewise.
38145 * math/w_exp2f.c: Likewise.
38146 * math/w_exp2l.c: Likewise.
38147 * math/w_hypot.c: Likewise.
38148 * math/w_hypotf.c: Likewise.
38149 * math/w_hypotl.c: Likewise.
38150 * math/w_lgamma.c: Likewise.
38151 * math/w_lgamma_r.c: Likewise.
38152 * math/w_lgammaf.c: Likewise.
38153 * math/w_lgammaf_r.c: Likewise.
38154 * math/w_lgammal.c: Likewise.
38155 * math/w_lgammal_r.c: Likewise.
38156 * math/w_sinh.c: Likewise.
38157 * math/w_sinhf.c: Likewise.
38158 * math/w_sinhl.c: Likewise.
38159 * math/w_tgamma.c: Likewise.
38160 * math/w_tgammaf.c: Likewise.
38161 * math/w_tgammal.c: Likewise.
38162 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
38163 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
38164 * sysdeps/i386/fpu/e_acos.S: Add __*_finite alias.
38165 Minor optimizations. Pretty printing. Remove cruft.
38166 * sysdeps/i386/fpu/e_acosf.S: Likewise.
38167 * sysdeps/i386/fpu/e_acosh.S: Likewise.
38168 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
38169 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
38170 * sysdeps/i386/fpu/e_acosl.c: Likewise.
38171 * sysdeps/i386/fpu/e_asin.S: Likewise.
38172 * sysdeps/i386/fpu/e_asinf.S: Likewise.
38173 * sysdeps/i386/fpu/e_atan2.S: Likewise.
38174 * sysdeps/i386/fpu/e_atan2f.S: Likewise.
38175 * sysdeps/i386/fpu/e_atan2l.c: Likewise.
38176 * sysdeps/i386/fpu/e_atanh.S: Likewise.
38177 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
38178 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
38179 * sysdeps/i386/fpu/e_exp10.S: Likewise.
38180 * sysdeps/i386/fpu/e_exp10f.S: Likewise.
38181 * sysdeps/i386/fpu/e_exp10l.S: Likewise.
38182 * sysdeps/i386/fpu/e_exp2.S: Likewise.
38183 * sysdeps/i386/fpu/e_exp2f.S: Likewise.
38184 * sysdeps/i386/fpu/e_exp2l.S: Likewise.
38185 * sysdeps/i386/fpu/e_fmod.S: Likewise.
38186 * sysdeps/i386/fpu/e_fmodf.S: Likewise.
38187 * sysdeps/i386/fpu/e_fmodl.c: Likewise.
38188 * sysdeps/i386/fpu/e_hypot.S: Likewise.
38189 * sysdeps/i386/fpu/e_hypotf.S: Likewise.
38190 * sysdeps/i386/fpu/e_log.S: Likewise.
38191 * sysdeps/i386/fpu/e_log10.S: Likewise.
38192 * sysdeps/i386/fpu/e_log10f.S: Likewise.
38193 * sysdeps/i386/fpu/e_log10l.S: Likewise.
38194 * sysdeps/i386/fpu/e_log2.S: Likewise.
38195 * sysdeps/i386/fpu/e_log2f.S: Likewise.
38196 * sysdeps/i386/fpu/e_log2l.S: Likewise.
38197 * sysdeps/i386/fpu/e_logf.S: Likewise.
38198 * sysdeps/i386/fpu/e_logl.S: Likewise.
38199 * sysdeps/i386/fpu/e_pow.S: Likewise.
38200 * sysdeps/i386/fpu/e_powf.S: Likewise.
38201 * sysdeps/i386/fpu/e_powl.S: Likewise.
38202 * sysdeps/i386/fpu/e_remainder.S: Likewise.
38203 * sysdeps/i386/fpu/e_remainderf.S: Likewise.
38204 * sysdeps/i386/fpu/e_remainderl.S: Likewise.
38205 * sysdeps/i386/fpu/e_scalb.S: Likewise.
38206 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
38207 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
38208 * sysdeps/i386/fpu/e_sqrt.S: Likewise.
38209 * sysdeps/i386/fpu/e_sqrtf.S: Likewise.
38210 * sysdeps/i386/fpu/e_sqrtl.c: Likewise.
38211 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
38212 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
38213 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
38214 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
38215 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
38216 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
38217 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
38218 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
38219 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
38220 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
38221 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
38222 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
38223 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
38224 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
38225 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
38226 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
38227 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
38228 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
38229 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
38230 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
38231 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
38232 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
38233 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
38234 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
38235 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
38236 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
38237 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
38238 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
38239 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
38240 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
38241 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
38242 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
38243 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
38244 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
38245 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
38246 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
38247 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
38248 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
38249 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
38250 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
38251 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
38252 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
38253 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
38254 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
38255 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
38256 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
38257 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
38258 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
38259 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
38260 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
38261 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
38262 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
38263 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
38264 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
38265 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
38266 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
38267 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
38268 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
38269 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
38270 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
38271 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
38272 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
38273 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
38274 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
38275 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
38276 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
38277 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
38278 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
38279 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Likewise.
38280 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
38281 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
38282 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
38283 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
38284 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
38285 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
38286 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
38287 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
38288 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
38289 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
38290 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
38291 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
38292 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
38293 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Likewise.
38294 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
38295 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
38296 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
38297 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
38298 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
38299 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
38300 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
38301 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
38302 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
38303 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
38304 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
38305 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
38306 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
38307 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
38308 * sysdeps/s390/fpu/e_sqrt.c: Likewise.
38309 * sysdeps/s390/fpu/e_sqrtf.c: Likewise.
38310 * sysdeps/s390/fpu/e_sqrtl.c: Likewise.
38311 * sysdeps/sparc/sparc32/e_sqrt.c: Likewise.
38312 * sysdeps/sparc/sparc64/fpu/e_sqrtl.c: Likewise.
38313 * sysdeps/x86_64/fpu/e_exp2l.S: Likewise.
38314 * sysdeps/x86_64/fpu/e_fmodl.S: Likewise.
38315 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
38316 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
38317 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
38318 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
38319 * sysdeps/x86_64/fpu/e_remainderl.S: Likewise.
38320 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
38321 * sysdeps/x86_64/fpu/e_sqrt.c: Likewise. Fix parameter order
38322 * sysdeps/x86_64/fpu/e_sqrtf.c: Likewise.
38323 * sysdeps/x86_64/fpu/math_private.h (__isnan): Cast d parameter.
38324 (__isnanf): Likewise.
38325 (__isinf_ns): Likewise.
38326 (__isinf_nsf): Likewise.
38327 (__finite): Likewise.
38328 (__finitef): Likewise.
38329 (__ieee754_sqrt): Define as macro.
38330 (__ieee754_sqrtf): Define as macro.
38331 (__ieee754_sqrtl): Define as macro.
38332 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Add partially
38334 * sysdeps/x86_64/fpu/bits/mathinline.h: Make use of
38335 __FINITE_MATH_ONLY__ consistent.
38336 * sysdeps/ieee754/k_standard.c (__kernel_standard_f): New function.
38338 2011-10-10 Andreas Schwab <schwab@linux-m68k.org>
38340 * inet/getnetgrent_r.c (nscd_getnetgrent): Use __rawmemchr instead
38343 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: New file.
38345 2011-10-09 Ulrich Drepper <drepper@gmail.com>
38347 * po/ja.po: Update from translation team.
38349 2011-10-08 Roland McGrath <roland@hack.frob.com>
38351 * locale/programs/locarchive.c (prepare_address_space): New function.
38352 (create_archive, enlarge_archive, open_archive): Use it.
38354 * sysdeps/unix/sysv/linux/x86_64/time.c: Move #include <dl-vdso.h>
38355 inside [SHARED], where it is used.
38357 * nscd/nscd_proto.h: Declare __nscd_setnetgrent.
38359 * nss/getent.c (netgroup_keys): Remove unused variable.
38360 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
38362 2011-10-08 Ulrich Drepper <drepper@gmail.com>
38364 * include/math.h: Declare __isinf_ns, __isinf_nsf, __isinf_nsl.
38365 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: New file.
38366 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: New file.
38367 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: New file.
38368 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: New file.
38369 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: New file.
38370 * math/Makefile (libm-calls): Add s_isinf_ns.
38371 * math/divtc3.c: Use __isinf_nsl instead of isinf.
38372 * math/multc3.c: Likewise.
38373 * math/s_casin.c: Likewise.
38374 * math/s_casinf.c: Likewise.
38375 * math/s_casinl.c: Likewise.
38376 * math/s_ccos.c: Likewise.
38377 * math/s_ccosf.c: Likewise.
38378 * math/s_ccosl.c: Likewise.
38379 * math/s_ctan.c: Likewise.
38380 * math/s_ctanf.c: Likewise.
38381 * math/s_ctanh.c: Likewise.
38382 * math/s_ctanhf.c: Likewise.
38383 * math/s_ctanhl.c: Likewise.
38384 * math/s_ctanl.c: Likewise.
38385 * math/w_fmod.c: Likewise.
38386 * math/w_fmodf.c: Likewise.
38387 * math/w_fmodl.c: Likewise.
38388 * math/w_remainder.c: Likewise.
38389 * math/w_remainderf.c: Likewise.
38390 * math/w_remainderl.c: Likewise.
38391 * sysdeps/ieee754/dbl-64/s_finite.c: Undefine __finite.
38392 * sysdeps/ieee754/dbl-64/s_isnan.c: Undefine __isnan.
38393 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Undefine __finite.
38394 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Undefine __nan.
38395 * sysdeps/ieee754/flt-32/s_finitef.c: Undefine __finitef.
38396 * sysdeps/ieee754/flt-32/s_isnanf.c: Undefine __nan.
38397 * sysdeps/x86_64/fpu/math_private.h: Add optimized versions of __isnsn,
38398 __isnanf, __isinf_ns, __isinf_nsf, __finite, and __finitef.
38400 * stdio-common/printf_fp.c: Use the fact that isinf returns the sign
38402 * stdio-common/printf_fphex.c: Likewise.
38403 * stdio-common/printf_size.c: Likewise.
38405 * math/e_exp10.c: Include math_private.h using <...> not "...".
38406 * math/e_exp10f.c: Likewise.
38407 * math/e_exp10l.c: Likewise.
38408 * math/e_exp2l.c: Likewise.
38409 * math/e_j0l.c: Likewise.
38410 * math/e_j1l.c: Likewise.
38411 * math/e_jnl.c: Likewise.
38412 * math/e_lgammal_r.c: Likewise.
38413 * math/e_rem_pio2l.c: Likewise.
38414 * math/e_scalb.c: Likewise.
38415 * math/e_scalbf.c: Likewise.
38416 * math/e_scalbl.c: Likewise.
38417 * math/k_cosl.c: Likewise.
38418 * math/k_sinl.c: Likewise.
38419 * math/k_tanl.c: Likewise.
38420 * math/s_cacoshf.c: Likewise.
38421 * math/s_catan.c: Likewise.
38422 * math/s_catanf.c: Likewise.
38423 * math/s_catanh.c: Likewise.
38424 * math/s_catanhf.c: Likewise.
38425 * math/s_catanhl.c: Likewise.
38426 * math/s_catanl.c: Likewise.
38427 * math/s_ccosh.c: Likewise.
38428 * math/s_ccoshf.c: Likewise.
38429 * math/s_ccoshl.c: Likewise.
38430 * math/s_cexp.c: Likewise.
38431 * math/s_cexpf.c: Likewise.
38432 * math/s_cexpl.c: Likewise.
38433 * math/s_clog.c: Likewise.
38434 * math/s_clog10.c: Likewise.
38435 * math/s_clog10f.c: Likewise.
38436 * math/s_clog10l.c: Likewise.
38437 * math/s_clogf.c: Likewise.
38438 * math/s_clogl.c: Likewise.
38439 * math/s_csin.c: Likewise.
38440 * math/s_csinf.c: Likewise.
38441 * math/s_csinh.c: Likewise.
38442 * math/s_csinhf.c: Likewise.
38443 * math/s_csinhl.c: Likewise.
38444 * math/s_csinl.c: Likewise.
38445 * math/s_csqrt.c: Likewise.
38446 * math/s_csqrtf.c: Likewise.
38447 * math/s_csqrtl.c: Likewise.
38448 * math/s_ctan.c: Likewise.
38449 * math/s_ctanf.c: Likewise.
38450 * math/s_ctanh.c: Likewise.
38451 * math/s_ctanhf.c: Likewise.
38452 * math/s_ctanhl.c: Likewise.
38453 * math/s_ctanl.c: Likewise.
38454 * math/s_ldexp.c: Likewise.
38455 * math/s_ldexpf.c: Likewise.
38456 * math/s_ldexpl.c: Likewise.
38457 * math/s_significand.c: Likewise.
38458 * math/s_significandf.c: Likewise.
38459 * math/s_significandl.c: Likewise.
38460 * math/w_acos.c: Likewise.
38461 * math/w_acosf.c: Likewise.
38462 * math/w_acosh.c: Likewise.
38463 * math/w_acoshf.c: Likewise.
38464 * math/w_acoshl.c: Likewise.
38465 * math/w_acosl.c: Likewise.
38466 * math/w_asin.c: Likewise.
38467 * math/w_asinf.c: Likewise.
38468 * math/w_asinl.c: Likewise.
38469 * math/w_atan2.c: Likewise.
38470 * math/w_atan2f.c: Likewise.
38471 * math/w_atan2l.c: Likewise.
38472 * math/w_atanh.c: Likewise.
38473 * math/w_atanhf.c: Likewise.
38474 * math/w_atanhl.c: Likewise.
38475 * math/w_cosh.c: Likewise.
38476 * math/w_coshf.c: Likewise.
38477 * math/w_coshl.c: Likewise.
38478 * math/w_dremf.c: Likewise.
38479 * math/w_exp10.c: Likewise.
38480 * math/w_exp10f.c: Likewise.
38481 * math/w_exp10l.c: Likewise.
38482 * math/w_exp2.c: Likewise.
38483 * math/w_exp2f.c: Likewise.
38484 * math/w_fmod.c: Likewise.
38485 * math/w_fmodf.c: Likewise.
38486 * math/w_fmodl.c: Likewise.
38487 * math/w_hypot.c: Likewise.
38488 * math/w_hypotf.c: Likewise.
38489 * math/w_hypotl.c: Likewise.
38490 * math/w_j0.c: Likewise.
38491 * math/w_j0f.c: Likewise.
38492 * math/w_j0l.c: Likewise.
38493 * math/w_j1.c: Likewise.
38494 * math/w_j1f.c: Likewise.
38495 * math/w_j1l.c: Likewise.
38496 * math/w_jn.c: Likewise.
38497 * math/w_jnf.c: Likewise.
38498 * math/w_jnl.c: Likewise.
38499 * math/w_lgamma.c: Likewise.
38500 * math/w_lgamma_r.c: Likewise.
38501 * math/w_lgammaf.c: Likewise.
38502 * math/w_lgammaf_r.c: Likewise.
38503 * math/w_lgammal.c: Likewise.
38504 * math/w_lgammal_r.c: Likewise.
38505 * math/w_log.c: Likewise.
38506 * math/w_log10.c: Likewise.
38507 * math/w_log10f.c: Likewise.
38508 * math/w_log10l.c: Likewise.
38509 * math/w_log2.c: Likewise.
38510 * math/w_log2f.c: Likewise.
38511 * math/w_log2l.c: Likewise.
38512 * math/w_logf.c: Likewise.
38513 * math/w_logl.c: Likewise.
38514 * math/w_pow.c: Likewise.
38515 * math/w_powf.c: Likewise.
38516 * math/w_powl.c: Likewise.
38517 * math/w_remainder.c: Likewise.
38518 * math/w_remainderf.c: Likewise.
38519 * math/w_remainderl.c: Likewise.
38520 * math/w_scalb.c: Likewise.
38521 * math/w_scalbf.c: Likewise.
38522 * math/w_scalbl.c: Likewise.
38523 * math/w_sinh.c: Likewise.
38524 * math/w_sinhf.c: Likewise.
38525 * math/w_sinhl.c: Likewise.
38526 * math/w_sqrt.c: Likewise.
38527 * math/w_sqrtf.c: Likewise.
38528 * math/w_sqrtl.c: Likewise.
38529 * math/w_tgamma.c: Likewise.
38530 * math/w_tgammaf.c: Likewise.
38531 * math/w_tgammal.c: Likewise.
38533 * po/ja.po: Update from translation team.
38535 2011-09-29 Andreas Jaeger <aj@suse.de>
38538 * sunrpc/netname.c (netname2host): Fix logic.
38542 * math/w_remainderl.c (__remainderl): Handle (NaN, 0) and (Inf,y)
38544 * math/w_remainder.c (__remainder): Likewise.
38545 * math/w_remainderf.c (__remainderf): Likewise.
38546 * math/libm-test.inc (remainder_test): Add test cases.
38548 2011-10-04 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
38550 * stdlib/longlong.h: Update from GCC. Fix zarch smul_ppmm and
38553 2011-10-07 Ulrich Drepper <drepper@gmail.com>
38555 * string/test-memcmp.c: Avoid unncessary #defines.
38556 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
38558 2011-08-31 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
38560 * sysdeps/x86_64/multiarch/rawmemchr.S: Update.
38561 Use new sse2 version for core i3 - i7 as it's faster
38562 than sse42 version.
38563 (bit_Prefer_PMINUB_for_stringop): New.
38564 * sysdeps/x86_64/rawmemchr.S: Update.
38565 Replace with faster SSE2 version.
38566 * sysdeps/x86_64/memrchr.S: New file.
38567 * sysdeps/x86_64/memchr.S: Update.
38568 Replace with faster SSE2 version.
38570 2011-09-12 Marek Polacek <mpolacek@redhat.com>
38572 * elf/dl-load.c (lose): Add cast to avoid warning.
38574 2011-10-07 Ulrich Drepper <drepper@gmail.com>
38576 * po/ca.po: Update from translation team.
38578 * inet/getnetgrent_r.c: Hook up nscd.
38579 * nscd/Makefile (routines): Add nscd_netgroup.
38580 (nscd-modules): Add netgroupcache.
38581 (CFLAGS-netgroupcache.c): Define.
38582 * nscd/cache.c (readdfcts): Add entries for GETNETGRENT and INNETGR.
38583 (cache_search): Add const to second parameter.
38584 * nscd/connections.c (serv2str): Add entries for GETNETGRENT and
38586 (dbs): Add netgrdb entry.
38587 (reqinfo): Add entries for GETNETGRENT, INNETGR, and GETFDNETGR.
38588 (verify_persistent_db): Handle netgrdb.
38589 (handle_request): Handle GETNETGRENT, INNETGR, and GETFDNETGR.
38590 * nscd/nscd-client.h (request_type): Add GETNETGRENT, INNETGR, and
38592 (netgroup_response_header): Define.
38593 (innetgroup_response_header): Define.
38594 (datahead): Add netgroup_response_header and innetgroup_response_header
38596 * nscd/nscd.conf: Add entries for netgroup cache.
38597 * nscd/nscd.h (dbtype): Add netgrdb.
38598 (_PATH_NSCD_NETGROUP_DB): Define.
38599 (netgroup_iov_disabled): Declare.
38600 (xmalloc, xcalloc, xrealloc): Move declarations here.
38601 (cache_search): Adjust prototype.
38602 Add netgroup-related prototypes.
38603 * nscd/nscd_conf.c (dbnames): Add netgrdb entry.
38604 * nscd/nscd_proto.h (__nss_not_use_nscd_netgroup): Declare.
38605 (__nscd_innetgr): Declare.
38606 * nscd/selinux.c (perms): Use access_vector_t as element type and
38607 add netgroup-related initializers.
38608 * nscd/netgroupcache.c: New file.
38609 * nscd/nscd_netgroup.c: New file.
38610 * nss/Versions [libc] (GLIBC_PRIVATE): Export __nss_lookup.
38611 * nss/getent.c (netgroup_keys): Use setnetgrent only for one parameter.
38612 For four parameters use innetgr.
38613 * nss/nss_files/files-init.c: Add definition and callback for netgr.
38614 * nss/nsswitch.c (__nss_lookup): Add libc_hidden_def.
38615 (__nss_disable_nscd): Set __nss_not_use_nscd_netgroup.
38616 * nss/nsswitch.h (__nss_lookup): Add libc_hidden_proto.
38618 * nscd/connections.c (register_traced_file): Don't register file
38619 for disabled databases.
38621 2011-10-06 Ulrich Drepper <drepper@gmail.com>
38623 * nscd/grpcache.c (cache_addgr): Initialize written in all cases.
38625 * nss/nsswitch.c (__nss_lookup_function): Fix order of deleting
38626 from tree and freeing node.
38628 2011-09-25 Jiri Olsa <jolsa@redhat.com>
38630 * nss/nsswitch.c (__nss_database_lookup): Handle
38631 nss_parse_service_list out of memory case.
38633 2011-09-15 Jiri Olsa <jolsa@redhat.com>
38635 * nss/nsswitch.c (__nss_lookup_function): Handle __tsearch
38636 out of memory case.
38638 2011-10-04 Andreas Schwab <schwab@redhat.com>
38640 * include/dlfcn.h (__RTLD_NOIFUNC): Define.
38641 * elf/do-rel.h (elf_dynamic_do_rel): Add parameter skip_ifunc and
38643 * elf/dynamic-link.h: Adjust prototypes of elf_machine_rel,
38644 elf_machine_rela, elf_machine_lazy_rel.
38645 (_ELF_DYNAMIC_DO_RELOC): Add parameter skip_ifunc and pass it down.
38646 (ELF_DYNAMIC_DO_REL): Likewise.
38647 (ELF_DYNAMIC_DO_RELA): Likewise.
38648 (ELF_DYNAMIC_RELOCATE): Likewise.
38649 * elf/dl-reloc.c (_dl_relocate_object): Pass __RTLD_NOIFUNC down
38650 to ELF_DYNAMIC_DO_REL.
38651 * elf/rtld.c (_dl_start): Adjust use of ELF_DYNAMIC_RELOCATE.
38652 (dl_main): In trace mode always set __RTLD_NOIFUNC.
38653 * elf/dl-conflict.c (_dl_resolve_conflicts): Adjust call to
38655 * sysdeps/i386/dl-machine.h (elf_machine_rel): Add parameter
38656 skip_ifunc, don't call ifunc function if non-zero.
38657 (elf_machine_rela): Likewise.
38658 (elf_machine_lazy_rel): Likewise.
38659 (elf_machine_lazy_rela): Likewise.
38660 * sysdeps/ia64/dl-machine.h (elf_machine_rela): Likewise.
38661 (elf_machine_lazy_rel): Likewise.
38662 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
38664 (elf_machine_lazy_rel): Likewise.
38665 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
38667 (elf_machine_lazy_rel): Likewise.
38668 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela): Likewise.
38669 (elf_machine_lazy_rel): Likewise.
38670 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Likewise.
38671 (elf_machine_lazy_rel): Likewise.
38672 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
38673 (elf_machine_lazy_rel): Likewise.
38674 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
38675 (elf_machine_lazy_rel): Likewise.
38676 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
38677 (elf_machine_lazy_rel): Likewise.
38678 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
38679 (elf_machine_lazy_rel): Likewise.
38681 2011-09-28 Ulrich Drepper <drepper@gmail.com>
38683 * nss/nss_files/files-init.c (_nss_files_init): Use static
38684 initialization for all the *_traced_file variables.
38686 2011-09-28 Andreas Schwab <schwab@redhat.com>
38688 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
38690 2011-09-27 Roland McGrath <roland@hack.frob.com>
38693 * manual/signal.texi (Longjmp in Handler): Grammar fixes.
38695 2011-09-27 Andreas Schwab <schwab@redhat.com>
38697 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
38698 Reread the line before reparsing it.
38700 2011-09-26 Andreas Schwab <schwab@redhat.com>
38702 * sysdeps/x86_64/fpu/bits/mathinline.h: Use __asm instead of asm.
38704 2011-09-21 Chung-Lin Tang <cltang@codesourcery.com>
38705 Maxim Kuvyrkov <maxim@codesourcery.com>
38706 Joseph Myers <joseph@codesourcery.com>
38708 * resolv/Makefile (LDLIBS-resolv.so): Link in $(elfobjdir)/ld.so
38709 if needed for __stack_chk_guard.
38711 2011-09-19 Roland McGrath <roland@hack.frob.com>
38713 * sysdeps/posix/spawni.c (script_execute): Always define it.
38714 It will be optimized away if unused.
38715 (maybe_script_execute): New function.
38716 (__spawni): Call it.
38718 * Makerules: Don't include tls.make.
38719 (config-tls): Always set to thread.
38720 * tls.make.c: File removed.
38722 2011-09-19 Mike Frysinger <vapier@gentoo.org>
38724 * Makeconfig (CPPFLAGS): Prepend $(CPPFLAGS-config).
38725 * config.make.in (CPPFLAGS-config): New substituted variable.
38727 2011-09-15 Ulrich Drepper <drepper@gmail.com>
38729 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: New file.
38732 * sysdeps/unix/sysv/linux/bits/in.h (IP_MULTICAST_ALL): Define.
38733 Patch mostly by Neil Horman <nhorman@tuxdriver.com>.
38735 2011-09-15 Roland McGrath <roland@hack.frob.com>
38737 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S
38738 (CALL_FAIL): Use HIDDEN_JUMPTARGET for __fortify_fail.
38739 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
38740 (CALL_FAIL): Likewise.
38741 * sysdeps/unix/sysv/linux/ia64/____longjmp_chk.S (CHECK_RSP): Likewise.
38742 (CALL_FAIL): Macro removed.
38743 Patch mostly by Mike Frysinger <vapier@gentoo.org>.
38745 2011-09-15 Ulrich Drepper <drepper@gmail.com>
38747 * sysdeps/x86_64/fpu/bits/mathinline.h: Add fmax and fmin optimizations
38748 for __FINITE_MATH_ONLY__ == 1.
38750 2011-09-15 Andreas Schwab <schwab@redhat.com>
38752 * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Use
38753 __ieee754_sqrt instead of sqrt.
38754 * sysdeps/powerpc/fpu/e_hypotf.c (__ieee754_hypotf): Use
38755 __ieee754_sqrtf instead of sqrtf.
38756 * sysdeps/powerpc/fpu/e_rem_pio2f.c (__ieee754_rem_pio2f): Use
38757 __floorf instead of floorf.
38758 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Use
38759 __floorf, __truncf instead of floorf, truncf.
38761 2011-09-14 Ulrich Drepper <drepper@gmail.com>
38763 * sysdeps/x86_64/fpu/s_copysign.S [ELF]: Use correct section.
38765 * sysdeps/x86_64/fpu/bits/mathinline.h (__MATH_INLINE): Use
38766 __extern_always_inline.
38767 Define lrint{f,} and llrint{f,} for 64-bit and in some situations for
38770 2011-09-14 Andreas Schwab <schwab@redhat.com>
38772 * elf/rtld.c (dl_main): Also relocate in dependency order when
38773 doing symbol dependency testing.
38775 2011-09-13 Andreas Schwab <schwab@linux-m68k.org>
38777 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
38778 Always define `refsym'.
38780 2011-09-13 Andreas Schwab <schwab@redhat.com>
38782 * misc/sys/select.h (__FD_MASK): Renamed from __FDMASK.
38783 (__FD_ELT): Renamed from __FDELT.
38784 * misc/bits/select2.h (__FD_ELT): Likewise.
38785 * bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET): Use __FD_ELT,
38786 __FD_MASK instead of __FDELT, __FDMASK.
38787 * sysdeps/i386/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
38789 * sysdeps/x86_64/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
38792 * elf/Makefile (gen-ldd): Fix pattern.
38794 * elf/rtld.c (dl_main): Only use USE___THREAD when defined.
38795 (init_tls): Likewise.
38797 2011-09-12 Ulrich Drepper <drepper@gmail.com>
38799 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: New file.
38801 2011-09-12 Andreas Schwab <schwab@redhat.com>
38803 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Cast to
38804 `struct cmsghdr *' instead of `void *'.
38805 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (__cmsg_nxthdr):
38808 2011-09-11 Andreas Schwab <schwab@linux-m68k.org>
38810 * elf/Makefile (gen-ldd): Prepend $(..) to $(ldd-rewrite-script)
38812 * sysdeps/unix/sysv/linux/configure.in: Remove leading ../ from
38813 ldd_rewrite_script.
38815 2011-09-11 Ulrich Drepper <drepper@gmail.com>
38817 * configure.in: Remove --with-tls option.
38818 * config.h.in: Remove HAVE_TLS_SUPPORT entry.
38819 * sysdeps/i386/elf/configure.in: Always test for TLS support and err
38820 out in case it is missing.
38821 * sysdeps/ia64/elf/configure.in: Likewise.
38822 * sysdeps/powerpc/powerpc32/elf/configure.in: Likewise.
38823 * sysdeps/powerpc/powerpc64/elf/configure.in: Likewise.
38824 * sysdeps/s390/s390-32/elf/configure.in: Likewise.
38825 * sysdeps/s390/s390-64/elf/configure.in: Likewise.
38826 * sysdeps/sh/elf/configure.in: Likewise.
38827 * sysdeps/sparc/sparc32/elf/configure.in: Likewise.
38828 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
38829 * sysdeps/x86_64/elf/configure.in: Likewise.
38830 * sysdeps/mach/hurd/i386/tls.h: Remove test for HAVE_TLS_SUPPORT.
38831 * sysdeps/mach/hurd/tls.h: Likewise.
38834 * malloc/obstack.h [!GNUC] (obstack_free): Avoid cast to int.
38837 * configure.in: Fix use of AC_INIT.
38839 * elf/dl-support.c (_dl_pagesize): Initialize to EXEC_PAGESIZE.
38841 2011-09-10 Ulrich Drepper <drepper@gmail.com>
38843 * malloc/malloc.c: Replace MALLOC_FAILURE_ACTION with use of
38845 * malloc/hooks.c: Likewise.
38848 * malloc/arena.c (ptmalloc_init_minimal): Removed. Initialize all
38849 variables statically.
38850 (narenas): Initialize.
38851 (list_lock): Initialize.
38852 (ptmalloc_init): Don't call ptmalloc_init_minimal. Remove
38853 initializtion of main_arena and list_lock. Small cleanups.
38854 Replace all uses of malloc_getpagesize with GLRO(dl_pagesize).
38855 * malloc/malloc.c: Remove malloc_getpagesize. Include <ldsodefs.h>.
38856 Add initializers to main_arena and mp_.
38857 (malloc_state): Remove pagesize member. Change all users to use
38860 * elf/rtld.c (rtld_global_ro): Initialize _dl_pagesize.
38861 * sysdeps/unix/sysv/linux/getpagesize.c: Simplify. GLRO(dl_pagesize)
38862 is always initialized.
38864 * malloc/malloc.c: Removed unused configurations and dead code.
38865 * malloc/arena.c: Likewise.
38866 * malloc/hooks.c: Likewise.
38867 * malloc/Makefile (CPPFLAGS-malloc.c): Don't add -DATOMIC_FASTBINS.
38869 * include/tls.h: Removed. USE___THREAD must always be defined.
38870 * bits/libc-tsd.h: Don't handle !USE___THREAD.
38871 * elf/dl-libc.c: Likewise.
38872 * elf/dl-tsd.c: Likewise.
38873 * include/errno.h: Likewise.
38874 * include/netdb.h: Likewise.
38875 * include/resolv.h: Likewise.
38876 * inet/herrno-loc.c: Likewise.
38877 * inet/herrno.c: Likewise.
38878 * malloc/arena.c: Likewise.
38879 * malloc/hooks.c: Likewise.
38880 * malloc/malloc.c: Likewise.
38881 * resolv/res-state.c: Likewise.
38882 * resolv/res_libc.c: Likewise.
38883 * sysdeps/i386/dl-machine.h: Likewise.
38884 * sysdeps/ia64/dl-machine.h: Likewise.
38885 * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
38886 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
38887 * sysdeps/s390/s390-32/dl-machine.h: Likewise.
38888 * sysdeps/s390/s390-64/dl-machine.h: Likewise.
38889 * sysdeps/sh/dl-machine.h: Likewise.
38890 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
38891 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
38892 * sysdeps/unix/i386/sysdep.S: Likewise.
38893 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
38894 * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
38895 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
38896 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
38897 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
38898 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
38899 * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
38900 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
38901 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
38902 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
38903 * sysdeps/unix/x86_64/sysdep.S: Likewise.
38904 * sysdeps/x86_64/dl-machine.h: Likewise.
38905 * tls.make.c: Likewise.
38907 * configure.in: Remove --with-__thread option. Make tests for
38908 --no-whole-archive, __builtin_expect, symbol redirection, __thread,
38909 tls_model attribute fail if no support is available. Remove
38911 * Makeconfig: Adjust for dropped configure option. All features are
38913 * Makerules: Likewise.
38914 * Versions.def: Likewise.
38915 * argp/argp-fmtstream.c: Likewise.
38916 * argp/argp-fmtstream.h: Likewise.
38917 * argp/argp-help.c: Likewise.
38918 * assert/assert.c: Likewise.
38919 * config.h.in: Likewise.
38920 * config.make.in: Likewise.
38921 * configure: Likewise.
38922 * configure.in: Likewise.
38923 * csu/Versions: Likewise.
38924 * csu/init.c: Likewise.
38925 * elf/tst-audit2.c: Likewise.
38926 * elf/tst-tls10.c: Likewise.
38927 * elf/tst-tls10.h: Likewise.
38928 * elf/tst-tls11.c: Likewise.
38929 * elf/tst-tls12.c: Likewise.
38930 * elf/tst-tls14.c: Likewise.
38931 * elf/tst-tlsmod11.c: Likewise.
38932 * elf/tst-tlsmod12.c: Likewise.
38933 * elf/tst-tlsmod13.c: Likewise.
38934 * elf/tst-tlsmod13a.c: Likewise.
38935 * elf/tst-tlsmod14a.c: Likewise.
38936 * elf/tst-tlsmod15b.c: Likewise.
38937 * elf/tst-tlsmod16a.c: Likewise.
38938 * elf/tst-tlsmod16b.c: Likewise.
38939 * elf/tst-tlsmod7.c: Likewise.
38940 * elf/tst-tlsmod8.c: Likewise.
38941 * elf/tst-tlsmod9.c: Likewise.
38942 * gmon/gmon.c: Likewise.
38943 * grp/fgetgrent_r.c: Likewise.
38944 * grp/putgrent.c: Likewise.
38945 * hurd/fopenport.c: Likewise.
38946 * include/libc-symbols.h: Likewise.
38947 * include/tls.h: Likewise.
38948 * intl/gettextP.h: Likewise.
38949 * intl/loadinfo.h: Likewise.
38950 * locale/global-locale.c: Likewise.
38951 * locale/localeinfo.h: Likewise.
38952 * mach/devstream.c: Likewise.
38953 * malloc/arena.c: Likewise.
38954 * malloc/set-freeres.c: Likewise.
38955 * misc/err.c: Likewise.
38956 * misc/getttyent.c: Likewise.
38957 * misc/mntent_r.c: Likewise.
38958 * posix/getopt.c: Likewise.
38959 * posix/wordexp.c: Likewise.
38960 * pwd/fgetpwent_r.c: Likewise.
38961 * resolv/Versions: Likewise.
38962 * resolv/res_hconf.c: Likewise.
38963 * shadow/fgetspent_r.c: Likewise.
38964 * shadow/putspent.c: Likewise.
38965 * stdio-common/printf_fphex.c: Likewise.
38966 * stdio-common/tmpfile.c: Likewise.
38967 * stdlib/abort.c: Likewise.
38968 * stdlib/fmtmsg.c: Likewise.
38969 * sunrpc/auth_unix.c: Likewise.
38970 * sunrpc/clnt_perr.c: Likewise.
38971 * sunrpc/clnt_tcp.c: Likewise.
38972 * sunrpc/clnt_udp.c: Likewise.
38973 * sunrpc/clnt_unix.c: Likewise.
38974 * sunrpc/openchild.c: Likewise.
38975 * sunrpc/svc_simple.c: Likewise.
38976 * sunrpc/svc_tcp.c: Likewise.
38977 * sunrpc/svc_udp.c: Likewise.
38978 * sunrpc/svc_unix.c: Likewise.
38979 * sunrpc/xdr.c: Likewise.
38980 * sunrpc/xdr_array.c: Likewise.
38981 * sunrpc/xdr_rec.c: Likewise.
38982 * sunrpc/xdr_ref.c: Likewise.
38983 * sunrpc/xdr_stdio.c: Likewise.
38985 2011-09-09 Ulrich Drepper <drepper@gmail.com>
38987 * sysdeps/i386/fpu/libm-test-ulps: Adjust ULPs for jn tests.
38989 2011-07-03 Andreas Jaeger <aj@suse.de>
38991 * math/libm-test.inc (jn_test): Add tests for BZ#11589.
38992 * sysdeps/x86_64/fpu/libm-test-ulps: Add new ULPs for jn_test,
38993 regenerate with gen-libm-tests.pl.
38995 2010-05-12 Petr Baudis <pasky@suse.cz>
38998 * sysdeps/ieee754/dbl-64/e_jn.c: Compensate major precision loss
38999 around j0() zero points by switching to j1().
39000 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
39001 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
39002 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
39003 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
39005 2011-09-09 Ulrich Drepper <drepper@gmail.com>
39007 * sysdeps/unix/bsd/bsd4.4/bits/socket.h (__cmsg_nxthdr): Use NULL
39009 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Use (void*)0
39011 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
39012 Patch in part by Pavel Roskin <proski@gnu.org>.
39015 * stdio-common/vfscanf.c (ADDW): Allocate large memory block with
39017 (_IO_vfscanf_internal): Remove reteof. Use errout after setting done.
39018 Free memory block if necessary.
39021 * libio/genops.c (INTDEF): For string streams the _lock pointer can
39022 be NULL. Don't lock in this case.
39024 2011-09-09 Roland McGrath <roland@hack.frob.com>
39026 * elf/elf.h (ELFOSABI_GNU): New macro.
39027 (ELFOSABI_LINUX): Define to that.
39029 2011-07-29 Denis Zaitceff <zaitceff@gmail.com>
39031 * string/strncat.c (strncat): Undef the symbol in case it has been
39032 defined in bits/string.h.
39034 2011-09-09 Ulrich Drepper <drepper@gmail.com>
39036 * elf/sotruss.ksh: Clean up, fix, and complete help messages.
39038 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Fill in data from the real
39041 2011-08-17 Andreas Jaeger <aj@suse.de>
39043 * elf/sprof.c (load_shobj): Remove unused variable log_hashfraction.
39045 2011-08-18 Paul Pluzhnikov <ppluzhnikov@google.com>
39046 Ian Lance Taylor <iant@google.com>
39048 * math/libm-test.inc (lround_test): New testcase.
39049 * sysdeps/ieee754/dbl-64/s_lround.c (__lround): Don't lose precision.
39051 2011-09-08 Ulrich Drepper <drepper@gmail.com>
39053 * Makefile: Remove support for automatic cvs check-ins.
39054 * Makerules: Likewise.
39055 * config.make.in: Likewise.
39056 * configure.in: Likewise.
39057 * intl/Makefile: Likewise.
39058 * locale/Makefile: Likewise.
39059 * po/Makefile: Likewise.
39060 * posix/Makefile: Likewise.
39061 * sysdeps/gnu/Makefile: Likewise.
39062 * sysdeps/mach/hurd/Makefile: Likewise.
39063 * sysdeps/sparc/sparc32/Makefile: Likewise.
39066 * posix/Makefile (bug-regex32-ENV): Define.
39067 Patch by John Stanley <jpsinthemix@verizon.net>.
39069 * misc/Makefile (headers): Add bits/select2.h.
39070 * misc/sys/select.h: Include bits/select2.h for _FORTIFY_SOURCE.
39071 * misc/bits/select2.h: New file.
39072 * include/bits/select2.h: New file.
39073 * debug/Makefile (routines): Add fdelt_chk.
39074 * debug/Versions: Export __fdelt_chk and __fdelt_warn for GLIBC_2.15.
39075 * debug/tst-chk1.c (do_test): Add tests for FD_SET, FD_CLR, and
39077 * debug/fdelt_chk.c: New file.
39079 * wcsmbs/test-wcscmp.c: Moved from string/*. Adjust.
39080 * wcsmbs/test-wmemcmp.c: Likewise.
39081 * string/Makefile (strop-tests): Remove wcscmp and wmemcmp.
39082 * wcsmbs/Makefile (strop-tests): Add wcscmp and wmemcmp.
39084 2011-09-08 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
39086 * string/Makefile (strop-tests): Add memcmp.
39087 * string/test-wmemcmp.c: New file.
39088 * string/test-memcmp.c: Add wmemcmp support.
39090 2011-09-08 Roland McGrath <roland@hack.frob.com>
39093 * manual/libc.texinfo (EDITION, VERSION, UPDATED): Update for
39096 * sysdeps/mach/hurd/fork.c (__fork): Initialize REFS so we don't use a
39097 garbage value in a __mach_port_mod_refs call in the cases of the
39098 task-self and thread-self ports.
39100 2011-09-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
39102 * sysdeps/mach/hurd/sys/param.h (DEV_BSIZE): New macro.
39104 2011-09-08 Andreas Schwab <schwab@redhat.com>
39106 * elf/dl-load.c (lose): Check for non-null L.
39108 2011-09-07 Ulrich Drepper <drepper@gmail.com>
39110 * elf/dl-load.c (open_verify): Use O_CLOEXEC.
39112 * elf/dl-libc.c (dlerror_run): Pass back error code from
39116 * elf/dl-load.c (lose): Free l_origin if it is valid.
39118 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Fix mixup in section
39120 * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
39121 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
39122 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
39123 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
39124 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
39125 Patch by Liubov Dmitrieva <liubov.dmitrieva@intel.com>.
39127 2011-08-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
39129 * sysdeps/powerpc/fpu/e_hypot.c: New file.
39130 * sysdeps/powerpc/fpu/e_hypotf.c: New file.
39131 * sysdeps/powerpc/fpu/e_rem_pio2f.c: New file.
39132 * sysdeps/powerpc/fpu/k_rem_pio2f.c: New file.
39133 * sysdeps/powerpc/fpu/k_cosf.c: New file.
39134 * sysdeps/powerpc/fpu/k_sinf.c: New file.
39135 * sysdeps/powerpc/fpu/s_cosf.c: New file.
39136 * sysdeps/powerpc/fpu/s_sinf.c: New file.
39137 * sysdeps/powerpc/fpu/s_scalbnf.c: New file.
39138 * sysdeps/powerpc/fpu/s_float_bitwise.h: New file.
39140 2011-08-15 Alan Modra <amodra@gmail.com>
39143 * sysdeps/powerpc/Makefile (gmon): Move sysdep_routines to..
39144 * sysdeps/powerpc/powerpc64/Makefile (gmon): ..here..
39145 * sysdeps/powerpc/powerpc32/Makefile (gmon): ..and here. Add
39146 ppc_mcount to static-only-routines.
39147 * sysdeps/powerpc/powerpc32/Versions: Export GLIBC_PRIVATE
39149 * sysdeps/powerpc/powerpc32/ppc-mcount.S (_mcount): Call
39150 __mcount_internal with usual JUMPTARGET. Remove useless nop.
39152 2011-08-18 David Flaherty <flaherty@linux.vnet.ibm.com>
39154 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: New file which checks
39155 for finite and infinity parameters.
39157 2011-08-04 Will Schmidt <will_schmidt@vnet.ibm.com>
39159 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Adjust the alignment
39160 and add nop instructions for throughput optimization.
39161 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
39163 2011-07-28 Will Schmidt <will_schmidt@vnet.ibm.com>
39165 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Optimize the
39166 aligned copy for power7 with vector-scalar instructions.
39167 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
39169 2011-07-24 H.J. Lu <hongjiu.lu@intel.com>
39171 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Simplify
39174 2011-09-07 Andreas Schwab <schwab@redhat.com>
39177 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Revert
39180 2011-09-07 Ulrich Drepper <drepper@gmail.com>
39182 * sysdeps/unix/sysv/linux/x86_64/init-first.c
39183 (_libc_vdso_platform_setup): If vDSO is not present store pointer to
39184 syscall wrapper around clock_gettime in __vdso_clock_gettime.
39185 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Add entry for
39188 2011-09-06 Ulrich Drepper <drepper@gmail.com>
39190 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c (INTERNAL_GETTIME):
39191 Forgot to demangle the pointer.
39193 * sysdeps/i386/sysdep.h: Define atom_text_section.
39194 * sysdeps/x86_64/sysdep.h: Likewise.
39195 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Place function in
39196 section with atom_text_section.
39197 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
39198 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
39199 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
39200 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
39201 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: Likewise.
39203 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: New file.
39204 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSCALL_GETTIME): Allow
39205 already be defined. Change to take two parameters and don't assign
39206 result to variable. Adjust all users.
39207 Define INTERNAL_GETTIME if not already defined.
39208 Use INTERNAL_GETTIME instead of INTERNAL_VSYSCALL got clock_gettime
39210 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Don't define
39211 HAVE_CLOCK_GETTIME_VSYSCALL.
39212 * sysdeps/unix/clock_gettime.c: Adjust use of SYSDEP_GETTIME_CPU.
39214 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Don't use
39215 gettimeofday vsyscall, just use time.
39217 2011-09-06 Andreas Schwab <schwab@redhat.com>
39219 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Include
39222 2011-09-06 Ulrich Drepper <drepper@gmail.com>
39224 * sysdeps/unix/sysv/linux/kernel-features.h: Add entry for getcpu
39226 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Use real
39228 * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
39229 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [!SHARED]: Use real
39230 syscall if possible.
39232 2011-09-05 Ulrich Drepper <drepper@gmail.com>
39234 * elf/pldd.c (get_process_info): Don't read whole ELF header, just
39235 e_ident. Don't pass to find_mapsXX.
39236 * elf/pldd-xx.c (find_mapsXX): Remove second parameter.
39238 2011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
39240 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
39241 strchr-sse2-no-bsf strrchr-sse2-no-bsf
39242 * sysdeps/x86_64/multiarch/strchr.S: Update.
39243 Check bit_slow_BSF bit.
39244 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
39245 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: New file.
39246 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: New file.
39248 2011-09-05 Ulrich Drepper <drepper@gmail.com>
39251 * sysdeps/posix/spawni.c (script_execute): Define only for compatibility
39253 (tryshell): Define.
39254 (__spawni): Change last parameter to be flag. Test
39255 SPAWN_XFLAGS_USE_PATH flag to use path or not.
39256 Don't try to use shell unless SPAWN_XFLAGS_TRY_SHELL is set.
39257 * sysdeps/mach/hurd/spawni.c: Change last parameter and adjust user.
39258 * posix/spawni.c: Likewise.
39259 * posix/spawn.c: Add compat version which passed SPAWN_XFLAGS_TRY_SHELL.
39260 * posix/spawnp.c: Likewise. Change normal version to use
39261 SPAWN_XFLAGS_USE_PATH.
39262 * posix/spawn_int.c: Define SPAWN_XFLAGS_USE_PATH and
39263 SPAWN_XFLAGS_TRY_SHELL.
39266 * posix/glob.h: Remove gcc 1.x support.
39269 * elf/dl-misc.c (_dl_sysdep_read_whole_file): Use O_CLOEXEC.
39271 2011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
39273 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
39274 strchr-sse2 strrchr-sse2 strchr-sse2-bsf
39276 * sysdeps/i386/i686/multiarch/strchr.S: New file.
39277 * sysdeps/i386/i686/multiarch/strrchr.S: New file.
39278 * sysdeps/i386/i686/multiarch/strchr-sse2.S: New file.
39279 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: New file.
39280 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: New file.
39281 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: New file.
39283 2011-08-29 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
39285 * sysdeps/x86_64/wcscmp.S: New file.
39287 * sysdeps/i386/i686/multiarch/Makefile: (sysdep_routines): Add
39288 wcscmp-c wcscmp-sse2
39289 * sysdeps/i386/i686/multiarch/wcscmp-c.c: New file.
39290 * sysdeps/i386/i686/multiarch/wcscmp.S: New file.
39291 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: New file.
39292 * wcsmbs/wcscmp.c: Allow renaming.
39294 2011-09-05 David S. Miller <davem@davemloft.net>
39296 * sysdeps/sparc/sparc32/fpu/s_fabsf.S: Use first argument
39297 stack slot, rather than the struct return pointer slot.
39298 * sysdeps/sparc/sparc32/fpu/s_fabs.c: Delete.
39299 * sysdeps/sparc/sparc32/fpu/s_fabs.S: New file.
39300 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Likewise.
39301 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/Implies: Likewise.
39303 2011-09-05 Ulrich Drepper <drepper@gmail.com>
39305 * po/ja.po: Update from translation team.
39308 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Fix to match
39309 kernel in 64-bit binaries.
39311 2011-09-01 David S. Miller <davem@davemloft.net>
39313 * elf/elf.h (HWCAP_SPARC_*): Move to..
39314 * sysdeps/sparc/sysdep.h: this new file and add new values.
39315 * sysdeps/unix/sparc/sysdep.h: Include sysdeps/sparc/sysdep.h
39316 * sysdeps/sparc/dl-procinfo.h: Include sysdep.h and increase
39317 _DL_HWCAP_COUNT to 24.
39318 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
39320 * sysdeps/sparc/sparc32/bits/atomic.h: Don't use magic local
39321 __ATOMIC_HWCAP_SPARC_V9 define, use sysdep.h one instead.
39322 * sysdeps/sparc/sparc32/dl-machine.h: Include sysdep.h
39323 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use HWCAP_SPARC_*
39324 instead of magic constants.
39325 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
39327 2011-08-31 David S. Miller <davem@davemloft.net>
39329 * sysdeps/unix/sparc/sysdep.h (SETUP_PIC_REG): Define.
39330 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h (PSEUDO):
39331 Reimplement to do errno handling inline.
39332 (SYSCALL_ERROR_HANDLER): New macro.
39333 (__SYSCALL_STRING): Do not do errno handling in asm.
39334 (__CLONE_SYSCALL_STRING): Delete.
39335 (__INTERNAL_SYSCALL_STRING): Delete.
39336 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Include
39337 sysdeps/unix/sparc/sysdep.h instead of sysdeps/unix/sysdep.h
39338 (PSEUDO): Reimplement to do errno handling inline.
39339 (ret, ret_NOERRNO, ret_ERRVAL, r0, r1, MOVE): Don't redefine.
39340 (SYSCALL_ERROR_HANDLER): New macro.
39341 (__SYSCALL_STRING): Do not do errno handling in asm.
39342 (__CLONE_SYSCALL_STRING): Delete.
39343 (__INTERNAL_SYSCALL_STRING): Delete.
39344 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL):
39345 Implement in terms of INTERNAL_SYSCALL and __set_errno, just like
39347 (INTERNAL_SYSCALL_DECL): Declare %g1 var for err state.
39348 (inline_syscall*): Add 'err' argument.
39349 (INTERNAL_SYSCALL, INTERNAL_SYSCALL_NCS,
39350 INTERNAL_SYSCALL_ERROR_P): Likewise and pass it down.
39351 (INLINE_CLONE_SYSCALL): Reimplement in terms of __SYSCALL_STRING,
39352 INTERNAL_SYSCALL_ERRNO, and INTERNAL_SYSCALL_ERROR_P.
39354 * scripts/data/localplt-sparc-linux-gnu.data: Remove 'ffs'.
39355 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
39357 2011-08-30 Andreas Schwab <schwab@redhat.com>
39359 * elf/rtld.c (dl_main): Relocate objects in dependency order.
39361 2011-08-29 Jiri Olsa <jolsa@redhat.com>
39363 * sysdeps/i386/dl-trampoline.S (_dl_runtime_profile): Fix cfi
39366 2011-08-24 David S. Miller <davem@davemloft.net>
39368 * sysdeps/sparc/sparc64/strcmp.S: Rewrite.
39370 2011-08-24 Andreas Schwab <schwab@redhat.com>
39372 * elf/Makefile: Add rules to build and run unload8 test.
39373 * elf/unload8.c: New file.
39374 * elf/unload8mod1.c: New file.
39375 * elf/unload8mod1x.c: New file.
39376 * elf/unload8mod2.c: New file.
39377 * elf/unload8mod3.c: New file.
39379 * elf/dl-close.c (_dl_close_worker): Reset private search list if
39382 2011-08-23 David S. Miller <davem@davemloft.net>
39384 * sysdeps/sparc/sparc64/dl-machine.h (DL_STACK_END): Do not
39385 subtract stack bias.
39386 * sysdeps/sparc/sparc64/jmpbuf-unwind.h (_JMPBUF_UNWINDS): Use
39387 %sp not %fp in calculations.
39388 (_JMPBUF_UNWINDS_ADJ): Likewise.
39390 * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait): New function.
39391 (aio_suspend): Call it to force an exception region around the
39392 AIO_MISC_WAIT() invocation.
39394 2011-08-23 Andreas Schwab <schwab@redhat.com>
39396 * sysdeps/i386/i686/multiarch/strspn.S (ENTRY): Add missing
39399 2011-07-04 Aurelien Jarno <aurelien@aurel32.net>
39401 * sysdeps/powerpc/dl-tls.h: Add _PPC_DL_TLS_H inclusion
39403 * sysdeps/powerpc/powerpc64/dl-irel.h: Include <ldsodefs.h>
39404 and <dl-machine.h>.
39405 (Elf64_FuncDesc): Remove.
39407 2011-08-22 David S. Miller <davem@davemloft.net>
39409 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Fix
39410 sigaltstack check, add missing cfi directives.
39411 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Add
39412 missing cfi directives, and sigaltstack handling.
39414 2011-08-16 Andreas Schwab <schwab@redhat.com>
39417 * elf/dl-deps.c (_dl_map_object_deps): Only assume cycle when
39418 object is seen twice.
39419 * elf/dl-fini.c (_dl_sort_fini): Likewise.
39421 * elf/Makefile (distribute): Add tst-initorder2.c.
39422 (tests): Add tst-initorder2.
39423 (modules-names): Add tst-initorder2a tst-initorder2b
39424 tst-initorder2c tst-initorder2d. Add rules to build them.
39425 ($(objpfx)tst-initorder2.out): New rule.
39426 * elf/tst-initorder2.c: New file.
39427 * elf/tst-initorder2.exp: New file.
39429 2011-08-22 Andreas Schwab <schwab@redhat.com>
39431 * sysdeps/unix/sysv/linux/i386/scandir64.c: Include <string.h>.
39433 * elf/dl-deps.c (_dl_map_object_deps): Move check for missing
39434 dependencies back to end of function.
39436 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
39437 $(elfobjdir)/ld.so.
39439 2011-08-21 Ulrich Drepper <drepper@gmail.com>
39441 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.S: Removed.
39442 * sysdeps/unix/sysv/linux/x86_64/time.S: Removed.
39443 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: New file.
39444 * sysdeps/unix/sysv/linux/x86_64/time.c: New file.
39445 * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Remove declaration
39446 of __vdso_gettimeofday.
39447 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Remove definition of
39448 __vdso_gettimeofday and __vdso_time. Define __vdso_getcpu with
39450 (_libc_vdso_platform_setup): Remove initialization of
39451 __vdso_gettimeofday and __vdso_time.
39453 2011-08-20 Ulrich Drepper <drepper@gmail.com>
39455 * nss/nss_files/files-alias.c (get_next_alias): Use feof_unlocked
39456 and fgetc_unlocked.
39457 * nss/nss_files/files-key.c (search): Use fgets_unlocked and
39460 * elf/dl-open.c (add_to_global): Report additions to the global scope
39461 for LD_DEBUG=scopes.
39462 (dl_open_worker): Also print scope of newly loaded dependencies.
39463 (_dl_show_scope): Indicate if there is no scope.
39466 * stdio-common/Makefile (tests): Add bug24.
39467 * stdio-common/bug24.c: New file.
39469 2011-08-19 Andreas Jaeger <aj@suse.de>
39472 * libio/fileops.c (_IO_new_file_fopen): Fix handling of
39473 non-existant file when using close-on-exec mode.
39475 2011-08-20 Ulrich Drepper <drepper@gmail.com>
39477 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Fix CFI for
39478 the very first instruction.
39480 * sysdeps/x86_64/dl-trampoline.h: If MORE_CODE is defined, restore
39481 the CFI state in the end.
39482 * sysdeps/x86_64/dl-trampoline.S: Define MORE_CODE before first
39483 inclusion of dl-trampoline.h.
39484 Based on a patch by Jiri Olsa <jolsa@redhat.com>.
39486 2011-08-19 Andreas Schwab <schwab@redhat.com>
39488 * sysdeps/powerpc/fpu/libm-test-ulps: Relax ctan (0.75 + 1.25 i)
39489 expectations for long double.
39491 * sysdeps/unix/sysv/linux/powerpc/powerpc32/scandir64.c: Renamed
39492 from sysdeps/unix/sysv/linux/powerpc/scandir64.c.
39494 2011-08-14 David S. Miller <davem@davemloft.net>
39496 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): The
39497 artificual limit depends upon the system page size.
39499 2011-08-17 Ulrich Drepper <drepper@gmail.com>
39501 * Makeconfig (override CFLAGS): Add library-specific CFLAGS.
39502 * resolv/Makefile: Define CFLAGS-libresolv.
39504 2011-08-17 Andreas Schwab <schwab@redhat.com>
39506 * nss/makedb.c (compute_tables): Make variables used in nested
39509 2011-08-17 Ulrich Drepper <drepper@gmail.com>
39511 * elf/pldd-xx.c (r_debug): Explicitly add padding when needed.
39512 * elf/pldd.c (get_process_info): Use pread to re-read auxiliary vector
39513 if buffer was too small.
39515 * elf/pldd.c (main): Attach to all threads in the process.
39516 Rewrite /proc handling to use *at functions.
39518 2011-08-16 Ulrich Drepper <drepper@gmail.com>
39520 * elf/dl-open.c (_dl_show_scope): Take additional parameter which
39521 specifies first scope to show.
39522 (dl_open_worker): Update callers. Move printing scope of new
39523 object to before the relocation.
39524 * elf/rtld.c (dl_main): Update _dl_show_scope call.
39525 * sysdeps/generic/ldsodefs.h: Update declaration.
39527 * elf/dl-open.c (_dl_show_scope): Use _dl_debug_printf to generate the
39528 string for the scope number.
39530 2011-08-14 Ulrich Drepper <drepper@gmail.com>
39532 * nscd/servicescache.c (cache_addserv): Make sure written is always
39535 2011-08-14 Roland McGrath <roland@hack.frob.com>
39537 * sysdeps/i386/i486/bits/atomic.h
39538 (__arch_compare_and_exchange_val_64_acq): Use RET alone at end of
39539 statement expression, so as to suppress "set but not used" warning.
39540 (__arch_c_compare_and_exchange_val_64_acq): Likewise.
39542 * string/strncat.c (STRNCAT): Use prototype definition.
39544 * locale/Makefile (locale-CPPFLAGS): Renamed CPPFLAGS-locale-programs.
39545 (locale-CPPFLAGS): New variable; put LOCALEDIR, LOCALE_ALIAS_PATH and
39547 (cppflags-iterator.mk sequence): Use locale-programs in place of nonlib.
39548 (localedef-modules): Add localedef.
39549 (locale-modules): Add locale.
39551 * sysdeps/generic/ldsodefs.h (struct unique_sym): Add a const.
39552 * elf/rtld.c (dl_main): Invert order of assignment in last change,
39553 to avoid a warning.
39555 2011-08-14 David S. Miller <davem@davemloft.net>
39557 * sysdeps/unix/sysv/linux/sparc/bits/resource.h (RLIM_INFINITY,
39558 RLIM64_INFINITY): Fix 64-bit values for 32-bit sparc.
39560 2011-08-13 Ulrich Drepper <drepper@gmail.com>
39562 * elf/dl-open.c: Rename show_scope to _dl_show_scope and export.
39563 (dl_open_worker): Call _dl_show_scope when DL_DEBUG_SCOPES is set.
39564 * elf/rtld.c (dl_main): Set l_name of vDSO.
39565 Call _dl_show_scope when DL_DEBUG_SCOPES.
39566 (process_dl_debug): Recognize scopes flag and also set it for all.
39567 * sysdeps/generic/ldsodefs.h: Define DL_DEBUG_SCOPES.
39568 Declare _dl_show_scope.
39570 * elf/dl-libc.c (do_dlopen_args): Add caller_dlopen.
39571 (do_dlopen): Pass caller_dlopen to dl_open.
39572 (__libc_dlopen_mode): Initialize caller_dlopen.
39574 * intl/l10nflist.c (_nl_normalize_codeset): Make it compile outside
39575 of libc. Make tolower call locale-independent. Optimize a bit by
39576 using isdigit instead of isalnum.
39577 * locale/Makefile (locale-CPPFLAGS): Add -DNOT_IN_libc.
39579 2011-08-12 Ulrich Drepper <drepper@gmail.com>
39581 * elf/dl-load.c (_dl_map_object): Show in debug output whether a DSO
39582 was a dependency or dynamically loaded.
39584 2011-08-11 Ulrich Drepper <drepper@gmail.com>
39586 * intl/l10nflist.c: Allow architecture-specific pop function.
39587 * sysdeps/x86_64/l10nflist.c: New file.
39589 * intl/l10nflist.c (_nl_make_l10nflist): Use locale-independent
39592 2011-08-10 Andreas Schwab <schwab@redhat.com>
39594 * include/dirent.h: Add libc_hidden_proto for scandirat and
39595 scandirat64. Don't declare __scandirat64.
39596 * dirent/scandirat.c: Add libc_hidden_def.
39597 * dirent/scandirat64.c (SCANDIRAT): Remove underscores.
39598 * sysdeps/unix/sysv/linux/i386/scandir64.c (SCANDIRAT): Likewise.
39600 2011-08-10 David S. Miller <davem@davemloft.net>
39602 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Add missing comma in
39604 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
39605 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
39606 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
39608 2011-08-09 Ulrich Drepper <drepper@gmail.com>
39610 * Versions.def [libc]: Add GLIBC_2.15.
39611 * dirent/Makefile (routines): Add scandirat and scandirat64.
39612 * dirent/Versions [libc]: Export scandirat and scandirat64 for
39614 * dirent/dirent.h: Declare scandirat and scandirat64.
39615 * dirent/scandirat.c: New file.
39616 * dirent/scandirat64.c: New file.
39617 * sysdeps/wordsize-64/scandirat.c: New file.
39618 * sysdeps/wordsize-64/scandirat64.c: New file.
39619 * dirent/opendir.c: Define opendirat.
39620 * dirent/scandir.c: Move code to scandirat.c. Implement scandir
39622 * dirent/scandir64.c: Adjust for scandir.c change.
39623 * include/dirent.h: Define scandir_cancel_struct. Declare __opendirat,
39624 __scandirat64, and __scandir_cancel_handler.
39625 * sysdeps/unix/opendir.c: Rename __opendir to __opendirat. Take
39626 additional parameter and use openat instead of open (outside of ld.so).
39627 Add new __opendir as wrapper around __opendirat.
39628 * sysdeps/unix/sysv/linux/i386/scandir64.c: Reimplement __old_scandir64
39629 here without requiring old scandirat implementation.
39631 2011-08-08 Ulrich Drepper <drepper@gmail.com>
39633 * dirent/scandir.c (cancel_handler): Renamed to
39634 __scandir_cancel_handler. Do not define if SKIP_SCANDIR_CANCEL is
39635 defined. Adjust users.
39636 * dirent/scandir64.c: Define SKIP_SCANDIR_CANCEL.
39637 * sysdeps/unix/sysv/linux/i386/scandir64.c: Likewise.
39639 2011-08-04 Ulrich Drepper <drepper@gmail.com>
39641 * string/test-string.h (IMPL): Use __STRING to expand name and then
39644 * string/test-strcmp.c: Unify most of the WIDE and !WIDE code. Lots
39647 2011-07-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
39649 * string/Makefile: Update.
39650 (strop-tests): Append strncat.
39651 * string/test-wcscmp.c: New file.
39652 New comprehensive test for wcscmp.
39653 * string/test-strcmp.c: Update.
39654 (WIDE): New define.
39656 2011-07-22 Andreas Schwab <schwab@redhat.com>
39658 * resolv/res_init.c (__res_vinit): Properly tokenize nameserver
39661 2011-07-26 Andreas Schwab <schwab@redhat.com>
39663 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
39664 encoding to ACE if AI_IDN.
39666 2011-08-01 Jakub Jelinek <jakub@redhat.com>
39668 * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2): Fix up fq
39669 to y conversion for prec 3 and __FLT_EVAL_METHOD__ != 0.
39671 2011-07-22 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
39673 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Update.
39674 Fix overflow bug in strncat.
39675 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
39677 * string/test-strncat.c: Update.
39678 Add new tests for checking overflow bugs.
39680 2011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
39682 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
39683 strcat-ssse3 strcat-sse2 strncat-ssse3 strncat-sse2 strncat-c.
39684 * sysdeps/i386/i686/multiarch/strcat.S: New file.
39685 * sysdeps/i386/i686/multiarch/strcat-c.c: New file.
39686 * sysdeps/i386/i686/multiarch/strcat-sse2.S: New file.
39687 * sysdeps/i386/i686/multiarch/strcat-ssse3.S: New file.
39688 * sysdeps/i386/i686/multiarch/strncat.S: New file.
39689 * sysdeps/i386/i686/multiarch/strncat-sse2.S: New file.
39690 * sysdeps/i386/i686/multiarch/strncat-ssse3.S: New file.
39692 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S
39693 (USE_AS_STRCAT): Define.
39694 Add strcat and strncat support.
39695 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
39697 2011-07-25 Andreas Schwab <schwab@redhat.com>
39699 * sysdeps/i386/i486/bits/string.h (__strncat_g): Correctly handle
39700 __n bigger than INT_MAX+1.
39701 (__strncmp_g): Likewise.
39703 2011-07-23 Ulrich Drepper <drepper@gmail.com>
39705 * posix/unistd.h: Define SEEK_DATA and SEEK_HOLE.
39706 * libio/stido.h: Likewise.
39708 * sysdeps/unix/sysv/linux/bits/socket.h (PF_NFC): Define.
39710 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (PF_NFC): Define.
39713 * sysdeps/unix/sysv/linux/sys/ptrace.h: Add new constants.
39714 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
39715 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
39716 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
39717 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
39720 * scripts/test-installation.pl: Don't expect libnss_test1 to be
39723 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix one more
39725 (_dl_x86_64_save_sse): Likewise.
39727 2011-07-22 Ulrich Drepper <drepper@gmail.com>
39729 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix test for
39731 (_dl_x86_64_save_sse): Likewise.
39733 * crypt/crypt_util.c (__init_des_r): Optimize memset calls.
39735 * crypt/crypt_util.c (__init_des_r): Add read barrier as well.
39737 2011-07-21 Andreas Schwab <schwab@redhat.com>
39739 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix last
39741 (_dl_x86_64_save_sse): Use correct AVX check.
39743 2011-07-21 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
39745 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Fix overfow
39746 bug in strncpy/strncat.
39747 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
39749 2011-07-21 Ulrich Drepper <drepper@gmail.com>
39751 * string/tester.c (test_strcat): Add tests for different alignments
39752 of source and destination.
39753 (test_strncat): Likewise.
39755 2011-07-20 Ulrich Drepper <drepper@gmail.com>
39758 * posix/glob.c (glob): Check passed in values before using them in
39759 expressions to avoid some overflows.
39760 (glob_in_dir): Likewise.
39763 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): More complete
39764 check for AVX enablement so that we don't crash with old kernels and
39766 * elf/tst-audit4.c: Add same checks here.
39767 * elf/tst-audit6.c: Likewise.
39769 * sysdeps/x86_64/bits/link.h (La_x86_64_ymm): Force 16-byte alignment.
39771 2011-07-09 Andreas Schwab <schwab@linux-m68k.org>
39773 * sysdeps/unix/sysv/linux/pathconf.c: Include <string.h>.
39775 2011-07-20 Ulrich Drepper <drepper@gmail.com>
39777 * po/cs.po: Update from translation team.
39778 * po/bg.po: Likewise.
39780 2011-07-12 Marek Polacek <mpolacek@redhat.com>
39782 * misc/sys/cdefs.h: Add support for const attribute.
39783 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add __attribute_const__
39784 to gnu_dev_{major,minor,makedev} functions.
39786 2011-07-20 Marek Polacek <mpolacek@redhat.com>
39788 * intl/dcigettext.c (get_output_charset): Add missing bracket.
39790 2011-07-20 Andreas Schwab <schwab@redhat.com>
39792 * resolv/res_query.c (__libc_res_nquerydomain): Use size_t for
39795 2011-07-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
39797 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
39798 (INTERNAL_VSYSCALL_NCS): Use r10 for backing up the return address
39799 register in order to avoid conflicts with the soft frame pointer
39800 being held in r11 when necessary.
39801 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
39802 (INTERNAL_VSYSCALL_NCS): Likewise.
39804 2011-07-14 Marek Polacek <mpolacek@redhat.com>
39806 * elf/dl-fini.c (_dl_sort_fini): Remove unused link_map *l argument,
39807 * elf/dl-fini.c (_dl_fini): Adjust caller.
39808 * elf/dl-close.c (_dl_close_worker): Likewise.
39809 * sysdeps/generic/ldsodefs.h: Adjust declaration.
39811 2011-07-15 Marek Polacek <mpolacek@redhat.com>
39813 * elf/cache.c (load_aux_cache): Remove unnecessary condition of
39814 "aux_cache->nlibs < 0".
39816 * nscd/nscd_conf.c (nscd_parse_file): Remove unnecessary condition
39817 in the reload-count case.
39819 2011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
39821 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
39822 strcat-ssse3 strcat-sse2-unaligned strncat-ssse3
39823 strncat-sse2-unaligned strncat-c strlen-sse2-pminub
39824 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: New file.
39825 * sysdeps/x86_64/multiarch/strcat.S: New file.
39826 * sysdeps/x86_64/multiarch/strncat.S: New file.
39827 * sysdeps/x86_64/multiarch/strncat-c.c: New file.
39828 * sysdeps/x86_64/multiarch/strcat-ssse3.S: New file.
39829 * sysdeps/x86_64/multiarch/strncat-sse2-unaligned.S: New file.
39830 * sysdeps/x86_64/multiarch/strncat-ssse3.S: New file.
39831 * sysdeps/x86_64/multiarch/strcpy-ssse3.S
39832 (USE_AS_STRCAT): Define.
39833 Add strcat and strncat support.
39834 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
39835 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
39836 * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: New file.
39837 * string/strncat.c: Update.
39838 (USE_AS_STRNCAT): Define.
39839 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
39840 Turn on bit_Prefer_PMINUB_for_stringop for Intel Core i3, i5
39842 * sysdeps/x86_64/multiarch/init-arch.h
39843 (bit_Prefer_PMINUB_for_stringop): New.
39844 (index_Prefer_PMINUB_for_stringop): Likewise.
39845 * sysdeps/x86_64/multiarch/strlen.S (strlen): Check
39846 bit_Prefer_PMINUB_for_stringop.
39848 2011-07-19 Ulrich Drepper <drepper@gmail.com>
39850 * crypt/sha512.h (struct sha512_ctx): Move buffer into union and add
39852 * crypt/sha512.c (__sha512_finish_ctx): Use buffer64 for writes instead
39853 of casting of buffer.
39854 * crypt/sha256.h (struct sha256_ctx): Move buffer into union and add
39855 buffer32 and buffer64.
39856 * crypt/sha256.c (__sha256_finish_ctx): Use buffer32 or buffer64 for
39857 writes instead of casting of buffer.
39858 * crypt/md5.h (struct md5_ctx): Move buffer into union and add
39860 * crypt/md5.c (md5_finish_ctx): Use buffer32 for writes instead of
39863 2011-07-19 Andreas Schwab <schwab@redhat.com>
39865 * string/strxfrm_l.c (STRXFRM): Fix alloca accounting.
39867 2011-07-19 Ulrich Drepper <drepper@gmail.com>
39869 * nscd/nscd.c (termination_handler): Don't do anything for a database
39870 if it has not yet been initialized.
39872 2011-07-18 Ulrich Drepper <drepper@gmail.com>
39874 * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_EQUAL_S): Fix a typo.
39876 2011-07-15 Marek Polacek <mpolacek@redhat.com>
39878 * bits/sched.h (__CPU_EQUAL_S): Fix a typo.
39880 2011-07-18 Ulrich Drepper <drepper@gmail.com>
39882 * po/nl.po: Update from translation team.
39883 * po/sv.po: Likewise.
39885 2011-07-16 Roland McGrath <roland@hack.frob.com>
39887 * sysdeps/i386/Makefile: Never use -mpreferred-stack-boundary=2,
39888 now disallowed by GCC.
39890 * configure.in (use-default-link): Default to yes if a test -shared
39891 link meets our qualifications.
39892 * configure: Regenerated.
39894 * config.make.in (output-format): New variable.
39895 * configure.in: Check for ld --print-output-format support.
39896 * configure: Regenerated.
39897 * Makerules ($(common-objpfx)format.lds)
39898 [$(output-format) != unknown]: Just use $(output-format),
39899 instead of the linker-script munging.
39901 2011-07-14 Roland McGrath <roland@hack.frob.com>
39903 * Makefile ($(common-objpfx)linkobj/libc.so): Use $(shlib-lds) instead
39904 of $(common-objpfx)shlib.lds.
39905 * elf/Makefile ($(objpfx)sotruss-lib.so): Likewise.
39907 * sysdeps/i386/i686/multiarch/strstr-c.c (libc_hidden_builtin_def):
39908 Conditionalize redefinition on [SHARED && DO_VERSIONING && !NO_HIDDEN].
39910 * configure.in (-z relro check): Adjust test code to add a large
39911 writable data section after it.
39912 * configure: Regenerated.
39914 2011-07-11 Roland McGrath <roland@hack.frob.com>
39916 * configure.in (-z relro check): Fix test code to make the variable
39918 * configure: Regenerated.
39920 2011-07-11 Ulrich Drepper <drepper@gmail.com>
39922 * nscd/nscd.h (struct traced_file): Define.
39923 (struct database_dyn): Remove inotify_descr, reset_res, and filename
39924 elements. Add traced_files.
39925 (inotify_fd): Declare.
39926 (register_traced_file): Declare.
39927 * nscd/connections.c (dbs): Remove reset_res and filename initializers.
39928 (inotify_fd): Export.
39929 (resolv_conf_descr): Remove.
39930 (nscd_init): Move inotify descriptor creation to main.
39931 Don't register files for notification here.
39932 (register_traced_file): New function.
39933 (invalidate_cache): Don't use reset_res to determine whether to call
39934 res_init, go through the list of registered files.
39935 (main_loop_poll): The inotify descriptors are now stored in the
39936 structures for the traced files.
39937 (main_loop_epoll): Likewise
39938 * nscd/nscd.c (main): Create inotify socket here. Pass extra argument
39939 to __nss_disable_nscd.
39940 * nscd/cache.c (prune_cache): There is no single inotify descriptor
39941 for a database anymore. Check the records for all the registered
39943 * nss/Makefile (libnss_files-routines): Add files-init.
39944 (libnss_db-routines): Add db-init.
39945 * nss/Versions [libnss_files] (GLIBC_PRIVATE): Add _nss_files_init.
39946 [libnss_db] (GLIBC_PRIVATE): Add _nss_db_init.
39947 * nss/nss_db/db-init.c: New file.
39948 * nss/nss_files/files-init.c: New file.
39949 * nss/nsswitch.c (nss_load_library): New function. Broken out of
39950 __nss_lookup_function.
39951 (__nss_lookup_function): Call nss_load_library.
39952 (nss_load_all_libraries): New function.
39953 (__nss_disable_nscd): Take parameter with callback function for files
39954 to register. Set is_nscd. Load all the DSOs for the NSS modules
39955 used for the cached services.
39956 * nss/nsswitch.h (__nss_disable_nscd): Adjust prototype.
39957 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd]: Pass the various -D
39958 options for features to all the files in nscd.
39960 * nss/nsswitch.c (nss_parse_file): Add missing fclose.
39962 2011-07-10 Roland McGrath <roland@hack.frob.com>
39964 * csu/elf-init.c (__libc_csu_init): Comment typo.
39966 2011-07-09 Ulrich Drepper <drepper@gmail.com>
39968 * po/pl.po: Update from translation team.
39969 * po/ja.po: Likewise.
39970 * po/ru.po: Likewise.
39971 * po/ko.po: Likewise.
39972 * po/fr.po: Likewise.
39974 2011-07-09 Roland McGrath <roland@hack.frob.com>
39976 * configure.in (.ctors/.dtors header and trailer check):
39977 Use an empirical test on a built program.
39978 * configure: Regenerated.
39980 * configure.in (-z relro check): Use an empirical test on a built DSO.
39981 Detect, but do not require, on ia64.
39982 * configure: Regenerated.
39984 * configure.in (READELF): Find it with AC_CHECK_TOOL.
39985 Update tests that use readelf to use $READELF instead.
39986 * configure: Regenerated.
39988 2011-07-08 Ulrich Drepper <drepper@gmail.com>
39990 * malloc/hooks.c (memalign_check): Avoid using checked_request2size
39991 if the result is not used.
39993 2011-07-05 Andreas Jaeger <aj@suse.de>
39996 * stdlib/tst-strtod.c: Add testcase.
39998 2011-07-07 Ulrich Drepper <drepper@gmail.com>
40000 * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): New function.
40001 (__statfs_link_max): Use it to distinguish between ext2/3 and ext4.
40002 The latter has a higher limit. Take additional parameter to pass to
40004 (__pathconf): Pass file to __statfs_link_max.
40005 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Pass fd to
40007 * sysdeps/unix/sysv/linux/pathconf.h: Adjust prototype of
40011 * sysdeps/unix/sysv/linux/linux_fsinfo.h: Define Lustre constants.
40012 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
40014 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Likewise.
40015 (__statfs_filesize_max): Likewise.
40016 Patch mostly by Andreas Dilger <adilger@whamcloud.com>.
40018 2011-07-05 Andreas Jaeger <aj@suse.de>
40020 * resolv/res_comp.c (dn_skipname): Remove unused variable.
40022 2011-07-06 Marek Polacek <mpolacek@redhat.com>
40024 * nis/nss_nisplus/nisplus-spwd.c (_nss_nisplus_setspent): Honour the
40026 * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_setetherent):
40029 2011-07-04 H.J. Lu <hongjiu.lu@intel.com>
40031 * Makefile (strop-tests): Add strncat.
40032 * string/test-strncat.c: New file.
40034 2011-06-30 Marek Polacek <mpolacek@redhat.com>
40036 * iconvdata/johab.c: Don't inline `johab_sym_hanja_to_ucs' function.
40038 2011-06-21 Andreas Jaeger <aj@suse.de>
40040 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules):
40041 Copy rule from iconvdata/Makefile.
40043 2011-07-06 Ulrich Drepper <drepper@gmail.com>
40046 * posix/getopt.c (_getopt_internal_r): When "W;" is in short options
40047 but no long options are defined, just return 'W'.
40049 2011-06-22 Marek Polacek <mpolacek@redhat.com>
40052 * stdlib/strtod_l.c (round_and_return): Set ERANGE instead of EDOM.
40054 2011-07-06 Ulrich Drepper <drepper@gmail.com>
40056 * inet/getnetgrent_r.c (internal_getnetgrent_r): Fix check for known
40058 (innetgr): Likewise.
40060 2011-07-05 Roland McGrath <roland@hack.frob.com>
40062 * config.make.in (install_root): Default to $(DESTDIR).
40064 2011-07-05 Ulrich Drepper <drepper@gmail.com>
40066 * nscd/nscd_getserv_r.c (nscd_getserv_r): Add cast to avoid warning.
40068 2011-07-02 Roland McGrath <roland@hack.frob.com>
40070 * Makerules ($(common-objpfx)format.lds): Fail if result is empty.
40072 * Makefile ($(common-objpfx)testrun.sh): Generate to work relative to
40073 containing directory rather than embedding absolute directory names.
40075 * scripts/check-local-headers.sh: Rewritten using awk.
40076 Match by word, not by line. Print error messages for matches.
40077 * Makefile ($(objpfx)check-local-headers.out): Pass AWK in to it.
40079 * Makerules [shlib-lds-flags empty]:
40080 ($(common-objpfx)libc_pic.opts): New target.
40081 ($(common-objpfx)libc_pic.os.clean): New target.
40082 ($(common-objpfx)libc.so): Link it instead of libc_pic.os.
40084 * config.make.in (OBJCOPY): New variable.
40085 * aclocal.m4 (LIBC_PROG_BINUTILS): Substitute OBJCOPY too.
40086 * configure: Regenerated.
40088 * config.make.in (use-default-link): New variable.
40089 * configure.in (use_default_link): Grok --with-default-link to set it.
40090 * configure: Regenerated.
40091 * Makerules [$(elf) = yes] [$(use-default-link) = yes]:
40092 (shlib-lds, shlib-lds-flags): Define to empty.
40094 * Makerules (shlib-lds): New variable.
40095 (shlib-lds-flags): New variable.
40096 (build-shlib, build-moduile, build-module-asneeded): Use it.
40097 ($(common-objpfx)libc.so): Use $(shlib-lds).
40098 ($(extra-modules-build:%=$(objpfx)%.so)): Likewise.
40099 * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Likewise.
40101 * elf/dynamic-link.h (elf_get_dynamic_info): Make asserts accept
40102 DT_FLAGS/DT_FLAGS_1 with zero flags.
40104 * elf/Makefile ($(objpfx)ld.so): Use -defsym=_begin=0 instead of
40105 linker script munging.
40107 2011-07-02 Ulrich Drepper <drepper@gmail.com>
40109 * crypt/sha512.h (struct sha512_ctx): Add union to access total also
40111 * crypt/sha512.c (sha512_process_block): Perform total addition using
40112 128-bit if possible.
40113 (__sha512_finish_ctx): Likewise.
40114 * crypt/sha256.h (struct sha256_ctx): Add union to access total also
40116 * crypt/sha256.c (SWAP64): Define.
40117 (sha256_process_block): Perform total addition using 64-bit if
40119 (__sha256_finish_ctx): Likewise.
40121 2011-07-01 Ulrich Drepper <drepper@gmail.com>
40123 * nscd/pwdcache.c (cache_addpw): Cleanup. Add branch prediction.
40124 * nscd/initgrcache.c (addinitgroupsX): Likewise.
40125 * nscd/hstcache.c (cache_addhst): Likewise.
40126 * nscd/grpcache.c (cache_addgr): Likewise.
40127 * nscd/aicache.c (addhstaiX): Likewise
40128 * nscd/servicescache.c (cache_addserv): Handle zero negtimeout.
40130 2011-07-01 Thorsten Kukuk <kukuk@suse.de>
40132 * nscd/pwdcache.c (cache_addpw): Handle zero negtimeout.
40133 * nscd/initgrcache.c (addinitgroupsX): Likewise.
40134 * nscd/hstcache.c (cache_addhst): Likewise.
40135 * nscd/grpcache.c (cache_addgr): Likewise.
40136 * nscd/aicache.c (addhstaiX): Likewise
40138 2011-07-01 Andreas Schwab <schwab@redhat.com>
40140 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Query NIS
40141 domain only when needed.
40143 2011-06-30 Andreas Schwab <schwab@redhat.com>
40145 * sysdeps/posix/getaddrinfo.c (gaih_inet): Make sure RES_USE_INET6
40146 is always restored.
40148 2011-06-29 Ulrich Drepper <drepper@gmail.com>
40150 * nscd/grpcache.c (cache_addgr): Don't write notfound reply if we
40151 are re-adding the entry.
40152 * nscd/servicescache.c (cache_addserv): Likewise.
40154 2011-06-30 Aurelien Jarno <aurelien@aurel32.net>
40156 * sysdeps/generic/dl-irel.h: fix protection against multiple
40158 * sysdeps/generic/dl-irel.h (elf_ifunc_invoke): New.
40160 2011-06-28 Ulrich Drepper <drepper@gmail.com>
40163 * malloc/memusage.sh: Fix quoting in message.
40164 * debug/xtrace.sh: Likewise.
40166 * configure.in: Remove support for --experimental-malloc option, make
40168 * config.make.in: Likewise.
40169 * malloc/Makefile: Likewise.
40171 2011-06-27 Andreas Schwab <schwab@redhat.com>
40173 * iconvdata/gb18030.c (BODY for TO_LOOP): Fix encoding of non-BMP
40174 two-byte characters.
40176 2011-06-27 Roland McGrath <roland@hack.frob.com>
40178 * configure.in (NO_CTORS_DTORS_SECTIONS): Give this check its own
40179 AC_CACHE_CHECK invocation.
40180 * configure: Regenerated.
40182 * elf/soinit.c (__CTOR_LIST__, __DTOR_LIST__): Add used attribute.
40184 2011-06-27 Ulrich Drepper <drepper@gmail.com>
40187 * nscd/aicache.c (addhstaiX): Restore only RES_USE_INET6
40188 bit from old_res_options.
40190 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-servicescache.c): Define.
40192 * inet/getnetgrent_r.c (innetgr): Minimal cleanup, use correct return
40193 value type for setfct.
40195 2011-06-23 H.J. Lu <hongjiu.lu@intel.com>
40197 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
40198 __gettimeofday instead of gettimeofday.
40200 2011-06-26 Ulrich Drepper <drepper@gmail.com>
40202 * elf/Makefile (all-built-dso): No need to check linkobj/libc.so.
40204 2011-06-24 H.J. Lu <hongjiu.lu@intel.com>
40206 * sysdeps/i386/i686/multiarch/strcpy-sse2.S (RETURN): Fix a typo.
40208 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Correct unwind
40211 2011-06-22 H.J. Lu <hongjiu.lu@intel.com>
40213 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
40214 strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
40215 strcpy-sse2-unaligned strncpy-sse2-unaligned
40216 stpcpy-sse2-unaligned stpncpy-sse2-unaligned.
40217 * sysdeps/x86_64/multiarch/stpcpy-sse2-unaligned.S: New file.
40218 * sysdeps/x86_64/multiarch/stpcpy-ssse3.S: New file.
40219 * sysdeps/x86_64/multiarch/stpncpy-sse2-unaligned.S: New file.
40220 * sysdeps/x86_64/multiarch/stpncpy-ssse3.S: New file.
40221 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: New file.
40222 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: New file.
40223 * sysdeps/x86_64/multiarch/strncpy-sse2-unaligned.S: New file.
40224 * sysdeps/x86_64/multiarch/strncpy-ssse3.S: New file.
40225 * sysdeps/x86_64/multiarch/strcpy.S: Remove strcpy with SSSE3.
40226 (STRCPY): Support SSE2 and SSSE3 versions.
40228 2011-06-24 Ulrich Drepper <drepper@gmail.com>
40231 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): Define.
40232 * sysdeps/wordsize-64/tst-writev.c: Work around problem with 2.6.38+
40233 kernels which artificially limit size of requests.
40235 2011-06-22 H.J. Lu <hongjiu.lu@intel.com>
40237 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
40238 strncpy-c strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
40239 strcpy-sse2 strncpy-sse2 stpcpy-sse2 stpncpy-sse2.
40240 * sysdeps/i386/i686/multiarch/stpcpy-sse2.S: New file.
40241 * sysdeps/i386/i686/multiarch/stpcpy-ssse3.S: New file.
40242 * sysdeps/i386/i686/multiarch/stpncpy-sse2.S: New file.
40243 * sysdeps/i386/i686/multiarch/stpncpy-ssse3.S: New file.
40244 * sysdeps/i386/i686/multiarch/stpncpy.S : New file.
40245 * sysdeps/i386/i686/multiarch/strcpy-sse2.S : New file.
40246 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: New file.
40247 * sysdeps/i386/i686/multiarch/strcpy.S: New file.
40248 * sysdeps/i386/i686/multiarch/strncpy-c.c: New file.
40249 * sysdeps/i386/i686/multiarch/strncpy-sse2.S: New file.
40250 * sysdeps/i386/i686/multiarch/strncpy-ssse3.S: New file.
40251 * sysdeps/i386/i686/multiarch/strncpy.S: New file.
40252 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
40253 Enable unaligned load optimization for Intel Core i3, i5 and i7
40255 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Unaligned_Load):
40257 (index_Fast_Unaligned_Load): Define.
40258 (HAS_FAST_UNALIGNED_LOAD): Define.
40260 2011-06-23 Marek Polacek <mpolacek@redhat.com>
40262 * nss/nss_db/db-open.c: Include <unistd.h> for read declaration.
40264 2011-06-22 Ulrich Drepper <drepper@gmail.com>
40267 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Avoid calling __check_pf
40268 until it is clear that the information is realy needed.
40269 Patch mostly by David Hanisch <david.hanisch@nsn.com>.
40271 2011-06-22 Andreas Schwab <schwab@redhat.com>
40273 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix last change.
40275 2011-06-22 Ulrich Drepper <drepper@gmail.com>
40277 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
40278 /sys/devices/system/cpu/online if it is usable.
40280 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Rate limit
40281 reading the information from the /proc filesystem to once a second.
40283 2011-06-21 Andreas Jaeger <aj@suse.de>
40285 * sysdeps/unix/sysv/linux/bits/sigcontext.h: Fix definition of
40286 NULL after inclusion of kernel headers.
40288 2011-06-21 Ulrich Drepper <drepper@gmail.com>
40290 * nss/nss_db/db-XXX.c (nss_db_setENT): Only set entidx for successful
40291 calls to internal_setent.
40294 * sysdeps/posix/getaddrinfo.c (gaih_inet): When looking up only IPv6
40295 addresses using gethostbyname4_r ignore IPv4 addresses.
40297 * sysdeps/posix/getaddrinfo.c (gaih_inet): After the last change the
40298 branch using gethostbyname2 is only for AF_INET. Optimize accordingly.
40300 * inet/getnetgrent_r.c: Use DL_CALL_FCT in several places.
40302 2011-06-20 David S. Miller <davem@davemloft.net>
40304 * sysdeps/sparc/sparc32/dl-plt.h: Protect against multiple
40306 * sysdeps/sparc/sparc64/dl-plt.h: Likewise.
40308 * sysdeps/i386/dl-irel.h (elf_ifunc_invoke): New.
40309 (elf_irel): Use it.
40310 * sysdeps/powerpc/powerpc32/dl-irel.h: Likewise.
40311 * sysdeps/powerpc/powerpc64/dl-irel.h: Likewise.
40312 * sysdeps/sparc/sparc32/dl-irel.h: Likewise.
40313 * sysdeps/sparc/sparc64/dl-irel.h: Likewise.
40314 * sysdeps/x86_64/dl-irel.h: Likewise.
40316 * elf/dl-runtime.c: Use elf_ifunc_invoke.
40317 * elf/dl-sym.c: Likewise.
40319 2011-06-15 Ulrich Drepper <drepper@gmail.com>
40321 * resolv/res_send.c (__libc_res_nsend): Fix typos in last patch. We
40322 need to dereference resplen2.
40324 2011-06-14 Andreas Schwab <schwab@redhat.com>
40326 * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c: New file.
40328 2011-06-15 Ulrich Drepper <drepper@gmail.com>
40330 * Makeconfig: Define vardbdir and inst_vardbdir.
40331 * nss/Makefile: Add rules to install db-Makefile.
40333 * nss/nss_db/db-XXX.c: Cleanup.
40335 * nss/Makefile (libnss_db-dbs): Add db-initgroups.
40336 * nss/Versions [libnss_db]: Add _nss_db_initgroups_dyn for
40338 * nss/db-Makefile (groups.db): Emit entries for initgroups lookups.
40339 * nss/makedb.c: Implement -g option to specify that value strings
40340 are generated and should not be added to table iterated over for
40342 * nss/nss_db/db-initgroups.c: New file.
40344 * nss/getent.c: Add support for initgroups lookups through getgrouplist
40347 * grp/initgroups.c (__nss_initgroups_database): Renamed and exported.
40348 (internal_getgrouplist): Adjust to name change.
40349 Update use_initgroups_entry if this is not the first call.
40350 * nss/databases.def: Add initgroups entry.
40352 * nss/makedb.c (compute_tables): Check result of multiple hash table
40353 sizes to minimize maximum chain length.
40355 2011-06-14 Ulrich Drepper <drepper@gmail.com>
40357 * Versions.def: Add entry for libnss_db.
40358 * shlib-versions: Likewise.
40359 * nss/Makefile: Add rules to build libnss_db.
40360 * nss/Versions: Add libnss_db information. Organize libnss_files
40362 * nss/db-Makefile: Add gshadow support. Change rules for the new
40363 makedb progra. Some minor improvements to generate smaller files.
40364 * nss/nss_db/nss_db.h: Move NSS database header data structures to
40366 * nss/makedb.c: ...here.
40367 Improve database format to be smaller and require less memory at
40369 * nss/nss_db/db-XXX.x: Adjust for new database format. Don't use
40371 * nss/nss_db/db-netgrp.c: Likewise.
40372 * nss/nss_db/db-open.c: Likewise.
40373 * nss/nss_files/flies-XXX.x: Adjust comments.
40374 * nss/nss_files/files-ethers.c: Adjust for new DB_LOOKUP definition.
40375 * nss/nss_files/files-grp.c: Likewise.
40376 * nss/nss_files/files-hosts.c: Likewise.
40377 * nss/nss_files/files-network.c: Likewise.
40378 * nss/nss_files/files-proto.c: Likewise.
40379 * nss/nss_files/files-pwd.c: Likewise.
40380 * nss/nss_files/files-rpc.c: Likewise.
40381 * nss/nss_files/files-service.c: Likewise.
40382 * nss/nss_files/files-sgrp.c: Likewise.
40383 * nss/nss_files/files-spwd.c: Likewise.
40384 * nss/nss_db/db-alias.c: Removed.
40385 * nss/nss_db/dummy-db.h: Removed.
40387 2011-06-02 Ulrich Drepper <drepper@gmail.com>
40389 * nss/makedb.c: Rewritten to not use database library.
40390 * nss/Makefile: Update to build new makedb program.
40392 2011-06-14 Andreas Jaeger <aj@suse.de>
40394 * sysdeps/unix/sysv/linux/check_native.c: Include <string.h> for
40395 memset declaration.
40397 2011-06-10 Andreas Schwab <schwab@redhat.com>
40399 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix logic allocating
40402 2011-06-10 Roland McGrath <roland@hack.frob.com>
40404 * Makerules (shlib.lds): Fail if the linker script comes out empty.
40405 * elf/Makefile ($(objpfx)ld.so): Likewise.
40407 * Makefile ($(common-objpfx)linkobj/libc.so): Break long lines with \.
40408 Don't list ld.so twice in dependencies.
40410 * posix/bug-regex31.c: Include <stdlib.h>.
40412 * nscd/hstcache.c (cache_addhst): Remove unused variable.
40414 * nis/nss_compat/compat-spwd.c
40415 (getspent_next_nss_netgr): Remove unused variable.
40416 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Likewise.
40418 * nis/nis_print_group_entry.c (nis_print_group_entry): Fix "Implicit
40419 nonmembers" output to use the right array.
40421 * resolv/nss_dns/dns-network.c (getanswer_r): Remove unused variable.
40423 * elf/dl-open.c (_dl_open): Quash warnings when DL_NNS==1.
40425 * locale/programs/ld-ctype.c (ctype_read): Remove unused variable.
40426 * locale/programs/ld-collate.c (add_to_tablewc): Likewise.
40427 * catgets/gencat.c (read_input_file): Likewise.
40428 * locale/programs/locarchive.c (enlarge_archive): Likewise.
40430 * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Move DONTBLOCK
40431 variable definition inside #if's controlling its use.
40433 * inet/getnetgrent_r.c (innetgr): Remove unused variable.
40435 * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix errno restoration.
40437 * misc/syslog.c (__vsyslog_chk): Remove unused variable.
40439 * io/fts.c (fts_build): Use if (0 && ...) rather than #if 0 for
40442 * stdio-common/printf_fp.c (___printf_fp): Remove unused variable.
40444 * configure.in (nss-crypt check): Use AC_LANG_PROGRAM.
40445 * configure: Regenerated.
40447 * Makerules: Revert last change.
40448 * elf/Makefile: Likewise.
40450 2011-06-09 Roland McGrath <roland@hack.frob.com>
40452 * Makerules ($(common-objpfx)libc_pic.os): Use -Wl, before -r.
40453 * elf/Makefile ($(objpfx)librtld.os): Likewise.
40454 (reloc-link): Likewise.
40456 2011-06-09 Ulrich Drepper <drepper@gmail.com>
40458 * elf/Makefile: Add rules to build pldd.
40459 * elf/pldd.c: New file.
40460 * elf/pldd-xx.c: New file.
40462 2011-06-07 Ulrich Drepper <drepper@gmail.com>
40464 * version.h: Update for 2.15 development version.
40466 2011-06-07 David S. Miller <davem@davemloft.net>
40468 * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Pass dl_hwcap to
40470 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela,
40471 elf_machine_lazy_rel): Likewise.
40472 * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
40473 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela,
40474 elf_machine_lazy_rel): Likewise.
40475 * sysdeps/sparc/sparc64/multiarch/memcpy.S (memcpy): Fetch
40476 dl_hwcap via passed in argument.
40477 * sysdeps/sparc/sparc64/multiarch/memset.S (memset, bzero):
40480 2011-06-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
40482 * stdlib/longlong.h: Update from GCC. Fix smul_ppmm for S/390.
40484 2011-06-06 Roland McGrath <roland@hack.frob.com>
40487 * manual/fdl-1.1.texi: New file, verbatim from:
40488 http://www.gnu.org/licenses/old-licenses/fdl-1.1.texi
40489 * manual/lgpl-2.1.texi: New file, verbatim from:
40490 http://www.gnu.org/licenses/old-licenses/lgpl-2.1.texi
40491 * manual/Makefile (licenses): New variable, list those new file names.
40493 (chapters.% top-menu.%): Include $(licenses) with $(appendices).
40495 * manual/fdl.texi: File removed.
40496 * manual/lesser.texi: File removed.
40497 * manual/libc.texinfo (Copying, Documentation License):
40498 Use new @include file names, put @appendix directive before @include.
40500 2011-06-04 Jakub Jelinek <jakub@redhat.com>
40503 * rt/bits/mqueue2.h (__mq_open_2): Add __THROW.
40504 (__mq_open_alias): Use __REDIRECT_NTH instead of __REDIRECT.
40505 (mq_open): Add __NTH.
40507 2011-06-02 H.J. Lu <hongjiu.lu@intel.com>
40509 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
40510 Assume Intel Core i3/i5/i7 processor if AVX is available.
40512 2011-05-31 Ulrich Drepper <drepper@gmail.com>
40514 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
40517 2011-05-31 Andreas Schwab <schwab@redhat.com>
40519 * nscd/nscd_getserv_r.c (nscd_getserv_r): Don't free non-malloced
40520 memory. Use alloca_account. Fix memory leak when retrying.
40522 2011-05-31 Ulrich Drepper <drepper@gmail.com>
40524 * version.h (RELEASE): Bump for 2.14 release.
40525 * include/features.h (__GLIBC_MINOR__): Bump to 14.
40527 * config.make.in (RANLIB): Remove entry.
40529 2011-05-30 Ulrich Drepper <drepper@gmail.com>
40531 * po/Makefile (po-sed-cmd): Add ksh to extensions.
40532 (libc.pot): Work around missing support for .ksh extension in xgettext.
40535 * resolv/res_send.c (__libc_res_nsend): Only go to the next name server
40536 if both request failed.
40537 (send_dg): In case of server errors clear resplen or *resplen2.
40540 * elf/dl-deps.c (_dl_map_object_deps): Run initializer sorting only
40541 when there are multiple maps.
40542 * elf/dl-fini.c (_dl_sort_fini): Check for list of one.
40543 (_dl_fini): Remove test here.
40545 * elf/rtld.c (dl_main): Don't allow the loader to load itself.
40547 2011-05-29 Ulrich Drepper <drepper@gmail.com>
40550 * sysdeps/posix/getaddrinfo.c (gethosts): Restore only RES_USE_IENT6
40551 bit from old_res_options.
40552 (gaih_inet): Likewise.
40555 * shadow/sgetspent_r.c (LINE_PARSER): Interpret numeric field values
40558 * resolv/res_init.c (res_setoptions): Make the code more compact.
40561 * resolv/res_init.c (res_setoptions): Recognize use-vc option and
40565 * elf/Makefile (tests): Don't add tst-audit[67] without working -mavx.
40567 * malloc/malloc.h: Mark malloc hook variables as deprecated.
40570 * malloc/malloc.h: Declare malloc hook variables as volatile.
40572 * locale/programs/locarchive.c (add_locale_to_archive): Fix typo
40576 * sysdeps/unix/sysv/linux/bits/siginfo.h (SI_USER): Don't mention
40577 raise in the comment.
40578 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
40579 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
40580 * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Likewise.
40582 2011-05-28 Ulrich Drepper <drepper@gmail.com>
40585 * posix/regex_internal.c (build_wcs_buffer): Don't signal we have to
40586 grow the buffers more if it already has to be sufficient.
40587 (build_wcs_upper_buffer): Likewise.
40588 * posix/regexec.c (check_matching): Likewise.
40589 (clean_state_log_if_needed): Likewise.
40590 (extend_buffers): Don't enlarge buffers beyond size of the input
40592 Patches mostly by Emil Wojak <emil@wojak.eu>.
40593 * posix/bug-regex32.c: New file.
40594 * posix/Makefile (tests): Add bug-regex32.
40596 * locale/findlocale.c (_nl_find_locale): Return right away if
40597 _nl_explode_name failed.
40598 * locale/programs/locarchive.c (add_locale_to_archive): Likewise.
40600 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_sendmmsg): Define.
40602 * debug/xtrace.sh: Unify messages.
40603 * malloc/memusage.sh: Likewise.
40606 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_time): Retrieve
40607 time symbol from vDSO. Substitute with vsyscall if not available.
40608 * sysdeps/unix/sysv/linux/x86_64/time.S [SHARED]: Use
40611 * sysdeps/unix/sysv/linux/internal_sendmmsg.S: New file.
40612 * sysdeps/unix/sysv/linux/sendmmsg.c: New file.
40613 * sysdeps/unix/sysv/linux/Makefile [subdir=socket] (sysdep_routines):
40614 Add sendmmsg and internal_sendmmsg.
40615 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add sendmmsg.
40616 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg.
40617 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_SENDMMSG.
40619 * sysdeps/unix/sysv/linux/syscalls.list: Add setns entry.
40620 * sysdeps/unix/sysv/linux/bits/sched.h: Declare setns.
40621 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add setns.
40623 2011-05-27 Ulrich Drepper <drepper@gmail.com>
40626 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_getcpu):
40627 Retrieve getcpu symbol from vDSO. Substitute with vsyscall if not
40629 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [SHARED]: Use
40633 * iconvdata/Makefile (tests): Add bug-iconv9.
40634 * iconvdata/bug-iconv9.c: New file.
40636 2011-05-27 Andreas Schwab <schwab@redhat.com>
40639 * iconvdata/iso-2022-jp.c (BODY): Fix invalid variable shadowing.
40641 2011-05-25 Jakub Jelinek <jakub@redhat.com>
40643 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
40644 (struct user_regs_struct): Change intcs field back to cs.
40646 2011-05-25 Ulrich Drepper <drepper@gmail.com>
40648 * po/ja.po: Update from translation team.
40650 2011-05-23 Ulrich Drepper <drepper@gmail.com>
40653 * sysdeps/unix/sysv/linux/bits/resource.h (RLIMIT_RTTIME): Define.
40654 * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Likewise.
40656 2011-05-20 Andreas Schwab <schwab@redhat.com>
40658 * stdlib/longlong.h: Update from GCC.
40660 2011-05-23 Andreas Schwab <schwab@redhat.com>
40662 * sysdeps/unix/sysv/linux/ia64/sysconf.c (HAS_CPUCLOCK): Add
40664 * sysdeps/unix/sysv/linux/sysconf.c (has_cpuclock, HAS_CPUCLOCK):
40665 Add parameter name.
40666 (__sysconf): Pass it down.
40668 2011-05-22 Ulrich Drepper <drepper@gmail.com>
40671 * nis/nss_nis/nis-alias.c (_nss_nis_getaliasbyname_r): Use malloc in
40673 * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
40674 * posix/glob.c (glob_in_dir): Take additional parameter alloca_used.
40675 add in in __libc_use_alloca calls. Adjust callers.
40676 (glob): Use malloc in some situations.
40678 * elf/dl-runtime.c (_dl_profile_fixup): Also store LA_SYMB_NOPLTENTER
40679 and LA_SYMB_NOPLTEXIT in flags which are passed to pltenter and
40682 2011-05-21 Ulrich Drepper <drepper@gmail.com>
40684 * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_REALTIME_ALARM
40685 and CLOCK_BOOTTIME_ALARM.
40688 * string/xpg-strerror.c (__xpg_strerror_r): Fill buffer even if error
40691 * string/_strerror.c (__strerror_r): Print negative errors as signed
40695 * iconvdata/cp1258.c (comp_table_data): Remove entry 0x00A5 0xEC.
40696 (decomp_table): Change U0385 entry to emit 0xA5 0xEC.
40697 * iconvdata/CP1258.irreversible: Adjust entry 0xA8EC.
40699 * configure.in: Fix typo in redirection and correct removal of test
40700 files in two cases.
40703 * locale/setlocale.c (new_composite_name): Fix test to check for
40704 identical name of all categories.
40707 * libio/filedoalloc.c (local_isatty): New function.
40708 (_IO_file_doallocate): Use local_isatty.
40709 * stdio-common/perror.c (perror): In case a new stream is used
40710 forward the stream error.
40711 * stdio-common/vfprintf.c (ARGCHECK): For read-only streams also set
40714 2011-05-20 Ulrich Drepper <drepper@gmail.com>
40717 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't unconditionally use
40719 * include/alloca.h (extend_alloca_account): Define.
40722 * posix/regex.h: Fix comments with documentation of user-accessible
40723 fields after compilation and describe correct free'ing of pattern
40724 after re_compile_pattern.
40725 Patch by Reuben Thomas <rrt@sc3d.org>.
40727 2011-05-18 Ryan S. Arnold <rsa@us.ibm.com>
40729 * sysdeps/powerpc/powerpc64/Makefile (no-special-regs): Add -mno-vsx
40730 and -mno-altivec to prevent the compiler from using Altivec and/or
40731 VSX instructions when the corresponding registers are not available.
40733 2011-05-19 Andreas Schwab <schwab@redhat.com>
40735 * grp/compat-initgroups.c (__libc_use_alloca): Don't define.
40737 2011-05-19 Ulrich Drepper <drepper@gmail.com>
40739 * libio/freopen.c (freopen): Use __dup2, not dup2.
40740 * libio/freopen64.c (freopen64): Likewise.
40742 2011-05-17 H.J. Lu <hongjiu.lu@intel.com>
40745 * sysdeps/x86_64/fpu/e_powl.S: Fix a typo.
40746 * math/Makefile (tests): Add test-powl.
40747 (CFLAGS-test-powl.c): Define.
40748 * math/test-powl.c: New file.
40750 2011-05-16 H.J. Lu <hongjiu.lu@intel.com>
40752 * fileops.c (_IO_new_file_fopen): Get fd from _IO_fileno.
40754 2011-05-17 Ulrich Drepper <drepper@gmail.com>
40757 * iconvdata/gb18030.c: Update to GB18020-2005.
40759 2011-05-16 Ulrich Drepper <drepper@gmail.com>
40761 * posix/regex.h (RE_SYNTAX_AWK, RE_SYNTAX_GNU_AWK,
40762 RE_SYNTAX_POSIX_AWK): Update to match recent development.
40763 Patch by Aharon Robbins <arnold@skeeve.com>.
40766 * stdlib/putenv.c (putenv): Don't always create copy of the variable
40770 * misc/pselect.c (__pselect): Handle timeout value errors hidden
40771 through underflows.
40774 * misc/error.c (error_at_line): Ensure file_name and old_file_name
40775 point to strings before performing equality test for error_one_per_line
40779 * login/programs/pt_chown.c (do_pt_chown): Always call chown.
40782 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
40783 (struct user_fpregs_struct): Avoid __uint*_t types.
40786 * malloc/mtrace.c (tr_where): Add additional parameter to point to
40787 symbol info. Use it instead of calling _dl_addr locally.
40788 (lock_and_info): New function.
40789 (tr_freehook): Call lock_and_info and pass symbol info as additional
40790 parameter to tr_where.
40791 (tr_mallochook): Likewise.
40792 (tr_reallochook): Likewise.
40793 (tr_memalignhook): Likewise.
40795 * malloc/mtrace.c: Remove support for USE_MTRACE_FILE. It is not
40796 used and couldn't be at all thread-safe.
40798 2011-05-15 Ulrich Drepper <drepper@gmail.com>
40800 * libio/freopen.c (freopen): Don't close old file descriptor
40801 before the new one is opened. Instead dup the new file descriptor
40802 to the old one after the new stream is created.
40803 * libio/freopen64.c (freopen64): Likewise.
40804 * libio/libio.h: Define _IO_FLAGS2_NOCLOSE and _IO_FLAGS2_CLOEXEC.
40805 * libio/fileops.c (_IO_new_file_close_it): Handle new
40806 _IO_FLAGS2_NOCLOSE flag.
40807 (_IO_new_file_fopen): Set _IO_FLAGS2_CLOEXEC for "e" mode.
40808 If _IO_file_open didn't set FD_CLOEXEC do it after the call.
40809 * libio/oldfileops.c (_IO_old_file_close_it): Handle new
40810 _IO_FLAGS2_NOCLOSE flag.
40811 * include/unistd.h: Add hidden_proto for dup3.
40812 Define __have_dup3.
40813 * io/dup3.c: Define hidden symbol.
40814 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_DUP3.
40817 * posix/getopt.c (_getopt_internal_r): List all ambigious possibilities
40818 when an incomplete long option is used.
40819 * posix/tst-getopt_long1.c: New file.
40820 * posix/Makefile (tests): Add tst-getopt_long1.
40823 * scripts/config.guess: Update from autoconf-2.68.
40824 * scripts/config.sub: Likewise.
40827 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Split out CPUTIME
40829 (has_cpuclock): ...this. New function.
40830 * sysdeps/unix/sysv/linux/ia64/sysconf.c: Just define HAS_CPUCLOCK
40831 macro here based on has_cpuclock code.
40834 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
40835 First byte (not low byte) is now always NUL.
40836 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Likewise.
40838 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
40839 Use non-cancelable interfaces.
40842 * locale/iso-639.def: Add entry for Sorani.
40845 * include/stdlib.h: Move include protection to the right place.
40846 Define abort_msg_s. Declare __abort_msg with it.
40847 * stdlib/abort.c (__abort_msg): Adjust type.
40848 * assert/assert.c (__assert_fail_base): New function. Majority
40849 of code from __assert_fail. Allocate memory for __abort_msg with
40851 (__assert_fail): Now call __assert_fail_base.
40852 * assert/assert-perr.c: Remove bulk of implementation. Use
40853 __assert_fail_base.
40854 * include/assert.hL Declare __assert_fail_base.
40855 * sysdeps/posix/libc_fatal.c: Allocate memory for __abort_msg with
40857 * sysdeps/unix/sysv/linux/libc_fatal.c: Likewise.
40859 2011-05-14 Ulrich Drepper <drepper@gmail.com>
40863 * elf/dl-open.c (dl_open_worker): Delay calls to _dl_update_slotinfo
40864 until all modules are registered in the DTV.
40865 * elf/Makefile: Add rules to build and run tst-tls19.
40866 * elf/tst-tls19.c: New file.
40867 * elf/tst-tls19mod1.c: New file.
40868 * elf/tst-tls19mod2.c: New file.
40869 * elf/tst-tls19mod3.c: New file.
40870 Patch mostly by Martin von Gagern <Martin.vGagern@gmx.net>.
40873 * sysdeps/pthread/aio_misc.c (__aio_init): Compute optim.aio_num
40877 * iconvdata/cp932.c (BODY to UCS4): Fix incrementing inptr in case of
40878 two-byte sequence errors.
40879 * iconvdata/Makefile (tests): Add bug-iconv8.
40880 * iconvdata/bug-iconv8.c: New file.
40883 * sysdeps/generic/elf/backtracesymsfd.c (__backtrace_symbols_fd): Move
40886 * libio/fileops.c (_IO_new_file_close_it): Initialize write_status.
40889 * sysdeps/ia64/backtrace.c (struct trace_reg): Add cfa element.
40890 (dummy_getcfa): New function.
40891 (init): Get _Unwind_GetCFA address, use dummy if not found.
40892 (backtrace_helper): In recursion check, also check whether CFA changes.
40893 (__backtrace): Completely initialize arg.
40895 * iconv/loop.c (SINGLE) [STORE_REST]: Add input bytes to bytebuf before
40896 storing incomplete byte sequence in state object. Avoid testing for
40897 guaranteed too small input if we know there is enough data available.
40899 2011-05-11 Andreas Schwab <schwab@redhat.com>
40901 * Makeconfig (+link-pie): Indent.
40902 * Rules (binaries-pie): Define if $(have-fpie) and
40904 (binaries-shared): Also filter out $(binaries-pie).
40905 ($(addprefix $(objpfx),$(binaries-pie))): New rule.
40906 * nscd/Makefile (others-pie): Add nscd.
40907 (LDFLAGS-nscd): Set this instead of relro-LDFLAGS.
40908 ($(objpfx)nscd): Remove command override.
40909 * login/Makefile (others-pie): Add pt_chown.
40910 ($(objpfx)pt_chown): Remove command override.
40911 * elf/Makefile: Add PIE tests to tests and tests-pie variables and
40912 remove command overrides.
40914 2011-05-13 Ulrich Drepper <drepper@gmail.com>
40916 * libio/tst_putwc.c: Fix error messages.
40919 * libio/fileops.c (_IO_new_file_close_it): Always flush when
40920 currently writing and seek to current position when not.
40921 * libio/Makefile (tests): Add bug-fclose1.
40922 * libio/bug-fclose1.c: New file.
40924 2011-05-12 Ulrich Drepper <drepper@gmail.com>
40927 * elf/dl-lookup.c (enter): Don't test for copy relocation here and
40928 don't set DF_1_NODELETE here.
40929 (do_lookup_x): When entering new entry test for copy relocation
40930 and if necessary set DF_1_NODELETE flag.
40931 * elf/tst-unique4.cc: New file.
40932 * elf/tst-unique4.h: New file.
40933 * elf/tst-unique4lib.cc: New file.
40934 * elf/Makefile: Add rules to build and run tst-unique4.
40935 Patch by Piotr Bury <pbury@goahead.com>.
40937 2011-05-11 Ulrich Drepper <drepper@gmail.com>
40940 * sysdeps/posix/spawni.c (__spawni): Fix sched_setscheduler call.
40943 * misc/mntent_r.c (addmntent): Flush the stream after the output
40946 * elf/dl-load.c (is_trusted_path): Remove unnecessary test.
40947 (is_trusted_path_normalize): Skip initial colon. Append slash
40948 to empty buffer. Duplicate is_trusted_path code but allow
40949 constructed patch to be prefix.
40950 (is_dst): Allow $ORIGIN followed by /.
40951 (_dl_dst_substitute): Correct clearing of check_for_trusted.
40952 Correct testing of result of is_trusted_path_normalize
40953 (decompose_rpath): Fix warning.
40955 2011-05-10 Ulrich Drepper <drepper@gmail.com>
40958 * grp/initgroups.c (internal_getgrouplist): When we found the service
40959 list through the initgroups entry in nsswitch.conf do not always
40960 continue on a successful lookup. Don't always use the
40961 __nss_group_database value if it is set.
40962 * nss/nsswitch.conf (initgroups): Change action for successful db
40963 lookup to continue for compatibility.
40965 2011-05-09 Ulrich Drepper <drepper@gmail.com>
40968 * iconvdata/Makefile: Add rules to build CP770, CP771, CP772, CP773,
40970 * iconvdata/gconv-modules: Add entries for CP770, CP771, CP772, CP773,
40972 * iconvdata/tst-tables.sh: Likewise.
40973 * iconvdata/cp770.c: New file.
40974 * iconvdata/cp771.c: New file.
40975 * iconvdata/cp772.c: New file.
40976 * iconvdata/cp773.c: New file.
40977 * iconvdata/cp774.c: New file.
40978 * iconvdata/testdata/CP770: New file.
40979 * iconvdata/testdata/CP770..UTF8: New file.
40980 * iconvdata/testdata/CP771: New file.
40981 * iconvdata/testdata/CP771..UTF8: New file.
40982 * iconvdata/testdata/CP772: New file.
40983 * iconvdata/testdata/CP772..UTF8: New file.
40984 * iconvdata/testdata/CP773: New file.
40985 * iconvdata/testdata/CP773..UTF8: New file.
40986 * iconvdata/testdata/CP774: New file.
40987 * iconvdata/testdata/CP774..UTF8: New file.
40989 * iconvdata/gen-8bit-gap-1.sh: End reading of charmap file at
40991 * iconvdata/gen-8bit-gap.sh: Likewise.
40992 * iconvdata/gen-8bit.sh: Likewise.
40994 * locale/iso-639.def: Add ary entry.
40997 * locale/C-translit.h.in: Add U20A1 transliteration.
41000 * locale/iso-639.def: Add wae entry.
41001 Patch by Kevin Bortis <bortis@translate-wae.ch>.
41004 * locale/programs/localedef.c (construct_output_path): Use ssize_t
41008 * locale/C-translit.h.in: Add entry for U20B9.
41009 Patch by pravin.d.s@gmail.com.
41011 2011-05-08 Ulrich Drepper <drepper@gmail.com>
41014 * sysdeps/unix/sysv/linux/getcwd.c: If getcwd syscall report
41015 ENAMETOOLONG use generic getcwd.
41016 * sysdeps/posix/getcwd.c: Add support to use openat. Make usable
41017 in rtld. Use *stat64.
41018 * sysdeps/unix/sysv/linux/Makefile [subdir=elf] (sysdep-rtld-routines):
41019 Add dl-getcwd, dl-openat64, dl-opendir, dl-fxstatat64.
41020 * sysdeps/unix/sysv/linux/dl-getcwd.c: New file.
41021 * sysdeps/unix/sysv/linux/dl-openat64.c: New file.
41022 * sysdeps/unix/sysv/linux/dl-opendir.c: New file.
41023 * sysdeps/unix/sysv/linux/dl-fxstat64.c: New file.
41024 * include/sys/stat.h: Define __fstatat, __lstat64, __fstat64, and
41025 __fstatat64 macros.
41026 * include/dirent.h: Add libc_hidden_proto for rewinddir.
41027 * dirent/rewinddir.c: Add libc_hidden_def.
41028 * sysdeps/mach/hurd/rewinddir.c: Likewise.
41029 * sysdeps/unix/rewinddir.c: Likewise. Don't do locking outside libc.
41031 * include/dirent.h (__alloc_dir): Add flags parameter.
41032 * sysdeps/unix/fdopendir.c (__fdopendir): Pass flags to __alloc_dir.
41033 * sysdeps/unix/opendir.c (__opendir): Pass 0 in new parameter to
41035 (__alloc_dir): Take new parameter. Don't call fcntl for invocations
41036 from fdopendir if O_CLOEXEC is already set.
41038 2011-03-15 Alan Modra <amodra@gmail.com>
41040 * elf/dl-reloc.c (_dl_try_allocate_static_tls <TLS_DTV_AT_TP>): Handle
41041 l_tls_firstbyte_offset non-zero. Save padding offset in
41042 l_tls_firstbyte_offset for later use.
41043 * elf/dl-close.c (_dl_close_worker <TLS_DTV_AT_TP>): Correct code
41044 freeing static tls block.
41046 2011-03-05 Jonathan Nieder <jrnieder@gmail.com>
41048 * sysdeps/unix/sysv/linux/sys/param.h: Fix an #ifndef __undef_ARG_MAX
41049 where #ifdef was intended. The intent is to prevent ARG_MAX from
41050 being defined by the kernel headers.
41052 2011-05-07 Ulrich Drepper <drepper@gmail.com>
41055 * resolv/resolv.h: Define RES_NOTLDQUERY.
41056 * resolv/res_init.c (res_setoptions): Recognize no_tld_query and
41057 no-tld-query and set RES_NOTLDQUERY.
41058 * resolv/res_debug.c (p_option): Handle RES_NOTLDQUERY.
41059 * resolv/res_query.c (__libc_res_nsearch): Backport changes from
41060 modern BIND to search name as TLD unless forbidden.
41062 2011-05-07 Petr Baudis <pasky@suse.cz>
41063 Ulrich Drepper <drepper@gmail.com>
41066 * elf/dl-load.c (fillin_rpath): Move trusted path check...
41067 (is_trusted_path): ...to here.
41068 (is_trusted_path_normalize): Wrapper for /../ and /./ normalization.
41069 (_dl_dst_substitute): Verify expanded $ORIGIN path elements
41070 using is_trusted_path_normalize() in setuid scripts.
41072 2011-05-06 Paul Pluzhnikov <ppluzhnikov@google.com>
41074 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add missing
41075 __BEGIN/__END_DECLS.
41077 2011-05-06 Ulrich Drepper <drepper@gmail.com>
41079 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Return
41080 NSS_STATUS_NOTFOUND if no record was found.
41082 2011-05-05 Andreas Schwab <schwab@redhat.com>
41084 * sunrpc/Makefile (headers): Add rpc/netdb.h.
41085 (headers-not-in-tirpc): Remove rpc/netdb.h
41086 * resolv/netdb.h: Revert last change.
41088 2011-05-05 Paul Pluzhnikov <ppluzhnikov@google.com>
41090 * Makeconfig (link-libc-static): Use --{start,end}-group to handle
41091 circular dependency between libgcc.a and libc.a.
41093 2011-05-05 Andreas Schwab <schwab@redhat.com>
41095 * resolv/netdb.h: Don't include <rpc/netdb.h>.
41096 * nis/Makefile: Don't install rpcsvc/*.
41097 * inet/protocols/timed.h: Include <sys/types.h> and <sys/time.h>
41098 instead of <rpc/types.h>.
41099 (MAXHOSTNAMELEN): Define.
41101 2011-05-03 Andreas Schwab <schwab@redhat.com>
41103 * elf/ldconfig.c (add_dir): Don't crash on empty path.
41105 2011-04-28 Maciej Babinski <mbabinski@google.com>
41108 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't bypass
41109 gethostbyname4_r when IPv6 results are possible.
41111 2011-05-02 Ulrich Drepper <drepper@gmail.com>
41114 * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Implement
41115 _PC_PIPE_BUF handling.
41117 2011-04-30 Bruno Haible <bruno@clisp.org>
41120 * conform/data/netdb.h-data (getnameinfo): Make POSIX compliant.
41121 * resolv/netdb.h (getnameinfo): Change type of flags parameter
41123 * inet/getnameinfo.c (getnameinfo): Likewise.
41125 2011-04-29 Ulrich Drepper <drepper@gmail.com>
41127 * grp/initgroups.c (internal_getgrouplist): Prefer initgroups setting
41128 to groups setting in database lookup.
41129 * nss/nsswitch.conf: Add initgroups entry.
41131 2011-04-22 Ulrich Drepper <drepper@gmail.com>
41134 * libio/fileops.c (_IO_new_file_fopen): Scan up to 7 bytes of the
41136 Patch by Eric Blake <eblake@redhat.com>.
41138 2011-04-20 H.J. Lu <hongjiu.lu@intel.com>
41140 * sunrpc/Makefile (need-export-routines): Add svc_run.
41141 (routines): Remove svc_run.
41142 ($(objpfx)thrsvc): Add $(common-objpfx)linkobj/libc.so.
41143 * sunrpc/clnt_perr.c (clnt_perrno): Export.
41144 * sunrpc/svc_run.c (svc_run): Likewise.
41145 * sunrpc/svc_udp.c (svcudp_create): Likewise.
41147 2011-04-21 Ulrich Drepper <drepper@gmail.com>
41149 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Fix
41150 problem in reallocation in last patch.
41152 2011-04-20 Ulrich Drepper <drepper@gmail.com>
41154 * sunrpc/Makefile: Move inclusion of Rules.
41156 2011-04-19 Ulrich Drepper <drepper@gmail.com>
41158 * nss/nss_files/files-initgroups.c: New file.
41159 * nss/Makefile (libnss_files-routines): Add files-initgroups.
41160 * nss/Versions (libnss_files) [GLIBC_PRIVATE]: Export
41161 _nss_files_initgroups_dyn.
41163 2011-03-31 Richard Sandiford <richard.sandiford@linaro.org>
41165 * elf/elf.h (R_ARM_IRELATIVE): Define.
41167 2011-04-19 Ulrich Drepper <drepper@gmail.com>
41169 * po/ru.po: Update from translation team.
41171 2011-04-17 Ulrich Drepper <drepper@gmail.com>
41173 * sunrpc/Makefile ($(rpc-compat-routines.os)): Add before-compile to
41176 2011-02-06 Mike Frysinger <vapier@gentoo.org>
41179 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Only protect
41180 MEMCPY_CHK with USE_AS_BCOPY ifdef check.
41181 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
41182 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
41183 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
41185 2011-03-28 Andreas Schwab <schwab@linux-m68k.org>
41187 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't read past
41189 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
41190 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
41191 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
41193 2011-04-17 Ulrich Drepper <drepper@gmail.com>
41196 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Reload context after
41198 * stdlib/bug-getcontext.c: New file.
41199 * stdlib/Makefile: Add rules to build and run bug-getcontext.
41201 2011-04-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
41203 * sysdeps/s390/s390-64/utf16-utf32-z9.c: Wrap the z9-109
41204 instructions into .machine "z9-109".
41205 * sysdeps/s390/s390-64/utf8-utf16-z9.c: Likewise.
41206 * sysdeps/s390/s390-64/utf8-utf32-z9.c: Likewise.
41208 2011-04-11 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
41210 * sysdeps/s390/s390-32/elf/start.S (_start): Skip extra zeroes
41211 between environment variables and auxiliary vector.
41213 2011-04-16 Ulrich Drepper <drepper@gmail.com>
41215 * Makefile: Add rules to build linkobj/libc.so.
41216 * include/libc-symbols.h: Define libc_hidden_nolink.
41217 * include/rpc/auth.h: Mark functions which are to be hidden.
41218 * include/rpc/auth_des.h: Likewise.
41219 * include/rpc/auth_unix.h: Likewise.
41220 * include/rpc/clnt.h: Likewise.
41221 * include/rpc/des_crypt.h: Likewise.
41222 * include/rpc/key_prot.h: Likewise.
41223 * include/rpc/pmap_clnt.h: Likewise.
41224 * include/rpc/pmap_prot.h: Likewise.
41225 * include/rpc/pmap_rmt.h: Likewise.
41226 * include/rpc/rpc_msg.h: Likewise.
41227 * include/rpc/svc.h: Likewise.
41228 * include/rpc/svc_auth.h: Likewise.
41229 * include/rpc/xdr.h: Likewise.
41230 * nis/Makefile: Link all DSOs against linkobj/libc.so.
41231 * nss/Makefile: Likewise.
41232 * sunrpc/Makefile: Don't install headers. Build library with normal
41233 entry points. Don't build rpcinfo. Link RPC tests appropriately.
41234 * sunrpc/auth_des.c: Hide exported symbols by default, export some
41235 for the compat linking library. Remove use of INTDEF/INTUSE.
41236 * sunrpc/auth_none.c: Likewise.
41237 * sunrpc/auth_unix.c: Likewise.
41238 * sunrpc/authdes_prot.c: Likewise.
41239 * sunrpc/authuxprot.c: Likewise.
41240 * sunrpc/clnt_gen.c: Likewise.
41241 * sunrpc/clnt_perr.c: Likewise.
41242 * sunrpc/clnt_raw.c: Likewise.
41243 * sunrpc/clnt_simp.c: Likewise.
41244 * sunrpc/clnt_tcp.c: Likewise.
41245 * sunrpc/clnt_udp.c: Likewise.
41246 * sunrpc/clnt_unix.c: Likewise.
41247 * sunrpc/des_crypt.c: Likewise.
41248 * sunrpc/des_soft.c: Likewise.
41249 * sunrpc/get_myaddr.c: Likewise.
41250 * sunrpc/key_call.c: Likewise.
41251 * sunrpc/key_prot.c: Likewise.
41252 * sunrpc/netname.c: Likewise.
41253 * sunrpc/pm_getmaps.c: Likewise.
41254 * sunrpc/pm_getport.c: Likewise.
41255 * sunrpc/pmap_clnt.c: Likewise.
41256 * sunrpc/pmap_prot.c: Likewise.
41257 * sunrpc/pmap_prot2.c: Likewise.
41258 * sunrpc/pmap_rmt.c: Likewise.
41259 * sunrpc/publickey.c: Likewise.
41260 * sunrpc/rpc_cmsg.c: Likewise.
41261 * sunrpc/rpc_common.c: Likewise.
41262 * sunrpc/rpc_dtable.c: Likewise.
41263 * sunrpc/rpc_prot.c: Likewise.
41264 * sunrpc/rpc_thread.c: Likewise.
41265 * sunrpc/rtime.c: Likewise.
41266 * sunrpc/svc.c: Likewise.
41267 * sunrpc/svc_auth.c: Likewise.
41268 * sunrpc/svc_authux.c: Likewise.
41269 * sunrpc/svc_raw.c: Likewise.
41270 * sunrpc/svc_run.c: Likewise.
41271 * sunrpc/svc_simple.c: Likewise.
41272 * sunrpc/svc_tcp.c: Likewise.
41273 * sunrpc/svc_udp.c: Likewise.
41274 * sunrpc/svc_unix.c: Likewise.
41275 * sunrpc/svcauth_des.c: Likewise.
41276 * sunrpc/xcrypt.c: Likewise.
41277 * sunrpc/xdr.c: Likewise.
41278 * sunrpc/xdr_array.c: Likewise.
41279 * sunrpc/xdr_float.c: Likewise.
41280 * sunrpc/xdr_intXX_t.c: Likewise.
41281 * sunrpc/xdr_mem.c: Likewise.
41282 * sunrpc/xdr_rec.c: Likewise.
41283 * sunrpc/xdr_ref.c: Likewise.
41284 * sunrpc/xdr_sizeof.c: Likewise.
41285 * sunrpc/xdr_stdio.c: Likewise.
41287 2011-04-10 Ulrich Drepper <drepper@gmail.com>
41290 * sysdeps/i386/dl-tls.h: Define TLS_DTV_UNALLOCATED.
41291 * sysdeps/ia64/dl-tls.h: Likewise.
41292 * sysdeps/powerpc/dl-tls.h: Likewise.
41293 * sysdeps/s390/dl-tls.h: Likewise.
41294 * sysdeps/sh/dl-tls.h: Likewise.
41295 * sysdeps/sparc/dl-tls.h: Likewise.
41296 * sysdeps/x86_64/dl-tls.h: Likewise.
41297 * elf/dl-tls.c: Don't define TLS_DTV_UNALLOCATED here.
41299 2011-03-14 Andreas Schwab <schwab@redhat.com>
41301 * elf/dl-load.c (_dl_dst_substitute): When skipping the first
41302 rpath element also skip the following colon.
41303 (expand_dynamic_string_token): Add is_path parameter and pass
41304 down to DL_DST_REQUIRED and _dl_dst_substitute.
41305 (decompose_rpath): Call expand_dynamic_string_token with
41306 non-zero is_path. Ignore empty rpaths.
41307 (_dl_map_object_from_fd): Call expand_dynamic_string_token
41310 2011-04-08 Andreas Schwab <schwab@linux-m68k.org>
41312 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
41315 2011-04-09 Ulrich Drepper <drepper@gmail.com>
41318 * sysdeps/unix/sysv/linux/sys/syscall.h: Fix comment.
41319 Patch by Filipe David Manana <fdmanana@apache.org>.
41321 2011-04-07 Andreas Schwab <schwab@redhat.com>
41323 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S (CALL_FAIL):
41324 Maintain aligned stack.
41325 (CHECK_RSP): Remove unused macro.
41327 2011-04-03 Ulrich Drepper <drepper@gmail.com>
41329 * sysdeps/x86_64/cacheinfo.c (intel_02_known): Fix typo in table.
41330 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_02_known): Likewise.
41332 2011-04-02 Ulrich Drepper <drepper@gmail.com>
41334 * sysdeps/unix/sysv/linux/bits/time.h (CLOCK_BOOTTIME): Define.
41336 * include/features.h: Mention __USE_XOPEN2K8 in comment.
41338 2011-03-26 H.J. Lu <hongjiu.lu@intel.com>
41341 * sysdeps/x86_64/Versions: Add memcpy to GLIBC_2.14.
41342 * sysdeps/x86_64/memcpy.S: Provide GLIBC_2_14 memcpy.
41343 * sysdeps/x86_64/memmove.c: New file.
41344 * sysdeps/x86_64/multiarch/memcpy.S: Include <shlib-compat.h>.
41345 (memcpy): Renamed to ...
41346 (__new_memcpy): This.
41347 (memcpy): Provide GLIBC_2_14 memcpy.
41348 * sysdeps/x86_64/multiarch/memmove.c: Include <shlib-compat.h>.
41349 (memcpy): Provide GLIBC_2_2_5 memcpy.
41351 2011-04-01 Ulrich Drepper <drepper@gmail.com>
41354 * wcsmbs/wchar.h: Make wcpcpy and wcpncpy visible for __USE_XOPEN2K8.
41356 2011-03-30 Andreas Schwab <schwab@redhat.com>
41358 * misc/syncfs.c: New file.
41359 * misc/Makefile (routines): Add syncfs.
41360 * posix/unistd.h: Declare syncfs.
41361 * sysdeps/unix/syscalls.list: Add syncfs.
41363 2011-04-01 Andreas Schwab <schwab@redhat.com>
41365 * sysdeps/unix/sysv/linux/Versions: Rename open_by_handle to
41367 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
41368 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
41369 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
41370 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
41371 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
41372 * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
41373 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
41375 2011-04-01 Ulrich Drepper <drepper@gmail.com>
41377 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define O_PATH.
41378 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
41379 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Likewise.
41380 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
41381 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
41382 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
41383 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
41385 * io/Makefile: Compile fallocate.c, fallocate64.c, and
41386 sync_file_range.c with -fexceptions.
41387 * sysdeps/unix/sysv/linux/fallocate.c: Make cancelable.
41388 * sysdeps/unix/sysv/linux/fallocate64.c: Likewise.
41389 * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
41390 * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
41391 * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
41392 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
41393 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Mark
41394 sync_file_range as cancellation point
41395 * sysdeps/unix/sysv/linux/i386/sync_file_range.c: New file. This is
41396 now a wrapper around __call_sync_file_range with cancellation handling.
41397 * sysdeps/unix/sysv/linux/i386/sync_file_range.S: Renamed to ...
41398 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: ...this. Change
41399 function name to __call_sync_file_range.
41400 * sysdeps/unix/sysv/linux/i386/Makefile [subdir=io] (sysdep_routines):
41401 Add call_sync_file_range.
41403 2011-04-01 Andreas Schwab <schwab@redhat.com>
41405 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
41408 2011-04-01 Ulrich Drepper <drepper@gmail.com>
41410 * iconv/iconv.h: Fix typo in comment.
41411 * io/fcntl.h: Likewise.
41412 * libio/stdio.h: Likewise.
41413 * posix/spawn.h: Likewise.
41414 * posix/unistd.h: Likewise.
41415 * stdlib/stdlib.h: Likewise.
41416 * time/time.h: Likewise.
41417 * wcsmbs/wchar.h: Likewise.
41419 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (name_to_handle_at,
41420 open_by_handle): Add.
41421 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define struct file_handle
41422 and MAX_HANDLE_SZ. Declare name_to_handle_at and open_by_handle.
41423 Augment a few comments.
41424 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
41425 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
41426 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
41427 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
41428 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
41429 * sysdeps/unix/sysv/linux/syscalls.list: Add name_to_handle_at and
41432 * io/fcntl.h (AT_EMPTY_PATH): Define.
41434 2011-03-30 Ulrich Drepper <drepper@gmail.com>
41436 * sysdeps/unix/sysv/linux/syscalls.list: Add clock_adjtime.
41437 * sysdeps/unix/sysv/linux/bits/time.h: New file.
41438 * sysdeps/unix/sysv/linux/sys/timex.h: Move struct timex definition
41440 * sysdeps/unix/sysv/linux/bits/timex.h: ...here. New file.
41441 * Versions.def: Add GLIBC_2.14.
41442 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (clock_adjtime):
41445 2011-03-22 Ulrich Drepper <drepper@gmail.com>
41447 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word): Increment
41449 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
41451 2011-03-20 H.J. Lu <hongjiu.lu@intel.com>
41454 * string/test-strncmp.c (do_page_test): New function.
41455 (check2): Likewise.
41456 (test_main): Call check2.
41457 * sysdeps/x86_64/multiarch/strcmp.S: Properly cross page boundary.
41459 2011-03-20 Ulrich Drepper <drepper@gmail.com>
41462 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word):
41463 Handle cache information in CPU leaf 4.
41464 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
41466 2011-03-18 Ulrich Drepper <drepper@gmail.com>
41469 * posix/fnmatch.c (fnmatch): Check size of pattern in wide
41470 character representation.
41471 Partly based on a patch by Tomas Hoger <thoger@redhat.com>.
41473 2011-03-16 Ryan S. Arnold <rsa@us.ibm.com>
41475 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnanf.S (isnanf): Fix
41476 END(__isnan) to END(__isnanf) to match function entry point/label
41477 EALIGN(__isnanf,...).
41479 2011-03-10 Jakub Jelinek <jakub@redhat.com>
41481 * wcsmbs/wchar.h (wmemcmp): Remove __restrict qualifiers.
41483 2011-03-10 Ulrich Drepper <drepper@gmail.com>
41486 * elf/dl-lookup.c (do_lookup_x): For copy relocations of unique objects
41487 copy from the symbol referenced in the relocation to initialize the
41489 Patch by Piotr Bury <pbury@goahead.com>.
41490 * elf/Makefile: Add rules to build and tst-unique3.
41491 * include/bits/dlfcn.h: Remove _dl_mcount_wrapper_check declaration.
41492 * elf/tst-unique3.cc: New file.
41493 * elf/tst-unique3.h: New file.
41494 * elf/tst-unique3lib.cc: New file.
41495 * elf/tst-unique3lib2.cc: New file.
41497 * elf/Makefile: Don't run tst-execstack* tests of SELinux is enabled.
41499 2011-03-10 Mike Frysinger <vapier@gentoo.org>
41501 * sysdeps/sparc/sparc64/elf/configure.in (libc_cv_sparc64_tls): Add
41502 $LDFLAGS and -nostdlib -nostartfiles to linking step. Change main
41505 2011-03-06 Ulrich Drepper <drepper@gmail.com>
41507 * elf/dl-load.c (_dl_map_object): If we are looking for the first
41508 to-be-loaded object along a path to loader is ld.so.
41510 2011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
41511 Ulrich Drepper <drepper@gmail.com>
41513 * sysdeps/x86_64/memset.S: After aligning destination, code
41514 branches to different locations depending on the value of
41515 misalignment, when multiarch is enabled. Fix this.
41517 2011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
41519 * sysdeps/x86_64/cacheinfo.c (init_cacheinfo):
41520 Set _x86_64_preferred_memory_instruction for AMD processsors.
41521 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
41522 Set bit_Prefer_SSE_for_memop for AMD processors.
41524 2011-03-04 Ulrich Drepper <drepper@gmail.com>
41526 * libio/fmemopen.c (fmemopen): Optimize a bit.
41528 2011-03-03 Andreas Schwab <schwab@redhat.com>
41530 * libio/fmemopen.c (fmemopen): Don't read past end of buffer.
41532 2011-03-03 Roland McGrath <roland@redhat.com>
41534 * setjmp/bits/setjmp2.h: Canonicalize comment formatting.
41536 2011-02-28 Aurelien Jarno <aurelien@aurel32.net>
41538 * sysdeps/sparc/sparc64/multiarch/memset.S(__bzero): Call
41539 __bzero_ultra1 instead of __memset_ultra1.
41541 2011-02-23 Andreas Schwab <schwab@redhat.com>
41542 Ulrich Drepper <drepper@gmail.com>
41545 * include/link.h (struct link_map): Add l_orig_initfini.
41546 * elf/dl-load.c (_dl_map_object_from_fd): Free realname before
41547 returning unsuccessfully.
41548 * elf/dl-close.c (_dl_close_worker): If this is the last explicit
41549 close of a file loaded at startup, restore the original l_initfini
41551 * elf/dl-deps.c (_dl_map_object_deps): Don't free old l_initfini
41552 list, store the pointer.
41553 * elf/Makefile ($(objpfx)noload-mem): New rule.
41554 (noload-ENV): Define.
41555 (tests): Add $(objpfx)noload-mem.
41556 * elf/noload.c: Include <memcheck.h>.
41557 (main): Call mtrace. Close all opened handles.
41559 2011-02-17 Andreas Schwab <schwab@redhat.com>
41562 * elf/dl-deps.c (_dl_map_object_deps): Signal error early when
41563 dependencies are missing.
41565 2011-02-22 Samuel Thibault <samuel.thibault@ens-lyon.org>
41567 Fix __if_freereq crash: Unlike the generic version which uses free,
41569 * sysdeps/mach/hurd/ifreq.h: New file.
41571 2011-01-27 Petr Baudis <pasky@suse.cz>
41572 Ulrich Drepper <drepper@gmail.com>
41575 * stdio-common/vfprintf.c (vfprintf): Pass correct newlen
41576 to extend_alloca().
41577 * stdio-common/bug23.c: New file.
41578 * stdio-common/Makefile (tests): Add bug23.
41580 2010-09-28 Andreas Schwab <schwab@redhat.com>
41581 Ulrich Drepper <drepper@gmail.com>
41584 * elf/rtld.c (dl_main): Move setting of GLRO(dl_init_all_dirs)
41585 before performing relro protection. At old place add assertion
41586 to make sure nothing changed.
41588 2011-02-17 Nathan Sidwell <nathan@codesourcery.com>
41589 Glauber de Oliveira Costa <glommer@gmail.com>
41591 * elf/elf.h: Add new ARM TLS relocs.
41593 2011-02-16 Ryan S. Arnold <rsa@us.ibm.com>
41595 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
41596 (INTERNAL_VSYSCALL_NCS INTERNAL_SYSCALL_NCS): Remove erroneous (int)
41598 * sysdeps/wordsize-64/Makefile: New file. Add tst-writev to
41600 * sysdeps/wordsize-64/tst-writev.c: New file.
41602 2011-02-15 Ryan S. Arnold <rsa@us.ibm.com>
41604 * sysdeps/powerpc/powerpc64/power7/Makefile: New file which adds
41605 -mno-vsx to the CFLAGS-rtld.c variable to avoid using VSX registers and
41606 insns in _dl_start to prevent a TOC reference before relocs are
41609 2011-02-15 Ulrich Drepper <drepper@gmail.com>
41612 * Makeconfig: Remove RANLIB definition.
41613 * Makerules: Don't use RANLIB.
41614 * aclocal.m4: Remove ranlib test.
41615 * configure.in: No need to check for ranlib.
41616 * elf/rtld-Rules: Don't use RANLIB.
41618 2011-02-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
41620 * sysdeps/mach/i386/sysdep.h: Add _MACH_I386_SYSDEP_H inclusion
41622 * sysdeps/mach/i386/thread_state.h: Add _MACH_I386_THREAD_STATE_H
41623 inclusion protection macro.
41625 * stdio-common/psiginfo.c (psiginfo): Check pinfo->si_signo against
41626 SIGRTMIN and SIGRTMAX and print information in that case only when
41627 SIGRTMIN is defined.
41629 2011-02-11 Jakub Jelinek <jakub@redhat.com>
41631 * stdio-common/printf-parsemb.c (__parse_one_specmb): Handle
41632 arginfo fn returning -1.
41634 * stdio-common/_i18n_number.h (_i18n_number_rewrite): Ensure decimal
41635 and thousands string is zero terminated.
41637 2011-02-03 Andreas Schwab <schwab@redhat.com>
41639 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Sync with
41640 sysdeps/unix/sysv/linux/bits/socket.h.
41642 2011-01-30 Samuel Thibault <samuel.thibault@ens-lyon.org>
41644 * bits/sched.h (__CPU_ZERO, __CPU_SET, __CPU_CLR, __CPU_ISSET)
41645 (__CPU_COUNT): Remove old macros.
41646 (__CPU_ZERO_S, __CPU_SET_S, __CPU_CLR_S, __CPU_ISSET_S)
41647 (__CPU_COUNT, __CPU_EQUAL_S, __CPU_OP_S, __CPU_ALLOC_SIZE)
41648 (__CPU_ALLOC, __CPU_FREE): Add macros.
41649 (__sched_cpualloc, __sched_cpufree): Add declarations.
41651 2011-02-05 Ulrich Drepper <drepper@gmail.com>
41653 * nscd/nscd-client.h: Define MAX_TIMEOUT_VALUE.
41654 (struct datahead): Reuse 32 bits of the alignment for a TTL field.
41655 * nscd/aicache.c (addhstaiX): Return timeout of added value.
41656 (readdhstai): Return value of addhstaiX call.
41657 * nscd/grpcache.c (cache_addgr): Return timeout of added value.
41658 (addgrbyX): Return value returned by cache_addgr.
41659 (readdgrbyname): Return value returned by addgrbyX.
41660 (readdgrbygid): Likewise.
41661 * nscd/pwdcache.c (cache_addpw): Return timeout of added value.
41662 (addpwbyX): Return value returned by cache_addpw.
41663 (readdpwbyname): Return value returned by addhstbyX.
41664 (readdpwbyuid): Likewise.
41665 * nscd/servicescache.c (cache_addserv): Return timeout of added value.
41666 (addservbyX): Return value returned by cache_addserv.
41667 (readdservbyname): Return value returned by addservbyX:
41668 (readdservbyport): Likewise.
41669 * nscd/hstcache.c (cache_addhst): Return timeout of added value.
41670 (addhstbyX): Return value returned by cache_addhst.
41671 (readdhstbyname): Return value returned by addhstbyX.
41672 (readdhstbyaddr): Likewise.
41673 (readdhstbynamev6): Likewise.
41674 (readdhstbyaddrv6): Likewise.
41675 * nscd/initgrcache.c (addinitgroupsX): Return timeout of added value.
41676 (readdinitgroups): Return value returned by addinitgroupsX.
41677 * nscd/cache.c (readdfcts): Change return value of functions to time_t.
41678 (prune_cache): Keep track of timeout value of re-added entries.
41679 * nscd/connections.c (nscd_run_prune): Use MAX_TIMEOUT_VALUE.
41680 * nscd/nscd.h: Adjust prototypes of readd* functions.
41682 2011-02-04 Roland McGrath <roland@redhat.com>
41684 * nis/nis_server.c (nis_servstate): Use the right name for 0.
41685 (nis_stats): Likewise.
41686 * nis/nis_modify.c (nis_modify): Likewise.
41687 * nis/nis_remove.c (nis_remove): Likewise.
41688 * nis/nis_add.c (nis_add): Likewise.
41690 * elf/dl-object.c (_dl_new_object): Remove unused variable L.
41692 * posix/fnmatch_loop.c: Add some consts.
41694 * sysdeps/x86_64/multiarch/memset-x86-64.S: Add an #undef.
41696 2011-02-02 H.J. Lu <hongjiu.lu@intel.com>
41699 * config.make.in (config-cflags-novzeroupper): Define.
41700 * configure.in: Substitute libc_cv_cc_novzeroupper.
41701 * elf/Makefile (AVX-CFLAGS): Define.
41702 (CFLAGS-tst-audit4.c): Replace -mavx with $(AVX-CFLAGS).
41703 (CFLAGS-tst-auditmod4a.c): Likewise.
41704 (CFLAGS-tst-auditmod4b.c): Likewise.
41705 (CFLAGS-tst-auditmod6b.c): Likewise.
41706 (CFLAGS-tst-auditmod6c.c): Likewise.
41707 (CFLAGS-tst-auditmod7b.c): Likewise.
41708 * sysdeps/i386/configure.in: Check -mno-vzeroupper.
41710 2011-02-02 Ulrich Drepper <drepper@gmail.com>
41712 * elf/dl-runtime.c (_dl_call_pltexit): Pass correct address of the
41713 function to the callback.
41714 Patch partly by Jiri Olsa <jolsa@redhat.com>.
41716 2011-02-02 Andreas Schwab <schwab@redhat.com>
41718 * shadow/sgetspent.c: Check return value of __sgetspent_r instead
41721 2011-01-19 Ulrich Drepper <drepper@gmail.com>
41724 * elf/dl-deps.c (_dl_map_object_deps): Rewrite sorting determining order
41726 * elf/dl-fini.c (_dl_sort_fini): Rewrite sorting determining order
41728 (_dl_fini): Don't call _dl_sort_fini if there is only one object.
41731 * elf/Makefile: Add rules to build and run new test.
41732 * elf/tst-initorder.c: New file.
41733 * elf/tst-initorder.exp: New file.
41734 * elf/tst-initordera1.c: New file.
41735 * elf/tst-initordera2.c: New file.
41736 * elf/tst-initordera3.c: New file.
41737 * elf/tst-initordera4.c: New file.
41738 * elf/tst-initorderb1.c: New file.
41739 * elf/tst-initorderb2.c: New file.
41740 * elf/tst-order-a1.c: New file.
41741 * elf/tst-order-a2.c: New file.
41742 * elf/tst-order-a3.c: New file.
41743 * elf/tst-order-a4.c: New file.
41744 * elf/tst-order-b1.c: New file.
41745 * elf/tst-order-b2.c: New file.
41746 * elf/tst-order-main.c: New file.
41747 New test case by George Gensure <werkt0@gmail.com>.
41749 2010-10-01 Andreas Schwab <schwab@redhat.com>
41751 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
41752 decoding ACE if AI_CANONIDN.
41754 2011-01-18 Ulrich Drepper <drepper@gmail.com>
41756 * elf/Makefile: Build IFUNC tests unless multi-arch = no.
41758 2011-01-17 Ulrich Drepper <drepper@gmail.com>
41760 * version.h (RELEASE): Bump for 2.13 release.
41761 * include/features.h: (__GLIBC_MINOR__): Bump to 13.
41763 * io/fcntl.h: Define AT_NO_AUTOMOUNT.
41765 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MADV_HUGEPAGE and
41767 * sysdeps/unix/sysv/linux/ia64/bits/mman.h: Likewise.
41768 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
41769 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
41770 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
41771 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
41772 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
41774 * posix/getconf.c: Update copyright year.
41775 * catgets/gencat.c: Likewise.
41776 * csu/version.c: Likewise.
41777 * debug/catchsegv.sh: Likewise.
41778 * debug/xtrace.sh: Likewise.
41779 * elf/ldconfig.c: Likewise.
41780 * elf/ldd.bash.in: Likewise.
41781 * elf/sprof.c (print_version): Likewise.
41782 * iconv/iconv_prog.c: Likewise.
41783 * iconv/iconvconfig.c: Likewise.
41784 * locale/programs/locale.c: Likewise.
41785 * locale/programs/localedef.c: Likewise.
41786 * malloc/memusage.sh: Likewise.
41787 * malloc/mtrace.pl: Likewise.
41788 * nscd/nscd.c (print_version): Likewise.
41789 * nss/getent.c: Likewise.
41791 * sysdeps/unix/sysv/linux/bits/socket.h: Define AF_CAIF, AF_ALG,
41792 PF_CAIF, and PF_ALG.
41793 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
41795 2011-01-16 Andreas Schwab <schwab@linux-m68k.org>
41797 * elf/Makefile (tlsmod17a-modules, tlsmod18a-modules): Define.
41798 (modules-names): Use them.
41799 (ifunc-test-modules, ifunc-pie-tests): Define.
41800 (extra-test-objs): Add tlsmod17a-modules, tlsmod18a-modules,
41801 tst-pie1, ifunc-test-modules and ifunc-pie-tests objects.
41802 (test-extras): Likewise.
41803 ($(patsubst %,$(objpfx)%.os,$(tlsmod17a-modules))): Use
41804 $(compile-command.c).
41805 ($(patsubst %,$(objpfx)%.os,$(tlsmod18a-modules))): Likewise.
41806 (all-built-dso): Define.
41807 (check-textrel.out, check-execstack.out): Depend on it.
41809 * configure.in: Don't override --enable-multi-arch.
41811 2011-01-15 Ulrich Drepper <drepper@gmail.com>
41814 * nscd/hstcache.c (tryagain): Define.
41815 (cache_addhst): Return tryagain not notfound for temporary errors.
41816 (addhstbyX): Also set h_errno to TRY_AGAIN when memory allocation
41819 2011-01-14 Ulrich Drepper <drepper@gmail.com>
41822 * sysdeps/unix/sysv/linux/i386/setgroups.c: Use INLINE_SETXID_SYSCALL
41823 to make the syscall.
41824 * sysdeps/unix/sysv/linux/setgroups.c: New file.
41827 * posix/fnmatch_loop.c (FCT): When matching '[' keep track of beginning
41828 and fall back to matching as normal character if the string ends before
41829 the matching ']' is found. This is what POSIX requires.
41830 * posix/testfnm.c: Adjust test result.
41831 * posix/globtest.sh: Adjust test result. Add new test.
41832 * posix/tst-fnmatch.input: Likewise.
41833 * posix/tst-fnmatch2.c: Add new test.
41835 2010-12-28 Andreas Schwab <schwab@linux-m68k.org>
41837 * elf/Makefile (check-execstack): Revert last change. Depend on
41839 (check-execstack.h): New target.
41840 (generated): Add check-execstack.h.
41841 * elf/check-execstack.c: Include "check-execstack.h".
41842 (main): Revert last change.
41843 (handle_file): Return zero if GNU_STACK is absent and
41844 DEFAULT_STACK_PERMS doesn't include PF_X.
41846 2011-01-13 Ulrich Drepper <drepper@gmail.com>
41848 * sysdeps/posix/spawni.c (__spawni): Don't fail if close file action
41849 in child fails because the descriptor is already closed.
41850 * include/sys/resource.h: Add libc_hidden_proto for getrlimit64.
41851 * sysdeps/unix/sysv/linux/getrlimit64.c: Add libc_hidden_def.
41852 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Likewise.
41855 * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Fix handling of missing
41859 * nss/nss_files/files-hosts.c (HOST_DB_LOOKUP): Handle overflows of
41860 temporary buffer used to handle multi lookups locally.
41861 * include/alloca.h: Add libc_hidden_proto for __libc_alloca_cutoff.
41863 2011-01-12 Ulrich Drepper <drepper@gmail.com>
41865 * elf/dl-dst.h (DL_DST_REQUIRED): Allow l_origin to be NULL when
41868 2011-01-10 Paul Pluzhnikov <ppluzhnikov@google.com>
41870 * sysdeps/i386/Makefile: stdlib/cxa_finalize.c needs 16-byte stack
41871 alignment for SSE2.
41873 2011-01-12 Ulrich Drepper <drepper@gmail.com>
41876 * stdio-common/printf_fp.c (__printf_fp): Add more room for grouping
41877 characters. When rounding increased number of integer digits recompute
41879 * stdio-common/tst-grouping.c: New file.
41880 * stdio-common/Makefile: Add rules to build and run tst-grouping.
41882 2011-01-09 Ulrich Drepper <drepper@gmail.com>
41884 * sysdeps/i386/bits/select.h: Don't use asm code for __FD_SET,
41885 __FD_CLR, and __FS_ISSET. gcc generates better code on its own.
41887 * sysdeps/x86_64/bits/select.h: Mark value of __FD_SET and __FD_CLR as
41889 * bits/select.h: Likewise.
41891 2011-01-08 Ulrich Drepper <drepper@gmail.com>
41893 * po/ja.po: Update from translation team.
41895 2011-01-04 David S. Miller <davem@sunset.davemloft.net>
41898 * sysdeps/unix/sysv/linux/sparc/sparc64/fxstat.c: Use i386's
41899 implementation just like for lxstat, fxstatat, et al.
41901 2010-12-27 Jim Meyering <meyering@redhat.com>
41904 * posix/regexec.c (build_trtable): Return failure indication upon
41905 calloc failure. Otherwise, re_search_internal could infloop on OOM.
41907 2010-12-25 Ulrich Drepper <drepper@gmail.com>
41910 * sysdeps/unix/sysv/linux/getrlimit64.c: New file.
41911 * sysdeps/unix/sysv/linux/setrlimit64.c: New file.
41912 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Use ../getrlimit64.c.
41913 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_PRLIMIT64.
41916 * malloc/malloc.c (do_check_malloc_state): Use fastbin macro.
41919 * string/xpg-strerror.c (__xpg_strerror_r): Return error code, not -1.
41920 * sysdeps/mach/xpg-strerror.c (__xpg_strerror_r): Likewise.
41922 2010-12-15 H.J. Lu <hongjiu.lu@intel.com>
41924 * config.h.in (NO_CTORS_DTORS_SECTIONS): Define.
41925 * configure.in: Define NO_CTORS_DTORS_SECTIONS if linker
41926 script has SORT_BY_INIT_PRIORITY.
41927 * elf/sofini.c: Remove `.ctors' and `.dtors' sections if
41928 NO_CTORS_DTORS_SECTIONS is defined.
41929 * elf/soinit.c: Likewise.
41930 * sysdeps/i386/init-first.c: Don't call __libc_global_ctors if
41931 NO_CTORS_DTORS_SECTIONS is defined.
41932 * sysdeps/mach/hurd/i386/init-first.c: Likewise.
41933 * sysdeps/mach/hurd/powerpc/init-first.c: Likewise.
41934 * sysdeps/sh/init-first.c: Likewise.
41935 * sysdeps/unix/sysv/linux/init-first.c: Likewise.
41937 2010-12-24 Ulrich Drepper <drepper@gmail.com>
41939 * stdio-common/vfprintf.c (vfprintf): If printf handlers are installed
41940 always use the slow path.
41942 2010-12-15 Ryan S. Arnold <rsa@us.ibm.com>
41944 * elf/Makefile: (check-execstack): Replace $(native-compile) with a
41945 similar rule which adds the sysdep directories to the header search in
41946 order to pick up the correct platform stackinfo.h.
41947 * elf/check-execstack.c (main): Check DEFAULT_STACK_PERMS for PF_X and
41948 perform test if it is, otherwise return successfully without testing.
41949 * elf/dl-load.c (_dl_map_object_from_fd): Source stack_flags from
41950 DEFAULT_STACK_PERMS define in stackinfo.h.
41951 * elf/dl-support.c (_dl_stack_flags): Source from DEFAULT_STACK_PERMS
41952 defined in stackinfo.h.
41953 * elf/rtld.c (_dl_starting_up): Source ._dl_stack_flags from
41954 DEFAULT_STACK_PERMS defined in stackinfo.h.
41955 * sysdeps/i386/stackinfo.h: Define DEFAULT_STACK_PERMS with PF_X.
41956 * sysdeps/ia64/stackinfo.h: Likewise.
41957 * sysdeps/s390/stackinfo.h: Likewise.
41958 * sysdeps/sh/stackinfo.h: Likewise.
41959 * sysdeps/sparc/stackinfo.h: Likewise.
41960 * sysdeps/x86_64/stackinfo.h: Likewise.
41961 * sysdeps/powerpc/stackinfo.h: Define DEFAULT_STACK_PERMS without
41962 PF_X for powerpc64. Retain PF_X for powerpc32.
41964 2010-12-19 Ulrich Drepper <drepper@gmail.com>
41966 * sysdeps/unix/readdir_r.c (__READDIR_R): Compute reclen more
41968 * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Define
41969 GETDENTS_64BIT_ALIGNED.
41971 2010-12-14 Ulrich Drepper <dreper@gmail.com>
41973 * sysdeps/i386/i686/multiarch/strcmp.S: Undo accidental checkin.
41975 2010-12-10 Andreas Schwab <schwab@redhat.com>
41977 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Only declare under
41980 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Add __restrict.
41981 * wcsmbs/bits/wchar2.h (__wmemmove_chk_warn, wmemmove, wmemset):
41983 (wcscpy, __wcpcpy_chk, __wcpcpy_alias, wcpcpy, wcsncpy, wcpncpy)
41984 (wcscat, wcsncat, __wcrtomb_chk, wcrtomb): Add __restrict.
41986 2010-12-09 Ulrich Drepper <drepper@gmail.com>
41989 * stdlib/msort.c (qsort_r): Make sure both phys_pages and pagesize
41992 2010-12-09 Jakub Jelinek <jakub@redhat.com>
41994 * string/bits/string3.h (memmove, bcopy): Remove __restrict.
41996 2010-12-03 Ulrich Drepper <drepper@gmail.com>
41998 * po/it.po: Update from translation team.
42000 2010-12-01 H.J. Lu <hongjiu.lu@intel.com>
42002 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (STRCMP): Remove
42005 2010-11-30 Ulrich Drepper <drepper@gmail.com>
42007 * sysdeps/i386/fpu/libm-test-ulps: Relax ynf(10,0.75) test expectations.
42009 2010-11-24 Andreas Schwab <schwab@redhat.com>
42011 * resolv/nss_dns/dns-host.c (getanswer_r): Don't handle ttl == 0
42013 (gaih_getanswer_slice): Likewise.
42015 2010-10-20 Jakub Jelinek <jakub@redhat.com>
42017 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Fix up inline asm.
42019 2010-05-31 Petr Baudis <pasky@suse.cz>
42022 * elf/ldconfig.c (main): Allow aux_cache_file open()ing to fail
42023 silently even in the chroot mode.
42025 2010-11-22 Ulrich Drepper <drepper@gmail.com>
42027 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Optimize
42028 last patch a bit. Pretty printing
42030 2010-05-31 Petr Baudis <pasky@suse.cz>
42033 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Fix
42034 initialization of skip_initgroups_dyn.
42036 2010-11-19 Ulrich Drepper <drepper@gmail.com>
42038 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MAP_HUGETLB.
42039 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
42041 2010-11-16 Ulrich Drepper <drepper@gmail.com>
42043 * sysdeps/unix/sysv/linux/sys/swap.h (SWAP_FLAG_DISCARD): Define.
42045 2010-11-11 Andreas Schwab <schwab@redhat.com>
42047 * posix/fnmatch_loop.c (NEW_PATTERN): Fix use of alloca.
42048 * posix/Makefile (tests): Add $(objpfx)tst-fnmatch-mem.
42049 (tst-fnmatch-ENV): Set MALLOC_TRACE.
42050 ($(objpfx)tst-fnmatch-mem): New rule.
42051 (generated): Add tst-fnmatch-mem and tst-fnmatch.mtrace.
42052 * posix/tst-fnmatch.c (main): Call mtrace.
42054 2010-11-11 H.J. Lu <hongjiu.lu@intel.com>
42056 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
42057 Support Intel processor model 6 and model 0x2c.
42059 2010-11-10 Luis Machado <luisgpm@br.ibm.com>
42061 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (__ieee754_sqrtl): Force
42064 2010-11-09 H.J. Lu <hongjiu.lu@intel.com>
42067 * string/test-strncasecmp.c (check_result): New function.
42068 (do_one_test): Use it.
42069 (check1): New function.
42070 (test_main): Use it.
42071 * sysdeps/i386/i686/multiarch/strcmp.S (nibble_ashr_use_sse4_2_exit):
42072 Support strcasecmp and strncasecmp.
42074 2010-11-08 Ulrich Drepper <drepper@gmail.com>
42077 * sysdeps/i386/bits/byteswap.h: Avoid warning in __bswap_16.
42078 * sysdeps/x86_64/bits/byteswap.h: Likewise.
42080 2010-11-07 H.J. Lu <hongjiu.lu@intel.com>
42082 * sysdeps/x86_64/memset.S: Check USE_MULTIARCH and USE_SSE2 for
42084 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
42086 * sysdeps/x86_64/multiarch/bzero.S: New file.
42087 * sysdeps/x86_64/multiarch/cacheinfo.c: New file.
42088 * sysdeps/x86_64/multiarch/memset-x86-64.S: New file.
42089 * sysdeps/x86_64/multiarch/memset.S: New file.
42090 * sysdeps/x86_64/multiarch/memset_chk.S: New file.
42091 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
42092 Set bit_Prefer_SSE_for_memop for Intel processors.
42093 * sysdeps/x86_64/multiarch/init-arch.h (bit_Prefer_SSE_for_memop):
42095 (index_Prefer_SSE_for_memop): Define.
42096 (HAS_PREFER_SSE_FOR_MEMOP): Define.
42098 2010-11-04 Luis Machado <luisgpm@br.ibm.com>
42100 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: New file.
42101 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: New file.
42103 2010-11-03 H.J. Lu <hongjiu.lu@intel.com>
42106 * sysdeps/i386/i686/cacheinfo.c (__x86_64_raw_data_cache_size): New.
42107 (__x86_64_raw_data_cache_size_half): Likewise.
42108 (__x86_64_raw_shared_cache_size): Likewise.
42109 (__x86_64_raw_shared_cache_size_half): Likewise.
42111 * sysdeps/x86_64/cacheinfo.c (__x86_64_raw_data_cache_size): New.
42112 (__x86_64_raw_data_cache_size_half): Likewise.
42113 (__x86_64_raw_shared_cache_size): Likewise.
42114 (__x86_64_raw_shared_cache_size_half): Likewise.
42115 (init_cacheinfo): Set __x86_64_raw_data_cache_size,
42116 __x86_64_raw_data_cache_size_half, __x86_64_raw_shared_cache_size
42117 and __x86_64_raw_shared_cache_size_half. Round
42118 __x86_64_data_cache_size_half, __x86_64_data_cache_size
42119 __x86_64_shared_cache_size_half and __x86_64_shared_cache_size,
42120 to multiple of 256 bytes.
42122 2010-11-03 Ulrich Drepper <drepper@gmail.com>
42125 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Recognize new mangling
42126 of inacessible symlinks. Verify result of symlink before returning it.
42127 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
42128 Patch mostly by Miklos Szeredi <miklos@szeredi.hu>.
42130 2010-10-28 Erich Ritz <erichritz@gmail.com>
42132 * math/math.h (isinf): Fix typo in comment.
42134 2010-11-01 Ulrich Drepper <drepper@gmail.com>
42136 * po/da.po: Update from translation team.
42138 2010-10-26 Ulrich Drepper <drepper@gmail.com>
42140 * elf/rtld.c (dl_main): Move assertion after the point where rtld map
42141 is added to the list.
42143 2010-10-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
42144 Ulrich Drepper <drepper@gmail.com>
42146 * elf/dl-object.c (_dl_new_object): Don't append the new object to
42147 the global list here. Move code to...
42148 (_dl_add_to_namespace_list): ...here. New function.
42149 * elf/rtld.c (dl_main): Invoke _dl_add_to_namespace_list.
42150 * sysdeps/generic/ldsodefs.h (_dl_add_to_namespace_list): Declare.
42151 * elf/dl-load.c (lose): Don't remove the element from the list.
42152 (_dl_map_object_from_fd): Invoke _dl_add_to_namespace_list.
42153 (_dl_map_object): Likewise.
42155 2010-10-25 Ulrich Drepper <drepper@gmail.com>
42158 * sysdeps/x86_64/multiarch/strchr.S: Fix propagation of search byte
42159 into all bytes of SSE register.
42160 Patch by Richard Li <richardpku@gmail.com>.
42162 2010-10-24 Ulrich Drepper <drepper@gmail.com>
42165 * malloc/malloc.c (_int_free): Fill correct number of bytes when
42168 2010-10-20 Michael B. Brutman <brutman@us.ibm.com>
42170 * sysdeps/powerpc/dl-procinfo.c: Add support for ppca2 platform
42171 * sysdeps/powerpc/dl-procinfo.h: Add support for ppca2 platform
42172 * sysdeps/powerpc/powerpc32/a2/memcpy.S: New file.
42173 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
42174 * sysdeps/unix/sysv/linux/powerpc/powerpc32/a2/Implies: New
42176 * sysdeps/unix/sysv/linux/powerpc/powerpc64/a2/Implies: Likewise.
42178 2010-10-22 Andreas Schwab <schwab@redhat.com>
42180 * include/dlfcn.h (__RTLD_SECURE): Define.
42181 * elf/dl-load.c (_dl_map_object): Remove preloaded parameter. Use
42182 mode & __RTLD_SECURE instead.
42183 (open_path): Rename preloaded parameter to secure.
42184 * sysdeps/generic/ldsodefs.h (_dl_map_object): Adjust declaration.
42185 * elf/dl-open.c (dl_open_worker): Adjust call to _dl_map_object.
42186 * elf/dl-deps.c (openaux): Likewise.
42187 * elf/rtld.c (struct map_args): Remove is_preloaded.
42188 (map_doit): Don't use it.
42189 (dl_main): Likewise.
42190 (do_preload): Use __RTLD_SECURE instead of is_preloaded.
42191 (dlmopen_doit): Add __RTLD_SECURE to mode bits.
42193 2010-09-09 Andreas Schwab <schwab@redhat.com>
42195 * Makeconfig (sysd-rules-patterns): Add rtld-%:rtld-%.
42196 (sysd-rules-targets): Remove duplicates.
42197 * elf/rtld-Rules ($(objpfx)rtld-%.os): Add pattern rules with
42198 rtld-%.$o dependency.
42200 2010-10-18 Andreas Schwab <schwab@redhat.com>
42202 * elf/dl-open.c (dl_open_worker): Don't expand DST here, let
42203 _dl_map_object do it.
42205 2010-10-19 Ulrich Drepper <drepper@gmail.com>
42207 * sysdeps/i386/bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has
42208 fast fma builtins, define the macros in the C99 standard.
42209 (FP_FAST_FMAF): Likewise.
42210 (FP_FAST_FMAL): Likewise.
42211 * sysdeps/x86_64/bits/mathdef.h: Likewise.
42213 * bits/mathdef.h: Update copyright year.
42214 * sysdeps/powerpc/bits/mathdef.h: Likewise.
42216 2010-10-19 Michael Meissner <meissner@linux.vnet.ibm.com>
42218 * bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has fast fma
42219 builtins, define the macros in the C99 standard.
42220 (FP_FAST_FMAF): Likewise.
42221 (FP_FAST_FMAL): Likewise.
42222 * sysdeps/powerpc/bits/mathdef.h (FP_FAST_FMA): Define, ppc as
42224 (FP_FAST_FMAF): Likewise.
42226 2010-10-15 Jakub Jelinek <jakub@redhat.com>
42229 * math/libm-test.inc (fma_test): Some new testcases.
42230 * sysdeps/ieee754/ldbl-128/s_fmal.c: New file.
42231 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Fix fma with finite x and
42232 y and infinite z. Do multiplication by C already in long double.
42233 * sysdeps/ieee754/ldbl-96/s_fmal.c: New file.
42234 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix fma with finite x and
42235 y and infinite z. Do bitwise or of inexact bit into u.d.
42236 * sysdeps/ieee754/ldbl-64-128/s_fmal.c: New file.
42237 * sysdeps/i386/fpu/s_fmaf.S: Removed.
42238 * sysdeps/i386/fpu/s_fma.S: Removed.
42239 * sysdeps/i386/fpu/s_fmal.S: Removed.
42241 2010-10-16 Jakub Jelinek <jakub@redhat.com>
42244 * math/libm-test.inc (fma_test): Add IEEE quad long double fmal tests.
42245 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Ensure a1 + u.d
42246 computation is not scheduled after fetestexcept. Fix value
42247 of minimum denormal long double.
42249 2010-10-14 Jakub Jelinek <jakub@redhat.com>
42252 * math/libm-test.inc (fma_test): Add some more tests.
42253 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle underflows
42256 2010-10-15 Andreas Schwab <schwab@redhat.com>
42258 * scripts/data/localplt-s390-linux-gnu.data: New file.
42259 * scripts/data/localplt-s390x-linux-gnu.data: New file.
42261 2010-10-13 Jakub Jelinek <jakub@redhat.com>
42264 * math/libm-test.inc (fma_test): Some more fmaf and fma tests.
42265 * sysdeps/i386/i686/multiarch/s_fma.c: Include ldbl-96 version
42267 * sysdeps/i386/fpu/bits/mathinline.h (fma, fmaf, fmal): Remove
42269 * sysdeps/ieee754/ldbl-96/s_fma.c: New file.
42270 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix exponent adjustment
42271 if one of x and y is very large and the other is subnormal.
42272 * sysdeps/s390/fpu/s_fmaf.c: New file.
42273 * sysdeps/s390/fpu/s_fma.c: New file.
42274 * sysdeps/powerpc/fpu/s_fmaf.S: New file.
42275 * sysdeps/powerpc/fpu/s_fma.S: New file.
42276 * sysdeps/powerpc/powerpc32/fpu/s_fma.S: New file.
42277 * sysdeps/powerpc/powerpc64/fpu/s_fma.S: New file.
42278 * sysdeps/unix/sysv/linux/s390/fpu/s_fma.c: New file.
42280 2010-10-12 Jakub Jelinek <jakub@redhat.com>
42283 * math/libm-test.inc (fma_test): Add some more fmaf tests, add
42285 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Fix Inf/Nan check.
42286 * sysdeps/ieee754/dbl-64/s_fma.c: New file.
42287 * sysdeps/i386/i686/multiarch/s_fma.c: Include
42288 sysdeps/ieee754/dbl-64/s_fma.c instead of math/s_fma.c.
42289 * sysdeps/x86_64/multiarch/s_fma.c: Likewise.
42290 * sysdeps/ieee754/ldbl-opt/s_fma.c: Likewise.
42291 * sysdeps/ieee754/ldbl-128/s_fma.c: New file.
42293 2010-10-12 Ulrich Drepper <drepper@redhat.com>
42296 * posix/regcomp.c (parse_branch): One more memory leak plugged.
42297 * posix/bug-regex31.input: Add test case.
42299 2010-10-11 Ulrich Drepper <drepper@gmail.com>
42301 * posix/bug-regex31.c: Rewrite to run multiple tests from stdin.
42302 * posix/bug-regex31.input: New file.
42305 * posix/regcomp.c (parse_branch): Free memory when allocation failed.
42306 (parse_sub_exp): Fix last change, use postorder.
42308 * posix/bug-regex31.c: New file.
42309 * posix/Makefile: Add rules to build and run bug-regex31.
42311 * posix/regcomp.c (parse_bracket_exp): Add missing re_free calls.
42314 * posix/regcomp.c (parse_sub_exp): Free tree data when it is not used.
42317 * stdio-common/psiginfo.c (psiginfo): Don't expext SIGRTMIN..SIGRTMAX
42318 to have entries in sys_siglist.
42321 * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): ->ifa_addr might
42324 2010-10-07 Jakub Jelinek <jakub@redhat.com>
42327 * math/libm-test.inc (fma_test): Add 2 fmaf tests.
42328 * sysdeps/ieee754/dbl-64/s_fmaf.c: New file.
42329 * sysdeps/i386/i686/multiarch/s_fmaf.c: Include
42330 sysdeps/ieee754/dbl-64/s_fmaf.c instead of math/s_fmaf.c.
42331 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
42332 * include/fenv.h (feupdateenv, fetestexcept): Add libm_hidden_proto.
42333 * math/feupdateenv.c (feupdateenv): Add libm_hidden_ver.
42334 * sysdeps/i386/fpu/feupdateenv.c (feupdateenv): Likewise.
42335 * sysdeps/powerpc/fpu/feupdateenv.c (feupdateenv): Likewise.
42336 * sysdeps/x86_64/fpu/feupdateenv.c (feupdateenv): Likewise.
42337 * sysdeps/sparc/fpu/feupdateenv.c (feupdateenv): Likewise.
42338 * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Add libm_hidden_def.
42339 * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
42340 * math/ftestexcept.c (fetestexcept): Likewise.
42341 * sysdeps/ia64/fpu/ftestexcept.c (fetestexcept): Likewise.
42342 * sysdeps/i386/fpu/ftestexcept.c (fetestexcept): Likewise.
42343 * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
42344 * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Likewise.
42345 * sysdeps/x86_64/fpu/ftestexcept.c (fetestexcept): Likewise.
42346 * sysdeps/sparc/fpu/ftestexcept.c (fetestexcept): Likewise.
42347 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
42349 2010-10-11 Ulrich Drepper <drepper@gmail.com>
42352 * stdio-common/psiginfo.c (psiginfo): Terminate all strings with
42355 2010-10-06 Ulrich Drepper <drepper@gmail.com>
42357 * string/bug-strstr1.c: New file.
42358 * string/Makefile: Add rules to build and run bug-strstr1.
42360 2010-10-05 Eric Blake <eblake@redhat.com>
42363 * string/str-two-way.h (two_way_long_needle): Always clear memory
42364 when skipping input due to the shift table.
42366 2010-10-03 Ulrich Drepper <drepper@gmail.com>
42369 * malloc/mcheck.c: Handle large requests.
42372 * sysdeps/x86_64/strcmp.S: Fix handling of remaining bytes in buffer
42373 for strncmp and strncasecmp.
42374 * string/stratcliff.c: Add tests for strcmp and strncmp.
42375 * wcsmbs/wcsatcliff.c: Adjust for stratcliff change.
42377 2010-09-28 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
42379 * sysdeps/sh/sh4/fpu/fpu_control.h: Add 'extern "C"' protection to
42382 2010-09-30 Andreas Jaeger <aj@suse.de>
42384 * sysdeps/unix/sysv/linux_fsinfo.h (BTRFS_SUPER_MAGIC): Define.
42385 (CGROUP_SUPER_MAGIC): Define.
42386 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
42387 Handle btrfs and cgroup file systems.
42388 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
42391 2010-09-27 Luis Machado <luisgpm@br.ibm.com>
42393 * sysdeps/powerpc/powerpc32/rtld-memset.c: New file.
42394 * sysdeps/powerpc/powerpc64/rtld-memset.c: New file.
42396 2010-09-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
42399 * sysdeps/s390/s390-32/elf/start.S: Fix address calculation when
42400 trying to locate the ELF header.
42402 2010-09-27 Andreas Schwab <schwab@redhat.com>
42405 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS):
42406 Mask out sign-bit copies when constructing f_fsid.
42408 2010-09-24 Petr Baudis <pasky@suse.cz>
42410 * debug/stack_chk_fail_local.c: Add missing licence exception.
42411 * debug/warning-nop.c: Likewise.
42413 2010-09-15 Joseph Myers <joseph@codesourcery.com>
42415 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): When
42416 implementing getdents64 using getdents syscall, set d_type if
42417 __ASSUME_GETDENTS32_D_TYPE.
42419 2010-09-16 Andreas Schwab <schwab@redhat.com>
42421 * elf/dl-close.c (free_slotinfo, free_mem): Move to...
42422 * elf/dl-libc.c (free_slotinfo, free_mem): ... here.
42424 2010-09-21 Ulrich Drepper <drepper@redhat.com>
42427 * posix/unistd.h: Undo change of feature selection for ftruncate from
42430 2010-09-20 Ulrich Drepper <drepper@redhat.com>
42432 * sysdeps/x86_64/strcmp.S: Fix another typo in x86-64 strncasecmp limit
42435 2010-09-20 Andreas Schwab <schwab@redhat.com>
42437 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Add
42439 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
42441 2010-09-14 Andreas Schwab <schwab@redhat.com>
42443 * sysdeps/s390/s390-32/__longjmp.c (__longjmp): Define register
42444 variables after CHECK_SP call.
42445 * sysdeps/s390/s390-64/__longjmp.c (__longjmp): Likewise.
42447 2010-09-13 Andreas Schwab <schwab@redhat.com>
42448 Ulrich Drepper <drepper@redhat.com>
42450 * elf/rtld.c (dl_main): Set GLRO(dl_init_all_dirs) just before
42451 re-relocationg ld.so.
42452 * elf/dl-support.c (_dl_non_dynamic_init): And here after the
42453 _dl_init_paths call.
42454 * elf/dl-load.c (_dl_init_paths). Don't set GLRO(dl_init_all_dirs)
42457 2010-09-14 Ulrich Drepper <drepper@redhat.com>
42459 * resolv/res_init.c (__res_vinit): Count the default server we added.
42461 2010-09-08 Chung-Lin Tang <cltang@codesourcery.com>
42462 Ulrich Drepper <drepper@redhat.com>
42465 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
42466 (____longjmp_chk): Use %ebx for saving value across system call.
42469 2010-09-06 Andreas Schwab <schwab@redhat.com>
42471 * manual/Makefile: Don't mix pattern rules with normal rules.
42473 2010-09-05 Andreas Schwab <schwab@linux-m68k.org>
42475 * debug/vdprintf_chk.c (__vdprintf_chk): Remove undefined
42477 * libio/iofdopen.c (_IO_new_fdopen): Likewise.
42478 * libio/iofopncook.c (_IO_cookie_init): Likewise.
42479 * libio/iovdprintf.c (_IO_vdprintf): Likewise.
42480 * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
42481 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
42484 2010-09-04 Ulrich Drepper <drepper@redhat.com>
42487 * iconvdata/gconv-modules: Remove EBCDIC-CP-AR2 alias from
42488 IBM-930, IBM-933, IBM-935, IBM-937, and IBM-939.
42490 2010-09-02 Ulrich Drepper <drepper@redhat.com>
42492 * sysdeps/x86_64/add_n.S: Update from GMP 5.0.1.
42493 * sysdeps/x86_64/addmul_1.S: Likewise.
42494 * sysdeps/x86_64/lshift.S: Likewise.
42495 * sysdeps/x86_64/mul_1.S: Likewise.
42496 * sysdeps/x86_64/rshift.S: Likewise.
42497 * sysdeps/x86_64/sub_n.S: Likewise.
42498 * sysdeps/x86_64/submul_1.S: Likewise.
42500 2010-09-01 Samuel Thibault <samuel.thibault@ens-lyon.org>
42502 This aligns bits/sched.h onto sysdeps/unix/sysv/linux/bits/sched.h:
42503 Define __sched_param instead of SCHED_* and sched_param when
42504 <bits/sched.h> is included with __need_schedparam defined.
42505 * bits/sched.h [__need_schedparam]
42506 (SCHED_OTHER, SCHED_FIFO, SCHED_RR, sched_param): Do not define.
42507 [!__defined_schedparam && (__need_schedparam || _SCHED_H)]
42508 (__defined_schedparam): Define to 1.
42509 (__sched_param): New structure, identical to sched_param.
42510 (__need_schedparam): Undefine.
42512 2010-08-31 Mike Frysinger <vapier@gentoo.org>
42514 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h (epoll_create2): Delete.
42515 (epoll_create1): Declare.
42517 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Fix typo.
42519 2010-08-31 Andreas Schwab <schwab@redhat.com>
42522 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Fix array overflow when
42523 shifting retval into place.
42525 2010-09-01 Ulrich Drepper <drepper@redhat.com>
42527 * nis/rpcsvc/nis.h: Update copyright notice.
42528 * nis/rpcsvc/nis.x: Likewise.
42529 * nis/rpcsvc/nis_callback.h: Likewise.
42530 * nis/rpcsvc/nis_callback.x: Likewise.
42531 * nis/rpcsvc/nis_object.x: Likewise.
42532 * nis/rpcsvc/nis_tags.h: Likewise.
42533 * nis/rpcsvc/yp.h: Likewise.
42534 * nis/rpcsvc/yp.x: Likewise.
42535 * nis/rpcsvc/ypupd.h: Likewise.
42536 * nis/yp_xdr.c: Likewise.
42537 * nis/ypupdate_xdr.c: Likewise.
42539 * sunrpc/pm_getport.c (__libc_rpc_getport): New function. This is
42540 mainly the body of pmap_getport. Add parameters to specify timeouts.
42541 (pmap_getport): Use __libc_rpc_getport.
42542 * sunrpc/Versions: Export __libc_rpc_getport with GLIBC_PRIVATE.
42543 * include/rpc/pmap_clnt.h: Declare __libc_rpc_getport.
42544 * nis/nis_findserv.c: Remove pmap_getport copy. Use __libc_rpc_getport.
42546 2010-08-31 Andreas Schwab <schwab@linux-m68k.org>
42548 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Add
42551 2010-08-27 Roland McGrath <roland@redhat.com>
42553 * sysdeps/i386/i686/multiarch/Makefile
42554 (CFLAGS-varshift.c): New variable.
42556 2010-08-27 Ulrich Drepper <drepper@redhat.com>
42558 * sysdeps/i386/i686/multiarch/varshift.S: File removed.
42559 * sysdeps/i386/i686/multiarch/varshift.c: New file.
42561 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Move to .text.slow section.
42563 * sysdeps/x86_64/strlen.S: Minimal code improvement.
42565 2010-08-26 H.J. Lu <hongjiu.lu@intel.com>
42567 * sysdeps/x86_64/strlen.S: Unroll the loop.
42568 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
42569 strlen-sse2 strlen-sse2-bsf.
42570 * sysdeps/x86_64/multiarch/strlen.S ((strlen): Return
42571 __strlen_no_bsf if bit_Slow_BSF is set.
42572 (__strlen_sse42): Removed.
42573 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: New file.
42574 * sysdeps/x86_64/multiarch/strlen-sse4.S: New file.
42576 2010-08-25 Roland McGrath <roland@redhat.com>
42578 * sysdeps/x86_64/multiarch/varshift.S: File removed.
42579 * sysdeps/x86_64/multiarch/varshift.c: New file.
42580 * sysdeps/x86_64/multiarch/Makefile (CFLAGS-varshift.c): New variable.
42581 * sysdeps/x86_64/multiarch/varshift.h: Clean up decls, fix a cast.
42582 * sysdeps/x86_64/multiarch/memmove.c: Move decls around.
42583 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
42585 2010-08-25 H.J. Lu <hongjiu.lu@intel.com>
42587 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
42588 strlen-sse2 strlen-sse2-bsf.
42589 * sysdeps/i386/i686/multiarch/strlen.S (strlen): Return
42590 __strlen_sse2_bsf if bit_Slow_BSF is unset.
42591 (__strlen_sse2): Removed.
42592 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: New file.
42593 * sysdeps/i386/i686/multiarch/strlen-sse2.S: New file.
42594 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
42595 bit_Slow_BSF for Atom.
42596 * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_BSF): Define.
42597 (index_Slow_BSF): Define.
42598 (HAS_SLOW_BSF): Define.
42600 2010-08-25 Ulrich Drepper <drepper@redhat.com>
42603 * resolv/res_init.c (__res_vinit): When no server address at all
42604 is given default to loopback.
42606 2010-08-24 Roland McGrath <roland@redhat.com>
42608 * configure.in: Remove config-name.h generation.
42609 * configure: Regenerated.
42610 * config-name.in: File removed.
42611 * scripts/config-uname.sh: New file.
42612 * posix/Makefile (uname.c): Depend on $(objdir)config-name.h.
42613 ($(objdir)config-name.h): New target.
42615 * sunrpc/rpc_parse.h: Avoid nested comment.
42617 2010-08-24 Richard Henderson <rth@redhat.com>
42618 Ulrich Drepper <drepper@redhat.com>
42619 H.J. Lu <hongjiu.lu@intel.com>
42621 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add varshift.
42622 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Likewise.
42623 * sysdeps/x86_64/multiarch/strcspn-c.c: Include "varshift.h".
42624 Replace _mm_srli_si128 with __m128i_shift_right. Replace
42625 _mm_alignr_epi8 with _mm_loadu_si128.
42626 * sysdeps/x86_64/multiarch/strspn-c.c: Likewise.
42627 * sysdeps/x86_64/multiarch/strstr.c: Include "varshift.h".
42628 (__m128i_shift_right): Removed.
42629 * sysdeps/i386/i686/multiarch/varshift.h: New file.
42630 * sysdeps/i386/i686/multiarch/varshift.S: New file.
42631 * sysdeps/x86_64/multiarch/varshift.h: New file.
42632 * sysdeps/x86_64/multiarch/varshift.S: New file.
42634 2010-08-21 Mike Frysinger <vapier@gentoo.org>
42636 * configure.in: Move assembler checks to before sysdep dir checking.
42638 2010-08-20 Petr Baudis <pasky@suse.cz>
42640 * LICENSES: Sync the sunrpc license.
42642 2010-08-19 Ulrich Drepper <drepper@redhat.com>
42644 * sunrpc/auth_des.c: Update copyright notice once again.
42645 * sunrpc/auth_none.c: Likewise.
42646 * sunrpc/auth_unix.c: Likewise.
42647 * sunrpc/authdes_prot.c: Likewise.
42648 * sunrpc/authuxprot.c: Likewise.
42649 * sunrpc/bindrsvprt.c: Likewise.
42650 * sunrpc/clnt_gen.c: Likewise.
42651 * sunrpc/clnt_perr.c: Likewise.
42652 * sunrpc/clnt_raw.c: Likewise.
42653 * sunrpc/clnt_simp.c: Likewise.
42654 * sunrpc/clnt_tcp.c: Likewise.
42655 * sunrpc/clnt_udp.c: Likewise.
42656 * sunrpc/clnt_unix.c: Likewise.
42657 * sunrpc/des_crypt.c: Likewise.
42658 * sunrpc/des_soft.c: Likewise.
42659 * sunrpc/get_myaddr.c: Likewise.
42660 * sunrpc/getrpcport.c: Likewise.
42661 * sunrpc/key_call.c: Likewise.
42662 * sunrpc/key_prot.c: Likewise.
42663 * sunrpc/openchild.c: Likewise.
42664 * sunrpc/pm_getmaps.c: Likewise.
42665 * sunrpc/pm_getport.c: Likewise.
42666 * sunrpc/pmap_clnt.c: Likewise.
42667 * sunrpc/pmap_prot.c: Likewise.
42668 * sunrpc/pmap_prot2.c: Likewise.
42669 * sunrpc/pmap_rmt.c: Likewise.
42670 * sunrpc/rpc/auth.h: Likewise.
42671 * sunrpc/rpc/auth_unix.h: Likewise.
42672 * sunrpc/rpc/clnt.h: Likewise.
42673 * sunrpc/rpc/des_crypt.h: Likewise.
42674 * sunrpc/rpc/key_prot.h: Likewise.
42675 * sunrpc/rpc/netdb.h: Likewise.
42676 * sunrpc/rpc/pmap_clnt.h: Likewise.
42677 * sunrpc/rpc/pmap_prot.h: Likewise.
42678 * sunrpc/rpc/pmap_rmt.h: Likewise.
42679 * sunrpc/rpc/rpc.h: Likewise.
42680 * sunrpc/rpc/rpc_des.h: Likewise.
42681 * sunrpc/rpc/rpc_msg.h: Likewise.
42682 * sunrpc/rpc/svc.h: Likewise.
42683 * sunrpc/rpc/svc_auth.h: Likewise.
42684 * sunrpc/rpc/types.h: Likewise.
42685 * sunrpc/rpc/xdr.h: Likewise.
42686 * sunrpc/rpc_clntout.c: Likewise.
42687 * sunrpc/rpc_cmsg.c: Likewise.
42688 * sunrpc/rpc_common.c: Likewise.
42689 * sunrpc/rpc_cout.c: Likewise.
42690 * sunrpc/rpc_dtable.c: Likewise.
42691 * sunrpc/rpc_hout.c: Likewise.
42692 * sunrpc/rpc_main.c: Likewise.
42693 * sunrpc/rpc_parse.c: Likewise.
42694 * sunrpc/rpc_parse.h: Likewise.
42695 * sunrpc/rpc_prot.c: Likewise.
42696 * sunrpc/rpc_sample.c: Likewise.
42697 * sunrpc/rpc_scan.c: Likewise.
42698 * sunrpc/rpc_scan.h: Likewise.
42699 * sunrpc/rpc_svcout.c: Likewise.
42700 * sunrpc/rpc_tblout.c: Likewise.
42701 * sunrpc/rpc_util.c: Likewise.
42702 * sunrpc/rpc_util.h: Likewise.
42703 * sunrpc/rpcinfo.c: Likewise.
42704 * sunrpc/rpcsvc/bootparam_prot.x: Likewise.
42705 * sunrpc/rpcsvc/key_prot.x: Likewise.
42706 * sunrpc/rpcsvc/klm_prot.x: Likewise.
42707 * sunrpc/rpcsvc/mount.x: Likewise.
42708 * sunrpc/rpcsvc/nfs_prot.x: Likewise.
42709 * sunrpc/rpcsvc/nlm_prot.x: Likewise.
42710 * sunrpc/rpcsvc/rex.x: Likewise.
42711 * sunrpc/rpcsvc/rstat.x: Likewise.
42712 * sunrpc/rpcsvc/rusers.x: Likewise.
42713 * sunrpc/rpcsvc/sm_inter.x: Likewise.
42714 * sunrpc/rpcsvc/spray.x: Likewise.
42715 * sunrpc/rpcsvc/yppasswd.x: Likewise.
42716 * sunrpc/rtime.c: Likewise.
42717 * sunrpc/svc.c: Likewise.
42718 * sunrpc/svc_auth.c: Likewise.
42719 * sunrpc/svc_authux.c: Likewise.
42720 * sunrpc/svc_raw.c: Likewise.
42721 * sunrpc/svc_run.c: Likewise.
42722 * sunrpc/svc_simple.c: Likewise.
42723 * sunrpc/svc_tcp.c: Likewise.
42724 * sunrpc/svc_udp.c: Likewise.
42725 * sunrpc/svc_unix.c: Likewise.
42726 * sunrpc/svcauth_des.c: Likewise.
42727 * sunrpc/xcrypt.c: Likewise.
42728 * sunrpc/xdr.c: Likewise.
42729 * sunrpc/xdr_array.c: Likewise.
42730 * sunrpc/xdr_float.c: Likewise.
42731 * sunrpc/xdr_mem.c: Likewise.
42732 * sunrpc/xdr_rec.c: Likewise.
42733 * sunrpc/xdr_ref.c: Likewise.
42734 * sunrpc/xdr_sizeof.c: Likewise.
42735 * sunrpc/xdr_stdio.c: Likewise.
42737 * sysdeps/x86_64/multiarch/strcmp.S: Fix two typos in strncasecmp
42740 2010-08-19 Andreas Schwab <schwab@redhat.com>
42742 * sysdeps/i386/i686/multiarch/strspn.S [!SHARED]: Fix SSE4.2 check.
42744 2010-08-19 Luis Machado <luisgpm@br.ibm.com>
42746 * sysdeps/powerpc/powerpc32/power7/memchr.S: New file.
42747 * sysdeps/powerpc/powerpc32/power7/memrchr.S: New file.
42748 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: New file.
42749 * sysdeps/powerpc/powerpc32/power7/strchr.S: New file.
42750 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: New file.
42751 * sysdeps/powerpc/powerpc32/power7/strlen.S: New file.
42752 * sysdeps/powerpc/powerpc32/power7/strnlen.S: New file.
42753 * sysdeps/powerpc/powerpc64/power7/memchr.S: New file.
42754 * sysdeps/powerpc/powerpc64/power7/memrchr.S: New file.
42755 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: New file.
42756 * sysdeps/powerpc/powerpc64/power7/strchr.S: New file.
42757 * sysdeps/powerpc/powerpc64/power7/strchrnul.S: New file.
42758 * sysdeps/powerpc/powerpc64/power7/strlen.S: New file.
42759 * sysdeps/powerpc/powerpc64/power7/strnlen.S: New file.
42761 2010-07-26 Anton Blanchard <anton@samba.org>
42763 * malloc/malloc.c (sYSTRIm): Replace divide and multiply with mask.
42764 * malloc/arena.c (heap_trim): Likewise.
42766 2010-08-16 Ulrich Drepper <drepper@redhat.com>
42768 * sysdeps/unix/sysv/linux/syscalls.list: Add entry for fanotify_init
42770 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ...here...
42771 * sysdeps/unix/sysv/linux/i386/syscalls.list: ... orhere.
42773 2010-08-12 H.J. Lu <hongjiu.lu@intel.com>
42775 * sysdeps/i386/elf/Makefile: New file.
42777 2010-08-14 Andreas Schwab <schwab@linux-m68k.org>
42779 * sysdeps/unix/sysv/linux/sys/fanotify.h: Remove third argument
42780 from fanotify_init.
42781 * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
42782 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
42784 2010-08-15 Ulrich Drepper <drepper@redhat.com>
42786 * sysdeps/x86_64/strcmp.S: Use correct register for fourth parameter
42788 * sysdeps/multiarch/strcmp.S: Likewise.
42790 2010-08-14 Ulrich Drepper <drepper@redhat.com>
42792 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
42793 strncase_l-nonascii.
42794 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
42795 Add strncase_l-ssse3.
42796 * sysdeps/x86_64/multiarch/strcmp.S: Prepare for use as strncasecmp.
42797 * sysdeps/x86_64/strcmp.S: Likewise.
42798 * sysdeps/x86_64/multiarch/strncase_l-ssse3.S: New file.
42799 * sysdeps/x86_64/multiarch/strncase_l.S: New file.
42800 * sysdeps/x86_64/strncase.S: New file.
42801 * sysdeps/x86_64/strncase_l-nonascii.c: New file.
42802 * sysdeps/x86_64/strncase_l.S: New file.
42803 * string/Makefile (strop-tests): Add strncasecmp.
42804 * string/test-strncasecmp.c: New file.
42806 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Add prototype to avoid
42809 * sysdeps/x86_64/strcmp.S: Move definition of NO_NOLOCALE_ALIAS to...
42810 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: ... here.
42812 2010-08-14 Andreas Schwab <schwab@linux-m68k.org>
42814 * sysdeps/unix/sysv/linux/prlimit.c: Make it compile.
42816 2010-08-12 Ulrich Drepper <drepper@redhat.com>
42818 * sysdeps/unix/sysv/linux/bits/termios.h: Define EXTPROC.
42819 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
42820 * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
42822 2010-05-01 Alan Modra <amodra@gmail.com>
42824 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Correct cfi for r24.
42825 * sysdeps/powerpc/powerpc64/bsd-_setjmp.S: Move contents..
42826 * sysdeps/powerpc/powerpc64/bsd-setjmp.S: ..and these too..
42827 * sysdeps/powerpc/powerpc64/setjmp.S: ..to here..
42828 * sysdeps/powerpc/powerpc64/setjmp-common.S: ..and here, with some
42829 tidying. Don't tail-call __sigjmp_save for static lib.
42830 * sysdeps/powerpc/powerpc64/sysdep.h (SAVE_ARG, REST_ARG): Correct
42832 (CFI_SAVE_ARG, CFI_REST_ARG): New macros.
42833 (CALL_MCOUNT): Add eh info, and nop after bl.
42834 (TAIL_CALL_SYSCALL_ERROR): New macro.
42835 (PSEUDO_RET): Use it.
42836 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
42837 Correct save location of integer regs and cr.
42838 (_dl_profile_resolve): Correct cr save location. Delete nops
42839 after bl when SHARED. Reduce cfi size a little by better
42840 placement of cfi directives.
42841 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S (__copysign): Don't
42842 make a stack frame. Instead use parm save area as a temp.
42843 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Don't
42844 make a stack frame. Use TAIL_CALL_SYSCALL_ERROR.
42845 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
42846 Don't make a stack frame for parent, use parm save area.
42847 Increase child stack frame to 112 bytes. Don't save unused reg,
42848 and adjust reg usage. Set up cfi on error recovery and
42849 epilogue of parent, and use TAIL_CALL_SYSCALL_ERROR, PSEUDO_RET.
42850 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
42851 (__makecontext): Add dummy nop after jump to exit.
42852 * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (__socket):
42853 Use correct parm save area and cr save, reduce stack frame.
42854 Correct cfi for possible PSEUDO_RET frame setup.
42855 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork):
42856 Branch to local label emitted by PSEUDO_RET rather than
42859 2010-08-12 Andreas Schwab <schwab@redhat.com>
42862 * locale/programs/locale.c (print_assignment): New function.
42863 (show_locale_vars): Use it.
42865 2010-08-11 Ulrich Drepper <drepper@redhat.com>
42867 * sysdeps/unix/sysv/linux/bits/statfs.h (struct statfs): Add f_flags
42869 (struct statfs64): Likewise.
42870 (_STATFS_F_FLAGS): Define.
42871 * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Likewise.
42872 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
42873 Don't define if __ASSUME_STATFS_F_FLAGS is defined.
42874 (ST_VALID): Define locally.
42875 (INTERNAL_STATVFS): If f_flags has ST_VALID set don't call
42876 __statvfs_getflags, use the provided value.
42877 * sysdeps/unix/sysv/linux/kernel-features.h: Define
42878 __ASSUME_STATFS_F_FLAGS.
42880 * sysdeps/unix/sysv/linux/sys/inotify.h (IN_EXCL_UNLINK): Define.
42882 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_headers):
42883 Add sys/fanotify.h.
42884 * sysdeps/unix/sysv/linux/Versions [libc]: Export fanotify_init and
42885 fanotify_mask for GLIBC_2.13.
42886 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entries for
42887 fanotify_init and fanotify_mark.
42888 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
42889 * sysdeps/unix/sysv/linux/sys/fanotify.h: New file.
42891 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_routines):
42893 * sysdeps/unix/sysv/linux/Versions [libc]: Export prlimit and
42894 prlimit64 for GLIBC_2.13.
42895 * sysdeps/unix/sysv/linux/bits/resource.h: Declare prlimit and
42897 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entry for prlimit64
42899 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
42900 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
42901 * sysdeps/unix/sysv/linux/sh/syscalls.list: Likewise.
42902 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.lis: Likewise.
42903 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise. Also
42905 * sysdeps/unix/sysv/linux/prlimit.c: New file.
42908 * sysdeps/generic/netinet/ip.h (IPTOS_CLASS): Fix definition.
42909 Patch by Evgeni Bikov <bikovevg@iitp.ru>.
42911 * nss/Makefile: Add rules to build and run tst-nss-test1.
42912 * shlib-versions: Add entry for libnss_test1.
42913 * nss/nss_test1.c: New file.
42914 * nss/tst-nss-test1.c: New file.
42916 * nss/nsswitch.c (__nss_database_custom): Define new variable.
42917 (__nss_configure_lookup): Set appropriate entry in
42918 __nss_configure_lookup to true.
42919 * nss/nsswitch.h: Define enum with indeces of databases in
42920 databases and __nss_database_custom arrays. Declare
42921 __nss_database_custom.
42922 * grp/initgroups.c (internal_getgrouplist): Use __nss_database_custom
42923 to avoid using nscd when custom rules are installed.
42924 * nss/getXXbyYY_r.c: Likewise.
42925 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
42927 * nss/nss_files/files-parse.c: Whitespace fixes.
42929 2010-08-09 Ulrich Drepper <drepper@redhat.com>
42932 * posix/fnmatch.c: Keep track of alloca use and fall back on malloc.
42933 * posix/fnmatch_loop.c: Likewise.
42935 2010-07-17 Andi Kleen <ak@linux.intel.com>
42937 * sysdeps/i386/i386-mcount.S (__fentry__): Define.
42938 * sysdeps/x86_64/_mcount.S (__fentry__): Define.
42939 * stdlib/Versions (__fentry__): Add for GLIBC 2.13
42940 * Versions.def [GLIBC_2.13]: Add.
42942 2010-08-06 Ulrich Drepper <drepper@redhat.com>
42944 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
42945 Also fail if tpwd after pwuid call is NULL.
42947 2010-07-31 Samuel Thibault <samuel.thibault@ens-lyon.org>
42949 * hurd/hurdselect.c (_hurd_select): Round timeout up instead of down
42950 when converting to ms.
42952 2010-06-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
42954 * sysdeps/mach/hurd/ttyname.c (ttyname): Replace MIG_BAD_ID and
42955 EOPNOTSUPP errors with ENOTTY.
42956 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Replace MIG_BAD_ID and
42957 EOPNOTSUPP errors with ENOTTY.
42959 2010-07-31 Ulrich Drepper <drepper@redhat.com>
42961 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
42962 Add strcasecmp_l-ssse3.
42963 * sysdeps/x86_64/multiarch/strcmp.S: Add support to compile for
42965 * sysdeps/x86_64/strcmp.S: Allow more flexible compiling of strcasecmp.
42966 * sysdeps/x86_64/multiarch/strcasecmp_l.S: New file.
42967 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: New file.
42969 2010-07-30 Ulrich Drepper <drepper@redhat.com>
42971 * sysdeps/x86_64/multiarch/strcmp.S: Pretty printing.
42973 * string/Makefile (strop-tests): Add strcasecmp.
42974 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
42975 strcasecmp_l-nonascii.
42976 (gen-as-const-headers): Add locale-defines.sym.
42977 * sysdeps/x86_64/strcmp.S: Add support for strcasecmp implementation.
42978 * sysdeps/x86_64/strcasecmp.S: New file.
42979 * sysdeps/x86_64/strcasecmp_l.S: New file.
42980 * sysdeps/x86_64/strcasecmp_l-nonascii.c: New file.
42981 * sysdeps/x86_64/locale-defines.sym: New file.
42982 * string/test-strcasecmp.c: New file.
42984 * string/test-strcasestr.c: Test both ends of the range of characters.
42985 * sysdeps/x86_64/multiarch/strstr.c: Fix UCHIGH definition.
42987 2010-07-29 Roland McGrath <roland@redhat.com>
42990 * manual/locale.texi (Yes-or-No Questions): Fix example code.
42992 2010-07-27 Ulrich Drepper <drepper@redhat.com>
42994 * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Avoid compiling the file
42997 2010-07-27 Andreas Schwab <schwab@redhat.com>
42999 * manual/memory.texi (Malloc Tunable Parameters): Document
43002 2010-07-26 Roland McGrath <roland@redhat.com>
43005 * configure.in (-fgnu89-inline check): Set and substitute
43006 gnu89_inline, not libc_cv_gnu89_inline.
43007 * configure: Regenerated.
43008 * config.make.in (gnu89-inline-CFLAGS): Use @gnu89_inline@.
43010 2010-07-26 Ulrich Drepper <drepper@redhat.com>
43012 * string/test-strnlen.c: New file.
43013 * string/Makefile (strop-tests): Add strnlen.
43014 * string/tester.c (test_strnlen): Add a few more test cases.
43015 * string/tst-strlen.c: Better error reporting.
43017 * sysdeps/x86_64/strnlen.S: New file.
43019 2010-07-24 Ulrich Drepper <drepper@redhat.com>
43021 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Use
43022 lower-latency instructions.
43024 2010-07-23 Ulrich Drepper <drepper@redhat.com>
43026 * string/test-strcasestr.c: New file.
43027 * string/test-strstr.c: New file.
43028 * string/Makefile (strop-tests): Add strstr and strcasestr.
43029 * string/str-two-way.h: Don't undefine MAX.
43030 * string/strcasestr.c: Don't define alias if NO_ALIAS is defined.
43032 2010-07-21 Andreas Schwab <schwab@redhat.com>
43034 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
43035 strcasestr-nonascii.
43036 (CFLAGS-strcasestr-nonascii.c): Define.
43037 * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: New file.
43038 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c (STRSTR_SSE42):
43039 Remove unused attribute.
43041 2010-07-20 Roland McGrath <roland@redhat.com>
43043 * elf/dl-sysdep.c (_dl_important_hwcaps): Add dsocaps mask to
43044 dl_hwcap_mask as well as dl_hwcap. Without this, dsocaps matching in
43045 ld.so.cache was broken. With it, there is no way to disable dsocaps
43046 like LD_HWCAP_MASK can disable hwcaps.
43048 2010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
43050 * sysdeps/mach/hurd/sendmsg.c (__libc_sendmsg): Fix memory leaks.
43052 2010-07-16 Ulrich Drepper <drepper@redhat.com>
43054 * sysdeps/x86_64/multiarch/strstr.c: Rewrite to avoid indirect function
43055 call in strcasestr.
43056 * sysdeps/x86_64/multiarch/strcasestr.c: Declare
43057 __strcasestr_sse42_nonascii.
43058 * sysdeps/x86_64/multiarch/Makefile: Add rules to build
43059 strcasestr-nonascii.c.
43060 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: New file.
43062 2010-06-15 Luis Machado <luisgpm@br.ibm.com>
43064 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: New file.
43065 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysignf.S: New file.
43066 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: New file.
43067 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysignf.S: New file.
43069 2010-07-09 Ulrich Drepper <drepper@redhat.com>
43071 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Use __fcntl not
43074 2010-07-06 Andreas Schwab <schwab@redhat.com>
43077 * elf/dl-version.c (match_symbol): Don't pass NULL occation to
43080 2010-07-06 Ulrich Drepper <drepper@redhat.com>
43082 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Implement
43083 _PC_PIPE_BUF using F_GETPIPE_SZ.
43085 2010-07-05 Roland McGrath <roland@redhat.com>
43087 * manual/arith.texi (Rounding Functions): Fix rint description
43088 implicit in round description.
43090 2010-07-02 Ulrich Drepper <drepper@redhat.com>
43092 * elf/Makefile: Fix linking for a few tests to make recent linker
43095 2010-06-30 Andreas Schwab <schwab@redhat.com>
43097 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
43098 $(common-objpfx)libc_nonshared.a.
43100 2010-06-21 Luis Machado <luisgpm@br.ibm.com>
43102 * sysdeps/powerpc/powerpc32/970/fpu/Implies: Remove.
43103 * sysdeps/powerpc/powerpc32/power5/fpu/Implies: Remove.
43104 * sysdeps/powerpc/powerpc32/power5+/fpu/Implies: Remove.
43105 * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: Remove.
43106 * sysdeps/powerpc/powerpc64/970/fpu/Implies: Remove.
43107 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Remove.
43108 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove.
43109 * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: Remove.
43110 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/fpu/Implies: Remove.
43111 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/fpu/Implies: Remove.
43112 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/fpu/Implies: Remove.
43113 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/fpu/Implies: Remove.
43114 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/fpu/Implies: Remove.
43115 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/fpu/Implies: Remove.
43116 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/fpu/Implies: Remove.
43117 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/fpu/Implies: Remove.
43118 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/fpu/Implies: Remove.
43119 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/fpu/Implies: Remove.
43120 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/fpu/Implies: Remove.
43121 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/fpu/Implies: Remove.
43122 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/fpu/Implies: Remove.
43123 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/fpu/Implies: Remove.
43124 * sysdeps/powerpc/powerpc32/970/Implies: Point to power4.
43125 * sysdeps/powerpc/powerpc32/power5/Implies: Point to power4.
43126 * sysdeps/powerpc/powerpc32/power5+/Implies: Point to power5.
43127 * sysdeps/powerpc/powerpc32/power6/Implies: Point to power5+.
43128 * sysdeps/powerpc/powerpc32/power6x/Implies: Point to power6.
43129 * sysdeps/powerpc/powerpc64/970/Implies: Point to power4.
43130 * sysdeps/powerpc/powerpc64/power5/Implies: Point to power4.
43131 * sysdeps/powerpc/powerpc64/power5+/Implies: Point to power5.
43132 * sysdeps/powerpc/powerpc64/power6/Implies: Point to power5+.
43133 * sysdeps/powerpc/powerpc64/power6x/Implies: Point to power6.
43134 * sysdeps/powerpc/powerpc32/power7/Implies: New file.
43135 * sysdeps/powerpc/powerpc64/power7/Implies: New file.
43136 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/Implies: New file.
43137 * sysdeps/unix/sysv/linux/powerpc/powerpc32/cell/Implies: New file.
43138 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: New file.
43139 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: New file.
43140 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: New file.
43141 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: New file.
43142 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: New file.
43143 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/Implies: New file.
43144 * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/Implies: New file.
43145 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: New file.
43146 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: New file.
43147 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: New file.
43148 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: New file.
43149 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: New file.
43151 2010-06-25 H.J. Lu <hongjiu.lu@intel.com>
43153 * debug/memmove_chk.c (__memmove_chk): Renamed to ...
43154 (MEMMOVE_CHK): ...this. Default to __memmove_chk.
43155 * string/memmove.c (memmove): Renamed to ...
43156 (MEMMOVE): ...this. Default to memmove.
43157 * sysdeps/x86_64/memcpy.S: Use ENTRY_CHK and END_CHK.
43158 * sysdeps/x86_64/sysdep.h (ENTRY_CHK): Define.
43160 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
43161 memcpy-ssse3 mempcpy-ssse3 memmove-ssse3 memcpy-ssse3-back
43162 mempcpy-ssse3-back memmove-ssse3-back.
43163 * sysdeps/x86_64/multiarch/bcopy.S: New file .
43164 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: New file.
43165 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: New file.
43166 * sysdeps/x86_64/multiarch/memcpy.S: New file.
43167 * sysdeps/x86_64/multiarch/memcpy_chk.S: New file.
43168 * sysdeps/x86_64/multiarch/memmove-ssse3-back.S: New file.
43169 * sysdeps/x86_64/multiarch/memmove-ssse3.S: New file.
43170 * sysdeps/x86_64/multiarch/memmove.c: New file.
43171 * sysdeps/x86_64/multiarch/memmove_chk.c: New file.
43172 * sysdeps/x86_64/multiarch/mempcpy-ssse3-back.S: New file.
43173 * sysdeps/x86_64/multiarch/mempcpy-ssse3.S: New file.
43174 * sysdeps/x86_64/multiarch/mempcpy.S: New file.
43175 * sysdeps/x86_64/multiarch/mempcpy_chk.S: New file.
43176 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Copy_Backward):
43178 (index_Fast_Copy_Backward): Define.
43179 (HAS_ARCH_FEATURE): Define.
43180 (HAS_FAST_REP_STRING): Define.
43181 (HAS_FAST_COPY_BACKWARD): Define.
43183 2010-06-21 Andreas Schwab <schwab@redhat.com>
43185 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
43186 Restore proper fallback handling.
43188 2010-06-19 Ulrich Drepper <drepper@redhat.com>
43191 * posix/group_member.c (__group_member): Correct checking loop.
43193 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid): Handle
43194 OOM in getpwuid_r correctly. Return error number when the caller
43195 should return, otherwise -1.
43196 (getlogin_r): Adjust to return also for result of __getlogin_r_loginuid
43197 call returning > 0 value.
43198 * sysdeps/unix/sysv/linux/getlogin.c (getlogin): Likewise.
43200 2010-06-07 Andreas Schwab <schwab@redhat.com>
43202 * dlfcn/Makefile: Remove explicit dependencies on libc.so and
43203 libc_nonshared.a from targets in modules-names.
43205 2010-06-02 Kirill A. Shutemov <kirill@shutemov.name>
43207 * elf/dl-reloc.c: Flush cache after solving TEXTRELs if arch
43210 2010-06-10 Luis Machado <luisgpm@br.ibm.com>
43212 * sysdeps/powerpc/powerpc32/power7/memcmp.S: New file
43213 * sysdeps/powerpc/powerpc64/power7/memcmp.S: New file.
43214 * sysdeps/powerpc/powerpc32/power7/strncmp.S: New file.
43215 * sysdeps/powerpc/powerpc64/power7/strncmp.S: New file.
43217 2010-06-02 Andreas Schwab <schwab@redhat.com>
43219 * nis/nss_nis/nis-initgroups.c (get_uid): Properly resize buffer.
43221 2010-06-14 Ulrich Drepper <drepper@redhat.com>
43223 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Define F_SETPIPE_SZ
43225 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
43226 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
43227 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
43228 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
43229 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
43230 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise
43232 2010-06-14 Roland McGrath <roland@redhat.com>
43234 * manual/libc.texinfo (@copying): Change to GFDL v1.3.
43236 2010-06-07 Jakub Jelinek <jakub@redhat.com>
43238 * libio/stdio.h (sscanf, vsscanf): Use __REDIRECT_NTH instead of
43239 __REDIRECT followed by __THROW.
43240 * wcsmbs/wchar.h (swscanf, vswscanf): Likewise.
43241 * posix/getopt.h (getopt): Likewise.
43243 2010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
43245 * hurd/lookup-at.c (__file_name_lookup_at): Accept
43246 AT_SYMLINK_FOLLOW in AT_FLAGS. Fail with EINVAL if both
43247 AT_SYMLINK_FOLLOW and AT_SYMLINK_NOFOLLOW are present
43249 * hurd/hurd/fd.h (__file_name_lookup_at): Update comment.
43250 * sysdeps/mach/hurd/linkat.c (linkat): Pass O_NOLINK in FLAGS.
43252 2010-05-28 Luis Machado <luisgpm@br.ibm.com>
43254 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Exchange srdi for srwi.
43256 2010-05-26 H.J. Lu <hongjiu.lu@intel.com>
43259 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
43260 Properly check family and model.
43262 2010-05-26 Takashi Yoshii <takashi.yoshii.zj@renesas.com>
43264 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Fix iov[] size.
43266 2010-05-24 Luis Machado <luisgpm@br.ibm.com>
43268 * sysdeps/powerpc/powerpc32/power7/memset.S: POWER7 32-bit memset fix.
43270 2010-05-21 Ulrich Drepper <drepper@redhat.com>
43272 * elf/dl-runtime.c (_dl_profile_fixup): Don't crash on unresolved weak
43275 2010-05-19 Andreas Schwab <schwab@redhat.com>
43277 * elf/dl-runtime.c (_dl_fixup): Don't crash on unresolved weak
43280 2010-05-21 Andreas Schwab <schwab@redhat.com>
43282 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add recvmmsg
43283 and internal_recvmmsg.
43284 * sysdeps/unix/sysv/linux/recvmmsg.c: New file.
43285 * sysdeps/unix/sysv/linux/internal_recvmmsg.S: New file.
43286 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_recvmmsg): Define.
43287 * sysdeps/unix/sysv/linux/syscalls.list (recvmmsg): Remove.
43289 * sunrpc/clnt_tcp.c (clnttcp_control): Add missing break.
43290 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
43291 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
43293 2010-05-20 Andreas Schwab <schwab@redhat.com>
43295 * sysdeps/unix/sysv/linux/sys/timex.h: Use __REDIRECT_NTH.
43297 2010-05-17 Luis Machado <luisgpm@br.ibm.com>
43299 POWER7 optimizations.
43300 * sysdeps/powerpc/powerpc64/power7/memset.S: New file.
43301 * sysdeps/powerpc/powerpc32/power7/memset.S: New file.
43303 2010-05-19 Ulrich Drepper <drepper@redhat.com>
43305 * version.h: Update for 2.13 development version.
43307 2010-05-12 Andrew Stubbs <ams@codesourcery.com>
43309 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Really disable all
43310 exceptions. Return 0.
43312 2010-05-07 Roland McGrath <roland@redhat.com>
43314 * elf/ldconfig.c (main): Add a const.
43316 2010-05-06 Ulrich Drepper <drepper@redhat.com>
43318 * nss/getent.c (idn_flags): Default to AI_IDN|AI_CANONIDN.
43319 (args_options): Add no-idn option.
43320 (ahosts_keys_int): Add idn_flags to ai_flags.
43321 (parse_option): Handle 'i' option to clear idn_flags.
43323 * malloc/malloc.c (_int_free): Possible race in the most recently
43324 added check. Only act on the data if no current modification
43327 See ChangeLog.17 for earlier changes.