1 2014-04-30 David S. Miller <davem@davemloft.net>
3 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (EMT_TAGOVF): Protect
6 2014-04-30 Julian Brown <julian@codesourcery.com>
9 * sysdeps/arm/dl-machine.h (elf_machine_rela): Fix R_ARM_IRELATIVE
12 2014-04-30 Joseph Myers <joseph@codesourcery.com>
15 * sysdeps/unix/sysv/linux/configure.ac (LIBC_LINUX_VERSION):
17 (arch_minimum_kernel): Change all 2.6.16 settings to 2.6.32.
18 * sysdeps/unix/sysv/linux/configure: Regenerated.
19 * sysdeps/unix/sysv/linux/microblaze/configure.ac: Remove file.
20 * sysdeps/unix/sysv/linux/microblaze/configure: Likewise.
21 * sysdeps/unix/sysv/linux/tile/configure.ac: Likewise.
22 * sysdeps/unix/sysv/linux/tile/configure: Likewise.
23 * README: Update reference to required Linux kernel version.
24 * manual/install.texi (Linux): Update reference to required Linux
25 kernel headers version.
26 * INSTALL: Regenerated.
28 * conform/data/stdlib.h-data [POSIX] (stddef.h): Do not allow
30 [POSIX] (limits.h): Likewise.
31 [POSIX] (math.h): Likewise.
32 [POSIX] (sys/wait.h): Likewise.
33 * conform/data/string.h-data [POSIX || UNIX98] (strtok_r): Require
35 [POSIX] (stddef.h): Do not allow header inclusion.
37 2014-04-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
39 * sysdeps/generic/symbol-hacks.h (memcpy): Add internal alias.
41 2014-04-30 Yang Yingliang <yangyingliang@huawei.com>
43 * nptl/pthread_cond_broadcast.c (__pthread_cond_broadcast):
44 Return immediately after lll_futex_wake.
46 2014-04-30 Siddhesh Poyarekar <siddhesh@redhat.com>
49 * nscd/nscd-client.h (datahead_init_common): Initialize entire
51 (datahead_init_pos): Call datahead_init_common early.
52 (datahead_init_neg): Likewise.
54 * nscd/nscd-client.h (datahead_init_common, datahead_init_pos,
55 datahead_init_neg): New functions.
56 * nscd/aicache.c (addhstaiX): Use them.
57 * nscd/grpcache.c (cache_addgr): Likewise.
58 * nscd/hstcache.c (cache_addhst): Likewise.
59 * nscd/initgrcache.c (addinitgroupsX): Likewise.
60 * nscd/netgroupcache.c (do_notfound): Likewise.
61 (addgetnetgrentX): Likewise.
62 (addinnetgrX): Likewise.
63 * nscd/pwdcache.c (cache_addpw): Likewise.
64 * nscd/servicescache.c (cache_addserv): Likewise.
66 2014-04-30 Siddhesh Poyarekar <siddhesh@redhat.com>
67 Atsushi Onoe <atsushi@onoe.org>
72 * resolv/res_query.c (__libc_res_nsearch): Return if at least
73 one response is valid.
74 * resolv/res_send.c (send_dg): Check for validity of other
75 response if the current response is a referral.
77 2014-04-29 Steve Ellcey <sellcey@mips.com>
79 * iconv/skeleton.c (ONE_DIRECTION): Set default value if not set.
81 2014-04-29 Stefan Liebler <stli@linux.vnet.ibm.com>
84 * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl):
85 Always divide by positive zero when computing -Inf result.
86 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Likewise.
87 * sysdeps/ieee754/flt-32/s_log1pf.c (__log1pf): Likewise.
89 2014-04-28 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
91 * sysdeps/powerpc/fpu/fclrexcpt.c (__feclearexcept): Do not update
92 FPSCR if value do not change.
93 * sysdeps/powerpc/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
94 * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Likewise.
95 * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Likewise.
96 * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Likewise.
97 * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Likewise.
98 * sysdeps/powerpc/fpu/fenv_libc.h (fenv_reg_to_exceptions): New helper
101 2014-05-29 Carlos O'Donell <carlos@systemhalted.org>
103 * sysdeps/hppa: Move directory from ports/sysdeps/hppa.
104 * sysdeps/unix/sysv/linux/hppa: Move directory from
105 ports/systeps/unix/sysv/linux/hppa.
106 * README: Update listing for hppa-*-linux-gnu.
108 2014-04-28 Ondřej Bílka <neleai@seznam.cz>
111 * manual/stdio.texi (Hook functions): Fix types of stream hook
114 * socket/sys/socket.h: Fix typo in comment.
116 2014-04-28 Wilco <wdijkstr@arm.com>
118 * sysdeps/arm/fenv_private.h: New file.
119 * sysdeps/arm/math_private.h: New file.
120 * sysdeps/arm/fpu_control.h: Add _FPU_MASK_NCZV and _FPU_MASK_EXCEPT.
122 2014-04-25 H.J. Lu <hongjiu.lu@intel.com>
124 * sysdeps/x86/bits/link.h (La_x86_64_regs): Replace __int128
126 (La_x86_64_retval): Likewise.
128 2014-04-24 Ian Bolton <ian.bolton@arm.com>
130 * sysdeps/aarch64/fpu/fclrexcpt.c (feclearexcept): Don't write to
131 fpsr if value didn't change.
132 * sysdeps/aarch64/fpu/fedisblxcpt.c (fedisableexcept): Don't write
133 to fpcr if value didn't change.
134 * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept): Likewise.
135 * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept): Don't write to
136 fpsr or fpcr if value didn't change.
137 * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Likewise.
138 * sysdeps/aarch64/fpu/fesetround.c (fesetround): Don't write to
139 fpcr if value didn't change.
140 * sysdeps/aarch64/fpu/fsetexcptflg.c (fesetexceptflag): Don't write
141 to fpsr if value didn't change.
143 2014-02-23 Siddhesh Poyarekar <siddhesh@redhat.com>
145 * nptl/tst-sem3.c: Use test-skeleton.c
146 (main): Rename to do_test. Use return instead of
148 * nptl/tst-sem4.c: Use test-skeleton.c
149 (main): Rename to do_test.
151 2014-04-22 David S. Miller <davem@davemloft.net>
153 * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h
154 (struct sigaction): New struct member __glibc_reserved0, change
155 type of sa_flags to int.
157 2014-04-22 Yufeng Zhang <yufeng.zhang@arm.com>
159 * stdlib/longlong.h (count_leading_zeros, count_trailing_zeros)
160 (COUNT_LEADING_ZEROS_0): Define for AArch64.
162 2014-04-22 Siddhesh Poyarekar <siddhesh@redhat.com>
164 * nptl/sysdeps/unix/sysv/linux/sem_trywait.c: Include atomic.h.
165 * nptl/sysdeps/unix/sysv/linux/sem_wait.c: Likewise.
167 2014-04-22 Will Newton <will.newton@linaro.org>
168 Venkataramanan Kumar <venkataramanan.kumar@linaro.org>
170 * sysdeps/aarch64/__longjmp.S: Include stap-probe.h.
171 (__longjmp): Add longjmp and longjmp_target SystemTap
173 * sysdeps/aarch64/setjmp.S: Include stap-probe.h.
174 (__sigsetjmp): Add setjmp SystemTap probe.
176 2014-04-17 Carlos O'Donell <carlos@redhat.com>
178 * manual/intro.texi (Roadmap to the manual): Sort chapter listing to
181 2014-04-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
183 * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_once.c: Remove file.
185 * sysdeps/powerpc/fpu/fenv_private.h
186 (libc_feholdexcept_setroundl_ctx): Define to
187 libc_feholdexcept_setround_ppc_ctx.
188 (libc_fesetenvl_ctx): Define to libc_fesetenv_ppc_ctx.
189 (libc_feholdsetroundl_ctx): Define to libc_feholdsetround_ppc_ctx.
190 (libc_feresetroundl_ctx): Define to libc_feresetround_ppc_ctx.
191 (libc_feupdateenvl_ctx): libc_feupdateenv_ppc_ctx.
193 2014-04-17 Ian Bolton <ian.bolton@arm.com>
195 * sysdeps/aarch64/math-tests.h: New file.
197 2014-04-17 Sihai Yao <sihai.ysh@alibaba-inc.com>
199 * sysdeps/x86_64/multiarch/ifunc-defines.sym (COMMON_CPUID_INDEX_7):
201 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
202 Check and set bit_AVX2_Usable.
203 * sysdeps/x86_64/multiarch/init-arch.h (bit_AVX2_Usable): New
205 (bit_AVX2): Likewise.
206 (index_AVX2_Usable): Likewise.
207 (CPUID_AVX2): Likewise.
208 (HAS_AVX2): Likewise.
210 2014-04-17 Will Newton <will.newton@linaro.org>
212 * manual/setjmp.texi (System V contexts): Add note that
213 calling setcontext on a context created by a call to a
214 signal handler is undefined. Update text to note that
215 setcontext from a signal handler is possible but not
219 * stdlib/tst-setcontext.c: Include signal.h.
220 (main): Check that the signal stack before and
221 after swapcontext is the same.
223 * sysdeps/unix/sysv/linux/aarch64/setcontext.S (__setcontext):
224 Re-implement to restore registers in user code and avoid
225 rt_sigreturn system call.
227 2014-04-17 Wilco <wdijkstr@arm.com>
229 * sysdeps/arm/math-tests.h: New file: Set ARM math-test settings.
230 * sysdeps/generic/math-tests.h: Add macro (EXCEPTION_ENABLE_SUPPORTED).
231 * math/test-fenv.c: Skip exception trap tests on targets which only
232 support non-stop mode.
234 2014-04-17 Ian Bolton <ian.bolton@arm.com>
235 Wilco Dijkstra <wilco.dijkstra@arm.com>
237 * sysdeps/aarch64/fpu/math_private.h (HAVE_RM_CTX)
238 (libc_feholdsetround_aarch64_ctx)
239 (libc_feholdsetround_ctx, libc_feholdsetroundf_ctx)
240 (libc_feholdsetroundl_ctx, libc_feresetround_aarch64_ctx)
241 (libc_feresetround_ctx, libc_feresetroundf_ctx)
242 (libc_feresetroundl_ctx, libc_feresetround_noex_aarch64_ctx)
243 (libc_feresetround_noex_ctx, libc_feresetround_noexf_ctx)
244 (libc_feresetround_noexl_ctx): Define.
246 2014-04-16 Richard Henderson <rth@redhat.com>
248 * sysdeps/unix/sysv/linux/alpha/nptl/pthread_once.c: Remove.
250 * sysdeps/alpha/Makefile [debug] (CFLAGS-backtrace.c): Enable
253 * sysdeps/unix/alpha/sysdep.h (__pointer_chk_guard): Remove
254 const from the non-libc, non-ldso copy.
256 * sysdeps/alpha/libm-test-ulps: Regenerate.
258 2014-04-16 Ian Bolton <ian.bolton@arm.com>
259 Wilco Dijkstra <wilco.dijkstra@arm.com>
261 * sysdeps/aarch64/fpu/math_private.h: New file.
263 2014-04-16 Marcus Shawcroft <marcus.shawcroft@arm.com>
265 * sysdeps/aarch64/libm-test-ulps: Regenerate.
267 2014-04-16 Igor Zamyatin <igor.zamyatin@intel.com>
269 * sysdeps/x86_64/bits/link.h (La_x86_64_regs): Add lr_bnd.
270 (La_x86_64_retval): Add lrv_bnd0 and lrv_bnd1.
271 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Save
272 Intel MPX bound registers before _dl_profile_fixup.
273 * sysdeps/x86_64/dl-trampoline.h: Restore Intel MPX bound
274 registers after _dl_profile_fixup. Save and restore bound
275 registers bnd0/bnd1 when calling _dl_call_pltexit.
276 * sysdeps/x86_64/link-defines.sym (BND_SIZE): New.
277 (LR_BND_OFFSET): Likewise.
278 (LRV_BND0_OFFSET): Likewise.
279 (LRV_BND1_OFFSET): Likewise.
281 2014-04-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
283 * sysdeps/mach/hurd/tls.h (dtv, dtv_t, tcbhead_t): Move declarations
285 * sysdeps/mach/hurd/i386/tls.h: ... here.
286 (tcbhead_t): Add multiple_threads, sysinfo, stack_guard,
287 pointer_guard, gscope_flag, private_futex, __private_tm, __private_ss
290 2014-04-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
292 * sysdeps/mach/munmap.c (__munmap): Return EINVAL if `addr' is 0.
294 2014-04-16 Stefan Liebler <stli@linux.vnet.ibm.com>
296 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
298 2014-04-16 Stefan Liebler <stli@linux.vnet.ibm.com>
301 * sysdeps/s390/configure.ac: Check for Binutils >= 2.24.
302 * sysdeps/s390/configure: Regenerate.
305 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l):
306 Set round-to-nearest internally to reduce error accumulation.
308 2014-04-16 Alan Modra <amodra@gmail.com>
312 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Rewrite.
313 * math/libm-test.inc (frexp_test_data): Add tests.
314 * NEWS: Update fixed bug list.
316 2014-04-15 Siddhesh Poyarekar <siddhesh@redhat.com>
318 * benchtests/Makefile: Depend on libraries in build directory.
319 (bench-math): Separate out math tests.
320 (bench-pthread): Separate out pthread tests.
321 (bench): Include math and pthread tests.
323 2014-04-14 Carlos O'Donell <carlos@redhat.com>
326 * csu/libc-start.c (LIBC_START_MAIN) [!SHARED]: Call
327 _dl_debug_initialize.
329 * configure.ac: Remove SELinux header check.
330 * configure: Regenerate.
331 * nscd/selinux.c (perms): Array of const char* to permission names.
332 (nscd_request_avc_has_perm): Call security_deny_unknown to find
333 default policy. Call string_to_security_class and string_to_av_perm to
334 translate strings. Enforce default policy and call avs_has_perm with
335 results of translated strings.
337 2014-04-13 David S. Miller <davem@davemloft.net>
339 * sysdeps/sparc/fpu/libm-test-ulps: Update.
341 2014-04-12 Allan McRae <allan@archlinux.org>
344 * manual/string.texi (Collation Functions): Fix qsort argument
346 Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
348 2014-04-11 Chris Metcalf <cmetcalf@tilera.com>
350 * math/test-fenv-preserve.c [FE_ALL_EXCEPT == 0] (do_test):
351 Make the test a no-op if there are no exceptions defined.
353 2014-04-11 Paul Pluzhnikov <ppluzhnikov@google.com>
355 * elf/Makefile (tests): make tst-dlopen-aout conditional on
356 enable-hardcoded-path-in-tests
358 2014-04-11 Will Newton <will.newton@linaro.org>
360 * benchtests/Makefile (extra-objs): Add json-lib.o.
361 (bench-func): Tidy up JSON output.
362 * benchtests/bench-skeleton.c: Include json-lib.h.
363 (main): Use JSON library functions to do output of
365 * benchtests/bench-timing-type.c (main): Output the
366 timing type simply, leaving formatting to the user.
367 * benchtests/json-lib.c: New file.
368 * benchtests/json-lib.h: Likewise.
370 2014-04-11 Torvald Riegel <triegel@redhat.com>
373 * nptl/sysdeps/unix/sysv/linux/sparc/pthread_once.c: Moved to ...
374 * nptl/sysdeps/unix/sysv/linux/pthread_once.c: ... here. Add missing
375 memory barriers. Add comments.
376 * sysdeps/unix/sysv/linux/aarch64/nptl/pthread_once.c: Remove file.
377 * sysdeps/unix/sysv/linux/arm/nptl/pthread_once.c: Remove file.
378 * sysdeps/unix/sysv/linux/ia64/nptl/pthread_once.c: Remove file.
379 * sysdeps/unix/sysv/linux/m68k/nptl/pthread_once.c: Remove file.
380 * sysdeps/unix/sysv/linux/mips/nptl/pthread_once.c: Remove file.
381 * sysdeps/unix/sysv/linux/tile/nptl/pthread_once.c: Remove file.
383 2014-04-11 Stefan Liebler <stli@linux.vnet.ibm.com>
385 * sysdeps/s390/s390-32/configure.ac: Unify file with ...
386 * sysdeps/s390/s390-64/configure.ac: ... this ...
387 * sysdeps/s390/configure.ac: ... to here.
388 * sysdeps/s390/s390-32/configure: Delete file.
389 * sysdeps/s390/s390-64/configure: Delete file.
390 * sysdeps/s390/configure: Regenerate.
392 2014-04-11 Joseph Anthony Pasquale Holsten <joseph@josephholsten.com>
394 * resolv/res_query.c (__libc_res_nsearch): Fix typo in comment.
396 2014-04-11 Will Newton <will.newton@linaro.org>
398 * malloc/malloc.c [!MALLOC_DEBUG]: #define MALLOC_DEBUG
399 to zero if it is not defined elsewhere. (mtrim): Test
400 the value of MALLOC_DEBUG with #if rather than #ifdef.
402 2014-04-10 Torvald Riegel <triegel@redhat.com>
404 * benchtests/pthread_once-inputs: New file.
405 * benchtests/pthread_once-source.c: New file.
406 * benchtests/README: Update documentation.
408 2014-04-09 Igor Zamyatin <igor.zamyatin@intel.com>
409 H.J. Lu <hongjiu.lu@intel.com>
411 * config.h.in (HAVE_MPX_SUPPORT): New #undef.
412 * sysdeps/x86_64/configure.ac: Set HAVE_MPX_SUPPORT.
413 * sysdeps/x86_64/configure: Regenerated.
414 * sysdeps/x86_64/dl-trampoline.S (REGISTER_SAVE_AREA): New
416 (REGISTER_SAVE_RAX): Likewise.
417 (REGISTER_SAVE_RCX): Likewise.
418 (REGISTER_SAVE_RDX): Likewise.
419 (REGISTER_SAVE_RSI): Likewise.
420 (REGISTER_SAVE_RDI): Likewise.
421 (REGISTER_SAVE_R8): Likewise.
422 (REGISTER_SAVE_R9): Likewise.
423 (REGISTER_SAVE_BND0): Likewise.
424 (REGISTER_SAVE_BND1): Likewise.
425 (REGISTER_SAVE_BND2): Likewise.
426 (_dl_runtime_resolve): Use them. Save and restore Intel MPX
427 bound registers when calling _dl_fixup.
429 2014-04-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
431 * bits/string.h (_STRING_ARCH_unaligned): Define it to 0.
432 * crypt/sha256.c (_STRING_ARCH_unaligned): Check its value instead
434 * iconv/gconv_simple.c (_STRING_ARCH_unaligned): Likewise.
435 * iconv/loop.c (_STRING_ARCH_unaligned): Likewise.
436 * iconv/skeleton.c (_STRING_ARCH_unaligned): Likewise.
437 * nscd/nscd_gethst_r.c (_STRING_ARCH_unaligned): Likewise.
438 * nscd/nscd_getserv_r.c (_STRING_ARCH_unaligned): Likewise.
439 * nscd/nscd_helper.c (_STRING_ARCH_unaligned): Likewise.
440 * resolv/res_send.c (_STRING_ARCH_unaligned): Likewise.
442 2014-04-09 Peter Brett <peter@peter-b.co.uk>
445 * sysdeps/posix/pathconf.c (__pathconf): Use statvfs64() for
446 pathconf(_PC_NAME_MAX).
448 2014-04-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
450 * nptl/sysdeps/pthread/pthread.h (__PTHREAD_MUTEX_HAVE_ELISION):
452 (__PTHREAD_SPINS): Move definition to ...
453 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
454 (__PTHREAD_SPINS): ... here.
455 * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
456 (__PTHREAD_SPIN): Likewise.
457 * nptl/sysdeps/unix/sysv/linux/sh/bits/pthreadtypes.h
458 (__PTHREAD_SPIN): Likewise.
459 * nptl/sysdeps/unix/sysv/linux/sparc/bits/pthreadtypes.h
460 (__PTHREAD_SPIN): Likewise.
461 * nptl/sysdeps/unix/sysv/linux/x86/bits/pthreadtypes.h
462 (__PTHREAD_SPIN): Likewise.
463 * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h
464 (__PTHREAD_SPIN): Likewise.
465 * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h
466 (__PTHREAD_SPIN): Likewise.
467 * sysdeps/unix/sysv/linux/arm/nptl/bits/pthreadtypes.h
468 (__PTHREAD_SPIN): Likewise.
469 * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h
470 (__PTHREAD_SPIN): Likewise.
471 * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h
472 (__PTHREAD_SPIN): Likewise.
473 * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h
474 (__PTHREAD_SPIN): Likewise.
475 * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h
476 (__PTHREAD_SPIN): Likewise.
477 * sysdeps/unix/sysv/linux/tile/nptl/bits/pthreadtypes.h
478 (__PTHREAD_SPIN): Likewise.
480 * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: New file.
481 * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: new file.
482 * sysdeps/powerpc/powerpc64/power6x/multiarch/Implies: New file.
483 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove multiarch
485 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Likewise.
486 * sysdeps/powerpc/powerpc64/power7/fpu/Implies: Likewise.
487 * sysdeps/powerpc/powerpc64/power8/fpu/Implies: Likewise.
488 * sysdeps/powerpc/powerpc64/power6x/fpu/multiarch/Implies: Adjust
490 * sysdeps/powerpc/powerpc64/power7/strncat.S (STRLEN): Define correct
491 strlen symbol for non multi-arch builds.
492 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (__isnan): Add
493 missing hidden_def and weak_alias.
495 2014-04-08 Carlos O'Donell <carlos@redhat.com>
497 * manual/ipc.texi (sem_close): AC-unsafe because of aculock.
499 2014-04-07 Will Newton <will.newton@linaro.org>
501 * string/basename.c [HAVE_CONFIG_H]: Remove #ifdef and
502 and contents. [!_LIBC] Remove #ifndef and contents.
503 (basename): Use ANSI prototype. [_LIBC] Remove #idef.
504 * string/memccpy.c (__memccpy): Use ANSI prototype.
505 * string/memfrob.c (memfrob): Likewise.
506 * string/strcoll.c (STRCOLL): Likewise.
507 * string/strlen.c (strlen): Likewise.
508 * string/strtok.c (STRTOK): Likewise.
509 * string/strcat.c: Remove unused #include of memcopy.h.
510 (strcat): Use ANSI prototype.
511 * string/strchr.c: Remove unused #include of memcopy.h.
512 (strchr): Use ANSI prototype.
513 * string/strcmp.c: Remove unused #include of memcopy.h.
514 (strcmp): Use ANSI prototype.
515 * string/strcpy.c: Remove unused #include of memcopy.h.
516 (strcpy): Use ANSI prototype.
518 2014-04-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
520 * Makeconfig (CPPFLAGS): Add config-extra-cppflags to list.
521 * config.make.in (config-extra-cppflags): Set it from
523 * configure.ac (libc_extra_cflags): Make it accumulate over
525 (libc_extra_cppflags): New flag.
526 * configure. Regenerate.
527 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac
528 (libc_cv_ppc64_def_call_elf): Define it to yes if compiler does
529 not set _CALL_ELF and add -D_CALL_ELF=1 to libc_extra_cppflags.
530 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Regenerate.
533 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (__nearbyint): Fix
534 result for FE_DOWNWARD rounding mode.
535 * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S (__nearbyintf):
537 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
539 2014-04-04 Chris Metcalf <cmetcalf@tilera.com>
541 * sysdeps/tile/dl-runtime.c (_dl_unmap): Fix cut-and-paste bug
542 in function argument name.
544 2014-04-03 David Svoboda <svoboda@cert.org>
547 * manual/stdio.texi (Line-Oriented Input): Document buffer allocation
550 2014-04-03 Roland McGrath <roland@hack.frob.com>
552 * elf/dl-unmap-segments.h: New file.
553 * sysdeps/generic/ldsodefs.h
554 (DL_UNMAP): Use _dl_unmap_segments in place of __munmap.
555 * elf/dl-close.c: Include <dl-unmap-segments.h>.
556 * elf/dl-fptr.c: Likewise.
557 (_dl_unmap): Use _dl_unmap_segments in place of __munmap.
558 * sysdeps/aarch64/tlsdesc.c: Likewise.
559 * sysdeps/arm/tlsdesc.c: Likewise.
560 * sysdeps/i386/tlsdesc.c: Likewise.
561 * sysdeps/tile/dl-runtime.c: Likewise.
562 * sysdeps/x86_64/tlsdesc.c: Likewise.
563 * elf/dl-load.h: New file.
564 * elf/dl-load.c: Include it.
565 (MAP_FILE, MAP_COPY, MAP_BASE_ADDR):
566 Macros moved to dl-load.h.
567 (ELF_PREFERRED_ADDRESS_DATA, ELF_PREFERRED_ADDRESS): Likewise.
568 (_dl_map_object_from_fd): Type 'struct loadcmd' moved to dl-load.h.
569 Use _dl_unmap_segments in place of __munmap.
570 Break out segment-mapping loop into ...
571 * elf/dl-map-segments.h (_dl_map_segments): ... here, in new file.
573 2014-04-03 Will Newton <will.newton@linaro.org>
575 * elf/dl-lookup.c (do_lookup_x): Remove comment
576 referring to nested function and move variable
577 declarations down to before first use.
579 2014-04-02 Joseph Myers <joseph@codesourcery.com>
583 * math/s_catan.c (__catan): Avoid passing -0 denominator to atan2
585 * math/s_catanf.c (__catanf): Likewise.
586 * math/s_catanh.c (__catanh): Likewise.
587 * math/s_catanhf.c (__catanhf): Likewise.
588 * math/s_catanhl.c (__catanhl): Likewise.
589 * math/s_catanl.c (__catanl): Likewise.
590 * sysdeps/ieee754/flt-32/e_logf.c (__ieee754_logf): Always divide
591 by positive zero when computing -Inf result.
592 * math/libm-test.inc (catan_test): Use ALL_RM_TEST.
593 (catanh_test): Likewise.
594 * sysdeps/i386/fpu/libm-test-ulps: Update.
595 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
598 * math/s_clog.c (__clog): Use math_force_eval to ensure underflow
599 instead of using underflowing value in computing result.
600 * math/s_clog10.c (__clog10): Likewise.
601 * math/s_clog10f.c (__clog10f): Likewise.
602 * math/s_clog10l.c (__clog10l): Likewise.
603 * math/s_clogf.c (__clogf): Likewise.
604 * math/s_clogl.c (__clogl): Likewise.
605 * math/libm-test.inc (clog_test): Use ALL_RM_TEST.
606 (clog10_test): Likewise.
607 * sysdeps/i386/fpu/libm-test-ulps: Update.
608 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
610 2014-04-02 Alan Modra <amodra@gmail.com>
613 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl): Correct
614 output when value is near a power of two. Use int64_t for lx and
615 remove casts. Use decimal rather than hex exponent constants.
616 Don't use long double multiplication when double will suffice.
617 * math/libm-test.inc (nextafter_test_data): Add tests.
618 * NEWS: Add 16739 and 16786 to bug list.
620 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Correct stream hint.
622 * sysdeps/powerpc/powerpc64/start.S: Add @toc to toc symbol reference.
624 2014-04-01 Will Newton <will.newton@linaro.org>
626 * benchtests/Makefile (CFLAGS-bench-ffs.c): Add
627 -fno-builtin. (CFLAGS-bench-ffsll.c): Likewise.
629 2014-04-01 Florian Weimer <fweimer@redhat.com>
632 * nptl/nptl-init.c (sighandler_setxid): Check system call result.
633 * nptl/tst-setuid2.c: New file.
634 * nptl/Makefile (xtests): Add tst-setuid2.
636 2014-04-01 Alan Modra <amodra@gmail.com>
639 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S: Don't trash stack.
641 2014-03-31 Joseph Myers <joseph@codesourcery.com>
645 * math/w_scalb.c (__scalb): For non-SVID mode, check result and
646 set errno as appropriate.
647 * math/w_scalbf.c (__scalbf): Likewise.
648 * math/w_scalbl.c (__scalbl): Likewise.
649 * math/gen-libm-test.pl (parse_args): Handle ERRNO_PLUS_OFLOW,
650 ERRNO_MINUS_OFLOW, ERRNO_PLUS_UFLOW and ERRNO_MINUS_UFLOW.
651 * math/libm-test.inc (scalb_test_data): Add errno expectations.
655 * math/w_atan2.c: Include <errno.h>.
656 (__atan2): Set errno for result underflowing to zero.
657 * math/w_atan2f.c: Include <errno.h>.
658 (__atan2f): Set errno for result underflowing to zero.
659 * math/w_atan2l.c: Include <errno.h>.
660 (__atan2l): Set errno for result underflowing to zero.
661 * math/auto-libm-test-in: Don't allow missing errno for some atan2
663 * math/auto-libm-test-out: Regenerated.
665 2014-03-31 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
667 * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S (MFVSRD_R3_V1):
668 Encode instruction correctly in little endian.
669 * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S (MFVSRD_R3_V1):
671 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (MFVSRD_R3_V1):
673 * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S (MFVSRD_R3_V1):
675 * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S (MFVSRD_R3_V1):
678 2014-03-31 Joseph Myers <joseph@codesourcery.com>
681 * sysdeps/unix/sysv/linux/kernel-features.h
682 [__sparc__ && !__arch64__ && !__sparc_v9__]
683 (__ASSUME_SET_ROBUST_LIST): Do not define.
684 [__sparc__ && !__arch64__ && !__sparc_v9__]
685 (__ASSUME_FUTEX_LOCK_PI): Likewise.
686 [__sparc__ && !__arch64__ && !__sparc_v9__] (__ASSUME_REQUEUE_PI):
688 * sysdeps/unix/sysv/linux/arm/kernel-features.h
689 (__ASSUME_FUTEX_LOCK_PI): Undefine.
690 (__ASSUME_REQUEUE_PI): Likewise.
691 (__ASSUME_SET_ROBUST_LIST): Likewise.
692 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
693 [__LINUX_KERNEL_VERSION < 0x030a00] (__ASSUME_FUTEX_LOCK_PI):
695 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
696 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_FUTEX_LOCK_PI):
698 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_REQUEUE_PI):
700 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_SET_ROBUST_LIST):
702 * sysdeps/unix/sysv/linux/mips/kernel-features.h
703 [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_FUTEX_LOCK_PI):
705 [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_REQUEUE_PI): Likewise.
706 [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_SET_ROBUST_LIST):
710 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
711 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_FUTIMESAT): Define.
712 * sysdeps/unix/sysv/linux/microblaze/futimesat.c: New file.
714 2014-03-31 Will Newton <will.newton@linaro.org>
716 * benchtests/Makefile (bench): Add ffs and ffsll to list
718 * benchtests/ffs-inputs: New file.
719 * benchtests/ffsll-inputs: Likewise.
721 2014-03-29 Joseph Myers <joseph@codesourcery.com>
724 * math/e_scalb.c (__ieee754_scalb): Check second argument is not
725 too large before casting to int.
726 * math/e_scalbf.c (__ieee754_scalbf): Likewise.
727 * math/e_scalbl.c (__ieee754_scalbl): Likewise.
728 * math/libm-test.inc (scalb_test_data): Add more tests.
730 2014-03-29 Siddhesh Poyarekar <siddhesh@redhat.com>
732 * benchtests/Makefile (DETAILED_OPT): New make option.
733 (bench-func): Run benchmark program with -d if DETAILED_OPT is
735 * benchtests/bench-skeleton.c: Include stdbool.h.
736 (main): Store and print timings per input.
737 * benchtests/scripts/bench.py (STRUCT_TEMPLATE): Add timing
738 member to each argument value.
739 (EPILOGUE): Define new macros RESULT and RESULT_ACCUM.
740 (_print_arg_data): Initialize per-input timing to 0.
742 * benchtests/Makefile (timing-type): New binary.
743 (bench-clean): Also remove bench-timing-type.
744 (bench): New target for timing-type.
745 (bench-func): Print output in JSON format.
746 * benchtests/bench-skeleton.c (main): Print output in JSON
748 * benchtests/bench-timing-type.c: New file.
749 * benchtests/bench-timing.h (TIMING_TYPE): New macro.
750 (TIMING_PRINT_STATS): Remove.
751 * benchtests/scripts/bench.py (_print_arg_data): Store variant
754 * benchtests/bench-modf.c: Remove.
755 * benchtests/modf-inputs: New inputs file.
757 2014-03-28 Joseph Myers <joseph@codesourcery.com>
760 * math/s_clog10.c (M_PI_LOG10E): New macro.
761 (__clog10): Use M_PI_LOG10E instead of M_PI when real and
762 imaginary parts are 0.
763 * math/s_clog10f.c (M_PI_LOG10Ef): New macro.
764 (__clog10f): Use M_PI_LOG10Ef instead of M_PI when real and
765 imaginary parts are 0.
766 * math/s_clog10l.c (M_PI_LOG10El): New macro.
767 (__clog10l): Use M_PI_LOG10El instead of M_PIl when real and
768 imaginary parts are 0.
769 * math/libm-test.inc (clog10_test_data): Update expected results
770 for when real and imaginary parts are 0.
772 2014-03-27 Paul Pluzhnikov <ppluzhnikov@google.com>
774 * elf/dl-load.c: Finish conversion of __builtin_expect into
777 2014-03-27 Joseph Myers <joseph@codesourcery.com>
780 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [!USE_AS_EXPM1L]: Use
781 1+x for argument with exponent below -67.
782 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [!USE_AS_EXPM1L]:
784 * math/auto-libm-test-in: Add more tests of exp.
785 * math/auto-libm-test-out: Regenerated.
787 2014-03-27 Siddhesh Poyarekar <siddhesh@redhat.com>
790 * inet/getnetgrent_r.c (get_nonempty_val): New function.
791 (nscd_getnetgrent): Use it.
794 * nscd/netgroupcache.c (addgetnetgrentX): Use memmove instead
797 2014-03-27 Andi Kleen <ak@linux.intel.com>
799 * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.h (lll_lock)
800 (lll_robust_lock, lll_cond_lock, lll_timedlock)
801 (lll_robust_cond_lock, lll_robust_timedlock, lll_unlock)
802 (lll_robust_unlock): Remove out of line section. Use cfi
804 (LLL_STUB_UNWIND_INFO*): Remove.
805 * nptl/sysdeps/unix/sysv/linux/i386/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.
812 2014-03-27 Siddhesh Poyarekar <siddhesh@redhat.com>
815 * nscd/netgroupcache.c (addinnetgrX): Succeed if triplet has
818 2014-03-26 Paul Pluzhnikov <ppluzhnikov@google.com>
820 * elf/dl-load.c: Convert __builtin_expect into __glibc_{un}likely.
822 2014-03-26 Joseph Myers <joseph@codesourcery.com>
825 * sysdeps/x86_64/fpu/fegetenv.c (fegetenv): Use fldenv after
827 * math/test-fenv-preserve.c: New file.
828 * math/Makefile (tests): Add test-fenv-preserve.
830 2014-03-26 Will Newton <will.newton@linaro.org>
832 * benchtests/bench-strtod.c (TIMEOUT): Define to 10.
834 2014-03-25 Roland McGrath <roland@hack.frob.com>
836 * scripts/versionlist.awk: Partition the version sets and emit all
837 GLIBC_* (sorted) before all others (sorted).
839 2014-03-25 Joseph Myers <joseph@codesourcery.com>
841 * elf/Versions (libc) [EXPORT_UNWIND_FIND_FDE]: Add empty
844 2014-03-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
846 * scripts/localplt.awk: Check for PLT generated by internal IFUNC
849 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: Revert
852 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
854 2014-03-25 Andreas Schwab <schwab@suse.de>
856 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Add out_fail2
857 label to be used after in6ailist is initialized.
859 2014-03-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
861 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
862 (__PTHREAD_MUTEX_HAVE_ELISION): New define.
864 2014-03-25 Joseph Myers <joseph@codesourcery.com>
868 * math/gen-auto-libm-tests.c (fp_format_desc): Add field
870 (fp_formats): Update initializers.
871 (init_fp_formats): Initialize new field.
872 (output_for_one_input_case): Allow underflow for results up to
874 * math/libm-test.inc (log1p_test): Use ALL_RM_TEST.
875 * math/auto-libm-test-in: Don't mark some underflows from asin and
877 * math/auto-libm-test-out: Regenerated.
878 * sysdeps/i386/fpu/libm-test-ulps: Update.
879 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
881 2014-03-25 Andreas Schwab <schwab@suse.de>
883 * libio/Makefile (tst-ftell-partial-wide-ENV)
884 (tst-ftell-active-handler-ENV): Define.
886 2014-03-25 Stefan Liebler <stli@linux.vnet.ibm.com>
888 * NEWS: Add 16712, 16713, 16714 to fixed bug list.
890 2014-03-24 Paul Pluzhnikov <ppluzhnikov@google.com>
892 * elf/tst-dlopen-aout.c: Adjust comments. Use test-skeleton.c
894 2014-03-24 Joseph Myers <joseph@codesourcery.com>
896 * sysdeps/ieee754/dbl-64/e_exp.c: Include <math.h>.
897 * sysdeps/x86_64/fpu/multiarch/e_exp.c
898 [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
900 2014-03-24 Paul Pluzhnikov <ppluzhnikov@google.com>
903 * elf/dl-load.c (open_verify): Add mode parameter.
904 Error early when ET_EXEC and mode does not have __RTLD_OPENEXEC.
905 (open_path): Change from boolean 'secure' to complete flag 'mode'
906 (_dl_map_object): Adjust.
907 * elf/Makefile (tests): Add tst-dlopen-aout.
908 * elf/tst-dlopen-aout.c: New test.
910 2014-03-24 Stefan Liebler <stli@linux.vnet.ibm.com>
913 * sysdeps/unix/sysv/linux/s390/bits/stat.h
914 (struct stat): Rename member pad0 to __glibc_reserved0.
917 * sysdeps/s390/s390-32/bits/wordsize.h
918 (__WORDSIZE32_SIZE_ULONG): New define.
919 * sysdeps/s390/s390-64/bits/wordsize.h
920 (__WORDSIZE32_SIZE_ULONG): Likewise.
921 * sysdeps/generic/stdint.h (SIZE_MAX):
922 Define as UL if __WORDSIZE32_SIZE_ULONG.
925 * sysdeps/unix/sysv/linux/s390/bits/sigaction.h
926 (__glibc_reserved0): New variable.
927 (sa_flags): Change type to int.
929 * posix/Makefile (before-compile): Use += before-compile instead
932 * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
933 (__PTHREAD_MUTEX_HAVE_ELISION): New define.
935 2014-03-20 Andreas Schwab <schwab@suse.de>
938 * sysdeps/posix/getaddrinfo.c (gaih_inet): Properly skip over
939 non-matching result from nscd.
941 2014-03-24 Siddhesh Poyarekar <siddhesh@redhat.com>
943 * scripts/bench.py: Moved to ...
944 * benchtests/scripts/bench.py: ... here.
945 * benchtests/Makefile ($(objpfx)bench-%.c): Adjust.
947 2014-03-24 Andreas Schwab <schwab@suse.de>
950 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Use
951 alloca_account and account alloca use for struct in6ailist.
953 2014-03-24 Joseph Myers <joseph@codesourcery.com>
956 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use original
957 rounding mode to recompute results that overflow to infinity or
959 * math/auto-libm-test-in: Don't mark tests as expected to fail for
961 * math/auto-libm-test-out: Regenerated.
962 * math/libm-test.inc (ccos_test): Use ALL_RM_TEST.
963 (ccosh_test): Likewise.
964 (csin_test_data): Use plus_oflow.
965 (csin_test): Use ALL_RM_TEST.
966 (csinh_test_data): Use plus_oflow.
967 (csinh_test): Use ALL_RM_TEST.
968 * sysdeps/i386/fpu/libm-test-ulps: Update.
969 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
971 2014-03-21 Joseph Myers <joseph@codesourcery.com>
973 * sysdeps/mips/bits/wordsize.h: Include <sgidefs.h>.
974 * sysdeps/unix/sysv/linux/mips/getrlimit64.c: Likewise.
975 * sysdeps/unix/sysv/linux/mips/setrlimit64.c: Likewise.
978 * sysdeps/i386/fpu/e_log.S (__ieee754_log): Take absolute value
980 * sysdeps/i386/fpu/e_logf.S (__ieee754_logf): Likewise.
981 * sysdeps/i386/fpu/e_logl.S (__ieee754_logl): Likewise.
982 * sysdeps/i386/i686/fpu/e_logl.S (__ieee754_logl): Likewise.
983 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Return +0 when
985 * sysdeps/ieee754/ldbl-128/e_logl.c (__ieee754_logl): Likewise.
986 * sysdeps/x86_64/fpu/e_logl.S: Take absolute value when x - 1 is
988 * math/libm-test.inc (log_test): Use ALL_RM_TEST.
989 * sysdeps/i386/fpu/libm-test-ulps: Update.
990 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
992 2014-03-21 Siddhesh Poyarekar <siddhesh@redhat.com>
994 * scripts/bench.pl: Remove file.
995 * scripts/bench.py: New benchmark script.
996 * benchtests/Makefile ($(objpfx)bench-%.c): Use it.
997 * benchtests/README: Mention python dependency.
998 * scripts/pylintrc: New file.
999 * scripts/pylint: New file.
1001 * bits/mathdef.h: Use #ifdef instead of #if.
1002 * sysdeps/arm/bits/mathdef.h [defined __USE_ISOC99 && defined
1003 _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
1004 * sysdeps/tile/bits/mathdef.h [defined __USE_ISOC99 && defined
1005 _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
1006 * sysdeps/x86/bits/mathdef.h [defined __USE_ISOC99 && defined
1007 _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
1009 2014-03-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1010 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
1012 * string/strpbrk.c (strpbrk): Using macro to redefine symbol name.
1013 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strpbrk-power7
1014 and strpbrk-ppc64 objects.
1015 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
1016 (__libc_ifunc_impl_list): Add new strpbrk optimized symbols.
1017 * sysdeps/powerpc/powerpc64/multiarch/strpbrk-power7.S: New file:
1018 multiarch strpbrk for POWER7.
1019 * sysdeps/powerpc/powerpc64/multiarch/strpbrk-ppc64.c: New file:
1020 multiarch strpbrk for PPC64.
1021 * sysdeps/powerpc/powerpc64/multiarch/strpbrk.c: New file: strpbrk
1023 * sysdeps/powerpc/powerpc64/power7/strpbrk.S: New file: optimited
1026 2014-03-20 Joseph Myers <joseph@codesourcery.com>
1028 * math/libm-test.inc (asinh_test): Use ALL_RM_TEST.
1029 (atan_test): Likewise.
1030 (atanh_test_data): Use NO_TEST_INLINE for two tests.
1031 (atanh_test): Use ALL_RM_TEST.
1032 (atan2_test_data): Likewise.
1033 (cabs_test): Likewise.
1034 (cacosh_test): Likewise.
1035 (carg_test): Likewise.
1036 (casin_test): Likewise.
1037 (casinh_test): Likewise.
1038 (cbrt_test): Likewise.
1039 (csqrt_test): Likewise.
1040 (erf_test): Likewise.
1041 (erfc_test): Likewise.
1042 (pow10_test): Likewise.
1043 (exp2_test): Likewise.
1044 (hypot_test): Likewise.
1045 (j0_test): Likewise.
1046 (j1_test): Likewise.
1047 (lgamma_test): Likewise.
1048 (gamma_test): Likewise.
1049 (sincos_test): Likewise.
1050 (tanh_test): Likewise.
1051 (y0_test): Likewise.
1052 (y1_test): Likewise.
1053 * sysdeps/i386/fpu/libm-test-ulps: Update.
1054 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1056 2014-03-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1058 * string/strcspn.c (strcspn): Using macro to redefine symbol name.
1059 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcspn-power7
1060 and strcspn-ppc64 objects.
1061 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
1062 (__libc_ifunc_impl_list): Add new strcspn optimized symbols.
1063 * sysdeps/powerpc/powerpc64/multiarch/strcspn-power7.S: New file:
1064 multiarch strcspn for POWER7.
1065 * sysdeps/powerpc/powerpc64/multiarch/strcspn-ppc64.c: New file:
1066 multiarch strcspn for PPC64.
1067 * sysdeps/powerpc/powerpc64/multiarch/strcspn.c: New file: strcspn
1069 * sysdeps/powerpc/powerpc64/power7/strcspn.S: New file: optimited
1072 2014-03-20 Joseph Myers <joseph@codesourcery.com>
1074 * math/gen-libm-test.pl (generate_testfile): Expect only function
1075 name as argument to AUTO_TESTS_* and pass results for all rounding
1076 modes to parse_args.
1077 (parse_auto_input): Separate inputs of automatic tests from
1078 outputs before storing in %auto_tests.
1079 * math/libm-test.inc (acos_test_data): Update call to
1081 (acos_test): Use ALL_RM_TEST.
1082 (acos_tonearest_test_data): Remove.
1083 (acos_test_tonearest): Likewise.
1084 (acos_towardzero_test_data): Likewise.
1085 (acos_test_towardzero): Likewise.
1086 (acos_downward_test_data): Likewise.
1087 (acos_test_downward): Likewise.
1088 (acos_upward_test_data): Likewise.
1089 (acos_test_upward): Likewise.
1090 (acosh_test_data): Update call to AUTO_TESTS_f_f.
1091 (asin_test_data): Likewise.
1092 (asin_test): Use ALL_RM_TEST.
1093 (asin_tonearest_test_data): Remove.
1094 (asin_test_tonearest): Likewise.
1095 (asin_towardzero_test_data): Likewise.
1096 (asin_test_towardzero): Likewise.
1097 (asin_downward_test_data): Likewise.
1098 (asin_test_downward): Likewise.
1099 (asin_upward_test_data): Likewise.
1100 (asin_test_upward): Likewise.
1101 (asinh_test_data): Update call to AUTO_TESTS_f_f.
1102 (atan_test_data): Likewise.
1103 (atanh_test_data): Likewise.
1104 (atan2_test_data): Update call to AUTO_TESTS_ff_f.
1105 (cabs_test_data): Update call to AUTO_TESTS_c_f.
1106 (carg_test_data): Likewise.
1107 (cbrt_test_data): Update call to AUTO_TESTS_f_f.
1108 (ccos_test_data): Update call to AUTO_TESTS_c_c.
1109 (ccosh_test_data): Likewise.
1110 (cexp_test_data): Likewise.
1111 (clog_test_data): Likewise.
1112 (clog10_test_data): Likewise.
1113 (cos_test_data): Update call to AUTO_TESTS_f_f.
1114 (cos_test): Use ALL_RM_TEST.
1115 (cos_tonearest_test_data): Remove.
1116 (cos_test_tonearest): Likewise.
1117 (cos_towardzero_test_data): Likewise.
1118 (cos_test_towardzero): Likewise.
1119 (cos_downward_test_data): Likewise.
1120 (cos_test_downward): Likewise.
1121 (cos_upward_test_data): Likewise.
1122 (cos_test_upward): Likewise.
1123 (cosh_test_data): Update call to AUTO_TESTS_f_f.
1124 (cosh_test): Use ALL_RM_TEST.
1125 (cosh_tonearest_test_data): Remove.
1126 (cosh_test_tonearest): Likewise.
1127 (cosh_towardzero_test_data): Likewise.
1128 (cosh_test_towardzero): Likewise.
1129 (cosh_downward_test_data): Likewise.
1130 (cosh_test_downward): Likewise.
1131 (cosh_upward_test_data): Likewise.
1132 (cosh_test_upward): Likewise.
1133 (cpow_test_data): Update call to AUTO_TESTS_cc_c.
1134 (csqrt_test_data): Update call to AUTO_TESTS_c_c.
1135 (ctan_test_data): Likewise.
1136 (ctan_test): Use ALL_RM_TEST.
1137 (ctan_tonearest_test_data): Remove.
1138 (ctan_test_tonearest): Likewise.
1139 (ctan_towardzero_test_data): Likewise.
1140 (ctan_test_towardzero): Likewise.
1141 (ctan_downward_test_data): Likewise.
1142 (ctan_test_downward): Likewise.
1143 (ctan_upward_test_data): Likewise.
1144 (ctan_test_upward): Likewise.
1145 (ctanh_test_data): Update call to AUTO_TESTS_c_c.
1146 (ctanh_test): Use ALL_RM_TEST.
1147 (ctanh_tonearest_test_data): Remove.
1148 (ctanh_test_tonearest): Likewise.
1149 (ctanh_towardzero_test_data): Likewise.
1150 (ctanh_test_towardzero): Likewise.
1151 (ctanh_downward_test_data): Likewise.
1152 (ctanh_test_downward): Likewise.
1153 (ctanh_upward_test_data): Likewise.
1154 (ctanh_test_upward): Likewise.
1155 (erf_test_data): Update call to AUTO_TESTS_f_f.
1156 (erfc_test_data): Likewise.
1157 (exp_test_data): Likewise.
1158 (exp_test): Use ALL_RM_TEST.
1159 (exp_tonearest_test_data): Remove.
1160 (exp_test_tonearest): Likewise.
1161 (exp_towardzero_test_data): Likewise.
1162 (exp_test_towardzero): Likewise.
1163 (exp_downward_test_data): Likewise.
1164 (exp_test_downward): Likewise.
1165 (exp_upward_test_data): Likewise.
1166 (exp_test_upward): Likewise.
1167 (exp10_test_data): Update call to AUTO_TESTS_f_f.
1168 (exp10_test): Use ALL_RM_TEST.
1169 (exp10_tonearest_test_data): Remove.
1170 (exp10_test_tonearest): Likewise.
1171 (exp10_towardzero_test_data): Likewise.
1172 (exp10_test_towardzero): Likewise.
1173 (exp10_downward_test_data): Likewise.
1174 (exp10_test_downward): Likewise.
1175 (exp10_upward_test_data): Likewise.
1176 (exp10_test_upward): Likewise.
1177 (exp2_test_data): Update call to AUTO_TESTS_f_f.
1178 (expm1_test_data): Likewise.
1179 (expm1_test): Use ALL_RM_TEST.
1180 (expm1_tonearest_test_data): Remove.
1181 (expm1_test_tonearest): Likewise.
1182 (expm1_towardzero_test_data): Likewise.
1183 (expm1_test_towardzero): Likewise.
1184 (expm1_downward_test_data): Likewise.
1185 (expm1_test_downward): Likewise.
1186 (expm1_upward_test_data): Likewise.
1187 (expm1_test_upward): Likewise.
1188 (fma_test_data): Update call to AUTO_TESTS_fff_f.
1189 (fma_test): Use ALL_RM_TEST.
1190 (fma_towardzero_test_data): Remove.
1191 (fma_test_towardzero): Likewise.
1192 (fma_downward_test_data): Likewise.
1193 (fma_test_downward): Likewise.
1194 (fma_upward_test_data): Likewise.
1195 (fma_test_upward): Likewise.
1196 (hypot_test_data): Update call to AUTO_TESTS_ff_f.
1197 (j0_test_data): Update call to AUTO_TESTS_f_f.
1198 (j1_test_data): Likewise.
1199 (jn_test_data): Update call to AUTO_TESTS_if_f.
1200 (lgamma_test_data): Update call to AUTO_TESTS_f_f1.
1201 (log_test_data): Update call to AUTO_TESTS_f_f.
1202 (log10_test_data): Likewise.
1203 (log1p_test_data): Likewise.
1204 (log2_test_data): Likewise.
1205 (pow_test_data): Update call to AUTO_TESTS_ff_f.
1206 (pow_tonearest_test_data): Likewise.
1207 (sin_test_data): Update call to AUTO_TESTS_f_f.
1208 (sin_test): Use ALL_RM_TEST.
1209 (sin_tonearest_test_data): Remove.
1210 (sin_test_tonearest): Likewise.
1211 (sin_towardzero_test_data): Likewise.
1212 (sin_test_towardzero): Likewise.
1213 (sin_downward_test_data): Likewise.
1214 (sin_test_downward): Likewise.
1215 (sin_upward_test_data): Likewise.
1216 (sin_test_upward): Likewise.
1217 (sincos_test_data): Update call to AUTO_TESTS_fFF_11.
1218 (sinh_test_data): Update call to AUTO_TESTS_f_f.
1219 (sinh_test): Use ALL_RM_TEST.
1220 (sinh_tonearest_test_data): Remove.
1221 (sinh_test_tonearest): Likewise.
1222 (sinh_towardzero_test_data): Likewise.
1223 (sinh_test_towardzero): Likewise.
1224 (sinh_downward_test_data): Likewise.
1225 (sinh_test_downward): Likewise.
1226 (sinh_upward_test_data): Likewise.
1227 (sinh_test_upward): Likewise.
1228 (sqrt_test_data): Update call to AUTO_TESTS_f_f.
1229 (sqrt_test): Use ALL_RM_TEST.
1230 (sqrt_tonearest_test_data): Remove.
1231 (sqrt_test_tonearest): Likewise.
1232 (sqrt_towardzero_test_data): Likewise.
1233 (sqrt_test_towardzero): Likewise.
1234 (sqrt_downward_test_data): Likewise.
1235 (sqrt_test_downward): Likewise.
1236 (sqrt_upward_test_data): Likewise.
1237 (sqrt_test_upward): Likewise.
1238 (tan_test_data): Update call to AUTO_TESTS_f_f.
1239 (tan_test): Use ALL_RM_TEST.
1240 (tan_tonearest_test_data): Remove.
1241 (tan_test_tonearest): Likewise.
1242 (tan_towardzero_test_data): Likewise.
1243 (tan_test_towardzero): Likewise.
1244 (tan_downward_test_data): Likewise.
1245 (tan_test_downward): Likewise.
1246 (tan_upward_test_data): Likewise.
1247 (tan_test_upward): Likewise.
1248 (tanh_test_data): Update call to AUTO_TESTS_f_f.
1249 (tgamma_test_data): Likewise.
1250 (y0_test_data): Likewise.
1251 (y1_test_data): Likewise.
1252 (yn_test_data): Update call to AUTO_TESTS_if_f.
1253 (main): Do not call removed functions.
1255 2014-03-19 Joseph Myers <joseph@codesourcery.com>
1257 * math/libm-test.inc (fdim_test): Use ALL_RM_TEST.
1258 (ldexp_test_data): Remove.
1259 (ldexp_test): Move to after scalbn_test. Use ALL_RM_TEST with
1261 (scalb_test): Use ALL_RM_TEST.
1263 2014-03-19 Andreas Schwab <schwab@suse.de>
1265 * nscd/nscd.service: Also invalidate netgroup cache on reload.
1267 2014-03-19 Joseph Myers <joseph@codesourcery.com>
1270 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
1271 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_PREADV): Undefine.
1272 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_PWRITEV): Likewise.
1273 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
1274 (__ASSUME_PREADV): Undefine.
1275 (__ASSUME_PWRITEV): Likewise.
1277 2014-03-18 Roland McGrath <roland@hack.frob.com>
1279 * bits/mman-linux.h: Add comment about non-Linux use.
1280 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add comment about
1281 bits/mman-linux.h resting place.
1283 * sysdeps/unix/sysv/linux/bits/mman-linux.h: Moved to ...
1284 * bits/mman-linux.h: ... here.
1286 2014-03-18 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1288 * conform/conformtest.pl: Add standard definition when calling C
1289 preprocessor on data files.
1290 (checknamespace): Remove unused variable.
1292 2014-03-18 Joseph Myers <joseph@codesourcery.com>
1294 * math/gen-libm-test.pl (parse_args): Handle plus_oflow,
1295 minus_oflow, plus_uflow and minus_uflow in expected results.
1296 * math/libm-test.inc (scalbn_test_data): Add more tests of
1297 negative arguments. Use plus_oflow, minus_oflow, plus_uflow and
1299 (scalbn_test): Use ALL_RM_TEST.
1300 (scalbln_test_data): Add more tests of negative arguments. Use
1301 plus_oflow, minus_oflow, plus_uflow and minus_uflow.
1302 (scalbln_test): Use ALL_RM_TEST.
1304 2014-03-18 Roland McGrath <roland@hack.frob.com>
1306 * scripts/abilist.awk: Ignore symbols marked with .hidden.
1308 2014-03-18 Will Newton <will.newton@linaro.org>
1310 * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Remove
1313 2014-03-18 Joseph Myers <joseph@codesourcery.com>
1315 * Makerules [!subdir] (check-abi): Exit with error status if a
1318 2014-03-17 Joseph Myers <joseph@codesourcery.com>
1320 * math/libm-test.inc (nearbyint_test_data): Include all tests used
1321 for rint. Include results for all rounding modes.
1322 (nearbyint_test): Use ALL_RM_TEST.
1323 (rint_test_data): Include all tests used for nearbyint.
1325 2014-03-17 Will Newton <will.newton@linaro.org>
1327 * nptl/sysdeps/pthread/pthread.h: Revert previous
1330 * sysdeps/generic/ldsodefs.h: Revert previous
1333 * libio/genops.c: Revert previous change.
1334 * libio/libioP.h: Likewise.
1335 * stdio-common/vfprintf.c: Likewise.
1337 * sysdeps/generic/math_private.h: Revert previous
1340 * sysdeps/generic/math_private.h: Check whether
1341 HAVE_RM_CTX is defined with #ifdef rather
1344 * argp/argp-fmtstream.h: Check whether
1345 __STRICT_ANSI__ is defined with #ifdef rather
1347 * argp/argp.h: Likewise.
1349 * libio/genops.c: Check whether
1350 _IO_JUMPS_OFFSET is defined with #ifdef rather
1352 * libio/libioP.h: Likewise.
1353 * stdio-common/vfprintf.c: Likewise.
1355 * sysdeps/generic/ldsodefs.h: Check whether
1356 HP_SMALL_TIMING_AVAIL is defined with #ifdef rather
1359 * nptl/sysdeps/pthread/pthread.h: Check
1360 __PTHREAD_MUTEX_HAVE_ELISION is defined before testing
1363 2014-03-17 Siddhesh Poyarekar <siddhesh@redhat.com>
1365 * libio/iofdopen.c (_IO_new_fdopen): Seek to end only if
1367 * libio/tst-ftell-active-handler.c (do_append_test): Add a
1371 * libio/fileops.c (_IO_file_open): Seek to end of file but
1372 don't cache the offset.
1373 (get_file_offset): Remove function.
1374 (do_ftell): Use cached offset when available.
1375 * libio/iofdopen.c (_IO_new_fdopen): Seek to end of file but
1376 don't cache the offset.
1377 * libio/tst-ftell-active-handler.c (do_rewind_test): New test
1379 (do_one_test): Call it.
1380 (do_ftell_test): Fix up expected old offset for a+ mode.
1381 * libio/wfileops.c (do_ftell_wide): Used cached offset when
1384 * libio/tst-ftell-active-handler.c (do_ftell_test): Don't mix
1385 up test status with function return status.
1386 (do_write_test): Likewise.
1387 (do_append_test): Likewise.
1389 * nptl/sysdeps/pthread/bits/libc-lockP.h [defined NOT_IN_libc
1390 && !defined IS_IN_libpthread && __LT_SPINNOCK_INIT != 0]:
1393 2014-03-17 Joseph Myers <joseph@codesourcery.com>
1395 * math/gen-libm-test.pl (parse_args): Handle results specified for
1396 each rounding mode separately.
1397 * math/libm-test.inc (lrint_test_data): Merge in per-rounding-mode
1398 tests and results from lrint_tonearest_test_data,
1399 lrint_towardzero_test_data, lrint_downward_test_data and
1400 lrint_upward_test_data.
1401 (lrint_test): Use ALL_RM_TEST.
1402 (lrint_tonearest_test_data): Remove.
1403 (lrint_test_tonearest): Likewise.
1404 (lrint_towardzero_test_data): Likewise.
1405 (lrint_test_towardzero): Likewise.
1406 (lrint_downward_test_data): Likewise.
1407 (lrint_test_downward): Likewise.
1408 (lrint_upward_test_data): Likewise.
1409 (lrint_test_upward): Likewise.
1410 (llrint_test_data): Merge in per-rounding-mode tests and results
1411 from llrint_tonearest_test_data, llrint_towardzero_test_data,
1412 llrint_downward_test_data and llrint_upward_test_data.
1413 (llrint_test): Use ALL_RM_TEST.
1414 (llrint_tonearest_test_data): Remove.
1415 (llrint_test_tonearest): Likewise.
1416 (llrint_towardzero_test_data): Likewise.
1417 (llrint_test_towardzero): Likewise.
1418 (llrint_downward_test_data): Likewise.
1419 (llrint_test_downward): Likewise.
1420 (llrint_upward_test_data): Likewise.
1421 (llrint_test_upward): Likewise.
1422 (rint_test_data): Merge in per-rounding-mode tests and results
1423 from rint_tonearest_test_data, rint_towardzero_test_data,
1424 rint_downward_test_data and rint_upward_test_data. Add
1425 per-rounding-mode results for tests not in those arrays.
1426 (rint_test): Use ALL_RM_TEST.
1427 (rint_tonearest_test_data): Remove.
1428 (rint_test_tonearest): Likewise.
1429 (rint_towardzero_test_data): Likewise.
1430 (rint_test_towardzero): Likewise.
1431 (rint_downward_test_data): Likewise.
1432 (rint_test_downward): Likewise.
1433 (rint_upward_test_data): Likewise.
1434 (rint_test_upward): Likewise.
1435 (main): Don't call removed functions.
1437 2014-03-14 Roland McGrath <roland@hack.frob.com>
1439 * csu/Makefile ($(objpfx)version-info.h): Remove linux-specific
1440 "Compiled on ..." crapola. It is anti-useful.
1442 2014-03-14 Joseph Myers <joseph@codesourcery.com>
1444 * scripts/evaluate-test.sh: Handle fourth argument to determine
1445 whether test run should stop on failure.
1446 * Makeconfig (stop-on-test-failure): New variable.
1447 (evaluate-test): Pass fourth argument to evaluate-test.sh based on
1448 $(stop-on-test-failure).
1449 * Makefile (tests): Give a summary of results from testing and
1450 exit with failure status if they include an ERROR or FAIL.
1452 * manual/install.texi (Configuring and compiling): Mention
1453 stop-on-test-failure=y.
1454 * INSTALL: Regenerated.
1456 2014-03-14 Roland McGrath <roland@hack.frob.com>
1458 * scripts/versionlist.awk: New file.
1459 * Makerules [$(build-shared) = yes]
1460 (postclean-generated): Add Versions.def, not Versions.def.v and
1462 ($(common-objpfx)Versions.def.v.i): Target removed.
1463 ($(common-objpfx)Versions.def): New target.
1464 ($(common-objpfx)Versions.all): Depend on that rather that
1465 $(common-objpfx)Versions.def.v.
1466 * Versions.def: File removed.
1468 * Makeconfig (+gccwarn): Add -Wundef.
1469 * include/errno.h [IS_IN_rtld] [!RTLD_PRIVATE_ERRNO]: #error to catch
1470 a dl-sysdep.h breaking its contract.
1471 [!IS_IN_rtld] (RTLD_PRIVATE_ERRNO): Define it to 0.
1472 * include/stackinfo.h: New file.
1473 * nptl/sysdeps/i386/tls.h (TLS_DTV_AT_TP): New macro.
1474 * nptl/sysdeps/powerpc/tls.h (TLS_TCB_AT_TP): New macro.
1475 * nptl/sysdeps/s390/tls.h (TLS_DTV_AT_TP): New macro.
1476 * nptl/sysdeps/sh/tls.h (TLS_TCB_AT_TP): New macro.
1477 * nptl/sysdeps/sparc/tls.h (TLS_DTV_AT_TP): New macro.
1478 * nptl/sysdeps/x86_64/tls.h (TLS_DTV_AT_TP): New macro.
1479 * sysdeps/aarch64/nptl/tls.h (TLS_TCB_AT_TP): New macro.
1480 * sysdeps/alpha/nptl/tls.h (TLS_TCB_AT_TP): New macro.
1481 * sysdeps/arm/nptl/tls.h (TLS_TCB_AT_TP): New macro.
1482 * sysdeps/ia64/nptl/tls.h (TLS_TCB_AT_TP): New macro.
1483 * sysdeps/m68k/nptl/tls.h (TLS_TCB_AT_TP): New macro.
1484 * sysdeps/mach/hurd/i386/tls.h (TLS_DTV_AT_TP): New macro.
1485 * sysdeps/microblaze/nptl/tls.h (TLS_TCB_AT_TP): New macro.
1486 * sysdeps/mips/nptl/tls.h (TLS_TCB_AT_TP): New macro.
1487 * sysdeps/tile/nptl/tls.h (TLS_TCB_AT_TP): New macro.
1489 2014-03-14 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1492 * sysdeps/powerpc/powerpc64/fpu/s_roundl.S: Remove wrong
1494 * math/libm-test.inc (round_test_data): Add more tests.
1497 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Remove wrong
1499 * math/libm-test.inc (nearbyint_test_data): Add more tests.
1502 * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Remove wrong
1504 * math/libm-test.inc (ceil_test_data): Add more tests.
1506 * math/libm-test.inc (trunc_test_data): Add more tests related to
1509 2014-03-14 Roland McGrath <roland@hack.frob.com>
1511 * nptl/pthread_create.c (__pthread_create_2_1): Test TLS_TCB_AT_TP
1512 with #if rather than #ifdef.
1513 * nptl/sysdeps/pthread/createthread.c (create_thread): Likewise.
1515 2014-03-14 H.J. Lu <hongjiu.lu@intel.com>
1517 * sysdeps/x86_64/configure.ac: Check AVX-512 assembler support
1518 first. Disable AVX-512 GCC support if assembler doesn't support
1520 * sysdeps/x86_64/configure: Regenerated.
1522 2014-03-13 Carlos O'Donell <carlos@redhat.com>
1524 * nptl/pthread_attr_setstack.c (__pthread_attr_setstack)
1525 [!_STACK_GROWS_DOWN]: Don't add stacksize to stackaddr.
1526 (__old_pthread_attr_setstack): Likewise.
1527 * nptl/pthread_attr_getstack.c (__pthread_attr_getstack)
1528 [!_STACK_GROWS_DOWN]: Likewise.
1530 2014-03-13 Mike Frysinger <vapier@gentoo.org>
1532 * config.make.in (have-bash2): Delete.
1533 * configure.ac (libc_cv_have_bash2): Delete.
1534 * configure: Regenerate.
1535 * elf/Makefile (common-ldd-rewrite): Rename to ...
1536 (ldd-rewrite): ... this. Move bash-ldd-rewrite content to end.
1537 (sh-ldd-rewrite): Delete.
1538 (bash-ldd-rewrite): Delete.
1539 (have-bash2): Delete checks.
1540 [ldd-rewrite-script]: Change $(ldd-shell)-ldd-rewrite to
1543 * config.make.in (have-ksh): Delete.
1545 * configure.ac (libc_cv_have_ksh): Delete.
1546 * configure: Regenerate.
1548 * elf/Makefile: Delete $(have-ksh) check.
1549 ($(objpfx)sotruss): Change KSH to BASH.
1550 * elf/sotruss.ksh: Rename to ...
1551 * elf/sotruss.sh: ... this. Change @KSH@ to @BASH@. Change
1552 function style to match POSIX. Drop ksh vim mode setting.
1554 * manual/time.texi (Specifying the Time Zone with TZ): Change
1555 Tuesday to Thursday.
1557 * debug/tst-longjmp_chk2.c: Update header comment.
1558 (stackoverflow_handler): Add comment. Call assert on pass value.
1560 2014-03-13 Igor Zamyatin <igor.zamyatin@intel.com>
1562 * config.h.in (HAVE_AVX512_SUPPORT): New #undef.
1563 (HAVE_AVX512_ASM_SUPPORT): Likewise.
1564 * sysdeps/x86_64/bits/link.h (La_x86_64_zmm): New.
1565 (La_x86_64_vector): Add zmm.
1566 * sysdeps/x86_64/Makefile (tests): Add tst-audit10.
1567 (modules-names): Add tst-auditmod10a and tst-auditmod10b.
1568 ($(objpfx)tst-audit10): New target.
1569 ($(objpfx)tst-audit10.out): Likewise.
1570 (tst-audit10-ENV): New.
1571 (AVX512-CFLAGS): Likewise.
1572 (CFLAGS-tst-audit10.c): Likewise.
1573 (CFLAGS-tst-auditmod10a.c): Likewise.
1574 (CFLAGS-tst-auditmod10b.c): Likewise.
1575 * sysdeps/x86_64/configure.ac: Set config-cflags-avx512,
1576 HAVE_AVX512_SUPPORT and HAVE_AVX512_ASM_SUPPORT.
1577 * sysdeps/x86_64/configure: Regenerated.
1578 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Add
1579 AVX-512 zmm register support.
1580 (_dl_x86_64_save_sse): Likewise.
1581 (_dl_x86_64_restore_sse): Likewise.
1582 * sysdeps/x86_64/dl-trampoline.h: Updated to support different
1583 size vector registers.
1584 * sysdeps/x86_64/link-defines.sym (YMM_SIZE): New.
1585 (ZMM_SIZE): Likewise.
1586 * sysdeps/x86_64/tst-audit10.c: New file.
1587 * sysdeps/x86_64/tst-auditmod10a.c: Likewise.
1588 * sysdeps/x86_64/tst-auditmod10b.c: Likewise.
1590 2014-03-13 Roland McGrath <roland@hack.frob.com>
1592 * configure.ac (HAVE_EHDR_START): New check.
1593 * configure: Regenerated.
1594 * config.h.in (HAVE_EHDR_START): New #undef.
1595 * elf/rtld.c (dl_main) [HAVE_EHDR_START]: Use __ehdr_start rather than
1596 assuming the lowest-addressed segment maps the start of the file.
1598 2014-03-13 Joseph Myers <joseph@codesourcery.com>
1600 * INSTALL: Regenerated.
1602 2014-03-13 Will Newton <will.newton@linaro.org>
1604 * manual/setjmp.texi (System V contexts): Improve
1605 clarity and grammar of documentation.
1607 2014-03-12 Paul Pluzhnikov <ppluzhnikov@google.com>
1610 * elf/Makefile (tests): Add tst-pie2.
1611 (tests-pie): Add tst-pie2.
1612 * elf/tst-pie2.c: New file.
1613 * elf/dl-load.c (_dl_map_object_from_fd): Assert correct l_type
1615 * elf/rtld.c (map_doit): Load executable as lt_executable.
1616 (dl_main): Likewise.
1618 2014-03-12 Joseph Myers <joseph@codesourcery.com>
1621 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
1622 (__ASSUME_PSELECT): Undefine.
1624 2014-03-12 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1627 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-ppc32.S
1628 (__bzero_ppc): Call memset@local instead of __memset_ppc@local for
1630 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: Build IFUNC
1631 selector for static builds.
1633 2014-03-12 Siddhesh Poyarekar <siddhesh@redhat.com>
1636 * nscd/netgroupcache.c (addgetnetgrentX): Factor in space for
1639 2014-03-12 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1641 * sysdeps/powerpc/powerpc64/multiarch/strspn.c (strspn): Build
1642 IFUNC selector for static builds.
1644 2014-03-11 Joseph Myers <joseph@codesourcery.com>
1646 * sysdeps/mips/math_private.h [__mips_hard_float]
1647 (libc_feresetround_ctx): Define to libc_feupdateenv_mips_ctx not
1648 libc_feresetround_mips_ctx.
1649 [__mips_hard_float] (libc_feresetroundf_ctx): Likewise.
1650 [__mips_hard_float] (libc_feresetroundl_ctx): Likewise.
1651 [__mips_hard_float] (libc_feresetround_mips_ctx): Remove.
1654 * math/s_nextafter.c (__nextafter): Do not return value from
1655 overflowing computation.
1656 * sysdeps/i386/fpu/s_nextafterl.c (__nextafterl): Likewise.
1657 * sysdeps/ieee754/flt-32/s_nextafterf.c (__nextafterf): Likewise.
1658 * sysdeps/ieee754/ldbl-128/s_nextafterl.c (__nextafterl):
1660 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl):
1662 * sysdeps/m68k/m680x0/fpu/s_nextafterl.c (__nextafterl): Likewise.
1663 * math/libm-test.inc (nextafter_test): Use ALL_RM_TEST.
1665 2014-03-11 Roland McGrath <roland@hack.frob.com>
1667 * sysdeps/arm/setjmp.S: Use sfi_breg on stores of mangled registers.
1668 * sysdeps/arm/__longjmp.S: Use sfi_breg on loads of mangled registers.
1669 Move sfi_sp use from the load-multiple (that no longer sets sp) to
1670 the new mov targetting sp.
1672 2014-03-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1675 * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S (__bzero_ppc):
1676 Define it for static builds as well.
1677 (NO_BZERO_IMPL): Likewise.
1679 2014-03-11 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
1681 * sysdeps/powerpc/powerpc64/power7/strspn.S: New file: Optimization.
1682 * sysdeps/powerpc/powerpc64/multiarch/strspn.c: New file:
1683 multiarch strspn for PPC64.
1684 * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c: New file
1685 * sysdeps/powerpc/powerpc64/multiarch/strspn-power7.S: New file
1686 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
1687 (__libc_ifunc_impl_list): Likewise.
1688 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strspn
1689 multiarch optimizations
1690 * string/strspn.c (strspn): Using macro to redefine symbol name.
1692 2014-03-10 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
1693 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1695 * sysdeps/powerpc/powerpc64/power7/strncat.S: New file: Optimization.
1696 * sysdeps/powerpc/powerpc64/multiarch/strncat.c: New file:
1697 multiarch strncat for PPC64.
1698 * sysdeps/powerpc/powerpc64/multiarch/strncat-ppc64.c: New file
1699 * sysdeps/powerpc/powerpc64/multiarch/strncat-power7.S: New file
1700 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
1701 (__libc_ifunc_impl_list): Likewise.
1702 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncat
1703 multiarch optimizations
1705 2014-03-10 Siddhesh Poyarekar <siddhesh@redhat.com>
1708 * nscd/nscd.service: Make service type forking.
1710 2014-03-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1712 * sysdeps/powerpc/power5+/fpu/s_modf.c (__modf): Fix to return correct
1713 sign in non default rounding modes.
1714 * sysdeps/powerpc/power5+/fpu/s_modff.c (__modff): Likewise.
1716 2014-03-08 Joseph Myers <joseph@codesourcery.com>
1718 * math/libm-test.inc (ALL_RM_TEST): New macro.
1719 (ceil_test): Use ALL_RM_TEST.
1720 (cimag_test): Likewise.
1721 (conj_test): Likewise.
1722 (copysign_test): Likewise.
1723 (cproj_test): Likewise.
1724 (creal_test): Likewise.
1725 (fabs_test): Likewise.
1726 (floor_test): Likewise.
1727 (fmax_test): Likewise.
1728 (fmin_test): Likewise.
1729 (fmod_test): Likewise.
1730 (fpclassify_test): Likewise.
1731 (frexp_test): Likewise.
1732 (ilogb_test): Likewise.
1733 (isfinite_test): Likewise.
1734 (finite_test): Likewise.
1735 (isgreater_test): Likewise.
1736 (isgreaterequal_test): Likewise.
1737 (isinf_test): Likewise.
1738 (isless_test): Likewise.
1739 (islessequal_test): Likewise.
1740 (islessgreater_test): Likewise.
1741 (isnan_test): Likewise.
1742 (isnormal_test): Likewise.
1743 (issignaling_test): Likewise.
1744 (isunordered_test): Likewise.
1745 (logb_test): Likewise.
1746 (logb_downward_test_data): Remove.
1747 (logb_test_downward): Likewise.
1748 (lround_test): Use ALL_RM_TEST.
1749 (llround_test): Likewise.
1750 (modf_test): Likewise.
1751 (nexttoward_test): Likewise.
1752 (remainder_test): Likewise.
1753 (drem_test): Likewise.
1754 (remainder_tonearest_test_data): Likewise.
1755 (remainder_test_tonearest): Likewise.
1756 (drem_test_tonearest): Likewise.
1757 (remainder_towardzero_test_data): Likewise.
1758 (remainder_test_towardzero): Likewise.
1759 (drem_test_towardzero): Likewise.
1760 (remainder_downward_test_data): Likewise.
1761 (remainder_test_downward): Likewise.
1762 (drem_test_downward): Likewise.
1763 (remainder_upward_test_data): Likewise.
1764 (remainder_test_upward): Likewise.
1765 (drem_test_upward): Likewise.
1766 (remquo_test): Use ALL_RM_TEST. Remove comment about x.
1767 (round_test): Use ALL_RM_TEST.
1768 (signbit_test): Likewise.
1769 (trunc_test): Likewise.
1770 (significand_test): Likewise.
1771 (main): Don't call removed functions.
1773 2014-03-07 Joseph Myers <joseph@codesourcery.com>
1776 * bits/siginfo.h (ILL_ILLOPC): Condition on [__USE_XOPEN_EXTENDED
1778 (ILL_ILLOPN): Likewise.
1779 (ILL_ILLADR): Likewise.
1780 (ILL_ILLTRP): Likewise.
1781 (ILL_PRVOPC): Likewise.
1782 (ILL_PRVREG): Likewise.
1783 (ILL_COPROC): Likewise.
1784 (ILL_BADSTK): Likewise.
1785 (FPE_INTDIV): Likewise.
1786 (FPE_INTOVF): Likewise.
1787 (FPE_FLTDIV): Likewise.
1788 (FPE_FLTOVF): Likewise.
1789 (FPE_FLTUND): Likewise.
1790 (FPE_FLTRES): Likewise.
1791 (FPE_FLTINV): Likewise.
1792 (FPE_FLTSUB): Likewise.
1793 (SEGV_MAPERR): Likewise.
1794 (SEGV_ACCERR): Likewise.
1795 (BUS_ADRALN): Likewise.
1796 (BUS_ADRERR): Likewise.
1797 (BUS_OBJERR): Likewise.
1798 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
1799 (TRAP_TRACE): Likewise.
1800 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
1802 (CLD_KILLED): Likewise.
1803 (CLD_DUMPED): Likewise.
1804 (CLD_TRAPPED): Likewise.
1805 (CLD_STOPPED): Likewise.
1806 (CLD_CONTINUED): Likewise.
1807 (POLL_IN): Likewise.
1808 (POLL_OUT): Likewise.
1809 (POLL_MSG): Likewise.
1810 (POLL_ERR): Likewise.
1811 (POLL_PRI): Likewise.
1812 (POLL_HUP): Likewise.
1813 * sysdeps/unix/sysv/linux/alpha/bits/siginfo.h (ILL_ILLOPC):
1815 (ILL_ILLOPN): Likewise.
1816 (ILL_ILLADR): Likewise.
1817 (ILL_ILLTRP): Likewise.
1818 (ILL_PRVOPC): Likewise.
1819 (ILL_PRVREG): Likewise.
1820 (ILL_COPROC): Likewise.
1821 (ILL_BADSTK): Likewise.
1822 (FPE_INTDIV): Likewise.
1823 (FPE_INTOVF): Likewise.
1824 (FPE_FLTDIV): Likewise.
1825 (FPE_FLTOVF): Likewise.
1826 (FPE_FLTUND): Likewise.
1827 (FPE_FLTRES): Likewise.
1828 (FPE_FLTINV): Likewise.
1829 (FPE_FLTSUB): Likewise.
1830 (SEGV_MAPERR): Likewise.
1831 (SEGV_ACCERR): Likewise.
1832 (BUS_ADRALN): Likewise.
1833 (BUS_ADRERR): Likewise.
1834 (BUS_OBJERR): Likewise.
1835 (BUS_MCEERR_AR): Likewise.
1836 (BUS_MCEERR_AO): Likewise.
1837 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
1838 (TRAP_TRACE): Likewise.
1839 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
1841 (CLD_KILLED): Likewise.
1842 (CLD_DUMPED): Likewise.
1843 (CLD_TRAPPED): Likewise.
1844 (CLD_STOPPED): Likewise.
1845 (CLD_CONTINUED): Likewise.
1846 (POLL_IN): Likewise.
1847 (POLL_OUT): Likewise.
1848 (POLL_MSG): Likewise.
1849 (POLL_ERR): Likewise.
1850 (POLL_PRI): Likewise.
1851 (POLL_HUP): Likewise.
1852 * sysdeps/unix/sysv/linux/bits/siginfo.h (ILL_ILLOPC): Likewise.
1853 (ILL_ILLOPN): Likewise.
1854 (ILL_ILLADR): Likewise.
1855 (ILL_ILLTRP): Likewise.
1856 (ILL_PRVOPC): Likewise.
1857 (ILL_PRVREG): Likewise.
1858 (ILL_COPROC): Likewise.
1859 (ILL_BADSTK): Likewise.
1860 (FPE_INTDIV): Likewise.
1861 (FPE_INTOVF): Likewise.
1862 (FPE_FLTDIV): Likewise.
1863 (FPE_FLTOVF): Likewise.
1864 (FPE_FLTUND): Likewise.
1865 (FPE_FLTRES): Likewise.
1866 (FPE_FLTINV): Likewise.
1867 (FPE_FLTSUB): Likewise.
1868 (SEGV_MAPERR): Likewise.
1869 (SEGV_ACCERR): Likewise.
1870 (BUS_ADRALN): Likewise.
1871 (BUS_ADRERR): Likewise.
1872 (BUS_OBJERR): Likewise.
1873 (BUS_MCEERR_AR): Likewise.
1874 (BUS_MCEERR_AO): Likewise.
1875 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
1876 (TRAP_TRACE): Likewise.
1877 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
1879 (CLD_KILLED): Likewise.
1880 (CLD_DUMPED): Likewise.
1881 (CLD_TRAPPED): Likewise.
1882 (CLD_STOPPED): Likewise.
1883 (CLD_CONTINUED): Likewise.
1884 (POLL_IN): Likewise.
1885 (POLL_OUT): Likewise.
1886 (POLL_MSG): Likewise.
1887 (POLL_ERR): Likewise.
1888 (POLL_PRI): Likewise.
1889 (POLL_HUP): Likewise.
1890 * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h (ILL_ILLOPC):
1892 (ILL_ILLOPN): Likewise.
1893 (ILL_ILLADR): Likewise.
1894 (ILL_ILLTRP): Likewise.
1895 (ILL_PRVOPC): Likewise.
1896 (ILL_PRVREG): Likewise.
1897 (ILL_COPROC): Likewise.
1898 (ILL_BADSTK): Likewise.
1899 (ILL_BADIADDR): Likewise.
1900 (ILL_BREAK): Likewise.
1901 (FPE_INTDIV): Likewise.
1902 (FPE_INTOVF): Likewise.
1903 (FPE_FLTDIV): Likewise.
1904 (FPE_FLTOVF): Likewise.
1905 (FPE_FLTUND): Likewise.
1906 (FPE_FLTRES): Likewise.
1907 (FPE_FLTINV): Likewise.
1908 (FPE_FLTSUB): Likewise.
1909 (FPE_DECOVF): Likewise.
1910 (FPE_DECDIV): Likewise.
1911 (FPE_DECERR): Likewise.
1912 (FPE_INVASC): Likewise.
1913 (FPE_INVDEC): Likewise.
1914 (SEGV_MAPERR): Likewise.
1915 (SEGV_ACCERR): Likewise.
1916 (SEGV_PSTKOVF): Likewise.
1917 (BUS_ADRALN): Likewise.
1918 (BUS_ADRERR): Likewise.
1919 (BUS_OBJERR): Likewise.
1920 (BUS_MCEERR_AR): Likewise.
1921 (BUS_MCEERR_AO): Likewise.
1922 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
1923 (TRAP_TRACE): Likewise.
1924 (TRAP_BRANCH): Likewise.
1925 (TRAP_HWBKPT): Likewise.
1926 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
1928 (CLD_KILLED): Likewise.
1929 (CLD_DUMPED): Likewise.
1930 (CLD_TRAPPED): Likewise.
1931 (CLD_STOPPED): Likewise.
1932 (CLD_CONTINUED): Likewise.
1933 (POLL_IN): Likewise.
1934 (POLL_OUT): Likewise.
1935 (POLL_MSG): Likewise.
1936 (POLL_ERR): Likewise.
1937 (POLL_PRI): Likewise.
1938 (POLL_HUP): Likewise.
1939 * sysdeps/unix/sysv/linux/mips/bits/siginfo.h (ILL_ILLOPC): Likewise.
1940 (ILL_ILLOPN): Likewise.
1941 (ILL_ILLADR): Likewise.
1942 (ILL_ILLTRP): Likewise.
1943 (ILL_PRVOPC): Likewise.
1944 (ILL_PRVREG): Likewise.
1945 (ILL_COPROC): Likewise.
1946 (ILL_BADSTK): Likewise.
1947 (FPE_INTDIV): Likewise.
1948 (FPE_INTOVF): Likewise.
1949 (FPE_FLTDIV): Likewise.
1950 (FPE_FLTOVF): Likewise.
1951 (FPE_FLTUND): Likewise.
1952 (FPE_FLTRES): Likewise.
1953 (FPE_FLTINV): Likewise.
1954 (FPE_FLTSUB): Likewise.
1955 (SEGV_MAPERR): Likewise.
1956 (SEGV_ACCERR): Likewise.
1957 (BUS_ADRALN): Likewise.
1958 (BUS_ADRERR): Likewise.
1959 (BUS_OBJERR): Likewise.
1960 (BUS_MCEERR_AR): Likewise.
1961 (BUS_MCEERR_AO): Likewise.
1962 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
1963 (TRAP_TRACE): Likewise.
1964 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
1966 (CLD_KILLED): Likewise.
1967 (CLD_DUMPED): Likewise.
1968 (CLD_TRAPPED): Likewise.
1969 (CLD_STOPPED): Likewise.
1970 (CLD_CONTINUED): Likewise.
1971 (POLL_IN): Likewise.
1972 (POLL_OUT): Likewise.
1973 (POLL_MSG): Likewise.
1974 (POLL_ERR): Likewise.
1975 (POLL_PRI): Likewise.
1976 (POLL_HUP): Likewise.
1977 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (ILL_ILLOPC): Likewise.
1978 (ILL_ILLOPN): Likewise.
1979 (ILL_ILLADR): Likewise.
1980 (ILL_ILLTRP): Likewise.
1981 (ILL_PRVOPC): Likewise.
1982 (ILL_PRVREG): Likewise.
1983 (ILL_COPROC): Likewise.
1984 (ILL_BADSTK): Likewise.
1985 (FPE_INTDIV): Likewise.
1986 (FPE_INTOVF): Likewise.
1987 (FPE_FLTDIV): Likewise.
1988 (FPE_FLTOVF): Likewise.
1989 (FPE_FLTUND): Likewise.
1990 (FPE_FLTRES): Likewise.
1991 (FPE_FLTINV): Likewise.
1992 (FPE_FLTSUB): Likewise.
1993 (SEGV_MAPERR): Likewise.
1994 (SEGV_ACCERR): Likewise.
1995 (BUS_ADRALN): Likewise.
1996 (BUS_ADRERR): Likewise.
1997 (BUS_OBJERR): Likewise.
1998 (BUS_MCEERR_AR): Likewise.
1999 (BUS_MCEERR_AO): Likewise.
2000 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
2001 (TRAP_TRACE): Likewise.
2002 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
2004 (CLD_KILLED): Likewise.
2005 (CLD_DUMPED): Likewise.
2006 (CLD_TRAPPED): Likewise.
2007 (CLD_STOPPED): Likewise.
2008 (CLD_CONTINUED): Likewise.
2009 (POLL_IN): Likewise.
2010 (POLL_OUT): Likewise.
2011 (POLL_MSG): Likewise.
2012 (POLL_ERR): Likewise.
2013 (POLL_PRI): Likewise.
2014 (POLL_HUP): Likewise.
2015 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (ILL_ILLOPC): Likewise.
2016 (ILL_ILLOPN): Likewise.
2017 (ILL_ILLADR): Likewise.
2018 (ILL_ILLTRP): Likewise.
2019 (ILL_PRVOPC): Likewise.
2020 (ILL_PRVREG): Likewise.
2021 (ILL_COPROC): Likewise.
2022 (ILL_BADSTK): Likewise.
2023 (FPE_INTDIV): Likewise.
2024 (FPE_INTOVF): Likewise.
2025 (FPE_FLTDIV): Likewise.
2026 (FPE_FLTOVF): Likewise.
2027 (FPE_FLTUND): Likewise.
2028 (FPE_FLTRES): Likewise.
2029 (FPE_FLTINV): Likewise.
2030 (FPE_FLTSUB): Likewise.
2031 (SEGV_MAPERR): Likewise.
2032 (SEGV_ACCERR): Likewise.
2033 (BUS_ADRALN): Likewise.
2034 (BUS_ADRERR): Likewise.
2035 (BUS_OBJERR): Likewise.
2036 (BUS_MCEERR_AR): Likewise.
2037 (BUS_MCEERR_AO): Likewise.
2038 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
2039 (TRAP_TRACE): Likewise.
2040 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
2042 (CLD_KILLED): Likewise.
2043 (CLD_DUMPED): Likewise.
2044 (CLD_TRAPPED): Likewise.
2045 (CLD_STOPPED): Likewise.
2046 (CLD_CONTINUED): Likewise.
2047 (POLL_IN): Likewise.
2048 (POLL_OUT): Likewise.
2049 (POLL_MSG): Likewise.
2050 (POLL_ERR): Likewise.
2051 (POLL_PRI): Likewise.
2052 (POLL_HUP): Likewise.
2053 * sysdeps/unix/sysv/linux/tile/bits/siginfo.h (ILL_ILLOPC): Likewise.
2054 (ILL_ILLOPN): Likewise.
2055 (ILL_ILLADR): Likewise.
2056 (ILL_ILLTRP): Likewise.
2057 (ILL_PRVOPC): Likewise.
2058 (ILL_PRVREG): Likewise.
2059 (ILL_COPROC): Likewise.
2060 (ILL_BADSTK): Likewise.
2061 (ILL_DBLFLT): Likewise.
2062 (ILL_HARDWALL): Likewise.
2063 (FPE_INTDIV): Likewise.
2064 (FPE_INTOVF): Likewise.
2065 (FPE_FLTDIV): Likewise.
2066 (FPE_FLTOVF): Likewise.
2067 (FPE_FLTUND): Likewise.
2068 (FPE_FLTRES): Likewise.
2069 (FPE_FLTINV): Likewise.
2070 (FPE_FLTSUB): Likewise.
2071 (SEGV_MAPERR): Likewise.
2072 (SEGV_ACCERR): Likewise.
2073 (BUS_ADRALN): Likewise.
2074 (BUS_ADRERR): Likewise.
2075 (BUS_OBJERR): Likewise.
2076 (BUS_MCEERR_AR): Likewise.
2077 (BUS_MCEERR_AO): Likewise.
2078 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
2079 (TRAP_TRACE): Likewise.
2080 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
2082 (CLD_KILLED): Likewise.
2083 (CLD_DUMPED): Likewise.
2084 (CLD_TRAPPED): Likewise.
2085 (CLD_STOPPED): Likewise.
2086 (CLD_CONTINUED): Likewise.
2087 (POLL_IN): Likewise.
2088 (POLL_OUT): Likewise.
2089 (POLL_MSG): Likewise.
2090 (POLL_ERR): Likewise.
2091 (POLL_PRI): Likewise.
2092 (POLL_HUP): Likewise.
2093 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (ILL_ILLOPC): Likewise.
2094 (ILL_ILLOPN): Likewise.
2095 (ILL_ILLADR): Likewise.
2096 (ILL_ILLTRP): Likewise.
2097 (ILL_PRVOPC): Likewise.
2098 (ILL_PRVREG): Likewise.
2099 (ILL_COPROC): Likewise.
2100 (ILL_BADSTK): Likewise.
2101 (FPE_INTDIV): Likewise.
2102 (FPE_INTOVF): Likewise.
2103 (FPE_FLTDIV): Likewise.
2104 (FPE_FLTOVF): Likewise.
2105 (FPE_FLTUND): Likewise.
2106 (FPE_FLTRES): Likewise.
2107 (FPE_FLTINV): Likewise.
2108 (FPE_FLTSUB): Likewise.
2109 (SEGV_MAPERR): Likewise.
2110 (SEGV_ACCERR): Likewise.
2111 (BUS_ADRALN): Likewise.
2112 (BUS_ADRERR): Likewise.
2113 (BUS_OBJERR): Likewise.
2114 (BUS_MCEERR_AR): Likewise.
2115 (BUS_MCEERR_AO): Likewise.
2116 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
2117 (TRAP_TRACE): Likewise.
2118 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
2120 (CLD_KILLED): Likewise.
2121 (CLD_DUMPED): Likewise.
2122 (CLD_TRAPPED): Likewise.
2123 (CLD_STOPPED): Likewise.
2124 (CLD_CONTINUED): Likewise.
2125 (POLL_IN): Likewise.
2126 (POLL_OUT): Likewise.
2127 (POLL_MSG): Likewise.
2128 (POLL_ERR): Likewise.
2129 (POLL_PRI): Likewise.
2130 (POLL_HUP): Likewise.
2131 * conform/Makefile (test-xfail-POSIX/signal.h/conform): Remove.
2132 (test-xfail-POSIX/sys/wait.h/conform): Likewise.
2135 * posix/sched.h [!__USE_XOPEN2K] (__need_time_t): Don't define
2136 before #include of <time.h>.
2137 [!__USE_XOPEN2K] (__need_timespec): Likewise.
2138 * conform/Makefile (test-xfail-POSIX/sched.h/conform): Remove.
2139 (test-xfail-UNIX98/sched.h/conform): Likewise.
2141 2014-03-07 Marcus Shawcroft <marcus.shawcroft@arm.com>
2143 * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept): Detect and
2144 error absence of trapping exception support.
2145 * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Likewise.
2147 2014-03-07 Joseph Myers <joseph@codesourcery.com>
2149 * catgets/Makefile (tests-special): Add $(objpfx)sample.SJIS.cat.
2150 ($(objpfx)sample.SJIS.cat): Use $(evaluate-test).
2151 * timezone/Makefile (testdata): Move definition above include of
2153 (test-zones): New variable.
2154 (tests-special): Add zone files.
2155 (build-testdata): Use $(evaluate-test).
2157 * elf/Makefile (tests-special): Rename tests to end with .out.
2158 ($(objpfx)noload-mem): Likewise.
2159 ($(objpfx)tst-leaks1-mem): Likewise.
2160 ($(objpfx)tst-leaks1-static-mem.out): Likewise.
2161 * iconv/Makefile (xtests-special): Change test-iconvconfig to
2162 $(objpfx)test-iconvconfig.out.
2163 (test-iconvconfig): Change to $(objpfx)test-iconvconfig.out. Use
2164 set -e inside subshell and redirect output to file.
2165 * iconvdata/Makefile (generated): Rename tests to end with .out.
2167 (tests-special): Rename tests to end with .out.
2168 ($(objpfx)mtrace-tst-loading): Likewise.
2169 * intl/Makefile (generated): Likewise.
2170 (tests-special): Likewise.
2171 ($(objpfx)mtrace-tst-gettext): Likewise.
2172 * misc/Makefile (generated): Likewise.
2173 (tests-special): Likewise.
2174 ($(objpfx)tst-error1-mem): Likewise.
2175 * nptl/Makefile (tests-special): Likewise.
2176 ($(objpfx)tst-stack3-mem): Likewise.
2177 (generated): Likewise.
2178 * posix/Makefile (generated): Likewise.
2179 (tests-special): Likewise.
2180 (xtests-special): Likewise.
2181 ($(objpfx)tst-fnmatch-mem): Likewise.
2182 ($(objpfx)bug-regex2-mem): Likewise.
2183 ($(objpfx)bug-regex14-mem): Likewise.
2184 ($(objpfx)bug-regex21-mem): Likewise.
2185 ($(objpfx)bug-regex31-mem): Likewise.
2186 ($(objpfx)tst-vfork3-mem): Likewise.
2187 ($(objpfx)tst-rxspencer-no-utf8-mem): Likewise.
2188 ($(objpfx)tst-pcre-mem): Likewise.
2189 ($(objpfx)tst-boost-mem): Likewise.
2190 ($(objpfx)bug-ga2-mem): Likewise.
2191 ($(objpfx)bug-glob2-mem): Likewise.
2192 * resolv/Makefile (generate): Likewise.
2193 (tests-special): Likewise.
2194 (xtests-special): Likewise.
2195 (generated): Likewise.
2196 ($(objpfx)mtrace-tst-leaks): Likewise.
2197 ($(objpfx)mtrace-tst-leaks2): Likewise.
2199 * scripts/merge-test-results.sh: New file.
2200 * Makefile (tests-special-notdir): New variable.
2201 (tests): Run merge-test-results.sh.
2203 * Rules (tests-special-notdir): New variable.
2204 (xtests-special-notdir): Likewise.
2205 (tests): Run merge-test-results.sh
2208 * Makeconfig (test-xfail-name): New variable.
2209 (evaluate-test): Use $(test-xfail-name) instead of $(@F:.out=) to
2210 compute variable name for expected failures.
2211 * conform/Makefile (conformtest-headers-data): New variable.
2212 (conformtest-standards): Likewise.
2213 (conformtest-headers-ISO): Likewise.
2214 (conformtest-headers-ISO99): Likewise.
2215 (conformtest-headers-ISO11): Likewise.
2216 (conformtest-headers-POSIX): Likewise.
2217 (conformtest-headers-XPG3): Likewise.
2218 (conformtest-headers-XPG4): Likewise.
2219 (conformtest-headers-UNIX98): Likewise.
2220 (conformtest-headers-XOPEN2K): Likewise.
2221 (conformtest-headers-POSIX2008): Likewise.
2222 (conformtest-headers-XOPEN2K8): Likewise.
2223 (conformtest-header-list-base): Likewise.
2224 (conformtest-header-list-tests): Likewise.
2225 (conformtest-header-base): Likewise.
2226 (conformtest-header-tests): Likewise.
2227 (tests-special): Add $(conformtest-header-list-tests). If
2228 [$(fast-check) && !$(cross-compiling)], add
2229 $(conformtest-header-tests) instead of
2230 $(objpfx)run-conformtest.out.
2231 (generated): Add $(conformtest-header-list-base). If
2232 [$(fast-check) && !$(cross-compiling)], add
2233 $(conformtest-header-base). Remove previous setting.
2234 ($(conformtest-header-list-tests)): New target.
2235 (test-xfail-run-conformtest): Remove variable.
2236 ($(objpfx)run-conformtest.out): Remove target.
2237 (test-xfail-ISO11/complex.h/conform): New variable.
2238 (test-xfail-ISO11/stdalign.h/conform): Likewise.
2239 (test-xfail-ISO11/stdnoreturn.h/conform): Likewise.
2240 (test-xfail-XPG3/varargs.h/conform): Likewise.
2241 (test-xfail-XPG4/varargs.h/conform): Likewise.
2242 (test-xfail-UNIX98/varargs.h/conform): Likewise.
2243 (test-xfail-XPG4/ndbm.h/conform): Likewise.
2244 (test-xfail-UNIX98/ndbm.h/conform): Likewise.
2245 (test-xfail-XOPEN2K/ndbm.h/conform): Likewise.
2246 (test-xfail-XOPEN2K8/ndbm.h/conform): Likewise.
2247 (test-xfail-XPG3/fcntl.h/conform): Likewise.
2248 (test-xfail-XPG3/ftw.h/conform): Likewise.
2249 (test-xfail-XPG3/grp.h/conform): Likewise.
2250 (test-xfail-XPG3/langinfo.h/conform): Likewise.
2251 (test-xfail-XPG3/limits.h/conform): Likewise.
2252 (test-xfail-XPG3/pwd.h/conform): Likewise.
2253 (test-xfail-XPG3/search.h/conform): Likewise.
2254 (test-xfail-XPG3/signal.h/conform): Likewise.
2255 (test-xfail-XPG3/stdio.h/conform): Likewise.
2256 (test-xfail-XPG3/stdlib.h/conform): Likewise.
2257 (test-xfail-XPG3/string.h/conform): Likewise.
2258 (test-xfail-XPG3/sys/ipc.h/conform): Likewise.
2259 (test-xfail-XPG3/sys/msg.h/conform): Likewise.
2260 (test-xfail-XPG3/sys/sem.h/conform): Likewise.
2261 (test-xfail-XPG3/sys/shm.h/conform): Likewise.
2262 (test-xfail-XPG3/sys/stat.h/conform): Likewise.
2263 (test-xfail-XPG3/sys/types.h/conform): Likewise.
2264 (test-xfail-XPG3/sys/wait.h/conform): Likewise.
2265 (test-xfail-XPG3/termios.h/conform): Likewise.
2266 (test-xfail-XPG3/time.h/conform): Likewise.
2267 (test-xfail-XPG3/unistd.h/conform): Likewise.
2268 (test-xfail-XPG4/arpa/inet.h/conform): Likewise.
2269 (test-xfail-XPG4/fcntl.h/conform): Likewise.
2270 (test-xfail-XPG4/langinfo.h/conform): Likewise.
2271 (test-xfail-XPG4/netdb.h/conform): Likewise.
2272 (test-xfail-XPG4/netinet/in.h/conform): Likewise.
2273 (test-xfail-XPG4/signal.h/conform): Likewise.
2274 (test-xfail-XPG4/stdio.h/conform): Likewise.
2275 (test-xfail-XPG4/stdlib.h/conform): Likewise.
2276 (test-xfail-XPG4/stropts.h/conform): Likewise.
2277 (test-xfail-XPG4/sys/ipc.h/conform): Likewise.
2278 (test-xfail-XPG4/sys/msg.h/conform): Likewise.
2279 (test-xfail-XPG4/sys/sem.h/conform): Likewise.
2280 (test-xfail-XPG4/sys/shm.h/conform): Likewise.
2281 (test-xfail-XPG4/sys/socket.h/conform): Likewise.
2282 (test-xfail-XPG4/sys/stat.h/conform): Likewise.
2283 (test-xfail-XPG4/sys/time.h/conform): Likewise.
2284 (test-xfail-XPG4/sys/types.h/conform): Likewise.
2285 (test-xfail-XPG4/sys/wait.h/conform): Likewise.
2286 (test-xfail-XPG4/termios.h/conform): Likewise.
2287 (test-xfail-XPG4/ucontext.h/conform): Likewise.
2288 (test-xfail-XPG4/unistd.h/conform): Likewise.
2289 (test-xfail-XPG4/utmpx.h/conform): Likewise.
2290 (test-xfail-POSIX/sched.h/conform): Likewise.
2291 (test-xfail-POSIX/signal.h/conform): Likewise.
2292 (test-xfail-POSIX/sys/wait.h/conform): Likewise.
2293 (test-xfail-POSIX/tar.h/conform): Likewise.
2294 (test-xfail-UNIX98/arpa/inet.h/conform): Likewise.
2295 (test-xfail-UNIX98/fcntl.h/conform): Likewise.
2296 (test-xfail-UNIX98/langinfo.h/conform): Likewise.
2297 (test-xfail-UNIX98/netdb.h/conform): Likewise.
2298 (test-xfail-UNIX98/netinet/in.h/conform): Likewise.
2299 (test-xfail-UNIX98/sched.h/conform): Likewise.
2300 (test-xfail-UNIX98/signal.h/conform): Likewise.
2301 (test-xfail-UNIX98/stdio.h/conform): Likewise.
2302 (test-xfail-UNIX98/stdlib.h/conform): Likewise.
2303 (test-xfail-UNIX98/stropts.h/conform): Likewise.
2304 (test-xfail-UNIX98/sys/ipc.h/conform): Likewise.
2305 (test-xfail-UNIX98/sys/msg.h/conform): Likewise.
2306 (test-xfail-UNIX98/sys/sem.h/conform): Likewise.
2307 (test-xfail-UNIX98/sys/shm.h/conform): Likewise.
2308 (test-xfail-UNIX98/sys/socket.h/conform): Likewise.
2309 (test-xfail-UNIX98/sys/time.h/conform): Likewise.
2310 (test-xfail-UNIX98/sys/wait.h/conform): Likewise.
2311 (test-xfail-UNIX98/ucontext.h/conform): Likewise.
2312 (test-xfail-UNIX98/unistd.h/conform): Likewise.
2313 (test-xfail-UNIX98/utmpx.h/conform): Likewise.
2314 (test-xfail-XOPEN2K/aio.h/conform): Likewise.
2315 (test-xfail-XOPEN2K/arpa/inet.h/conform): Likewise.
2316 (test-xfail-XOPEN2K/fcntl.h/conform): Likewise.
2317 (test-xfail-XOPEN2K/langinfo.h/conform): Likewise.
2318 (test-xfail-XOPEN2K/math.h/conform): Likewise.
2319 (test-xfail-XOPEN2K/mqueue.h/conform): Likewise.
2320 (test-xfail-XOPEN2K/netdb.h/conform): Likewise.
2321 (test-xfail-XOPEN2K/netinet/in.h/conform): Likewise.
2322 (test-xfail-XOPEN2K/semaphore.h/conform): Likewise.
2323 (test-xfail-XOPEN2K/signal.h/conform): Likewise.
2324 (test-xfail-XOPEN2K/stdarg.h/conform): Likewise.
2325 (test-xfail-XOPEN2K/stdio.h/conform): Likewise.
2326 (test-xfail-XOPEN2K/stropts.h/conform): Likewise.
2327 (test-xfail-XOPEN2K/sys/ipc.h/conform): Likewise.
2328 (test-xfail-XOPEN2K/sys/msg.h/conform): Likewise.
2329 (test-xfail-XOPEN2K/sys/sem.h/conform): Likewise.
2330 (test-xfail-XOPEN2K/sys/shm.h/conform): Likewise.
2331 (test-xfail-XOPEN2K/sys/socket.h/conform): Likewise.
2332 (test-xfail-XOPEN2K/sys/wait.h/conform): Likewise.
2333 (test-xfail-XOPEN2K/termios.h/conform): Likewise.
2334 (test-xfail-XOPEN2K/tgmath.h/conform): Likewise.
2335 (test-xfail-XOPEN2K/ucontext.h/conform): Likewise.
2336 (test-xfail-XOPEN2K/utmpx.h/conform): Likewise.
2337 (test-xfail-POSIX2008/arpa/inet.h/conform): Likewise.
2338 (test-xfail-POSIX2008/fcntl.h/conform): Likewise.
2339 (test-xfail-POSIX2008/netdb.h/conform): Likewise.
2340 (test-xfail-POSIX2008/netinet/in.h/conform): Likewise.
2341 (test-xfail-POSIX2008/signal.h/conform): Likewise.
2342 (test-xfail-POSIX2008/stropts.h/conform): Likewise.
2343 (test-xfail-POSIX2008/sys/socket.h/conform): Likewise.
2344 (test-xfail-POSIX2008/sys/wait.h/conform): Likewise.
2345 (test-xfail-XOPEN2K8/arpa/inet.h/conform): Likewise.
2346 (test-xfail-XOPEN2K8/fcntl.h/conform): Likewise.
2347 (test-xfail-XOPEN2K8/limits.h/conform): Likewise.
2348 (test-xfail-XOPEN2K8/math.h/conform): Likewise.
2349 (test-xfail-XOPEN2K8/netdb.h/conform): Likewise.
2350 (test-xfail-XOPEN2K8/netinet/in.h/conform): Likewise.
2351 (test-xfail-XOPEN2K8/signal.h/conform): Likewise.
2352 (test-xfail-XOPEN2K8/stdio.h/conform): Likewise.
2353 (test-xfail-XOPEN2K8/stropts.h/conform): Likewise.
2354 (test-xfail-XOPEN2K8/sys/ipc.h/conform): Likewise.
2355 (test-xfail-XOPEN2K8/sys/msg.h/conform): Likewise.
2356 (test-xfail-XOPEN2K8/sys/select.h/conform): Likewise.
2357 (test-xfail-XOPEN2K8/sys/sem.h/conform): Likewise.
2358 (test-xfail-XOPEN2K8/sys/shm.h/conform): Likewise.
2359 (test-xfail-XOPEN2K8/sys/socket.h/conform): Likewise.
2360 (test-xfail-XOPEN2K8/sys/time.h/conform): Likewise.
2361 (test-xfail-XOPEN2K8/sys/wait.h/conform): Likewise.
2362 (test-xfail-XOPEN2K8/termios.h/conform): Likewise.
2363 (test-xfail-XOPEN2K8/tgmath.h/conform): Likewise.
2364 (test-xfail-XOPEN2K8/utmpx.h/conform): Likewise.
2365 (conformtest-cc-flags): Likewise.
2366 ($(conformtest-header-tests): New target.
2367 * conform/check-header-lists.sh: New file.
2368 * conform/run-conformtest.sh: Remove.
2370 * conform/conformtest.pl: Allow ' and \ in values given for
2372 * conform/data/semaphore.h-data [POSIX] (fcntl.h): Allow header
2374 [POSIX] (sys/types.h): Likewise.
2375 [POSIX2008 || XOPEN2K8] (sys/types.h): Don't allow header
2377 [POSIX || UNIX98 || XOPEN2K] (time.h): Don't allow header
2379 * conform/data/signal.h-data (SIGIO): Remove expectation.
2380 [XPG3] (SIGBUS): Do not expect.
2381 [POSIX || XPG3] (SIGPOLL): Likewise.
2382 [POSIX || XPG3] (SIGPROF): Likewise.
2383 [POSIX || XPG3] (SIGSYS): Likewise.
2384 [XPG3] (SIGTRAP): Likewise.
2385 [POSIX || XPG3] (SIGURG): Likewise.
2386 [POSIX || XPG3] (SIGVTALRM): Likewise.
2387 [POSIX || XPG3] (SIGXCPU): Likewise.
2388 [POSIX || XPG3] (SIGXFSZ): Likewise.
2389 [POSIX] (SA_SIGINFO): Expect.
2390 [XPG3] (siginfo_t): Do not expect type or contents.
2391 [POSIX] (si_pid): Do not expect element.
2392 [POSIX] (si_uid): Likewise.
2393 [POSIX] (si_addr): Likewise.
2394 [POSIX] (si_status): Likewise.
2395 [POSIX] (si_band): Likewise.
2396 [XPG4] (si_value): Likewise.
2397 [POSIX || XPG3] (ILL_ILLOPC): Do not expect.
2398 [POSIX || XPG3] (ILL_ILLOPN): Likewise.
2399 [POSIX || XPG3] (ILL_ILLADR): Likewise.
2400 [POSIX || XPG3] (ILL_ILLTRP): Likewise.
2401 [POSIX || XPG3] (ILL_PRVOPC): Likewise.
2402 [POSIX || XPG3] (ILL_PRVREG): Likewise.
2403 [POSIX || XPG3] (ILL_COPROC): Likewise.
2404 [POSIX || XPG3] (ILL_BADSTK): Likewise.
2405 [POSIX || XPG3] (FPE_INTDIV): Likewise.
2406 [POSIX || XPG3] (FPE_INTOVF): Likewise.
2407 [POSIX || XPG3] (FPE_FLTDIV): Likewise.
2408 [POSIX || XPG3] (FPE_FLTOVF): Likewise.
2409 [POSIX || XPG3] (FPE_FLTUND): Likewise.
2410 [POSIX || XPG3] (FPE_FLTRES): Likewise.
2411 [POSIX || XPG3] (FPE_FLTINV): Likewise.
2412 [POSIX || XPG3] (FPE_FLTSUB): Likewise.
2413 [POSIX || XPG3] (SEGV_MAPERR): Likewise.
2414 [POSIX || XPG3] (SEGV_ACCERR): Likewise.
2415 [POSIX || XPG3] (BUS_ADRALN): Likewise.
2416 [POSIX || XPG3] (BUS_ADRERR): Likewise.
2417 [POSIX || XPG3] (BUS_OBJERR): Likewise.
2418 [POSIX || XPG3] (CLD_EXITED): Likewise.
2419 [POSIX || XPG3] (CLD_KILLED): Likewise.
2420 [POSIX || XPG3] (CLD_DUMPED): Likewise.
2421 [POSIX || XPG3] (CLD_TRAPPED): Likewise.
2422 [POSIX || XPG3] (CLD_STOPPED): Likewise.
2423 [POSIX || XPG3] (CLD_CONTINUED): Likewise.
2424 [POSIX || XPG3] (POLL_IN): Likewise.
2425 [POSIX || XPG3] (POLL_OUT): Likewise.
2426 [POSIX || XPG3] (POLL_MSG): Likewise.
2427 [POSIX || XPG3] (POLL_ERR): Likewise.
2428 [POSIX || XPG3] (POLL_PRI): Likewise.
2429 [POSIX || XPG3] (POLL_HUP): Likewise.
2430 [POSIX || XPG3 || POSIX2008] (TRAP_BRKPT): Likewise.
2431 [POSIX || XPG3 || POSIX2008] (TRAP_TRACE): Likewise.
2432 (SIG*): Do not allow.
2433 [XPG3] (si_*): Likewise.
2434 [XPG3] (SI_*): Likewise.
2435 [XPG3 || XPG4] (sigev_*): Likewise.
2436 [XPG3 || XPG4] (SIGEV_*): Likewise.
2437 [XPG3 || XPG4] (sival_*): Likewise.
2438 [POSIX || XPG3 || XPG4] (uc_*): Likewise.
2439 [POSIX || XPG3] (BUS_*): Likewise.
2440 [POSIX || XPG3] (CLD_*): Likewise.
2441 [POSIX || XPG3] (FPE_*): Likewise.
2442 [POSIX || XPG3] (ILL_*): Likewise.
2443 [POSIX || XPG3] (POLL_*): Likewise.
2444 [POSIX || XPG3] (SEGV_*): Likewise.
2445 [POSIX || XPG3 || POSIX2008] (SS_*): Likewise.
2446 [POSIX || XPG3 || POSIX2008] (SV_*): Likewise.
2447 [POSIX || XPG3 || POSIX2008] (TRAP_*): Likewise.
2448 [POSIX || XPG3 || POSIX2008] (ss_*): Likewise.
2449 [POSIX || XPG3 || POSIX2008] (sv_*): Likewise.
2450 * conform/data/tar.h-data (TMAGLEN): Use macro-int-constant.
2451 Specify type and value.
2452 (TVERSLEN): Likewise.
2453 (REGTYPE): Likewise.
2454 (AREGTYPE): Likewise.
2455 (LNKTYPE): Likewise.
2456 (SYMTYPE): Likewise.
2457 (CHRTYPE): Likewise.
2458 (BLKTYPE): Likewise.
2459 (DIRTYPE): Likewise.
2460 (FIFOTYPE): Likewise.
2461 (CONTTYPE): Likewise.
2466 (TUWRITE): Likewise.
2469 (TGWRITE): Likewise.
2472 (TOWRITE): Likewise.
2474 [POSIX] (TSVTX): Expect constant.
2476 2014-03-06 Joseph Myers <joseph@codesourcery.com>
2478 * Makefile (tests): Change dependencies to ....
2479 (tests-special): ... additions to this variable.
2480 (tests): Depend on $(tests-special).
2481 * Makerules (check-abi-list): New variable.
2482 (check-abi): Depend on $(check-abi-list).
2483 [$(subdir) = elf] (tests-special): Add
2484 $(objpfx)check-abi-libc.out.
2485 [$(build-shared) = yes && subdir] (tests-special): Add
2487 [$(build-shared) = yes && subdir] (tests): Do not depend on
2489 * Rules (tests): Depend on $(tests-special).
2490 (xtests): Depend on $(xtests-special).
2491 * catgets/Makefile (tests): Change dependencies to ....
2492 (tests-special): ... additions to this variable.
2493 * conform/Makefile (tests): Change dependencies to ....
2494 (tests-special): ... additions to this variable.
2495 * elf/Makefile (tests): Change dependencies to ....
2496 (tests-special): ... additions to this variable.
2497 * grp/Makefile (tests): Change dependencies to ....
2498 (tests-special): ... additions to this variable.
2499 * iconv/Makefile (xtests): Change dependencies to ....
2500 (xtests-special): ... additions to this variable.
2501 * iconvdata/Makefile (tests): Change dependencies to ....
2502 (tests-special): ... additions to this variable.
2503 * intl/Makefile (tests): Change dependencies to ....
2504 (tests-special): ... additions to this variable. Also add
2505 $(objpfx)tst-gettext.out.
2506 * io/Makefile (tests): Change dependencies to ....
2507 (tests-special): ... additions to this variable.
2508 * libio/Makefile (tests): Change dependencies to ....
2509 (tests-special): ... additions to this variable.
2510 * malloc/Makefile (tests): Change dependencies to ....
2511 (tests-special): ... additions to this variable.
2512 * misc/Makefile (tests): Change dependencies to ....
2513 (tests-special): ... additions to this variable.
2514 * nptl/Makefile (tests): Change dependencies to ....
2515 (tests-special): ... additions to this variable.
2516 * nptl_db/Makefile (tests): Change dependencies to ....
2517 (tests-special): ... additions to this variable.
2518 * posix/Makefile (tests): Change dependencies to ....
2519 (tests-special): ... additions to this variable.
2520 (xtests): Change dependencies to ....
2521 (xtests-special): ... additions to this variable.
2522 * resolv/Makefile (tests): Change dependencies to ....
2523 (tests-special): ... additions to this variable.
2524 (xtests): Change dependencies to ....
2525 (xtests-special): ... additions to this variable.
2526 * stdio-common/Makefile (tests): Change dependencies to ....
2527 (tests-special): ... additions to this variable.
2528 (do-tst-unbputc): Remove target.
2529 (do-tst-printf): Likewise.
2530 * stdlib/Makefile (tests): Change dependencies to ....
2531 (tests-special): ... additions to this variable.
2532 * string/Makefile (tests): Change dependencies to ....
2533 (tests-special): ... additions to this variable.
2534 * sysdeps/x86/Makefile (tests): Change dependencies to ....
2535 (tests-special): ... additions to this variable.
2537 * conform/data/netinet/tcp.h-data [POSIX2008 || XOPEN2K8]: Enable
2539 * conform/data/sys/timeb.h-data [POSIX2008 || XOPEN2K8]: Disable
2541 * conform/data/sys/uio.h-data [POSIX2008]: Likewise.
2542 * conform/data/ucontext.h-data [POSIX2008 || XOPEN2K8]: Likewise.
2544 * conform/data/aio.h-data [XPG3 || XPG4]: Disable whole file.
2545 * conform/data/arpa/inet.h-data [XPG3]: Likewise.
2546 * conform/data/dlfcn.h-data [XPG3 || XPG4]: Likewise.
2547 * conform/data/fmtmsg.h-data [XPG3]: Likewise.
2548 * conform/data/libgen.h-data [XPG3]: Likewise.
2549 * conform/data/mqueue.h-data [XPG3 || XPG4]: Likewise.
2550 * conform/data/ndbm.h-data [XPG3]: Likewise.
2551 * conform/data/net/if.h-data [XPG3 || XPG4 || UNIX98]: Likewise.
2552 * conform/data/netdb.h-data [XPG3]: Likewise.
2553 * conform/data/netinet/in.h-data [XPG3]: Likewise.
2554 * conform/data/poll.h-data [XPG3]: Likewise.
2555 * conform/data/spawn.h-data [XPG3 || XPG4 || UNIX98]: Likewise.
2556 * conform/data/strings.h-data [XPG3]: Likewise.
2557 * conform/data/stropts.h-data [XPG3]: Likewise.
2558 * conform/data/sys/mman.h-data [XPG3]: Likewise.
2559 * conform/data/sys/resource.h-data [XPG3]: Likewise.
2560 * conform/data/sys/select.h-data [XPG3 || XPG4 || UNIX98]:
2562 * conform/data/sys/statvfs.h-data [XPG3]: Likewise.
2563 * conform/data/sys/time.h-data [XPG3]: Likewise.
2564 * conform/data/sys/timeb.h-data [XPG3]: Likewise.
2565 * conform/data/sys/uio.h-data [XPG3]: Likewise.
2566 * conform/data/sys/un.h-data [XPG3]: Likewise.
2567 * conform/data/syslog.h-data [XPG3]: Likewise.
2568 * conform/data/ucontext.h-data [XPG3]: Likewise.
2569 * conform/data/utmpx.h-data [XPG3]: Likewise.
2570 * conform/data/varargs.h-data [UNIX98]: Enable file.
2572 * manual/Makefile (INSTALL_INFO): Remove variable setting.
2574 * math/libm-test.inc (struct test_f_f_data): Move expected results
2575 into structure for each rounding mode.
2576 (struct test_ff_f_data): Likewise.
2577 (struct test_ff_f_data_nexttoward): Likewise.
2578 (struct test_fi_f_data): Likewise.
2579 (struct test_fl_f_data): Likewise.
2580 (struct test_if_f_data): Likewise.
2581 (struct test_fff_f_data): Likewise.
2582 (struct test_c_f_data): Likewise.
2583 (struct test_f_f1_data): Likewise.
2584 (struct test_fF_f1_data): Likewise.
2585 (struct test_ffI_f1_data): Likewise.
2586 (struct test_c_c_data): Likewise.
2587 (struct test_cc_c_data): Likewise.
2588 (struct test_f_i_data): Likewise.
2589 (struct test_ff_i_data): Likewise.
2590 (struct test_f_l_data): Likewise.
2591 (struct test_f_L_data): Likewise.
2592 (struct test_fFF_11_data): Likewise.
2594 (RM_FE_DOWNWARD): Likewise.
2595 (RM_FE_TONEAREST): Likewise.
2596 (RM_FE_TOWARDZERO): Likewise.
2597 (RM_FE_UPWARD): Likewise.
2598 (RUN_TEST_LOOP_f_f): Update references to expected results.
2599 (RUN_TEST_LOOP_2_f): Likewise.
2600 (RUN_TEST_LOOP_fff_f): Likewise.
2601 (RUN_TEST_LOOP_c_f): Likewise.
2602 (RUN_TEST_LOOP_f_f1): Likewise.
2603 (RUN_TEST_LOOP_fF_f1): Likewise.
2604 (RUN_TEST_LOOP_fI_f1): Likewise.
2605 (RUN_TEST_LOOP_ffI_f1): Likewise.
2606 (RUN_TEST_LOOP_c_c): Likewise.
2607 (RUN_TEST_LOOP_cc_c): Likewise.
2608 (RUN_TEST_LOOP_f_i): Likewise.
2609 (RUN_TEST_LOOP_f_i_tg): Likewise.
2610 (RUN_TEST_LOOP_ff_i_tg): Likewise.
2611 (RUN_TEST_LOOP_f_b): Likewise.
2612 (RUN_TEST_LOOP_f_b_tg): Likewise.
2613 (RUN_TEST_LOOP_f_l): Likewise.
2614 (RUN_TEST_LOOP_f_L): Likewise.
2615 (RUN_TEST_LOOP_fFF_11): Likewise.
2616 * math/gen-libm-test.pl (parse_args): Output four copies of
2617 expected results for each test.
2619 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
2620 (__ASSUME_UTIMES): Remove.
2621 * sysdeps/unix/sysv/linux/tile/kernel-features.h
2622 (__ASSUME_UTIMES): Likewise.
2624 * math/gen-auto-libm-tests.c: Update comment on output format.
2625 (output_for_one_input_case): Generate before-rounding and
2626 after-rounding information as conditions on output flags not
2627 floating-point format.
2628 * math/auto-libm-test-out: Regenerated.
2629 * math/gen-libm-test.pl (cond_value): New function.
2630 (or_cond_value): Use cond_value.
2631 (generate_testfile): Handle conditional exceptions.
2633 2014-03-05 Joseph Myers <joseph@codesourcery.com>
2635 * math/libm-test.inc (max_valid_error): New variable.
2636 (init_max_error): Take new argument specifying whether function
2637 results are exactly determined. Set max_valid_error and bound
2638 other variables for errors based on this argument.
2639 (set_max_error): Do not record results above max_valid_error.
2640 (check_float_internal): Only accept errors of up to 0.5ulps if
2641 also at most max_valid_error.
2642 (START): Take new argument EXACT and pass it to init_max_error.
2643 (acos_test): Update call to START.
2644 (acos_test_tonearest): Likewise.
2645 (acos_test_towardzero): Likewise.
2646 (acos_test_downward): Likewise.
2647 (acos_test_upward): Likewise.
2648 (acosh_test): Likewise.
2649 (asin_test): Likewise.
2650 (asin_test_tonearest): Likewise.
2651 (asin_test_towardzero): Likewise.
2652 (asin_test_downward): Likewise.
2653 (asin_test_upward): Likewise.
2654 (asinh_test): Likewise.
2655 (atan_test): Likewise.
2656 (atanh_test): Likewise.
2657 (atan2_test): Likewise.
2658 (cabs_test): Likewise.
2659 (cacos_test): Likewise.
2660 (cacosh_test): Likewise.
2661 (carg_test): Likewise.
2662 (casin_test): Likewise.
2663 (casinh_test): Likewise.
2664 (catan_test): Likewise.
2665 (catanh_test): Likewise.
2666 (cbrt_test): Likewise.
2667 (ccos_test): Likewise.
2668 (ccosh_test): Likewise.
2669 (ceil_test): Likewise.
2670 (cexp_test): Likewise.
2671 (cimag_test): Likewise.
2672 (clog_test): Likewise.
2673 (clog10_test): Likewise.
2674 (conj_test): Likewise.
2675 (copysign_test): Likewise.
2676 (cos_test): Likewise.
2677 (cos_test_tonearest): Likewise.
2678 (cos_test_towardzero): Likewise.
2679 (cos_test_downward): Likewise.
2680 (cos_test_upward): Likewise.
2681 (cosh_test): Likewise.
2682 (cosh_test_tonearest): Likewise.
2683 (cosh_test_towardzero): Likewise.
2684 (cosh_test_downward): Likewise.
2685 (cosh_test_upward): Likewise.
2686 (cpow_test): Likewise.
2687 (cproj_test): Likewise.
2688 (creal_test): Likewise.
2689 (csin_test): Likewise.
2690 (csinh_test): Likewise.
2691 (csqrt_test): Likewise.
2692 (ctan_test): Likewise.
2693 (ctan_test_tonearest): Likewise.
2694 (ctan_test_towardzero): Likewise.
2695 (ctan_test_downward): Likewise.
2696 (ctan_test_upward): Likewise.
2697 (ctanh_test): Likewise.
2698 (ctanh_test_tonearest): Likewise.
2699 (ctanh_test_towardzero): Likewise.
2700 (ctanh_test_downward): Likewise.
2701 (ctanh_test_upward): Likewise.
2702 (erf_test): Likewise.
2703 (erfc_test): Likewise.
2704 (exp_test): Likewise.
2705 (exp_test_tonearest): Likewise.
2706 (exp_test_towardzero): Likewise.
2707 (exp_test_downward): Likewise.
2708 (exp_test_upward): Likewise.
2709 (exp10_test): Likewise.
2710 (exp10_test_tonearest): Likewise.
2711 (exp10_test_towardzero): Likewise.
2712 (exp10_test_downward): Likewise.
2713 (exp10_test_upward): Likewise.
2714 (pow10_test): Likewise.
2715 (exp2_test): Likewise.
2716 (expm1_test): Likewise.
2717 (expm1_test_tonearest): Likewise.
2718 (expm1_test_towardzero): Likewise.
2719 (expm1_test_downward): Likewise.
2720 (expm1_test_upward): Likewise.
2721 (fabs_test): Likewise.
2722 (fdim_test): Likewise.
2723 (floor_test): Likewise.
2724 (fma_test): Likewise.
2725 (fma_test_towardzero): Likewise.
2726 (fma_test_downward): Likewise.
2727 (fma_test_upward): Likewise.
2728 (fmax_test): Likewise.
2729 (fmin_test): Likewise.
2730 (fmod_test): Likewise.
2731 (fpclassify_test): Likewise.
2732 (frexp_test): Likewise.
2733 (hypot_test): Likewise.
2734 (ilogb_test): Likewise.
2735 (isfinite_test): Likewise.
2736 (finite_test): Likewise.
2737 (isgreater_test): Likewise.
2738 (isgreaterequal_test): Likewise.
2739 (isinf_test): Likewise.
2740 (isless_test): Likewise.
2741 (islessequal_test): Likewise.
2742 (islessgreater_test): Likewise.
2743 (isnan_test): Likewise.
2744 (isnormal_test): Likewise.
2745 (issignaling_test): Likewise.
2746 (isunordered_test): Likewise.
2747 (j0_test): Likewise.
2748 (j1_test): Likewise.
2749 (jn_test): Likewise.
2750 (ldexp_test): Likewise.
2751 (lgamma_test): Likewise.
2752 (gamma_test): Likewise.
2753 (lrint_test): Likewise.
2754 (lrint_test_tonearest): Likewise.
2755 (lrint_test_towardzero): Likewise.
2756 (lrint_test_downward): Likewise.
2757 (lrint_test_upward): Likewise.
2758 (llrint_test): Likewise.
2759 (llrint_test_tonearest): Likewise.
2760 (llrint_test_towardzero): Likewise.
2761 (llrint_test_downward): Likewise.
2762 (llrint_test_upward): Likewise.
2763 (log_test): Likewise.
2764 (log10_test): Likewise.
2765 (log1p_test): Likewise.
2766 (log2_test): Likewise.
2767 (logb_test): Likewise.
2768 (logb_test_downward): Likewise.
2769 (lround_test): Likewise.
2770 (llround_test): Likewise.
2771 (modf_test): Likewise.
2772 (nearbyint_test): Likewise.
2773 (nextafter_test): Likewise.
2774 (nexttoward_test): Likewise.
2775 (pow_test): Likewise.
2776 (pow_test_tonearest): Likewise.
2777 (pow_test_towardzero): Likewise.
2778 (pow_test_downward): Likewise.
2779 (pow_test_upward): Likewise.
2780 (remainder_test): Likewise.
2781 (drem_test): Likewise.
2782 (remainder_test_tonearest): Likewise.
2783 (drem_test_tonearest): Likewise.
2784 (remainder_test_towardzero): Likewise.
2785 (drem_test_towardzero): Likewise.
2786 (remainder_test_downward): Likewise.
2787 (drem_test_downward): Likewise.
2788 (remainder_test_upward): Likewise.
2789 (drem_test_upward): Likewise.
2790 (remquo_test): Likewise.
2791 (rint_test): Likewise.
2792 (rint_test_tonearest): Likewise.
2793 (rint_test_towardzero): Likewise.
2794 (rint_test_downward): Likewise.
2795 (rint_test_upward): Likewise.
2796 (round_test): Likewise.
2797 (scalb_test): Likewise.
2798 (scalbn_test): Likewise.
2799 (scalbln_test): Likewise.
2800 (signbit_test): Likewise.
2801 (sin_test): Likewise.
2802 (sin_test_tonearest): Likewise.
2803 (sin_test_towardzero): Likewise.
2804 (sin_test_downward): Likewise.
2805 (sin_test_upward): Likewise.
2806 (sincos_test): Likewise.
2807 (sinh_test): Likewise.
2808 (sinh_test_tonearest): Likewise.
2809 (sinh_test_towardzero): Likewise.
2810 (sinh_test_downward): Likewise.
2811 (sinh_test_upward): Likewise.
2812 (sqrt_test): Likewise.
2813 (sqrt_test_tonearest): Likewise.
2814 (sqrt_test_towardzero): Likewise.
2815 (sqrt_test_downward): Likewise.
2816 (sqrt_test_upward): Likewise.
2817 (tan_test): Likewise.
2818 (tan_test_tonearest): Likewise.
2819 (tan_test_towardzero): Likewise.
2820 (tan_test_downward): Likewise.
2821 (tan_test_upward): Likewise.
2822 (tanh_test): Likewise.
2823 (tgamma_test): Likewise.
2824 (trunc_test): Likewise.
2825 (y0_test): Likewise.
2826 (y1_test): Likewise.
2827 (yn_test): Likewise.
2828 (significand_test): Likewise.
2830 * math/libm-test.inc (struct ulp_data): Don't refer to ulps for
2831 individual tests in comment.
2832 (libm-test-ulps.h): Don't refer to test_ulps in #include comment.
2833 (prev_max_error): New variable.
2834 (prev_real_max_error): Likewise.
2835 (prev_imag_max_error): Likewise.
2836 (compare_ulp_data): Don't refer to test names in comment.
2837 (find_test_ulps): Remove function.
2838 (find_function_ulps): Likewise.
2839 (find_complex_function_ulps): Likewise.
2840 (init_max_error): Take function name as argument. Look up ulps
2842 (print_ulps): Remove function.
2843 (print_max_error): Use prev_max_error instead of calling
2845 (print_complex_max_error): Use prev_real_max_error and
2846 prev_imag_max_error instead of calling find_complex_function_ulps.
2847 (check_float_internal): Take max_ulp parameter instead of calling
2848 find_test_ulps. Don't call print_ulps.
2849 (check_float): Update call to check_float_internal.
2850 (check_complex): Update calls to check_float_internal.
2851 (START): Pass argument to init_max_error.
2852 * math/gen-libm-test.pl (%results): Don't include "kind"
2854 (parse_ulps): Don't handle ulps of individual tests.
2855 (print_ulps_file): Likewise.
2856 (output_ulps): Likewise.
2857 * math/README.libm-test: Update.
2858 * manual/libm-err-tab.pl (parse_ulps): Don't handle ulps of
2860 * sysdeps/aarch64/libm-test-ulps: Remove individual test ulps.
2861 * sysdeps/alpha/fpu/libm-test-ulps: Likewise.
2862 * sysdeps/arm/libm-test-ulps: Likewise.
2863 * sysdeps/i386/fpu/libm-test-ulps: Likewise.
2864 * sysdeps/ia64/fpu/libm-test-ulps: Likewise.
2865 * sysdeps/m68k/coldfire/fpu/libm-test-ulps: Likewise.
2866 * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Likewise.
2867 * sysdeps/microblaze/libm-test-ulps: Likewise.
2868 * sysdeps/mips/mips32/libm-test-ulps: Likewise.
2869 * sysdeps/mips/mips64/libm-test-ulps: Likewise.
2870 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
2871 * sysdeps/powerpc/nofpu/libm-test-ulps: Likewise.
2872 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
2873 * sysdeps/sh/libm-test-ulps: Likewise.
2874 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
2875 * sysdeps/tile/libm-test-ulps: Likewise.
2876 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2878 2014-03-04 Joseph Myers <joseph@codesourcery.com>
2880 * math/libm-test.inc (print_complex_max_error): Check separately
2881 whether real and imaginary errors are within allowed range and
2882 pass 0 to print_complex_function_ulps instead of value within
2885 2014-03-04 Siddhesh Poyarekar <siddhesh@redhat.com>
2887 * libio/tst-ftell-active-handler.c (get_handles_fdopen): Fix
2889 (get_handles_fopen): Likewise.
2890 (do_write_test): Likewise.
2892 * libio/wfileops.c (do_ftell_wide): Fix up formatting.
2894 * libio/fileops.c (do_ftell): Use cached offset when
2896 * libio/iofwide.c (do_ftell_wide): Likewise.
2897 * libio/iofdopen.c (_IO_new_fdopen): Don't use
2899 * libio/wfileops.c (_IO_fwide): Don't cache offset.
2902 * libio/libioP.h (get_file_offset): New function.
2903 * libio/fileops.c (get_file_offset): Likewise.
2904 (do_ftell): Likewise.
2905 (_IO_new_file_seekoff): Split out ftell logic.
2906 * libio/wfileops.c (do_ftell_wide): Likewise.
2907 (_IO_wfile_seekoff): Split out ftell logic.
2908 * libio/tst-ftell-active-handler.c: New test case.
2909 * libio/Makefile (tests): Add it.
2911 2014-03-03 Roland McGrath <roland@hack.frob.com>
2913 * nptl/ChangeLog: Renamed to nptl/ChangeLog.old, no longer used.
2914 * nptl_db/ChangeLog: Renamed to nptl_db/ChangeLog.old, no longer used.
2916 2014-03-03 Siddhesh Poyarekar <siddhesh@redhat.com>
2919 * nscd/connections.c (nscd_init): Call do_exit.
2920 (start_threads): Call do_exit and notify_parent.
2921 (begin_drop_privileges): Call do_exit.
2922 (finish_drop_privileges): Likewise.
2923 * nscd/selinux.c (preserve_capabilities): Likewise.
2924 (install_real_capabilities): Likewise.
2925 (nscd_selinux_enabled): Likewise.
2926 (avc_create_thread): Likewise.
2927 (avc_alloc_lock): Likewise.
2928 (nscd_avc_init): Likewise.
2929 * nscd/nscd.c (parent_fd): New static variable.
2930 (main): Create a pipe between parent and child processes.
2931 Skip closing parent_fd.
2932 (monitor_child): New function.
2933 (do_exit): Likewise.
2934 (notify_parent): Likewise.
2935 * nscd/nscd.h (notify_parent): Likewise.
2936 (do_exit): Likewise.
2938 2014-03-03 Carlos O'Donell <carlos@redhat.com>
2940 * malloc/malloc.c (__libc_calloc): Revert last change.
2942 2014-03-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2944 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
2946 2014-03-03 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
2948 * sysdeps/powerpc/powerpc64/power7/strrchr.S: New file.
2949 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strrchr multiarch
2951 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
2952 (__libc_ifunc_impl_list): Likewise.
2953 * sysdeps/powerpc/powerpc64/multiarch/strrchr.c: New file.
2954 * sysdeps/powerpc/powerpc64/multiarch/strrchr-ppc64.c: New file.
2955 * sysdeps/powerpc/powerpc64/multiarch/strrchr-power7.S: New file.
2956 * string/strrchr.c: Define STRRCHR.
2958 2014-02-28 Ondřej Bílka <neleai@seznam.cz>
2960 * benchtest/bench-strtok.c (simple_strtok): Delete.
2961 (strtok_string): Use as benchmark.
2962 * string/strtok (STRTOK): New macro.
2964 2014-02-28 Carlos O'Donell <carlos@redhat.com>
2966 * manual/threads.texi: Add header and standard comments to all
2969 * elf/dl-lookup.c (check_match): New function.
2970 (ELF_MACHINE_SYM_NO_MATCH): Adjust comment.
2971 (do_lookup_x): Remove nested function check_match. Use non-nested
2972 function check_match.
2974 2014-02-28 Roland McGrath <roland@hack.frob.com>
2976 * csu/Makefile (generated, before-compile): Use += rather than =.
2977 * catgets/Makefile (generated, generated-dirs): Likewise.
2978 * debug/Makefile (generated): Likewise.
2979 * dlfcn/Makefile (generated): Likewise.
2980 * elf/Makefile (before-compile, generated, generated-dirs): Likewise.
2981 * iconvdata/Makefile (before-compile, generated): Likewise.
2982 * intl/Makefile (before-compile, generated, generated-dirs): Likewise.
2983 * libio/Makefile (generated): Likewise.
2984 * malloc/Makefile (generated): Likewise.
2985 * manual/Makefile (generated, generated-dirs): Likewise.
2986 * misc/Makefile (generated): Likewise.
2987 * posix/Makefile (generated): Likewise.
2988 * resolv/Makefile (generated): Likewise.
2989 * sunrpc/Makefile (generated, generated-dirs): Likewise.
2990 * timezone/Makefile (generated, generated-dirs): Likewise.
2992 * stdio-common/Versions (libc: GLIBC_PRIVATE): Add missing }.
2994 2014-02-27 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2996 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llround
2997 power8 implementation.
2998 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power8.S: New
2999 file: POWER8 llround ifunc implementation.
3000 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c
3001 (__lllround): Add POWER8 implementation.
3002 * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S: New file:
3003 POWER8 llround implementation.
3005 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llrint
3006 power8 implementation.
3007 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power8.S: New
3008 file: POWER8 llrint ifunc implementation.
3009 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint.c (__lllrint):
3010 Add POWER8 implementation.
3011 * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S: New file:
3012 POWER8 llrint implementation.
3014 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add finite
3015 power8 implementation.
3016 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power8.S: New
3017 file: POWER8 finite ifunc implementation.
3018 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c (__finite):
3019 Add POWER8 implementation.
3020 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef.c (__finitef):
3022 * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S: New file:
3023 POWER8 finite implementation.
3024 * sysdeps/powerpc/powerpc64/power8/fpu/s_finitef.S: New file.
3026 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isinf
3027 power8 implementation.
3028 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power8.S: New
3029 file: POWER8 isinf ifunc implementation.
3030 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c (__isinf): Add
3031 POWER8 implementation.
3032 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff.c (__isinff):
3034 * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S: New file: POWER8
3035 isinf implementation.
3036 * sysdeps/powerpc/powerpc64/power8/fpu/s_isinff.S: New file.
3038 * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h
3039 (INIT_ARCH): Add hwcap2 initialization.
3040 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isnan
3041 power8 implementation.
3042 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power8.S: New
3043 file: POWER8 isnan ifunc implementation.
3044 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c (__isnan): Add
3045 POWER8 implementation.
3046 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnanf.c (__isnanf):
3048 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S: New file: POWER8
3049 isnan implementation.
3050 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnanf.S: New file.
3052 2014-02-27 Joey Ye <joey.ye@arm.com>
3054 * sysdeps/arm/soft-fp/sfp-machine.h (_FP_NANFRAC_S, _FP_NANFRAC_D)
3055 (_FP_NANFRAC_Q): Set to zero.
3057 2014-02-27 Siddhesh Poyarekar <siddhesh@redhat.com>
3060 * math/auto-libm-test-in: New test inputs.
3061 * math/auto-libm-test-out: Regenerate.
3062 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Preserve sign of A
3065 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
3067 2014-02-27 Joseph Myers <joseph@codesourcery.com>
3069 * scripts/evaluate-test.sh: Take new argument indicating whether
3070 failure is expected.
3071 * Makeconfig (evaluate-test): Pass argument to evaluate-test.sh
3072 indicating whether failure is expected.
3073 * conform/Makefile (test-xfail-run-conformtest): New variable.
3074 ($(objpfx)run-conformtest.out): Don't expect to fail at makefile
3076 * posix/Makefile (test-xfail-annexc): New variable.
3077 ($(objpfx)annexc.out): Don't expect to fail at makefile level.
3079 2014-02-26 Joseph Myers <joseph@codesourcery.com>
3081 * argp/Makefile: Include Makeconfig immediately after defining
3083 * assert/Makefile: Likewise.
3084 * benchtests/Makefile: Likewise.
3085 * catgets/Makefile: Likewise.
3086 * conform/Makefile: Likewise.
3087 * crypt/Makefile: Likewise.
3088 * csu/Makefile: Likewise.
3089 (all): Remove target.
3090 * ctype/Makefile: Include Makeconfig immediately after defining
3092 * debug/Makefile: Likewise.
3093 * dirent/Makefile: Likewise.
3094 * dlfcn/Makefile: Likewise.
3095 * gmon/Makefile: Likewise.
3096 * gnulib/Makefile: Likewise.
3097 * grp/Makefile: Likewise.
3098 * gshadow/Makefile: Likewise.
3099 * hesiod/Makefile: Likewise.
3100 * hurd/Makefile: Likewise.
3101 (all): Remove target.
3102 * iconvdata/Makefile: Include Makeconfig immediately after
3104 * inet/Makefile: Likewise.
3105 * intl/Makefile: Likewise.
3106 * io/Makefile: Likewise.
3107 * libio/Makefile: Likewise.
3108 (all): Remove target.
3109 * locale/Makefile: Include Makeconfig immediately after defining
3111 * login/Makefile: Likewise.
3112 * mach/Makefile: Likewise.
3113 (all): Remove target.
3114 * malloc/Makefile: Include Makeconfig immediately after defining
3116 (all): Remove target.
3117 * manual/Makefile: Include Makeconfig immediately after defining
3119 * math/Makefile: Likewise.
3120 * misc/Makefile: Likewise.
3121 * nis/Makefile: Likewise.
3122 * nss/Makefile: Likewise.
3123 * po/Makefile: Likewise.
3124 (all): Remove target.
3125 * posix/Makefile: Include Makeconfig immediately after defining
3127 * pwd/Makefile: Likewise.
3128 * resolv/Makefile: Likewise.
3129 * resource/Makefile: Likewise.
3130 * rt/Makefile: Likewise.
3131 * setjmp/Makefile: Likewise.
3132 * shadow/Makefile: Likewise.
3133 * signal/Makefile: Likewise.
3134 * socket/Makefile: Likewise.
3135 * soft-fp/Makefile: Likewise.
3136 * stdio-common/Makefile: Likewise.
3137 * stdlib/Makefile: Likewise.
3138 * streams/Makefile: Likewise.
3139 * string/Makefile: Likewise.
3140 * sunrpc/Makefile: Likewise.
3141 (all): Remove target.
3142 * sysvipc/Makefile: Include Makeconfig immediately after defining
3144 * termios/Makefile: Likewise.
3145 * time/Makefile: Likewise.
3146 * timezone/Makefile: Likewise.
3147 (all): Remove target.
3148 * wcsmbs/Makefile: Include Makeconfig immediately after defining
3150 * wctype/Makefile: Likewise.
3152 2014-02-26 Steve Ellcey <sellcey@mips.com>
3154 * sysdeps/mips/math_private.h (_FPU_MASK_ALL) New.
3155 (libc_feholdexcept_mips): Use _FPU_MASK_ALL.
3156 (libc_feholdexcept_setround_mips): Ditto.
3157 (libc_feholdsetround): New.
3158 (libc_feholdsetroundf): New.
3159 (libc_feholdsetroundl): New.
3160 (libc_feupdateenv_test_mips): New.
3161 (libc_feupdateenv_test): New.
3162 (libc_feupdateenv_testf): New.
3163 (libc_feupdateenv_testl): New.
3164 (libc_feresetround): New.
3165 (libc_feresetroundf): New.
3166 (libc_feresetroundl): New.
3167 (libc_fetestexcept_mips): New.
3168 (libc_fetestexcept): New.
3169 (libc_fetestexceptf): New.
3170 (libc_fetestexceptl): New.
3172 (libc_feholdexcept_setround_mips_ctx): New.
3173 (libc_feholdexcept_setround_ctx): New.
3174 (libc_feholdexcept_setroundf_ctx): New.
3175 (libc_feholdexcept_setroundl_ctx): New.
3176 (libc_fesetenv_mips_ctx): New.
3177 (libc_fesetenv_ctx): New.
3178 (libc_fesetenv_ctxf): New.
3179 (libc_fesetenv_ctxl): New.
3180 (libc_feupdateenv_mips_ctx): New.
3181 (libc_feupdateenv_ctx): New.
3182 (libc_feupdateenvf_ctx): New.
3183 (libc_feupdateenvl_ctx): New.
3184 (libc_feholdsetround_mips_ctx): New.
3185 (libc_feholdsetround_ctx): New.
3186 (libc_feholdsetroundf_ctx): New.
3187 (libc_feholdsetroundl_ctx): New.
3188 (libc_feresetround_mips_ctx): New.
3189 (libc_feresetround_ctx): New.
3190 (libc_feresetroundf_ctx): New.
3191 (libc_feresetroundl_ctx): New.
3193 2014-02-26 Carlos O'Donell <carlos@redhat.com>
3195 * manual/ipc.texi (Semaphores): Use @Theglibc{}.
3197 * manual/ipc.texi: New file.
3198 * manual/Makefile (chapters): Add ipc.
3199 * manual/job.texi: Add "Inter-Process Communication" to next.
3200 * manual/process.texi: Add "Inter-Process Communication" to prev.
3202 2014-02-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3204 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
3206 2014-02-26 Ondřej Bílka <neleai@seznam.cz>
3208 * malloc/malloc.c (__libc_calloc): Simplify implementation.
3210 * manual/arith.texi: Fix spaces after sentences.
3211 * manual/charset.texi: Likewise.
3212 * manual/errno.texi: Likewise.
3213 * manual/install.texi: Likewise.
3214 * manual/llio.texi: Likewise.
3215 * manual/locale.texi: Likewise.
3216 * manual/maint.texi: Likewise.
3217 * manual/math.texi: Likewise.
3218 * manual/memory.texi: Likewise.
3219 * manual/message.texi: Likewise.
3220 * manual/probes.texi: Likewise.
3221 * manual/resource.texi: Likewise.
3222 * manual/signal.texi: Likewise.
3223 * manual/socket.texi: Likewise.
3224 * manual/stdio.texi: Likewise.
3225 * manual/string.texi: Likewise.
3226 * manual/time.texi: Likewise.
3227 * manual/users.texi: Likewise.
3229 2014-02-25 Carlos O'Donell <carlos@redhat.com>
3232 * include/features.h: Don't warn about _BSD_SOURCE or _SVID_SOURCE if
3233 _DEFAULT_SOURCE is defined.
3235 2014-02-25 Ulrich Drepper <drepper@gmail.com>
3236 Carlos O'Donell <carlos@redhat.com>
3239 * elf/dl-tls.c (_dl_count_modids): New function.
3240 * sysdeps/generic/ldsodefs.h: Declare _dl_count_modids.
3241 * elf/rtld.c (dl_main): Call _dl_count_modids to track TLS usage in
3242 audit library and increment generation counter.
3243 (_dl_allocate_tls_init): Add assertion to check TLS generation count.
3244 * elf/tst-audit9.c: New file.
3245 * elf/tst-auditmod9a.c: New file.
3246 * elf/tst-auditmod9b.c: New file.
3247 * elf/Makefile: Add rules to build and run tst-audit9.
3249 2014-02-25 Florian Weimer <fweimer@redhat.com>
3252 * misc/sys/select.h (__FD_MASK): Avoid signed integer overflow.
3254 2014-02-25 Will Newton <will.newton@linaro.org>
3256 * sysdeps/arm/__longjmp.S: Include stap-probe.h.
3257 (__longjmp): Restore sp and lr before restoring callee
3258 saved registers. Add longjmp and longjmp_target
3259 SystemTap probe point.
3260 * sysdeps/arm/bits/setjmp.h (__jmp_buf): Update comment.
3261 * sysdeps/arm/include/bits/setjmp.h (__JMP_BUF_SP):
3262 Define to zero to match jmpbuf layout.
3263 * sysdeps/arm/setjmp.S: Include stap-probe.h.
3264 (__sigsetjmp): Save sp and lr before saving callee
3265 saved registers. Add setjmp SystemTap probe point.
3267 2014-02-24 Stefan Liebler <stli@linux.vnet.ibm.com>
3269 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
3271 2014-02-24 Andreas Schwab <schwab@suse.de>
3274 * elf/pldd.c (wait_for_ptrace_stop): New function.
3275 (main): Call it after attaching.
3277 2014-02-22 Roland McGrath <roland@hack.frob.com>
3279 * Makerules ($(common-objpfx)Versions.v.i): No longer depend
3280 on $(common-objpfx)abi-versions.h; using <shlib-compat.h> inside
3281 Versions files is now verboten.
3282 * hurd/Versions (libc: GLIBC_2.0):
3283 Remove various [SHLIB_COMPAT (libc, GLIBC_2_0, ...)] sections.
3284 (libc: HURD_CTHREADS_0.3): Remove conditionalization, was under
3285 [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_2)].
3286 * mach/Versions: Likewise.
3288 * csu/Versions: Remove unused %include.
3289 * resolv/Versions: Likewise.
3291 2014-02-21 Joseph Myers <joseph@codesourcery.com>
3293 * Makefile ($(objpfx)c++-types-check.out): Use $(evaluate-test).
3294 ($(objpfx)check-local-headers.out): Likewise.
3295 ($(objpfx)begin-end-check.out): Likewise.
3296 * Makerules (check-abi-%.out): Likewise.
3297 * catgets/Makefile ($(objpfx)test1.cat): Likewise.
3298 ($(objpfx)test2.cat): Likewise.
3299 ($(objpfx)de/libc.cat): Likewise.
3300 ($(objpfx)test-gencat.out): Likewise.
3301 * conform/Makefile ($(objpfx)run-conformtest.out): Likewise.
3302 * elf/Makefile ($(objpfx)order-cmp.out): Likewise.
3303 ($(objpfx)noload-mem): Likewise.
3304 ($(objpfx)tst-pathopt.out): Likewise.
3305 ($(objpfx)tst-rtld-load-self.out): Likewise.
3306 ($(objpfx)tst-array1-cmp.out): Likewise.
3307 ($(objpfx)tst-array1-static-cmp.out): Likewise.
3308 ($(objpfx)tst-array2-cmp.out): Likewise.
3309 ($(objpfx)tst-array3-cmp.out): Likewise.
3310 ($(objpfx)tst-array4-cmp.out): Likewise.
3311 ($(objpfx)tst-array5-cmp.out): Likewise.
3312 ($(objpfx)tst-array5-static-cmp.out): Likewise.
3313 ($(objpfx)check-textrel.out): Likewise.
3314 ($(objpfx)check-execstack.out): Likewise.
3315 ($(objpfx)check-localplt.out): Likewise.
3316 ($(objpfx)order2-cmp.out): Likewise.
3317 ($(objpfx)tst-leaks1-mem): Likewise.
3318 ($(objpfx)tst-leaks1-static-mem): Likewise.
3319 ($(objpfx)tst-initorder-cmp.out): Likewise.
3320 ($(objpfx)tst-initorder2-cmp.out): Likewise.
3321 ($(objpfx)tst-unused-dep.out): Likewise.
3322 ($(objpfx)tst-unused-dep-cmp.out): Likewise.
3323 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Likewise.
3324 * iconv/Makefile (test-iconvconfig): Likewise.
3325 * iconvdata/Makefile ($(objpfx)mtrace-tst-loading): Likewise.
3326 ($(objpfx)iconv-test.out): Likewise.
3327 ($(objpfx)tst-tables.out): Likewise.
3328 * intl/Makefile ($(objpfx)mtrace-tst-gettext): Likewise.
3329 ($(objpfx)tst-gettext.out): Likewise.
3330 ($(objpfx)tst-translit.out): Likewise.
3331 ($(objpfx)tst-gettext2.out): Likewise.
3332 ($(objpfx)tst-gettext4.out): Likewise.
3333 ($(objpfx)tst-gettext6.out): Likewise.
3334 * io/Makefile ($(objpfx)ftwtest.out): Likewise.
3335 * libio/Makefile ($(objpfx)test-freopen.out): Likewise.
3336 ($(objpfx)tst-fopenloc-cmp.out): Likewise.
3337 ($(objpfx)tst-fopenloc-mem.out): Likewise.
3338 * malloc/Makefile ($(objpfx)tst-mtrace.out): Likewise.
3339 * misc/Makefile ($(objpfx)tst-error1-mem): Likewise.
3340 * posix/Makefile ($(objpfx)globtest.out): Likewise.
3341 ($(objpfx)wordexp-tst.out): Likewise.
3342 ($(objpfx)annexc.out): Likewise.
3343 ($(objpfx)tst-fnmatch-mem): Likewise.
3344 ($(objpfx)bug-regex2-mem): Likewise.
3345 ($(objpfx)bug-regex14-mem): Likewise.
3346 ($(objpfx)bug-regex21-mem): Likewise.
3347 ($(objpfx)bug-regex31-mem): Likewise.
3348 ($(objpfx)tst-vfork3-mem): Likewise.
3349 ($(objpfx)tst-rxspencer-no-utf8-mem): Likewise.
3350 ($(objpfx)tst-pcre-mem): Likewise.
3351 ($(objpfx)tst-boost-mem): Likewise.
3352 ($(objpfx)tst-getconf.out): Likewise.
3353 ($(objpfx)bug-ga2-mem): Likewise.
3354 ($(objpfx)bug-glob2-mem): Likewise.
3355 * resolv/Makefile ($(objpfx)mtrace-tst-leaks): Likewise.
3356 ($(objpfx)mtrace-tst-leaks2): Likewise.
3357 * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Likewise.
3358 ($(objpfx)tst-printf.out): Likewise.
3359 ($(objpfx)tst-setvbuf1.out): Likewise.
3360 ($(objpfx)tst-setvbuf1-cmp.out): Likewise.
3361 * stdlib/Makefile ($(objpfx)isomac.out): Likewise.
3362 ($(objpfx)tst-fmtmsg.out): Likewise.
3363 * string/Makefile ($(objpfx)tst-svc-cmp.out): Likewise.
3364 * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Likewise.
3366 * bits/fcntl.h [__USE_MISC]: Remove redundant conditionals.
3367 * bits/sigaction.h [__USE_MISC]: Likewise.
3368 * bits/waitstatus.h: Update #endif comments.
3369 * ctype/ctype.h: Likewise.
3370 * dirent/dirent.h: Likewise.
3371 [__USE_MISC]: Remove redundant conditionals.
3372 * grp/grp.h: Update #endif comments.
3373 [__USE_GNU]: Remove redundant conditionals.
3374 [__USE_MISC]: Likewise.
3375 * inet/netinet/in.h [__USE_GNU]: Likewise.
3376 * io/sys/stat.h [__USE_MISC]: Likewise.
3377 * libio/bits/stdio-ldbl.h [__USE_MISC]: Likewise.
3378 * libio/bits/stdio.h: Update #endif comments.
3379 [__USE_MISC]: Remove redundant conditionals.
3380 * libio/bits/stdio2.h [__USE_MISC]: Likewise.
3381 * libio/stdio.h: Update #endif comments.
3382 [__USE_MISC]: Remove redundant conditionals.
3383 * math/bits/math-finite.h [__USE_MISC]: Likewise.
3384 * math/bits/mathcalls.h [__USE_MISC]: Likewise.
3385 * math/math.h: Update #else and #endif comments.
3386 [__USE_MISC]: Remove redundant conditionals.
3387 * misc/sys/uio.h: Update #endif comments.
3388 * posix/bits/unistd.h [__USE_MISC]: Remove redundant conditionals.
3389 * posix/glob.h [__USE_MISC]: Likewise.
3390 * posix/sys/types.h: Update #endif comments.
3391 [__USE_MISC]: Remove redundant conditionals.
3392 * posix/sys/wait.h: Update #endif comments.
3393 [__USE_MISC]: Remove redundant conditionals.
3394 * posix/unistd.h: Update #endif comments.
3395 [__USE_MISC]: Remove redundant conditionals.
3396 * pwd/pwd.h [__USE_GNU]: Likewise.
3397 [__USE_MISC]: Likewise.
3398 * resolv/netdb.h [__USE_GNU]: Likewise.
3399 * signal/signal.h: Update #endif comments.
3400 [__USE_MISC]: Remove redundant conditionals.
3401 * stdlib/stdlib.h: Update #else and #endif comments.
3402 [__USE_MISC]: Remove redundant conditionals.
3403 [__USE_GNU]: Likewise.
3404 * string/bits/string2.h [__USE_MISC]: Likewise.
3405 * string/string.h: Update #endif comments.
3406 [__USE_MISC]: Remove redundant conditionals.
3407 * sysdeps/m68k/m680x0/fpu/bits/mathinline.h [__USE_MISC]:
3409 * sysdeps/mach/hurd/bits/fcntl.h [__USE_MISC]: Likewise.
3410 * sysdeps/mach/hurd/bits/stat.h [__USE_MISC]: Likewise.
3411 * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h [__USE_MISC]:
3413 * sysdeps/unix/sysv/linux/alpha/bits/stat.h [__USE_MISC]:
3415 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: Update #endif
3417 [__USE_MISC]: Remove redundant conditionals.
3418 * sysdeps/unix/sysv/linux/bits/in.h [__USE_GNU]: Likewise.
3419 * sysdeps/unix/sysv/linux/bits/sigaction.h [__USE_MISC]: Likewise.
3420 * sysdeps/unix/sysv/linux/bits/socket.h [__USE_GNU]: Likewise.
3421 * sysdeps/unix/sysv/linux/bits/stat.h [__USE_MISC]: Likewise.
3422 * sysdeps/unix/sysv/linux/ia64/bits/sigaction.h [__USE_MISC]:
3424 * sysdeps/unix/sysv/linux/m68k/bits/stat.h [__USE_MISC]: Likewise.
3425 * sysdeps/unix/sysv/linux/mips/bits/sigaction.h [__USE_MISC]:
3427 * sysdeps/unix/sysv/linux/mips/bits/stat.h [__USE_MISC]: Likewise.
3428 * sysdeps/unix/sysv/linux/powerpc/bits/stat.h [__USE_MISC]:
3430 * sysdeps/unix/sysv/linux/s390/bits/sigaction.h [__USE_MISC]:
3432 * sysdeps/unix/sysv/linux/s390/bits/stat.h [__USE_MISC]: Likewise.
3433 * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h [__USE_MISC]:
3435 * sysdeps/unix/sysv/linux/sparc/bits/stat.h [__USE_MISC]:
3437 * sysdeps/unix/sysv/linux/x86/bits/stat.h [__USE_MISC]: Likewise.
3438 * sysdeps/x86/bits/string.h: Update #endif comments.
3439 * sysdeps/x86/fpu/bits/mathinline.h [__USE_MISC]: Remove redundant
3441 * time/sys/time.h: Update #endif comments.
3442 * time/time.h: Likewise.
3443 [__USE_MISC]: Remove redundant conditionals.
3445 2014-02-21 Yury Gribov <y.gribov@samsung.com>
3448 * sysdeps/arm/libm-test-ulps: Update for VFPv4.
3450 2014-02-21 Andreas Schwab <schwab@linux-m68k.org>
3452 * Versions.def (librt): Add GLIBC_2.17.
3454 2014-02-21 Adam Conrad <adconrad@0c3.net>
3456 * sysdeps/powerpc/bits/hwcap.h: Allow _SYSDEPS_SYSDEP_H guard as a
3457 synonym for _SYS_AUXV_H to allow direct inclusion.
3458 * sysdeps/sparc/bits/hwcap.h: Likewise.
3459 * sysdeps/powerpc/sysdep.h: Define _SYSDEPS_SYSDEP_H instead of
3460 _SYS_AUXV_H so we can include sysdep.h and sys/auxv.h together.
3461 * sysdeps/sparc/sysdep.h: Likewise.
3463 2014-02-21 Siddhesh Poyarekar <siddhesh@redhat.com>
3465 * benchtests/bench-strrchr.c (do_test): Fix minor formatting.
3467 2014-02-21 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
3469 * benchtests/bench-strrchr.c: Print length instead of position.
3471 2014-02-20 Joseph Myers <joseph@codesourcery.com>
3474 * sysdeps/unix/sysv/linux/kernel-features.h
3475 [__LINUX_KERNEL_VERSION >= 0x030000 && __ASSUME_SOCKETCALL]
3476 (__ASSUME_SENDMMSG_SOCKETCALL): Define.
3477 [__LINUX_KERNEL_VERSION >= 0x030000 && (__i386__ || __x86_64__ ||
3478 __powerpc__ || __sh__ || __sparc__)] (__ASSUME_SENDMMSG_SYSCALL):
3480 [__i386__ || __powerpc__ || __sh__ || __sparc__]
3481 (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
3482 [__ASSUME_SENDMMSG_SOCKETCALL || __ASSUME_SENDMMSG_SYSCALL]
3483 (__ASSUME_SENDMMSG): Define instead of using previous
3484 [__LINUX_KERNEL_VERSION >= 0x020627] condition.
3485 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
3486 (__ASSUME_SENDMMSG_SYSCALL): Define.
3487 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
3488 [__LINUX_KERNEL_VERSION >= 0x030200] (__ASSUME_SENDMMSG_SYSCALL):
3490 * sysdeps/unix/sysv/linux/arm/kernel-features.h
3491 [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
3493 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
3494 [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
3496 * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SOCKETCALL
3497 && !__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL &&
3498 !__ASSUME_SENDMMSG_SYSCALL] (__NR_sendmmsg): Undefine.
3499 [__ASSUME_SENDMMSG]: Change conditionals to
3500 [__ASSUME_SENDMMSG_SOCKETCALL].
3501 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
3502 [__LINUX_KERNEL_VERSION >= 0x030300] (__ASSUME_SENDMMSG_SYSCALL):
3504 * sysdeps/unix/sysv/linux/mips/kernel-features.h
3505 [__LINUX_KERNEL_VERSION >= 0x030100] (__ASSUME_SENDMMSG_SYSCALL):
3507 * sysdeps/unix/sysv/linux/sendmmsg.c [__ASSUME_SOCKETCALL &&
3508 !__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL &&
3509 !__ASSUME_SENDMMSG_SYSCALL] (__NR_sendmmsg): Undefine.
3510 [!__ASSUME_SENDMMSG]: Change conditional to
3511 [!__ASSUME_SENDMMSG_SOCKETCALL].
3512 * sysdeps/unix/sysv/linux/tile/kernel-features.h
3513 [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
3517 * sysdeps/unix/sysv/linux/kernel-features.h
3518 [__LINUX_KERNEL_VERSION >= 0x020621 && __ASSUME_SOCKETCALL]
3519 (__ASSUME_RECVMMSG_SOCKETCALL): Define.
3520 [(__LINUX_KERNEL_VERSION >= 0x020621 && (__i386__ || __x86_64__ ||
3521 __sparc__)) || (__LINUX_KERNEL_VERSION >= 0x020625 && (__powerpc__
3522 || __sh__))] (__ASSUME_RECVMMSG_SYSCALL): Likewise.
3523 [__i386__ || __sparc__]
3524 (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
3525 [__ASSUME_RECVMMSG_SOCKETCALL || __ASSUME_RECVMMSG_SYSCALL]
3526 (__ASSUME_RECVMMSG): Define instead of using previous
3527 [__LINUX_KERNEL_VERSION >= 0x020621] condition.
3528 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
3529 (__ASSUME_RECVMMSG_SYSCALL): Define.
3530 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
3531 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
3533 * sysdeps/unix/sysv/linux/arm/kernel-features.h
3534 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
3536 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
3537 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
3539 * sysdeps/unix/sysv/linux/internal_recvmmsg.S [__ASSUME_SOCKETCALL
3540 && !__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL &&
3541 !__ASSUME_RECVMMSG_SYSCALL] (__NR_recvmmsg): Undefine.
3542 [__ASSUME_RECVMMSG]: Change condition to
3543 [__ASSUME_RECVMMSG_SOCKETCALL].
3544 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
3545 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
3547 (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
3548 * sysdeps/unix/sysv/linux/mips/kernel-features.h
3549 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
3551 * sysdeps/unix/sysv/linux/recvmmsg.c [__ASSUME_SOCKETCALL &&
3552 !__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL &&
3553 !__ASSUME_RECVMMSG_SYSCALL] (__NR_recvmmsg): Undefine.
3554 [!__ASSUME_RECVMMSG]: Change condition to
3555 [!__ASSUME_RECVMMSG_SOCKETCALL].
3556 * sysdeps/unix/sysv/linux/tile/kernel-features.h
3557 (__ASSUME_RECVMMSG_SYSCALL): Define.
3560 * sysdeps/unix/sysv/linux/kernel-features.h [__i386__ ||
3561 __powerpc__ || __s390__ || __sh__ || __sparc__]
3562 (__ASSUME_SOCKETCALL): Define.
3563 [__LINUX_KERNEL_VERSION && __ASSUME_SOCKETCALL]
3564 (__ASSUME_ACCEPT4_SOCKETCALL): Likewise.
3565 [(__LINUX_KERNEL_VERSION >= 0x02061c && (__x86_64__ || __sparc__))
3566 || (__LINUX_KERNEL_VERSION >= 0x020625 && (__powerpc__ ||
3567 __sh__))] (__ASSUME_ACCEPT4_SYSCALL): Likewise.
3568 [__sparc__] (__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL): Likewise.
3569 [__ASSUME_ACCEPT4_SOCKETCALL || __ASSUME_ACCEPT4_SYSCALL]
3570 (__ASSUME_ACCEPT4): Define instead of using previous
3571 [__LINUX_KERNEL_VERSION >= 0x02061c && (__i386__ || __x86_64__ ||
3572 __powerpc__ || __sparc__ || __s390__)] condition.
3573 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
3574 (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.
3575 * sysdeps/unix/sysv/linux/accept4.c [__ASSUME_SOCKETCALL &&
3576 !__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL &&
3577 !__ASSUME_ACCEPT4_SYSCALL] (__NR_accept4): Undefine.
3578 [!__ASSUME_ACCEPT4]: Change condition to
3579 [!__ASSUME_ACCEPT4_SOCKETCALL].
3580 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
3581 (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL. Correct
3582 condition to [__LINUX_KERNEL_VERSION >= 0x030200].
3583 * sysdeps/unix/sysv/linux/arm/kernel-features.h
3584 [__LINUX_KERNEL_VERSION >= 0x020624] (__ASSUME_ACCEPT4): Change to
3585 __ASSUME_ACCEPT4_SYSCALL.
3586 * sysdeps/unix/sysv/linux/i386/accept4.S [__ASSUME_ACCEPT4]:
3587 Change conditions to [__ASSUME_ACCEPT4_SOCKETCALL].
3588 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
3589 [__LINUX_KERNEL_VERSION >= 0x030300] (__ASSUME_ACCEPT4): Change to
3590 __ASSUME_ACCEPT4_SYSCALL.
3591 * sysdeps/unix/sysv/linux/internal_accept4.S [__ASSUME_SOCKETCALL
3592 && !__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL &&
3593 !__ASSUME_ACCEPT4_SYSCALL] (__NR_accept4): Undefine.
3594 [__ASSUME_ACCEPT4]: Change condition to
3595 [__ASSUME_ACCEPT4_SOCKETCALL].
3596 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
3597 (__ASSUME_SOCKETCALL): Define.
3598 [__LINUX_KERNEL_VERSION >= 0x02061c] (__ASSUME_ACCEPT4): Remove.
3599 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
3600 (__ASSUME_SOCKETCALL): Define.
3601 (__ASSUME_ACCEPT4): Remove.
3602 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_ACCEPT4_SYSCALL):
3604 * sysdeps/unix/sysv/linux/mips/kernel-features.h
3605 [__LINUX_KERNEL_VERSION >= 0x02061f] (__ASSUME_ACCEPT4_SYSCALL):
3607 * sysdeps/unix/sysv/linux/tile/kernel-features.h
3608 (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.
3610 * sysdeps/unix/sysv/linux/arm/bits/hwcap.h (HWCAP_ARM_VFPD32): New
3612 (HWCAP_ARM_LPAE): Likewise.
3613 (HWCAP_ARM_EVTSTRM): Likewise.
3614 * sysdeps/unix/sysv/linux/arm/dl-procinfo.c (_dl_arm_cap_flags):
3615 Add vpfd32, lpae and evtstrm.
3616 * sysdeps/unix/sysv/linux/arm/dl-procinfo.h (_DL_HWCAP_COUNT):
3619 2014-02-19 Joseph Myers <joseph@codesourcery.com>
3621 * math/auto-libm-test-in: Add tests of clog10.
3622 * math/auto-libm-test-out: Regenerated.
3623 * math/libm-test.inc (clog10_test_data): Use AUTO_TESTS_c_c.
3624 * sysdeps/i386/fpu/libm-test-ulps: Update.
3625 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3627 2014-02-18 Andreas Schwab <schwab@suse.de>
3630 * resolv/res_send.c (send_vc): Add parameter ansp2_malloced.
3631 Store non-zero if the second buffer was newly allocated.
3632 (send_dg): Likewise.
3633 (__libc_res_nsend): Add parameter ansp2_malloced and pass it down
3634 to send_vc and send_dg.
3635 (res_nsend): Pass NULL for ansp2_malloced.
3636 * resolv/res_query.c (__libc_res_nquery): Add parameter
3637 answerp2_malloced and pass it down to __libc_res_nsend.
3638 (res_nquery): Pass additional NULL to __libc_res_nquery.
3639 (__libc_res_nsearch): Add parameter answerp2_malloced and pass it
3640 down to __libc_res_nquery and __libc_res_nquerydomain. Deallocate
3641 second answer buffer if answerp2_malloced was set.
3642 (res_nsearch): Pass additional NULL to __libc_res_nsearch.
3643 (__libc_res_nquerydomain): Add parameter
3644 answerp2_malloced and pass it down to __libc_res_nquery.
3645 (res_nquerydomain): Pass additional NULL to
3646 __libc_res_nquerydomain.
3647 * resolv/nss_dns/dns-network.c (_nss_dns_getnetbyname_r): Pass
3648 additional NULL to __libc_res_nsend and __libc_res_nquery.
3649 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Pass
3650 additional NULL to __libc_res_nsearch.
3651 (_nss_dns_gethostbyname4_r): Revert last change. Use new
3652 parameter of __libc_res_nsearch to check for separately allocated
3654 (_nss_dns_gethostbyaddr2_r): Pass additional NULL to
3656 * resolv/nss_dns/dns-canon.c (_nss_dns_getcanonname_r): Pass
3657 additional NULL to __libc_res_nquery.
3658 * resolv/gethnamaddr.c (gethostbyname2): Pass additional NULL to
3660 (gethostbyaddr): Pass additional NULL to __libc_res_nquery.
3661 * include/resolv.h: Update prototypes of __libc_res_nquery,
3662 __libc_res_nsearch, __libc_res_nsend.
3664 2014-02-18 Joseph Myers <joseph@codesourcery.com>
3666 * math/auto-libm-test-in: Add tests of fma.
3667 * math/auto-libm-test-out: Regenerated.
3668 * math/libm-test.inc (fma_test_data): Use AUTO_TESTS_fff_f.
3669 (fma_towardzero_test_data): Likewise.
3670 (fma_downward_test_data): Likewise.
3671 (fma_upward_test_data): Likewise.
3672 * math/gen-auto-libm-tests.c (rounding_mode_desc): Add field
3674 (rounding_modes): Add values for new field.
3675 (func_calc_method): Add value mpfr_fff_f.
3676 (func_calc_desc): Add mpfr_fff_f union field.
3677 (test_function): Add field exact_args.
3678 (FUNC): Add macro argument EXACT_ARGS.
3679 (FUNC_mpfr_f_f): Update call to FUNC.
3680 (FUNC_mpfr_f_f): Likewise.
3681 (FUNC_mpfr_ff_f): Likewise.
3682 (FUNC_mpfr_if_f): Likewise.
3683 (FUNC_mpc_c_f): Likewise.
3684 (FUNC_mpc_c_c): Likewise.
3685 (test_functions): Add fma. Update calls to FUNC.
3686 (handle_input_arg): Add argument exact_args.
3687 (add_test): Update call to handle_input_arg.
3688 (calc_generic_results): Add argument mode. Handle mpfr_fff_f.
3689 (output_for_one_input_case): Update call to calc_generic_results.
3690 Recalculate exact zero results in each rounding mode.
3692 * math/gen-auto-libm-tests.c (adjust_real): Ensure integers are
3693 non-negative before setting low bit.
3694 * math/auto-libm-test-in: Mark one asin test possibly having
3696 * math/auto-libm-test-out: Regenerated.
3697 * sysdeps/i386/fpu/libm-test-ulps: Update.
3698 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3700 2014-02-17 David Holsgrove <david.holsgrove@xilinx.com>
3702 * sysdeps/microblaze: Move directory from ports/sysdeps/microblaze.
3703 * sysdeps/unix/sysv/linux/microblaze: Move directory from
3704 ports/sysdeps/unix/sysv/linux/microblaze.
3705 * README: Add missing listing for microblaze*-*-linux-gnu.
3707 2014-02-16 Mike Frysinger <vapier@gentoo.org>
3709 * sysdeps/ia64: Move directory from ports/sysdeps/ia64.
3710 * sysdeps/unix/sysv/linux/ia64: Move directory from
3711 ports/sysdeps/unix/sysv/linux/ia64.
3712 * README: Update listing for ia64-*-linux-gnu.
3714 2014-02-14 Tomas Dohnalek <tdohnale@redhat.com>
3715 Joseph Myers <joseph@codesourcery.com>
3717 * Makeconfig (test-name): New variable.
3718 (evaluate-test): Likewise.
3719 * Makerules (do-test-clean): Remove .test-result files.
3720 (common-mostlyclean): Likewise.
3721 * Rules ($(objpfx)%.out): Use $(evaluate-test) in both rules.
3722 * scripts/evaluate-test.sh: New file.
3724 2014-02-14 Joseph Myers <joseph@codesourcery.com>
3726 * libio/Makefile ($(objpfx)tst-fopenloc.check): Split into
3727 separate $(objpfx)tst-fopenloc-cmp.out and
3728 $(objpfx)tst-fopenloc-mem.out targets.
3729 (tests): Update dependencies.
3730 * posix/Makefile (tests variable): Add tst-rxspencer-no-utf8.
3731 (generated): Change tst-rxspencer-mem and tst-rxspencer.mtrace to
3732 tst-rxspencer-no-utf8-mem and tst-rxspencer-no-utf8.mtrace.
3733 (tst-rxspencer-no-utf8-ARGS): New variable.
3734 (tst-rxspencer-no-utf8-ENV): Likewise.
3735 (tests target): Depend on $(objpfx)tst-rxspencer-no-utf8-mem
3736 instead of $(objpfx)tst-rxspencer-mem.
3737 ($(objpfx)tst-rxspencer-mem): Change target to
3738 $(objpfx)tst-rxspencer-no-utf8-mem. Depend on
3739 $(objpfx)tst-rxspencer-no-utf8.out instead of running test program.
3740 * posix/tst-rxspencer-no-utf8.c: New file.
3742 * elf/Makefile ($(objpfx)order.out): Remove rule.
3743 [$(run-built-tests) = yes] (tests): Depend on
3744 $(objpfx)order-cmp.out.
3745 ($(objpfx)order-cmp.out): New rule.
3746 [$(run-built-tests) = yes] (tests): Depend on
3747 $(objpfx)tst-array1-cmp.out, $(objpfx)tst-array1-static-cmp.out,
3748 $(objpfx)tst-array2-cmp.out, $(objpfx)tst-array3-cmp.out,
3749 $(objpfx)tst-array4-cmp.out, $(objpfx)tst-array5-cmp.out and
3750 $(objpfx)tst-array5-static-cmp.out.
3751 ($(objpfx)tst-array1.out): Remove rule.
3752 ($(objpfx)tst-array1-cmp.out): New rule.
3753 ($(objpfx)tst-array1-static.out): Remove rule.
3754 ($(objpfx)tst-array1-static-cmp.out): New rule.
3755 ($(objpfx)tst-array2.out): Remove rule.
3756 ($(objpfx)tst-array2-cmp.out): New rule.
3757 ($(objpfx)tst-array3.out): Remove rule.
3758 ($(objpfx)tst-array3-cmp.out): New rule.
3759 ($(objpfx)tst-array4.out): Remove rule.
3760 ($(objpfx)tst-array4-cmp.out): New rule.
3761 ($(objpfx)tst-array5.out): Remove rule.
3762 ($(objpfx)tst-array5-cmp.out): New rule.
3763 ($(objpfx)tst-array5-static.out): Remove rule.
3764 ($(objpfx)tst-array5-static-cmp.out): New rule.
3765 [$(run-built-tests) = yes] (tests): Depend on
3766 $(objpfx)order2-cmp.out.
3767 ($(objpfx)order2.out): Remove rule.
3768 ($(objpfx)order2-cmp.out): New rule.
3769 ($(objpfx)tst-initorder.out): Remove rule.
3770 [$(run-built-tests) = yes] (tests): Depend on
3771 $(objpfx)tst-initorder-cmp.out.
3772 ($(objpfx)tst-initorder-cmp.out): New rule.
3773 ($(objpfx)tst-initorder2.out): Remove rule.
3774 [$(run-built-tests) = yes] (tests): Depend on
3775 $(objpfx)tst-initorder2-cmp.out.
3776 ($(objpfx)tst-initorder2-cmp.out): New rule.
3777 [$(run-built-tests) = yes] (tests): Depend on
3778 $(objpfx)tst-unused-dep-cmp.out.
3779 ($(objpfx)tst-unused-dep-cmp.out): Do not run cmp.
3780 ($(objpfx)tst-unused-dep-cmp.out): New rule.
3781 * stdio-common/Makefile [$(run-built-tests) = yes] (tests): Depend
3782 on $(objpfx)tst-setvbuf1-cmp.out.
3783 ($(objpfx)tst-setvbuf1.out): Do not run cmp.
3784 ($(objpfx)tst-setvbuf1-cmp.out): New rule.
3785 * string/Makefile [$(run-built-tests) = yes] (tests): Depend
3786 $(objpfx)tst-svc-cmp.out instead of $(objpfx)tst-svc.out.
3787 ($(objpfx)tst-svc.out): Remove rule.
3788 ($(objpfx)tst-svc-cmp.out): New rule.
3790 2014-02-13 Joseph Myers <joseph@codesourcery.com>
3792 * bits/mman.h [__USE_MISC]: Remove redundant conditionals.
3793 * ctype/ctype.h [__USE_MISC]: Likewise.
3794 * dirent/dirent.h [__USE_MISC]: Likewise.
3795 * grp/grp.h [__USE_MISC]: Likewise.
3796 * io/fcntl.h [__USE_MISC]: Likewise.
3797 * io/sys/stat.h [__USE_MISC]: Likewise.
3798 * libio/stdio.h [__USE_MISC]: Likewise.
3799 * posix/unistd.h [__USE_MISC]: Likewise.
3800 * pwd/pwd.h [__USE_MISC]: Likewise.
3801 * stdlib.h [__USE_MISC]: Likewise.
3802 * string/bits/string2.h [__USE_MISC]: Likewise.
3803 * string/string.h [__USE_MISC]: Likewise.
3804 * time/time.h [__USE_MISC]: Likewise.
3806 2014-02-13 Andreas Schwab <schwab@suse.de>
3809 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname4_r): Free the
3810 second answer buffer if it was separately allocated.
3812 2014-02-12 Joseph Myers <joseph@codesourcery.com>
3814 * sysdeps/mips/math-tests.h: Include <features.h>.
3815 [!__mips_soft_float && _MIPS_SIM != _ABIO32 && __GNUC_PREREQ (4, 9)]
3816 (ROUNDING_TESTS_long_double): Do not define.
3817 [!__mips_soft_float && _MIPS_SIM != _ABIO32 && __GNUC_PREREQ (4, 9)]
3818 (EXCEPTION_TESTS_long_double): Likewise.
3819 * sysdeps/mips/mips64/libm-test-ulps: Update.
3821 * include/features.h (__USE_BSD): Remove macro definitions.
3822 (__USE_SVID): Likewise.
3823 (_BSD_SOURCE): Likewise.
3824 (_SVID_SOURCE): Likewise.
3825 [!defined _BSD_SOURCE && !defined _SVID_SOURCE]: Remove condition
3826 from definition of _DEFAULT_SOURCE.
3827 [_BSD_SOURCE || _SVID_SOURCE]: Change condition to
3829 * bits/fcntl.h [__USE_BSD]: Change condition to [__USE_MISC].
3830 * bits/mman.h [__USE_BSD]: Likewise.
3831 * bits/termios.h [__USE_BSD]: Likewise.
3832 * bits/waitstatus.h [__USE_BSD]: Likewise.
3833 * ctype/ctype.h [__USE_SVID]: Likewise.
3834 * dirent/dirent.h [__USE_BSD]: Likewise.
3835 * grp/grp.h [__USE_SVID]: Likewise.
3836 [__USE_BSD]: Likewise.
3837 * inet/netinet/igmp.h [__USE_BSD]: Likewise.
3838 * io/fcntl.h [__USE_BSD]: Likewise.
3839 * io/ftw.h [__USE_BSD]: Likewise.
3840 * io/sys/stat.h [__USE_BSD]: Likewise.
3841 * libio/bits/stdio-ldbl.h [__USE_BSD]: Likewise.
3842 * libio/bits/stdio2.h [__USE_BSD]: Likewise.
3843 * libio/stdio.h [__USE_SVID]: Likewise.
3844 [__USE_BSD]: Likewise.
3845 * math/math.h [__USE_SVID]: Likewise.
3846 [__USE_BSD]: Likewise.
3847 * misc/bits/syslog-ldbl.h [__USE_BSD]: Likewise.
3848 * misc/bits/syslog.h [__USE_BSD]: Likewise.
3849 * misc/search.h [__USE_SVID]: Likewise.
3850 * misc/sys/mman.h [__USE_BSD]: Likewise.
3851 * misc/sys/syslog.h [__USE_BSD]: Likewise.
3852 * misc/sys/uio.h [__USE_BSD]: Likewise.
3853 * posix/bits/unistd.h [__USE_BSD]: Likewise.
3854 * posix/glob.h [__USE_BSD]: Likewise.
3855 * posix/regex.h [__USE_BSD]: Likewise.
3856 * posix/sys/types.h [__USE_BSD]: Likewise.
3857 [__USE_SVID]: Likewise.
3858 * posix/sys/utsname.h [__USE_SVID]: Likewise.
3859 * posix/sys/wait.h [__USE_BSD]: Likewise.
3860 [__USE_SVID]: Likewise.
3861 * posix/unistd.h [__USE_BSD]: Likewise.
3862 [__USE_SVID]: Likewise.
3863 * pwd/pwd.h [__USE_SVID]: Likewise.
3864 * resolv/netdb.h [__USE_BSD]: Likewise.
3865 * setjmp/setjmp.h [__USE_BSD]: Likewise.
3866 * signal/signal.h [__USE_BSD]: Likewise.
3867 [__USE_SVID]: Likewise.
3868 * socket/sys/socket.h [__USE_BSD]: Likewise.
3869 * stdlib/fmtmsg.h [__USE_SVID]: Likewise.
3870 * stdlib/stdlib.h [__USE_BSD]: Likewise.
3871 [__USE_SVID]: Likewise.
3872 * string/bits/string2.h [__USE_BSD]: Likewise.
3873 [__USE_SVID]: Likewise.
3874 * string/bits/string3.h [__USE_BSD]: Likewise.
3875 * string/endian.h [__USE_BSD]: Likewise.
3876 * string/string.h [__USE_SVID]: Likewise.
3877 [__USE_BSD]: Likewise.
3878 * string/strings.h [__USE_BSD]: Likewise.
3879 * sysdeps/generic/netinet/ip.h [__USE_BSD]: Likewise.
3880 * sysdeps/gnu/netinet/ip_icmp.h [__USE_BSD]: Likewise.
3881 * sysdeps/mach/hurd/bits/fcntl.h [__USE_BSD]: Likewise.
3882 * sysdeps/mach/hurd/bits/stat.h [__USE_BSD]: Likewise.
3883 * sysdeps/unix/sysv/linux/alpha/bits/mman.h [__USE_BSD]: Likewise.
3884 * sysdeps/unix/sysv/linux/alpha/bits/termios.h [__USE_BSD]:
3886 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_BSD]:
3888 * sysdeps/unix/sysv/linux/bits/mman-linux.h [__USE_BSD]: Likewise.
3889 * sysdeps/unix/sysv/linux/bits/sys_errlist.h [__USE_BSD]:
3891 * sysdeps/unix/sysv/linux/bits/termios.h [__USE_BSD]: Likewise.
3892 * sysdeps/unix/sysv/linux/mips/bits/termios.h [__USE_BSD]:
3894 * sysdeps/unix/sysv/linux/netinet/if_ether.h [__USE_BSD]:
3896 * sysdeps/unix/sysv/linux/netinet/if_fddi.h [__USE_BSD]: Likewise.
3897 * sysdeps/unix/sysv/linux/netinet/if_tr.h [__USE_BSD]: Likewise.
3898 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h [__USE_BSD]:
3900 * sysdeps/unix/sysv/linux/sparc/bits/termios.h [__USE_BSD]:
3902 * sysdeps/x86/bits/string.h [__USE_BSD]: Likewise.
3903 * sysvipc/sys/ipc.h [__USE_SVID]: Likewise.
3904 * termios/termios.h [__USE_BSD]: Likewise.
3905 * time/sys/time.h [__USE_BSD]: Likewise.
3906 * time/time.h [__USE_BSD]: Likewise.
3907 [__USE_SVID]: Likewise.
3909 * Makefile (subdir_targets): Remove subdir_lint.out.
3911 * stdio-common/Makefile (do-tst-unbputc): Remove target.
3912 (do-tst-printf): Likewise.
3913 (tests): Depend directly on $(objpfx)tst-unbputc.out and
3914 $(objpfx)tst-printf.out.
3916 * io/ftwtest-sh (testout): Change to $tmp/ftwtest-tmp.out.
3918 * Makerules (check-abi-%): Change target to
3919 $(objpfx)check-abi-%.out.
3920 (check-abi target): Update dependencies.
3921 (check-abi-pattern variable): Redirect output of diff to $@.
3922 (check-abi variable): Likewise.
3923 * elf/Makefile (check-abi): Update dependencies.
3925 * soft-fp/op-common.h (_FP_DECL): Mark exponent as possibly
3927 (_FP_PACK_SEMIRAW): Determine tininess based on rounding shifted
3928 value if _FP_TININESS_AFTER_ROUNDING and unrounded value is in
3930 (_FP_PACK_CANONICAL): Determine tininess based on rounding to
3931 normal precision if _FP_TININESS_AFTER_ROUNDING and unrounded
3932 value has largest subnormal exponent.
3933 * soft-fp/soft-fp.h [FP_NO_EXCEPTIONS]
3934 (_FP_TININESS_AFTER_ROUNDING): Undefine and redefine to 0.
3935 * sysdeps/aarch64/soft-fp/sfp-machine.h
3936 (_FP_TININESS_AFTER_ROUNDING): New macro.
3937 * sysdeps/alpha/soft-fp/sfp-machine.h
3938 (_FP_TININESS_AFTER_ROUNDING): Likewise.
3939 * sysdeps/arm/soft-fp/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
3941 * sysdeps/mips/mips64/soft-fp/sfp-machine.h
3942 (_FP_TININESS_AFTER_ROUNDING): Likewise.
3943 * sysdeps/mips/soft-fp/sfp-machine.h
3944 (_FP_TININESS_AFTER_ROUNDING): Likewise.
3945 * sysdeps/powerpc/soft-fp/sfp-machine.h
3946 (_FP_TININESS_AFTER_ROUNDING): Likewise.
3947 * sysdeps/sh/soft-fp/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
3949 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
3950 (_FP_TININESS_AFTER_ROUNDING): Likewise.
3951 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
3952 (_FP_TININESS_AFTER_ROUNDING): Likewise.
3953 * sysdeps/tile/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
3956 2014-02-12 Dylan Alex Simon <dylan@dylex.net>
3959 * sysdeps/x86_64/fpu/libm-test-ulps: Update on AMD family 21h
3962 2014-02-12 Richard Henderson <rth@redhat.com>
3964 * sysdeps/alpha: Move directory from ports/sysdeps/alpha.
3965 * sysdeps/unix/alpha: Move directory from ports/sysdeps/unix/alpha.
3966 * sysdeps/unix/sysv/linux/alpha: Move directory from
3967 ports/sysdeps/unix/sysv/linux/alpha.
3968 * README: Update listing for alpha-*-linux-gnu.
3970 2014-02-11 Joseph Myers <joseph@codesourcery.com>
3972 * include/features.h: Update comment documenting feature test
3974 [_BSD_SOURCE || _SVID_SOURCE]: Give #warning. Define
3976 * manual/creature.texi (_BSD_SOURCE): Remove documentation.
3977 (_SVID_SOURCE): Likewise.
3978 (_DEFAULT_SOURCE): Update description of default features.
3979 (Feature Test Macros): Don't mention _SVID_SOURCE in conjunction
3981 * manual/filesys.texi (__ftw_func_t): Do not refer to _BSD_SOURCE.
3982 (S_ISVTX): Likewise.
3983 * manual/math.texi (Mathematical Constants): Likewise.
3984 * manual/signal.texi (Interrupted Primitives): Likewise.
3985 * manual/startup.texi (putenv): Do not refer to _SVID_SOURCE.
3986 * math/test-matherr.c (_SVID_SOURCE): Do not define.
3987 * sysvipc/sys/ipc.h [__USE_SVID && !__USE_XOPEN && __GNUC__ >= 2]:
3988 Don't refer to _SVID_SOURCE in warning text.
3990 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
3992 * elf/dl-lookup.c (ELF_MACHINE_SYM_NO_MATCH): Define if not
3994 (do_lookup_x): Use ELF_MACHINE_SYM_NO_MATCH.
3995 * sysdeps/mips/dl-lookup.c: Remove.
3996 * sysdeps/mips/dl-machine.h (ELF_MACHINE_SYM_NO_MATCH): New macro.
3998 2014-02-11 Stefan Liebler <stli@linux.vnet.ibm.com>
4001 * math/auto-libm-test-in: Add testcase for expl.
4002 * math/auto-libm-test-out: Regenerate.
4003 * sysdeps/ieee754/ldbl-128/e_expl.c (__ieee754_expl): Fix
4004 calculation of unsafe.
4005 * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for added testcase.
4007 2014-02-11 Marcus Shawcroft <marcus.shawcroft@arm.com>
4009 * sysdeps/aarch64: Move directory from ports/sysdeps/aarch64.
4010 * sysdeps/unix/sysv/linux/aarch64: Move directory from
4011 ports/sysdeps/unix/sysv/linux/aarch64.
4012 * README: Update listing for aarch64*-*-linux-gnu.
4014 2014-02-11 Will Newton <will.newton@linaro.org>
4016 * manual/probes.texi (Mathematical Function Probes): Use
4017 "triggered" instead of "hit".
4019 * manual/probes.texi (Internal Probes): Add documentation
4020 of setjmp, longjmp and longjmp_target probes.
4022 * include/stap-probe.h: Add comment about probe argument
4025 * malloc/mtrace.c (attribute_hidden): Remove unused macro
4026 definition. (tr_where, tr_freehook, tr_mallochook,
4027 tr_reallochook, tr_memalignhook): Use ANSI protoype.
4029 2014-02-11 David S. Miller <davem@davemloft.net>
4031 * stdio-common/tst-sscanf.c (main): Use 'long' for 'dummy' when
4032 processing int_tests.
4034 2014-02-10 Joseph Myers <joseph@codesourcery.com>
4036 * sysdeps/mips: Move directory from ports/sysdeps/mips.
4037 * sysdeps/unix/mips: Move directory from ports/sysdeps/unix/mips.
4038 * sysdeps/unix/sysv/linux/mips: Move directory from
4039 ports/sysdeps/unix/sysv/linux/mips.
4040 * README: Update listing for mips-*-linux-gnu and
4043 2014-02-10 Andreas Schwab <schwab@linux-m68k.org>
4045 * sysdeps/m68k: Move directory from ports/sysdeps/m68k.
4046 * sysdeps/unix/sysv/linux/m68k: Move directory from
4047 ports/sysdeps/unix/sysv/linux/m68k.
4048 * README: Update listing for m68k-*-linux-gnu.
4050 2014-02-10 Chris Metcalf <cmetcalf@tilera.com>
4052 * sysdeps/tile: Move directory from ports/sysdeps/tile.
4053 * sysdeps/unix/sysv/linux/generic: Move directory from
4054 ports/sysdeps/unix/sysv/linux/generic.
4055 * sysdeps/unix/sysv/linux/tile: Move directory from
4056 ports/sysdeps/unix/sysv/linux/tile.
4057 * README: Update listing for tile*-*-linux-gnu.
4059 2014-02-10 Ondřej Bílka <neleai@seznam.cz>
4061 * assert/assert.c (__assert_fail_base): Use glibc_likely instead
4063 * benchtests/bench-memmem.c (simple_memmem): Likewise.
4064 * catgets/open_catalog.c (__open_catalog): Likewise.
4065 * csu/libc-start.c (LIBC_START_MAIN): Likewise.
4066 * debug/confstr_chk.c: Likewise.
4067 * debug/fread_chk.c (__fread_chk): Likewise.
4068 * debug/fread_u_chk.c (__fread_unlocked_chk): Likewise.
4069 * debug/getgroups_chk.c: Likewise.
4070 * debug/mbsnrtowcs_chk.c: Likewise.
4071 * debug/mbsrtowcs_chk.c: Likewise.
4072 * debug/mbstowcs_chk.c: Likewise.
4073 * debug/memcpy_chk.c: Likewise.
4074 * debug/memmove_chk.c: Likewise.
4075 * debug/mempcpy_chk.c: Likewise.
4076 * debug/memset_chk.c: Likewise.
4077 * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
4078 * debug/strcat_chk.c (__strcat_chk): Likewise.
4079 * debug/strcpy_chk.c (__strcpy_chk): Likewise.
4080 * debug/strncat_chk.c (__strncat_chk): Likewise.
4081 * debug/vsnprintf_chk.c (___vsnprintf_chk): Likewise.
4082 * debug/vswprintf_chk.c (__vswprintf_chk): Likewise.
4083 * debug/wcpcpy_chk.c (__wcpcpy_chk): Likewise.
4084 * debug/wcpncpy_chk.c: Likewise.
4085 * debug/wcscat_chk.c (__wcscat_chk): Likewise.
4086 * debug/wcscpy_chk.c (__wcscpy_chk): Likewise.
4087 * debug/wcsncat_chk.c (__wcsncat_chk): Likewise.
4088 * debug/wcsncpy_chk.c: Likewise.
4089 * debug/wcsnrtombs_chk.c: Likewise.
4090 * debug/wcsrtombs_chk.c: Likewise.
4091 * debug/wcstombs_chk.c: Likewise.
4092 * debug/wmemcpy_chk.c: Likewise.
4093 * debug/wmemmove_chk.c: Likewise.
4094 * debug/wmempcpy_chk.c: Likewise.
4095 * debug/wmemset_chk.c: Likewise.
4096 * dirent/scandirat.c (SCANDIRAT): Likewise.
4097 * dlfcn/dladdr1.c (dladdr1): Likewise.
4098 * dlfcn/dladdr.c (dladdr): Likewise.
4099 * dlfcn/dlclose.c (dlclose_doit): Likewise.
4100 * dlfcn/dlerror.c (__dlerror): Likewise.
4101 * dlfcn/dlinfo.c (dlinfo_doit): Likewise.
4102 * dlfcn/dlmopen.c (dlmopen_doit): Likewise.
4103 * dlfcn/dlopen.c (dlopen_doit): Likewise.
4104 * dlfcn/dlopenold.c (__dlopen_nocheck): Likewise.
4105 * dlfcn/dlsym.c (dlsym_doit): Likewise.
4106 * dlfcn/dlvsym.c (dlvsym_doit): Likewise.
4107 * elf/dl-cache.c (_dl_load_cache_lookup): Likewise.
4108 * elf/dl-close.c (remove_slotinfo, _dl_close_worker, _dl_close):
4110 * elf/dl-conflict.c: Likewise.
4111 * elf/dl-deps.c (_dl_build_local_scope, _dl_map_object_deps): Likewise.
4112 * elf/dl-dst.h: Likewise.
4113 * elf/dl-fini.c (_dl_sort_fini, _dl_fini): Likewise.
4114 * elf/dl-fptr.c (_dl_make_fptr): Likewise.
4115 * elf/dl-hwcaps.c (_dl_important_hwcaps): Likewise.
4116 * elf/dl-init.c (call_init, _dl_init): Likewise.
4117 * elf/dl-libc.c (__libc_dlopen_mode, __libc_dlsym): Likewise.
4118 * elf/dl-load.c (_dl_dst_substitute, fillin_rpath, _dl_init_paths)
4119 (_dl_map_object_from_fd, open_verify, open_path, _dl_map_object):
4121 * elf/dl-lookup.c (do_lookup_x, add_dependency, _dl_lookup_symbol_x):
4123 * elf/dl-minimal.c (__libc_memalign): Likewise.
4124 * elf/dl-open.c (add_to_global, dl_open_worker, _dl_open): Likewise.
4125 * elf/dl-reloc.c (_dl_relocate_object): Likewise.
4126 * elf/dl-runtime.c (_dl_fixup, _dl_profile_fixup): Likewise.
4127 * elf/dl-sym.c (do_sym): Likewise.
4128 * elf/dl-tls.c (tls_get_addr_tail, update_get_addr)
4129 (__tls_get_addr, _dl_tls_get_addr_soft): Likewise.
4130 * elf/dl-version.c (match_symbol, _dl_check_map_versions): Likewise.
4131 * elf/dl-writev.h (_dl_writev): Likewise.
4132 * elf/ldconfig.c (search_dir): Likewise.
4133 * elf/rtld.c (_dl_start_final, _dl_start, init_tls, do_preload)
4134 (dl_main): Likewise.
4135 * elf/setup-vdso.h (setup_vdso): Likewise.
4136 * grp/compat-initgroups.c (compat_call): Likewise.
4137 * grp/fgetgrent.c (fgetgrent): Likewise.
4138 * grp/initgroups.c (getgrouplist, initgroups): Likewise.
4139 * grp/putgrent.c (putgrent): Likewise.
4140 * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
4142 * hurd/hurdinit.c: Likewise.
4143 * iconvdata/8bit-gap.c (struct): Likewise.
4144 * iconvdata/ansi_x3.110.c : Likewise.
4145 * iconvdata/big5.c : Likewise.
4146 * iconvdata/big5hkscs.c : Likewise.
4147 * iconvdata/cp1255.c: Likewise.
4148 * iconvdata/cp1258.c : Likewise.
4149 * iconvdata/cp932.c : Likewise.
4150 * iconvdata/euc-cn.c: Likewise.
4151 * iconvdata/euc-jisx0213.c : Likewise.
4152 * iconvdata/euc-jp.c: Likewise.
4153 * iconvdata/euc-jp-ms.c : Likewise.
4154 * iconvdata/euc-kr.c (euckr_from_ucs4): Likewise.
4155 * iconvdata/gb18030.c : Likewise.
4156 * iconvdata/gbbig5.c (const): Likewise.
4157 * iconvdata/gbgbk.c: Likewise.
4158 * iconvdata/gbk.c : Likewise.
4159 * iconvdata/ibm1364.c : Likewise.
4160 * iconvdata/ibm930.c : Likewise.
4161 * iconvdata/ibm932.c: Likewise.
4162 * iconvdata/ibm933.c : Likewise.
4163 * iconvdata/ibm935.c : Likewise.
4164 * iconvdata/ibm937.c : Likewise.
4165 * iconvdata/ibm939.c : Likewise.
4166 * iconvdata/ibm943.c: Likewise.
4167 * iconvdata/iso_11548-1.c: Likewise.
4168 * iconvdata/iso-2022-cn.c : Likewise.
4169 * iconvdata/iso-2022-cn-ext.c : Likewise.
4170 * iconvdata/iso-2022-jp-3.c: Likewise.
4171 * iconvdata/iso-2022-jp.c (gconv_end): Likewise.
4172 * iconvdata/iso-2022-kr.c : Likewise.
4173 * iconvdata/iso646.c (gconv_end): Likewise.
4174 * iconvdata/iso_6937-2.c : Likewise.
4175 * iconvdata/iso_6937.c : Likewise.
4176 * iconvdata/iso8859-1.c: Likewise.
4177 * iconvdata/johab.c (johab_sym_hanja_to_ucs): Likewise.
4178 * iconvdata/shift_jisx0213.c : Likewise.
4179 * iconvdata/sjis.c : Likewise.
4180 * iconvdata/t.61.c : Likewise.
4181 * iconvdata/tcvn5712-1.c : Likewise.
4182 * iconvdata/tscii.c: Likewise.
4183 * iconvdata/uhc.c : Likewise.
4184 * iconvdata/unicode.c (gconv_end): Likewise.
4185 * iconvdata/utf-16.c (gconv_end): Likewise.
4186 * iconvdata/utf-32.c (gconv_end): Likewise.
4187 * iconvdata/utf-7.c (base64): Likewise.
4188 * iconv/gconv_cache.c (__gconv_load_cache): Likewise.
4189 * iconv/gconv_close.c (__gconv_close): Likewise.
4190 * iconv/gconv_open.c (__gconv_open): Likewise.
4191 * iconv/gconv_simple.c (internal_ucs4_loop_single)
4192 (ucs4_internal_loop, ucs4_internal_loop_unaligned)
4193 (ucs4_internal_loop_single, internal_ucs4le_loop_single)
4194 (ucs4le_internal_loop, ucs4le_internal_loop_unaligned)
4195 (ucs4le_internal_loop_single): Likewise.
4196 * iconv/iconv.c (iconv): Likewise.
4197 * iconv/iconv_close.c: Likewise.
4198 * iconv/loop.c (SINGLE): Likewise.
4199 * iconv/skeleton.c (FUNCTION_NAME): Likewise.
4200 * include/atomic.h: Likewise.
4201 * inet/inet6_option.c (option_alloc): Likewise.
4202 * intl/bindtextdom.c (set_binding_values): Likewise.
4203 * intl/dcigettext.c (DCIGETTEXT, _nl_find_msg): Likewise.
4204 * intl/loadmsgcat.c (_nl_load_domain): Likewise.
4205 * intl/localealias.c (read_alias_file): Likewise.
4206 * libio/filedoalloc.c (_IO_file_doallocate): Likewise.
4207 * libio/fileops.c (_IO_file_open, _IO_file_underflow_mmap)
4208 (_IO_new_file_overflow, _IO_file_xsgetn_mmap): Likewise.
4209 * libio/fmemopen.c (fmemopen): Likewise.
4210 * libio/iofgets.c (_IO_fgets): Likewise.
4211 * libio/iofgets_u.c (fgets_unlocked): Likewise.
4212 * libio/iofgetws.c (fgetws): Likewise.
4213 * libio/iofgetws_u.c (fgetws_unlocked): Likewise.
4214 * libio/iogetdelim.c (_IO_getdelim): Likewise.
4215 * libio/wfileops.c (_IO_wfile_underflow, _IO_wfile_underflow_mmap)
4216 (adjust_wide_data, _IO_wfile_seekoff): Likewise.
4217 * locale/findlocale.c (_nl_find_locale): Likewise.
4218 * locale/loadarchive.c (_nl_load_locale_from_archive): Likewise.
4219 * locale/loadlocale.c (_nl_intern_locale_data, _nl_load_locale):
4221 * locale/setlocale.c (setlocale): Likewise.
4222 * login/programs/pt_chown.c (main): Likewise.
4223 * malloc/arena.c (ptmalloc_init, shrink_heap, arena_get2): Likewise.
4224 * malloc/malloc.c (_int_malloc, _int_free): Likewise.
4225 * malloc/memusage.c (update_data, malloc, realloc, calloc, free)
4226 (mmap, mmap64, mremap, munmap): Likewise.
4227 * math/e_exp2l.c: Likewise.
4228 * math/e_scalb.c (invalid_fn, __ieee754_scalb): Likewise.
4229 * math/e_scalbf.c (invalid_fn, __ieee754_scalbf): Likewise.
4230 * math/e_scalbl.c (invalid_fn, __ieee754_scalbl): Likewise.
4231 * math/s_catan.c (__catan): Likewise.
4232 * math/s_catanf.c (__catanf): Likewise.
4233 * math/s_catanh.c (__catanh): Likewise.
4234 * math/s_catanhf.c (__catanhf): Likewise.
4235 * math/s_catanhl.c (__catanhl): Likewise.
4236 * math/s_catanl.c (__catanl): Likewise.
4237 * math/s_ccosh.c (__ccosh): Likewise.
4238 * math/s_ccoshf.c (__ccoshf): Likewise.
4239 * math/s_ccoshl.c (__ccoshl): Likewise.
4240 * math/s_cexp.c (__cexp): Likewise.
4241 * math/s_cexpf.c (__cexpf): Likewise.
4242 * math/s_cexpl.c (__cexpl): Likewise.
4243 * math/s_clog10.c (__clog10): Likewise.
4244 * math/s_clog10f.c (__clog10f): Likewise.
4245 * math/s_clog10l.c (__clog10l): Likewise.
4246 * math/s_clog.c (__clog): Likewise.
4247 * math/s_clogf.c (__clogf): Likewise.
4248 * math/s_clogl.c (__clogl): Likewise.
4249 * math/s_csin.c (__csin): Likewise.
4250 * math/s_csinf.c (__csinf): Likewise.
4251 * math/s_csinh.c (__csinh): Likewise.
4252 * math/s_csinhf.c (__csinhf): Likewise.
4253 * math/s_csinhl.c (__csinhl): Likewise.
4254 * math/s_csinl.c (__csinl): Likewise.
4255 * math/s_csqrt.c (__csqrt): Likewise.
4256 * math/s_csqrtf.c (__csqrtf): Likewise.
4257 * math/s_csqrtl.c (__csqrtl): Likewise.
4258 * math/s_ctan.c (__ctan): Likewise.
4259 * math/s_ctanf.c (__ctanf): Likewise.
4260 * math/s_ctanh.c (__ctanh): Likewise.
4261 * math/s_ctanhf.c (__ctanhf): Likewise.
4262 * math/s_ctanhl.c (__ctanhl): Likewise.
4263 * math/s_ctanl.c (__ctanl): Likewise.
4264 * math/w_pow.c: Likewise.
4265 * math/w_powf.c: Likewise.
4266 * math/w_powl.c: Likewise.
4267 * math/w_scalb.c (sysv_scalb): Likewise.
4268 * math/w_scalbf.c (sysv_scalbf): Likewise.
4269 * math/w_scalbl.c (sysv_scalbl): Likewise.
4270 * misc/error.c (error_tail): Likewise.
4271 * misc/pselect.c (__pselect): Likewise.
4272 * nis/nis_callback.c (__nis_create_callback): Likewise.
4273 * nis/nis_call.c (__nisfind_server): Likewise.
4274 * nis/nis_creategroup.c (nis_creategroup): Likewise.
4275 * nis/nis_domain_of_r.c (nis_domain_of_r): Likewise.
4276 * nis/nis_findserv.c (__nis_findfastest_with_timeout): Likewise.
4277 * nis/nis_getservlist.c (nis_getservlist): Likewise.
4278 * nis/nis_lookup.c (nis_lookup): Likewise.
4279 * nis/nis_subr.c (nis_leaf_of_r, nis_getnames): Likewise.
4280 * nis/nis_table.c (__create_ib_request, nis_list, nis_add_entry)
4281 (nis_modify_entry, nis_first_entry, nis_next_entry): Likewise.
4282 * nis/nis_xdr.c (xdr_endpoint): Likewise.
4283 * nis/nss_compat/compat-grp.c (getgrent_next_file)
4284 (internal_getgrnam_r, internal_getgrgid_r): Likewise.
4285 * nis/nss_compat/compat-initgroups.c (add_group)
4286 (internal_getgrent_r): Likewise.
4287 * nis/nss_compat/compat-pwd.c (getpwent_next_file)
4288 (internal_getpwnam_r, internal_getpwuid_r): Likewise.
4289 * nis/nss_compat/compat-spwd.c (getspent_next_file)
4290 (internal_getspnam_r): Likewise.
4291 * nis/nss_nis/nis-alias.c (internal_nis_getaliasent_r)
4292 (_nss_nis_getaliasbyname_r): Likewise.
4293 * nis/nss_nis/nis-ethers.c (_nss_nis_gethostton_r)
4294 (_nss_nis_getntohost_r): Likewise.
4295 * nis/nss_nis/nis-grp.c (internal_nis_setgrent)
4296 (internal_nis_getgrent_r, _nss_nis_getgrnam_r)
4297 (_nss_nis_getgrgid_r): Likewise.
4298 * nis/nss_nis/nis-hosts.c (_nss_nis_sethostent)
4299 (internal_nis_gethostent_r, internal_gethostbyname2_r)
4300 (_nss_nis_gethostbyname_r, _nss_nis_gethostbyaddr_r)
4301 (_nss_nis_gethostbyname4_r): Likewise.
4302 * nis/nss_nis/nis-initgroups.c (internal_getgrent_r)
4303 (initgroups_netid): Likewise.
4304 * nis/nss_nis/nis-netgrp.c (_nss_nis_setnetgrent): Likewise.
4305 * nis/nss_nis/nis-network.c (internal_nis_getnetent_r)
4306 (_nss_nis_getnetbyname_r, _nss_nis_getnetbyaddr_r): Likewise.
4307 * nis/nss_nis/nis-proto.c (_nss_nis_getprotobyname_r)
4308 (_nss_nis_getprotobynumber_r): Likewise.
4309 * nis/nss_nis/nis-publickey.c (_nss_nis_getpublickey)
4310 (_nss_nis_getsecretkey): Likewise.
4311 * nis/nss_nis/nis-pwd.c (_nis_saveit, internal_nis_setpwent)
4312 (internal_nis_getpwent_r, _nss_nis_getpwnam_r)
4313 (_nss_nis_getpwuid_r): Likewise.
4314 * nis/nss_nis/nis-rpc.c (internal_nis_getrpcent_r)
4315 (_nss_nis_getrpcbyname_r, _nss_nis_getrpcbynumber_r): Likewise.
4316 * nis/nss_nis/nis-service.c (dosearch, internal_nis_getservent_r)
4317 (_nss_nis_getservbyname_r, _nss_nis_getservbyport_r): Likewise.
4318 * nis/nss_nis/nis-spwd.c (_nss_nis_setspent)
4319 (internal_nis_getspent_r, _nss_nis_getspnam_r): Likewise.
4320 * nis/nss_nisplus/nisplus-alias.c (_nss_nisplus_getaliasbyname_r):
4322 * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_gethostton_r)
4323 (_nss_nisplus_getntohost_r): Likewise.
4324 * nis/nss_nisplus/nisplus-grp.c (internal_nisplus_getgrent_r)
4325 (_nss_nisplus_getgrnam_r, _nss_nisplus_getgrgid_r): Likewise.
4326 * nis/nss_nisplus/nisplus-hosts.c (internal_gethostbyname2_r)
4327 (_nss_nisplus_gethostbyaddr_r, _nss_nisplus_gethostbyname4_r):
4329 * nis/nss_nisplus/nisplus-initgroups.c
4330 (_nss_nisplus_initgroups_dyn): Likewise.
4331 * nis/nss_nisplus/nisplus-network.c (_nss_nisplus_getnetbyname_r)
4332 (_nss_nisplus_getnetbyaddr_r): Likewise.
4333 * nis/nss_nisplus/nisplus-proto.c (_nss_nisplus_getprotobyname_r)
4334 (_nss_nisplus_getprotobynumber_r): Likewise.
4335 * nis/nss_nisplus/nisplus-pwd.c (internal_nisplus_getpwent_r)
4336 (_nss_nisplus_getpwnam_r, _nss_nisplus_getpwuid_r): Likewise.
4337 * nis/nss_nisplus/nisplus-rpc.c (_nss_nisplus_getrpcbyname_r):
4339 * nis/nss_nisplus/nisplus-service.c
4340 (internal_nisplus_getservent_r, _nss_nisplus_getservbyname_r)
4341 (_nss_nisplus_getservbyport_r): Likewise.
4342 * nis/nss_nisplus/nisplus-spwd.c (internal_nisplus_getspent_r)
4343 (_nss_nisplus_getspnam_r): Likewise.
4344 * nis/ypclnt.c (__yp_bind, yp_match, yp_all, yp_maplist):
4346 * nscd/aicache.c (addhstaiX): Likewise.
4347 * nscd/cache.c (cache_search, prune_cache): Likewise.
4348 * nscd/connections.c (register_traced_file, send_ro_fd)
4349 (handle_request, nscd_run_prune, nscd_run_worker, fd_ready)
4350 (main_loop_epoll): Likewise.
4351 * nscd/grpcache.c (addgrbyX): Likewise.
4352 * nscd/hstcache.c (addhstbyX): Likewise.
4353 * nscd/initgrcache.c (addinitgroupsX): Likewise.
4354 * nscd/mem.c (gc, mempool_alloc): Likewise.
4355 * nscd/netgroupcache.c (do_notfound, addgetnetgrentX)
4356 (addinnetgrX): Likewise.
4357 * nscd/nscd-client.h (__nscd_acquire_maplock)
4358 (__nscd_drop_map_ref): Likewise.
4359 * nscd/nscd_getai.c (__nscd_getai): Likewise.
4360 * nscd/nscd_getgr_r.c (nscd_getgr_r): Likewise.
4361 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp, nscd_gethst_r):
4363 * nscd/nscd_getpw_r.c (nscd_getpw_r): Likewise.
4364 * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
4365 * nscd/nscd_helper.c (__readvall, open_socket, __nscd_get_mapping)
4366 (__nscd_get_map_ref): Likewise.
4367 * nscd/nscd_initgroups.c (__nscd_getgrouplist): Likewise.
4368 * nscd/nscd_netgroup.c (__nscd_setnetgrent, __nscd_innetgr):
4370 * nscd/pwdcache.c (addpwbyX): Likewise.
4371 * nscd/selinux.c (preserve_capabilities): Likewise.
4372 * nscd/servicescache.c (addservbyX): Likewise.
4373 * nss/nss_files/files-XXX.c (internal_getent): Likewise.
4374 * posix/fnmatch.c (fnmatch): Likewise.
4375 * posix/getopt.c (_getopt_internal_r): Likewise.
4376 * posix/glob.c (glob, glob_in_dir): Likewise.
4377 * posix/wordexp.c (exec_comm_child): Likewise.
4378 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyaddr2_r)
4379 (getanswer_r, gaih_getanswer_slice): Likewise.
4380 * resolv/nss_dns/dns-network.c (getanswer_r): Likewise.
4381 * resolv/res_init.c: Likewise.
4382 * resolv/res_mkquery.c (res_nmkquery): Likewise.
4383 * resolv/res_query.c (__libc_res_nquery): Likewise.
4384 * resolv/res_send.c (__libc_res_nsend, send_vc, reopen, send_dg):
4386 * stdio-common/_i18n_number.h (_i18n_number_rewrite): Likewise.
4387 * stdio-common/perror.c (perror): Likewise.
4388 * stdio-common/printf_fp.c (___printf_fp): Likewise.
4389 * stdio-common/tmpnam.c (tmpnam): Likewise.
4390 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
4391 * stdlib/cxa_finalize.c (__cxa_finalize): Likewise.
4392 * stdlib/cxa_thread_atexit_impl.c (__cxa_thread_atexit_impl):
4394 * stdlib/drand48-iter.c (__drand48_iterate): Likewise.
4395 * stdlib/putenv.c (putenv): Likewise.
4396 * stdlib/setenv.c (__add_to_environ): Likewise.
4397 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
4398 * stdlib/strtol_l.c (INTERNAL): Likewise.
4399 * string/memmem.c (memmem): Likewise.
4400 * string/strerror.c (strerror): Likewise.
4401 * string/strnlen.c (__strnlen): Likewise.
4402 * string/test-memmem.c (simple_memmem): Likewise.
4403 * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Likewise.
4404 * sunrpc/pm_getport.c (__get_socket): Likewise.
4405 * sysdeps/gnu/unwind-resume.c (init, _Unwind_Resume): Likewise.
4406 * sysdeps/i386/dl-irel.h (elf_irel): Likewise.
4407 * sysdeps/i386/dl-machine.h (elf_machine_runtime_setup)
4408 (elf_machine_rel, elf_machine_lazy_rel, elf_machine_lazy_rela):
4410 * sysdeps/ieee754/dbl-64/e_atanh.c (__ieee754_atanh): Likewise.
4411 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Likewise.
4412 * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Likewise.
4413 * sysdeps/ieee754/dbl-64/e_gamma_r.c (__ieee754_gamma_r): Likewise.
4414 * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Likewise.
4415 * sysdeps/ieee754/dbl-64/e_j1.c (__ieee754_j1, __ieee754_y1):
4417 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn, __ieee754_yn):
4419 * sysdeps/ieee754/dbl-64/e_log10.c (__ieee754_log10): Likewise.
4420 * sysdeps/ieee754/dbl-64/e_log2.c (__ieee754_log2): Likewise.
4421 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
4422 * sysdeps/ieee754/dbl-64/e_sinh.c (__ieee754_sinh): Likewise.
4423 * sysdeps/ieee754/dbl-64/s_asinh.c (__asinh): Likewise.
4424 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Likewise.
4425 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Likewise.
4426 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Likewise.
4427 * sysdeps/ieee754/dbl-64/s_modf.c (__modf): Likewise.
4428 * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): Likewise.
4429 * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
4430 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c (__ieee754_acosh):
4432 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c (__ieee754_log10):
4434 * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c (__ieee754_log2):
4436 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c (__frexp): Likewise.
4437 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
4438 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo): Likewise.
4439 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c (__round): Likewise.
4440 * sysdeps/ieee754/flt-32/e_atanhf.c (__ieee754_atanhf): Likewise.
4441 * sysdeps/ieee754/flt-32/e_gammaf_r.c (__ieee754_gammaf_r): Likewise.
4442 * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
4443 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Likewise.
4444 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_nearbyint): Likewise.
4445 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c (__llrintl): Likewise.
4446 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c (__llroundl): Likewise.
4447 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
4448 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Likewise.
4449 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c (__lroundl): Likewise.
4450 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
4451 * sysdeps/ieee754/ldbl-96/e_gammal_r.c (__ieee754_gammal_r):
4453 * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l, __ieee754_y0l):
4455 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l, __ieee754_y1l):
4457 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl, __ieee754_ynl):
4459 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
4460 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
4461 * sysdeps/posix/clock_getres.c (hp_timing_getres, realtime_getres):
4463 * sysdeps/posix/fdopendir.c (__fdopendir): Likewise.
4464 * sysdeps/posix/getaddrinfo.c (gaih_inet, getaddrinfo): Likewise.
4465 * sysdeps/posix/opendir.c (__opendirat): Likewise.
4466 * sysdeps/posix/sleep.c: Likewise.
4467 * sysdeps/posix/tempname.c: Likewise.
4468 * sysdeps/powerpc/powerpc32/dl-irel.h (elf_irela): Likewise.
4469 * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
4471 * sysdeps/powerpc/powerpc32/dl-machine.h
4472 (elf_machine_runtime_setup, elf_machine_rela): Likewise.
4473 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_irela): Likewise.
4474 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
4475 * sysdeps/pthread/aio_notify.c (__aio_notify_only): Likewise.
4476 * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait, aio_suspend):
4478 * sysdeps/s390/dl-irel.h (elf_irela): Likewise.
4479 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_runtime_setup)
4480 (elf_machine_rela, elf_machine_lazy_rel): Likewise.
4481 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_runtime_setup)
4482 (elf_machine_rela, elf_machine_lazy_rel): Likewise.
4483 * sysdeps/s390/s390-64/utf16-utf32-z9.c (gconv_end): Likewise.
4484 * sysdeps/s390/s390-64/utf8-utf16-z9.c (gconv_end): Likewise.
4485 * sysdeps/s390/s390-64/utf8-utf32-z9.c (gconv_end): Likewise.
4486 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
4487 * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Likewise.
4488 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela)
4489 (elf_machine_lazy_rel): Likewise.
4490 * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
4491 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela)
4492 (elf_machine_lazy_rel): Likewise.
4493 * sysdeps/sparc/sparc64/dl-plt.h (sparc64_fixup_plt): Likewise.
4494 * sysdeps/unix/clock_gettime.c (hp_timing_gettime): Likewise.
4495 * sysdeps/unix/clock_settime.c (hp_timing_settime): Likewise.
4496 * sysdeps/unix/grantpt.c (grantpt): Likewise.
4497 * sysdeps/unix/sysv/linux/accept4.c (accept4): Likewise.
4498 * sysdeps/unix/sysv/linux/adjtime.c (ADJTIME): Likewise.
4499 * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): Likewise.
4500 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
4502 * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Likewise.
4503 * sysdeps/unix/sysv/linux/fchmodat.c (fchmodat): Likewise.
4504 * sysdeps/unix/sysv/linux/fchownat.c (fchownat): Likewise.
4505 * sysdeps/unix/sysv/linux/futimesat.c (futimesat): Likewise.
4506 * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
4507 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
4508 * sysdeps/unix/sysv/linux/i386/fallocate64.c (fallocate64): Likewise.
4509 * sysdeps/unix/sysv/linux/i386/fallocate.c (fallocate): Likewise.
4510 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Likewise.
4511 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
4512 * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
4514 * sysdeps/unix/sysv/linux/i386/posix_fallocate64.c
4515 (__posix_fallocate64_l64): Likewise.
4516 * sysdeps/unix/sysv/linux/i386/posix_fallocate.c
4517 (posix_fallocate): Likewise.
4518 * sysdeps/unix/sysv/linux/i386/scandir64.c (__old_scandir64):
4520 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
4521 * sysdeps/unix/sysv/linux/ifaddrs.c (__netlink_request)
4522 (getifaddrs_internal): Likewise.
4523 * sysdeps/unix/sysv/linux/linkat.c (linkat): Likewise.
4524 * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Likewise.
4525 * sysdeps/unix/sysv/linux/mq_unlink.c (mq_unlink): Likewise.
4526 * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Likewise.
4527 * sysdeps/unix/sysv/linux/posix_fallocate64.c
4528 (__posix_fallocate64_l64): Likewise.
4529 * sysdeps/unix/sysv/linux/posix_fallocate.c (posix_fallocate):
4531 * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat): Likewise.
4532 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c
4533 (__get_clockfreq): Likewise.
4534 * sysdeps/unix/sysv/linux/readlinkat.c (readlinkat): Likewise.
4535 * sysdeps/unix/sysv/linux/recvmmsg.c (recvmmsg): Likewise.
4536 * sysdeps/unix/sysv/linux/renameat.c (renameat): Likewise.
4537 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
4538 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
4539 * sysdeps/unix/sysv/linux/sched_setaffinity.c: Likewise.
4540 * sysdeps/unix/sysv/linux/sendmmsg.c (__sendmmsg): Likewise.
4541 * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs, shm_open):
4543 * sysdeps/unix/sysv/linux/sleep.c (__sleep): Likewise.
4544 * sysdeps/unix/sysv/linux/symlinkat.c (symlinkat): Likewise.
4545 * sysdeps/unix/sysv/linux/tcgetattr.c (__tcgetattr): Likewise.
4546 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Likewise.
4547 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
4548 * sysdeps/unix/sysv/linux/unlinkat.c (unlinkat): Likewise.
4549 * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c (__fxstatat):
4551 * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
4552 (posix_fallocate): Likewise.
4553 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
4554 * sysdeps/unix/sysv/linux/xmknodat.c (__xmknodat): Likewise.
4555 * sysdeps/x86_64/dl-irel.h (elf_irela): Likewise.
4556 * sysdeps/x86_64/dl-machine.h (elf_machine_runtime_setup)
4557 (elf_machine_rela, elf_machine_rela_relative)
4558 (elf_machine_lazy_rel): Likewise.
4559 * time/asctime.c (asctime_internal): Likewise.
4560 * time/tzfile.c (__tzfile_read, __tzfile_compute): Likewise.
4561 * time/tzset.c (__tzset_parse_tz): Likewise.
4562 * wcsmbs/mbrtoc16.c (mbrtoc16): Likewise.
4563 * wcsmbs/mbrtowc.c (__mbrtowc): Likewise.
4564 * wcsmbs/wcsmbsload.c (__wcsmbs_load_conv): Likewise.
4565 * wcsmbs/wcsmbsload.h: Likewise.
4568 * stdlib/setenv.c (__add_to_environ): Remove duplicate code.
4570 * malloc/arena.c (grow_heap, get_free_list, reused_arena)
4571 (arena_get2): Remove THREAD_STATS conditionals.
4572 * malloc/malloc.c (__malloc_assert, __libc_realloc, _int_free)
4573 (__malloc_stats, int): Likewise.
4575 2014-02-08 Mike Frysinger <vapier@gentoo.org>
4577 * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs): Compare
4578 f.f_type to RAMFS_MAGIC too. Compare mp->mnt_type to shm too.
4580 * manual/setjmp.texi: Fix typos/grammar errors.
4582 * debug/tst-backtrace4.c (handle_signal): Add NUM_FUNCTIONS to output.
4583 Only return early when n is <= 0. Delete unused return statement.
4585 * debug/Makefile (CFLAGS-tst-longjmp_chk3.c): Define.
4586 (CPPFLAGS-tst-longjmp_chk3.c): Likewise.
4587 * debug/tst-longjmp_chk3.c: New file.
4589 * benchtests/bench-strcpy_chk.c: Move test-skeleton.c to top.
4590 (test_main): Replace code with set_fortify_handler call.
4591 * debug/test-strcpy_chk.c: Likewise.
4592 * debug/tst-chk1.c: Likewise.
4593 * debug/tst-longjmp_chk.c: Likewise.
4594 * test-skeleton.c: Include fcntl.h & paths.h
4595 (set_fortify_handler): Define.
4597 * debug/tst-longjmp_chk.c: Add header comment and include
4599 (do_test): Mark static.
4600 (TEST_FUNCTION): Define.
4602 * sysdeps/unix/sysv/linux/bits/in.h (IP_NODEFRAG): Define.
4603 (IP_PMTUDISC_INTERFACE): Likewise.
4604 (IP_MULTICAST_IF): Likewise.
4605 (IP_MULTICAST_TTL): Likewise.
4606 (IP_MULTICAST_LOOP): Likewise.
4607 (IP_ADD_MEMBERSHIP): Likewise.
4608 (IP_DROP_MEMBERSHIP): Likewise.
4609 (IP_UNBLOCK_SOURCE): Likewise.
4610 (IP_BLOCK_SOURCE): Likewise.
4611 (IP_ADD_SOURCE_MEMBERSHIP): Likewise.
4612 (IP_DROP_SOURCE_MEMBERSHIP): Likewise.
4613 (IP_MSFILTER): Likewise.
4614 (MCAST_JOIN_GROUP): Likewise.
4615 (MCAST_BLOCK_SOURCE): Likewise.
4616 (MCAST_UNBLOCK_SOURCE): Likewise.
4617 (MCAST_LEAVE_GROUP): Likewise.
4618 (MCAST_JOIN_SOURCE_GROUP): Likewise.
4619 (MCAST_LEAVE_SOURCE_GROUP): Likewise.
4620 (MCAST_MSFILTER): Likewise.
4621 (IP_MULTICAST_ALL): Likewise.
4622 (IP_UNICAST_IF): Likewise.
4624 * timezone/Makefile: Delete $(have-ksh) check.
4625 ($(objpfx)tzselect): Change $(KSH) to $(BASH).
4626 * timezone/tzselect.ksh: Add +x mode bits.
4628 * sysdeps/unix/sysv/linux/linux_fsinfo.h (AFS_SUPER_MAGIC): Define.
4629 (ANON_INODE_FS_MAGIC): Likewise.
4630 (BDEVFS_MAGIC): Likewise.
4631 (BINFMTFS_MAGIC): Likewise.
4632 (BTRFS_TEST_MAGIC): Likewise.
4633 (CRAMFS_MAGIC_WEND): Likewise.
4634 (DEBUGFS_MAGIC): Likewise.
4635 (ECRYPTFS_SUPER_MAGIC): Likewise.
4636 (EXT3_SUPER_MAGIC): Likewise.
4637 (EXT4_SUPER_MAGIC): Likewise.
4638 (FUTEXFS_SUPER_MAGIC): Likewise.
4639 (HOSTFS_SUPER_MAGIC): Likewise.
4640 (HUGETLBFS_MAGIC): Likewise.
4641 (MINIX3_SUPER_MAGIC): Likewise.
4642 (MTD_INODE_FS_MAGIC): Likewise.
4643 (NILFS_SUPER_MAGIC): Likewise.
4644 (OPENPROM_SUPER_MAGIC): Likewise.
4645 (PIPEFS_MAGIC): Likewise.
4646 (PSTOREFS_MAGIC): Likewise.
4647 (QNX6_SUPER_MAGIC): Likewise.
4648 (RAMFS_MAGIC): Likewise.
4649 (REISERFS_SUPER_MAGIC_STRING): Likewise.
4650 (REISER2FS_SUPER_MAGIC_STRING): Likewise.
4651 (REISER2FS_JR_SUPER_MAGIC_STRING): Likewise.
4652 (SECURITYFS_MAGIC): Likewise.
4653 (SELINUX_MAGIC): Likewise.
4654 (SMACK_MAGIC): Likewise.
4655 (SOCKFS_MAGIC): Likewise.
4656 (SQUASHFS_MAGIC): Likewise.
4657 (STACK_END_MAGIC): Likewise.
4658 (TMPFS_MAGIC): Likewise.
4659 (USBDEVICE_SUPER_MAGIC): Likewise.
4660 (V9FS_MAGIC): Likewise.
4661 (XENFS_SUPER_MAGIC): Likewise.
4662 (CRAMFS_MAGIC): Fix typo in comment.
4663 (EXT2_SUPER_MAGIC): Update comment.
4664 (USBDEVFS_SUPER_MAGIC): Fix sorting order by moving further down.
4666 2014-02-08 Joseph Myers <joseph@codesourcery.com>
4668 * sysdeps/arm: Move directory from ports/sysdeps/arm.
4669 * sysdeps/unix/arm: Move directory from ports/sysdeps/unix/arm.
4670 * sysdeps/unix/sysv/linux/arm: Move directory from
4671 ports/sysdeps/unix/sysv/linux/arm.
4672 * README: Update listing for arm-*-linux-gnueabi.
4674 * README: Remove mention of am33.
4676 2014-02-07 Roland McGrath <roland@hack.frob.com>
4678 * bits/sigset.h (__sigemptyset): Use a statement expression rather
4679 than the comma operator, to avoid "rhs of comma has no effect"
4681 (__sigfillset, __sigandset, __sigorset): Likewise.
4682 * include/signal.h (__sigemptyset): Likewise.
4683 * sysdeps/generic/malloc-machine.h (mutex_lock): Likewise.
4685 2014-02-07 Allan McRae <allan@archlinux.org>
4687 * version.h (RELEASE): Set to "development".
4688 (VERSION): Set to "2.19.90"
4689 * NEWS: Add 2.20 section.
4691 2014-02-06 Carlos O'Donell <carlos@redhat.com>
4694 * inet/netinet/in.h: Remove comma after IPPROTO_MH.
4696 2014-02-06 Siddhesh Poyarekar <siddhesh@redhat.com>
4698 * manual/contrib.texi: Update entry for Carlos O'Donell,
4699 Joseph Myers, Roland McGrath, Alexandre Oliva and Ryan Arnold.
4701 2014-02-05 Carlos O'Donell <carlos@rehdat.com>
4703 * sysdeps/unix/sysv/linux/kernel-features.h: Fix comment.
4705 * sysdeps/unix/sysv/linux/kernel-features.h
4706 [__LINUX_KERNEL_VERSION >= 0x020621]
4707 (__ASSUME_PROC_PID_TASK_COMM): Define.
4709 2014-02-05 Siddhesh Poyarekar <siddhesh@redhat.com>
4712 * libio/wfileops.c (_IO_wfile_seekoff): Break out form
4713 conversion when destination buffer does not have enough space.
4714 * libio/tst-ftell-partial-wide.c: New test case.
4715 * libio/Makefile (tests): Add tst-ftell-partial-wide.
4717 * manual/contrib.texi: Update entry for Ondrej Bilka, Will
4718 Newton and Alexandre Oliva. Add entries for Steve Ellcey, Chris
4719 Leonard and Allan McRae.
4721 2014-02-04 David S. Miller <davem@davemloft.net>
4723 * sysdeps/sparc/fpu/libm-test-ulps: Update for some 64-bit differences from
4726 2014-02-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4728 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld-le.abilist:
4730 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale-le.abilist:
4732 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl-le.abilist:
4734 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc-le.abilist:
4736 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt-le.abilist:
4738 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl-le.abilist:
4740 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm-le.abilist:
4742 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl-le.abilist:
4744 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread-le.abilist:
4746 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv-le.abilist:
4748 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt-le.abilist:
4750 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db-le.abilist:
4752 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil-le.abilist:
4755 2014-02-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4757 * nptl/shlib-versions: Change powerpc*le start to 2.17.
4758 * shlib-versions: Likewise.
4760 2014-02-04 Roland McGrath <roland@hack.frob.com>
4761 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4763 * sysdeps/powerpc/Makefile [$(config-machine) ends with 'le']
4764 (abilist-pattern): New variable, set to %-le.abilist.
4766 * Makerules (abilist-pattern): New variable.
4767 (vpath): Use $(abilist-pattern) in place of %.abilist.
4768 (check-abi-% pattern rule): Likewise.
4769 (check-abi, update-abi): Likewise.
4771 2014-02-04 Eric Wong <normalperson@yhbt.net>
4773 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
4775 2014-02-03 Carlos O'Donell <carlos@redhat.com>
4777 * manual/startup.texi: Add next, previous, and top entries for
4778 the `Program Arguments' and `Environment Variables' nodes.
4780 2014-02-03 Alexandre Oliva <aoliva@redhat.com>
4782 * manual/macros.texi: Add comments before MTASC-safety macros.
4784 * manual/users.texi: Document MTASC-safety properties.
4786 * manual/threads.texi (pthread_key_create, pthread_key_delete)
4787 (pthread_getspecific, pthread_setspecific): Format with
4788 @deftypefun, and add @safety note.
4789 * manual/signal.texi: Move comments that analyze the above
4790 functions to their home place.
4792 2014-02-03 Allan McRae <allan@archlinux.org>
4794 * po/sl.po: Update Slovenian translation from translation project.
4796 2014-02-02 Alexandre Oliva <aoliva@redhat.com>
4798 * manual/time.texi (timegm): Add missing blank after @c.
4799 Reported by Joseph Myers <joseph@codesourcery.com>.
4801 2014-02-01 Alexandre Oliva <aoliva@redhat.com>
4803 * manual/check-safety.sh: New.
4804 * manual/Makefile ($(objpfx)stamp-summary): Run it.
4806 * manual/terminal.texi: Document MTASC-safety properties.
4808 * manual/filesys.texi: Document MTASC-safety properties.
4810 * manual/errno.texi: Document MTASC-safety properties.
4812 * manual/intro.texi: Document safety identifiers and
4815 * manual/string.texi (wcstok): Fix prototype.
4816 (wcstok, strtok, strtok_r): Adjust reentrancy remarks.
4818 * manual/time.texi: Document MTASC-safety properties.
4820 * manual/string.texi: Document MTASC-safety properties.
4822 * manual/threads.texi: Document MTASC-safety properties.
4824 * manual/stdio.texi: Document MTASC-safety properties.
4826 * manual/syslog.texi: Document MTASC-safety properties.
4828 * manual/sysinfo.texi: Document MTASC-safety properties.
4830 * manual/startup.texi: Document MTASC-safety properties.
4832 * manual/socket.texi: Document MTASC-safety properties.
4834 * manual/signal.texi: Document MTASC-safety properties.
4836 2014-01-31 Alexandre Oliva <aoliva@redhat.com>
4838 * manual/setjmp.texi: Document MTASC-safety properties.
4840 * manual/search.texi: Document MTASC-safety properties.
4842 * manual/resource.texi: Document MTASC-safety properties.
4844 * manual/process.texi: Document MTASC-safety properties.
4846 * manual/platform.texi: Document MTASC-safety properties.
4848 * manual/pipe.texi: Document MTASC-safety properties.
4850 * manual/pattern.texi: Document MTASC-safety properties.
4852 * manual/message.texi: Document MTASC-safety properties.
4855 * manual/memory.texi: Document MTASC-safety properties.
4857 * manual/math.texi: Document MTASC-safety properties.
4859 * manual/locale.texi: Document MTASC-safety properties.
4861 * manual/llio.texi: Document MTASC-safety properties.
4863 * manual/libdl.texi: New.
4865 * manual/lang.texi: Document MTASC-safety properties.
4867 * manual/job.texi: Document MTASC-safety properties.
4869 * manual/getopt.texi: Document MTASC-safety properties.
4871 * manual/ctype.texi: Document MTASC-safety properties.
4873 2014-01-31 Maciej W. Rozycki <macro@codesourcery.com>
4876 * csu/libc-tls.c (static_map): Remove variable.
4877 (__libc_setup_tls): Use main executable's link map for TLS data.
4878 * elf/dl-close.c (_dl_close_worker) [!SHARED]: Remove special
4879 casing for LM_ID_BASE and GL(dl_nns).
4880 * elf/dl-iteratephdr.c [!SHARED] (dl_iterate_phdr): Remove
4881 function. Alias dl_iterate_phdr to __dl_iterate_phdr.
4882 * elf/dl-load.c (_dl_map_object) [!SHARED]: Remove special
4883 casing for GL(dl_ns)[LM_ID_BASE]._ns_loaded.
4884 * elf/dl-support.c (_dl_main_map): Also initialize l_flags_1
4886 (_dl_non_dynamic_init): Also initialize _dl_main_map's l_phdr and
4889 2014-01-30 Alexandre Oliva <aoliva@redhat.com>
4891 * manual/debug.texi: Document MTASC-safety properties.
4893 2014-01-29 H.J. Lu <hongjiu.lu@intel.com>
4896 * sysdeps/x86/fpu/bits/mathinline.h: Check __SSE2_MATH__ instead
4897 of __x86_64__ when disabling x87 inline functions.
4899 2014-01-29 Alexandre Oliva <aoliva@redhat.com>
4901 * manual/charset.texi: Document MTASC-safety properties.
4903 * manual/crypt.texi: Document MTASC-safety properties.
4905 * manual/conf.texi: Document MTASC-safety properties.
4907 * manual/arith.texi: Document MTASC-safety properties.
4909 * manual/argp.texi: Document MTASC-safety properties.
4911 * manual/macros.texi: Introduce macros to document multi
4912 thread, asynchronous signal and asynchronous cancellation
4914 * manual/intro.texi: Introduce the properties themselves.
4916 2014-01-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
4918 * sysdeps/sh/sh4/Makefile: New file.
4920 2014-01-27 Andreas Schwab <schwab@linux-m68k.org>
4922 * math/gen-libm-test.pl ($srcdir): New variable.
4923 ($auto_input): Use it.
4925 2014-01-27 Siddhesh Poyarekar <siddhesh@redhat.com>
4928 * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Avoid
4929 access beyond array bounds when parsing netgroups file.
4931 * nscd/netgroupcache.c (addgetnetgrentX): Compute offset from
4932 the old buffer before realloc.
4934 2014-01-27 Allan McRae <allan@archlinux.org>
4936 * po/fr.po: Update French translation from translation project.
4938 2014-01-26 Kaz Kojima <kkojima@rr.iij4u.or.jp>
4940 * sysdeps/sh/libm-test-ulps: Regenerate.
4942 2014-01-24 David S. Miller <davem@davemloft.net>
4944 * sysdeps/sparc/fpu/libm-test-ulps: Regenerate.
4946 2014-01-25 Kaz Kojima <kkojima@rr.iij4u.or.jp>
4948 * sysdeps/sh/sh4/fpu/libm-test-ulps: Move to ...
4949 * sysdeps/sh/libm-test-ulps: ... here and regenerated.
4951 2013-01-24 Siddhesh Poyarekar <siddhesh@redhat.com>
4954 * nscd/netgroupcache.c (addgetnetgrentX): Adjust triplet
4955 string pointers after reallocation.
4957 2014-01-24 Kaz Kojima <kkojima@rr.iij4u.or.jp>
4959 * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: Use __SH4__ and
4960 __SH4A__ instead of __SH_FPU_ANY__.
4962 2014-01-23 Kaz Kojima <kkojima@rr.iij4u.or.jp>
4964 * sysdeps/sh/fpu_control.h: New file.
4965 * sysdeps/sh/sh4/fpu/fpu_control.h: Remove.
4966 * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: New file.
4967 * sysdeps/unix/sysv/linux/sh/sh3/sys/ucontext.h: Remove.
4968 * sysdeps/unix/sysv/linux/sh/sh3/sys: Remove directory.
4969 * sysdeps/unix/sysv/linux/sh/sh4/sys/ucontext.h: Remove.
4970 * sysdeps/unix/sysv/linux/sh/sh4/sys: Remove directory.
4971 * sysdeps/sh/sys/ucontext.h: Remove.
4972 * sysdeps/sh/sys: Remove directory.
4974 2014-01-22 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
4976 * sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: Merge into
4977 s390/sys/ucontext.h.
4978 * sysdeps/unix/sysv/linux/s390/s390-64/sys/ucontext.h: Likewise.
4979 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: New file.
4981 2014-01-20 H.J. Lu <hongjiu.lu@intel.com>
4984 * sysdeps/x86_64/x32/symbol-hacks.h: Include generic symbol-hacks.h.
4986 2014-01-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4989 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
4990 Adjust the vDSO correctly for internal calls.
4991 * sysdeps/unix/sysv/linux/powerpc/time.c (time): Likewise.
4993 2014-01-20 Allan McRae <allan@archlinux.org>
4995 * po/ca.po: Update Catalan translation from translation project.
4997 2014-01-16 Mike Frysinger <vapier@gentoo.org>
4999 * sysdeps/s390/sotruss-lib.c: New file.
5001 2014-01-16 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5004 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c
5005 (__GI___gettimeofday): Alias for a different internal symbol to avoid
5006 local calls issues by not having a PLT stub required for IFUNC calls.
5007 * sysdeps/unix/sysv/linux/powerpc/time.c (__GI_time): Likewise.
5009 2014-01-16 Joseph Myers <joseph@codesourcery.com>
5011 * math/test-fpucw-ieee.c: Use <> in #include of test-fpucw.c.
5012 * math/test-fpucw-static.c: Likewise.
5014 2013-01-16 Siddhesh Poyarekar <siddhesh@redhat.com>
5017 * nscd/netgroupcache.c (addgetnetgrentX): Don't use alloca.
5019 2014-01-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5021 * sysdeps/powerpc/sotruss-lib.c: New file: sotruss-lib.so
5022 implementation for powerpc.
5024 2014-01-15 Ondřej Bílka <neleai@seznam.cz>
5027 * sysdeps/posix/system.c (__libc_system): Do not enable
5028 asynchronous cancellation.
5030 2014-01-15 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
5033 * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Invoke the non-IEEE
5034 handling only for numbers special also in the IEEE case.
5036 2014-01-15 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
5038 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
5040 2014-01-11 Allan McRae <allan@archlinux.org>
5042 * po/bg.po: Update Bulgarian translation from translation project.
5044 * po/de.po: Update German translation from translation project.
5046 2014-01-10 Roland McGrath <roland@hack.frob.com>
5048 * sysdeps/generic/gcc-compat.h: New file.
5050 2014-01-10 Siddhesh Poyarekar <siddhesh@redhat.com>
5052 * benchtests/asin-inputs: Correct slow inputs.
5053 * benchtests/acos-inputs: Likewise.
5055 2014-01-10 Allan McRae <allan@archlinux.org>
5057 * po:sv.po: Update Swedish translation from translation project.
5059 * po/vi.po: Update Vietnamese translation from translation project.
5061 * po/eo.po: Update Esperanto translation from translation project.
5063 * po/cs.po: Update Czech translation from translation project.
5065 * po/nl.po: Update Dutch translation from translation project.
5067 * po/pl.po: Update Polish translation from translation project.
5069 * po/ru.po: Update Russian translation from translation project.
5071 * po/uk.po: Update Ukrainian translation from translation project.
5073 2014-01-08 Brooks Moses <bmoses@google.com>
5075 * elf/dl-load.c: Fix comment typo.
5077 2014-01-08 Carlos O'Donell <carlos@redhat.com>
5079 * po/header.pot: Rename to...
5080 * po/pot.header: ... this.
5081 * po/Makefile: Use pot.header.
5083 2014-01-08 Yuriy Kaminskiy <yumkam@gmail.com>
5084 Maxim Kuvyrkov <maxim@kugelworks.com>
5087 * sysdeps/i386/i686/memmove.S (memmove): Compare distance between
5088 SRC and DEST against LEN.
5090 2014-01-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5093 * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Remove wrong
5095 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Remove bogus comment.
5097 2014-01-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5099 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
5101 2014-01-08 Joseph Myers <joseph@codesourcery.com>
5104 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Use __expl
5105 for large positive arguments.
5107 2014-01-07 Joseph Myers <joseph@codesourcery.com>
5109 * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
5111 * math/auto-libm-test-in: Mark various tests with
5112 xfail-rounding:ldbl-128ibm.
5113 * math/auto-libm-test-out: Regenerated.
5116 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl):
5117 Increase overflow threshold.
5119 2014-01-07 Ondřej Bílka <neleai@seznam.cz>
5122 * stdio-common/vfprintf.c: Check for integer overflow.
5124 2014-01-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
5126 * sysdeps/s390/dl-tls.h: sysdeps/s390/dl-tls.h: Remove casts for
5127 the first argument and return value of __tls_get_addr_internal.
5129 2014-01-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
5131 * sysdeps/s390/s390-32/dl-machine.h: Gate the definition of refsym
5132 also with !RTLD_BOOTSTRAP to get rid of unused variable warning.
5134 2014-01-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
5136 * sysdeps/s390/Makefile: Build rtld-global-offsets.sym.
5137 * sysdeps/s390/rtld-global-offsets.sym: New file.
5138 * sysdeps/unix/sysv/linux/s390/Versions: Add getcontext as new
5140 * sysdeps/unix/sysv/linux/s390/getcontext.S: New file.
5141 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Rename to ...
5142 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext-common.S:
5144 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Rename to ...
5145 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext-common.S:
5147 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
5149 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
5151 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Restore upper
5152 halfs of GPRs for high_gprs contexts.
5153 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Save and
5154 restore upper halfs of GPRs for high_gprs contexts. Copy uc_flags
5156 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Copy
5158 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: Split into 32 and
5160 * sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: Add field
5161 for high GPRs (uc_high_gprs) and for future extensions
5163 * sysdeps/unix/sysv/linux/s390/s390-64/sys/ucontext.h: Add field
5164 for future extensions (__reserved).
5165 * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Split into 32 and
5167 * sysdeps/unix/sysv/linux/s390/s390-32/ucontext_i.sym: Add
5168 SC_HIGHGPRS offset definition.
5169 * sysdeps/unix/sysv/linux/s390/s390-64/ucontext_i.sym: New file.
5170 * sysdeps/unix/sysv/linux/s390/rtld-getcontext.S: New file.
5172 * Versions.def: Add GLIBC_2.19 for libpthread.
5173 * nptl/sysdeps/unix/sysv/linux/s390/Versions: Add longjmp and
5174 siglongjmp for libpthread with GLIBC_2.19 symver.
5175 * nptl/sysdeps/unix/sysv/linux/s390/pt-longjmp.c: New file.
5176 * sysdeps/s390/Makefile: Build v1-longjmp.c and v1-sigjmp.c.
5177 * sysdeps/s390/Versions: New GLIBC_2.19 and GLIBC_PRIVATE symbols.
5178 * sysdeps/s390/__longjmp.c: New file.
5179 * sysdeps/s390/bits/setjmp.h: Add new fields to __s390_jmp_buf.
5180 * sysdeps/s390/longjmp.c: New file.
5181 * sysdeps/s390/setjmp.S: New file.
5182 * sysdeps/s390/sigjmp.S: New file.
5183 * sysdeps/s390/v1-longjmp.c: New file.
5184 * sysdeps/s390/v1-setjmp.h: New file.
5185 * sysdeps/s390/v1-sigjmp.c: New file.
5186 * sysdeps/unix/sysv/linux/s390/Makefile: Build __longjmp_chk.
5187 * sysdeps/unix/sysv/linux/s390/Versions: Add __longjmp_chk with
5189 * sysdeps/unix/sysv/linux/s390/longjmp_chk.c: New file.
5190 * sysdeps/unix/sysv/linux/s390/s390-32/____longjmp_chk.c: Provide
5191 versioned symbols for ____longjmp_chk.
5192 * sysdeps/unix/sysv/linux/s390/s390-64/____longjmp_chk.c:
5194 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
5196 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
5198 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
5200 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
5202 * sysdeps/unix/sysv/linux/s390/v1-longjmp_chk.c: New file.
5203 * sysdeps/s390/s390-32/__longjmp.c: Rename to ...
5204 * sysdeps/s390/s390-32/__longjmp-common.c: ... this.
5205 * sysdeps/s390/s390-32/setjmp.S: Rename and adjust to ...
5206 * sysdeps/s390/s390-32/setjmp-common.S: ... this.
5207 * sysdeps/s390/s390-64/__longjmp.c: Rename to ...
5208 * sysdeps/s390/s390-64/__longjmp-common.c: ... this.
5209 * sysdeps/s390/s390-64/setjmp.S: Rename and adjust to ...
5210 * sysdeps/s390/s390-64/setjmp-common.S: ... this.
5211 * sysdeps/s390/rtld-__longjmp.c: New file.
5212 * sysdeps/s390/rtld-setjmp.S: New file.
5214 2014-01-06 Joseph Myers <joseph@codesourcery.com>
5217 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
5218 Return -__logl (x) for small positive arguments without evaluating
5221 2014-01-06 Mike Frysinger <vapier@gentoo.org>
5223 * sysdeps/unix/sysv/linux/sys/ptrace.h (ptrace_peeksiginfo_args):
5225 (__ptrace_peeksiginfo_args): ... this.
5226 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
5227 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
5228 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
5230 2014-01-06 Allan McRae <allan@archlinux.org>
5232 * inet/netinet/in.h: Fix typo in comment.
5234 2014-01-05 Andreas Jaeger <aj@suse.de>
5236 * sysdeps/i386/fpu/libm-test-ulps: Update.
5238 2014-01-05 Allan McRae <allan@archlinux.org>
5240 * po/libc.pot: Regenerated.
5242 * malloc/memusagestat.c: Fix gettext call formatting.
5244 2014-01-04 Sami Kerola <kerolasa@iki.fi>
5246 * nscd/nscd.c: Improve usage() output.
5248 2014-01-04 Mike Frysinger <vapier@gentoo.org>
5250 * config.h.in: Add HAVE_LINUX_FANOTIFY_H template.
5251 * sysdeps/unix/sysv/linux/configure: Regenerated.
5252 * sysdeps/unix/sysv/linux/configure.ac: Call AC_DEFINE.
5253 * sysdeps/unix/sysv/linux/tst-fanotify.c: Include config.h.
5255 2014-01-03 Joseph Myers <joseph@codesourcery.com>
5258 * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
5259 (CFLAGS-e_atan2l.c): Use -fno-builtin-fabsl.
5261 2014-01-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5263 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: Remove
5264 extra tokens at end of #undef directive.
5265 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: Likewise.
5266 * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: Likewise.
5267 * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c: Likewise.
5269 2014-01-03 Joseph Myers <joseph@codesourcery.com>
5271 * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
5273 * math/auto-libm-test-in: Mark various tests with
5274 xfail-rounding:ldbl-128ibm.
5275 * math/auto-libm-test-out: Regenerated.
5277 2014-01-02 Joseph Myers <joseph@codesourcery.com>
5280 * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Adjust
5281 numbers with subnormal high part when calculating exponent.
5284 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Use fabsl not
5288 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (ln2): Initialize with
5290 (__ieee754_acoshl): Use __log1pl not __log1p.
5292 2013-01-02 Ondřej Bílka <neleai@seznam.cz>
5294 * malloc/arena.c (malloc_atfork, free_atfork, ptmalloc_lock_all)
5295 (ptmalloc_unlock_all, ptmalloc_unlock_all2, next_env_entry)
5296 (__failing_morecore, ptmalloc_init, dump_heap, new_heap)
5297 (grow_heap, heap_trim, _int_new_arena, get_free_list)
5298 (reused_arena, arena_get2): Convert to GNU style.
5299 * malloc/hooks.c (memalign_hook_ini, __malloc_check_init)
5300 (mem2mem_check, mem2chunk_check, top_check, realloc_check)
5301 (memalign_check, __malloc_set_state): Likewise.
5302 * malloc/mallocbug.c (main): Likewise.
5303 * malloc/malloc.c (__malloc_assert, malloc_init_state)
5304 (free_perturb, do_check_malloced_chunk, do_check_malloc_state)
5305 (sysmalloc, systrim, mremap_chunk, __libc_malloc, __libc_free)
5306 (__libc_realloc, _mid_memalign, _int_malloc, malloc_consolidate)
5307 (_int_realloc, _int_memalign, mtrim, musable, __libc_mallopt)
5308 (__posix_memalign, malloc_info): Likewise.
5309 * malloc/malloc.h: Likewise.
5310 * malloc/mcheck.c (checkhdr, unlink_blk, link_blk, freehook)
5311 (mallochook, memalignhook, reallochook, mabort): Likewise.
5312 * malloc/mcheck.h: Likewise.
5313 * malloc/memusage.c (update_data, me, malloc, realloc, calloc)
5314 (free, mmap, mmap64, mremap, munmap, dest): Likewise.
5315 * malloc/memusagestat.c (main, parse_opt, more_help): Likewise.
5316 * malloc/morecore.c (__default_morecore): Likewise.
5317 * malloc/mtrace.c (tr_break, lock_and_info, mtrace): Likewise.
5318 * malloc/obstack.c (_obstack_begin, _obstack_newchunk)
5319 (_obstack_allocated_p, obstack_free, _obstack_memory_used)
5320 (print_and_abort): Likewise.
5321 * malloc/obstack.h: Likewise.
5322 * malloc/set-freeres.c (__libc_freeres): Likewise.
5323 * malloc/tst-mallocstate.c (main): Likewise.
5324 * malloc/tst-mtrace.c (main): Likewise.
5325 * malloc/tst-realloc.c (do_test): Likewise.
5327 2013-01-02 Siddhesh Poyarekar <siddhesh@redhat.com>
5330 * nscd/netgroupcache.c (do_notfound): New function.
5331 (addgetnetgrentX): Use it.
5334 * nscd/netgroupcache.c (addgetnetgrentX): Break if status is
5335 NSS_STATUS_NOTFOUND.
5337 2014-01-01 Joseph Myers <joseph@codesourcery.com>
5339 * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
5340 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5342 2014-01-01 Allan McRae <allan@archlinux.org>
5344 * scripts/update-copyrights: Update configure input file suffix.
5346 * NEWS: Update copyright year.
5347 * catgets/gencat.c: Likewise.
5348 * csu/version.c: Likewise.
5349 * debug/catchsegv.sh: Likewise.
5350 * debug/pcprofiledump.c: Likewise.
5351 * debug/xtrace.sh: Likewise.
5352 * elf/ldconfig.c: Likewise.
5353 * elf/ldd.bash.in: Likewise.
5354 * elf/pldd.c: Likewise.
5355 * elf/sotruss.ksh: Likewise.
5356 * elf/sprof.c: Likewise.
5357 * iconv/iconv_prog.c: Likewise.
5358 * iconv/iconvconfig.c: Likewise.
5359 * locale/programs/locale.c: Likewise.
5360 * locale/programs/localedef.c: Likewise.
5361 * login/programs/pt_chown.c: Likewise.
5362 * malloc/memusage.sh: Likewise.
5363 * malloc/memusagestat.c: Likewise.
5364 * malloc/mtrace.pl: Likewise.
5365 * manual/libc.texinfo: Likewise.
5366 * nscd/nscd.c: Likewise.
5367 * nss/getent.c: Likewise.
5368 * nss/makedb.c: Likewise.
5369 * posix/getconf.c: Likewise.
5370 * scripts/test-installation.pl: Likewise.
5372 * All files with FSF copyright notices: Update copyright dates
5373 using scripts/update-copyrights.
5374 * intl/plural.c: Regenerated.
5375 * locale/programs/charmap-kw.h: Likewise.
5376 * locale/programs/locfile-kw.h: Likewise.
5378 2013-12-31 Mike Frysinger <vapier@gentoo.org>
5380 * sysdeps/unix/sysv/linux/configure: Regenerated.
5381 * sysdeps/unix/sysv/linux/configure.ac: Call AC_CHECK_HEADER on
5382 the linux/fanotify.h header.
5383 * sysdeps/unix/sysv/linux/tst-fanotify.c: Check if
5384 HAVE_LINUX_FANOTIFY_H is defined.
5386 2013-12-31 Siddhesh Poyarekar <siddhesh@redhat.com>
5388 * benchtests/cos-inputs: New inputs.
5389 * benchtests/sin-inputs: Likewise.
5391 * benchtests/atan-inputs: New inputs. Fix name of multiple
5392 precision fallback inputs.
5394 * benchtests/atanh-inputs: New inputs.
5395 * benchtests/tanh-inputs: Likewise.
5397 * benchtests/acosh-inputs: New inputs.
5398 * benchtests/asinh-inputs: Likewise.
5400 * benchtests/cosh-inputs: New inputs.
5401 * benchtests/sinh-inputs: Likewise.
5403 * benchtests/acos-inputs: Add more inputs.
5404 * benchtests/asin-inputs: Likewise.
5406 2013-12-30 Ville Skytta <ville.skytta@iki.fi>
5409 * manual/arith.texi: Fix spelling.
5410 * manual/charset.texi: Likewise.
5411 * manual/errno.texi: Likewise.
5412 * manual/filesys.texi: Likewise.
5413 * manual/lang.texi: Likewise.
5414 * manual/llio.texi: Likewise.
5415 * manual/locale.texi: Likewise.
5416 * manual/message.texi: Likewise.
5417 * manual/resource.texi: Likewise.
5418 * manual/search.texi: Likewise.
5419 * manual/setjmp.texi: Likewise.
5420 * manual/stdio.texi: Likewise.
5421 * manual/string.texi: Likewise.
5422 * manual/sysinfo.texi: Likewise.
5423 * manual/time.texi: Likewise.
5425 2013-12-27 Carlos O'Donell <carlos@redhat.com>
5427 * po/sl.po: New file.
5429 2013-12-27 Mike Frysinger <vapier@gentoo.org>
5431 * .gitignore: Add core/.gdbinit/.gdb_history.
5433 2013-12-27 Allan McRae <allan@archlinux.org>
5436 * sysdeps/ieee754/dbl-64/s_sin.c (csloww): Fix variable name.
5437 Reported by Il'ya Malakhov <ilmalakhov@yandex.ru>
5439 2013-12-24 Brooks Moses <bmoses@google.com>
5441 * string/string.h (__CORRECT_ISO_CPP_STRING_H_PROTO): Define for
5442 all compilers that claim C++98 compliance, not just GCC.
5443 * string/strings.h (__CORRECT_ISO_CPP_STRINGS_H_PROTO):
5446 2013-12-24 Maxim Kuvyrkov <maxim@kugelworks.com>
5448 * NEWS: Restore accidentally deleted bug-fix entries.
5450 2013-12-24 Maxim Kuvyrkov <maxim@kugelworks.com>
5451 Ondřej Bílka <neleai@seznam.cz>
5454 * malloc/malloc.c (_int_free): Perform sanity check only if we
5457 2013-12-23 Ondřej Bílka <neleai@seznam.cz>
5460 * manual/stdio.texi (String Input Conversions): Clarify that character
5461 classes are not supported.
5463 2013-12-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5465 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
5467 2013-12-22 Joseph Myers <joseph@codesourcery.com>
5470 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
5471 Calculate results for small negative arguments directly rather
5472 than using reflection formula with special underflow handling.
5474 * sysdeps/mach/hurd/Implies: Change unix/bsd/bsd4.4 to unix/bsd.
5475 * sysdeps/unix/bsd/syscalls.list (chflags): Add entry from
5476 sysdeps/unix/bsd/bsd4.4/syscalls.list.
5477 (fchflags): Likewise.
5479 (setlogin): Likewise.
5480 (sigaltstack): Likewise.
5483 (sigsetmask): Likewise.
5485 (waitpid): Likewise.
5486 * sysdeps/unix/bsd/bsd4.4/syscalls.list: Remove file.
5487 * sysdeps/unix/sysv/linux/wait3.c: Update directory of included
5489 * sysdeps/unix/bsd/bsd4.4/Makefile: Move to ...
5490 * sysdeps/unix/bsd/Makefile: ... here.
5491 * sysdeps/unix/bsd/bsd4.4/Versions: Move to ...
5492 * sysdeps/unix/bsd/Versions: ... here.
5493 * sysdeps/unix/bsd/bsd4.4/bits/sockaddr.h: Move to ...
5494 * sysdeps/unix/bsd/bits/sockaddr.h: ... here.
5495 * sysdeps/unix/bsd/bsd4.4/cmsg_nxthdr.c: Move to ...
5496 * sysdeps/unix/bsd/cmsg_nxthdr.c: ... here.
5497 * sysdeps/unix/bsd/bsd4.4/sigblock.c: Move to ...
5498 * sysdeps/unix/bsd/sigblock.c: ... here.
5499 * sysdeps/unix/bsd/bsd4.4/sigsetmask.c: Move to ...
5500 * sysdeps/unix/bsd/sigsetmask.c: ... here.
5501 * sysdeps/unix/bsd/bsd4.4/sigvec.c: Move to ...
5502 * sysdeps/unix/bsd/sigvec.c: ... here.
5503 * sysdeps/unix/bsd/bsd4.4/tcdrain.c: Move to ...
5504 * sysdeps/unix/bsd/tcdrain.c: ... here.
5505 * sysdeps/unix/bsd/bsd4.4/tcgetattr.c: Move to ...
5506 * sysdeps/unix/bsd/tcgetattr.c: ... here.
5507 * sysdeps/unix/bsd/bsd4.4/tcsetattr.c: Move to ...
5508 * sysdeps/unix/bsd/tcsetattr.c: ... here.
5509 * sysdeps/unix/bsd/bsd4.4/wait.c: Move to ...
5510 * sysdeps/unix/bsd/wait.c: ... here.
5511 * sysdeps/unix/bsd/bsd4.4/wait3.c: Move to ...
5512 * sysdeps/unix/bsd/wait3.c: ... here.
5513 * sysdeps/unix/bsd/bsd4.4/waitpid.c: Move to ...
5514 * sysdeps/unix/bsd/waitpid.c: ... here.
5516 2013-12-21 Joseph Myers <joseph@codesourcery.com>
5519 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Also set
5520 round-to-nearest for [!USE_AS_EXPM1L].
5521 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Likewise.
5522 * math/auto-libm-test-in: Do not expect cosh tests to fail. Add
5523 more tests of exp and exp10. Expect some exp10 tests to miss
5524 exceptions or fail in directed rounding modes.
5525 * math/auto-libm-test-out: Regenerated.
5526 * math/libm-test.inc (exp10_tonearest_test_data): New array.
5527 (exp10_test_tonearest): New function.
5528 (exp10_towardzero_test_data): New array.
5529 (exp10_test_towardzero): New function.
5530 (exp10_downward_test_data): New array.
5531 (exp10_test_downward): New function.
5532 (exp10_upward_test_data): New array.
5533 (exp10_test_upward): New function.
5534 (main): Call the new functions.
5535 * sysdeps/i386/fpu/libm-test-ulps: Update.
5536 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5538 2013-12-20 Joseph Myers <joseph@codesourcery.com>
5540 * math/auto-libm-test-in: Add more tests of acos, acosh, asin,
5541 asinh, atan, atan2, atanh, cbrt, cos and cosh.
5542 * math/auto-libm-test-out: Regenerated.
5543 * math/libm-test.inc (acosh_test_data): Add more tests.
5544 (atanh_test_data): Likewise.
5545 (ceil_test_data): Likewise.
5546 (copysign_test_data): Likewise.
5547 * sysdeps/i386/fpu/libm-test-ulps: Update.
5548 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5550 * timezone/checktab.awk: Update from tzcode 2013i.
5551 * timezone/private.h: Likewise.
5552 * timezone/scheck.c: Likewise.
5553 * timezone/tzfile.h: Likewise.
5554 * timezone/tzselect.ksh: Likewise.
5555 * timezone/zdump.c: Likewise.
5556 * timezone/zic.c: Likewise.
5558 * math/auto-libm-test-in: Add tests of cpow.
5559 * math/auto-libm-test-out: Regenerated.
5560 * math/libm-test.inc (cpow_test_data): Use AUTO_TESTS_cc_c.
5561 * math/gen-auto-libm-tests.c (func_calc_method): Add value
5563 (func_calc_desc): Add mpc_cc_c union field.
5564 (test_functions): Add cpow.
5565 (special_fill_2pi): New function.
5566 (special_real_inputs): Add 2pi.
5567 (calc_generic_results): Handle mpc_cc_c.
5568 * sysdeps/i386/fpu/libm-test-ulps: Update.
5569 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5571 * math/auto-libm-test-in: Add tests of ccos, ccosh, cexp, clog,
5572 csqrt, ctan and ctanh.
5573 * math/auto-libm-test-out: Regenerated.
5574 * math/libm-test.inc (TEST_COND_x86_64): New macro.
5575 (TEST_COND_x86): Likewise.
5576 (ccos_test_data): Use AUTO_TESTS_c_c.
5577 (ccosh_test_data): Likewise.
5578 (cexp_test_data): Likewise.
5579 (clog_test_data): Likewise.
5580 (csqrt_test_data): Likewise.
5581 (ctan_test_data): Likewise.
5582 (ctan_tonearest_test_data): Likewise.
5583 (ctan_towardzero_test_data): Likewise.
5584 (ctan_downward_test_data): Likewise.
5585 (ctan_upward_test_data): Likewise.
5586 (ctanh_test_data): Likewise.
5587 (ctanh_tonearest_test_data): Likewise.
5588 (ctanh_towardzero_test_data): Likewise.
5589 (ctanh_downward_test_data): Likewise.
5590 (ctanh_upward_test_data): Likewise.
5591 * math/gen-auto-libm-tests.c (func_calc_method): Add value
5593 (func_calc_desc): Add mpc_c_c union field.
5594 (FUNC_mpc_c_c): New macro.
5595 (test_functions): Add cacos, cacosh, casin, casinh, catan, catanh,
5596 ccos, ccosh, cexp, clog, clog10, csin, csinh, csqrt, ctan and
5598 (special_fill_min_subnorm_p120): New function.
5599 (special_real_inputs): Add min_subnorm_p120.
5600 (calc_generic_results): Handle mpc_c_c.
5601 * sysdeps/i386/fpu/libm-test-ulps: Update.
5602 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5604 2013-12-20 Siddhesh Poyarekar <siddhesh@redhat.com>
5606 * sysdeps/ieee754/dbl-64/s_sin.c (do_cos, do_cos_slow, do_sin)
5607 (do_sin_slow): New functions.
5608 (__sin, __cos, slow1, slow2, sloww1, sloww2, bsloww1, bsloww2)
5609 (cslow2, csloww1, csloww2): Use the new functions.
5611 * sysdeps/ieee754/dbl-64/s_sin.c (sloww1): Add new argument M.
5612 Use M to change sign of result instead of X. Assume X is
5614 (csloww1): Likewise.
5618 * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): Remove
5623 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use DA directly.
5625 (sloww1): Don't adjust sign of DX.
5626 (csloww1): Likewise.
5627 (sloww2): Use X directly and don't adjust sign of DX.
5628 (csloww2): Likewise.
5630 2013-12-19 Joseph Myers <joseph@codesourcery.com>
5632 * math/auto-libm-test-in: Add tests of cabs and carg.
5633 * math/auto-libm-test-out: Regenerated.
5634 * math/libm-test.inc (cabs_test_data): Use AUTO_TESTS_c_f.
5635 (carg_test_data): Likewise.
5636 * math/gen-auto-libm-tests.c (func_calc_method): Add value
5638 (func_calc_desc): Add mpc_c_f union field.
5639 (test_functions): Add cabs and carg.
5640 (calc_generic_results): Handle mpc_c_f.
5642 * sysdeps/powerpc/powerpc32/libgcc-compat.S
5643 [_SOFT_FLOAT || __NO_FPRS__] (__fixdfdi_v_glibc20): Do not define
5644 as a macro and a compat symbol.
5645 [_SOFT_FLOAT || __NO_FPRS__] (__fixsfdi_v_glibc20): Likewise.
5646 [_SOFT_FLOAT || __NO_FPRS__] (__fixunsdfdi_v_glibc20): Likewise.
5647 [_SOFT_FLOAT || __NO_FPRS__] (__fixunssfdi_v_glibc20): Likewise.
5648 [_SOFT_FLOAT || __NO_FPRS__] (__floatdidf_v_glibc20): Likewise.
5649 [_SOFT_FLOAT || __NO_FPRS__] (__floaddisf_v_glibc20): Likewise.
5650 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixdfdi): Do
5652 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixsfdi):
5654 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixunsdfdi):
5656 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixunssfdi):
5658 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__floaddidf):
5660 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__floaddisf):
5662 * sysdeps/powerpc/nofpu/Versions (libc): Remove __fixdfdi,
5663 __fixsfdi, __fixunsdfdi, __fixunssfdi, __floatdidf and __floatdisf
5666 2013-12-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5668 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
5670 2013-12-19 Joseph Myers <joseph@codesourcery.com>
5672 * manual/texinfo.tex: Update to version 2013-11-26.10 with
5673 trailing whitespace removed.
5674 * scripts/config.guess: Update to version 2013-11-29.
5675 * scripts/config.sub: Update to version 2013-10-01.
5677 * math/auto-libm-test-in: Add tests of sincos.
5678 * math/auto-libm-test-out: Regenerated.
5679 * math/libm-test.inc (sincos_test_data): Use AUTO_TESTS_fFF_11.
5680 * math/gen-auto-libm-tests.c (func_calc_method): Add value
5682 (func_calc_desc): Add mpfr_f_11 union field.
5683 (test_functions): Add sincos.
5684 (calc_generic_results): Handle mpfr_f_11.
5685 * sysdeps/i386/fpu/libm-test-ulps: Update.
5686 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5688 2013-12-19 Andreas Schwab <schwab@suse.de>
5690 * sysdeps/powerpc/powerpc64/power7/memchr.S: Fix argument of
5692 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
5693 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S
5694 [USE_IN_EXTENDED_LOCALE_MODEL]: Likewise.
5696 2013-12-19 Joseph Myers <joseph@codesourcery.com>
5698 * math/gen-libm-test.pl (%beautify): Remove M_* constants.
5699 * sysdeps/i386/fpu/libm-test-ulps: Update.
5700 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5703 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]: Set
5704 round-to-nearest mode when using frndint.
5705 * sysdeps/i386/fpu/s_expm1.S (__expm1): Likewise.
5706 * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
5707 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]:
5709 * math/auto-libm-test-in: Add more tests of expm1. Do not expect
5711 * math/auto-libm-test-out: Regenerated.
5712 * math/libm-test.inc (TEST_COND_x86_64): Remove macro.
5713 (TEST_COND_x86): Likewise.
5714 (expm1_tonearest_test_data): New array.
5715 (expm1_test_tonearest): New function.
5716 (expm1_towardzero_test_data): New array.
5717 (expm1_test_towardzero): New function.
5718 (expm1_downward_test_data): New array.
5719 (expm1_test_downward): New function.
5720 (expm1_upward_test_data): New array.
5721 (expm1_test_upward): New function.
5722 (main): Run the new test functions.
5723 * sysdeps/i386/fpu/libm-test-ulps: Update.
5724 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5726 * include/features.h: Update comment documenting feature test
5727 macros. Mention _DEFAULT_SOURCE in comment.
5728 [_GNU_SOURCE] (_DEFAULT_SOURCE): Undefine and redefine.
5729 [_DEFAULT_SOURCE]: Undefine and redefine _DEFAULT_SOURCE,
5730 _BSD_SOURCE and _SVID_SOURCE.
5731 [!__STRICT_ANSI__ && !_ISOC99_SOURCE && !_POSIX_SOURCE &&
5732 !_POSIX_C_SOURCE && !_XOPEN_SOURCE && !_BSD_SOURCE &&
5733 !_SVID_SOURCE]: Likewise.
5734 [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
5735 (__USE_POSIX_IMPLICITLY): Define.
5736 [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
5737 (_POSIX_SOURCE): Undefine and redefine.
5738 [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
5739 (_POSIX_C_SOURCE): Likewise.
5740 * manual/creature.texi (_DEFAULT_SOURCE): Document.
5741 (Feature Test Macros): Update documentation of default features.
5743 2013-12-19 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
5745 * benchtests/Makefile: Add bench-strtok.
5746 * benchtests/bench-strtok.c: New file: strtok benchtest.
5748 2013-12-19 Allan McRae <allan@archlinux.org>
5750 * manual/install.texi: Suppress menu for plain text output.
5751 * INSTALL: Regenerated.
5753 2013-12-18 Brooks Moses <bmoses@google.com>
5756 * misc/getauxval.c: Include errno.h.
5757 (__getauxval): Set errno to ENOENT if the requested type is not
5759 * misc/sys/auxv.h (getauxval): Document that it may set errno;
5760 don't declare with __attribute_const__.
5761 * elf/tst-auxv.c: Add tests for errno and type-not-found case.
5762 * manual/startup.texi: Document that getauxval sets errno.
5764 2013-12-18 Joseph Myers <joseph@codesourcery.com>
5766 * math/auto-libm-test-in: Add tests of jn and yn.
5767 * math/auto-libm-test-out: Regenerated.
5768 * math/libm-test.inc (jn_test_data): Use AUTO_TESTS_if_f.
5769 (yn_test_data): Likewise.
5770 * math/gen-auto-libm-tests.c (func_calc_method): Add value
5772 (func_calc_desc): Add mpfr_if_f union field.
5773 (FUNC_mpfr_if_f): New macro.
5774 (test_functions): Add jn and yn.
5775 (calc_generic_results): Assert type of second input for
5776 mpfr_ff_f. Handle mpfr_if_f.
5777 (output_for_one_input_case): Disable all checking for arguments
5778 fitting floating-point types in case of an integer argument.
5779 * sysdeps/i386/fpu/libm-test-ulps: Update.
5780 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5782 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
5783 Don't expect fegetround reference in libm.so.
5785 2013-12-17 Marcus Shawcroft <marcus.shawcroft@linaro.org>
5787 * sysdeps/ieee754/dbl-64/Makefile (CFLAGS-e_sqrt.c): Add
5788 $(config-cflags-nofma).
5790 2013-12-18 Joseph Myers <joseph@codesourcery.com>
5792 * math/auto-libm-test-in: Mark some hypot tests no-test-inline.
5793 * math/auto-libm-test-out: Regenerated.
5796 * sysdeps/ieee754/ldbl-128/e_logl.c (__ieee754_logl): Use __frexpl
5797 to determine exponent and adjust argument to have exponent of -1.
5798 * math/auto-libm-test-in: Add more tests of log, log10, log1p and
5800 * math/auto-libm-test-out: Regenerated.
5801 * sysdeps/i386/fpu/libm-test-ulps: Update.
5802 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5804 2013-12-18 Ondřej Bílka <neleai@seznam.cz>
5806 * manual/probes.texi: Remove cases when per-thread arenas are
5809 2013-12-18 Andreas Schwab <schwab@suse.de>
5811 * sysdeps/i386/i686/multiarch/strstr.c: Remove.
5812 * sysdeps/i386/i686/multiarch/strstr-c.c: Remove.
5813 * sysdeps/i386/i686/multiarch/strcasestr.c: Remove.
5814 * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: Remove.
5815 * sysdeps/i386/i686/multiarch/Makefile: Update.
5816 * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: Update.
5818 2013-12-17 Joseph Myers <joseph@codesourcery.com>
5820 * sysdeps/unix/bsd/bsd4.4/bits/errno.h: Remove file.
5821 * sysdeps/unix/bsd/bsd4.4/bits/ioctls.h: Likewise.
5823 2013-12-17 Paul Eggert <eggert@cs.ucla.edu>
5826 Support TZ transition times < 00:00:00.
5827 This is needed for version-3 tz-format files; it supports time
5828 stamps past 2037 for America/Godthab (the only entry in the tz
5829 database for which this change is relevant).
5830 * manual/time.texi (TZ Variable): Document transition times
5831 from -167:59:59 through -00:00:01.
5832 * time/tzset.c (tz_rule): Time of day is now signed.
5833 (__tzset_parse_tz): Parse negative time of day.
5835 Document TZ transition times >= 25:00:00.
5836 * manual/time.texi (TZ Variable): Document transition times from
5837 25:00:00 through 167:59:59. These are already supported, and this
5838 support will help with version-3 tz-format files.
5840 * manual/time.texi (TZ Variable): Modernize North America example
5841 to reflect current (i.e., 2007-and-later) daylight saving rules.
5843 * manual/time.texi (TZ Variable): POSIX.1 hour can be 24.
5845 2013-12-17 Joseph Myers <joseph@codesourcery.com>
5847 * sysdeps/unix/bsd/bits/posix_opt.h: Remove file.
5848 * sysdeps/unix/bsd/bits/stat.h: Likewise.
5849 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/environments.h: Likewise.
5850 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
5851 * sysdeps/unix/bsd/bsd4.4/freebsd/sys/sysmacros.h: Likewise.
5852 * sysdeps/unix/bsd/bsdstat.h: Likewise.
5853 * sysdeps/unix/bsd/clock.c: Likewise.
5854 * sysdeps/unix/bsd/i386/vfork.S: Likewise.
5855 * sysdeps/unix/bsd/i386/wait3.S: Likewise.
5856 * sysdeps/unix/bsd/init-posix.c: Likewise.
5857 * sysdeps/unix/bsd/poll.c: Likewise.
5858 * sysdeps/unix/bsd/ptsname.c: Likewise.
5859 * sysdeps/unix/bsd/seekdir.c: Likewise.
5860 * sysdeps/unix/bsd/setegid.c: Likewise.
5861 * sysdeps/unix/bsd/seteuid.c: Likewise.
5862 * sysdeps/unix/bsd/setgid.c: Likewise.
5863 * sysdeps/unix/bsd/setrgid.c: Likewise.
5864 * sysdeps/unix/bsd/setruid.c: Likewise.
5865 * sysdeps/unix/bsd/setsid.c: Likewise.
5866 * sysdeps/unix/bsd/setuid.c: Likewise.
5867 * sysdeps/unix/bsd/sigaction.c: Likewise.
5868 * sysdeps/unix/bsd/sigprocmask.c: Likewise.
5869 * sysdeps/unix/bsd/sigsuspend.c: Likewise.
5870 * sysdeps/unix/bsd/sys/reboot.h: Likewise.
5871 * sysdeps/unix/bsd/telldir.c: Likewise.
5872 * sysdeps/unix/bsd/times.c: Likewise.
5873 * sysdeps/unix/bsd/usleep.c: Likewise.
5875 * misc/Makefile (install-lib): Remove libbsd-compat.a.
5876 ($(objpfx)libbsd-compat.a): Remove rule.
5878 * include/features.h (__FAVOR_BSD): Do not define.
5879 * manual/creature.texi (_BSD_SOURCE): Do not document as enabling
5880 features conflicting with POSIX.
5881 (_GNU_SOURCE): Do not mention interaction with _BSD_SOURCE.
5882 (_BSD_SOURCE): Remove description of not being a subset of other
5883 feature test macros.
5884 * manual/job.texi (getpgrp): Do not document BSD version.
5885 (getpgid): Do not document by reference to BSD getpgrp.
5886 * posix/unistd.h [__FAVOR_BSD]: Remove conditional code.
5887 * setjmp/setjmp.h [__FAVOR_BSD]: Likewise.
5888 * signal/signal.h [__FAVOR_BSD]: Likewise.
5889 * sysdeps/gnu/netinet/tcp.h (struct tcphdr): Use anonymous unions
5890 instead of making contents conditional on [__FAVOR_BSD].
5891 * sysdeps/gnu/netinet/udp.h (struct udphdr): Likewise.
5893 2013-12-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5895 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
5897 2013-12-17 Joseph Myers <joseph@codesourcery.com>
5900 * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Adjust up
5901 values below 2**-450, not 2**-500.
5902 * math/auto-libm-test-in: Don't allow spurious underflow from
5904 * math/auto-libm-test-out: Regenerated.
5908 * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Update
5909 values of ha and hb and sort them after adjusting subnormal
5911 * sysdeps/ieee754/ldbl-128/e_hypotl.c (__ieee754_hypotl):
5913 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Update
5914 values of ea and eb and sort them after adjusting subnormal
5916 * math/auto-libm-test-in: Do not expect some hypot tests of
5917 subnormals to fail. Add more hypot tests.
5918 * math/auto-libm-test-out: Regenerated.
5920 2013-12-16 Kaz Kojima <kkojima@rr.iij4u.or.jp>
5923 * sysdeps/sh/s_fma.c: New file.
5924 * sysdeps/sh/s_fmaf.c: New file.
5925 * sysdeps/sh/soft-fp/sfp-machine.h: New file. Based on arm
5927 * sysdeps/sh/Implies: Add sh/soft-fp.
5929 2013-12-16 Roland McGrath <roland@hack.frob.com>
5931 * elf/dl-error.c (struct catch): Add new member `errcode'. Add a
5932 level of indirection to members `objname', `errstring', `malloced'.
5933 (_dl_signal_error): Store through pointers in *LCATCH rather modifying
5934 *LCATCH itself. Set *LCATCH->errcode to ERRCODE rather than passing
5935 it as the __longjmp argument (just pass 1 instead).
5936 (_dl_catch_error): Initialize C with argument pointers and address of
5937 volatile local ERRCODE rather than copying values out of C at return.
5939 2013-12-16 Joseph Myers <joseph@codesourcery.com>
5941 * math/auto-libm-test-in: Add tests of atan2, hypot and pow.
5942 * math/auto-libm-test-out: Regenerated.
5943 * math/libm-test.inc (atan2_test_data): Use AUTO_TESTS_ff_f.
5944 (hypot_test_data): Likewise.
5945 (pow_test_data): Likewise.
5946 (pow_tonearest_test_data): Likewise.
5947 * math/gen-auto-libm-tests.c (func_calc_method): Add value
5949 (func_calc_desc): Add mpfr_ff_f union field.
5950 (FUNC_mpfr_ff_f): New macro.
5951 (test_functions): Add atan2, hypot and pow.
5952 (special_fill_min): New function.
5953 (special_fill_minus_min): Likewise.
5954 (special_fill_min_subnorm): Likewise.
5955 (special_fill_minus_min_subnorm): Likewise.
5956 (special_real_inputs): Add min, -min, min_subnorm and
5958 (calc_generic_results): Handle mpfr_ff_f.
5959 * sysdeps/i386/fpu/libm-test-ulps: Update.
5960 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5962 2013-12-16 Will Newton <will.newton@linaro.org>
5964 * manual/memory.texi (Malloc Examples): Mention aligned_alloc.
5965 (Aligned Memory Blocks): Add documentation for aligned_alloc
5966 and suggest it as an alternative to posix_memalign.
5967 (Hooks for Malloc): Document __memalign_hook is also called
5968 for aligned_alloc. (Summary of Malloc): Add summary for
5969 aligned alloc. Document __memalign_hook is also called
5972 2013-12-16 Will Newton <will.newton@linaro.org>
5974 * manual/memory.texi (Malloc Examples): Clarify default
5975 alignment documentation. Suggest posix_memalign rather
5976 than memalign or valloc.
5977 (Aligned Memory Blocks): Remove suggestion to use memalign
5978 or valloc. Remove obsolete comment about BSD.
5979 Document memalign errno values and mark the function obsolete.
5980 Document posix_memalign returned error codes. Mark valloc
5981 as obsolete. (Hooks for Malloc): __memalign_hook is also
5982 called for posix_memalign and valloc.
5983 (Summary of Malloc): Add posix_memalign to function summary.
5984 __memalign_hook is also called for posix_memalign and valloc.
5986 2013-12-16 Siddhesh Poyarekar <siddhesh@redhat.com>
5988 * sysdeps/ieee754/dbl-64/s_sin.c (TAYLOR_SINCOS): Rename to
5992 (sloww): Use mynumber union. Expand ternary operator into
5994 (cslow): use mynumber union.
5996 2013-12-16 Allan McRae <allan@archlinux.org>
5998 * configure.ac: Set AUTOCONF when maintainer-mode is not used.
5999 * configure: Regenerated.
6001 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update file name.
6004 * configure.ac: Added --enable-maintainer-mode. Check for
6005 autoconf when enabled.
6006 * configure: Regenerated.
6008 * nscd/nscd.service: New file.
6009 * nscd/nscd.tmpfiles: New file.
6011 2013-12-14 Ondřej Bílka <neleai@seznam.cz>
6014 * sysdeps/x86_64/multiarch/strstr-sse2-unaligned.S: New file
6015 * sysdeps/x86_64/multiarch/strstr-c.c: Moved to ...
6016 * sysdeps/x86_64/multiarch/strstr.c: ... here.
6017 (strstr): Add __strstr_sse2_unaligned ifunc.
6018 * sysdeps/x86_64/multiarch/strcasestr-c.c: Moved to ...
6019 * sysdeps/x86_64/multiarch/strcasestr.c ... here.
6020 (strcasestr): Remove __strcasestr_sse42 ifunc.
6021 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Remove.
6022 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
6023 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
6025 2013-12-14 Kaz Kojima <kkojima@rr.iij4u.or.jp>
6027 * sysdeps/sh/sh4/fpu/bits/fenv.h: Move to ...
6028 * sysdeps/sh/bits/fenv.h: ... here.
6029 * sysdeps/sh/sh4/fpu/bits: Remove directory.
6031 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6033 * NEWS: Mention ppc64 STT_GNU_IFUNC support.
6035 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add hypot and
6036 hypotf multiarch implementations.
6037 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot-power7.c: New file.
6038 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot-ppc64.c: New file.
6039 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot.c: New file:
6040 multiarch hypot for PPC64.
6041 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf-power7.c: New file.
6042 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf-ppc64.c: New file.
6043 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf.c : New file:
6044 multiarch hypotf for PPC64.
6046 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add modf and
6047 modff multiarch implementations.
6048 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-power5+.c: New file.
6049 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-ppc64.c: New file.
6050 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf.c: New file:
6051 multiarch modf for PPC64.
6052 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff-power5+.c: New file.
6053 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff-ppc64.c: New file.
6054 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff.c : New file:
6055 multiarch modff for PPC64.
6057 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add logb, logbf,
6058 and logl multiarch implementations.
6059 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-power7.c: New file.
6060 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-ppc64.c: New file.
6061 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb.c: New file:
6062 multiarch logb for PPC64.
6063 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf-power7.c: New file.
6064 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf-ppc64.c: New file.
6065 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf.c: New file:
6066 multiarch logb for PPC64.
6067 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl-power7.c: New file.
6068 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl-ppc64.c: New file.
6069 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl.c: New file:
6070 multiarch logb for PPC64.
6072 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isinf and
6073 isinff multiarch implementation.
6074 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power7.S: New
6076 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-ppc64.S: New file.
6077 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c: New file:
6078 multiarch isinf for PPC64.
6079 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff-ppc64.c: New
6081 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff.c: New file:
6082 multiarch isinff for PPC64.
6084 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add finite and
6085 finitef multiarch implementation.
6086 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power7.S: New
6088 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-ppc64.S: New file.
6089 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c: New file:
6090 multiarch finite for PPC64.
6091 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef-ppc64.c: New
6093 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef.c: New file:
6094 multiarch finitef for PPC64.
6096 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llrint and
6097 lrint multiarch implementation.
6098 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power6x.S: New
6100 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-ppc64.S: New file.
6101 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint.c: New file:
6102 multiarch llrint for PPC64.
6103 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_lrint.c: New file:
6104 multiarch lrint for PPC64.
6106 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add copysign/
6107 copysignf multiarch implementation.
6108 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-power6.S: New
6110 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-ppc64.S: New
6112 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign.c: New file:
6113 multiarch copysign for PPC64.
6114 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysignf.c: New file:
6115 multiarch copysignf for PPC64.
6117 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add trunc/truncf
6118 multiarch implementation.
6119 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-power5+.S: New
6121 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-ppc64.S: New
6123 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-power5+.S: New
6125 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-ppc64.S: New
6127 multiarch llround for PPC64.
6128 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc.c: New file:
6129 multiarch trunc for PPC64.
6130 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf.c: New file:
6131 multiarch truncf for PPC64.
6133 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add round/roundf
6134 multiarch implementation.
6135 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-power5+.S: New
6137 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-ppc64.S: New
6139 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-power5+.S: New
6141 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-ppc64.S: New
6143 multiarch llround for PPC64.
6144 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round.c: New file:
6145 multiarch round for PPC64.
6146 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf.c: New file:
6147 multiarch roundf for PPC64.
6149 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add floor/floorf
6150 multiarch implementation.
6151 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-power5+.S: New
6153 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-ppc64.S: New
6155 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-power5+.S: New
6157 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-ppc64.S: New
6159 multiarch llround for PPC64.
6160 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor.c: New file:
6161 multiarch floor for PPC64.
6162 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf.c: New file:
6163 multiarch floorf for PPC64.
6165 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add ceil/ceilf
6166 multiarch implementation.
6167 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-power5+.S: New
6169 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-ppc64.S: New
6171 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-power5+.S: New
6173 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-ppc64.S: New
6175 multiarch llround for PPC64.
6176 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil.c: New file:
6177 multiarch ceil for PPC64.
6178 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf.c: New file:
6179 multiarch ceilf for PPC64.
6181 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llround
6182 multiarch implementation.
6183 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power5+.S: New
6185 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power6x.S: New
6187 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-ppc64.S: New
6189 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c: New file:
6190 multiarch llround for PPC64.
6191 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_lround.c: New file:
6192 multiarch lround for PPC64.
6194 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isnan
6195 multiarch implementation.
6196 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power5.S: New file.
6197 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6.S: New file.
6198 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6x.S: New
6200 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power7.S: New file.
6201 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-ppc64.S: New file.
6202 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c: New file:
6203 multiarch isnan for PPC64.
6204 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnanf.c: New file:
6205 multiarch isnanf for PPC64.
6207 * sysdeps/powerpc/powerpc64/power5+/fpu/multiarch/Implies: New file.
6208 * sysdeps/powerpc/powerpc64/power5/fpu/multiarch/Implies: New file.
6209 * sysdeps/powerpc/powerpc64/power6/fpu/multiarch/Implies: New file.
6210 * sysdeps/powerpc/powerpc64/power6x/fpu/multiarch/Implies: New file.
6211 * sysdeps/powerpc/powerpc64/power7/fpu/multiarch/Implies: New file
6212 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/Implies: Remove.
6214 * sysdeps/powerpc/fpu/w_sqrt.c: Remove file
6215 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
6216 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
6217 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
6219 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add stpcpy
6220 multiarch implementations.
6221 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
6222 (__libc_ifunc_impl_list): Likewise.
6223 * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power7.c: New file.
6224 * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.c: New file.
6225 * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c : New file:
6226 multiarch stpcpy for PPC64.
6228 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcpy
6229 multiarch implementations.
6230 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
6231 (__libc_ifunc_impl_list): Likewise.
6232 * sysdeps/powerpc/powerpc64/multiarch/strcpy-power7.c: New file.
6233 * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.c: New file.
6234 * sysdeps/powerpc/powerpc64/multiarch/strcpy.c : New file:
6235 multiarch strcpy for PPC64.
6237 * string/wordcopy.c (_wordcopy_fwd_aligned): Add define to
6238 redefine function name.
6239 (_wordcopy_fwd_dest_aligned): Likewise.
6240 (_wordcopy_bwd_aligned): Likewise.
6241 (_wordcopy_bwd_dest_aligned): Likewise.
6242 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wordcopy
6243 multiarch implementations.
6244 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
6245 (__libc_ifunc_impl_list): Likewise.
6246 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power6.c: New file.
6247 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power7.c: New file.
6248 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-ppc64.c: New file.
6249 * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c : New file:
6250 multiarch wcscpy for PPC64.
6252 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcscpy
6253 multiarch implementations.
6254 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
6255 (__libc_ifunc_impl_list): Likewise.
6256 * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power6.c: New file.
6257 * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power7.c: New file.
6258 * sysdeps/powerpc/powerpc64/multiarch/wcscpy-ppc64.c: New file.
6259 * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c : New file:
6260 multiarch wcscpy for PPC64.
6262 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcsrchr
6263 multiarch implementations.
6264 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
6265 (__libc_ifunc_impl_list): Likewise.
6266 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power6.c: New file.
6267 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power7.c: New file.
6268 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-ppc64.c: New file.
6269 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr.c : New file:
6270 multiarch wcsrchr for PPC64.
6272 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcschr
6273 multiarch implementations.
6274 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
6275 (__libc_ifunc_impl_list): Likewise.
6276 * sysdeps/powerpc/powerpc64/multiarch/wcschr-power6.c: New file.
6277 * sysdeps/powerpc/powerpc64/multiarch/wcschr-power7.c: New file.
6278 * sysdeps/powerpc/powerpc64/multiarch/wcschr-ppc64.c: New file.
6279 * sysdeps/powerpc/powerpc64/multiarch/wcschr.c : New file:
6280 multiarch wcschr for PPC64.
6282 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strchrnul
6283 multiarch implementations.
6284 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
6285 (__libc_ifunc_impl_list): Likewise.
6286 * sysdeps/powerpc/powerpc64/multiarch/strchrnul-power7.S: New file.
6287 * sysdeps/powerpc/powerpc64/multiarch/strchrnul-ppc64.c: New file.
6288 * sysdeps/powerpc/powerpc64/multiarch/strchrnul.c: New file:
6289 multiarch strchrnul for PPC64.
6291 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strchr multiarch
6293 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
6294 (__libc_ifunc_impl_list): Likewise.
6295 * sysdeps/powerpc/powerpc64/multiarch/rtld-strchr.S: New file.
6296 * sysdeps/powerpc/powerpc64/multiarch/strchr-power7.S: New file.
6297 * sysdeps/powerpc/powerpc64/multiarch/strchr-ppc64.S: New file.
6298 * sysdeps/powerpc/powerpc64/multiarch/strchr.c: New file: multiarch
6301 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncmp multiarch
6303 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
6304 (__libc_ifunc_impl_list): Likewise.
6305 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power4.S: New file.
6306 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power7.S: New file.
6307 * sysdeps/powerpc/powerpc64/multiarch/strncmp-ppc64.S: New file.
6308 * sysdeps/powerpc/powerpc64/multiarch/strncmp.c: New file: multiarch
6311 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncasecmp
6312 multiarch implementations.
6313 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
6314 (__libc_ifunc_impl_list): Likewise.
6315 * sysdeps/powerpc/powerpc64/multiarch/strncase-power7.c: New file.
6316 * sysdeps/powerpc/powerpc64/multiarch/strncase.c: New file: multiarch
6317 strncasecmp for PPC64.
6318 * sysdeps/powerpc/powerpc64/multiarch/strncase_l-power7.c: New file.
6319 * sysdeps/powerpc/powerpc64/multiarch/strncase_l.c: New file:
6320 multiarch strncasecmp_l for PPC64.
6322 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcasecmp
6323 multiarch implementations.
6324 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
6325 (__libc_ifunc_impl_list): Likewise.
6326 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: New file.
6327 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp.c: New file:
6328 multiarch strcasecmp for PPC64.
6329 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: New
6331 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l.c: new file:
6332 multiarch strcasecmp_l for PPC64.
6334 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strnlen multiarch
6336 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
6337 (__libc_ifunc_impl_list): Likewise.
6338 * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: New file.
6339 * sysdeps/powerpc/powerpc64/multiarch/strnlen-ppc64.c: New file.
6340 * sysdeps/powerpc/powerpc64/multiarch/strnlen.c: New file: multiarch
6343 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strlen multiarch
6345 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
6346 (__libc_ifunc_impl_list): Likewise.
6347 * sysdeps/powerpc/powerpc64/multiarch/strlen-power7.S: New file.
6348 * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S: New file.
6349 * sysdeps/powerpc/powerpc64/multiarch/strlen.c: New file: multiarch
6352 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add rawmemch multiarch
6354 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
6355 (__libc_ifunc_impl_list): Likewise.
6356 * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-power7.S: New file.
6357 * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-ppc64.c: New file.
6358 * sysdeps/powerpc/powerpc64/multiarch/rawmemchr.c: New file: multiarch
6359 rawmemrchr for PPC64.
6361 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memrchr multiarch
6363 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
6364 (__libc_ifunc_impl_list): Likewise.
6365 * sysdeps/powerpc/powerpc64/multiarch/memrchr-power7.S: New file.
6366 * sysdeps/powerpc/powerpc64/multiarch/memrchr-ppc64.c: New file.
6367 * sysdeps/powerpc/powerpc64/multiarch/memrchr.c: New file: multiarch
6370 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memchr multiarch
6372 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
6373 (__libc_ifunc_impl_list): Likewise.
6374 * sysdeps/powerpc/powerpc64/multiarch/memchr-power7.S: New file.
6375 * sysdeps/powerpc/powerpc64/multiarch/memchr-ppc64.c: New file.
6376 * sysdeps/powerpc/powerpc64/multiarch/memchr.c: New file: multiarch
6379 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add mempcpy multiarch
6381 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
6382 (__libc_ifunc_impl_list): Likewise.
6383 * sysdeps/powerpc/powerpc64/multiarch/mempcpy-power7.S: New file.
6384 * sysdeps/powerpc/powerpc64/multiarch/mempcpy-ppc64.c: New file.
6385 * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c: New file: multiarch
6388 * sysdeps/powerpc/powerpc64/memset.S (NO_BZERO_IMPL): Add macro to
6389 avoid cretion of __bzero symbol.
6390 * sysdeps/powerpc/powerpc64/power4/memset.S (NO_BZERO_IMPL):
6392 * sysdeps/powerpc/powerpc64/power6/memset.S (NO_BZERO_IMPL):
6394 * sysdeps/powerpc/powerpc64/power7/memset.S (NO_BZERO_IMPL):
6396 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memset/bzero
6397 multiarch implementations.
6398 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
6399 (__libc_ifunc_impl_list): Likewise.
6400 * sysdeps/powerpc/powerpc64/multiarch/bzero-power4.S: New file.
6401 * sysdeps/powerpc/powerpc64/multiarch/bzero-power6.S: New file.
6402 * sysdeps/powerpc/powerpc64/multiarch/bzero-power7.S: New file.
6403 * sysdeps/powerpc/powerpc64/multiarch/bzero.c: New file: multiarch
6405 * sysdeps/powerpc/powerpc64/multiarch/memset-power4.S: New file.
6406 * sysdeps/powerpc/powerpc64/multiarch/memset-power6.S: New file.
6407 * sysdeps/powerpc/powerpc64/multiarch/memset-power7.S: New file.
6408 * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S: New file.
6409 * sysdeps/powerpc/powerpc64/multiarch/memset.c: New file: multiarch
6411 * sysdeps/powerpc/powerpc64/multiarch/rtld-memset.c: New file.
6413 * string/memcmp.c (memcmp): Using macro to redefine symbol name.
6414 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memcpy multiarch
6416 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
6417 (__libc_ifunc_impl_list): Likewise.
6418 * sysdeps/powerpc/powerpc64/multiarch/memcmp-power4.S: New file.
6419 * sysdeps/powerpc/powerpc64/multiarch/memcmp-power7.S: New file.
6420 * sysdeps/powerpc/powerpc64/multiarch/memcmp-ppc64.c: New file.
6421 * sysdeps/powerpc/powerpc64/multiarch/memcmp.c: New file: multiarch
6424 * sysdeps/powerpc/powerpc64/multiarch/Makefile: New file to support
6425 multiarch for POWER/PPC64.
6426 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Likewise.
6427 * sysdeps/powerpc/powerpc64/multiarch/init-arch.h: Likewise.
6428 * sysdeps/powerpc/powerpc64/multiarch/memcpy-a2.S: New file.
6429 * sysdeps/powerpc/powerpc64/multiarch/memcpy-cell.S: New file.
6430 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power4.S: New file.
6431 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power6.S: New file.
6432 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power7.S: New file.
6433 * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S: New file.
6434 * sysdeps/powerpc/powerpc64/multiarch/memcpy.c: New file: multiarch
6437 * sysdeps/powerpc/powerpc64/power4/fpu/Implies: New file.
6438 * sysdeps/powerpc/powerpc64/power4/fpu/multiarch/Implies: New File.
6439 * sysdeps/powerpc/powerpc64/power4/multiarch/Implies: New File.
6440 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: New File.
6441 * sysdeps/powerpc/powerpc64/power5+/multiarch/Implies: New File.
6442 * sysdeps/powerpc/powerpc64/power5/Implies: New File.
6443 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: New File.
6444 * sysdeps/powerpc/powerpc64/power5/multiarch/Implies: New File.
6445 * sysdeps/powerpc/powerpc64/power6/fpu/Implies: New File.
6446 * sysdeps/powerpc/powerpc64/power6/multiarch/Implies: New File.
6447 * sysdeps/powerpc/powerpc64/power7/fpu/Implies: New File.
6448 * sysdeps/powerpc/powerpc64/power7/multiarch/Implies: New File.
6449 * sysdeps/powerpc/powerpc64/power8/fpu/Implies: New File.
6450 * sysdeps/powerpc/powerpc64/power8/fpu/multiarch/Implies: New File.
6451 * sysdeps/powerpc/powerpc64/power8/multiarch/Implies: New File.
6452 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: Remove.
6453 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/Implies: Remove.
6454 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: Remove.
6455 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: Remove.
6456 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: Remove.
6457 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: Remove.
6458 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Remove.
6460 2013-12-12 Kaz Kojima <kkojima@rr.iij4u.or.jp>
6462 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Use $$ver.
6464 2013-12-12 Siddhesh Poyarekar <siddhesh@redhat.com>
6466 * benchtests/Makefile (bench): Add exp2 and log2.
6467 (LDLIBS-bench-exp2): Add -lm.
6468 (LDLIBS-bench-log2): Likewise.
6469 * benchtests/exp2-inputs: New inputs file.
6470 * benchtests/log2-inputs: New inputs file.
6471 * benchtests/log-inputs: Add new inputs.
6472 * benchtests/tan-inputs: Likewise.
6474 2013-12-11 Siddhesh Poyarekar <siddhesh@redhat.com>
6476 * sysdeps/ieee754/dbl-64/s_sin.c (t22): Consolidate const
6478 (slow1, slow2, sloww1, sloww2, bsloww1, bsloww2, cslow2, csloww1)
6479 (csloww2): ... from here.
6481 * sysdeps/ieee754/dbl-64/usncs.h: Define constants as double
6482 instead of structures.
6483 * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): Adjust.
6484 (POLYNOMIAL): Likewise.
6485 (TAYLOR_SLOW): Likewise.
6493 (bsloww1): Likewise.
6494 (bsloww2): Likewise.
6497 (csloww1): Likewise.
6498 (csloww2): Likewise.
6500 2013-12-10 Ondřej Bílka <neleai@seznam.cz>
6502 * malloc/malloc.c (MALLOC_COPY, MALLOC_ZERO): Delete.
6503 (__malloc_assert, __libc_realloc, __libc_calloc, _int_realloc):
6504 Expand MALLOC_COPY and MALLOC_ZERO to memcpy and memset.
6505 * malloc/hooks.c (realloc_check): Likewise.
6507 * malloc/Makefile (CPPFLAGS-malloc.c): Remove -DPER_THREAD flag.
6508 * malloc/arena.c: Remove PER_THREAD conditional.
6509 [!PER_THREAD]: Remove code.
6510 (ptmalloc_unlock_all2): Likewise.
6511 (ptmalloc_init): Likewise.
6512 (_int_new_arena): Likewise.
6513 (arena_get2): Likewise.
6514 * malloc/hooks.c (__malloc_get_state): Likewise.
6515 (__malloc_set_state): Likewise.
6516 * malloc/malloc.c: Likewise.
6517 (struct malloc_state): Likewise.
6518 (struct malloc_par): Likewise.
6519 (__libc_realloc): Likewise.
6520 (__libc_mallopt): Likewise.
6522 2013-12-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6524 * Versions.def (libm): Add GLIBC_2.3 and GLIBC_2.19.
6526 2013-12-09 Ondřej Bílka <neleai@seznam.cz>
6528 * malloc/malloc.c (alloc_perturb, free_perturb): Convert from
6529 macro to a function. Check for zero perturb_byte.
6530 (_int_malloc, _int_free): Remove zero perturb_byte checks.
6532 * malloc/malloc.c: (force_reg): Remove.
6533 (__malloc_assert, __libc_malloc, __libc_free, __libc_realloc)
6534 (_mid_memalign, __libc_calloc, sysmalloc, systrim): Replace
6535 force_reg by atomic_forced_read.
6536 * malloc/arena.c (ptmalloc_init): Likewise.
6537 * malloc/hooks.c (top_check): Likewise.
6539 2013-12-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6541 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
6543 2013-12-09 Markus Trippelsdorf <markus@trippelsdorf.de>
6545 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
6547 2013-12-08 Joseph Myers <joseph@codesourcery.com>
6549 * math/auto-libm-test-in: Add tests of lgamma.
6550 * math/auto-libm-test-out: Regenerated.
6551 * math/libm-test.inc (M_LOG_SQRT_PIl): Remove macro.
6552 (M_LOG_2_SQRT_PIl): Likewise.
6553 (lgamma_test_data): Use AUTO_TESTS_f_f1.
6554 * math/gen-auto-libm-tests.c (func_calc_method): Add value
6556 (func_calc_desc): Add mpfr_f_f1 union field.
6565 (FUNC_mpfr_f_f): Use new macros FUNC, ARGS1, RET1 and CALC.
6566 (test_functions): Add lgamma.
6567 (calc_generic_results): Handle mpfr_f_f1.
6568 * sysdeps/i386/fpu/libm-test-ulps: Update.
6569 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6571 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6573 * sysdeps/powerpc/powerpc64/power7/add_n.S: New file: optimized
6574 __mpn_add_n for PowerPC64/POWER7.
6575 * sysdeps/powerpc/powerpc64/power7/sub_n.S: New file: optimized
6576 __mpn_sub_n for PowerPC64/POWER7.
6578 * sysdeps/powerpc/powerpc64/addmul_1.S: New file: optimized
6579 __mpn_addmul_1 for PowerPC64.
6580 * sysdeps/powerpc/powerpc64/submul_1.S: New file: optimized
6581 __mpn_submul_1 for PowerPC64.
6582 * sysdeps/powerpc/powerpc64/lshift.S: New file: optimized __mpn_lshift
6584 * sysdeps/powerpc/powerpc64/mul_1.S: New file: optimized __mpn_mul_1
6587 2013-12-06 Fernando J. V. da Silva <fernandojvdasilva@gmail.com>
6590 * malloc/malloc.c: Exit systrim() if pad is bigger than heap top size.
6592 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6594 * NEWS: Mention ppc32/power4+ STT_GNU_IFUNC support.
6596 * sysdeps/powerpc/powerpc32/power5+/fpu/multiarch/Implies: New file:
6597 add multiarch folders.
6598 * sysdeps/powerpc/powerpc32/power5+/multiarch/Implies: Likewise.
6599 * sysdeps/powerpc/powerpc32/power5/fpu/multiarch/Implies: Likewise.
6600 * sysdeps/powerpc/powerpc32/power5/multiarch/Implies: Likewise.
6601 * sysdeps/powerpc/powerpc32/power6/fpu/multiarch/Implies: Likewise.
6602 * sysdeps/powerpc/powerpc32/power6/multiarch/Implies: Likewise.
6603 * sysdeps/powerpc/powerpc32/power6x/fpu/multiarch/Implies: Likewise.
6604 * sysdeps/powerpc/powerpc32/power6x/multiarch/Implies: Likewise.
6605 * sysdeps/powerpc/powerpc32/power7/fpu/multiarch/Implies: Likewise.
6606 * sysdeps/powerpc/powerpc32/power7/multiarch/Implies: Likewise.
6607 * sysdeps/powerpc/powerpc32/power8/fpu/multiarch/Implies: Likewise.
6608 * sysdeps/powerpc/powerpc32/power8/multiarch/Implies: Likewise.
6609 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/Implies: Remove.
6610 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: Remove.
6611 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: Remove.
6612 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: Remove.
6613 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: Remove.
6614 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Remove.
6616 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add
6617 __ieee754_hypot and __ieee754_hypotf multiarch implementations.
6618 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot-power7.c:
6620 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot-ppc32.c:
6622 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot.c: New file:
6623 multiarch __ieee754_hypot for PowerPC32.
6624 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf-power7.c:
6626 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf-ppc32.c:
6628 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf.c: New file:
6629 multiarch __ieee754_hypotf for PowerPC32.
6631 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Define
6632 long_double_symbol only if __logbl is defined.
6633 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Moved to ...
6634 * sysdeps/powerpc/power7/fpu/s_logb.c: ... here.
6635 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: Move to ...
6636 * sysdeps/powerpc/power7/fpu/s_logbf.c: ... here.
6637 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: Move to ...
6638 * sysdeps/powerpc/power7/fpu/s_logbl.c: ... here.
6639 * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: Adjust to use new
6640 path for implementation.
6641 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: Likewise.
6642 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: Likewise.
6643 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add logbf,
6644 logb, and logbl multiarch implementations for PowerPC32.
6645 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-power7.c: New
6647 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-ppc32.c: New
6649 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb.c: New file:
6650 multiarch logb for PowerPC32.
6651 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf-power7.c: New
6653 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf-ppc32.c: New
6655 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf.c: New file:
6656 multiarch logbf for PowerPC32.
6657 * sysdeps/powerpc/power4/fpu/multiarch/s_logbl-power7.c: New file.
6658 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbl-ppc32.c: New
6660 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbl.c: New file:
6661 multiarch logbl implementation for PowerPC32.
6663 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add modf
6664 and modff multiarch implementations.
6665 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-power5+.c:
6667 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-ppc32.c:
6669 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf.c: New file:
6670 multiarch modf for PowerPC32.
6671 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff-power5+.c:
6673 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff-ppc32.c:
6675 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff.c: New file:
6676 multiarch modff for PowerPC32.
6678 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add lrint
6679 and lrintf multiarch implementations.
6680 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-power6x.S:
6682 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-ppc32.S:
6684 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint.c: New file:
6685 multiarch lrint for PowerPC32.
6686 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrintf.c: New
6687 file: multiarch lrintf for PowerPC32.
6689 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add lround
6690 and lroundf multiarch implementations.
6691 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power5+.S:
6693 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power6.S:
6695 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-ppc32.S:
6697 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround.c: New file:
6698 multiarch lround for PowerPC32.
6699 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lroundf.c: New
6700 file: multiarch lroundf for PowerPC32.
6702 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add
6703 copysign and copysignf multiarch implementations.
6704 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-power6.S:
6706 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-ppc32.S:
6708 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign.c: New
6709 file: multiarch copysign for PowerPC32.
6710 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysignf.c: New
6711 file: multiarch copysignf for PowerPC32.
6713 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add trunc
6714 and truncf multiarch implementations.
6715 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc-power5+.S:
6717 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc-ppc32.S: New
6719 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc.c: New file:
6720 multiarch trunc for PowerPC32.
6721 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf-power5+.S:
6723 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf-ppc32.S:
6725 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf.c: New file:
6726 multiarch truncf for PowerPC32.
6728 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add round
6729 and roundf multiarch implementations.
6730 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round-power5+.S:
6732 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round-ppc32.S: New
6734 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round.c: New file:
6735 multiarch round for PowerPC32.
6736 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf-power5+.S:
6738 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf-ppc32.S:
6740 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf.c: New file:
6741 multiarch roundf for PowerPC32.
6743 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add floor
6744 and floorf multiarch implementations.
6745 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-power5+.S:
6747 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-ppc32.S: New
6749 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor.c: New file:
6750 multiarch floor for PowerPC32.
6751 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-power5+.S:
6753 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-ppc32.S:
6755 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf.c: New file:
6756 multiarch floorf for PowerPC32.
6758 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add ceil
6759 and ceilf multiarch implementations.
6760 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-power5+.S:
6762 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-ppc32.S: New
6764 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil.c: New file:
6765 multiarch ceil for PowerPC32.
6766 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-power5+.S:
6768 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-ppc32.S: New
6770 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf.c: New file:
6771 multiarch ceilf for PowerPC32.
6773 * sysdeps/ieee754/dbl-64/s_finite.c (__finite): Redefine it if FINITE
6775 * sysdeps/ieee754/flt-32/s_finitef.c (__finitef): Redefine it if
6777 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add finite
6778 and finitef multiarch implementations.
6779 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-power7.S:
6781 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-ppc32.c: New
6783 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite.c: New file:
6784 multiarch finite for PowerPC32.
6785 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef-ppc32.c:
6787 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef.c: New
6788 file: multiarch finitef for PowerPC32.
6790 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add isinf
6791 and isinff multiarch implementations.
6792 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-power7.S: New
6794 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-ppc32.c: New
6796 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf.c: New file:
6797 multiarch isinf for PowerPC32.
6798 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff-ppc32.c:
6800 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff.c: New file:
6801 multiarch isinff for PowerPC32.
6803 * sysdeps/powerpc/powerpc32/fpu/s_isnan.S (__isnan): Only implement
6804 alias when __isnan is defined.
6805 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add isnan
6806 and isnanf multiarch implementations.
6807 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power5.S: New
6809 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power6.S: New
6811 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power7.S: New
6813 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-ppc32.S: New
6815 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan.c: New file:
6816 multiarch isnan for PowerPC32.
6817 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power6.S:
6819 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power7.S:
6821 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf.c: New file:
6822 multiarch isnanf for PowerPC32.
6824 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add sqrt
6825 and sqrtf multiarch implementations.
6826 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-power5.S: New
6828 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-ppc32.S: New
6830 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt.c: New file:
6831 multiarch sqrt for PowerPC32.
6832 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-power5.S: New
6834 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-ppc32.S: New
6836 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf.c: New file:
6837 multiarch sqrtf for PowerPC32.
6839 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add llround
6840 and llroundf multiarch implementations.
6841 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power5+.S:
6843 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power6.S:
6845 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-ppc32.S:
6847 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround.c: New
6848 file: multiarch llround for PowerPC32.
6849 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llroundf.c: New
6850 file: multiarch llroundf for PowerPC32.
6852 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: New file:
6853 multiarch PowerPC32 fpu implementations.
6854 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-power6.S:
6856 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-ppc32.S:
6858 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint.c: New file:
6859 multiarch llrint for PowerPC32.
6860 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-power6.S:
6862 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-ppc32.S:
6864 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf.c: New
6867 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/Implies: Remove.
6869 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power6.c: New
6871 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power7.c: New
6873 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-ppc32.c: New
6875 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy.c: New file:
6876 multiarch wordcopy for PPC32.
6877 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcscpy
6879 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
6880 (__libc_ifunc_impl_list): Likewise.
6881 * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Move ...
6882 * sysdeps/powerpc/power4/wordcopy.c: ... to here.
6883 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Move ...
6884 * sysdeps/powerpc/power6/wordcopy.c: ... to here.
6885 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Remove uneeded file.
6886 * sysdeps/powerpc/powerpc64/power4/wordcopy.c: Likewise.
6888 * wcsmbs/wcscpy.c (wcscpy): Using macro to redefine symbol name
6889 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power6.c: New
6891 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power7.c: New
6893 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-ppc32.c: New
6895 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy.c: New file:
6896 multiarch wcscpy for PPC32.
6897 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcscpy
6899 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
6900 (__libc_ifunc_impl_list): Likewise.
6901 * sysdeps/powerpc/powerpc32/power6/wcsrchr.c: Move ...
6902 * sysdeps/powerpc/power6/wcsrchr.c: ... to here.
6903 * sysdeps/powerpc/powerpc64/power6/wcscpy.c: Adjust to use
6904 sysdeps/powerpc/power6/wcscpy.c.
6906 * wcsmbs/wcsrchr.c (wcsrchr): Using macro to redefine symbol name
6907 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power6.c: New
6909 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power7.c: New
6911 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-ppc32.c: New
6913 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr.c: New file:
6914 multiarch wcsrchr for PPC32.
6915 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcschr
6917 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
6918 (__libc_ifunc_impl_list): Likewise.
6919 * sysdeps/powerpc/powerpc32/power6/wcsrchr.c: Move ...
6920 * sysdeps/powerpc/power6/wcsrchr.c: ... to here.
6921 * sysdeps/powerpc/powerpc64/power6/wcsrchr.c: Adjust to use
6922 sysdeps/powerpc/power6/wcsrchr.c.
6924 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power6.c: New
6926 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power7.c: New
6928 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c: New file.
6929 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c: New file:
6930 multiarch wcschr for PPc32.
6931 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcschr
6933 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
6934 (__libc_ifunc_impl_list): Likewise.
6935 * sysdeps/powerpc/powerpc32/power6/wcschr.c: Move ...
6936 * sysdeps/powerpc/power6/wcschr.c: ... to here.
6937 * sysdeps/powerpc/powerpc64/power6/wcschr.c: Adjust to use
6938 sysdeps/powerpc/power6/wcschr.c.
6940 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-strchr.S: New file.
6941 * sysdeps/powerpc/powerpc32/power4/multiarch/strchr-power7.S: New
6943 * sysdeps/powerpc/powerpc32/power4/multiarch/strchr-ppc32.S: New file.
6944 * sysdeps/powerpc/powerpc/powerpc32/power4/multiarch/strchr.c: New
6945 file: multiarch strchr for PPC32.
6946 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strchr
6948 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
6949 (__libc_ifunc_impl_list): Likewise.
6951 * string/strchrnul.c (__strchrnul): Using macro to redefine symbol
6953 * sysdeps/powerpc/powerpc32/power4//multiarch/strchrnul-power7.S: New
6955 * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul-ppc32.c: New
6957 * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul.c: New file:
6958 multiarch strchrnul for PPC32.
6959 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strchrnul
6961 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
6962 (__libc_ifunc_impl_list): Likewise.
6964 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase-power7.c: New
6966 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase.c: New file:
6967 multiarch strncasecmp for PPC32.
6968 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l-power7.c: New
6970 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l.c: New file:
6971 multiarch strncasecmp_l for PPC32.
6972 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added
6973 strncasecmp multiarch objects.
6974 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
6975 (__libc_ifunc_impl_list): Likewise.
6977 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp-power7.S: New
6979 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp.c: New file:
6980 multiarch strncasecmp for PPC32.
6981 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l-power7.S:
6983 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l.c: New file:
6984 multiarch strcasecmp_l for PPC32.
6985 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strcasecmp
6987 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
6988 (__libc_ifunc_impl_list): Likewise.
6990 * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-power7.S: New
6992 * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-ppc32.S: New
6994 * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp.c: New file:
6995 multiarch strncmp for PPC32.
6996 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strncmp
6998 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
6999 (__libc_ifunc_impl_list): Likewise.
7001 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-strnlen.c: New file.
7002 * sysdeps/powerpc/powerpc32//power4/multiarch/strnlen-power7.S: New
7004 * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen-ppc32.c: New file.
7005 * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen.c: New file.
7006 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strnlen
7008 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
7009 (__libc_ifunc_impl_list): Likewise.
7011 * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-power7.S: New
7013 * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-ppc32.S: New
7015 * sysdeps/powerpc/powerpc32/power4/multiarch/strlen.c: New file.
7016 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strlen
7018 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
7019 (__libc_ifunc_impl_list): Likewise.
7021 * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr-power7.S: New
7023 * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr-ppc32.c: New
7025 * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr.c: New file:
7026 multiarch rawmemchr for PPC32.
7027 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added rawmemchr
7029 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
7030 (__libc_ifunc_impl_list): Likewise.
7032 * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-power7.S: New
7034 * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-ppc32.c: New
7036 * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr.c: New
7037 file: memrchr multiarch for PPC32.
7038 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added memrchr
7040 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
7041 (__libc_ifunc_impl_list): Likewise.
7043 * string/memchr.c (__memchr): Using macro to redefine symbol name.
7044 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-power7.S: New
7046 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c: New File.
7047 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c: New file:
7048 multiarch memchr for PPC32.
7049 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memchr
7051 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
7052 (__libc_ifunc_impl_list): Likewise.
7054 * string/mempcpy.c (__mempcpy): Using macro to redefine symbol name.
7055 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy-power7.S: New
7057 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy-ppc32.c: New
7059 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c: New
7060 file: multiarch mempcpy for PPC32.
7061 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add mempcpy
7063 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
7064 (__libc_ifunc_impl_list): Likewise.
7066 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-power6.S: New file.
7067 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-power7.S: New file.
7068 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-ppc32.S: New file.
7069 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: New file:
7070 multiarch bzero for PPC32.
7071 * sysdeps/powerpc/powerpc32/power4/multiarch/memset-power6.S: New
7073 * sysdeps/powerpc/powerpc32/power4/multiarch/memset-power7.S: New
7075 * sysdeps/powerpc/powerpc32/power4/multiarch/memset-ppc32.S: New file.
7076 * sysdeps/powerpc/powerpc/powerpc32/power4/multiarch/memset.c: New
7077 file: multiarch memset for PPC32.
7078 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-memset.S: New file.
7079 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add bzero and
7080 memset multiarch objects.
7081 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
7082 (__libc_ifunc_impl_list): Likewise.
7084 * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-power7.S: New
7086 * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-ppc32.S: New file.
7087 * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp.c: multiarch
7089 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-memcmp.S: New file.
7090 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memcmp
7092 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
7093 (__libc_ifunc_impl_list): Likewise.
7095 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-a2.S: New file.
7096 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-cell.S: New file.
7097 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-power6.S: New
7099 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-power7.S: New
7101 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-ppc32.S: New
7103 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy.c: New file:
7104 multiarch memcpy for PPC32.
7105 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memcpy
7107 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
7108 (__libc_ifunc_impl_list): Likewise.
7110 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: New file to
7111 support multiarch for POWER/PPC32.
7112 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c:
7114 * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h: Likewise.
7115 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: Remove
7116 Implies file to make multiarch folder appers before the fpu and
7117 default folder for power4 configuration.
7119 2013-12-06 Siddhesh Poyarekar <siddhesh@redhat.com>
7121 * scripts/bench.pl: Append volatile keyword to type.
7123 2013-12-05 Kaz Kojima <kkojima@rr.iij4u.or.jp>
7125 * sysdeps/sh/sotruss-lib.c: New file.
7126 * sysdeps/unix/sysv/linux/sh/nptl/c++-types.data: New file.
7128 2013-12-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7130 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
7132 2013-12-05 Joseph Myers <joseph@codesourcery.com>
7135 * math/w_tgamma.c: Include <errno.h>.
7136 (__tgamma): Use __glibc_unlikely. Set errno on underflow to 0.
7137 * math/w_tgammaf.c: Include <errno.h>.
7138 (__tgammaf): Use __glibc_unlikely. Set errno on underflow to 0.
7139 * math/w_tgammal.c: Include <errno.h>.
7140 (__tgammal): Use __glibc_unlikely. Set errno on underflow to 0.
7141 * math/auto-libm-test-in: Do not allow missing errno on tgamma
7142 underflow. Add more tgamma tests.
7143 * math/auto-libm-test-out: Regenerated.
7144 * sysdeps/i386/fpu/libm-test-ulps: Update.
7145 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7147 * math/auto-libm-test-in: Add tests of log, log10, log1p, log2,
7148 sin, sinh, tan, tanh, tgamma, y0 and y1.
7149 * math/auto-libm-test-out: Regenerated.
7150 * math/libm-test.inc (TEST_COND_x86_64): New macro.
7151 (TEST_COND_x86): Likewise.
7152 (M_E2l): Remove macro.
7154 (M_2_SQRT_PIl): Likewise.
7155 (M_SQRT_PIl): Likewise.
7156 (M_1_DIV_El): Likewise.
7157 (log_test_data): Use AUTO_TESTS_f_f.
7158 (log10_test_data): Likewise.
7159 (log1p_test_data): Likewise.
7160 (log2_test_data): Likewise.
7161 (sin_test_data): Likewise.
7162 (sin_tonearest_test_data): Likewise.
7163 (sin_towardzero_test_data): Likewise.
7164 (sin_downward_test_data): Likewise.
7165 (sin_upward_test_data): Likewise.
7166 (sinh_test_data): Likewise.
7167 (sinh_tonearest_test_data): Likewise.
7168 (sinh_towardzero_test_data): Likewise.
7169 (sinh_downward_test_data): Likewise.
7170 (sinh_upward_test_data): Likewise.
7171 (tan_test_data): Likewise.
7172 (tan_tonearest_test_data): Likewise.
7173 (tan_towardzero_test_data): Likewise.
7174 (tan_downward_test_data): Likewise.
7175 (tan_upward_test_data): Likewise.
7176 (tanh_test_data): Likewise.
7177 (tgamma_test_data): Likewise.
7178 (y0_test_data): Likewise.
7179 (y1_test_data): Likewise.
7180 * math/gen-auto-libm-tests.c (special_fill_pi_4): New function.
7181 (special_real_inputs): Add pi/4.
7182 * sysdeps/i386/fpu/libm-test-ulps: Update.
7183 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7185 2013-12-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7187 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Add "longjmp" and
7188 "longjmp_target" static probes.
7189 (__longjmp): Rename to __longjmp_symbol.
7190 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
7191 * sysdeps/powerpc/powerpc32/__longjmp.S: Define __longjmp_symbol based
7192 on which longjmp to generate.
7193 * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
7194 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Add "setjmp" static
7196 (__sigsetjmp): Rename to __sigsetjmp_symbol.
7197 (__sigjmp_save): Rename to __sigjmp_save_symbol.
7198 * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
7199 * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Define __sigsetjmp_symbol
7200 and __sigjmp_save_symbol based on which sigsetjmp to generated.
7201 * sysdeps/powerpc/powerpc32/setjmp.S: Likewise
7202 * sysdeps/unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Define
7203 __longjmp_symbol based on which __longjmp to generate.
7204 * sysdeps/powerpc/powerpc64/setjmp-common.S: Add "setjmp" static
7206 (setjmp): Rename to setjmp_symbol.
7207 (__sigsetjmp): Rename to __sigsetjmp_symbol.
7208 (_setjmp): Rename to _setjmp_symbol.
7209 (__sigsetjmp): Rename to __sigsetjmp_symbol.
7210 * sysdeps/powerpc/powerpc64/setjmp.S: Define setjmp_symbol,
7211 _setjmp_symbol, __sigsetjmp_symbol, and __sigjmp_save_symbol based on
7212 which setjmp to generate.
7213 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Add "longjmp" and
7214 "longjmp_target" static probes.
7216 2013-12-05 Siddhesh Poyarekar <siddhesh@redhat.com>
7218 * benchtests/README: Add note about output arguments.
7219 * benchtests/bench-sincos.c: Remove file.
7220 * benchtests/sincos-inputs: New file.
7221 * scripts/bench.pl: Identify output arguments and define
7222 static variables for them.
7224 * debug/stpncpy_chk.c (__stpncpy_chk): Remove unused variables.
7227 * Makefile (INSTALL): Add install-plain.texi as the primary
7229 * manual/install-plain.texi: New file.
7230 * manual/install.texi: Include node directive only for
7231 non-plaintext output.
7233 2013-12-04 Joseph Myers <joseph@codesourcery.com>
7235 * stdlib/longlong.h: Update from GCC.
7239 * math/w_j0.c (y0): Raise FE_DIVBYZERO on zero argument.
7240 * math/w_j0f.c (y0f): Likewise.
7241 * math/w_j0l.c (__y0l): Likewise.
7242 * math/w_j1.c (y1): Likewise.
7243 * math/w_j1f.c (y1f): Likewise.
7244 * math/w_j1l.c (__y1l): Likewise
7245 * math/w_jn.c (yn): Likewise.
7246 * math/w_jnf.c (ynf): Likewise.
7247 * sysdeps/ieee754/k_standard.c (__kernel_standard): Use ERANGE for
7248 Bessel function pole errors in _POSIX_ mode. Use NAN as return
7249 value for Bessel function domain errors outside _SVID_ mode.
7250 Adjust sign of return value for yn (negative integer, 0).
7251 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Use division
7252 by zero in return for negative x and set sign appropriately for
7254 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Likewise.
7255 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
7256 * math/libm-test.inc (y0_test_data): Add more tests and adjust
7257 expectations in error cases.
7258 (y1_test_data): Likewise.
7259 (yn_test_data): Likewise.
7260 * sysdeps/i386/fpu/libm-test-ulps: Update.
7261 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7263 2013-11-12 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
7265 * sysdeps/unix/sysv/linux/powerpc/Makefile (abi-variants): Rename
7266 "64" to "64-v1". Add "64-v2".
7267 (abi-64-options): Rename to ...
7268 (abi-64-v1-options): ... this. Redefine _CALL_ELF.
7269 (abi-64-condition): Rename to ...
7270 (abi-64-v1-condition): ... this. Add _CALL_ELF check.,
7271 (abi-64-ld-soname): Rename to ...
7272 (abi-64-v1-ld-soname): ... this.
7273 (abi-64-v2-options): Define.
7274 (abi-64-v2-condition): Likewise.
7275 (abi-64-v2-ld-soname): Likewise.
7276 * sysdeps/unix/sysv/linux/powerpc/ldconfig.h
7277 (SYSDEP_KNOWN_INTERPRETER_NAMES): Add "/lib64/ld64.so.2".
7278 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: Delete file.
7279 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac: New file.
7280 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Generate.
7282 2013-11-12 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
7283 Alan Modra <amodra@gmail.com>
7285 * sysdeps/powerpc/bits/link.h (La_ppc64v2_regs, La_ppc64v2_retval):
7286 New versions for use with the ELFv2 ABI.
7287 (la_ppc64v2_gnu_pltenter, la_ppc64v2_gnu_pltexit): Add prototypes.
7288 * sysdeps/powerpc/lsdodefs.h (struct La_ppc64v2_regs): Add forward
7290 (struct La_ppc64v2_retval): Likewise.
7291 (ARCH_PLTENTER_MEMBERS): Add ppc64v2_gnu_pltenter.
7292 (ARCH_PLTEXIT_MEMBERS): Add ppc64v2_gnu_pltexit.
7293 * sysdeps/powerpc/powerpc64/dl-machine.h (ARCH_LA_PLTENTER): Define
7294 to ppc64v2_gnu_pltenter if _CALL_ELF == 2.
7295 (ARCH_LA_PLTEXIT): Define to ppc64v2_gnu_pltexit if _CALL_ELF == 2.
7296 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
7297 Do not save or restore CR.
7298 (FRAME_SIZE, VR_RTN): Provide updated values for _CALL_ELF == 2.
7299 (_dl_profile_resolve): Do no save or restore CR. Support extended
7300 return values for ELFv2 ABI. Fix location of FPR return registers.
7301 * sysdeps/powerpc/powerpc64/tst-audit.h (pltenter, pltexit): Provide
7302 updated values for _CALL_ELF == 2.
7303 (La_regs, La_retval, int_retval): Likewise.
7305 2013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
7307 * sysdeps/powerpc/powerpc64/sysdep.h (FRAME_MIN_SIZE): Define.
7308 (FRAME_MIN_SIZE_PARM): Likewise.
7309 (FRAME_BACKCHAIN): Likewise.
7310 (FRAME_CR_SAVE): Likewise.
7311 (FRAME_LR_SAVE): Likewise.
7312 (FRAME_TOC_SAVE): Likewise.
7313 (FRAME_PARM_SAVE): Likewise.
7314 (FRAME_PARM1_SAVE, FRAME_PARM2_SAVE, FRAME_PARM3_SAVE,
7315 FRAME_PARM4_SAVE, FRAME_PARM5_SAVE, FRAME_PARM6_SAVE,
7316 FRAME_PARM7_SAVE, FRAME_PARM8_SAVE, FRAME_PARM9_SAVE): Likewise.
7317 (call_mcount_parm_offset): New macro.
7318 (SAVE_ARG, REST_ARG, CFI_SAVE_ARG): Use it.
7319 (PROF): Use symbolic stack frame offsets.
7320 (TAIL_CALL_SYSCALL_ERROR): Likewise.
7321 * sysdeps/powerpc/powerpc64/dl-trampoline.S (FRAME_SIZE, INT_PARMS):
7322 Redefine in terms of FRAME_MIN_SIZE.
7323 (_dl_runtime_resolve): Use symbolic stack frame offsets.
7324 (_dl_profile_resolve): Likewise. Update comment.
7325 * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI__setjmp): Use
7326 symbols stack frame offsets.
7327 (__sigsetjmp): Likewise.
7328 * sysdeps/powerpc/powerpc64/__longjmp-common.S (__longjmp): Likewise.
7329 * sysdeps/powerpc/powerpc64/ppc-mcount.S (_mcount): Likewise.
7330 * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Likewise.
7331 * sysdeps/powerpc/powerpc64/crtn.S (_init, _fini): Likewise.
7333 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ucontext_i.sym
7334 (FRAME_BACKCHAIN): Remove.
7335 (FRAME_CR_SAVE): Likewise.
7336 (FRAME_LR_SAVE): Likewise.
7337 (FRAME_COMPILER_DW): Likewise.
7338 (FRAME_LINKER_DW): Likewise.
7339 (FRAME_TOC_SAVE): Likewise.
7340 (FRAME_PARM_SAVE): Likewise.
7341 (FRAME_PARM1_SAVE, FRAME_PARM2_SAVE, FRAME_PARM3_SAVE)
7342 (FRAME_PARM4_SAVE, FRAME_PARM5_SAVE, FRAME_PARM6_SAVE)
7343 (FRAME_PARM7_SAVE, FRAME_PARM8_SAVE, FRAME_PARM9_SAVE): Likewise.
7344 * sysdeps/unix/sysv/linux/powerpc/powerpc64/____longjmp_chk.S
7345 (CHECK_SP): Use symbolic stack frame offsets.
7346 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Use "red
7347 zone" instead of caller's parameter save area for temp storage.
7348 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
7349 Likewise. Also, use symbolic stack frame offsets.
7350 * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (FRAMESIZE,
7351 stackblock): Redefine for _CALL_ELF == 2 to save parameters into
7352 our own stack frame instead of the caller's.
7353 (__socket): Use symbolic stack frame offsets.
7355 2013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
7356 Alan Modra <amodra@gmail.com>
7358 * elf/elf.h (DT_PPC64_OPT, PPC64_OPT_TLS, PPC64_OPT_MULTI_TOC):
7360 (STO_PPC64_LOCAL_BIT, STO_PPC64_LOCAL_MASK)
7361 (PPC64_LOCAL_ENTRY_OFFSET): Define.
7362 * sysdeps/powerpc/powerpc64/dl-machine.h (ppc64_local_entry_offset):
7364 (elf_machine_fixup_plt): Call it.
7365 (elf_machine_plt_conflict): Likewise. Add map, sym_map, and
7367 (elf_machine_rela): Update call to elf_machine_plt_conflict.
7368 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve)
7369 (_dl_profile_resolve) [_CALL_ELF == 2]: Restore caller's TOC into
7370 r2 before calling target.
7372 2013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
7373 Alan Modra <amodra@gmail.com>
7375 * sysdeps/powerpc/powerpc64/sysdep.h [_CALL_ELF == 2]
7376 (PPC64_LOAD_FUNCPTR, DOT_LABEL, BODY_LABEL, ENTRY_2, END_2): New
7377 versions of macros to support ELFv2 ABI.
7378 (LOCALENTRY): New macro.
7379 (ENTRY, EALIGN): Use it.
7380 * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Use LOCALENTRY.
7381 * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI__setjmp): Do not
7382 fall through into ENTRY entry point.
7383 * libc/sysdeps/powerpc/powerpc64/dl-machine.h (Elf64_FuncDesc):
7384 Only define if _CALL_ELF != 2.
7386 (elf_machine_matches_host): Verify ABI version matches.
7387 (RTLD_START): Use LOCALENTRY.
7388 (elf_machine_type_class): Use SHN_UNDEF PLT handling for ELFv2 ABI.
7389 (PLT_INITIAL_ENTRY_WORDS): New version for _CALL_ELF != 2.
7390 (PLT_ENTRY_WORDS): New macro.
7391 (GLINK_INITIAL_ENTRY_WORDS, GLINK_ENTRY_WORDS): Likewise.
7392 (elf_machine_runtime_setup): Support ELFv2 ABI.
7393 (elf_machine_fixup_plt): Likewise.
7394 (elf_machine_plt_conflict): Likewise.
7395 (resolve_ifunc): Likewise.
7396 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_irela): Likewise.
7397 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET):
7399 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ldsodefs.h
7400 (DL_ADDR_SYM_MATCH): Only define if _CALL_ELF != 2.
7401 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
7402 (makecontext): Support ELFv2 ABI.
7403 * elf/elf.h (EF_PPC64_ABI): Define.
7405 2013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
7407 * sysdeps/powerpc/powerpc64/sysdep.h
7408 (PPC64_LOAD_FUNCPTR) [ASSEMBLER]: New assembler macro.
7409 (ENTRY_1) [ASSEMBLER]: Do not switch to .text section here ...
7410 (ENTRY) [ASSEMBLER]: ... but instead here ...
7411 (EALIGN) [ASSEMBLER]: ... and here.
7412 (PPC64_LOAD_FUNCPTR) [!ASSEMBLER]: New macro.
7413 (ENTRY_1) [!ASSEMBLER]: New macro; set up .opd entry.
7414 (ENTRY_2) [!ASSEMBLER]: Use it.
7415 * sysdeps/powerpc/powerpc64/dl-machine.h (RTLD_START): Update for
7416 ENTRY_2 changes. Use PPC64_LOAD_FUNCPTR.
7417 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve)
7418 (_dl_profile_resolve): Use PPC64_LOAD_FUNCPTR.
7419 * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Use ENTRY_2.
7420 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (clone):
7421 Use PPC64_LOAD_FUNCPTR.
7423 * sysdeps/powerpc/tls.h (tcbhead_t): Add __private_ss field.
7425 2013-12-04 Alan Modra <amodra@gmail.com>
7427 * elf/elf.h (R_PPC64_TLSGD, R_PPC64_TLSLD, R_PPC64_TOCSAVE): Define.
7428 (R_PPC64_ADDR16_HIGH, R_PPC64_ADDR16_HIGHA): Likewise.
7429 (R_PPC64_TPREL16_HIGH, R_PPC64_TPREL16_HIGHA): Likewise.
7430 (R_PPC64_DTPREL16_HIGH, R_PPC64_DTPREL16_HIGHA): Likewise.
7432 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Add
7433 overflow checking for R_PPC64_ADDR16_HI, R_PPC64_ADDR16_HA,
7434 R_PPC64_TPREL16_HI, and R_PPC64_TPREL16_HA.
7435 Support new R_PPC64_ADDR16_HIGH, R_PPC64_ADDR16_HIGHA,
7436 R_PPC64_TPREL16_HIGH, and R_PPC64_TPREL16_HIGHA relocations.
7437 Fix overflow checking for R_PPC64_ADDR30 and R_PPC64_ADDR32.
7439 2013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
7441 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
7442 (__makecontext): Fix incorrect CFI when backtracing out of
7443 context created via makecontext.
7444 * sysdeps/unix/sysv/linux/powerpc/powerpc64/secontext.S
7445 (__setcontext): Fix incorrect CFI during switch to new context.
7446 (__novec_setcontext): Likewise.
7448 2013-12-04 Ondřej Bílka <neleai@seznam.cz>
7451 * time/strptime_l.c (__strptime_internal): Allow modifiers
7453 * time/tst-strptime.c (day_tests): Add testcase.
7455 2013-12-04 Siddhesh Poyarekar <siddhesh@redhat.com>
7457 * scripts/bench.pl: Skip over blank lines.
7459 2013-12-04 Paul Eggert <eggert@cs.ucla.edu>
7462 * manual/time.texi (Calendar Time): Clarify what timezone functions
7465 2013-12-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7467 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
7469 2013-12-04 Ondřej Bílka <neleai@seznam.cz>
7471 * debug/memcpy_chk.c (__memcpy_chk): Use call instead of custom
7473 * debug/memmove_chk.c (MEMMOVE_CHK): Likewise.
7474 * debug/mempcpy_chk.c (__mempcpy_chk): Likewise.
7475 * debug/memset_chk.c (__memset_chk): Likewise.
7476 * debug/stpncpy_chk.c (__stpncpy_chk): Likewise.
7477 * debug/strncpy_chk.c: Likewise.
7479 2013-12-03 Joseph Myers <joseph@codesourcery.com>
7483 * sysdeps/ieee754/dbl-64/e_exp.c: Include <float.h>.
7484 (__ieee754_exp): For possibly underflowing results, check size of
7485 result and force underflow exception if required.
7486 * math/auto-libm-test-in: Add more tests of exp.
7487 * math/auto-libm-test-out: Regenerated.
7488 * sysdeps/i386/fpu/libm-test-ulps: Update.
7489 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7492 * math/w_exp2.c (__exp2): Handle a zero result as underflow.
7493 * math/w_exp2f.c (__exp2f): Likewise.
7494 * math/w_exp2l.c (__exp2l): Likewise.
7495 * math/auto-libm-test-in: Do not allow missing errno on exp2
7497 * math/auto-libm-test-out: Regenerated.
7499 2013-12-03 Ondřej Bílka <neleai@seznam.cz>
7502 * sysdeps/unix/sysv/linux/shm_open.c (shm_open): Correctly
7503 handle filename validation.
7504 * rt/tst-shm.c (do_test): Do not skip a test when shm_open fails.
7507 2013-12-03 Joseph Myers <joseph@codesourcery.com>
7510 * sysdeps/ieee754/dbl-64/s_erf.c: Include <errno.h> and <float.h>.
7511 (__erfc): Set errno to ERANGE when returning 0 or tiny * tiny.
7512 * sysdeps/ieee754/flt-32/s_erff.c: Include <errno.h> and
7514 (__erfcf): Set errno to ERANGE when returning 0 or tiny * tiny.
7515 * sysdeps/ieee754/ldbl-128/s_erfl.c: Include <errno.h>.
7516 (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
7517 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Include <errno.h>.
7518 (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
7519 * sysdeps/ieee754/ldbl-96/s_erfl.c: Include <errno.h>.
7520 (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
7521 * math/auto-libm-test-in: Don't allow missing errno from erfc.
7522 Add more erfc tests.
7523 * math/auto-libm-test-out: Regenerated.
7524 * sysdeps/i386/fpu/libm-test-ulps: Update.
7525 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7527 * math/auto-libm-test-in: Add tests of erf, erfc, exp, exp10,
7528 exp2, expm1, j0 and j1.
7529 * math/auto-libm-test-out: Regenerated.
7530 * math/libm-test.inc (erf_test_data): Use AUTO_TESTS_f_f.
7531 (erfc_test_data): Likewise.
7532 (exp_test_data): Likewise.
7533 (exp_tonearest_test_data): Likewise.
7534 (exp_towardzero_test_data): Likewise.
7535 (exp_downward_test_data): Likewise.
7536 (exp_upward_test_data): Likewise.
7537 (exp10_test_data): Likewise.
7538 (exp2_test_data): Likewise.
7539 (expm1_test_data): Likewise.
7540 (j0_test_data): Likewise.
7541 (j1_test_data): Likewise.
7542 * math/gen-auto-libm-tests.c: Mention "xfail-rounding" in comment.
7543 (input_flag_type): Add flag_xfail_rounding.
7544 (input_flags): Add xfail-rounding.
7545 (adjust_real): Assert mpfr_number_p not mpfr_regular_p.
7546 (output_for_one_input_case): Handle flag_xfail_rounding.
7547 * sysdeps/i386/fpu/libm-test-ulps: Update.
7548 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7550 2013-12-03 Aurelien Jarno <aurelien@aurel32.net>
7553 * locale/loadarchive.c (_nl_load_locale_from_archive): Avoid
7556 2013-12-03 Siddhesh Poyarekar <siddhesh@redhat.com>
7559 * include/stap-probe.h [!USE_STAP_PROBE && !__ASSEMBLER__]
7560 (LIBC_PROBE): Change definition to call STAP_PROBE* macros.
7561 (STAP_PROBE0): New macro.
7562 (STAP_PROBE1): Likewise.
7563 (STAP_PROBE2): Likewise.
7564 (STAP_PROBE3): Likewise.
7565 (STAP_PROBE4): Likewise.
7567 2013-12-02 Ondřej Bílka <neleai@seznam.cz>
7569 * manual/llio.texi (Memory-mapped I/O): Add shm_open and shm_close.
7571 2013-12-02 Steve Ellcey <sellcey@mips.com>
7573 * benchtests/Makefile (bench): Add sqrt.
7574 (LDLIBS-bench-sqrt): New.
7575 * benchtests/sqrt-input: New.
7577 2013-12-02 Pavel Simerda <psimerda@redhat.com>
7579 * sysdeps/posix/getaddrinfo.c (GAIH_OKIFUNSPEC): Remove macro.
7580 (GAIH_EAI): Likewise.
7581 (gaih_inet_serv): Don't use GAIH_OKIFUNSPEC.
7582 (gaih_inet): Likewise.
7583 (getaddrinfo): Don't use GAIH_EAI.
7585 * sysdeps/posix/getaddrinfo.c (UNIX_PATH_MAX): Remove macro.
7586 (struct gaih): Remove definition.
7588 2013-12-02 Siddhesh Poyarekar <siddhesh@redhat.com>
7590 * nss/nss_files/files-hosts.c (_nss_files_gethostbyname4_r):
7591 Use HERRNOP directly.
7593 2013-12-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7595 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
7597 2013-11-30 Joseph Myers <joseph@codesourcery.com>
7599 * math/gen-auto-libm-tests.c (test_functions): Add more
7600 single-argument functions.
7601 (special_fill_pi_2): New function.
7602 (special_fill_minus_pi_2): Likewise.
7603 (special_fill_pi_6): Likewise.
7604 (special_fill_minus_pi_6): Likewise.
7605 (special_fill_pi_3): Likewise.
7606 (special_fill_2pi_3): Likewise.
7607 (special_fill_e): Likewise.
7608 (special_fill_1_e): Likewise.
7609 (special_fill_e_minus_1): Likewise.
7610 (special_real_inputs): Add more special inputs.
7611 (output_for_one_input_case): Do not require ERANGE on underflow to
7612 zero if round-to-nearest result does not underflow to zero, unless
7613 exact results required.
7614 * math/auto-libm-test-in: Add tests of acos, acosh, asin, asinh,
7615 atan, atanh, cbrt, cos and cosh.
7616 * math/auto-libm-test-out: Regenerated.
7617 * math/libm-test.inc (acos_test_data): Use AUTO_TESTS_f_f.
7618 (acos_tonearest_test_data): Likewise.
7619 (acos_towardzero_test_data): Likewise.
7620 (acos_downward_test_data): Likewise.
7621 (acos_upward_test_data): Likewise.
7622 (acosh_test_data): Likewise.
7623 (asin_test_data): Likewise.
7624 (asin_tonearest_test_data): Likewise.
7625 (asin_towardzero_test_data): Likewise.
7626 (asin_upward_test_data): Likewise.
7627 (asinh_test_data): Likewise.
7628 (atan_test_data): Likewise.
7629 (atanh_test_data): Likewise.
7630 (cbrt_test_data): Likewise.
7631 (cos_test_data): Likewise.
7632 (cos_tonearest_test_data): Likewise.
7633 (cos_towardzero_test_data): Likewise.
7634 (cos_downward_test_data): Likewise.
7635 (cos_upward_test_data): Likewise.
7636 (cosh_test_data): Likewise.
7637 (cosh_tonearest_test_data): Likewise.
7638 (cosh_towardzero_test_data): Likewise.
7639 (cosh_downward_test_data): Likewise.
7640 (cosh_upward_test_data): Likewise.
7641 * sysdeps/i386/fpu/libm-test-ulps: Update.
7642 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7644 2013-11-29 Joseph Myers <joseph@codesourcery.com>
7647 * math/w_exp10.c (__exp10): Handle a zero result as underflow.
7648 * math/w_exp10f.c (__exp10f): Likewise.
7649 * math/w_exp10l.c (__exp10l): Likewise.
7650 * math/libm-test.inc (exp10_test_data): Add more tests and expect
7651 errno settings in existing tests.
7654 * sysdeps/i386/fpu/e_sqrt.S (__ieee754_sqrt): Do fsqrt with
7655 precision control set to double precision.
7656 * sysdeps/i386/fpu/w_sqrt.c: New file.
7657 * math/auto-libm-test-in: Add more tests.
7658 * math/auto-libm-test-out: Update.
7660 * math/libm-test.inc (sqrt_tonearest_test_data): New variable.
7661 (sqrt_test_tonearest): New function.
7662 (sqrt_towardzero_test_data): New variable.
7663 (sqrt_test_towardzero): New function.
7664 (sqrt_downward_test_data): New variable.
7665 (sqrt_test_downward): New function.
7666 (sqrt_upward_test_data): New variable.
7667 (sqrt_test_upward): New function.
7668 (main): Call the new functions.
7670 * math/gen-auto-libm-tests.c: New file.
7671 * math/auto-libm-test-in: Likewise.
7672 * math/auto-libm-test-out: New generated file.
7673 * math/gen-libm-test.pl ($auto_input, %auto_tests): New global
7675 (%beautify): Add generated representations of zero.
7676 (top level): Set $auto_input and call parse_auto_input.
7677 (beautify): Remove trailing "f" from hex float constants.
7678 (parse_args): Handle XFAIL_TEST.
7679 (convert_condition): New function.
7680 (or_value): Likewise.
7681 (or_cond_value): Likewise.
7682 (generate_testfile): Handle AUTO_TESTS_* lines.
7683 (parse_auto_input): New function.
7684 * math/libm-test.inc (XFAIL_TEST): New macro.
7685 (ERRNO_UNCHANGED): Update value.
7686 (ERRNO_EDOM): Likewise.
7687 (ERRNO_ERANGE): Likewise.
7688 (IGNORE_RESULT): Likewise.
7689 (TEST_COND_flt_32): New macro.
7690 (TEST_COND_dbl_64): Likewise.
7691 (TEST_COND_ldbl_96_intel): Likewise.
7692 (TEST_COND_ldbl_96_m68k): Likewise.
7693 (TEST_COND_ldbl_128): Likewise.
7694 (TEST_COND_ldbl_128ibm): Likewise.
7695 (TEST_COND_long32): Likewise.
7696 (TEST_COND_long64): Likewise.
7697 (TEST_COND_before_rounding): Likewise.
7698 (TEST_COND_after_rounding): Likewise.
7699 (enable_test): Handle XFAIL_TEST flag.
7700 (sqrt_test_data): Use AUTO_TESTS_f_f for tests of finite inputs
7701 with finite results.
7702 * math/Makefile ($(objpfx)libm-test.stmp): Depend on
7705 2013-11-29 Siddhesh Poyarekar <siddhesh@redhat.com>
7706 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
7709 * sysdeps/s390/dl-tls.h (__TLS_GET_ADDR): Invoke
7710 __tls_get_addr_internal instead of __tls_get_offset in order to
7711 avoid GOT pointer dependency. Make rtld export
7712 __tls_get_addr_internal@@GLIBC_PRIVATE while still hiding
7713 __tls_get_addr since we are a __tls_get_offset platform.
7714 * sysdeps/s390/s390-64/tls-macros.h (TLS_IE PIC): Don't rely on
7715 GOT pointer being set up before.
7716 * sysdeps/s390/s390-32/tls-macros.h (TLS_IE PIC): Likewise.
7718 2013-11-28 Joseph Myers <joseph@codesourcery.com>
7720 * manual/math.texi (Errors in Math Functions): Document accuracy
7724 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Remove file.
7725 * sysdeps/ieee754/ldbl-96/e_ilogbl.c: Likewise.
7726 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
7727 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
7728 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
7729 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
7730 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
7731 * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
7732 * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
7733 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
7734 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
7735 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
7736 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
7737 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
7738 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
7739 * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
7741 * sysdeps/powerpc/nofpu/atomic-feclearexcept.c: New file.
7742 * sysdeps/powerpc/nofpu/atomic-feholdexcept.c: Likewise.
7743 * sysdeps/powerpc/nofpu/atomic-feupdateenv.c: Likewise.
7744 * sysdeps/powerpc/nofpu/flt-rounds.c: Likewise.
7745 * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feclearexcept.c:
7747 * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feholdexcept.c:
7749 * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feupdateenv.c:
7751 * sysdeps/powerpc/powerpc32/e500/nofpu/flt-rounds.c: Likewise.
7752 * sysdeps/powerpc/nofpu/Makefile [$(subdir) = soft-fp]
7753 (sysdep_routines): Add atomic-feholdexcept, atomic-feclearexcept,
7754 atomic-feupdateenv and flt-rounds.
7755 * sysdeps/powerpc/nofpu/Versions (libc): Add
7756 __atomic_feholdexcept, __atomic_feclearexcept,
7757 __atomic_feupdateenv and __flt_rounds to GLIBC_2.19.
7758 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h
7759 (__feraiseexcept_soft): Declare and use libc_hidden_proto here.
7760 * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c
7761 (__feraiseexcept_soft): Don't declare and use libc_hidden_proto
7763 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libc.abilist:
7766 * manual/arith.texi (FP Exceptions): Document that exceptions may
7767 not be raised when matherr is used.
7768 (Math Error Reporting): Document overflow in directed rounding
7769 modes. Document that errno may not be set when finite values are
7770 returned on overflow. Document intent to set errno on underflow
7771 only for underflow to zero.
7774 * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Set
7775 round-to-nearest then adjust result for other rounding modes.
7776 * include/fenv.h (fegetround): Use libm_hidden_proto.
7777 * math/fegetround.c (fegetround): Use libm_hidden_def.
7778 * sysdeps/i386/fpu/fegetround.c (fegetround): Likewise.
7779 * sysdeps/powerpc/fpu/fegetround.c (fegetround): Likewise.
7780 * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Likewise.
7781 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c (fegetround):
7783 * sysdeps/s390/fpu/fegetround.c (fegetround): Likewise.
7784 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
7785 * sysdeps/sparc/fpu/fegetround.c (fegetround): Likewise.
7786 * sysdeps/x86_64/fpu/fegetround.c (fegetround): Likewise.
7788 2013-11-28 Siddhesh Poyarekar <siddhesh@redhat.com>
7791 * nss/Versions (libnss_files): Add
7792 _nss_files_gethostbyname3_r.
7793 * nss/nss_files/files-hosts.c (_nss_files_gethostbyname3_r):
7795 (HOST_DB_LOOKUP): Remove macro.
7796 (_nss_files_gethostbyname_r): Implement function without the
7797 HOST_DB_LOOKUP macro.
7798 (_nss_files_gethostbyname2_r): Likewise.
7800 2013-11-28 Ondřej Bílka <neleai@seznam.cz>
7802 * malloc/malloc.c (__libc_calloc): Make memset a tail call.
7804 2013-11-26 Uros Bizjak <ubizjak@gmail.com>
7806 * soft-fp/op-4.h (_FP_FRAC_ASSEMBLE_4): Check rsize against
7807 _FP_W_TYPE_SIZE to avoid "left shift count >= width of type"
7810 2013-11-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7812 * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Use
7813 __fe_nomask_env_priv instead of __fe_nomask_env to avoid a PLT call.
7814 * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Likewise.
7815 * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Likewise.
7816 * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Rename to
7817 __fe_nomask_env_priv and attribute_hidden.
7818 * sysdeps/powerpc/fpu/fenv_private.h (libc_fesetenv_ppc): Likewise.
7819 (libc_feupdateenv_test_ppc): Likewise.
7820 (libc_feresetround_ppc): Likewise.
7821 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
7822 (__fe_nomask_env): Rename to __fe_nomask_env_priv and adjust
7823 compat_symbol macro.
7824 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
7825 (__fe_nomask_env): Likewise.
7826 * sysdeps/powerpc/fpu/fe_nomask.c (__fe_nomask_env): Likewise.
7828 2013-11-26 Ondřej Bílka <neleai@seznam.cz>
7830 * string/Makefile: Remove ifunc tests.
7831 * string/test-string.h: Define TEST_IFUNC.
7832 * string/test-bcopy-ifunc.c: Remove.
7833 * string/test-bzero-ifunc.c: Likewise.
7834 * string/test-memccpy-ifunc.c: Likewise.
7835 * string/test-memchr-ifunc.c: Likewise.
7836 * string/test-memcmp-ifunc.c: Likewise.
7837 * string/test-memcpy-ifunc.c: Likewise.
7838 * string/test-memmem-ifunc.c: Likewise.
7839 * string/test-memmove-ifunc.c: Likewise.
7840 * string/test-mempcpy-ifunc.c: Likewise.
7841 * string/test-memrchr-ifunc.c: Likewise.
7842 * string/test-memset-ifunc.c: Likewise.
7843 * string/test-rawmemchr-ifunc.c: Likewise.
7844 * string/test-stpcpy-ifunc.c: Likewise.
7845 * string/test-stpncpy-ifunc.c: Likewise.
7846 * string/test-strcasecmp-ifunc.c: Likewise.
7847 * string/test-strcasestr-ifunc.c: Likewise.
7848 * string/test-strcat-ifunc.c: Likewise.
7849 * string/test-strchr-ifunc.c: Likewise.
7850 * string/test-strchrnul-ifunc.c: Likewise.
7851 * string/test-strcmp-ifunc.c: Likewise.
7852 * string/test-strcpy-ifunc.c: Likewise.
7853 * string/test-strcspn-ifunc.c: Likewise.
7854 * string/test-strlen-ifunc.c: Likewise.
7855 * string/test-strncasecmp-ifunc.c: Likewise.
7856 * string/test-strncat-ifunc.c: Likewise.
7857 * string/test-strncmp-ifunc.c: Likewise.
7858 * string/test-strncpy-ifunc.c: Likewise.
7859 * string/test-strnlen-ifunc.c: Likewise.
7860 * string/test-strpbrk-ifunc.c: Likewise.
7861 * string/test-strrchr-ifunc.c: Likewise.
7862 * string/test-strspn-ifunc.c: Likewise.
7863 * string/test-strstr-ifunc.c: Likewise.
7865 2013-11-26 Ondřej Bílka <neleai@seznam.cz>
7867 * benchtests/Makefile: Remove ifunc tests.
7868 * benchtests/bench-string.h: Define TEST_IFUNC.
7869 * benchtests/bench-bcopy-ifunc.c: Remove.
7870 * benchtests/bench-bzero-ifunc.c: Likewise.
7871 * benchtests/bench-memccpy-ifunc.c: Likewise.
7872 * benchtests/bench-memchr-ifunc.c: Likewise.
7873 * benchtests/bench-memcmp-ifunc.c: Likewise.
7874 * benchtests/bench-memcpy-ifunc.c: Likewise.
7875 * benchtests/bench-memmem-ifunc.c: Likewise.
7876 * benchtests/bench-memmove-ifunc.c: Likewise.
7877 * benchtests/bench-mempcpy-ifunc.c: Likewise.
7878 * benchtests/bench-memrchr-ifunc.c: Likewise.
7879 * benchtests/bench-memset-ifunc.c: Likewise.
7880 * benchtests/bench-rawmemchr-ifunc.c: Likewise.
7881 * benchtests/bench-stpcpy_chk-ifunc.c: Likewise.
7882 * benchtests/bench-stpcpy-ifunc.c: Likewise.
7883 * benchtests/bench-stpncpy-ifunc.c: Likewise.
7884 * benchtests/bench-strcasecmp-ifunc.c: Likewise.
7885 * benchtests/bench-strcasestr-ifunc.c: Likewise.
7886 * benchtests/bench-strcat-ifunc.c: Likewise.
7887 * benchtests/bench-strchr-ifunc.c: Likewise.
7888 * benchtests/bench-strchrnul-ifunc.c: Likewise.
7889 * benchtests/bench-strcmp-ifunc.c: Likewise.
7890 * benchtests/bench-strcpy_chk-ifunc.c: Likewise.
7891 * benchtests/bench-strcpy-ifunc.c: Likewise.
7892 * benchtests/bench-strcspn-ifunc.c: Likewise.
7893 * benchtests/bench-strlen-ifunc.c: Likewise.
7894 * benchtests/bench-strncasecmp-ifunc.c: Likewise.
7895 * benchtests/bench-strncat-ifunc.c: Likewise.
7896 * benchtests/bench-strncmp-ifunc.c: Likewise.
7897 * benchtests/bench-strncpy-ifunc.c: Likewise.
7898 * benchtests/bench-strnlen-ifunc.c: Likewise.
7899 * benchtests/bench-strpbrk-ifunc.c: Likewise.
7900 * benchtests/bench-strrchr-ifunc.c: Likewise.
7901 * benchtests/bench-strsep-ifunc.c: Likewise.
7902 * benchtests/bench-strspn-ifunc.c: Likewise.
7903 * benchtests/bench-strstr-ifunc.c: Likewise.
7905 2013-11-26 Ondřej Bílka <neleai@seznam.cz>
7907 * sysdeps/x86_64/dl-tlsdesc.S (_dl_tlsdesc_resolve_hold): Fix typo.
7909 2013-11-26 Ondřej Bílka <neleai@seznam.cz>
7911 * resolv/netdb.h: Use __glibc_reserved instead __unused.
7912 * rt/aio.h: Likewise.
7913 * sysdeps/gnu/bits/utmp.h: Likewise.
7914 * sysdeps/gnu/bits/utmpx.h: Likewise.
7915 * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
7916 * sysdeps/unix/sysv/linux/bits/ipc.h: Likewise.
7917 * sysdeps/unix/sysv/linux/bits/msq.h: Likewise.
7918 * sysdeps/unix/sysv/linux/bits/sem.h: Likewise.
7919 * sysdeps/unix/sysv/linux/bits/shm.h: Likewise.
7920 * sysdeps/unix/sysv/linux/bits/stat.h: Likewise.
7921 * sysdeps/unix/sysv/linux/kernel_stat.h: Likewise.
7922 * sysdeps/unix/sysv/linux/ntp_gettimex.c: Likewise.
7923 * sysdeps/unix/sysv/linux/powerpc/bits/ipc.h: Likewise.
7924 * sysdeps/unix/sysv/linux/powerpc/bits/msq.h: Likewise.
7925 * sysdeps/unix/sysv/linux/powerpc/bits/sem.h: Likewise.
7926 * sysdeps/unix/sysv/linux/powerpc/bits/shm.h: Likewise.
7927 * sysdeps/unix/sysv/linux/powerpc/bits/stat.h: Likewise.
7928 * sysdeps/unix/sysv/linux/powerpc/powerpc32/kernel_stat.h: Likewise.
7929 * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
7930 * sysdeps/unix/sysv/linux/s390/bits/ipc.h: Likewise.
7931 * sysdeps/unix/sysv/linux/s390/bits/msq.h: Likewise.
7932 * sysdeps/unix/sysv/linux/s390/bits/sem.h: Likewise.
7933 * sysdeps/unix/sysv/linux/s390/bits/shm.h: Likewise.
7934 * sysdeps/unix/sysv/linux/s390/bits/stat.h: Likewise.
7935 * sysdeps/unix/sysv/linux/s390/bits/utmp.h: Likewise.
7936 * sysdeps/unix/sysv/linux/s390/bits/utmpx.h: Likewise.
7937 * sysdeps/unix/sysv/linux/s390/s390-32/utmp32.h: Likewise.
7938 * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
7939 * sysdeps/unix/sysv/linux/sh/bits/shm.h: Likewise.
7940 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
7941 * sysdeps/unix/sysv/linux/sparc/bits/ipc.h: Likewise.
7942 * sysdeps/unix/sysv/linux/sparc/bits/msq.h: Likewise.
7943 * sysdeps/unix/sysv/linux/sparc/bits/sem.h: Likewise.
7944 * sysdeps/unix/sysv/linux/sparc/bits/shm.h: Likewise.
7945 * sysdeps/unix/sysv/linux/sparc/bits/stat.h: Likewise.
7946 * sysdeps/unix/sysv/linux/sparc/sparc32/kernel_stat.h: Likewise.
7947 * sysdeps/unix/sysv/linux/sparc/sparc64/kernel_stat.h: Likewise.
7948 * sysdeps/unix/sysv/linux/sparc/sparc64/xstatconv.c: Likewise.
7949 * sysdeps/unix/sysv/linux/sparc/sys/procfs.h: Likewise.
7950 * sysdeps/unix/sysv/linux/sys/timex.h: Likewise.
7951 * sysdeps/unix/sysv/linux/x86/bits/msq.h: Likewise.
7952 * sysdeps/unix/sysv/linux/x86/bits/sem.h: Likewise.
7953 * sysdeps/unix/sysv/linux/x86/bits/shm.h: Likewise.
7954 * sysdeps/unix/sysv/linux/x86/bits/stat.h: Likewise.
7955 * sysdeps/unix/sysv/linux/xstatconv.c: Likewise.
7956 * sysdeps/x86/fpu/bits/fenv.h: Likewise.
7958 2013-11-25 Carlos O'Donell <carlos@redhat.com>
7961 * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes):
7962 Rename PTRAVE_EVENT_SECCOMP to PTRACE_EVENT_SECCOMP.
7964 2013-11-25 Joseph Myers <joseph@codesourcery.com>
7966 * sysdeps/powerpc/nofpu/fenv_libc.h (__fegetround): New macro.
7967 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h (__fegetround):
7970 2013-11-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7972 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Use
7973 SET_RESTORE_ROUND instead of feholdexcept/fesetround/fesetenv.
7974 * sysdeps/powerpc/fpu/fenv_libc.h (__fegetround): Remove define.
7975 (__fesetround): Remove define.
7976 * sysdeps/powerpc/fpu/fenv_private.h: New file: Inline floating point
7977 rounding and exceptions handling.
7978 * sysdeps/powerpc/fpu/math_private.h: Include fenv_private.h.
7979 * sysdeps/powerpc/fpu/fenv_libc.h (__fe_mask_env): Define as hidden.
7980 (__fe_nomask_env): Likewise.
7981 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c (__llrintl): Use
7982 __fegetround instead of fegetround.
7983 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Likewise.
7984 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c (__rintl): Likewise.
7986 2013-11-21 Roland McGrath <roland@hack.frob.com>
7988 * malloc/malloc.c: Move #include <sys/param.h> to the top; comment why
7991 * sysdeps/generic/sys/swap.h (swapon): Add FLAGS argument to prototype.
7993 2013-11-21 Meador Inge <meadori@codesourcery.com>
7996 * crypt/crypt.h (encrypt): Use __glibc_block instead of __block.
7997 (encrypt_r): Likewise.
7998 * malloc/obstack.h (obstack_free): Likewise.
7999 * posix/unistd.h (encrypt): Likewise.
8001 2013-11-21 Guy Martin <gmsoft@tuxicoman.be>
8003 * sysdeps/generic/ldsodefs.h: Replace DL_DT_INIT_ADDRESS() and
8004 DL_DT_FINI_ADDRESS() macro with DL_CALL_DT_INIT() and
8005 DL_CALL_DT_FINI() that call the functions directly.
8006 * elf/dl-init.c: Use the new DL_CALL_DT_INIT() macro.
8007 * elf/dl-close.c: Use the new DL_CALL_DT_FINI() macro.
8008 * elf/dl-fini.c: Likewise.
8010 2013-11-20 Ondřej Bílka <neleai@seznam.cz>
8012 * malloc/hooks.c (memalign_check): Add alignment rounding.
8013 * malloc/malloc.c (_mid_memalign): New function.
8014 (__libc_valloc, __libc_pvalloc, __libc_memalign, __posix_memalign):
8015 Implement by calling _mid_memalign.
8016 * manual/probes.texi (Memory Allocation Probes): Remove
8017 memory_valloc_retry and memory_pvalloc_retry.
8019 2013-11-20 Siddhesh Poyarekar <siddhesh@redhat.com>
8021 * locale/programs/locarchive.c (open_archive): Add const
8022 qualifier to ARCHIVEFNAME and copy default fname to
8026 * libio/tst-widetext.input: Rename Oriya to Odia.
8027 * locale/iso-639.def: Likewise.
8029 * manual/probes.texi (Mathematical Function Probes): Add
8030 documentation for sin, cos, asin and acos probes.
8031 * sysdeps/ieee754/dbl-64/sincos32.c: Include stap-probe.h.
8032 (__sin32): Add slowasin probe.
8033 (__cos32): Add slowacos probe.
8034 (__mpsin): Add slowsin probe.
8035 (__mpcos): Add slowcos probe.
8037 2013-11-19 Joseph Myers <joseph@codesourcery.com>
8040 * sysdeps/powerpc/nofpu/sim-full.c (__sim_exceptions): Change to
8041 thread-local __sim_exceptions_thread and global
8042 __sim_exceptions_global.
8043 (__sim_disabled_exceptions): Change to thread-local
8044 __sim_disabled_exceptions_thread and global
8045 __sim_disabled_exceptions_global.
8046 (__sim_round_mode): Change to thread-local __sim_round_mode_thread
8047 and global __sim_round_mode_global.
8048 (__simulate_exceptions): Use thread-local floating-point state and
8049 set global state from it as needed.
8050 * sysdeps/powerpc/nofpu/Versions (GLIBC_PRIVATE): Add
8051 __sim_exceptions_thread, __sim_disabled_exceptions_thread and
8052 __sim_round_mode_thread.
8053 * sysdeps/powerpc/nofpu/soft-supp.h: Include <shlib-compat.h>.
8054 (__sim_exceptions): Change to thread-local __sim_exceptions_thread
8055 and global __sim_exceptions_global.
8056 (__sim_disabled_exceptions): Change to thread-local
8057 __sim_disabled_exceptions_thread and global
8058 __sim_disabled_exceptions_global.
8059 (__sim_round_mode): Change to thread-local __sim_round_mode_thread
8060 and global __sim_round_mode_global.
8061 [SIM_GLOBAL_COMPAT] (SIM_COMPAT_SYMBOL): New macro.
8062 (SIM_SET_GLOBAL): Likewise.
8063 * sysdeps/powerpc/soft-fp/sfp-machine.h
8064 [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_ROUNDMODE): Use
8065 __sim_round_mode_thread.
8066 [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_TRAPPING_EXCEPTIONS): Use
8067 __sim_disabled_exceptions_thread.
8068 (__sim_exceptions): Change to __sim_exceptions_thread.
8069 (__sim_disabled_exceptions): Change to
8070 __sim_disabled_exceptions_thread.
8071 (__sim_round_mode): Change to __sim_round_mode_thread.
8072 * sysdeps/powerpc/nofpu/fclrexcpt.c (__feclearexcept): Use
8073 thread-local floating-point state and set global state from it as
8075 * sysdeps/powerpc/nofpu/fedisblxcpt.c (fedisableexcept): Likewise.
8076 * sysdeps/powerpc/nofpu/feenablxcpt.c: Include "soft-supp.h".
8077 (__sim_disabled_exceptions): Remove extern declaration.
8078 (feenableexcept): Use thread-local floating-point state and set
8079 global state from it as needed.
8080 * sysdeps/powerpc/nofpu/fegetenv.c (__sim_exceptions): Remove
8082 (__sim_disabled_exceptions): Likewise.
8083 (__sim_round_mode): Likewise.
8084 (__fegetenv): Use thread-local floating-point state.
8085 * sysdeps/powerpc/nofpu/fegetexcept.c (fegetexcept): Likewise.
8086 * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Likewise.
8087 * sysdeps/powerpc/nofpu/fesetenv.c (__fesetenv): Use thread-local
8088 floating-point state and set global state from it as needed.
8089 * sysdeps/powerpc/nofpu/fesetround.c (fesetround): Likewise.
8090 * sysdeps/powerpc/nofpu/feupdateenv.c (__feupdateenv): Likewise.
8091 * sysdeps/powerpc/nofpu/fgetexcptflg.c (__fegetexceptflag):
8093 * sysdeps/powerpc/nofpu/fraiseexcpt.c (__feraiseexcept): Likewise.
8094 * sysdeps/powerpc/nofpu/fsetexcptflg.c (__fesetexceptflag):
8096 sysdeps/powerpc/nofpu/ftestexcept.c (fetestexcept): Likewise.
8097 * sysdeps/powerpc/nofpu/get-rounding-mode.h (get_rounding_mode):
8098 Use __sim_round_mode_thread.
8099 * math/test-fenv-tls.c: New file.
8100 * math/Makefile (tests): Add test-fenv-tls.
8101 ($(objpfx)test-fenv-tls): Depend on
8102 $(common-objpfx)nptl/libpthread.so.
8104 2013-11-19 Andreas Schwab <schwab@suse.de>
8106 * locale/programs/locale.c (show_info): Decode wordarray elements.
8107 * locale/categories.def (LC_MONETARY): Add element for
8108 _NL_MONETARY_CRNCYSTR.
8109 * locale/C-monetary.c (conversion_rate): New variable.
8110 (_nl_C_LC_MONETARY): Use it for _NL_MONETARY_CONVERSION_RATE
8113 2013-11-18 Chris Metcalf <cmetcalf@tilera.com>
8115 * math/test-fpucw-ieee.c [!defined _FPU_IEEE] (FPU_CONTROL):
8116 Omit definition of FPU_CONTROL and use default if no _FPU_IEEE.
8118 2013-11-18 Paul Pluzhnikov <ppluzhnikov@google.com>
8120 * elf/Makefile (tst-auxv): New test.
8121 * elf/tst-auxv.c: New
8122 * elf/rtld.c (dl_main): Adjust AT_EXECFN
8124 2013-11-18 Joseph Myers <joseph@codesourcery.com>
8126 * include/libc-symbols.h (__hidden_proto): Add argument "thread".
8127 (hidden_proto): Caller changed.
8128 (hidden_tls_proto): New macro.
8129 (libc_hidden_tls_proto): Likewise.
8130 (rtld_hidden_tls_proto): Likewise.
8131 (libm_hidden_tls_proto): Likewise.
8132 (libresolv_hidden_tls_proto): Likewise.
8133 (librt_hidden_tls_proto): Likewise.
8134 (libdl_hidden_tls_proto): Likewise.
8135 (libnss_files_hidden_tls_proto): Likewise.
8136 (libnsl_hidden_tls_proto): Likewise.
8137 (libnss_nisplus_hidden_tls_proto): Likewise.
8138 (libutil_hidden_tls_proto): Likewise.
8140 2013-11-18 Ondřej Bílka <neleai@seznam.cz>
8143 * elf/dl-load.c (fillin_rpath): Add linkmap parameter and expand path.
8144 (decompose_rpath): Defer expansion to fillin_rpath.
8145 (_dl_init_paths): Pass linkmap to fillin_rpath.
8147 2013-11-18 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
8149 * benchtests/Makefile: Add strsep.
8150 * benchtests/bench-strsep.c: New file: strsep benchtest.
8151 * benchtests/bench-strsep-ifunc.c: New file: strsep benchtest.
8153 2013-11-18 Andreas Schwab <schwab@suse.de>
8155 * locale/programs/locale.c (show_info) [case byte]: Check for
8156 '\377' instead of '\177'.
8157 * locale/C-monetary.c (not_available): Always use "\377".
8158 * stdlib/strfmon_l.c (__vstrfmon_l): Use -2 as marker for
8159 unspecified p_sign_posn and n_sign_posn. Check for '\377' to
8160 detect unavailable sign_posn locale elements.
8161 * locale/localeconv.c (__localeconv): For grouping and
8162 mon_grouping handle "\177" and "\377" like no grouping.
8163 (INT_ELEM): New macro. Use it to set all numeric members.
8164 * locale/programs/ld-monetary.c (monetary_read)
8165 <tok_mon_grouping>: Normalize single -1 to the empty string.
8166 * locale/programs/ld-numeric.c (numeric_read) <tok_grouping>:
8169 2013-11-07 Ondřej Bílka <neleai@seznam.cz>
8172 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Limit width
8173 when we match (nil).
8174 * stdio-common/tst-sscanf.c (struct test): Add testcase.
8176 2013-11-16 Joseph Myers <joseph@codesourcery.com>
8178 * math/libm-test.inc (TEST_NAN_SIGN): New macro.
8179 (NO_TEST_INLINE): Update value.
8180 (ERRNO_UNCHANGED): Likewise.
8181 (ERRNO_EDOM): Likewise.
8182 (ERRNO_ERANGE): Likewise.
8183 (IGNORE_RESULT): Likewise.
8184 (check_float_internal): Check signs of NaN results if
8186 (check_complex): Pass TEST_NAN_SIGN flag through to second
8187 check_float_internal call.
8188 (copysign_test_data): Add tests with quiet NaNs as second
8189 argument. Use TEST_NAN_SIGN.
8190 (fabs_test_data): Add test of negative quiet NaN argument. Use
8192 (signbit_test_data): Add tests of quiet NaN argument.
8193 * math/gen-libm-test.pl (parse_args): Handle TEST_NAN_SIGN.
8195 * math/gen-libm-test.pl (show_exceptions): Take extra argument
8197 (parse_args): Handle function results specified as IGNORE.
8198 * math/libm-test.inc (IGNORE_RESULT): New macro.
8199 (check_float_internal): Do not check numerical result if flag
8201 (check_complex): Pass through IGNORE_RESULT to second
8202 check_float_internal call.
8203 (check_int): Do not check numerical result if flag IGNORE_RESULT
8205 (check_long): Likewise.
8206 (check_bool): Likewise.
8207 (check_longlong): Likewise.
8208 (lrint_test_data): Add tests of infinite and NaN arguments.
8209 (lrint_tonearest_test_data): Likewise.
8210 (lrint_towardzero_test_data): Likewise.
8211 (lrint_downward_test_data): Likewise.
8212 (lrint_upward_test_data): Likewise.
8213 (llrint_test_data): Likewise.
8214 (llrint_tonearest_test_data): Likewise.
8215 (llrint_towardzero_test_data): Likewise.
8216 (llrint_downward_test_data): Likewise.
8217 (llrint_upward_test_data): Likewise.
8218 (lround_test_data): Likewise.
8219 (llround_test_data): Likewise.
8221 * math/libm-test.inc (NO_TEST_INLINE): New macro.
8222 (ERRNO_UNCHANGED): Update value.
8223 (ERRNO_EDOM): Likewise.
8224 (ERRNO_ERANGE): Likewise.
8225 (NO_TEST_INLINE_FLOAT): New macro.
8226 (NO_TEST_INLINE_DOUBLE): Likewise.
8227 (enable_test): New function.
8228 (RUN_TEST_f_f): Check enable_test before running test.
8229 (RUN_TEST_2_f): Likewise.
8230 (RUN_TEST_fff_f): Likewise.
8231 (RUN_TEST_c_f): Likewise.
8232 (RUN_TEST_f_f1): Likewise.
8233 (RUN_TEST_fF_f1): Likewise.
8234 (RUN_TEST_fI_f1): Likewise.
8235 (RUN_TEST_ffI_f1): Likewise.
8236 (RUN_TEST_c_c): Likewise.
8237 (RUN_TEST_cc_c): Likewise.
8238 (RUN_TEST_f_i): Likewise.
8239 (RUN_TEST_f_i_tg): Likewise.
8240 (RUN_TEST_ff_i_tg): Likewise.
8241 (RUN_TEST_f_b): Likewise.
8242 (RUN_TEST_f_b_tg): Likewise.
8243 (RUN_TEST_f_l): Likewise.
8244 (RUN_TEST_f_L): Likewise.
8245 (RUN_TEST_fFF_11): Likewise.
8246 (asinh_test_data): Use NO_TEST_INLINE instead of [!TEST_INLINE]
8248 (cosh_test_data): Likewise.
8249 (exp_test_data): Likewise.
8250 (expm1_test_data): Likewise.
8251 (hypot_test_data): Likewise.
8252 (pow_test_data): Likewise.
8253 (sinh_test_data): Likewise.
8254 (tanh_test_data): Likewise.
8255 * math/gen-libm-test.pl (parse_args): Allow NO_TEST_INLINE as
8258 * libm-test.inc (acos_test_data): Disallow inexact exceptions for
8259 tests with quiet NaN input and output.
8260 (acosh_test_data): Likewise.
8261 (asin_test_data): Likewise.
8262 (asinh_test_data): Likewise.
8263 (atan_test_data): Likewise.
8264 (atanh_test_data): Likewise.
8265 (atan2_test_data): Likewise.
8266 (cbrt_test_data): Likewise.
8267 (cos_test_data): Likewise.
8268 (cosh_test_data): Likewise.
8269 (erf_test_data): Likewise.
8270 (erfc_test_data): Likewise.
8271 (exp_test_data): Likewise.
8272 (exp10_test_data): Likewise.
8273 (exp2_test_data): Likewise.
8274 (expm1_test_data): Likewise.
8275 (hypot_test_data): Likewise.
8276 (j0_test_data): Likewise.
8277 (j1_test_data): Likewise.
8278 (jn_test_data): Likewise.
8279 (lgamma_test_data): Likewise.
8280 (log_test_data): Likewise.
8281 (log10_test_data): Likewise.
8282 (log1p_test_data): Likewise.
8283 (log2_test_data): Likewise.
8284 (pow_test_data): Likewise.
8285 (scalb_test_data): Likewise.
8286 (sin_test_data): Likewise.
8287 (sincos_test_data): Likewise.
8288 (sinh_test_data): Likewise.
8289 (tan_test_data): Likewise.
8290 (tanh_test_data): Likewise.
8291 (tgamma_test_data): Likewise.
8292 (y0_test_data): Likewise.
8293 (y1_test_data): Likewise.
8294 (yn_test_data): Likewise.
8297 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Check for first
8298 argument being NaN and avoid computations with second argument in
8300 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
8301 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.
8302 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
8304 2013-11-15 Arun Kumar Pyasi <arun@chitwanix.com>
8306 * locale/iso-639.def: Add Chitwani Tharu (the).
8308 2013-11-14 Andreas Schwab <schwab@suse.de>
8310 * locale/C-address.c (_nl_C_LC_ADDRESS): Set country_num to zero
8311 word instead of empty string.
8313 2013-11-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8315 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
8316 (__fe_nomask_env): Fir compat symbol to be remove for GLIBC_2.19.
8317 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
8318 (__fe_nomask_env): Likewise.
8320 2013-11-13 Steve Ellcey <sellcey@mips.com>
8322 * benchtests/bench-timing.h: Include time.h.
8324 2013-11-13 H.J. Lu <hongjiu.lu@intel.com>
8327 * sysdeps/unix/sysv/linux/configure.ac (arch_minimum_kernel): Set
8329 * sysdeps/unix/sysv/linux/configure: Regenerated.
8331 2013-11-13 Joseph Myers <joseph@codesourcery.com>
8334 * stdlib/strtod_l.c (round_and_return): Do not consider
8335 retval[RETURN_LIBM_SIZE - 1] when determining more_bits for an
8336 exponent one less than half the least subnormal exponent.
8337 * stdlib/test-strtod-round-data: Add more tests.
8338 * stdlib/tst-strtod-round.c (tests): Regenerated.
8340 2013-11-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8343 * sysdeps/powerpc/bits/fenv.h (__fe_nomask_env): Remove declaration.
8344 (__fe_mask_env): Likewise.
8345 * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Remove
8346 libm_hidden_proto and add function prototype.
8347 (__fe_mask_env): Add function prototype.
8348 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
8349 (__fe_nomask_env): Add compat symbol for GLIBC_2.1.
8350 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
8351 (__fe_mask_env): Remove compiler warnings regarding ununsed variables.
8352 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
8353 (__fe_nomask_env): Add compat symbol for GLIBC_2.3.
8355 2013-11-13 Marcus Shawcroft <marcus.shawcroft@linaro.org>
8357 * elf/dl-lookup.c (_dl_lookup_symbol_x): If UNDEF_MAP is false
8358 set reference_name to "" to avoid passing NULL to DSO_FILENAME.
8360 2013-11-13 Marcus Shawcroft <marcus.shawcroft@linaro.org>
8362 * elf/tlsdeschtab.h (_dl_make_tlsdesc_dynamic): Handle failure
8363 of htab_find_slot().
8365 2013-11-11 David S. Miller <davem@davemloft.net>
8368 * sysdeps/sparc/sparc64/multiarch/add_n.S: Resolve to the correct generic
8369 symbol in the non-vis3 case in static builds.
8370 * sysdeps/sparc/sparc64/multiarch/addmul_1.S: Likewise.
8371 * sysdeps/sparc/sparc64/multiarch/mul_1.S: Likewise.
8372 * sysdeps/sparc/sparc64/multiarch/sub_n.S: Likewise.
8373 * sysdeps/sparc/sparc64/multiarch/submul_1.S: Likewise.
8375 2013-11-11 Jan Kratochvil <jan.kratochvil@redhat.com>
8378 * elf/dl-object.c (_dl_new_object): Initialize L_NAME from NEWNAME if
8381 2013-11-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8383 * benchtests/Makefile: Add bench-strtod.
8384 * benchtests/bench-strtod.c: New file: strtod benchtest
8386 2013-11-11 Andreas Schwab <schwab@suse.de>
8389 * nscd/nscd_getserv_r.c (__nscd_getservbyport_r): Don't include
8390 terminating NUL in key length.
8392 2013-11-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8394 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET):
8395 Add artificial ODP entry for vDSO symbol for PPC64.
8396 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Adjust includes.
8397 * sysdeps/unix/sysv/linux/powerpc/time.c: Likewise.
8399 2013-11-07 Ondřej Bílka <neleai@seznam.cz>
8402 * nss/getent.c (services_keys): Recognize services starting with digit.
8404 2013-11-06 David S. Miller <davem@davemloft.net>
8407 * sysdeps/sparc/sparc32/fpu/s_fdim.S (__fdim): Do not use fnegd
8408 on pre-v9 cpus, use a fnegs+fmovs sequence instead.
8410 2013-11-06 Will Newton <will.newton@linaro.org>
8412 * manual/memory.texi (Malloc Examples): Remove register
8413 keyword from examples.
8415 2013-11-04 Chris Leonard <cjl@sugarlabs.org>
8417 * locale/iso-639.def: Correct Walaita (wal) and add Unami Delaware (unm).
8419 2013-11-04 Joseph Myers <joseph@codesourcery.com>
8422 * include/stdc-predef.h [__GCC_IEC_559] (__STDC_IEC_559__): Define
8423 depending on [__GCC_IEC_559 > 0].
8424 [__GCC_IEC_559_COMPLEX] (__STDC_IEC_559_COMPLEX__): Define
8425 depending on [__GCC_IEC_559_COMPLEX > 0].
8427 2013-11-03 Chris Leonard <cjl@sugarlabs.org>
8429 * locale/iso-639.def: Add Quechua, Southern (quz) and Silesian (szl)
8432 2013-11-03 Ondřej Bílka <neleai@seznam.cz>
8434 * elf/rtld.c: Remove unused NONTLS_INIT_TP.
8436 2013-11-01 Ondřej Bílka <neleai@seznam.cz>
8439 * malloc/malloc (malloc_info): Do not handle first bin as
8442 2013-11-01 Chris Leonard <cjl@sugarlabs.org>
8444 * locale/iso-639.def: Add Central Nahuatl (nhn).
8446 2013-11-01 Bruno Haible <bruno@clisp.org>
8449 * manual/math.texi (BSD Random): Specify range upper bound as
8452 2013-10-31 Chris Leonard <cjl@sugarlabs.org>
8454 * locale/iso-639.def: Add Meadow Mari (mhr).
8456 2013-10-31 Ondřej Bílka <neleai@seznam.cz>
8458 [BZ #14752], [BZ #15763]
8459 * sysdeps/unix/sysv/linux/shm_open.c (shm_open, shm_unlink):
8461 * rt/tst_shm.c: Add test for escaping directory.
8463 2013-10-31 Andreas Schwab <schwab@suse.de>
8466 * stdio-common/vfscanf.c (_IO_vfwscanf): Handle leading '0' not
8467 followed by 'x' as part of digit sequence.
8468 * stdio-common/tst-sscanf.c (double_tests2): New tests.
8470 2013-10-31 Marc-Antoine Perennou <Marc-Antoine@Perennou.com>
8473 * configure.ac: allow GNU Make 4.0 and greater.
8474 * configure: Regenerated.
8476 2013-10-30 Will Newton <will.newton@linaro.org>
8479 * malloc/hooks.c (memalign_check): Limit alignment to the
8480 maximum representable power of two.
8481 * malloc/malloc.c (__libc_memalign): Likewise.
8482 * malloc/tst-memalign.c (do_test): Add test for very
8483 large alignment values.
8484 * malloc/tst-posix_memalign.c (do_test): Likewise.
8486 2013-10-30 Ondřej Bílka <neleai@seznam.cz>
8489 * malloc/malloc.c (sysmalloc): Compute statistics atomically.
8490 (munmap_chunk): Likewise.
8491 (mremap_chunk): Likewise.
8493 2013-10-30 Ondřej Bílka <neleai@seznam.cz>
8496 * stdlib/div.c (div): Remove obsolete code.
8497 * stdlib/ldiv.c (ldiv): Likewise.
8498 * stdlib/lldiv.c (lldiv): Likewise.
8500 2013-10-30 Siddhesh Poyarekar <siddhesh@redhat.com>
8503 * nss/nss_files/files-XXX.c (get_contents_ret): New
8505 (get_contents): New function.
8506 (internal_getent): Use it. Expand size of LINEBUFLEN.
8508 2013-10-30 Mike Frysinger <vapier@gentoo.org>
8510 * configure.in: Moved to ...
8511 * configure.ac: ... here. Change reference to configure.in
8513 * sysdeps/arm/preconfigure.ac: ... here.
8514 configure.in to configure.ac.
8515 * sysdeps/gnu/configure.in: Moved to ...
8516 * sysdeps/gnu/configure.ac: ... here.
8517 * sysdeps/i386/configure.in: Moved to ...
8518 * sysdeps/i386/configure.ac: ... here.
8519 * sysdeps/ieee754/ldbl-opt/configure.in: Moved to ...
8520 * sysdeps/ieee754/ldbl-opt/configure.ac: ... here.
8521 * sysdeps/mach/configure.in: Moved to ...
8522 * sysdeps/mach/configure.ac: ... here.
8523 * sysdeps/mach/hurd/configure.in: Moved to ...
8524 * sysdeps/mach/hurd/configure.ac: ... here.
8525 * sysdeps/powerpc/configure.in: Moved to ...
8526 * sysdeps/powerpc/configure.ac: ... here.
8527 * sysdeps/powerpc/powerpc32/configure.in: Moved to ...
8528 * sysdeps/powerpc/powerpc32/configure.ac: ... here.
8529 * sysdeps/powerpc/powerpc64/configure.in: Moved to ...
8530 * sysdeps/powerpc/powerpc64/configure.ac: ... here.
8531 * sysdeps/s390/s390-32/configure.in: Moved to ...
8532 * sysdeps/s390/s390-32/configure.ac: ... here.
8533 * sysdeps/s390/s390-64/configure.in: Moved to ...
8534 * sysdeps/s390/s390-64/configure.ac: ... here.
8535 * sysdeps/sh/configure.in: Moved to ...
8536 * sysdeps/sh/configure.ac: ... here.
8537 * sysdeps/sparc/configure.in: Moved to ...
8538 * sysdeps/sparc/configure.ac: ... here.
8539 * sysdeps/unix/sysv/linux/configure.in: Moved to ...
8540 * sysdeps/unix/sysv/linux/configure.ac: ... here.
8541 * sysdeps/unix/sysv/linux/powerpc/configure.in: Moved to ...
8542 * sysdeps/unix/sysv/linux/powerpc/configure.ac: ... here.
8543 * sysdeps/x86_64/configure.in: Moved to ...
8544 * sysdeps/x86_64/configure.ac: ... here.
8545 * sysdeps/x86_64/preconfigure.in: Moved to ...
8546 * sysdeps/x86_64/preconfigure.ac: ... here.
8547 * aclocal.m4: Change reference to configure.in to configure.ac.
8548 * config.h.in: Likewise.
8549 * manual/install.texi: Likewise.
8550 * manual/maint.texi: Likewise.
8551 * Makefile: Likewise.
8552 * malloc/Makefile: Likewise.
8553 * nscd/Makefile: Likewise.
8554 * Makeconfig: Change reference to configure.in and
8555 preconfigure.in to configure.ac and preconfigure.ac
8557 * INSTALL: Regenerated.
8558 * configure: Likewise.
8559 * sysdeps/gnu/configure: Likewise.
8560 * sysdeps/i386/configure: Likewise.
8561 * sysdeps/ieee754/ldbl-opt/configure: Likewise.
8562 * sysdeps/mach/configure: Likewise.
8563 * sysdeps/mach/hurd/configure: Likewise.
8564 * sysdeps/powerpc/configure: Likewise.
8565 * sysdeps/powerpc/powerpc32/configure: Likewise.
8566 * sysdeps/powerpc/powerpc64/configure: Likewise.
8567 * sysdeps/s390/s390-32/configure: Likewise.
8568 * sysdeps/s390/s390-64/configure: Likewise.
8569 * sysdeps/sh/configure: Likewise.
8570 * sysdeps/sparc/configure: Likewise.
8571 * sysdeps/unix/sysv/linux/configure: Likewise.
8572 * sysdeps/unix/sysv/linux/powerpc/configure: Likewise.
8573 * sysdeps/x86_64/configure: Likewise.
8574 * sysdeps/x86_64/preconfigure: Likewise.
8576 2013-10-29 Andreas Schwab <schwab@suse.de>
8578 * stdio-common/Makefile (tst-swscanf-ENV): Define.
8580 2013-10-28 Siddhesh Poyarekar <siddhesh@redhat.com>
8582 * benchtests/pow-inputs: Add new inputs.
8584 * benchtests/exp-inputs: Add new inputs.
8586 * sysdeps/ieee754/dbl-64/sincos32.c (__sin32): Consolidate
8587 conditional check for return value.
8588 (__cos32): Likewise.
8590 2013-10-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8592 * sysdeps/powerpc/powerpc64/strcpy.S (strcpy): Add word load/store
8593 to provide a boost for large inputs with word alignment.
8594 * sysdeps/powerpc/powerpc64/stpcpy.S (__stpcpy): Rewrite
8595 implementation based on optimized PPC64 strcpy.
8596 * sysdeps/powerpc/powerpc64/power7/strcpy.S: New file: optimized
8597 strcpy for PPC64/POWER7 based on both doubleword and word load/store.
8598 * sysdeps/powerpc/powerpc64/power7/stpcpy.S: New file: optimized
8599 stpcpy for PPC64/POWER7 based on PPC64/POWER7 strcpy.
8601 2013-10-25 Ondřej Bílka <neleai@seznam.cz>
8604 * manual/socket.texi (Host Names): Fix gethostbyname_r example.
8606 2013-10-25 Ondřej Bílka <neleai@seznam.cz>
8609 * time/strptime_l.c (__strptime_internal): 14876 Read timezone entry.
8610 * time/tst-strptime.c (day_tests): Add testcase.
8612 2013-10-25 Ondřej Bílka <neleai@seznam.cz>
8615 * manual/pattern.texi: Acknowledge that fnmatch can fail.
8617 2013-10-25 Fabrice Bauzac <fbauzac@debian71.nce.amadeus.net>
8620 * manual/llio.texi (Memory-mapped I/O): Indicate that mmap returns
8621 MAP_FAILED on error.
8623 2013-10-25 Siddhesh Poyarekar <siddhesh@redhat.com>
8626 * sysdeps/posix/getaddrinfo.c (gethosts): Allocate tmpbuf on
8627 heap for large requests.
8629 2013-10-25 Aurelien Jarno <aurelien@aurel32.net>
8632 * sysdeps/posix/getaddrinfo.c (rfc3484_sort): do not assign native
8633 result if the result has no associated interface.
8634 * sysdeps/posix/getaddrinfo.c (getaddrinfo): correctly detect
8635 interface for all 127.X.Y.Z addresses.
8637 2013-10-24 Chris Leonard <cjl@sugarlabs.org>
8639 * locale/iso-639.def: Add Ligurian (lij)
8641 2013-10-21 Ondřej Bílka <neleai@seznam.cz>
8644 * sunrpc/rpc_main.c: Document rpcgen -5.
8646 2013-10-19 Michael Stahl <mstahl@redhat.com>
8648 * elf/rtld.c (do_preload): Print the reason why preloading failed.
8650 2013-10-19 Ondřej Bílka <neleai@seznam.cz>
8653 * posix/glob.c: Match only directories when trailing slash is present.
8654 * posix/tst-gnuglob.c (my_opendir): Do not open files.
8655 (main): Add testcase.
8657 2013-10-19 Ondřej Bílka <neleai@seznam.cz>
8660 * time/tzfile.c (__tzfile_read): Replace alloca with malloc.
8662 2013-10-18 Carlos O'Donell <carlos@redhat.com>
8664 * manual/crypt.texi (Cryptographic Functions): Using SunRPC and
8665 AUTH_DES will prevent FIPS 140-2 compliance. Add vindex for
8666 AUTH_DES and cindex for FIPS 140-2.
8667 (DES Encryption): Add cindex FIPS 46-3.
8669 * locale/locarchive.h (struct locarhandle): Add fname.
8670 * locale/programs/localedef.c (main): Pass ARGV[remaining]
8671 if an optional argument was specified to --list-archive,
8673 * locale/programs/locarchive.c (show_archive_content): Take new
8674 argument fname and pass it via ah.fname to open_archive.
8675 * locale/programs/localedef.h: Update decl.
8676 (open_archive): If AH->fname is non-null, open that file
8677 rather than the default file name, and don't ignore ENOENT.
8678 (create_archive): Set AH.fname to NULL.
8679 (delete_locales_from_archive): Likewise.
8680 (add_locales_to_archive): Likewise.
8681 * locale/programs/locfile.c (write_all_categories): Likewise.
8683 2013-10-18 Joseph Myers <joseph@codesourcery.com>
8684 Aldy Hernandez <aldyh@redhat.com>
8686 * sysdeps/powerpc/powerpc32/e500/nofpu/Makefile: New file.
8687 * sysdeps/powerpc/powerpc32/e500/nofpu/fclrexcpt.c: Likewise.
8688 * sysdeps/powerpc/powerpc32/e500/nofpu/fe_note_change.c: Likewise.
8689 * sysdeps/powerpc/powerpc32/e500/nofpu/fedisblxcpt.c: Likewise.
8690 * sysdeps/powerpc/powerpc32/e500/nofpu/feenablxcpt.c: Likewise.
8691 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c: Likewise.
8692 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetexcept.c: Likewise.
8693 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c: Likewise.
8694 * sysdeps/powerpc/powerpc32/e500/nofpu/feholdexcpt.c: Likewise.
8695 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_const.c: Likewise.
8696 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h: Likewise.
8697 * sysdeps/powerpc/powerpc32/e500/nofpu/fesetenv.c: Likewise.
8698 * sysdeps/powerpc/powerpc32/e500/nofpu/fesetround.c: Likewise.
8699 * sysdeps/powerpc/powerpc32/e500/nofpu/feupdateenv.c: Likewise.
8700 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_prctl.c:
8702 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_spe.c:
8704 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_prctl.c:
8706 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_spe.c:
8708 * sysdeps/powerpc/powerpc32/e500/nofpu/fgetexcptflg.c: Likewise.
8709 * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c:
8711 * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcpt.c: Likewise.
8712 * sysdeps/powerpc/powerpc32/e500/nofpu/fsetexcptflg.c: Likewise.
8713 * sysdeps/powerpc/powerpc32/e500/nofpu/ftestexcept.c: Likewise.
8714 * sysdeps/powerpc/powerpc32/e500/nofpu/get-rounding-mode.h:
8716 * sysdeps/powerpc/powerpc32/e500/nofpu/s_fabsf.S: Likewise.
8717 * sysdeps/powerpc/powerpc32/e500/nofpu/spe-raise.c: Likewise.
8718 * sysdeps/powerpc/preconfigure: Likewise.
8719 * sysdeps/unix/sysv/linux/powerpc/powerpc32/e500/nofpu/Implies:
8721 * sysdeps/powerpc/nofpu/soft-supp.h [__NO_FPRS__ && !_SOFT_FLOAT]:
8722 Replace contents of file by #include of <fenv_libc.h>.
8723 * sysdeps/powerpc/soft-fp/sfp-machine.h
8724 [__NO_FPRS__ && !_SOFT_FLOAT]: Include <fenv_libc.h>, <sysdep.h>
8726 [__NO_FPRS__ && !_SOFT_FLOAT] (__feraiseexcept_soft): Declare.
8727 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INEXACT): Define macro.
8728 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INVALID): Likewise.
8729 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_DIVZERO): Likewise.
8730 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_UNDERFLOW): Likewise.
8731 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_OVERFLOW): Likewise.
8732 [__NO_FPRS__ && !_SOFT_FLOAT] (_FP_DECL_EX): Likewise.
8733 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_ROUNDMODE): Likewise.
8734 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_EXCEPTIONS): Likewise.
8735 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_HANDLE_EXCEPTIONS): Likewise.
8736 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_ROUNDMODE): Likewise.
8737 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_TRAPPING_EXCEPTIONS): Likewise.
8738 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
8739 Allow copysignl PLT reference to be missing.
8741 2013-10-18 Richard Sandiford <richard@codesourcery.com>
8742 Joseph Myers <joseph@codesourcery.com
8745 * locale/programs/ld-collate.c (new_element): Handle <U0000> as a
8747 (add_to_tablewc): Assert sequence of wide characters is nonempty.
8749 2013-10-18 Siddhesh Poyarekar <siddhesh@redhat.com>
8751 * elf/tst-tls-dlinfo.c: Don't include tls.h.
8752 * elf/tst-tls1.c: Likewise.
8753 * elf/tst-tls10.h: Likewise.
8754 * elf/tst-tls14.c: Likewise.
8755 * elf/tst-tls2.c: Likewise.
8756 * elf/tst-tls3.c: Likewise.
8757 * elf/tst-tls4.c: Likewise.
8758 * elf/tst-tls5.c: Likewise.
8759 * elf/tst-tls6.c: Likewise.
8760 * elf/tst-tls7.c: Likewise.
8761 * elf/tst-tls8.c: Likewise.
8762 * elf/tst-tls9.c: Likewise.
8763 * elf/tst-tlsmod1.c: Likewise.
8764 * elf/tst-tlsmod13.c: Likewise.
8765 * elf/tst-tlsmod13a.c: Likewise.
8766 * elf/tst-tlsmod14a.c: Likewise.
8767 * elf/tst-tlsmod16a.c: Likewise.
8768 * elf/tst-tlsmod16b.c: Likewise.
8769 * elf/tst-tlsmod2.c: Likewise.
8770 * elf/tst-tlsmod3.c: Likewise.
8771 * elf/tst-tlsmod4.c: Likewise.
8772 * elf/tst-tlsmod5.c: Likewise.
8773 * elf/tst-tlsmod6.c: Likewise.
8775 2013-10-18 Ondřej Bílka <neleai@seznam.cz>
8778 * malloc/malloc.c: remove checks for statistics.
8780 2013-10-17 Ondřej Bílka <neleai@seznam.cz>
8783 * inet/inet_net.c (inet_network): Detect additional invalid strings.
8784 * inet/tst-network.c: Add testcase.
8786 2013-10-17 Andreas Schwab <schwab@suse.de>
8789 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't use gethostbyaddr
8790 to determine canonical name.
8792 2013-10-17 Ondřej Bílka <neleai@seznam.cz>
8794 * sysdeps/ieee754/dbl-64/dbl2mpn.c: Fix formatting.
8795 * sysdeps/ieee754/dbl-64/dla.h: Likewise.
8796 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
8797 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
8798 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
8799 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
8800 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
8801 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
8802 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
8803 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
8804 * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
8805 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
8806 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
8807 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
8808 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
8809 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
8810 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
8811 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
8812 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
8813 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
8814 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
8815 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
8816 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
8817 * sysdeps/ieee754/dbl-64/MathLib.h: Likewise.
8818 * sysdeps/ieee754/dbl-64/mpa-arch.h: Likewise.
8819 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
8820 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
8821 * sysdeps/ieee754/dbl-64/mpn2dbl.c: Likewise.
8822 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
8823 * sysdeps/ieee754/dbl-64/mydefs.h: Likewise.
8824 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
8825 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
8826 * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
8827 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
8828 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
8829 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
8830 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
8831 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
8832 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
8833 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
8834 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
8835 * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
8836 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
8837 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
8838 * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
8839 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
8840 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
8841 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
8842 * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
8843 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
8844 * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
8845 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
8846 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
8847 * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
8848 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
8849 * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
8850 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
8851 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
8853 2013-10-17 Joseph Myers <joseph@codesourcery.com>
8856 * soft-fp/op-common.h (FP_EXTEND): When input is a signaling NaN,
8857 make result into a quiet NaN.
8859 2013-10-16 Joseph Myers <joseph@codesourcery.com>
8861 * soft-fp/adddf3.c: Fix horizontal whitespace.
8862 * soft-fp/addsf3.c: Likewise.
8863 * soft-fp/addtf3.c: Likewise.
8864 * soft-fp/divdf3.c: Likewise.
8865 * soft-fp/divsf3.c: Likewise.
8866 * soft-fp/divtf3.c: Likewise.
8867 * soft-fp/double.h: Likewise.
8868 * soft-fp/eqdf2.c: Likewise.
8869 * soft-fp/eqsf2.c: Likewise.
8870 * soft-fp/eqtf2.c: Likewise.
8871 * soft-fp/extenddftf2.c: Likewise.
8872 * soft-fp/extended.h: Likewise.
8873 * soft-fp/extendsfdf2.c: Likewise.
8874 * soft-fp/extendsftf2.c: Likewise.
8875 * soft-fp/extendxftf2.c: Likewise.
8876 * soft-fp/fixdfdi.c: Likewise.
8877 * soft-fp/fixdfsi.c: Likewise.
8878 * soft-fp/fixdfti.c: Likewise.
8879 * soft-fp/fixsfdi.c: Likewise.
8880 * soft-fp/fixsfsi.c: Likewise.
8881 * soft-fp/fixsfti.c: Likewise.
8882 * soft-fp/fixtfdi.c: Likewise.
8883 * soft-fp/fixtfsi.c: Likewise.
8884 * soft-fp/fixtfti.c: Likewise.
8885 * soft-fp/fixunsdfdi.c: Likewise.
8886 * soft-fp/fixunsdfsi.c: Likewise.
8887 * soft-fp/fixunsdfti.c: Likewise.
8888 * soft-fp/fixunssfdi.c: Likewise.
8889 * soft-fp/fixunssfsi.c: Likewise.
8890 * soft-fp/fixunssfti.c: Likewise.
8891 * soft-fp/fixunstfdi.c: Likewise.
8892 * soft-fp/fixunstfsi.c: Likewise.
8893 * soft-fp/fixunstfti.c: Likewise.
8894 * soft-fp/floatdidf.c: Likewise.
8895 * soft-fp/floatdisf.c: Likewise.
8896 * soft-fp/floatditf.c: Likewise.
8897 * soft-fp/floatsidf.c: Likewise.
8898 * soft-fp/floatsisf.c: Likewise.
8899 * soft-fp/floatsitf.c: Likewise.
8900 * soft-fp/floattidf.c: Likewise.
8901 * soft-fp/floattisf.c: Likewise.
8902 * soft-fp/floattitf.c: Likewise.
8903 * soft-fp/floatundidf.c: Likewise.
8904 * soft-fp/floatundisf.c: Likewise.
8905 * soft-fp/floatunditf.c: Likewise.
8906 * soft-fp/floatunsidf.c: Likewise.
8907 * soft-fp/floatunsisf.c: Likewise.
8908 * soft-fp/floatunsitf.c: Likewise.
8909 * soft-fp/floatuntidf.c: Likewise.
8910 * soft-fp/floatuntisf.c: Likewise.
8911 * soft-fp/floatuntitf.c: Likewise.
8912 * soft-fp/fmadf4.c: Likewise.
8913 * soft-fp/fmasf4.c: Likewise.
8914 * soft-fp/fmatf4.c: Likewise.
8915 * soft-fp/gedf2.c: Likewise.
8916 * soft-fp/gesf2.c: Likewise.
8917 * soft-fp/getf2.c: Likewise.
8918 * soft-fp/ledf2.c: Likewise.
8919 * soft-fp/lesf2.c: Likewise.
8920 * soft-fp/letf2.c: Likewise.
8921 * soft-fp/muldf3.c: Likewise.
8922 * soft-fp/mulsf3.c: Likewise.
8923 * soft-fp/multf3.c: Likewise.
8924 * soft-fp/negdf2.c: Likewise.
8925 * soft-fp/negsf2.c: Likewise.
8926 * soft-fp/negtf2.c: Likewise.
8927 * soft-fp/op-1.h: Likewise.
8928 * soft-fp/op-2.h: Likewise.
8929 * soft-fp/op-4.h: Likewise.
8930 * soft-fp/op-8.h: Likewise.
8931 * soft-fp/op-common.h: Likewise.
8932 * soft-fp/quad.h: Likewise.
8933 * soft-fp/single.h: Likewise.
8934 * soft-fp/soft-fp.h: Likewise.
8935 * soft-fp/sqrtdf2.c: Likewise.
8936 * soft-fp/sqrtsf2.c: Likewise.
8937 * soft-fp/sqrttf2.c: Likewise.
8938 * soft-fp/subdf3.c: Likewise.
8939 * soft-fp/subsf3.c: Likewise.
8940 * soft-fp/subtf3.c: Likewise.
8941 * soft-fp/truncdfsf2.c: Likewise.
8942 * soft-fp/trunctfdf2.c: Likewise.
8943 * soft-fp/trunctfsf2.c: Likewise.
8944 * soft-fp/trunctfxf2.c: Likewise.
8945 * soft-fp/unorddf2.c: Likewise.
8946 * soft-fp/unordsf2.c: Likewise.
8947 * soft-fp/unordtf2.c: Likewise.
8949 2013-10-15 Joseph Myers <joseph@codesourcery.com>
8951 * soft-fp/op-2.h (_FP_DIV_MEAT_2_gmp): Remove macro.
8952 * soft-fp/soft-fp.h (FP_UNSET_EXCEPTION): Likewise.
8954 2013-10-15 Ondřej Bílka <neleai@seznam.cz>
8956 * elf/dl-libc.c: Clear initfini list after freeing.
8958 2013-10-14 Joseph Myers <joseph@codesourcery.com>
8960 * soft-fp/adddf3.c: Fix vertical whitespace and indentation.
8961 * soft-fp/addsf3.c: Likewise.
8962 * soft-fp/addtf3.c: Likewise.
8963 * soft-fp/divdf3.c: Likewise.
8964 * soft-fp/divsf3.c: Likewise.
8965 * soft-fp/divtf3.c: Likewise.
8966 * soft-fp/double.h: Likewise.
8967 * soft-fp/eqdf2.c: Likewise.
8968 * soft-fp/eqsf2.c: Likewise.
8969 * soft-fp/eqtf2.c: Likewise.
8970 * soft-fp/extenddftf2.c: Likewise.
8971 * soft-fp/extended.h: Likewise.
8972 * soft-fp/extendsfdf2.c: Likewise.
8973 * soft-fp/extendsftf2.c: Likewise.
8974 * soft-fp/extendxftf2.c: Likewise.
8975 * soft-fp/fixdfdi.c: Likewise.
8976 * soft-fp/fixdfsi.c: Likewise.
8977 * soft-fp/fixdfti.c: Likewise.
8978 * soft-fp/fixsfdi.c: Likewise.
8979 * soft-fp/fixsfsi.c: Likewise.
8980 * soft-fp/fixsfti.c: Likewise.
8981 * soft-fp/fixtfdi.c: Likewise.
8982 * soft-fp/fixtfsi.c: Likewise.
8983 * soft-fp/fixtfti.c: Likewise.
8984 * soft-fp/fixunsdfdi.c: Likewise.
8985 * soft-fp/fixunsdfsi.c: Likewise.
8986 * soft-fp/fixunsdfti.c: Likewise.
8987 * soft-fp/fixunssfdi.c: Likewise.
8988 * soft-fp/fixunssfsi.c: Likewise.
8989 * soft-fp/fixunssfti.c: Likewise.
8990 * soft-fp/fixunstfdi.c: Likewise.
8991 * soft-fp/fixunstfsi.c: Likewise.
8992 * soft-fp/fixunstfti.c: Likewise.
8993 * soft-fp/floatdidf.c: Likewise.
8994 * soft-fp/floatdisf.c: Likewise.
8995 * soft-fp/floatditf.c: Likewise.
8996 * soft-fp/floatsidf.c: Likewise.
8997 * soft-fp/floatsisf.c: Likewise.
8998 * soft-fp/floatsitf.c: Likewise.
8999 * soft-fp/floattidf.c: Likewise.
9000 * soft-fp/floattisf.c: Likewise.
9001 * soft-fp/floattitf.c: Likewise.
9002 * soft-fp/floatundidf.c: Likewise.
9003 * soft-fp/floatundisf.c: Likewise.
9004 * soft-fp/floatunsidf.c: Likewise.
9005 * soft-fp/floatunsisf.c: Likewise.
9006 * soft-fp/floatuntidf.c: Likewise.
9007 * soft-fp/floatuntisf.c: Likewise.
9008 * soft-fp/floatuntitf.c: Likewise.
9009 * soft-fp/fmadf4.c: Likewise.
9010 * soft-fp/fmasf4.c: Likewise.
9011 * soft-fp/fmatf4.c: Likewise.
9012 * soft-fp/gedf2.c: Likewise.
9013 * soft-fp/gesf2.c: Likewise.
9014 * soft-fp/getf2.c: Likewise.
9015 * soft-fp/ledf2.c: Likewise.
9016 * soft-fp/lesf2.c: Likewise.
9017 * soft-fp/letf2.c: Likewise.
9018 * soft-fp/muldf3.c: Likewise.
9019 * soft-fp/mulsf3.c: Likewise.
9020 * soft-fp/multf3.c: Likewise.
9021 * soft-fp/negdf2.c: Likewise.
9022 * soft-fp/negsf2.c: Likewise.
9023 * soft-fp/negtf2.c: Likewise.
9024 * soft-fp/op-1.h: Likewise.
9025 * soft-fp/op-2.h: Likewise.
9026 * soft-fp/op-4.h: Likewise.
9027 * soft-fp/op-8.h: Likewise.
9028 * soft-fp/op-common.h: Likewise.
9029 * soft-fp/quad.h: Likewise.
9030 * soft-fp/single.h: Likewise.
9031 * soft-fp/soft-fp.h: Likewise.
9032 * soft-fp/sqrtdf2.c: Likewise.
9033 * soft-fp/sqrtsf2.c: Likewise.
9034 * soft-fp/sqrttf2.c: Likewise.
9035 * soft-fp/subdf3.c: Likewise.
9036 * soft-fp/subsf3.c: Likewise.
9037 * soft-fp/subtf3.c: Likewise.
9038 * soft-fp/truncdfsf2.c: Likewise.
9039 * soft-fp/trunctfdf2.c: Likewise.
9040 * soft-fp/trunctfsf2.c: Likewise.
9041 * soft-fp/trunctfxf2.c: Likewise.
9042 * soft-fp/unorddf2.c: Likewise.
9043 * soft-fp/unordsf2.c: Likewise.
9044 * soft-fp/unordtf2.c: Likewise.
9046 2013-10-14 Ondřej Bílka <neleai@seznam.cz>
9049 * misc/error.c (error_tail): Fix possible buffer overflow.
9051 2013-10-14 Aurelien Jarno <aurelien@aurel32.net>
9054 * res_send.c(__libc_res_nsend): Correctly copy the nameserver
9057 2013-10-14 P. J. McDermott <pj@pehjota.net>
9060 * elf/ldd.bash.in (try_trace): New function. Delete previous code
9061 testing pipefail option.
9063 2013-10-12 Joseph Myers <joseph@codesourcery.com>
9065 * soft-fp/double.h: Indent preprocessor directives inside #if.
9066 * soft-fp/extended.h: Likewise.
9067 * soft-fp/op-2.h: Likewise.
9068 * soft-fp/op-4.h: Likewise.
9069 * soft-fp/op-common.h: Likewise.
9070 * soft-fp/quad.h: Likewise.
9071 * soft-fp/single.h: Likewise.
9072 * soft-fp/soft-fp.h: Likewise.
9074 2013-10-12 Yuri Chornoivan <yurchor@ukr.net>
9076 * iconv/iconv_prog.c: Fix typos.
9077 * stdio-common/psiginfo-data.h: Likewise.
9079 2013-10-12 Reuben Thomas <rrt@sc3d.org>
9082 * locale/setlocale.c: Fix typo.
9084 2013-10-12 Joseph Myers <joseph@codesourcery.com>
9087 * soft-fp/unorddf2.c (__unorddf2): Raise "invalid" exception for
9088 signaling NaN arguments.
9089 * soft-fp/unordsf2.c (__unordsf2): Likewise.
9090 * soft-fp/unordtf2.c (__unordtf2): Likewise.
9093 * soft-fp/gedf2.c (__gedf2): Raise "invalid" exception for all
9095 * soft-fp/gesf2.c (__gesf2): Likewise.
9096 * soft-fp/getf2.c (__getf2): Likewise.
9097 * soft-fp/ledf2.c (__ledf2): Likewise.
9098 * soft-fp/lesf2.c (__lesf2): Likewise.
9099 * soft-fp/letf2.c (__letf2): Likewise.
9101 * soft-fp/eqdf2.c (__eqdf2): Use FP_INIT_EXCEPTIONS.
9102 * soft-fp/eqsf2.c (__eqsf2): Likewise.
9103 * soft-fp/eqtf2.c (__eqtf2): Likewise.
9104 * soft-fp/fixdfdi.c (__fixdfdi): Likewise.
9105 * soft-fp/fixdfsi.c (__fixdfsi): Likewise.
9106 * soft-fp/fixdfti.c (__fixdfti): Likewise.
9107 * soft-fp/fixsfdi.c (__fixsfdi): Likewise.
9108 * soft-fp/fixsfsi.c (__fixsfsi): Likewise.
9109 * soft-fp/fixsfti.c (__fixsfti): Likewise.
9110 * soft-fp/fixtfdi.c (__fixtfdi): Likewise.
9111 * soft-fp/fixtfsi.c (__fixtfsi): Likewise.
9112 * soft-fp/fixtfti.c (__fixtfti): Likewise.
9113 * soft-fp/fixunsdfdi.c (__fixunsdfdi): Likewise.
9114 * soft-fp/fixunsdfsi.c (__fixunsdfsi): Likewise.
9115 * soft-fp/fixunsdfti.c (__fixunsdfti): Likewise.
9116 * soft-fp/fixunssfdi.c (__fixunssfdi): Likewise.
9117 * soft-fp/fixunssfsi.c (__fixunssfsi): Likewise.
9118 * soft-fp/fixunssfti.c (__fixunssfti): Likewise.
9119 * soft-fp/fixunstfdi.c (__fixunstfdi): Likewise.
9120 * soft-fp/fixunstfsi.c (__fixunstfsi): Likewise.
9121 * soft-fp/fixunstfti.c (__fixunstfti): Likewise.
9122 * soft-fp/floatdidf.c (__floatdidf): Use FP_INIT_ROUNDMODE.
9123 * soft-fp/floatdisf.c (__floatdisf): Likewise.
9124 * soft-fp/floatsisf.c (__floatsisf): Likewise.
9125 * soft-fp/floattidf.c (__floattidf): Likewise.
9126 * soft-fp/floattisf.c (__floattisf): Likewise.
9127 * soft-fp/floattitf.c (__floattitf): Likewise.
9128 * soft-fp/floatundidf.c (__floatundidf): Likewise.
9129 * soft-fp/floatundisf.c (__floatundisf): Likewise.
9130 * soft-fp/floatunsisf.c (__floatunsisf): Likewise.
9131 * soft-fp/floatuntidf.c (__floatuntidf): Likewise.
9132 * soft-fp/floatuntisf.c (__floatuntisf): Likewise.
9133 * soft-fp/floatuntitf.c (__floatuntitf): Likewise.
9134 * soft-fp/gedf2.c (__gedf2): Use FP_INIT_EXCEPTIONS.
9135 * soft-fp/gesf2.c (__gesf2): Likewise.
9136 * soft-fp/getf2.c (__getf2): Likewise.
9137 * soft-fp/ledf2.c (__ledf2): Likewise.
9138 * soft-fp/lesf2.c (__lesf2): Likewise.
9139 * soft-fp/letf2.c (__letf2): Likewise.
9141 * soft-fp/soft-fp.h [FP_NO_EXCEPTIONS] (FP_SET_EXCEPTION):
9142 Undefine and redefine.
9143 [FP_NO_EXCEPTIONS] (FP_CUR_EXCEPTIONS): Likewise.
9144 [FP_NO_EXCEPTIONS] (FP_TRAPPING_EXCEPTIONS): Likewise.
9145 [FP_NO_EXCEPTIONS] (FP_ROUNDMODE): Likewise.
9146 * soft-fp/floatditf.c (FP_NO_EXCEPTIONS): Define macro.
9147 (__floatditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
9148 * soft-fp/floatsidf.c (FP_NO_EXCEPTIONS): Define macro.
9149 (__floatsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
9150 * soft-fp/floatsitf.c (FP_NO_EXCEPTIONS): Define macro.
9151 (__floatsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
9152 * soft-fp/floatunditf.c (FP_NO_EXCEPTIONS): Define macro.
9153 (__floatunditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
9154 * soft-fp/floatunsidf.c (FP_NO_EXCEPTIONS): Define macro.
9155 (__floatunsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
9156 * soft-fp/floatunsitf.c (FP_NO_EXCEPTIONS): Define macro.
9157 (__floatunsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
9160 * soft-fp/op-2.h (_FP_DIV_MEAT_2_udiv): Shift numerator right
9161 without decrementing exponent if mantissa >= that for the
9163 (_FP_DIV_MEAT_2_gmp): Test numerator mantissa >= that for the
9164 denominator, not >. Decrement exponent in < case instead of
9165 incrementing in >= case.
9166 * soft-fp/op-4.h (_FP_DIV_MEAT_4_udiv): Shift numerator right
9167 without decrementing exponent if mantissa >= that for the
9170 * soft-fp/op-common.h (_FP_TO_INT): Reverse test of sign for
9171 computing saturated result for unsigned overflow.
9173 2013-10-11 Siddhesh Poyarekar <siddhesh@redhat.com>
9174 Jeff Law <law@redhat.com>
9176 * sysdeps/ieee754/dbl-64/e_atan2.c: Include stap-probe.h.
9177 (atan2Mp): Add systemtap probe marker.
9178 * sysdeps/ieee754/dbl-64/e_log.c: include stap-probe.h.
9179 (__ieee754_log): Add systemtap probe marker.
9180 * sysdeps/ieee754/dbl-64/s_atan.c: Include stap-probe.h.
9181 (atanMp): Add systemtap probe marker.
9182 * sysdeps/ieee754/dbl-64/s_tan.c: Include stap-probe.h.
9183 (tanMp): Add systemtap probe marker.
9184 * sysdeps/ieee754/dbl-64/slowexp.c: Include stap-probe.h.
9185 (__slowexp): Add systemtap probe marker.
9186 * sysdeps/ieee754/dbl-64/slowpow.c: Include stap-probe.h.
9187 (__slowpow): Add systemtap probe marker.
9188 * manual/probes.texi: Document probes.
9190 2013-10-11 Eric Biggers <ebiggers3@gmail.com>
9193 * libio/fileops.c (_IO_new_file_write): Return count of bytes
9195 (_IO_new_file_xsputn): Don't return EOF if nothing has been
9197 * libio/iofwrite.c (_IO_fwrite): Return count if bytes were
9198 written to buffer but not flushed.
9199 * libio/iofwrite_u.c: Likewise.
9200 * libio/iopadn.c: Return bytes returned even if EOF was
9202 * libio/iowpadn.c: Likewise.
9203 * stdio-common/vfprintf.c [COMPILE_WPRINTF] (PAD): Return error
9204 if _IO_padn does not write the whole buffer.
9205 [!COMPILE_WPRINTF] (PAD): Likewise.
9207 2013-10-10 David S. Miller <davem@davemloft.net>
9209 * sysdeps/posix/dirstream.h (struct __dirstream): Fix alignment of
9212 2013-10-10 Joseph Myers <joseph@codesourcery.com>
9214 * soft-fp/extendxftf2.c: Use copyright year range. Use URL
9215 instead of FSF address.
9216 * soft-fp/fixdfti.c: Likewise.
9217 * soft-fp/fixsfti.c: Likewise.
9218 * soft-fp/fixtfti.c: Likewise.
9219 * soft-fp/fixunsdfti.c: Likewise.
9220 * soft-fp/fixunssfti.c: Likewise.
9221 * soft-fp/fixunstfti.c: Likewise.
9222 * soft-fp/floattidf.c: Likewise.
9223 * soft-fp/floattisf.c: Likewise.
9224 * soft-fp/floattitf.c: Likewise.
9225 * soft-fp/floatuntidf.c: Likewise.
9226 * soft-fp/floatuntisf.c: Likewise.
9227 * soft-fp/floatuntitf.c: Likewise.
9228 * soft-fp/trunctfxf2.c: Likewise.
9230 * soft-fp/extendxftf2.c: New file. Copied from libgcc.
9231 * soft-fp/fixdfti.c: Likewise.
9232 * soft-fp/fixsfti.c: Likewise.
9233 * soft-fp/fixtfti.c: Likewise.
9234 * soft-fp/fixunsdfti.c: Likewise.
9235 * soft-fp/fixunssfti.c: Likewise.
9236 * soft-fp/fixunstfti.c: Likewise.
9237 * soft-fp/floattidf.c: Likewise.
9238 * soft-fp/floattisf.c: Likewise.
9239 * soft-fp/floattitf.c: Likewise.
9240 * soft-fp/floatuntidf.c: Likewise.
9241 * soft-fp/floatuntisf.c: Likewise.
9242 * soft-fp/floatuntitf.c: Likewise.
9243 * soft-fp/trunctfxf2.c: Likewise.
9245 2013-10-10 David S. Miller <davem@davemloft.net>
9247 * sysdeps/sparc/fpu/libm-test-ulps: Update.
9249 2013-10-10 Joseph Myers <joseph@codsourcery.com>
9251 * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
9252 (CFLAGS-e_hypotl.c): Add -fno-builtin-fabsl.
9253 [$(subdir) = math] (CFLAGS-w_acosl.c): Likewise.
9254 [$(subdir) = math] (CFLAGS-w_asinl.c): Likewise.
9255 [$(subdir) = math] (CFLAGS-w_atanhl.c): Likewise.
9256 [$(subdir) = math] (CFLAGS-w_j0l.c): Likewise.
9257 [$(subdir) = math] (CFLAGS-w_j1l.c): Likewise.
9259 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Check
9260 for NaNs before doing comparisons on argument.
9261 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl):
9264 2013-10-10 Will Newton <will.newton@linaro.org>
9266 * malloc/hooks.c (memalign_check): Ensure the value of bytes
9267 passed to _int_memalign does not overflow.
9269 2013-10-10 Torvald Riegel <triegel@redhat.com>
9271 * scripts/bench.pl: Add include-sources directive.
9272 * benchtests/README: Update documentation.
9274 2013-10-10 Joseph Myers <joseph@codesourcery.com>
9276 * soft-fp/soft-fp.h (FP_INIT_EXCEPTIONS): New macro.
9277 * soft-fp/extenddftf2.c (__extenddftf2): Use FP_INIT_EXCEPTIONS
9278 instead of FP_INIT_ROUNDMODE.
9279 * soft-fp/extendsfdf2.c (__extendsfdf2): Likewise.
9280 * soft-fp/extendsftf2.c (__extendsftf2): Likewise.
9283 * soft-fp/op-common.h (_FP_NEG): Document input as raw. Do not
9284 copy class of input value.
9285 * soft-fp/negdf2.c (__negdf2): Use raw unpacking and packing. Do
9286 not handle exceptions.
9287 * soft-fp/negsf2.c (__negsf2): Likewise.
9288 * soft-fp/negtf2.c (__negtf2): Likewise.
9289 * sysdeps/sparc/sparc32/soft-fp/q_neg.c (_Q_neg): Likewise.
9291 2013-10-09 Joseph Myers <joseph@codesourcery.com>
9293 * soft-fp/op-4.h (_FP_FRAC_DISASSEMBLE_4): Remove trailing
9294 semicolon. From Linux kernel.
9296 2013-10-09 Adam Buchbinder <adam.buchbinder@gmail.com>
9298 * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Fix typo in comment.
9300 2013-10-08 Yogesh Chaudhari <mr.yogesh@gmail.com>
9303 * manual/socket.texi: Added statement about buffer
9304 for gethostbyname2_r.
9306 2013-10-08 Ondřej Bílka <neleai@seznam.cz>
9308 * sysdeps/x86_64/memset.S (ALIGN): Macro removed.
9309 Use .p2align directive instead, throughout.
9310 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
9311 * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Likewise.
9312 * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: Likewise.
9313 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
9314 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
9315 * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: Likewise.
9316 * sysdeps/x86_64/strchr.S: Likewise.
9317 * sysdeps/x86_64/strrchr.S: Likewise.
9319 2013-10-08 Siddhesh Poyarekar <siddhesh@redhat.com>
9321 * sysdeps/ieee754/dbl-64/e_pow.c: Fix code formatting.
9323 * sysdeps/ieee754/dbl-64/e_exp.c: Fix code formatting.
9325 * sysdeps/generic/math_private.h (__mpsin1): Remove
9327 (__mpcos1): Likewise.
9328 (__mpsin): New argument __range_reduce.
9329 (__mpcos): Likewise.
9330 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
9331 (slow): Use __mpsin and __mpcos.
9338 (bsloww1): Likewise.
9339 (bsloww2): Likewise.
9342 (csloww1): Likewise.
9343 (csloww2): Likewise.
9344 * sysdeps/ieee754/dbl-64/sincos32.c (__mpsin): Add argument
9345 range_reduce. Merge in __mpsin1.
9346 (__mpcos): Likewise.
9348 (__mpcos1): Likewise.
9350 2013-10-07 Joseph Myers <joseph@codesourcery.com>
9352 * locale/loadlocale.c (_nl_intern_locale_data): Use
9354 * locale/programs/3level.h (CONCAT(add_locale_,TABLE)): Use
9355 LOCFILE_ALIGN_UP and LOCFILE_ALIGN.
9356 * locale/programs/ld-collate.c (obstack_int32_grow): Assert that
9357 obstack data is appropriately aligned.
9358 (obstack_int32_grow_fast): Likewise.
9359 * locale/programs/ld-ctype.c (ctype_output): Use LOCFILE_ALIGN.
9360 * locale/programs/locfile.c (add_locale_uint32): Likewise.
9361 (add_locale_uint32_array): Likewise.
9363 2013-10-07 Siddhesh Poyarekar <siddhesh@redhat.com>
9365 * benchtests/Makefile: Remove ARGLIST and RET variables.
9366 ($(objpfx)bench-%.c): Pass only function name to the script.
9367 * benchtests/README: Update documentation.
9368 * benchtests/acos-inputs: Add new directives.
9369 * benchtests/acosh-inputs: Likewise.
9370 * benchtests/asin-inputs: Likewise.
9371 * benchtests/asinh-inputs: Likewise.
9372 * benchtests/atan-inputs: Likewise.
9373 * benchtests/atanh-inputs: Likewise.
9374 * benchtests/cos-inputs: Likewise.
9375 * benchtests/cosh-inputs: Likewise.
9376 * benchtests/exp-inputs: Likewise.
9377 * benchtests/log-inputs: Likewise.
9378 * benchtests/pow-inputs: Likewise.
9379 * benchtests/rint-inputs: Likewise.
9380 * benchtests/sin-inputs: Likewise.
9381 * benchtests/sinh-inputs: Likewise.
9382 * benchtests/tan-inputs: Likewise.
9383 * benchtests/tanh-inputs: Likewise.
9384 * scripts/bench.pl: Add support for new directives.
9386 2013-10-07 Alan Modra <amodra@gmail.com>
9388 * README: Fix careless merge.
9390 2013-10-05 Alan Modra <amodra@gmail.com>
9392 * NEWS: Mention powerpc64le support and bugs fixed.
9393 * README: Both big-endian and little-endian powerpc64 supported.
9395 2013-10-04 Samuel Thibault <samuel.thibault@ens-lyon.org>
9397 * sysdeps/mach/hurd/fork.c (_hurd_atfork_prepare_hook)
9398 (_hurd_atfork_child_hook, _hurd_atfork_parent_hook): New hooks.
9399 (__fork): Call _hurd_atfork_prepare_hook hooks before all locking, call
9400 _hurd_atfork_parent_hook or _hurd_atfork_child_hook after all unlocking.
9402 2013-10-04 Ryan S. Arnold <ryan.arnold@linaro.org>
9404 * misc/swapon.c (swapon): Update definition, adding FLAGS parameter to
9407 2013-10-04 Joseph Myers <joseph@codesourcery.com>
9409 * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = yes] (+cflags):
9410 Move -mhard-float appending from
9411 ports/sysdeps/powerpc/powerpc32/Makefile.
9412 [$(with-fp) = yes] (ASFLAGS): Likewise.
9413 [$(with-fp) = yes] (sysdep-LDFLAGS): Likewise.
9414 * sysdeps/powerpc/nofpu: Move directory from
9415 ports/sysdeps/powerpc/nofpu.
9416 * sysdeps/powerpc/soft-fp: Move directory from
9417 ports/sysdeps/powerpc/soft-fp.
9418 * sysdeps/powerpc/powerpc32/405: Move directory from
9419 ports/sysdeps/powerpc/powerpc32/405.
9420 * sysdeps/powerpc/powerpc32/440: Move directory from
9421 ports/sysdeps/powerpc/powerpc32/440.
9422 * sysdeps/powerpc/powerpc32/464: Move directory from
9423 ports/sysdeps/powerpc/powerpc32/464.
9424 * sysdeps/powerpc/powerpc32/476: Move directory from
9425 ports/sysdeps/powerpc/powerpc32/476.
9426 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu: Move directory
9427 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu.
9428 * sysdeps/unix/sysv/linux/powerpc/powerpc32/405: Move directory
9429 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/405.
9430 * sysdeps/unix/sysv/linux/powerpc/powerpc32/440: Move directory
9431 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/440.
9432 * sysdeps/unix/sysv/linux/powerpc/powerpc32/464: Move directory
9433 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/464.
9434 * sysdeps/unix/sysv/linux/powerpc/powerpc32/476: Move directory
9435 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/476.
9436 * README: Update for powerpc-*-linux-gnu software floating point
9439 * sysdeps/unix/sysv/linux/configure.in (powerpc/powerpc32): Change
9440 case to powerpc/powerpc32*.
9441 * sysdeps/unix/sysv/linux/configure: Regenerated.
9443 * sysdeps/powerpc/fpu_control.h [__NO_FPRS__ && !_SOFT_FLOAT]
9444 (_FPU_MASK_OM): Define as 0x04.
9445 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Define as 0x08.
9446 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Define as
9448 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Define as
9450 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Define as _FPU_DEFAULT.
9452 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S
9453 (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
9455 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S
9456 (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
9458 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S
9459 (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use getcontext_e500
9460 and setcontext_e500.
9462 2013-10-04 Chris Leonard <cjl@sugarlabs,.org>
9464 * locale/iso-3166.def: Update iso-1366.def and related occurrences
9466 2013-10-04 Siddhesh Poyarekar <siddhesh@redhat.com>
9468 * manual/threads.texi (Default Thread Attributes): Fix typo.
9470 2013-10-04 Will Newton <will.newton@linaro.org>
9472 * malloc/Makefile: Add tst-memalign.
9473 * malloc/tst-memalign.c: New file.
9475 * malloc/tst-posix_memalign.c: Add comments.
9476 (do_test): Add comments and call free on all potentially
9477 allocated pointers. Add space after cast.
9479 * malloc/tst-pvalloc.c: Add comments.
9480 (do_test): Add comments and call free on all potentially
9481 allocated pointers. Remove duplicate check for NULL pointer.
9482 Add space after cast.
9484 * malloc/tst-valloc.c: Add comments.
9485 (do_test): Add comments and call free on all potentially
9486 allocated pointers. Remove duplicate check for NULL pointer.
9487 Add space after cast.
9489 2013-10-04 Alan Modra <amodra@gmail.com>
9491 * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
9492 Use stdint types in rather than __attribute__((mode())).
9493 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
9495 2013-10-04 Alan Modra <amodra@gmail.com>
9497 * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
9498 Correct handling of unaligned relocs for little-endian.
9499 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
9501 2013-10-04 Alan Modra <amodra@gmail.com>
9503 * configure.in: Map powerpc64le and powerpcle to base_machine/machine.
9504 * configure: Regenerate.
9505 * nptl/shlib-versions: Powerpc*le starts at 2.18.
9506 * shlib-versions: Likewise.
9508 2013-10-04 Alan Modra <amodra@gmail.com>
9510 * string/tester.c (test_memrchr): Increment reported test cycle.
9512 2013-10-04 Alan Modra <amodra@gmail.com>
9514 * string/test-memcpy.c (do_one_test): When reporting errors, print
9515 string address and don't overrun end of string.
9517 2013-10-04 Alan Modra <amodra@gmail.com>
9519 * sysdeps/powerpc/powerpc64/power7/memchr.S: Replace rlwimi with
9520 insrdi. Make better use of reg selection to speed exit slightly.
9521 Schedule entry path a little better. Remove useless "are we done"
9522 checks on entry to main loop. Handle wrapping around zero address.
9523 Correct main loop count. Handle single left-over word from main
9524 loop inline rather than by using loop_small. Remove extra word
9525 case in loop_small caused by wrong loop count. Add little-endian
9527 * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
9528 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise. Use proper
9530 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
9531 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Add little-endian
9532 support. Avoid rlwimi.
9533 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Likewise.
9535 2013-10-04 Alan Modra <amodra@gmail.com>
9537 * sysdeps/powerpc/powerpc64/memset.S: Replace rlwimi with
9539 * sysdeps/powerpc/powerpc64/power4/memset.S: Likewise.
9540 * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
9541 * sysdeps/powerpc/powerpc64/power7/memset.S: Likewise.
9542 * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
9543 * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
9544 * sysdeps/powerpc/powerpc32/power7/memset.S: Likewise.
9546 2013-10-04 Alan Modra <amodra@gmail.com>
9548 * sysdeps/powerpc/powerpc32/power4/memcpy.S: Add little endian support.
9549 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
9550 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Likewise.
9551 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Likewise.
9552 * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
9553 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
9554 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
9555 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
9556 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Likewise. Make better
9557 use of regs. Use power7 mtocrf. Tidy function tails.
9559 2013-10-04 Alan Modra <amodra@gmail.com>
9561 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Add little-endian support.
9562 Formatting. Consistently use rXXX register defines or rN defines.
9563 Use early exit labels that avoid restoring unused non-volatile regs.
9564 Make cr field use more consistent with rWORDn compares. Rename
9565 regs used as shift registers for unaligned loop, using rN defines
9566 for short lifetime/multiple use regs.
9567 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
9568 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise. Exit with
9569 addi 1,1,64 to pop stack frame. Simplify return value code.
9570 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
9572 2013-10-04 Alan Modra <amodra@gmail.com>
9574 * sysdeps/powerpc/powerpc64/power7/strchr.S (strchr): Add little-endian
9575 support. Correct typos, formatting. Optimize tail. Use insrdi
9577 * sysdeps/powerpc/powerpc32/power7/strchr.S: Likewise.
9578 * sysdeps/powerpc/powerpc64/power7/strchrnul.S (__strchrnul): Add
9579 little-endian support. Correct typos.
9580 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Likewise. Use insrdi
9582 * sysdeps/powerpc/powerpc64/strchr.S (rTMP4, rTMP5): Define. Use
9583 in loop and entry code to keep "and." results.
9584 (strchr): Add little-endian support. Comment. Move cntlzd
9586 * sysdeps/powerpc/powerpc32/strchr.S: Likewise.
9588 2013-10-04 Alan Modra <amodra@gmail.com>
9590 * sysdeps/powerpc/powerpc64/strcpy.S: Add little-endian support:
9591 * sysdeps/powerpc/powerpc32/strcpy.S: Likewise.
9592 * sysdeps/powerpc/powerpc64/stpcpy.S: Likewise.
9593 * sysdeps/powerpc/powerpc32/stpcpy.S: Likewise.
9595 2013-10-04 Alan Modra <amodra@gmail.com>
9597 * sysdeps/powerpc/powerpc64/strcmp.S (rTMP2): Define as r0.
9598 (rTMP): Define as r11.
9599 (strcmp): Add little-endian support. Optimise tail.
9600 * sysdeps/powerpc/powerpc32/strcmp.S: Similarly.
9601 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
9602 * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
9603 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
9604 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
9605 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
9606 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
9608 2013-10-04 Alan Modra <amodra@gmail.com>
9610 * sysdeps/powerpc/powerpc64/power7/strnlen.S (strnlen): Add
9611 little-endian support. Remove unnecessary "are we done" tests.
9612 Handle "s" wrapping around zero and extremely large "size".
9613 Correct main loop count. Handle single left-over word from main
9614 loop inline rather than by using small_loop. Correct comments.
9615 Delete "zero" tail, use "end_max" instead.
9616 * sysdeps/powerpc/powerpc32/power7/strnlen.S: Likewise.
9618 2013-10-04 Alan Modra <amodra@gmail.com>
9620 * sysdeps/powerpc/powerpc64/power7/strlen.S (strlen): Add little-endian
9621 support. Don't branch over align.
9622 * sysdeps/powerpc/powerpc32/power7/strlen.S: Likewise.
9623 * sysdeps/powerpc/powerpc64/strlen.S (strlen): Add little-endian
9624 support. Rearrange tmp reg use to suit. Comment.
9625 * sysdeps/powerpc/powerpc32/strlen.S: Likewise.
9627 2013-10-04 Alan Modra <amodra@gmail.com>
9629 * sysdeps/unix/sysv/linux/powerpc/bits/sigstack.h: New file.
9631 2013-10-04 Alan Modra <amodra@gmail.com>
9633 * sysdeps/unix/sysv/linux/powerpc/powerpc32/makecontext.S: Use
9634 conditional form of branch and link when obtaining pc.
9635 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: Likewise.
9637 2013-10-04 Alan Modra <amodra@gmail.com>
9639 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Use
9641 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Ditto.
9642 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Ditto.
9644 2013-10-04 Alan Modra <amodra@gmail.com>
9646 * sysdeps/powerpc/longjmp.c: Use proper symbol versioning macros.
9647 * sysdeps/powerpc/novmx-longjmp.c: Likewise.
9648 * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Likewise.
9649 * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Likewise.
9650 * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
9651 * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
9652 * sysdeps/powerpc/powerpc32/mcount.c: Likewise.
9653 * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
9654 * sysdeps/powerpc/powerpc64/setjmp.S: Likewise.
9655 * nptl/sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: Likewise.
9657 2013-10-04 Anton Blanchard <anton@au1.ibm.com>
9658 Alistair Popple <alistair@ozlabs.au.ibm.com>
9659 Alan Modra <amodra@gmail.com>
9662 * sysdeps/powerpc/jmpbuf-offsets.h: Comment fix.
9663 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Correct
9664 _dl_hwcap access for little-endian.
9665 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Likewise. Don't
9666 destroy vmx regs when saving unaligned.
9667 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Correct CR load.
9668 * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise CR save. Don't
9669 destroy vmx regs when saving unaligned.
9671 2013-10-04 Alan Modra <amodra@gmail.com>
9673 * sysdeps/powerpc/powerpc32/power4/hp-timing.h (HP_TIMING_NOW):
9674 Don't use a union to pack hi/low value.
9676 2013-10-04 Anton Blanchard <anton@au1.ibm.com>
9678 * sysdeps/powerpc/powerpc64/fpu/s_ceilf.S: Correct float constants
9680 * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
9681 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: Likewise.
9682 * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
9683 * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
9684 * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
9686 2013-10-04 Alan Modra <amodra@gmail.com>
9688 * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Increase alignment of
9689 constants to usual value for .cst8 section, and remove redundant
9691 * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Use float
9692 constant for 0x1p52. Load little-endian words of double from
9693 correct stack offsets.
9695 2013-10-04 Alan Modra <amodra@gmail.com>
9697 * sysdeps/powerpc/sysdep.h (LOWORD, HIWORD, HISHORT): Define.
9698 * sysdeps/powerpc/powerpc32/fpu/s_copysign.S: Load little-endian
9699 words of double from correct stack offsets.
9700 * sysdeps/powerpc/powerpc32/fpu/s_copysignl.S: Likewise.
9701 * sysdeps/powerpc/powerpc32/fpu/s_lrint.S: Likewise.
9702 * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
9703 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
9704 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
9705 * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
9706 * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
9707 * sysdeps/powerpc/powerpc32/power5/fpu/s_isnan.S: Likewise.
9708 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnan.S: Likewise.
9709 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
9710 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
9711 * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
9712 * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
9713 * sysdeps/powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
9714 * sysdeps/powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
9715 * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Use HISHORT.
9716 * sysdeps/powerpc/powerpc64/power7/fpu/s_isinf.S: Likewise.
9718 2013-10-04 Alan Modra <amodra@gmail.com>
9720 * sysdeps/powerpc/fpu_control.h (_FPU_GETCW): Rewrite using
9721 64-bit int/double union.
9722 (_FPU_SETCW): Likewise.
9723 * sysdeps/powerpc/fpu/tst-setcontext-fpscr.c (_GET_DI_FPSCR): Likewise.
9724 (_SET_DI_FPSCR, _GET_SI_FPSCR, _SET_SI_FPSCR): Likewise.
9726 2013-10-04 Alan Modra <amodra@gmail.com>
9728 * sysdeps/powerpc/fpu/s_llround.c (__llround): Rewrite.
9729 * sysdeps/powerpc/fpu/s_llroundf.c (__llroundf): Rewrite.
9731 2013-10-04 Alan Modra <amodra@gmail.com>
9733 * sysdeps/powerpc/fpu/s_float_bitwise.h (__float_and_test28): Don't
9734 use vector int constants.
9735 (__float_and_test24, __float_and8, __float_get_exp): Likewise.
9737 2013-10-04 Anton Blanchard <anton@au1.ibm.com>
9739 * sysdeps/powerpc/fpu/fenv_libc.h (fenv_union_t): Replace int
9740 array with long long.
9741 * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Adjust.
9742 * sysdeps/powerpc/fpu/e_sqrtf.c (__slow_ieee754_sqrtf): Adjust.
9743 * sysdeps/powerpc/fpu/fclrexcpt.c (__feclearexcept): Adjust.
9744 * sysdeps/powerpc/fpu/fedisblxcpt.c (fedisableexcept): Adjust.
9745 * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Adjust.
9746 * sysdeps/powerpc/fpu/fegetexcept.c (__fegetexcept): Adjust.
9747 * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Adjust.
9748 * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Adjust.
9749 * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Adjust.
9750 * sysdeps/powerpc/fpu/fgetexcptflg.c (__fegetexceptflag): Adjust.
9751 * sysdeps/powerpc/fpu/fraiseexcpt.c (__feraiseexcept): Adjust.
9752 * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Adjust.
9753 * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Adjust.
9755 2013-10-04 Anton Blanchard <anton@au1.ibm.com>
9757 * sysdeps/powerpc/bits/mathinline.h (__signbitf): Use builtin.
9758 (__signbit): Likewise. Correct for little-endian.
9759 (__signbitl): Call __signbit.
9760 (lrint): Correct for little-endian.
9761 (lrintf): Call lrint.
9763 2013-10-04 Alan Modra <amodra@gmail.com>
9765 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (mynumber): Replace
9766 union 32-bit int array member with 64-bit int array.
9767 (t515, tm256): Double rather than long double.
9768 (__ieee754_sqrtl): Rewrite using 64-bit arithmetic.
9770 2013-10-04 Alan Modra <amodra@gmail.com>
9772 * sysdeps/ieee754/ldbl-128ibm/ieee754.h (union ieee854_long_double):
9774 (IEEE854_LONG_DOUBLE_BIAS): Delete.
9775 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Don't include ieee854
9776 version of math_ldbl.h.
9778 2013-10-04 Alan Modra <amodra@gmail.com>
9780 [BZ #15734], [BZ #15735]
9781 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Rewrite
9782 all uses of ieee875 long double macros and unions. Simplify test
9783 for 0.0L. Correct |x|<|y| and |x|=|y| test. Use
9784 ldbl_extract_mantissa value for ix,iy exponents. Properly
9785 normalize after ldbl_extract_mantissa, and don't add hidden bit
9786 already handled. Don't treat low word of ieee854 mantissa like
9787 low word of IBM long double and mask off bit when testing for
9789 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Rewrite
9790 all uses of ieee875 long double macros and unions. Simplify tests
9791 for 0.0L and inf. Correct double adjustment of k. Delete dead code
9792 adjusting ha,hb. Simplify code setting kld. Delete two600 and
9793 two1022, instead use their values. Recognise that tests for large
9794 "a" and small "b" are mutually exclusive. Rename vars. Comment.
9795 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c (__ieee754_remainderl):
9796 Rewrite all uses of ieee875 long double macros and unions. Simplify
9797 test for 0.0L and nan. Correct negation.
9798 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfl): Rewrite all uses of
9799 ieee875 long double macros and unions. Correct output for large
9800 magnitude x. Correct absolute value calculation.
9801 (__erfcl): Likewise.
9802 * math/libm-test.inc: Add tests for errors discovered in IBM long
9803 double versions of fmodl, remainderl, erfl and erfcl.
9805 2013-10-04 Alan Modra <amodra@gmail.com>
9807 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Rewrite
9808 all uses of ieee854 long double macros and unions. Simplify tests
9809 for long doubles that are fully specified by the high double.
9810 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
9812 * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c (__ieee754_ilogbl): Likewise.
9813 Remove dead code too.
9814 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
9815 (__ieee754_ynl): Likewise.
9816 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l): Likewise.
9817 * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Likewise.
9818 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Likewise.
9819 Remove dead code too.
9820 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c (__kernel_tanl): Likewise.
9821 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Likewise.
9822 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Likewise.
9823 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c (__isinf_nsl): Likewise.
9825 * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c (___isinfl): Likewise.
9827 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Likewise.
9828 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c (__modfl): Likewise.
9829 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl): Likewise.
9830 Comment on variable precision.
9831 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c (__nexttoward): Likewise.
9832 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
9834 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
9835 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
9836 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
9837 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c (__tanhl): Likewise.
9838 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust tan_towardzero ulps.
9840 2013-10-04 Alan Modra <amodra@gmail.com>
9842 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_high): Define.
9843 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Rewrite
9844 all uses of ieee854 long double macros and unions.
9845 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Likewise.
9846 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
9847 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Likewise.
9848 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl): Likewise.
9849 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l): Likewise.
9850 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
9852 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Likewise.
9853 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
9854 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl): Likewise.
9855 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
9856 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Likewise.
9857 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Likewise.
9858 Simplify sign and nan test too.
9859 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c (__cosl): Likewise.
9860 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c (__fabsl): Likewise.
9861 * sysdeps/ieee754/ldbl-128ibm/s_finitel.c (___finitel): Likewise.
9862 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c (___fpclassifyl):
9864 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
9865 * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c (__issignalingl):
9867 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
9868 * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c (___signbitl): Likewise.
9869 * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c (__sincosl): Likewise.
9870 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c (__sinl): Likewise.
9871 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c (__tanl): Likewise.
9872 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (__logbl): Likewise.
9874 2013-10-04 Alan Modra <amodra@gmail.com>
9876 * stdio-common/printf_size.c (__printf_size): Don't use
9877 union ieee854_long_double in fpnum union.
9878 * stdio-common/printf_fphex.c (__printf_fphex): Likewise. Use
9879 signbit macro to retrieve sign from long double.
9880 * stdio-common/printf_fp.c (___printf_fp): Use signbit macro to
9881 retrieve sign from long double.
9882 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Adjust for fpnum change.
9883 * sysdeps/ieee754/ldbl-128/printf_fphex.c: Likewise.
9884 * sysdeps/ieee754/ldbl-96/printf_fphex.c: Likewise.
9885 * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
9886 * math/test-misc.c (main): Don't use union ieee854_long_double.
9888 2013-10-04 Alan Modra <amodra@gmail.com>
9891 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Comment fix.
9892 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c
9893 (PRINT_FPHEX_LONG_DOUBLE): Tidy code by moving -53 into ediff
9894 calculation. Remove unnecessary test for denormal exponent.
9895 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c (__mpn_extract_long_double):
9896 Correct handling of denormals. Avoid undefined shift behaviour.
9897 Correct normalisation of low mantissa when low double is denormal.
9898 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h
9899 (ldbl_extract_mantissa): Likewise. Comment. Use uint64_t* for hi64.
9900 (ldbl_insert_mantissa): Make both hi64 and lo64 parms uint64_t.
9901 Correct normalisation of low mantissa. Test for overflow of high
9902 mantissa and normalise.
9903 (ldbl_nearbyint): Use more readable constant for two52.
9904 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c
9905 (__mpn_construct_long_double): Fix test for overflow of high
9906 mantissa and correct normalisation. Avoid undefined shift.
9908 2013-10-04 Alan Modra <amodra@gmail.com>
9910 * sysdeps/ieee754/ldbl-128ibm/ieee754.h
9911 (union ibm_extended_long_double): Define as an array of ieee754_double.
9912 (IBM_EXTENDED_LONG_DOUBLE_BIAS): Delete.
9913 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Update all references
9914 to ibm_extended_long_double and IBM_EXTENDED_LONG_DOUBLE_BIAS.
9915 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
9916 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
9917 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c: Likewise.
9918 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
9919 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
9920 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
9921 * sysdeps/ieee754/ldbl-128ibm/strtold_l.c: Likewise.
9922 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
9924 2013-10-03 Joseph Myers <joseph@codesourcery.com>
9926 * locale/programs/locarchive.c (add_locale): Use constant 4096 for
9927 page size instead of calling getpagesize.
9929 * locale/localeinfo.h (LOCFILE_ALIGN): New macro.
9930 (LOCFILE_ALIGN_MASK): Likewise.
9931 (LOCFILE_ALIGN_UP): Likewise.
9932 (LOCFILE_ALIGNED_P): Likewise.
9933 * locale/programs/ld-collate.c (collate_output): Use the new
9934 macros instead of __alignof__ (int32_t).
9935 * locale/weight.h (findidx): Likewise.
9937 2013-10-03 Ondřej Bílka <neleai@seznam.cz>
9940 * manual/string.texi: Fix strncat and wcsncat.
9942 2013-10-03 Brooks Moses <bmoses@google.com>
9945 * Makefile (linkobj/libc_pic.a, linkobj/libc.so): Move rules to...
9946 * Makerules: ...here, and adjust associated comments.
9948 2013-10-02 Will Newton <will.newton@linaro.org>
9950 * malloc/Makefile: Add tst-pvalloc.
9951 * malloc/tst-pvalloc.c: New file.
9953 2013-10-02 Will Newton <will.newton@linaro.org>
9955 * malloc/tst-valloc.c: Rewrite to use test-skeleton.c and
9956 improve test coverage.
9958 2013-10-02 Will Newton <will.newton@linaro.org>
9960 * malloc/Makefile: Add tst-posix_memalign.
9961 * malloc/tst-posix_memalign.c: New file.
9963 2013-10-01 Eric Blake <eblake@redhat.com>
9965 * posix/glob.c (next_brace_sub, prefix_array, collated_compare):
9966 Use __THROWNL rather than __THROW on static functions.
9968 2013-09-30 Petr Machata <pmachata@redhat.com>
9970 * elf/elf.h (R_AARCH64_ABS16): New macro.
9971 (R_AARCH64_PREL64, R_AARCH64_PREL32): Likewise.
9972 (R_AARCH64_PREL16, R_AARCH64_MOVW_UABS_G0): Likewise.
9973 (R_AARCH64_MOVW_UABS_G0_NC, R_AARCH64_MOVW_UABS_G1): Likewise.
9974 (R_AARCH64_MOVW_UABS_G1_NC, R_AARCH64_MOVW_UABS_G2): Likewise.
9975 (R_AARCH64_MOVW_UABS_G2_NC, R_AARCH64_MOVW_UABS_G3): Likewise.
9976 (R_AARCH64_MOVW_SABS_G0, R_AARCH64_MOVW_SABS_G1): Likewise.
9977 (R_AARCH64_MOVW_SABS_G2, R_AARCH64_LD_PREL_LO19): Likewise.
9978 (R_AARCH64_ADR_PREL_LO21, R_AARCH64_ADR_PREL_PG_HI21): Likewise.
9979 (R_AARCH64_ADR_PREL_PG_HI21_NC, R_AARCH64_ADD_ABS_LO12_NC): Likewise.
9980 (R_AARCH64_LDST8_ABS_LO12_NC, R_AARCH64_LDST16_ABS_LO12_NC): Likewise.
9981 (R_AARCH64_LDST32_ABS_LO12_NC, R_AARCH64_LDST64_ABS_LO12_NC): Likewise.
9982 (R_AARCH64_LDST128_ABS_LO12_NC, R_AARCH64_TSTBR14): Likewise.
9983 (R_AARCH64_CONDBR19, R_AARCH64_JUMP26, R_AARCH64_CALL26): Likewise.
9984 (R_AARCH64_MOVW_PREL_G0, R_AARCH64_MOVW_PREL_G0_NC): Likewise.
9985 (R_AARCH64_MOVW_PREL_G1, R_AARCH64_MOVW_PREL_G1_NC): Likewise.
9986 (R_AARCH64_MOVW_PREL_G2, R_AARCH64_MOVW_PREL_G2_NC): Likewise.
9987 (R_AARCH64_MOVW_PREL_G3, R_AARCH64_MOVW_GOTOFF_G0): Likewise.
9988 (R_AARCH64_MOVW_GOTOFF_G0_NC, R_AARCH64_MOVW_GOTOFF_G1): Likewise.
9989 (R_AARCH64_MOVW_GOTOFF_G1_NC, R_AARCH64_MOVW_GOTOFF_G2): Likewise.
9990 (R_AARCH64_MOVW_GOTOFF_G2_NC, R_AARCH64_MOVW_GOTOFF_G3): Likewise.
9991 (R_AARCH64_GOTREL64, R_AARCH64_GOTREL32): Likewise.
9992 (R_AARCH64_GOT_LD_PREL19, R_AARCH64_LD64_GOTOFF_LO15): Likewise.
9993 (R_AARCH64_ADR_GOT_PAGE, R_AARCH64_LD64_GOT_LO12_NC): Likewise.
9994 (R_AARCH64_LD64_GOTPAGE_LO15, R_AARCH64_TLSGD_ADR_PREL21): Likewise.
9995 (R_AARCH64_TLSGD_ADR_PAGE21, R_AARCH64_TLSGD_ADD_LO12_NC): Likewise.
9996 (R_AARCH64_TLSGD_MOVW_G1, R_AARCH64_TLSGD_MOVW_G0_NC): Likewise.
9997 (R_AARCH64_TLSLD_ADR_PREL21, R_AARCH64_TLSLD_ADR_PAGE21): Likewise.
9998 (R_AARCH64_TLSLD_ADD_LO12_NC, R_AARCH64_TLSLD_MOVW_G1): Likewise.
9999 (R_AARCH64_TLSLD_MOVW_G0_NC, R_AARCH64_TLSLD_LD_PREL19): Likewise.
10000 (R_AARCH64_TLSLD_MOVW_DTPREL_G2): Likewise.
10001 (R_AARCH64_TLSLD_MOVW_DTPREL_G1): Likewise.
10002 (R_AARCH64_TLSLD_MOVW_DTPREL_G1_NC): Likewise.
10003 (R_AARCH64_TLSLD_MOVW_DTPREL_G0): Likewise.
10004 (R_AARCH64_TLSLD_MOVW_DTPREL_G0_NC): Likewise.
10005 (R_AARCH64_TLSLD_ADD_DTPREL_HI12): Likewise.
10006 (R_AARCH64_TLSLD_ADD_DTPREL_LO12): Likewise.
10007 (R_AARCH64_TLSLD_ADD_DTPREL_LO12_NC): Likewise.
10008 (R_AARCH64_TLSLD_LDST8_DTPREL_LO12): Likewise.
10009 (R_AARCH64_TLSLD_LDST8_DTPREL_LO12_NC): Likewise.
10010 (R_AARCH64_TLSLD_LDST16_DTPREL_LO12): Likewise.
10011 (R_AARCH64_TLSLD_LDST16_DTPREL_LO12_NC): Likewise.
10012 (R_AARCH64_TLSLD_LDST32_DTPREL_LO12): Likewise.
10013 (R_AARCH64_TLSLD_LDST32_DTPREL_LO12_NC): Likewise.
10014 (R_AARCH64_TLSLD_LDST64_DTPREL_LO12): Likewise.
10015 (R_AARCH64_TLSLD_LDST64_DTPREL_LO12_NC): Likewise.
10016 (R_AARCH64_TLSLD_LDST128_DTPREL_LO12): Likewise.
10017 (R_AARCH64_TLSLD_LDST128_DTPREL_LO12_NC): Likewise.
10018 (R_AARCH64_TLSIE_MOVW_GOTTPREL_G1): Likewise.
10019 (R_AARCH64_TLSIE_MOVW_GOTTPREL_G0_NC): Likewise.
10020 (R_AARCH64_TLSIE_ADR_GOTTPREL_PAGE21): Likewise.
10021 (R_AARCH64_TLSIE_LD64_GOTTPREL_LO12_NC): Likewise.
10022 (R_AARCH64_TLSIE_LD_GOTTPREL_PREL19): Likewise.
10023 (R_AARCH64_TLSLE_MOVW_TPREL_G2): Likewise.
10024 (R_AARCH64_TLSLE_MOVW_TPREL_G1): Likewise.
10025 (R_AARCH64_TLSLE_MOVW_TPREL_G1_NC): Likewise.
10026 (R_AARCH64_TLSLE_MOVW_TPREL_G0): Likewise.
10027 (R_AARCH64_TLSLE_MOVW_TPREL_G0_NC): Likewise.
10028 (R_AARCH64_TLSLE_ADD_TPREL_HI12): Likewise.
10029 (R_AARCH64_TLSLE_ADD_TPREL_LO12): Likewise.
10030 (R_AARCH64_TLSLE_ADD_TPREL_LO12_NC): Likewise.
10031 (R_AARCH64_TLSLE_LDST8_TPREL_LO12): Likewise.
10032 (R_AARCH64_TLSLE_LDST8_TPREL_LO12_NC): Likewise.
10033 (R_AARCH64_TLSLE_LDST16_TPREL_LO12): Likewise.
10034 (R_AARCH64_TLSLE_LDST16_TPREL_LO12_NC): Likewise.
10035 (R_AARCH64_TLSLE_LDST32_TPREL_LO12): Likewise.
10036 (R_AARCH64_TLSLE_LDST32_TPREL_LO12_NC): Likewise.
10037 (R_AARCH64_TLSLE_LDST64_TPREL_LO12): Likewise.
10038 (R_AARCH64_TLSLE_LDST64_TPREL_LO12_NC): Likewise.
10039 (R_AARCH64_TLSLE_LDST128_TPREL_LO12): Likewise.
10040 (R_AARCH64_TLSLE_LDST128_TPREL_LO12_NC): Likewise.
10041 (R_AARCH64_TLSDESC_LD_PREL19): Likewise.
10042 (R_AARCH64_TLSDESC_ADR_PREL21): Likewise.
10043 (R_AARCH64_TLSDESC_ADR_PAGE21): Likewise.
10044 (R_AARCH64_TLSDESC_LD64_LO12): Likewise.
10045 (R_AARCH64_TLSDESC_ADD_LO12): Likewise.
10046 (R_AARCH64_TLSDESC_OFF_G1): Likewise.
10047 (R_AARCH64_TLSDESC_OFF_G0_NC): Likewise.
10048 (R_AARCH64_TLSDESC_LDR): Likewise.
10049 (R_AARCH64_TLSDESC_ADD): Likewise.
10050 (R_AARCH64_TLSDESC_CALL): Likewise.
10052 2013-09-30 Andreas Schwab <schwab@suse.de>
10055 * nscd/aicache.c (addhstaiX): Properly use the cache variable for
10056 the nss database lookup.
10057 * nscd/initgrcache.c (addinitgroupsX): Likewise.
10058 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
10060 2013-09-28 Mike Frysinger <vapier@gentoo.org>
10062 * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Fix style.
10064 2013-09-28 P. J. McDermott <pj@pehjota.net>
10066 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't use
10067 ${Bash-specific parameter/pattern/string} parameter expansion.
10068 * sysdeps/unix/make-syscalls.sh: Likewise.
10070 2013-09-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
10072 * sysdeps/sh/stackguard-macros.h: New file.
10074 2013-09-26 Ondřej Bílka <neleai@seznam.cz>
10076 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
10077 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove strrchr ifunc.
10078 * sysdeps/x86_64/multiarch/strend-sse4.S Remove.
10079 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S Likewise.
10080 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
10081 * sysdeps/x86_64/strrchr.S (strrchr): Use optimized implementation.
10083 2013-09-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10085 * sysdeps/powerpc/powerpc64/stackguard-macros.h (POINTER_CHK_GUARD:
10086 Fix thread ID register.
10088 2013-09-25 Joseph Myers <joseph@codesourcery.com>
10090 * conform/data/sched.h-data [XPG3 || XPG4]: Disable whole file.
10091 [POSIX || UNIX98]: Require rather than permitting all symbols from
10093 [POSIX || UNIX98] (sched_ss_low_priority): Do not specify optional
10094 element of struct sched_param.
10095 [POSIX || UNIX98] (sched_ss_repl_period): Likewise.
10096 [POSIX || UNIX98] (sched_ss_init_budget): Likewise.
10097 [POSIX || UNIX98] (sched_ss_max_repl): Likewise.
10098 [POSIX || UNIX98] (SCHED_SPORADIC): Do not specify optional
10101 2013-09-24 Olivier Langlois <olivier@olivierlanglois.net>
10103 * stdio-common/tst-long-dbl-fphex.c (do_test): Fix swprintf length
10104 argument calculation.
10106 2013-09-24 Joseph Myers <joseph@codesourcery.com>
10108 * conform/data/pthread.h-data [POSIX] (PTHREAD_MUTEX_INITIALIZER):
10110 [POSIX] (pthread_attr_t): Do not require type.
10111 [POSIX] (pthread_cond_t): Likewise.
10112 [POSIX] (pthread_condattr_t): Likewise.
10113 [POSIX] (pthread_key_t): Likewise.
10114 [POSIX] (pthread_mutex_t): Likewise.
10115 [POSIX] (pthread_mutexattr_t): Likewise.
10116 [POSIX] (pthread_once_t): Likewise.
10117 [POSIX] (pthread_t): Likewise.
10118 [POSIX-based standards] (pthread_atfork): Expect function.
10120 2013-09-24 Joseph Myers <joseph@codesourcery.com>
10121 Richard Sandiford <richard@codesourcery.com>
10123 * locale/programs/locfile.h: Include <byteswap.h> and <stdbool.h>.
10124 (swap_endianness_p): New extern variable.
10125 (set_big_endian): New inline function.
10126 (maybe_swap_uint32): Likewise.
10127 (maybe_swap_uint32_array): Likewise.
10128 (maybe_swap_uint32_obstack): Likewise.
10129 * locale/programs/locfile.c: Include <stdbool.h>.
10130 (swap_endianness_p): New variable.
10131 (add_locale_uint32): Call maybe_swap_uint32.
10132 (add_locale_uint32_array): Call maybe_swap_uint32_obstack.
10133 (write_locale_data): Call maybe_swap_uint32_array.
10134 * locale/programs/ld-collate.c (obstack_int32_grow): Call
10136 (obstack_int32_grow_fast): Likewise.
10137 (output_weightwc): Call maybe_swap_uint32_obstack.
10138 (collate_output): Likewise.
10139 * locale/programs/localedef.c (OPT_LITTLE_ENDIAN): New macro.
10140 (OPT_LITTLE_ENDIAN): Likewise.
10141 (options): Add --little-endian and --big-endian options.
10142 (parse_opt): Handle OPT_LITTLE_ENDIAN and OPT_BIG_ENDIAN.
10143 * locale/programs/locarchive.c: Include "locfile.h".
10147 (create_archive): Use the new macros to access fields of
10148 structures directly mapped from or written to locale archives.
10149 (oldlocrecentcmp): Likewise.
10150 (enlarge_archive): Likewise.
10151 (insert_name): Likewise.
10152 (add_alias): Likewise.
10153 (add_locale): Likewise.
10154 (delete_locales_from_archive): Likewise.
10155 (show_archive_content): Likewise.
10156 (add_locale_to_archive): Likewise. Use maybe_swap_uint32 on
10159 2013-09-24 Roland McGrath <roland@hack.frob.com>
10161 * manual/freemanuals.texi: Updated from (newly) canonical copy at
10162 http://www.gnu.org/doc/freemanuals.texi.
10163 * manual/libc.texinfo (Free Manuals): Put the @appendix line here.
10165 2013-09-24 Will Newton <will.newton@linaro.org>
10167 * sysdeps/mach/hurd/i386/tls.h (TLS_INIT_TP_EXPENSIVE): Remove
10170 2013-09-23 Joseph Myers <joseph@codesourcery.com>
10172 * locale/hashval.h (compute_hashval): Interpret bytes of key as
10175 2013-09-23 Maciej W. Rozycki <macro@codesourcery.com>
10177 * manual/threads.texi (POSIX Threads): Fix a typo.
10179 2013-09-23 Siddhesh Poyarekar <siddhesh@redhat.com>
10182 * string/tst-strcoll-overflow.c: New test case.
10183 * string/Makefile (xtests): Add tst-strcoll-overflow.
10184 * string/strcoll_l.c (STRCOLL): Skip allocating memory for
10185 cache if string sizes may cause integer overflow.
10188 * string/strcoll_l.c (coll_seq): New members rule, idx,
10189 save_idx and back_us.
10190 (get_next_seq_nocache): New function.
10191 (do_compare_nocache): New function.
10192 (STRCOLL): Use get_next_seq_nocache and do_compare_nocache
10195 2013-09-23 Carlos O'Donell <carlos@redhat.com>
10198 * sysdeps/generic/stackguard-macros.h: If PTRGUARD_LOCAL use
10199 __pointer_chk_guard_local, otherwise __pointer_chk_guard.
10200 * elf/Makefile: Define CFLAGS-tst-ptrguard1-static.c.
10203 * elf/Makefile (tests): Add tst-ptrguard1.
10204 (tests-static): Add tst-ptrguard1-static.
10205 (tst-ptrguard1-ARGS): Define.
10206 (tst-ptrguard1-static-ARGS): Define.
10207 * elf/tst-ptrguard1.c: New file.
10208 * elf/tst-ptrguard1-static.c: New file.
10209 * sysdeps/x86_64/stackguard-macros.h: Define POINTER_CHK_GUARD.
10210 * sysdeps/i386/stackguard-macros.h: Likewise.
10211 * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
10212 * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
10213 * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
10214 * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
10215 * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
10216 * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
10218 2013-09-23 Hector Marco <hecmargi@upv.es>
10219 Ismael Ripoll <iripoll@disca.upv.es>
10220 Carlos O'Donell <carlos@redhat.com>
10223 * sysdeps/generic/stackguard-macros.h: Define
10224 __pointer_chk_guard_local and POINTER_CHK_GUARD.
10225 * csu/libc-start.c [!SHARED && !THREAD_SET_POINTER_GUARD]:
10226 Define __pointer_chk_guard_local.
10227 (LIBC_START_MAIN) [!SHARED]: Call _dl_setup_pointer_guard.
10228 Use THREAD_SET_POINTER_GUARD or set __pointer_chk_guard_local.
10230 2013-09-15 Vinitha Vijayan <vinitha.vijayann@gmail.com>
10233 * elf/dl-deps.c (_dl_map_object_deps): Remove duplicate declaration.
10235 2013-09-20 Andreas Schwab <schwab@linux-m68k.org>
10237 * include/string.h (__ffs): Declare as hidden.
10238 * string/ffs.c (__ffs): Define as hidden.
10239 * sysdeps/i386/ffs.c (__ffs): Likewise.
10240 * sysdeps/i386/i686/ffs.c (__ffs): Likewise.
10241 * sysdeps/powerpc/ffs.c (__ffs): Likewise.
10242 * sysdeps/s390/ffs.c (__ffs): Likewise.
10243 * sysdeps/x86_64/ffs.c (__ffs): Likewise.
10245 2013-09-20 Alexandre Oliva <aoliva@redhat.com>
10247 * NEWS: Mention malloc probes.
10249 * malloc/arena.c (new_heap): New memory_heap_new probe.
10250 (grow_heap): New memory_heap_more probe.
10251 (shrink_heap): New memory_heap_less probe.
10252 (heap_trim): New memory_heap_free probe.
10253 * malloc/malloc.c (sysmalloc): New memory_sbrk_more probe.
10254 (systrim): New memory_sbrk_less probe.
10255 * manual/probes.texi: Document them.
10257 * malloc/arena.c (arena_get_retry): Add memory_arena_retry probe.
10258 * manual/probes.texi: Document it.
10260 * malloc/malloc.c (__libc_malloc): Add memory_malloc_retry probe.
10261 (__libc_realloc): Add memory_realloc_retry probe.
10262 (__libc_memalign): Add memory_memalign_retry probe.
10263 (__libc_valloc): Add memory_valloc_retry probe.
10264 (__libc_pvalloc): Add memory_pvalloc_retry probe.
10265 (__libc_calloc): Add memory_calloc_retry probe.
10266 * manual/probes.texi: Document them.
10268 * malloc/arena.c (get_free_list): Add probe
10269 memory_arena_reuse_free_list.
10270 (reused_arena) [PER_THREAD]: Add probes memory_arena_reuse_wait
10271 and memory_arena_reuse.
10272 (arena_get2) [!PER_THREAD]: Likewise.
10273 * malloc/malloc.c (__libc_realloc) [!PER_THREAD]: Add probe
10274 memory_arena_reuse_realloc.
10275 * manual/probes.texi: Document them.
10277 * malloc/malloc.c (__libc_free): Add
10278 memory_mallopt_free_dyn_thresholds probe.
10279 (__libc_mallopt): Add multiple memory_mallopt probes.
10280 * manual/probes.texi: Document them.
10282 * malloc/malloc.c: Include stap-probe.h.
10283 (__libc_mallopt): Add memory_mallopt probe.
10284 * malloc/arena.c (_int_new_arena): Add memory_arena_new probe.
10285 * manual/probes.texi: New.
10286 * manual/Makefile (chapters): Add probes.
10287 * manual/threads.texi: Set next node.
10289 2013-09-19 Wei-Lun Chao <bluebat@member.fsf.org>
10291 [BZ #15963, #13985]
10292 * locale/iso-639.def: Add Chiga (cgg) and Chinese (gan, hak,
10293 czh, cjy, lzh, cmn, mnp, cdo, czo, cpx, wuu, hsn, yue).
10294 Add `Chinese' to `nan' entry name.
10296 2013-09-19 Siddhesh Poyarekar <siddhesh@redhat.com>
10298 * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): New macro.
10299 (POLYNOMIAL): Likewise.
10300 (TAYLOR_SINCOS): Likewise.
10301 (TAYLOR_SLOW): Likewise.
10302 (__sin): Use TAYLOR_SINCOS.
10304 (slow): Use TAYLOR_SLOW.
10306 (bsloww): Likewise.
10307 (csloww): Likewise.
10309 2013-09-19 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
10311 * stdlib/strtod_l.c: Fix buffer overrun.
10313 2013-09-19 Siddhesh Poyarekar <siddhesh@redhat.com>
10315 * benchtests/Makefile (bench): Add sincos.
10316 * benchtests/bench-sincos.c: New file.
10318 * math/libm-test.inc (cos_test_data): New test inputs.
10319 (sin_test_data): Likewise.
10321 * sysdeps/ieee754/dbl-64/s_sin.c (SINCOS_TABLE_LOOKUP): New
10327 (sloww1): Likewise.
10328 (sloww2): Likewise.
10329 (bsloww1): Likewise.
10330 (bsloww2): Likewise.
10331 (cslow2): Likewise.
10332 (csloww1): Likewise.
10333 (csloww2): Likewise.
10335 * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): New
10340 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Remove redundant
10344 2013-09-18 Maciej W. Rozycki <macro@codesourcery.com>
10346 * config.h.in (HAVE_MIPS_NAN2008): New macro.
10347 * elf/elf.h (EF_MIPS_NAN2008): Likewise.
10348 * sysdeps/generic/ldconfig.h (FLAG_MIPS_LIB32_NAN2008): Likewise.
10349 (FLAG_MIPS64_LIBN32_NAN2008): Likewise.
10350 (FLAG_MIPS64_LIBN64_NAN2008): Likewise.
10351 * elf/cache.c (print_entry): Handle the new cache flags.
10353 2013-09-18 Joseph Myers <joseph@codesourcery.com>
10354 Aldy Hernandez <aldyh@redhat.com>
10356 * sysdeps/powerpc/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]:
10357 Change condition to [_SOFT_FLOAT].
10358 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_NEAREST): New macro.
10359 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_DOWN): Likewise.
10360 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_UP): Likewise.
10361 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_ZERO): Likewise.
10362 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_ZM): Likewise.
10363 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_OM): Likewise.
10364 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Likewise.
10365 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_XM): Likewise.
10366 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_IM): Likewise.
10367 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Likewise.
10368 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Likewise.
10369 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Likewise.
10370 [__NO_FPRS__ && !_SOFT_FLOAT] (fpu_control_t): New typedef.
10371 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_GETCW): New macro.
10372 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_SETCW): Likewise.
10373 [__NO_FPRS__ && !_SOFT_FLOAT] (__fpu_control): New variable
10376 2013-09-18 Joseph Myers <joseph@codesourcery.com>
10378 * sysdeps/powerpc/powerpc32/__longjmp-common.S (LOAD_GP): Define
10379 macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
10380 (__longjmp): Use LOAD_GP to load saved GPRs.
10381 * sysdeps/powerpc/powerpc32/setjmp-common.S (SAVE_GP): Define
10382 macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
10383 (__sigsetjmp): Use SAVE_GP to save GPRs.
10385 * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = no] (+cflags):
10386 Do not append -msoft-float.
10387 [$(with-fp) = no] (sysdep-LDFLAGS): Likewise.
10389 2013-09-18 Siddhesh Poyarekar <siddhesh@redhat.com>
10391 * sysdeps/ieee754/dbl-64/sincos32.c: Fix code formatting.
10393 2013-09-17 Joseph Myers <joseph@codesourcery.com>
10396 * sysdeps/powerpc/fpu_control.h [!_SOFT_FLOAT && !__NO_FPRS__]
10397 (_FPU_GETCW): Use initial "__" on variable and field names but not
10398 on macro parameter name.
10399 [!_SOFT_FLOAT && !__NO_FPRS__] (_FPU_SETCW): Likewise. Use
10400 parentheses around reference to macro parameter.
10402 2013-09-13 Richard Sandiford <richard@codesourcery.com>
10404 * locale/programs/ld-ctype.c (find_idx): Use uint32_t in
10406 (ctype_startup): Use uint32_t in cast and sizeof for
10409 2013-09-11 Jia Liu <proljc@gmail.com>
10411 * sunrpc/rpc/types.h [__APPLE_CC__]: Define __u_char_defined and
10413 [__FreeBSD__]: Likewise.
10415 2013-09-11 Ondřej Bílka <neleai@seznam.cz>
10417 * sysdeps/x86_64/multiarch/ifunc-impl-list.c
10418 (__libc_ifunc_impl_list): Remove: __strchr_sse42.
10419 * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Remove.
10420 (strchr): Remove __strchr_sse42 ifunc selection.
10421 * sysdeps/x86_64/strchr.S (strchr): Use optimized implementation.
10422 * sysdeps/x86_64/strchrnul.S: Include sysdeps/x86_64/strchr.S.
10424 2013-09-11 Will Newton <will.newton@linaro.org>
10426 * benchtests/bench-timing.h (TIMING_INIT): Rename ITERS
10427 parameter to RES. Remove hardcoded 1000 value.
10428 * benchtests/bench-skeleton.c (main): Pass RES parameter
10429 to TIMING_INIT and multiply result by 1000.
10431 2013-09-10 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10433 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
10435 2013-09-11 Andreas Schwab <schwab@suse.de>
10437 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (__O_TMPFILE): Define
10439 (O_TMPFILE) [__USE_GNU]: Define.
10440 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_TMPFILE):
10443 2013-09-11 Will Newton <will.newton@linaro.org>
10446 * malloc/malloc.c (__libc_memalign): Check the value of bytes
10449 2013-09-11 Will Newton <will.newton@linaro.org>
10452 * malloc/malloc.c (__libc_valloc): Check the value of bytes
10455 2013-09-11 Will Newton <will.newton@linaro.org>
10458 * malloc/malloc.c (__libc_pvalloc): Check the value of bytes
10461 2013-09-10 Ondřej Bílka <neleai@seznam.cz>
10463 * sysdeps/ieee754/dbl-64/e_j0.c: Remove DO_NOT_USE_THIS conditionals.
10464 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
10465 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
10466 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
10467 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
10469 2013-09-10 Allan McRae <allan@archlinux.org>
10472 * manual/arith.texi (Parsing of Floats): Clarify
10476 * manual/install.texi (Running make install): Mention
10478 * INSTALL: Regenerated.
10480 2013-09-09 Maciej W. Rozycki <macro@codesourcery.com>
10482 * csu/init-first.c (_init): Remove the !SHARED condition around
10483 FPU control word initialization.
10484 * elf/dl-support.c (_dl_fpu_control): New variable.
10485 (_dl_aux_init) <AT_FPUCW>: Initialize it.
10486 * math/test-fpucw.c [!FPU_CONTROL] (FPU_CONTROL): New macro.
10487 (main): Replace _FPU_DEFAULT with FPU_CONTROL throughout.
10488 * math/test-fpucw-static.c: New file.
10489 * math/test-fpucw-ieee.c: New file.
10490 * math/test-fpucw-ieee-static.c: New file.
10491 * math/Makefile (tests): Add `test-fpucw-ieee' and
10493 (tests-static): New variable.
10494 [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests))): Move
10496 [($(build-shared),yes)]
10497 ($(addprefix $(objpfx),$(filter-out $(tests-static),$(tests)))):
10499 [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests-static))):
10502 2013-09-09 Allan McRae <allan@archlinux.org>
10505 * manual/string.texi (Collation Functions): Fix typo in
10507 Reported by Suren Karapetyan <me@suren.karapetyan.name>.
10510 * stdlib/isomac.c (get_null_defines): Fix memory leak.
10513 * libio/memstream.c (open_memstream): Fix memory leak.
10514 * libio/wmemstream.c (open_wmemstream): Likewise.
10517 * nscd/netgroupcache.c: Fix nesting of ifdefs.
10519 2013-09-09 Will Newton <will.newton@linaro.org>
10521 * malloc/Makefile: Add tst-realloc to tests.
10522 * malloc/tst-realloc.c: New file.
10524 2013-09-09 Allan McRae <allan@archlinux.org>
10527 * COPYING: Update from GNU website to fix FSF address.
10528 * COPYING.LIB: Likewise.
10530 2013-09-06 David S. Miller <davem@davemloft.net>
10532 * po/zh_TW.po: Update Chinese (traditional) translation from
10533 translation project.
10535 2013-09-06 Richard Sandiford <richard@codesourcery.com>
10536 Joseph Myers <joseph@codesourcery.com>
10538 * locale/programs/locfile.c: Include <assert.h>, <wchar.h> and
10540 (obstack_chunk_alloc): New macro.
10541 (obstack_chunk_free): Likewise.
10542 (record_offset): New function.
10543 (init_locale_data): Likewise.
10544 (align_locale_data): Likewise.
10545 (add_locale_empty): Likewise.
10546 (add_locale_raw_data): Likewise.
10547 (add_locale_raw_obstack): Likewise.
10548 (add_locale_string): Likewise.
10549 (add_locale_wstring): Likewise.
10550 (add_locale_uint32): Likewise.
10551 (add_locale_uint32_array): Likewise.
10552 (add_locale_char): Likewise.
10553 (start_locale_structure): Likewise.
10554 (end_locale_structure): Likewise.
10555 (start_locale_prelude): Likewise.
10556 (end_locale_prelude): Likewise.
10557 (write_locale_data): Take locale_file structure rather than an
10559 * locale/programs/locfile.h: Include "obstack.h".
10560 (struct locale_file): Change to store locale file contents instead
10562 (init_locale_data): New prototype.
10563 (align_locale_data): Likewise.
10564 (add_locale_empty): Likewise.
10565 (add_locale_raw_data): Likewise.
10566 (add_locale_raw_obstack): Likewise.
10567 (add_locale_string): Likewise.
10568 (add_locale_wstring): Likewise.
10569 (add_locale_uint32): Likewise.
10570 (add_locale_uint32_array): Likewise.
10571 (add_locale_char): Likewise.
10572 (start_locale_structure): Likewise.
10573 (end_locale_structure): Likewise.
10574 (start_locale_prelude): Likewise.
10575 (end_locale_prelude): Likewise.
10576 (write_locale_data): Update prototype.
10577 * locale/programs/3level.h (struct TABLE): Remove result field.
10578 (CONCAT(TABLE,_finalize)): Change to CONCAT(add_locale_,TABLE).
10579 Use new locale_file interface.
10580 [!NO_FINALIZE]: Change condition to [!NO_ADD_LOCALE].
10581 (NO_FINALIZE): Change #undef to #undef of NO_ADD_LOCALE.
10582 * locale/programs/ld-address.c (address_output): Use new
10583 locale_file interface.
10584 * locale/programs/ld-collate.c (NO_FINALIZE): Change to
10586 (collate_finish): Don't call collseq_table_finalize.
10587 (collate_output): Use new locale_file interface.
10588 * locale/programs/ld-ctype.c: Move includes of "3level.h" earlier
10590 (NO_FINALIZE): Change to NO_ADD_LOCALE.
10591 (TABLE): Move defines earlier in file.
10592 (ELEMENT): Likewise.
10593 (DEFAULT): Likewise.
10594 (wctrans_table_add): Move macro and inline function earlier in
10596 (struct wctype_table): Move type earlier in file.
10597 (add_locale_wctype_table): New static prototype.
10598 (struct locale_ctype_t): Use logical types instead of struct iovec
10599 pointers for members.
10600 (ctype_output): Use new locale_file interface.
10601 (wctype_table_finalize): Change to add_locale_wctype_table. Use
10602 new locale_file interface.
10603 (allocate_arrays): Update for use of new locale_file interface.
10604 * locale/programs/ld-identification.c (identification_output): Use
10605 new locale_file interface.
10606 * locale/programs/ld-measurement.c (measurement_output): Likewise.
10607 * locale/programs/ld-messages.c (messages_output): Likewise.
10608 * locale/programs/ld-monetary.c (monetary_output): Likewise.
10609 * locale/programs/ld-name.c (name_output): Likewise.
10610 * locale/programs/ld-numeric.c (numeric_output): Likewise.
10611 * locale/programs/ld-paper.c (paper_output): Likewise.
10612 * locale/programs/ld-telephone.c (telephone_output): Likewise.
10613 * locale/programs/ld-time.c (time_output): Likewise.
10615 2013-09-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10617 * benchtests/Makefile: Add memrchr benchmark.
10618 * benchtests/bench-memchr.c (USE_AS_MEMRCHR): Add define to use
10619 benchmark as memrchr.
10620 * benchtests/bench-memrchr-ifunc.c: New file.
10621 * benchtests/bench-memrchr.c: New file.
10623 2013-09-06 Will Newton <will.newton@linaro.org>
10625 * benchtests/Makefile (string-bench): Add memcpy.
10627 2013-09-05 Carlos O'Donell <carlos@redhat.com>
10628 Cong Wang <amwang@redhat.com>
10631 * sysdeps/unix/sysv/linux/bits/in.h
10632 [_UAPI_LINUX_IN6_H]: Define __USE_KERNEL_IPV6_DEFS.
10633 * inet/netinet/in.h: Move in_addr definition and bits/in.h inclusion
10634 before __USE_KERNEL_IPV6_DEFS uses.
10635 * inet/netinet/in.h [!__USE_KERNEL_IPV6_DEFS]: Define IPPROTO_MH, and
10637 [__USE_KERNEL_IPV6_DEFS]: Don't define any of IPPROTO_*, in6_addr,
10638 sockaddr_in6, or ipv6_mreq.
10640 2013-09-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10642 * sysdeps/powerpc/powerpc32/power7/memrchr.S (__memrchr): Fix invalid
10643 memory access for final bytes in some large inputs.
10644 * sysdeps/powerpc/powerpc64/power7/memrchr.S (__memrchr): Likewise.
10646 2013-09-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10648 * string/test-memrchr.c: New file.
10649 * string/test-memrchr-ifunc.c: New file.
10650 * string/Makefile: Add new memrchr testcase.
10652 2013-09-05 Mike Frysinger <vapier@gentoo.org>
10654 * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Skip test when
10655 fanotify_init returns EPERM.
10657 2013-09-04 Joseph Myers <joseph@codesourcery.com>
10659 * conform/conformtest.pl (newtoken): Treat tokens not allowed as
10661 (top level): Treat second token from macro or constant entries for
10662 allowed headers as allowed.
10663 * include/complex.h: Condition internal declarations on
10665 * include/fenv.h: Condition include of <stdbool.h> and internal
10666 declarations on [!_ISOMAC].
10668 2013-09-04 Chris Leonard <cjl@sugarlabs,.org>
10671 * locale/iso-4217.def: Update iso-1427.def and related occurrences.
10673 2013-09-04 Joseph Myers <joseph@codesourcery.com>
10675 * configure.in (--enable-versioning): Remove configure option.
10676 (libc_cv_asm_symver_directive): Remove configure test.
10677 (libc_cv_ld_version_script_option): Likewise.
10678 (VERSIONING): Remove variable and AC_SUBST.
10679 (DO_VERSIONING): Remove AC_DEFINE.
10680 * configure: Regenerated.
10681 * config.h.in (DO_VERSIONING): Remove macro.
10682 * Makerules [$(versioning) = yes]: Change conditionals to
10683 [$(build-shared) = yes].
10684 * config.make.in (versioning): Remove variable.
10685 * dlfcn/Makefile [$(versioning) = yes]: Change conditionals to
10686 [$(build-shared) = yes].
10687 * dlfcn/modstatic2.c (test) [DO_VERSIONING]: Remove conditional.
10688 * dlfcn/tststatic2.c (main) [DO_VERSIONING]: Likewise.
10689 * elf/Makefile [$(versioning) = yes]: Change conditionals to
10690 [$(build-shared) = yes].
10691 * extra-lib.mk [$(versioning) = yes]: Likewise.
10692 * hurd/Makefile [$(versioning) = yes]: Likewise.
10693 * hurd/geteuids.c [SHARED && DO_VERSIONING]: Change conditional to
10695 * include/libc-symbols.h [DO_VERSIONING]: Change conditional to
10697 [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
10698 [SHARED && !NO_HIDDEN].
10699 * include/shlib-compat.h [DO_VERSIONING]: Change conditional to
10701 [SHARED && DO_VERSIONING]: Likewise..
10702 * libio/Makefile [$(versioning) = yes]: Change conditionals to
10703 [$(build-shared) = yes].
10704 * manual/install.texi (--disable-versioning): Remove
10706 * INSTALL: Regenerated.
10707 * resolv/res_libc.c [SHARED && DO_VERSIONING]: Change conditional
10709 * sunrpc/Makefile [$(versioning) = yes]: Change conditional to
10710 [$(build-shared) = yes].
10711 * sysdeps/gnu/Makefile [$(versioning) = yes]: Likewise.
10712 * sysdeps/i386/i686/multiarch/strstr-c.c
10713 [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
10714 [SHARED && !NO_HIDDEN].
10715 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h
10716 [SHARED && DO_VERSIONING]: Change conditional to [SHARED].
10717 * sysdeps/powerpc/powerpc32/dl-machine.c
10718 [SHARED && !(DO_VERSIONING - 0)]: Remove conditional error.
10719 * sysdeps/powerpc/powerpc32/sysdep.h
10720 [SHARED && DO_VERSIONING && PIC && !NO_HIDDEN]: Change conditional
10721 to [SHARED && PIC && !NO_HIDDEN].
10722 * sysdeps/wordsize-32/divdi3.c [SHARED && DO_VERSIONING]: Change
10723 conditional to [SHARED].
10725 2013-09-04 Will Newton <will.newton@linaro.org>
10727 * benchtests/bench-timing.h (TIMING_PRINT_MEAN): New macro.
10728 * benchtests/bench-string.h: Include bench-timing.h instead
10729 of including hp-timing.h directly. (INNER_LOOP_ITERS): New
10730 define. (HP_TIMING_BEST): Delete macro. (test_init): Remove
10731 call to HP_TIMING_DIFF_INIT.
10732 * benchtests/bench-memccpy.c: Use bench-timing.h macros
10733 instead of hp-timing.h macros.
10734 * benchtests/bench-memchr.c: Likewise.
10735 * benchtests/bench-memcmp.c: Likewise.
10736 * benchtests/bench-memcpy.c: Likewise.
10737 * benchtests/bench-memmem.c: Likewise.
10738 * benchtests/bench-memmove.c: Likewise.
10739 * benchtests/bench-memset.c: Likewise.
10740 * benchtests/bench-rawmemchr.c: Likewise.
10741 * benchtests/bench-strcasecmp.c: Likewise.
10742 * benchtests/bench-strcasestr.c: Likewise.
10743 * benchtests/bench-strcat.c: Likewise.
10744 * benchtests/bench-strchr.c: Likewise.
10745 * benchtests/bench-strcmp.c: Likewise.
10746 * benchtests/bench-strcpy.c: Likewise.
10747 * benchtests/bench-strcpy_chk.c: Likewise.
10748 * benchtests/bench-strlen.c: Likewise.
10749 * benchtests/bench-strncasecmp.c: Likewise.
10750 * benchtests/bench-strncat.c: Likewise.
10751 * benchtests/bench-strncmp.c: Likewise.
10752 * benchtests/bench-strncpy.c: Likewise.
10753 * benchtests/bench-strnlen.c: Likewise.
10754 * benchtests/bench-strpbrk.c: Likewise.
10755 * benchtests/bench-strrchr.c: Likewise.
10756 * benchtests/bench-strspn.c: Likewise.
10757 * benchtests/bench-strstr.c: Likewise.
10759 2013-09-04 Will Newton <will.newton@linaro.org>
10761 * benchtests/Makefile: Use LDLIBS instead of LDFLAGS.
10763 2013-09-03 Joseph Myers <joseph@codesourcery.com>
10766 * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r): Use
10767 2**-30 instead of 2**-70 as threshold for returning -log(|x|).
10768 * math/libm-test.inc (lgamma_test_data): Add more tests.
10769 * sysdeps/i386/fpu/libm-test-ulps: Update.
10770 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10772 2013-09-03 Ondřej Bílka <neleai@seznam.cz>
10774 * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: New file.
10775 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
10777 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
10778 Add strcmp-sse2-unaligned
10779 * sysdeps/x86_64/multiarch/strcmp.S (strcmp): Add ifunc.
10781 2013-09-02 Mike Frysinger <vapier@gentoo.org>
10783 * Versions.def (libc): Add GLIBC_2.19.
10785 2013-09-02 Mike Frysinger <vapier@gentoo.org>
10787 * sysdeps/unix/sysv/linux/tst-fanotify.c: New test.
10788 * sysdeps/unix/sysv/linux/Makefile (tests): Add tst-fanotify.
10790 2013-09-02 Joseph Myers <joseph@codesourcery.com>
10793 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Use double for
10794 intermediate calculations in recurrence.
10795 (__ieee754_ynf): Likewise.
10796 * math/libm-test.inc (jn_test_data): Do not allow spurious
10797 underflow exception. Add more tests.
10798 (yn_test_data): Add more tests.
10799 * sysdeps/i386/fpu/libm-test-ulps: Update.
10800 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10802 2013-09-02 Ondřej Bílka <neleai@seznam.cz>
10804 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Fix typo.
10806 2013-08-30 Ondřej Bílka <neleai@seznam.cz>
10808 * csu/init-first.c: Fix then/than typos.
10809 * locale/programs/ld-collate.c: Likewise.
10810 * locale/programs/linereader.h: Likewise.
10811 * manual/charset.texi: Likewise.
10812 * manual/filesys.texi: Likewise.
10813 * manual/stdio.texi: Likewise.
10814 * manual/string.texi: Likewise.
10815 * stdlib/fmtmsg.c: Likewise.
10816 * sysdeps/i386/stpncpy.S: Likewise.
10817 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
10818 * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
10819 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
10820 * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
10822 2013-08-30 Ondřej Bílka <neleai@seznam.cz>
10824 * elf/dl-open.c: Fix typos.
10825 * iconvdata/gbbig5.c: Likewise.
10826 * iconvdata/iso-2022-jp.c: Likewise.
10827 * iconv/gconv_int.h: Likewise.
10828 * iconv/loop.c: Likewise.
10829 * nis/rpcsvc/nis.h: Likewise.
10830 * resolv/ns_name.c: Likewise.
10831 * stdio-common/vfscanf.c: Likewise.
10832 * streams/stropts.h: Likewise.
10833 * sunrpc/rpc_thread.c: Likewise.
10834 * sysdeps/i386/strpbrk.S: Likewise.
10835 * sysdeps/ieee754/k_standard.c: Likewise.
10836 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
10837 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
10838 * sysdeps/mach/hurd/dl-sysdep.c: Likewise.
10839 * sysdeps/mach/hurd/profil.c: Likewise.
10840 * sysdeps/s390/dl-procinfo.h: Likewise.
10841 * sysdeps/unix/sysv/linux/i386/chown.c: Likewise.
10842 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Likewise.
10843 * sysdeps/unix/sysv/linux/sparc/sparc32/makecontext.c: Likewise.
10844 * sysdeps/x86_64/dl-trampoline.S: Likewise.
10845 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
10847 2013-08-30 Ondřej Bílka <neleai@seznam.cz>
10849 * sysdeps/x86_64/multiarch/rawmemchr.S: Delete.
10850 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove rawmemchr ifunc.
10852 2013-08-29 Ondřej Bílka <neleai@seznam.cz>
10854 * sysdeps/unix/sysv/linux/powerpc/aix/aix-dirent.h: Remove
10855 aix specific files.
10856 * sysdeps/unix/sysv/linux/powerpc/aix/aix-errno.h: Likewise.
10857 * sysdeps/unix/sysv/linux/powerpc/aix/aix-stat.h: Likewise.
10858 * sysdeps/unix/sysv/linux/powerpc/aix/aix-termios.h: Likewise.
10859 * sysdeps/unix/sysv/linux/powerpc/aix/direntconv.c: Likewise.
10860 * sysdeps/unix/sysv/linux/powerpc/aix/errnoconv.c: Likewise.
10861 * sysdeps/unix/sysv/linux/powerpc/aix/statconv.c: Likewise.
10862 * sysdeps/unix/sysv/linux/powerpc/aix/tcgetattr.c: Likewise.
10863 * sysdeps/unix/sysv/linux/powerpc/aix/tcsetattr.c: Likewise.
10865 2013-08-29 Thomas Schwinge <thomas@codesourcery.com>
10866 Roland McGrath <roland@hack.frob.com>
10868 * sysdeps/mach/hurd/errnos.awk (BEGIN): Emit ESUCCESS.
10869 * sysdeps/mach/hurd/bits/errno.h: Regenerate.
10871 2013-08-29 Samuel Thibault <samuel.thibault@ens-lyon.org>
10873 * sysdeps/mach/hurd/i386/init-first.c (init1): Use
10874 __executable_start symbol instead of _start.
10876 2013-08-29 Thomas Schwinge <thomas@codesourcery.com>
10878 * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_HEADER)
10879 (VALID_ELF_OSABI, VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA):
10881 * sysdeps/gnu/ldsodefs.h: ... this new file.
10883 * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_OSABI)
10884 (VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA): Use ELFOSABI_GNU
10885 instead of ELFOSABI_LINUX.
10887 [BZ #15522] strtod ("nan(N)") returning a sNaN in some cases
10888 * stdlib/strtof_l.c (SET_MANTISSA): Rewrite.
10889 * stdlib/strtod_l.c (SET_MANTISSA): Likewise.
10890 * sysdeps/ieee754/ldbl-64-128/strtold_l.c (SET_MANTISSA):
10892 * sysdeps/ieee754/ldbl-96/strtold_l.c (SET_MANTISSA): Likewise.
10893 * sysdeps/ieee754/ldbl-128/strtold_l.c (SET_MANTISSA): Likewise.
10894 * sysdeps/ieee754/ldbl-128ibm/strtold_l.c (SET_MANTISSA):
10896 * sysdeps/ieee754/ldbl-128ibm/ieee754.h
10897 (ibm_extended_long_double): Add ieee_nan member.
10898 * stdlib/tst-strtod6.c (test): New function, renamed from do_test.
10899 (do_test): New function.
10901 * math/basic-test.c (TEST_CONVERT): New macro, renamed from
10903 (convert_dfsf_test, convert_tfsf_test, convert_tfdf_test): New
10904 functions, renamed from truncdfsf_test, trunctfsf_test,
10906 (convert_sfdf_test, convert_sftf_test, convert_dftf_test): New
10908 (do_test): Run all these.
10910 2013-08-29 Ondřej Bílka <neleai@seznam.cz>
10912 * argp/argp-help.c: Fix typos.
10913 * argp/argp-parse.c: Likewise.
10914 * debug/backtracesyms.c: Likewise.
10915 * elf/elf.h: Likewise.
10916 * malloc/malloc.c: Likewise.
10917 * nis/nis_print.c: Likewise.
10918 * resolv/res_comp.c: Likewise.
10919 * stdlib/stdlib.h: Likewise.
10920 * sunrpc/clnt_tcp.c: Likewise.
10921 * sunrpc/clnt_udp.c: Likewise.
10922 * sunrpc/clnt_unix.c: Likewise.
10923 * sysdeps/unix/bsd/ptsname.c: Likewise.
10924 * sysdeps/unix/sysv/linux/ifaddrs.c: Likewise.
10925 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Likewise.
10926 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S:
10928 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S:
10930 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S:
10932 * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
10934 2013-08-28 Siddhesh Poyarekar <siddhesh@redhat.com>
10936 * nscd/aicache.c (addhstaiX): Use __glibc_unlikely.
10937 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
10939 2013-08-27 Mike Frysinger <vapier@gentoo.org>
10942 * dlfcn/Makefile (tests): Add bug-dl-leaf.
10943 (modules-names): Add bug-dl-leaf-lib and bug-dl-leaf-lib-cb.
10944 ($(objpfx)bug-dl-leaf): New rule.
10945 ($(objpfx)bug-dl-leaf.so): Likewise.
10946 ($(objpfx)bug-dl-leaf.out): Likewise.
10947 ($(objpfx)bug-dl-leaf-lib.so): Likewise.
10948 ($(objpfx)bug-dl-leaf-lib-cb.so): Likewise.
10949 * dlfcn/bug-dl-leaf.c: New test.
10950 * dlfcn/bug-dl-leaf-lib.c: Likewise.
10951 * dlfcn/bug-dl-leaf-lib-cb.c: Likewise.
10952 * dlfcn/dlfcn.h (dlopen): Change __THROW to __THROWNL.
10953 (dlclose): Likewise.
10954 (dlmopen): Likewise.
10956 2013-08-27 Roland McGrath <roland@hack.frob.com>
10958 * include/netdb.h [!_ISOMAC]:
10959 Don't include <tls.h>.
10960 (h_errno, __libc_h_errno): Move declaration and macros out of
10963 * include/resolv.h [_RESOLV_H_]:
10964 Don't include <tls.h>.
10965 (__resp, _res): Move declaration and macro out of [_LIBC_REENTRANT].
10966 * resolv/res_libc.c: Don't include <tls.h>.
10967 (_res): Use __attribute__ ((nocommon)) in place of
10968 __attribute__ ((section (".bss"))).
10970 * Makefile ($(common-objpfx)linkobj/libc_pic.a):
10971 If [sunrpc not in $(subdirs)], define to use libc_pic.a directly.
10973 * resolv/res_send.c (send_dg): Don't try to use ioctl unless [FIONREAD].
10975 * resolv/res_hconf.c [!NOT_IN_libc] (ifaddrs): Declare
10976 only under [SIOCGIFCONF && SIOCGIFNETMASK].
10978 * resolv/res_mkquery.c: Include <sys/time.h>.
10980 * inet/ifreq.c: Moved to ...
10981 * sysdeps/unix/ifreq.c: ... here.
10982 * inet/ifreq.c: New file, true stub version.
10984 * socket/sa_len.c: New file.
10985 * socket/Makefile (aux): Add it.
10986 * sysdeps/unix/sysv/linux/Makefile
10987 [$(subdir) = socket] (sysdep_routines): Don't add sa_len here.
10988 * sysdeps/unix/sysv/linux/sa_len.c: Just #define HAVE_NET*_H
10989 and #include <socket/sa_len.c>.
10990 * sysdeps/unix/sysv/linux/s390/sa_len.c: Just #define
10991 HAVE_NETIUCV_IUCV_H and #include <sysdeps/unix/sysv/linux/sa_len.c>.
10993 * sysdeps/unix/bsd/bsd4.4/bits/socket.h: Moved to ...
10994 * bits/socket.h: ... here.
10996 * sysdeps/unix/bsd/bsd4.4/bits/socket.h (enum __socket_type):
10997 Add SOCK_CLOEXEC, SOCK_NONBLOCK with values from FreeBSD.
10998 (SOCK_MAX, SOCK_TYPE_MASK): New macros.
11000 2013-08-27 Andreas Schwab <schwab@suse.de>
11003 * locale/categories.def (LC_CTYPE): Add "nonascii-case" element.
11004 * string/Makefile (test-strcasecmp-ENV, test-strncasecmp-ENV)
11005 (test-strcasecmp-ifunc-ENV, test-strncasecmp-ifunc-ENV): Define.
11006 * string/test-strcasecmp.c (test_main): Run tests in several
11008 * string/test-strncasecmp.c (test_main): Likewise.
11010 * sysdeps/i386/i686/multiarch/strcmp-sse4.S (__strcasecmp_sse4_2)
11011 (__strncasecmp_sse4_2) [PIC]: Restore %ebx before falling through
11012 to __strcasecmp_nonascii and __strncasecmp_nonascii.
11013 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (__strcasecmp_ssse3)
11014 (__strncasecmp_ssse3) [PIC]: Likewise.
11016 2013-08-26 Roland McGrath <roland@hack.frob.com>
11018 * io/lxstat64.c: Just call __xstat64, for parity with stub __lxstat.
11020 * nss/nss_files/files-key.c: Include <rpc/des_crypt.h>
11021 instead of explicitly declaring xdecrypt.
11022 * nis/nss_nis/nis-publickey.c: Likewise.
11024 2013-08-26 Siddhesh Poyarekar <siddhesh@redhat.com>
11027 * nscd/aicache.c: Include res_hconf.h.
11028 (addhstaiX): Initialize res_hconf.
11030 2013-08-26 Andreas Schwab <schwab@suse.de>
11032 * stdlib/Makefile (LDFLAGS-tst-tls-atexit): Remove.
11033 ($(objpfx)tst-tls-atexit): Add dependencies here instead.
11035 2013-08-26 Siddhesh Poyarekar <siddhesh@redhat.com>
11037 * nscd/aicache.c (addhstaiX): Fix indentation.
11039 2013-08-25 Mike Frysinger <vapier@gentoo.org>
11041 * configure.ac: Quote $build_pt_chown test.
11042 * configure: Regenerated.
11044 2013-08-23 Joseph Myers <joseph@codesourcery.com>
11047 * math/s_cexp.c (__cexp): Return NaN + i0 for NaN + i0 argument.
11048 * math/s_cexpf.c (__cexpf): Likewise.
11049 * math/s_cexpl.c (__cexpl): Likewise.
11050 * math/libm-test.inc (cexp_test_data): Correct expected return
11051 value for NaN + i0. Add another test.
11053 2013-08-22 David S. Miller <davem@davemloft.net>
11055 * po/ca.po: Update Catalan translation from translation project.
11056 * po/uk.po: Add Ukrainian translations from translation project.
11058 2013-08-21 Joseph Myers <joseph@codesourcery.com>
11061 * math/s_fdim.c (__fdim): Check for infinite arguments if result
11062 is infinite, not alongside NaN test.
11063 * math/s_fdimf.c (__fdimf): Likewise.
11064 * math/s_fdiml.c (__fdiml): Likewise.
11065 * math/libm-test.inc (fdim_test_data): Add more tests. Test that
11066 errno is unchanged.
11068 2013-08-21 Ondřej Bílka <neleai@seznam.cz>
11070 * argp/argp-help.c: Fix typos.
11071 * crypt/speeds.c: Likewise.
11072 * csu/check_fds.c: Likewise.
11073 * elf/dl-load.c: Likewise.
11074 * elf/dl-open.c: Likewise.
11075 * elf/reldep3.c: Likewise.
11076 * elf/reldep.c: Likewise.
11077 * elf/sprof.c: Likewise.
11078 * iconv/iconv_charmap.c: Likewise.
11079 * iconv/skeleton.c: Likewise.
11080 * iconv/strtab.c: Likewise.
11081 * io/lockf64.c: Likewise.
11082 * libio/libioP.h: Likewise.
11083 * resolv/gai_notify.c: Likewise.
11084 * resolv/ns_name.c: Likewise.
11085 * resolv/ns_samedomain.c: Likewise.
11086 * resolv/res_send.c: Likewise.
11087 * stdlib/random.c: Likewise.
11088 * sunrpc/rpc/xdr.h: Likewise.
11089 * sysdeps/i386/fpu/fraiseexcpt.c: Likewise.
11090 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
11091 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
11092 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
11093 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
11094 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
11095 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
11096 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
11097 * sysdeps/mach/hurd/check_fds.c: Likewise.
11098 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
11099 * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
11100 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
11101 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
11102 * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
11103 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
11104 * sysdeps/pthread/aio_notify.c: Likewise.
11105 * sysdeps/sparc/fpu/fraiseexcpt.c: Likewise.
11106 * sysdeps/unix/sysv/linux/socketcall.h: Likewise.
11107 * sysdeps/x86_64/fpu/fraiseexcpt.c: Likewise.
11108 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
11109 * sysdeps/x86/fpu/bits/fenv.h: Likewise.
11111 2013-08-21 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
11113 * sysdeps/i386/i686/multiarch/strcmp.S: Skip SSE4_2
11114 version if bit_Slow_SSE4_2 is set.
11115 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
11116 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
11118 2013-07-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11121 * sysdeps/powerpc/powerpc32/backtrace.c (__backtrace): Handle signal
11122 trampoline stack frame information.
11123 * sysdeps/powerpc/powerpc64/backtrace.c (__backtrace): Likewise.
11124 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h
11125 (__vdso_sigtramp_rt64): New variable: PPC64 signal trampoline.
11126 (__vdso_sigtramp32): New variable: PPC32 signal trampoline.
11127 (__vdso_sigtramp_rt32): New variable: PPC32 signal trampoline.
11128 * sysdeps/unix/sysv/linux/powerpc/init-first.c
11129 (_libc_vdso_platform_setup): Initialize the signal trampolines.
11130 * debug/tst-backtrace5.c (fn): Add an option set modify sigaction
11132 * debug/tst-backtrace6.c: New file: check backtrace for signal frames,
11133 interrupting a syscall and set with option SA_SIGINFO.
11135 2013-08-20 Joseph Myers <joseph@codesourcery.com>
11138 * math/s_cproj.c (__cproj): Only return an infinity if one part of
11139 argument is infinite.
11140 * math/s_cprojf.c (__cprojf): Likewise.
11141 * math/s_cprojl.c (__cprojl): Likewise.
11142 * sysdeps/ieee754/ldbl-128ibm/s_cprojl.c (__cprojl): Likewise.
11143 * math/libm-test.inc (cproj_test_data): Add more tests.
11145 * sysdeps/unix/sysv/linux/mmap64.c: Include <string.h>.
11147 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64)
11148 [MMAP2_PAGE_SHIFT == -1]: Use __getpagesize to determine page
11149 size. Use __ffs to determine corresponding shift.
11151 2013-08-20 Joseph Myers <joseph@codesourcery.com>
11152 Roland McGrath <roland@hack.frob.com>
11154 * Makefile (INSTALL): Remove trailing blank lines from output of
11157 2013-08-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
11159 * sysdeps/unix/sysv/linux/s390/sys/procfs.h (struct elf_prstatus):
11160 Align 32 bit compat elf_greg to 8 bytes.
11162 2013-08-20 Andreas Arnez <arnez@linux.vnet.ibm.com>
11164 * elf/setup-vdso.h (setup_vdso): Fix missing string termination.
11166 2013-08-20 Siddhesh Poyarekar <siddhesh@redhat.com>
11168 * string/strcoll_l.c (coll_seq): New structure.
11169 (get_next_seq_cached): New function.
11170 (get_next_seq): New function.
11171 (do_compare): New function.
11172 (STRCOLL): Use GNU style definition. Simplify implementation
11173 by using get_next_seq, get_next_seq_cached and do_compare.
11175 2013-08-16 Florian Weimer <fweimer@redhat.com>
11179 * sysdeps/posix/dirstream.h (struct __dirstream): Add errcode
11181 * sysdeps/posix/opendir.c (__alloc_dir): Initialize errcode
11183 * sysdeps/posix/rewinddir.c (rewinddir): Reset errcode member.
11184 * sysdeps/posix/readdir_r.c (__READDIR_R): Enforce NAME_MAX limit.
11185 Return delayed error code. Remove GETDENTS_64BIT_ALIGNED
11187 * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Do not define
11188 GETDENTS_64BIT_ALIGNED.
11189 * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
11190 * manual/filesys.texi (Reading/Closing Directory): Document
11191 ENAMETOOLONG return value of readdir_r. Recommend readdir more
11193 * manual/conf.texi (Limits for Files): Add portability note to
11194 NAME_MAX, PATH_MAX.
11195 (Pathconf): Add portability note for _PC_NAME_MAX, _PC_PATH_MAX.
11197 2013-08-13 Andreas Schwab <schwab@suse.de>
11200 * sysdeps/ieee754/ldbl-96/s_cbrtl.c (__cbrtl): Use fabsl instead
11202 * math/libm-test.inc (cbrt_test_data) [TEST_LDOUBLE &&
11203 LDBL_MAX_EXP >= 16384]: Add tests for it.
11205 2013-08-12 David S. Miller <davem@davemloft.net>
11207 * version.h (RELEASE): Set to "development".
11208 (VERSION): Set to "2.18.90".
11209 * NEWS: Add 2.19 section.
11211 2013-08-03 David S. Miller <davem@davemloft.net>
11213 * po/ko.po: Update Korean translation from translation project.
11215 2013-08-01 David S. Miller <davem@davemloft.net>
11217 * manual/contrib.texi: Update entry for Siddhesh Poyarekar. Add
11218 entries for Will Newton, Andi Kleen, David Holsgrove, and Ondrej
11221 2013-07-30 David S. Miller <davem@davemloft.net>
11223 * po/fr.po: Update French translation from translation project.
11225 2013-07-28 David S. Miller <davem@davemloft.net>
11227 * po/cs.po: Update Czech translation from translation project.
11229 * po/sv.po: Update Swedish translation from translation project.
11231 2013-07-27 David S. Miller <davem@davemloft.net>
11233 * po/eo.po: Update Esperanto translation from translation project.
11235 * po/vi.po: Update Vietnamese translation from translation project.
11237 * po/de.po: Update German translation from translation project.
11239 2013-07-26 David S. Miller <davem@davemloft.net>
11241 * po/bg.po: Update Bulgarian translation from translation project.
11243 * po/nl.po: Update Dutch translation from translation project.
11244 * po/pl.po: Update Polish translation from translation project.
11245 * po/ru.po: Update Russian translation from translation project.
11247 2013-07-24 David S. Miller <davem@davemloft.net>
11249 * po/libc.pot: Update.
11251 2013-07-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11253 * sysdeps/unix/sysv/linux/powerpc/dl-static.c: New file to support
11254 variable page size.
11255 * sysdeps/unix/sysv/linux/powerpc/ldsodefs.h: Likewise.
11256 * sysdeps/unix/sysv/linux/powerpc/Makefile: Build dl-static in elf.
11257 * sysdeps/unix/sysv/linux/powerpc/Versions: Add _dl_var_init.
11259 2013-07-22 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
11261 * sysdeps/s390/fpu/libm-test-ulps: Refresh.
11263 2013-07-21 Siddhesh Poyarekar <siddhesh@redhat.com>
11264 Andreas Schwab <schwab@suse.de>
11265 Roland McGrath <roland@hack.frob.com>
11266 Joseph Myers <joseph@codesourcery.com>
11267 Carlos O'Donell <carlos@redhat.com>
11270 * config.h.in: Define HAVE_PT_CHOWN.
11271 * config.make.in (build-pt-chown): New variable.
11272 * configure.in (--enable-pt_chown): New configure option.
11273 * configure: Regenerate.
11274 * login/Makefile: Include Makeconfig. Build pt_chown only if
11275 build-pt-chown is enabled.
11276 * sysdeps/unix/grantpt.c (grantpt) [HAVE_PT_CHOWN]: Spawn
11277 pt_chown to fix pty ownership.
11278 * sysdeps/unix/sysv/linux/grantpt.c [HAVE_PT_CHOWN]: Define
11280 * manual/install.texi (Configuring and compiling): Mention
11281 --enable-pt_chown. Add @findex for grantpt.
11282 * INSTALL: Regenerate.
11284 2013-07-20 David S. Miller <davem@davemloft.net>
11286 * sysdeps/sparc/fpu/libm-test-ulps: Update ULPs to handle minor
11287 difference between 32-bit and 64-bit.
11289 2013-07-15 Carlos O'Donell <carlos@redhat.com>
11292 * sysdeps/unix/sysv/linux/Makefile ($(objpfx)bits/syscall%h):
11293 Avoid system header dependency with -ffreestanding.
11294 ($(objpfx)bits/syscall%d): Likewise.
11296 2013-07-13 David S. Miller <davem@davemloft.net>
11298 * math/libm-test.inc (casin_test_data): Annotate more cases of missing
11299 underflows from atanl/atan2l due to bug 15319.
11300 (casinh_test_data): Likewise.
11302 2013-07-07 David S. Miller <davem@davemloft.net>
11304 * sysdeps/sparc/fpu/libm-test-ulps: Regenerate from scratch.
11306 2013-07-05 Jeroen Albers <_jeroen_@yahoo.com>
11308 * sysdeps/i386/fpu/libm-test-ulps: Update.
11309 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11311 2013-07-04 Siddhesh Poyarekar <siddhesh@redhat.com>
11313 * configure.in (--enable-lock-elision): Fix message text.
11314 * INSTALL: Regenerate.
11315 * configure: Regenerate.
11317 2013-07-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11319 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
11321 2013-07-03 Andreas Jaeger <aj@suse.de>
11323 * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_LISTEN): Add
11325 (PTRACE_PEEKSIGINFO): Add new value from Linux 3.10.
11326 (ptrace_peeksiginfo_args): Add.
11327 (__ptrace_peeksiginfo_flags): Add.
11328 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
11329 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
11330 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
11332 2013-07-03 Allan McRae <allan@archlinux.org>
11334 * sysdeps/i386/fpu/libm-test-ulps: Update.
11336 2013-07-02 David S. Miller <davem@davemloft.net>
11338 * sysdeps/sparc/fpu/libm-test-ulps: Update.
11340 2013-07-02 Markus Trippelsdorf <markus@trippelsdorf.de>
11342 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
11344 2013-07-02 Joseph Myers <joseph@codesourcery.com>
11346 * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
11347 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11349 2013-07-02 Andi Kleen <ak@linux.intel.com>
11351 * config.h.in (ENABLE_LOCK_ELISION): Add.
11352 * configure.in (--enable-lock-elision): Add option.
11353 * manual/install.texi: Document --enable lock elision.
11354 * configure: Regenerate
11355 * INSTALL: Regenerate.
11357 2013-07-02 H.J. Lu <hongjiu.lu@intel.com>
11359 * sysdeps/i386/i686/multiarch/strcasecmp.S (__strcasecmp): Enable
11360 SSE4.2 strcasecmp for libc.a.
11361 * sysdeps/i386/i686/multiarch/strncase.S (__strncasecmp): Likewise.
11363 2013-07-02 Joseph Myers <joseph@codesourcery.com>
11366 * soft-fp/op-common.h (_FP_FMA): New macro.
11367 * soft-fp/op-1.h (_FP_FRAC_HIGHBIT_DW_1): New macro.
11368 (_FP_MUL_MEAT_DW_1_imm): Likewise. Split out of ...
11369 (_FP_MUL_MEAT_1_imm): ... here.
11370 (_FP_MUL_MEAT_DW_1_wide): New macro. Split out of ...
11371 (_FP_MUL_MEAT_1_wide): ... here.
11372 (_FP_MUL_MEAT_DW_1_hard): Likewise. Split out of ...
11373 (_FP_MUL_MEAT_1_hard): ... here.
11374 * soft-fp/op-2.h (_FP_FRAC_HIGHBIT_DW_2): New macro.
11375 (_FP_MUL_MEAT_DW_2_wide): Likewise. Split out of ...
11376 (_FP_MUL_MEAT_2_wide): ... here.
11377 (_FP_MUL_MEAT_DW_2_wide_3mul): New macro. Split out of ...
11378 (_FP_MUL_MEAT_2_wide_3mul): ... here.
11379 (_FP_MUL_MEAT_DW_2_gmp): New macro. Split out of ...
11380 (_FP_MUL_MEAT_2_gmp): ... here.
11381 * soft-fp/op-4.h (_FP_FRAC_HIGHBIT_DW_4): New macro.
11382 (_FP_MUL_MEAT_DW_4_wide): Likewise. Split out of ...
11383 (_FP_MUL_MEAT_4_wide): ... here.
11384 (_FP_MUL_MEAT_DW_4_gmp): New macro. Split out of ...
11385 (_FP_MUL_MEAT_4_gmp): ... here.
11386 * soft-fp/single.h (_FP_FRACTBITS_DW_S): New macro.
11387 (_FP_WFRACBITS_DW_S): Likewise.
11388 (_FP_WFRACXBITS_DW_S): Likewise.
11389 (_FP_HIGHBIT_DW_S): Likewise.
11390 (FP_FMA_S): Likewise.
11391 (_FP_FRAC_HIGH_DW_S): Likewise.
11392 * soft-fp/double.h (_FP_FRACTBITS_DW_D): New macro.
11393 (_FP_WFRACBITS_DW_D): Likewise.
11394 (_FP_WFRACXBITS_DW_D): Likewise.
11395 (_FP_HIGHBIT_DW_D): Likewise.
11396 (FP_FMA_D): Likewise.
11397 (_FP_FRAC_HIGH_DW_D): Likewise.
11398 * soft-fp/extended.h (_FP_FRACTBITS_DW_E): New macro.
11399 (_FP_WFRACBITS_DW_E): Likewise.
11400 (_FP_WFRACXBITS_DW_E): Likewise.
11401 (_FP_HIGHBIT_DW_E): Likewise.
11402 (FP_FMA_E): Likewise.
11403 (_FP_FRAC_HIGH_DW_E): Likewise.
11404 * soft-fp/quad.h (_FP_FRACTBITS_DW_Q): New macro.
11405 (_FP_WFRACBITS_DW_Q): Likewise.
11406 (_FP_WFRACXBITS_DW_Q): Likewise.
11407 (_FP_HIGHBIT_DW_Q): Likewise.
11408 (FP_FMA_Q): Likewise.
11409 (_FP_FRAC_HIGH_DW_Q): Likewise.
11410 * soft-fp/fmasf4.c: New file.
11411 * soft-fp/fmadf4.c: Likewise.
11412 * soft-fp/fmatf4.c: Likewise.
11414 2013-06-28 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
11416 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
11417 bit_Slow_SSE4_2 and bit_Prefer_PMINUB_for_stringop for Intel
11419 * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_SSE4_2): New
11421 (index_Slow_SSE4_2): Likewise.
11422 (index_Prefer_PMINUB_for_stringop): Likewise.
11423 * sysdeps/x86_64/multiarch/strchr.S: Skip SSE4.2 version if
11424 bit_Slow_SSE4_2 is set.
11425 * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
11426 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
11428 2013-06-28 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
11430 * sysdeps/powerpc/Makefile: Add comment about generating an offset to
11431 rtld_global._dl_hwcap2.
11432 * sysdeps/powerpc/bits/hwcap.h: Added PPC_FEATURE2_* definitions for
11434 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_cap_flags): Extend for
11435 POWER8 feature descriptions defined in _dl_hwcap2.
11436 * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Implement AT_HWCAP2
11437 string handling for POWER8 feature bits.
11438 (_DL_HWCAP_COUNT): Increment to 64 to cover AT_HWCAP2 bits.
11439 (_DL_HWCAP_LAST): New definition for position of last AT_HWCAP bit in
11440 _dl_powerpc_cap_flags.
11441 (_DL_HWCAP2_LAST): New definition for last usable bit of AT_HWCAP2.
11442 * sysdeps/powerpc/rtld-global-offsets.sym
11443 (RTLD_GLOBAL_RO_DL_HWCAP2_OFFSET): New offset macro to locate
11444 _dl_hwcap2 in the rtld_global_ro structure.
11446 2013-06-28 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
11448 * elf/dl-support.c (_dl_hwcap2): Add a new hwcap field for more
11449 hardware capabilities in support of AT_HWCAP2.
11450 (_dl_aux_init): Read AT_HWCAP2 into GLRO(dl_hwcap2).
11451 * elf/dl-sysdep.c (_dl_sysdep_start): Read AT_HWCAP2 into
11453 (_dl_show_auxv): Add support for calling _dl_procinfo to display
11454 AT_HWCAP2. If a platform doesn't chose to handle displaying AT_HWCAP2
11455 explicitly the unknown a_type display mechanism is used.
11456 * misc/getauxval.c (__getauxval): Return GLRO(dl_hwcap2) on AT_HWCAP2.
11457 * sysdeps/generic/ldsodefs.h (rtld_global_ro): Add _dl_hwcap2 as a new
11459 * sysdeps/generic/dl-procinfo.h (_dl_procinfo): Add TYPE parameter
11460 to macro prototype for AT_HWCAP2 support.
11461 * sysdeps/i386/dl-procinfo.h: Likewise.
11462 * sysdeps/s390/dl-procinfo.h: Likewise.
11463 * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Add TYPE parameter to
11464 macro prototype for AT_HWCAP2 support. Make WORD unsigned long int
11465 rather than signed int. Stub in handler for TYPE == AT_HWCAP2 to
11466 return -1 for unknown a_type display fallback.
11467 * sysdeps/sparc/dl-procinfo.h: Likewise.
11468 * sysdeps/unix/sysv/linux/i386/dl-procinfo.h: Likewise.
11469 * sysdeps/unix/sysv/linux/s390/dl-procinfo.h: Likewise.
11471 2013-06-28 Joseph Myers <joseph@codesourcery.com>
11473 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Shift by page_shift
11474 instead of MMAP2_PAGE_SHIFT in call to INLINE_SYSCALL.
11476 2013-06-28 Pierre Ynard <linkfanel@yahoo.fr>
11479 * elf/dl-load.c (_dl_map_object_from_fd): Test for failure of
11480 mprotect making __stack_prot writable.
11482 2013-06-28 Nathan Froyd <froydnj@codesourcery.com>
11483 Joseph Myers <joseph@codesourcery.com>
11485 * elf/dl-profile.c (struct here_cg_arc_record): Declare 'count'
11486 as being properly aligned.
11488 2013-06-28 Maciej W. Rozycki <macro@codesourcery.com>
11490 * dlfcn/modstatic5.c: New file.
11491 * dlfcn/tststatic5.c: New file.
11492 * dlfcn/Makefile (tests): Add tststatic5.
11493 (tests-static): Likewise.
11494 (modules-names): Add modstatic5.
11495 (tststatic5-ENV): New variable.
11496 ($(objpfx)tststatic5, $(objpfx)tststatic5.out): New dependencies.
11499 * elf/dl-support.c (_dl_main_map): New variable.
11500 (_dl_ns): Use it to initialize [LM_ID_BASE] element.
11501 (_dl_nns, _dl_load_adds): Set to 1.
11502 (_dl_initial_searchlist): Refer to _dl_main_map.
11503 (_dl_non_dynamic_init): Initialize _dl_main_map.l_origin.
11504 * elf/dl-load.c (_dl_dst_substitute) [!SHARED]: Remove fallback
11505 call to _dl_get_origin.
11506 * elf/dl-open.c (dl_open_worker): Remove !SHARED special casing
11508 (_dl_open) [!SHARED]: Remove code to initialize GL(dl_nns).
11509 * dlfcn/modstatic3.c: New file.
11510 * dlfcn/tststatic3.c: New file.
11511 * dlfcn/tststatic4.c: New file.
11512 * dlfcn/Makefile (tests): Add tststatic3 and tststatic4.
11513 (tests-static): Likewise.
11514 (modules-names): Add modstatic3.
11515 (tststatic3-ENV, tststatic4-ENV): New variables.
11516 ($(objpfx)tststatic3, $(objpfx)tststatic3.out): New dependencies.
11517 ($(objpfx)tststatic4, $(objpfx)tststatic4.out): Likewise.
11519 2013-06-26 Joseph Myers <joseph@codesourcery.com>
11521 * configure.in (CC): Require GCC version 4.4 or later.
11522 * configure: Regenerated.
11523 * manual/install.texi (Tools for Compilation): Update GCC version
11525 * INSTALL: Regenerated.
11527 2013-06-26 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
11530 * string/test-memcmp.c (check2): New.
11531 (main): Call check2.
11533 * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Fix buffers overrun.
11535 2013-06-26 Maciej W. Rozycki <macro@codesourcery.com>
11538 * elf/dl-open.c (_dl_open) [!SHARED]: Move call to DL_STATIC_INIT
11540 (dl_open_worker) [!SHARED]: ... here.
11542 2013-06-26 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
11544 * elf/elf.h (AT_HWCAP2): Add a new a_type entry.
11546 2013-06-25 Richard Henderson <rth@redhat.com>
11548 * locale/programs/locarchive.c: Include <libc-internal.h>
11550 2013-06-25 Joseph Myers <joseph@codesourcery.com>
11552 * manual/texinfo.tex: Update to version 2013-06-21.17, with
11553 trailing whitespace removed.
11555 2013-06-24 Mike Frysinger <vapier@gentoo.org>
11558 * locale/locarchive.h (struct locarhandle): Add mmap_base and mmap_len.
11559 * locale/programs/locarchive.c: Include libc-mmap.h.
11560 (prepare_address_space): Take two new outputs (the mmap base and len).
11561 Align p to MAP_FIXED_ALIGNMENT. Set mmap base and len to the right
11563 (create_archive): Declare new mmap base and len values for
11564 prepare_address_space, and store the result in ah.
11565 (file_data_available_p): Replace pagesz with MAP_FIXED_ALIGNMENT.
11566 (enlarge_archive): If ah->mmap_base is not NULL, use that and
11567 ah->mmap_len to unmap rather than ah->addr and ah->reserved.
11568 Declare new mmap base and len values for
11569 prepare_address_space, and store the result in new_ah.
11570 (open_archive): Declare new mmap base and len values for
11571 prepare_address_space, and store the result in ah.
11572 (close_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 * sysdeps/generic/libc-mmap.h: New file.
11576 2013-06-24 Mike Frysinger <vapier@gentoo.org>
11578 * include/libc-internal.h (ALIGN_DOWN): New helper macro.
11579 (ALIGN_UP): Likewise.
11580 (PTR_ALIGN_DOWN): Likewise.
11581 (PTR_ALIGN_UP): Likewise.
11583 2013-06-24 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
11585 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add "power8"
11586 entry mapped to PPC_PLATFORM_POWER8.
11587 * sysdeps/powerpc/dl-procinfo.h (_DL_PLATFORMS_COUNT): Increment for
11589 (PPC_PLATFORM_POWER8): Add new platform bit for POWER8 processor.
11590 (_dl_string_platform): Add case for exporting platform position for
11592 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Chain
11593 search path to sysdeps/powerpc/powerpc32/power8 directory.
11594 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Chain
11595 search path to sysdeps/powerpc/powerpc64/power8 directory.
11596 * sysdeps/powerpc/powerpc32/power8/Implies: Chain search path to
11597 power7 directories.
11598 * sysdeps/powerpc/powerpc64/power8/Implies: Chain search path to
11599 power7 directories.
11601 2013-06-24 Siddhesh Poyarekar <siddhesh@redhat.com>
11603 * INSTALL: Regenerate.
11605 * nscd/connections.c (nscd_init): Fix comment.
11607 2013-06-22 Joseph Myers <joseph@codesourcery.com>
11609 * sysdeps/unix/sysv/linux/libc_fatal.c: Include <string.h>.
11612 * soft-fp/op-4.h (__FP_FRAC_ADD_3): Rename variables _c1 and _c2
11613 to __FP_FRAC_ADD_3_c1 and __FP_FRAC_ADD_3_c2.
11615 2013-06-21 Maciej W. Rozycki <macro@codesourcery.com>
11617 * elf/dl-dst.h (DL_DST_REQUIRED): Remove call to
11619 (DL_DST_REQ_STATIC): Remove macro.
11621 2013-06-21 Joseph Myers <joseph@codesourcery.com>
11624 * soft-fp/op-common.h (_FP_FROM_INT): Do not call _FP_FRAC_SLL
11625 with a shift of 0 bits.
11627 2013-06-21 Maciej W. Rozycki <macro@codesourcery.com>
11629 * dlfcn/Makefile (tststatic2-ENV): Redefine in terms of
11632 2013-06-21 Kaz Kojima <kkojima@rr.iij4u.or.jp>
11635 * sysdeps/sh/sh4/fpu/fgetexcptflg.c: New file.
11637 2013-06-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11639 * config.h.in (HAVE_CC_INHIBIT_LOOP_TO_LIBCALL): New define.
11640 * configure.in (libc_cv_cc_loop_to_function): Check if compiler
11641 accepts -fno-tree-loop-distribute-patterns.
11642 * include/libc-symbols.h (inhibit_loop_to_libcall): New macro.
11643 * string/memmove.c (MEMMOVE): Disable loop transformation to avoid
11645 * string/memset.c (memset): Likewise.
11646 * string/test-memmove.c (simple_memmove): Disable loop transformation
11648 * string/test-memset.c (simple_memset): Likewise.
11649 * benchtests/bench-memmove.c (simple_memmove): Likewise.
11650 * benchtests/bench-memset.c (simple_memset): Likewise.
11651 * configure: Regenerated.
11653 2013-06-20 Joseph Myers <joseph@codesourcery.com>
11655 * math/test-misc.c (main): Ignore fesetround failure when failures
11656 of subsequent rounding tests would be ignored.
11659 * math/fedisblxcpt.c (fedisableexcept): Return 0.
11660 * math/feenablxcpt.c (feenableexcept): Return 0 for argument 0.
11661 * math/fegetenv.c (__fegetenv): Return 0.
11662 * math/fegetexcept.c (fegetexcept): Return 0.
11663 * math/fegetround.c (fegetround) [FE_TONEAREST]: Return
11665 * math/feholdexcpt.c (feholdexcept): Return 0.
11666 * math/fesetenv.c (__fesetenv): Return 0.
11667 * math/fesetround.c (fesetround) [FE_TONEAREST]: Return 0 for
11668 argument FE_TONEAREST.
11669 * math/feupdateenv.c (__feupdateenv): Return 0.
11670 * math/fgetexcptflg.c (__fegetexceptflag): Return 0.
11672 2013-06-18 Roland McGrath <roland@hack.frob.com>
11674 * elf/rtld-Rules (rtld-compile-command.S): New variable.
11675 (rtld-compile-command.s, rtld-compile-command.c): New variables.
11676 ($(objpfx)rtld-%.os rules): Use them.
11678 2013-06-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11680 * nptl/sysdeps/powerpc/tls.h (tcbhead_t): Add Event-Based Branch
11683 2013-06-17 Roland McGrath <roland@hack.frob.com>
11685 * scripts/sysd-rules.awk: Sort sysd_rules_patterns by descending
11686 length of target pattern, then descending length of dependency pattern.
11687 * configure.in (AWK): Require gawk 3.1.2 or newer.
11688 * manual/install.texi (Tools for Compilation): Say that we do.
11689 * configure: Regenerated.
11691 * Makerules [inhibit-sysdep-asm] (check-inhibit-asm): Variable removed.
11692 ($(common-objpfx)sysd-rules): Replace shell logic with running ...
11693 * scripts/sysd-rules.awk: ... this new script.
11694 * sysdeps/mach/hurd/Makefile (inhibit-sysdep-asm): Use a regexp rather
11695 than a glob-style pattern.
11697 2013-06-17 Joseph Myers <joseph@codesourcery.com>
11699 * math/test-misc.c (main): Do not treat incorrectly rounded
11700 conversions as failure unless ROUNDING_TESTS passes.
11702 2013-06-15 Joseph Myers <joseph@codesourcery.com>
11705 * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Save and
11706 restore exception state around main square root computation, then
11707 check for inexactness explicitly.
11709 * math/libm-test.inc (fma_test_data): Add another test.
11711 2013-06-15 Siddhesh Poyarekar <siddhesh@redhat.com>
11713 * manual/threads.texi (Non-POSIX Extensions): New document
11714 node. Document pthread_getattr_default_np and
11715 pthread_setattr_default_np.
11717 * Versions.def (libpthread): Add GLIBC_2.18.
11718 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: Update.
11719 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
11721 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
11723 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
11725 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
11727 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist:
11729 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
11731 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
11733 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
11735 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
11738 2013-06-14 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
11740 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
11741 Set bit_Fast_Unaligned_Load for Intel Silvermont architecture.
11743 2013-06-14 Siddhesh Poyarekar <siddhesh@redhat.com>
11744 H.J. Lu <hjl.tools@gmail.com>
11747 * sysdeps/x86_64/rtld-memset.c: Remove file.
11748 * sysdeps/x86_64/rtld-memset.S: New file.
11750 2013-06-14 Joseph Myers <joseph@codesourcery.com>
11752 * stdlib/tst-strtod-round.c: Include <math-tests.h>.
11753 (test_in_one_mode): Take arguments for whether the rounding mode
11754 is supported for each floating-point type.
11755 (do_test): Pass new arguments to test_in_one_mode using
11758 2013-06-13 Roland McGrath <roland@hack.frob.com>
11760 * posix/tst-waitid.c (do_test): Distinguish different instances of
11761 stopped/continued in CHECK_SIGCHLD uses. Insert a delay between
11762 sending SIGSTOP and calling waitpid to ensure SIGCHLD gets delivered
11763 before entering the kernel for waitpid.
11765 2013-06-13 Siddhesh Poyarekar <siddhesh@redhat.com>
11767 * NEWS: Fix note on clock function precision. Text by Roland
11770 2013-06-13 Roland McGrath <roland@hack.frob.com>
11772 * elf/Makefile ($(objpfx)ld.so): Link into a temporary file and move
11773 it into place only when and if the sanity check passes.
11775 2013-06-13 Joseph Myers <joseph@codesourcery.com>
11777 * stdlib/gen-tst-strtod-round.c (round_str): Always generate
11778 output for whether conversion result is exact. Take argument
11779 indicating whether type is IBM long double.
11780 (round_for_all): Change need_exact field to ibm_ld.
11781 * stdlib/tst-strtod-round.c (struct exactness): New type.
11782 (struct test): Change bool ld_ok field to struct exactness exact.
11783 (TEST): Update all definitions for change to field.
11784 (tests): Regenerate array contents.
11785 (test_in_one_mode): Take pointer to new field instead of old ld_ok
11786 field value. Check for IBM long double here.
11787 (do_test): Update calls to test_in_one_mode.
11789 2013-06-13 Siddhesh Poyarekar <siddhesh@redhat.com>
11792 * sysdeps/unix/sysv/linux/clock.c (clock): Use result from
11793 CLOCK_PROCESS_CPUTIME_ID clock instead of __times.
11795 2013-06-12 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11798 * sysdeps/generic/symbol-hacks.h: Add workaround for memset/memmove calls
11799 generated by the compiler on loop optimizations.
11800 * sysdeps/wordsize-32/symbol-hacks.h: Include next symbol-hacks.h for
11801 general definitions.
11803 2013-06-12 Joseph Myers <joseph@codesourcery.com>
11805 * math/bug-nextafter.c: Include <math-tests.h>.
11806 (main): Only test for exceptions if EXCEPTION_TESTS is true for
11808 * math/bug-nexttoward.c: Include <math-tests.h>.
11809 (main): Only test for exceptions if EXCEPTION_TESTS is true for
11811 * math/test-misc.c: Include <math-tests.h>.
11812 (main): Only test for exceptions if EXCEPTION_TESTS is true for
11815 2013-06-12 Andreas Jaeger <aj@suse.de>
11817 * po/ia.po: Update Interlingua translation from translation
11820 2013-06-12 Siddhesh Poyarekar <siddhesh@redhat.com>
11822 * include/fenv.h: Include stdbool.h.
11823 (struct rm_ctx): New structure.
11824 * sysdeps/generic/math_private.h (SET_RESTORE_ROUND_GENERIC):
11826 (SET_RESTORE_ROUND): Define using SET_RESTORE_ROUND_GENERIC.
11827 (SET_RESTORE_ROUNDF): Likewise.
11828 (SET_RESTORE_ROUNDL): Likewise.
11829 (SET_RESTORE_ROUND_NOEX): Likewise.
11830 (SET_RESTORE_ROUND_NOEXF): Likewise.
11831 (SET_RESTORE_ROUND_NOEXL): Likewise.
11832 (SET_RESTORE_ROUND_53BIT): Likewise.
11833 [HAVE_RM_CTX] (libc_feresetround_noex_ctx): Define macro.
11834 (libc_feresetround_noexf_ctx): Likewise.
11835 (libc_feresetround_noexl_ctx): Likewise.
11836 (libc_feholdsetround_53bit_ctx): Likewise.
11837 (libc_feresetround_53bit_ctx): Likewise.
11838 * sysdeps/i386/fpu/fenv_private.h (HAVE_RM_CTX): Define macro.
11839 (libc_feholdexcept_setround_sse_ctx): New function.
11840 (libc_fesetenv_sse_ctx): Likewise.
11841 (libc_feupdateenv_sse_ctx): Likewise.
11842 (libc_feholdexcept_setround_387_prec_ctx): Likewise.
11843 (libc_feholdexcept_setround_387_ctx): Likewise.
11844 (libc_feholdexcept_setround_387_53bit_ctx): Likewise.
11845 (libc_feholdsetround_387_prec_ctx): Likewise.
11846 (libc_feholdsetround_387_ctx): Likewise.
11847 (libc_feholdsetround_387_53bit_ctx): Likewise.
11848 (libc_feholdsetround_sse_ctx): Likewise.
11849 (libc_feresetround_sse_ctx): Likewise.
11850 (libc_feresetround_387_ctx): Likewise.
11851 (libc_feupdateenv_387_ctx): Likewise.
11852 (libc_feholdexcept_setroundf_ctx): Define macro.
11853 (libc_fesetenvf_ctx): Likewise.
11854 (libc_feupdateenvf_ctx): Likewise.
11855 (libc_feholdsetroundf_ctx): Likewise.
11856 (libc_feresetroundf_ctx): Likewise.
11857 (libc_feholdexcept_setround_ctx): Likewise.
11858 (libc_fesetenv_ctx): Likewise.
11859 (libc_feupdateenv_ctx): Likewise.
11860 (libc_feholdsetround_ctx): Likewise.
11861 (libc_feresetround_ctx): Likewise.
11862 (libc_feholdexcept_setroundl_ctx): Likewise.
11863 (libc_feupdateenvl_ctx): Likewise.
11864 (libc_feholdsetroundl_ctx): Likewise.
11865 (libc_feresetroundl_ctx): Likewise.
11866 [!__SSE2_MATH__] (libc_feholdsetround_53bit_ctx): Likewise.
11867 (libc_feresetround_53bit_ctx): Likewise.
11869 2013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
11871 * locale/iso-639.def: Convert to UTF-8.
11873 2013-06-11 Joseph Myers <joseph@codesourcery.com>
11875 * sysdeps/generic/math-tests.h (EXCEPTION_TESTS_float): New macro.
11876 (EXCEPTION_TESTS_double): Likewise.
11877 (EXCEPTION_TESTS_long_double): Likewise.
11878 (EXCEPTION_TESTS): Likewise.
11879 * math/libm-test.inc (test_exceptions): Only test exceptions if
11880 EXCEPTION_TESTS (FLOAT).
11882 2013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
11884 * benchtests/Makefile (string-bench): Add strcpy_chk and
11886 * benchtests/bench-stpcpy_chk-ifunc.c: New file.
11887 * benchtests/bench-stpcpy_chk.c: New file.
11888 * benchtests/bench-strcpy_chk-ifunc.c: New file.
11889 * benchtests/bench-strcpy_chk.c: New file.
11890 * debug/test-strcpy_chk.c (do_one_test): Remove HP_TIMING
11892 (do_test): Likewise.
11894 2013-06-11 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
11896 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add ppc405,
11897 ppc440, ppc464, and ppc476, merging from ports/ dl-procinfo.c.
11898 * sysdeps/powerpc/dl-procinfo.h: Fix whitespace by correcting spaces
11899 with tabs where appropriate.
11900 [PPC_PLATFORM_PPC405]: Define new platform merging from ports/
11902 [PPC_PLATFORM_PPC440]: Likewise.
11903 [PPC_PLATFORM_PPC464]: Likewise.
11904 [PPC_PLATFORM_PPC476]: Likewise.
11905 (_dl_string_platform): Add support for detecting ppc405, ppc440,
11906 ppc464, and ppc476 platform strings merging from ports/
11909 2013-06-11 Andreas Schwab <schwab@suse.de>
11912 * iconvdata/big5hkscs.c (big5hkscs_to_ucs, from_ucs4)
11913 (from_ucs4_idx): Regenerate.
11914 (MIN_NEEDED_FROM, MAX_NEEDED_FROM, MIN_NEEDED_TO): Remove macros.
11915 (FROM_LOOP_MIN_NEEDED_FROM, FROM_LOOP_MAX_NEEDED_FROM)
11916 (FROM_LOOP_MIN_NEEDED_TO, FROM_LOOP_MAX_NEEDED_TO)
11917 (TO_LOOP_MIN_NEEDED_FROM, TO_LOOP_MAX_NEEDED_FROM)
11918 (TO_LOOP_MIN_NEEDED_TO, TO_LOOP_MAX_NEEDED_TO, PREPARE_LOOP)
11919 (EXTRA_LOOP_ARGS, SAVE_RESET_STATE, EMIT_SHIFT_TO_INIT)
11920 (EXTRA_LOOP_DECLS, MAX_NEEDED_OUTPUT): New macros.
11921 (MIN_NEEDED_INPUT, MAX_NEEDED_INPUT, MIN_NEEDED_OUTPUT): Define
11922 from FROM_LOOP and TO_LOOP specific macros.
11923 (BODY): Handle combining characters.
11924 * iconvdata/BIG5HKSCS.irreversible: Update.
11925 * iconvdata/BIG5HKSCS.precomposed: New file.
11926 * iconvdata/testdata/BIG5HKSCS: Regenerate to cover all assigned
11928 * iconvdata/testdata/BIG5HKSCS..UTF8: Update.
11930 2013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
11932 * include/sys/time.h: Fix indentation and add copyright header.
11934 * string/test-memccpy.c (do_one_test): Remove HP_TIMING code.
11935 (do_test): Likewise.
11936 * string/test-memchr.c (do_one_test): Likewise.
11937 (do_test): Likewise.
11938 * string/test-memcmp.c (do_one_test): Likewise.
11939 (do_test): Likewise.
11940 * string/test-memcpy.c (do_one_test): Likewise.
11941 (do_test): Likewise.
11942 * string/test-memmem.c (do_one_test): Likewise.
11943 (do_test): Likewise.
11944 (do_random_tests): Likewise.
11945 * string/test-memmove.c (do_one_test): Likewise.
11946 (do_test): Likewise.
11947 * string/test-memset.c (do_one_test): Likewise.
11948 (do_test): Likewise.
11949 * string/test-rawmemchr.c (do_one_test): Likewise.
11950 (do_test): Likewise.
11951 * string/test-strcasecmp.c (do_one_test): Likewise.
11952 (do_test): Likewise.
11953 * string/test-strcasestr.c (do_one_test): Likewise.
11954 (do_test): Likewise.
11955 * string/test-strcat.c (do_one_test): Likewise.
11956 (do_test): Likewise.
11957 * string/test-strchr.c (do_one_test): Likewise.
11958 (do_test): Likewise.
11959 * string/test-strcmp.c (do_one_test): Likewise.
11960 (do_test): Likewise.
11961 * string/test-strcpy.c (do_one_test): Likewise.
11962 (do_test): Likewise.
11963 * string/test-string.h: Likewise.
11964 (test_init): Likewise.
11965 * string/test-strlen.c (do_one_test): Likewise.
11966 (do_test): Likewise.
11967 * string/test-strncasecmp.c (do_one_test): Likewise.
11968 (do_test): Likewise.
11969 * string/test-strncat.c (do_one_test): Likewise.
11970 (do_test): Likewise.
11971 * string/test-strncmp.c (do_one_test): Likewise.
11972 (do_test_limit): Likewise.
11973 (do_test): Likewise.
11974 * string/test-strncpy.c (do_one_test): Likewise.
11975 (do_test): Likewise.
11976 * string/test-strnlen.c (do_one_test): Likewise.
11977 (do_test): Likewise.
11978 * string/test-strpbrk.c (do_one_test): Likewise.
11979 (do_test): Likewise.
11980 * string/test-strrchr.c (do_one_test): Likewise.
11981 (do_test): Likewise.
11982 * string/test-strspn.c (do_one_test): Likewise.
11983 (do_test): Likewise.
11984 * string/test-strstr.c (do_one_test): Likewise.
11985 (do_test): Likewise.
11987 * benchtests/Makefile (string-bench): Add string benchmarks.
11988 * benchtests/bench-bcopy-ifunc.c: New file.
11989 * benchtests/bench-bcopy.c: New file.
11990 * benchtests/bench-bzero-ifunc.c: New file.
11991 * benchtests/bench-bzero.c: New file.
11992 * benchtests/bench-memccpy-ifunc.c: New file.
11993 * benchtests/bench-memccpy.c: New file.
11994 * benchtests/bench-memchr-ifunc.c: New file.
11995 * benchtests/bench-memchr.c: New file.
11996 * benchtests/bench-memcmp-ifunc.c: New file.
11997 * benchtests/bench-memcmp.c: New file.
11998 * benchtests/bench-memmem-ifunc.c: New file.
11999 * benchtests/bench-memmem.c: New file.
12000 * benchtests/bench-memmove-ifunc.c: New file.
12001 * benchtests/bench-memmove.c: New file.
12002 * benchtests/bench-mempcpy-ifunc.c: New file.
12003 * benchtests/bench-mempcpy.c: New file.
12004 * benchtests/bench-memset-ifunc.c: New file.
12005 * benchtests/bench-memset.c: New file.
12006 * benchtests/bench-rawmemchr-ifunc.c: New file.
12007 * benchtests/bench-rawmemchr.c: New file.
12008 * benchtests/bench-stpcpy-ifunc.c: New file.
12009 * benchtests/bench-stpcpy.c: New file.
12010 * benchtests/bench-stpncpy-ifunc.c: New file.
12011 * benchtests/bench-stpncpy.c: New file.
12012 * benchtests/bench-strcasecmp-ifunc.c: New file.
12013 * benchtests/bench-strcasecmp.c: New file.
12014 * benchtests/bench-strcasestr-ifunc.c: New file.
12015 * benchtests/bench-strcasestr.c: New file.
12016 * benchtests/bench-strcat-ifunc.c: New file.
12017 * benchtests/bench-strcat.c: New file.
12018 * benchtests/bench-strchr-ifunc.c: New file.
12019 * benchtests/bench-strchr.c: New file.
12020 * benchtests/bench-strchrnul-ifunc.c: New file.
12021 * benchtests/bench-strchrnul.c: New file.
12022 * benchtests/bench-strcmp-ifunc.c: New file.
12023 * benchtests/bench-strcmp.c: New file.
12024 * benchtests/bench-strcpy-ifunc.c: New file.
12025 * benchtests/bench-strcpy.c: New file.
12026 * benchtests/bench-strcspn-ifunc.c: New file.
12027 * benchtests/bench-strcspn.c: New file.
12028 * benchtests/bench-strlen-ifunc.c: New file.
12029 * benchtests/bench-strlen.c: New file.
12030 * benchtests/bench-strncasecmp-ifunc.c: New file.
12031 * benchtests/bench-strncasecmp.c: New file.
12032 * benchtests/bench-strncat-ifunc.c: New file.
12033 * benchtests/bench-strncat.c: New file.
12034 * benchtests/bench-strncmp-ifunc.c: New file.
12035 * benchtests/bench-strncmp.c: New file.
12036 * benchtests/bench-strncpy-ifunc.c: New file.
12037 * benchtests/bench-strncpy.c: New file.
12038 * benchtests/bench-strnlen-ifunc.c: New file.
12039 * benchtests/bench-strnlen.c: New file.
12040 * benchtests/bench-strpbrk-ifunc.c: New file.
12041 * benchtests/bench-strpbrk.c: New file.
12042 * benchtests/bench-strrchr-ifunc.c: New file.
12043 * benchtests/bench-strrchr.c: New file.
12044 * benchtests/bench-strspn-ifunc.c: New file.
12045 * benchtests/bench-strspn.c: New file.
12046 * benchtests/bench-strstr-ifunc.c: New file.
12047 * benchtests/bench-strstr.c: New file.
12049 * benchtests/Makefile: Disable parallel execution of targets.
12050 (string-bench): Add memcpy.
12051 (benchset): New variable to store a list of benchmark sets.
12052 (bench-func): Renamed from bench.
12053 (bench-set): New target.
12054 (bench): Depend on bench-func and bench-set.
12055 * benchtests/README: Add section on benchmark sets.
12056 * benchtests/bench-memcpy-ifunc.c: New file.
12057 * benchtests/bench-memcpy.c: New file.
12058 * benchtests/bench-string.h: New file.
12060 2013-06-11 Andreas Schwab <schwab@suse.de>
12063 * nscd/connections.c (nscd_run_worker): Always zero-terminate key.
12064 * nscd/netgroupcache.c (addgetnetgrentX): Properly handle absent
12065 values in the triple.
12066 * nscd/nscd_netgroup.c (__nscd_setnetgrent): Include zero
12067 terminator in the group key.
12069 2013-06-11 Andreas Jaeger <aj@suse.de>
12071 * po/zh_TW.po: Update Chinese (traditional) translation from
12072 translation project.
12074 2013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
12076 * include/time.h (__clock_gettime): Add libc_hidden_proto.
12077 * rt/clock_getcpuclockid.c (clock_getcpuclockid): Rename to
12078 __clock_getcpuclockid. Add weak_alias and libc_hidden_def.
12079 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
12080 (clock_getcpuclockid): Likewise.
12081 * rt/clock_getres.c (clock_getres): Rename to __clock_getres.
12082 Add weak_alias and libc_hidden_def.
12083 * sysdeps/posix/clock_getres.c (clock_getres): Likewise.
12084 * rt/clock_gettime.c (clock_gettime): Rename to
12085 __clock_gettime. Add weak_alias and libc_hidden_def.
12086 * sysdeps/unix/clock_gettime.c (clock_gettime): Likewise.
12087 * rt/clock_nanosleep.c (clock_nanosleep): Rename to
12088 __clock_nanosleep. Add weak_alias and libc_hidden_def.
12089 * sysdeps/unix/clock_nanosleep.c (clock_nanosleep): Likewise.
12090 * sysdeps/unix/sysv/linux/clock_nanosleep.c (clock_nanosleep):
12092 * rt/clock_settime.c (clock_settime): Rename to
12093 __clock_settime. Add weak_alias and libc_hidden_def.
12094 * sysdeps/unix/clock_settime.c (clock_settime): Likewise.
12096 2013-06-10 Joseph Myers <joseph@codesourcery.com>
12098 * mach/err_boot.sub: Remove trailing whitespace.
12099 * mach/err_ipc.sub: Likewise.
12100 * mach/err_mach.sub: Likewise.
12102 * sysdeps/generic/math-tests.h (ROUNDING_TESTS_float): New macro.
12103 (ROUNDING_TESTS_double): Likewise.
12104 (ROUNDING_TESTS_long_double): Likewise.
12105 (ROUNDING_TESTS): Likewise.
12106 * math/libm-test.inc: Include <math-tests.h>.
12107 (IF_ROUND_INIT_FE_DOWNWARD): Use ROUNDING_TESTS.
12108 (IF_ROUND_INIT_FE_TONEAREST): Likewise.
12109 (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
12110 (IF_ROUND_INIT_FE_UPWARD): Likewise.
12112 2013-06-10 Siddhesh Poyarekar <siddhesh@redhat.com>
12114 * benchtests/Makefile (CPPFLAGS-nonlib): Append values instead
12117 2013-06-08 Joseph Myers <joseph@codesourcery.com>
12119 * sysdeps/gnu/errlist.awk: Do not generate space at end of
12120 otherwise empty TRANS lines.
12121 * sysdeps/gnu/errlist.c: Regenerated.
12123 * catgets/gencat.c (error_print): Use (void) in function
12125 * crypt/crypt_util.c (__init_des): Likewise.
12126 * crypt/speeds.c (Stop): Likewise.
12128 * hurd/hurdmalloc.c (print_malloc_free_list): Likewise.
12129 * inet/ruserpass.c (token): Likewise.
12130 * intl/finddomain.c (_nl_finddomain_subfreeres): Likewise.
12131 * intl/localealias.c (extend_alias_table): Likewise.
12132 * intl/plural-exp.c (init_germanic_plural): Likewise.
12133 * libio/fcloseall.c (__fcloseall): Likewise.
12134 * libio/genops.c (_IO_flush_all): Likewise.
12135 (_IO_flush_all_linebuffered): Likewise.
12136 (_IO_cleanup): Likewise.
12137 (_IO_iter_begin): Likewise.
12138 (_IO_iter_end): Likewise.
12139 (_IO_list_lock): Likewise.
12140 (_IO_list_unlock): Likewise.
12141 (_IO_list_resetlock): Likewise.
12142 * libio/getchar.c (getchar): Likewise.
12143 * libio/getchar_u.c (getchar_unlocked): Likewise.
12144 * libio/getwchar.c (getwchar): Likewise.
12145 * libio/getwchar_u.c (getwchar_unlocked): Likewise.
12146 * libio/oldstdfiles.c (_IO_check_libio): Likewise.
12147 * login/getpt.c (__getpt): Likewise.
12148 * login/tst-utmp.c (main): Likewise.
12149 * malloc/hooks.c (__malloc_check_init): Likewise.
12150 * malloc/malloc.c (__malloc_stats): Likewise.
12151 * malloc/mtrace.c (tr_break): Likewise.
12152 (mtrace): Likewise.
12153 (muntrace): Likewise.
12154 * misc/fstab.c (endfsent): Likewise.
12155 * misc/getclktck.c (__getclktck): Likewise.
12156 * misc/getdtsz.c (__getdtablesize): Likewise.
12157 * misc/gethostid.c (gethostid): Likewise.
12158 * misc/getpagesize.c (__getpagesize): Likewise.
12159 * misc/getsysstats.c (__get_nprocs_conf): Likewise.
12160 (__get_nprocs): Likewise.
12161 (__get_phys_pages): Likewise.
12162 (__get_avphys_pages): Likewise.
12163 * misc/getttyent.c (getttyent): Likewise.
12164 (setttyent): Likewise.
12165 (endttyent): Likewise.
12166 * misc/getusershell.c (getusershell): Likewise.
12167 (endusershell): Likewise.
12168 (setusershell): Likewise.
12169 (initshells): Likewise.
12170 * misc/hsearch.c (__hdestroy): Likewise.
12171 * misc/sync.c (sync): Likewise.
12172 * misc/syslog.c (closelog_internal): Likewise.
12173 (closelog): Likewise.
12174 * misc/ttyslot.c (ttyslot): Likewise.
12175 * misc/vhangup.c (vhangup): Likewise.
12176 * posix/fork.c (__fork): Likewise.
12177 * posix/getegid.c (__getegid): Likewise.
12178 * posix/geteuid.c (__geteuid): Likewise.
12179 * posix/getgid.c (__getgid): Likewise.
12180 * posix/getpid.c (__getpid): Likewise.
12181 * posix/getppid.c (__getppid): Likewise.
12182 * posix/getuid.c (__getuid): Likewise.
12183 * posix/pause.c (pause): Likewise.
12184 * posix/setpgrp.c (setpgrp): Likewise.
12185 * posix/setsid.c (__setsid): Likewise.
12186 * posix/test-vfork.c (noop): Likewise.
12187 * resolv/gethnamaddr.c (_endhtent): Likewise.
12188 (_gethtent): Likewise.
12189 (ht_endhostent): Likewise.
12190 (gethostent): Likewise.
12191 (dns_service): Likewise.
12192 * stdlib/drand48.c (drand48): Likewise.
12193 * stdlib/lrand48.c (lrand48): Likewise.
12194 * stdlib/mrand48.c (mrand48): Likewise.
12195 * stdlib/rand.c (rand): Likewise.
12196 * stdlib/random.c (__random): Likewise.
12197 * stdlib/setenv.c (clearenv): Likewise.
12198 * sunrpc/clnt_tcp.c (clnttcp_abort): Likewise.
12199 * sunrpc/clnt_unix.c (clntunix_abort): Likewise.
12200 * sysdeps/mach/getpagesize.c (__getpagesize): Likewise.
12201 * sysdeps/mach/getsysstats.c (__get_nprocs_conf): Likewise.
12202 (__get_nprocs): Likewise.
12203 (__get_phys_pages): Likewise.
12204 (__get_avphys_pages): Likewise.
12205 * sysdeps/mach/hurd/dl-sysdep.c (__getpid): Likewise.
12206 * sysdeps/mach/hurd/getclktck.c (__getclktck): Likewise.
12207 * sysdeps/mach/hurd/getdtsz.c (__getdtablesize): Likewise.
12208 * sysdeps/mach/hurd/getegid.c (__getegid): Likewise.
12209 * sysdeps/mach/hurd/geteuid.c (__geteuid): Likewise.
12210 * sysdeps/mach/hurd/getgid.c (__getgid): Likewise.
12211 * sysdeps/mach/hurd/gethostid.c (gethostid): Likewise.
12212 * sysdeps/mach/hurd/getlogin.c (getlogin): Likewise.
12213 * sysdeps/mach/hurd/getpid.c (__getpid): Likewise.
12214 * sysdeps/mach/hurd/getppid.c (__getppid): Likewise.
12215 * sysdeps/mach/hurd/getuid.c (__getuid): Likewise.
12216 * sysdeps/mach/hurd/sync.c (sync): Likewise.
12217 * sysdeps/posix/clock.c (clock): Likewise.
12218 * sysdeps/unix/bsd/setsid.c (__setsid): Likewise.
12219 * sysdeps/unix/getpagesize.c (__getpagesize): Likewise.
12220 * sysdeps/unix/sysv/linux/getclktck.c (__getclktck): Likewise.
12221 * sysdeps/unix/sysv/linux/gethostid.c (gethostid): Likewise.
12222 * sysdeps/unix/sysv/linux/getpagesize.c (__getpagesize): Likewise.
12223 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Likewise.
12224 (__get_nprocs_conf): Likewise.
12225 (__get_phys_pages): Likewise.
12226 (__get_avphys_pages): Likewise.
12227 * time/clock.c (clock): Likewise.
12228 * time/tzset.c (__tzname_max): Likewise.
12230 2013-06-07 Joseph Myers <joseph@codesourcery.com>
12232 * bits/byteswap.h [__GNUC__ && !__GNUC_PREREQ (4, 3)]
12233 (__bswap_32): Do not use "register".
12234 * crypt/crypt.c (_ufc_doit_r): Likewise.
12235 * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
12236 * debug/wcscat_chk.c (__wcscat_chk): Likewise.
12237 * gmon/gmon.c (__monstartup): Likewise.
12238 * gmon/mcount.c (_MCOUNT_DECL(frompc, selfpc)): Likewise.
12239 * hurd/hurdmalloc.c (more_memory): Likewise.
12240 (malloc): Likewise.
12242 (realloc): Likewise.
12243 (malloc_fork_prepare): Likewise.
12244 (malloc_fork_parent): Likewise.
12245 (malloc_fork_child): Likewise.
12246 * include/rpc/auth_des.h (xdr_authdes_verf): Likewise.
12247 (_svcauth_des): Likewise.
12248 * inet/inet_lnaof.c (inet_lnaof): Likewise.
12249 * inet/inet_net.c (inet_network): Likewise.
12250 * inet/inet_netof.c (inet_netof): Likewise.
12251 * inet/rcmd.c (__validuser2_sa): Likewise.
12252 * io/fts.c (fts_open): Likewise.
12253 (fts_load): Likewise.
12254 (fts_close): Likewise.
12255 (fts_read): Likewise.
12256 (fts_children): Likewise.
12257 (fts_build): Likewise.
12258 (fts_stat): Likewise.
12259 (fts_sort): Likewise.
12260 (fts_alloc): Likewise.
12261 (fts_lfree): Likewise.
12262 * libio/fileops.c (_IO_new_file_xsputn): Likewise.
12263 (_IO_file_xsgetn): Likewise.
12264 (_IO_file_xsgetn_mmap): Likewise.
12265 * libio/iofopncook.c (_IO_cookie_read): Likewise.
12266 (_IO_cookie_write): Likewise.
12267 * libio/oldfileops.c (_IO_old_file_xsputn): Likewise.
12268 * libio/wfileops.c (_IO_wfile_xsputn): Likewise.
12269 * mach/msgserver.c (__mach_msg_server_timeout): Likewise.
12270 * malloc/obstack.c (_obstack_begin): Likewise.
12271 (_obstack_begin_1): Likewise.
12272 (_obstack_newchunk): Likewise.
12273 (_obstack_allocated_p): Likewise.
12274 (obstack_free): Likewise.
12275 (_obstack_memory_used): Likewise.
12276 * misc/getttyent.c (getttynam): Likewise.
12277 (getttyent): Likewise.
12280 * misc/getusershell.c (initshells): Likewise.
12281 * misc/syslog.c (__vsyslog_chk): Likewise.
12282 * misc/ttyslot.c (ttyslot): Likewise.
12283 * nis/nis_hash.c (__nis_hash): Likewise.
12284 * posix/fnmatch_loop.c (FCT): Likewise.
12285 * posix/getconf.c (print_all): Likewise.
12287 * posix/getopt.c (exchange): Likewise.
12288 * posix/glob.c (globfree): Likewise.
12289 (prefix_array): Likewise.
12290 (__glob_pattern_type): Likewise.
12291 * resolv/arpa/nameser.h (NS_GET16): Likewise.
12292 (NS_GET32): Likewise.
12293 (NS_PUT16): Likewise.
12294 (NS_PUT32): Likewise.
12295 * resolv/gethnamaddr.c (getanswer): Likewise.
12296 (gethostbyname2): Likewise.
12297 (gethostbyaddr): Likewise.
12298 (_gethtent): Likewise.
12299 (_gethtbyname2): Likewise.
12300 (_gethtbyaddr): Likewise.
12301 * resolv/ns_print.c (dst_s_get_int16): Likewise.
12302 * resolv/nss_dns/dns-host.c (getanswer_r): Likewise.
12303 * resolv/res_init.c (__res_vinit): Likewise.
12304 (net_mask): Likewise.
12305 * resolv/res_mkquery.c (outchar): Likewise.
12307 * stdio-common/printf_fp.c (outchar): Likewise.
12309 * stdio-common/printf_fphex.c (outchar): Likewise.
12311 * stdio-common/printf_size.c (outchar): Likewise.
12313 * stdio-common/test_rdwr.c (main): Likewise.
12314 * stdio-common/tfformat.c (matches): Likewise.
12315 * stdio-common/vfprintf.c (outchar): Likewise.
12316 (printf_unknown): Likewise.
12317 (buffered_vfprintf): Likewise.
12318 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
12319 * stdio-common/xbug.c (AppendToBuffer): Likewise.
12320 (ReadFile): Likewise.
12321 * stdlib/qsort.c (SWAP): Likewise.
12322 (_quicksort): Likewise.
12323 * stdlib/setenv.c (__add_to_environ): Likewise.
12324 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
12325 * stdlib/strtol_l.c (__strtol_l): Likewise.
12326 * stdlib/tst-strtod.c (main): Likewise.
12327 * stdlib/tst-strtol.c (main): Likewise.
12328 * stdlib/tst-strtoll.c (main): Likewise.
12329 * string/bits/string2.h (__strcmp_cc): Likewise.
12330 (__strcmp_cg): Likewise.
12331 (__strcspn_c1): Likewise.
12332 (__strcspn_c2): Likewise.
12333 (__strcspn_c3): Likewise.
12334 (__strspn_c1): Likewise.
12335 (__strspn_c2): Likewise.
12336 (__strspn_c3): Likewise.
12337 (__strsep_1c): Likewise.
12338 (__strsep_2c): Likewise.
12339 (__strsep_3c): Likewise.
12340 * string/memccpy.c (__memccpy): Likewise.
12341 * string/stpcpy.c (__stpcpy): Likewise.
12342 * string/strcmp.c (strcmp): Likewise.
12343 * string/strrchr.c (strrchr): Likewise.
12344 * sysdeps/generic/sigset-cvt-mask.h (sigset_get_old_mask):
12346 * sysdeps/mach/hurd/getcwd.c
12347 (_hurd_canonicalize_directory_name_internal): Likewise.
12348 * sysdeps/mach/i386/sysdep.h (SNARF_ARGS): Likewise.
12349 * sysdeps/powerpc/powerpc32/power6/wcschr.c (wcschr): Likewise.
12350 * sysdeps/powerpc/powerpc32/power6/wcsrchr.c (wcsrchr): Likewise.
12351 * sysdeps/x86/bits/byteswap-16.h [__GNUC__] (__bswap_16):
12352 Likewise, in both definitions.
12353 * sysdeps/x86/bits/byteswap.h (__bswap_32): Likewise, in multiple
12355 [__GNUC_PREREQ (2, 0) && !__GNUC_PREREQ (4, 3) && __WORDSIZE ==
12356 64] (__bswap_64): Likewise.
12357 * time/test_time.c (main): Likewise.
12358 * time/tzfile.c (__tzfile_read): Likewise.
12359 (__tzfile_compute): Likewise.
12360 * time/tzset.c (__tzset_parse_tz): Likewise.
12361 (tzset_internal): Likewise.
12362 (compute_change): Likewise.
12363 * wcsmbs/wcscat.c (__wcscat): Likewise.
12364 * wcsmbs/wcschr.c (wcschr): Likewise.
12365 * wcsmbs/wcschrnul.c (__wcschrnul): Likewise.
12366 * wcsmbs/wcscspn.c (wcscspn): Likewise.
12367 * wcsmbs/wcspbrk.c (wcspbrk): Likewise.
12368 * wcsmbs/wcsrchr.c (wcsrchr): Likewise.
12369 * wcsmbs/wcsspn.c (wcsspn): Likewise.
12370 * wcsmbs/wcsstr.c (wcsstr): Likewise.
12371 * wcsmbs/wmemchr.c (wmemchr): Likewise.
12372 * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
12373 * wcsmbs/wmemset.c (wmemset): Likewise.
12375 2013-06-06 Joseph Myers <joseph@codesourcery.com>
12377 * scripts/config.guess: Update to version 2013-05-16.
12378 * scripts/config.sub: Update to version 2013-04-24.
12379 * scripts/install-sh: Update to version 2011-11-20.07.
12380 * scripts/mkinstalldirs: Update to version 2009-04-28.21.
12381 * scripts/move-if-change: Update to version 2012-01-06 07:23.
12383 2013-06-06 Ondřej Bílka <neleai@seznam.cz>
12385 * debug/fgetws_u_chk.c: Fix leading whitespaces.
12386 * elf/sln.c: Likewise.
12387 * hurd/hurd/ioctl.h: Likewise.
12388 * hurd/hurdmalloc.c: Likewise.
12389 * hurd/xattr.c: Likewise.
12390 * include/shlib-compat.h: Likewise.
12391 * inet/ruserpass.c: Likewise.
12392 * libio/iofgets_u.c: Likewise.
12393 * libio/iofgetws_u.c: Likewise.
12394 * locale/programs/ld-identification.c: Likewise.
12395 * locale/programs/ld-time.c: Likewise.
12396 * mach/msg-destroy.c: Likewise.
12397 * nss/nss_files/files-netgrp.c: Likewise.
12398 * resolv/res_data.c: Likewise.
12399 * soft-fp/op-1.h: Likewise.
12400 * soft-fp/op-2.h: Likewise.
12401 * soft-fp/op-4.h: Likewise.
12402 * soft-fp/op-common.h: Likewise.
12403 * stdio-common/printf_fphex.c: Likewise.
12404 * stdlib/strtod_l.c: Likewise.
12405 * sunrpc/rpc/clnt.h: Likewise.
12406 * sysdeps/generic/framestate.c: Likewise.
12407 * sysdeps/i386/bsd-_setjmp.S: Likewise.
12408 * sysdeps/i386/bsd-setjmp.S: Likewise.
12409 * sysdeps/i386/__longjmp.S: Likewise.
12410 * sysdeps/i386/setjmp.S: Likewise.
12411 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
12412 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
12413 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
12414 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
12415 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
12416 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
12417 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
12418 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
12419 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
12420 * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
12421 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
12422 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
12423 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
12424 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
12425 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
12426 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
12427 * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
12428 * sysdeps/ieee754/ldbl-96/ldbl2mpn.c: Likewise.
12429 * sysdeps/ieee754/support.c: Likewise.
12430 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
12431 * sysdeps/powerpc/powerpc32/lshift.S: Likewise.
12432 * sysdeps/sparc/sparc32/__longjmp.S: Likewise.
12433 * sysdeps/sparc/sparc64/soft-fp/qp_cmp.c: Likewise.
12434 * sysdeps/sparc/sparc64/soft-fp/qp_cmpe.c: Likewise.
12435 * sysdeps/sparc/sparc64/soft-fp/qp_feq.c: Likewise.
12436 * sysdeps/sparc/sparc64/soft-fp/qp_fge.c: Likewise.
12437 * sysdeps/sparc/sparc64/soft-fp/qp_fgt.c: Likewise.
12438 * sysdeps/sparc/sparc64/soft-fp/qp_fle.c: Likewise.
12439 * sysdeps/sparc/sparc64/soft-fp/qp_flt.c: Likewise.
12440 * sysdeps/sparc/sparc64/soft-fp/qp_fne.c: Likewise.
12441 * sysdeps/sparc/sparc64/soft-fp/qp_mul.c: Likewise.
12442 * sysdeps/sparc/sparc64/soft-fp/qp_qtoi.c: Likewise.
12443 * sysdeps/sparc/sparc64/soft-fp/qp_qtoui.c: Likewise.
12444 * sysdeps/sparc/sparc64/soft-fp/qp_qtoux.c: Likewise.
12445 * sysdeps/sparc/sparc64/soft-fp/qp_qtox.c: Likewise.
12446 * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
12447 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Likewise.
12449 2013-06-05 Ondřej Bílka <neleai@seznam.cz>
12451 * posix/transbug.c: Remove executable mode.
12453 2013-06-05 Joseph Myers <joseph@codesourcery.com>
12455 * crypt/speeds.c: Remove trailing whitespace.
12456 * dlfcn/default.c: Likewise.
12457 * elf/ifuncdep2.c: Likewise.
12458 * elf/ifuncmain1.c: Likewise.
12459 * elf/ifuncmain1vis.c: Likewise.
12460 * elf/testobj.h: Likewise.
12461 * elf/tst-stackguard1.c: Likewise.
12462 * gmon/sys/gmon.h: Likewise.
12463 * hurd/hurdmsg.c: Likewise.
12464 * hurd/new-fd.c: Likewise.
12465 * hurd/ports-get.c: Likewise.
12466 * iconvdata/ibm1008_420.c: Likewise.
12467 * inet/tst-getni1.c: Likewise.
12468 * inet/tst-getni2.c: Likewise.
12469 * libio/ioungetc.c: Likewise.
12470 * libio/wfiledoalloc.c: Likewise.
12471 * manual/libm-err-tab.pl: Likewise.
12472 * math/w_dremf.c: Likewise.
12473 * misc/ftruncate.c: Likewise.
12474 * posix/bug-glob2.c: Likewise.
12475 * posix/tst-pcre.c: Likewise.
12476 * posix/wait4.c: Likewise.
12477 * resolv/README: Likewise.
12478 * resolv/res_debug.h: Likewise.
12479 * resolv/tst-inet_ntop.c: Likewise.
12480 * setjmp/bug269-setjmp.c: Likewise.
12481 * soft-fp/extended.h: Likewise.
12482 * soft-fp/op-1.h: Likewise.
12483 * soft-fp/op-2.h: Likewise.
12484 * soft-fp/op-4.h: Likewise.
12485 * soft-fp/op-8.h: Likewise.
12486 * soft-fp/testit.c: Likewise.
12487 * stdio-common/bug16.c: Likewise.
12488 * stdlib/random.c: Likewise.
12489 * sunrpc/rpcsvc/rquota.x: Likewise.
12490 * sysdeps/ieee754/dbl-64/powtwo.tbl: Likewise.
12491 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
12492 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
12493 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
12494 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
12495 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
12496 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
12497 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
12498 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
12499 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
12500 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
12501 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
12502 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
12503 * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
12504 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
12505 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
12506 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
12507 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
12508 * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
12509 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
12510 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
12511 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
12512 * sysdeps/ieee754/ldbl-128/t_sincosl.c: Likewise.
12513 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
12514 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
12515 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
12516 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
12517 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
12518 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
12519 * sysdeps/ieee754/s_lib_version.c: Likewise.
12520 * sysdeps/mach/hurd/check_fds.c: Likewise.
12521 * sysdeps/mach/hurd/getsockname.c: Likewise.
12522 * sysdeps/mach/hurd/net/if_ppp.h: Likewise.
12523 * sysdeps/mach/hurd/recvfrom.c: Likewise.
12524 * sysdeps/powerpc/bits/link.h: Likewise.
12525 * sysdeps/powerpc/dl-procinfo.c: Likewise.
12526 * sysdeps/powerpc/fpu/feholdexcpt.c: Likewise.
12527 * sysdeps/powerpc/fpu/fenv_const.c: Likewise.
12528 * sysdeps/powerpc/fpu/fesetenv.c: Likewise.
12529 * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
12530 * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
12531 * sysdeps/powerpc/fpu/t_sqrt.c: Likewise.
12532 * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
12533 * sysdeps/powerpc/powerpc32/fpu/s_floor.S: Likewise.
12534 * sysdeps/powerpc/powerpc32/fpu/s_floorf.S: Likewise.
12535 * sysdeps/powerpc/powerpc32/fpu/s_isnan.S: Likewise.
12536 * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
12537 * sysdeps/powerpc/powerpc32/fpu/s_round.S: Likewise.
12538 * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Likewise.
12539 * sysdeps/powerpc/powerpc32/fpu/s_trunc.S: Likewise.
12540 * sysdeps/powerpc/powerpc32/fpu/s_truncf.S: Likewise.
12541 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
12542 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
12543 * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
12544 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
12545 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
12546 * sysdeps/powerpc/powerpc32/power4/hp-timing.c: Likewise.
12547 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
12548 * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
12549 * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Likewise.
12550 * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
12551 * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
12552 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
12553 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
12554 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
12555 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
12556 * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
12557 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
12558 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
12559 * sysdeps/powerpc/powerpc32/power6x/fpu/s_lround.S: Likewise.
12560 * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
12561 * sysdeps/powerpc/powerpc64/fpu/s_floor.S: Likewise.
12562 * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
12563 * sysdeps/powerpc/powerpc64/fpu/s_isnan.S: Likewise.
12564 * sysdeps/powerpc/powerpc64/fpu/s_llrint.S: Likewise.
12565 * sysdeps/powerpc/powerpc64/fpu/s_llrintf.S: Likewise.
12566 * sysdeps/powerpc/powerpc64/fpu/s_llround.S: Likewise.
12567 * sysdeps/powerpc/powerpc64/fpu/s_llroundf.S: Likewise.
12568 * sysdeps/powerpc/powerpc64/fpu/s_round.S: Likewise.
12569 * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
12570 * sysdeps/powerpc/powerpc64/fpu/s_roundl.S: Likewise.
12571 * sysdeps/powerpc/powerpc64/fpu/s_trunc.S: Likewise.
12572 * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
12573 * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Likewise.
12574 * sysdeps/powerpc/powerpc64/hp-timing.c: Likewise.
12575 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
12576 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
12577 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
12578 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
12579 * sysdeps/powerpc/powerpc64/power5+/fpu/s_llround.S: Likewise.
12580 * sysdeps/powerpc/powerpc64/power5/fpu/s_isnan.S: Likewise.
12581 * sysdeps/powerpc/powerpc64/power6/fpu/s_isnan.S: Likewise.
12582 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
12583 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Likewise.
12584 * sysdeps/powerpc/powerpc64/power6x/fpu/s_isnan.S: Likewise.
12585 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llrint.S: Likewise.
12586 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llround.S: Likewise.
12587 * sysdeps/powerpc/powerpc64/strlen.S: Likewise.
12588 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
12589 * sysdeps/powerpc/sysdep.h: Likewise.
12590 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
12591 * sysdeps/s390/s390-64/sub_n.S: Likewise.
12592 * sysdeps/sh/dl-trampoline.S: Likewise.
12593 * sysdeps/sh/memset.S: Likewise.
12594 * sysdeps/sh/sh4/fpu/fclrexcpt.c: Likewise.
12595 * sysdeps/sh/strlen.S: Likewise.
12596 * sysdeps/sparc/sparc32/dl-trampoline.S: Likewise.
12597 * sysdeps/sparc/sparc32/dotmul.S: Likewise.
12598 * sysdeps/sparc/sparc32/memcpy.S: Likewise.
12599 * sysdeps/sparc/sparc32/rem.S: Likewise.
12600 * sysdeps/sparc/sparc32/sdiv.S: Likewise.
12601 * sysdeps/sparc/sparc32/soft-fp/q_neg.c: Likewise.
12602 * sysdeps/sparc/sparc32/strchr.S: Likewise.
12603 * sysdeps/sparc/sparc32/udiv.S: Likewise.
12604 * sysdeps/sparc/sparc32/urem.S: Likewise.
12605 * sysdeps/sparc/sparc64/add_n.S: Likewise.
12606 * sysdeps/sparc/sparc64/memcpy.S: Likewise.
12607 * sysdeps/sparc/sparc64/rawmemchr.S: Likewise.
12608 * sysdeps/sparc/sparc64/soft-fp/s_frexpl.c: Likewise.
12609 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h: Likewise.
12610 * sysdeps/sparc/sparc64/stpncpy.S: Likewise.
12611 * sysdeps/sparc/sparc64/strncmp.S: Likewise.
12612 * sysdeps/sparc/sparc64/strncpy.S: Likewise.
12613 * sysdeps/unix/bsd/times.c: Likewise.
12614 * sysdeps/unix/sysv/linux/a.out.h: Likewise.
12615 * sysdeps/unix/sysv/linux/net/if_ppp.h: Likewise.
12616 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S: Likewise.
12617 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S: Likewise.
12618 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Likewise.
12619 * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h: Likewise.
12620 * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
12621 * sysdeps/unix/sysv/linux/s390/s390-32/clone.S: Likewise.
12622 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Likewise.
12623 * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Likewise.
12624 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Likewise.
12625 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
12626 * sysdeps/unix/sysv/linux/s390/s390-64/mmap.S: Likewise.
12627 * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
12628 * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
12629 * sysdeps/unix/sysv/linux/s390/s390-64/socket.S: Likewise.
12630 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
12631 * sysdeps/unix/sysv/linux/s390/s390-64/syscall.S: Likewise.
12632 * sysdeps/unix/sysv/linux/scsi/scsi_ioctl.h: Likewise.
12633 * sysdeps/unix/sysv/linux/sh/brk.c: Likewise.
12634 * sysdeps/unix/sysv/linux/sh/clone.S: Likewise.
12635 * sysdeps/unix/sysv/linux/sh/sh3/getcontext.S: Likewise.
12636 * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
12637 * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S: Likewise.
12638 * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S: Likewise.
12639 * sysdeps/unix/sysv/linux/sh/vfork.S: Likewise.
12640 * sysdeps/unix/sysv/linux/sparc/a.out.h: Likewise.
12641 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
12642 * sysdeps/unix/sysv/linux/sys/personality.h: Likewise.
12643 * sysdeps/x86_64/fpu/s_ceill.S: Likewise.
12644 * sysdeps/x86_64/fpu/s_llrintl.S: Likewise.
12645 * sysdeps/x86_64/strcspn.S: Likewise.
12647 2013-06-05 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
12649 * locale/C-translit.h: Revert #include <stdint.h> because this is a
12650 generated file. Regenerate properly from gen-translit.pl.
12651 * locale/gen-translit.pl: Add #include <stdint.h>. This generates
12652 locale/C-translit.h.
12654 2013-06-05 Andreas Schwab <schwab@suse.de>
12657 * time/strptime_l.c (__strptime_internal): Count Sunday in a %W
12658 week as 6 instead of -1.
12659 * time/tst-strptime.c (day_tests): Add test case.
12661 2013-06-05 Siddhesh Poyarekar <siddhesh@redhat.com>
12663 * sysdeps/generic/math_private.h
12664 (libc_feholdexcept_setround_53bit): Replace with
12665 libc_feholdsetround_53bit.
12666 (libc_feupdateenv_53bit): Replace with
12667 libc_feresetround_53bit.
12668 (SET_RESTORE_ROUND_53BIT): Adjust.
12670 2013-06-03 Siddhesh Poyarekar <siddhesh@redhat.com>
12672 * string/test-strchrnul.c: Add copyright header.
12674 * posix/tst-getaddrinfo4.c: Increase test timeout.
12676 2013-06-03 Carlos O'Donell <carlos@redhat.com>
12679 * math/libm-test.inc (MAX_EXP): Remove
12681 (ulp): Use MIN_EXP - MANT_DIG.
12682 (check_ulp): Verify subnormal ulps. Only allow a range of +/- 1 ulp.
12684 2013-05-31 Carlos O'Donell <carlos@redhat.com>
12686 * po/be.po: Revert last change.
12687 * po/zh_CN.po: Likewise.
12688 * po/header.pot: Likewise.
12690 2013-05-31 Joseph Myers <joseph@codesourcery.com>
12692 * Makefile ($(common-objpfx)linkobj/libc.so): Define
12693 link-libc-deps to empty as target-specific variable.
12694 * Makerules (link-libc-args): New variable.
12695 (libc-for-link): Likewise.
12696 (link-libc-deps): Likewise.
12697 (lib%.so): Depend on $(link-libc-deps). Link with
12699 (build-module): Link with $(link-libc-args).
12700 (build-module-asneeded): Likewise.
12701 (build-module-helper-objlist): Filter out $(link-libc-deps) from
12703 ($(common-objpfx)libc.so): Define link-libc-deps to empty as
12704 target-specific variable.
12705 ($(extra-modules-build:%=$(objpfx)%.so)): Depend on
12706 $(link-libc-deps) instead of libc.so and libc_nonshared.a.
12707 * crypt/Makefile ($(objpfx)libcrypt.so): Remove dependencies on
12709 * debug/Makefile ($(objpfx)libSegFault.so): Remove dependencies on
12711 ($(objpfx)libpcprofile.so): Likewise.
12712 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Remove ld.so and
12714 ($(objpfx)libdl.so): Remove dependencies on libc and ld.so.
12715 * hesiod/Makefile ($(objpfx)libnss_hesiod.so): Likewise.
12716 * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Depend on
12718 ($(objpfx)$(mod).so): Remove dependencies on libc and ld.so.
12719 * locale/Makefile ($(objpfx)libBrokenLocale.so): Likewise.
12720 * login/Makefile ($(objpfx)libutil.so): Likewise.
12721 * malloc/Makefile ($(objpfx)libmemusage.so): Likewise.
12722 * math/Makefile ($(objpfx)libm.so): Likewise.
12723 * nis/Makefile ($(services:%=$(objpfx)libnss_%.so)
12724 $(objpfx)libnsl.so): Define libc-for-link as target-specific
12725 variable instead of depending directly on libc.
12726 * nss/Makefile ($(services:%=$(objpfx)libnss_%.so)): Likewise.
12727 ($(objpfx)/libnss_test1.so): Change dependencies on libc to
12729 * resolv/Makefile ($(objpfx)libresolv.so): Remove dependencies on
12731 [$(have-ssp) = yes] (LDLIBS-resolv.so): Remove variable.
12732 ($(objpfx)libnss_dns.so): Remove dependencies on libc.
12733 ($(objpfx)libanl.so): Likewise.
12734 * rt/Makefile ($(objpfx)librt.so): Remove dependencies on libc and
12736 * stdlib/Makefile ($(objpfx)tst-putenvmod.so): Depend on
12738 * sysdeps/i386/fpu/Makefile: Remove file.
12739 * sysdeps/powerpc/fpu/Makefile [$(subdir) = math]
12740 ($(objpfx)libm.so): Remove dependency on ld.so.
12742 2013-05-30 Patsy Franklin <pfrankli@redhat.com>
12745 * nis/yp_xdr.c (XDRMAXNAME): Define.
12746 (XDRMAXRECORD): Define.
12747 (xdr_domainname): Use XDRMAXNAME.
12748 (xdr_mapname): Likewise.
12749 (xdr_peername): Likewise.
12750 (xdr_keydat): Use XDRMAXRECORD.
12751 (xdr_valdat): Likewise.
12753 2013-05-30 Jeff Law <law@redhat.com>
12756 * manual/errno.texi (ESTALE): Update to account for more than
12757 just NFS file systems.
12758 * sysdeps/gnu/errlist.c: Regenerated.
12760 2013-05-29 Siddhesh Poyarekar <siddhesh@redhat.com>
12763 * elf/Makefile (tests): Add tst-null-argv.
12764 (modules-names): Add tst-null-argv-lib.
12765 ($(objpfx)tst-null-argv): Depend on tst-null-argv-lib.so.
12766 (tst-null-argv-ENV): Set environment for tst-null-argv.
12767 * sysdeps/generic/ldsodefs.h (DSO_FILENAME): New macro.
12768 (RTLD_PROGNAME): New macro.
12769 * elf/tst-null-argv.c: New test case.
12770 * elf/tst-null-argv-lib.c: Library for test case.
12771 * elf/dl-conflict.c (_dl_resolve_conflicts): Use DSO_FILENAME.
12772 * elf/dl-deps.c (_dl_map_object_deps): Likewise.
12773 * elf/dl-error.c (_dl_signal_error): Use RTLD_PROGNAME.
12774 * elf/dl-fini.c (_dl_fini): Use DSO_FILENAME.
12775 * elf/dl-init.c (call_init): Likewise.
12776 (_dl_init): Likewise.
12777 * elf/dl-load.c (print_search_path): Likewise.
12778 (_dl_map_object): Likewise.
12779 * elf/dl-lookup.c (do_lookup_x): Likewise.
12780 (add_dependency): Likewise.
12781 (_dl_lookup_symbol_x): Likewise.
12782 (_dl_debug_bindings): Likewise.
12783 * elf/dl-open.c (_dl_show_scope): Likewise.
12784 * elf/dl-reloc.c (_dl_relocate_object): Likewise.
12785 * elf/dl-version.c (match_symbol): Likewise.
12786 (_dl_check_map_versions): Likewise.
12787 * elf/rtld.c (dl_main): Likewise.
12788 (print_unresolved): Use RTLD_PROGNAME.
12789 (print_missing_version): Likewise.
12790 * sysdeps/i386/dl-machine.h (elf_machine_rel): Likewise.
12791 (elf_machine_rela): Likewise.
12792 * sysdeps/powerpc/powerpc32/dl-machine.c
12793 (__process_machine_rela): Likewise.
12794 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
12796 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
12798 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela):
12800 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
12801 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela):
12803 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela):
12805 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
12807 2013-05-28 Carlos O'Donell <carlos@redhat.com>
12809 * po/be.po: Add descriptive title.
12810 * po/zh_CN.po: Likewise.
12811 * po/header.pot: Likewise.
12813 2013-05-28 Mike Frysinger <vapier@gentoo.org>
12815 * locale/programs/locarchive.c (create_archive): Inlucde fname in
12817 (enlarge_archive): Likewise.
12819 2013-05-28 Ben North <ben@redfrontdoor.org>
12821 * manual/arith.texi (frexp): It is the magnitude of the return
12822 value which lies in [0.5, 1), not the return value itself.
12824 2013-05-28 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12826 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
12828 2013-05-26 Thomas Schwinge <thomas@codesourcery.com>
12830 * stdio-common/bug26.c (main): Correct fscanf template.
12832 * sysdeps/mach/hurd/dl-sysdep.c (_dl_sysdep_start:go): Don't
12833 declare _dl_skip_args.
12835 * sysdeps/mach/hurd/i386/init-first.c (_dl_non_dynamic_init):
12838 * manual/platform.texi: Add missing @end deftypefun.
12840 2013-05-24 Joseph Myers <joseph@codesourcery.com>
12843 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Set high
12844 bit of mantissa of 2^16382.
12845 * math/libm-test.inc (hypot_test_data): Add more tests.
12847 * math/libm-test.inc: Add drem and pow10 to list of tested
12849 (pow10_test): New function.
12850 (drem_test): Likewise.
12851 (drem_test_tonearest): Likewise.
12852 (drem_test_towardzero): Likewise.
12853 (drem_test_downward): Likewise.
12854 (drem_test_upward): Likewise.
12855 (main): Call the new functions.
12857 * math/libm-test.inc (finite_test_data): Remove.
12858 (finite_test): Run tests from isfinite_test_data.
12859 (gamma_test_data): Remove.
12860 (gamma_test): Run tests from lgamma_test_data.
12861 * sysdeps/i386/fpu/libm-test-ulps: Update.
12862 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12864 2013-05-24 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12866 * manual/platform.texi: Add PowerPC PPR function set documentation.
12867 * sysdeps/powerpc/sys/platform/ppc.h: Add PowerPC PPR set function
12870 2013-05-24 Carlos O'Donell <carlos@redhat.com>
12872 * math/libm-test.inc (MAX_EXP): Define.
12874 (ulp): New function.
12875 (check_float_internal): Use ULPDIFF.
12876 (cpow_test): Disable failing test.
12877 (check_ulp): Test ulp() implemetnation.
12878 (main): Call check_ulp before starting tests.
12880 2013-05-24 Joseph Myers <joseph@codesourcery.com>
12882 * math/gen-libm-test.pl (generate_testfile): Do not handle
12883 START_DATA and END_DATA.
12884 * math/libm-test.inc (acos_test_data): Do not use START_DATA and
12886 (acos_tonearest_test_data): Likewise.
12887 (acos_towardzero_test_data): Likewise.
12888 (acos_downward_test_data): Likewise.
12889 (acos_upward_test_data): Likewise.
12890 (acosh_test_data): Likewise.
12891 (asin_test_data): Likewise.
12892 (asin_tonearest_test_data): Likewise.
12893 (asin_towardzero_test_data): Likewise.
12894 (asin_downward_test_data): Likewise.
12895 (asin_upward_test_data): Likewise.
12896 (asinh_test_data): Likewise.
12897 (atan_test_data): Likewise.
12898 (atanh_test_data): Likewise.
12899 (atan2_test_data): Likewise.
12900 (cabs_test_data): Likewise.
12901 (cacos_test_data): Likewise.
12902 (cacosh_test_data): Likewise.
12903 (carg_test_data): Likewise.
12904 (casin_test_data): Likewise.
12905 (casinh_test_data): Likewise.
12906 (catan_test_data): Likewise.
12907 (catanh_test_data): Likewise.
12908 (cbrt_test_data): Likewise.
12909 (ccos_test_data): Likewise.
12910 (ccosh_test_data): Likewise.
12911 (ceil_test_data): Likewise.
12912 (cexp_test_data): Likewise.
12913 (cimag_test_data): Likewise.
12914 (clog_test_data): Likewise.
12915 (clog10_test_data): Likewise.
12916 (conj_test_data): Likewise.
12917 (copysign_test_data): Likewise.
12918 (cos_test_data): Likewise.
12919 (cos_tonearest_test_data): Likewise.
12920 (cos_towardzero_test_data): Likewise.
12921 (cos_downward_test_data): Likewise.
12922 (cos_upward_test_data): Likewise.
12923 (cosh_test_data): Likewise.
12924 (cosh_tonearest_test_data): Likewise.
12925 (cosh_towardzero_test_data): Likewise.
12926 (cosh_downward_test_data): Likewise.
12927 (cosh_upward_test_data): Likewise.
12928 (cpow_test_data): Likewise.
12929 (cproj_test_data): Likewise.
12930 (creal_test_data): Likewise.
12931 (csin_test_data): Likewise.
12932 (csinh_test_data): Likewise.
12933 (csqrt_test_data): Likewise.
12934 (ctan_test_data): Likewise.
12935 (ctan_tonearest_test_data): Likewise.
12936 (ctan_towardzero_test_data): Likewise.
12937 (ctan_downward_test_data): Likewise.
12938 (ctan_upward_test_data): Likewise.
12939 (ctanh_test_data): Likewise.
12940 (ctanh_tonearest_test_data): Likewise.
12941 (ctanh_towardzero_test_data): Likewise.
12942 (ctanh_downward_test_data): Likewise.
12943 (ctanh_upward_test_data): Likewise.
12944 (erf_test_data): Likewise.
12945 (erfc_test_data): Likewise.
12946 (exp_test_data): Likewise.
12947 (exp_tonearest_test_data): Likewise.
12948 (exp_towardzero_test_data): Likewise.
12949 (exp_downward_test_data): Likewise.
12950 (exp_upward_test_data): Likewise.
12951 (exp10_test_data): Likewise.
12952 (exp2_test_data): Likewise.
12953 (expm1_test_data): Likewise.
12954 (fabs_test_data): Likewise.
12955 (fdim_test_data): Likewise.
12956 (finite_test_data): Likewise.
12957 (floor_test_data): Likewise.
12958 (fma_test_data): Likewise.
12959 (fma_towardzero_test_data): Likewise.
12960 (fma_downward_test_data): Likewise.
12961 (fma_upward_test_data): Likewise.
12962 (fmax_test_data): Likewise.
12963 (fmin_test_data): Likewise.
12964 (fmod_test_data): Likewise.
12965 (fpclassify_test_data): Likewise.
12966 (frexp_test_data): Likewise.
12967 (gamma_test_data): Likewise.
12968 (hypot_test_data): Likewise.
12969 (ilogb_test_data): Likewise.
12970 (isfinite_test_data): Likewise.
12971 (isgreater_test_data): Likewise.
12972 (isgreaterequal_test_data): Likewise.
12973 (isinf_test_data): Likewise.
12974 (isless_test_data): Likewise.
12975 (islessequal_test_data): Likewise.
12976 (islessgreater_test_data): Likewise.
12977 (isnan_test_data): Likewise.
12978 (isnormal_test_data): Likewise.
12979 (issignaling_test_data): Likewise.
12980 (isunordered_test_data): Likewise.
12981 (j0_test_data): Likewise.
12982 (j1_test_data): Likewise.
12983 (jn_test_data): Likewise.
12984 (ldexp_test_data): Likewise.
12985 (lgamma_test_data): Likewise.
12986 (lrint_test_data): Likewise.
12987 (lrint_tonearest_test_data): Likewise.
12988 (lrint_towardzero_test_data): Likewise.
12989 (lrint_downward_test_data): Likewise.
12990 (lrint_upward_test_data): Likewise.
12991 (llrint_test_data): Likewise.
12992 (llrint_tonearest_test_data): Likewise.
12993 (llrint_towardzero_test_data): Likewise.
12994 (llrint_downward_test_data): Likewise.
12995 (llrint_upward_test_data): Likewise.
12996 (log_test_data): Likewise.
12997 (log10_test_data): Likewise.
12998 (log1p_test_data): Likewise.
12999 (log2_test_data): Likewise.
13000 (logb_test_data): Likewise.
13001 (logb_downward_test_data): Likewise.
13002 (lround_test_data): Likewise.
13003 (llround_test_data): Likewise.
13004 (modf_test_data): Likewise.
13005 (nearbyint_test_data): Likewise.
13006 (nextafter_test_data): Likewise.
13007 (nexttoward_test_data): Likewise.
13008 (pow_test_data): Likewise.
13009 (pow_tonearest_test_data): Likewise.
13010 (pow_towardzero_test_data): Likewise.
13011 (pow_downward_test_data): Likewise.
13012 (pow_upward_test_data): Likewise.
13013 (remainder_test_data): Likewise.
13014 (remainder_tonearest_test_data): Likewise.
13015 (remainder_towardzero_test_data): Likewise.
13016 (remainder_downward_test_data): Likewise.
13017 (remainder_upward_test_data): Likewise.
13018 (remquo_test_data): Likewise.
13019 (rint_test_data): Likewise.
13020 (rint_tonearest_test_data): Likewise.
13021 (rint_towardzero_test_data): Likewise.
13022 (rint_downward_test_data): Likewise.
13023 (rint_upward_test_data): Likewise.
13024 (round_test_data): Likewise.
13025 (scalb_test_data): Likewise.
13026 (scalbn_test_data): Likewise.
13027 (scalbln_test_data): Likewise.
13028 (signbit_test_data): Likewise.
13029 (sin_test_data): Likewise.
13030 (sin_tonearest_test_data): Likewise.
13031 (sin_towardzero_test_data): Likewise.
13032 (sin_downward_test_data): Likewise.
13033 (sin_upward_test_data): Likewise.
13034 (sincos_test_data): Likewise.
13035 (sinh_test_data): Likewise.
13036 (sinh_tonearest_test_data): Likewise.
13037 (sinh_towardzero_test_data): Likewise.
13038 (sinh_downward_test_data): Likewise.
13039 (sinh_upward_test_data): Likewise.
13040 (sqrt_test_data): Likewise.
13041 (tan_test_data): Likewise.
13042 (tan_tonearest_test_data): Likewise.
13043 (tan_towardzero_test_data): Likewise.
13044 (tan_downward_test_data): Likewise.
13045 (tan_upward_test_data): Likewise.
13046 (tanh_test_data): Likewise.
13047 (tgamma_test_data): Likewise.
13048 (trunc_test_data): Likewise.
13049 (y0_test_data): Likewise.
13050 (y1_test_data): Likewise.
13051 (yn_test_data): Likewise.
13052 (significand_test_data): Likewise.
13054 * math/gen-libm-test.pl (@functions): Remove variable.
13055 (generate_testfile): Don't handle START and END lines.
13056 * math/libm-test.inc (START): New macro.
13058 (END_COMPLEX): Likewise.
13059 (acos_test): Use END macro without arguments.
13060 (acos_test_tonearest): Likewise.
13061 (acos_test_towardzero): Likewise.
13062 (acos_test_downward): Likewise.
13063 (acos_test_upward): Likewise.
13064 (acosh_test): Likewise.
13065 (asin_test): Likewise.
13066 (asin_test_tonearest): Likewise.
13067 (asin_test_towardzero): Likewise.
13068 (asin_test_downward): Likewise.
13069 (asin_test_upward): Likewise.
13070 (asinh_test): Likewise.
13071 (atan_test): Likewise.
13072 (atanh_test): Likewise.
13073 (atan2_test): Likewise.
13074 (cabs_test): Likewise.
13075 (cacos_test): Use END_COMPLEX macro without arguments.
13076 (cacosh_test): Likewise.
13077 (carg_test): Use END macro without arguments.
13078 (casin_test): Use END_COMPLEX macro without arguments.
13079 (casinh_test): Likewise.
13080 (catan_test): Likewise.
13081 (catanh_test): Likewise.
13082 (cbrt_test): Use END macro without arguments.
13083 (ccos_test): Use END_COMPLEX macro without arguments.
13084 (ccosh_test): Likewise.
13085 (ceil_test): Use END macro without arguments.
13086 (cexp_test): Use END_COMPLEX macro without arguments.
13087 (cimag_test): Use END macro without arguments.
13088 (clog_test): Use END_COMPLEX macro without arguments.
13089 (clog10_test): Likewise.
13090 (conj_test): Likewise.
13091 (copysign_test): Use END macro without arguments.
13092 (cos_test): Likewise.
13093 (cos_test_tonearest): Likewise.
13094 (cos_test_towardzero): Likewise.
13095 (cos_test_downward): Likewise.
13096 (cos_test_upward): Likewise.
13097 (cosh_test): Likewise.
13098 (cosh_test_tonearest): Likewise.
13099 (cosh_test_towardzero): Likewise.
13100 (cosh_test_downward): Likewise.
13101 (cosh_test_upward): Likewise.
13102 (cpow_test): Use END_COMPLEX macro without arguments.
13103 (cproj_test): Likewise.
13104 (creal_test): Use END macro without arguments.
13105 (csin_test): Use END_COMPLEX macro without arguments.
13106 (csinh_test): Likewise.
13107 (csqrt_test): Likewise.
13108 (ctan_test): Likewise.
13109 (ctan_test_tonearest): Likewise.
13110 (ctan_test_towardzero): Likewise.
13111 (ctan_test_downward): Likewise.
13112 (ctan_test_upward): Likewise.
13113 (ctanh_test): Likewise.
13114 (ctanh_test_tonearest): Likewise.
13115 (ctanh_test_towardzero): Likewise.
13116 (ctanh_test_downward): Likewise.
13117 (ctanh_test_upward): Likewise.
13118 (erf_test): Use END macro without arguments.
13119 (erfc_test): Likewise.
13120 (exp_test): Likewise.
13121 (exp_test_tonearest): Likewise.
13122 (exp_test_towardzero): Likewise.
13123 (exp_test_downward): Likewise.
13124 (exp_test_upward): Likewise.
13125 (exp10_test): Likewise.
13126 (exp2_test): Likewise.
13127 (expm1_test): Likewise.
13128 (fabs_test): Likewise.
13129 (fdim_test): Likewise.
13130 (finite_test): Likewise.
13131 (floor_test): Likewise.
13132 (fma_test): Likewise.
13133 (fma_test_towardzero): Likewise.
13134 (fma_test_downward): Likewise.
13135 (fma_test_upward): Likewise.
13136 (fmax_test): Likewise.
13137 (fmin_test): Likewise.
13138 (fmod_test): Likewise.
13139 (fpclassify_test): Likewise.
13140 (frexp_test): Likewise.
13141 (gamma_test): Likewise.
13142 (hypot_test): Likewise.
13143 (ilogb_test): Likewise.
13144 (isfinite_test): Likewise.
13145 (isgreater_test): Likewise.
13146 (isgreaterequal_test): Likewise.
13147 (isinf_test): Likewise.
13148 (isless_test): Likewise.
13149 (islessequal_test): Likewise.
13150 (islessgreater_test): Likewise.
13151 (isnan_test): Likewise.
13152 (isnormal_test): Likewise.
13153 (issignaling_test): Likewise.
13154 (isunordered_test): Likewise.
13155 (j0_test): Likewise.
13156 (j1_test): Likewise.
13157 (jn_test): Likewise.
13158 (ldexp_test): Likewise.
13159 (lgamma_test): Likewise.
13160 (lrint_test): Likewise.
13161 (lrint_test_tonearest): Likewise.
13162 (lrint_test_towardzero): Likewise.
13163 (lrint_test_downward): Likewise.
13164 (lrint_test_upward): Likewise.
13165 (llrint_test): Likewise.
13166 (llrint_test_tonearest): Likewise.
13167 (llrint_test_towardzero): Likewise.
13168 (llrint_test_downward): Likewise.
13169 (llrint_test_upward): Likewise.
13170 (log_test): Likewise.
13171 (log10_test): Likewise.
13172 (log1p_test): Likewise.
13173 (log2_test): Likewise.
13174 (logb_test): Likewise.
13175 (logb_test_downward): Likewise.
13176 (lround_test): Likewise.
13177 (llround_test): Likewise.
13178 (modf_test): Likewise.
13179 (nearbyint_test): Likewise.
13180 (nextafter_test): Likewise.
13181 (nexttoward_test): Likewise.
13182 (pow_test): Likewise.
13183 (pow_test_tonearest): Likewise.
13184 (pow_test_towardzero): Likewise.
13185 (pow_test_downward): Likewise.
13186 (pow_test_upward): Likewise.
13187 (remainder_test): Likewise.
13188 (remainder_test_tonearest): Likewise.
13189 (remainder_test_towardzero): Likewise.
13190 (remainder_test_downward): Likewise.
13191 (remainder_test_upward): Likewise.
13192 (remquo_test): Likewise.
13193 (rint_test): Likewise.
13194 (rint_test_tonearest): Likewise.
13195 (rint_test_towardzero): Likewise.
13196 (rint_test_downward): Likewise.
13197 (rint_test_upward): Likewise.
13198 (round_test): Likewise.
13199 (scalb_test): Likewise.
13200 (scalbn_test): Likewise.
13201 (scalbln_test): Likewise.
13202 (signbit_test): Likewise.
13203 (sin_test): Likewise.
13204 (sin_test_tonearest): Likewise.
13205 (sin_test_towardzero): Likewise.
13206 (sin_test_downward): Likewise.
13207 (sin_test_upward): Likewise.
13208 (sincos_test): Likewise.
13209 (sinh_test): Likewise.
13210 (sinh_test_tonearest): Likewise.
13211 (sinh_test_towardzero): Likewise.
13212 (sinh_test_downward): Likewise.
13213 (sinh_test_upward): Likewise.
13214 (sqrt_test): Likewise.
13215 (tan_test): Likewise.
13216 (tan_test_tonearest): Likewise.
13217 (tan_test_towardzero): Likewise.
13218 (tan_test_downward): Likewise.
13219 (tan_test_upward): Likewise.
13220 (tanh_test): Likewise.
13221 (tgamma_test): Likewise.
13222 (trunc_test): Likewise.
13223 (y0_test): Likewise.
13224 (y1_test): Likewise.
13225 (yn_test): Likewise.
13226 (significand_test): Likewise.
13228 2013-05-24 Ondřej Bílka <neleai@seznam.cz>
13231 * libio/genops.c (_IO_no_init): Initialize wide struct info.
13233 2013-05-23 Edjunior Machado <emachado@linux.vnet.ibm.com>
13236 * sysdeps/powerpc/sys/platform/ppc.h: Add __ppc_yield,
13237 __ppc_mdoio and __ppc_mdoom.
13238 * manual/platform.texi: Document new functions __ppc_yield,
13239 __ppc_mdoio and __ppc_mdoom.
13241 2013-05-22 Carlos O'Donell <carlos@redhat.com>
13243 * elf/ldconfig.c (is_hwcap_platform): Make comments full setences.
13244 (main): Mention "tls" pseudo-hwcap is legacy.
13245 * elf/dl-hwcaps.c (_dl_important_hwcaps): Correct rounding comment.
13247 2013-05-22 Joseph Myers <joseph@codesourcery.com>
13249 * math/gen-libm-test.pl (parse_args): Output only string of
13250 arguments as text for test name, not full call or descriptions of
13251 tests for extra outputs.
13252 (generate_testfile): Do not pass function name to parse_args.
13253 Generate this_func variable from START.
13254 * math/libm-test.inc (struct test_f_f_data): Rename test_name
13256 (struct test_ff_f_data): Likewise.
13257 (test_ff_f_data_nexttoward): Likewise.
13258 (struct test_fi_f_data): Likewise.
13259 (struct test_fl_f_data): Likewise.
13260 (struct test_if_f_data): Likewise.
13261 (struct test_fff_f_data): Likewise.
13262 (struct test_c_f_data): Likewise.
13263 (struct test_f_f1_data): Likewise. Remove field extra_name.
13264 (struct test_fF_f1_data): Likewise.
13265 (struct test_ffI_f1_data): Likewise.
13266 (struct test_c_c_data): Rename test_name field to arg_str.
13267 (struct test_cc_c_data): Likewise.
13268 (struct test_f_i_data): Likewise.
13269 (struct test_ff_i_data): Likewise.
13270 (struct test_f_l_data): Likewise.
13271 (struct test_f_L_data): Likewise.
13272 (struct test_fFF_11_data): Likewise. Remove fields extra1_name
13274 (COMMON_TEST_SETUP): New macro.
13275 (EXTRA_OUTPUT_TEST_SETUP): Likewise.
13276 (COMMON_TEST_CLEANUP): Likewise.
13277 (EXTRA_OUTPUT_TEST_CLEANUP): Likewise.
13278 (RUN_TEST_f_f): Take argument string. Call new setup and cleanup
13280 (RUN_TEST_LOOP_f_f): Update call to RUN_TEST_f_f.
13281 (RUN_TEST_2_f): Take argument string. Call new setup and cleanup
13283 (RUN_TEST_LOOP_2_f): Update call to RUN_TEST_2_f.
13284 (RUN_TEST_fff_f): Take argument string. Call new setup and
13286 (RUN_TEST_LOOP_fff_f): Update call to RUN_TEST_fff_f.
13287 (RUN_TEST_c_f): Take argument string. Call new setup and cleanup
13289 (RUN_TEST_LOOP_c_f): Update call to RUN_TEST_c_f.
13290 (RUN_TEST_f_f1): Take argument string. Call new setup and cleanup
13292 (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
13293 (RUN_TEST_fF_f1): Take argument string. Call new setup and
13295 (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
13296 (RUN_TEST_fI_f1): Take argument string. Call new setup and
13298 (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
13299 (RUN_TEST_ffI_f1): Take argument string. Call new setup and
13301 (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
13302 (RUN_TEST_c_c): Take argument string. Call new setup and cleanup
13304 (RUN_TEST_LOOP_c_c): Update call to RUN_TEST_c_c.
13305 (RUN_TEST_cc_c): Take argument string. Call new setup and cleanup
13307 (RUN_TEST_LOOP_cc_c): Update call to RUN_TEST_cc_c.
13308 (RUN_TEST_f_i): Take argument string. Call new setup and cleanup
13310 (RUN_TEST_LOOP_f_i): Update call to RUN_TEST_f_i.
13311 (RUN_TEST_f_i_tg): Take argument string. Call new setup and
13313 (RUN_TEST_LOOP_f_i_tg): Update call to RUN_TEST_f_i_tg.
13314 (RUN_TEST_ff_i_tg): Take argument string. Call new setup and
13316 (RUN_TEST_LOOP_ff_i_tg): Update call to RUN_TEST_ff_i_tg.
13317 (RUN_TEST_f_b): Take argument string. Call new setup and cleanup
13319 (RUN_TEST_LOOP_f_b): Update call to RUN_TEST_f_b.
13320 (RUN_TEST_f_b_tg): Take argument string. Call new setup and
13322 (RUN_TEST_LOOP_f_b_tg): Update call to RUN_TEST_f_b_tg.
13323 (RUN_TEST_f_l): Take argument string. Call new setup and cleanup
13325 (RUN_TEST_LOOP_f_l): Update call to RUN_TEST_f_l.
13326 (RUN_TEST_f_L): Take argument string. Call new setup and cleanup
13328 (RUN_TEST_LOOP_f_L): Update call to RUN_TEST_f_L.
13329 (RUN_TEST_fFF_11): Take argument string. Call new setup and
13331 (RUN_TEST_LOOP_fFF_11): Update call to RUN_TEST_fFF_11.
13333 2013-05-22 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
13335 * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add si_addr_lsb
13336 to _sifields.sigfault.
13337 (si_addr_lsb): Define new macro.
13338 (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
13339 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
13340 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: Likewise.
13342 2013-05-03 Carlos O'Donell <carlos at redhat.com>
13345 * intl/dcigettext.c (DCIGETTEXT): Skip translating if _nl_find_msg
13347 (_nl_find_msg): Return -1 if recursive call returned -1. If newmem is
13349 * intl/loadmsgcat.c (_nl_load_domain): If _nl_find_msg returns -1 abort
13350 loading the domain.
13352 2013-05-22 Joseph Myers <joseph@codesourcery.com>
13354 * math/gen-libm-test.pl (parse_args): Do not include expected
13355 result in test name.
13356 * sysdeps/i386/fpu/libm-test-ulps: Update test names.
13357 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
13358 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
13359 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
13360 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
13361 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13363 2013-05-22 Siddhesh Poyarekar <siddhesh@redhat.com>
13365 * benchtests/Makefile: Sort function entries.
13367 * benchtests/Makefile (bench): Add asin, acos, sinh, cosh,
13368 tanh, asinh, acosh, atanh.
13369 * benchtests/acos-inputs: New file.
13370 * benchtests/acosh-inputs: New file.
13371 * benchtests/asin-inputs: New file.
13372 * benchtests/asinh-inputs: New file.
13373 * benchtests/atanh-inputs: New file.
13374 * benchtests/cosh-inputs: New file.
13375 * benchtests/log-inputs: New file.
13376 * benchtests/sinh-inputs: New file.
13377 * benchtests/tanh-inputs: New file.
13379 2013-05-21 Dmitry V. Levin <ldv@altlinux.org>
13382 * posix/tst-getaddrinfo4.c: New test.
13383 * posix/Makefile (tests): Add it.
13385 2013-05-21 Siddhesh Poyarekar <siddhesh@redhat.com>
13388 * nss/getXXbyYY_r.c (REENTRANT_NAME): Set NETDB_INTERNAL only
13389 when no services were used.
13390 * sysdeps/posix/getaddrinfo.c (gaih_inet): Set h_errno.
13391 Return EAI_SYSTEM if h_errno is NETDB_INTERNAL.
13393 2013-05-21 Andreas Schwab <schwab@suse.de>
13396 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME))
13397 [HANDLE_DIGITS_DOTS]: Set any_service when digits-dots parsing was
13399 * nss/digits_dots.c (__nss_hostname_digits_dots): Remove
13400 redundant variable declarations and reallocation of buffer when
13401 parsing as IPv6 address. Always set NSS status when called from
13402 reentrant functions. Use NETDB_INTERNAL instead of TRY_AGAIN when
13403 buffer too small. Correct computation of needed size.
13404 * nss/Makefile (tests): Add test-digits-dots.
13405 * nss/test-digits-dots.c: New test.
13407 2013-05-21 Siddhesh Poyarekar <siddhesh@redhat.com>
13409 * benchtests/Makefile: Remove instructions for adding
13411 * benchtests/README: New file to explain how to execute and
13412 enhance the benchmark tests.
13414 2013-05-21 Andreas Schwab <schwab@suse.de>
13417 * setjmp/Makefile (tests): Add tst-sigsetjmp.
13418 * setjmp/tst-sigsetjmp.c: New test.
13420 2013-05-20 Ondřej Bílka <neleai@seznam.cz>
13422 * sysdeps/x86_64/memset.S (memset): New implementation.
13423 (__bzero): Likewise.
13424 (__memset_tail): New function.
13426 2013-05-20 Ondřej Bílka <neleai@seznam.cz>
13428 * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: New file.
13429 * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Add
13430 __memcpy_sse2_unaligned ifunc selection.
13431 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
13432 Add memcpy-sse2-unaligned.S.
13433 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
13434 Add: __memcpy_sse2_unaligned.
13436 2013-05-19 Joseph Myers <joseph@codesourcery.com>
13439 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
13440 math_force_eval before restoring floating-point envrionment.
13441 * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Likewise.
13442 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl):
13444 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Include
13446 (__nearbyintl): Use math_force_eval before restoring
13447 floating-point environment.
13448 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c (__nearbyintl): Likewise.
13450 * math/gen-libm-test.pl (special_functions): Remove.
13451 (parse_args): Don't handle TEST_extra. Handle functions with no
13453 * math/libm-test.inc (struct test_sincos_data): Replace with
13454 struct test_fFF_11_data.
13455 (RUN_TEST_sincos): Replace with RUN_TEST_fFF_11.
13456 (RUN_TEST_LOOP_sincos): Replace with RUN_TEST_LOOP_fFF_11.
13457 (sincos_test_data): Change element type to struct
13458 test_fFF_11_data. Use TEST_fFF_11 instead of TEST_extra.
13459 (sincos_test): Use RUN_TEST_LOOP_fFF_11 instead of
13460 RUN_TEST_LOOP_sincos.
13461 * math/README.libm-test: Don't mention special handling of
13462 individual functions.
13463 * sysdeps/i386/fpu/libm-test-ulps: Update names of sincos tests.
13464 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
13465 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
13466 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
13467 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
13468 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13470 * math/gen-libm-test.pl (get_variable): Remove function.
13471 (parse_args): Don't show pointer parameters to call in test
13472 names. Use "extra output N" in test names for extra outputs
13473 rather than naming variables.
13475 2013-05-18 Joseph Myers <joseph@codesourcery.com>
13478 * math/complex.h [__USE_ISOC11 && __GNUC_PREREQ (4, 7) &&
13479 __NO_LONG_DOUBLE_MATH] (CMPLXL): Define macro.
13480 * math/tst-CMPLX.c (do_test) [NO_LONG_DOUBLE]: Do not disable long
13482 * make/tst-CMPLX2.c [NO_LONG_DOUBLE] (check_long_double): Do not
13484 (do_test) [NO_LONG_DOUBLE]: Do not disable call to
13487 * math/gen-libm-test.pl (@tests): Remove variable.
13488 ($count): Likewise.
13489 (new_test): Remove function.
13490 (show_exceptions): New function.
13491 (special_functions): Use show_exceptions instead of new_test.
13492 (parse_args): Likewise.
13493 (generate_testfile): Pass only function name in generated call to
13494 print_max_error or print_complex_max_error.
13495 (get_ulps): Do not handle complex tests specially.
13496 (output_test): Rename to ...
13497 (get_all_ulps_for_test): ... this. Return a string rather than
13498 printing to a file. Require ulps to be present.
13499 (output_ulps): Generate arrays rather than #defines.
13500 * math/libm-test.inc: Move down #include of "libm-test-ulps.h".
13501 (struct ulp_data): New type.
13502 (BUILD_COMPLEX_ULP): Remove macro.
13503 (compare_ulp_data): New function.
13504 (find_ulps): Likewise.
13505 (find_test_ulps): Likewise.
13506 (find_function_ulps): Likewise.
13507 (find_complex_function_ulps): Likewise.
13508 (print_max_error): Determine allowed ulps using
13509 find_function_ulps.
13510 (print_complex_max_error): Determine allowed ulps using
13511 find_complex_function_ulps.
13512 (check_float_internal): Determine max ulps using find_test_ulps.
13513 (check_float): Do not take max_ulp parameter. Update call to
13514 check_float_internal.
13515 (check_complex): Likewise.
13516 (check_int): Do not take max_ulp parameter.
13517 (check_long): Likewise.
13518 (check_bool): Likewise.
13519 (check_longlong): Likewise.
13520 (struct test_f_f_data): Remove max_ulp field.
13521 (struct test_ff_f_data): Likewise.
13522 (struct test_ff_f_data_nexttoward): Likewise.
13523 (struct test_fi_f_data): Likewise.
13524 (struct test_fl_f_data): Likewise.
13525 (struct test_if_f_data): Likewise.
13526 (struct test_fff_f_data): Likewise.
13527 (struct test_c_f_data): Likewise.
13528 (struct test_f_f1_data): Remove max_ulp and extra_ulp fields.
13529 (struct test_fF_f1_data): Likewise.
13530 (struct test_ffI_f1_data): Likewise.
13531 (struct test_c_c_data): Remove max_ulp field.
13532 (struct test_cc_c_data): Likewise.
13533 (struct test_f_i_data): Likewise.
13534 (struct test_ff_i_data): Likewise.
13535 (struct test_f_l_data): Likewise.
13536 (struct test_f_L_data): Likewise.
13537 (struct test_sincos_data): Likewise.
13538 (RUN_TEST_f_f): Do not handle ulps.
13539 (RUN_TEST_LOOP_f_f): Likewise.
13540 (RUN_TEST_2_f): Likewise.
13541 (RUN_TEST_LOOP_2_f): Likewise.
13542 (RUN_TEST_fff_f): Likewise.
13543 (RUN_TEST_LOOP_fff_f): Likewise.
13544 (RUN_TEST_c_f): Likewise.
13545 (RUN_TEST_LOOP_c_f): Likewise.
13546 (RUN_TEST_f_f1): Likewise.
13547 (RUN_TEST_LOOP_f_f1): Likewise.
13548 (RUN_TEST_fF_f1): Likewise.
13549 (RUN_TEST_LOOP_fF_f1): Likewise.
13550 (RUN_TEST_fI_f1): Likewise.
13551 (RUN_TEST_LOOP_fI_f1): Likewise.
13552 (RUN_TEST_ffI_f1): Likewise.
13553 (RUN_TEST_LOOP_ffI_f1): Likewise.
13554 (RUN_TEST_c_c): Likewise.
13555 (RUN_TEST_LOOP_c_c): Likewise.
13556 (RUN_TEST_cc_c): Likewise.
13557 (RUN_TEST_LOOP_cc_c): Likewise.
13558 (RUN_TEST_f_i): Likewise.
13559 (RUN_TEST_LOOP_f_i): Likewise.
13560 (RUN_TEST_f_i_tg): Likewise.
13561 (RUN_TEST_LOOP_f_i_tg): Likewise.
13562 (RUN_TEST_ff_i_tg): Likewise.
13563 (RUN_TEST_LOOP_ff_i_tg): Likewise.
13564 (RUN_TEST_f_b): Likewise.
13565 (RUN_TEST_LOOP_f_b): Likewise.
13566 (RUN_TEST_f_b_tg): Likewise.
13567 (RUN_TEST_LOOP_f_b_tg): Likewise.
13568 (RUN_TEST_f_l): Likewise.
13569 (RUN_TEST_LOOP_f_l): Likewise.
13570 (RUN_TEST_f_L): Likewise.
13571 (RUN_TEST_LOOP_f_L): Likewise.
13572 (RUN_TEST_sincos): Likewise.
13573 (RUN_TEST_LOOP_sincos): Likewise.
13575 2013-05-17 Joseph Myers <joseph@codesourcery.com>
13579 * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder): For
13580 main case of finite arguments, set rounding mode to FE_TONEAREST
13581 and discard exceptions.
13582 * math/libm-test.inc (remainder_test_data): Disallow "inexact"
13584 (remainder_tonearest_test_data): New variable.
13585 (remainder_test_tonearest): New function.
13586 (remainder_towardzero_test_data): New variable.
13587 (remainder_test_towardzero): New function.
13588 (remainder_downward_test_data): New variable.
13589 (remainder_test_downward): New function.
13590 (remainder_upward_test_data): New variable.
13591 (remainder_test_upward): New function.
13592 (main): Call the new test functions.
13594 * math/libm-test.inc (struct test_f_f1_data): Remove field
13596 (struct test_fF_f1_data): Likewise.
13597 (struct test_ffI_f1_data): Likewise.
13598 (RUN_TEST_f_f1): Remove argument EXTRA_INIT. Initialize EXTRA_VAR
13599 based on value of EXTRA_EXPECTED.
13600 (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
13601 (RUN_TEST_fF_f1): Remove argument EXTRA_INIT. Initialize
13602 EXTRA_VAR based on value of EXTRA_EXPECTED.
13603 (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
13604 (RUN_TEST_fI_f1): Remove argument EXTRA_INIT. Initialize
13605 EXTRA_VAR based on value of EXTRA_EXPECTED.
13606 (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
13607 (RUN_TEST_ffI_f1): Remove argument EXTRA_INIT. Initialize
13608 EXTRA_VAR based on value of EXTRA_EXPECTED.
13609 (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
13610 * math/gen-libm-test.pl (parse_args): Don't output initializers
13611 for extra output values.
13613 * math/libm-test.inc (check_int): Expect result to be exactly
13614 equal to expected value and do not handle ulps.
13615 (check_long): Likewise.
13616 (check_longlong): Likewise.
13618 * math/libm-test.inc (ceil_test_data): Test for "inexact"
13620 (cimag_test_data): Likewise.
13621 (conj_test_data): Likewise.
13622 (copysign_test_data): Likewise.
13623 (cproj_test_data): Likewise.
13624 (creal_test_data): Likewise.
13625 (fabs_test_data): Likewise.
13626 (fdim_test_data): Likewise.
13627 (finite_test_data): Likewise.
13628 (floor_test_data): Likewise.
13629 (fmax_test_data): Likewise.
13630 (fmin_test_data): Likewise.
13631 (fmod_test_data): Likewise.
13632 (fpclassify_test_data): Likewise.
13633 (frexp_test_data): Likewise.
13634 (ilogb_test_data): Likewise.
13635 (isfinite_test_data): Likewise.
13636 (isgreater_test_data): Likewise.
13637 (isgreaterequal_test_data): Likewise.
13638 (isinf_test_data): Likewise.
13639 (isless_test_data): Likewise.
13640 (islessequal_test_data): Likewise.
13641 (islessgreater_test_data): Likewise.
13642 (isnan_test_data): Likewise.
13643 (isnormal_test_data): Likewise.
13644 (issignaling_test_data): Likewise.
13645 (isunordered_test_data): Likewise.
13646 (ldexp_test_data): Likewise.
13647 (lrint_test_data): Likewise.
13648 (lrint_test_data) [TEST_FLOAT]: Disable one test.
13649 (lrint_test_data) [!TEST_LDOUBLE]: Likewise.
13650 (lrint_tonearest_test_data): Test for "inexact" exceptions.
13651 (lrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
13652 (lrint_tonearest_test_data) [!TEST_LDOUBLE]: Likewise.
13653 (lrint_tonearest_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
13655 (lrint_towardzero_test_data): Test for "inexact" exceptions.
13656 (lrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
13657 (lrint_towardzero_test_data) [!TEST_LDOUBLE]: Likewise.
13658 (lrint_towardzero_test_data) [TEST_LDOUBLE]: Use "L" suffix on
13660 (lrint_downward_test_data): Test for "inexact" exceptions.
13661 (lrint_downward_test_data) [TEST_FLOAT]: Disable one test.
13662 (lrint_downward_test_data) [!TEST_LDOUBLE]: Likewise.
13663 (lrint_downward_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
13665 (lrint_upward_test_data): Test for "inexact" exceptions.
13666 (lrint_upward_test_data) [TEST_LDOUBLE]: Use "L" suffix on one
13668 (llrint_test_data): Test for "inexact" exceptions.
13669 (llrint_test_data) [TEST_FLOAT]: Disable one test.
13670 (llrint_tonearest_test_data): Test for "inexact" exceptions.
13671 (llrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
13672 (llrint_towardzero_test_data): Test for "inexact" exceptions.
13673 (llrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
13674 (llrint_downward_test_data): Test for "inexact" exceptions.
13675 (llrint_downward_test_data) [TEST_FLOAT]: Disable one test.
13676 (llrint_upward_test_data): Test for "inexact" exceptions.
13677 (logb_test_data): Likewise.
13678 (logb_downward_test_data): Likewise.
13679 (nextafter_test_data): Likewise.
13680 (nexttoward_test_data): Likewise.
13681 (remainder_test_data): Likewise.
13682 (remquo_test_data): Likewise.
13683 (scalbn_test_data): Likewise.
13684 (scalbln_test_data): Likewise.
13685 (signbit_test_data): Likewise.
13686 (sqrt_test_data): Likewise.
13687 (significand_test_data): Likewise.
13689 2013-05-17 Siddhesh Poyarekar <siddhesh@redhat.com>
13692 * benchtests/bench-modf.c (struct args): Mark arg0 as
13694 * scripts/bench.pl: Mark members of struct args as volatile.
13696 2013-05-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13699 * sysdeps/powerpc/fpu/e_hypot.c (GET_TWO_FLOAT_WORD): Fix test for
13700 negative infinity on POWER6 or lower.
13701 * sysdeps/powerpc/fpu/e_hypotf.c (GET_TWO_FLOAT_WORD): Likewise.
13703 2013-05-16 Maciej W. Rozycki <macro@codesourcery.com>
13706 * soft-fp/op-common.h (_FP_FRAC_SNANP): New macro.
13707 (_FP_FRAC_SNANP_SEMIRAW): Likewise.
13708 (_FP_UNPACK_CANONICAL): Use _FP_FRAC_SNANP.
13709 (_FP_CHECK_SIGNAN_SEMIRAW): Use _FP_FRAC_SNANP_SEMIRAW.
13710 (_FP_SETQNAN): New macro.
13711 (_FP_SETQNAN_SEMIRAW): Likewise.
13712 (_FP_PACK_SEMIRAW): Use _FP_SETQNAN.
13713 (_FP_PACK_CANONICAL): Use _FP_SETQNAN.
13714 (_FP_ISSIGNAN): Use _FP_FRAC_SNANP.
13715 (FP_EXTEND): Use _FP_FRAC_SNANP.
13716 (FP_TRUNC): Use _FP_SETQNAN_SEMIRAW.
13717 * soft-fp/testit.c (gen_special_double): Take _FP_QNANNEGATEDP
13719 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
13721 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
13724 2013-05-16 Joseph Myers <joseph@codesourcery.com>
13726 * math/libm-test.inc (atanh_test_data): Use ERRNO_ERANGE together
13727 with DIVIDE_BY_ZERO_EXCEPTION.
13728 (gamma_test_data): Likewise.
13729 (lgamma_test_data): Likewise.
13730 (log_test_data): Likewise.
13731 (log10_test_data): Likewise.
13732 (log2_test_data): Likewise.
13733 (tgamma_test_data): Likewise.
13735 * math/libm-test.inc (acos_test): Don't test for ENOSYS error.
13736 (acos_test_tonearest): Likewise.
13737 (acos_test_towardzero): Likewise.
13738 (acos_test_downward): Likewise.
13739 (acos_test_upward): Likewise.
13740 (acosh_test): Likewise.
13741 (asin_test): Likewise.
13742 (asin_test_tonearest): Likewise.
13743 (asin_test_towardzero): Likewise.
13744 (asin_test_downward): Likewise.
13745 (asin_test_upward): Likewise.
13746 (asinh_test): Likewise.
13747 (atan_test): Likewise.
13748 (atanh_test): Likewise.
13749 (atan2_test): Likewise.
13750 (cabs_test): Likewise.
13751 (cacos_test): Likewise.
13752 (cacosh_test): Likewise.
13753 (casin_test): Likewise.
13754 (casinh_test): Likewise.
13755 (catan_test): Likewise.
13756 (catanh_test): Likewise.
13757 (cbrt_test): Likewise.
13758 (ccos_test): Likewise.
13759 (ccosh_test): Likewise.
13760 (cexp_test): Likewise.
13761 (clog_test): Likewise.
13762 (clog10_test): Likewise.
13763 (cos_test): Likewise.
13764 (cos_test_tonearest): Likewise.
13765 (cos_test_towardzero): Likewise.
13766 (cos_test_downward): Likewise.
13767 (cos_test_upward): Likewise.
13768 (cosh_test): Likewise.
13769 (cosh_test_tonearest): Likewise.
13770 (cosh_test_towardzero): Likewise.
13771 (cosh_test_downward): Likewise.
13772 (cosh_test_upward): Likewise.
13773 (cpow_test): Likewise.
13774 (csin_test): Likewise.
13775 (csinh_test): Likewise.
13776 (csqrt_test): Likewise.
13777 (ctan_test): Likewise.
13778 (ctan_test_tonearest): Likewise.
13779 (ctan_test_towardzero): Likewise.
13780 (ctan_test_downward): Likewise.
13781 (ctan_test_upward): Likewise.
13782 (ctanh_test): Likewise.
13783 (ctanh_test_tonearest): Likewise.
13784 (ctanh_test_towardzero): Likewise.
13785 (ctanh_test_downward): Likewise.
13786 (ctanh_test_upward): Likewise.
13787 (erf_test): Likewise.
13788 (erfc_test): Likewise.
13789 (exp_test): Likewise.
13790 (exp_test_tonearest): Likewise.
13791 (exp_test_towardzero): Likewise.
13792 (exp_test_downward): Likewise.
13793 (exp_test_upward): Likewise.
13794 (exp10_test): Likewise.
13795 (exp2_test): Likewise.
13796 (expm1_test): Likewise.
13797 (fmod_test): Likewise.
13798 (gamma_test): Likewise.
13799 (hypot_test): Likewise.
13800 (j0_test): Likewise.
13801 (j1_test): Likewise.
13802 (jn_test): Likewise.
13803 (lgamma_test): Likewise.
13804 (log_test): Likewise.
13805 (log10_test): Likewise.
13806 (log1p_test): Likewise.
13807 (log2_test): Likewise.
13808 (logb_test_downward): Likewise.
13809 (pow_test): Likewise.
13810 (pow_test_tonearest): Likewise.
13811 (pow_test_towardzero): Likewise.
13812 (pow_test_downward): Likewise.
13813 (pow_test_upward): Likewise.
13814 (remainder_test): Likewise.
13815 (remquo_test): Likewise.
13816 (sin_test): Likewise.
13817 (sin_test_tonearest): Likewise.
13818 (sin_test_towardzero): Likewise.
13819 (sin_test_downward): Likewise.
13820 (sin_test_upward): Likewise.
13821 (sincos_test): Likewise.
13822 (sinh_test): Likewise.
13823 (sinh_test_tonearest): Likewise.
13824 (sinh_test_towardzero): Likewise.
13825 (sinh_test_downward): Likewise.
13826 (sinh_test_upward): Likewise.
13827 (sqrt_test): Likewise.
13828 (tan_test): Likewise.
13829 (tan_test_tonearest): Likewise.
13830 (tan_test_towardzero): Likewise.
13831 (tan_test_downward): Likewise.
13832 (tan_test_upward): Likewise.
13833 (tanh_test): Likewise.
13834 (tgamma_test): Likewise.
13835 (y0_test): Likewise.
13836 (y1_test): Likewise.
13837 (yn_test): Likewise.
13839 * math/gen-libm-test.pl (adjust_arg): Remove function.
13840 (special_function): Remove argument $in_func. Only handle
13841 generating output for tables of tests, not inside functions.
13842 (parse_args): Likewise.
13843 (generate_testfile): Remove variable $in_func. Update call to
13845 * math/libm-test.inc (PLUS_ZERO_INIT): Rename macro to plus_zero.
13846 (MINUS_ZERO_INIT): Rename macro to minus_zero.
13847 (PLUS_INFTY_INIT): Rename macro to plus_infty.
13848 (MINUS_INFTY_INIT): Rename macro to minus_infty.
13849 (QNAN_VALUE_INIT): Rename macro to qnan_value.
13850 (MAX_VALUE_INIT): Rename macro to max_value.
13851 (MIN_VALUE_INIT): Rename macro to min_value.
13852 (MIN_SUBNORM_VALUE_INIT): Rename macro to min_subnorm_value.
13853 (plus_zero): Remove variable.
13854 (minus_zero): Likewise.
13855 (plus_infty): Likewise.
13856 (minus_infty): Likewise.
13857 (qnan_value): Likewise.
13858 (max_value): Likewise.
13859 (min_value): Likewise.
13860 (min_subnorm_value): Likewise.
13862 2013-05-16 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
13864 * crypt/sha512-block.c: Add missing #include <stdint.h> due to
13865 uint64_t or uint32_t usage.
13866 * crypt/sha256-block.c: Likewise.
13867 * crypt/sha256-crypt.c: Likewise.
13868 * crypt/sha256.c: Likewise.
13869 * crypt/sha512-block.c: Likewise.
13870 * crypt/sha512-crypt.c: Likewise.
13871 * crypt/sha512.c: Likewise.
13872 * debug/backtrace-tst.c: Likewise.
13873 * debug/pcprofiledump.c: Likewise.
13874 * elf/cache.c: Likewise.
13875 * elf/dl-cache.c: Likewise.
13876 * elf/dl-misc.c: Likewise.
13877 * elf/dl-profile.c: Likewise.
13878 * elf/dl-support.c: Likewise.
13879 * elf/ldconfig.c: Likewise.
13880 * elf/sprof.c: Likewise.
13881 * iconv/dummy-repertoire.c: Likewise.
13882 * iconv/iconv_charmap.c: Likewise.
13883 * iconv/skeleton.c: Likewise.
13884 * iconvdata/8bit-generic.c: Likewise.
13885 * iconvdata/cp737.h: Likewise.
13886 * iconvdata/cp775.h: Likewise.
13887 * iconvdata/ibm1008.h: Likewise.
13888 * iconvdata/ibm1025.h: Likewise.
13889 * iconvdata/ibm1046.h: Likewise.
13890 * iconvdata/ibm1097.h: Likewise.
13891 * iconvdata/ibm1112.h: Likewise.
13892 * iconvdata/ibm1122.h: Likewise.
13893 * iconvdata/ibm1123.h: Likewise.
13894 * iconvdata/ibm1124.h: Likewise.
13895 * iconvdata/ibm1129.h: Likewise.
13896 * iconvdata/ibm1130.h: Likewise.
13897 * iconvdata/ibm1132.h: Likewise.
13898 * iconvdata/ibm1133.h: Likewise.
13899 * iconvdata/ibm1137.h: Likewise.
13900 * iconvdata/ibm1140.h: Likewise.
13901 * iconvdata/ibm1141.h: Likewise.
13902 * iconvdata/ibm1142.h: Likewise.
13903 * iconvdata/ibm1143.h: Likewise.
13904 * iconvdata/ibm1144.h: Likewise.
13905 * iconvdata/ibm1145.h: Likewise.
13906 * iconvdata/ibm1146.h: Likewise.
13907 * iconvdata/ibm1147.h: Likewise.
13908 * iconvdata/ibm1148.h: Likewise.
13909 * iconvdata/ibm1149.h: Likewise.
13910 * iconvdata/ibm1153.h: Likewise.
13911 * iconvdata/ibm1154.h: Likewise.
13912 * iconvdata/ibm1155.h: Likewise.
13913 * iconvdata/ibm1156.h: Likewise.
13914 * iconvdata/ibm1157.h: Likewise.
13915 * iconvdata/ibm1158.h: Likewise.
13916 * iconvdata/ibm1160.h: Likewise.
13917 * iconvdata/ibm1161.h: Likewise.
13918 * iconvdata/ibm1162.h: Likewise.
13919 * iconvdata/ibm1163.h: Likewise.
13920 * iconvdata/ibm1164.h: Likewise.
13921 * iconvdata/ibm1166.h: Likewise.
13922 * iconvdata/ibm1167.h: Likewise.
13923 * iconvdata/ibm12712.h: Likewise.
13924 * iconvdata/ibm1390.h: Likewise.
13925 * iconvdata/ibm1399.h: Likewise.
13926 * iconvdata/ibm16804.h: Likewise.
13927 * iconvdata/ibm4517.h: Likewise.
13928 * iconvdata/ibm4899.h: Likewise.
13929 * iconvdata/ibm4909.h: Likewise.
13930 * iconvdata/ibm4971.h: Likewise.
13931 * iconvdata/ibm5347.h: Likewise.
13932 * iconvdata/ibm803.h: Likewise.
13933 * iconvdata/ibm856.h: Likewise.
13934 * iconvdata/ibm901.h: Likewise.
13935 * iconvdata/ibm902.h: Likewise.
13936 * iconvdata/ibm9030.h: Likewise.
13937 * iconvdata/ibm9066.h: Likewise.
13938 * iconvdata/ibm921.h: Likewise.
13939 * iconvdata/ibm922.h: Likewise.
13940 * iconvdata/ibm9448.h: Likewise.
13941 * iconvdata/isiri-3342.h: Likewise.
13942 * iconvdata/jis0201.h: Likewise.
13943 * include/link.h: Likewise.
13944 * include/netdb.h: Likewise.
13945 * inet/check_native.c: Likewise.
13946 * inet/check_pf.c: Likewise.
13947 * inet/getipv4sourcefilter.c: Likewise.
13948 * inet/getnameinfo.c: Likewise.
13949 * inet/getsourcefilter.c: Likewise.
13950 * inet/htonl.c: Likewise.
13951 * inet/setipv4sourcefilter.c: Likewise.
13952 * inet/setsourcefilter.c: Likewise.
13953 * inet/test-inet6_opt.c: Likewise.
13954 * inet/tst-network.c: Likewise.
13955 * locale/C-collate.c: Likewise.
13956 * locale/C-ctype.c: Likewise.
13957 * locale/C-time.c: Likewise.
13958 * locale/C-translit.h: Likewise.
13959 * locale/loadarchive.c: Likewise.
13960 * locale/programs/3level.h: Likewise.
13961 * locale/programs/charmap.c: Likewise.
13962 * locale/programs/charmap.h: Likewise.
13963 * locale/programs/ld-address.c: Likewise.
13964 * locale/programs/ld-collate.c: Likewise.
13965 * locale/programs/ld-ctype.c: Likewise.
13966 * locale/programs/ld-identification.c: Likewise.
13967 * locale/programs/ld-measurement.c: Likewise.
13968 * locale/programs/ld-messages.c: Likewise.
13969 * locale/programs/ld-monetary.c: Likewise.
13970 * locale/programs/ld-name.c: Likewise.
13971 * locale/programs/ld-numeric.c: Likewise.
13972 * locale/programs/ld-paper.c: Likewise.
13973 * locale/programs/ld-telephone.c: Likewise.
13974 * locale/programs/ld-time.c: Likewise.
13975 * locale/programs/linereader.c: Likewise.
13976 * locale/programs/locale.c: Likewise.
13977 * locale/programs/locarchive.c: Likewise.
13978 * locale/programs/locfile.h: Likewise.
13979 * locale/programs/repertoire.c: Likewise.
13980 * locale/programs/simple-hash.c: Likewise.
13981 * locale/programs/simple-hash.h: Likewise.
13982 * malloc/memusage.c: Likewise.
13983 * malloc/memusagestat.c: Likewise.
13984 * nis/nis_defaults.c: Likewise.
13985 * nis/nis_hash.c: Likewise.
13986 * nis/nis_print.c: Likewise.
13987 * nis/nis_xdr.c: Likewise.
13988 * nscd/connections.c: Likewise.
13989 * nscd/hstcache.c: Likewise.
13990 * nscd/nscd_gethst_r.c: Likewise.
13991 * nscd/nscd_getserv_r.c: Likewise.
13992 * nscd/nscd_helper.c: Likewise.
13993 * nscd/servicescache.c: Likewise.
13994 * nss/makedb.c: Likewise.
13995 * nss/nss_db/db-XXX.c: Likewise.
13996 * nss/nss_db/db-initgroups.c: Likewise.
13997 * nss/nss_db/db-netgrp.c: Likewise.
13998 * nss/nss_files/files-network.c: Likewise.
13999 * nss/nss_files/files-parse.c: Likewise.
14000 * posix/bug-regex5.c: Likewise.
14001 * posix/fnmatch_loop.c: Likewise.
14002 * posix/regcomp.c: Likewise.
14003 * posix/regexec.c: Likewise.
14004 * posix/tst-rfc3484-2.c: Likewise.
14005 * posix/tst-rfc3484-3.c: Likewise.
14006 * posix/tst-rfc3484.c: Likewise.
14007 * resolv/nss_dns/dns-canon.c: Likewise.
14008 * resolv/nss_dns/dns-network.c: Likewise.
14009 * resolv/res_init.c: Likewise.
14010 * resolv/res_mkquery.c: Likewise.
14011 * resolv/tst-aton.c: Likewise.
14012 * stdlib/cxa_atexit.c: Likewise.
14013 * stdlib/cxa_finalize.c: Likewise.
14014 * stdlib/gen-fpioconst.c: Likewise.
14015 * stdlib/strtol_l.c: Likewise.
14016 * string/tst-endian.c: Likewise.
14017 * sunrpc/auth_des.c: Likewise.
14018 * sunrpc/clnt_udp.c: Likewise.
14019 * sunrpc/rtime.c: Likewise.
14020 * sunrpc/svcauth_des.c: Likewise.
14021 * sunrpc/xdr.c: Likewise.
14022 * sunrpc/xdr_intXX_t.c: Likewise.
14023 * sunrpc/xdr_rec.c: Likewise.
14024 * sysdeps/generic/ldconfig.h: Likewise.
14025 * sysdeps/generic/ldsodefs.h: Likewise.
14026 * sysdeps/generic/memusage.h: Likewise.
14027 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
14028 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: Likewise.
14029 * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: Likewise.
14030 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
14031 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
14032 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
14033 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
14034 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
14035 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
14036 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
14037 * sysdeps/posix/getaddrinfo.c: Likewise.
14038 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
14039 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
14040 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
14041 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
14042 * sysdeps/powerpc/test-gettimebase.c: Likewise.
14043 * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
14044 * sysdeps/unix/sysv/linux/getipv4sourcefilter.c: Likewise.
14045 * sysdeps/unix/sysv/linux/getsourcefilter.c: Likewise.
14046 * sysdeps/unix/sysv/linux/netlinkaccess.h: Likewise.
14047 * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: Likewise.
14048 * sysdeps/unix/sysv/linux/preadv.c: Likewise.
14049 * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
14050 * sysdeps/unix/sysv/linux/setipv4sourcefilter.c: Likewise.
14051 * sysdeps/unix/sysv/linux/setsourcefilter.c: Likewise.
14052 * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: Likewise.
14053 * sysdeps/x86_64/dl-tls.h: Likewise.
14054 * sysdeps/x86_64/dl-tlsdesc.h: Likewise.
14055 * time/alt_digit.c: Likewise.
14056 * time/era.c: Likewise.
14057 * wcsmbs/tst-c16c32-1.c: Likewise.
14059 2013-05-16 Joseph Myers <joseph@codesourcery.com>
14061 * math/libm-test.inc (struct test_sincos_data): New type.
14062 (RUN_TEST_LOOP_sincos): New macro.
14063 (sincos_test_data): New variable.
14064 (sincos_test): Run tests with RUN_TEST_LOOP_sincos.
14066 2013-05-16 Richard Henderson <rth@redhat.com>
14068 * math/atest-exp2.c (LIMB64): New macro.
14069 (CONSTSZ): New macro.
14070 (mp_exp1, mp_exp_m1, mp_log2): New variables.
14072 (print_mpn_fp): ... to function scope.
14073 (read_mpn_hex): Remove.
14074 (get_log2): Remove.
14075 (exp2_mpn): Use mp_log2.
14076 (main): Use mp_exp1.
14078 2013-05-16 Joseph Myers <joseph@codesourcery.com>
14080 * math/libm-test.inc: Remove comment about not testing "inexact"
14082 (INEXACT_EXCEPTION): New macro.
14083 (NO_INEXACT_EXCEPTION): Likewise.
14084 (INVALID_EXCEPTION_OK): Update value.
14085 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
14086 (OVERFLOW_EXCEPTION_OK): Likewise.
14087 (UNDERFLOW_EXCEPTION_OK): Likewise.
14088 (IGNORE_ZERO_INF_SIGN): Likewise.
14089 (ERRNO_UNCHANGED): Likewise.
14090 (ERRNO_EDOM): Likewise.
14091 (ERRNO_ERANGE): Likewise.
14092 (test_exceptions): Handle testing "inexact" exceptions.
14093 (nearbyint_test_data): Use NO_INEXACT_EXCEPTION on all tests.
14094 (rint_test_data): Use NO_INEXACT_EXCEPTION and INEXACT_EXCEPTION.
14095 (rint_test_data) [LDBL_MANT_DIG <= 100]: Disable some tests.
14096 (rint_tonearest_test_data): Use NO_INEXACT_EXCEPTION and
14098 (rint_towardzero_test_data): Likewise.
14099 (rint_downward_test_data): Likewise.
14100 (rint_upward_test_data): Likewise.
14102 * math/libm-test.inc (exp_test_data): Use ERRNO_ERANGE together
14103 with OVERFLOW_EXCEPTION.
14104 (exp10_test_data): Likewise.
14105 (exp2_test_data): Likewise.
14106 (expm1_test_data): Likewise.
14107 (lgamma_test_data): Likewise.
14108 (pow_test_data): Likewise.
14109 (tgamma_test_data): Likewise.
14110 (yn_test_data): Remove duplicate test of overflow.
14112 * math/libm-test.inc (struct test_cc_c_data): New type.
14113 (RUN_TEST_LOOP_cc_c): New macro.
14114 (cpow_test_data): New variable.
14115 (cpow_test): Run tests with RUN_TEST_LOOP_cc_c.
14117 * math/libm-test.inc (struct test_f_L_data): New type.
14118 (RUN_TEST_LOOP_f_L): New macro.
14119 (llrint_test_data): New variable.
14120 (llrint_test): Run tests with RUN_TEST_LOOP_f_L.
14121 (llrint_tonearest_test_data): New variable.
14122 (llrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_L.
14123 (llrint_towardzero_test_data): New variable.
14124 (llrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_L.
14125 (llrint_downward_test_data): New variable.
14126 (llrint_test_downward): Run tests with RUN_TEST_LOOP_f_L.
14127 (llrint_upward_test_data): New variable.
14128 (llrint_test_upward): Run tests with RUN_TEST_LOOP_f_L.
14129 (llround_test_data): New variable.
14130 (llround_test): Run tests with RUN_TEST_LOOP_f_L.
14132 2013-05-13 Peter Collingbourne <pcc@google.com>
14134 * math/atest-exp2.c (get_log2): Remove const attribute.
14136 2013-05-15 Joseph Myers <joseph@codesourcery.com>
14138 * math/libm-test.inc (struct test_f_l_data): New type.
14139 (RUN_TEST_LOOP_f_l): New macro.
14140 (lrint_test_data): New variable.
14141 (lrint_test): Run tests with RUN_TEST_LOOP_f_l.
14142 (lrint_tonearest_test_data): New variable.
14143 (lrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_l.
14144 (lrint_towardzero_test_data): New variable.
14145 (lrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_l.
14146 (lrint_downward_test_data): New variable.
14147 (lrint_test_downward): Run tests with RUN_TEST_LOOP_f_l.
14148 (lrint_upward_test_data): New variable.
14149 (lrint_test_upward): Run tests with RUN_TEST_LOOP_f_l.
14150 (lround_test_data): New variable.
14151 (lround_test): Run tests with RUN_TEST_LOOP_f_l.
14153 2013-05-15 Peter Collingbourne <pcc@google.com>
14155 * sysdeps/x86_64/fpu/math_private.h (MOVQ): New macro.
14156 (EXTRACT_WORDS64) Use where appropriate.
14157 (INSERT_WORDS64) Likewise.
14159 * sysdeps/x86_64/fpu/multiarch/s_fma.c (__fma_fma4): Replace xm
14160 constraints with x constraints.
14161 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c (__fmaf_fma4): Likewise.
14163 * malloc/obstack.c (_obstack_compat): Add initializer.
14165 2013-05-15 Edjunior Machado <emachado@linux.vnet.ibm.com>
14167 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Remove
14168 si_trapno and add si_addr_lsb to _sifields.sigfault.
14169 (si_trapno): Remove macro.
14170 (si_addr_lsb): Define new macro.
14171 (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
14173 2013-05-15 Joseph Myers <joseph@codesourcery.com>
14175 * math/libm-test.inc (llrint_test): Consistently use TEST_f_L
14176 instead of TEST_f_l.
14177 (llrint_test_tonearest): Likewise.
14178 (llrint_test_towardzero): Likewise.
14179 (llrint_test_downward): Likewise.
14180 (llrint_test_upward): Likewise.
14181 (llround_test): Likewise.
14183 * math/libm-test.inc (struct test_f_i_data): Add comment.
14184 (RUN_TEST_LOOP_f_b): New macro.
14185 (RUN_TEST_LOOP_f_b_tg): Likewise.
14186 (finite_test_data): New variable.
14187 (finite_test): Run tests with RUN_TEST_LOOP_f_b.
14188 (isfinite_test_data): New variable.
14189 (isfinite_test): Run tests with RUN_TEST_LOOP_f_b_tg.
14190 (isinf_test_data): New variable.
14191 (isinf_test): Run tests with RUN_TEST_LOOP_f_b_tg.
14192 (isnan_test_data): New variable.
14193 (isnan_test): Run tests with RUN_TEST_LOOP_f_b_tg.
14194 (isnormal_test_data): New variable.
14195 (isnormal_test): Run tests with RUN_TEST_LOOP_f_b_tg.
14196 (issignaling_test_data): New variable.
14197 (issignaling_test): Run tests with RUN_TEST_LOOP_f_b_tg.
14198 (signbit_test_data): New variable.
14199 (signbit_test): Run tests with RUN_TEST_LOOP_f_b_tg.
14201 * math/libm-test.inc (acos_test_data): Use ERRNO_EDOM together
14202 with INVALID_EXCEPTION.
14203 (acosh_test_data): Likewise.
14204 (asin_test_data): Likewise.
14205 (atanh_test_data): Likewise.
14206 (fmod_test_data): Likewise.
14207 (log_test_data): Likewise.
14208 (log10_test_data): Likewise.
14209 (log2_test_data): Likewise.
14210 (pow_test_data): Likewise.
14211 (sqrt_test_data): Likewise.
14212 (y0_test_data): Likewise.
14213 (y1_test_data): Likewise.
14214 (yn_test_data): Likewise.
14216 * math/libm-test.inc (test_single_errno) [TEST_INLINE]: Disable
14219 * math/libm-test.inc (struct test_ff_i_data): New type.
14220 (RUN_TEST_LOOP_ff_i_tg): New macro.
14221 (isgreater_test_data): New variable.
14222 (isgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
14223 (isgreaterequal_test_data): New variable.
14224 (isgreaterequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
14225 (isless_test_data): New variable.
14226 (isless_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
14227 (islessequal_test_data): New variable.
14228 (islessequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
14229 (islessgreater_test_data): New variable.
14230 (islessgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
14231 (isunordered_test_data): New variable.
14232 (isunordered_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
14234 2013-05-14 David S. Miller <davem@davemloft.net>
14236 * sysdeps/sparc/fpu/libm-test-ulps: Update.
14238 2013-05-14 Joseph Myers <joseph@codesourcery.com>
14240 * math/libm-test.inc (RUN_TEST_LOOP_2_f): Fix whitespace.
14242 * math/libm-test.inc (struct test_fF_f1_data): Change type of
14244 (struct test_f_i_data): Change type of max_ulp to int.
14246 * math/libm-test.inc (test_ffI_f1_data): New type.
14247 (RUN_TEST_LOOP_ffI_f1): New macro.
14248 (remquo_test_data): New variable.
14249 (remquo_test): Run tests with RUN_TEST_LOOP_ffI_f1.
14251 * setjmp/tst-setjmp-fp.c: New file.
14252 * setjmp/Makefile (tests): Add tst-setjmp-fp.
14253 (link-libm): New variable.
14254 ($(objpfx)tst-setjmp-fp): Depend on $(link-libm).
14256 * math/libm-test.inc (struct test_f_i_data): New type.
14257 (RUN_TEST_LOOP_f_i): New macro.
14258 (RUN_TEST_LOOP_f_i_tg): Likewise.
14259 (fpclassify_test_data): New variable.
14260 (fpclassify_test): Run tests with RUN_TEST_LOOP_f_i_tg.
14261 (ilogb_test_data): New variable.
14262 (ilogb_test): Run tests with RUN_TEST_LOOP_f_i.
14264 * math/libm-test.inc (scalbln_test): Correct function name in END
14267 * math/libm-test.inc (struct test_f_f1_data): Add comment.
14268 (RUN_TEST_LOOP_fI_f1): New macro.
14269 (frexp_test_data): New variable.
14270 (frexp_test): Run tests with RUN_TEST_LOOP_fI_f1.
14272 * math/libm-test.inc (struct test_fF_f1_data): New type.
14273 (RUN_TEST_LOOP_fF_f1): New macro.
14274 (modf_test_data): New variable.
14275 (modf_test): Run tests with RUN_TEST_LOOP_fF_f1.
14277 * math/libm-test.inc (struct test_f_f1_data): New type.
14278 (RUN_TEST_LOOP_f_f1): New macro.
14279 (gamma_test_data): New variable.
14280 (gamma_test): Run tests with RUN_TEST_LOOP_f_f1.
14281 (lgamma_test_data): New variable.
14282 (lgamma_test): Run tests with RUN_TEST_LOOP_f_f1.
14284 2013-05-13 Carlos O'Donell <carlos@redhat.com>
14286 * elf/dl-hwcaps.c (_dl_important_hwcaps): Comment vDSO hwcap loading.
14287 * elf/ldconfig.c (is_hwcap_platform): Comment each hwcap check.
14288 (main): Comment "tls" pseudo-hwcap.
14290 2013-05-13 Joseph Myers <joseph@codesourcery.com>
14292 * math/libm-test.inc (struct test_fl_f_data): New type.
14293 (RUN_TEST_LOOP_fl_f): New variable.
14294 (scalbln_test_data): New variable.
14295 (scalbln_test): Run tests with RUN_TEST_LOOP_fl_f.
14297 * math/libm-test.inc (struct test_fi_f_data): New type.
14298 (RUN_TEST_LOOP_fi_f): New macro.
14299 (ldexp_test_data): New variable.
14300 (ldexp_test): Run tests with RUN_TEST_LOOP_fi_f.
14301 (scalbn_test_data): New variable.
14302 (scalbn_test): Run tests with RUN_TEST_LOOP_fi_f.
14304 * math/libm-test.inc (struct test_c_f_data): New type.
14305 (RUN_TEST_LOOP_c_f): New macro.
14306 (cabs_test_data): New variable.
14307 (cabs_test): Run tests with RUN_TEST_LOOP_c_f.
14308 (carg_test_data): New variable.
14309 (carg_test): Run tests with RUN_TEST_LOOP_c_f.
14310 (cimag_test_data): New variable.
14311 (cimag_test): Run tests with RUN_TEST_LOOP_c_f.
14312 (creal_test_data): New variable.
14313 (creal_test): Run tests with RUN_TEST_LOOP_c_f.
14315 * math/libm-test.inc (struct test_if_f_data): New type.
14316 (RUN_TEST_LOOP_if_f): New macro.
14317 (jn_test_data): New variable.
14318 (jn_test): Run tests with RUN_TEST_LOOP_if_f.
14319 (yn_test_data): New variable.
14320 (yn_test): Run tests with RUN_TEST_LOOP_if_f.
14322 * math/libm-test.inc (scalbln_test): Consistently use TEST_fl_f.
14324 2013-05-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14326 * math/libm-test.inc (M_1_DIV_El): Define using decimal constant.
14327 (log_test_data): Use M_1_DIV_El instead of 1.0 / M_El.
14329 2013-05-13 Siddhesh Poyarekar <siddhesh@redhat.com>
14331 * benchtests/Makefile (CPPFLAGS-nonlib): Add
14332 -DUSE_CLOCK_GETTIME if USE_CLOCK_GETTIME is defined.
14333 (bench-deps): Add bench-timing.h.
14334 * benchtests-bench-skeleton.c: Include bench-timing.h.
14335 (main): Use TIMING_* macros instead of clock_gettime.
14336 * benchtests/bench-timing.h: New file.
14339 * sysdeps/ieee754/s_lib_version.c (_LIB_VERSION_INTERNAL):
14340 Renamed from _LIB_VERSION.
14341 (_LIB_VERSION): Set as weak alias of _LIB_VERSION_INTERNAL.
14343 2013-05-12 Joseph Myers <joseph@codesourcery.com>
14345 * math/libm-test.inc (struct test_fff_f_data): New type.
14346 (RUN_TEST_LOOP_fff_f): New macro.
14347 (fma_test_data): New variable.
14348 (fma_test): Run tests with RUN_TEST_LOOP_fff_f.
14349 (fma_towardzero_test_data): New variable.
14350 (fma_test_towardzero): Run tests with RUN_TEST_LOOP_fff_f.
14351 (fma_downward_test_data): New variable.
14352 (fma_test_downward): Run tests with RUN_TEST_LOOP_fff_f.
14353 (fma_upward_test_data): New variable.
14354 (fma_test_upward): Run tests with RUN_TEST_LOOP_fff_f.
14356 * math/libm-test.inc (BUILD_COMPLEX_ULP): New macro.
14357 (struct test_c_c_data): New type.
14358 (RUN_TEST_LOOP_c_c): New macro.
14359 (cacos_test_data): New variable.
14360 (cacos_test): Run tests with RUN_TEST_LOOP_c_c.
14361 (cacosh_test_data): New variable.
14362 (cacosh_test): Run tests with RUN_TEST_LOOP_c_c.
14363 (casin_test_data): New variable.
14364 (casin_test): Run tests with RUN_TEST_LOOP_c_c.
14365 (casinh_test_data): New variable.
14366 (casinh_test): Run tests with RUN_TEST_LOOP_c_c.
14367 (catan_test_data): New variable.
14368 (catan_test): Run tests with RUN_TEST_LOOP_c_c.
14369 (catanh_test_data): New variable.
14370 (catanh_test): Run tests with RUN_TEST_LOOP_c_c.
14371 (ccos_test_data): New variable.
14372 (ccos_test): Run tests with RUN_TEST_LOOP_c_c.
14373 (ccosh_test_data): New variable.
14374 (ccosh_test): Run tests with RUN_TEST_LOOP_c_c.
14375 (cexp_test_data): New variable.
14376 (cexp_test): Run tests with RUN_TEST_LOOP_c_c.
14377 (clog_test_data): New variable.
14378 (clog_test): Run tests with RUN_TEST_LOOP_c_c.
14379 (clog10_test_data): New variable.
14380 (clog10_test): Run tests with RUN_TEST_LOOP_c_c.
14381 (conj_test_data): New variable.
14382 (conj_test): Run tests with RUN_TEST_LOOP_c_c.
14383 (cproj_test_data): New variable.
14384 (cproj_test): Run tests with RUN_TEST_LOOP_c_c.
14385 (csin_test_data): New variable.
14386 (csin_test): Run tests with RUN_TEST_LOOP_c_c.
14387 (csinh_test_data): New variable.
14388 (csinh_test): Run tests with RUN_TEST_LOOP_c_c.
14389 (csqrt_test_data): New variable.
14390 (csqrt_test): Run tests with RUN_TEST_LOOP_c_c.
14391 (ctan_test_data): New variable.
14392 (ctan_test): Run tests with RUN_TEST_LOOP_c_c.
14393 (ctan_tonearest_test_data): New variable.
14394 (ctan_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
14395 (ctan_towardzero_test_data): New variable.
14396 (ctan_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
14397 (ctan_downward_test_data): New variable.
14398 (ctan_test_downward): Run tests with RUN_TEST_LOOP_c_c.
14399 (ctan_upward_test_data): New variable.
14400 (ctan_test_upward): Run tests with RUN_TEST_LOOP_c_c.
14401 (ctanh_test_data): New variable.
14402 (ctanh_test): Run tests with RUN_TEST_LOOP_c_c.
14403 (ctanh_tonearest_test_data): New variable.
14404 (ctanh_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
14405 (ctanh_towardzero_test_data): New variable.
14406 (ctanh_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
14407 (ctanh_downward_test_data): New variable.
14408 (ctanh_test_downward): Run tests with RUN_TEST_LOOP_c_c.
14409 (ctanh_upward_test_data): New variable.
14410 (ctanh_test_upward): Run tests with RUN_TEST_LOOP_c_c.
14411 * math/gen-libm-test.pl (get_ulps): Use BUILD_COMPLEX_ULP instead
14414 * math/libm-test.inc (struct test_ff_f_data): New type.
14415 (struct test_ff_f_data_nexttoward): Likewise.
14416 (RUN_TEST_LOOP_2_f): New macro.
14417 (RUN_TEST_LOOP_ff_f): Likewise.
14418 (atan2_test_data): New variable.
14419 (atan2_test): Run tests with RUN_TEST_LOOP_ff_f.
14420 (copysign_test_data): New variable.
14421 (copysign_test): Run tests with RUN_TEST_LOOP_ff_f.
14422 (fdim_test_data): New variable.
14423 (fdim_test): Run tests with RUN_TEST_LOOP_ff_f.
14424 (fmax_test_data): New variable.
14425 (fmax_test): Run tests with RUN_TEST_LOOP_ff_f.
14426 (fmin_test_data): New variable.
14427 (fmin_test): Run tests with RUN_TEST_LOOP_ff_f.
14428 (fmod_test_data): New variable.
14429 (fmod_test): Run tests with RUN_TEST_LOOP_ff_f.
14430 (hypot_test_data): New variable.
14431 (hypot_test): Run tests with RUN_TEST_LOOP_ff_f.
14432 (nextafter_test_data): New variable.
14433 (nextafter_test): Run tests with RUN_TEST_LOOP_ff_f.
14434 (nexttoward_test_data): New variable.
14435 (nexttoward_test): Run tests with RUN_TEST_LOOP_ff_f.
14436 (pow_test_data): New variable.
14437 (pow_test): Run tests with RUN_TEST_LOOP_ff_f.
14438 (pow_tonearest_test_data): New variable.
14439 (pow_test_tonearest): Run tests with RUN_TEST_LOOP_ff_f.
14440 (pow_towardzero_test_data): New variable.
14441 (pow_test_towardzero): Run tests with RUN_TEST_LOOP_ff_f.
14442 (pow_downward_test_data): New variable.
14443 (pow_test_downward): Run tests with RUN_TEST_LOOP_ff_f.
14444 (pow_upward_test_data): New variable.
14445 (pow_test_upward): Run tests with RUN_TEST_LOOP_ff_f.
14446 (remainder_test_data): New variable.
14447 (remainder_test): Run tests with RUN_TEST_LOOP_ff_f.
14448 (scalb_test_data): New variable.
14449 (scalb_test): Run tests with RUN_TEST_LOOP_ff_f.
14450 * sysdeps/i386/fpu/libm-test-ulps: Update.
14452 2013-05-11 Joseph Myers <joseph@codesourcery.com>
14454 * math/libm-test.inc (fma_test): Use max_value instead of local
14456 (nextafter_test): Likewise.
14458 * math/libm-test.inc (acos_towardzero_test_data): New variable.
14459 (acos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
14460 (acos_downward_test_data): New variable.
14461 (acos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
14462 (acos_upward_test_data): New variable.
14463 (acos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
14464 (acosh_test_data): New variable.
14465 (acosh_test): Run tests with RUN_TEST_LOOP_f_f.
14466 (asin_test_data): New variable.
14467 (asin_test): Run tests with RUN_TEST_LOOP_f_f.
14468 (asin_tonearest_test_data): New variable.
14469 (asin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
14470 (asin_towardzero_test_data): New variable.
14471 (asin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
14472 (asin_downward_test_data): New variable.
14473 (asin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
14474 (asin_upward_test_data): New variable.
14475 (asin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
14476 (asinh_test_data): New variable.
14477 (asinh_test): Run tests with RUN_TEST_LOOP_f_f.
14478 (atan_test_data): New variable.
14479 (atan_test): Run tests with RUN_TEST_LOOP_f_f.
14480 (atanh_test_data): New variable.
14481 (atanh_test): Run tests with RUN_TEST_LOOP_f_f.
14482 (cbrt_test_data): New variable.
14483 (cbrt_test): Run tests with RUN_TEST_LOOP_f_f.
14484 (ceil_test_data): New variable.
14485 (ceil_test): Run tests with RUN_TEST_LOOP_f_f.
14486 (cos_test_data): New variable.
14487 (cos_test): Run tests with RUN_TEST_LOOP_f_f.
14488 (cos_tonearest_test_data): New variable.
14489 (cos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
14490 (cos_towardzero_test_data): New variable.
14491 (cos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
14492 (cos_downward_test_data): New variable.
14493 (cos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
14494 (cos_upward_test_data): New variable.
14495 (cos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
14496 (cosh_test_data): New variable.
14497 (cosh_test): Run tests with RUN_TEST_LOOP_f_f.
14498 (cosh_tonearest_test_data): New variable.
14499 (cosh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
14500 (cosh_towardzero_test_data): New variable.
14501 (cosh_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
14502 (cosh_downward_test_data): New variable.
14503 (cosh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
14504 (cosh_upward_test_data): New variable.
14505 (cosh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
14506 (erf_test_data): New variable.
14507 (erf_test): Run tests with RUN_TEST_LOOP_f_f.
14508 (erfc_test_data): New variable.
14509 (erfc_test): Run tests with RUN_TEST_LOOP_f_f.
14510 (exp_test_data): New variable.
14511 (exp_test): Run tests with RUN_TEST_LOOP_f_f.
14512 (exp_tonearest_test_data): New variable.
14513 (exp_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
14514 (exp_towardzero_test_data): New variable.
14515 (exp_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
14516 (exp_downward_test_data): New variable.
14517 (exp_test_downward): Run tests with RUN_TEST_LOOP_f_f.
14518 (exp_upward_test_data): New variable.
14519 (exp_test_upward): Run tests with RUN_TEST_LOOP_f_f.
14520 (exp10_test_data): New variable.
14521 (exp10_test): Run tests with RUN_TEST_LOOP_f_f.
14522 (exp2_test_data): New variable.
14523 (exp2_test): Run tests with RUN_TEST_LOOP_f_f.
14524 (expm1_test_data): New variable.
14525 (expm1_test): Run tests with RUN_TEST_LOOP_f_f.
14526 (fabs_test_data): New variable.
14527 (fabs_test): Run tests with RUN_TEST_LOOP_f_f.
14528 (floor_test_data): New variable.
14529 (floor_test): Run tests with RUN_TEST_LOOP_f_f.
14530 (j0_test_data): New variable.
14531 (j0_test): Run tests with RUN_TEST_LOOP_f_f.
14532 (j1_test_data): New variable.
14533 (j1_test): Run tests with RUN_TEST_LOOP_f_f.
14534 (log_test_data): New variable.
14535 (log_test): Run tests with RUN_TEST_LOOP_f_f.
14536 (log10_test_data): New variable.
14537 (log10_test): Run tests with RUN_TEST_LOOP_f_f.
14538 (log1p_test_data): New variable.
14539 (log1p_test): Run tests with RUN_TEST_LOOP_f_f.
14540 (log2_test_data): New variable.
14541 (log2_test): Run tests with RUN_TEST_LOOP_f_f.
14542 (logb_test_data): New variable.
14543 (logb_test): Run tests with RUN_TEST_LOOP_f_f.
14544 (logb_downward_test_data): New variable.
14545 (logb_test_downward): Run tests with RUN_TEST_LOOP_f_f.
14546 (nearbyint_test_data): New variable.
14547 (nearbyint_test): Run tests with RUN_TEST_LOOP_f_f.
14548 (rint_test_data): New variable.
14549 (rint_test): Run tests with RUN_TEST_LOOP_f_f.
14550 (rint_tonearest_test_data): New variable.
14551 (rint_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
14552 (rint_towardzero_test_data): New variable.
14553 (rint_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
14554 (rint_downward_test_data): New variable.
14555 (rint_test_downward): Run tests with RUN_TEST_LOOP_f_f.
14556 (rint_upward_test_data): New variable.
14557 (rint_test_upward): Run tests with RUN_TEST_LOOP_f_f.
14558 (round_test_data): New variable.
14559 (round_test): Run tests with RUN_TEST_LOOP_f_f.
14560 (sin_test_data): New variable.
14561 (sin_test): Run tests with RUN_TEST_LOOP_f_f.
14562 (sin_tonearest_test_data): New variable.
14563 (sin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
14564 (sin_towardzero_test_data): New variable.
14565 (sin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
14566 (sin_downward_test_data): New variable.
14567 (sin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
14568 (sin_upward_test_data): New variable.
14569 (sin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
14570 (sinh_test_data): New variable.
14571 (sinh_test): Run tests with RUN_TEST_LOOP_f_f.
14572 (sinh_tonearest_test_data): New variable.
14573 (sinh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
14574 (sinh_towardzero_test_data): New variable.
14575 (sinh_towardzero): Run tests with RUN_TEST_LOOP_f_f.
14576 (sinh_downward_test_data): New variable.
14577 (sinh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
14578 (sinh_upward_test_data): New variable.
14579 (sinh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
14580 (sqrt_test_data): New variable.
14581 (sqrt_test): Run tests with RUN_TEST_LOOP_f_f.
14582 (tan_test_data): New variable.
14583 (tan_test): Run tests with RUN_TEST_LOOP_f_f.
14584 (tan_tonearest_test_data): New variable.
14585 (tan_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
14586 (tan_towardzero_test_data): New variable.
14587 (tan_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
14588 (tan_downward_test_data): New variable.
14589 (tan_test_downward): Run tests with RUN_TEST_LOOP_f_f.
14590 (tan_upward_test_data): New variable.
14591 (tan_test_upward): Run tests with RUN_TEST_LOOP_f_f.
14592 (tanh_test_data): New variable.
14593 (tanh_test): Run tests with RUN_TEST_LOOP_f_f.
14594 (tgamma_test_data): New variable.
14595 (tgamma_test): Run tests with RUN_TEST_LOOP_f_f.
14596 (trunc_test_data): New variable.
14597 (trunc_test): Run tests with RUN_TEST_LOOP_f_f.
14598 (y0_test_data): New variable.
14599 (y0_test): Run tests with RUN_TEST_LOOP_f_f.
14600 (y1_test_data): New variable.
14601 (y1_test): Run tests with RUN_TEST_LOOP_f_f.
14602 (significand_test_data): New variable.
14603 (significand_test): Run tests with RUN_TEST_LOOP_f_f.
14605 2013-05-10 Christian Grönke <cgr_bugs@sysgo.com>
14608 * sysdeps/unix/sysv/linux/sh/getgid.c: New file.
14610 2013-05-10 Pino Toscano <toscano.pino@tiscali.it>
14612 * sysdeps/mach/hurd/bits/statvfs.h: Add ST_NOATIME.
14614 2013-05-10 Andreas Jaeger <aj@suse.de>
14617 * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_SET_S)
14618 (__CPU_CLR_S, __CPU_ISSET_S): Avoid integer overflow.
14620 2013-05-10 Joseph Myers <joseph@codesourcery.com>
14622 * math/gen-libm-test.pl (adjust_arg): New function.
14623 (special_functions): Handle generating output in both functions
14625 (parse_args): Likewise.
14626 (generate_testfile): Handle START_DATA and END_DATA. Pass extra
14627 $in_func argument to parse_args.
14628 * math/libm-test.inc (struct test_f_f_data): New type.
14629 (IF_ROUND_INIT_): New macro.
14630 (IF_ROUND_INIT_FE_DOWNWARD): Likewise.
14631 (IF_ROUND_INIT_FE_TONEAREST): Likewise.
14632 (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
14633 (IF_ROUND_INIT_FE_UPWARD): Likewise.
14634 (ROUND_RESTORE_): Likewise.
14635 (ROUND_RESTORE_FE_DOWNWARD): Likewise.
14636 (ROUND_RESTORE_FE_TONEAREST): Likewise.
14637 (ROUND_RESTORE_FE_TOWARDZERO): Likewise.
14638 (ROUND_RESTORE_FE_UPWARD): Likewise.
14639 (RUN_TEST_LOOP_f_f): New macro.
14640 (acos_test_data): New variable.
14641 (acos_test): Run tests with RUN_TEST_LOOP_f_f.
14642 (acos_tonearest_test_data): New variable.
14643 (acos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
14645 2013-05-10 Siddhesh Poyarekar <siddhesh@redhat.com>
14647 * benchtests/bench-skeleton.c (startup): Fix coding style.
14649 2013-05-10 Joseph Myers <joseph@codesourcery.com>
14652 * math/w_tgamma.c (__tgamma): Also call __kernel_standard for
14653 negative infinity argument.
14654 * math/w_tgammaf.c (__tgammaf): Also call __kernel_standard_f for
14655 negative infinity argument.
14656 * math/w_tgammal.c (__tgammal): Also call __kernel_standard_l for
14657 negative infinity argument.
14658 * math/libm-test.inc (tgamma_test): Expect errno to be set for
14661 2013-05-10 Florian Weimer <fweimer@redhat.com>
14663 * elf/sprof.c (load_profdata): Use fstat64 instead of fstat.
14664 * iconv/iconv_charmap.c (charmap_conversion): Likewise.
14665 * iconv/iconv_prog.c (main): Likewise.
14666 * locale/programs/charmap-dir.c (charmap_readdir)
14667 (fopen_uncompressed): Likewise.
14668 * locale/programs/locfile.c (siblings_uncached)
14669 (write_locale_data): Use lstat64 instead of lstat.
14670 * sunrpc/rpc_main.c (find_cpp, checkfiles): Use stat64 instead of
14673 2013-05-10 Andreas Jaeger <aj@suse.de>
14676 * sunrpc/rpc_main.c (main): Invoke setlocale and textdomain for
14678 Include <locale.h>.
14680 2013-05-09 Carlos O'Donell <carlos@redhat.com>
14682 * elf/dl-close.c (_dl_close_worker): Add comments.
14684 2013-05-09 Joseph Myers <joseph@codesourcery.com>
14687 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (c): Use 106 bits for
14689 (__ieee754_rem_pio2l): Update comments.
14692 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c (c): Use 113 bits for
14694 (__ieee754_rem_pio2l): Update comments.
14696 * math/libm-test.inc (M_SQRT_2_2): Remove macro.
14697 (csqrt_test): Use M_SQRT1_2l instead of M_SQRT_2_2.
14699 * math/libm-test.inc (carg_test): Use M_PI_34l instead of 3 *
14702 * math/libm-test.inc (M_PI_34l): Define using decimal constant.
14703 (M_PI_34_LOG10El): Likewise.
14704 (M_PI2_LOG10El): Likewise.
14705 (M_PI4_LOG10El): Likewise.
14706 (M_PI_LOG10El): Likewise.
14708 2013-05-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14710 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
14712 2013-05-08 Joseph Myers <joseph@codesourcery.com>
14714 * math/libm-test.inc (PLUS_ZERO_INIT): New macro.
14715 (MINUS_ZERO_INIT): Likewise.
14716 (PLUS_INFTY_INIT): Likewise.
14717 (MINUS_INFTY_INIT): Likewise.
14718 (QNAN_VALUE_INIT): Likewise.
14719 (MAX_VALUE_INIT): Likewise.
14720 (MIN_VALUE_INIT): Likewise.
14721 (MIN_SUBNORM_VALUE_INIT): Likewise.
14722 (plus_zero): Initialize with PLUS_ZERO_INIT.
14723 (minus_zero): Initialize with MINUS_ZERO_INIT.
14724 (plus_infty): Initialize with PLUS_INFTY_INIT.
14725 (minus_infty): Initialize with MINUS_INFTY_INIT.
14726 (qnan_value): Initialize with QNAN_VALUE_INIT.
14727 (max_value): Initialize with MAX_VALUE_INIT.
14728 (min_value): Initialize with MIN_VALUE_INIT.
14729 (min_subnorm_value): Initialize with MIN_SUBNORM_VALUE_INIT.
14731 * math/libm-test.inc (RUN_TEST_if_f): New macro.
14732 (jn_test): Use TEST_if_f instead of TEST_ff_f.
14733 (ldexp_text): Use TEST_fi_i instead of TEST_ff_f.
14734 (yn_test): Use TEST_if_f instead of TEST_ff_f.
14736 * math/libm-test.inc (RUN_TEST_f_f): New macro.
14737 (RUN_TEST_2_f): Likewise.
14738 (RUN_TEST_ff_f): Likewise.
14739 (RUN_TEST_fi_f): Likewise.
14740 (RUN_TEST_fl_f): Likewise.
14741 (RUN_TEST_fff_f): Likewise.
14742 (RUN_TEST_c_f): Likewise.
14743 (RUN_TEST_f_f1): Likewise.
14744 (RUN_TEST_fF_f1): Likewise.
14745 (RUN_TEST_fI_f1): Likewise.
14746 (RUN_TEST_ffI_f1): Likewise.
14747 (RUN_TEST_c_c): Likewise.
14748 (RUN_TEST_cc_c): Likewise.
14749 (RUN_TEST_f_i): Likewise.
14750 (RUN_TEST_f_i_tg): Likewise.
14751 (RUN_TEST_ff_i_tg): Likewise.
14752 (RUN_TEST_f_b): Likewise.
14753 (RUN_TEST_f_b_tg): Likewise.
14754 (RUN_TEST_f_l): Likewise.
14755 (RUN_TEST_f_L): Likewise.
14756 (RUN_TEST_sincos): Likewise.
14757 * math/gen-libm-test.pl (new_test): Take new argument to indicate
14758 whether to show exceptions. Do not include ");\n" in return
14760 (special_functions): Output call to RUN_TEST_sincos instead of
14761 check_float calls. Update calls to new_test.
14762 (parse_args): Output call to single RUN_TEST_* macro instead of
14763 check_* calls and other assignments. Update calls to new_test.
14769 * sysdeps/ieee754/k_standard.c (__kernel_standard): Copy sign of
14770 input to result for tgamma overflow.
14771 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Include <float.h>.
14772 (gamma_coeff): New variable.
14773 (NCOEFF): New macro.
14774 (gamma_positive): New function.
14775 (__ieee754_gamma_r): Handle positive infinity, NaN, overflow and
14776 underflow here. Use gamma_positive instead of exp (lgamma) for
14778 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Include <float.h>.
14779 (gamma_coeff): New variable.
14780 (NCOEFF): New macro.
14781 (gammaf_positive): New function.
14782 (__ieee754_gammaf_r): Handle positive infinity, NaN, overflow and
14783 underflow here. Use gamma_positive instead of exp (lgamma) for
14785 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Include <float.h>.
14786 (gamma_coeff): New variable.
14787 (NCOEFF): New macro.
14788 (gammal_positive): New function.
14789 (__ieee754_gammal_r): Handle positive infinity, NaN, overflow and
14790 underflow here. Use gamma_positive instead of exp (lgamma) for
14792 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Include <float.h>.
14793 (gamma_coeff): New variable.
14794 (NCOEFF): New macro.
14795 (gammal_positive): New function.
14796 (__ieee754_gammal_r): Handle positive infinity, overflow and
14797 underflow here. Handle NaN the same as positive infinity. Remove
14798 check x < 0xffffffff for negative integers. Use gamma_positive
14799 instead of exp (lgamma) for other arguments.
14800 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Include <float.h>.
14801 (gamma_coeff): New variable.
14802 (NCOEFF): New macro.
14803 (gammal_positive): New function.
14804 * sysdeps/ieee754/dbl-64/gamma_product.c: New file.
14805 * sysdeps/ieee754/dbl-64/gamma_productf.c: Likewise.
14806 * sysdeps/ieee754/ldbl-128/gamma_productl.c: Likewise.
14807 * sysdeps/ieee754/ldbl-128ibm/gamma_productl.c: Likewise.
14808 * sysdeps/ieee754/ldbl-96/gamma_product.c: Likewise.
14809 * sysdeps/ieee754/ldbl-96/gamma_productl.c: Likewise.
14810 * sysdeps/generic/math_private.h (__gamma_productf): New
14812 (__gamma_product): Likewise.
14813 (__gamma_productl): Likewise.
14814 * math/Makefile (libm-calls): Add gamma_product.
14815 * math/libm-test.inc (tgamma_test): Add more tests.
14816 * sysdeps/i386/fpu/libm-test-ulps: Update.
14817 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14819 2013-05-08 Ondřej Bílka <neleai@seznam.cz>
14821 * benchtests/bench-skeleton.c (main): Preheat CPU.
14823 2013-05-07 Aurelien Jarno <aurelien@aurel32.net>
14825 * misc/sys/param.h (DEV_BSIZE): Define only if not already defined.
14827 2013-05-07 Roland McGrath <roland@hack.frob.com>
14829 * sysdeps/generic/ldsodefs.h [IS_IN_rtld]: Declare _dl_skip_args
14830 and _dl_skip_args_internal.
14832 2013-05-07 Carlos O'Donell <carlos@redhat.com>
14834 * manual/message.texi (Message Translation): Talk about users.
14835 Message to key mapping impacts design.
14837 2013-05-06 Roland McGrath <roland@hack.frob.com>
14839 * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: New file.
14841 * elf/dl-open.c: Remove declaration of _dl_sysdep_start.
14843 * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: Moved to ...
14844 * sysdeps/wordsize-64/glob64.c: ... here.
14846 * sysdeps/generic/not-cancel.h (NO_CANCELLATION): New macro.
14847 (pause_not_cancel, nanosleep_not_cancel, sigsuspend_not_cancel):
14850 * debug/getlogin_r_chk.c: Moved to ...
14851 * login/getlogin_r_chk.c: ... here.
14852 * debug/Makefile (routines): Move getlogin_r_chk to ...
14853 * login/Makefile (routines): ... here.
14854 * debug/Versions (libc: GLIBC_2.4): Move getlogin_r_chk to ...
14855 * login/Versions (libc: GLIBC_2.4): ... here.
14857 * io/poll.c (__poll): Renamed from poll.
14858 Add libc_hidden_def.
14859 (poll): Define as weak alias.
14861 * debug/ptsname_r_chk.c: Moved to ...
14862 * login/ptsname_r_chk.c: ... here.
14863 * debug/Makefile (routines): Move ptsname_r_chk to ...
14864 * login/Makefile (routines): ... here.
14865 * debug/Versions (libc: GLIBC_2.4): Move __ptsname_r_chk to ...
14866 * login/Versions (libc: GLIBC_2.4): ... here.
14868 * posix/getlogin.c: Moved to ...
14869 * login/getlogin.c: ... here.
14870 * posix/getlogin_r.c: Moved to ...
14871 * login/getlogin_r.c: ... here.
14872 * posix/getlogin_r.c: Moved to ...
14873 * login/getlogin_r.c: ... here.
14874 * posix/Makefile (routines): Move getlogin, getlogin_r, setlogin to ...
14875 * login/Makefile (routines): ... here.
14876 * posix/Versions (libc: GLIBC_2.0): Move setlogin to ...
14877 * login/Versions (libc: GLIBC_2.0): ... here.
14879 * resource/setrlimit.c (__setrlimit): Renamed from setrlimit.
14880 (setrlimit): Define as weak alias.
14882 * sysdeps/posix/truncate.c (__truncate): Renamed from truncate.
14883 Call __ names for open, ftruncate, and close.
14884 For LENGTH==0 case, just use O_TRUNC rather than calling ftruncate.
14885 (truncate): Define as weak alias.
14887 2013-05-06 Joseph Myers <joseph@codesourcery.com>
14889 * math/gen-libm-test.pl (parse_args): Initialize x before each
14890 test of frexp, modf and remquo.
14892 * math/libm-test.inc (gamma_test): Consistently use TEST_f_f1 to
14893 test signgam value.
14895 2013-05-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14899 * sysdeps/powerpc/fpu/e_hypot.c: Fix spurious FP exception generated by
14901 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
14903 2013-05-06 Roland McGrath <roland@hack.frob.com>
14905 * elf/dl-writev.h: New file.
14906 * elf/dl-misc.c: Include it.
14907 (_dl_debug_vdprintf): Call _dl_writev instead of __writev et al.
14908 * sysdeps/unix/sysv/linux/dl-writev.h: New file.
14910 2013-05-04 Joseph Myers <joseph@codesourcery.com>
14912 * math/libm-test.inc (noXFails): Remove variable.
14913 (noXPasses): Likewise.
14914 (BUILD_COMPLEX_INT): Remove macro.
14915 (print_screen): Remove xfail argument.
14916 (print_screen_max_error): Likewise.
14917 (update_stats): Likewise.
14918 (print_max_error): Likewise. Update calls to other affected
14920 (print_complex_max_error): Likewise.
14921 (test_single_exception): Update calls to print_screen.
14922 (test_single_errno): Likewise.
14923 (check_float_internal): Remove xfail argument. Update calls to
14924 other affected functions.
14925 (check_float): Likewise.
14926 (check_complex): Likewise.
14927 (check_int): Likewise.
14928 (check_long): Likewise.
14929 (check_bool): Likewise.
14930 (check_longlong): Likewise.
14931 (main): Don't print noXFails and noXPasses.
14932 * math/gen-libm-test.pl (top level): Don't mention expected
14933 failure handling in comment.
14934 (new_test): Don't handle expected failures.
14935 (parse_args): Don't mention expected failure handling in comment.
14936 (generate_testfile): Don't handle expected failures.
14937 (parse_ulps): Likewise.
14938 (print_ulps_file): Likewise.
14939 (get_failure): Remove function.
14940 (output_test): Don't handle expected failures.
14941 * make/README.libm-test: Don't mention expected failure handling.
14943 * math/libm-test.inc (plus_zero): Make const. Add initializer.
14944 (minus_zero): Likewise.
14945 (plus_infty): Likewise.
14946 (minus_infty): Likewise.
14947 (qnan_value): Likewise.
14948 (max_value): Likewise.
14949 (min_value): Likewise.
14950 (min_subnorm_value): Likewise.
14951 (initialize): Do not initialize those variables dynamically.
14953 2013-05-03 Roland McGrath <roland@hack.frob.com>
14955 * io/open.c (__open_2): Moved to ...
14956 * io/open_2.c: ... this new file.
14957 * io/open64.c (__open64_2): Moved to ...
14958 * io/open64_2.c: ... this new file.
14959 * io/openat.c (__openat_2): Moved to ...
14960 * io/openat_2.c: ... this new file.
14961 * io/openat64.c (__openat64_2): Moved to ...
14962 * io/openat64_2.c: ... this new file.
14963 * io/Makefile (routines): Add them.
14964 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Remove them.
14965 * sysdeps/unix/sysv/linux/open_2.c: File removed.
14966 * sysdeps/unix/sysv/linux/open64_2.c: File removed.
14967 * sysdeps/unix/sysv/linux/openat.c (__OPENAT_2): Removed.
14968 * sysdeps/unix/sysv/linux/openat64.c (__OPENAT_2): Removed.
14969 * sysdeps/unix/sysv/linux/wordsize-64/openat.c (__openat_2): Removed.
14970 (__openat64): Add hidden_ver.
14971 * sysdeps/mach/hurd/open.c (__open_2, __open64_2): Removed.
14972 * sysdeps/mach/hurd/openat.c (__openat_2): Removed.
14974 * elf/dl-sysdep.c (_dl_sysdep_start) [NEED_DL_SYSINFO]:
14975 Separately conditionalize setting of GLRO(dl_sysinfo) so
14976 that the GLRO(dl_sysinfo_dso) test is under [NEED_DL_SYSINFO_DSO]
14977 as well, but the actual setting is only under [NEED_DL_SYSINFO].
14979 2013-04-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14981 * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_time symbol.
14982 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Add __vdso_time
14984 (VDSO_IFUNC_RET): Cast to void * to silence compiler warning.
14985 * sysdeps/unix/sysv/linux/powerpc/init-first.c
14986 (_libc_vdso_platform_setup): Add __vdso_time initialization.
14987 * sysdeps/unix/sysv/linux/powerpc/time.c: New file: time implementation
14988 for PowerPC using vDSO where is avaliable or gettimeofday as a fallback.
14990 2013-05-03 Joseph Myers <joseph@codesourcery.com>
14992 * math/libm-test.inc (lgamma_test): Consistently use TEST_f_f1 to
14993 test signgam value.
14995 * math/libm-test.inc (hypot_test): Do not use
14996 IGNORE_ZERO_INF_SIGN.
14998 2013-05-03 Andreas Jaeger <aj@suse.de>
15000 * sysdeps/gnu/netinet/tcp.h (TCP_TIMESTAMP): New value, from
15002 * sysdeps/unix/sysv/linux/bits/socket.h (PF_VSOCK, AF_VSOCK): Add.
15003 (PF_MAX): Adjust for VSOCK change.
15005 2013-05-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15007 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
15009 2013-05-02 Carlos O'Donell <carlos@redhat.com>
15012 * localedata/locales/en_CA (LC_MESSAGES): Define yesstr and nostr.
15013 * localedata/locales/es_AR (LC_MESSAGES): Copy es_ES.
15014 * localedata/locales/es_ES (LC_MESSAGES): Define yesstr and nostr.
15016 2013-05-02 David S. Miller <davem@davemloft.net>
15018 * sysdeps/sparc/fpu/libm-test-ulps: Update.
15020 2013-05-01 Ondřej Bílka <neleai@seznam.cz>
15022 * string/bits/string2.h (__strcmp_cg): Call __strcmp_gc.
15024 2013-05-01 Roland McGrath <roland@hack.frob.com>
15026 * sysdeps/posix/opendir.c: Include <sys/param.h> to get MIN/MAX macros.
15028 2013-05-01 Richard Smith <richard@metafoo.co.uk>
15031 * misc/sys/cdefs.h (__extern_inline, __extern_always_inline)
15032 [__GNUC__ && (__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
15033 Use __attribute__ ((__gnu_inline__)).
15034 [__GNUC__ && !(__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
15035 Don't use __attribute__ ((__gnu_inline__)).
15037 2013-05-01 Joseph Myers <joseph@codesourcery.com>
15040 * math/s_catan.c (__catan): Handle small real or imaginary part of
15041 input specially to avoid spurious underflow.
15042 * math/s_catanf.c (__catanf): Likewise.
15043 * math/s_catanh.c (__catanh): Likewise.
15044 * math/s_catanhf.c (__catanhf): Likewise.
15045 * math/s_catanhl.c (__catanhl): Likewise.
15046 * math/s_catanl.c (__catanl): Likewise.
15047 * math/libm-test.inc (catan_test): Add more tests.
15048 (catanh_test): Likewise.
15049 * sysdeps/i386/fpu/libm-test-ulps: Update.
15050 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15052 2013-04-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15054 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
15056 2013-04-30 Joseph Myers <joseph@codesourcery.com>
15059 * math/s_catan.c (__catan): Compute expressions 1 - x^2 - y^2 more
15060 accurately for denominator in atan2.
15061 * math/s_catanf.c (__catanf): Likewise.
15062 * math/s_catanh.c (__catanh): Likewise.
15063 * math/s_catanhf.c (__catanhf): Likewise.
15064 * math/s_catanhl.c (__catanhl): Likewise.
15065 * math/s_catanl.c (__catanl): Likewise.
15066 * math/libm-test.inc (catan_test): Add more tests.
15067 (catanh_test): Likewise.
15068 * sysdeps/i386/fpu/libm-test-ulps: Update.
15069 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15071 2013-04-30 Siddhesh Poyarekar <siddhesh@redhat.com>
15073 * sysdeps/ieee754/dbl-64/s_sin.c: Format code.
15075 * benchtests/Makefile (bench): Remove slow benchmarks.
15076 * benchtests/atan-inputs: Add slow benchmark inputs.
15077 * benchtests/bench-modf.c (NUM_VARIANTS): Define.
15078 (BENCH_FUNC): Accept variant offset.
15080 * benchtests/bench-skeleton.c (main): Run benchmark for each
15082 * benchtests/cos-inputs: Add slow benchmark inputs.
15083 * benchtests/exp-inputs: Likewise.
15084 * benchtests/pow-inputs: Likewise.
15085 * benchtests/sin-inputs: Likewise.
15086 * benchtests/slowatan-inputs: Remove.
15087 * benchtests/slowatan.c: Remove.
15088 * benchtests/slowcos-inputs: Remove.
15089 * benchtests/slowcos.c: Remove.
15090 * benchtests/slowexp-inputs: Remove.
15091 * benchtests/slowexp.c: Remove.
15092 * benchtests/slowpow-inputs: Remove.
15093 * benchtests/slowpow.c: Remove.
15094 * benchtests/slowsin-inputs: Remove.
15095 * benchtests/slowsin.c: Remove.
15096 * benchtests/slowtan-inputs: Remove.
15097 * benchtests/slowtan.c: Remove.
15098 * benchtests/tan-inputs: Add slow benchmark inputs.
15099 * scripts/bench.pl: Parse comments and directives.
15101 * benchtests/Makefile: Remove *-ITER. Define BENCH_DURATION
15103 ($(objpfx)bench-%.c): Remove *-ITER.
15104 * benchtests/bench-modf.c: Remove definition of ITER.
15105 * benchtests/bench-skeleton.c (TIMESPEC_AFTER): New macro.
15106 (main): Loop for DURATION seconds instead of fixed number of
15108 * scripts/bench.pl: Don't expect iterations in parameters.
15110 2013-04-29 Roland McGrath <roland@hack.frob.com>
15112 * io/fchdir.c (__fchdir): Renamed from fchdir.
15113 (fchdir): Define as weak alias.
15115 2013-04-29 Joseph Myers <joseph@codesourcery.com>
15117 * math/libm-test.inc (ERRNO_UNCHANGED): New macro.
15118 (ERRNO_EDOM): Likewise.
15119 (ERRNO_ERANGE): Likewise.
15120 (noErrnoTests): New variable.
15121 (init_max_error): Set errno to 0.
15122 (test_single_errno): New function.
15123 (test_errno): Likewise.
15124 (check_float_internal): Call test_errno. Set errno to 0.
15125 (check_complex): Refer to errno tests in comment.
15126 (check_int): Call test_errno. Set errno to 0.
15127 (check_long): Likewise.
15128 (check_bool): Likewise.
15129 (check_longlong): Likewise.
15130 (cos_test): Use ERRNO_* flags for errno tests instead of
15132 (expm1_test): Likewise.
15133 (fmod_test): Likewise.
15134 (ilogb_test): Likewise.
15135 (lgamma_test): Likewise.
15136 (pow_test): Likewise.
15137 (remainder_test): Likewise.
15138 (sin_test): Likewise.
15139 (tan_test): Likewise.
15140 (yn_test): Likewise.
15141 (initialize): Set errno to 0.
15142 (main): Print number of errno tests.
15143 * math/gen-libm-test.pl (parse_args): Allow ERRNO flags on tests.
15145 2013-04-29 Andreas Jaeger <aj@suse.de>
15148 * resolv/res_debug.c (p_option): Fix strings for RES_USEBSTRING
15152 * resolv/resolv.h (RES_NOCHECKNAME): Mark as unimplemented.
15153 * resolv/res_debug.c (p_option): Mark RES_NOCHECKNAME as
15157 * stdlib/random.c (__initstate): Return NULL if
15161 * resolv/res_debug.c (p_option): Handle RES_NOALIASES,
15162 RES_KEEPTSIG, RES_BLAST, RES_NOIP6DOTINT, RES_SNGLKUP,
15165 2013-04-29 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15167 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
15169 2013-04-29 Joseph Myers <joseph@codesourcery.com>
15171 * math/libm-test.inc (cacos_test): Add missing semicolons at ends
15172 of individual tests.
15173 (casin_test): Likewise.
15174 (casinh_test): Likewise.
15176 2013-04-27 Joseph Myers <joseph@codesourcery.com>
15179 * math/s_catan.c (__catan): Handle arguments with large real or
15180 imaginary part separately without squaring.
15181 * math/s_catanf.c (__catanf): Likewise.
15182 * math/s_catanh.c (__catanh): Likewise.
15183 * math/s_catanhf.c (__catanhf): Likewise.
15184 * math/s_catanhl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
15186 (__catanhl): Handle arguments with large real or imaginary part
15187 separately without squaring.
15188 * math/s_catanl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
15190 (__catanl): Handle arguments with large real or imaginary part
15191 separately without squaring.
15192 * math/libm-test.inc (catan_test): Add more tests.
15193 (catanh_test): Likewise.
15194 * sysdeps/i386/fpu/libm-test-ulps: Update.
15195 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15197 2013-04-27 Andreas Jaeger <aj@suse.de>
15200 * stdlib/stdlib.h: Update guards for qecvt.
15201 * stdlib/bits/stdlib-ldbl.h: Sync guards for qecvt etc with
15204 2013-04-27 Allan McRae <allan@archlinux.org>
15206 * sysdeps/i386/fpu/libm-test-ulps: Update.
15208 2013-04-26 Joseph Myers <joseph@codesourcery.com>
15211 * math/s_catan.c: Include <float.h>.
15212 (__catan): Ensure underflow exception occurs for underflowed
15214 * math/s_catanf.c: Include <float.h>.
15215 (__catanf): Ensure underflow exception occurs for underflowed
15217 * math/s_catanh.c: Include <float.h>.
15218 (__catanh): Ensure underflow exception occurs for underflowed
15220 * math/s_catanhf.c: Include <float.h>.
15221 (__catanhf): Ensure underflow exception occurs for underflowed
15223 * math/s_catanhl.c: Include <float.h>.
15224 (__catanhl): Ensure underflow exception occurs for underflowed
15226 * math/s_catanl.c: Include <float.h>.
15227 (__catanl): Ensure underflow exception occurs for underflowed
15229 * math/libm-test.inc (catan_test): Add more tests.
15230 (catanh_test): Likewise.
15233 * math/s_ccosh.c (__ccosh): Ensure underflow exception occurs for
15234 underflowed result.
15235 * math/s_ccoshf.c (__ccoshf): Likewise.
15236 * math/s_ccoshl.c (__ccoshl): Likewise.
15237 * math/s_csin.c (__csin): Likewise.
15238 * math/s_csinf.c (__csinf): Likewise.
15239 * math/s_csinh.c (__csinh): Likewise.
15240 * math/s_csinhf.c (__csinhf): Likewise.
15241 * math/s_csinhl.c (__csinhl): Likewise.
15242 * math/s_csinl.c (__csinl): Likewise.
15243 * math/libm-test.inc (ccos_test): Add more tests.
15244 (ccosh_test): Likewise.
15245 (csin_test): Likewise.
15246 (csinh_test): Likewise.
15248 2013-04-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15250 * sysdeps/powerpc/power5/fpu/s_modf.c: Moved to ...
15251 * sysdeps/powerpc/power5+/fpu/s_modf.c: ... this.
15252 * sysdeps/powerpc/power5/fpu/s_modff.c: Moved to ...
15253 * sysdeps/powerpc/power5+/fpu/s_modff.c: ... this.
15254 * sysdeps/powerpc/powerpc32/power5+/Implies: Add powerpc/power5+ and
15255 powerpc/power5+/fpu folders.
15256 * sysdeps/powerpc/powerpc64/power5+/Implies: Likewise.
15259 2013-04-26 Markus Trippelsdorf <markus@trippelsdorf.de>
15261 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
15263 2013-04-25 Joseph Myers <joseph@codesourcery.com>
15265 * elf/Makefile [$(config-machine) = x86_64] (tests): Remove
15266 additions to variable.
15267 [$(config-machine) = x86_64] (modules-names): Likewise.
15268 ($(objpfx)tst-audit3): Remove dependency.
15269 ($(objpfx)tst-audit3.out): Likewise.
15270 ($(objpfx)tst-audit4): Likewise.
15271 ($(objpfx)tst-audit4.out): Likewise.
15272 ($(objpfx)tst-audit5): Likewise.
15273 ($(objpfx)tst-audit5.out): Likewise.
15274 ($(objpfx)tst-audit6): Likewise.
15275 ($(objpfx)tst-audit6.out): Likewise.
15276 ($(objpfx)tst-audit7): Likewise.
15277 ($(objpfx)tst-audit7.out): Likewise.
15278 (tst-audit3-ENV): Remove variable.
15279 (tst-audit4-ENV): Likewise.
15280 (tst-audit5-ENV): Likewise.
15281 (tst-audit6-ENV): Likewise.
15282 (tst-audit7-ENV): Likewise.
15283 [$(config-cflags-avx) = yes] (AVX-CFLAGS): Likewise.
15284 [$(config-cflags-avx) = yes] (CFLAGS-tst-audit4.c): Remove
15285 addition to variable.
15286 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4a.c): Likewise.
15287 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4b.c): Likewise.
15288 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6b.c): Likewise.
15289 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6c.c): Likewise.
15290 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod7b.c): Likewise.
15291 * sysdeps/x86_64/Makefile [$(subdir) = elf] (tests): Add
15292 tst-audit3, tst-audit4 and tst-audit5.
15293 [$(subdir) = elf && $(config-cflags-avx) = yes] (tests): Add
15294 tst-audit6 and tst-audit7.
15295 [$(subdir) = elf] (modules-names): Add audit modules for those
15297 [$(subdir) = elf] ($(objpfx)tst-audit3): New dependency.
15298 [$(subdir) = elf] ($(objpfx)tst-audit3.out): Likewise.
15299 [$(subdir) = elf] ($(objpfx)tst-audit4): Likewise.
15300 [$(subdir) = elf] ($(objpfx)tst-audit4.out): Likewise.
15301 [$(subdir) = elf] ($(objpfx)tst-audit5): Likewise.
15302 [$(subdir) = elf] ($(objpfx)tst-audit5.out): Likewise.
15303 [$(subdir) = elf] ($(objpfx)tst-audit6): Likewise.
15304 [$(subdir) = elf] ($(objpfx)tst-audit6.out): Likewise.
15305 [$(subdir) = elf] ($(objpfx)tst-audit7): Likewise.
15306 [$(subdir) = elf] ($(objpfx)tst-audit7.out): Likewise.
15307 [$(subdir) = elf] (tst-audit3-ENV): New variable.
15308 [$(subdir) = elf] (tst-audit4-ENV): Likewise.
15309 [$(subdir) = elf] (tst-audit5-ENV): Likewise.
15310 [$(subdir) = elf] (tst-audit6-ENV): Likewise.
15311 [$(subdir) = elf] (tst-audit7-ENV): Likewise.
15312 [$(subdir) = elf && $(config-cflags-avx) = yes] (AVX-CFLAGS):
15314 [$(subdir) = elf && $(config-cflags-avx) = yes]
15315 (CFLAGS-tst-audit4.c): Append $(AVX-CFLAGS).
15316 [$(subdir) = elf && $(config-cflags-avx) = yes]
15317 (CFLAGS-tst-auditmod4a.c): Likewise.
15318 [$(subdir) = elf && $(config-cflags-avx) = yes]
15319 (CFLAGS-tst-auditmod4b.c): Likewise.
15320 [$(subdir) = elf && $(config-cflags-avx) = yes]
15321 (CFLAGS-tst-auditmod6b.c): Likewise.
15322 [$(subdir) = elf && $(config-cflags-avx) = yes]
15323 (CFLAGS-tst-auditmod6c.c): Likewise.
15324 [$(subdir) = elf && $(config-cflags-avx) = yes]
15325 (CFLAGS-tst-auditmod7b.c): Likewise.
15326 * elf/tst-audit3.c: Move to ...
15327 * sysdeps/x86_64/tst-audit3.c: ... here.
15328 * elf/tst-audit4.c: Move to ...
15329 * sysdeps/x86_64/tst-audit4.c: ... here.
15330 * elf/tst-audit5.c: Move to ...
15331 * sysdeps/x86_64/tst-audit5.c: ... here.
15332 * elf/tst-audit6.c: Move to ...
15333 * sysdeps/x86_64/tst-audit6.c: ... here.
15334 * elf/tst-audit7.c: Move to ...
15335 * sysdeps/x86_64/tst-audit7.c: ... here.
15336 * elf/tst-auditmod3a.c: Move to ...
15337 * sysdeps/x86_64/tst-auditmod3a.c: ... here.
15338 * elf/tst-auditmod3b.c: Move to ...
15339 * sysdeps/x86_64/tst-auditmod3b.c: ... here.
15340 * elf/tst-auditmod4a.c: Move to ...
15341 * sysdeps/x86_64/tst-auditmod4a.c: ... here.
15342 * elf/tst-auditmod4b.c: Move to ...
15343 * sysdeps/x86_64/tst-auditmod4b.c: ... here.
15344 * elf/tst-auditmod5a.c: Move to ...
15345 * sysdeps/x86_64/tst-auditmod5a.c: ... here.
15346 * elf/tst-auditmod5b.c: Move to ...
15347 * sysdeps/x86_64/tst-auditmod5b.c: ... here.
15348 * elf/tst-auditmod6a.c: Move to ...
15349 * sysdeps/x86_64/tst-auditmod6a.c: ... here.
15350 * elf/tst-auditmod6b.c: Move to ...
15351 * sysdeps/x86_64/tst-auditmod6b.c: ... here.
15352 * elf/tst-auditmod6c.c: Move to ...
15353 * sysdeps/x86_64/tst-auditmod6c.c: ... here.
15354 * elf/tst-auditmod7a.c: Move to ...
15355 * sysdeps/x86_64/tst-auditmod7a.c: ... here.
15356 * elf/tst-auditmod7b.c: Move to ...
15357 * sysdeps/x86_64/tst-auditmod7b.c: ... here.
15359 2013-04-25 Paul Pluzhnikov <ppluzhnikov@google.com>
15362 * sysdeps/generic/inttypes.h (PRId8, PRId16, etc.):
15363 define unconditionally.
15364 * sysdeps/generic/stdint.h (INT8_MIN, INT16_MIN, etc.):
15365 define unconditionally.
15366 (INT8_C, INT16_C, etc.): Likewise.
15368 2013-04-25 Maciej W. Rozycki <macro@codesourcery.com>
15370 * csu/libc-start.c (__libc_start_main) [!SHARED]: Declare
15371 __ehdr_start with hidden visibility.
15373 * soft-fp/op-common.h (_FP_SQRT): s/sNAN/NAN/ in a comment.
15375 2013-04-24 Carlos O'Donell <carlos@redhat.com>
15377 * math/libm-test.inc (cos_test): Use accurate hex constants.
15378 (sincost_test): Likewise.
15380 2013-04-24 Joseph Myers <joseph@codesourcery.com>
15382 * math/libm-test.inc (catan_test): Add more tests.
15383 (catanh_test): Likewise.
15385 * math/s_catanf.c (__catanf): Use suffixed floating-point
15387 * math/s_catanhf.c (__catanhf): Likewise.
15388 * math/s_catanhl.c (__catanhl): Likewise.
15389 * math/s_catanl.c (__catanl): Likewise.
15392 * math/s_catan.c (__catan): Calculate imaginary part of result
15393 with log1p not log unless computing log of number close to 0.
15394 * math/s_catanf.c (__catanf): Likewise.
15395 * math/s_catanl.c (__catanl): Likewise.
15396 * math/s_catanh.c (__catanh): Calculate real part of result with
15397 log1p not log unless computing log of number close to 0.
15398 * math/s_catanhf.c (__catanhf): Likewise.
15399 * math/s_catanhl.c (__catanhl): Likewise.
15400 * math/libm-test.inc (catan_test): Add more tests.
15401 (catanh_test): Likewise.
15402 * sysdeps/i386/fpu/libm-test-ulps: Update.
15403 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15405 2013-04-24 Siddhesh Poyarekar <siddhesh@redhat.com>
15407 * benchtests/Makefile: Mention files in which fast and slow
15408 paths of math functions are implemented.
15410 2013-04-23 Roland McGrath <roland@hack.frob.com>
15412 * sysdeps/posix/timespec_get.c: New file.
15414 2013-04-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15416 * sysdeps/powerpc/power5/fpu/s_modf.c: New file: modf optimization for
15418 * sysdeps/powerpc/power5/fpu/s_modff.c: New file: modff optimization
15420 * sysdeps/powerpc/powerpc64/power5/Implies: Add powerpc/power5 and
15421 powerpc/power5/fpu folders.
15422 * sysdeps/powerpc/powerpc32/power5/Implies: Likewise.
15423 * benchtests/Makefile: Add modf testcase.
15424 * benchtests/bench-modf.c: New file: Benchmark test for mo
15426 2013-04-23 Siddhesh Poyarekar <siddhesh@redhat.com>
15429 * time/Makefile (tests): Add tst-strptime-whitespace.
15430 * time/strptime_l.c (get_number): Use ISSPACE.
15431 (__strptime_internal): Likewise.
15432 * time/tst-strptime-whitespace.c: New test case.
15434 2013-04-23 Andreas Schwab <schwab@linux-m68k.org>
15436 * nss/nss_files/files-init.c (TF): Don't initialize flexible array
15438 (_nss_files_init): Set it here.
15440 2013-04-23 Heiko Carstens <heiko.carstens@de.ibm.com>
15442 * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Change types of
15443 f_type, f_bsize, f_namelen, f_frsize, f_flags,and f_spare to
15446 2013-04-22 Jan-Benedict Glaw <jbglaw@getslash.de>
15448 * nss/getent.c (shadow_keys): Call endspent, not endpwent.
15450 2013-04-22 Siddhesh Poyarekar <siddhesh@redhat.com>
15452 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Compute results
15455 2013-04-21 David S. Miller <davem@davemloft.net>
15457 * po/ru.po: Update Russion translation from translation project.
15459 2013-04-17 Adam Conrad <adconrad@0c3.net>
15461 * sysdeps/unix/sysv/linux/sys/fsuid.h: Remove __wur from setfsuid
15464 2013-04-17 Carlos O'Donell <carlos@redhat.com>
15466 * configure.in: Remove i386 configure warning. Remove i386 case.
15467 * configure: Regenerate.
15468 * sysdeps/i386/configure.in: Raise error if config_machine is i386.
15469 Add example to error message.
15470 * sysdeps/i386/configure: Regenerate.
15472 2013-04-17 Siddhesh Poyarekar <siddhesh@redhat.com>
15474 * benchtests/Makefile (bench): Add cos, tan, slowcos and
15476 * benchtests/cos-inputs: New file.
15477 * benchtests/slowcos-inputs: New file.
15478 * benchtests/slowcos.c: New file.
15479 * benchtests/slowtan-inputs: New file.
15480 * benchtests/slowtan.c: New file.
15481 * benchtests/tan-inputs: New file.
15483 2013-04-16 Roland McGrath <roland@hack.frob.com>
15485 * rt/tst-aio7.c (do_test): Don't test O_RDONLY fd case, which is now
15488 2013-04-16 Siddhesh Poyarekar <siddhesh@redhat.com>
15490 * benchtests/Makefile: Include cppflags-iterator.mk to add
15491 -DNOT_IN_libc=1 to CPPFLAGS of all benchmark programs.
15493 * Makefile.in (bench-clean): New target.
15494 * benchtests/Makefile (bench-clean): Likewise.
15496 2013-04-16 David Holsgrove <david.holsgrove@xilinx.com>
15498 * elf/elf.h: Add EM_MICROBLAZE and MicroBlaze relocations.
15500 2013-04-15 Thomas Schwinge <thomas@codesourcery.com>
15502 * stdio-common/tstdiomisc.c: Fix coding-style violation.
15504 2013-04-15 Andreas Schwab <schwab@suse.de>
15506 * nscd/grpcache.c (cache_addgr): Properly check for short write.
15507 * nscd/initgrcache.c (addinitgroupsX): Likewise.
15508 * nscd/pwdcache.c (cache_addpw): Likewise.
15509 * nscd/servicescache.c (cache_addserv): Likewise. Don't write
15512 2013-04-15 Siddhesh Poyarekar <siddhesh@redhat.com>
15514 * benchtests/Makefile (bench): Write all output to
15515 bench-out.tmp together.
15517 2013-04-15 Andreas Schwab <schwab@suse.de>
15519 * nscd/nscd.c (main): Don't fork again after closing files.
15521 2013-04-15 Siddhesh Poyarekar <siddhesh@redhat.com>
15523 * libio/tst-fwrite-error.c (do_test): Fix BUF array definition.
15525 * benchtests/Rules (bench-deps): Collect dependencies into a
15526 single variable. Add Makefile to dependencies.
15527 ($(objpfx)bench-%.c): Depend on bench-deps.
15529 2013-04-12 Roland McGrath <roland@hack.frob.com>
15530 Xavier Roche <roche+kml2@exalead.com>
15533 * sysdeps/pthread/aio_fsync.c (aio_fsync): Don't check open modes,
15534 just that it's a file descriptor.
15535 * manual/llio.texi (Synchronizing AIO Operations): Update description
15536 for EBADF error from aio_fsync.
15538 2013-04-12 Siddhesh Poyarekar <siddhesh@redhat.com>
15540 * Rules (bench): Move target definition...
15541 * benchtests/Makefile: ... here.
15543 2013-04-11 Carlos O'Donell <carlos@redhat.com>
15545 * math/libm-test.inc (cos_test): Fix PI/2 test.
15546 (sincos_test): Likewise.
15547 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
15548 * sysdeps/i386/fpu/libm-test-ulps: Regenerate.
15550 2013-04-11 Andreas Schwab <schwab@suse.de>
15553 * stdio-common/vfscanf.c (_IO_vfwscanf): When parsing a float
15554 accept exponent character only when digits were seen.
15555 * stdio-common/Makefile (tests): Add bug26.
15556 * stdio-common/bug26.c: New file.
15559 * elf/dl-load.c (_dl_init_paths): Mark decomposed RUNPATH as
15562 2013-04-11 Siddhesh Poyarekar <siddhesh@redhat.com>
15564 * Makeconfig (rtld-prefix): Define built linker prefix.
15565 * Rules (run-bench): Use it.
15566 * math/Makefile (run-regen-ulps): Likewise.
15568 * Rules (bench): Remove eval.
15570 2013-04-10 Siddhesh Poyarekar <siddhesh@redhat.com>
15571 Roland McGrath <roland@hack.frob.com>
15572 Ondrej Bilka <neleai@seznam.cz>
15575 * time/getdate.c: Include ctype.h and alloca.h.
15576 (__getdate_r): Trim leading and trailing spaces of input.
15577 * time/tst-getdate.c (tests): Add tests with leading and
15580 2013-04-08 Roland McGrath <roland@hack.frob.com>
15583 * sysdeps/mach/hurd/bits/ioctls.h (_IOTS): Cast to enum __ioctl_datum
15584 when computing value.
15586 2013-04-06 Carlos O'Donell <carlos@redhat.com>
15588 * math/README.libm-test (How can I generate "libm-test-ulps"?):
15589 Use testrun.sh to run libm tests.
15592 * elf/dl-open.c (dl_open_worker): memset all of seen array.
15594 2013-04-06 Marko Myllynen <myllynen@redhat.com>
15597 * locales/fi_FI (LC_MESSAGES): Define yesstr and nostr.
15599 2013-04-06 Carlos O'Donell <carlos@redhat.com>
15601 * Makefile.in (regen-ulps): New target.
15602 * math/Makefile [ifneq (no,$(PERL)]: Declare regen-ulps with .PHONY.
15603 [ifneq (no,$(PERL)] (run-regen-ulps): New variable.
15604 [ifneq (no,$(PERL)] (regen-ulps): New target.
15605 [ifeq (no,$(PERL)] (regen-ulps): New target.
15606 * math/libm-test.inc (ulps_file_name): Define.
15607 (output_dir): New variable.
15608 (options): Add "output-dir" option.
15609 (parse_opt): Handle 'o' case.
15610 (main): If output_dir is non-NULL use it as a prefix
15612 * math/README.libm-test: Update `How can I generate "libm-test-ulps"?'
15614 2013-04-06 Carlos O'Donell <carlos@redhat.com>
15616 [BZ #10060, #10062]
15617 * aclocal.m4 (LIBC_COMPILER_BUILTIN_INLINED): New macro.
15618 * sysdeps/i386/configure.in: Use LIBC_COMPILER_BUILTIN_INLINED and
15619 fail configure if __sync_val_compare_and_swap is not inlined.
15620 * sysdeps/i386/configure: Regenerate.
15621 * configure.in: Build for i686 when configured for i386.
15622 * configure: Regenerate.
15623 * README: Remove i386 reference.
15625 2013-04-06 Carlos O'Donell <carlos@redhat.com>
15627 * sysdeps/s390/s390-32/sysdep.h: Undefine PSEUDO before redefinition.
15628 * sysdeps/s390/s390-64/sysdep.h: Likewise.
15630 2013-04-05 Thomas Schwinge <thomas@codesourcery.com>
15632 * stdio-common/tstdiomisc.c (snanval, msnanval, lsnanval)
15633 (lmsnanval): New variables.
15634 (F): Add conversion tests.
15635 * stdlib/tst-strtod6.c (do_test): Add issignaling tests.
15636 * stdlib/Makefile ($(objpfx)tst-strtod6): Depend on $(link-libm).
15638 * stdio-common/tstdiomisc.c (F): Properly collect individual
15641 [BZ #14686, #15336]
15642 * sysdeps/ieee754/dbl-64/urem.h (nNAN, NAN): Remove definitions.
15643 * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder):
15644 Instead, use input NaN values or generate a qNaN by arithmetic
15645 operation. Also fix bugs to comply with the standard.
15646 * math/libm-test.inc (remainder_test): Add more tests.
15648 [BZ #15335, #15342]
15649 * sysdeps/ieee754/dbl-64/upow.h (NaNQ): Remove definitions.
15650 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Instead, use
15651 input NaN values or generate a qNaN by arithmetic operation.
15653 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Remove
15656 * sysdeps/ieee754/dbl-64/usncs.h (NAN): Removed unused
15659 2013-04-03 Joseph Myers <joseph@codesourcery.com>
15662 * math/s_cexp.c (__cexp): Ensure underflow exception occurs for
15663 underflowed result.
15664 * math/s_cexpf.c (__cexpf): Likewise.
15665 * math/s_cexpl.c (__cexpl): Likewise.
15666 * math/libm-test.inc (cexp_test): Add more tests.
15668 2013-04-03 Andreas Schwab <schwab@suse.de>
15671 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Allocate results and
15672 order arrays from heap if bigger than alloca cutoff.
15674 2013-04-03 Thomas Schwinge <thomas@codesourcery.com>
15676 * sysdeps/i386/fpu/math-tests.h (SNAN_TESTS_float)
15677 (SNAN_TESTS_double): Refer to GCC PR56831.
15678 * sysdeps/powerpc/math-tests.h (SNAN_TESTS_TYPE_CAST): Refer to
15681 2013-04-03 Siddhesh Poyarekar <siddhesh@redhat.com>
15683 * Rules (bench): Move bench.out after the run is complete.
15685 * Rules (bench): Echo currently running benchmark.
15687 * benchtests/Makefile (bench): Add atan and slowatan.
15688 * benchtests/atan-inputs: New file.
15689 * benchtests/slowatan-inputs: New file.
15690 * benchtests/slowatan.c: New file.
15692 * sysdeps/ieee754/dbl-64/mpa.h (TWO): Remove definition.
15693 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Replace TWO with
15697 * sysdeps/unix/sysv/linux/kernel-features.h
15698 [__LINUX_KERNEL_VERSION >= 0x02061d]: Define
15699 __ASSUME_XFS_RESTRICTED_CHOWN.
15700 * sysdeps/unix/sysv/linux/pathconf.c
15701 (__statfs_chown_restricted) [!__ASSUME_XFS_RESTRICTED_CHOWN]:
15702 Save and restore errno.
15704 2013-04-02 Joseph Myers <joseph@codesourcery.com>
15707 * math/s_cacosh.c (__cacosh): Implement for finite nonzero
15708 arguments using __kernel_casinh.
15709 * math/s_cacoshf.c (__cacoshf): Implement for finite nonzero
15710 arguments using __kernel_casinhf.
15711 * math/s_cacoshl.c (__cacoshl): Implement for finite nonzero
15712 arguments using __kernel_casinhl.
15713 * math/libm-test.inc (cacosh_test): Add more tests.
15714 * sysdeps/i386/fpu/libm-test-ulps: Update.
15715 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15717 2013-04-02 Siddhesh Poyarekar <siddhesh@redhat.com>
15719 * sysdeps/ieee754/dbl-64/mpa.h (HALFRAD): Define as TWO23.
15720 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Use mantissa_t.
15722 * bench/Makefile (bench): Add sin and slowsin.
15723 * benchtests/sin-inputs: New file.
15724 * benchtests/slowsin-inputs: New file.
15725 * benchtests/slowsin.c: New file.
15727 * benchtests/Makefile: Add benchmarks for slowpow and slowexp.
15728 (bench): Add slowexp and slowpow.
15729 (exp-ITER): Increase iterations.
15730 (pow-ITER): Likewise.
15731 * benchtests/exp-inputs: Change input.
15732 * benchtests/pow-inputs: Likewise.
15733 * benchtests/slowexp-inputs: New file.
15734 * benchtests/slowexp.c: New file.
15735 * benchtests/slowpow-inputs: New file.
15736 * benchtests/slowpow.c: New file.
15738 2013-04-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15740 * sysdeps/powerpc/powerpc32/fpu/s_rint.S: Remove branch prediction
15742 * sysdeps/powerpc/powerpc32/fpu/s_rintf.S: Likewise.
15743 * sysdeps/powerpc/powerpc64/fpu/s_rint.S: Likewise.
15744 * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
15745 * benchtests/Makefile: Add rint benchtest.
15746 * benchtests/rint-inputs: Input for rint benchtest.
15748 2013-04-02 Thomas Schwinge <thomas@codesourcery.com>
15750 * Versions.def (libm): Add GLIBC_2.18.
15751 * include/math.h [!_ISOMAC] (__issignaling, __issignalingf): Add
15752 hidden libm prototypes.
15753 [!_ISOMAC && !__NO_LONG_DOUBLE_MATH] (__issignalingl): Likewise.
15754 * math/Makefile (libm-calls): Add s_issignaling.
15755 * math/Versions (libm: GLIBC_2.18): Add __issignaling,
15756 __issignalingf, __issignalingl. Adjust all libm.abilist files.
15757 * math/bits/mathcalls.h [__USE_GNU] (__issignaling): New prototype
15759 * math/math.h [__USE_GNU] (issignaling): New macro.
15760 * sysdeps/ieee754/flt-32/s_issignalingf.c: New file.
15761 * sysdeps/ieee754/dbl-64/s_issignaling.c: Likewise.
15762 * sysdeps/ieee754/dbl-64/wordsize-64/s_issignaling.c: Likewise.
15763 * sysdeps/ieee754/ldbl-96/s_issignalingl.c: Likewise.
15764 * sysdeps/ieee754/ldbl-128/s_issignalingl.c: Likewise.
15765 * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c: Likewise.
15766 * manual/arith.texi (issignaling): New section.
15767 * manual/libm-err-tab.pl (@all_functions): Update comment.
15768 * math/gen-libm-test.pl (parse_args): Apply special handling for
15770 * math/libm-test.inc (print_float, issignaling_test): New
15772 (check_float_internal): Add issignaling checks.
15773 * sysdeps/generic/math-tests.h (SNAN_TESTS_TYPE_CAST): Provide
15774 default definition.
15775 * sysdeps/powerpc/math-tests.h: New file.
15776 * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Add issignaling
15778 * math/test-snan.c (TEST_FUNC): Likewise.
15780 2013-03-30 David S. Miller <davem@davemloft.net>
15782 * po/de.po: Update from translation team.
15784 2013-03-30 Joseph Myers <joseph@codesourcery.com>
15787 * math/k_casinh.c (__kernel_casinh): Handle arguments with
15788 imaginary part less than 1.0 and real part less than 0.5
15790 * math/k_casinhf.c (__kernel_casinhf): Likewise.
15791 * math/k_casinhl.c (__kernel_casinhl): Likewise.
15792 * math/libm-test.inc (UNDERFLOW_EXCEPTION_OK_DOUBLE): New macro.
15793 (cacos_test): Add more tests.
15794 (casin_test): Likewise.
15795 (casinh_test): Likewise.
15796 * sysdeps/i386/fpu/libm-test-ulps: Update.
15797 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15799 2013-03-29 Siddhesh Poyarekar <siddhesh@redhat.com>
15801 * sysdeps/powerpc/power4/fpu/mpa-arch.h (INTEGER_OF): Replace
15802 ONE with its value.
15804 * sysdeps/ieee754/dbl-64/mpa.h (ONE, MONE): Remove defines.
15805 (__pow_mp): Replace ONE and MONE with their values.
15806 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
15807 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Likewise.
15808 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
15809 * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Likewise.
15810 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
15811 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
15813 * sysdeps/ieee754/dbl-64/s_tan.c: Fix formatting.
15815 * sysdeps/ieee754/dbl-64/mpa.h (ZERO, MZERO): Remove defines.
15816 (__pow_mp): Replace ZERO and MZERO with their values.
15817 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
15818 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
15819 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
15820 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
15821 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
15822 * sysdeps/powerpc/power4/fpu/mpa.c (__mul): Likewise.
15825 * sysdeps/ieee754/dbl-64/s_atan.c: Fix formatting.
15827 * sysdeps/ieee754/dbl-64/e_log.c: Fix formatting.
15829 2013-03-28 Roland McGrath <roland@hack.frob.com>
15831 * include/stdlib.h [!SHARED] (__call_tls_dtors):
15832 Declare with __attribute__ ((weak)).
15833 * stdlib/exit.c (__libc_atexit) [!SHARED]:
15834 Call __call_tls_dtors only if it's not NULL.
15836 2013-03-28 Roland McGrath <roland@hack.frob.com>
15838 * csu/libc-start.c (__libc_start_main) [!SHARED]: If _dl_aux_init
15839 didn't do it already, then set _dl_phdr and _dl_phnum based on the
15840 magic __ehdr_start linker symbol if it's defined.
15841 * sysdeps/mach/hurd/i386/init-first.c (init1) [!SHARED]: Don't set
15842 them up here if it was already done.
15844 * elf/dl-support.c (_dl_phdr): Make pointer to const.
15845 (_dl_aux_init): Use const in cast when setting it.
15846 * sysdeps/mach/hurd/i386/init-first.c (init1): Remove superfluous cast.
15847 * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr): Update decl.
15848 * csu/libc-tls.c (__libc_setup_tls): Make PHDR pointer to const.
15850 * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr, _dl_phnum):
15852 * elf/dl-iteratephdr.c [!SHARED] (_dl_phdr, _dl_phnum): Not here.
15853 * csu/libc-tls.c: Nor here.
15854 * sysdeps/mach/hurd/i386/init-first.c (init1): Nor here.
15856 * sysdeps/posix/libc_fatal.c: Don't include <sys/syslog.h>.
15857 (__libc_message): Never call vsyslog.
15859 2013-03-28 Alan Modra <amodra@gmail.com>
15861 * sysdeps/powerpc/powerpc32/start.S (cfi_startproc, cfi_endproc):
15863 * sysdeps/powerpc/powerpc64/start.S (cfi_startproc, cfi_endproc):
15866 2013-03-28 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15869 * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Fix spurious
15871 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
15873 2013-03-28 Siddhesh Poyarekar <siddhesh@redhat.com>
15876 * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
15877 Don't add gid passed as argument.
15879 * sysdeps/ieee-754/dbl-64/e_atan2.c: Reformat.
15881 2013-03-27 Joseph Myers <joseph@codesourcery.com>
15884 * math/k_casinh.c (__kernel_casinh): Handle arguments with
15885 imaginary part between 1.0 and 1.5 and real part less than 0.5
15887 * math/k_casinhf.c (__kernel_casinhf): Likewise.
15888 * math/k_casinhl.c (__kernel_casinhl): Likewise.
15889 * math/libm-test.inc (cacos_test): Add more tests.
15890 (casin_test): Likewise.
15891 (casinh_test): Likewise.
15892 * sysdeps/i386/fpu/libm-test-ulps: Update.
15893 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15895 2013-03-26 Siddhesh Poyarekar <siddhesh@redhat.com>
15897 * sysdeps/ieee754/dbl-64/mpa.c (__acr): Use integral
15900 (denorm): Likewise.
15901 (__dbl_mp): Likewise.
15902 (add_magnitudes): Likewise.
15903 (sub_magnitudes): Likewise.
15911 * sysdeps/ieee754/dbl-64/branred.c (__branred): Remove
15913 * sysdeps/ieee754/dbl-64/dosincos.c (__dubsin): Likewise.
15914 (__dubcos): Likewise.
15915 * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Likewise.
15916 (__ieee754_acos): Likewise.
15917 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
15918 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Likewise.
15919 (__exp1): Likewise.
15920 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
15921 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
15923 (my_log2): Likewise.
15924 (checkint): Likewise.
15925 * sysdeps/ieee754/dbl-64/e_remainder.c
15926 (__ieee754_remainder): Likewise.
15927 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
15928 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Likewise.
15929 (bsloww): Likewise.
15930 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
15932 * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
15933 * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T and
15934 MANTISSA_STORE_T to store computations on mantissa. Use
15935 macros for rounding and division.
15936 (denorm): Likewise.
15937 (__dbl_mp): Likewise.
15938 (add_magnitudes): Likewise.
15939 (sub_magnitudes): Likewise.
15942 * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h. Define
15943 powers of two in terms of TWOPOW macro.
15944 (mp_no): Make type of mantissa as MANTISSA_T.
15945 [!RADIXI]: Define RADIXI.
15946 [!TWO52]: Define TWO52.
15947 * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
15949 2013-03-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15951 * sysdeps/powerpc/fpu/s_llround.c: Fix libm ABI issue with missing
15952 llroundl symbol when building for PPC32.
15954 2013-03-24 Mark H Weaver <mhw@netris.org>
15956 * manual/arith.texi (Normalization Functions): Fix prototypes for
15957 scalbn, scalbnf, scalbnl, scalbln, scalblnf, and scalblnl.
15959 2013-03-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15962 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Increase the
15963 high value to check if expl overflow.
15964 * sysdeps/ieee754/ldbl-128ibm/w_expl.c (__expl): Fix threshold constants
15965 to check for underflow and overflow.
15966 * math/libm-test.inc: Add exp test.
15968 2013-03-21 Dmitry V. Levin <ldv@altlinux.org>
15971 * sysdeps/x86_64/strcmp.S: Replace all occurrences of NOT_IN_lib
15974 2013-03-21 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15976 * sysdeps/powerpc/fpu/w_sqrt.c (compat_symbol): Add sqrtl compat
15979 2013-03-21 Thomas Schwinge <thomas@codesourcery.com>
15981 * math/gen-libm-test.pl (parse_args, special_functions): Properly
15982 wrap blocks consisting of several statements.
15984 * sysdeps/generic/math-tests.h: New file.
15985 * sysdeps/i386/fpu/math-tests.h: Likewise.
15986 * math/test-snan.c: Include it.
15987 (TEST_FUNC): Use SNAN_TESTS to short-circuit certain tests.
15989 2013-03-21 Joseph Myers <joseph@codesourcery.com>
15992 * sysdeps/ieee754/ldbl-128/e_j0l.c: Include <float.h>.
15993 (__ieee754_j0l): Do not improve calculations using cos of twice
15994 input for inputs above LDBL_MAX / 2.0L.
15995 (__ieee754_y0l): Likewise.
15996 * sysdeps/ieee754/ldbl-128/e_j1l.c: Include <float.h>.
15997 (__ieee754_j1l): Do not improve calculations using cos of twice
15998 input for inputs above LDBL_MAX / 2.0L.
15999 (__ieee754_y1l): Likewise.
16000 * math/libm-test.inc (j0_test): Add another test.
16001 (j1_test): Likewise.
16002 (y0_test): Likewise.
16003 (y1_test): Likewise.
16004 * sysdeps/i386/fpu/libm-test-ulps: Update.
16006 2013-03-21 Siddhesh Poyarekar <siddhesh@redhat.com>
16008 * Rules ($(objpfx)bench-%.c): Include code from a C source
16011 2013-03-21 Joseph Myers <joseph@codesourcery.com>
16014 * math/k_casinh.c (__kernel_casinh): Handle arguments with
16015 imaginary part 1.0 and real part less than 0.5 specially.
16016 * math/k_casinhf.c (__kernel_casinhf): Likewise.
16017 * math/k_casinhl.c (__kernel_casinhl): Likewise.
16018 * math/libm-test.inc (cacos_test): Add more tests.
16019 (casin_test): Likewise.
16020 (casinh_test): Likewise.
16021 * sysdeps/i386/fpu/libm-test-ulps: Update.
16022 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16024 2013-03-21 Siddhesh Poyarekar <siddhesh@redhat.com>
16026 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Use HALFRAD.
16027 * sysdeps/ieee754/dbl-64/sincos32.c (__mpranred): Likewise.
16029 2013-03-20 Joseph Myers <joseph@codesourcery.com>
16031 * aclocal.m4 (LIBC_CONFIG_VAR): New autoconf macro.
16032 * config.make.in (config-cflags-sse4): Remove variable.
16033 (config-cflags-avx): Likewise.
16034 (config-cflags-sse2avx): Likewise.
16035 (config-cflags-novzeroupper): Likewise.
16036 (config-asflags-i686): Likewise.
16037 (have-mfma4): Likewise.
16038 (have-as-vis3): Likewise.
16040 * configure.in (MIG): Do not AC_SUBST.
16041 (libc_cv_cc_nofma): Move AC_SUBST next to configure test.
16042 (libc_cv_cc_sse4): Do not AC_SUBST.
16043 (libc_cv_cc_avx): Likewise.
16044 (libc_cv_cc_sse2avx): Likewise.
16045 (libc_cv_cc_novzeroupper): Likewise.
16046 (libc_cv_cc_fma4): Likewise.
16047 (libc_cv_as_i686): Likewise.
16048 (libc_cv_sparc_as_vis3): Likewise.
16049 * sysdeps/i386/configure.in (config-cflags-sse4): Set using
16051 (config-asflags-i686): Likewise.
16052 (config-cflags-avx): Likewise.
16053 (config-cflags-sse2avx): Likewise.
16054 (have-mfma4): Likewise.
16055 (config-cflags-novzeroupper): Likewise.
16056 * sysdeps/mach/configure.in (MIG): Likewise.
16057 * sysdeps/sparc/configure.in (have-as-vis3): Likewise.
16058 * sysdeps/x86_64/configure.in (config-cflags-sse4): Set using
16060 (config-cflags-avx): Likewise.
16061 (config-cflags-sse2avx): Likewise.
16062 (have-mfma4): Likewise.
16063 (config-cflags-novzeroupper): Likewise.
16064 * configure: Regenerated.
16065 * sysdeps/i386/configure: Likewise.
16066 * sysdeps/mach/configure: Likewise.
16067 * sysdeps/sparc/configure: Likewise.
16068 * sysdeps/x86_64/configure: Likewise.
16070 2013-03-20 Roland McGrath <roland@hack.frob.com>
16073 * locale/programs/localedef.c (options): Put N_ translation marker
16074 on argument names, not just descriptions.
16076 2013-03-20 Marcus Shawcroft <marcus.shawcroft@linaro.org>
16078 * Makerules ($(inst_libdir)/libc.so): Use $(rtlddir).
16080 2013-03-20 Ondřej Bílka <neleai@seznam.cz>
16083 * stdlib/stdlib.h (mblen, mbtowc, wctomb): Remove __wur.
16085 2013-03-19 Roland McGrath <roland@hack.frob.com>
16087 * sysdeps/posix/libc_fatal.c: Include <sys/mman.h>.
16088 [!WRITEV_FOR_FATAL] (writev_for_fatal): New function.
16089 [!WRITEV_FOR_FATAL] (WRITEV_FOR_FATAL): New macro; call that.
16090 [!BEFORE_ABORT] (before_abort): New function.
16091 [!BEFORE_ABORT] (BEFORE_ABORT): New macro; call that.
16092 * sysdeps/unix/sysv/linux/libc_fatal.c: Trim includes.
16093 (writev_for_fatal): New function.
16094 (WRITEV_FOR_FATAL): New macro; call that.
16095 (backtrace_and_maps): New function.
16096 (BEFORE_ABORT): New macro; call that.
16097 (struct str_list): Type removed.
16098 (__libc_message, __libc_fatal): Functions removed.
16099 Include <sysdeps/posix/libc_fatal.c> instead.
16101 2013-03-19 Joseph Myers <joseph@codesourcery.com>
16103 * math/k_casinhf.c (__kernel_casinhf): Consistently use float
16105 * math/k_casinhl.c (__kernel_casinhl): Consistently use long
16108 2013-03-19 Andreas Schwab <schwab@suse.de>
16110 * sysdeps/gnu/configure.in: Set libc_cv_rtldir for s390x.
16111 * sysdeps/gnu/configure: Regenerate.
16113 * configure.in: Substitute libc_cv_rtlddir.
16114 * configure: Regenerate.
16115 * config.make.in (rtlddir): Set from libc_cv_rtlddir.
16116 * Makeconfig (rtlddir, inst_rtlddir): New variables.
16117 (rtld-LDFLAGS): Use them with $(rtld-installed-name).
16118 * elf/Makefile (install-others, CFLAGS-interp.c)
16119 (ldso_install, common-ldd-rewrite): Likewise.
16120 ($(inst_rtlddir)/$(rtld-installed-name)): Renamed from
16121 $(inst_slibdir)/$(rtld-installed-name).
16122 * scripts/rellns-sh: Add -p option.
16123 * Makerules (make-shlib-link): Use rellns-sh to get relative name
16126 2013-03-19 Siddhesh Poyarekar <siddhesh@redhat.com>
16128 * manual/nptl.texi: Renamed to ...
16129 * manual/threads.texi: ... this.
16130 * manual/Makefile (chapters): Update.
16132 2013-03-18 Roland McGrath <roland@hack.frob.com>
16135 * argp/argp-parse.c (argp_default_options): Put N_ translation marker
16136 on argument names, not just descriptions.
16137 * malloc/memusagestat.c (options): Likewise.
16138 * nss/getent.c (options): Likewise.
16140 2013-03-18 Benno Schulenberg <bensberg@justemail.net>
16143 * iconv/iconv_prog.c (options): Put N_ translation marker
16144 on argument names, not just descriptions.
16145 * iconv/iconvconfig.c (options): Likewise.
16147 2013-03-18 Ondrej Bilka <neleai@seznam.cz>
16149 * sysdeps/x86_64/strlen.S: Replace with new SSE2 based
16150 implementation which is faster on all x86_64 architectures.
16151 Tested on AMD, Intel Nehalem, SNB, IVB.
16152 * sysdeps/x86_64/strnlen.S: Likewise.
16154 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
16155 Remove all multiarch strlen and strnlen versions.
16156 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
16157 Remove strlen and strnlen related parts.
16159 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: Update.
16160 Inline strlen part.
16161 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Likewise.
16163 * sysdeps/x86_64/multiarch/strlen.S: Remove.
16164 * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S: Likewise.
16165 * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: Likewise.
16166 * sysdeps/x86_64/multiarch/strlen-sse4.S: Likewise.
16167 * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
16168 * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: Likewise.
16170 2013-03-17 Carlos O'Donell <carlos@redhat.com>
16172 * manual/memory.texi (Malloc Tunable Parameters):
16173 Sort parameters alphabetically. Add comments for missing entries.
16175 2013-03-17 David S. Miller <davem@davemloft.net>
16177 * sysdeps/sparc/fpu/libm-test-ulps: Update.
16179 2013-03-16 Joseph Myers <joseph@codesourcery.com>
16182 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_y1l): Correct test
16183 for arguments at most half maximum finite value.
16184 * math/libm-test.inc (j0_test): Add more tests.
16185 (j1_test): Likewise.
16186 (y0_test): Likewise.
16187 (y1_test): Likewise.
16188 * sysdeps/i386/fpu/libm-test-ulps: Update.
16189 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16192 * sysdeps/ieee754/ldbl-128/e_j0l.c (__ieee754_j0l): Do not compute
16193 1 / x and functions P and Q for arguments above 0x1p256L.
16194 (__ieee754_y0l): Likewise.
16195 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Likewise.
16196 (__ieee754_y1l): Likewise.
16197 * math/libm-test.inc (j0_test): Do not allow spurious underflows.
16198 (j1_test): Likewise.
16199 (y0_test): Likewise.
16200 (y1_test): Likewise.
16202 2013-03-16 Thomas Schwinge <thomas@codesourcery.com>
16204 * math/test-snan.c (TEST_FUNC): Add and use minus_sNaN_var
16207 2013-03-15 Roland McGrath <roland@hack.frob.com>
16209 * elf/dl-support.c (_dl_aux_init): Ignore zero value for AT_PAGESZ.
16210 (_dl_non_dynamic_init): Don't set _dl_pagesize; it will never be
16211 zero since it's initialized to EXEC_PAGESIZE.
16213 * sysdeps/unix/sysv/linux/ldsodefs.h
16214 (_dl_non_dynamic_init, _dl_aux_init): Move declarations to ...
16215 * sysdeps/generic/ldsodefs.h: ... here.
16217 2013-03-15 Thomas Schwinge <thomas@codesourcery.com>
16219 * math/libm-test.inc (ldexp_test): Add missing START/END markers.
16221 * sysdeps/powerpc/fpu/test-powerpc-snan.c: Rename to
16223 * math/test-snan.c: Renamed from
16224 sysdeps/powerpc/fpu/test-powerpc-snan.c.
16225 * math/Makefile (tests): Add test-snan.
16226 * sysdeps/powerpc/fpu/Makefile (libm-tests): Don't add
16229 * math/basic-test.c (TEST_FUNC): Replace NANFUNC argument with
16230 SUFFIX. Initialize qNaN_var with __builtin_nan family of
16232 (TEST_TRUNC): Add SUFFIX argument. Initialize qNaN_var with
16233 __builtin_nan family of functions.
16234 * math/libm-test.inc (initialize): Initialize qnan_value with
16235 __builtin_nan family of functions.
16236 * sysdeps/powerpc/fpu/test-powerpc-snan.c (SNANf, SNAN, SNANl):
16238 (init_signaling_nan, snan_float, snan_double, snan_ldouble):
16240 (TEST_FUNC): Add SUFFIX argument. Move sNaN_var into static
16241 storage class. Initialize qNaN_var and sNaN_var with
16242 __builtin_nan and __builtin_nans families of functions,
16245 * math/libm-test.inc (acosh_test): Also test with qNaN input.
16246 (sqrt_test): Remove duplicate test with qNaN input.
16247 (lrint_test, llrint_test, lround_test, llround_test, rint_test)
16248 (round_test, signbit_test, significand_test): Note missing +/-Inf
16249 as well as qNaN tests.
16251 * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Rename NaN_var to
16252 qNaN_var. Fix a few strings, too.
16253 * math/libm-test.inc (nan_value): Rename to qnan_value.
16254 * math/gen-libm-test.pl (%beautify): Adjust to that.
16255 * math/bits/mathcalls.h (nan): Refer to qNaN instead of NaN.
16256 * math/test-misc.c (main): Likewise.
16257 * sysdeps/ieee754/bits/nan.h (__nan_bytes, __nan_union): Rename
16258 to __qnan_bytes, and __qnan_union, respectively.
16259 * ports/sysdeps/mips/bits/nan.h (__nan_bytes, __nan_union):
16261 * stdio-common/tstdiomisc.c (nanval, lnanval): Rename to qnanval,
16262 and lqnanval, respectively.
16263 * sysdeps/powerpc/bits/fenv.h: Fix usage of NaN/qNaN/sNaN.
16264 * sysdeps/powerpc/fpu/fenv_libc.h: Likewise.
16265 * sysdeps/powerpc/fpu/test-powerpc-snan.c (TEST_FUNC): Likewise,
16266 and rename NaN_var to qNaN_var, and SNaN_var to sNaN_var.
16268 * math/libm-test.inc (fpstack_test) [__x86_64__]: Enable test.
16269 * math/test-misc.c (main) [__x86_64__]: Enable test for long
16272 * math/test-misc.c (main): Fix copy'n'pastos.
16273 * misc/tst-efgcvt.c (special): Likewise.
16275 * stdio-common/printf_fp.c (__isinfl_internal, __isnanl_internal):
16276 Remove declarations.
16278 2013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
16280 * sysdeps/ieee754/dbl-64/mpa-arch.h: Remove.
16281 * sysdeps/ieee754/dbl-64/mpa.c: Revert last change.
16282 * sysdeps/ieee754/dbl-64/mpa.h: Revert last change.
16283 * sysdeps/powerpc/power4/fpu/mpa-arch.h: Remove.
16285 2013-03-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16287 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET): Add
16288 macro to return vdso values correctly in IFUNC implementations.
16289 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
16290 Optimization by using IFUNC.
16292 2013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
16293 Richard Henderson <rth@redhat.com>
16294 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
16296 * Makefile.in (bench): New target.
16297 * NEWS: Mention the benchmark framework.
16298 * Rules (bench): Likewise.
16299 (binaries-bench): Generate binaries for functions to
16301 * benchtests/Makefile: New makefile for benchmark tests.
16302 * benchtests/bench-skeleton.c: New skeleton file for benchmark
16304 * benchtests/exp-inputs: New input file for EXP function.
16305 * benchtests/pow-inputs: New input file for POW function.
16306 * scripts/bench.pl: New script to generate source files for
16307 benchmark programs.
16309 2013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
16311 * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
16312 * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T to store
16313 computations on mantissa. Use macros for rounding and
16315 (denorm): Likewise.
16316 (__dbl_mp): Likewise.
16317 (add_magnitudes): Likewise.
16318 (sub_magnitudes): Likewise.
16321 * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h. Define
16322 powers of two in terms of TWOPOW macro.
16323 (mp_no): Make type of mantissa as MANTISSA_T.
16324 [!RADIXI]: Define RADIXI.
16325 [!TWO52]: Define TWO52.
16326 * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
16328 * manual/nptl.texi (cindex): Modify threads to pthreads.
16330 2013-03-15 Joseph Myers <joseph@codesourcery.com>
16332 * sysdeps/x86_64/preconfigure: Regenerated.
16334 2013-03-14 Joseph Myers <joseph@codesourcery.com>
16337 * sysdeps/ieee754/dbl-64/e_j0.c (pzero): Return 1.0 for arguments
16339 (qzero): Return -0.125 / x for arguments 0x1p28 and above.
16340 * sysdeps/ieee754/dbl-64/e_j1.c (pzero): Return 1.0 for arguments
16342 (qzero): Return 0.375 / x for arguments 0x1p28 and above.
16343 * math/libm-test.inc (j0_test): Do not allow one spurious
16344 underflow exception.
16345 (y1_test): Likewise.
16347 2013-03-14 Siddhesh Poyarekar <siddhesh@redhat.com>
16349 * manual/Makefile (chapters): Add nptl.
16350 * manual/debug.texi (Debugging Support): Add link to Threads
16352 * manual/nptl.texi: New file.
16354 * sysdeps/unix/sysv/linux/times.c (__times): Fix formatting.
16356 2013-03-14 Petr Baudis <pasky@ucw.cz>
16358 * sysdeps/unix/sysv/linux/times.c (__times): On EFAULT, test
16359 for non-NULL pointer before the memory validity test. Pointed
16360 out by Holger Brunck <holger.brunck@keymile.com>.
16362 2013-03-13 Andreas Schwab <schwab@suse.de>
16364 * extra-lib.mk (extra-objs): Add static-only-routines as .oS
16367 2013-03-13 Joseph Myers <joseph@codesourcery.com>
16369 * timezone/zic.c: Update from tzcode 2013b.
16371 2013-03-12 Carlos O'Donell <carlos@redhat.com>
16373 * manual/install.texi (Configuring and compiling):
16374 Mention i686 and i586.
16375 * INSTALL: Regenerate.
16377 2013-03-12 Roland McGrath <roland@hack.frob.com>
16379 * sysdeps/init_array/elf-init.c: New file.
16381 (__libc_csu_init) [!NO_INITFINI]: Conditionalize _init call on this.
16382 (__libc_csu_fini) [!NO_INITFINI]: Conditionalize _fini call on this.
16384 * csu/gmon-start.c [GMON_START_ARRAY_SECTION]: Don't define
16385 __gmon_start__ as global, but as static with a .preinit_array pointer.
16386 * sysdeps/init_array/gmon-start.c: New file. Use that.
16387 * sysdeps/init_array/crti.S: New file, empty except for comments.
16388 * sysdeps/init_array/crtn.S: Likewise.
16390 2013-03-11 Ondřej Bílka <neleai@seznam.cz>
16392 * sysdeps/x86_64/memset.S: Remove USE_MULTIARCH conditional for
16394 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
16395 Remove Prefer_SSE_for_memop.
16396 * sysdeps/x86_64/multiarch/init-arch.h: Remove
16397 bit_Prefer_SSE_for_memop, index_Prefer_SSE_for_memop,
16398 HAS_PREFER_SSE_FOR_MEMOP.
16399 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove
16401 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
16402 Remove bzero, memset ifunc support.
16403 * sysdeps/x86_64/multiarch/bzero.S: Remove file.
16404 * sysdeps/x86_64/multiarch/memset-x86-64.S: Likewise.
16405 * sysdeps/x86_64/multiarch/memset.S: Likewise.
16406 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
16408 2013-03-11 Andreas Schwab <schwab@suse.de>
16411 * Versions.def (libpthread): Add GLIBC_2.3, so that it can be used
16413 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist
16414 (GLIBC_2.16): Remove pthread_atfork.
16416 2013-03-08 Paul Pluzhnikov <ppluzhnikov@google.com>
16418 * posix/Makefile (testcases.h): Set LC_ALL=C before sed.
16419 (ptestcases.h): Likewise.
16421 2013-03-08 Roland McGrath <roland@hack.frob.com>
16423 * Makeconfig ($(common-objpfx)config.status): Depend on
16424 sysdeps/*/preconfigure{,.in} too.
16426 2013-03-08 Joseph Myers <joseph@codesourcery.com>
16428 * malloc/malloc.h (__malloc_ptr_t): Remove macro.
16429 (__free_hook): Use void * instead of __malloc_ptr_t.
16430 (__malloc_hook): Likewise.
16431 (__realloc_hook): Likewise.
16432 (__memalign_hook): Likewise.
16433 (__after_morecore_hook): Likewise.
16434 * malloc/arena.c (save_malloc_hook): Likewise.
16435 (save_free_hook): Likewise.
16436 * malloc/hooks.c (malloc_hook_ini): Likewise.
16437 (realloc_hook_ini): Likewise.
16438 (memalign_hook_ini): Likewise.
16439 * malloc/malloc.c (malloc_hook_ini): Likewise.
16440 (realloc_hook_ini): Likewise.
16441 (memalign_hook_ini): Likewise.
16442 (__free_hook): Likewise.
16443 (__malloc_hook): Likewise.
16444 (__realloc_hook): Likewise.
16445 (__memalign_hook): Likewise.
16446 (__libc_malloc): Likewise.
16447 (__libc_free): Likewise.
16448 (__libc_realloc): Likewise.
16449 (__libc_memalign): Likewise.
16450 (__libc_valloc): Likewise.
16451 (__libc_pvalloc): Likewise.
16452 (__libc_calloc): Likewise.
16453 (__posix_memalign): Likewise.
16454 * malloc/morecore.c (__sbrk): Likewise.
16455 (__default_morecore): Likewise.
16457 * malloc/morecore.c (__default_morecore): Use ISO C prototype.
16459 * malloc/malloc.h (__malloc_ptrdiff_t): Remove macro.
16460 * malloc/morecore.c (__default_morecore): Use ptrdiff_t instead of
16461 __malloc_ptrdiff_t.
16463 * malloc/malloc.h (__malloc_size_t): Remove macro.
16464 * malloc/mcheck.c (old_malloc_hook): Use size_t instead of
16466 (old_memalign_hook): Likewise.
16467 (old_realloc_hook): Likewise.
16468 (struct hdr): Likewise.
16470 (mallochook): Likewise.
16471 (memalignhook): Likewise.
16472 (reallochook): Likewise.
16473 * malloc/mtrace.c (tr_old_malloc_hook): Likewise.
16474 (tr_old_realloc_hook): Likewise.
16475 (tr_old_memalign_hook): Likewise.
16476 (tr_mallochook): Likewise.
16477 (tr_reallochook): Likewise.
16478 (tr_memalignhook): Likewise.
16480 2013-03-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16482 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_pack): Rename to
16483 default_ldbl_pack and using as default implementation.
16484 (ldbl_unpack): Rename to default_ldbl_unpack and using as default
16486 * sysdeps/powerpc/fpu/math_ldbl.h (ldbl_extract_mantissa): Remove
16487 redundant definition.
16488 (ldbl_insert_mantissa): Likewise.
16489 (ldbl_canonicalize): Likewise.
16490 (ldbl_nearbyint): Likewise.
16491 (ldbl_pack): Rename to ldbl_pack_ppc.
16492 (ldbl_unpack): Rename to ldbl_unpack_ppc.
16493 * sysdeps/unix/sysv/linux/powerpc/Implies: Remove file.
16494 * sysdeps/powerpc/Implies: Add ieee754/ldbl-opt after ieee754/ldbl-128ibm.
16496 2013-03-08 Siddhesh Poyarekar <siddhesh@redhat.com>
16498 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Move file...
16499 * sysdeps/powerpc/power4/fpu/mpa.c: ... here.
16500 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile: Move file...
16501 * sysdeps/powerpc/power4/fpu/Makefile: ... here.
16502 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Remove file.
16503 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile: Remove file.
16504 * sysdeps/powerpc/powerpc32/power4/Implies: New file.
16505 * sysdeps/powerpc/powerpc64/power4/Implies: New file.
16507 2013-03-07 Andreas Jaeger <aj@suse.de>
16509 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
16512 2013-03-07 Siddhesh Poyarekar <siddhesh@redhat.com>
16514 * sysdeps/ieee754/dbl-64/slowexp.c [!USE_LONG_DOUBLE_FOR_MP]:
16515 Include mpa.h and declare __MPEXP.
16516 [USE_LONG_DOUBLE_FOR_MP] (__slowexp): Call __IEEE754_EXPL.
16517 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
16518 (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
16519 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Remove.
16520 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
16521 (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
16522 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Remove.
16524 * sysdeps/ieee754/dbl-64/slowpow.c [USE_LONG_DOUBLE_FOR_MP]
16525 (__slowpow): Use long double EXPL and LOGL functions to
16527 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
16528 (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
16529 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Remove.
16530 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
16531 (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
16532 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Remove.
16534 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Use
16535 intermediate variable to calculate exponent.
16537 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
16541 * sysdeps/ieee754/dbl-64/mpa.c [!NO__MUL]: Define __mul.
16542 [!NO__SQR]: Define __sqr.
16543 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: define NO__MUL
16544 and NO__SQR. Remove all code except __mul and __sqr. Include
16545 sysdeps/ieee754/dbl-64/mpa.c.
16546 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
16549 * posix/Makefile (tests): Add tst-pathconf.
16550 * posix/tst-pathconf.c: New test case.
16551 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Remove
16553 * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Likewise.
16555 2013-03-06 Patsy Franklin <pfrankli@redhat.com>
16557 * io/fcntl.h: Added a comment about AT_EACCESS and AT_REMOVEDIR.
16559 2013-03-06 Andreas Jaeger <aj@suse.de>
16561 * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_ANONYMOUS): Allow
16562 definition via __MAP_ANONYMOUS.
16564 * sysdeps/unix/sysv/linux/s390/bits/mman.h (MAP_GROWSUP): Remove,
16565 it's not part of Linux headers.
16567 * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_HUGE_SHIFT): Define.
16568 (MAP_HUGE_MASK): Define.
16570 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h (PTRACE_O_EXIT_KILL):
16572 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
16573 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h (PTRACE_O_EXIT_KILL):
16575 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
16576 * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_O_EXIT_KILL):
16578 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
16579 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h (PTRACE_O_EXITKILL):
16581 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
16583 * sysdeps/unix/sysv/linux/x86/bits/msq.h (MSG_COPY): Likewise.
16584 * sysdeps/unix/sysv/linux/generic/bits/msq.h (MSG_COPY): Define.
16585 * sysdeps/unix/sysv/linux/powerpc/bits/msq.h (MSG_COPY): Likewise.
16586 * sysdeps/unix/sysv/linux/bits/msq.h (MSG_COPY): Likewise.
16587 * sysdeps/unix/sysv/linux/s390/bits/msq.h (MSG_COPY): Likewise.
16588 * sysdeps/unix/sysv/linux/sparc/bits/msq.h (MSG_COPY): Define.
16590 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
16593 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
16594 Handle f2fs and efivarfs.
16596 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Handle
16599 * sysdeps/unix/sysv/linux/linux_fsinfo.h (F2FS_SUPER_MAGIC): Add.
16600 (EFIVARFS_MAGIC): Add.
16601 (F2FS_LINK_MAX): Add.
16603 2013-03-06 Paul Pluzhnikov <ppluzhnikov@google.com>
16605 * stdio-common/vfprintf.c: Replace __builtin_expect with
16608 2013-03-06 Joseph Myers <joseph@codesourcery.com>
16611 * sysdeps/generic/bp-sym.h: Remove file.
16612 * sysdeps/powerpc/powerpc64/bp-asm.h: Likewise.
16613 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Don't include
16614 <bp-sym.h> and <bp-asm.h>.
16615 (__longjmp): Don't use BP_SYM.
16616 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Don't include <bp-sym.h>
16618 (memcpy): Don't use BP_SYM.
16619 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Don't include
16620 <bp-sym.h> and <bp-asm.h>.
16621 (memcpy): Don't use BP_SYM.
16622 * sysdeps/powerpc/powerpc64/memcpy.S: Don't include <bp-sym.h> and
16624 (memcpy): Don't use BP_SYM.
16625 * sysdeps/powerpc/powerpc64/memset.S: Don't include <bp-sym.h> and
16627 (memset): Don't use BP_SYM.
16628 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
16629 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
16630 (__bzero): Don't use BP_SYM.
16631 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
16632 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
16633 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Don't include
16634 <bp-sym.h> and <bp-asm.h>.
16635 (memcmp): Don't use BP_SYM. Remove comment about bounded
16637 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Don't include
16638 <bp-sym.h> and <bp-asm.h>.
16639 (memcpy): Don't use BP_SYM.
16640 * sysdeps/powerpc/powerpc64/power4/memset.S: Don't include
16641 <bp-sym.h> and <bp-asm.h>.
16642 (memset): Don't use BP_SYM.
16643 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
16644 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
16645 (__bzero): Don't use BP_SYM.
16646 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
16647 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
16648 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Don't include
16649 <bp-sym.h> and <bp-asm.h>.
16650 (strncmp): Don't use BP_SYM. Remove comment about bounded
16652 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Don't include
16653 <bp-sym.h> and <bp-asm.h>.
16654 (memcpy): Don't use BP_SYM.
16655 * sysdeps/powerpc/powerpc64/power6/memset.S: Don't include
16656 <bp-sym.h> and <bp-asm.h>.
16657 (memset): Don't use BP_SYM.
16658 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
16659 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
16660 (__bzero): Don't use BP_SYM.
16661 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
16662 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
16663 * sysdeps/powerpc/powerpc64/power7/memchr.S: Don't include
16664 <bp-sym.h> and <bp-asm.h>.
16665 (__memchr): Don't use BP_SYM.
16666 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Don't include
16667 <bp-sym.h> and <bp-asm.h>.
16668 (memcmp): Don't use BP_SYM. Remove comment about bounded
16670 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Don't include
16671 <bp-sym.h> and <bp-asm.h>.
16672 (memcpy): Don't use BP_SYM.
16673 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Don't include
16674 <bp-sym.h> and <bp-asm.h>.
16675 (__mempcpy): Don't use BP_SYM.
16676 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Don't include
16677 <bp-sym.h> and <bp-asm.h>.
16678 (__memrchr): Don't use BP_SYM.
16679 * sysdeps/powerpc/powerpc64/power7/memset.S: Don't include
16680 <bp-sym.h> and <bp-asm.h>.
16681 (memset): Don't use BP_SYM.
16682 (__bzero): Likewise.
16683 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Don't include
16684 <bp-sym.h> and <bp-asm.h>.
16685 (__rawmemchr): Don't use BP_SYM.
16686 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Don't include
16687 <bp-sym.h> and <bp-asm.h>.
16688 (__STRCMP): Don't use BP_SYM.
16689 * sysdeps/powerpc/powerpc64/power7/strchr.S: Don't include
16690 <bp-sym.h> and <bp-asm.h>.
16691 (strchr): Don't use BP_SYM.
16692 * sysdeps/powerpc/powerpc64/power7/strchrnul.S: Don't include
16693 <bp-sym.h> and <bp-asm.h>.
16694 (__strchrnul): Don't use BP_SYM.
16695 * sysdeps/powerpc/powerpc64/power7/strlen.S: Don't include
16696 <bp-sym.h> and <bp-asm.h>.
16697 (strlen): Don't use BP_SYM.
16698 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Don't include
16699 <bp-sym.h> and <bp-asm.h>.
16700 (strncmp): Don't use BP_SYM. Remove comment about bounded
16702 * sysdeps/powerpc/powerpc64/power7/strnlen.S: Don't include
16703 <bp-sym.h> and <bp-asm.h>.
16704 (__strnlen): Don't use BP_SYM.
16705 * sysdeps/powerpc/powerpc64/setjmp-common.S: Don't include
16706 <bp-sym.h> and <bp-asm.h>.
16707 (__GI__setjmp): Don't use BP_SYM.
16708 (_setjmp): Likewise.
16709 (__sigsetjmp): Likewise.
16710 * sysdeps/powerpc/powerpc64/start.S: Don't include "bp-sym.h".
16711 (L(start_addresses)): Don't use BP_SYM.
16712 (_start): Likewise.
16713 * sysdeps/powerpc/powerpc64/stpcpy.S: Don't include <bp-sym.h> and
16715 (__stpcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW,
16716 STORE_RETURN_BOUNDS, CHECK_BOUNDS_HIGH and STORE_RETURN_VALUE.
16717 (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
16718 (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
16719 * sysdeps/powerpc/powerpc64/strchr.S: Don't include <bp-sym.h> and
16721 (strchr): Don't use BP_SYM, CHECK_BOUNDS_LOW, STORE_RETURN_BOUNDS,
16722 CHECK_BOUNDS_HIGH_RTN and STORE_RETURN_VALUE. Remove comment
16723 about bounded pointers.
16724 (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
16725 (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
16726 * sysdeps/powerpc/powerpc64/strcmp.S: Don't include <bp-sym.h> and
16728 (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove comment
16729 about bounded pointers. Remove GKM FIXME comments.
16730 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
16731 * sysdeps/powerpc/powerpc64/strcpy.S: Don't include <bp-sym.h> and
16733 (strcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW and
16734 STORE_RETURN_BOUNDS. Remove comment about bounded pointers.
16735 Remove GKM FIXME comments.
16736 (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
16737 (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
16738 * sysdeps/powerpc/powerpc64/strlen.S: Don't include <bp-sym.h> and
16740 (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove comment
16741 about bounded pointers. Remove GKM FIXME comment.
16742 * sysdeps/powerpc/powerpc64/strncmp.S: Don't include <bp-sym.h>
16744 (strncmp): Don't use BP_SYM. Remove comment about bounded
16746 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S: Don't include
16747 <bp-sym.h> and <bp-asm.h>.
16748 (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
16749 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Don't include
16750 <bp-sym.h> and <bp-asm.h>.
16751 (__clone): Don't use BP_SYM and DISCARD_BOUNDS. Remove GKM FIXME
16754 2013-03-05 Paul Pluzhnikov <ppluzhnikov@google.com>
16756 * stdio-common/vfprintf.c (vfprintf): Check malloc return; don't
16759 2013-03-05 David S. Miller <davem@davemloft.net>
16761 * po/es.po: Update from translation team.
16763 2013-03-05 Andreas Jaeger <aj@suse.de>
16765 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Include
16766 <bits/mman-linux.h>.
16767 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
16769 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Move include of
16770 <bits/mman-linux.h> to end of file.
16771 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
16773 * sysdeps/unix/sysv/linux/x86/bits/mman.h: Move include of
16774 <bits/mman-linux.h> to end of file.
16775 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
16777 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Move include of
16778 <bits/mman-linux.h> to end of file.
16780 * sysdeps/unix/sysv/linux/bits/mman-linux.h [!MCL_CURRENT]
16781 (MCL_CURRENT, MCL_FUTURE): Define here.
16783 2013-03-05 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
16786 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Use
16788 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
16790 2013-03-05 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
16792 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Set the
16793 fourth parameter needed for rt_sigprocmask syscall.
16794 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S:
16795 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
16796 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Likewise.
16797 * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
16798 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
16799 * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Define _NSIG8.
16801 2013-03-04 Joseph Myers <joseph@codesourcery.com>
16804 * sysdeps/powerpc/powerpc32/power4/strncmp.S (strncmp): Remove
16805 comment about bounded pointers.
16806 * sysdeps/powerpc/powerpc32/power7/strncmp.S (strncmp): Likewise.
16807 * sysdeps/powerpc/powerpc32/strncmp.S (strncmp): Likewise.
16809 2013-03-04 Andreas Jaeger <aj@suse.de>
16811 * sysdeps/unix/sysv/linux/bits/mman-linux.h: New file, with Linux
16812 common definitions.
16814 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Remove all defines
16815 provided by bits/mman-linux.h and include <bits/mman-linux.h>.
16816 * sysdeps/unix/sysv/linux/x86/bits/mman.h: Likewise.
16817 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
16818 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
16819 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
16821 2013-03-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16824 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Use
16825 __ieee754_sqrl instead of __sqrl.
16827 2013-03-01 Joseph Myers <joseph@codesourcery.com>
16829 * sysdeps/powerpc/fpu/fpu_control.h: Move to ...
16830 * sysdeps/powerpc/fpu_control.h: ... here.
16831 * sysdeps/powerpc/fpu/bits/fenvinline.h: Move to ...
16832 * sysdeps/powerpc/bits/fenvinline.h: ... here.
16833 * sysdeps/powerpc/fpu/bits/mathinline.h: Move to ...
16834 * sysdeps/powerpc/bits/mathinline.h: ... here.
16836 2013-03-01 Roland McGrath <roland@hack.frob.com>
16838 * elf/dl-hwcaps.c (_dl_important_hwcaps):
16839 Change [NEED_DL_SYSINFO || NEED_DL_SYSINFO_DSO] conditionals
16840 to just [NEED_DL_SYSINFO_DSO].
16841 * elf/dl-support.c: Likewise.
16842 * elf/dl-sysdep.c (_dl_sysdep_start): Likewise.
16843 * elf/rtld.c (dl_main): Likewise.
16844 * elf/setup-vdso.h (setup_vdso): Likewise.
16845 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Likewise.
16846 * sysdeps/unix/sysv/linux/dl-sysdep.c
16847 (_dl_discover_osversion): Likewise.
16849 2013-03-01 Carlos O'Donell <carlos@redhat.com>
16851 * csu/libc-start.c (__pthread_initialize_minimal): Revert last change.
16852 * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
16854 2013-03-01 Siddhesh Poyarekar <siddhesh@redhat.com>
16856 * NEWS: Mention libm performance improvements and non-x86 PI
16859 * csu/libc-start.c (__pthread_initialize_minimal): Change
16860 function arguments.
16861 * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
16863 2013-02-28 Joseph Myers <joseph@codesourcery.com>
16866 * sysdeps/powerpc/powerpc32/bp-asm.h: Remove file.
16867 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Don't include
16868 <bp-sym.h> and <bp-asm.h>.
16869 (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
16870 * sysdeps/powerpc/powerpc32/a2/memcpy.S: Don't include <bp-sym.h>
16872 (memcpy): Don't use BP_SYM.
16873 * sysdeps/powerpc/powerpc32/add_n.S: Don't include <bp-sym.h> and
16875 (__mpn_add_n): Don't use BP_SYM.
16876 (__mpn_add_n) [__BOUNDED_POINTERS_]: Remove conditional code.
16877 * sysdeps/powerpc/powerpc32/addmul_1.S: Don't include <bp-sym.h>
16879 (__mpn_addmul_1): Don't use BP_SYM.
16880 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
16881 * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Don't include
16883 (_setjmp): Don't use BP_SYM.
16884 (__novmx_setjmp): Likewise.
16885 (__GI__setjmp): Likewise.
16886 (__vmx_setjmp): Likewise.
16887 * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Don't include
16889 * sysdeps/powerpc/powerpc32/bzero.S: Don't include <bp-sym.h>.
16890 (__bzero): Don't use BP_SYM.
16891 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
16892 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
16893 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Don't include
16894 <bp-sym.h> and <bp-asm.h>.
16895 (memcpy): Don't use BP_SYM.
16896 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Don't include
16897 <bp-sym.h> and <bp-asm.h>.
16898 (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
16899 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Don't include
16900 <bp-sym.h> and <bp-asm.h>.
16901 (__sigsetjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
16902 * sysdeps/powerpc/powerpc32/lshift.S: Don't include <bp-sym.h> and
16904 (__mpn_lshift): Don't use BP_SYM.
16905 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
16906 * sysdeps/powerpc/powerpc32/memset.S: Don't include <bp-sym.h> and
16908 (memset): Don't use BP_SYM.
16909 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
16910 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
16911 * sysdeps/powerpc/powerpc32/mul_1.S: Don't include <bp-sym.h> and
16913 (__mpn_mul_1): Don't use BP_SYM.
16914 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
16915 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Don't include
16916 <bp-sym.h> and <bp-asm.h>.
16917 (memcmp): Don't use BP_SYM.
16918 * sysdeps/powerpc/powerpc32/power4/memcpy.S: Don't include
16919 <bp-sym.h> and <bp-asm.h>.
16920 (memcpy): Don't use BP_SYM.
16921 * sysdeps/powerpc/powerpc32/power4/memset.S: Don't include
16922 <bp-sym.h> and <bp-asm.h>.
16923 (memset): Don't use BP_SYM.
16924 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't include
16925 <bp-sym.h> and <bp-asm.h>.
16926 (strncmp): Don't use BP_SYM.
16927 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Don't include
16928 <bp-sym.h> and <bp-asm.h>.
16929 (memcpy): Don't use BP_SYM.
16930 * sysdeps/powerpc/powerpc32/power6/memset.S: Don't include
16931 <bp-sym.h> and <bp-asm.h>.
16932 (memset): Don't use BP_SYM.
16933 * sysdeps/powerpc/powerpc32/power7/memchr.S: Don't include
16934 <bp-sym.h> and <bp-asm.h>.
16935 (__memchr): Don't use BP_SYM.
16936 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Don't include
16937 <bp-sym.h> and <bp-asm.h>.
16938 (memcmp): Don't use BP_SYM.
16939 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Don't include
16940 <bp-sym.h> and <bp-asm.h>.
16941 (memcpy): Don't use BP_SYM.
16942 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Don't include
16943 <bp-sym.h> and <bp-asm.h>.
16944 (__mempcpy): Don't use BP_SYM.
16945 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Don't include
16946 <bp-sym.h> and <bp-asm.h>.
16947 (__memrchr): Don't use BP_SYM.
16948 * sysdeps/powerpc/powerpc32/power7/memset.S: Don't include
16949 <bp-sym.h> and <bp-asm.h>.
16950 (memset): Don't use BP_SYM.
16951 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Don't include
16952 <bp-sym.h> and <bp-asm.h>.
16953 (__rawmemchr): Don't use BP_SYM.
16954 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Don't include
16955 <bp-sym.h> and <bp-asm.h>.
16956 (__STRCMP): Don't use BP_SYM.
16957 * sysdeps/powerpc/powerpc32/power7/strchr.S: Don't include
16958 <bp-sym.h> and <bp-asm.h>.
16959 (strchr): Don't use BP_SYM.
16960 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Don't include
16961 <bp-sym.h> and <bp-asm.h>.
16962 (__strchrnul): Don't use BP_SYM.
16963 * sysdeps/powerpc/powerpc32/power7/strlen.S: Don't include
16964 <bp-sym.h> and <bp-asm.h>.
16965 (strlen): Don't use BP_SYM.
16966 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Don't include
16967 <bp-sym.h> and <bp-asm.h>.
16968 (strncmp): Don't use BP_SYM.
16969 * sysdeps/powerpc/powerpc32/power7/strnlen.S: Don't include
16970 <bp-sym.h> and <bp-asm.h>.
16971 (__strnlen): Don't use BP_SYM.
16972 * sysdeps/powerpc/powerpc32/rshift.S: Don't include <bp-sym.h> and
16974 (__mpn_rshift): Don't use BP_SYM.
16975 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
16976 * sysdeps/powerpc/powerpc32/setjmp-common.S: Don't include
16977 <bp-sym.h> and <bp-asm.h>.
16978 (__sigsetjmp): Don't use BP_SYM.
16979 * sysdeps/powerpc/powerpc32/start.S: Don't include "bp-sym.h".
16980 (L(start_addresses)): Don't use BP_SYM.
16981 (_start): Likewise.
16982 * sysdeps/powerpc/powerpc32/stpcpy.S: Don't include <bp-sym.h> and
16984 (__stpcpy): Don't use BP_SYM and macros from bp-asm.h.
16985 (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
16986 (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
16987 * sysdeps/powerpc/powerpc32/strchr.S: Don't include <bp-sym.h> and
16989 (strchr): Don't use BP_SYM.h and macros from bp-asm.h.
16990 (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
16991 (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
16992 * sysdeps/powerpc/powerpc32/strcmp.S: Don't include <bp-sym.h> and
16994 (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove GKM FIXME
16996 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
16997 * sysdeps/powerpc/powerpc32/strcpy.S: Don't include <bp-sym.h> and
16999 (strcpy): Don't use BP_SYM and macros from bp-asm.h. Remove GKM
17001 (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
17002 (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
17003 * sysdeps/powerpc/powerpc32/strlen.S: Don't include <bp-sym.h> and
17005 (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove GKM FIXME
17007 * sysdeps/powerpc/powerpc32/strncmp.S: Don't include <bp-sym.h>
17009 (strncmp): Don't use BP_SYM,
17010 * sysdeps/powerpc/powerpc32/sub_n.S: Don't include <bp-sym.h> and
17012 (__mpn_sub_n): Don't use BP_SYM.
17013 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
17014 * sysdeps/powerpc/powerpc32/submul_1.S: Don't include <bp-sym.h>
17016 (__mpn_submul_1): Don't use BP_SYM.
17017 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
17018 * sysdeps/unix/sysv/linux/powerpc/powerpc32/brk.S: Don't include
17019 <bp-sym.h> and <bp-asm.h>.
17020 (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
17021 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Don't include
17022 <bp-sym.h> and <bp-asm.h>.
17023 (__clone): Don't use BP_SYM and DISCARD_BOUNDS. Remove GKM FIXME
17026 2013-02-28 Siddhesh Poyarekar <siddhesh@redhat.com>
17028 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (add_magnitudes):
17029 Use ZK to minimize writes to Z.
17030 (sub_magnitudes): Simplify code a bit.
17031 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (add_magnitudes):
17032 Use ZK to minimize writes to Z.
17033 (sub_magnitudes): Simplify code a bit.
17035 2013-02-27 Roland McGrath <roland@hack.frob.com>
17037 * csu/gmon-start.c: Add special exception to license text.
17039 2013-02-27 Richard Henderson <rth@redhat.com>
17041 * scripts/config.guess: Update from config.git.
17042 * scripts/config.sub: Likewise.
17044 2013-02-27 Siddhesh Poyarekar <siddhesh@redhat.com>
17046 * sysdeps/ieee754/dbl-64/mpsqrt.c: Reformat.
17048 * sysdeps/ieee754/dbl-64/mpatan2.c: Reformat.
17050 * sysdeps/ieee754/dbl-64/mpatan.c: Reformat.
17052 * sysdeps/ieee754/dbl-64/mptan.c: Reformat.
17054 * sysdeps/ieee754/dbl-64/mplog.c: Reformat.
17056 2013-02-26 Roland McGrath <roland@hack.frob.com>
17058 * Makeconfig (%.v.i, %.v): Move these pattern rules outside of
17059 [$(build-shared = yes].
17061 2013-02-26 Siddhesh Poyarekar <siddhesh@redhat.com>
17063 * sysdeps/ieee754/dbl-64/mpa.c: Include alloca.h.
17064 (__mul): Reduce iterations for calculating mantissa.
17066 * sysdeps/ieee754/dbl-64/sincos32.c (__c32): Use MPONE and
17068 (__mpranred): Likewise.
17071 * malloc/memusagestat.c (main): Draw graphs for heap and stack
17072 only if MAXSIZE_HEAP and MAXSIZE_STACK are non-zero.
17074 2013-02-26 Paul Eggert <eggert@cs.ucla.edu>
17076 * posix/regex_internal.h [__GNUC__ < 3 + (__GNUC_MINOR__ < 1]:
17077 Define __attribute__.
17079 2013-02-26 Siddhesh Poyarekar <siddhesh@redhat.com>
17081 * locale/elem-hash.h (elem_hash): Mark as pure and possibly
17083 * posix/regex_internal.h (__attribute): Remove.
17084 [!_LIBC && __i386__]: Use __attribute__ instead of __attribute.
17085 (re_string_context_at): Likewise.
17086 (bitset_not): Use __attribute__ and mark function as possibly
17088 (bitset_merge): Likewise.
17089 (bitset_mask): Likewise.
17090 (re_string_char_size_at): Likewise.
17091 (re_string_wchar_at): Likewise.
17092 (re_string_elem_size_at): Likewise.
17094 2013-02-25 Siddhesh Poyarekar <siddhesh@redhat.com>
17096 * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Remove commented
17100 * sysdeps/ieee754/dbl-64/mpa.c (mcr): Use long instead of int.
17104 (denorm): Likewise.
17105 (__dbl_mp): Likewise.
17106 (add_magnitudes): Likewise.
17107 (sub_magnitudes): Likewise.
17111 * sysdeps/ieee754/dbl-64/slowexp.c: Reformat in GNU coding
17114 * sysdeps/ieee754/dbl-64/slowpow.c: Reformat in GNU coding
17117 * sysdeps/ieee754/dbl-64/slowexp.c (__slowexp): Remove commented
17120 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mp_dbl): Sync
17121 up changes with default code.
17122 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mp_dbl):
17125 2013-02-24 Allan McRae <allan@archlinux.org>
17127 * manual/socket.texi (The Internet Namespace): Order menu items
17128 to match that in the file.
17130 * manual/libc-texinfo.sh: Use @detailmenu around the detailed
17131 node listing of the info page menu.
17133 2013-02-21 Joseph Myers <joseph@codesourcery.com>
17136 * sysdeps/i386/bp-asm.h: Remove file.
17137 * sysdeps/i386/add_n.S: Do not include "bp-sym.h" and "bp-asm.h".
17138 (PARMS): Do not use macros from bp-asm.h.
17142 (__mpn_add_n): Do not use BP_SYM
17143 * sysdeps/i386/addmul_1.S: Do not include "bp-sym.h" and
17145 (PARMS): Do not use macros from bp-asm.h.
17148 (__mpn_addmul_1): Do not use BP_SYM
17149 * sysdeps/i386/bsd-_setjmp.S: Do not include "bp-sym.h" and
17151 (PARMS): Do not use macros from bp-asm.h.
17152 (SIGMSK): Likewise.
17153 (_setjmp): Likewise. Do not use BP_SYM.
17154 * sysdeps/i386/bsd-setjmp.S: Do not include "bp-sym.h" and
17156 (PARMS): Do not use macros from bp-asm.h.
17157 (SIGMSK): Likewise.
17158 (setjmp): Likewise. Do not use BP_SYM.
17159 * sysdeps/i386/fpu/s_frexp.S: Do not include "bp-sym.h" and
17161 (PARMS): Do not use macros from bp-asm.h.
17162 (__frexp): Do not use BP_SYM.
17164 * sysdeps/i386/fpu/s_frexpf.S: Do not include "bp-sym.h" and
17166 (PARMS): Do not use macros from bp-asm.h.
17167 (__frexpf): Do not use BP_SYM.
17168 (frexpf): Likewise.
17169 * sysdeps/i386/fpu/s_frexpl.S: Do not include "bp-sym.h" and
17171 (PARMS): Do not use macros from bp-asm.h.
17172 (__frexpl): Do not use BP_SYM.
17173 (frexpl): Likewise.
17174 * sysdeps/i386/fpu/s_remquo.S: Do not include "bp-sym.h" and
17176 (PARMS): Do not use macros from bp-asm.h.
17177 (__remquo): Do not use BP_SYM.
17178 (remquo): Likewise.
17179 * sysdeps/i386/fpu/s_remquof.S: Do not include "bp-sym.h" and
17181 (PARMS): Do not use macros from bp-asm.h.
17182 (__remquof): Do not use BP_SYM.
17183 (remquof): Likewise.
17184 * sysdeps/i386/fpu/s_remquol.S: Do not include "bp-sym.h" and
17186 (PARMS): Do not use macros from bp-asm.h.
17187 (__remquol): Do not use BP_SYM.
17188 (remquol): Likewise.
17189 * sysdeps/i386/i486/strcat.S: Do not include "bp-sym.h" and
17191 (PARMS): Do not use macros from bp-asm.h.
17194 (strcat): Remove GKM FIXME comment. Do not use BP_SYM.
17195 * sysdeps/i386/i486/strlen.S: Do not include "bp-sym.h" and
17197 (PARMS): Do not use macros from bp-asm.h.
17198 (strlen): Do not use BP_SYM.
17199 * sysdeps/i386/i586/add_n.S: Do not include "bp-sym.h" and
17201 (PARMS): Do not use macros from bp-asm.h.
17205 (__mpn_add_n): Do not use BP_SYM.
17206 * sysdeps/i386/i586/addmul_1.S: Do not include "bp-sym.h" and
17208 (PARMS): Do not use macros from bp-asm.h.
17211 (__mpn_addmul_1): Do not use BP_SYM.
17212 * sysdeps/i386/i586/bzero.S (__bzero): Do not use BP_SYM in
17215 * sysdeps/i386/i586/lshift.S: Do not include "bp-sym.h" and
17217 (PARMS): Do not use macros from bp-asm.h.
17220 (__mpn_lshift): Do not use BP_SYM.
17221 * sysdeps/i386/i586/memcpy.S: Do not include "bp-sym.h" and
17223 (PARMS): Do not use macros from bp-asm.h.
17227 (memcpy): Likewise. Do not use BP_SYM.
17228 * sysdeps/i386/i586/mempcpy.S (__mempcpy): Do not use BP_SYM in
17229 libc_hidden_def and weak_alias.
17230 (mempcpy): Do not use BP_SYM in weak_alias.
17231 * sysdeps/i386/i586/memset.S: Do not include "bp-sym.h" and
17233 (PARMS): Do not use macros from bp-asm.h.
17236 [!BZERO_P] (CHR): Likewise.
17237 (memset): Likewise. Do not use BP_SYM.
17238 * sysdeps/i386/i586/mul_1.S: Do not include "bp-sym.h" and
17240 (PARMS): Do not use macros from bp-asm.h.
17243 (__mpn_mul_1): Do not use BP_SYM.
17244 * sysdeps/i386/i586/rshift.S: Do not include "bp-sym.h" and
17246 (PARMS): Do not use macros from bp-asm.h.
17249 (__mpn_rshift): Do not use BP_SYM.
17250 * sysdeps/i386/i586/strchr.S: Do not include "bp-sym.h" and
17252 (PARMS): Do not use macros from bp-asm.h.
17255 (strchr): Likewise. Do not use BP_SYM.
17256 (index): Do not use BP_SYM in weak_alias.
17257 * sysdeps/i386/i586/strcpy.S: Do not include "bp-sym.h" and
17259 (PARMS): Do not use macros from bp-asm.h.
17262 (STRCPY): Likewise. Remove GKM FIXME comment. Do not use BP_SYM.
17263 * sysdeps/i386/i586/strlen.S: Do not include "bp-sym.h" and
17265 (PARMS): Do not use macros from bp-asm.h.
17266 (strlen): Do not use BP_SYM.
17267 * sysdeps/i386/i586/sub_n.S: Do not include "bp-sym.h" and
17269 (PARMS): Do not use macros from bp-asm.h.
17273 (__mpn_sub_n): Do not use BP_SYM.
17274 * sysdeps/i386/i586/submul_1.S: Do not include "bp-sym.h" and
17276 (PARMS): Do not use macros from bp-asm.h.
17279 (__mpn_submul_1): Do not use BP_SYM.
17280 * sysdeps/i386/i686/add_n.S: Do not include "bp-sym.h" and
17282 (PARMS): Do not use macros from bp-asm.h.
17286 (__mpn_add_n): Do not use BP_SYM.
17287 * sysdeps/i386/i686/bzero.S (__bzero): Do not use BP_SYM in
17290 * sysdeps/i386/i686/memcmp.S: Do not include "bp-sym.h" and
17292 (PARMS): Do not use macros from bp-asm.h.
17295 (memcmp): Do not use BP_SYM.
17296 (bcmp): Do not use BP_SYM in weak_alias.
17297 * sysdeps/i386/i686/memcpy.S: Do not include "bp-sym.h" and
17299 (PARMS): Do not use macros from bp-asm.h.
17303 (memcpy): Likewise. Do not use BP_SYM.
17304 * sysdeps/i386/i686/memmove.S: Do not include "bp-sym.h" and
17306 (PARMS): Do not use macros from bp-asm.h.
17310 (memmove): Likewise. Do not use BP_SYM.
17311 * sysdeps/i386/i686/mempcpy.S: Do not include "bp-sym.h" and
17313 (PARMS): Do not use macros from bp-asm.h.
17317 (__mempcpy): Likewise. Do not use BP_SYM.
17318 (mempcpy): Do not use BP_SYM in weak_alias.
17319 * sysdeps/i386/i686/memset.S: Do not include "bp-sym.h" and
17321 (PARMS): Do not use macros from bp-asm.h.
17324 [!BZERO_P] (CHR): Likewise.
17325 (memset): Likewise. Do not use BP_SYM.
17326 * sysdeps/i386/i686/strcmp.S: Do not include "bp-sym.h" and
17328 (PARMS): Do not use macros from bp-asm.h.
17330 (strcmp): Do not use BP_SYM.
17331 * sysdeps/i386/i686/strtok.S: Do not include "bp-sym.h" and
17333 (PARMS): Do not use macros from bp-asm.h.
17336 [USE_AS_STRTOK_R] (SAVE): Likewise.
17337 (FUNCTION): Likewise. Do not use BP_SYM.
17338 * sysdeps/i386/i686/strtok_r.S (__strtok_r): Do not use BP_SYM in
17340 (strtok_r): Likewise.
17341 (__GI___strtok_r): Likewise.
17342 * sysdeps/i386/lshift.S: Do not include "bp-sym.h" and "bp-asm.h".
17343 (PARMS): Do not use macros from bp-asm.h.
17346 (__mpn_lshift): Do not use BP_SYM.
17347 * sysdeps/i386/memchr.S: Do not include "bp-sym.h" and "bp-asm.h".
17348 (PARMS): Do not use macros from bp-asm.h.
17351 (__memchr): Do not use BP_SYM.
17352 (memchr): Do not use BP_SYM in weak_alias.
17353 * sysdeps/i386/memcmp.S: Do not include "bp-sym.h" and "bp-asm.h".
17354 (PARMS): Do not use macros from bp-asm.h.
17357 (memcmp): Do not use BP_SYM.
17358 (bcmp): Do not use BP_SYM in weak_alias.
17359 * sysdeps/i386/mul_1.S: Do not include "bp-sym.h" and "bp-asm.h".
17360 (PARMS): Do not use macros from bp-asm.h.
17363 (__mpn_mul_1): Do not use BP_SYM.
17364 * sysdeps/i386/rawmemchr.S: Do not include "bp-sym.h" and
17366 (PARMS): Do not use macros from bp-asm.h.
17369 (__rawmemchr): Do not use BP_SYM.
17370 (rawmemchr): Do not use BP_SYM in weak_alias.
17371 * sysdeps/i386/rshift.S: Do not include "bp-sym.h" and "bp-asm.h".
17372 (PARMS): Do not use macros from bp-asm.h.
17375 (__mpn_rshift): Do not use BP_SYM.
17376 * sysdeps/i386/setjmp.S: Do not include "bp-sym.h" and "bp-asm.h".
17377 (PARMS): Do not use macros from bp-asm.h.
17378 (SIGMSK): Likewise.
17379 (__sigsetjmp): Likewise. Do not use BP_SYM.
17380 * sysdeps/i386/start.S: Do not include "bp-sym.h".
17381 (_start): Do not use BP_SYM.
17382 * sysdeps/i386/stpcpy.S: Do not include "bp-sym.h" and "bp-asm.h".
17383 (PARMS): Do not use macros from bp-asm.h.
17386 (__stpcpy): Likewise. Do not use BP_SYM.
17387 (stpcpy): Do not use BP_SYM in weak_alias.
17388 * sysdeps/i386/stpncpy.S: Do not include "bp-sym.h" and
17390 (PARMS): Do not use macros from bp-asm.h.
17394 (__stpncpy): Likewise. Do not use BP_SYM.
17395 (stpncpy): Do not use BP_SYM in weak_alias.
17396 * sysdeps/i386/strchr.S: Do not include "bp-sym.h" and "bp-asm.h".
17397 (PARMS): Do not use macros from bp-asm.h.
17400 (strchr): Likewise. Do not use BP_SYM.
17401 * sysdeps/i386/strchrnul.S: Do not include "bp-sym.h" and
17403 (PARMS): Do not use macros from bp-asm.h.
17406 (__strchrnul): Likewise. Do not use BP_SYM.
17407 (strchrnul): Do not use BP_SYM in weak_alias.
17408 * sysdeps/i386/strcspn.S: Do not include "bp-sym.h" and
17410 (PARMS): Do not use macros from bp-asm.h.
17412 (strcspn): Do not use BP_SYM.
17413 * sysdeps/i386/strpbrk.S: Do not include "bp-sym.h" and
17415 (PARMS): Do not use macros from bp-asm.h.
17418 (strpbrk): Likewise. Do not use BP_SYM.
17419 * sysdeps/i386/strrchr.S: Do not include "bp-sym.h" and
17421 (PARMS): Do not use macros from bp-asm.h.
17424 (strrchr): Likewise. Do not use BP_SYM.
17425 * sysdeps/i386/strspn.S: Do not include "bp-sym.h" and "bp-asm.h".
17426 (PARMS): Do not use macros from bp-asm.h.
17428 (strspn): Do not use BP_SYM.
17429 * sysdeps/i386/strtok.S: Do not include "bp-sym.h" and "bp-asm.h".
17430 (PARMS): Do not use macros from bp-asm.h.
17434 (FUNCTION): Likewise. Do not use BP_SYM.
17435 * sysdeps/i386/strtok_r.S (__strtok_r): Do not use BP_SYM in
17437 (strtok_r): Likewise.
17438 (__GI___strtok_r): Likewise.
17439 * sysdeps/i386/sub_n.S: Do not include "bp-sym.h" and "bp-asm.h".
17440 (PARMS): Do not use macros from bp-asm.h.
17444 (__mpn_sub_n): Do not use BP_SYM.
17445 * sysdeps/i386/submul_1.S: Do not include "bp-sym.h" and
17447 (PARMS): Do not use macros from bp-asm.h.
17450 (__mpn_submul_1): Do not use BP_SYM.
17451 * sysdeps/unix/i386/sysdep.S: Do not include <bp-asm.h> and
17453 * sysdeps/unix/sysv/linux/i386/clone.S: Do not include <bp-sym.h>
17455 (PARMS): Do not use macros from bp-asm.h.
17460 (__clone): Do not use BP_SYM.
17461 (clone): Do not use BP_SYM in weak_alias.
17462 * sysdeps/unix/sysv/linux/i386/mmap64.S: Do not include <bp-sym.h>
17464 (PARMS): Do not use macros from bp-asm.h.
17466 (__mmap64): Do not use BP_SYM.
17467 (mmap64): Do not use BP_SYM in weak_alias.
17468 * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
17469 <bp-sym.h> and <bp-asm.h>.
17470 (PARMS): Do not use macros from bp-asm.h.
17471 (__posix_fadvise64_l64): Do not use BP_SYM.
17472 * sysdeps/unix/sysv/linux/i386/semtimedop.S
17473 (PARMS): Do not use macros from bp-asm.h.
17475 (semtimedop): Do not use BP_SYM.
17476 * sysdeps/unix/sysv/linux/i386/sysdep.h: Do not include <bp-sym.h>
17479 2013-02-21 Allan McRae <allan@archlinux.org>
17481 * manual/message.texi (Charset conversion in gettext):
17482 Move @end statement to beginning of line.
17484 2013-02-21 Siddhesh Poyarekar <siddhesh@redhat.com>
17486 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Mark as
17488 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
17491 * sysdeps/ieee754/dbl-64/mpa.c (norm): Fix whitespace.
17492 (denorm): Likewise.
17493 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (norm): Likewise.
17494 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (norm): Likewise.
17496 2013-02-21 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
17498 * sysdeps/s390/s390-32/dl-trampoline.S (_dl_runtime_profile): Do a
17499 tail-call to the resolved function if pltexit isn't needed.
17501 2013-02-21 Siddhesh Poyarekar <siddhesh@redhat.com>
17503 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Mark X
17504 or Y being zero as being unlikely.
17505 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
17508 2013-02-20 Carlos O'Donell <carlos@redhat.com>
17510 * manual/nss.texi (System Databases and Name Service Switch):
17511 Remove frobnicate @pxref.
17513 2013-02-20 Thomas Schwinge <thomas@codesourcery.com>
17515 * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
17516 __attribute__ ((unused)) to __attribute__ ((__unused__)).
17518 2013-02-20 Petr Machata <pmachata@redhat.com>
17520 * elf/elf.h (R_ARM_TARGET1): New macro.
17521 (R_ARM_SBREL31, R_ARM_V4BX, R_ARM_TARGET2): Likewise.
17522 (R_ARM_PREL31, R_ARM_MOVW_ABS_NC, R_ARM_MOVT_ABS): Likewise.
17523 (R_ARM_MOVW_PREL_NC, R_ARM_MOVT_PREL): Likewise.
17524 (R_ARM_THM_MOVW_ABS_NC, R_ARM_THM_MOVT_ABS): Likewise.
17525 (R_ARM_THM_MOVW_PREL_NC, R_ARM_THM_MOVT_PREL): Likewise.
17526 (R_ARM_THM_JUMP19, R_ARM_THM_JUMP6): Likewise.
17527 (R_ARM_THM_ALU_PREL_11_0, R_ARM_THM_PC12): Likewise.
17528 (R_ARM_ABS32_NOI, R_ARM_REL32_NOI): Likewise.
17529 (R_ARM_ALU_PC_G0_NC, R_ARM_ALU_PC_G0): Likewise.
17530 (R_ARM_ALU_PC_G1_NC, R_ARM_ALU_PC_G1): Likewise.
17531 (R_ARM_ALU_PC_G2, R_ARM_LDR_PC_G1, R_ARM_LDR_PC_G2): Likewise.
17532 (R_ARM_LDRS_PC_G0, R_ARM_LDRS_PC_G1): Likewise.
17533 (R_ARM_LDRS_PC_G2, R_ARM_LDC_PC_G0): Likewise.
17534 (R_ARM_LDC_PC_G1, R_ARM_LDC_PC_G2): Likewise.
17535 (R_ARM_ALU_SB_G0_NC, R_ARM_ALU_SB_G0): Likewise.
17536 (R_ARM_ALU_SB_G1_NC, R_ARM_ALU_SB_G1): Likewise.
17537 (R_ARM_ALU_SB_G2, R_ARM_LDR_SB_G0, R_ARM_LDR_SB_G1): Likewise.
17538 (R_ARM_LDR_SB_G2, R_ARM_LDRS_SB_G0): Likewise.
17539 (R_ARM_LDRS_SB_G1, R_ARM_LDRS_SB_G2): Likewise.
17540 (R_ARM_LDC_SB_G0, R_ARM_LDC_SB_G1, R_ARM_LDC_SB_G2): Likewise.
17541 (R_ARM_MOVW_BREL_NC, R_ARM_MOVT_BREL): Likewise.
17542 (R_ARM_MOVW_BREL, R_ARM_THM_MOVW_BREL_NC): Likewise.
17543 (R_ARM_THM_MOVT_BREL, R_ARM_THM_MOVW_BREL): Likewise.
17544 (R_ARM_PLT32_ABS, R_ARM_GOT_ABS, R_ARM_GOT_PREL): Likewise.
17545 (R_ARM_GOT_BREL12, R_ARM_GOTOFF12, R_ARM_GOTRELAX): Likewise.
17546 (R_ARM_TLS_LDO12, R_ARM_TLS_LE12, R_ARM_TLS_IE12GP): Likewise.
17547 (R_ARM_PRIVATE_0, R_ARM_PRIVATE_1, R_ARM_PRIVATE_2): Likewise.
17548 (R_ARM_PRIVATE_3, R_ARM_PRIVATE_4, R_ARM_PRIVATE_5): Likewise.
17549 (R_ARM_PRIVATE_6, R_ARM_PRIVATE_7, R_ARM_PRIVATE_8): Likewise.
17550 (R_ARM_PRIVATE_9, R_ARM_PRIVATE_10): Likewise.
17551 (R_ARM_PRIVATE_11, R_ARM_PRIVATE_12): Likewise.
17552 (R_ARM_PRIVATE_13, R_ARM_PRIVATE_14): Likewise.
17553 (R_ARM_PRIVATE_15, R_ARM_ME_TOO): Likewise.
17554 (R_ARM_THM_TLS_DESCSEQ16, R_ARM_THM_TLS_DESCSEQ32): Likewise.
17555 (R_ARM_THM_GOT_BREL12): Likewise.
17556 (R_ARM_PC24, R_ARM_PLT32): Updated a comment at this macro.
17557 (R_ARM_THM_PC11, R_ARM_THM_PC9): Likewise.
17558 (R_ARM_THM_ABS5, R_ARM_THM_PC22): Added a comment to this macro.
17559 (R_ARM_THM_PC8, R_ARM_THM_SWI8, R_ARM_XPC25): Likewise.
17560 (R_ARM_THM_XPC22, R_ARM_ALU_PCREL_7_0): Likewise.
17561 (R_ARM_ALU_PCREL_15_8, R_ARM_ALU_PCREL_23_15): Likewise.
17562 (R_ARM_LDR_SBREL_11_0, R_ARM_ALU_SBREL_19_12): Likewise.
17563 (R_ARM_ALU_SBREL_27_20, R_ARM_TLS_DESCSEQ): Likewise.
17564 (R_ARM_THM_TLS_DESCSEQ): Fixed whitespace.
17566 2013-02-20 Thomas Schwinge <thomas@codesourcery.com>
17568 * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
17569 __attribute_used__ to __attribute__ ((unused)).
17571 2013-02-20 Siddhesh Poyarekar <siddhesh@redhat.com>
17573 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Copy over comment from
17575 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Fix
17576 comment formatting.
17577 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul): Likewise.
17579 2013-02-19 Joseph Myers <joseph@codesourcery.com>
17582 * sysdeps/i386/bp-asm.h [__BOUNDED_POINTERS__] (BOUNDS_VIOLATED):
17584 (ENTER): Remove both macro definitions.
17586 (CHECK_BOUNDS_LOW): Likewise.
17587 (CHECK_BOUNDS_HIGH): Likewise.
17588 (CHECK_BOUNDS_BOTH): Likewise.
17589 (CHECK_BOUNDS_BOTH_WIDE): Likewise.
17590 (RETURN_BOUNDED_POINTER): Likewise.
17591 (RETURN_NULL_BOUNDED_POINTER): Likewise.
17592 (PUSH_ERRNO_LOCATION_RETURN): Likewise.
17593 (POP_ERRNO_LOCATION_RETURN): Likewise.
17594 * sysdeps/i386/add_n.S (__mpn_add_n): Do not use removed macros.
17595 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
17596 * sysdeps/i386/addmul_1.S (__mpn_addmul_1): Do not use removed
17598 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
17599 * sysdeps/i386/bsd-_setjmp.S (_setjmp): Do not use removed macros.
17600 * sysdeps/i386/bsd-setjmp.S (setjmp): Likewise.
17601 * sysdeps/i386/fpu/s_frexp.S (__frexp): Likewise.
17602 * sysdeps/i386/fpu/s_frexpf.S (__frexpf): Likewise.
17603 * sysdeps/i386/fpu/s_frexpl.S (__frexpl): Likewise.
17604 * sysdeps/i386/fpu/s_remquo.S (__remquo): Likewise.
17605 * sysdeps/i386/fpu/s_remquof.S (__remquof): Likewise.
17606 * sysdeps/i386/fpu/s_remquol.S (__remquol): Likewise.
17607 * sysdeps/i386/i486/strcat.S (strcat): Likewise.
17608 * sysdeps/i386/i486/strlen.S (strlen): Likewise.
17609 * sysdeps/i386/i586/add_n.S (__mpn_add_n): Likewise.
17610 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
17611 * sysdeps/i386/i586/addmul_1.S (__mpn_addmul_1): Do not use
17613 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
17614 * sysdeps/i386/i586/lshift.S (__mpn_lshift): Do not use removed
17616 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
17617 * sysdeps/i386/i586/memcpy.S (memcpy): Do not use removed macros.
17618 * sysdeps/i386/i586/memset.S (memset): Likewise.
17619 * sysdeps/i386/i586/mul_1.S (__mpn_mul_1): Likewise.
17620 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
17621 * sysdeps/i386/i586/rshift.S (__mpn_rshift): Do not use removed
17623 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
17624 * sysdeps/i386/i586/strchr.S (strchr): Do not use removed macros.
17625 Change uses of L(2) to L(out).
17626 * sysdeps/i386/i586/strcpy.S (STRCPY): Do not use removed macros.
17627 * sysdeps/i386/i586/strlen.S (strlen): Likewise.
17628 * sysdeps/i386/i586/sub_n.S (__mpn_sub_n): Likewise.
17629 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
17630 * sysdeps/i386/i586/submul_1.S (__mpn_submul_1): Do not use
17632 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
17633 * sysdeps/i386/i686/add_n.S (__mpn_add_n): Do not use removed
17635 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
17636 * sysdeps/i386/i686/memcmp.S (ENTRANCE): Do not use macro ENTER.
17637 (RETURN): Do not use macro LEAVE.
17638 * sysdeps/i386/i686/memcpy.S (memcpy): Do not use removed macros.
17639 * sysdeps/i386/i686/memmove.S (memmove): Likewise.
17640 * sysdeps/i386/i686/mempcpy.S (mempcpy): Likewise.
17641 * sysdeps/i386/i686/memset.S (memset): Likewise.
17642 * sysdeps/i386/i686/strcmp.S (strcmp): Likewise.
17643 (strcmp) [!__BOUNDED_POINTERS__]: Make code unconditional.
17644 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
17645 * sysdeps/i386/i686/strtok.S (save_ptr) [__BOUNDED_POINTERS__]:
17647 (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
17648 (FUNCTION): Do not use removed macros. Combine labels L(1_1),
17649 L(1_2) and L(1_3) into L(1).
17650 (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
17651 * sysdeps/i386/lshift.S (__mpn_lshift): Do not use removed macros.
17652 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
17653 * sysdeps/i386/memchr.S (__memchr): Do not use removed macros.
17654 (__memchr) [__BOUNDED_POINTERS__]: Remove conditional code.
17655 * sysdeps/i386/memcmp.S (memcmp): Do not use removed macros.
17656 * sysdeps/i386/mul_1.S (__mpn_mul_1): Likewise.
17657 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
17658 * sysdeps/i386/rawmemchr.S (__rawmemchr): Do not use removed
17660 * sysdeps/i386/rshift.S (__mpn_rshift): Likewise.
17661 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
17662 * sysdeps/i386/setjmp.S (__sigsetjmp): Do not use removed macros.
17663 * sysdeps/i386/stpcpy.S (__stpcpy): Likewise.
17664 * sysdeps/i386/stpncpy.S (__stpncpy): Likewise.
17665 (__stpncpy) [__BOUNDED_POINTERS__]: Remove conditional code.
17666 * sysdeps/i386/strchr.S (strchr): Do not use removed macros.
17667 * sysdeps/i386/strchrnul.S (__strchrnul): Likewise.
17668 * sysdeps/i386/strcspn.S (strcspn): Likewise.
17669 * sysdeps/i386/strpbrk.S (strpbrk): Likewise.
17670 * sysdeps/i386/strrchr.S (strrchr): Likewise.
17671 * sysdeps/i386/strspn.S (strspn): Likewise.
17672 * sysdeps/i386/strtok.S (save_ptr) [__BOUNDED_POINTERS__]: Remove
17674 (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
17675 (FUNCTION) [!__BOUNDED_POINTERS__]: Likewise.
17676 (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
17677 (FUNCTION): Do not use removed macros. Combine labels L(1_2) and
17678 L(1_3) into L(1_1).
17679 * sysdeps/i386/sub_n.S (__mpn_sub_n): Do not use removed macros.
17680 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
17681 * sysdeps/i386/submul_1.S (__mpn_submul_1): Do not use removed
17683 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
17685 2013-02-19 Jakub Jelinek <jakub@redhat.com>
17687 * stdlib/strtod_l.c (__mpn_lshift_1): Rewritten as function-like
17690 2013-02-19 Siddhesh Poyarekar <siddhesh@redhat.com>
17692 * math/atest-exp.c (exp_mpn): Remove ROUND.
17693 * math/atest-exp2.c (exp_mpn): Likewise.
17694 * math/atest-sincos.c (sincosx_mpn): Remove ROUND and CHK.
17696 * stdlib/cxa_thread_atexit_impl.c: Fix Copyright year.
17697 * stdlib/tst-tls-atexit-lib.c: Likewise.
17698 * stdlib/tst-tls-atexit.c: Likewise.
17700 2013-02-18 Mike Frysinger <vapier@gentoo.org>
17702 * stdlib/stdlib.h (aligned_alloc): Use __attribute_malloc__
17703 and __attribute_alloc_size__.
17705 2013-02-18 Mike Frysinger <vapier@gentoo.org>
17707 * include/programs/xmalloc.h: Change __attribute_alloc_size to
17708 __attribute_alloc_size__.
17709 * include/sys/cdefs.h (__attribute_alloc_size): Macro removed.
17710 * misc/sys/cdefs.h (__attribute_alloc_size__): New macro.
17712 2013-02-18 Mike Frysinger <vapier@gentoo.org>
17714 * include/programs/xmalloc.h: New file.
17715 * catgets/gencat.c: Include it.
17716 (xmalloc, xcalloc, xrealloc, xstrdup): Don't declare them.
17717 * elf/pldd.c: Likewise.
17718 * iconv/iconv_charmap.c: Likewise.
17719 * iconv/iconvconfig.c: Likewise.
17720 * iconv/strtab.c: Likewise.
17721 * locale/programs/locale.c: Likewise.
17722 * locale/programs/localedef.h: Likewise.
17723 * locale/programs/simple-hash.c: Likewise.
17724 * nscd/nscd.h: Likewise.
17725 * nss/makedb.c: Likewise.
17726 * sysdeps/generic/ldconfig.h: Likewise.
17728 2013-02-18 Siddhesh Poyarekar <siddhesh@redhat.com>
17730 * Versions.def: Add GLIBC_2.18.
17731 * include/link.h (struct link_map): New member l_tls_dtor_count.
17732 * include/stdlib.h (__cxa_thread_atexit_impl): Declare.
17733 (__call_tls_dtors): Likewise.
17734 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add
17735 __cxa_thread_atexit_impl.
17736 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
17738 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
17740 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
17742 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
17744 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
17745 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist:
17747 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist:
17749 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
17750 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
17752 * stdlib/Makefile (routines): Add __cxa_thread_atexit_impl.
17753 (tests): Add test case tst-tls-atexit.
17754 (modules-names): Add shared library for tst-tls-atexit.
17755 * stdlib/Versions (GLIBC_2.18): Add __cxa_thread_atexit_impl.
17756 (GLIBC_PRIVATE): Add __call_tls_dtors.
17757 * stdlib/cxa_thread_atexit_impl.c: New file with helper function
17759 * stdlib/exit.c (__run_exit_handlers): Call __call_tls_dtors.
17760 * stdlib/tst-tls-atexit.c: New test case.
17761 * stdlib/tst-tls-atexit-lib.c: New test case.
17763 * misc/tst-pselect.c: Include stdlib.h for declaration of exit.
17765 * elf/Versions (ld): Add _dl_find_dso_for_object.
17766 * elf/dl-addr.c (_dl_addr): Use _dl_find_dso_for_object.
17767 * elf/dl-open.c (_dl_find_dso_for_object): New function.
17768 (dl_open_worker): Use _dl_find_dso_for_object.
17769 * elf/dl-sym.c (do_sym): Likewise.
17770 * sysdeps/generic/ldsodefs.h: Declare _dl_find_dso_for_object.
17772 2013-02-18 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
17774 * sysdeps/s390/s390-64/dl-trampoline.S (_dl_runtime_resolve):
17775 Syntactic changes only.
17776 (_dl_runtime_profile): Do a tail-call to the resolved function.
17778 2013-02-17 Joseph Myers <joseph@codesourcery.com>
17781 * sysdeps/x86_64/bp-asm.h: Remove file.
17782 * sysdeps/unix/sysv/linux/x86_64/clone.S: Do not include
17783 <bp-sym.h> and <bp-asm.h>.
17784 (__clone): Do not use BP_SYM.
17785 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Do not include
17786 <bp-sym.h> and <bp-asm.h>.
17787 * sysdeps/unix/x86_64/sysdep.S: Likewise.
17788 * sysdeps/x86_64/bsd-_setjmp.S: Do not include "bp-sym.h" and
17790 (_setjmp): Do not use BP_SYM.
17791 * sysdeps/x86_64/bsd-setjmp.S: Do not include "bp-sym.h" and
17793 (setjmp): Do not use BP_SYM.
17794 * sysdeps/x86_64/mempcpy.S (__mempcpy): Do not use BP_SYM in
17796 (mempcpy): Do not use BP_SYM in weak_alias.
17797 * sysdeps/x86_64/rtld-strchr.S: Do not include "bp-sym.h" and
17799 (strchr): Do not use BP_SYM.
17800 * sysdeps/x86_64/rtld-strlen.S: Do not include "bp-sym.h" and
17802 * sysdeps/x86_64/setjmp.S (__sigsetjmp): Do not use BP_SYM.
17803 * sysdeps/x86_64/start.S: Do not include "bp-sym.h".
17804 (_start): Do not use BP_SYM.
17805 * sysdeps/x86_64/strcat.S: Do not include "bp-sym.h" and
17807 (strcat): Do not use BP_SYM.
17808 * sysdeps/x86_64/strcmp.S: Do not include "bp-sym.h" and
17810 (STRCMP): Do not use BP_SYM.
17811 * sysdeps/x86_64/strcpy.S: Do not include "bp-sym.h" and
17813 (STRCPY): Do not use BP_SYM.
17814 * sysdeps/x86_64/strcpy_chk.S: Do not include "bp-sym.h" and
17816 * sysdeps/x86_64/strtok.S: Do not include "bp-sym.h" and
17818 (FUNCTION): Do not use BP_SYM.
17819 * sysdeps/x86_64/strtok_r.S (strtok_r): Do not use BP_SYM in
17821 (__GI___strtok_r): Do not use BP_SYM in strong_alias.
17823 2013-02-17 Andreas Jaeger <aj@suse.de>
17825 * time/Versions: Sort entries.
17826 * string/Versions: Likewise.
17827 * resolv/Versions: Likewise.
17828 * posix/Versions: Likewise.
17829 * iconv/Versions: Likewise.
17830 * elf/Versions: Likewise.
17831 * wcsmbs/Versions: Likewise.
17833 2013-02-15 Siddhesh Poyarekar <siddhesh@redhat.com>
17835 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Avoid using LIM in
17836 loop termination condition.
17838 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Use intermediate
17839 variable to calculate EZ.
17842 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Fix determination of
17843 the lower precision input.
17845 2013-02-15 Joseph Myers <joseph@codesourcery.com>
17848 * Makeconfig [!+link-bounded] (+link-bounded): Remove variable.
17849 [!link-extra-libs] (link-extra-libs-bounded): Likewise.
17850 (run-via-rtld-prefix): Do not handle %-bp tests.
17851 (test-via-rtld-prefix): Do not mention %-bp tests in comment.
17852 (all-object-suffixes): Remove .ob.
17853 (bppfx): Remove variable.
17854 [$(build-bounded) = yes] (object-suffixes): Do not add .ob.
17855 [$(build-bounded) = yes] (CPPFLAGS-.ob): Remove variable.
17856 [$(build-bounded) = yes] (CFLAGS-.ob): Likewise.
17857 [$(build-bounded) = yes] (libtype.ob): Likewise.
17858 * Makerules (elide-routines.ob): Remove variable.
17859 (do-tests-clean): Do not handle *-bp.out.
17860 (common-mostlyclean): Do not handle *-bp and *-bp.out.
17861 * Rules [$(build-bounded) = yes] (tests-bp.out): Remove variable.
17862 [$(build-bounded) = yes] (xtests-bp.out): Likewise.
17863 (tests): Do not include $(tests-bp.out).
17864 (xtests): Do not include $(xtests-bp.out).
17865 [$(build-bounded) = yes] (binaries-bounded): Remove variable.
17866 [$(build-bounded) = yes] ($(addprefix
17867 $(objpfx),$(binaries-bounded))): Remove rule.
17868 ($(objpfx)%-bp.out): Remove rule.
17869 * config.make.in (build-bounded): Remove variable.
17870 * crypt/Makefile [$(build-bounded) = yes]
17871 ($(tests:%=$(objpfx)%-bp)): Remove dependency.
17872 * csu/Makefile [$(build-bounded) = yes] (extra-objs): Do not
17873 append to variable.
17874 [$(build-bounded) = yes] (install-lib): Likewise.
17875 [$(build-bounded) = yes] (generated): Likewise.
17876 [!start-installed-name-rule] ($(objpfx)b$(start-installed-name)):
17878 * intl/Makefile [$(build-bounded) = yes]
17879 ($(multithread-test-srcs:%=$(objpfx)%-bp)): Remove dependency.
17880 * math/Makefile [$(build-bounded) = yes]
17881 ($(tests:%=$(objpfx)%-bp): Likewise.
17882 * misc/Makefile [$(build-bounded) = yes]
17883 ($(objpfx)tst-tsearch-bp): Likewise.
17884 * nptl/Makeconfig (bounded-thread-library): Remove variable.
17885 * rt/Makefile [$(build-bounded) = yes] ($(tests:%=$(objpfx)%-bp)):
17887 * string/Makefile (o-objects.ob): Remove variable.
17888 * sysdeps/i386/i686/Makefile [$(config-asflags-i686) = yes]
17889 (CFLAGS-.ob): Remove variable.
17890 [$(config-asflags-i686) = yes] (ASFLAGS-.ob): Likewise.
17891 * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-.ob): Remove
17892 both definitions of variable.
17893 * sysdeps/sparc/sparc64/Makefile [$(have-as-vis3) = yes]
17894 (ASFLAGS-.ob): Remove variable.
17896 2013-02-14 Joseph Myers <joseph@codesourcery.com>
17899 * config.h.in [USE_REGPARMS && !PROF && !__BOUNDED_POINTERS__]:
17900 Remove __BOUNDED_POINTERS__ from condition.
17901 * elf/dl-runtime.c [!PROF && !__BOUNDED_POINTERS__]: Likewise.
17902 * string/bits/string2.h [!__NO_STRING_INLINES &&
17903 !__BOUNDED_POINTERS__]: Likewise.
17904 * sysdeps/i386/dl-machine.h [!PROF && !__BOUNDED_POINTERS__]:
17906 * sysdeps/unix/sysv/linux/shmat.c (shmat) [__BOUNDED_POINTERS__]:
17907 Remove conditional code.
17908 * sysdeps/x86/bits/string.h [!__NO_STRING_INLINES &&
17909 __USE_STRING_INLINES && __GNUC__ && __GNUC__ >= 2 &&
17910 !__BOUNDED_POINTERS__]: Remove __BOUNDED_POINTERS__ from
17914 * csu/libc-start.c: Do not include <bp-sym.h>.
17915 [!LIBC_START_MAIN] (LIBC_START_MAIN): Do not use BP_SYM.
17916 * elf/dl-open.c: Do not include <bp-sym.h>.
17917 (_dl_sysdep_start): Do not use BP_SYM in weak_extern.
17918 * math/fegetenv.c: Do not include <bp-sym.h>.
17919 (fegetenv): Do not use BP_SYM in versioned symbols.
17920 * nptl/sysdeps/pthread/bits/libc-lockP.h
17921 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]: Do not include
17923 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
17924 (__pthread_mutex_init): Do not use BP_SYM in weak_extern.
17925 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
17926 (__pthread_mutex_destroy): Likewise.
17927 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
17928 (__pthread_mutex_lock): Likewise.
17929 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
17930 (__pthread_mutex_trylock): Likewise.
17931 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
17932 (__pthread_mutex_unlock): Likewise.
17933 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
17934 (__pthread_mutexattr_init): Likewise.
17935 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
17936 (__pthread_mutexattr_destroy): Likewise.
17937 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
17938 (__pthread_mutexattr_settype): Likewise.
17939 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
17940 (__pthread_rwlock_init): Likewise.
17941 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
17942 (__pthread_rwlock_destroy): Likewise.
17943 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
17944 (__pthread_rwlock_rdlock): Likewise.
17945 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
17946 (__pthread_rwlock_tryrdlock): Likewise.
17947 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
17948 (__pthread_rwlock_wrlock): Likewise.
17949 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
17950 (__pthread_rwlock_trywrlock): Likewise.
17951 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
17952 (__pthread_rwlock_unlock): Likewise.
17953 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
17954 (__pthread_key_create): Likewise.
17955 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
17956 (__pthread_setspecific): Likewise.
17957 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
17958 (__pthread_getspecific): Likewise.
17959 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern] (__pthread_once):
17961 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
17962 (_pthread_cleanup_push_defer): Likewise.
17963 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
17964 (_pthread_cleanup_pop_restore): Likewise.
17965 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
17966 (pthread_setcancelstate): Likewise.
17967 * string/memchr.c [HAVE_BP_SYM_H || _LIBC]: Do not include
17969 [!(HAVE_BP_SYM_H || _LIBC)] (BP_SYM): Remove macro definition.
17970 (memchr): Do not use BP_SYM in weak_alias.
17971 * sysdeps/i386/fpu/fegetenv.c: Do not include <bp-sym.h>.
17972 (fegetenv): Do not use BP_SYM in versioned symbols.
17973 * sysdeps/i386/fpu/fesetenv.c: Do not include <bp-sym.h>.
17974 (fesetenv): Do not use BP_SYM in versioned symbols.
17975 * sysdeps/i386/fpu/feupdateenv.c: Do not include <bp-sym.h>.
17976 (feupdateenv): Do not use BP_SYM in versioned symbols.
17977 * sysdeps/i386/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
17978 (fesetexceptflag): Do not use BP_SYM in versioned symbols.
17979 * sysdeps/posix/open64.c: Do not include <bp-sym.h>.
17980 (__open64): Do not use BP_SYM in weak_alias and libc_hidden_weak.
17981 (open64): Do not use BP_SYM in weak_alias.
17982 * sysdeps/powerpc/fpu/fegetenv.c: Do not include <bp-sym.h>.
17983 (fegetenv): Do not use BP_SYM in versioned symbols.
17984 * sysdeps/powerpc/fpu/fesetenv.c: Do not include <bp-sym.h>.
17985 (fesetenv): Do not use BP_SYM in versioned symbols.
17986 * sysdeps/powerpc/fpu/feupdateenv.c: Do not include <bp-sym.h>.
17987 (feupdateenv): Do not use BP_SYM in versioned symbols.
17988 * sysdeps/powerpc/fpu/fgetexcptflg.c: Do not include <bp-sym.h>.
17989 (fegetexceptflag): Do not use BP_SYM in versioned symbols.
17990 * sysdeps/powerpc/fpu/fraiseexcpt.c: Do not include <bp-sym.h>.
17991 (feraiseexcept): Do not use BP_SYM in versioned symbols.
17992 * sysdeps/powerpc/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
17993 (fesetexceptflag): Do not use BP_SYM in versioned symbols.
17994 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Do not include
17996 (__libc_start_main): Do not use BP_SYM.
17998 2013-02-14 Siddhesh Poyarekar <siddhesh@redhat.com>
18000 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cpy): Remove
18001 redundant return line.
18003 (denorm): Likewise.
18004 (dbl_mp): Likewise.
18005 (sub_magnitudes): Likewise.
18011 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cpy): Likewise.
18013 (denorm): Likewise.
18014 (dbl_mp): Likewise.
18015 (sub_magnitudes): Likewise.
18022 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use __sqr
18024 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
18025 * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Likewise.
18028 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): New function.
18029 * sysdeps/ieee754/dbl-64/mpa.h (__sqr): Declare.
18030 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): use __sqr instead
18031 of __mul for squares.
18032 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__sqr): New
18034 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__sqr):
18036 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define __sqr.
18037 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
18039 2013-02-13 Joseph Myers <joseph@codesourcery.com>
18042 * misc/sys/cdefs.h [!__BOUNDED_POINTERS__]: Remove conditional
18044 * csu/libc-start.c (LIBC_START_MAIN): Do not use __unbounded in
18045 prototype or function definition. Rename ubp_* variables and
18046 parameters. Remove argv definitions conditional on
18047 [__BOUNDED_POINTERS__].
18048 * debug/backtrace.c (__backtrace): Do not use __unbounded.
18049 * elf/dl-runtime.c (_dl_fixup): Likewise.
18050 * include/set-hooks.h (RUN_HOOK): Likewise.
18051 * stdio-common/vfprintf.c (JUMP): Do not use __unbounded in either
18053 * string/strcpy.c (strcpy): Do not use __unbounded.
18054 * sysdeps/generic/frame.h (struct layout): Likewise.
18055 * sysdeps/gnu/bits/msq.h (struct msqid_ds): Likewise.
18056 * sysdeps/i386/dl-machine.h (_dl_fixup): Likewise.
18057 * sysdeps/powerpc/powerpc32/backtrace.c (struct layout): Likewise.
18058 * sysdeps/powerpc/powerpc64/backtrace.c (struct layout): Likewise.
18059 * sysdeps/sparc/backtrace.c (struct layout): Likewise.
18060 (__backtrace): Likewise.
18061 * sysdeps/unix/sysv/linux/aio_sigqueue.c (__aio_sigqueue): Do not
18063 * sysdeps/unix/sysv/linux/fxstat.c (__fxstat): Likewise.
18064 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
18065 * sysdeps/unix/sysv/linux/gai_sigqueue.c (__gai_sigqueue):
18067 * sysdeps/unix/sysv/linux/i386/brk.c (__brk): Likewise.
18068 * sysdeps/unix/sysv/linux/i386/fxstat.c (__fxstat): Likewise.
18069 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
18070 * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
18071 * sysdeps/unix/sysv/linux/i386/msgctl.c (struct __old_msqid_ds):
18072 Do not use __unbounded.
18073 * sysdeps/unix/sysv/linux/i386/setrlimit.c (__new_setrlimit):
18074 Rename __unboundedrlimits parameter to rlimits in prototype.
18075 * sysdeps/unix/sysv/linux/i386/shmctl.c (struct __old_shmid_ds):
18076 Do not use __unbounded.
18077 * sysdeps/unix/sysv/linux/i386/sigaction.c (__libc_sigaction): Do
18078 not use __ptrvalue.
18079 * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
18080 * sysdeps/unix/sysv/linux/llseek.c (__llseek): Likewise.
18081 * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
18082 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Do not use
18083 __ptrvalue or __unbounded.
18084 (__mmap64) [__BOUNDED_POINTERS__]: Remove conditional code.
18085 * sysdeps/unix/sysv/linux/msgctl.c (struct __old_msqid_ds): Do not
18087 (__new_msgctl): Do not use __ptrvalue.
18088 * sysdeps/unix/sysv/linux/msgrcv.c (struct ipc_kludge): Do not use
18090 (__libc_msgrcv): Do not use __ptrvalue.
18091 * sysdeps/unix/sysv/linux/powerpc/libc-start.c (struct
18092 startup_info): Do not use __unbounded.
18093 (__libc_start_main): Likewise. Rename ubp_* variables and
18094 parameters. Remove argv definitions conditional on
18095 [__BOUNDED_POINTERS__].
18096 * sysdeps/unix/sysv/linux/ptrace.c (ptrace): Do not use
18098 * sysdeps/unix/sysv/linux/semctl.c (struct __old_semid_ds): Do not
18100 * sysdeps/unix/sysv/linux/shmat.c (shmat): Do not use __unbounded
18102 * sysdeps/unix/sysv/linux/shmctl.c (struct __old_shmid_ds): Do not
18104 (__new_shmctl): Do not use __ptrvalue.
18105 * sysdeps/unix/sysv/linux/shmdt.c (shmdt): Likewise.
18106 * sysdeps/unix/sysv/linux/sigaction.c (__libc_sigaction):
18108 * sysdeps/unix/sysv/linux/sigqueue.c (__sigqueue): Likewise.
18109 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c
18110 (__libc_sigaction): Likewise.
18111 * sysdeps/unix/sysv/linux/sysctl.c (__sysctl): Likewise.
18112 * sysdeps/unix/sysv/linux/x86_64/sigaction.c (__libc_sigaction):
18114 * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
18116 2013-02-13 Ondřej Bílka <neleai@seznam.cz>
18118 * stdlib/Makefile (headers): Add bits/stdlib-bsearch.h.
18120 * string/mempcpy.c: Implement by calling memcpy.
18122 2013-02-13 Siddhesh Poyarekar <siddhesh@redhat.com>
18124 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove NFA.
18126 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Faster polynomial
18129 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Don't bother with zero
18130 values in the mantissa.
18132 * sysdeps/ieee754/dbl-64/mpa.c (add_magnitudes): Use ZK to
18133 minimize writes to Z.
18134 (sub_magnitudes): Simplify code a bit.
18136 2013-02-12 Roland McGrath <roland@hack.frob.com>
18138 * include/libc-symbols.h (stub_warning): Remove "warning: " prefix
18139 from the message. The linker prefixes all warnings with that already.
18141 2013-02-12 Andreas Schwab <schwab@suse.de>
18144 * posix/regexec.c (extend_buffers): Add parameter min_len.
18145 (check_matching): Pass minimum needed length.
18146 (clean_state_log_if_needed): Likewise.
18147 (get_subexp): Likewise.
18148 * posix/Makefile (tests): Add bug-regex34.
18149 (bug-regex34-ENV): Define.
18150 * posix/bug-regex34.c: New file.
18153 * posix/regcomp.c (parse_bracket_exp): When looking up collating
18154 elements compare against the byte sequence of it, not its name.
18155 * posix/Makefile (tests): Add bug-regex35.
18156 (bug-regex35-ENV): Define.
18157 * posix/bug-regex35.c: New file.
18159 2013-02-11 Tom de Vries <tom@codesourcery.com>
18161 * string/str-two-way.h: Fix typo RESULT_TYPE -> RETURN_TYPE in
18163 Add RET0_IF_0 and CHECK_EOL to macro list in comment.
18164 (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J): Remove superfluous undef.
18165 (CHECK_EOL): Add undef.
18167 2013-02-11 Ondřej Bílka <neleai@seznam.cz>
18169 * bits/stdlib-bsearch.h: New file.
18170 * stdlib/bsearch.c: Include bits/stdlib-bsearch.h.
18171 * stdlib/stdlib.h: Likewise.
18173 2013-02-11 Roland McGrath <roland@hack.frob.com>
18175 * manual/conf.texi (General Limits): Fix SSIZE_MAX type to ssize_t.
18176 * manual/errno.texi (Error Messages): Fix typo in error_print_progname
18178 * manual/search.texi (Array Search Function): Add missing const in
18180 * manual/resource.texi (Limits on Resources): Fix RLIM_INFINITY
18181 declaration to use rlim_t.
18182 (Basic Scheduling Functions): Remove erroneous const from
18183 sched_getparam prototype. Remove erroneous * from
18184 sched_get_priority_max and sched_get_priority_min prototypes.
18185 (Resource Usage): Fix summary @comment on vtimes to refer to
18186 sys/vtimes.h rather than vtimes.h.
18187 Add missing *s in vtimes prototype.
18188 (Limits on Resources): Fix ulimit prototype to return long int.
18189 * manual/math.texi (SVID Random): Fix lrand48_r and mrand48_r
18190 prototypes to use long int rather than double.
18191 (BSD Random): Fix initstate and setstate to use char *, not void *.
18192 * manual/llio.texi (Asynchronous Reads/Writes): Fix lio_listio64
18193 prototype to make second argument 'struct aiocb64 *const[]'.
18194 Fix aio_read64 and aio_write64 prototypes to use struct aiocb64.
18195 (Status of AIO Operations): Remove erroneous const in aio_return and
18196 aio_return64 prototypes.
18197 (Synchronizing I/O): Fix sync prototype to return void.
18198 * manual/startup.texi (Suboptions): Remove an erroneous const in
18199 getsubopt prototype.
18200 * manual/getopt.texi (Using Getopt): Add a const in getopt prototype.
18201 * manual/users.texi (Lookup Netgroup): Fix getnetgrent_r prototype to
18202 use size_t rather than int.
18203 (Scanning All Users): Likewise for getpwent_r.
18204 (Setting Groups): Add missing const to setgroups prototype.
18205 * manual/sysinfo.texi (mtab): Fix typo in getmntent_r prototype.
18206 * manual/socket.texi (Host Names): Fix gethostbyaddr and
18207 gethostbyaddr_r prototypes to use socklen_t rather than size_t and
18208 'const void *' rather than 'const char *'.
18209 (Host Address Functions): Likewise for inet_ntop.
18210 (Networks Database): Fix getnetbyaddr prototype to use uint32_t.
18211 (Receiving Data): Fix recv, recvfrom, recvmsg prototypes to use
18212 ssize_t for return value.
18213 (Sending Data): Likewise for send, sendto, sendmsg.
18214 (Socket Option Functions): Add a missing const in setsockopt prototype.
18215 * manual/stdio.texi (Simple Output): Fix fputwc_unlocked prototype to
18216 use wchar_t for the argument.
18217 (Formatted Input Functions): Fix swscanf prototype to use wchar_t *.
18218 * manual/arith.texi (Control Functions): Fix fegetexcept prototype to
18220 (Normalization Functions): Fix scalb, scalbf, scalbl prototypes to use
18221 double/float/long double for second argument.
18222 Fix return types of significand, significandf, significandl.
18223 * manual/filesys.texi (Setting Permissions): Use mode_t for second
18224 argument in fchmod prototype.
18225 (File Owner): Use uid_t and gid_t in fchown prototype.
18226 (File Times): Add const to utimes, futimes, and lutimes prototypes.
18227 (Making Special Files): Use mode_t and dev_t in mknod prototype.
18228 (Scanning Directory Content): Fix scandir and scandir64 prototypes to
18229 use 'const struct dirent **' as argument types to CMP function pointer
18231 (Symbolic Links): Fix readlink prototype with ssize_t as return value.
18232 (File Times): Fix summary magic @comment for struct utimbuf and utime
18233 to refer to utime.h, not time.h.
18234 * manual/string.texi (Argz Functions): Add missing const in
18235 argz_extract and argz_next prototypes.
18236 (Finding Tokens in a String): Likewise for basename.
18237 (String/Array Comparison): Fix typo in wcscasecmp prototype.
18238 (Copying and Concatenation): Fix typo in wmemmove prototype.
18239 * manual/signal.texi (Using Pause): Use (void) in pause prototype.
18240 (Signal Stack): Remove erroneous const in sigstack prototype.
18241 * manual/time.texi (Setting an Alarm): Add missing const in setitimer
18243 (Simple Calendar Time): Likewise for stime.
18244 * manual/terminal.texi (BSD Terminal Modes): Add missing const in stty
18246 * manual/sysinfo.texi (System Parameters): Fix mentions of sysctl.h to
18247 say sys/sysctl.h instead.
18248 * manual/syslog.texi (syslog; vsyslog): Add missing const in syslog
18249 and vsyslog prototypes.
18251 2013-02-11 Tom de Vries <tom@codesourcery.com>
18253 * string/Makefile (CFLAGS-bug-strstr1.c, CFLAGS-bug-strcasestr1.c):
18256 2013-02-11 Roland McGrath <roland@hack.frob.com>
18258 * misc/sys/mman.h: Fix typo in mremap comment.
18260 2013-02-08 Roland McGrath <roland@hack.frob.com>
18262 * manual/examples/mkfsock.c (make_named_socket): Don't add one for
18263 the '\0' terminator.
18265 2013-02-08 Joseph Myers <joseph@codesourcery.com>
18268 * debug/segfault.c: Don't include <bp-checks.h>.
18269 * sysdeps/generic/bp-checks.h: Remove file.
18270 * sysdeps/unix/sysv/linux/getdents.c: Don't include <bp-checks.h>.
18271 (__GETDENTS): Don't use CHECK_N.
18272 * sysdeps/unix/sysv/linux/i386/brk.c: Don't include <bp-checks.h>.
18273 * sysdeps/unix/sysv/linux/i386/getgroups.c: Likewise.
18274 (__getgroups): Don't use CHECK_N.
18275 * sysdeps/unix/sysv/linux/i386/setgroups.c: Likewise.
18276 (setgroups): Don't use CHECK_N.
18277 * sysdeps/unix/sysv/linux/mmap64.c: Don't include <bp-checks.h>.
18278 * sysdeps/unix/sysv/linux/msgrcv.c: Likewise.
18279 (__libc_msgrcv): Don't use CHECK_N.
18280 * sysdeps/unix/sysv/linux/msgsnd.c: Don't include <bp-checks.h>.
18281 (__libc_msgsnd): Don't use CHECK_N.
18282 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Don't include
18284 (__libc_pread): Don't use CHECK_N.
18285 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Don't
18286 include <bp-checks.h>.
18287 (__libc_pread64): Don't use CHECK_N.
18288 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Don't
18289 include <bp-checks.h>.
18290 (__libc_pwrite): Don't use CHECK_N.
18291 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Don't
18292 include <bp-checks.h>.
18293 (__libc_pwrite64): Don't use CHECK_N.
18294 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Don't include
18296 (__libc_pread): Don't use CHECK_N.
18297 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Don't
18298 include <bp-checks.h>.
18299 (__libc_pread64): Don't use CHECK_N.
18300 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Don't
18301 include <bp-checks.h>.
18302 (__libc_pwrite): Don't use CHECK_N.
18303 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Don't
18304 include <bp-checks.h>.
18305 (__libc_pwrite64): Don't use CHECK_N.
18306 * sysdeps/unix/sysv/linux/pread.c: Don't include <bp-checks.h>.
18307 (do_pread): Don't use CHECK_N.
18308 * sysdeps/unix/sysv/linux/pread64.c: Don't include <bp-checks.h>.
18309 (do_pread64): Don't use CHECK_N.
18310 * sysdeps/unix/sysv/linux/pwrite.c: Don't include <bp-checks.h>.
18311 (do_pwrite): Don't use CHECK_N.
18312 * sysdeps/unix/sysv/linux/pwrite64.c: Don't include <bp-checks.h>.
18313 (do_pwrite64): Don't use CHECK_N.
18314 * sysdeps/unix/sysv/linux/readv.c: Don't include <bp-checks.h>.
18315 (__libc_readv): Don't use CHECK_N.
18316 * sysdeps/unix/sysv/linux/semop.c: Don't include <bp-checks.h>.
18317 (semop): Don't use CHECK_N.
18318 * sysdeps/unix/sysv/linux/semtimedop.c: Don't include
18320 (semtimedop): Don't use CHECK_N.
18321 * sysdeps/unix/sysv/linux/sh/pread.c: Don't include <bp-checks.h>.
18322 (__libc_pread): Don't use CHECK_N.
18323 * sysdeps/unix/sysv/linux/sh/pread64.c: Don't include
18325 (__libc_pread64): Don't use CHECK_N.
18326 * sysdeps/unix/sysv/linux/sh/pwrite.c: Don't include
18328 (__libc_pwrite): Don't use CHECK_N.
18329 * sysdeps/unix/sysv/linux/sh/pwrite64.c: Don't include
18331 (__libc_pwrite64): Don't use CHECK_N.
18332 * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c: Don't include
18334 (__libc_msgrcv): Don't use CHECK_N.
18335 * sysdeps/unix/sysv/linux/sysctl.c: Don't include <bp-checks.h>.
18336 (__sysctl): Don't use CHECK_N. Remove GKM FIXME comment.
18337 * sysdeps/unix/sysv/linux/writev.c: Don't include <bp-checks.h>.
18338 (__libc_writev): Don't use CHECK_N.
18340 2013-02-08 Roland McGrath <roland@hack.frob.com>
18342 * string/strcpy.c: Removed unused variable.
18344 * Makeconfig (+sysdep-includes): Define with := rather than =.
18345 Use an existing include/ subdir of each sysdeps dir before it.
18347 2013-02-08 Carlos O'Donell <carlos@redhat.com>
18349 * nscd/connection.c (register_traced_file): Comment function.
18350 [HAVE_INOTIFY] (union __inev): Define.
18351 [HAVE_INOTIFY] (inotify_check_files): New function.
18352 [HAVE_INOTIFY] (clear_db_cache): Likewise.
18353 [HAVE_INOTIFY] (main_loop_poll): Call inotify_check_files and
18355 [HAVE_INOTIFY] (main_loop_epoll): Likewise.
18357 2013-02-08 Carlos O'Donell <carlos@redhat.com>
18359 * elf/dl-cache.c (_dl_load_cache_lookup): Comment that cache is
18360 loaded if not already and that a failure is permanent.
18362 2013-02-08 Carlos O'Donell <carlos@redhat.com>
18365 * sysdeps/generic/ldconfig.h: Define FLAG_ARM_LIBSF.
18366 * elf/cache.c (print_entry): Add FLAG_ARM_LIBSF support.
18368 2013-02-08 Joseph Myers <joseph@codesourcery.com>
18371 * sysdeps/generic/bp-checks.h (CHECK_1): Remove all definitions.
18372 (CHECK_1_NULL_OK): Likewise.
18373 * sysdeps/unix/sysv/linux/fxstat.c: Do not include <bp-checks.h>.
18374 (__fxstat): Do not use CHECK_1.
18375 * sysdeps/unix/sysv/linux/fxstat64.c: Do not include
18377 (___fxstat64): Do not use CHECK_1.
18378 * sysdeps/unix/sysv/linux/fxstatat.c: Do not include
18380 (__fxstatat): Do not use CHECK_1.
18381 * sysdeps/unix/sysv/linux/fxstatat64.c: Do not include
18383 (__fxstatat64): Do not use CHECK_1.
18384 * sysdeps/unix/sysv/linux/i386/fxstat.c: Do not include
18386 (__fxstat): Do not use CHECK_1.
18387 * sysdeps/unix/sysv/linux/i386/fxstatat.c: Do not include
18389 (__fxstatat): Do not use CHECK_1.
18390 * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
18392 (__getresgid): Do not use CHECK_1.
18393 * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
18395 (__getresuid): Do not use CHECK_1.
18396 * sysdeps/unix/sysv/linux/i386/lxstat.c: Do not include
18398 (__lxstat): Do not use CHECK_1.
18399 * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
18401 (__old_msgctl): Do not use CHECK_1.
18402 (__new_msgctl): Likewise.
18403 * sysdeps/unix/sysv/linux/i386/setrlimit.c: Do not include
18405 (__new_setrlimit): Do not use CHECK_1.
18406 * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
18408 (__old_shmctl): Do not use CHECK_1.
18409 (__new_shmctl): Likewise.
18410 * sysdeps/unix/sysv/linux/i386/xstat.c: Do not include
18412 (__xstat): Do not use CHECK_1.
18413 * sysdeps/unix/sysv/linux/lxstat.c: Do not include <bp-checks.h>.
18414 (__lxstat): Do not use CHECK_1.
18415 * sysdeps/unix/sysv/linux/lxstat64.c: Do not include
18417 (___lxstat64): Do not use CHECK_1.
18418 * sysdeps/unix/sysv/linux/msgctl.c: Do not include <bp-checks.h>.
18419 (__old_msgctl): Do not use CHECK_1.
18420 (__new_msgctl): Likewise.
18421 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Do not include
18423 (__gettimeofday): Do not use CHECK_1.
18424 * sysdeps/unix/sysv/linux/ptrace.c: Do not include <bp-checks.h>.
18425 (ptrace) [__BOUNDED_POINTERS__]: Remove conditional code.
18426 * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Do not include
18428 (__gettimeofday): Do not use CHECK_1.
18429 * sysdeps/unix/sysv/linux/shmctl.c: Do not include <bp-checks.h>.
18430 (__old_shmctl): Do not use CHECK_1_NULL_OK.
18431 (__new_shmctl): Do not use CHECK_1.
18432 * sysdeps/unix/sysv/linux/sigtimedwait.c: Do not include
18434 (do_sigtimedwait): Do not use CHECK_1.
18435 * sysdeps/unix/sysv/linux/sigwaitinfo.c: Do not include
18437 (do_sigwaitinfo): Do not use CHECK_1.
18438 * sysdeps/unix/sysv/linux/sparc/sparc64/msgctl.c: Do not include
18440 (msgctl): Do not use CHECK_1.
18441 * sysdeps/unix/sysv/linux/sparc/sparc64/shmctl.c: Do not include
18443 (shmctl): Do not use CHECK_1.
18444 * sysdeps/unix/sysv/linux/ustat.c: Do not include <bp-checks.h>.
18445 (ustat): Do not use CHECK_1.
18446 * sysdeps/unix/sysv/linux/wordsize-64/fxstat.c: Do not include
18448 (__fxstat): Do not use CHECK_1.
18449 * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Do not include
18451 (__fxstatat): Do not use CHECK_1.
18452 * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c: Do not include
18454 (__lxstat): Do not use CHECK_1.
18455 * sysdeps/unix/sysv/linux/wordsize-64/xstat.c: Do not include
18457 (__xstat): Do not use CHECK_1.
18458 * sysdeps/unix/sysv/linux/xstat.c: Do not include <bp-checks.h>.
18459 (__xstat): Do not use CHECK_1.
18460 * sysdeps/unix/sysv/linux/xstat64.c: Do not include <bp-checks.h>.
18461 (___xstat64): Do not use CHECK_1.
18464 * sysdeps/generic/bp-checks.h (CHECK_BOUNDS_LOW): Remove all
18466 (CHECK_BOUNDS_HIGH): Likewise.
18467 * string/strcpy.c: Do not include <bp-checks.h>.
18468 (strcpy): Do not use CHECK_BOUNDS_LOW and CHECK_BOUNDS_HIGH.
18470 2013-02-07 Roland McGrath <roland@hack.frob.com>
18472 * nscd/nscd-client.h (__nscd_drop_map_ref):
18473 Add __attribute__ ((unused)).
18474 * nis/nss-nisplus.h (niserr2nss): Likewise.
18476 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Define it only
18477 under [!(USE_AS_STRCASESTR && STRCASESTR_NONASCII)].
18479 * csu/libc-tls.c (init_static_tls, init_slotinfo):
18480 Remove inline keyword.
18481 * include/rounding-mode.h (round_away): Likewise.
18482 * libio/wfileops.c (adjust_wide_data): Likewise.
18483 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Likewise.
18484 (__m128i_strloadu_tolower): Likewise.
18485 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c
18486 (__m128i_strloadu_tolower): Likewise.
18487 * time/mktime.c (ydhms_diff): Likewise.
18488 * locale/elem-hash.h (elem_hash): Likewise.
18489 * locale/setlocale.c (setdata): Likewise.
18490 * posix/regex_internal.h (re_string_char_size_at): Likewise.
18491 (re_string_wchar_at): Likewise.
18492 (bitset_not, bitset_merge, bitset_mask): Likewise.
18493 [!(__GNUC__ > 3)] (inline): Remove macro.
18494 * nscd/nscd-client.h (__nscd_drop_map_ref): Remove inline keyword.
18495 * elf/dl-deps.c (_dl_map_object_deps: preload): Likewise.
18496 * elf/tlsdeschtab.h (_dl_tlsdesc_resolve_early_return_p): Likewise.
18497 (_dl_tlsdesc_wake_up_held_fixups): Likewise.
18498 * string/memcmp.c (memcmp_bytes): Likewise.
18499 * locale/programs/locarchive.c (compute_hashval): Likewise.
18500 * sysdeps/ieee754/dbl-64/x2y2m1.c (mul_split): Likewise.
18501 * sysdeps/unix/sysv/linux/fips-private.h (fips_enabled_p): Likewise.
18502 * resolv/res_send.c (evNowTime, evCmpTime): Likewise.
18503 * nss/getent.c (print_rpc, print_protocols): Likewise.
18504 (print_passwd, print_group, print_aliases): Likewise.
18505 * nis/nss-nisplus.h (niserr2nss): Likewise.
18506 * nscd/connections.c (restart_p): Likewise.
18507 Change return type to bool.
18509 2013-02-05 Roland McGrath <roland@hack.frob.com>
18511 * Makeconfig (all-Depend-files): Add existing
18512 $(sorted-subdirs:=/Depend) files.
18513 (all-subdirs): Remove nss.
18514 * sysdeps/unix/inet/Subdirs: Add it here instead.
18515 * hesiod/Depend: New file.
18517 * elf/dl-hwcaps.c (_dl_important_hwcaps): Use a variable-length array
18518 instead of calling alloca.
18520 * io/lseek.c (__lseek): Rename to __libc_lseek.
18521 Define __lseek as an alias.
18523 * sysdeps/generic/malloc-sysdep.h: Include <stdbool.h> and <unistd.h>.
18525 2013-02-04 Carlos O'Donell <carlos@redhat.com>
18527 * stdlib/getenv.c (getenv): Assume __BIG_ENDIAN in the
18528 else clause and remove check for non-standard endianness.
18530 2013-02-04 David S. Miller <davem@davemloft.net>
18532 * sysdeps/sparc/fpu/libm-test-ulps: Update.
18534 2013-02-04 Joseph Myers <joseph@codesourcery.com>
18537 * sysdeps/generic/bp-checks.h [__BOUNDED_POINTERS__]
18538 (__ubp_memchr): Remove prototype.
18539 [__BOUNDED_POINTERS__] (_CHECK_STRING): Remove macro.
18540 [__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
18541 [__BOUNDED_POINTERS__] (CHECK_STRING_NULL_OK): Likewise.
18542 [!__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
18543 * sysdeps/i386/memchr.S [!__BOUNDED_POINTERS__] (__ubp_memchr):
18545 * sysdeps/sparc/sparc32/memchr.S [!__BOUNDED_POINTERS__]
18546 (__ubp_memchr): Likewise.
18547 * sysdeps/sparc/sparc64/memchr.S [!__BOUNDED_POINTERS__]
18548 (__ubp_memchr): Likewise.
18549 * sysdeps/unix/sysv/linux/execve.c: Do not include <bp-checks.h>.
18550 (__execve) [__BOUNDED_POINTERS__]: Remove conditional code.
18551 (__execve) [!__BOUNDED_POINTERS__]: Make code unconditional.
18552 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Do not use
18554 * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
18555 * sysdeps/unix/sysv/linux/getcwd.c: Do not include <bp-checks.h>.
18556 (__getcwd): Do not use CHECK_STRING.
18557 * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
18559 (__real_chown): Do not use CHECK_STRING.
18560 * sysdeps/unix/sysv/linux/i386/fchownat.c: Do not include
18562 (fchownat): Do not use CHECK_STRING.
18563 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Do not use
18565 * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
18567 (__lchown): Do not use CHECK_STRING.
18568 * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
18569 * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
18570 * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
18571 * sysdeps/unix/sysv/linux/lxstat64.c (___lxstat64): Likewise.
18572 * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
18573 include <bp-checks.h>.
18574 (truncate64): Do not use CHECK_STRING.
18575 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
18577 (__real_chown): Do not use CHECK_STRING.
18578 * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
18580 (__lchown): Do not use CHECK_STRING.
18581 * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
18583 (__chown): Do not use CHECK_STRING.
18584 * sysdeps/unix/sysv/linux/truncate64.c: Do not include
18586 (truncate64): Do not use CHECK_STRING.
18587 * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c (__lxstat):
18589 * sysdeps/unix/sysv/linux/xmknod.c: Do not include <bp-checks.h>.
18590 (__xmknod): Do not use CHECK_STRING.
18591 * sysdeps/unix/sysv/linux/xmknodat.c: Do not include
18593 (__xmknodat): Do not use CHECK_STRING.
18594 * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
18595 * sysdeps/unix/sysv/linux/xstat64.c (___xstat64): Likewise.
18597 2013-02-04 Andreas Schwab <schwab@suse.de>
18600 * include/errno.h: Redefine errno only if !NOT_IN_libc || IN_LIB.
18601 * include/netdb.h: Likewise for h_errno.
18602 * elf/tst-stackguard1.c: Include <tls.h>.
18604 2013-02-02 Jan Kratochvil <jan.kratochvil@redhat.com>
18606 * elf/link.h (struct link_map): Extend the l_addr comment.
18607 * include/link.h (struct link_map): Likewise.
18609 2013-02-01 Joseph Myers <joseph@codesourcery.com>
18612 * sysdeps/generic/bp-checks.h (BOUNDED_N): Remove all definitions.
18613 (BOUNDED_1): Remove macro.
18614 * debug/backtrace.c: Don't include <bp-checks.h>.
18615 (ADVANCE_STACK_FRAME): Don't use BOUNDED_1.
18616 (__backtrace): Likewise.
18617 * sysdeps/powerpc/powerpc32/backtrace.c: Don't include
18619 (__backtrace): Don't use BOUNDED_1.
18620 * sysdeps/powerpc/powerpc64/backtrace.c: Don't include
18622 (__backtrace): Don't use BOUNDED_1.
18623 * sysdeps/sparc/backtrace.c: Don't include <bp-checks.h>.
18624 (__backtrace): Don't use BOUNDED_1.
18625 * sysdeps/unix/sysv/linux/shmat.c: Don't include <bp-checks.h>.
18626 (shmat): Don't use BOUNDED_N.
18628 2013-01-31 Joseph Myers <joseph@codesourcery.com>
18631 * sysdeps/generic/bp-start.h: Remove file.
18632 * csu/libc-start.c: Don't include <bp-start.h>.
18633 (LIBC_START_MAIN): Set up __environ directly instead of using
18634 INIT_ARGV_and_ENVIRON.
18635 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Don't include
18639 * sysdeps/generic/bp-checks.h (CHECK_IOCTL): Remove both
18641 (CHECK_FCNTL): Likewise.
18642 (CHECK_N_PAGES): Likewise.
18645 * sysdeps/generic/bp-checks.h (CHECK_SIGSET): Remove both
18647 (CHECK_SIGSET_NULL_OK): Likewise.
18648 * sysdeps/unix/sysv/linux/sigpending.c: Don't include
18650 (sigpending): Don't use CHECK_SIGSET.
18651 * sysdeps/unix/sysv/linux/sigprocmask.c: Don't include
18653 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
18654 * sysdeps/unix/sysv/linux/sigsuspend.c: Don't include
18656 (do_sigsuspend): Don't use CHECK_SIGSET.
18657 * sysdeps/unix/sysv/linux/sigtimedwait.c (do_sigtimedwait): Don't
18659 * sysdeps/unix/sysv/linux/sigwait.c: Don't include <bp-checks.h>.
18660 (do_sigwait): Don't use CHECK_SIGSET.
18661 * sysdeps/unix/sysv/linux/sigwaitinfo.c (do_sigwaitinfo): Don't
18663 * sysdeps/unix/sysv/linux/sparc/sparc64/sigpending.c: Don't
18664 include <bp-checks.h>.
18665 (sigpending): Don't use CHECK_SIGSET.
18666 * sysdeps/unix/sysv/linux/sparc/sparc64/sigprocmask.c: Don't
18667 include <bp-checks.h>.
18668 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
18669 * sysdeps/unix/sysv/linux/x86_64/sigpending.c: Don't include
18671 (sigpending): Don't use CHECK_SIGSET.
18672 * sysdeps/unix/sysv/linux/x86_64/sigprocmask.c: Don't include
18674 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
18677 * sysdeps/generic/bp-semctl.h: Remove file.
18678 * sysdeps/unix/sysv/linux/i386/semctl.c: Don't include
18679 <bp-checks.h> and <bp-semctl.h>.
18680 (__old_semctl): Don't use CHECK_SEMCTL.
18681 (__new_semctl): Likewise.
18682 * sysdeps/unix/sysv/linux/semctl.c: Don't include <bp-checks.h>
18684 (__old_semctl): Don't use CHECK_SEMCTL.
18685 (__new_semctl): Likewise.
18686 * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Don't include
18687 <bp-checks.h> and <bp-semctl.h>.
18688 (__old_semctl): Don't use CHECK_SEMCTL.
18689 (__new_semctl): Likewise.
18690 * sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c: Don't include
18691 <bp-checks.h> and <bp-semctl.h>.
18692 (semctl): Don't use CHECK_SEMCTL.
18695 * Makerules (elide-bp-thunks): Remove variable.
18696 (elide-routines.oS): Don't use $(elide-bp-thunks).
18697 (elide-routines.os): Likewise.
18698 (elide-routines.o): Likewise.
18699 (elide-routines.op): Likewise.
18700 (elide-routines.og): Likewise.
18701 (objects): Don't use $(bp-thunks).
18702 * sysdeps/unix/Makefile ($(common-objpfx)s-proto-bp.d): Do not
18704 (common-generated): Do not add s-proto-bp.d.
18705 * sysdeps/unix/make-syscalls.sh (ptr): Remove variable.
18708 Do not generate makefile rules for bounded-pointer thunks.
18709 * sysdeps/generic/bp-thunks.h: Remove file.
18710 * sysdeps/unix/sysv/linux/i386/bp-thunks.h: Likewise.
18711 * sysdeps/unix/s-proto-bp.S: Likewise.
18714 * math/k_casinh.c (__kernel_casinh): Compute real and imaginary
18715 parts of result separately when argument is not close to line from
18716 -i to i and one part of argument is small.
18717 * math/k_casinhf.c (__kernel_casinhf): Likewise.
18718 * math/k_casinhl.c (__kernel_casinhl): Likewise.
18719 * math/libm-test.inc (cacos_test): Add more tests.
18720 (casin_test): Likewise.
18721 (casinh_test): Likewise.
18722 * sysdeps/i386/fpu/libm-test-ulps: Update.
18723 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18725 2013-01-31 David S. Miller <davem@davemloft.net>
18727 * po/de.po: Update from translation team.
18729 2013-01-25 Maxim Kuvyrkov <maxim.kuvyrkov@gmail.com>
18731 * time/tzfile.c: Include stdint.h for SIZE_MAX.
18733 2013-01-25 Thomas Schwinge <thomas@codesourcery.com>
18735 * configure.in (_AC_PROG_CC_C89): New definition.
18736 * configure: Regenerate.
18738 * configure.in (AC_PROG_CPP): New definition.
18739 * configure: Regenerate.
18741 2013-01-23 Joseph Myers <joseph@codesourcery.com>
18743 * debug/tst-backtrace.h: New file.
18744 * debug/tst-backtrace2.c: Include tst-backtrace.h.
18745 (ret): Remove variable.
18747 (FAIL): Remove macro.
18748 (NO_INLINE): Likewise.
18749 (fn1): Use match function instead of strstr.
18750 * debug/tst-backtrace3.c: Include tst-backtrace.h.
18751 (ret): Remove variable.
18753 (FAIL): Remove macro.
18754 (NO_INLINE): Likewise.
18755 (fn): Use match function instead of strstr.
18756 * debug/tst-backtrace4.c: Include tst-backtrace.h.
18757 (ret): Remove variable.
18759 (FAIL): Remove macro.
18760 (NO_INLINE): Likewise.
18761 (handle_signal): Use match function instead of strstr.
18762 * debug/tst-backtrace5.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.
18769 2013-01-23 Roland McGrath <roland@hack.frob.com>
18771 * misc/sys/cdefs.h (__glibc_unlikely, __glibc_likely): Fix whitespace.
18773 2013-01-23 David S. Miller <davem@davemloft.net>
18775 * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h
18776 (__arch_compare_and_exchange_val_32_acq): Use %g0 as second
18777 argument of CAS if possible.
18778 * sysdeps/sparc/sparc64/bits/atomic.h
18779 (__arch_compare_and_exchange_val_32_acq): Likewise.
18780 (__arch_compare_and_exchange_val_64_acq): Likewise.
18782 2013-01-23 Pino Toscano <toscano.pino@tiscali.it>
18784 * sysdeps/unix/sysv/linux/ulimit.c: Moved to ...
18785 * sysdeps/posix/ulimit.c: ... this.
18786 Include <limits.h>.
18787 * sysdeps/unix/bsd/ulimit.c: Remove file.
18789 2013-01-23 Adam Conrad <adconrad@0c3.net>
18791 * elf/Makefile (LDFLAGS-tst-array2): Add $(no-as-needed).
18792 (LDFLAGS-tst-array5): Likewise.
18794 2013-01-23 Joseph Myers <joseph@codesourcery.com>
18797 * bits/wchar.h (__WCHAR_MAX): Define based on __WCHAR_MAX__, or
18798 based on [L'\0' - 1 > 0] if [!__WCHAR_MAX__].
18799 (__WCHAR_MIN): Likewise, using __WCHAR_MIN__.
18800 * sysdeps/unix/sysv/linux/x86/bits/wchar.h: Remove.
18802 2013-01-21 David S. Miller <davem@davemloft.net>
18804 * sysdeps/sparc/backtrace.c: New file.
18805 * sysdeps/sparc/sparc32/backtrace.h: New file.
18806 * sysdeps/sparc/sparc32/sparcv9/backtrace.h: New file.
18807 * sysdeps/sparc/sparc64/backtrace.h: New file.
18808 * sysdeps/sparc/sparc64/backtrace.c: Delete.
18809 * sysdeps/sparc/Makefile (CFLAGS-backtrace.c): Add
18812 2013-01-21 Andreas Schwab <schwab@suse.de>
18815 * posix/wordexp.c (exec_comm): Avoid busy loop when command has
18818 2013-01-20 Andreas Schwab <schwab@linux-m68k.org>
18820 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Don't include
18822 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
18824 2013-01-18 Joseph Myers <joseph@codesourcery.com>
18825 Mark Mitchell <mark@codesourcery.com>
18826 Tom de Vries <tom@codesourcery.com>
18827 Paul Pluzhnikov <ppluzhnikov@google.com>
18829 * debug/tst-backtrace2.c: New file.
18830 * debug/tst-backtrace3.c: Likewise.
18831 * debug/tst-backtrace4.c: Likewise.
18832 * debug/tst-backtrace5.c: Likewise.
18833 * debug/Makefile (CFLAGS-tst-backtrace2.c): New variable.
18834 (CFLAGS-tst-backtrace3.c): Likewise.
18835 (CFLAGS-tst-backtrace4.c): Likewise.
18836 (CFLAGS-tst-backtrace5.c): Likewise.
18837 (LDFLAGS-tst-backtrace2): Likewise.
18838 (LDFLAGS-tst-backtrace3): Likewise.
18839 (LDFLAGS-tst-backtrace4): Likewise.
18840 (LDFLAGS-tst-backtrace5): Likewise.
18841 (tests): Add new tests tst-backtrace2, tst-backtrace3,
18842 tst-backtrace4 and tst-backtrace5.
18844 2013-01-18 Anton Blanchard <anton@samba.org>
18845 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
18847 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Rename
18848 __kernel_vdso_get_tbfreq to __kernel_get_tbfreq.
18849 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Add parameter to
18850 INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK to specify return type.
18851 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
18852 (INTERNAL_VSYSCALL_NCS): Change "=&r" in inline asm output regs list to
18853 "+r" and remove output regs list as redundant. Add explicit inline
18854 asm to specify register of return val to work around compiler codegen
18855 bug. Remove (int) cast on return value. Add return type parameter to
18856 use in macro so that this macro does not truncate return value for
18858 (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Add return type parameter and
18859 pass to INTERNAL_VSYSCALL_NCS.
18860 (INLINE_VSYSCALL): Add 'long int' as return type to
18861 INTERNAL_VSYSCALL_NCS macro invocation.
18862 (INTERNAL_VSYSCALL): Add 'long int' as return type to
18863 INTERNAL_VSYSCALL_NCS macro invocation.
18864 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
18866 2013-01-18 Siddhesh Poyarekar <siddhesh@redhat.com>
18869 * sysdeps/i386/fpu/fenv_private.h (libc_feupdateenv_test_sse):
18870 Fix application of SIMD FP exception mask.
18872 * sysdeps/ieee754/dbl-64/mpa.h (__pow_mp): New function to get an
18873 mp_no from a power of two.
18874 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove
18875 __mpexp_twomm1. Use __pow_mp.
18877 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove unnecessary
18880 2013-01-17 David S. Miller <davem@davemloft.net>
18882 * sysdeps/sparc/fpu/libm-test-ulps: Update.
18884 2013-01-17 Joseph Myers <joseph@codesourcery.com>
18887 * include/complex.h: Condition contents on [!_COMPLEX_H].
18888 (__kernel_casinhf): New prototype.
18889 (__kernel_casinh): Likewise.
18890 (__kernel_casinhl): Likewise.
18891 * math/Makefile (libm_calls): Add k_casinh.
18892 * math/k_casinh.c: New file.
18893 * math/k_casinhf.c: Likewise.
18894 * math/k_casinhl.c: Likewise.
18895 * math/s_cacos.c (__cacos): Implement using __kernel_casinh for
18896 finite nonzero arguments.
18897 * math/s_cacosf.c (__cacosf): Implement using __kernel_casinhf for
18898 finite nonzero arguments.
18899 * math/s_cacosl.c (__cacosl): Implement using __kernel_casinhl for
18900 finite nonzero arguments.
18901 * math/s_casinh.c: Do not include <float.h>.
18902 (__casinh): Move code for finite nonzero arguments to k_casinh.c.
18903 * math/s_casinhf.c: Do not include <float.h>.
18904 (__casinhf): Move code for finite nonzero arguments to
18906 * math/s_casinhl.c: Do not include <float.h>.
18907 [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Do not undefine and
18909 (__casinhl): Move code for finite nonzero arguments to
18911 * math/libm-test.inc (cacos_test): Add more tests.
18912 * sysdeps/i386/fpu/libm-test-ulps: Update.
18913 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18915 2013-01-17 Pino Toscano <toscano.pino@tiscali.it>
18917 * sysdeps/unix/sysv/linux/malloc-sysdep.h (HAVE_MREMAP): New define.
18918 * malloc/malloc.c: Include <unistd.h> and <malloc-sysdep.h>.
18919 [!HAVE_MREMAP]: Remove [defined linux] case.
18920 * malloc/arena.c: Do not include <malloc-sysdep.h>.
18922 2013-01-17 Siddhesh Poyarekar <siddhesh@redhat.com>
18924 * sysdeps/ieee754/dbl-64/mpa.c: Fix header comment.
18926 2013-01-17 H.J. Lu <hongjiu.lu@intel.com>
18928 * elf/elf.h (R_386_SIZE32): New relocation.
18929 * sysdeps/i386/dl-machine.h (elf_machine_rel): Handle
18931 (elf_machine_rela): Likewise.
18932 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
18933 R_X86_64_SIZE64 and R_X86_64_SIZE32.
18935 2013-01-17 Joseph Myers <joseph@codesourcery.com>
18937 * sysdeps/powerpc/bits/mathdef.h [_SOFT_FLOAT || __NO_FPRS__]
18938 (FP_FAST_FMA): Do not define.
18939 [_SOFT_FLOAT || __NO_FPRS__] (FP_FAST_FMAF): Likewise.
18940 * sysdeps/powerpc/fpu/bits/fenvinline.h [__GNUC__ && !_SOFT_FLOAT
18941 && !__NO_MATH_INLINES]: Add [!__NO_FPRS__] condition.
18942 * sysdeps/powerpc/fpu/bits/mathinline.h [__GNUC__ &&
18943 !_SOFT_FLOAT]: Likewise.
18944 * sysdeps/powerpc/fpu/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]
18945 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_RESERVED): Define with generic
18947 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_DEFAULT): Likewise.
18948 [_SOFT_FLOAT || __NO_FPRS__] (fpu_control_t): Likewise.
18949 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_GETCW): Likewise.
18950 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_SETCW): Likewise.
18951 [_SOFT_FLOAT || __NO_FPRS__] (__fpu_control): Likewise.
18952 [!_SOFT_FLOAT && !__NO_FPRS__]: Condition previous contents of
18955 2013-01-16 Andreas Schwab <schwab@suse.de>
18958 * include/stdlib.h (__mktemp): Add declaration.
18959 * misc/mktemp.c (__mktemp): Renamed from mktemp, add weak alias.
18960 * misc/Versions (GLIBC_PRIVATE): Add __mktemp.
18962 2013-01-16 Siddhesh Poyarekar <siddhesh@redhat.com>
18964 * sysdeps/ieee754/dbl-64/atnat.h: Remove constant value
18966 * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
18967 * sysdeps/ieee754/dbl-64/mpa.c: Do not include mpa2.h.
18968 * sysdeps/ieee754/dbl-64/mpa.h: Move all constant value
18970 * sysdeps/ieee754/dbl-64/mpa2.h: Remove.
18971 * sysdeps/ieee754/dbl-64/mpatan.h: Remove constant value
18973 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Remove ZERO
18975 * sysdeps/ieee754/dbl-64/mpexp.c: Do not include mpexp.h.
18976 * sysdeps/ieee754/dbl-64/mpexp.h: Remove.
18977 * sysdeps/ieee754/dbl-64/mpsqrt.h: Remove constant value
18979 * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Remove MONE.
18980 * sysdeps/ieee754/dbl-64/ulog.h: Remove constant value
18982 * sysdeps/ieee754/dbl-64/utan.h: Likewise.
18984 * sysdeps/ieee754/dbl-64/mpa2.h: Fix the value of TWO.
18986 2013-01-15 David S. Miller <davem@davemloft.net>
18988 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
18989 trunc{,f} to libm-sysdep_routes.
18990 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
18991 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc-vis3.S: New
18993 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc.S: New file.
18994 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf-vis3.S: New
18996 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf.S: New
18998 * sysdeps/sparc/sparc32/sparcv9/fpu/s_trunc.S: New file.
18999 * sysdeps/sparc/sparc32/sparcv9/fpu/s_truncf.S: New file.
19000 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc-vis3.S: New file.
19001 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc.S: New file.
19002 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf-vis3.S: New file.
19003 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf.S: New file.
19004 * sysdeps/sparc/sparc64/fpu/s_trunc.S: New file.
19005 * sysdeps/sparc/sparc64/fpu/s_truncf.S: New file.
19007 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
19008 nearbyint{,f} to libm-sysdep_routes.
19009 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
19010 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint-vis3.S:
19012 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint.S: New
19014 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf-vis3.S:
19016 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf.S: New
19018 * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyint.S: New file.
19019 * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyintf.S: New file.
19020 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint-vis3.S: New
19022 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint.S: New file.
19023 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf-vis3.S: New
19025 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf.S: New file.
19026 * sysdeps/sparc/sparc64/fpu/s_nearbyint.S: New file.
19027 * sysdeps/sparc/sparc64/fpu/s_nearbyintf.S: New file.
19029 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
19030 libc_feholdexcept and libc_fesetenv.
19032 2013-01-15 Mike Frysinger <vapier@gentoo.org>
19034 * sysdeps/unix/sysv/linux/scsi/sg.h: Include stddef.h.
19036 2013-01-14 David S. Miller <davem@davemloft.net>
19038 * sysdeps/sparc/sparc-ifunc.h (SPARC_ASM_IFUNC2): New macro.
19039 (SPARC_ASM_VIS2_IFUNC): Likewise.
19040 (SPARC_ASM_VIS3_VIS2_IFUNC): Likewise.
19041 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: Make
19042 use of 'siam' instruction.
19043 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S:
19045 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S:
19047 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S:
19049 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: Likewise.
19050 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: Likewise.
19051 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: Likewise.
19052 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: Likewise.
19053 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis2.S: New
19055 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis2.S: New
19057 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis2.S: New
19059 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis2.S: New
19061 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis2.S: New file.
19062 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis2.S: New file.
19063 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis2.S: New file.
19064 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis2.S: New file.
19065 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Hook in
19067 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
19068 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
19069 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
19071 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
19072 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
19073 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
19074 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
19075 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new VIS2
19076 routines to libm-sysdep_routines.
19077 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
19079 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
19080 fdim/fdimf to libm-sysdep_routines.
19081 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-vis3.S: New
19083 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.S: New file.
19084 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf-vis3.S: New
19086 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf.S: New file.
19087 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdim.S: New file.
19088 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdimf.S: New file.
19089 * sysdeps/sparc/sparc32/fpu/s_fdim.S: New file.
19090 * sysdeps/sparc/sparc32/fpu/s_fdimf.S: New file.
19091 * sysdeps/sparc/sparc64/fpu/s_fdim.S: New file.
19092 * sysdeps/sparc/sparc64/fpu/s_fdimf.S: New file.
19094 2013-01-14 Siddhesh Poyarekar <siddhesh@redhat.com>
19096 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Add a local variable
19097 to optimize copies.
19099 * sysdeps/ieee754/dbl-64/mpa.c: Fix formatting.
19100 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
19101 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
19103 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Remove
19104 local variable MPTWO.
19105 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
19108 2013-01-13 Mike Frysinger <vapier@gentoo.org>
19110 * manual/pattern.texi (Flags for Globbing): Move GLOB_NOSORT after
19113 2013-01-13 Mike Frysinger <vapier@gentoo.org>
19115 * manual/pattern.texi (Flags for Globbing): Highlight GNU extensions.
19117 2013-01-13 Mike Frysinger <vapier@gentoo.org>
19119 * manual/pattern.texi (glob_t): Document gl_flags.
19120 (glob64_t): Likewise.
19122 2013-01-11 David S. Miller <davem@davemloft.net>
19124 * math/Makefile (gmp-objs): Use $(gmp-sysdep_routines).
19125 * sysdeps/sparc/sparc64/multiarch/Makefile [$(subdir) = math]
19126 (gmp-sysdep_routines): New variable. Add VIS3 optimized GMP routines.
19127 * sysdeps/sparc/sparc64/multiarch/add_n-vis3.S: New file.
19128 * sysdeps/sparc/sparc64/multiarch/add_n.S: New file.
19129 * sysdeps/sparc/sparc64/multiarch/addmul_1-vis3.S: New file.
19130 * sysdeps/sparc/sparc64/multiarch/addmul_1.S: New file.
19131 * sysdeps/sparc/sparc64/multiarch/mul_1-vis3.S: New file.
19132 * sysdeps/sparc/sparc64/multiarch/mul_1.S: New file.
19133 * sysdeps/sparc/sparc64/multiarch/sub_n-vis3.S: New file.
19134 * sysdeps/sparc/sparc64/multiarch/sub_n.S: New file.
19135 * sysdeps/sparc/sparc64/multiarch/submul_1-vis3.S: New file.
19136 * sysdeps/sparc/sparc64/multiarch/submul_1.S: New file.
19138 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
19139 sparc V9 rather than using V8 code.
19140 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
19141 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
19143 * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
19145 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/multiarch/Implies:
19148 2013-01-11 Roland McGrath <roland@hack.frob.com>
19150 * configure.in (sysnames): Use $multi_arch_d in setting up $mach list,
19151 not in the main loop.
19152 * configure: Regenerated.
19154 2013-01-11 Joseph Myers <joseph@codesourcery.com>
19156 * include/features.h (__GLIBC_HAVE_LONG_LONG): Remove.
19157 * bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change #elif condition
19159 * bits/types.h [__GLIBC_HAVE_LONG_LONG]: Likewise. Remove
19160 [!__GLIBC_HAVE_LONG_LONG] case.
19161 * posix/sys/types.h [__GLIBC_HAVE_LONG_LONG]: Change #elif
19162 condition to just #else.
19163 * stdlib/stdlib.h [__USE_ISOC99 || (__GLIBC_HAVE_LONG_LONG &&
19164 __USE_MISC)]: Change all uses to [__USE_ISOC99 || __USE_MISC].
19165 [__GLIBC_HAVE_LONG_LONG && __USE_BSD]: Change to [__USE_BSD].
19166 * string/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Make code
19168 * string/endian.h [__GLIBC_HAVE_LONG_LONG]: Likewise.
19169 * sysdeps/s390/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
19170 #elif condition to just #else.
19171 * sysdeps/unix/sysv/linux/sys/sysmacros.h
19172 [__GLIBC_HAVE_LONG_LONG]: Make code unconditional.
19173 * sysdeps/x86/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
19174 #elif condition to just #else.
19176 2013-01-11 Steve Ellcey <sellcey@mips.com>
19178 * elf/elf.h (EF_MIPS_ARCH_32): Fix value.
19179 (EF_MIPS_ARCH_64): Fix value.
19180 (EF_MIPS_ARCH_32R2): New.
19181 (EF_MIPS_ARCH_64R2): New.
19183 2013-01-11 H.J. Lu <hongjiu.lu@intel.com>
19185 * Makeconfig (+link-pie-before-libc): New.
19186 (+link-pie-after-libc): Likewise.
19187 (+link-pie-tests): Likewise.
19188 (+link-pie): Rewritten.
19189 (link-before-libc): Remove $(config-LDFLAGS).
19190 (+link): Add $(rtld-LDFLAGS) after $(+link-before-libc).
19191 (+link-tests): Add $(rtld-tests-LDFLAGS) after $(+link-before-libc).
19192 (config-LDFLAGS): Renamed to ...
19193 (rtld-LDFLAGS): This.
19194 (rtld-tests-LDFLAGS): New macro.
19195 (link-libc-rpath-link): Likewise.
19196 (link-libc-tests-rpath-link): Likewise.
19197 (link-libc-before-gnulib): Remove -Wl,-rpath-link=$(rpath-link).
19198 (link-libc): Prepand $(link-libc-rpath-link).
19199 (link-libc-tests): Prepand $(link-libc-tests-rpath-link).
19200 (test-program-prefix): New macro.
19201 (test-via-rtld-prefix): Likewise.
19202 (test-program-cmd): Likewise.
19203 (host-test-program-cmd): Likewise.
19204 * Makefile ($(common-objpfx)testrun.sh): Replace
19205 $(run-program-prefix) with $(test-program-prefix).
19206 * Makerules ($(LINK.o)): Replace $(config-LDFLAGS) with
19208 ($(common-objpfx)shlib.lds): Likewise.
19209 (build-module-helper): Likewise.
19210 ($(common-objpfx)format.lds): Likewise.
19211 * Rules (binaries-pie-tests): New.
19212 (binaries-pie-notests): Likewise.
19213 (binaries-pie): Rewritten.
19214 ($(addprefix $(objpfx),$(binaries-pie))): Renamed to ...
19215 ($(addprefix $(objpfx),$(binaries-pie-notests))): This.
19216 ($(addprefix $(objpfx),$(binaries-pie-tests))): New.
19217 (make-test-out): Replace $(host-built-program-cmd) with
19218 $(host-test-program-cmd).
19219 * config.make.in (build-hardcoded-path-in-tests): New variable.
19220 * configure.in (--enable-hardcoded-path-in-tests): New configure
19222 (hardcoded_path_in_tests): New AC_SUBST.
19223 * configure: Regenerated.
19224 * catgets/Makefile ($(objpfx)test-gencat.out): Replace
19225 $(built-program-cmd) with $(test-program-cmd).
19226 * catgets/test-gencat.sh (run_program_cmd): Renamed to ...
19227 (test_program_cmd): This.
19228 * elf/Makefile ($(objpfx)order.out): Run test with
19229 $(test-program-prefix).
19230 ($(objpfx)order2.out): Likewise.
19231 ($(objpfx)tst-initorder.out): Likewise.
19232 ($(objpfx)tst-initorder2.out): Likewise.
19233 ($(objpfx)tst-array1.out): Replace $(built-program-cmd) with
19234 $(test-program-cmd).
19235 ($(objpfx)tst-array1-static.out): Likewise.
19236 ($(objpfx)tst-array2.out): Likewise.
19237 ($(objpfx)tst-array3.out): Likewise.
19238 ($(objpfx)tst-array4.out): Likewise.
19239 ($(objpfx)tst-array5.out): Likewise.
19240 ($(objpfx)tst-array5-static.out): Likewise.
19241 (tst-stackguard1-ARGS): Replace $(built-program-cmd) with
19242 $(test-program-cmd).
19243 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Replace
19244 $(run-program-prefix) with $(test-program-prefix).
19245 * grp/tst_fgetgrent.sh (run_program_prefix): Renamed to ...
19246 (test_program_prefix): This.
19247 * iconvdata/Makefile ($(objpfx)tst-tables.out): Replace
19248 $(run-program-prefix) with $(test-program-prefix).
19249 * iconvdata/tst-table.sh (run_program_prefix): Renamed to ...
19250 (test_program_prefix): This.
19251 * iconvdata/tst-tables.sh: Likewise.
19252 * intl/Makefile ($(objpfx)tst-gettext.out): Replace
19253 $(run-program-prefix) with $(test-program-prefix).
19254 ($(objpfx)tst-translit.out): Likewise.
19255 ($(objpfx)tst-gettext2.out): Likewise.
19256 ($(objpfx)tst-gettext4.out): Likewise.
19257 ($(objpfx)tst-gettext6.out): Likewise.
19258 * intl/tst-gettext.sh (run_program_prefix): Renamed to ...
19259 (test_program_prefix): This.
19260 * intl/tst-gettext2.sh: Likewise.
19261 * intl/tst-gettext4.sh Likewise.
19262 * intl/tst-gettext6.sh: Likewise.
19263 * intl/tst-translit.sh: Likewise.
19264 * io/Makefile ($(objpfx)ftwtest.out): Replace $(run-program-cmd)
19265 with $(test-program-cmd).
19266 * libio/Makefile ($(objpfx)test-freopen.out): Replace
19267 $(run-program-prefix) with $(test-program-prefix).
19268 * libio/test-freopen.sh (run_program_prefix): Renamed to ...
19269 (test_program_prefix): This.
19270 * malloc/Makefile ($(objpfx)tst-mtrace.out): Replace
19271 $(run-program-prefix) with $(test-program-prefix).
19272 * malloc/tst-mtrace.sh (run_program_prefix): Renamed to ...
19273 (test_program_prefix): This.
19274 * manual/install.texi: Document --enable-hardcoded-path-in-tests.
19275 * posix/Makefile ($(objpfx)globtest.out): Replace
19276 $(run-via-rtld-prefix) and $(test-wrapper) with
19277 $(test-program-prefix) and $(test-via-rtld-prefix).
19278 ($(objpfx)wordexp-tst.out): Replace $(run-program-prefix) with
19279 $(test-program-prefix).
19280 (tst-exec-ARGS): Replace $(host-built-program-cmd) with
19281 $(host-test-program-cmd).
19282 (tst-spawn-ARGS): Likewise.
19283 ($(objpfx)tst-rxspencer-mem): Replace $(run-program-prefix) with
19284 $(test-program-prefix).
19285 * posix/globtest.sh (un_via_rtld_prefix): Renamed to ...
19286 (test_via_rtld_prefix): This.
19287 (test_wrapper): Renamed to ...
19288 (test_program_prefix): This.
19289 (run_program_prefix): Replaced by test_program_prefix.
19290 * posix/wordexp-tst.sh (run_program_prefix): Renamed to ...
19291 (test_program_prefix): This.
19292 * rt/Makefile (tst-mqueue7-ARGS): Replace $(host-built-program-cmd)
19293 with $(host-test-program-cmd).
19294 * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Replace
19295 $(run-program-prefix) with $(test-program-prefix).
19296 ($(objpfx)tst-printf.out): Likewise.
19297 ($(objpfx)tst-setvbuf1.out): Replace $(built-program-cmd) with
19298 $(test-program-cmd).
19299 * stdio-common/tst-printf.sh (run_program_prefix): Renamed to ...
19300 (test_program_prefix): This.
19301 * stdio-common/tst-unbputc.sh: Likewise.
19302 * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Replace
19303 $(run-program-prefix) with $(test-program-prefix).
19304 * stdlib/tst-fmtmsg.sh (run_program_prefix): Renamed to ...
19305 (test_program_prefix): This.
19306 * string/Makefile ($(objpfx)tst-svc.out): Replace
19307 $(built-program-cmd) with $(test-program-cmd).
19309 2013-01-11 Andreas Jaeger <aj@suse.de>
19312 * sysdeps/unix/sysv/linux/bits/socket.h (MSG_FASTOPEN): New
19313 value. Sync with Linux 3.7.
19315 2013-01-10 David S. Miller <davem@davemloft.net>
19317 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Revert previous changes.
19318 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
19319 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
19321 2013-01-10 Roland McGrath <roland@hack.frob.com>
19323 * configure.in (sysnames): Drop use of $m0sub and $msub, which are
19325 * configure: Regenerated.
19327 2013-01-10 David S. Miller <davem@davemloft.net>
19329 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
19330 sparc V9 rather than using V8 code.
19331 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
19332 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
19334 2013-01-10 Roland McGrath <roland@hack.frob.com>
19336 * elf/elf.h (DT_SPARC_REGISTER, DT_SPARC_NUM): Fix whitespace.
19337 (EF_MIPS_NOREORDER, EF_MIPS_PIC, EF_MIPS_CPIC, EF_MIPS_XGOT): Likewise.
19338 (EF_MIPS_64BIT_WHIRL, EF_MIPS_ABI2, EF_MIPS_ABI_ON32): Likewise.
19339 (EF_MIPS_ARCH, EF_MIPS_ARCH_1, EF_MIPS_ARCH_2): Likewise.
19340 (EF_MIPS_ARCH_3, EF_MIPS_ARCH_4, EF_MIPS_ARCH_5): Likewise.
19341 (EF_MIPS_ARCH_32, EF_MIPS_ARCH_64): Likewise.
19342 (E_MIPS_ARCH_1): Define in terms of EF_MIPS_ARCH_* counterpart.
19343 (E_MIPS_ARCH_2, E_MIPS_ARCH_3, E_MIPS_ARCH_4, E_MIPS_ARCH_5): Likewise.
19344 (E_MIPS_ARCH_32, E_MIPS_ARCH_64): Likewise.
19345 (SHN_MIPS_ACOMMON, SHN_MIPS_TEXT, SHN_MIPS_DATA): Fix whitespace.
19346 (SHN_MIPS_SCOMMON, SHN_MIPS_SUNDEFINED): Likewise.
19347 (SHT_MIPS_LIBLIST, SHT_MIPS_MSYM, SHT_MIPS_CONFLICT): Likewise.
19348 (SHT_MIPS_GPTAB, SHT_MIPS_UCODE, SHT_MIPS_DEBUG): Likewise.
19349 (SHT_MIPS_REGINFO, SHT_MIPS_PACKAGE, SHT_MIPS_PACKSYM): Likewise.
19350 (SHT_MIPS_RELD, SHT_MIPS_IFACE, SHT_MIPS_CONTENT): Likewise.
19351 (SHT_MIPS_OPTIONS, SHT_MIPS_SHDR, SHT_MIPS_FDESC): Likewise.
19352 (SHT_MIPS_EXTSYM, SHT_MIPS_DENSE, SHT_MIPS_PDESC): Likewise.
19353 (SHT_MIPS_LOCSYM, SHT_MIPS_AUXSYM, SHT_MIPS_OPTSYM): Likewise.
19354 (SHT_MIPS_LOCSTR, SHT_MIPS_LINE, SHT_MIPS_RFDESC): Likewise.
19355 (SHT_MIPS_DELTASYM, SHT_MIPS_DELTAINST, SHT_MIPS_DELTACLASS): Likewise.
19356 (SHT_MIPS_DELTADECL, SHT_MIPS_SYMBOL_LIB, SHT_MIPS_EVENTS): Likewise.
19357 (SHT_MIPS_TRANSLATE, SHT_MIPS_PIXIE, SHT_MIPS_XLATE): Likewise.
19358 (SHT_MIPS_XLATE_DEBUG, SHT_MIPS_WHIRL, SHT_MIPS_EH_REGION): Likewise.
19359 (SHT_MIPS_XLATE_OLD, SHT_MIPS_PDR_EXCEPTION): Likewise.
19360 (SHF_MIPS_GPREL, SHF_MIPS_MERGE, SHF_MIPS_ADDR): Likewise.
19361 (SHF_MIPS_STRINGS, SHF_MIPS_NOSTRIP, SHF_MIPS_LOCAL): Likewise.
19362 (SHF_MIPS_NAMES, SHF_MIPS_NODUPE): Likewise.
19364 2013-01-10 David S. Miller <davem@davemloft.net>
19366 * sysdeps/sparc/fpu/libm-test-ulps: Update.
19368 2013-01-10 H.J. Lu <hongjiu.lu@intel.com>
19370 * posix/Makefile (tests-static): New variable.
19371 (tests): Add $(tests-static).
19372 (tst-exec-static-ARGS): New variable.
19373 (tst-spawn-static-ARGS): Likewise.
19374 * posix/tst-exec-static.c: New file.
19375 * posix/tst-spawn-static.c: Likewise.
19376 * posix/tst-exec.c: Support run directly.
19377 * posix/tst-spawn.c: Likewise.
19379 2013-01-10 Joseph Myers <joseph@codesourcery.com>
19381 * elf/link.h (struct dl_phdr_info): Use __extension__ with long
19383 * math/bits/mathcalls.h (llrint): Likewise.
19384 (llround): Likewise.
19385 * stdlib/stdlib.h (struct drand48_data): Likewise.
19386 * sysdeps/generic/inttypes.h (imaxdiv_t): Likewise.
19387 * sysdeps/s390/bits/byteswap.h (__bswap_64): Likewise.
19388 * sysdeps/unix/sysv/linux/sparc/bits/ipc.h (struct ipc_perm):
19390 * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (struct fpu):
19392 * sysdeps/unix/sysv/linux/x86/sys/procfs.h [__x86_64__]
19393 (elf_greg_t): Likewise.
19394 * sysdeps/x86/bits/setjmp.h [__x86_64__ && __WORDSIZE != 64]
19395 (__jmp_buf): Likewise.
19396 * sysdeps/x86/fpu/bits/mathinline.h (llrintf): Likewise, for all
19398 (llrint): Likewise, for all definitions.
19399 (llrintl): Likewise.
19401 * string/string.h [__USE_BSD && __USE_GNU && __GNUC__] (ffsll):
19402 Remove [__GNUC__] condition.
19403 * wcsmbs/wchar.h [__USE_ISOC99 || (__GNUC__ && __USE_GNU)]: Change
19404 condition to just [__USE_ISOC99].
19405 [__GNUC__ && __USE_GNU]: Change condition to just [__USE_GNU].
19407 2013-01-10 H.J. Lu <hongjiu.lu@intel.com>
19410 * sysdeps/unix/sysv/linux/x86/bits/environments.h
19411 (_POSIX_V7_ILP32_OFF32): Defined as 1 only if __x86_64__ isn't
19413 (_POSIX_V6_ILP32_OFF32): Likewise.
19414 (_XBS5_ILP32_OFF32): Likewise.
19415 (__ILP32_OFFBIG_CFLAGS): Defined as "-mx32" for x32.
19416 (__ILP32_OFFBIG_LDFLAGS): Likewise.
19418 2013-01-10 Siddhesh Poyarekar <siddhesh@redhat.com>
19420 * sysdeps/ieee754/dbl-64/mpexp.c: Fix formatting.
19422 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): New array of
19423 doubles __mpexp_twomm1. Adjust usage.
19424 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1):
19427 2013-01-10 Andreas Schwab <schwab@suse.de>
19430 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (FALLOC_FL_KEEP_SIZE)
19431 (FALLOC_FL_PUNCH_HOLE) [__USE_GNU]: New macros.
19433 2013-01-09 David S. Miller <davem@davemloft.net>
19436 * sysdeps/gnu/netinet/tcp.h (TCP_COOKIE_TRANSACTIONS)
19437 (TCP_THIN_LINEAR_TIMEOUTS, TCP_THIN_DUPACK, TCP_USER_TIMEOUT)
19438 (TCP_REPAIR, TCP_REPAIR_QUEUE, TCP_QUEUE_SEQ, TCP_REPAIR_OPTIONS)
19439 (TCP_FASTOPEN): Define.
19440 (tcp_repair_opt): New structure.
19441 (TCP_NO_QUEUE, TCP_RECV_QUEUE, TCP_SEND_QUEUE, TCP_QUEUES_NR): New
19443 (TCP_COOKIE_MIN, TCP_COOKIE_MAX, TCP_COOKIE_PAIR_SIZE)
19444 (TCP_COOKIE_IN_ALWAYS, TCP_COOKIE_OUT_NEVER, TCP_S_DATA_IN)
19445 (TCP_S_DATA_OUT, TCP_MSS_DEFAULT, TCP_MSS_DESIRED): Define.
19446 (tcp_cookie_transactions): New structure.
19448 2013-01-09 Anton Blanchard <anton@samba.org>
19450 * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: New file.
19451 * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_getcpu.
19452 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Likewise.
19453 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Likewise.
19455 2013-01-09 Joseph Myers <joseph@codesourcery.com>
19457 * include/features.h (__USE_ANSI): Remove.
19459 2013-01-09 Roland McGrath <roland@hack.frob.com>
19461 * posix/Makefile (others): Depend on $(objpfx)getconf.speclist.
19463 * misc/error.c (error_tail: ALLOCA_LIMIT): Remove unused macro.
19465 2013-01-09 Siddhesh Poyarekar <siddhesh@redhat.com>
19467 * sysdeps/s390/fpu/libm-test-ulps: Update.
19469 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
19471 * sysdeps/ieee754/dbl-64/mpa.c (mcr): Reword comment.
19475 (denorm): Likewise.
19476 (__mp_dbl): Likewise.
19477 (__dbl_mp): Likewise.
19478 (add_magnitudes): Likewise.
19479 (sub_magnitudes): Likewise.
19485 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mcr): Likewise.
19489 (denorm): Likewise.
19490 (__mp_dbl): Likewise.
19491 (__dbl_mp): Likewise.
19492 (add_magnitudes): Likewise.
19493 (sub_magnitudes): Likewise.
19499 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mcr): Likewise.
19503 (denorm): Likewise.
19504 (__mp_dbl): Likewise.
19505 (__dbl_mp): Likewise.
19506 (add_magnitudes): Likewise.
19507 (sub_magnitudes): Likewise.
19514 2013-01-08 Joseph Myers <joseph@codesourcery.com>
19516 * io/sys/stat.h [__GNUC__ && __GNUC__ >= 2 &&
19517 __USE_EXTERN_INLINES]: Change condition to [__USE_EXTERN_INLINES].
19518 * sysdeps/unix/sysv/linux/sys/sysmacros.h [__GNUC__ && __GNUC__ >=
19519 2 && __USE_EXTERN_INLINES]: Likewise.
19521 2013-01-08 Andreas Jaeger <aj@suse.de>
19524 * sysdeps/unix/sysv/linux/sparc/bits/epoll.h (EPOLL_NONBLOCK):
19526 * sysdeps/unix/sysv/linux/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
19527 * sysdeps/unix/sysv/linux/x86/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
19529 2013-01-07 Anton Blanchard <anton@samba.org>
19531 * sysdeps/powerpc/fpu/feholdexcpt.c: Fixed spelling errors.
19532 * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
19533 * sysdeps/powerpc/fpu/math_ldbl.h: Likewise.
19534 * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
19535 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
19536 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
19537 * sysdeps/powerpc/powerpc32/dl-start.S: Likewise.
19538 * sysdeps/powerpc/powerpc32/memset.S: Likewise.
19539 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
19540 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
19541 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
19542 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
19543 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
19544 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
19545 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
19546 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
19547 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
19548 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
19549 * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
19550 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
19551 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
19552 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Likewise.
19553 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
19554 * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
19555 * sysdeps/powerpc/powerpc64/bits/atomic.h: Likewise.
19556 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
19557 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
19558 * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
19559 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Likewise.
19560 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
19561 * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
19562 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
19563 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
19564 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
19565 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
19566 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
19567 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
19568 * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
19569 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Likewise.
19570 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
19571 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Likewise.
19572 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
19573 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
19575 2013-01-07 Joseph Myers <joseph@codesourcery.com>
19577 * malloc/malloc.h (__MALLOC_P): Remove all definitions.
19578 (__MALLOC_PMT): Likewise.
19579 [__GNUC__] (__MALLOC_HOOK_VOLATILE): Make not conditional on
19580 [__GNUC__], only on [_LIBC].
19581 [__GNUC__] (__MALLOC_DEPRECATED): Likewise.
19582 [!__GNUC__] (__MALLOC_HOOK_VOLATILE): Remove definition.
19583 [!__GNUC__] (__MALLOC_DEPRECATED): Likewise.
19584 * malloc/malloc.c (malloc_hook_ini): Do not use __MALLOC_P in
19585 forward declaration.
19586 (realloc_hook_ini): Likewise.
19587 (memalign_hook_ini): Likewise.
19588 (__libc_memalign): Do not use __MALLOC_PMT in variable
19590 (__libc_valloc): Likewise.
19591 (__libc_pvalloc): Likewise.
19592 (__libc_calloc): Likewise.
19593 (__posix_memalign): Likewise.
19596 * math/s_casinh.c: Include <float.h>.
19597 (__casinh): Do not do computation with squaring and square root
19598 for large arguments.
19599 * math/s_casinhf.c: Include <float.h>.
19600 (__casinhf): Do not do computation with squaring and square root
19601 for large arguments.
19602 * math/s_casinhl.c: Include <float.h>.
19603 [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine and redefine.
19604 (__casinhl): Do not do computation with squaring and square root
19605 for large arguments.
19606 * math/libm-test.inc (casin_test): Add more tests.
19607 (casinh_test): Likewise.
19608 * sysdeps/i386/fpu/libm-test-ulps: Update.
19609 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19611 2013-01-04 H.J. Lu <hongjiu.lu@intel.com>
19613 * sysdeps/i386/i686/cacheinfo.c (__x86_64_data_cache_size): Removed.
19614 (__x86_64_raw_data_cache_size): Likewise.
19615 (__x86_64_data_cache_size_half): Likewise.
19616 (__x86_64_raw_data_cache_size_half): Likewise.
19617 (__x86_64_shared_cache_size): Likewise.
19618 (__x86_64_raw_shared_cache_size): Likewise.
19619 (__x86_64_shared_cache_size_half): Likewise.
19620 (__x86_64_raw_shared_cache_size_half): Likewise.
19621 * sysdeps/x86_64/cacheinfo.c (__x86_64_data_cache_size): Renamed
19623 (__x86_data_cache_size): This.
19624 (__x86_64_raw_data_cache_size): Renamed to ...
19625 (__x86_raw_data_cache_size): This.
19626 (__x86_64_data_cache_size_half): Renamed to ...
19627 (__x86_data_cache_size_half): This.
19628 (__x86_64_raw_data_cache_size_half): Renamed to ...
19629 (__x86_raw_data_cache_size_half): This.
19630 (__x86_64_shared_cache_size): Renamed to ...
19631 (__x86_shared_cache_size): This.
19632 (__x86_64_raw_shared_cache_size): Renamed to ...
19633 (__x86_raw_shared_cache_size): This.
19634 (__x86_64_shared_cache_size_half): Renamed to ...
19635 (__x86_shared_cache_size_half): This.
19636 (__x86_64_raw_shared_cache_size_half): Renamed to ...
19637 (__x86_raw_shared_cache_size_half): This.
19638 * sysdeps/x86_64/memcpy.S: Updated.
19639 * sysdeps/x86_64/memset.S: Likewise.
19640 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
19641 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
19642 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
19644 2013-01-04 David S. Miller <davem@davemloft.net>
19646 * sysdeps/sparc/fpu/libm-test-ulps: Update.
19648 2013-01-04 Andreas Schwab <schwab@linux-m68k.org>
19650 * sysdeps/powerpc/fpu/test-powerpc-snan.c (_GNU_SOURCE): Define as
19651 1 to avoid redefinition warning.
19652 (__USE_GNU): Don't define.
19653 (init_signaling_nan): Protoize.
19655 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
19657 2013-01-04 Siddhesh Poyarekar <siddhesh@redhat.com>
19659 * sysdeps/ieee754/dbl-64/mpa.c: Remove commented code.
19660 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cr): Remove.
19661 (__cpymn): Likewise.
19662 (norm): Remove commented code.
19663 (denorm): Likewise.
19664 (__mp_dbl): Likewise.
19666 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cr): Remove.
19667 (__cpymn): Likewise.
19668 (norm): Remove commented code.
19669 (denorm): Likewise.
19670 (__mp_dbl): Likewise.
19673 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mpone): Define
19674 mp_no value for 1.0 and 2.0.
19675 (norm): Use RADIXI instead of radixi.d.
19676 (denorm): Likewise.
19677 (__mul): Use 0.0 instead of zero.d.
19678 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mpone): Define
19679 mp_no value for 1.0 and 2.0.
19680 (norm): Use RADIXI instead of radixi.d.
19681 (denorm): Likewise.
19682 (__mul): Use 0.0 instead of zero.d.
19684 2013-01-04 Joseph Myers <joseph@codesourcery.com>
19687 * math/s_casinh.c (__casinh): Reduce finite argument to first
19688 quadrant then set signs of results at the end.
19689 * math/s_casinhf.c (__casinhf): Likewise.
19690 * math/s_casinhl.c (__casinhl): Likewise.
19691 * math/libm-test.inc (casin_test): Add more tests.
19692 (casinh_test): Likewise.
19693 * sysdeps/i386/fpu/libm-test-ulps: Update.
19694 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19696 2013-01-04 Siddhesh Poyarekar <siddhesh@redhat.com>
19698 * sysdeps/ieee754/dbl-64/mpa.h: Fix code formatting.
19700 * sysdeps/ieee754/dbl-64/mpa.h: Clean up comment for MP_NO.
19702 * sysdeps/ieee754/dbl-64/mpa.c(norm): Remove commented
19704 (denorm): Likewise.
19705 (__mp_dbl): Likewise.
19708 * sysdeps/ieee754/dbl-64/mpa.h: Remove commented declarations
19709 and adjust the header comment.
19711 * sysdeps/ieee754/dbl-64/mpa.h (__mpexp): Remove unnecessary
19712 variable name from declaration.
19714 2013-01-03 H.J. Lu <hongjiu.lu@intel.com>
19716 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
19717 Initialize COMMON_CPUID_INDEX_7 element.
19718 * sysdeps/x86_64/multiarch/init-arch.h (bit_RTM): New macro.
19719 (CPUID_RTM): Likewise.
19720 (HAS_RTM): Likewise.
19721 (COMMON_CPUID_INDEX_7): New enum.
19723 2013-01-03 Andreas Schwab <schwab@linux-m68k.org>
19726 * malloc/mtrace.c (tr_reallochook): If realloc returns NULL when
19727 size is zero, record memory as freed.
19729 2013-01-03 Andreas Jaeger <aj@suse.de>
19731 * po/ia.po: Add new Interlingua translation.
19733 2012-01-03 Allan McRae <allan@archlinux.org>
19735 * locale/programs/localedef.c: Fix description of '--posix' flag.
19737 2013-01-02 Joseph Myers <joseph@codesourcery.com>
19739 * NEWS: Update dates in second copyright notice.
19740 * README: Update copyright dates in example.
19741 * manual/libc.texinfo: Update copyright dates.
19742 * scripts/test-installation.pl: Update copyright date in --version
19745 * hurd/ctty-input.c: Fix copyright notice formatting.
19746 * hurd/ctty-output.c: Likewise.
19747 * hurd/dtable.c: Likewise.
19748 * hurd/hurd-raise.c: Likewise.
19749 * hurd/hurdprio.c: Likewise.
19750 * hurd/msgportdemux.c: Likewise.
19751 * misc/sys/file.h: Likewise.
19752 * misc/sys/ioctl.h: Likewise.
19753 * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
19754 * sysdeps/mach/hurd/chdir.c: Likewise.
19755 * sysdeps/mach/hurd/fchdir.c: Likewise.
19756 * sysdeps/mach/hurd/rename.c: Likewise.
19757 * sysdeps/mach/hurd/rmdir.c: Likewise.
19758 * sysdeps/mach/hurd/seekdir.c: Likewise.
19759 * sysdeps/mach/hurd/setsid.c: Likewise.
19760 * sysdeps/posix/wait3.c: Likewise.
19762 * All files with FSF copyright notices: Update copyright dates
19763 using scripts/update-copyrights.
19764 * intl/plural.c: Regenerated.
19765 * locale/programs/charmap-kw.h: Likewise.
19766 * locale/programs/locfile-kw.h: Likewise.
19768 2013-01-02 Siddhesh Poyarekar <siddhesh@redhat.com>
19770 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1): Fix first
19773 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Split mantissa
19774 calculation loop and add branch prediction.
19776 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Add assert to
19777 check access beyond bounds of m1np.
19779 * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
19781 (__inv): Remove local variable MPTWO to use the global
19783 * sysdeps/ieee754/dbl-64/mpa.h: Declare MPTWO.
19784 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
19786 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Make MPHALF and
19787 MP3HALFS static const.
19789 2013-01-01 David S. Miller <davem@davemloft.net>
19791 * po/ca.po: Update from translation team.
19793 2013-01-01 Joseph Myers <joseph@codesourcery.com>
19795 * scripts/update-copyrights: New file.
19796 * Makeconfig: Reformat copyright notice.
19797 * ctype/ctype.h: Likewise.
19798 * debug/swprintf_chk.c: Likewise.
19799 * elf/dl-cache.c: Likewise.
19800 * elf/dl-debug.c: Likewise.
19801 * elf/dl-object.c: Likewise.
19802 * grp/initgroups.c: Likewise.
19803 * hurd/Makefile: Likewise.
19804 * hurd/hurd/signal.h: Likewise.
19805 * hurd/hurdfault.c: Likewise.
19806 * hurd/hurdioctl.c: Likewise.
19807 * hurd/hurdlookup.c: Likewise.
19808 * hurd/intr-msg.c: Likewise.
19809 * iconv/gconv_open.c: Likewise.
19810 * libio/swprintf.c: Likewise.
19811 * locale/lc-ctype.c: Likewise.
19812 * locale/nl_langinfo.c: Likewise.
19813 * mach/Machrules: Likewise.
19814 * mach/Makefile: Likewise.
19815 * malloc/obstack.h: Likewise.
19816 * manual/Makefile: Likewise.
19817 * manual/tsort.awk: Likewise.
19818 * misc/bits/stab.def: Likewise.
19819 * nis/nis_print_group_entry.c: Likewise.
19820 * nis/nis_table.c: Likewise.
19821 * nis/nss_compat/compat-pwd.c: Likewise.
19822 * nis/nss_compat/compat-spwd.c: Likewise.
19823 * po/Makefile: Likewise.
19824 * posix/fnmatch.c: Likewise.
19825 * posix/regex.h: Likewise.
19826 * resolv/Makefile: Likewise.
19827 * resolv/nss_dns/dns-network.c: Likewise.
19828 * resolv/res_hconf.c: Likewise.
19829 * scripts/gen-sorted.awk: Likewise.
19830 * soft-fp/soft-fp.h: Likewise.
19831 * stdio-common/printf.h: Likewise.
19832 * stdlib/monetary.h: Likewise.
19833 * stdlib/random.c: Likewise.
19834 * stdlib/random_r.c: Likewise.
19835 * sysdeps/generic/Makefile: Likewise.
19836 * sysdeps/gnu/Makefile: Likewise.
19837 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
19838 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
19839 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
19840 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
19841 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
19842 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
19843 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
19844 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
19845 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
19846 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
19847 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
19848 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
19849 * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
19850 * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
19851 * sysdeps/ieee754/dbl-64/mplog.c: Likewise.
19852 * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
19853 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
19854 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
19855 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
19856 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
19857 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
19858 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
19859 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
19860 * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
19861 * sysdeps/ieee754/ldbl-128/mpn2ldbl.c: Likewise.
19862 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
19863 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
19864 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Likewise.
19865 * sysdeps/mach/hurd/errnos.awk: Likewise.
19866 * sysdeps/mach/hurd/fork.c: Likewise.
19867 * sysdeps/mach/hurd/getcwd.c: Likewise.
19868 * sysdeps/mach/hurd/i386/trampoline.c: Likewise.
19869 * sysdeps/mach/hurd/mmap.c: Likewise.
19870 * sysdeps/mach/hurd/utimes.c: Likewise.
19871 * sysdeps/mach/hurd/xmknod.c: Likewise.
19872 * sysdeps/posix/profil.c: Likewise.
19873 * sysdeps/posix/readdir_r.c: Likewise.
19874 * sysdeps/powerpc/bits/mathdef.h: Likewise.
19875 * sysdeps/powerpc/bits/setjmp.h: Likewise.
19876 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Likewise.
19877 * sysdeps/powerpc/powerpc32/memset.S: Likewise.
19878 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
19879 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
19880 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
19881 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
19882 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
19883 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
19884 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
19885 * sysdeps/pthread/lio_listio.c: Likewise.
19886 * sysdeps/sparc/dl-procinfo.h: Likewise.
19887 * sysdeps/unix/i386/sysdep.S: Likewise.
19888 * sysdeps/unix/sysv/linux/aio_sigqueue.c: Likewise.
19889 * sysdeps/unix/sysv/linux/fstatvfs64.c: Likewise.
19890 * sysdeps/unix/sysv/linux/getdents.c: Likewise.
19891 * sysdeps/unix/sysv/linux/msgctl.c: Likewise.
19892 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
19893 * sysdeps/unix/sysv/linux/semctl.c: Likewise.
19894 * sysdeps/unix/sysv/linux/shmctl.c: Likewise.
19895 * sysdeps/unix/sysv/linux/speed.c: Likewise.
19896 * sysdeps/unix/sysv/linux/xstatconv.h: Likewise.
19897 * sysdeps/wordsize-32/divdi3.c: Likewise.
19898 * time/sys/time.h: Likewise.
19899 * wcsmbs/Makefile: Likewise.
19901 2013-01-01 David S. Miller <davem@davemloft.net>
19903 * po/fr.po: Update from translation team.
19905 * catgets/gencat.c: Update copyright year.
19906 * csu/version.c: Likewise.
19907 * debug/catchsegv.sh: Likewise.
19908 * debug/pcprofiledump.c: Likewise.
19909 * debug/xtrace.sh: Likewise.
19910 * elf/ldconfig.c: Likewise.
19911 * elf/ldd.bash.in: Likewise.
19912 * elf/pldd.c: Likewise.
19913 * elf/sotruss.ksh: Likewise.
19914 * elf/sprof.c: Likewise.
19915 * iconv/iconv_prog.c: Likewise.
19916 * iconv/iconvconfig.c: Likewise.
19917 * locale/programs/locale.c: Likewise.
19918 * locale/programs/localedef.c: Likewise.
19919 * login/programs/pt_chown.c: Likewise.
19920 * malloc/memusage.sh: Likewise.
19921 * malloc/memusagestat.c: Likewise.
19922 * malloc/mtrace.pl: Likewise.
19923 * nscd/nscd.c: Likewise.
19924 * nss/getent.c: Likewise.
19925 * nss/makedb.c: Likewise.
19926 * posix/getconf.c: Likewise.
19928 2012-12-31 Siddhesh Poyarekar <siddhesh@redhat.com>
19930 * sysdeps/ieee754/dbl-64/mpa.c (__mp_dbl): Favour normal
19933 2012-12-30 Mike Frysinger <vapier@gentoo.org>
19935 * math/bits/mathcalls.h (modf): Use __nonnull.
19937 2012-12-29 Siddhesh Poyarekar <siddhesh@redhat.com>
19939 * sysdeps/ieee754/dbl-64/branred.h: Include dla.h.
19940 (split): Use macro CN instead of the bare value.
19941 * sysdeps/ieee754/dbl-64/dla.h: Add comment to explain why CN
19943 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use CN
19944 instead of the bare value.
19945 (power1): Likewise.
19947 2012-12-28 Siddhesh Poyarekar <siddhesh@redhat.com>
19949 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove
19951 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
19953 * sysdeps/ieee754/dbl-64/atnat.h: Replaced constants with
19955 * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
19956 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
19957 * sysdeps/ieee754/dbl-64/ulog.h: Likewise.
19958 * sysdeps/ieee754/dbl-64/utan.h: Likewise.
19960 2012-12-28 Andreas Jaeger <aj@suse.de>
19962 * elf/elf.h (NT_S390_TDB, NT_FILE, NT_SIGINFO): Define. New
19963 values are from Linux 3.7.
19965 * sysdeps/gnu/netinet/tcp.h (TCPI_OPT_SYN_DATA)
19966 (TCPI_OPT_ECN_SEEN): Define. Sync with Linux 3.7.
19968 2012-12-28 Siddhesh Poyarekar <siddhesh@redhat.com>
19970 * misc/sys/cdefs.h (__glibc_likely): Wrap __builtin_expect for
19973 * sysdeps/ieee754/dbl-64/mpa.c (norm): Define R as RADIXI.
19975 * sysdeps/ieee754/dbl-64/mpa2.h: Remove all static const
19976 variables with preprocessor constants.
19977 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
19978 * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
19979 * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
19981 2012-12-27 Bruno Haible <bruno@clisp.org>
19984 * string/xpg-strerror.c (__xpg_strerror_r): Optimize, call strlen
19987 2012-12-27 Siddhesh Poyarekar <siddhesh@redhat.com>
19989 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Eliminate __mpexp_nn
19990 and use variable directly.
19991 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_nn): Remove.
19993 * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
19995 * sysdeps/ieee754/dbl-64/mpa.h: Declare MPONE.
19996 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
19998 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
19999 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
20000 * sysdeps/ieee754/dbl-64/mplog.c (__mplog): Remove mplog.h
20001 include directive. Remove local variable MPONE.
20002 * sysdeps/ieee754/dbl-64/mplog.h: Remove.
20003 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define NO__CONST.
20004 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
20006 2012-12-25 David S. Miller <davem@davemloft.net>
20008 * version.h (RELEASE): Set to "development".
20009 (VERSION): Set to "2.17.90".
20010 * NEWS: Add 2.18 section.
20012 2012-12-21 David S. Miller <davem@davemloft.net>
20014 * po/hr.po: Update from translation team.
20016 2012-12-21 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
20018 * sysdeps/s390/fpu/libm-test-ulps: Refreshed.
20020 2012-12-19 Steve Ellcey <sellcey@mips.com>
20022 * NEWS: Mention new memcpy for MIPS.
20024 2012-12-18 Marcus Shawcroft <marcus.shawcroft@linaro.org>
20026 * manual/contrib.texi (Contributors): Spelling correction.
20028 2012-12-15 David S. Miller <davem@davemloft.net>
20030 * po/ru.po: Update from translation team.
20032 2012-12-13 David S. Miller <davem@davemloft.net>
20034 * NEWS: Mention IFUNC testsuite enhancements.
20036 * po/pl.po: Update from translation team.
20037 * po/bg.po: Likewise.
20039 * manual/contrib.texi (Contributors): Update entries for Hongjiu
20040 Lu and Joseph S. Myers. Add entry for Marcus Shawcroft.
20042 2012-12-11 David S. Miller <davem@davemloft.net>
20044 * po/sv.po: Update from translation team.
20046 * po/vi.po: Update from translation team.
20048 * po/cs.po: Update from translation team.
20050 * po/de.po: Update from translation team.
20051 * po/eo.po: Likewise.
20052 * po/nl.po: Likewise.
20054 2012-12-11 Siddhesh Poyarekar <siddhesh@redhat.com>
20057 * manual/argp.texi (Argp Helper Functions): Move node to follow
20058 Argp Parsing State.
20061 * manual/conf.texi (Limits on File System Capacity): Mention if
20062 terminating null is included in the max size.
20064 2012-12-10 Andreas Jaeger <aj@suse.de>
20066 * po/cs.po: Update from translation team.
20068 2012-12-08 Siddhesh Poyarekar <siddhesh@redhat.com>
20070 * sysdeps/s390/jmpbuf-unwind.h (_jmpbuf_sp): Declare SP as
20071 void pointer and cast to uintptr_t.
20072 * sysdeps/s390/s390-64/memcmp.S: Pick sysdep.h from include
20074 * sysdeps/s390/s390-64/memcpy.S: Likewise.
20075 * sysdeps/s390/s390-64/memset.S: Likewise.
20077 2012-12-08 Benno Schulenberg <bensberg@justemail.net>
20080 * menual/message.texi (Message Translation): Fix typos.
20081 (Helper programs for gettext): Likewise.
20083 2012-12-07 Andreas Schwab <schwab@linux-m68k.org>
20086 * include/link.h (FORCED_DYNAMIC_TLS_OFFSET) [NO_TLS_OFFSET == 0]:
20089 2012-12-07 David S. Miller <davem@davemloft.net>
20091 * po/libc.pot: Update.
20093 2012-12-07 Richard Henderson <rth@redhat.com>
20096 * soft-fp/op-common.h (_FP_MUL): Pull computation of R_e from the
20097 normal/normal case to before the switch.
20098 (_FP_DIV): Likewise.
20100 2012-12-06 Carlos O'Donell <carlos@systemhalted.org>
20101 Mike Frysinger <vapier@gentoo.org>
20103 * sysdeps/unix/sysv/linux/posix_fadvise.c (posix_fadvise): Also
20104 check for __NR_fadvise64_64.
20106 2012-12-06 Chris Metcalf <cmetcalf@tilera.com>
20108 * sysdeps/generic/fpu_control.h (_FPU_GETCW): Define to set cw to
20109 0, not just to plain "0" as a statement.
20110 (_FPU_SETCW): Define to (void) (cw), rather than doing nothing
20113 2012-12-06 Joseph Myers <joseph@codesourcery.com>
20115 * NEWS: Use sourceware.org in Bugzilla URL.
20117 2012-12-06 Siddhesh Poyarekar <siddhesh@redhat.com>
20119 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
20120 (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
20122 * stdio-common/tst-put-error.c (do_test): Add newline to the
20123 padded test to ensure flush.
20125 2012-12-05 Jeff Law <law@redhat.com>
20127 * sunrpc/etc.rpc (fedfs_admin): Add entry.
20129 2012-12-05 Joseph Myers <joseph@codesourcery.com>
20131 * README: Don't refer to ports add-on as distributed separately.
20132 Mention AArch64 in list of systems supported in the ports add-on.
20134 * LICENSES: Add more non-FSF copyright and license notices.
20136 * soft-fp/op-common.h (_FP_DECL): Declare X##_s with __attribute__
20139 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Include <stdlib.h>.
20141 * stdio-common/tst-put-error.c (do_test): Use 10000000 instead of
20142 10000 as width of padded output.
20144 2012-12-04 Joseph Myers <joseph@codesourcery.com>
20146 * sysdeps/powerpc/sysdep.h (_SYS_AUXV_H): Define to 1 not empty.
20148 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Mark
20149 variable LX with __attribute__ ((unused)).
20150 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
20152 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
20153 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
20154 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Mark variable LY
20155 with __attribute__ ((unused)).
20157 2012-12-04 David S. Miller <davem@abraco.davemloft.net>
20159 * sysdeps/generic/memcopy.h: Add multiple inclusion protection.
20161 2012-12-04 Joseph Myers <joseph@codesourcery.com>
20163 * sysdeps/ieee754/ldbl-opt/Makefile [$(subdir) = math]
20164 (CFLAGS-nldbl-acos.c): New variable.
20165 [$(subdir) = math] (CFLAGS-nldbl-acosh.c): Likewise.
20166 [$(subdir) = math] (CFLAGS-nldbl-asin.c): Likewise.
20167 [$(subdir) = math] (CFLAGS-nldbl-asinh.c): Likewise.
20168 [$(subdir) = math] (CFLAGS-nldbl-atan.c): Likewise.
20169 [$(subdir) = math] (CFLAGS-nldbl-atan2.c): Likewise.
20170 [$(subdir) = math] (CFLAGS-nldbl-atanh.c): Likewise.
20171 [$(subdir) = math] (CFLAGS-nldbl-cabs.c): Likewise.
20172 [$(subdir) = math] (CFLAGS-nldbl-cacos.c): Likewise.
20173 [$(subdir) = math] (CFLAGS-nldbl-cacosh.c): Likewise.
20174 [$(subdir) = math] (CFLAGS-nldbl-carg.c): Likewise.
20175 [$(subdir) = math] (CFLAGS-nldbl-casin.c): Likewise.
20176 [$(subdir) = math] (CFLAGS-nldbl-casinh.c): Likewise.
20177 [$(subdir) = math] (CFLAGS-nldbl-catan.c): Likewise.
20178 [$(subdir) = math] (CFLAGS-nldbl-catanh.c): Likewise.
20179 [$(subdir) = math] (CFLAGS-nldbl-cbrt.c): Likewise.
20180 [$(subdir) = math] (CFLAGS-nldbl-ccos.c): Likewise.
20181 [$(subdir) = math] (CFLAGS-nldbl-ccosh.c): Likewise.
20182 [$(subdir) = math] (CFLAGS-nldbl-ceil.c): Likewise.
20183 [$(subdir) = math] (CFLAGS-nldbl-cexp.c): Likewise.
20184 [$(subdir) = math] (CFLAGS-nldbl-cimag.c): Likewise.
20185 [$(subdir) = math] (CFLAGS-nldbl-clog.c): Likewise.
20186 [$(subdir) = math] (CFLAGS-nldbl-clog10.c): Likewise.
20187 [$(subdir) = math] (CFLAGS-nldbl-conj.c): Likewise.
20188 [$(subdir) = math] (CFLAGS-nldbl-copysign.c): Likewise.
20189 [$(subdir) = math] (CFLAGS-nldbl-cos.c): Likewise.
20190 [$(subdir) = math] (CFLAGS-nldbl-cosh.c): Likewise.
20191 [$(subdir) = math] (CFLAGS-nldbl-cpow.c): Likewise.
20192 [$(subdir) = math] (CFLAGS-nldbl-cproj.c): Likewise.
20193 [$(subdir) = math] (CFLAGS-nldbl-creal.c): Likewise.
20194 [$(subdir) = math] (CFLAGS-nldbl-csin.c): Likewise.
20195 [$(subdir) = math] (CFLAGS-nldbl-csinh.c): Likewise.
20196 [$(subdir) = math] (CFLAGS-nldbl-csqrt.c): Likewise.
20197 [$(subdir) = math] (CFLAGS-nldbl-ctan.c): Likewise.
20198 [$(subdir) = math] (CFLAGS-nldbl-ctanh.c): Likewise.
20199 [$(subdir) = math] (CFLAGS-nldbl-drem.c): Likewise.
20200 [$(subdir) = math] (CFLAGS-nldbl-erf.c): Likewise.
20201 [$(subdir) = math] (CFLAGS-nldbl-erfc.c): Likewise.
20202 [$(subdir) = math] (CFLAGS-nldbl-exp.c): Likewise.
20203 [$(subdir) = math] (CFLAGS-nldbl-exp10.c): Likewise.
20204 [$(subdir) = math] (CFLAGS-nldbl-exp2.c): Likewise.
20205 [$(subdir) = math] (CFLAGS-nldbl-expm1.c): Likewise.
20206 [$(subdir) = math] (CFLAGS-nldbl-fabs.c): Likewise.
20207 [$(subdir) = math] (CFLAGS-nldbl-fdim.c): Likewise.
20208 [$(subdir) = math] (CFLAGS-nldbl-finite.c): Likewise.
20209 [$(subdir) = math] (CFLAGS-nldbl-floor.c): Likewise.
20210 [$(subdir) = math] (CFLAGS-nldbl-fma.c): Likewise.
20211 [$(subdir) = math] (CFLAGS-nldbl-fmax.c): Likewise.
20212 [$(subdir) = math] (CFLAGS-nldbl-fmin.c): Likewise.
20213 [$(subdir) = math] (CFLAGS-nldbl-fmod.c): Likewise.
20214 [$(subdir) = math] (CFLAGS-nldbl-frexp.c): Likewise.
20215 [$(subdir) = math] (CFLAGS-nldbl-gamma.c): Likewise.
20216 [$(subdir) = math] (CFLAGS-nldbl-hypot.c): Likewise.
20217 [$(subdir) = math] (CFLAGS-nldbl-ilogb.c): Likewise.
20218 [$(subdir) = math] (CFLAGS-nldbl-isinf.c): Likewise.
20219 [$(subdir) = math] (CFLAGS-nldbl-isnan.c): Likewise.
20220 [$(subdir) = math] (CFLAGS-nldbl-j0.c): Likewise.
20221 [$(subdir) = math] (CFLAGS-nldbl-j1.c): Likewise.
20222 [$(subdir) = math] (CFLAGS-nldbl-jn.c): Likewise.
20223 [$(subdir) = math] (CFLAGS-nldbl-ldexp.c): Likewise.
20224 [$(subdir) = math] (CFLAGS-nldbl-lgamma.c): Likewise.
20225 [$(subdir) = math] (CFLAGS-nldbl-lgamma_r.c): Likewise.
20226 [$(subdir) = math] (CFLAGS-nldbl-llrint.c): Likewise.
20227 [$(subdir) = math] (CFLAGS-nldbl-llround.c): Likewise.
20228 [$(subdir) = math] (CFLAGS-nldbl-log.c): Likewise.
20229 [$(subdir) = math] (CFLAGS-nldbl-log10.c): Likewise.
20230 [$(subdir) = math] (CFLAGS-nldbl-log1p.c): Likewise.
20231 [$(subdir) = math] (CFLAGS-nldbl-log2.c): Likewise.
20232 [$(subdir) = math] (CFLAGS-nldbl-logb.c): Likewise.
20233 [$(subdir) = math] (CFLAGS-nldbl-lrint.c): Likewise.
20234 [$(subdir) = math] (CFLAGS-nldbl-lround.c): Likewise.
20235 [$(subdir) = math] (CFLAGS-nldbl-modf.c): Likewise.
20236 [$(subdir) = math] (CFLAGS-nldbl-nan.c): Likewise.
20237 [$(subdir) = math] (CFLAGS-nldbl-nearbyint.c): Likewise.
20238 [$(subdir) = math] (CFLAGS-nldbl-nextafter.c): Likewise.
20239 [$(subdir) = math] (CFLAGS-nldbl-nexttoward.c): Likewise.
20240 [$(subdir) = math] (CFLAGS-nldbl-nexttowardf.c): Likewise.
20241 [$(subdir) = math] (CFLAGS-nldbl-pow.c): Likewise.
20242 [$(subdir) = math] (CFLAGS-nldbl-pow10.c): Likewise.
20243 [$(subdir) = math] (CFLAGS-nldbl-remainder.c): Likewise.
20244 [$(subdir) = math] (CFLAGS-nldbl-remquo.c): Likewise.
20245 [$(subdir) = math] (CFLAGS-nldbl-rint.c): Likewise.
20246 [$(subdir) = math] (CFLAGS-nldbl-round.c): Likewise.
20247 [$(subdir) = math] (CFLAGS-nldbl-scalb.c): Likewise.
20248 [$(subdir) = math] (CFLAGS-nldbl-scalbln.c): Likewise.
20249 [$(subdir) = math] (CFLAGS-nldbl-scalbn.c): Likewise.
20250 [$(subdir) = math] (CFLAGS-nldbl-significand.c): Likewise.
20251 [$(subdir) = math] (CFLAGS-nldbl-sin.c): Likewise.
20252 [$(subdir) = math] (CFLAGS-nldbl-sincos.c): Likewise.
20253 [$(subdir) = math] (CFLAGS-nldbl-sinh.c): Likewise.
20254 [$(subdir) = math] (CFLAGS-nldbl-sqrt.c): Likewise.
20255 [$(subdir) = math] (CFLAGS-nldbl-tan.c): Likewise.
20256 [$(subdir) = math] (CFLAGS-nldbl-tanh.c): Likewise.
20257 [$(subdir) = math] (CFLAGS-nldbl-tgamma.c): Likewise.
20258 [$(subdir) = math] (CFLAGS-nldbl-trunc.c): Likewise.
20259 [$(subdir) = math] (CFLAGS-nldbl-y0.c): Likewise.
20260 [$(subdir) = math] (CFLAGS-nldbl-y1.c): Likewise.
20261 [$(subdir) = math] (CFLAGS-nldbl-yn.c): Likewise.
20263 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
20264 (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
20267 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Clear
20268 whole low double instead of just low 47 bits when splitting values
20271 2012-12-03 Allan McRae <allan@archlinux.org>
20273 * manual/stdio.texi (Predefined Printf Handlers): Remove
20274 @hsep and @vsep usage.
20276 2012-12-03 Mike Frysinger <vapier@gentoo.org>
20278 * bits/byteswap.h [__GNUC__]: Change __GNUC_PREREQ from 4.2 to 4.3.
20279 * sysdeps/x86/bits/byteswap.h [__GNUC__]: Likewise.
20281 2012-12-03 Jeff Law <law@redhat.com>
20283 * time/sys/time.h (settimeofday): Do not mark TV argument
20286 2012-12-01 Mike Frysinger <vapier@gentoo.org>
20288 * libio/fileops.c (_IO_new_file_close_it): Do not always flush
20289 when currently writing and seek to current position when not.
20290 * libio/Makefile (tests): Remove bug-fclose1.
20291 * libio/bug-fclose1.c: Delete.
20293 2012-12-01 Joseph Myers <joseph@codesourcery.com>
20295 * manual/arith.texi (feenableexcept): Fix typo.
20296 (fedisableexcept): Likewise.
20298 2012-11-30 Roland McGrath <roland@hack.frob.com>
20300 * sysdeps/powerpc/powerpc64/entry.h (TEXT_START): Define using a
20301 second, differently-typed declaration, rather than a cast.
20303 2012-11-30 Siddhesh Poyarekar <siddhesh@redhat.com>
20305 * sunrpc/rpc/svc.h (__svc_accept_failed): Move declaration...
20306 * include/rpc/svc.h: ... here.
20308 2012-11-30 Aurelien Jarno <aurel32@debian.org>
20311 * resolv/res_query.c(__libc_res_nquery): Assign hp and hp2
20312 depending n and resplen2 to catch cases where answer
20315 2012-11-29 Carlos O'Donell <carlos@systemhalted.org>
20317 * elf/get-dynamic-info.h (elf_get_dynamic_info): Warn
20318 for unsupported DF_1_* bits when DL_DEBUG_FILES is set.
20320 2012-11-29 Mike Frysinger <vapier@gentoo.org>
20322 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c (HAS_CPUCLOCK): Delete.
20324 2012-11-29 Roland McGrath <roland@hack.frob.com>
20326 * inet/tst-inet6_rth.c (do_test): Use a union rather than type punning.
20328 2012-11-28 Jeff Law <law@redhat.com>
20331 * nscd/grpcache.c (cache_addgr): Rename alloca_used to
20332 dataset_temporary. Track alloca usage into alloca_used.
20333 If dataset is large allocate and release it via malloc/free.
20335 2012-06-04 Florian Weimer <fweimer@redhat.com>
20338 * debug/test-strcpy_chk.c: Mention __chk_fail ABI test.
20340 2012-11-28 David S. Miller <davem@davemloft.net>
20342 * sysdeps/sparc/fpu/libm-test-ulps: Update.
20344 2012-11-28 Joseph Myers <joseph@codesourcery.com>
20347 * sysdeps/ieee754/ldbl-96/e_asinl.c (pio2_hi): Use hex float value
20348 of pi/2 rounded to nearest to 64 bits.
20349 (pio2_lo): Use hex float value of pi/2 - pio2_hi rounded to
20350 nearest to 64 bits.
20351 (pio4_hi): Use hex float value of pi/4 rounded to nearest to 64
20354 2012-11-28 Jeff Law <law@redhat.com>
20355 Martin Osvald <mosvald@redhat.com>
20358 * sunrpc/rpc/svc.h (__svc_accept_failed): New prototype.
20359 * sunrpc/svc.c: Include time.h.
20360 (__svc_accept_failed): New function.
20361 * sunrpc/svc_tcp.c (rendezvous_request): If the accept fails for
20362 any reason other than EINTR, call __svc_accept_failed.
20363 * sunrpc/svc_udp.c (svcudp_recv): Similarly.
20364 * sunrpc/svc_unix.c (rendezvous_request): Similarly.
20366 2012-11-28 Andreas Schwab <schwab@suse.de>
20368 * scripts/abilist.awk: Also handle indirect functions in .opd
20371 2012-11-28 Joseph Myers <joseph@codesourcery.com>
20374 * sysdeps/x86/fpu/powl_helper.c: New file.
20375 * sysdeps/x86/fpu/Makefile: Likewise.
20376 * sysdeps/i386/fpu/e_powl.S (limit): Remove object.
20378 (__ieee754_powl): Use __powl_helper for finite arguments except
20379 integer exponents below 8.
20380 * sysdeps/x86_64/fpu/e_powl.S (limit): Remove object.
20382 (__ieee754_powl): Use __powl_helper for finite arguments except
20383 integer exponents below 8.
20384 * math/libm-test.inc (pow_test): Add more tests and enable some
20385 previously disabled tests.
20386 * sysdeps/i386/fpu/libm-test-ulps: Update.
20387 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20389 2012-11-28 Siddhesh Poyarekar <siddhesh@redhat.com>
20390 Carlos O'Donell <carlos_odonell@mentor.com>
20392 * nss/makedb.c (is_prime): Assert that input is odd and greater
20393 than 4. Note that fact in a comment too.
20394 (next_prime): Add 4 to input.
20396 2012-11-27 Siddhesh Poyarekar <siddhesh@redhat.com>
20399 * libio/Makefile (tests): Add test case tst-fwrite-error.
20400 * libio/iofwrite.c (_IO_fwrite): Return 0 on EOF.
20401 * libio/iofwrite_u.c (fwrite_unlocked): Likewise.
20402 * libio/tst-fwrite-error.c: New test case.
20404 2012-11-26 H.J. Lu <hongjiu.lu@intel.com>
20406 * elf/dl-load.c (_dl_map_object_from_fd): Cast to uintptr_t
20407 before casting to void *.
20408 * include/libc-internal.h (__pointer_type): New macro.
20409 (__integer_if_pointer_type_sub): Likewise.
20410 (__integer_if_pointer_type): Likewise.
20411 (cast_to_integer): Likewise.
20412 * sysdeps/x86_64/bits/atomic.h: Include <libc-internal.h>.
20413 (__arch_c_compare_and_exchange_val_64_acq): Use cast_to_integer
20414 before casting to atomic64_t.
20415 (atomic_exchange_acq): Likewise.
20416 (__arch_exchange_and_add_body): Likewise.
20417 (__arch_add_body): Likewise.
20418 (atomic_add_negative): Likewise.
20419 (atomic_add_zero): Likewise.
20421 2012-11-26 Joseph Myers <joseph@codesourcery.com>
20423 * sysdeps/generic/unwind-dw2-fde.c (get_pc_begin): New function.
20424 (fde_unencoded_compare): Use get_pc_begin instead of type-punning.
20425 (add_fdes): Likewise.
20426 (linear_search_fdes): Likewise.
20427 (binary_search_unencoded_fdes): Likewise.
20429 2012-11-26 Andreas Schwab <schwab@linux-m68k.org>
20431 * elf/sotruss.ksh: Correctly locate argument of -F and -T options.
20433 2012-11-24 Adam Conrad <adconrad@0c3.net>
20435 * configure.in: Autodetect C++ header directories.
20436 * configure: Regenerated.
20438 2012-11-23 Mike Frysinger <vapier@gentoo.org>
20440 * elf/Makefile ($(objpfx)ld.so): Change readelf to $(READELF).
20442 2012-11-23 Andreas Schwab <schwab@linux-m68k.org>
20444 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
20446 2012-11-22 Joseph Myers <joseph@codesourcery.com>
20448 * math/libm-test.inc (fma_test_towardzero) [TEST_LDOUBLE &&
20449 LDBL_MANT_DIG == 106]: Disable some tests.
20450 (fma_test_downward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
20452 (fma_test_upward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
20456 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Return the
20457 input for small inputs. Return +/- pi/2 for large inputs.
20458 * math/libm-test.inc (atan_test): Add more tests.
20460 * sysdeps/generic/unwind-dw2-fde-glibc.c
20461 (_Unwind_IteratePhdrCallback): Declare P_DYNAMIC with
20462 __attribute__ ((unused)).
20465 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c (__fmal): Compute result as
20466 x * y if x and y are nonzero and z is zero.
20469 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Saturate
20470 nonzero exponents with absolute value below 0x1p-117 to +/-
20474 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Scale
20475 up arguments below 2**-450, not just those below 2**-500.
20476 * math/libm-test.inc (hypot_test): Add another test.
20479 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl):
20480 Return a+b for ratio over 2**120, not 2**60.
20481 * math/libm-test.inc (hypot_test): Add another test.
20483 * math/libm-test.inc (clog_test): Use
20484 UNDERFLOW_EXCEPTION_LDOUBLE_IBM on two tests.
20485 (clog10_test): Likewise.
20488 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (big): Change to 1e290L.
20490 2012-11-22 Andreas Schwab <schwab@suse.de>
20492 * sysdeps/i386/fpu/libm-test-ulps: Update.
20494 2012-11-22 Pino Toscano <toscano.pino@tiscali.it>
20496 * sysdeps/x86_64/multiarch/test-multiarch.c (get_cpuinfo): Terminate
20497 printf output with newline.
20499 2012-11-21 H.J. Lu <hongjiu.lu@intel.com>
20502 * aclocal.m4 (LIBC_LINKER_FEATURE): New macro.
20503 * configure.in: Use LIBC_LINKER_FEATURE to check -z nodelete,
20504 -z nodlopen, -z initfirst and -z execstack support.
20505 * configure: Regenerated.
20507 * elf/elf.h (DF_1_NODIRECT): New macro.
20508 (DF_1_IGNMULDEF): Likewise.
20509 (DF_1_NOKSYMS): Likewise.
20510 (DF_1_NOHDR): Likewise.
20511 (DF_1_EDITED): Likewise.
20512 (DF_1_NORELOC): Likewise.
20513 (DF_1_SYMINTPOSE): Likewise.
20514 (DF_1_GLOBAUDIT): Likewise.
20515 (DF_1_SINGLETON): Likewise.
20516 * elf/get-dynamic-info.h (elf_get_dynamic_info): Assert
20517 DT_1_SUPPORTED_MASK bits.
20518 * include/elf.h (DT_1_SUPPORTED_MASK): New macro.
20520 2012-11-20 Carlos O'Donell <carlos_odonell@mentor.com>
20522 * sysdeps/unix/make-syscalls.sh: Document prefixes.
20524 2012-11-20 Thomas Schwinge <thomas@codesourcery.com>
20526 * sysdeps/sh/dl-machine.h (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): New
20529 * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr, recvmmsg)
20530 (sendmmsg): Move declarations...
20531 * socket/sys/socket.h: ... here.
20532 * sysdeps/unix/sysv/linux/recvmmsg.c [!defined __NR_recvmmsg &&
20533 !defined __NR_socketcall] (recvmmsg): Move ENOSYS stub into and
20535 * socket/recvmmsg.c: ... this new file.
20536 * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SENDMMSG]
20537 (sendmmsg): Rename to __sendmmsg, create weak alias and make
20538 definition of __sendmmsg hidden.
20539 * sysdeps/unix/sysv/linux/sendmmsg.c (sendmmsg): Likewise.
20540 [!defined __NR_sendmmsg && !defined __NR_socketcall] (sendmmsg):
20541 Move ENOSYS stub into and include it from...
20542 * socket/sendmmsg.c: ... this new file.
20543 * sysdeps/unix/sysv/linux/Makefile [subdir=socket]
20544 (sysdep_routines): Move recvmmsg and sendmmsg...
20545 * socket/Makefile (routines): ... here.
20546 * socket/Versions (GLIBC_2.17): Add recvmmsg and sendmmsg.
20547 (GLIBC_PRIVATE): Add __sendmmsg.
20548 * include/sys/socket.h (__sendmmsg): Add declarations.
20549 * resolv/res_send.c (send_dg): Invoke __sendmmsg instead of
20552 2012-11-20 Joseph Myers <joseph@codesourcery.com>
20554 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Mark
20555 variable I1 with __attribute__ ((unused)).
20556 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
20558 2012-11-19 Joseph Myers <joseph@codesourcery.com>
20560 * stdio-common/_itowa.c (_itowa) [BITS_PER_MP_LIMB == 64]: Declare
20561 DUMMY variables with __attribute__ ((unused)).
20563 * bits/byteswap.h: Include <bits/types.h>.
20564 (__bswap_64): Use __uint64_t instead of unsigned long long int.
20566 2012-11-19 Pino Toscano <toscano.pino@tiscali.it>
20568 * sysdeps/mach/hurd/ptsname.c (ptsname): Change the type of PEERNAME to
20569 string_t. Do not manually set errno.
20570 (__ptsname_r): Change the type of PEERNAME to string_t, and check its
20571 length with __strnlen. Make sure to both set errno and return it on
20574 2012-11-19 David S. Miller <davem@davemloft.net>
20576 With help from Joseph Myers.
20577 * sysdeps/ieee754/ldbl-128/s_atanl.c (__atanl): Handle tiny and
20578 very large arguments properly.
20579 * math/libm-test.inc (atan_test): New tests.
20580 (atan2_test): New tests.
20581 * sysdeps/sparc/fpu/libm-test-ulps: Update.
20582 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
20584 2012-11-19 Joseph Myers <joseph@codesourcery.com>
20587 * posix/bits/posix1_lim.h [!__USE_XOPEN2K] (_POSIX_TZNAME_MAX):
20590 * conform/data/errno.h-data [POSIX] (EADDRINUSE): Do not expect.
20591 [POSIX] (EADDRNOTAVAIL): Likewise.
20592 [POSIX] (EAFNOSUPPORT): Likewise.
20593 [POSIX] (EALREADY): Likewise.
20594 [POSIX] (ECONNABORTED): Likewise.
20595 [POSIX] (ECONNREFUSED): Likewise.
20596 [POSIX] (ECONNRESET): Likewise.
20597 [POSIX] (EDESTADDRREQ): Likewise.
20598 [POSIX] (EDQUOT): Likewise.
20599 [POSIX] (EHOSTUNREACH): Likewise.
20600 [POSIX] (EIDRM): Likewise.
20601 [POSIX] (EISCONN): Likewise.
20602 [POSIX] (ELOOP): Likewise.
20603 [POSIX] (EMULTIHOP): Likewise.
20604 [POSIX] (ENETDOWN): Likewise.
20605 [POSIX] (ENETUNREACH): Likewise.
20606 [POSIX] (ENOBUFS): Likewise.
20607 [POSIX] (ENODATA): Likewise.
20608 [POSIX] (ENOLINK): Likewise.
20609 [POSIX] (ENOMSG): Likewise.
20610 [POSIX] (ENOPROTOOPT): Likewise.
20611 [POSIX] (ENOSR): Likewise.
20612 [POSIX] (ENOSTR): Likewise.
20613 [POSIX] (ENOTCONN): Likewise.
20614 [POSIX] (ENOTSOCK): Likewise.
20615 [POSIX] (EOPNOTSUPP): Likewise.
20616 [POSIX] (EOVERFLOW): Likewise.
20617 [POSIX] (EPROTO): Likewise.
20618 [POSIX] (EPROTONOSUPPORT): Likewise.
20619 [POSIX] (EPROTOTYPE): Likewise.
20620 [POSIX] (ESTALE): Likewise.
20621 [POSIX] (ETIME): Likewise.
20622 [POSIX] (ETXTBSY): Likewise.
20623 [POSIX] (EWOULDBLOCK): Likewise.
20624 [!ISO && !ISO99 && !ISO11] (E*): Do not allow.
20625 * conform/data/fcntl.h-data [POSIX] (SEEK_SET): Allow.
20626 [POSIX] (SEEK_CUR): Likewise.
20627 [POSIX] (SEEK_END): Likewise.
20628 [POSIX || UNIX98] (mode_t): Do not require.
20629 [POSIX] (off_t): Likewise.
20630 [POSIX] (pid_t): Likewise.
20631 [POSIX] (sys/stat.h): Do not allow header.
20632 [POSIX] (unistd.h): Likewise.
20633 [!ISO && !ISO99 && !ISO11] (timespec): Do not allow.
20634 [!ISO && !ISO99 && !ISO11] (tv_nsec): Likewise.
20635 [!ISO && !ISO99 && !ISO11] (tv_sec): Likewise.
20636 * conform/data/locale.h-data [POSIX] (LC_MESSAGES): Do not
20638 * conform/data/mqueue.h-data [!ISO && !ISO99 && !ISO11] (struct
20639 sigevent): Specify elements.
20640 [XOPEN2K8 || POSIX2008] (struct sigevent): Remove duplicate type
20642 [!ISO && !ISO99 && !ISO11] (mq_*): Allow.
20643 [!ISO && !ISO99 && !ISO11] (MQ_*): Likewise.
20645 * conform/data/cpio.h-data [POSIX]: Disable whole file.
20646 * conform/data/glob.h-data [POSIX] (GLOB_NOSYS): Do not expect.
20647 * conform/data/limits.h-data [!ISO && !ISO99 && !ISO11]
20648 (AIO_LIST_MAX): Change to AIO_LISTIO_MAX.
20649 [!ISO && !ISO99 && !ISO11] (ATEXT_MAX): Remove.
20650 [!ISO && !ISO99 && !ISO11 && !POSIX && !XPG3] (ATEXIT_MAX): Allow.
20651 [POSIX || POSIX2008 || XPG3] (IOV_MAX): Do not allow.
20652 [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Likewise.
20653 [!ISO && !ISO99 && !ISO11] (MQ_PRIO_MAX): Allow.
20654 [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Remove duplicate entry.
20655 [POSIX || XPG3 || XPG4 || UNIX98] (SS_REPL_MAX): Do not allow.
20656 [POSIX || XPG3 || XPG4 || UNIX98] (SYMLOOP_MAX): Likewise.
20657 [POSIX || XPG3 || XPG4] (FILESIZEBITS): Likewise.
20658 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_ALLOC_SIZE_MIN):
20660 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_INCR_XFER_SIZE):
20662 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_MAX_XFER_SIZE):
20664 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_XFER_ALIGN):
20666 [POSIX || XPG3 || XPG4 || UNIX98] (SYMLINK_MAX): Likewise.
20667 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SS_REPL_MAX): Likewise.
20668 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLINK_MAX): Likewise.
20669 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLOOP_MAX): Likewise.
20670 [!ISO && !ISO99 && !ISO11] (BC_BASE_MAX): Use macro-constant.
20671 Specify lower bound on value.
20672 [!ISO && !ISO99 && !ISO11] (BC_DIM_MAX): Likewise.
20673 [!ISO && !ISO99 && !ISO11] (BC_SCALE_MAX): Likewise.
20674 [!ISO && !ISO99 && !ISO11] (BC_STRING_MAX): Likewise.
20675 [!ISO && !ISO99 && !ISO11] (COLL_WEIGHTS_MAX): Likewise.
20676 [!ISO && !ISO99 && !ISO11] (EXPR_NEST_MAX): Likewise.
20677 [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Likewise
20678 [POSIX || XPG3 || XPG4] (CHARCLASS_NAME_MAX): Do not allow.
20679 [!ISO && !ISO99 && !ISO11] (_POSIX_CLOCKRES_MIN): Specify exact
20681 [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_LISTIO_MAX): Do not specify
20683 [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_MAX): Likewise.
20684 [!ISO && !ISO99 && !ISO11] (_POSIX_ARG_MAX): Likewise.
20685 [!ISO && !ISO99 && !ISO11] (_POSIX_CHILD_MAX): Likewise.
20686 [!ISO && !ISO99 && !ISO11] (_POSIX_DELAYTIMER_MAX): Likewise.
20687 [!ISO && !ISO99 && !ISO11] (_POSIX_LINK_MAX): Likewise.
20688 [!ISO && !ISO99 && !ISO11] (_POSIX_LOGIN_NAME_MAX): Likewise.
20689 [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_CANON): Likewise.
20690 [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_INPUT): Likewise.
20691 [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_OPEN_MAX): Likewise.
20692 [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_PRIO_MAX): Likewise.
20693 [!ISO && !ISO99 && !ISO11] (_POSIX_NAME_MAX): Likewise.
20694 [!ISO && !ISO99 && !ISO11] (_POSIX_NGROUPS_MAX): Likewise.
20695 [!ISO && !ISO99 && !ISO11] (_POSIX_OPEN_MAX): Likewise.
20696 [!ISO && !ISO99 && !ISO11] (_POSIX_PATH_MAX): Likewise.
20697 [!ISO && !ISO99 && !ISO11] (_POSIX_PIPE_BUF): Likewise.
20698 [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Remove duplicate
20700 [!ISO && !ISO99 && !ISO11] (_POSIX_RTSIG_MAX): Do not specify as
20702 [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_NSEMS_MAX): Likewise.
20703 [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_VALUE_MAX): Likewise.
20704 [!ISO && !ISO99 && !ISO11] (_POSIX_SIGQUEUE_MAX): Likewise.
20705 [!ISO && !ISO99 && !ISO11] (_POSIX_SSIZE_MAX): Likewise.
20706 [!ISO && !ISO99 && !ISO11] (_POSIX_STREAM_MAX): Likewise.
20707 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_DESTRUCTOR_ITERATIONS):
20709 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_KEYS_MAX): Likewise.
20710 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_THREADS_MAX): Likewise.
20711 [!ISO && !ISO99 && !ISO11] (_POSIX_TIMER_MAX): Likewise.
20712 [!ISO && !ISO99 && !ISO11] (_POSIX_TTY_NAME_MAX): Likewise.
20713 [!ISO && !ISO99 && !ISO11] (_POSIX_TZNAME_MAX): Likewise. Give
20714 value as 3 for [POSIX || XPG3 || XPG4 || UNIX98].
20715 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_BASE_MAX): Do not specify
20717 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_DIM_MAX): Likewise.
20718 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_SCALE_MAX): Likewise.
20719 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_STRING_MAX): Likewise.
20720 [!ISO && !ISO99 && !ISO11] (_POSIX2_CHARCLASS_NAME_MAX):
20721 Likewise. Do not allow for [POSIX || XPG3 || XPG4 || UNIX98].
20722 [!ISO && !ISO99 && !ISO11] (_POSIX2_COLL_WEIGHTS_MAX): Do not
20723 specify as optional.
20724 [!ISO && !ISO99 && !ISO11] (_POSIX2_EXPR_NEST_MAX): Likewise.
20725 [!ISO && !ISO99 && !ISO11] (_POSIX2_LINE_MAX): Likewise.
20726 [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Likewise.
20727 [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Do not allow.
20728 [POSIX || XPG3] (NL_ARGMAX): Do not allow.
20729 [XPG3] (NL_LANGMAX): Likewise.
20730 [POSIX || XPG3] (NL_MSGMAX): Likewise.
20731 [POSIX || XPG3] (NL_NMAX): Likewise.
20732 [POSIX || XPG3] (NL_SETMAX): Likewise.
20733 [POSIX || XPG3] (NL_TEXTMAX): Likewise.
20734 [XPG3] (NZERO): Likewise.
20735 [XPG4 || UNIX98] (TMP_MAX): Only enable for these conditions.
20736 [POSIX || XPG3 || XPG4 || UNIX98] (*_MIN): Do not allow.
20737 [!ISO && !ISO99 && !ISO11] (*_t): Allow.
20738 * conform/data/regex.h-data [!ISO && !ISO99 && !ISO11]
20739 (REG_ERANGE): Expect.
20740 * conform/data/stdio.h-data [POSIX] (L_cuserid): Use
20742 [POSIX || XOPEN2K || XOPEN2K8 || POSIX2008] (getchar_unlocked):
20743 Use (void) in prototype.
20744 [POSIX] (*_t): Allow.
20745 * conform/data/sys/times.h-data [POSIX]: Enable whole file.
20746 * conform/data/wordexp.h-data [!ISO && !ISO99 && !ISO11]
20747 (WRDE_BADVAL): Expect.
20749 * conform/data/fcntl.h-data [XPG3 || XPG4] (O_DSYNC): Do not
20751 [XPG3 || XPG4] (O_RSYNC): Likewise.
20752 * conform/data/signal.h-data [XPG3 || XPG4] (pthread_kill):
20754 [XPG3 || XPG4] (pthread_sigmask): Likewise.
20755 [XPG3 || XPG4] (sigqueue): Likewise.
20756 [XPG3 || XPG4] (sigtimedwait): Likewise.
20757 [XPG3 || XPG4] (sigwaitinfo): Likewise.
20758 * conform/data/stdio.h-data [XPG3 || XPG4] (snprintf): Likewise.
20759 [XPG3 || XPG4] (vsnprintf): Likewise.
20760 * conform/data/sys/stat.h-data [XPG3 || XPG4] (blkcnt_t):
20762 [XPG3 || XPG4] (blksize_t): Likewise.
20763 * conform/data/time.h-data [XPG3 || XPG4] (struct timespec):
20765 [XPG3 || XPG4] (CLOCK_PROCESS_CPUTIME_ID): Likewise.
20766 [XPG3 || XPG4] (CLOCK_THREAD_CPUTIME_ID): Likewise.
20767 [XPG3 || XPG4] (struct itimerspec): Likewise.
20768 [XPG3 || XPG4] (CLOCK_REALTIME): Likewise.
20769 [XPG3 || XPG4] (TIMER_ABSTIME): Likewise.
20770 [XPG3 || XPG4] (CLOCK_MONOTONIC): Likewise.
20771 [XPG3 || XPG4] (clockid_t): Likewise.
20772 [XPG3 || XPG4] (timer_t): Likewise.
20773 [XPG3 || XPG4] (clock_getres): Likewise.
20774 [XPG3 || XPG4] (clock_gettime): Likewise.
20775 [XPG3 || XPG4] (clock_settime): Likewise.
20776 [XPG3 || XPG4] (nanosleep): Likewise.
20777 [XPG3 || XPG4] (timer_create): Likewise.
20778 [XPG3 || XPG4] (timer_delete): Likewise.
20779 [XPG3 || XPG4] (timer_gettime): Likewise.
20780 [XPG3 || XPG4] (timer_getoverrun): Likewise.
20781 [XPG3 || XPG4] (timer_settime): Likewise.
20782 * conform/data/unistd.h-data [XPG3 || XPG4] (fdatasync): Likewise.
20783 [XPG3 || XPG4] (getlogin_r): Likewise.
20784 [XPG3 || XPG4] (pread): Likewise.
20785 [XPG3 || XPG4] (pthread_atfork): Likewise.
20786 [XPG3 || XPG4] (pwrite): Likewise.
20789 * signal/signal.h [__USE_XOPEN_EXTENDED]: Include
20792 2012-11-19 Pino Toscano <toscano.pino@tiscali.it>
20794 * malloc/mtrace.c (muntrace): Reset MALLSTREAM and the hooks before
20795 finalizing MALLSTREAM.
20797 * sysdeps/mach/hurd/syncfs.c: New file.
20799 2012-11-19 Siddhesh Poyarekar <siddhesh@redhat.com>
20802 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Set h_errno to
20803 NETDB_INTERNAL when NSS_STATUS_UNAVAIL.
20804 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Set
20805 h_errno to NETDB_INTERNAL when errno is EMFILE or ENFILE.
20806 (_nss_dns_gethostbyname4_r): Likewise.
20807 * sysdeps/posix/getaddrinfo.c (gaih_inet): Set result to
20808 EAI_SYSTEM if NSS_STATUS_UNAVAIL.
20810 2012-11-19 Peng Haitao <penght@cn.fujitsu.com>
20813 * sunrpc/bindrsvprt.c: Add lock to protect static variable.
20815 2012-11-19 Steve McIntyre <steve.mcintyre@linaro.org>
20817 * sysdeps/generic/ldconfig.h (FLAG_AARCH64_LIB64): New macro.
20818 * elf/cache.c (print_entry): Print ",AArch64" for
20821 * sysdeps/generic/ldconfig.h (FLAG_ARM_LIBHF): New macro.
20822 * elf/cache.c (print_entry): Print ",hard-float" for
20825 2012-11-18 David S. Miller <davem@davemloft.net>
20827 With help from Joseph Myers.
20828 * sysdeps/ieee754/flt-32/e_j0f.c (__ieee754_y0f): Adjust tinyness
20830 * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Adjust tinyness
20832 * sysdeps/ieee754/ldbl-128/e_j0l.c (U0): New constant.
20833 ( __ieee754_y0l): Avoid arithmetic underflow when 'x' is very
20835 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l): Likewise.
20836 * math/libm-test.inc (y0_test): New tests.
20837 (y1_test): New tests.
20838 * sysdeps/i386/fpu/libm-test-ulps: Update.
20839 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
20840 * sysdeps/sparc/fpu/libm-test-ulps: Update.
20842 2012-11-18 Andreas Schwab <schwab@linux-m68k.org>
20844 * configure.in (libc_cv_ld_gnu_indirect_function): Use .quad on
20846 * configure: Regenerated.
20848 2012-11-17 David S. Miller <davem@davemloft.net>
20851 * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Saturate
20852 nonzero exponents with absolute value below 0x1p-128 to +/-
20855 2012-11-17 Joseph Myers <joseph@codesourcery.com>
20857 * sysdeps/unix/sysv/linux/fxstatat.c: Include <string.h>.
20859 * elf/dl-runtime.c [!ELF_MACHINE_NO_PLT]: Make code unconditional.
20861 * posix/getconf-speclist.c: New file.
20862 * posix/posix-envs.def: Likewise.
20863 * posix/confstr.c (START_ENV_GROUP): New macro.
20864 (END_ENV_GROUP): Likewise.
20865 (KNOWN_ABSENT_ENVIRONMENT): Likewise.
20866 (KNOWN_PRESENT_ENV_STRING): Likewise.
20867 (KNOWN_PRESENT_ENVIRONMENT): Likewise.
20868 (UNKNOWN_ENVIRONMENT): Likewise.
20869 (confstr): Include posix-envs.def instead of handling
20870 _CS_V7_WIDTH_RESTRICTED_ENVS, _CS_V6_WIDTH_RESTRICTED_ENVS and
20871 _CS_V5_WIDTH_RESTRICTED_ENVS directly here.
20872 * sysdeps/posix/sysconf.c (START_ENV_GROUP): New macro.
20873 (END_ENV_GROUP): Likewise.
20874 (KNOWN_ABSENT_ENVIRONMENT): Likewise.
20875 (KNOWN_PRESENT_ENVIRONMENT): Likewise.
20876 (UNKNOWN_ENVIRONMENT): Likewise.
20877 (__sysconf): Include posix-envs.def instead of handling associated
20878 cases directly here.
20879 * posix/Makefile ($(objpfx)getconf.speclist): Generate by
20880 preprocessing getconf-speclist.c rather than running getconf or
20881 generating empty file.
20883 2012-11-16 Pino Toscano <toscano.pino@tiscali.it>
20885 * scripts/check-local-headers.sh: Ignore 'mach' headers.
20887 2012-11-16 Andrej Lajovic <natrij@gmail.com>
20890 * iconv/iconv_prog.c (main): Fix -c handling of '/'.
20892 2012-11-16 David S. Miller <davem@davemloft.net>
20894 * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): If xm1 is
20895 smaller than LDBL_EPSILON/2.0L, just return xm1.
20897 2012-11-16 H.J. Lu <hongjiu.lu@intel.com>
20899 * elf/tst-array1.c (init): Set constructor priority to 1000.
20900 (fini): Set destructor priority to 1000.
20901 * elf/tst-array2dep.c: Likewise.
20903 2012-11-16 Siddhesh Poyarekar <siddhesh@redhat.com>
20906 * libio/fileops.c (_IO_new_file_write): Correctly return error.
20907 (_IO_new_file_xsputn): Also return EOF if none of the input
20908 data was written when overflow failed.
20909 * libio/iopadn.c (_IO_padn): Likewise.
20910 * libio/iowpadn.c (_IO_wpadn): Likewise.
20911 * stdio-common/tst-put-error.c: Add copyright notice.
20912 (do_test): Add case for printing padded string.
20913 * stdio-common/vfprintf [!COMPILE_WPRINTF] (PAD): Flag error if
20914 _IO_padn returned error.
20915 [COMPILE_WPRINTF] (PAD): Flag error if _IO_wpadn returned error.
20916 * libio/libioP.h (_IO_xsputn_t): Note in comment that xsputn can
20919 2012-11-16 Siddhesh Poyarekar <siddhesh@redhat.com>
20921 * libio/libioP.h: Add comment note that the references to C++
20922 bits are now obsolete.
20924 2012-11-15 Marcus Shawcroft <marcus.shawcroft@linaro.org>
20926 * math/libm-test.inc (check_complex): Use asprintf.
20928 2012-11-14 Joseph Myers <joseph@codesourcery.com>
20930 * debug/pcprofiledump.c (print_version): Update copyright year.
20931 * malloc/memusagestat.c (print_version): Likewise.
20933 2012-11-14 H.J. Lu <hongjiu.lu@intel.com>
20936 * elf/Makefile (tests): Add tst-audit8.
20937 ($(objpfx)tst-audit8): Also depend on $(common-objpfx)math/libm.so.
20938 ($(objpfx)tst-audit8.out): New target.
20939 (tst-audit8-ENV): New variable.
20940 * elf/dl-runtime.c (_dl_profile_fixup): Call _dl_fixup to skip
20941 audit if l_reloc_result is NULL.
20942 (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): Issue an error if it isn't
20943 defined and ELF_MACHINE_RUNTIME_FIXUP_ARGS is defined.
20944 * elf/tst-audit8.c: New file.
20946 2012-11-14 Marcus Shawcroft <marcus.shawcroft@linaro.org>
20948 * io/Makefile (CFLAGS-open.c, CFLAGS-open64.c): Define.
20949 * misc/Makefile (CFLAGS-select.c): Define.
20950 * posix/Makefile (CFLAGS-pause.c): Define.
20952 2012-11-13 David S. Miller <davem@davemloft.net>
20954 * crypt/Makefile: Move test targets after toplevel Rules
20955 inclusion. Grab any necessary sysdep routines when linking.
20956 * crypt/md5.c (md5_process_block): Remove define, we will always
20957 name it __md5_process_block.
20958 (md5_finish_ctx): Update md5_process_block call.
20959 (md5_stream): Likewise.
20960 (md5_process_bytes): Likewise.
20961 (md5_process_block): Rename to __md5_process_block and move to ...
20962 * crypt/md5-block.c: ... here.
20963 * crypt/sha256.c (sha256_process_block): Move to ...
20964 * crypt/sha256-block.c: ... here.
20965 * crypt/sha512.c (sha512_process_block): Move to ...
20966 * crypt/sha512-block.c: ... here.
20967 * locale/Makefile (CFLAGS-md5.c): Define to add crypt/ to include
20969 * sysdeps/sparc/sparc-ifunc.c (sparc_libc_ifunc): Define.
20970 * sysdeps/sparc/sparc64/multiarch/Makefile
20971 (libcrypt-sysdep_routines): Add crypto assembler sysdeps when in
20973 (localedef-aux): Add md5 crypto assembler when in locale subdir.
20974 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Mirror sparc64
20976 * sysdeps/sparc/sparc64/multiarch/md5-block.c: New file.
20977 * sysdeps/sparc/sparc64/multiarch/md5-crop.S: New file.
20978 * sysdeps/sparc/sparc64/multiarch/sha256-block.c: New file.
20979 * sysdeps/sparc/sparc64/multiarch/sha256-crop.S: New file.
20980 * sysdeps/sparc/sparc64/multiarch/sha512-block.c: New file.
20981 * sysdeps/sparc/sparc64/multiarch/sha512-crop.S: New file.
20982 * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-block.c: New file.
20983 * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-crop.S: New file.
20984 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-block.c: New
20986 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-crop.S: New file.
20987 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-block.c: New
20989 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-crop.S: New file.
20991 2012-11-13 Joseph Myers <joseph@codesourcery.com>
20993 * timezone/tzselect.ksh: Update from tzcode git revision
20994 a435f9f0ecafa56d9e0263835836bd0c64cd7307.
20995 * timezone/zdump.c: Likewise.
20996 * timezone/zic.c: Likewise.
20997 * timezone/Makefile ($(objpfx)version.h): Only include $(version)
20998 in TZVERSION setting, not $(PKGVERSION).
20999 ($(objpfx)tzselect): Likewise. Also substitute PKGVERSION and
21000 REPORT_BUGS_TO settings.
21003 * resolv/netdb.h [__USE_XOPEN_EXTENDED] (IPPORT_RESERVED): Define
21006 2012-11-13 Marcus Shawcroft <marcus.shawcroft@linaro.org>
21008 * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Move underflow
21009 detection to immediately after _FP_ROUND().
21010 * soft-fp/soft-fp.h (_FP_ROUND): Don't round if working
21013 2012-11-11 David S. Miller <davem@davemloft.net>
21015 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Include
21017 (__get_clockfreq_via_proc_openprom): Use __open, __read, and
21018 __close rather than their public counterparts.
21020 2012-11-10 Joseph Myers <joseph@codesourcery.com>
21022 * conform/data/semaphore.h-data [XPG3 || XPG4]: Disable whole
21024 [UNIX98] (sem_timedwait): Do not expect.
21025 * conform/data/sys/socket.h-data [XPG3]: Disable whole file.
21026 [XPG4 || UNIX98] (sockatmark): Do not expect.
21027 * conform/data/time.h-data [XPG3 || XPG4 || UNIX98]
21028 (clock_getcpuclockid): Do not expect.
21029 [XPG3 || XPG4 || UNIX98] (clock_nanosleep): Do not expect.
21030 * conform/data/unistd.h-data [XPG3 || XPG4 || UNIX98] (setegid):
21032 [XPG3 || XPG4 || UNIX98] (seteuid): Likewise.
21033 * conform/data/wchar.h-data [UNIX98] (vfwscanf): Do not expect.
21034 [UNIX98] (vwscanf): Likewise.
21035 [UNIX98] (vswscanf): Likewise.
21037 2012-11-09 Joseph Myers <joseph@codesourcery.com>
21039 * timezone/version.h: Remove file.
21040 * timezone/README: Do not refer to version.h.
21041 * timezone/Makefile ($(objpfx)zic.o): New dependency on
21042 $(objpfx)version.h.
21043 ($(objpfx)zdump.o): Likewise.
21044 ($(objpfx)version.h): New target.
21046 * timezone/tzselect.ksh: Change to verbatim copy from tzcode
21048 * timezone/README: Don't mention modification to tzselect.ksh.
21049 * timezone/Makefile ($(objpfx)tzselect): Update substitutions to
21050 work on unmodified tzselect.ksh. Substitute version numbers in
21053 * Makefile (format-me): Remove.
21054 (INSTALL): Adjust indentation. Use commands directly instead of
21055 using $(format-me).
21057 * aclocal.m4 (ACX_PKGVERSION): New macro.
21058 (ACX_BUGURL): Likewise.
21059 * configure.in: Use ACX_PKGVERSION and ACX_BUGURL.
21060 (PKGVERSION): New AC_DEFINE_UNQUOTED.
21061 (REPORT_BUGS_TO): Likewise.
21062 * configure: Regenerated.
21063 * config.h.in (PKGVERSION): New macro.
21064 (REPORT_BUGS_TO): Likewise.
21065 * config.make.in (PKGVERSION): New variable.
21066 (PKGVERSION_TEXI): Likewise.
21067 (REPORT_BUGS_TO): Likewise.
21068 (REPORT_BUGS_TEXI): Likewise.
21069 * Makefile (format-me): Use -I$(common-objpfx)manual.
21070 (INSTALL): Depend on $(common-objpfx)manual/pkgvers.texi.
21071 ($(common-objpfx)manual/%): New target.
21072 (manual/%): Remove target.
21073 * catgets/gencat.c (more_help): Use REPORT_BUGS_TO.
21074 (print_version): Use PKGVERSION.
21075 * csu/version.c (banner): Use PKGVERSION and REPORT_BUGS_TO.
21076 * debug/Makefile ($(objpfx)catchsegv): Also substitute PKGVERSION
21077 and REPORT_BUGS_TO.
21078 ($(objpfx)xtrace): Likewise.
21079 * debug/catchsegv.sh: Use PKGVERSION and REPORT_BUGS_TO.
21080 * debug/pcprofiledump.c (more_help): Use REPORT_BUGS_TO.
21081 (print_version): Use PKGVERSION.
21082 * debug/xtrace.sh (do_help): Use REPORT_BUGS_TO.
21083 (do_version): Use PKGVERSION.
21084 * elf/Makefile ($(objpfx)sotruss): Also substitute PKGVERSION and
21086 (common-ldd-rewrite): Likewise.
21087 * elf/dl-close.c (_dl_close_worker): Use REPORT_BUGS_TO.
21088 * elf/ldconfig.c (more_help): Use REPORT_BUGS_TO.
21089 (print_version): Use PKGVERSION.
21090 * elf/ldd.bash.in: Use PKGVERSION and REPORT_BUGS_TO.
21091 * elf/pldd.c (argp_program_bug_address): Remove variable.
21092 (more_help): New function.
21093 (argp): Use more_help.
21094 (print_version): Use PKGVERSION.
21095 * elf/sln.c (main): Use PKGVERSION.
21096 (usage): Use REPORT_BUGS_TO.
21097 * elf/sotruss.ksh (do_help): Use REPORT_BUGS_TO.
21098 (top level): Use PKGVERSION.
21099 * elf/sprof.c (more_help): Use REPORT_BUGS_TO.
21100 (print_version): Use PKGVERSION.
21101 * iconv/iconv_prog.c (more_help): Use REPORT_BUGS_TO.
21102 (print_version): Use PKGVERSION.
21103 * iconv/iconvconfig.c (more_help): Use REPORT_BUGS_TO.
21104 (print_version): Use PKGVERSION.
21105 * locale/programs/locale.c (more_help): Use REPORT_BUGS_TO.
21106 (print_version): Use PKGVERSION.
21107 * locale/programs/localedef.c (more_help): Use REPORT_BUGS_TO.
21108 (print_version): Use PKGVERSION.
21109 * login/programs/pt_chown.c (more_help): Use REPORT_BUGS_TO.
21110 (print_version): Use PKGVERSION.
21111 * malloc/Makefile ($(objpfx)mtrace): Also substitute PKGVERSION
21113 ($(objpfx)memusage): Likewise.
21114 * malloc/memusage.sh (do_help): Use REPORT_BUGS_TO.
21115 (do_version): Use PKGVERSION.
21116 * malloc/memusagestat.c (more_help): Use REPORT_BUGS_TO.
21117 (print_version): Use PKGVERSION.
21118 * malloc/mtrace.pl ($PACKAGE): Remove variable.
21119 ($PKGVERSION): New variable.
21120 ($REPORT_BUGS_TO): Likewise.
21121 (usage): Use $REPORT_BUGS_TO.
21122 (top level): Use $PKGVERSION.
21123 * manual/Makefile (libc-texi-generated): Add pkgvers.texi.
21124 ($(objpfx)pkgvers.texi): New rule.
21125 ($(objpfx)stamp-pkgvers): Likewise.
21126 * manual/install.texi: Include pkgvers.texi.
21127 (--with-pkgversion): Document new configure option.
21128 (--with-bugurl): Likewise.
21129 (Reporting Bugs): Describe Bugzilla as upstream tracker rather
21130 than necessarily for this particular distribution. Use
21131 REPORT_BUGS_TO for where to report bugs.
21132 * INSTALL: Regenerated.
21133 * manual/libc.texinfo: Include pkgvers.texi.
21134 [!PKGVERSION_DEFAULT]: Include PKGVERSION in version information.
21135 * nscd/nscd.c (more_help): Use REPORT_BUGS_TO.
21136 (print_version): Use PKGVERSION.
21137 * nss/getent.c (more_help): Use REPORT_BUGS_TO.
21138 (print_version): Use PKGVERSION.
21139 * nss/makedb.c (more_help): Use REPORT_BUGS_TO.
21140 (print_version): Use PKGVERSION.
21141 * posix/getconf.c (main): Use PKGVERSION and REPORT_BUGS_TO.
21142 * sunrpc/proto.h [IS_IN_build] (_libc_intl_domainname): Remove
21144 * sunrpc/rpc_main.c (options_usage): Use REPORT_BUGS_TO.
21145 (print_version): Use PKGVERSION.
21146 * sunrpc/rpcinfo.c (usage): Use REPORT_BUGS_TO.
21147 (print_version): Use PKGVERSION.
21148 * sysdeps/unix/sysv/linux/lddlibc4.c (main): Use REPORT_BUGS_TO
21151 * timezone/checktab.awk: Update from tzcode 2012i.
21152 * timezone/ialloc.c: Likewise.
21153 * timezone/private.h: Likewise.
21154 * timezone/scheck.c: Likewise.
21155 * timezone/tzfile.h: Likewise.
21156 * timezone/tzselect.ksh: Merge in changes from tzcode 2012i.
21157 (TZVERSION): Hardcode tzcode version number.
21158 * timezone/zdump.c: Update from tzcode 2012i.
21159 * timezone/zic.c: Likewise.
21160 * timezone/version.h: New file.
21161 * timezone/README: Describe version.h. Update upstream location.
21164 * stdlib/stdlib.h [__USE_XOPEN_EXTENDED && __USE_XOPEN2K]
21165 (mktemp): Enable declaration.
21166 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (ecvt): Likewise.
21167 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (fcvt): Likewise.
21168 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (gcvt): Likewise.
21169 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qecvt):
21171 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qfcvt):
21173 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qgcvt):
21175 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (ecvt_r):
21177 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (fcvt_r):
21179 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (gcvt_r):
21183 * sunrpc/clnt_tcp.c (clnttcp_control): Access values at fixed
21184 offset in buffer as u_int32_t not u_long. Consistently use memcpy
21185 for copies of such integer values.
21186 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
21187 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
21189 2012-11-09 Andreas Jaeger <aj@suse.de>
21191 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Remove all
21192 definitions and declarations that are provided by
21193 <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
21195 2012-11-08 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
21197 * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Add "te".
21198 * sysdeps/s390/dl-procinfo.h (HWCAP_S390_TE): Add enum value.
21199 * sysdeps/unix/sysv/linux/s390/hwcap.h (HWCAP_S390_TE): Add macro
21202 2012-11-08 Marcus Shawcroft <marcus.shawcroft@linaro.org>
21204 * elf/elf.h: Update comment before AArch64 relocations.
21206 2012-11-07 David S. Miller <davem@davemloft.net>
21208 * sysdeps/unix/sysv/linux/sparc/sparc64/__start_context.S: New file.
21209 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
21210 (__start_context): Declare.
21211 (__makecontext_ret): Delete.
21212 (__makecontext): Hook up __start_context instead of
21214 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile
21215 (sysdep_routines): Add __start_context when in stdlib.
21217 2012-11-07 Joseph Myers <joseph@codesourcery.com>
21219 * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Pass $(NM),
21220 $(OBJDUMP) and $(READELF) to tst-xmmymm.sh.
21221 * sysdeps/x86/tst-xmmymm.sh (NM): New variable. Use it instead of
21223 (OBJDUMP): New variable. Use it instead of hardcoded "objdump".
21224 (READELF): New variable. Use it instead of hardcoded "readelf".
21226 2012-11-07 H.J. Lu <hongjiu.lu@intel.com>
21228 * sysdeps/x86_64/Makefile ($(objpfx)tst-xmmymm.out): Moved to ...
21229 * sysdeps/x86/Makefile: Here.
21230 * sysdeps/x86_64/tst-xmmymm.sh: Renamed to ...
21231 * sysdeps/x86/tst-xmmymm.sh: This.
21233 2012-11-07 Joseph Myers <joseph@codesourcery.com>
21235 * conform/data/pthread.h-data [XPG3 || XPG4]: Disable all
21237 [UNIX98] (pthread_barrier_t): Do not expect.
21238 [UNIX98] (pthread_barrierattr_t): Likewise.
21239 [UNIX98] (pthread_spinlock_t): Likewise.
21240 [UNIX98] (pthread_barrier_destroy): Likewise.
21241 [UNIX98] (pthread_barrier_init): Likewise.
21242 [UNIX98] (pthread_barrier_wait): Likewise.
21243 [UNIX98] (pthread_barrierattr_destroy): Likewise.
21244 [UNIX98] (pthread_barrierattr_getpshared): Likewise.
21245 [UNIX98] (pthread_barrierattr_init): Likewise.
21246 [UNIX98] (pthread_barrierattr_setpshared): Likewise.
21247 [UNIX98] (pthread_getcpuclockid): Likewise.
21248 [UNIX98] (pthread_mutex_timedlock): Likewise.
21249 [UNIX98] (pthread_rwlock_timedrdlock): Likewise.
21250 [UNIX98] (pthread_rwlock_timedwrlock): Likewise.
21251 [UNIX98] (pthread_sigmask): Likewise.
21252 [UNIX98] (pthread_spin_destroy): Likewise.
21253 [UNIX98] (pthread_spin_init): Likewise.
21254 [UNIX98] (pthread_spin_lock): Likewise.
21255 [UNIX98] (pthread_spin_trylock): Likewise.
21256 [UNIX98] (pthread_spin_unlock): Likewise.
21257 * conform/data/sys/types.h-data [XPG3 || XPG4] (pthread_attr_t):
21259 [XPG3 || XPG4 || UNIX98] (pthread_barrier_t): Likewise.
21260 [XPG3 || XPG4 || UNIX98] (pthread_barrierattr_t): Likewise.
21261 [XPG3 || XPG4] (pthread_cond_t): Likewise.
21262 [XPG3 || XPG4] (pthread_condattr_t): Likewise.
21263 [XPG3 || XPG4] (pthread_key_t): Likewise.
21264 [XPG3 || XPG4] (pthread_mutex_t): Likewise.
21265 [XPG3 || XPG4] (pthread_mutexattr_t): Likewise.
21266 [XPG3 || XPG4] (pthread_once_t): Likewise.
21267 [XPG3 || XPG4] (pthread_rwlock_t): Likewise.
21268 [XPG3 || XPG4] (pthread_rwlockattr_t): Likewise.
21269 [XPG3 || XPG4 || UNIX98] (pthread_spinlock_t): Likewise.
21270 [XPG3 || XPG4] (pthread_t): Likewise.
21272 * conform/data/stdlib.h-data [XPG3 || XPG4 || UNIX98] (setenv): Do
21274 [XPG3 || XPG4 || UNIX98] (unsetenv): Likewise.
21276 * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (isnan):
21277 Change function return type to int.
21279 * conform/data/sys/mman.h-data [!POSIX] (POSIX_MADV_NORMAL):
21280 Change condition to [!POSIX && !XPG3 && !XPG4 && !UNIX98].
21281 [!POSIX] (POSIX_MADV_SEQUENTIAL): Likewise.
21282 [!POSIX] (POSIX_MADV_RANDOM): Likewise.
21283 [!POSIX] (POSIX_MADV_WILLNEED): Likewise.
21284 [!POSIX] (POSIX_MADV_DONTNEED): Likewise.
21285 [!POSIX] (posix_madvise): Likewise.
21286 (POSIX_TYPED_MEM_ALLOCATE): Condition on [!POSIX && !XPG3 && !XPG4
21288 (POSIX_TYPED_MEM_ALLOCATE_CONTIG): Likewise.
21289 (POSIX_TYPED_MEM_MAP_ALLOCATABLE): Likewise.
21290 (mode_t): Likewise.
21291 (posix_mem_offset): Likewise.
21292 (posix_typed_mem_get_info): Likewise.
21293 (posix_typed_mem_open): Likewise.
21295 * conform/data/sys/stat.h-data [!POSIX && !POSIX2008] (mknodat):
21296 Change condition to [XOPEN2K8].
21298 * conform/conformtest.pl: Preprocess allow-header data with -x c
21299 instead of from stdin.
21300 (@headers): Add stdalign.h, stdbool.h and stdnoreturn.h.
21301 * conform/data/complex.h-data [C99-based standards] (cerf): Allow.
21302 [C99-based standards] (cerfc): Likewise.
21303 [C99-based standards] (cexp2): Likewise.
21304 [C99-based standards] (cexpm1): Likewise.
21305 [C99-based standards] (clog10): Likewise.
21306 [C99-based standards] (clog1p): Likewise.
21307 [C99-based standards] (clog2): Likewise.
21308 [C99-based standards] (clgamma): Likewise.
21309 [C99-based standards] (ctgamma): Likewise.
21310 [C99-based standards] (cerff): Likewise.
21311 [C99-based standards] (cerfcf): Likewise.
21312 [C99-based standards] (cexp2f): Likewise.
21313 [C99-based standards] (cexpm1f): Likewise.
21314 [C99-based standards] (clog10f): Likewise.
21315 [C99-based standards] (clog1pf): Likewise.
21316 [C99-based standards] (clog2f): Likewise.
21317 [C99-based standards] (clgammaf): Likewise.
21318 [C99-based standards] (ctgammaf): Likewise.
21319 [C99-based standards] (cerfl): Likewise.
21320 [C99-based standards] (cerfcl): Likewise.
21321 [C99-based standards] (cexp2l): Likewise.
21322 [C99-based standards] (cexpm1l): Likewise.
21323 [C99-based standards] (clog10l): Likewise.
21324 [C99-based standards] (clog1pl): Likewise.
21325 [C99-based standards] (clog2l): Likewise.
21326 [C99-based standards] (clgammal): Likewise.
21327 [C99-based standards] (ctgammal): Likewise.
21328 * conform/data/inttypes.h-data [C99-based standards]: Include
21329 stdint.h-data. Remove all expectations for stdint.h contents.
21330 [C99-based standards] (PRI*): Do not allow.
21331 [C99-based standards] (SCN*): Likewise.
21332 [C99-based standards] (*_t): Likewise.
21333 [C99-based-standards] (PRId8): Expect macro.
21334 [C99-based-standards] (PRIi8): Likewise.
21335 [C99-based-standards] (PRIo8): Likewise.
21336 [C99-based-standards] (PRIu8): Likewise.
21337 [C99-based-standards] (PRIx8): Likewise.
21338 [C99-based-standards] (PRIX8): Likewise.
21339 [C99-based-standards] (SCNd8): Likewise.
21340 [C99-based-standards] (SCNi8): Likewise.
21341 [C99-based-standards] (SCNo8): Likewise.
21342 [C99-based-standards] (SCNu8): Likewise.
21343 [C99-based-standards] (SCNx8): Likewise.
21344 [C99-based-standards] (PRIdLEAST8): Likewise.
21345 [C99-based-standards] (PRIiLEAST8): Likewise.
21346 [C99-based-standards] (PRIoLEAST8): Likewise.
21347 [C99-based-standards] (PRIuLEAST8): Likewise.
21348 [C99-based-standards] (PRIxLEAST8): Likewise.
21349 [C99-based-standards] (PRIXLEAST8): Likewise.
21350 [C99-based-standards] (SCNdLEAST8): Likewise.
21351 [C99-based-standards] (SCNiLEAST8): Likewise.
21352 [C99-based-standards] (SCNoLEAST8): Likewise.
21353 [C99-based-standards] (SCNuLEAST8): Likewise.
21354 [C99-based-standards] (SCNxLEAST8): Likewise.
21355 [C99-based-standards] (PRIdFAST8): Likewise.
21356 [C99-based-standards] (PRIiFAST8): Likewise.
21357 [C99-based-standards] (PRIoFAST8): Likewise.
21358 [C99-based-standards] (PRIuFAST8): Likewise.
21359 [C99-based-standards] (PRIxFAST8): Likewise.
21360 [C99-based-standards] (PRIXFAST8): Likewise.
21361 [C99-based-standards] (SCNdFAST8): Likewise.
21362 [C99-based-standards] (SCNiFAST8): Likewise.
21363 [C99-based-standards] (SCNoFAST8): Likewise.
21364 [C99-based-standards] (SCNuFAST8): Likewise.
21365 [C99-based-standards] (SCNxFAST8): Likewise.
21366 [C99-based-standards] (PRId16): Likewise.
21367 [C99-based-standards] (PRIi16): Likewise.
21368 [C99-based-standards] (PRIo16): Likewise.
21369 [C99-based-standards] (PRIu16): Likewise.
21370 [C99-based-standards] (PRIx16): Likewise.
21371 [C99-based-standards] (PRIX16): Likewise.
21372 [C99-based-standards] (SCNd16): Likewise.
21373 [C99-based-standards] (SCNi16): Likewise.
21374 [C99-based-standards] (SCNo16): Likewise.
21375 [C99-based-standards] (SCNu16): Likewise.
21376 [C99-based-standards] (SCNx16): Likewise.
21377 [C99-based-standards] (PRIdLEAST16): Likewise.
21378 [C99-based-standards] (PRIiLEAST16): Likewise.
21379 [C99-based-standards] (PRIoLEAST16): Likewise.
21380 [C99-based-standards] (PRIuLEAST16): Likewise.
21381 [C99-based-standards] (PRIxLEAST16): Likewise.
21382 [C99-based-standards] (PRIXLEAST16): Likewise.
21383 [C99-based-standards] (SCNdLEAST16): Likewise.
21384 [C99-based-standards] (SCNiLEAST16): Likewise.
21385 [C99-based-standards] (SCNoLEAST16): Likewise.
21386 [C99-based-standards] (SCNuLEAST16): Likewise.
21387 [C99-based-standards] (SCNxLEAST16): Likewise.
21388 [C99-based-standards] (PRIdFAST16): Likewise.
21389 [C99-based-standards] (PRIiFAST16): Likewise.
21390 [C99-based-standards] (PRIoFAST16): Likewise.
21391 [C99-based-standards] (PRIuFAST16): Likewise.
21392 [C99-based-standards] (PRIxFAST16): Likewise.
21393 [C99-based-standards] (PRIXFAST16): Likewise.
21394 [C99-based-standards] (SCNdFAST16): Likewise.
21395 [C99-based-standards] (SCNiFAST16): Likewise.
21396 [C99-based-standards] (SCNoFAST16): Likewise.
21397 [C99-based-standards] (SCNuFAST16): Likewise.
21398 [C99-based-standards] (SCNxFAST16): Likewise.
21399 [C99-based-standards] (PRId32): Likewise.
21400 [C99-based-standards] (PRIi32): Likewise.
21401 [C99-based-standards] (PRIo32): Likewise.
21402 [C99-based-standards] (PRIu32): Likewise.
21403 [C99-based-standards] (PRIx32): Likewise.
21404 [C99-based-standards] (PRIX32): Likewise.
21405 [C99-based-standards] (SCNd32): Likewise.
21406 [C99-based-standards] (SCNi32): Likewise.
21407 [C99-based-standards] (SCNo32): Likewise.
21408 [C99-based-standards] (SCNu32): Likewise.
21409 [C99-based-standards] (SCNx32): Likewise.
21410 [C99-based-standards] (PRIdLEAST32): Likewise.
21411 [C99-based-standards] (PRIiLEAST32): Likewise.
21412 [C99-based-standards] (PRIoLEAST32): Likewise.
21413 [C99-based-standards] (PRIuLEAST32): Likewise.
21414 [C99-based-standards] (PRIxLEAST32): Likewise.
21415 [C99-based-standards] (PRIXLEAST32): Likewise.
21416 [C99-based-standards] (SCNdLEAST32): Likewise.
21417 [C99-based-standards] (SCNiLEAST32): Likewise.
21418 [C99-based-standards] (SCNoLEAST32): Likewise.
21419 [C99-based-standards] (SCNuLEAST32): Likewise.
21420 [C99-based-standards] (SCNxLEAST32): Likewise.
21421 [C99-based-standards] (PRIdFAST32): Likewise.
21422 [C99-based-standards] (PRIiFAST32): Likewise.
21423 [C99-based-standards] (PRIoFAST32): Likewise.
21424 [C99-based-standards] (PRIuFAST32): Likewise.
21425 [C99-based-standards] (PRIxFAST32): Likewise.
21426 [C99-based-standards] (PRIXFAST32): Likewise.
21427 [C99-based-standards] (SCNdFAST32): Likewise.
21428 [C99-based-standards] (SCNiFAST32): Likewise.
21429 [C99-based-standards] (SCNoFAST32): Likewise.
21430 [C99-based-standards] (SCNuFAST32): Likewise.
21431 [C99-based-standards] (SCNxFAST32): Likewise.
21432 [C99-based-standards] (PRId64): Likewise.
21433 [C99-based-standards] (PRIi64): Likewise.
21434 [C99-based-standards] (PRIo64): Likewise.
21435 [C99-based-standards] (PRIu64): Likewise.
21436 [C99-based-standards] (PRIx64): Likewise.
21437 [C99-based-standards] (PRIX64): Likewise.
21438 [C99-based-standards] (SCNd64): Likewise.
21439 [C99-based-standards] (SCNi64): Likewise.
21440 [C99-based-standards] (SCNo64): Likewise.
21441 [C99-based-standards] (SCNu64): Likewise.
21442 [C99-based-standards] (SCNx64): Likewise.
21443 [C99-based-standards] (PRIdLEAST64): Likewise.
21444 [C99-based-standards] (PRIiLEAST64): Likewise.
21445 [C99-based-standards] (PRIoLEAST64): Likewise.
21446 [C99-based-standards] (PRIuLEAST64): Likewise.
21447 [C99-based-standards] (PRIxLEAST64): Likewise.
21448 [C99-based-standards] (PRIXLEAST64): Likewise.
21449 [C99-based-standards] (SCNdLEAST64): Likewise.
21450 [C99-based-standards] (SCNiLEAST64): Likewise.
21451 [C99-based-standards] (SCNoLEAST64): Likewise.
21452 [C99-based-standards] (SCNuLEAST64): Likewise.
21453 [C99-based-standards] (SCNxLEAST64): Likewise.
21454 [C99-based-standards] (PRIdFAST64): Likewise.
21455 [C99-based-standards] (PRIiFAST64): Likewise.
21456 [C99-based-standards] (PRIoFAST64): Likewise.
21457 [C99-based-standards] (PRIuFAST64): Likewise.
21458 [C99-based-standards] (PRIxFAST64): Likewise.
21459 [C99-based-standards] (PRIXFAST64): Likewise.
21460 [C99-based-standards] (SCNdFAST64): Likewise.
21461 [C99-based-standards] (SCNiFAST64): Likewise.
21462 [C99-based-standards] (SCNoFAST64): Likewise.
21463 [C99-based-standards] (SCNuFAST64): Likewise.
21464 [C99-based-standards] (SCNxFAST64): Likewise.
21465 [C99-based-standards] (PRIdMAX): Likewise.
21466 [C99-based-standards] (PRIiMAX): Likewise.
21467 [C99-based-standards] (PRIoMAX): Likewise.
21468 [C99-based-standards] (PRIuMAX): Likewise.
21469 [C99-based-standards] (PRIxMAX): Likewise.
21470 [C99-based-standards] (PRIXMAX): Likewise.
21471 [C99-based-standards] (SCNdMAX): Likewise.
21472 [C99-based-standards] (SCNiMAX): Likewise.
21473 [C99-based-standards] (SCNoMAX): Likewise.
21474 [C99-based-standards] (SCNuMAX): Likewise.
21475 [C99-based-standards] (SCNxMAX): Likewise.
21476 [C99-based-standards] (PRIdPTR): Likewise.
21477 [C99-based-standards] (PRIiPTR): Likewise.
21478 [C99-based-standards] (PRIoPTR): Likewise.
21479 [C99-based-standards] (PRIuPTR): Likewise.
21480 [C99-based-standards] (PRIxPTR): Likewise.
21481 [C99-based-standards] (PRIXPTR): Likewise.
21482 [C99-based-standards] (SCNdPTR): Likewise.
21483 [C99-based-standards] (SCNiPTR): Likewise.
21484 [C99-based-standards] (SCNoPTR): Likewise.
21485 [C99-based-standards] (SCNuPTR): Likewise.
21486 [C99-based-standards] (SCNxPTR): Likewise.
21487 * conform/data/iso646.h-data [ISO C standards] (*_t): Do not
21489 * conform/data/stdint.h-data: Update comments to clarify
21491 [C99-based standards] (INT8_MIN): Use macro-int-constant. Specify
21493 [C99-based standards] (INT8_MAX): Likewise.
21494 [C99-based standards] (INT16_MIN): Likewise.
21495 [C99-based standards] (INT16_MAX): Likewise.
21496 [C99-based standards] (INT32_MIN): Likewise.
21497 [C99-based standards] (INT32_MAX): Likewise.
21498 [C99-based standards] (INT64_MIN): Likewise.
21499 [C99-based standards] (INT64_MAX): Likewise.
21500 [C99-based standards] (UINT8_MAX): Likewise.
21501 [C99-based standards] (UINT16_MAX): Likewise.
21502 [C99-based standards] (UINT32_MAX): Likewise.
21503 [C99-based standards] (UINT64_MAX): Likewise.
21504 [C99-based standards] (INT_LEAST8_MIN): Likewise.
21505 [C99-based standards] (INT_LEAST8_MAX): Likewise.
21506 [C99-based standards] (INT_LEAST16_MIN): Likewise.
21507 [C99-based standards] (INT_LEAST16_MAX): Likewise.
21508 [C99-based standards] (INT_LEAST32_MIN): Likewise.
21509 [C99-based standards] (INT_LEAST32_MAX): Likewise.
21510 [C99-based standards] (INT_LEAST64_MIN): Likewise.
21511 [C99-based standards] (INT_LEAST64_MAX): Likewise.
21512 [C99-based standards] (UINT_LEAST8_MAX): Likewise.
21513 [C99-based standards] (UINT_LEAST16_MAX): Likewise.
21514 [C99-based standards] (UINT_LEAST32_MAX): Likewise.
21515 [C99-based standards] (UINT_LEAST64_MAX): Likewise.
21516 [C99-based standards] (INT_FAST8_MIN): Likewise.
21517 [C99-based standards] (INT_FAST8_MAX): Likewise.
21518 [C99-based standards] (INT_FAST16_MIN): Likewise.
21519 [C99-based standards] (INT_FAST16_MAX): Likewise.
21520 [C99-based standards] (INT_FAST32_MIN): Likewise.
21521 [C99-based standards] (INT_FAST32_MAX): Likewise.
21522 [C99-based standards] (INT_FAST64_MIN): Likewise.
21523 [C99-based standards] (INT_FAST64_MAX): Likewise.
21524 [C99-based standards] (UINT_FAST8_MAX): Likewise.
21525 [C99-based standards] (UINT_FAST16_MAX): Likewise.
21526 [C99-based standards] (UINT_FAST32_MAX): Likewise.
21527 [C99-based standards] (UINT_FAST64_MAX): Likewise.
21528 [C99-based standards] (INTPTR_MIN): Likewise.
21529 [C99-based standards] (INTPTR_MAX): Likewise.
21530 [C99-based standards] (UINTPTR_MAX): Likewise.
21531 [C99-based standards] (INTMAX_MIN): Likewise.
21532 [C99-based standards] (INTMAX_MAX): Likewise.
21533 [C99-based standards] (UINTMAX_MAX): Likewise.
21534 [C99-based standards] (PTRDIFF_MIN): Likewise.
21535 [C99-based standards] (PTRDIFF_MAX): Likewise.
21536 [C99-based standards] (SIG_ATOMIC_MAX): Likewise.
21537 [C99-based standards] (SIZE_MAX): Likewise.
21538 [C99-based standards] (WCHAR_MAX): Likewise.
21539 [C99-based standards] (WINT_MAX): Likewise.
21540 [C99-based standards] (SIG_ATOMIC_MIN): Likewise. Do not specify
21541 constraint on value.
21542 [C99-based standards] (WCHAR_MIN): Likewise.
21543 [C99-based standards] (WINT_MIN): Likewise.
21544 [C99-based standards] (*_t): Allow.
21545 * conform/data/tgmath.h-data [XOPEN2K || POSIX2008]: Change
21546 condition to [!ISO && !POSIX && !XPG3 && !XPG4 && !UNIX98].
21547 Include math.h-data and complex.h-data. Remove all expectations
21548 of math.h and complex.h contents.
21549 * conform/data/uchar.h-data [ISO11] (c16rtomb): Remove stray "16"
21551 * conform/data/wchar.h-data [!ISO && !POSIX && !XPG3 && !XPG4]
21552 (struct tm): Expect tag.
21553 [C99-based-standards] (wcstof): Expect function.
21554 [C99-based-standards] (wcstold): Likewise.
21555 [C99-based-standards] (wcstoll): Likewise.
21556 [C99-based-standards] (wcstoull): Likewise.
21557 [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MIN): Use
21558 macro-int-constant. Specify type.
21559 [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MAX): Likewise. Specify
21560 constraint on value.
21561 [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
21563 [!ISO && !POSIX && !XPG3 && !XPG4] (NULL): Use macro-constant.
21565 [ISO C standards]: Do not allow headers.
21566 [!ISO && !POSIX && !XPG3 && !XPG4] (wcs*): Change to
21567 wcs[abcdefghijklmnopqrstuvwxyz]*.
21568 [ISO C standards] (*_t): Do not allow.
21569 * conform/data/wctype.h-data [C99-based standards] (iswblank):
21571 [XOPEN2K8 || POSIX2008] (iswblank_l): Likewise.
21572 [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
21574 [ISO C standards]: Do not allow headers.
21575 [!ISO && !POSIX && !XPG3 && !XPG4] (is*): Change to
21576 is[abcdefghijklmnopqrstuvwxyz]*.
21577 [!ISO && !POSIX && !XPG3 && !XPG4] (to*): Change to
21578 to[abcdefghijklmnopqrstuvwxyz]*.
21579 [ISO C standards] (*_t): Do not allow.
21580 * conform/data/stdalign.h-data: New file.
21581 * conform/data/stdbool.h-data: Likewise.
21582 * conform/data/stdnoreturn.h-data: Likewise.
21584 2012-11-07 Roland McGrath <roland@hack.frob.com>
21587 * manual/filesys.texi (Directory Entries): Typo fix.
21588 Reported by <h-iwamoto@kit.hi-ho.ne.jp>.
21590 2012-11-07 Marcus Shawcroft <marcus.shawcroft@linaro.org>
21592 * elf/elf.h (EM_AARCH64): New macro.
21593 (R_AARCH64_NONE, R_AARCH64_ABS64, R_AARCH64_ABS32): Likewise.
21594 (R_AARCH64_COPY, R_AARCH64_GLOB_DAT, R_AARCH64_JUMP_SLOT): Likewise.
21595 (R_AARCH64_RELATIVE, R_AARCH64_TLS_DTPMOD64): Likewise.
21596 (R_AARCH64_TLS_DTPREL64, R_AARCH64_TLS_TPREL64): Likewise.
21597 (R_AARCH64_TLSDESC): Likewise.
21598 (NT_ARM_TLS): Likewise.
21599 (NT_ARM_HW_BREAK): Likewise.
21600 (NT_ARM_HW_WATCH): Likewise.
21602 2012-11-07 Joseph Myers <joseph@codesourcery.com>
21605 * sysdeps/i386/fpu/e_powl.S (pm79): New object.
21606 (__ieee754_powl): Saturate nonzero exponents with absolute value
21607 below 0x1p-79 to +/- 0x1p-79.
21608 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Saturate nonzero
21609 exponents with absolute value below 0x1p-64 to +/- 0x1p-64.
21610 * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Saturate
21611 nonzero exponents with absolute value below 0x1p-32 to +/-
21613 * sysdeps/x86_64/fpu/e_powl.S (pm79): New object.
21614 (__ieee754_powl): Saturate nonzero exponents with absolute value
21615 below 0x1p-79 to +/- 0x1p-79.
21616 * math/libm-test.inc (pow_test): Add more tests.
21618 2012-11-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
21620 * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Sync
21621 _dl_s390_cap_flags with kernel. Increase string length.
21622 (_dl_s390_platforms): Add z196 and zEC12.
21624 2012-11-07 Joseph Myers <joseph@codesourcery.com>
21626 * conform/data/time.h-data [!XOPEN21K && !XOPEN2K8 && !POSIX2008]:
21627 Change XOPEN21K to XOPEN2K.
21629 2012-11-06 Maxim Kuvyrkov <maxim@codesourcery.com>
21631 * string/memmove.c: Use memcpy when possible.
21633 2012-11-06 Andreas Jaeger <aj@suse.de>
21635 * po/eo.po: Update from translation team.
21637 2012-11-06 Joseph Myers <joseph@codesourcery.com>
21640 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): In case of large z
21641 exponent and small x and y exponents, scale x or y up. Increase
21642 by 2 the exponent used in scaling up.
21643 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
21644 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
21645 * math/libm-test.inc (fma_test): Add more tests.
21646 (fma_test_towardzero): Likewise.
21647 (fma_test_downward): Likewise.
21648 (fma_test_upward): Likewise.
21650 2012-11-05 Joseph Myers <joseph@codesourcery.com>
21653 * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_DFL_ENV): Use cast to const
21657 * sysdeps/s390/fpu/bits/fenv.h (fenv_t): Use implementation
21658 namespace for names of struct fields.
21659 * sysdeps/s390/fpu/fegetenv.c (fegetenv): Update references to
21661 * sysdeps/s390/fpu/feholdexcpt.c (feholdexcept): Likewise.
21662 * sysdeps/s390/fpu/fesetenv.c (fesetenv): Likewise.
21664 2012-11-04 Samuel Thibault <samuel.thibault@ens-lyon.org>
21667 * sysdeps/mach/hurd/bits/errno.h: Regenerated.
21669 2012-11-04 Thomas Schwinge <thomas@codesourcery.com>
21671 * csu/libc-start.c (LIBC_START_MAIN): Conditionalize use of
21675 * sysdeps/mach/hurd/i386/____longjmp_chk.S: Conditionalize use of
21678 2012-11-04 Joseph Myers <joseph@codesourcery.com>
21681 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute cases that
21682 definitely overflow as x * y not x * y + z.
21683 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
21684 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
21685 * math/libm-test.inc (fma_test): Add more tests.
21686 (fma_test_towardzero): Likewise.
21687 (fma_test_downward): Likewise.
21688 (fma_test_upward): Likewise.
21690 2012-11-04 Thomas Schwinge <thomas@codesourcery.com>
21694 * include/stub-tag.h: Remove file.
21695 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't emit
21697 * manual/maint.texi (Porting): Don't reference it.
21698 * Makerules ($(objpfx)stubs): Likewise.
21699 * dirent/closedir.c: Don't include <stub-tag.h>.
21700 * dirent/dirfd.c: Likewise.
21701 * dirent/fdopendir.c: Likewise.
21702 * dirent/getdents.c: Likewise.
21703 * dirent/getdents64.c: Likewise.
21704 * dirent/opendir.c: Likewise.
21705 * dirent/readdir.c: Likewise.
21706 * dirent/readdir64.c: Likewise.
21707 * dirent/readdir64_r.c: Likewise.
21708 * dirent/readdir_r.c: Likewise.
21709 * dirent/rewinddir.c: Likewise.
21710 * dirent/seekdir.c: Likewise.
21711 * dirent/telldir.c: Likewise.
21712 * gmon/profil.c: Likewise.
21713 * grp/setgroups.c: Likewise.
21714 * inet/if_index.c: Likewise.
21715 * io/access.c: Likewise.
21716 * io/chdir.c: Likewise.
21717 * io/chmod.c: Likewise.
21718 * io/chown.c: Likewise.
21719 * io/close.c: Likewise.
21720 * io/dup.c: Likewise.
21721 * io/dup2.c: Likewise.
21722 * io/dup3.c: Likewise.
21723 * io/euidaccess.c: Likewise.
21724 * io/faccessat.c: Likewise.
21725 * io/fchdir.c: Likewise.
21726 * io/fchmod.c: Likewise.
21727 * io/fchmodat.c: Likewise.
21728 * io/fchown.c: Likewise.
21729 * io/fchownat.c: Likewise.
21730 * io/fcntl.c: Likewise.
21731 * io/flock.c: Likewise.
21732 * io/fstatfs.c: Likewise.
21733 * io/fstatfs64.c: Likewise.
21734 * io/fstatvfs.c: Likewise.
21735 * io/fstatvfs64.c: Likewise.
21736 * io/futimens.c: Likewise.
21737 * io/fxstat.c: Likewise.
21738 * io/fxstat64.c: Likewise.
21739 * io/fxstatat.c: Likewise.
21740 * io/fxstatat64.c: Likewise.
21741 * io/getcwd.c: Likewise.
21742 * io/isatty.c: Likewise.
21743 * io/lchmod.c: Likewise.
21744 * io/lchown.c: Likewise.
21745 * io/link.c: Likewise.
21746 * io/linkat.c: Likewise.
21747 * io/lseek.c: Likewise.
21748 * io/lseek64.c: Likewise.
21749 * io/lxstat64.c: Likewise.
21750 * io/mkdir.c: Likewise.
21751 * io/mkdirat.c: Likewise.
21752 * io/mkfifo.c: Likewise.
21753 * io/mkfifoat.c: Likewise.
21754 * io/open.c: Likewise.
21755 * io/open64.c: Likewise.
21756 * io/openat.c: Likewise.
21757 * io/openat64.c: Likewise.
21758 * io/pipe.c: Likewise.
21759 * io/pipe2.c: Likewise.
21760 * io/poll.c: Likewise.
21761 * io/posix_fadvise.c: Likewise.
21762 * io/posix_fadvise64.c: Likewise.
21763 * io/posix_fallocate.c: Likewise.
21764 * io/posix_fallocate64.c: Likewise.
21765 * io/read.c: Likewise.
21766 * io/readlink.c: Likewise.
21767 * io/readlinkat.c: Likewise.
21768 * io/rmdir.c: Likewise.
21769 * io/sendfile.c: Likewise.
21770 * io/sendfile64.c: Likewise.
21771 * io/statfs.c: Likewise.
21772 * io/statfs64.c: Likewise.
21773 * io/statvfs.c: Likewise.
21774 * io/statvfs64.c: Likewise.
21775 * io/symlink.c: Likewise.
21776 * io/symlinkat.c: Likewise.
21777 * io/ttyname.c: Likewise.
21778 * io/ttyname_r.c: Likewise.
21779 * io/umask.c: Likewise.
21780 * io/unlink.c: Likewise.
21781 * io/unlinkat.c: Likewise.
21782 * io/utime.c: Likewise.
21783 * io/utimensat.c: Likewise.
21784 * io/write.c: Likewise.
21785 * io/xmknod.c: Likewise.
21786 * io/xmknodat.c: Likewise.
21787 * io/xstat.c: Likewise.
21788 * io/xstat64.c: Likewise.
21789 * login/getpt.c: Likewise.
21790 * login/grantpt.c: Likewise.
21791 * login/unlockpt.c: Likewise.
21792 * math/e_acoshl.c: Likewise.
21793 * math/e_acosl.c: Likewise.
21794 * math/e_asinl.c: Likewise.
21795 * math/e_atan2l.c: Likewise.
21796 * math/e_atanhl.c: Likewise.
21797 * math/e_coshl.c: Likewise.
21798 * math/e_expl.c: Likewise.
21799 * math/e_fmodl.c: Likewise.
21800 * math/e_gammal_r.c: Likewise.
21801 * math/e_hypotl.c: Likewise.
21802 * math/e_j0l.c: Likewise.
21803 * math/e_j1l.c: Likewise.
21804 * math/e_jnl.c: Likewise.
21805 * math/e_lgammal_r.c: Likewise.
21806 * math/e_log10l.c: Likewise.
21807 * math/e_log2l.c: Likewise.
21808 * math/e_logl.c: Likewise.
21809 * math/e_powl.c: Likewise.
21810 * math/e_rem_pio2l.c: Likewise.
21811 * math/e_sinhl.c: Likewise.
21812 * math/e_sqrtl.c: Likewise.
21813 * math/fclrexcpt.c: Likewise.
21814 * math/fedisblxcpt.c: Likewise.
21815 * math/feenablxcpt.c: Likewise.
21816 * math/fegetenv.c: Likewise.
21817 * math/fegetexcept.c: Likewise.
21818 * math/fegetround.c: Likewise.
21819 * math/feholdexcpt.c: Likewise.
21820 * math/fesetenv.c: Likewise.
21821 * math/fesetround.c: Likewise.
21822 * math/feupdateenv.c: Likewise.
21823 * math/fgetexcptflg.c: Likewise.
21824 * math/fraiseexcpt.c: Likewise.
21825 * math/fsetexcptflg.c: Likewise.
21826 * math/ftestexcept.c: Likewise.
21827 * math/k_cosl.c: Likewise.
21828 * math/k_rem_pio2l.c: Likewise.
21829 * math/k_sinl.c: Likewise.
21830 * math/k_tanl.c: Likewise.
21831 * math/s_asinhl.c: Likewise.
21832 * math/s_atanl.c: Likewise.
21833 * math/s_cbrtl.c: Likewise.
21834 * math/s_erfl.c: Likewise.
21835 * math/s_expm1l.c: Likewise.
21836 * math/s_log1pl.c: Likewise.
21837 * math/s_tanhl.c: Likewise.
21838 * misc/acct.c: Likewise.
21839 * misc/brk.c: Likewise.
21840 * misc/chflags.c: Likewise.
21841 * misc/chroot.c: Likewise.
21842 * misc/fchflags.c: Likewise.
21843 * misc/fgetxattr.c: Likewise.
21844 * misc/flistxattr.c: Likewise.
21845 * misc/fremovexattr.c: Likewise.
21846 * misc/fsetxattr.c: Likewise.
21847 * misc/fsync.c: Likewise.
21848 * misc/ftruncate.c: Likewise.
21849 * misc/futimes.c: Likewise.
21850 * misc/futimesat.c: Likewise.
21851 * misc/getdomain.c: Likewise.
21852 * misc/getdtsz.c: Likewise.
21853 * misc/gethostid.c: Likewise.
21854 * misc/gethostname.c: Likewise.
21855 * misc/getloadavg.c: Likewise.
21856 * misc/getpagesize.c: Likewise.
21857 * misc/getsysstats.c: Likewise.
21858 * misc/getxattr.c: Likewise.
21859 * misc/gtty.c: Likewise.
21860 * misc/ioctl.c: Likewise.
21861 * misc/lgetxattr.c: Likewise.
21862 * misc/listxattr.c: Likewise.
21863 * misc/llistxattr.c: Likewise.
21864 * misc/lremovexattr.c: Likewise.
21865 * misc/lsetxattr.c: Likewise.
21866 * misc/lutimes.c: Likewise.
21867 * misc/madvise.c: Likewise.
21868 * misc/mincore.c: Likewise.
21869 * misc/mlock.c: Likewise.
21870 * misc/mlockall.c: Likewise.
21871 * misc/mmap.c: Likewise.
21872 * misc/mprotect.c: Likewise.
21873 * misc/msync.c: Likewise.
21874 * misc/munlock.c: Likewise.
21875 * misc/munlockall.c: Likewise.
21876 * misc/munmap.c: Likewise.
21877 * misc/preadv.c: Likewise.
21878 * misc/preadv64.c: Likewise.
21879 * misc/ptrace.c: Likewise.
21880 * misc/pwritev.c: Likewise.
21881 * misc/pwritev64.c: Likewise.
21882 * misc/readv.c: Likewise.
21883 * misc/reboot.c: Likewise.
21884 * misc/remap_file_pages.c: Likewise.
21885 * misc/removexattr.c: Likewise.
21886 * misc/revoke.c: Likewise.
21887 * misc/select.c: Likewise.
21888 * misc/setdomain.c: Likewise.
21889 * misc/setegid.c: Likewise.
21890 * misc/seteuid.c: Likewise.
21891 * misc/sethostid.c: Likewise.
21892 * misc/sethostname.c: Likewise.
21893 * misc/setregid.c: Likewise.
21894 * misc/setreuid.c: Likewise.
21895 * misc/setxattr.c: Likewise.
21896 * misc/sstk.c: Likewise.
21897 * misc/stty.c: Likewise.
21898 * misc/swapoff.c: Likewise.
21899 * misc/swapon.c: Likewise.
21900 * misc/sync.c: Likewise.
21901 * misc/syncfs.c: Likewise.
21902 * misc/syscall.c: Likewise.
21903 * misc/truncate.c: Likewise.
21904 * misc/ualarm.c: Likewise.
21905 * misc/usleep.c: Likewise.
21906 * misc/ustat.c: Likewise.
21907 * misc/utimes.c: Likewise.
21908 * misc/vhangup.c: Likewise.
21909 * misc/writev.c: Likewise.
21910 * posix/_exit.c: Likewise.
21911 * posix/alarm.c: Likewise.
21912 * posix/execve.c: Likewise.
21913 * posix/fexecve.c: Likewise.
21914 * posix/fork.c: Likewise.
21915 * posix/fpathconf.c: Likewise.
21916 * posix/getaddrinfo.c: Likewise.
21917 * posix/getegid.c: Likewise.
21918 * posix/geteuid.c: Likewise.
21919 * posix/getgid.c: Likewise.
21920 * posix/getgroups.c: Likewise.
21921 * posix/getlogin.c: Likewise.
21922 * posix/getlogin_r.c: Likewise.
21923 * posix/getpgid.c: Likewise.
21924 * posix/getpid.c: Likewise.
21925 * posix/getppid.c: Likewise.
21926 * posix/getresgid.c: Likewise.
21927 * posix/getresuid.c: Likewise.
21928 * posix/getsid.c: Likewise.
21929 * posix/getuid.c: Likewise.
21930 * posix/glob64.c: Likewise.
21931 * posix/nanosleep.c: Likewise.
21932 * posix/pathconf.c: Likewise.
21933 * posix/pause.c: Likewise.
21934 * posix/posix_madvise.c: Likewise.
21935 * posix/pread.c: Likewise.
21936 * posix/pread64.c: Likewise.
21937 * posix/pwrite.c: Likewise.
21938 * posix/pwrite64.c: Likewise.
21939 * posix/sched_getaffinity.c: Likewise.
21940 * posix/sched_getp.c: Likewise.
21941 * posix/sched_gets.c: Likewise.
21942 * posix/sched_primax.c: Likewise.
21943 * posix/sched_primin.c: Likewise.
21944 * posix/sched_rr_gi.c: Likewise.
21945 * posix/sched_setaffinity.c: Likewise.
21946 * posix/sched_setp.c: Likewise.
21947 * posix/sched_sets.c: Likewise.
21948 * posix/sched_yield.c: Likewise.
21949 * posix/setgid.c: Likewise.
21950 * posix/setlogin.c: Likewise.
21951 * posix/setpgid.c: Likewise.
21952 * posix/setresgid.c: Likewise.
21953 * posix/setresuid.c: Likewise.
21954 * posix/setsid.c: Likewise.
21955 * posix/setuid.c: Likewise.
21956 * posix/sleep.c: Likewise.
21957 * posix/spawni.c: Likewise.
21958 * posix/sysconf.c: Likewise.
21959 * posix/times.c: Likewise.
21960 * posix/wait.c: Likewise.
21961 * posix/wait3.c: Likewise.
21962 * posix/wait4.c: Likewise.
21963 * posix/waitpid.c: Likewise.
21964 * resolv/gai_sigqueue.c: Likewise.
21965 * resource/getpriority.c: Likewise.
21966 * resource/getrlimit.c: Likewise.
21967 * resource/getrusage.c: Likewise.
21968 * resource/nice.c: Likewise.
21969 * resource/setpriority.c: Likewise.
21970 * resource/setrlimit.c: Likewise.
21971 * resource/ulimit.c: Likewise.
21972 * rt/aio_cancel.c: Likewise.
21973 * rt/aio_fsync.c: Likewise.
21974 * rt/aio_read.c: Likewise.
21975 * rt/aio_sigqueue.c: Likewise.
21976 * rt/aio_suspend.c: Likewise.
21977 * rt/aio_write.c: Likewise.
21978 * rt/clock_getres.c: Likewise.
21979 * rt/clock_gettime.c: Likewise.
21980 * rt/clock_nanosleep.c: Likewise.
21981 * rt/clock_settime.c: Likewise.
21982 * rt/lio_listio.c: Likewise.
21983 * rt/mq_close.c: Likewise.
21984 * rt/mq_getattr.c: Likewise.
21985 * rt/mq_notify.c: Likewise.
21986 * rt/mq_open.c: Likewise.
21987 * rt/mq_receive.c: Likewise.
21988 * rt/mq_send.c: Likewise.
21989 * rt/mq_setattr.c: Likewise.
21990 * rt/mq_timedreceive.c: Likewise.
21991 * rt/mq_timedsend.c: Likewise.
21992 * rt/mq_unlink.c: Likewise.
21993 * rt/shm_open.c: Likewise.
21994 * rt/shm_unlink.c: Likewise.
21995 * rt/timer_create.c: Likewise.
21996 * rt/timer_delete.c: Likewise.
21997 * rt/timer_getoverr.c: Likewise.
21998 * rt/timer_gettime.c: Likewise.
21999 * rt/timer_settime.c: Likewise.
22000 * setjmp/__longjmp.c: Likewise.
22001 * setjmp/setjmp.c: Likewise.
22002 * signal/kill.c: Likewise.
22003 * signal/killpg.c: Likewise.
22004 * signal/raise.c: Likewise.
22005 * signal/sigaction.c: Likewise.
22006 * signal/sigaltstack.c: Likewise.
22007 * signal/sigblock.c: Likewise.
22008 * signal/sigignore.c: Likewise.
22009 * signal/sigintr.c: Likewise.
22010 * signal/signal.c: Likewise.
22011 * signal/sigpause.c: Likewise.
22012 * signal/sigpending.c: Likewise.
22013 * signal/sigqueue.c: Likewise.
22014 * signal/sigreturn.c: Likewise.
22015 * signal/sigset.c: Likewise.
22016 * signal/sigsetmask.c: Likewise.
22017 * signal/sigstack.c: Likewise.
22018 * signal/sigsuspend.c: Likewise.
22019 * signal/sigtimedwait.c: Likewise.
22020 * signal/sigvec.c: Likewise.
22021 * signal/sigwait.c: Likewise.
22022 * signal/sigwaitinfo.c: Likewise.
22023 * signal/sysv_signal.c: Likewise.
22024 * socket/accept.c: Likewise.
22025 * socket/accept4.c: Likewise.
22026 * socket/bind.c: Likewise.
22027 * socket/connect.c: Likewise.
22028 * socket/getpeername.c: Likewise.
22029 * socket/getsockname.c: Likewise.
22030 * socket/getsockopt.c: Likewise.
22031 * socket/isfdtype.c: Likewise.
22032 * socket/listen.c: Likewise.
22033 * socket/recv.c: Likewise.
22034 * socket/recvfrom.c: Likewise.
22035 * socket/recvmsg.c: Likewise.
22036 * socket/send.c: Likewise.
22037 * socket/sendmsg.c: Likewise.
22038 * socket/sendto.c: Likewise.
22039 * socket/setsockopt.c: Likewise.
22040 * socket/shutdown.c: Likewise.
22041 * socket/sockatmark.c: Likewise.
22042 * socket/socket.c: Likewise.
22043 * socket/socketpair.c: Likewise.
22044 * stdio-common/ctermid.c: Likewise.
22045 * stdio-common/cuserid.c: Likewise.
22046 * stdio-common/remove.c: Likewise.
22047 * stdio-common/rename.c: Likewise.
22048 * stdio-common/renameat.c: Likewise.
22049 * stdio-common/tempname.c: Likewise.
22050 * stdlib/getcontext.c: Likewise.
22051 * stdlib/makecontext.c: Likewise.
22052 * stdlib/setcontext.c: Likewise.
22053 * stdlib/swapcontext.c: Likewise.
22054 * stdlib/system.c: Likewise.
22055 * streams/fattach.c: Likewise.
22056 * streams/fdetach.c: Likewise.
22057 * streams/getmsg.c: Likewise.
22058 * streams/getpmsg.c: Likewise.
22059 * streams/putmsg.c: Likewise.
22060 * streams/putpmsg.c: Likewise.
22061 * sysdeps/unix/bsd/getpt.c: Likewise.
22062 * sysdeps/unix/sysv/linux/epoll_pwait.c: Likewise.
22063 * sysdeps/unix/sysv/linux/futimens.c: Likewise.
22064 * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
22065 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
22067 * sysdeps/unix/sysv/linux/readahead.c: Likewise.
22068 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
22069 * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
22070 * sysvipc/msgctl.c: Likewise.
22071 * sysvipc/msgget.c: Likewise.
22072 * sysvipc/msgrcv.c: Likewise.
22073 * sysvipc/msgsnd.c: Likewise.
22074 * sysvipc/semctl.c: Likewise.
22075 * sysvipc/semget.c: Likewise.
22076 * sysvipc/semop.c: Likewise.
22077 * sysvipc/semtimedop.c: Likewise.
22078 * sysvipc/shmat.c: Likewise.
22079 * sysvipc/shmctl.c: Likewise.
22080 * sysvipc/shmdt.c: Likewise.
22081 * sysvipc/shmget.c: Likewise.
22082 * termios/tcdrain.c: Likewise.
22083 * termios/tcflow.c: Likewise.
22084 * termios/tcflush.c: Likewise.
22085 * termios/tcgetattr.c: Likewise.
22086 * termios/tcgetpgrp.c: Likewise.
22087 * termios/tcsendbrk.c: Likewise.
22088 * termios/tcsetattr.c: Likewise.
22089 * termios/tcsetpgrp.c: Likewise.
22090 * time/adjtime.c: Likewise.
22091 * time/clock.c: Likewise.
22092 * time/getitimer.c: Likewise.
22093 * time/gettimeofday.c: Likewise.
22094 * time/setitimer.c: Likewise.
22095 * time/settimeofday.c: Likewise.
22096 * time/stime.c: Likewise.
22097 * time/time.c: Likewise.
22099 2012-11-04 Pino Toscano <toscano.pino@tiscali.it>
22101 * sysdeps/generic/paths.h (_PATH_STDPATH): Remove /usr/contrib/bin and
22104 * sysdeps/generic/paths.h (_PATH_MNTTAB, _PATH_MOUNTED): Use tabs
22106 * sysdeps/unix/sysv/linux/paths.h (_PATH_UTMP, _PATH_WTMP): Likewise.
22108 2012-11-03 Joseph Myers <joseph@codesourcery.com>
22111 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Set rounding mode to
22112 FE_TONEAREST before applying Dekker multiplication and Knuth
22113 addition. Clear inexact exceptions and check for exact zero
22114 results afterwards.
22115 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
22116 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
22117 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
22118 * math/libm-test.inc (fma_test): Add more tests.
22119 (fma_test_towardzero): Likewise.
22120 (fma_test_downward): Likewise.
22121 (fma_test_upward): Likewise.
22122 * sysdeps/generic/math_private.h (default_libc_fesetround): New
22124 (libc_fesetround): New macro.
22125 (libc_fesetroundf): Likewise.
22126 (libc_fesetroundl): Likewise.
22127 * sysdeps/i386/fpu/fenv_private.h (libc_fesetround_sse): New
22129 (libc_fesetround_387): Likewise.
22130 (libc_fesetroundf): New macro.
22131 (libc_fesetround): Likewise.
22132 (libc_fesetroundl): Likewise.
22133 * sysdeps/sparc/fpu/fenv_private.h (libc_fesetround): New
22135 (libc_fesetroundf): New macro.
22136 (libc_fesetround): Likewise.
22137 (libc_fesetroundl): Likewise.
22138 * include/fenv.h (feclearexcept): Add libm_hidden_proto.
22139 * math/fclrexcpt.c (feclearexcept): Add libm_hidden_ver.
22140 * sysdeps/i386/fpu/fclrexcpt.c (feclearexcept): Add
22142 * sysdeps/powerpc/fpu/fclrexcpt.c (feclearexcept): Likewise.
22143 * sysdeps/s390/fpu/fclrexcpt.c (feclearexcept): Add
22145 * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Likewise.
22146 * sysdeps/sparc/fpu/fclrexcpt.c (feclearexcept): Add
22148 * sysdeps/x86_64/fpu/fclrexcpt.c (feclearexcept): Add
22152 * sysdeps/powerpc/bits/fenv.h (FE_INEXACT): Define macro to
22153 integer constant usable in #if and use that to give value to enum
22155 (FE_DIVBYZERO): Likewise.
22156 (FE_UNDERFLOW): Likewise.
22157 (FE_OVERFLOW): Likewise.
22158 (FE_INVALID): Likewise.
22159 (FE_INVALID_SNAN): Likewise.
22160 (FE_INVALID_ISI): Likewise.
22161 (FE_INVALID_IDI): Likewise.
22162 (FE_INVALID_ZDZ): Likewise.
22163 (FE_INVALID_IMZ): Likewise.
22164 (FE_INVALID_COMPARE): Likewise.
22165 (FE_INVALID_SOFTWARE): Likewise.
22166 (FE_INVALID_SQRT): Likewise.
22167 (FE_INVALID_INTEGER_CONVERSION): Likewise.
22168 (FE_TONEAREST): Likewise.
22169 (FE_TOWARDZERO): Likewise.
22170 (FE_UPWARD): Likewise.
22171 (FE_DOWNWARD): Likewise.
22172 * sysdeps/s390/fpu/bits/fenv.h (FE_INVALID): Likewise.
22173 (FE_DIVBYZERO): Likewise.
22174 (FE_OVERFLOW): Likewise.
22175 (FE_UNDERFLOW): Likewise.
22176 (FE_INEXACT): Likewise.
22177 (FE_TONEAREST): Likewise.
22178 (FE_DOWNWARD): Likewise.
22179 (FE_UPWARD): Likewise.
22180 (FE_TOWARDZERO): Likewise.
22181 * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_INEXACT): Likewise.
22182 (FE_UNDERFLOW): Likewise.
22183 (FE_OVERFLOW): Likewise.
22184 (FE_DIVBYZERO): Likewise.
22185 (FE_INVALID): Likewise.
22186 (FE_TONEAREST): Likewise.
22187 (FE_TOWARDZERO): Likewise.
22188 * sysdeps/sparc/fpu/bits/fenv.h (FE_INVALID): Likewise.
22189 (FE_OVERFLOW): Likewise.
22190 (FE_UNDERFLOW): Likewise.
22191 (FE_DIVBYZERO): Likewise.
22192 (FE_INEXACT): Likewise.
22193 (FE_TONEAREST): Likewise.
22194 (FE_TOWARDZERO): Likewise.
22195 (FE_UPWARD): Likewise.
22196 (FE_DOWNWARD): Likewise.
22197 * sysdeps/x86/fpu/bits/fenv.h (FE_INVALID): Likewise.
22198 (FE_DIVBYZERO): Likewise.
22199 (FE_OVERFLOW): Likewise.
22200 (FE_UNDERFLOW): Likewise.
22201 (FE_INEXACT): Likewise.
22202 (FE_TONEAREST): Likewise.
22203 (FE_DOWNWARD): Likewise.
22204 (FE_UPWARD): Likewise.
22205 (FE_TOWARDZERO): Likewise.
22207 2012-11-02 Chris Metcalf <cmetcalf@tilera.com>
22209 * elf/elf.h (R_TILEGX_IMM16_X[01]_HW[012]_(|LAST_)PLT_PCREL): Add.
22211 2012-11-03 Andreas Schwab <schwab@linux-m68k.org>
22213 * scripts/cross-test-ssh.sh (command): Use newlines to separate
22214 commands. Quote $PWD.
22215 (blacklist_exports): Don't use remove_newlines. Replace "declare
22217 (remove_newlines): Remove.
22219 2012-11-02 H.J. Lu <hongjiu.lu@intel.com>
22221 * stdlib/Makefile (headers): Add bits/stdlib-float.h.
22222 * stdlib/stdlib.h (atof): Moved to ...
22223 * include/bits/stdlib-float.h: Here. New file.
22224 * stdlib/stdlib.h: Include <bits/stdlib-float.h>.
22225 * stdlib/bits/stdlib-float.h: New file.
22226 * sysdeps/x86/Makefile (CFLAGS-.os): Compile rtld routines with
22228 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Include
22231 2012-11-02 Joseph Myers <joseph@codesourcery.com>
22233 * conform/conformtest.pl (@headers): Add fenv.h.
22234 * conform/data/fenv.h-data: New file.
22235 * include/fenv.h [_ISOMAC]: Disable all contents of file except
22236 include of <math/fenv.h>.
22238 * conform/data/complex.h-data [ISO99 || ISO11 || XOPEN2K ||
22239 POSIX2008]: Change condition to [!ISO && !POSIX && !XPG3 && !XPG4
22240 && !UNIX98]. Enables tests for XOPEN2K8.
22241 * conform/data/inttypes.h-data [ISO99 || ISO11 || XOPEN2K ||
22242 POSIX2008]: Likewise.
22244 * conform/data/sys/wait.h-data [XPG3 || XOPEN2K8 || POSIX2008]
22245 (struct rusage): Do not expect type or its members.
22248 * math/math.h (FP_NAN): Define macro to integer constant usable in
22249 #if and use that to give value to enum constant.
22250 (FP_INFINITE): Likewise.
22251 (FP_ZERO): Likewise.
22252 (FP_SUBNORMAL): Likewise.
22253 (FP_NORMAL): Likewise.
22255 2012-11-02 Andreas Schwab <schwab@linux-m68k.org>
22257 * iconvdata/bug-iconv8.c (do_test): Use %z for size_t arguments.
22258 * iconvdata/bug-iconv9.c (do_test): Use %t for ptrdiff_t
22261 2012-11-02 Roland McGrath <roland@hack.frob.com>
22263 * aclocal.m4 (GLIBC_AUTOCONF_VERSION): New macro.
22264 Check that AC_AUTOCONF_VERSION matches it and m4_fatal at
22265 autoconf-time if not.
22266 * configure.in: Remove AC_PREREQ.
22268 2012-11-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
22270 * sysdeps/powerpc/sys/platform/ppc.h (__ppc_get_timebase): Use
22271 __builtin_ppc_get_timebase when building with GCC >= 4.8 instead
22272 of the internal implementation.
22274 2012-11-02 Joseph Myers <joseph@codesourcery.com>
22276 * include/sys/syslog.h [_ISOMAC]: Disable all contents of file
22277 except include of <misc/sys/syslog.h>.
22279 2012-11-01 Andreas Schwab <schwab@linux-m68k.org>
22281 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: If the
22282 function returns with a NULL context exit with zero.
22284 2012-11-01 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
22286 * sysdeps/powerpc/Makefile (cflags): Remove -mnew-mnemonics.
22288 2012-11-01 H.J. Lu <hongjiu.lu@intel.com>
22290 * catgets/test-gencat.sh (run_program_prefix): Renamed to ...
22291 (run_program_cmd): This.
22292 * localedata/tst-langinfo.sh (run_program_prefix): Removed.
22293 (tst_langinfo): New variable. Use it.
22295 2012-11-01 Sebastan Andrzej Siewior <bigeasy@linutronix.de>
22297 * sysdeps/powerpc/powerpc32/dl-trampoline.S: Put __NO_FPRS__ around
22298 floating point opcodes.
22300 2012-11-01 Thomas Schwinge <thomas@codesourcery.com>
22302 * sysdeps/mach/hurd/Makefile (link-libc-static-tests): New
22305 * elf/dl-support.c: Unconditionally include "setup-vdso.h".
22307 * sysdeps/mach/hurd/powerpc: Remove directory.
22308 * sysdeps/mach/powerpc: Likewise.
22310 2012-11-01 Andreas Schwab <schwab@linux-m68k.org>
22312 * scripts/check-local-headers.sh: Ignore c++ headers.
22314 2012-11-01 Thomas Schwinge <thomas@codesourcery.com>
22316 * libio/genops.c (_IO_flush_all_lockp): Use NULL rather than 0 for
22317 __libc_cleanup_region_start argument.
22319 2012-11-01 Joseph Myers <joseph@codesourcery.com>
22323 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle cases with small
22324 x * y using scaling, not as x * y + z.
22325 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
22326 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
22327 * math/libm-test.inc (fma_test): Add more tests.
22328 (fma_test_towardzero): Likewise.
22329 (fma_test_downward): Likewise.
22330 (fma_test_upward): Likewise.
22332 2012-11-01 Thomas Schwinge <thomas@codesourcery.com>
22334 * sysdeps/mach/hurd/bits/param.h: Remove stray #endif.
22336 2012-10-31 Joseph Myers <joseph@codesourcery.com>
22338 * sysdeps/sh/Makefile [$(subdir) = debug] (CFLAGS-backtrace.c):
22341 2012-10-31 Thomas Schwinge <thomas@codesourcery.com>
22343 * rt/tst-shm.c (worker): Correct checking for mmap failure.
22345 2012-10-31 Andreas Schwab <schwab@linux-m68k.org>
22347 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
22349 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
22352 2012-10-31 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
22354 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
22355 Fix the order of the list for glibc 2.17.
22356 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
22359 2012-10-31 Andreas Schwab <schwab@linux-m68k.org>
22361 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
22363 2012-10-31 Joseph Myers <joseph@codesourcery.com>
22366 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Check
22367 for low part of x being zero before using __atanl (y).
22368 * math/libm-test.inc (atan2_test): Add another test.
22370 * manual/install.texi (Configuring and compiling): Document
22371 general use of test-wrapper and test-wrapper-env.
22372 * INSTALL: Regenerated.
22374 * sysdeps/ieee754/dbl-64/s_fma.c: Include <tininess.h>.
22375 (__fma): Do not extract and scale down low bits on after-rounding
22376 systems when result rounded to normal precision would have normal
22378 * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <tininess.h>.
22379 (__fmal): Do not extract and scale down low bits on after-rounding
22380 systems when result rounded to normal precision would have normal
22382 * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <tininess.h>.
22383 (__fmal): Do not extract and scale down low bits on after-rounding
22384 systems when result rounded to normal precision would have normal
22386 * math/libm-test.inc (UNDERFLOW_EXCEPTION_BEFORE_ROUNDING): New
22388 (fma_test): Add more tests.
22389 (fma_test_towardzero): Likewise.
22390 (fma_test_downward): Likewise.
22391 (fma_test_upward): Likewise.
22393 2012-10-30 H.J. Lu <hongjiu.lu@intel.com>
22395 * sysdeps/i386/tininess.h: Renamed to ...
22396 * sysdeps/x86/tininess.h: This.
22397 * sysdeps/x86_64/tininess.h: Removed.
22399 2012-10-30 Joseph Myers <joseph@codesourcery.com>
22401 * elf/Makefile ($(objpfx)tst-array1.out): Depend on comparison
22402 input. Use $(build-program-cmd).
22403 ($(objpfx)tst-array1-static.out): Likewise.
22404 ($(objpfx)tst-array2.out): Likewise.
22405 ($(objpfx)tst-array3.out): Likewise.
22406 ($(objpfx)tst-array4.out): Likewise.
22407 ($(objpfx)tst-array5.out): Likewise.
22408 ($(objpfx)tst-array5-static.out): Likewise.
22410 2012-10-30 Chris Metcalf <cmetcalf@tilera.com>
22412 * elf/dl-load.c (_dl_map_object_from_fd): Call DL_AFTER_LOAD
22415 * nss/nsswitch.h (nss_interface_function): Provide new
22416 macro for use with NSS functions.
22417 * grp/initgroups.c: Use new macro.
22418 * nss/getXXbyYY.c: Likewise.
22419 * nss/getXXbyYY_r.c: Likewise.
22420 * nss/getXXent.c: Likewise.
22421 * nss/getXXent_r.c: Likewise.
22422 * sysdeps/posix/getaddrinfo.c: Likewise.
22424 2012-10-30 Andreas Jaeger <aj@suse.de>
22426 * po/ru.po: Update Russion translation from translation project.
22428 2012-10-30 Joseph Myers <joseph@codesourcery.com>
22432 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Extract low bits of
22433 result and shift together with sticky bit instead of replicating
22434 round-to-nearest rounding.
22435 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
22436 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
22437 * math/libm-test.inc (fma_test): Add more tests. Do not permit
22438 missing underflow exceptions.
22439 (fma_test_towardzero): Add more tests.
22440 (fma_test_downward): Likewise.
22441 (fma_test_upward): Likewise.
22444 * sysdeps/generic/tininess.h: New file.
22445 * sysdeps/i386/tininess.h: Likewise.
22446 * sysdeps/sh/tininess.h: Likewise.
22447 * sysdeps/x86_64/tininess.h: Likewise.
22448 * stdlib/tst-strtod-underflow.c: Likewise.
22449 * stdlib/tst-tininess.c: Likewise.
22450 * stdlib/strtod_l.c: Include <tininess.h>.
22451 (round_and_return): Do not set errno for exact underflow cases.
22452 Force an underflow exception when setting errno for underflow.
22453 Determine underflow based on rounding to normal precision if
22454 TININESS_AFTER_ROUNDING.
22455 * stdlib/tst-strtod.c (tests): Do not expect errno to be set to
22456 ERANGE for exact underflow cases.
22457 * stdlib/Makefile (tests): Add tst-tininess and
22458 tst-strtod-underflow.
22459 ($(objpfx)tst-tininess): Use $(link-libm).
22460 ($(objpfx)tst-strtod-underflow): Likewise.
22462 2012-10-30 Andreas Jaeger <aj@suse.de>
22465 * elf/Makefile (tests): Remove conditional for have-initfini-array
22466 since this is now always required and the variable does not exist
22468 (tests-static): Likewise.
22469 (modules-names): Likewise.
22471 * po/eo.po: Add Esperanto translation from translation project.
22473 * elf/tst-array1.c (fini_array): Make writeable so that it can be
22474 merged with constructor/destructor.
22475 (init_array): Likewise.
22476 * elf/tst-array2dep.c (fini_array): Likewise.
22477 (init_array): Likewise.
22479 2012-10-29 Mike Frysinger <vapier@gentoo.org>
22481 * manual/message.texi: Delete @cartouche tags.
22483 2012-10-29 Pino Toscano <toscano.pino@tiscali.it>
22485 * sysdeps/mach/hurd/fdatasync.c: Turn ERR into EINVAL if it is
22487 * sysdeps/mach/hurd/fsync.c: Likewise.
22489 * sysdeps/pthread/aio_notify.c (__aio_notify_only)
22490 [_POSIX_REALTIME_SIGNALS]: Change condition to
22491 [_POSIX_REALTIME_SIGNALS > 0].
22493 2012-10-27 Andreas Jaeger <aj@suse.de>
22495 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (__O_LARGEFILE)
22496 [!__x86_64]: Do not define, take value from <bits/fcntl-linux.h>.
22497 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE):
22498 [__WORDSIZE != 64]: Likewise.
22500 2012-10-26 H.J. Lu <hongjiu.lu@intel.com>
22502 * iconvdata/tst-table.sh: Remove ${SHELL}.
22503 * iconvdata/tst-tables.sh: Likewise.
22505 2012-10-25 David S. Miller <davem@davemloft.net>
22507 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
22508 (__get_clockfreq_via_proc_openprom): Use strtoumax instead
22511 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add comments for
22513 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
22514 * sysdeps/sparc/sparc64/multiarch/ifunc-impl-list.c: New file.
22515 * sysdeps/sparc/sparc32/sparcv9/multiarch/ifunc-impl-list.c: New
22518 2012-10-25 Roland McGrath <roland@hack.frob.com>
22520 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
22521 (__get_clockfreq_via_proc_openprom): Use __getdents instead of
22524 2012-10-25 Joseph Myers <joseph@codesourcery.com>
22525 Jim Blandy <jimb@codesourcery.com>
22527 * scripts/cross-test-ssh.sh: New file.
22528 * manual/install.texi (Configuring and compiling): Document use of
22530 * INSTALL: Regenerated.
22532 2012-10-25 Pino Toscano <toscano.pino@tiscali.it>
22534 * sysdeps/mach/hurd/ptrace.c (ptrace): Use __hurd_fail to return
22537 2012-10-25 Joseph Myers <joseph@codesourcery.com>
22539 * Makeconfig (run-program-prefix): Fix comment.
22541 2012-10-24 Joseph Myers <joseph@codesourcery.com>
22542 Jim Blandy <jimb@codesourcery.com>
22544 * Makeconfig (test-wrapper): New variable,
22545 (test-wrapper-env): Likewise.
22546 [$(cross-compiling) = yes && $(test-wrapper) != ""]
22547 (run-built-tests): Define to yes.
22548 (run-program-prefix): Use $(test-wrapper).
22549 (built-program-cmd): Likewise.
22550 * Rules (make-test-out): Use $(test-wrapper-env) and
22551 $(host-built-program-cmd).
22552 * elf/Makefile ($(objpfx)order.out): Use $(test-wrapper).
22553 ($(objpfx)tst-pathopt.out): Pass $(test-wrapper-env) to
22555 ($(objpfx)tst-rtld-load-self.out): Pass $(test-wrapper) and
22556 $(test-wrapper-env) to tst-rtld-load-self.sh.
22557 ($(objpfx)order2.out): Use $(test-wrapper).
22558 ($(objpfx)tst-initorder.out): Likewise.
22559 ($(objpfx)tst-initorder2.out): Likewise.
22560 ($(objpfx)tst-unused-dep.out): Use $(test-wrapper-env).
22561 * elf/tst-pathopt.sh (run_program_prefix): Remove unused variable.
22562 (test_wrapper_env): New variable. Use it to run ld.so.
22563 * elf/tst-rtld-load-self.sh (test_wrapper): New variable.
22564 Use it to run ld.so.
22565 (test_wrapper_env): Likewise.
22566 * iconvdata/Makefile ($(objpfx)iconv-test.out): Pass
22567 $(test-wrapper) to run-iconv-test.sh.
22568 * iconvdata/run-iconv-test.sh (test_wrapper): New variable.
22569 (ICONV): Use $test_wrapper.
22570 * posix/Makefile ($(objpfx)globtest.out): Pass
22571 $(run-via-rtld-prefix), $(test-wrapper) and $(test-wrapper-env) to
22572 globtest.sh, not $(run-program-prefix).
22573 * posix/globtest.sh (run_via_rtld_prefix): New variable.
22574 (test_wrapper): Likewise.
22575 (test_wrapper_env): Likewise. Use it to run globtest with HOME
22576 set together with run_via_rtld_prefix.
22577 (run_program_prefix): Define in terms of test_wrapper and
22578 run_via_rtld_prefix.
22580 2012-10-24 Roland McGrath <roland@hack.frob.com>
22582 * nscd/Makefile ($(objpfx)nscd): Remove librt dependency.
22583 * posix/Makefile ($(objpfx)tst-regex, $(objpfx)tst-regex2):
22587 * include/time.h: Remove librt_hidden_proto (clock_gettime).
22588 Declare __clock_getres, __clock_gettime, __clock_settime,
22589 __clock_nanosleep, and __clock_getcpuclockid.
22590 * rt/clock_gettime.c: Define __clock_gettime as an alias.
22591 Remove librt_hidden_def (clock_gettime).
22592 * sysdeps/unix/clock_gettime.c: Likewise.
22593 * rt/clock_getcpuclockid.c: Define __clock_getcpuclockid as an alias.
22594 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
22595 * rt/clock_getres.c: Define __clock_getres as an alias.
22596 * sysdeps/posix/clock_getres.c: Likewise.
22597 * rt/clock_settime.c: Define __clock_settime as an alias.
22598 * sysdeps/unix/clock_settime.c: Likewise.
22599 * rt/clock_nanosleep.c: Define __clock_nanosleep as an alias.
22600 * sysdeps/unix/clock_nanosleep.c: Likewise.
22601 * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
22602 * rt/clock-compat.c: New file.
22603 * rt/Makefile (librt-routines): Add clock-compat and move
22604 $(clock-routines) to ...
22605 (routines): ... here, new variable.
22606 * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_routines):
22607 Don't add get_clockfreq here.
22608 * rt/Versions (libc: GLIBC_2.17): New version set.
22609 Add clock_* symbols here.
22610 (libc: GLIBC_PRIVATE): New version set. Add __clock_* symbols here.
22611 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist
22612 (GLIBC_2.17): Add clock_* symbols.
22613 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
22614 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
22615 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
22616 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
22618 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
22620 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
22621 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
22622 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
22623 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
22624 * NEWS: Mention the move.
22626 * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
22627 Use __open, __read, __close rather than their public counterparts.
22628 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
22629 (__get_clockfreq_via_cpuinfo): Likewise.
22630 (__get_clockfreq_via_proc_openprom): Likewise, and __getdirentries.
22631 (__get_clockfreq_via_dev_openprom): Likewise, and __ioctl.
22633 * config.h.in (HAVE_IFUNC): New #undef.
22634 * configure.in: Define it if libc_cv_ld_gnu_indirect_function
22636 * configure: Regenerated.
22638 2012-10-24 Mike Frysinger <vapier@gentoo.org>
22640 * configure.in: Move READELF check to start of file.
22641 (libc_cv_ld_gnu_indirect_function): Change to a link test. Rename from
22642 libc_cv_asm_gnu_indirect_function in the process.
22643 * configure: Regenerated.
22645 2012-10-24 Mike Frysinger <vapier@gentoo.org>
22647 * configure.in (libc_cv_gcc_static_libgcc): Drop -q flag to grep and
22648 send the output to /dev/null.
22649 (libc_cv_cc_with_libunwind): Likewise.
22650 (libc_cv_as_noexecstack): Likewise.
22651 * configure: Regenerate.
22653 2012-10-24 Joseph Myers <joseph@codesourcery.com>
22655 * io/ftwtest-sh (tmp): Define to ${objpfx}io, not using `pwd`.
22657 * posix/globtest.sh (TMPDIR): Do not set.
22658 (testdir): Define using ${common_objpfx}posix not $TMPDIR.
22659 (testout): Likewise.
22661 2012-10-24 Andreas Jaeger <aj@suse.de>
22663 * io/fcntl.h: Always define mode_t, off_t, pid_t and use these
22664 types for creat, creat64, lockf, posix_fadvise, posix_fallocate.
22665 [__USE_LARGEFILE64 && !__off64_t_defined]: Define off64_t.
22666 [__USE_LARGEFILE64]: Use off64_t in declaration of lock64,
22667 posix_fadvise64, posix_fallocate64.
22669 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (F_GETLK, F_SETLK)
22670 (F_SETLKW) [__x86_64]: Remove, provided by <bits/fcntl-linux.h>.
22671 (F_GETLK, F_SETLK, F_SETLKW) [!__USE_FILE_OFFSET64 && !__x86_64__]:
22673 (F_GETLK, F_SETLK, F_SETLKW) [__USE_FILE_OFFSET64 && ! __x86_64__]:
22675 (F_GETLK64, F_SETLK64, F_SETLKW64) [!__x86_64__]: Likewise.
22677 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (F_GETLK, F_SETLK)
22678 (F_SETLKW) [__USE_FILE_OFFSET64]: Remove, provided by
22679 <bits/fcntl-linux.h>.
22680 (F_GETLK64, F_SETLK64, F_SETLKW64) [__WORDSIZE == 64]: Likewise.
22682 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (F_DUPFD, F_GETFD)
22683 (F_SETFD, F_GETFL, F_SETFL): Remove, provided by <bits/fcntl-linux.h>.
22684 (F_GETLK, F_SETLK, F_SETLKW) [__WORDSIZE == 64]: Likewise.
22685 (F_GETLK, F_SETLK, F_SETLKW, F_GETLK64, F_SETLK64, F_SETLKW64)
22686 [__WORDSIZE != 64]: Likewise.
22688 2012-10-23 Joseph Myers <joseph@codesourcery.com>
22690 * Makeconfig (run-built-tests): New variable.
22691 * Rules [$(cross-compiling) = yes]: Change condition to
22692 [$(run-built-tests) = no].
22693 * catgets/Makefile [$(cross-compiling) != yes]: Change condition
22694 to [$(run-built-tests) = yes].
22695 * elf/Makefile [$(cross-compiling) = no]: Likewise
22696 * grp/Makefile [$(cross-compiling) = no]: Likewise.
22697 * iconv/Makefile [$(cross-compiling) != yes]: Likewise.
22698 * iconvdata/Makefile [$(cross-compiling) = no]: Likewise.
22699 * intl/Makefile [$(cross-compiling) = no]: Likewise.
22700 * io/Makefile [$(cross-compiling) = no]: Likewise.
22701 * libio/Makefile [$(cross-compiling) = no]: Likewise.
22702 * malloc/Makefile [$(cross-compiling) = no]: Likewise.
22703 * misc/Makefile [$(cross-compiling) = no]: Likewise.
22704 * posix/Makefile [$(cross-compiling) = no]: Likewise.
22705 * resolv/Makefile [$(cross-compiling) = no]: Likewise.
22706 * stdio-common/Makefile [$(cross-compiling) = no]: Likewise.
22707 * stdlib/Makefile [$(cross-compiling) = no]: Likewise.
22708 * string/Makefile [$(cross-compiling) = no]: Likewise.
22710 * posix/Makefile ($(objpfx)globtest.out): Pass
22711 $(run-program-prefix) to globtest.sh, not $(elf-objpfx) and
22712 $(rtld-installed-name).
22713 * posix/globtest.sh (elf_objpfx): Remove variable.
22714 (rtld_installed_name): Likewise.
22715 (library_path): Likewise.
22716 (run_program_prefix): New variable. Use for running globtest
22719 2012-10-23 Jim Blandy <jimb@codesourcery.com>
22720 Joseph Myers <joseph@codesourcery.com>
22722 * Makeconfig (host-built-program-cmd): New variable.
22723 * elf/Makefile (tst-stackguard1-ARGS): Use
22724 $(host-built-program-cmd).
22725 * posix/Makefile (tst-exec-ARGS): Use $(host-built-program-cmd).
22726 (tst-spawn-ARGS): Likewise.
22727 * rt/Makefile (tst-mqueue7-ARGS): Use $(host-built-program-cmd).
22729 2012-10-23 Joseph Myers <joseph@codesourcery.com>
22730 Jim Blandy <jimb@codesourcery.com>
22732 * Makeconfig (run-via-rtld-prefix): New variable.
22733 (run-program-prefix): Define in terms of $(run-via-rtld-prefix).
22734 (built-program-cmd): Likewise.
22736 2012-10-22 Andreas Jaeger <aj@suse.de>
22738 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (O_RSYNC): Define to
22739 __O_RSYNC if it exists, otherwise to O_SYNC.
22741 2012-10-22 Jim Blandy <jimb@codesourcery.com>
22742 Joseph Myers <joseph@codesourcery.com>
22744 * iconvdata/run-iconv-test.sh: Redirect iconv stdin in loops from
22746 * iconvdata/tst-tables.sh: Redirect tst-table.sh stdin in loop
22748 * posix/tst-getconf.sh: Redirect getconf stdin in loop from
22751 2012-10-22 Andreas Jaeger <aj@suse.de>
22753 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_LARGEFILE):
22755 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE): Likewise.
22757 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
22758 bits/fcntl-linux.h.
22760 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (F_GETLK, F_SETLK)
22761 (F_SETLKW) [!F_GETLK]: Define values for [!__USE_FILE_OFFSET64].
22763 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (O_LARGEFILE): Rename
22765 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_LARGEFILE): Rename
22768 2012-10-21 Jim Blandy <jimb@codesourcery.com>
22769 Joseph Myers <joseph@codesourcery.com>
22771 * config.make.in (NM): New variable.
22773 2012-10-21 Andreas Jaeger <aj@suse.de>
22775 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Remove all
22776 definitions and declarations that are provided by
22777 <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
22779 2012-10-20 H.J. Lu <hongjiu.lu@intel.com>
22782 * elf/Makefile (tests-static): Add tst-leaks1-static.
22783 (tests): Also depend on $(objpfx)tst-leaks1-static-mem.
22784 ($(objpfx)tst-leaks1-static): New rule.
22785 ($(objpfx)tst-leaks1-static-mem): Likewise.
22786 (tst-leaks1-static-ENV): New macro.
22787 * elf/dl-open.c (dl_open_worker): Check the main application
22788 only if SHARED is defined.
22789 * elf/tst-leaks1-static.c: New file.
22791 2012-10-20 Andreas Jaeger <aj@suse.de>
22793 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: New file, contains
22794 generic values for Linux.
22795 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: Remove all definitions
22796 and declarations that are provided by <bits/fcntl-linux.h> and
22797 include <bits/fcntl-linux.h>.
22798 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
22799 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
22801 2012-10-20 Roland McGrath <roland@hack.frob.com>
22803 * io/fcntl.h: Move include of <bits/types.h> to the top and
22804 include it unconditionally.
22806 2012-10-20 H.J. Lu <hongjiu.lu@intel.com>
22808 * wcsmbs/Makefile (tests-ifunc): New variable.
22809 (tests): Add $(tests-ifunc).
22810 * wcsmbs/test-wcschr-ifunc.c: New file.
22811 * wcsmbs/test-wcscmp-ifunc.c: Likewise.
22812 * wcsmbs/test-wcscpy-ifunc.c: Likewise.
22813 * wcsmbs/test-wcslen-ifunc.c: Likewise.
22814 * wcsmbs/test-wcsrchr-ifunc.c: Likewise.
22815 * wcsmbs/test-wmemcmp-ifunc.c: Likewise.
22817 * string/Makefile (tests-ifunc): New variable.
22818 (tests): Add $(tests-ifunc).
22819 * string/test-memccpy.c (TEST_NAME): New macro.
22820 * string/test-memchr.c (TEST_NAME): Likewise.
22821 * string/test-memcmp.c (TEST_NAME): Likewise.
22822 * string/test-memcpy.c (TEST_NAME): Likewise.
22823 * string/test-memmem.c (TEST_NAME): Likewise.
22824 * string/test-memmove.c (TEST_NAME): Likewise.
22825 * string/test-memset.c (TEST_NAME): Likewise.
22826 * string/test-rawmemchr.c (TEST_NAME): Likewise.
22827 * string/test-stpcpy.c (TEST_NAME): Likewise.
22828 * string/test-stpncpy.c (TEST_NAME): Likewise.
22829 * string/test-strcasecmp.c (TEST_NAME): Likewise.
22830 * string/test-strcasestr.c (TEST_NAME): Likewise.
22831 * string/test-strcat.c (TEST_NAME): Likewise.
22832 * string/test-strchr.c (TEST_NAME): Likewise.
22833 * string/test-strcmp.c(TEST_NAME): Likewise.
22834 * string/test-strcpy.c (TEST_NAME): Likewise.
22835 * string/test-strcspn.c (TEST_NAME): Likewise.
22836 * string/test-strlen.c (TEST_NAME): Likewise.
22837 * string/test-strncasecmp.c (TEST_NAME): Likewise.
22838 * string/test-strncmp.c (TEST_NAME): Likewise.
22839 * string/test-strncpy.c (TEST_NAME): Likewise.
22840 * string/test-strnlen.c (TEST_NAME): Likewise.
22841 * string/test-strpbrk.c (TEST_NAME): Likewise.
22842 * string/test-strrchr.c (TEST_NAME): Likewise.
22843 * string/test-strspn.c (TEST_NAME): Likewise.
22844 * string/test-strstr.c (TEST_NAME): Likewise.
22845 * string/test-bcopy-ifunc.c: New file.
22846 * string/test-bzero-ifunc.c: Likewise.
22847 * string/test-memccpy-ifunc.c: Likewise.
22848 * string/test-memchr-ifunc.c: Likewise.
22849 * string/test-memcmp-ifunc.c: Likewise.
22850 * string/test-memcpy-ifunc.c: Likewise.
22851 * string/test-memmem-ifunc.c: Likewise.
22852 * string/test-memmove-ifunc.c: Likewise.
22853 * string/test-mempcpy-ifunc.c: Likewise.
22854 * string/test-memset-ifunc.c: Likewise.
22855 * string/test-rawmemchr-ifunc.c: Likewise.
22856 * string/test-stpcpy-ifunc.c: Likewise.
22857 * string/test-stpncpy-ifunc.c: Likewise.
22858 * string/test-strcasecmp-ifunc.c: Likewise.
22859 * string/test-strcasestr-ifunc.c: Likewise.
22860 * string/test-strcat-ifunc.c: Likewise.
22861 * string/test-strchr-ifunc.c: Likewise.
22862 * string/test-strchrnul-ifunc.c: Likewise.
22863 * string/test-strcmp-ifunc.c: Likewise.
22864 * string/test-strcpy-ifunc.c: Likewise.
22865 * string/test-strcspn-ifunc.c: Likewise.
22866 * string/test-strlen-ifunc.c: Likewise.
22867 * string/test-strncasecmp-ifunc.c: Likewise.
22868 * string/test-strncat-ifunc.c: Likewise.
22869 * string/test-strncmp-ifunc.c: Likewise.
22870 * string/test-strncpy-ifunc.c: Likewise.
22871 * string/test-strnlen-ifunc.c: Likewise.
22872 * string/test-strpbrk-ifunc.c: Likewise.
22873 * string/test-strrchr-ifunc.c: Likewise.
22874 * string/test-strspn-ifunc.c: Likewise.
22875 * string/test-strstr-ifunc.c: Likewise.
22877 * debug/Makefile (tests-ifunc): New variable.
22878 (tests): Add $(tests-ifunc).
22879 * debug/test-stpcpy_chk.c (TEST_NAME): New macro.
22880 * debug/test-strcpy_chk.c (TEST_NAME): Likewise.
22881 * debug/test-stpcpy_chk-ifunc.c: New file.
22882 * debug/test-strcpy_chk-ifunc.c: Likewise.
22884 2012-10-20 Siddhesh Poyarekar <siddhesh@redhat.com>
22887 * elf/dl-load.c (open_verify): Retry read if the entire ELF
22888 header is not read in.
22890 2012-10-19 Joseph Myers <joseph@codesourcery.com>
22892 * io/Makefile ($(objpfx)ftwtest.out): Depend on ftwtest-sh. Pass
22893 script to $(SHELL) as $<. Pass $(common-objpfx) to script
22894 directly. Pass built executable to script as
22895 $(built-program-cmd).
22896 * io/ftwtest-sh (ldso): Remove variable. Run ftwtest directly as
22897 $testprogram without using LD_LIBRARY_PATH and $ldso.
22899 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Pass
22900 $(run-program-prefix) to tst_fgetgrent.sh, not $(elf-objpfx) and
22901 $(rtld-installed-name).
22902 * grp/tst_fgetgrent.sh (elf_objpfx): Remove variable.
22903 (rtld_installed_name): Likewise.
22904 (library_path): Likewise.
22905 (run_program_prefix): New variable. Use it to run tst_fgetgrent.
22906 * iconvdata/Makefile ($(objpfx)tst-tables.out): Pass
22907 $(run-program-prefix) to tst-tables.sh.
22908 * iconvdata/tst-table.sh (run_program_prefix): New variable. Use
22909 it to run tst-table-from and tst-table-to.
22910 * iconvdata/tst-tables.sh (run_program_prefix): New variable.
22911 Pass it to tst-table.sh.
22912 * intl/Makefile ($(objpfx)tst-gettext.out): Pass
22913 $(run-program-prefix) to tst-gettext.sh.
22914 ($(objpfx)tst-translit.out): Pass $(run-program-prefix) to
22916 ($(objpfx)tst-gettext2.out): Pass $(run-program-prefix) to
22918 * intl/tst-gettext.sh (run_program_prefix): New variable. Use it
22919 to run tst-gettext.
22920 * intl/tst-gettext2.sh (run_program_prefix): New variable. Use it
22921 to run tst-gettext2.
22922 * intl/tst-translit.sh (run_program_prefix): New variable. Use it
22923 to run tst-translit.
22924 * malloc/Makefile ($(objpfx)tst-mtrace.out): Pass
22925 $(run-program-prefix) to tst-mtrace.sh.
22926 * malloc/tst-mtrace.sh (run_program_prefix): New variable. Use it
22928 * posix/Makefile ($(objpfx)wordexp-tst.out): Pass
22929 $(run-program-prefix) to wordexp-tst.sh, not $(elf-objpfx) and
22930 $(rtld-installed-name).
22931 * posix/wordexp-tst.sh (elf_objpfx): Remove variable.
22932 (rtld_installed_name): Likewise.
22933 (run_program_prefix): New variable. Use it to run wordexp-test.
22935 * Makeconfig (ARCH): Remove all definitions.
22936 (machine): Likewise.
22937 [ARCH]: Remove conditional code.
22938 [!objdir]: Give error.
22939 [!objdir] (objpfx): Remove.
22940 [!objdir] (common-objpfx): Likewise.
22941 [!objdir] (common-objdir): Likewise.
22942 * configure.in (config_makefile): Remove. Hardcode Makefile in
22943 AC_CONFIG_FILES call.
22944 * configure: Regenerated.
22947 * io/ftwtest-sh (tmp): Set to use the working directory, not /tmp
22949 (testout): Likewise.
22951 * posix/Makefile ($(objpfx)tst-getconf.out): Pass
22952 $(built-program-cmd) to tst-getconf.sh, not $(elf-objpfx) and
22953 $(rtld-installed-name).
22954 * posix/tst-getconf.sh (elf_objpfx): Remove variable.
22955 (rtld_installed_name): Likwise.
22956 (runit): Remove function.
22957 (run_getconf): New variable, Use it for running getconf binary.
22959 2012-10-18 H.J. Lu <hongjiu.lu@intel.com>
22962 * string/test-memmem.c (check_result): New function.
22963 (do_one_test): Use it.
22964 (check1): New function.
22965 (test_main): Use it.
22967 2012-10-18 Markus Trippelsdorf <markus@trippelsdorf.de>
22969 * math/Makefile: Comment on slow compilation of test-tgmath2.c.
22971 2012-10-18 Joseph Myers <joseph@codesourcery.com>
22973 * sysdeps/generic/_G_config.h (_G_OPEN64): Remove.
22974 (_G_LSEEK64): Likewise.
22975 (_G_MMAP64): Likewise.
22976 (_G_FSTAT64): Likewise.
22977 * sysdeps/unix/sysv/linux/_G_config.h (_G_OPEN64): Remove.
22978 (_G_LSEEK64): Likewise.
22979 (_G_MMAP64): Likewise.
22980 (_G_FSTAT64): Likewise.
22981 * libio/fileops.c (mmap_remap_check) [_G_MMAP64]: Make code
22982 unconditional. Call __mmap64 directly.
22983 (mmap_remap_check) [!_G_MMAP64]: Remove conditional code.
22984 (mmap_remap_check) [_G_LSEEK64]: Make code unconditional. Call
22985 __lseek64 directly.
22986 (mmap_remap_check) [!_G_LSEEK64]: Remove conditional code.
22987 (decide_maybe_mmap) [_G_MMAP64]: Make code unconditional. Call
22989 (decide_maybe_mmap) [!_G_MMAP64]: Remove conditional code.
22990 (decide_maybe_mmap) [_G_LSEEK64]: Make code unconditional. Call
22991 __lseek64 directly.
22992 (decide_maybe_mmap) [!_G_LSEEK64]: Remove conditional code.
22993 (_IO_file_sync_mmap) [_G_LSEEK64]: Make code unconditional. Call
22994 __lseek64 directly.
22995 (_IO_file_sync_mmap) [!_G_LSEEK64]: Remove conditional code.
22996 (_IO_file_seek) [_G_LSEEK64]: Make code unconditional. Call
22997 __lseek64 directly.
22998 (_IO_file_seek) [!_G_LSEEK64]: Remove conditional code.
22999 (_IO_file_stat) [_G_FSTAT64]: Make code unconditional. Call
23000 __fxstat64 directly.
23001 (_IO_file_stat) [!_G_FSTAT64]: Remove conditional code.
23002 * libio/freopen64.c (freopen64) [_G_OPEN64]: Make code
23004 (freopen64) [!_G_OPEN64]: Remove conditional code.
23005 * libio/fseeko64.c (fseeko64) [_G_LSEEK64]: Make code
23007 (fseeko64) [!_G_LSEEK64]: Remove conditional code.
23008 * libio/ftello64.c (ftello64) [_G_LSEEK64]: Make code
23010 (ftello64) [!_G_LSEEK64]: Remove conditional code.
23011 * libio/iofgetpos64.c (_IO_new_fgetpos64) [_G_LSEEK64]: Make code
23013 (_IO_new_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
23014 * libio/iofopen64.c (_IO_fopen64) [_G_OPEN64]: Make code
23016 (_IO_fopen64) [!_G_OPEN64]: Remove conditional code.
23017 * libio/iofsetpos64.c (_IO_new_fsetpos64) [_G_LSEEK64]: Make code
23019 (_IO_new_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
23020 * libio/oldiofgetpos64.c (_IO_old_fgetpos64) [_G_LSEEK64]: Make code
23022 (_IO_old_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
23023 * libio/oldiofsetpos64.c (_IO_old_fsetpos64) [_G_LSEEK64]: Make code
23025 (_IO_old_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
23027 2012-10-18 Siddhesh Poyarekar <siddhesh@redhat.com>
23030 * manual/memory.texi (Malloc Tunable Parameters): Add note
23031 about free list pointers overwriting some perturb bytes.
23032 Wording suggested by Roland McGrath.
23034 2012-10-17 Joseph Myers <joseph@codesourcery.com>
23036 * math/libm-test.inc (gamma_test): Do not call feclearexcept.
23037 (lgamma_test): Likewise.
23038 (tgamma_test): Likewise.
23040 2012-10-16 Florian Weimer <fweimer@redhat.com>
23043 * sysdeps/posix/opendir.c (MAX_DIR_BUFFER_SIZE): New constant.
23044 (__alloc_dir): Limit buffer to MAX_DIR_BUFFER_SIZE.
23046 2012-10-16 Maxim Kuvyrkov <maxim@codesourcery.com>
23048 * NEWS: Mention BZ #14716.
23049 * string/str-two-way.h (two_way_short_needle): Fix thinko introduced
23050 when removing AVAILABLE1_USES_J macro.
23052 2012-10-12 H.J. Lu <hongjiu.lu@intel.com>
23054 * sysdeps/x86/bits/byteswap.h: Include <bits/types.h>.
23055 (__bswap_64): __uint64_t for unsigned 64-bit int.
23057 2012-10-12 Andreas Schwab <schwab@linux-m68k.org>
23059 * include/string.h (memmem): Declare libc hidden alias.
23060 * string/memmem.c (memmem): Define libc hidden alias.
23061 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Use __open,
23062 __read, __close instead of open, read, close.
23064 2012-10-11 H.J. Lu <hongjiu.lu@intel.com>
23066 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: New file.
23067 * sysdeps/x86_64/multiarch/memcmp.S (__memcmp_sse2): Make it
23069 * sysdeps/x86_64/multiarch/memcpy.S (__memcpy_sse2): Likewise.
23070 * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy_sse2): Likewise.
23071 * sysdeps/x86_64/multiarch/rawmemchr.S (__rawmemchr_sse42):
23073 (__rawmemchr_sse2): Likewise.
23074 * sysdeps/x86_64/multiarch/strcat.S (STRCAT_SSE2): Likewise.
23075 * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Likewise.
23076 (__strchr_sse2): Likewise.
23077 * sysdeps/x86_64/multiarch/strcmp-sse42.S (STRCMP_SSE42): Likewise.
23078 * sysdeps/x86_64/multiarch/strcmp.S (STRCMP_SSE2): Likewise.
23079 (__strcasecmp_sse2): Likewise.
23080 (__strncasecmp_sse2): Likewise.
23081 * sysdeps/x86_64/multiarch/strcpy.S (STRCPY_SSE2): Likewise.
23082 * sysdeps/x86_64/multiarch/strlen.S (__strlen_sse2): Likewise.
23083 * sysdeps/x86_64/multiarch/strnlen.S (__strnlen_sse2): Likewise.
23084 * sysdeps/x86_64/multiarch/strrchr.S (__strrchr_sse42): Likewise.
23085 (__strrchr_sse2): Likewise.
23086 * sysdeps/x86_64/multiarch/memcmp.S: Add comments for
23088 * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
23089 * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
23090 * sysdeps/x86_64/multiarch/memmove.c: Likewise.
23091 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
23092 * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
23093 * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
23094 * sysdeps/x86_64/multiarch/memset.S: Likewise.
23095 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
23096 * sysdeps/x86_64/multiarch/rawmemchr.S: Likewise.
23097 * sysdeps/x86_64/multiarch/stpcpy.S: Likewise.
23098 * sysdeps/x86_64/multiarch/stpncpy.S: Likewise.
23099 * sysdeps/x86_64/multiarch/strcasecmp_l.S: Likewise.
23100 * sysdeps/x86_64/multiarch/strcasestr-c.c: Likewise.
23101 * sysdeps/x86_64/multiarch/strcat.S: Likewise.
23102 * sysdeps/x86_64/multiarch/strchr.S: Likewise.
23103 * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
23104 * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
23105 * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
23106 * sysdeps/x86_64/multiarch/strlen.S: Likewise.
23107 * sysdeps/x86_64/multiarch/strncase_l.S: Likewise.
23108 * sysdeps/x86_64/multiarch/strncat.S: Likewise.
23109 * sysdeps/x86_64/multiarch/strncmp.S: Likewise.
23110 * sysdeps/x86_64/multiarch/strncpy.S: Likewise.
23111 * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
23112 * sysdeps/x86_64/multiarch/strpbrk.S: Likewise.
23113 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
23114 * sysdeps/x86_64/multiarch/strspn.S: Likewise.
23115 * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
23116 * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
23117 * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
23119 * sysdeps/i386/i686/multiarch/bcopy.S (__bcopy_ia32): Make it
23121 * sysdeps/i386/i686/multiarch/bzero.S (__bzero_ia32): Likewise.
23122 * sysdeps/i386/i686/multiarch/memcmp.S (__memcmp_ia32): Likewise.
23123 * sysdeps/i386/i686/multiarch/memcpy.S (__memcpy_ia32): Likewise.
23124 * sysdeps/i386/i686/multiarch/memmove.S (__memmove_ia32):
23126 * sysdeps/i386/i686/multiarch/mempcpy.S (__mempcpy_ia32):
23128 * sysdeps/i386/i686/multiarch/strcat.S (STRCAT_IA32): Likewise.
23129 * sysdeps/i386/i686/multiarch/strcmp.S (__STRCMP_IA32): Likewise.
23130 * sysdeps/i386/i686/multiarch/strcpy.S (STRCPY_IA32): Likewise.
23131 * sysdeps/i386/i686/multiarch/bcopy.S: Add comments for
23133 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
23134 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
23135 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
23136 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
23137 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
23138 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
23139 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
23140 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
23141 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
23142 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
23143 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
23144 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
23145 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
23146 * sysdeps/i386/i686/multiarch/stpcpy.S: Likewise.
23147 * sysdeps/i386/i686/multiarch/stpncpy.S: Likewise.
23148 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
23149 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: Likewise.
23150 * sysdeps/i386/i686/multiarch/strcasestr-c.c: Likewise.
23151 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
23152 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
23153 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
23154 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
23155 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
23156 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
23157 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
23158 * sysdeps/i386/i686/multiarch/strncase_l.S: Likewise.
23159 * sysdeps/i386/i686/multiarch/strncat.S: Likewise.
23160 * sysdeps/i386/i686/multiarch/strncmp.S: Likewise.
23161 * sysdeps/i386/i686/multiarch/strncpy.S: Likewise.
23162 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
23163 * sysdeps/i386/i686/multiarch/strpbrk.S: Likewise.
23164 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
23165 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
23166 * sysdeps/i386/i686/multiarch/strstr-c.c: Likewise.
23167 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
23168 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
23169 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
23170 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
23171 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
23172 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
23173 * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: New file.
23175 * Rules [$(multi-arch) = no] (tests): Filter out $(tests-ifunc).
23176 [$(multi-arch) = no] (xtests): Filter out $(xtests-ifunc).
23177 * include/ifunc-impl-list.h: New file.
23178 * misc/ifunc-impl-list.c: Likewise.
23179 * misc/Makefile (routines): Add ifunc-impl-list.
23180 * misc/Versions (GLIBC_PRIVATE): Add __libc_ifunc_impl_list.
23181 * string/test-string.h: Include <ifunc-impl-list.h>.
23182 (func_list, func_count, impl_count, impl_array) [TEST_IFUNC &&
23183 TEST_NAME]: New variables.
23184 (FOR_EACH_IMPL): Support func_list if TEST_IFUNC and TEST_NAME
23186 (test_init): Call __libc_ifunc_impl_list to initialize
23187 func_list if TEST_IFUNC and TEST_NAME are defined.
23189 * string/Makefile (strop-tests): Add bcopy and bzero.
23190 * string/test-bcopy.c: New file.
23191 * string/test-bzero.c: Likewise.
23192 * string/test-memmove.c: Support bcopy test if TEST_BCOPY is
23194 * string/test-memset.c: Support bzero test if TEST_BZERO is
23196 * sysdeps/x86_64/multiarch/bcopy.S (bcopy): Jump to
23198 * sysdeps/x86_64/multiarch/bzero.S (__bzero): Jump to
23200 * sysdeps/x86_64/multiarch/memset.S (__libc_memset): New alias
23203 2012-10-10 Joseph Myers <joseph@codesourcery.com>
23205 * configure.in: Run $CXX, not cc1plus, to locate C++ headers.
23206 * configure: Regenerated.
23208 * Makeconfig (+link-static-before-libc): Don't include
23209 $(link-static-libc).
23211 * libio/libio.h (_IO_pos_t): Remove.
23213 2012-10-10 Alexandre Oliva <aoliva@redhat.com>
23215 * NEWS: Add note about FIPS mode. Wording suggested by Roland
23218 2012-10-10 Alexandre Oliva <aoliva@redhat.com>
23220 * crypt/crypt-entry.c: Include fips-private.h.
23221 (__crypt_r, __crypt): Disable MD5 and DES if FIPS is enabled.
23222 * crypt/md5c-test.c (main): Tolerate disabled MD5.
23223 * sysdeps/unix/sysv/linux/fips-private.h: New file.
23224 * sysdeps/generic/fips-private.h: New file, dummy fallback.
23226 2012-10-10 Alexandre Oliva <aoliva@redhat.com>
23228 * crypt/crypt-private.h: Include stdbool.h.
23229 (_ufc_setup_salt_r): Return bool.
23230 * crypt/crypt-entry.c: Include errno.h.
23231 (__crypt_r): Return NULL with EINVAL for bad salt.
23232 * crypt/crypt_util.c (bad_for_salt): New.
23233 (_ufc_setup_salt_r): Check that salt is long enough and within
23234 the specified alphabet.
23235 * crypt/badsalttest.c: New file.
23236 * crypt/Makefile (tests): Add it.
23237 ($(objpfx)badsalttest): New.
23239 2012-10-09 Maxim Kuvyrkov <maxim@codesourcery.com>
23241 * NEWS: Add entry for BZ #14602.
23243 2012-10-09 Joseph Myers <joseph@codesourcery.com>
23245 * math/gen-libm-test.pl (parse_args): Handle comparison macros as
23247 * math/libm-test.inc: Update comment listing what functions and
23249 (isgreater_test): New function.
23250 (isgreaterequal_test): Likewise.
23251 (isless_test): Likewise.
23252 (islessequal_test): Likewise.
23253 (islessgreater_test): Likewise.
23254 (isunordered_test): Likewise.
23255 (main): Call the new functions.
23257 2012-10-09 Roland McGrath <roland@hack.frob.com>
23259 * aclocal.m4 (GLIBC_PROVIDES): Provide _AS_BASENAME_PREPARE,
23260 _AS_ME_PREPARE, _AS_VAR_ARITH_PREPARE, AS_SHELL_FN_as_fn_set_status,
23261 AS_SHELL_FN_as_fn_exit, AS_SHELL_FN_ac_fn_c_try_compile.
23262 * sysdeps/i386/configure: Regenerated.
23263 * sysdeps/ieee754/ldbl-opt/configure: Regenerated.
23264 * sysdeps/mach/configure: Regenerated.
23265 * sysdeps/mach/hurd/configure: Regenerated.
23266 * sysdeps/powerpc/configure: Regenerated.
23267 * sysdeps/powerpc/powerpc32/configure: Regenerated.
23268 * sysdeps/powerpc/powerpc64/configure: Regenerated.
23269 * sysdeps/s390/s390-32/configure: Regenerated.
23270 * sysdeps/s390/s390-64/configure: Regenerated.
23271 * sysdeps/sh/configure: Regenerated.
23272 * sysdeps/sparc/configure: Regenerated.
23273 * sysdeps/unix/sysv/linux/configure: Regenerated.
23274 * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
23275 * sysdeps/x86_64/configure: Regenerated.
23277 * dlfcn/dlerror.c (check_free): Call _dl_addr only if SHARED is
23278 defined. Don't check if MAP is NULL.
23280 2012-10-09 Joseph Myers <joseph@codesourcery.com>
23282 * sysdeps/generic/_G_config.h (_G_off64_t): Remove.
23283 (_G_stat64): Likewise.
23284 * sysdeps/unix/sysv/linux/_G_config.h (_G_off64_t): Remove.
23285 (_G_stat64): Likewise.
23286 * libio/filedoalloc.c (_IO_file_doallocate): Use struct stat64
23287 instead of struct _G_stat64.
23288 * libio/fileops.c (mmap_remap_check): Likewise.
23289 (decide_maybe_mmap): Likewise.
23290 (_IO_new_file_seekoff): Likewise.
23291 (_IO_file_stat): Likewise.
23292 * libio/libio.h (_IO_off64_t): Define to __off64_t, not
23294 * libio/oldfileops.c (_IO_old_file_seekoff): Use struct stat64
23295 instead of struct _G_stat64.
23296 * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
23298 2012-10-08 Maxim Kuvyrkov <maxim@codesourcery.com>
23301 * string/str-two-way.h (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
23303 (CHECK_EOL): New macro.
23304 (two_way_short_needle): Check beginning of haystack for EOL. Use
23306 * string/strcasestr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
23307 Replace with CHECK_EOL.
23308 * string/strstr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
23309 Replace with CHECK_EOL.
23311 2012-10-08 Joseph Myers <joseph@codesourcery.com>
23313 * math/gen-libm-test.pl (parse_args): Handle isinf and isnan as
23315 * math/libm-test.inc: Update comment listing what functions and
23317 (finite_test): New function.
23318 (isinf_test): Likewise.
23319 (isnan_test): Likewise.
23320 (fpclassify_test): Test subnormal input.
23321 (isfinite_test): Likewise.
23322 (isnormal_test): Likewise.
23323 (main): Call the new functions.
23325 2012-10-08 Jonathan Nieder <jrnieder@gmail.com>
23328 * Makerules (%.dynsym): Force C locale when running
23329 $(OBJDUMP) --dynamic-syms.
23331 2012-10-08 Andreas Schwab <schwab@linux-m68k.org>
23333 * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Include
23336 2012-10-06 David S. Miller <davem@davemloft.net>
23338 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: On 32-bit, clear
23339 upper 32-bits of the length value in %o2 since we use branch-on-register
23340 tests which consider the entire 64-bit register.
23342 2012-10-06 H.J. Lu <hongjiu.lu@intel.com>
23344 * string/test-strstr.c (check2): Add a test for page boundary.
23346 2012-10-05 David S. Miller <davem@davemloft.net>
23348 * sysdeps/sparc/sparc64/multiarch/memset-niagara4.S: New file.
23349 * sysdeps/sparc/sparc32/sparcv9/multiarch/memset-niagara4.S: New
23351 * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
23353 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
23354 * sysdeps/sparc/sparc64/multiarch/memset.S: Use Niagara-4 memset
23355 and bzero when HWCAP_SPARC_CRYPTO is present.
23357 2012-10-05 H.J. Lu <hongjiu.lu@intel.com>
23360 * string/test-strstr.c (check2): New function.
23361 (test_main): Call check2.
23363 * string/Makefile (tests): Remove bug-strstr1, bug-strcasestr1
23365 * string/bug-strcasestr1.c (do_test): Moved to ...
23366 * string/test-strcasestr.c (check1): Here. New function.
23367 (do_one_test): Break out result checking code into ...
23368 (check_result): This. New function.
23369 (do_one_test): Call check_result.
23370 (test_main): Call check1.
23371 * string/bug-strchr1.c (do_test): Moved to ...
23372 * string/test-strchr.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-strstr1.c (main): Moved to ...
23378 * string/test-strstr.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-strcasestr1.c: Removed.
23384 * string/bug-strchr1.c: Likewise.
23385 * string/bug-strstr1.c: Likewise.
23387 * elf/Makefile (dl-routines): Add hwcaps.
23388 * elf/dl-support.c (_dl_important_hwcaps): Removed.
23389 * elf/dl-sysdep.c (_DL_FIRST_EXTRA): Likewise.
23390 (_dl_important_hwcaps): Moved to ...
23391 * elf/dl-hwcaps.c: Here. New file.
23392 * sysdeps/mach/hurd/dl-sysdep.c (_dl_important_hwcaps): Removed.
23395 * elf/setup-vdso.h (setup_vdso): Set GL(dl_nns) to 1 for vDSO
23396 if IS_IN_rtld isn't defined.
23398 * elf/dl-support.c (_dl_sysinfo_map): New.
23399 Include "get-dynamic-info.h" and "setup-vdso.h".
23400 (_dl_non_dynamic_init): Call setup_vdso.
23401 * elf/dynamic-link.h: Don't include <assert.h>.
23402 (elf_get_dynamic_info): Moved to ...
23403 * elf/get-dynamic-info.h: Here. New file.
23404 * elf/dynamic-link.h: Include "get-dynamic-info.h".
23405 * elf/rtld.c (dl_main): Break out vDSO setup code into ...
23406 * elf/setup-vdso.h: Here. New file.
23407 * elf/rtld.c: Include "setup-vdso.h".
23408 (dl_main): Call setup_vdso.
23410 2012-10-05 Joseph Myers <joseph@codesourcery.com>
23412 * math/libm-test.inc: List nexttoward, cimag, clog10, conf and
23413 creal in comment listing functions tested. List finite, isinf,
23414 isnan, isless, islessequal, isgreater, isgreaterequal,
23415 islessgreater, isunordered, lgamma_r and pow10 as functions and
23416 macros not tested. Mention which functions not tested are aliases
23417 for other functions. Fix typo. Note that signs of NaNs are not
23420 * scripts/config.guess: Update from config.git.
23421 * scripts/config.sub: Likewise.
23423 2012-10-04 Roland McGrath <roland@hack.frob.com>
23425 * misc/Versions (GLIBC_PRIVATE): New set, add __madvise.
23426 * misc/madvise.c (madvise): Renamed to __madvise.
23427 Make madvise a weak alias.
23428 * include/sys/mman.h: Declare __madvise.
23429 Replace libc_hidden_proto (madvise) with libc_hidden_proto (__madvise).
23430 * sysdeps/unix/syscalls.list
23431 (madvise): Make __madvise the strong name, and madvise a weak alias.
23432 * sysdeps/unix/sysv/linux/syscalls.list
23433 (madvise, mmap): Remove redundant entries.
23434 * malloc/arena.c (shrink_heap): Use __madvise, not madvise.
23435 * malloc/malloc.c (mtrim): Likewise.
23436 * sysdeps/mach/hurd/malloc-machine.h (madvise): Renamed to __madvise.
23438 2012-10-03 Roland McGrath <roland@hack.frob.com>
23440 * sysdeps/mach/hurd/dl-cache.c: File removed.
23441 * config.h.in (USE_LDCONFIG): New #undef.
23442 * configure.in (use_ldconfig): If set, define USE_LDCONFIG.
23443 * configure: Regenerated.
23444 * elf/Makefile (dl-routines): Add dl-cache only under
23445 [$(use-ldconfig) = yes].
23446 * elf/dl-load.c (_dl_map_object): Conditionalize code consulting the
23447 cache on [USE_LDCONFIG].
23448 * elf/dl-open.c (_dl_open): Call _dl_unload_cache only under
23450 * elf/rtld.c (dl_main): Likewise.
23452 2012-10-03 Pino Toscano <toscano.pino@tiscali.it>
23454 * sysdeps/posix/sysconf.c (__sysconf): Return 0 also for
23455 _SC_LEVEL4_CACHE_LINESIZE.
23457 2012-10-03 Roland McGrath <roland@hack.frob.com>
23459 * sysdeps/unix/bsd/confstr.h: File removed.
23461 2012-10-02 Alexandre Oliva <aoliva@redhat.com>
23463 * scripts/check-local-headers.sh: Exclude sys/sdt.h and
23466 2012-10-02 Roland McGrath <roland@hack.frob.com>
23468 * elf/dl-load.c (_dl_map_object_from_fd: struct loadcmd):
23469 Make 'mapoff' field ElfW(Off) rather than off_t.
23471 2012-10-02 Dmitry V. Levin <ldv@altlinux.org>
23473 * nscd/Makefile: Remove nscd-cflags and all its users.
23474 (CPPFLAGS-nonlib): Add preprocessor flags for nscd modules.
23475 (CFLAGS-nonlib): Add compiler flags for nscd modules.
23478 * malloc.c (malloc_printerr): Clarify error message.
23480 2012-10-02 H.J. Lu <hongjiu.lu@intel.com>
23483 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
23484 Set bit_FMA_Usable if FMA is supported.
23485 * sysdeps/x86_64/multiarch/init-arch.h (bit_FMA_Usable): New
23487 (bit_FMA4_Usable): Updated.
23488 (index_FMA_Usable): New macro.
23489 (CPUID_FMA): Likewise
23490 (HAS_FMA): Defined with bit_FMA_Usable.
23492 2012-10-01 Roland McGrath <roland@hack.frob.com>
23494 * bits/types.h (__swblk_t): Type removed.
23495 * bits/typesizes.h (__SWBLK_T_TYPE): Macro removed.
23496 * sysdeps/mach/hurd/bits/typesizes.h (__SWBLK_T_TYPE): Likewise.
23497 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
23498 (__SWBLK_T_TYPE): Likewise.
23499 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
23500 (__SWBLK_T_TYPE): Likewise.
23501 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
23502 (__SWBLK_T_TYPE): Likewise.
23503 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
23504 (__SWBLK_T_TYPE): Likewise.
23506 2012-10-01 Patsy Franklin <pfrankli@redhat.com>
23507 Honza Horak <hhorak@redhat.com>
23509 * nis/yp_xdr.c (xdr_domainname): Use YPMAXDOMAIN as maxsize.
23510 (xdr_mapname): Use YPMAXMAP as maxsize.
23511 (xdr_peername): Use YPMAXPEER as maxsize.
23512 (xdr_keydat): Use YPAXRECORD as maxsize.
23513 (xdr_valdat): Use YPMAXRECORD as maxsize.
23515 2012-10-01 Roland McGrath <roland@hack.frob.com>
23517 * io/openat.c [!__ASSUME_ATFCTS] (__have_atfcts): New global variable.
23519 * sysdeps/unix/sysv/linux/init-first.c: Moved to ...
23520 * csu/init-first.c: ... here.
23521 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Update #include.
23522 * sysdeps/unix/sysv/linux/s390/init-first.c: Likewise.
23523 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Likewise.
23524 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
23525 * sysdeps/i386/init-first.c: File removed.
23526 * sysdeps/sh/init-first.c: File removed.
23528 2012-10-01 Joseph Myers <joseph@codesourcery.com>
23531 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute result as x * y
23532 if x * y might underflow to zero and z is zero.
23533 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
23534 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
23535 * math/libm-test.inc (min_subnorm_value): New variable.
23536 (fma_test): Add more tests.
23537 (fma_test_towardzero): Likewise.
23538 (fma_test_downward): Likewise
23539 (fma_test_upward): Likewise.
23540 (initialize): Set min_subnorm_value.
23542 2012-09-29 Joseph Myers <joseph@codesourcery.com>
23545 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use x * y + z for exact
23547 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Use original rounding
23548 mode for addition resulting in exact zero.
23549 * sysdeps/ieee754/ldbl-128/s_fma.c (__fma): Likewise.
23550 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Use x * y + z for
23552 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
23553 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
23554 * math/libm-test.inc (fma_test): Add more tests.
23555 (fma_test_towardzero): New function.
23556 (fma_test_downward): Likewise.
23557 (fma_test_upward): Likewise.
23558 (main): Call the new functions.
23560 2012-09-28 David S. Miller <davem@davemloft.net>
23562 * sysdeps/sparc/fpu/libm-test-ulps: Fix garbage in file.
23564 2012-09-28 Roland McGrath <roland@hack.frob.com>
23566 * sysdeps/posix/sleep.c (__sleep): Rewritten using __nanosleep
23567 instead of SIGALRM.
23569 * sysdeps/gnu/_G_config.h: Moved to ...
23570 * sysdeps/unix/sysv/linux/_G_config.h: ... here.
23571 * sysdeps/mach/hurd/_G_config.h: Moved to ...
23572 * sysdeps/generic/_G_config.h: ... here.
23574 * io/open.c (__open): Renamed to __libc_open. Make __open an alias.
23576 * posix/Makefile ($(objpfx)config-name.h): Do $(make-target-directory).
23578 * nss/Makefile ($(objpfx)/libnss_test1.so$(libnss_test1.so-version)):
23579 Conditionalize target on [libnss_test1.so-version].
23581 * elf/dl-sysdep.c: Conditionalize whole contents on [SHARED].
23583 * Makeconfig (nssobjdir, resolvobjdir): Remove variables.
23584 (elfobjdir): Move out of conditionals.
23586 * nss/nsswitch.c (nss_new_service): Conditionalize definition and
23587 declaration on [!DO_STATIC_NSS || SHARED], matching its only caller.
23588 (__nss_lookup_function): Conditionalize label remove_from_tree on
23589 [!DO_STATIC_NSS || SHARED], matching its only use.
23591 2012-09-28 David S. Miller <davem@davemloft.net>
23593 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: New file.
23594 * sysdeps/sparc/sparc32/sparcv9/multiarch/memcpy-niagara4.S: New
23596 * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
23598 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
23599 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use Niagara-4 memcpy
23600 when HWCAP_SPARC_CRYPTO is present.
23602 2012-09-28 Pino Toscano <toscano.pino@tiscali.it>
23604 * io/tst-mknodat.c: Create a FIFO instead of a socket.
23606 2012-09-28 Andreas Schwab <schwab@linux-m68k.org>
23609 * stdio-common/vfprintf.c (process_string_arg): Revert
23612 2011-09-28 Jonathan Nieder <jrnieder@gmail.com>
23614 * stdio-common/Makefile (tst-sprintf-ENV): Set environment
23616 * stdio-common/tst-sprintf.c: Include <locale.h>
23617 (main): Test sprintf's handling of incomplete multibyte
23620 2012-09-28 H.J. Lu <hongjiu.lu@intel.com>
23622 * elf/dl-runtime.c (VERSYMIDX): Removed.
23623 * elf/dl-version.c (VERSYMIDX): Likewise.
23624 * elf/do-rel.h (VERSYMIDX): Likewise.
23625 (VALIDX): Likewise.
23626 * elf/dynamic-link.h (VERSYMIDX): Likewise.
23627 * elf/rtld.c (VALIDX): Likewise.
23628 (ADDRIDX): Likewise.
23629 * sysdeps/sparc/sparc32/dl-machine.h (VALIDX): Likewise.
23630 * sysdeps/sparc/sparc64/dl-machine.h (VALIDX): Likewise.
23631 * sysdeps/x86_64/dl-tlsdesc.h (ADDRIDX): Likewise.
23632 * sysdeps/generic/ldsodefs.h (VERSYMIDX): New macro.
23633 (VALIDX): Likewise.
23634 (ADDRIDX): Likewise.
23636 2012-09-28 Pino Toscano <toscano.pino@tiscali.it>
23638 * sysdeps/pthread/aio_fsync.c: Fix the file mode checking.
23640 2012-09-28 Dmitry V. Levin <ldv@altlinux.org>
23643 * sysdeps/posix/getaddrinfo.c (default_scopes): Map RFC 1918 addresses
23645 * posix/tst-rfc3484.c: Verify 10/8, 172.16/12 and 196.128/16
23646 addresses are in the same scope as 192.0.2/24.
23647 * posix/gai.conf: Document new scope table defaults.
23649 2012-09-28 Siddhesh Poyarekar <siddhesh@redhat.com>
23652 * libio/fileops.c (_IO_new_file_seekoff): Don't flush buffer
23653 for ftell. Compute offsets from write pointers instead.
23654 * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
23656 2012-09-28 Siddhesh Poyarekar <siddhesh@redhat.com>
23659 * libio/Makefile (tests): New test case tst-fseek.
23660 * libio/tst-fseek.c: New test case to verify that fseek/ftell
23661 combination works in wide mode.
23662 * libio/wfileops.c (_IO_wfile_seekoff): Adjust internal buffer
23663 state when the external buffer state changes.
23665 2012-09-27 David S. Miller <davem@davemloft.net>
23668 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Do not
23669 pass reloc->r_addend in as the 'high' argument to
23670 sparc64_fixup_plt when handling R_SPARC_JMP_IREL relocations.
23672 * sysdeps/sparc/fpu/libm-test-ulps: Update.
23674 2012-09-28 Pino Toscano <toscano.pino@tiscali.it>
23676 * rt/tst-aio2.c: Include <pthread.h>.
23677 * rt/tst-aio3.c: Likewise.
23679 2012-09-27 Steve Ellcey <sellcey@mips.com>
23681 * sysdeps/ieee754/ldbl-128/bits/huge_vall.h: Remove.
23683 2012-09-27 H.J. Lu <hongjiu.lu@intel.com>
23685 * sysdeps/x86_64/multiarch/strncmp-ssse3.S: Conditionalize
23686 contents on [SHARED].
23688 2012-09-26 Marek Polacek <polacek@redhat.com>
23692 * misc/sys/cdefs.h: Define __extern_inline and __extern_always_inline
23693 for C++ and GCC <4.3 as well as for non GCC compilers.
23695 2012-09-26 Markus Trippelsdorf <markus@trippelsdorf.de>
23697 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
23699 2012-09-25 Roland McGrath <roland@hack.frob.com>
23701 * Makefile.in (all, install): Declare with .PHONY.
23702 Reported by Michael Hope <michael.hope@linaro.org>.
23704 2012-09-25 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
23706 * manual/platform.texi (PowerPC): Document __ppc_get_timebase_freq.
23707 * sysdeps/powerpc/sys/platform/ppc.h: Include the operating
23709 * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_headers):
23711 (sydep_routines): Add the new and the internal functions.
23712 * sysdeps/unix/sysv/linux/powerpc/bits/ppc.h: New file.
23713 * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Likewise.
23714 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions
23715 (GLIBC_2.17): Add the new function.
23716 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
23717 (GLIBC_2.17): Likewise.
23718 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions
23719 (GLIBC_2.17): Likewise.
23720 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist
23721 (GLIBC_2.17): Likewise.
23722 * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: New file.
23724 2012-09-25 Alan Modra <amodra@gmail.com>
23726 * sysdeps/unix/sysv/linux/powerpc/pthread_once.c (__pthread_once):
23727 Add release barrier before setting once_control to say
23728 initialisation is done. Add hints on lwarx. Use macro in
23730 (clear_once_control): Add release barrier.
23732 2012-09-25 Joseph Myers <joseph@codesourcery.com>
23735 * math/s_clog.c (__clog): Handle more values close to |z| = 1
23737 * math/s_clog10.c (__clog10): Likewise.
23738 * math/s_clog10f.c (__clog10f): Likewise.
23739 * math/s_clog10l.c (__clog10l): Likewise.
23740 * math/s_clogf.c (__clogf): Likewise.
23741 * math/s_clogl.c (__clogl): Likewise.
23742 * math/Makefile (libm-calls): Add x2y2m1.
23743 * sysdeps/generic/math_private.h (__x2y2m1f): Declare.
23744 (__x2y2m1): Likewise.
23745 (__x2y2m1l): Likewise.
23746 * sysdeps/ieee754/dbl-64/x2y2m1.c: New file.
23747 * sysdeps/ieee754/dbl-64/x2y2m1f.c: Likewise.
23748 * sysdeps/ieee754/ldbl-128/x2y2m1l.c: Likewise.
23749 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
23750 * sysdeps/ieee754/ldbl-96/x2y2m1.c: Likewise.
23751 * sysdeps/ieee754/ldbl-96/x2y2m1l.c: Likewise.
23752 * math/libm-test.inc (clog_test, clog10_test): Add more tests.
23753 * sysdeps/i386/fpu/libm-test-ulps: Update.
23754 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23757 * posix/glob.c (next_brace_sub): Use size_t instead of unsigned
23758 int as type of variable DEPTH.
23759 (glob): Use size_t instead of int as type of variables NEWCOUNT
23762 2012-09-25 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
23764 * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
23765 Add s_sincosf-sse2.
23766 * sysdeps/i386/i686/fpu/multiarch/s_sincosf.c: New file.
23767 * sysdeps/i386/i686/fpu/multiarch/s_sincosf-sse2.S: New file.
23768 * sysdeps/ieee754/flt-32/s_sincosf.c (SINCOSF, SINCOSF_FUNC): Add
23769 macros for using routine as __sincosf_ia32.
23770 Use macro for function declaration and weak_alias.
23771 * sysdeps/i386/fpu/libm-test-ulps: Update.
23773 * sysdeps/x86_64/fpu/s_sincosf.S: New file.
23774 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
23776 * math/s_ccoshf.c (__ccoshf): Fix wrong usage of sincos for
23777 subnormal argument.
23778 * math/s_cexpf.c (__cexpf): Likewise.
23779 * math/s_csinf.c (__csinf): Likewise.
23780 * math/s_csinhf.c (__csinhf): Likewise.
23781 * math/s_ctanf.c (__ctanf): Likewise.
23782 * math/s_ctanhf.c (__ctanhf): Likewise.
23783 * math/s_ccosh.c (__ccoshf): Likewise.
23784 * math/s_cexp.c (__cexpl): Likewise.
23785 * math/s_csin.c (__csin): Likewise.
23786 * math/s_csinh.c (__csinh): Likewise.
23787 * math/s_ctan.c (__ctan): Likewise.
23788 * math/s_ctanh.c (ctanh): Likewise.
23789 * math/s_ccoshl.c (__ccoshl): Likewise.
23790 * math/s_cexpl.c (__cexpl): Likewise.
23791 * math/s_csinl.c (__csinl): Likewise.
23792 * math/s_csinhl.c (__csinhl): Likewise.
23793 * math/s_ctanl.c (__ctanl): Likewise.
23794 * math/s_ctanhl.c (__ctanhl): Likewise.
23796 2012-09-25 Joseph Myers <joseph@codesourcery.com>
23798 * libio/libio.h (_IO_size_t): Define to size_t, not _G_size_t.
23799 (_IO_ssize_t): Define to __ssize_t, not _G_ssize_t.
23800 (_IO_off_t): Define to __off_t, not _G_off_t.
23801 (_IO_pid_t): Define to __pid_t, not _G_pid_t.
23802 (_IO_uid_t): Define to __uid_t, not _G_uid_t.
23803 (_IO_wint_t): Define to wint_t, not _G_wint_t.
23804 * libio/libioP.h (struct _IO_jump_t): Use size_t not _G_size_t as
23805 type of __dummy and __dummy2 fields.
23806 * sysdeps/generic/_G_config.h (_G_size_t): Remove.
23807 (_G_ssize_t): Likewise.
23808 (_G_off_t): Likewise.
23809 (_G_pid_t): Likewise.
23810 (_G_uid_t): Likewise.
23811 (_G_wchar_t): Likewise.
23812 (_G_wint_t): Likewise.
23813 * sysdeps/gnu/_G_config.h (_G_size_t): Remove.
23814 (_G_ssize_t): Likewise.
23815 (_G_off_t): Likewise.
23816 (_G_pid_t): Likewise.
23817 (_G_uid_t): Likewise.
23818 (_G_wchar_t): Likewise.
23819 (_G_wint_t): Likewise.
23820 * sysdeps/mach/hurd/_G_config.h (_G_size_t): Remove.
23821 (_G_ssize_t): Likewise.
23822 (_G_off_t): Likewise.
23823 (_G_pid_t): Likewise.
23824 (_G_uid_t): Likewise.
23825 (_G_wchar_t): Likewise.
23826 (_G_wint_t): Likewise.
23828 2012-09-25 Siddhesh Poyarekar <siddhesh@redhat.com>
23830 * malloc/arena.c: Include malloc-sysdep.h.
23831 (shrink_heap): Use check_may_shrink_heap to decide if madvise
23832 is sufficient to shrink the heap or an unmap is needed.
23833 * sysdeps/generic/malloc-sysdep.h: New file. Define
23834 new function check_may_shrink_heap.
23835 * sysdeps/unix/sysv/linux/malloc-sysdep.h: New file. Define
23836 new function check_may_shrink_heap.
23838 2012-09-25 Siddhesh Poyarekar <siddhesh@redhat.com>
23840 * libio/fileops.c (_IO_new_file_seekoff): Fix typos in
23843 2012-09-24 Dmitry V. Levin <ldv@altlinux.org>
23845 * catgets/test-gencat.sh: Add "set -e".
23846 * elf/tst-pathopt.sh: Likewise.
23847 * grp/tst_fgetgrent.sh: Likewise.
23848 * iconvdata/run-iconv-test.sh: Likewise.
23849 * intl/tst-gettext.sh: Likewise.
23850 * intl/tst-gettext2.sh: Likewise.
23851 * intl/tst-gettext4.sh: Likewise.
23852 * intl/tst-gettext6.sh: Likewise.
23853 * intl/tst-translit.sh: Likewise.
23854 * io/ftwtest-sh: Likewise.
23855 * libio/test-freopen.sh: Likewise.
23856 * malloc/tst-mtrace.sh: Likewise.
23857 * posix/globtest.sh: Likewise.
23858 * posix/tst-getconf.sh: Likewise.
23859 * posix/wordexp-tst.sh: Likewise.
23860 * stdio-common/tst-printf.sh: Likewise.
23861 * stdio-common/tst-unbputc.sh: Likewise.
23862 * stdlib/tst-fmtmsg.sh: Likewise.
23863 * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
23864 * catgets/Makefile: Do not specify -e option when running
23865 testsuite shell scripts.
23866 * elf/Makefile: Likewise.
23867 * grp/Makefile: Likewise.
23868 * iconvdata/Makefile: Likewise.
23869 * intl/Makefile: Likewise.
23870 * io/Makefile: Likewise.
23871 * libio/Makefile: Likewise.
23872 * malloc/Makefile: Likewise.
23873 * posix/Makefile: Likewise.
23874 * stdio-common/Makefile: Likewise.
23875 * stdlib/Makefile: Likewise.
23876 * sysdeps/x86_64/Makefile: Likewise.
23878 * io/ftwtest-sh: Add copyright header.
23879 * posix/globtest.sh: Likewise.
23880 * posix/tst-getconf.sh: Likewise.
23881 * posix/wordexp-tst.sh: Likewise.
23882 * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
23884 2012-09-24 H.J. Lu <hongjiu.lu@intel.com>
23887 * Makeconfig (+link): Defined as $(+link-static) if
23888 $(build-shared) isn't yes.
23889 (link-tests): Defined as $(+link-static-tests) if $(build-shared)
23891 (static-gnulib): Add -lgcc_eh if $(build-shared) isn't yes.
23893 * Makeconfig (+postctorT): Replace crtendS.o with crtend.o.
23896 * malloc/arena.c (heap_trim): Properly get fencepost and adjust
23897 new chunk size with MALLOC_ALIGN_MASK.
23899 2012-09-24 Joseph Myers <joseph@codesourcery.com>
23902 * stdio-common/printf_fphex.c: Include <stdbool.h> and
23904 (__printf_fphex): Determine rounding using get_rounding_mode and
23906 * stdio-common/tst-printf-round.c (struct hex_test): New
23908 (hex_tests): New variable.
23909 (test_hex_in_one_mode): New function.
23910 (do_test): Also run tests for hex float output.
23912 2012-09-21 Joseph Myers <joseph@codesourcery.com>
23914 * libio/iopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
23915 [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
23916 * libio/libio.h (_IO_HAVE_SYS_WAIT): Remove.
23917 * libio/oldiopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
23918 [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
23919 * sysdeps/generic/_G_config.h (_G_HAVE_SYS_WAIT): Remove.
23920 * sysdeps/gnu/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
23921 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
23923 2012-09-20 Joseph Myers <joseph@codesourcery.com>
23925 * libio/libio.h [_G_NEED_STDARG_H]: Make code unconditional.
23926 * sysdeps/generic/_G_config.h (_G_NEED_STDARG_H): Remove.
23927 * sysdeps/gnu/_G_config.h (_G_NEED_STDARG_H): Remove.
23928 * sysdeps/mach/hurd/_G_config.h (_G_NEED_STDARG_H): Remove.
23930 2012-09-19 Dmitry V. Levin <ldv@altlinux.org>
23933 * elf/rtld.c (dl_main): Limit the check for self loading to normal
23935 * elf/tst-rtld-load-self.sh: New test.
23936 * elf/Makefile: Run it.
23938 2012-09-18 Joseph Myers <joseph@codesourcery.com>
23940 * sysdeps/wordsize-64/Makefile [$(subdir) = misc]
23941 (tst-writev-ENV): Remove.
23942 * sysdeps/wordsize-64/tst-writev.c (TIMEOUT): Define.
23944 2012-09-17 Chris Metcalf <cmetcalf@tilera.com>
23946 * crypt/md5test-giant.c (TIMEOUT): Increase to 8 minutes for tilegx.
23948 2012-09-17 Joseph Myers <joseph@codesourcery.com>
23950 * libio/iogetline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]: Make code
23952 * libio/iogetwline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]:
23954 * sysdeps/generic/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Remove.
23955 * sysdeps/gnu/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Likewise.
23956 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_IO_GETLINE_INFO):
23959 2012-09-14 H.J. Lu <hongjiu.lu@intel.com>
23962 * Makeconfig (ASFLAGS): Remove $(have-cpp-asm-debuginfo) check.
23963 * config.make.in (have-cpp-asm-debuginfo): Removed.
23964 * configure.in: Don't substitute libc_cv_cpp_asm_debuginfo.
23965 * configure: Regenerated.
23967 2012-09-14 Joseph Myers <joseph@codesourcery.com>
23970 * stdio-common/printf_fp.c: Include <stdbool.h> and
23972 (___printf_fp): Determine rounding using get_rounding_mode and
23974 * stdio-common/tst-printf-round.c: New file.
23975 * stdio-common/Makefile (tests): Add tst-printf-round.
23976 (link-libm): New variable.
23977 ($(objpfx)tst-printf-round): Depend in $(link-libm).
23979 2012-09-13 H.J. Lu <hongjiu.lu@intel.com>
23982 * bits/libc-lock.h (__rtld_lock_init_recursive): Removed.
23983 * sysdeps/mach/bits/libc-lock.h (__rtld_lock_init_recursive):
23985 * sysdeps/mach/hurd/bits/libc-lock.h (__rtld_lock_init_recursive):
23988 2012-09-13 Joseph Myers <joseph@codesourcery.com>
23990 * libio/libio.h [!_G_HAVE_PRINTF_FP] (_IO_USE_DTOA): Remove.
23991 * sysdeps/generic/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
23992 * sysdeps/gnu/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
23993 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
23995 2012-09-12 Joseph Myers <joseph@codesourcery.com>
23998 * include/rounding-mode.h: New file.
23999 * sysdeps/generic/get-rounding-mode.h: Likewise.
24000 * sysdeps/s390/fpu/get-rounding-mode.h: Likewise.
24001 * stdlib/strtod_l.c: Include <rounding-mode.h>.
24002 (MAX_VALUE): New macro.
24003 (MIN_VALUE): Likewise.
24004 (overflow_value): New function.
24005 (underflow_value): Likewise.
24006 (round_and_return): Use overflow_value and underflow_value to
24007 determine return values in overflow and underflow cases. Use
24008 round_away to determine rounding depending on rounding mode.
24009 (____STRTOF_INTERNAL): Use overflow_value and underflow_value to
24010 determine return values in overflow and underflow cases.
24011 * stdlib/tst-strtod-round.c: Include <fenv.h>.
24012 (struct test_results): New structure.
24013 (struct test): Use struct test_results to store expected results
24014 for all rounding modes.
24015 (TEST): Include expected results for all rounding modes.
24016 (test_in_one_mode): New function.
24017 (do_test): Use test_in_one_mode to compute and check results.
24018 Check results for all rounding modes.
24019 * stdlib/Makefile ($(objpfx)tst-strtod-round): Depend on
24022 2012-12-09 Allan McRae <allan@archlinux.org>
24024 * sysdeps/i386/fpu/libm-test-ulps: Update
24026 2012-09-11 Joseph Myers <joseph@codesourcery.com>
24028 * sysdeps/generic/_G_config.h (_G_int16_t): Remove.
24029 (_G_int32_t): Likewise.
24030 (_G_uint16_t): Likewise.
24031 (_G_uint32_t): Likewise.
24032 (_G_HAVE_BOOL): Likewise.
24033 (_G_HAVE_ATEXIT): Likewise.
24034 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
24035 (_G_HAVE_IO_FILE_OPEN): Likewise.
24036 * sysdeps/gnu/_G_config.h (_G_int16_t): Remove.
24037 (_G_int32_t): Likewise.
24038 (_G_uint16_t): Likewise.
24039 (_G_uint32_t): Likewise.
24040 (_G_HAVE_BOOL): Likewise.
24041 (_G_HAVE_ATEXIT): Likewise.
24042 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
24043 (_G_HAVE_IO_FILE_OPEN): Likewise.
24044 * sysdeps/mach/hurd/_G_config.h (_G_int16_t): Remove.
24045 (_G_int32_t): Likewise.
24046 (_G_uint16_t): Likewise.
24047 (_G_uint32_t): Likewise.
24048 (_G_HAVE_BOOL): Likewise.
24049 (_G_HAVE_ATEXIT): Likewise.
24050 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
24051 (_G_HAVE_IO_FILE_OPEN): Likewise.
24053 2012-09-11 H.J. Lu <hongjiu.lu@intel.com>
24055 * csu/libc-tls.c: Update copyright years.
24057 2012-09-10 Joseph Myers <joseph@codesourcery.com>
24059 * libioP.h [_G_USING_THUNKS]: Make code unconditional.
24060 [!_G_USING_THUNKS]: Remove conditional code.
24061 * sysdeps/gnu/_G_config.h (_G_USING_THUNKS): Remove.
24062 * sysdeps/mach/hurd/_G_config.h (_G_USING_THUNKS): Likewise.
24064 * libio/libioP.h [__GNUC__] (VTABLE_LABEL): Remove.
24065 [!builtinbuf_vtable && __cplusplus] (builtinbuf_vtable): Likewise.
24066 * sysdeps/generic/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
24067 (_G_VTABLE_LABEL_PREFIX): Likewise.
24068 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
24069 * sysdeps/gnu/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
24070 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
24071 (_G_VTABLE_LABEL_PREFIX): Likewise.
24072 (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
24073 * sysdeps/mach/hurd/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
24074 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
24075 (_G_VTABLE_LABEL_PREFIX): Likewise.
24076 (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
24078 2012-09-10 H.J. Lu <hongjiu.lu@intel.com>
24080 * libio/Makefile: Include ../Makeconfig before tests.
24081 (tests): Add tst-fopenloc and depend on $(objpfx)tst-fopenloc.check
24082 only if $(build-shared) is yes.
24084 * iconv/gconv_db.c: Update copyright years.
24086 2012-09-10 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
24088 * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: Fix
24089 unwind info if defined PIC. Fix special cases description.
24090 * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: Likewise.
24092 * sysdeps/x86_64/fpu/s_sinf.S: Fix special cases description, fix
24094 * sysdeps/x86_64/fpu/s_cosf.S: Likewise.
24096 2012-09-07 H.J. Lu <hongjiu.lu@intel.com>
24098 * scripts/check-local-headers.sh: Add "shopt -s nullglob".
24100 * iconv/gconv_db.c (free_derivation): Check if deriv->steps
24103 * debug/Makefile (LDFLAGS-tst-chk4): Renamed to ...
24104 (LDLIBS-tst-chk4): This.
24105 (LDFLAGS-tst-chk5): Renamed to ...
24106 (LDLIBS-tst-chk5): This.
24107 (LDFLAGS-tst-chk6): Renamed to ...
24108 (LDLIBS-tst-chk6): This.
24109 (LDFLAGS-tst-lfschk4): Renamed to ...
24110 (LDLIBS-tst-lfschk4): This.
24111 (LDFLAGS-tst-lfschk5): Renamed to ...
24112 (LDLIBS-tst-lfschk5): This.
24113 (LDFLAGS-tst-lfschk6): Renamed to ...
24114 (LDLIBS-tst-lfschk6): This.
24116 * Makefile ($(inst_includedir)/gnu/stubs.h): Remove dependency
24117 on $(common-objpfx)soversions.mk.
24119 2012-09-07 Joseph Myers <joseph@codesourcery.com>
24122 * manual/examples/inetcli.c (SERVERHOST): Use www.gnu.org as
24125 2012-09-07 Siddhesh Poyarekar <siddhesh@redhat.com>
24127 * malloc/arena.c (arena_get_retry): New function that gets
24128 another arena for the caller to try its request on.
24129 * malloc/malloc.c (__libc_malloc): Use get_another_arena if the
24130 current arena cannot fulfill the request.
24131 (__libc_memalign): Likewise.
24132 (__libc_memalign): Likewise.
24133 (__libc_pvalloc): Likewise.
24134 (__libc_calloc): Likewise.
24136 2012-09-05 John Tobey <john.tobey@gmail.com>
24139 * manual/arith.texi (Operations on Complex): Fix description
24140 of carg branch cut.
24142 2012-09-06 Joseph Myers <joseph@codesourcery.com>
24145 * manual/socket.texi (Host Addresses): Use www.gnu.org as example
24149 * manual/memory.texi (Memory): Make order of menu items match
24152 2012-09-06 H.J. Lu <hongjiu.lu@intel.com>
24154 * elf/dl-tls.c (DL_INITIAL_DTV): Removed.
24155 (_dl_initial_dtv): New. Defined if SHARED isn't defined.
24156 (_dl_deallocate_tls): Restore GL(dl_initial_dtv).
24158 2012-09-06 H.J. Lu <hongjiu.lu@intel.com>
24160 * csu/libc-tls.c (static_dtv): Renamed to ...
24161 (_dl_static_dtv): This. Make it global.
24162 (_dl_initial_dtv): Removed.
24163 (__libc_setup_tls): Updated.
24164 * elf/dl-tls.c (DL_INITIAL_DTV): New macro.
24165 (_dl_deallocate_tls): Replace GL(dl_initial_dtv) with
24168 2012-09-06 Petr Machata <pmachata@redhat.com>
24170 * elf/elf.h (NT_S390_HIGH_GPRS): New macro.
24171 (NT_S390_TIMER, NT_S390_TODCMP, NT_S390_TODPREG): Likewise.
24172 (NT_S390_CTRS, NT_S390_PREFIX, NT_S390_LAST_BREAK): Likewise.
24173 (NT_S390_SYSTEM_CALL, NT_ARM_VFP): Likewise.
24175 2012-09-06 H.J. Lu <hongjiu.lu@intel.com>
24178 * csu/libc-tls.c (_dl_initial_dtv): New variable.
24179 * elf/dl-tls.c (_dl_deallocate_tls): Always check dtv before
24182 2012-09-06 H.J. Lu <hongjiu.lu@intel.com>
24185 * Makeconfig (link-static-before-libc): Replace $(+prector)
24187 (link-static-after-libc): Replace $(+postctor) with
24189 (link-bounded): Replace $(+prector)/$(+postctor) with
24190 $(+prectorT)/$(+postctorT).
24191 (+prectorT): New macro.
24192 (+postctorT): Likewise.
24194 2012-09-06 Joseph Myers <joseph@codesourcery.com>
24196 * stdlib/gen-tst-strtod-round.c: Include <assert.h>.
24197 (round_str): Handle values above the maximum for IBM long double
24199 * stdlib/tst-strtod-round.c (tests): Regenerated.
24201 2012-09-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
24203 * sysdeps/s390/s390-32/multiarch/Makefile: Remove -mzarch
24205 * sysdeps/s390/s390-32/multiarch/memcmp.S: Use .machinemode
24206 zarch_nohighgprs around the zarch optimized routines.
24207 * sysdeps/s390/s390-32/multiarch/memcpy.S: Likewise.
24208 * sysdeps/s390/s390-32/multiarch/memset.S: Likewise.
24209 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Explicitly check
24212 2012-09-05 David S. Miller <davem@davemloft.net>
24214 * sysdeps/sparc/fpu/libm-test-ulps: Update.
24216 * sysdeps/sparc/bits/hwcap.h (HWCAP_SPARC_PAUSE)
24217 (HWCAP_SPARC_CBCOND, HWCAP_SPARC_CRYPTO): Define.
24218 * sysdeps/sparc/dl-procinfo.h (_DL_HWCAP_COUNT): Increase to 27.
24219 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
24222 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
24224 * malloc/arena.c: Fold copyright years.
24225 * malloc/mcheck.c, malloc/memusage.c: Likewise.
24227 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
24229 * malloc/malloc.c (__libc_mallopt) <M_MMAP_MAX>: Fix indentation.
24231 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
24233 * manual/contrib.texi (Contributors): Fix typo. Complete entry.
24235 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
24237 * malloc/malloc.c (__libc_mallopt) <M_MMAP_THRESHOLD>: Do not
24238 change internal state upon failure.
24240 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
24242 * malloc/mcheck.c (mcheck_check_all): Fix typo.
24243 * malloc/memusage.c (mmap): Likewise.
24244 (mmap64, mremap): Likewise. Adjust name in comment.
24246 2012-09-05 Siddhesh Poyarekar <siddhesh@redhat.com>
24248 * libio/fileops.c: Fix typos in comments.
24249 * libio/oldfileops.c: Likewise.
24250 * libio/wfileops.c: Likewise.
24252 2012-09-05 Siddhesh Poyarekar <siddhesh@redhat.com>
24255 * malloc/Makefile (tests): Add tst-malloc-usable test case.
24256 (tst-malloc-usable-ENV): Set environment for test case.
24257 * malloc/hooks.c (malloc_check_get_size): New function to get
24259 * malloc/malloc.c (musable): Use malloc_check_get_size.
24260 * malloc/tst-malloc-usable.c: New test case.
24262 2012-09-05 Andreas Schwab <schwab@linux-m68k.org>
24264 * stdlib/tst-strtod-overflow.c (TIMEOUT): Define.
24266 2012-09-05 Allan McRae <allan@archlinux.org>
24269 * configure.in (CXX_SYSINCLUDES): Use compiler output to
24270 determine header location.
24271 * configure: Regenerated.
24273 2012-09-05 Andreas Schwab <schwab@linux-m68k.org>
24275 * stdlib/gen-tst-strtod-round.c (formats): Add Motorola extended
24277 * stdlib/tst-strtod-round.c (TEST) [LDBL_MANT_DIG == 64 &&
24278 LDBL_MAX_EXP == 16384]: Add case for Motorola extended float
24280 (test): Regenerate.
24282 2012-09-04 David S. Miller <davem@davemloft.net>
24284 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: New file.
24285 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: New file.
24286 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: New file.
24288 2012-09-04 Florian Weimer <fweimer@redhat.com>
24290 * stdlib/tst-secure-getenv.c (alternative_main): Only warn on SGID
24293 * stdlib/tst-secure-getenv.c: Fix whitespace in comments.
24295 2012-09-04 Joseph Myers <joseph@codesourcery.com>
24298 * libio/iogetdelim.c: Include <limits.h>.
24299 (_IO_getdelim): Avoid integer overflow in testing whether cur_len
24300 + len + 1 would overflow.
24302 2012-09-03 Andreas Jaeger <aj@suse.de>
24304 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
24305 * sysdeps/i386/fpu/libm-test-ulps: Update.
24307 2012-09-03 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
24309 * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
24310 Add s_sinf-sse2, s_conf-sse2.
24312 * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: New file.
24313 * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: New file.
24314 * sysdeps/i386/i686/fpu/multiarch/s_sinf.c: New file.
24315 * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: New file.
24317 * sysdeps/ieee754/flt-32/s_sinf.c (SINF, SINF_FUNC): Add macros
24318 for using routine as __sinf_ia32.
24319 Use macro for function declaration and weak_alias.
24320 * sysdeps/ieee754/flt-32/s_cosf.c (COSF, COSF_FUNC): Add macros
24321 for using routine as __cosf_ia32.
24322 Use macro for function declaration and weak_alias.
24324 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Fix Copyright.
24325 * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Fix Copyright.
24327 * sysdeps/x86_64/fpu/s_sinf.S: New file.
24328 * sysdeps/x86_64/fpu/s_cosf.S: New file.
24329 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
24331 * math/libm-test.inc (cos_test): Add more test cases.
24332 (sin_test): Likewise.
24333 (sincos_test): Likewise.
24335 2012-09-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
24337 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c
24338 (IFUNC_RESOLVE): Make pointers to the specialized implementations
24340 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
24342 2012-09-02 H.J. Lu <hongjiu.lu@intel.com>
24345 * sysdeps/x86_64/dl-machine.h (elf_machine_dynamic): Use the
24346 first element of the GOT.
24347 (elf_machine_load_address): Return the difference between
24348 the runtime address of _DYNAMIC and elf_machine_dynamic ().
24350 2012-09-01 Allan McRae <allan@archlinux.org>
24353 * configure.in (AWK): Require gawk version 3.0 or later.
24354 * configure: Regenerated.
24356 2012-09-01 Joseph Myers <joseph@codesourcery.com>
24358 * sysdeps/unix/sysv/linux/kernel-features.h
24359 (__ASSUME_POSIX_CPU_TIMERS): Remove.
24360 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
24361 [__NR_clock_getres]: Make code unconditional.
24362 [!__ASSUME_POSIX_CPU_TIMERS]: Remoce conditional code.
24363 (clock_getcpuclockid): Remove code left unreachable by removal of
24365 * sysdeps/unix/sysv/linux/clock_getres.c [__NR_clock_getres]: Make
24366 code unconditional.
24367 [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
24368 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
24369 * sysdeps/unix/sysv/linux/clock_gettime.c [__NR_clock_gettime]:
24370 Make code unconditional.
24371 [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
24372 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
24373 * sysdeps/unix/sysv/linux/clock_settime.c
24374 [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]: Remove
24376 [__ASSUME_POSIX_CPU_TIMERS]: Make code unconditional.
24377 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
24379 2012-08-29 H.J. Lu <hongjiu.lu@intel.com>
24382 * Makefile (install): Also pass LD_SO=$(ld.so-version) to
24383 scripts/test-installation.pl.
24385 * scripts/test-installation.pl: Use LD_SO to get $ld_so_name
24386 and $ld_so_version if it is set.
24388 2012-08-29 Siddhesh Poyarekar <siddhesh@redhat.com>
24391 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Don't return
24392 failure if reading from procfs failed.
24393 * sysdeps/unix/sysv/linux/ttyname_r.c (ttyname_r): Likewise.
24395 2012-08-27 Joseph Myers <joseph@codesourcery.com>
24397 * sysdeps/unix/sysv/linux/kernel-features.h
24398 (__ASSUME_STAT64_SYSCALL): Remove all definitions.
24399 * sysdeps/unix/sysv/linux/fxstat64.c [!__ASSUME_STAT64_SYSCALL]:
24400 Remove conditional code.
24401 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
24402 * sysdeps/unix/sysv/linux/fxstatat64.c [!__ASSUME_STAT64_SYSCALL]:
24403 Remove conditional code.
24404 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
24405 * sysdeps/unix/sysv/linux/i386/fxstat.c
24406 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
24407 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
24408 * sysdeps/unix/sysv/linux/i386/fxstatat.c
24409 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
24410 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
24411 * sysdeps/unix/sysv/linux/i386/lxstat.c
24412 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
24413 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
24414 * sysdeps/unix/sysv/linux/i386/xstat.c [!__ASSUME_STAT64_SYSCALL]:
24415 Remove conditional code.
24416 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
24417 * sysdeps/unix/sysv/linux/lxstat64.c [!__ASSUME_STAT64_SYSCALL]:
24418 Remove conditional code.
24419 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
24420 * sysdeps/unix/sysv/linux/sparc/sparc64/xstat.c: Do not include
24421 <kernel-features.h>.
24422 [__NR_stat64 && !__ASSUME_STAT64_SYSCALL] (__have_no_stat64):
24424 * sysdeps/unix/sysv/linux/xstat64.c [!__ASSUME_STAT64_SYSCALL]:
24425 Remove conditional code.
24426 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
24427 * sysdeps/unix/sysv/linux/xstatconv.c [!__ASSUME_STAT64_SYSCALL]:
24428 Remove conditional.
24430 2012-08-27 Mike Frysinger <vapier@gentoo.org>
24433 * NEWS: Add fixed bug number.
24435 2012-08-27 Joseph Myers <joseph@codesourcery.com>
24438 * stdlib/strtod_l.c (round_and_return): Return -0.0 for
24439 underflowing exponent in case of negative sign.
24440 * stdlib/tst-strtod-round-data: Add more tests.
24441 * stdlib/tst-strtod-round.c (tests): Regenerated.
24444 * stdlib/strtod_l.c (NDIG): Remove.
24445 (HEXNDIG): Likewise.
24446 (MPNSIZE): Increase to represent 10^n where 2^-n is 1/4 ulp of the
24447 smallest representable value.
24448 (____STRTOF_INTERNAL): Use all fractional decimal digits that may
24449 lie within an exact representation of 1/2 ulp of the result.
24450 * stdlib/fpioconst.c (__tens): Include 10^2^9 and 10^2^10
24452 (TENS_P9_IDX): Define unconditionally.
24453 (TENS_P9_SIZE): Likewise.
24454 (TENS_P10_IDX): Likewise.
24455 (TENS_P10_SIZE): Likewise.
24456 [BITS_PER_MP_LIMB == 32]: Change condition for larger powers of 10
24457 to !defined __NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024.
24458 [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024] (__tens): Add
24459 entries for 10^2^13 and 10^2^14.
24460 [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024]
24461 (TENS_P13_IDX): Define.
24462 (TENS_P13_SIZE): Likewise.
24463 (TENS_P14_IDX): Likewise.
24464 (TENS_P14_SIZE): Likewise.
24465 (_fpioconst_pow10): Change array size to
24466 FPIOCONST_POW10_ARRAY_SIZE. Make entries for 10^2^9 and 10^2^10
24468 (_fpioconst_pow10) [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ >
24469 1024]: Add entries for 10^2^13 and 10^2^14.
24470 [LAST_POW10 > _LAST_POW10]: Remove #error.
24471 * stdlib/fpioconst.h (FPIOCONST_POW10_ARRAY_SIZE): Define.
24472 (_fpioconst_pow10): Change array size to
24473 FPIOCONST_POW10_ARRAY_SIZE.
24474 * stdlib/gen-fpioconst.c: New file.
24475 * stdlib/gen-tst-strtod-round.c: Likewise.
24476 * stdlib/tst-strtod-round-data: Likewise.
24477 * stdlib/tst-strtod-round.c: Likewise.
24478 * stdlib/Makefile (tests): Add tst-strtod-round.
24481 * stdlib/strtod_l.c: Include <stdint.h>.
24482 (NDEBUG): Do not define.
24483 (round_and_return): Change EXPONENT parameter to type intmax_t.
24484 Rearrange calculations to avoid internal overflow possibilities.
24485 (str_to_mpn): Change EXPONENT parameter to type intmax_t *.
24486 Rearrange calculations to avoid internal overflow possibilities.
24487 Assert that number fits inside MPNSIZE limbs.
24488 (____STRTOF_INTERNAL): Change EXPONENT variable to type intmax_t.
24489 Change DIG_NO, INT_NO and LEAD_ZERO to type size_t. Rearrange
24490 calculations and add assertions to avoid internal overflow
24491 possibilities. Add casts to avoid signed/unsigned operations.
24492 * stdlib/tst-strtod-overflow.c: New file.
24493 * stdlib/Makefile (tests): Add tst-strtod-overflow.
24495 2012-08-25 Marek Polacek <polacek@redhat.com>
24497 * time/time.h: Fix some typos in comments.
24499 2012-08-23 Roland McGrath <roland@hack.frob.com>
24501 * posix/tst-rfc3484.c: #undef USE_NSCD before including getaddrinfo.c.
24502 * posix/tst-rfc3484-2.c: Likewise.
24503 * posix/tst-rfc3484-3.c: Likewise.
24505 2012-08-23 Steve McIntyre <steve.mcintyre@linaro.org>
24507 * elf/elf.h (EF_ARM_ABI_FLOAT_SOFT): New macro.
24508 (EF_ARM_ABI_FLOAT_HARD): Likewise.
24510 2012-08-23 Joseph Myers <joseph@codesourcery.com>
24512 * sysdeps/unix/sysv/linux/dl-fxstatat64.c: Use <> instead of "" in
24513 #include of fxstatat64.c.
24515 2012-08-22 Roland McGrath <roland@hack.frob.com>
24517 * shadow/getspent.c: #undef USE_NSCD before #include that gets the code.
24518 * shadow/getspent_r.c: Likewise.
24519 * shadow/getspnam.c: Likewise.
24520 * shadow/getspnam_r.c: Likewise.
24521 * gshadow/getsgent.c: Likewise.
24522 * gshadow/getsgent_r.c: Likewise.
24523 * gshadow/getsgnam.c: Likewise.
24524 * gshadow/getsgnam_r.c: Likewise.
24525 * inet/getnetbyad.c: Likewise.
24526 * inet/getnetbyad_r.c: Likewise.
24527 * inet/getnetbynm.c: Likewise.
24528 * inet/getnetbynm_r.c: Likewise.
24529 * inet/getnetent.c: Likewise.
24530 * inet/getnetent_r.c: Likewise.
24531 * inet/getproto.c: Likewise.
24532 * inet/getproto_r.c: Likewise.
24533 * inet/getprtent.c: Likewise.
24534 * inet/getprtent_r.c: Likewise.
24535 * inet/getprtname.c: Likewise.
24536 * inet/getprtname_r.c: Likewise.
24537 * inet/getrpcbyname.c: Likewise.
24538 * inet/getrpcbyname_r.c: Likewise.
24539 * inet/getrpcbynumber.c: Likewise.
24540 * inet/getrpcbynumber_r.c: Likewise.
24541 * inet/getrpcent.c: Likewise.
24542 * inet/getrpcent_r.c: Likewise.
24543 * inet/getaliasent.c: Likewise.
24544 * inet/getaliasent_r.c: Likewise.
24545 * inet/getaliasname.c: Likewise.
24546 * inet/getaliasname_r.c: Likewise.
24547 * nscd/getgrgid_r.c: Likewise.
24548 * nscd/getgrnam_r.c: Likewise.
24549 * nscd/gethstbyad_r.c: Likewise.
24550 * nscd/gethstbynm3_r.c: Likewise.
24551 * nscd/getpwnam_r.c: Likewise.
24552 * nscd/getpwuid_r.c: Likewise.
24553 * nscd/getsrvbynm_r.c: Likewise.
24554 * nscd/getsrvbypt_r.c: Likewise.
24555 * nscd/gai.c: Likewise.
24557 * configure.in (build_nscd): New substituted variable, set
24558 by --disable-build-nscd and defaults to $use_nscd.
24559 * configure: Regenerated.
24560 * config.make.in (build-nscd): New substituted variable.
24561 * nscd/Makefile (others, others-pie, install-sbin, extra-objs):
24562 Change conditional to require [$(build-nscd) = yes] as well.
24563 * NEWS: Mention --disable-build-nscd in the --disable-nscd item.
24566 * configure.in (use_nscd): New substituted variable, set by
24567 --disable-nscd. If enabled, define USE_NSCD.
24568 * configure: Regenerated.
24569 * config.h.in: Add USE_NSCD.
24570 * config.make.in (use-nscd): New substituted variable.
24571 * inet/Makefile (CFLAGS-gethstbyad_r.c): Likewise.
24572 (CFLAGS-gethstbynm_r.c, CFLAGS-gethstbynm2_r.c): Likewise.
24573 (CFLAGS-getsrvbynm_r.c, CFLAGS-getsrvbypt_r.c): Variables removed.
24574 * grp/Makefile (CFLAGS-getgrgid_r.c): Remove -DUSE_NSCD.
24575 (CFLAGS-getgrnam_r.c): Likewise.
24576 (CFLAGS-initgroups.c): Likewise.
24577 * posix/Makefile (CFLAGS-getaddrinfo.c): Remove -DUSE_NSCD.
24578 * pwd/Makefile (CFLAGS-getpwuid_r.c, CFLAGS-getpwnam_r.c):
24580 * inet/getnetgrent_r.c
24581 (nscd_setnetgrent): New function, broken out of ...
24582 (setnetgrent): ... here. Call it.
24583 (innetgr): Conditionalize nscd bits on [USE_NSCD].
24584 (nscd_getnetgrent): Conditionalize on [USE_NSCD].
24585 (__internal_getnetgrent_r): Conditionalize its use on [USE_NSCD].
24586 * nscd/Makefile (routines, aux): Move definitions after include of
24587 Makeconfig. Conditionalize on [$(use-nscd) != no].
24588 * nss/nsswitch.c (nss_load_all_libraries, __nss_disable_nscd):
24589 Conditionalize on [USE_NSCD].
24590 (is_nscd, nscd_init_cb): Likewise.
24591 (nss_load_library): Conditionalize init callback on [USE_NSCD].
24592 * nss/nss_files/files-init.c: Conditionalize body on [USE_NSCD].
24593 * nss/nss_db/db-init.c: Likewise.
24594 * nscd/nscd.c (main): Conditionalize __nss_disable_nscd call on
24596 * sysdeps/unix/sysv/linux/check_pf.c (get_nl_timestamp): New function.
24597 (make_request): Use it.
24598 (cache_valid_p): New function.
24599 (__check_pf): Use it.
24600 * NEWS: Add item for --disable-nscd.
24602 2012-08-22 Dmitry V. Levin <ldv@altlinux.org>
24604 * configure.in (SED): Update AC_CHECK_PROG_VER's version extract regexp
24605 to support sed >= 4.2.1-20-ga9bf076.
24606 * configure: Regenerated.
24608 2012-08-22 Roland McGrath <roland@hack.frob.com>
24610 * csu/libc-start.c (apply_irel): Move extern declarations inside here.
24611 Conditionalize whole body on [IREL].
24613 2012-08-22 Jeff Law <law@redhat.com>
24616 * sysdeps/posix/getaddrinfo.c (gaih_inet): Only use gethostbyname4_r
24617 if the family is PF_UNSPEC.
24619 2012-08-22 Mike Frysinger <vapier@gentoo.org>
24621 * Makerules (lib-version): Rename from V.
24622 (install-lib-nosubdir): Change V to lib-version.
24624 2012-08-22 Will Schmidt <will_schmidt@vnet.ibm.com>
24627 * powerpc32/power6/wcschr.c: New file.
24628 * powerpc32/power6/wcscpy.c: New file.
24629 * powerpc32/power6/wcsrchr.c: New file.
24630 * powerpc64/power6/wcschr.c: New file.
24631 * powerpc64/power6/wcscpy.c: New file.
24632 * powerpc64/power6/wcsrchr.c: New file.
24634 2012-08-21 Maxim Kuvyrkov <maxim@codesourcery.com>
24636 * string/str-two-way.h (AVAILABLE1_USES_J): New macro, define default.
24637 (two_way_short_needle): Use it.
24638 * string/strstr.c (AVAILABLE1_USES_J): Define.
24639 * string/strcasestr.c: Likewise.
24641 * string/str-two-way.h (two_way_short_needle): Use pointers instead of
24643 * string/strcasestr.c (TOLOWER): Make side-effect safe.
24646 * NEWS: Add an entry.
24647 * string/str-two-way.h (AVAILABLE1, AVAILABLE2, RET0_IF_0): New macros,
24648 define their defaults.
24649 (two_way_short_needle): Detect end-of-string on-the-fly.
24650 * string/strcasestr.c, string/strstr.c (AVAILABLE): Update.
24651 (AVAILABLE1, AVAILABLE2, RET0_IF_0, AVAILABLE_USES_J): Define.
24652 * string/bug-strcasestr1.c: New test.
24653 * string/Makefile: Run it.
24655 2012-08-21 Maxim Kuvyrkov <maxim@codesourcery.com>
24658 * string/str-two-way.h (two_way_short_needle): Optimize matching of
24659 the first character.
24661 2012-08-21 Roland McGrath <roland@hack.frob.com>
24663 * csu/elf-init.c (__libc_csu_irel): Function removed.
24664 * csu/libc-start.c (apply_irel): New function.
24665 (LIBC_START_MAIN): Call it instead of __libc_csu_irel.
24667 2012-08-21 Joseph Myers <joseph@codesourcery.com>
24669 * sysdeps/unix/sysv/linux/kernel-features.h
24670 (__ASSUME_FADVISE64_64_SYSCALL): Remove.
24671 * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
24672 <kernel-features.h>.
24673 [__NR_fadvise64_64]: Make code unconditional.
24674 [!__ASSUME_FADVISE64_64_SYSCALL]: Remove conditional code.
24675 [__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
24676 !__NR_fadvise64_64)]: Likewise.
24677 [!(__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
24678 !__NR_fadvise64_64))]: Likewise.
24679 [__NR_fadvise64]: Make code unconditional.
24680 [!__NR_fadvise64]: Remove conditional code.
24681 * sysdeps/unix/sysv/linux/posix_fadvise64.c: Do not include
24682 <kernel-features.h>.
24683 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
24685 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
24687 * sysdeps/unix/sysv/linux/powerpc/powerpc32/posix_fadvise64.c: Do
24688 not include <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/s390/s390-32/posix_fadvise64.c: Do not
24694 include <kernel-features.h>.
24695 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
24697 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
24700 2012-08-21 Will Schmidt <will_schmidt@vnet.ibm.com>
24702 * sysdeps/powerpc/powerpc64/power7/memchr.S: Unrolled short loop and
24703 slight instruction rearrangements per scrollpipe analysis.
24704 * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
24706 2012-08-20 Roland McGrath <roland@hack.frob.com>
24708 * manual/syslog.texi (syslog; vsyslog, closelog):
24709 Fix typo repeated twice: @file{dev/log} -> @file{/dev/log}.
24710 Reported by Ricardo Catalinas Jiménez <jimenezrick@gmail.com>.
24712 * elf/dl-sysdep.c (_dl_important_hwcaps): Fix conditional on using
24713 DSOCAPS to match condition on defining it.
24715 2012-08-20 Joseph Myers <joseph@codesourcery.com>
24717 * sysdeps/unix/sysv/linux/kernel-features.h
24718 (__ASSUME_SWAPCONTEXT_SYSCALL): Remove.
24719 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S
24720 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
24721 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
24722 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S
24723 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
24724 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
24725 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S
24726 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
24727 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
24729 * sysdeps/unix/sysv/linux/kernel-features.h [__s390__ &&
24730 __LINUX_KERNEL_VERSION >= 0x020616] (__ASSUME_UTIMES): Define.
24732 * sysdeps/unix/sysv/linux/kernel-features.h
24733 (__ASSUME_MMAP2_SYSCALL): Remove all definitions.
24734 * sysdeps/unix/sysv/linux/mmap64.c [__NR_mmap2]: Make code
24736 [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
24737 * sysdeps/unix/sysv/linux/i386/mmap.S (__mmap)
24738 [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
24739 (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
24740 * sysdeps/unix/sysv/linux/i386/mmap64.S (__mmap64) [__NR_mmap2]:
24741 Make code unconditional.
24742 (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
24743 (__mmap64) [!__NR_mmap2]: Likewise.
24744 * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S (__mmap)
24745 [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
24746 (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
24747 * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S (__mmap64)
24748 [__NR_mmap2]: Make code unconditional.
24749 (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
24750 (__mmap64) [!__NR_mmap2]: Likewise.
24752 2012-08-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
24754 * sysdeps/unix/sysv/linux/s390/s390-32/getrlimit.c: Remove.
24756 2012-08-18 Andreas Jaeger <aj@suse.de>
24758 * stdio-common/_itoa.c (_itoa): Add missing DUMMY variable.
24760 2012-08-18 Mike Frysinger <vapier@gentoo.org>
24762 * include/sys/socket.h (__have_sock_cloexec): Add attribute_hidden.
24763 * include/unistd.h (__have_sock_cloexec): Likewise.
24764 (__have_pipe2): Likewise.
24765 (__have_dup3): Likewise.
24767 2012-08-18 Mike Frysinger <vapier@gentoo.org>
24770 * include/unistd.h (__have_pipe2): Change define into an extern int.
24771 (__have_dup3): Likewise.
24772 * socket/have_sock_cloexec.c: Include fcntl.h.
24773 (__have_pipe2): New variable.
24774 (__have_dup3): Likewise.
24776 2012-08-17 Mike Frysinger <vapier@gentoo.org>
24778 * sysdeps/unix/sysv/linux/nice.c: Adjust #include.
24780 2012-08-17 Marek Polacek <polacek@redhat.com>
24782 * sysdeps/ieee754/ldbl-96/s_sincosl.c (__sincosl): Use __attribute__
24783 ((unused)) on I1, which is set by GET_LDOUBLE_WORDS but never used.
24785 2012-08-17 Roland McGrath <roland@hack.frob.com>
24787 * configure.in: Add AC_SUBST for sysheaders.
24788 * configure: Regenerated.
24789 * config.make.in (sysheaders): New substituted variable.
24791 * sysdeps/unix/mkfifo.c: Moved ...
24792 * sysdeps/posix/mkfifo.c: ... here.
24793 * sysdeps/unix/mkfifoat.c: Moved ...
24794 * sysdeps/posix/mkfifoat.c: ... here.
24796 * sysdeps/unix/utime.c: Moved ...
24797 * sysdeps/posix/utime.c: ... here.
24799 * sysdeps/unix/time.c: Moved ...
24800 * sysdeps/posix/time.c: ... here.
24801 * sysdeps/unix/sysv/linux/time.c: Adjust #include.
24802 * sysdeps/unix/sysv/linux/sparc/sparc64/time.c: Likewise.
24804 * sysdeps/unix/nice.c: Moved ...
24805 * sysdeps/posix/nice.c: ... here.
24807 * sysdeps/unix/alarm.c: Moved ...
24808 * sysdeps/posix/alarm.c: ... here.
24810 * intl/Makefile ($(codeset_mo)): Depend on the input file.
24812 2012-08-17 Jeff Law <law@redhat.com>
24814 * intl/Makefile (codeset_mo): New variable.
24815 ($(codeset_mo)): New target.
24816 (tst-codeset.out): Depend on that. Remove explicit rule.
24817 (tst-gettext3.out, tst-gettext5.out): Likewise.
24818 (LOCPATH-ENV, tst-codeset-ENV): New variables.
24819 (tst-gettext3-ENV, tst-gettext5-ENV): Likewise.
24820 * intl/tst-codeset.sh: Remove.
24821 * intl/tst-gettext3.sh: Likewise.
24822 * intl/tst-gettext5.sh: Likewise.
24824 2012-08-17 Roland McGrath <roland@hack.frob.com>
24826 * sysdeps/unix/inet/syscalls.list: File removed. Move contents into ...
24827 * sysdeps/unix/syscalls.list: ... here.
24829 * sysdeps/posix/getaddrinfo.c
24830 (save_gaiconf_mtime, check_gaiconf_mtime): New functions.
24831 (gaiconf_init, gaiconf_reload): Use them.
24832 [!_STATBUF_ST_NSEC]
24833 (gaiconf_mtime, save_gaiconf_mtime, check_gaiconf_mtime):
24834 Define using time_t rather than struct timespec.
24836 * sysdeps/generic/malloc-machine.h (MUTEX_INITIALIZER): New macro.
24837 (atomic_full_barrier, atomic_read_barrier, atomic_write_barrier):
24839 * malloc/arena.c (save_malloc_hook, save_free_hook): Conditionalize on
24841 (malloc_atfork, free_atfork, atfork_recursive_cntr): Likewise.
24842 (ptmalloc_lock_all, ptmalloc_unlock_all, ptmalloc_unlock_all2):
24845 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Use NULL rather than 0 for
24846 __libc_cleanup_push argument.
24848 * bits/param.h: New file.
24849 * misc/sys/param.h: New file.
24850 * include/sys/param.h: New file.
24851 * misc/Makefile (headers): Add bits/param.h.
24852 * sysdeps/generic/sys/param.h: File removed.
24853 * sysdeps/unix/sysv/linux/bits/param.h: New file.
24854 * sysdeps/unix/sysv/linux/sys/param.h: File removed.
24855 * sysdeps/mach/hurd/bits/param.h: New file.
24856 * sysdeps/mach/hurd/sys/param.h: File removed.
24858 * elf/dl-close.c (_dl_close_worker): Add a cast and a comment to the
24861 * libio/genops.c (_IO_unbuffer_write): Conditionalize locking code on
24863 * libio/libioP.h [!_IO_MTSAFE_IO && !NOT_IN_libc]
24864 (_IO_acquire_lock, _IO_acquire_lock_clear_flags2, _IO_release_lock):
24867 * Makeconfig [$(libc-reentrant) = yes] (libio-mtsafe): New variable.
24868 * libio/Makefile (CPPFLAGS): Append $(libio-mtsafe) unconditionally
24869 rather than -D_IO_MTSAFE_IO conditionally.
24870 * stdio-common/Makefile (CPPFLAGS): Likewise.
24871 * wcsmbs/Makefile (CPPFLAGS): Likewise.
24872 * stdlib/Makefile (CFLAGS-strfmon.c, CFLAGS-strfmon_l.c):
24873 Use $(libio-mtsafe).
24874 * debug/Makefile (CFLAGS-sprintf_chk.c): Use $(libio-mtsafe) instead
24875 of -D_IO_MTSAFE_IO.
24876 (CFLAGS-snprintf_chk.c, CFLAGS-vsprintf_chk.c): Likewise.
24877 (CFLAGS-vsnprintf_chk.c, CFLAGS-asprintf_chk.c): Likewise.
24878 (CFLAGS-vasprintf_chk.c, CFLAGS-obprintf_chk.c): Likewise.
24879 (CFLAGS-dprintf_chk.c, CFLAGS-vdprintf_chk.c): Likewise.
24880 (CFLAGS-printf_chk.c, CFLAGS-fprintf_chk.c): Likewise.
24881 (CFLAGS-vprintf_chk.c, CFLAGS-vfprintf_chk.c): Likewise.
24882 (CFLAGS-gets_chk.c, CFLAGS-fgets_chk.c): Likewise.
24883 (CFLAGS-fgets_u_chk.c, CFLAGS-fread_chk.c): Likewise.
24884 (CFLAGS-fread_u_chk.c): Likewise.
24885 (CFLAGS-swprintf_chk.c, CFLAGS-vswprintf_chk.c): Likewise.
24886 (CFLAGS-wprintf_chk.c, CFLAGS-fwprintf_chk.c): Likewise.
24887 (CFLAGS-vwprintf_chk.c, CFLAGS-vfwprintf_chk.c): Likewise.
24888 (CFLAGS-fgetws_chk.c, CFLAGS-fgetws_u_chk.c): Likewise.
24889 * grp/Makefile (CFLAGS-fgetgrent_r.c, CFLAGS-putgrent.c): Likewise.
24890 * gshadow/Makefile (CFLAGS-fgetsgent_r.c, CFLAGS-putsgent.c): Likewise.
24891 * misc/Makefile (CFLAGS-mntent_r.c): Likewise.
24892 * pwd/Makefile (CFLAGS-fgetpwent_r.c): Likewise.
24893 * shadow/Makefile (CFLAGS-fgetspent_r.c, CFLAGS-putspent.c): Likewise.
24895 * libio/Makefile: Test [$(libc-reentrant) = yes]
24896 instead of [$(filter %REENTRANT, $(defines)) nonempty].
24899 [$(libc-reentrant) = yes] (defines): Append -D_LIBC_REENTRANT.
24900 * sysdeps/pthread/configure: File removed.
24901 * sysdeps/pthread/Makeconfig: New file.
24902 * sysdeps/mach/hurd/Makeconfig (libc-reentrant): New variable.
24903 * sysdeps/mach/hurd/configure.in: Don't touch DEFINES here.
24905 2012-08-16 Gary Benson <gbenson@redhat.com>
24907 * elf/dl-close.c (_dl_close_worker): Also set r->r_map when
24908 unmapping the first object in a namespace.
24910 2012-08-16 Roland McGrath <roland@hack.frob.com>
24912 * inet/getnetgrent_r.c (internal_setnetgrent): Renamed to ...
24913 (__internal_setnetgrent): ... this. Add internal_function to
24914 definition. Add libc_hidden_def.
24915 (setnetgrent): Update caller.
24916 (internal_endnetgrent): Renamed to ...
24917 (__internal_endnetgrent): ... this. Add internal_function to
24918 definition. Add libc_hidden_def.
24919 (endnetgrent): Update caller.
24920 (internal_getnetgrent_r): Renamed to ...
24921 (__internal_getnetgrent_r): ... this. Add internal_function to
24922 definition. Add libc_hidden_def.
24923 (__getnetgrent_r): Update caller.
24924 * inet/netgroup.h: Update declarations. Add libc_hidden_proto uses.
24926 2012-08-16 Joseph Myers <joseph@codesourcery.com>
24928 * stdlib/longlong.h: Update from GCC.
24930 2012-08-16 Roland McGrath <roland@hack.frob.com>
24932 * stdlib/gmp-impl.h (udiv_qrnnd_preinv): Use __attribute__ ((unused))
24933 on _QL, which is set by umul_ppmm but never used.
24934 * stdio-common/_itoa.c (_itoa): Use __attribute__ ((unused)) on DUMMY
24935 variables, which are set by GMP macros but never used.
24936 * stdio-common/_itowa.c (_itowa): Likewise.
24937 * stdlib/divmod_1.c (mpn_divmod_1): Likewise.
24938 * stdlib/mod_1.c (mpn_mod_1): Likewise.
24940 2012-08-16 Carlos O'Donell <carlos_odonell@mentor.com>
24942 * sysdeps/sh/ldsodefs.h (ARCH_PLTENTER_MEMBERS) <sh_gnu_pltenter>:
24943 struct La_sh_regs is not constant.
24944 * sysdeps/sparc/ldsodefs.h (ARCH_PLTENTER_MEMBERS)
24945 <sparc32_gnu_pltenter, sparc64_gnu_pltenter>: struct La_sparc32_regs
24946 and struct La_sparc64_regs are not constant.
24948 2012-08-16 Joseph Myers <joseph@codesourcery.com>
24950 * sysdeps/unix/sysv/linux/kernel-features.h
24951 (__ASSUME_POSIX_TIMERS): Remove.
24952 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
24953 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
24954 * sysdeps/unix/sysv/linux/clock_getres.c [__ASSUME_POSIX_TIMERS]:
24955 Make code unconditional.
24956 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
24957 * sysdeps/unix/sysv/linux/clock_gettime.c [__ASSUME_POSIX_TIMERS]:
24958 Make code unconditional.
24959 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
24960 * sysdeps/unix/sysv/linux/clock_nanosleep.c
24961 [__ASSUME_POSIX_TIMERS]: Make code unconditional.
24962 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
24963 * sysdeps/unix/sysv/linux/clock_settime.c [__ASSUME_POSIX_TIMERS]:
24964 Make code unconditional.
24965 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
24966 [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]
24967 (__libc_missing_posix_timers): Remove.
24969 2012-08-15 Roland McGrath <roland@hack.frob.com>
24971 * elf/dl-load.c (_dl_map_object_from_fd) [SHARED]: Conditionalize
24972 check of GL(dl_error_catch_tsd) on [_LIBC_REENTRANT].
24974 * bits/libc-lock.h (__rtld_lock_initialize): New macro.
24976 * elf/dl-sym.c: Include <stdlib.h>.
24978 * posix/regcomp.c (init_word_char): Use temporaries to hold the 64-bit
24979 constants, which avoids warnings in 32-bit builds.
24981 * bits/fcntl.h [__USE_POSIX199309 || __USE_UNIX98]:
24982 (O_DSYNC, O_RSYNC): New macros (with NetBSD values).
24984 * misc/lseek.c: File moved to ...
24985 * io/lseek.c: ... here.
24987 * rt/clock_nanosleep.c: Include <time.h>, not <sys/time.h>.
24989 * crypt/sha512.c (sha512_process_block) [!USE_TOTAL128]: Avoid
24990 shifting LEN more than 31 bits at once.
24992 2012-08-15 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
24995 * sysdeps/i386/i686/multiarch/strcmp-sssse3.S: Fix
24996 segmentation fault for a case of two empty input strings.
24997 * string/test-strncasecmp.c (check1): Renamed to...
24998 (bz12205): ...this.
24999 (bz14195): Add new testcase for two empty input strings and N > 0.
25000 (test_main): Call new testcase, adapt for renamed function.
25002 2012-08-15 Andreas Jaeger <aj@suse.de>
25005 * crypt/md5test2.c: New test, based on test supplied by Serge
25006 Belyshev <belyshev@depni.sinp.msu.ru>.
25007 * crypt/Makefile (xtests): Add md5test-giant..
25008 * crypt/Makefile ($(objpfx)md5test-giant): Add.
25010 2012-08-15 Paul Eggert <eggert@cs.ucla.edu>
25013 * crypt/md5.c (md5_process_block): Don't assume the buffer
25014 length is less than 2**32.
25015 * crypt/sha512.c (sha512_process_block): Don't assume the buffer
25016 length is less than 2**64.
25018 2012-08-15 Roland McGrath <roland@hack.frob.com>
25020 * string/str-two-way.h: Include <sys/param.h>.
25021 (MAX): Macro removed.
25023 * sysdeps/x86_64/multiarch/strstr-c.c: Add copyright header.
25024 Move #define and #undef of memmove to just before and after
25025 including <string.h>.
25027 * sysdeps/x86_64/multiarch/memmove.c: Don't include <stddef.h>.
25028 [!NOT_IN_libc]: Move #define and #undef of memmove to just before
25029 and after including <string.h>. Move declarations of
25030 __memmove_sse2, __memmove_ssse3, and __memmove_ssse3_back
25031 to before #include "string/memmove.c".
25033 * include/dirent.h: Declare __getdirentries.
25035 * sysdeps/posix/system.c (do_system): Cast SUB_REF () to void when not
25036 using its value, to avoid warnings in the [!_LIBC_REENTRANT] case.
25038 2012-08-14 Mike Frysinger <vapier@gentoo.org>
25040 * config.h.in (HAVE_CPP_ASM_DEBUGINFO): Delete.
25041 * sysdeps/i386/configure.in: Remove assembler-with-cpp debug check.
25042 * sysdeps/i386/configure: Regenerated.
25043 * sysdeps/i386/sysdep.h (ENTRY): Remove calls to STABS_CURRENT_FILE1,
25044 STABS_CURRENT_FILE, and STABS_FUN.
25045 (END): Remove call to STABS_FUN_END.
25046 (STABS_CURRENT_FILE1): Delete.
25047 (STABS_CURRENT_FILE): Likewise.
25048 (STABS_FUN): Likewise.
25049 (STABS_FUN_END): Likewise.
25050 (STABS_FUN2): Likewise.
25051 * sysdeps/x86_64/configure.in: Remove assembler-with-cpp debug check.
25052 * sysdeps/x86_64/configure: Regenerated.
25054 2012-08-14 Roland McGrath <roland@hack.frob.com>
25056 * elf/dl-open.c: Include <atomic.h>.
25057 * elf/dl-lookup.c: Likewise.
25059 2012-08-14 Joseph Myers <joseph@codesourcery.com>
25061 * sysdeps/unix/sysv/linux/kernel-features.h
25062 (__ASSUME_CLONE_THREAD_FLAGS): Remove.
25063 * sysdeps/unix/sysv/linux/s390/system.c (FORK): Define
25065 * sysdeps/unix/sysv/linux/sparc/system.c (FORK): Define
25067 * sysdeps/unix/sysv/linux/system.c [!FORK] (FORK): Do not
25068 condition on __ASSUME_CLONE_THREAD_FLAGS.
25070 2012-08-14 Andreas Jaeger <aj@suse.de>
25072 * sysdeps/i386/fpu/libm-test-ulps: Update.
25074 2012-08-13 Maxim Kuvyrkov <maxim@codesourcery.com>
25076 * include/atomic.h (atomic_exchange_and_add): Split into ...
25077 (atomic_exchange_and_add_acq, atomic_exchange_and_add_rel): ... these.
25080 2012-08-13 Markus Trippelsdorf <markus@trippelsdorf.de>
25082 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
25084 2012-08-13 Jeff Law <law@redhat.com>
25086 * manual/stdio.texi (snprintf): Clarify handling of the trailing
25087 null byte in the output string.
25089 2012-08-10 Joseph Myers <joseph@codesourcery.com>
25091 * sysdeps/unix/sysv/linux/kernel-features.h
25092 (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Define.
25093 [__LINUX_KERNEL_VERSION >= __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL]
25094 (__ASSUME_ARG_MAX_STACK_BASED): Define.
25095 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
25096 [__LINUX_KERNEL_VERSION < 0x020617]: Change condition to
25097 !__ASSUME_ARG_MAX_STACK_BASED. Compare version with
25098 __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL.
25100 2012-08-09 Jeff Law <law@redhat.com>
25103 * malloc.c/arena.c (reused_arena): New parameter, avoid_arena.
25104 When avoid_arena is set, don't retry in the that arena. Pick the
25105 next one, whatever it might be.
25106 (arena_get2): New parameter avoid_arena, pass through to reused_arena.
25107 (arena_lock): Pass in new parameter to arena_get2.
25108 * malloc/malloc.c (__libc_memalign): Pass in new parameter to
25110 (__libc_malloc): Unify retrying after main arena failure with
25111 __libc_memalign version.
25112 (__libc_valloc, __libc_pvalloc, __libc_calloc): Likewise.
25114 2012-08-09 H.J. Lu <hongjiu.lu@intel.com>
25117 * sysdeps/i386/i686/multiarch/strstr-c.c (strstr): Redefined
25118 to __redirect_strstr.
25119 (__strstr_sse42): Use typeof __redirect_strstr.
25120 (__strstr_ia32): Likewise.
25121 (__libc_strstr): New prototype.
25122 (strstr): Renamed to ...
25123 (__libc_strstr): This.
25124 (strstr): New strong alias of __libc_strstr.
25125 * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
25126 * sysdeps/unix/sysv/linux/x86_64/time.c (time): Redefined to
25129 (__libc_time): New prototype.
25130 (time_ifunc): Replace time with __libc_time.
25131 (time): New strong alias and hidden definition of __libc_time.
25132 (__GI_time): Remove strong alias.
25133 * sysdeps/x86_64/multiarch/memmove.c: Don't include <string.h>.
25134 Include <stddef.h>.
25135 (memmove): Redefined to __redirect_memmove.
25136 (__memmove_sse2): Use typeof __redirect_memmove.
25137 (__memmove_ssse3): Likewise.
25138 (__memmove_ssse3_back): Likewise.
25139 (__libc_memmove): New prototype.
25140 (memmove): Renamed to ...
25141 (__libc_memmove): This.
25142 (memmove): New strong alias of __libc_memmove.
25144 2012-08-08 Mark Salter <msalter@redhat.com>
25147 (R_MN10300_TLS_GD): Define.
25148 (R_MN10300_TLS_LD): Likewise.
25149 (R_MN10300_TLS_LDO): Likewise.
25150 (R_MN10300_TLS_GOTIE): Likewise.
25151 (R_MN10300_TLS_IE): Likewise.
25152 (R_MN10300_TLS_LE): Likewise.
25153 (R_MN10300_TLS_DTPMOD): Likewise.
25154 (R_MN10300_TLS_DTPOFF): Likewise.
25155 (R_MN10300_TLS_TPOFF): Likewise.
25156 (R_MN10300_SYM_DIFF): Likewise.
25157 (R_MN10300_ALIGN): Likewise.
25158 (R_MN10300_NUM): Update.
25160 2012-08-08 Joseph Myers <joseph@codesourcery.com>
25162 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_TGKILL):
25165 2012-08-08 Roland McGrath <roland@hack.frob.com>
25167 * sysdeps/posix/fdopendir.c: Include <stddef.h>.
25169 * sysdeps/unix/sysv/linux/readdir64_r.c: Update #include for
25170 sysdeps/unix -> sysdeps/posix move.
25171 * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
25173 2012-08-07 Allan McRae <allan@archlinux.org>
25176 * sunrpc/rpc_main.c (SVR4_CPP): Remove.
25177 (SUNOS_CPP): Likewise.
25178 (find_cpp): Fall back to selecting system cpp when /lib/cpp is
25180 (open_input): Call CPP using execvp.
25182 2012-08-07 Joseph Myers <joseph@codesourcery.com>
25184 * sysdeps/unix/sysv/linux/kernel-features.h
25185 (__ASSUME_PROT_GROWSUPDOWN): Remove.
25186 (__ASSUME_NO_CLONE_DETACHED): Likewise.
25187 (__ASSUME_GETDENTS32_D_TYPE): Likewise.
25188 (__ASSUME_WAITID_SYSCALL): Likewise.
25189 * sysdeps/unix/sysv/linux/dl-execstack.c
25190 (_dl_make_stack_executable) [PROT_GROWSDOWN || PROT_GROWSUP]: Make
25191 code unconditional.
25192 (_dl_make_stack_executable) [!__ASSUME_PROT_GROWSUPDOWN]: Remove
25194 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS)
25195 [__ASSUME_GETDENTS32_D_TYPE]: Make code unconditional.
25196 (__GETDENTS) [!__ASSUME_GETDENTS32_D_TYPE]: Remove conditional
25198 * sysdeps/unix/sysv/linux/waitid.c [__NR_waitid]: Make code
25200 [__ASSUME_WAITID_SYSCALL]: Likewise.
25201 [!__ASSUME_WAITID_SYSCALL]: Remove conditional code.
25203 2012-08-07 Roland McGrath <roland@hack.frob.com>
25205 * sysdeps/unix/closedir.c: Renamed to ...
25206 * sysdeps/posix/closedir.c: ... here.
25207 * sysdeps/unix/dirfd.c: Renamed to ...
25208 * sysdeps/posix/dirfd.c: ... here.
25209 * sysdeps/unix/dirstream.h: Renamed to ...
25210 * sysdeps/posix/dirstream.h: ... here.
25211 * sysdeps/unix/fdopendir.c: Renamed to ...
25212 * sysdeps/posix/fdopendir.c: ... here.
25213 * sysdeps/unix/opendir.c: Renamed to ...
25214 * sysdeps/posix/opendir.c: ... here.
25215 * sysdeps/unix/readdir.c: Renamed to ...
25216 * sysdeps/posix/readdir.c: ... here.
25217 * sysdeps/unix/readdir_r.c: Renamed to ...
25218 * sysdeps/posix/readdir_r.c: ... here.
25219 * sysdeps/unix/rewinddir.c: Renamed to ...
25220 * sysdeps/posix/rewinddir.c: ... here.
25221 * sysdeps/unix/seekdir.c: Renamed to ...
25222 * sysdeps/posix/seekdir.c: ... here.
25223 * sysdeps/unix/telldir.c: Renamed to ...
25224 * sysdeps/posix/telldir.c: ... here.
25225 * sysdeps/unix/sysv/linux/opendir.c: Update #include.
25226 * sysdeps/unix/sysv/linux/readdir64.c: Likewise.
25227 * sysdeps/unix/sysv/linux/i386/readdir64.c: Likewise.
25228 * sysdeps/unix/sysv/linux/wordsize-64/readdir.c: Likewise.
25230 * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h: Renamed to ...
25231 * bits/fcntl.h: ... here.
25233 * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h (O_NOCTTY): Define to 0x8000,
25235 (O_ASYNC, O_FSYNC, O_SYNC): Move outside [__USE_MISC].
25236 [__USE_XOPEN2K8] (O_DIRECTORY, O_NOFOLLOW, O_CLOEXEC): New macros.
25237 (FCREAT, FEXCL, FTRUNC, FNOCTTY, FNONBLOCK): Macros removed.
25238 (struct flock): Move l_start, l_len to the beginning.
25239 Use __pid_t for l_pid.
25240 [__USE_XOPEN2K] (POSIX_FADV_NORMAL, POSIX_FADV_RANDOM): New macros.
25241 [__USE_XOPEN2K] (POSIX_FADV_SEQUENTIAL, POSIX_FADV_WILLNEED): Likewise.
25242 [__USE_XOPEN2K] (POSIX_FADV_DONTNEED, POSIX_FADV_NOREUSE): Likewise.
25243 (F_GETLK64, F_SETLK64, F_SETLKW64): New macros.
25244 [__USE_XOPEN2K8] (F_DUPFD_CLOEXEC): New macro.
25245 [__USE_LARGEFILE64] (struct flock64): New type.
25246 (F_GETOWN, F_SETOWN): Also define for [__USE_XOPEN2K8].
25248 * sysdeps/unix/bsd/bsd4.4/bits/dirent.h: Renamed to ...
25249 * bits/dirent.h: ... here.
25251 * sysdeps/unix/bsd/bsd4.4/bits/dirent.h
25252 [__INO_T_MATCHES_INO64_T] (_DIRENT_MATCHES_DIRENT64): New macro.
25254 2012-08-07 Joseph Myers <joseph@codesourcery.com>
25256 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
25257 Change from 2.6.0 to 2.6.16.
25258 * sysdeps/unix/sysv/linux/configure: Regenerated.
25259 * sysdeps/unix/sysv/linux/kernel-features.h
25260 (__ASSUME_POSIX_CPU_TIMERS): Define unconditionally.
25261 (__ASSUME_TGKILL): Define conditional on architectures, not kernel
25263 (__ASSUME_UTIMES): Likewise.
25264 (__ASSUME_CLONE_STOPPED): Remove.
25265 (__ASSUME_FADVISE64_64_SYSCALL): Define conditional on
25266 architectures, not kernel version.
25267 (__ASSUME_PROT_GROWSUPDOWN): Define unconditionally.
25268 (__ASSUME_NO_CLONE_DETACHED): Likewise.
25269 (__ASSUME_GETDENTS32_D_TYPE): Likewise.
25270 (__ASSUME_WAITID_SYSCALL): Likewise.
25271 [__sparc__ && __arch64__] (__ASSUME_STAT64_SYSCALL): Do not
25272 condition definition on __LINUX_KERNEL_VERSION >= 0x02060c.
25273 * README: State 2.6.16 as minimum Linux kernel version. Do not
25274 refer to older versions.
25276 2012-08-06 Roland McGrath <roland@hack.frob.com>
25278 * dirent/alphasort.c [_DIRENT_MATCHES_DIRENT64]:
25279 Define alphasort64 as an alias.
25280 * dirent/versionsort.c [_DIRENT_MATCHES_DIRENT64]:
25281 Define versionsort64 as an alias.
25282 * dirent/scandir.c [_DIRENT_MATCHES_DIRENT64]:
25283 Define scandir64 as an alias.
25284 * dirent/scandirat.c [_DIRENT_MATCHES_DIRENT64]:
25285 Define scandirat64 as an alias.
25286 * dirent/alphasort64.c (alphasort64):
25287 Conditionalize on [!_DIRENT_MATCHES_DIRENT64].
25288 * dirent/versionsort64.c: Likewise.
25289 * dirent/scandir64.c: Likewise.
25290 * dirent/scandirat64.c: Likewise.
25291 * sysdeps/wordsize-64/alphasort.c: File removed.
25292 * sysdeps/wordsize-64/alphasort64.c: File removed.
25293 * sysdeps/wordsize-64/scandir.c: File removed.
25294 * sysdeps/wordsize-64/scandir64.c: File removed.
25295 * sysdeps/wordsize-64/scandirat.c: File removed.
25296 * sysdeps/wordsize-64/scandirat64.c: File removed.
25297 * sysdeps/wordsize-64/versionsort.c: File removed.
25298 * sysdeps/wordsize-64/versionsort64.c: File removed.
25299 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: File removed.
25300 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: File removed.
25301 * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: File removed.
25302 * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: File removed.
25303 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: File removed.
25304 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: File removed.
25305 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: File removed.
25306 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: File removed.
25308 * bits/typesizes.h [__LP64__] (__INO_T_MATCHES_INO64_T): New macros.
25309 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
25310 [__s390x__] (__INO_T_MATCHES_INO64_T): New macro.
25311 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
25312 [defined __arch64__ || defined __sparcv9]
25313 (__INO_T_MATCHES_INO64_T): New macro.
25314 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
25315 [__x86_64__] (__INO_T_MATCHES_INO64_T): New macro.
25316 * bits/dirent.h (_DIRENT_MATCHES_DIRENT64): New macro.
25317 * sysdeps/unix/sysv/linux/bits/dirent.h
25318 [defined __OFF_T_MATCHES_OFF64_T && defined __INO_T_MATCHES_INO64_T]
25319 (_DIRENT_MATCHES_DIRENT64): New macro.
25321 * io/lockf.c [__OFF_T_MATCHES_OFF64_T]:
25322 Define lockf64 as an alias.
25323 * libio/fseeko.c [__OFF_T_MATCHES_OFF64_T]:
25324 Define fseeko64 as an alias.
25325 * libio/ftello.c [__OFF_T_MATCHES_OFF64_T]:
25326 Define ftello64 as an alias.
25327 * libio/iofgetpos.c [__OFF_T_MATCHES_OFF64_T]:
25328 Define _IO_fgetpos64 and fgetpos64 as aliases.
25329 * libio/iofsetpos.c [__OFF_T_MATCHES_OFF64_T]:
25330 Define _IO_fsetpos64 and fsetpos64 as aliases.
25331 * io/lockf64.c [!__OFF_T_MATCHES_OFF64_T]:
25332 Conditionalize body on this.
25333 * libio/fseeko64.c: Likewise.
25334 * libio/ftello64.c: Likewise.
25335 * libio/iofgetpos64.c: Likewise.
25336 * libio/iofsetpos64.c: Likewise.
25337 * sysdeps/wordsize-64/lockf.c: File removed.
25338 * sysdeps/wordsize-64/lockf64.c: File removed.
25339 * sysdeps/wordsize-64/fseeko.c: File removed.
25340 * sysdeps/wordsize-64/fseeko64.c: File removed.
25341 * sysdeps/wordsize-64/ftello.c: File removed.
25342 * sysdeps/wordsize-64/ftello64.c: File removed.
25343 * sysdeps/wordsize-64/iofgetpos.c: File removed.
25344 * sysdeps/wordsize-64/iofgetpos64.c: File removed.
25345 * sysdeps/wordsize-64/iofsetpos.c: File removed.
25346 * sysdeps/wordsize-64/iofsetpos64.c: File removed.
25347 * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: File removed.
25348 * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: File removed.
25349 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: File removed.
25350 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: File removed.
25351 * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: File removed.
25352 * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: File removed.
25353 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: File removed.
25354 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: File removed.
25355 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: File removed.
25356 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: File removed.
25358 * bits/typesizes.h [__LP64__] (__OFF_T_MATCHES_OFF64_T): New macro.
25359 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
25360 [__s390x__] (__OFF_T_MATCHES_OFF64_T): New macro.
25361 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
25362 [defined __arch64__ || defined __sparcv9]
25363 (__OFF_T_MATCHES_OFF64_T): New macro.
25364 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
25365 [__x86_64__] (__OFF_T_MATCHES_OFF64_T): New macro.
25366 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
25367 (__OFF_T_MATCHES_OFF64_T): New macro.
25369 2012-08-06 H.J. Lu <hongjiu.lu@intel.com>
25371 * stdlib/secure-getenv.c (__secure_getenv): Replace
25372 GLIBC_2_16 with GLIBC_2_17.
25374 2012-08-06 H.J. Lu <hongjiu.lu@intel.com>
25376 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Removed.
25377 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
25379 2012-08-03 David S. Miller <davem@davemloft.net>
25381 * sysdeps/sparc/fpu/libm-test-ulps: Update.
25383 2012-08-03 Joseph Myers <joseph@codesourcery.com>
25385 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_SECURE):
25387 (__ASSUME_CORRECT_SI_PID): Likewise.
25388 (__ASSUME_BRK_PAGE_ROUNDED): Likewise.
25389 (__ASSUME_TMPFS_NAME): Likewise.
25390 * sysdeps/unix/sysv/linux/dl-sysdep.c (frob_brk)
25391 [!__ASSUME_BRK_PAGE_ROUNDED]: Remove conditional code.
25392 * sysdeps/unix/sysv/linux/ldsodefs.h [__ASSUME_AT_SECURE]
25393 (HAVE_AUX_SECURE): Make definition unconditional.
25394 * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs)
25395 [!__ASSUME_TMPFS_NAME]: Remove conditional code.
25397 2012-08-03 Roland McGrath <roland@hack.frob.com>
25399 * sysdeps/mach/hurd/sys/param.h (MAXSYMLINKS): Macro removed.
25400 * sysdeps/mach/hurd/bits/local_lim.h (SYMLOOP_MAX): Macro removed.
25401 * sysdeps/mach/hurd/eloop-threshold.h: New file.
25402 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
25403 __eloop_threshold instead of SYMLOOP_MAX.
25405 * sysdeps/generic/eloop-threshold.h: New file.
25406 * stdlib/canonicalize.c (__realpath): Use __eloop_threshold instead
25408 * elf/chroot_canon.c (chroot_canon): Likewise.
25410 2012-08-03 Joseph Myers <joseph@codesourcery.com>
25413 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
25414 Change to 2.6.0 everywhere.
25415 * sysdeps/unix/sysv/linux/configure: Regenerated.
25416 * sysdeps/unix/sysv/linux/kernel-features.h
25417 (__ASSUME_SET_THREAD_AREA_SYSCALL): Remove.
25418 (__ASSUME_CLONE_THREAD_FLAGS): Condition on architectures, not
25420 (__ASSUME_POSIX_TIMERS): Define unconditionally.
25421 (__ASSUME_FUTEX_REQUEUE): Remove.
25422 (__ASSUME_STATFS64): Define unconditionally.
25423 (__ASSUME_AT_SECURE): Likewise.
25424 (__ASSUME_CORRECT_SI_PID): Likewise.
25425 (__ASSUME_TGKILL): Define without depending on kernel version for
25427 (__ASSUME_UTIMES): Likewise.
25428 (__ASSUME_SWAPCONTEXT_SYSCALL): Condition on architecture, not
25430 (__ASSUME_BRK_PAGE_ROUNDED): Define unconditionally.
25431 (__ASSUME_TMPFS_NAME): Likewise.
25432 * README: Update reference to Linux kernel versions.
25434 2012-08-02 Marek Polacek <polacek@redhat.com>
25437 * configure.in (libc_cv_asm_type_prefix): Remove test. Replace
25438 libc_cv_asm_type_prefix with %.
25439 * configure: Regenerated.
25440 * include/libc-symbols.h: Remove comment about
25441 ASM_TYPE_DIRECTIVE_PREFIX. Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
25442 (declare_symbol_alias_1_paste) [__ASSEMBLER__]: Do not define.
25443 (declare_symbol_alias_1_paste_1) [__ASSEMBLER__]: Likewise.
25444 (declare_symbol_alias_1_stringify) [!__ASSEMBLER__]: Likewise.
25445 (declare_symbol_alias_1_stringify_1) [!__ASSEMBLER__]: Likewise.
25446 * elf/tst-unique2mod2.c: Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
25447 [HAVE_ASM_UNIQUE_OBJECT]: Do not define S.
25448 [HAVE_ASM_UNIQUE_OBJECT]: Do not define _S.
25449 * elf/tst-unique2mod1.c: Likewise.
25450 * elf/tst-unique1mod2.c: Likewise.
25451 * elf/tst-unique1mod1.c: Likewise.
25452 * config.h.in: Do not undef ASM_TYPE_DIRECTIVE_PREFIX.
25453 * sysdeps/s390/s390-32/sysdep.h: Do not define ASM_TYPE_DIRECTIVE.
25454 Replace ASM_TYPE_DIRECTIVE with .type.
25455 * sysdeps/s390/s390-64/sysdep.h: Likewise.
25456 * sysdeps/i386/sysdep.h: Likewise.
25457 * sysdeps/x86_64/sysdep.h: Likewise.
25458 * sysdeps/sh/sysdep.h: Likewise.
25459 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
25460 Do not define ASM_TYPE_DIRECTIVE.
25461 * sysdeps/powerpc/sysdep.h: Likewise.
25462 * sysdeps/powerpc/powerpc32/sysdep.h:
25463 Replace ASM_TYPE_DIRECTIVE with .type.
25464 * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
25465 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
25466 * sysdeps/i386/fpu/e_powf.S: Likewise.
25467 * sysdeps/i386/fpu/e_expl.S: Likewise.
25468 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
25469 * sysdeps/i386/fpu/e_acosh.S: Likewise.
25470 * sysdeps/i386/fpu/e_pow.S: Likewise.
25471 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
25472 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
25473 * sysdeps/i386/fpu/s_expm1.S: Likewise.
25474 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
25475 * sysdeps/i386/fpu/e_log2.S: Likewise.
25476 * sysdeps/i386/fpu/e_log2l.S: Likewise.
25477 * sysdeps/i386/fpu/e_scalb.S: Likewise.
25478 * sysdeps/i386/fpu/e_powl.S: Likewise.
25479 * sysdeps/i386/fpu/e_log10f.S: Likewise.
25480 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
25481 * sysdeps/i386/fpu/e_logl.S: Likewise.
25482 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
25483 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
25484 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
25485 * sysdeps/i386/fpu/e_log2f.S: Likewise.
25486 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
25487 * sysdeps/i386/fpu/e_log.S: Likewise.
25488 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
25489 * sysdeps/i386/fpu/e_logf.S: Likewise.
25490 * sysdeps/i386/fpu/e_log10l.S: Likewise.
25491 * sysdeps/i386/fpu/e_atanh.S: Likewise.
25492 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
25493 * sysdeps/i386/fpu/e_log10.S: Likewise.
25494 * sysdeps/i386/fpu/s_frexp.S: Likewise.
25495 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
25496 * sysdeps/i386/fpu/s_asinh.S: Likewise.
25497 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
25498 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
25499 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Likewise.
25500 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
25501 * sysdeps/i386/i686/strtok.S: Likewise.
25502 * sysdeps/i386/i386-mcount.S: Likewise.
25503 * sysdeps/i386/strtok.S: Likewise.
25504 * sysdeps/x86_64/fpu/e_expl.S: Likewise.
25505 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
25506 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
25507 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
25508 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
25509 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
25510 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
25511 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
25512 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
25513 * sysdeps/x86_64/_mcount.S: Likewise.
25514 * sysdeps/x86_64/strtok.S: Likewise.
25515 * sysdeps/sh/_mcount.S: Likewise.
25517 2012-08-01 Roland McGrath <roland@hack.frob.com>
25519 * libio/iofopen.c: Include <fcntl.h>.
25520 [_LIBC] [!defined O_LARGEFILE || O_LARGEFILE == 0]
25521 (_IO_fopen64, fopen64): Define as aliases.
25522 * libio/iofopen64.c: Include <fcntl.h>.
25523 [!defined _LIBC || (defined O_LARGEFILE && O_LARGEFILE != 0)]:
25524 Conditionalize body on this.
25525 * sysdeps/wordsize-64/iofopen.c: File removed.
25526 * sysdeps/wordsize-64/iofopen64.c: File removed.
25528 2012-08-01 Marek Polacek <polacek@redhat.com>
25530 * libc/Makeconfig: Use elf in place of binfmt-subdir.
25531 Use dlfcn directly instead of a variable.
25532 (binfmt-subdir): Do not define.
25535 2012-08-01 Joseph Myers <joseph@codesourcery.com>
25537 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_FCNTL64):
25538 Remove all definitions.
25539 * sysdeps/unix/sysv/linux/i386/fcntl.c: Do not include
25540 <kernel-features.h>.
25541 [!__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
25542 (miss_F_GETOWN_EX): Remove all definitions.
25543 [NO_CANCELLATION && !__ASSUME_FCNTL64] (__fcntl_nocancel): Remove
25545 [!__ASSUME_FCNTL64]: Remove conditional code.
25546 [__ASSUME_FCNTL64]: Make code unconditional.
25547 * sysdeps/unix/sysv/linux/i386/lockf64.c: Do not include
25548 <kernel-features.h>.
25549 [__NR_fcntl64 && !__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
25550 (lockf64) [!__ASSUME_FCNTL64]: Remove conditional code.
25551 (lockf64) [__NR_fcntl64]: Make code unconditional.
25552 (lockf64) [__ASSUME_FCNTL64]: Likewise.
25554 * sysdeps/unix/sysv/linux/kernel-features.h
25555 (__ASSUME_VFORK_SYSCALL): Remove all definitions.
25556 * sysdeps/unix/sysv/linux/i386/vfork.S (__vfork) [__NR_vfork]:
25557 Make code unconditional.
25558 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
25559 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
25560 * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S (__vfork)
25561 [__NR_vfork]: Make code unconditional.
25562 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
25563 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
25564 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork)
25565 [__NR_vfork]: Make code unconditional.
25566 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
25567 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
25569 2012-08-01 Roland McGrath <roland@hack.frob.com>
25571 * sysdeps/generic/sys/param.h (NGROUPS): Define only if [NGROUPS_MAX].
25572 (MAXSYMLINKS): Define only if [SYMLOOP_MAX].
25574 * misc/mkstemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
25575 Define mkstemp64 as an alias.
25576 * misc/mkstemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
25577 Define mkstemps64 as an alias.
25578 * misc/mkostemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
25579 Define mkostemp64 as an alias.
25580 * misc/mkostemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
25581 Define mkostemps64 as an alias.
25582 * misc/mkstemp64.c [defined O_LARGEFILE && O_LARGEFILE != 0]:
25583 Conditionalize body on this.
25584 * misc/mkostemp64.c: Likewise.
25585 * misc/mkostemps64.c: Likewise.
25586 * misc/mkstemps64.c: Likewise.
25587 * sysdeps/wordsize-64/mkstemp64.c: File removed.
25588 * sysdeps/wordsize-64/mkostemp64.c: File removed.
25589 * sysdeps/wordsize-64/mkostemp.c: File removed.
25590 * sysdeps/wordsize-64/mkstemp.c: File removed.
25591 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: File removed.
25592 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: File removed.
25593 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: File removed.
25594 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: File removed.
25597 * sysdeps/unix/sysv/linux/syscalls.list: Add getrlimit/ugetrlimit line.
25598 * sysdeps/unix/sysv/linux/i386/getrlimit.c: File removed.
25599 * sysdeps/unix/sysv/linux/powerpc/getrlimit.c: File removed.
25600 * sysdeps/unix/sysv/linux/sh/getrlimit.c: File removed.
25602 * sysdeps/unix/make-syscalls.sh: Emit uses of the versioned_symbol and
25603 compat_symbol macros from <shlib-compat.h> rather than the underlying
25604 default_symbol_version and symbol_version macros, so that DEFAULT
25605 lines in shlib-versions are respected.
25606 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Likewise.
25608 2012-08-01 Florian Weimer <fweimer@redhat.com>
25610 * posix/unistd.h (setuid, setreuid, seteuid, setresuid):
25611 Declare with warn_unused_result.
25612 (setgid, setregid, setegid, setresgid): Likewise.
25613 * sysdeps/unix/sysv/linux/sys/fsuid.h (setfsuid, setfsgid):
25615 * WUR-REPORT: Remove set*id functions.
25617 2012-07-31 Pino Toscano <toscano.pino@tiscali.it>
25619 * sysdeps/mach/hurd/renameat.c: New file, mostly copied from rename.c.
25621 2012-07-31 Roland McGrath <roland@hack.frob.com>
25624 * include/sys/socket.h (__libc_accept, __libc_accept4):
25625 Add attribute_hidden.
25626 * socket/accept4.c (__libc_accept4): Remove libc_hidden_def.
25628 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Conditionalize
25630 * inet/getnetgrent_r.c (setup): Likewise.
25632 * sysdeps/generic/siglist.h: Put SIGWINCH under #ifdef.
25634 2012-07-31 David S. Miller <davem@davemloft.net>
25636 * sysdeps/sparc/fpu/libm-test-ulps: Update.
25638 2012-07-31 Joseph Myers <joseph@codesourcery.com>
25641 * math/s_clog.c (__clog): Use __log1p if larger part has absolute
25642 value between 1.0 and 2.0 and smaller part has absolute value less
25644 * math/s_clog10.c (__clog10): Likewise.
25645 * math/s_clog10f.c (__clog10f): Likewise.
25646 * math/s_clog10l.c (__clog10l): Likewise.
25647 * math/s_clogf.c (__clogf): Likewise.
25648 * math/s_clogl.c (__clogl): Likewise.
25649 * math/libm-test.inc (clog_test): Add more tests.
25650 (clog10_test): Likewise.
25651 * sysdeps/i386/fpu/libm-test-ulps: Update.
25652 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25654 2012-07-31 Florian Weimer <fweimer@redhat.com>
25656 * stdlib/tst-secure-getenv.c: Use printf for error reporting.
25657 Exit with zero in case no suitable GID is found, and write a
25658 message to standard error.
25660 2012-07-30 Roland McGrath <roland@hack.frob.com>
25662 * sysdeps/generic/sys/param.h (MAXSYMLINKS): Define to SYMLOOP_MAX
25664 (NBBY, NGROUPS, CANBSIZ, NCARGS): New macros.
25665 (MAXPATHLEN): Removed.
25666 (NOGROUP, NODEV): New macros.
25667 (setbit, clrbit, isset, isclr): New macros.
25668 (howmany, roundup, powerof2): New macros.
25669 (DEV_BSIZE): New macro.
25671 * include/unistd.h: Add attribute_hidden on __libc_pwrite64.
25672 * sysdeps/posix/pwrite64.c: Remove libc_hidden_def (__libc_pwrite64).
25674 * sysdeps/ieee754/k_standard.c (__kernel_standard_l): Conditionalize
25675 definition on [!__NO_LONG_DOUBLE_MATH].
25677 * nss/nsswitch.c (__nss_lookup_function): Conditionalize use of
25678 PTR_MANGLE and PTR_DEMANGLE.
25680 * socket/accept4.c (accept4): Rename to __libc_accept4.
25681 Define accept4 as a weak alias.
25683 * sysdeps/posix/getcwd.c (__getcwd): Conditionalize d_type field use
25684 on [_DIRENT_HAVE_D_TYPE].
25685 * io/ftw.c (ftw_dir): Likewise.
25687 * io/xmknod.c (__xmknod): Don't check PATH for being null.
25689 * libio/genops.c (flush_cleanup): Move inside [_IO_MTSAFE_IO].
25691 * bits/signum.h (SIGSTOP, SIGCONT, SIGTSTP, SIGTTIN, SIGTTOU, SIGCHLD):
25692 Use the BSD numbers rather than the arbitrary ones we had.
25693 (SIGBUS, SIGIO, SIGPOLL, SIGPROF, SIGSYS): New macros.
25694 (SIGTRAP, SIGURG, SIGUSR1, SIGUSR2, SIGVTALRM): New macros.
25695 (SIGXCPU, SIGXFSZ): New macros.
25698 * elf/rtld.c (_rtld_global): Conditionalize .dl_ns[LM_ID_BASE]
25699 initializer on [_LIBC_REENTRANT].
25701 * iconv/iconv_charmap.c (charmap_conversion): Move ST, ADDR
25702 definitions inside [_POSIX_MAPPED_FILES].
25704 * posix/regex.c: Include <sys/param.h> for MIN/MAX.
25706 * dirent/opendir.c: Include <fcntl.h>.
25708 * bits/libc-lock.h (__libc_setspecific): Evaluate arguments.
25709 (__libc_getspecific): Likewise.
25710 (__libc_key_create): Likewise.
25712 * stdio-common/tmpfile64.c: Include <fcntl.h> first.
25713 [defined O_LARGEFILE && O_LARGEFILE != 0]: Conditionalize on this.
25714 * stdio-common/tmpfile.c [!defined O_LARGEFILE || O_LARGEFILE == 0]
25715 (tmpfile64): Define as alias.
25716 * sysdeps/wordsize-64/tmpfile.c: File removed.
25717 * sysdeps/wordsize-64/tmpfile64.c: File removed.
25718 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: File removed.
25719 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: File removed.
25721 * stdio-common/vfscanf.c: Include <stdbool.h>.
25722 * nss/makedb.c: Likewise.
25723 * stdio-common/_i18n_number.h: Likewise.
25724 * argp/argp-help.c: Likewise.
25725 * posix/wordexp.c: Likewise.
25726 * sysdeps/posix/spawni.c: Likewise.
25727 * nss/nss_files/files-initgroups.c: Likewise.
25728 * stdio-common/reg-modifier.c: Include <stdlib.h>.
25729 * nss/nss_files/files-initgroups.c: Likewise.
25730 * nss/nss_db/db-netgrp.c: Likewise.
25731 * nss/nss_db/db-initgroups.c: Likewise.
25732 * io/fchmodat.c: Include <sys/stat.h>.
25734 * sysdeps/generic/ldsodefs.h (struct rtld_global): Use
25735 __rtld_lock_define_recursive macro instead of __rtld_lock_recursive_t.
25737 * intl/loadmsgcat.c (_nl_load_domain): Don't use MAP_FAILED outside of
25740 * bits/stat.h: Fix inclusion guard to accept _FCNTL_H too.
25741 Add multiple inclusion protection.
25743 2012-07-27 David S. Miller <davem@davemloft.net>
25745 * sysdeps/sparc/fpu/libm-test-ulps: Update.
25747 2012-07-27 Gary Benson <gbenson@redhat.com>
25750 * elf/rtld.c: Include <stap-probe.h>.
25751 (dl_main): Added static probes "init_start" and "init_complete".
25752 * elf/dl-load.c: Include <stap-probe.h>.
25753 (lose): Take new parameter "nsid".
25754 Added static probe "map_failed".
25755 (_dl_map_object_from_fd): Pass namespace id to lose.
25756 Added static probe "map_start".
25757 (open_verify): Pass namespace id to lose.
25758 * elf/dl-open.c: Include <stap-probe.h>.
25759 (dl_open_worker) Added static probes "map_complete", "reloc_start"
25760 and "reloc_complete".
25761 * elf/dl-close.c: Include <stap-probe.h>.
25762 (_dl_close_worker): Added static probes "unmap_start" and
25764 * elf/rtld-debugger-interface.txt: New file documenting the above.
25766 2012-07-26 Roland McGrath <roland@hack.frob.com>
25768 * sunrpc/rpc_hout.c (pdeclaration): Call f_print with a "%s" format
25769 rather than a string variable.
25770 * sunrpc/rpc_main.c (h_output): Likewise.
25771 * sunrpc/rpc_svcout.c (write_real_program): Likewise.
25773 2012-07-26 Pino Toscano <toscano.pino@tiscali.it>
25775 * inet/check_native.c: New file.
25777 2012-07-26 Joseph Myers <joseph@codesourcery.com>
25780 * math/s_clog.c (__clog): Use __log1p or direct log1p calculation
25781 if larger part has absolute value 1.0.
25782 * math/s_clog10.c (__clog10): Likewise.
25783 * math/s_clog10f.c (__clog10f): Likewise.
25784 * math/s_clog10l.c (__clog10l): Likewise.
25785 * math/s_clogf.c (__clogf): Likewise.
25786 * math/s_clogl.c (__clogl): Likewise.
25787 * math/libm-test.inc (clog_test): Add more tests.
25788 (clog10_test): Likewise.
25789 * sysdeps/i386/fpu/libm-test-ulps: Update.
25790 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25792 * elf/tst-auditmod1.c (pltenter): Remove all definitions of macro.
25793 (pltexit): Likewise.
25794 (La_regs): Likewise.
25795 (La_retval): Likewise.
25796 (int_retval): Likewise.
25797 Update #error for removed macros to refer only to definitions in
25799 * elf/tst-auditmod3b.c (pltenter): Remove all definitions of
25801 (pltexit): Likewise.
25802 (La_regs): Likewise.
25803 (La_retval): Likewise.
25804 (int_retval): Likewise.
25805 * elf/tst-auditmod4b.c (pltenter): Remove all definitions of
25807 (pltexit): Likewise.
25808 (La_regs): Likewise.
25809 (La_retval): Likewise.
25810 (int_retval): Likewise.
25811 * elf/tst-auditmod5b.c (pltenter): Remove all definitions of
25813 (pltexit): Likewise.
25814 (La_regs): Likewise.
25815 (La_retval): Likewise.
25816 (int_retval): Likewise.
25817 * elf/tst-auditmod6b.c (pltenter): Remove all definitions of
25819 (pltexit): Likewise.
25820 (La_regs): Likewise.
25821 (La_retval): Likewise.
25822 (int_retval): Likewise.
25823 * elf/tst-auditmod6c.c (pltenter): Remove all definitions of
25825 (pltexit): Likewise.
25826 (La_regs): Likewise.
25827 (La_retval): Likewise.
25828 (int_retval): Likewise.
25829 * elf/tst-auditmod7b.c (pltenter): Remove all definitions of
25831 (pltexit): Likewise.
25832 (La_regs): Likewise.
25833 (La_retval): Likewise.
25834 (int_retval): Likewise.
25835 * sysdeps/generic/tst-audit.h: Update comment to refer only to
25836 macro definitions in tst-audit.h.
25837 * sysdeps/i386/tst-audit.h: New file.
25838 * sysdeps/powerpc/powerpc32/tst-audit.h: Likewise.
25839 * sysdeps/powerpc/powerpc64/tst-audit.h: Likewise.
25840 * sysdeps/s390/s390-32/tst-audit.h: Likewise.
25841 * sysdeps/s390/s390-64/tst-audit.h: Likewise.
25842 * sysdeps/sh/tst-audit.h: Likewise.
25843 * sysdeps/sparc/sparc32/tst-audit.h: Likewise.
25844 * sysdeps/sparc/sparc64/tst-audit.h: Likewise.
25845 * sysdeps/x86_64/tst-audit.h: Likewise.
25847 2012-07-26 Andreas Jaeger <aj@suse.de>
25849 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Add __THROW for
25852 * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes): Add
25853 new value PTRACE_EVENT_SECCOMP from Linux 3.5.
25854 (__ptrace_setoptions): Add new value PTRACE_O_TRACESECCOMP, adjust
25856 * sysdeps/unix/sysv/linux/s390/bits/ptrace.h: Likewise.
25857 * sysdeps/unix/sysv/linux/sparc/bits/ptrace.h: Likewise.
25858 * sysdeps/unix/sysv/linux/powerpc/bits/ptrace.h: Likewise.
25860 * sysdeps/unix/sysv/linux/sys/epoll.h (EPOLLWAKEUP): Add new
25863 * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add
25865 (si_call_addr, si_syscall, si_arch): Define new macro.
25866 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Add
25868 (si_call_addr, si_syscall, si_arch): Define new marcro.
25869 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (siginfo_t): Add
25871 (si_call_addr, si_syscall, si_arch): Define new macro.
25872 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (struct): Add
25874 (si_call_addr, si_syscall, si_arch): Define new macro.
25876 2012-07-25 Joseph Myers <joseph@codesourcery.com>
25879 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
25880 Change to 2.4.21 where previously 2.4.1.
25881 * sysdeps/unix/sysv/linux/configure: Regenerated.
25882 * sysdeps/unix/sysv/linux/kernel-features.h [(__powerpc__ ||
25883 __sh__) && !__powerpc64__] (__ASSUME_FCNTL64): Do not condition on
25884 Linux kernel version.
25885 (__ASSUME_STD_AUXV): Remove.
25886 [__powerpc__] (__ASSUME_VFORK_SYSCALL): Do not condition on Linux
25888 [__powerpc__ && !__powerpc64] (__ASSUME_MMAP2_SYSCALL): Likewise.
25889 (__ASSUME_NEW_PRCTL_SYSCALL): Remove.
25890 (__ASSUME_FIXED_CLONE_SYSCALL): Likewise.
25891 (__ASSUME_NEW_RT_SIGRETURN_SYSCALL): Likewise.
25892 (__ASSUME_NETLINK_SUPPORT): Likewise.
25893 * nscd/gai.c [NEED_NETLINK && __ASSUME_NETLINK_SUPPORT == 0]
25894 (__no_netlink_support): Remove conditional definition.
25895 * sysdeps/unix/sysv/linux/check_pf.c (__no_netlink_support):
25897 (__check_pf) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
25898 [__ASSUME_NETLINK_SUPPORT]: Make code unconditional.
25899 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_NETLINK_SUPPORT]
25900 (if_nameindex_ioctl): Remove.
25901 (if_nameindex_netlink): Do not handle __no_netlink_support.
25902 (if_nameindex) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
25904 * sysdeps/unix/sysv/linux/ifaddrs.c [!__ASSUME_NETLINK_SUPPORT]:
25905 Remove conditional code.
25906 (__netlink_open) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
25908 (getifaddrs_internal) [__ASSUME_NETLINK_SUPPORT]: Make code
25910 [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
25911 [__ASSUME_NETLINK_SUPPORT] (freeifaddrs): Make code unconditional.
25912 * sysdeps/unix/sysv/linux/netlinkaccess.h (__no_netlink_support):
25914 * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c
25915 [!__ASSUME_STD_AUXV]: Remove conditional code.
25916 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone)
25917 [!__ASSUME_FIXED_CLONE_SYSCALL]: Remove conditional code.
25918 [__ASSUME_FIXED_CLONE_SYSCALL]: Make code unconditional.
25919 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c
25920 [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_mask_handler): Remove.
25921 (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
25923 [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
25924 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
25925 [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_nomask_handler): Remove.
25926 (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
25928 [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
25929 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
25930 (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
25932 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
25933 (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
25935 * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S
25936 (__novec_getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
25937 code unconditional.
25938 (__novec_getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
25940 (__getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
25942 (__getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
25944 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
25945 (__makecontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
25947 (__makecontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
25949 * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S
25950 (__novec_setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
25951 code unconditional.
25952 (__novec_setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
25954 (__setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
25956 (__setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
25958 * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S
25959 (__novec_swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
25960 code unconditional.
25961 (__novec_swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
25963 (__swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
25965 (__swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
25968 2012-07-25 Andreas Schwab <schwab@linux-m68k.org>
25970 * sysdeps/unix/sysv/linux/i386/accept4.S: Remove pseudo_end label.
25971 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: Likewise.
25972 * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
25973 * sysdeps/unix/sysv/linux/i386/epoll_pwait.S: Likewise.
25974 * sysdeps/unix/sysv/linux/i386/getcontext.S: Likewise.
25975 * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
25976 * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
25977 * sysdeps/unix/sysv/linux/i386/semtimedop.S: Likewise.
25978 * sysdeps/unix/sysv/linux/i386/setcontext.S: Likewise.
25979 * sysdeps/unix/sysv/linux/i386/socket.S: Likewise.
25980 * sysdeps/unix/sysv/linux/i386/swapcontext.S: Likewise.
25981 * sysdeps/unix/sysv/linux/i386/syscall.S: Likewise.
25982 * sysdeps/unix/sysv/linux/i386/sysdep.h (PSEUDO): Likewise.
25983 * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
25984 * sysdeps/unix/sysv/linux/x86_64/clone.S: Likewise.
25985 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Likewise.
25986 * sysdeps/unix/sysv/linux/x86_64/setcontext.S: Likewise.
25987 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Likewise.
25988 * sysdeps/unix/sysv/linux/x86_64/syscall.S: Likewise.
25989 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PSEUDO): Likewise.
25990 * sysdeps/unix/sysv/linux/x86_64/swapcontext.S: Likewise.
25991 * sysdeps/unix/sysv/linux/x86_64/vfork.S: Likewise.
25992 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
25994 2012-07-25 Florian Weimer <fweimer@redhat.com>
25996 * Versions.def: Add GLIBC_2.17.
25997 * stdlib/stdlib.h: Rename __secure_getenv to secure_getenv.
25998 * include/stdlib.h: Rename __secure_getenv to secure_getenv.
25999 Introduce __libc_secure_getenv.
26000 * stdlib/Versions (2.17): Add secure_getenv
26001 (GLIBC_PRIVATE): Add __libc_secure_getenv.
26002 * stdlib/secure-getenv.c: Rename __secure_getenv to
26003 __libc_secure_getenv. Add secure_getenv alias. Add compatibility
26004 symbol __secure_getenv for GLIBC_2.0.
26005 * stdlib/tst-secure-getenv.c: New.
26006 * stdlib/Makefile (tests): Add testcase.
26007 * manual/startup.texi (Environment Access): Document
26009 * hesiod/hesiod.c (hesiod_init): Rename __secure_getenv to
26010 __libc_secure_getenv.
26011 * inet/ruserpass.c (ruserpass): Likewise.
26012 * malloc/mtrace.c (mtrace): Likewise.
26013 * sysdeps/mach/hurd/tmpfile.c (__tmpfile): Likewise.
26014 * sysdeps/posix/libc_fatal.c (__libc_fatal): Likewise.
26015 * sysdeps/posix/sysconf.c (__sysconf__check_spec): Likewise.
26016 * sysdeps/posix/tempname.c: Likewise. Evaluate
26017 HAVE_SECURE_GETENV.
26018 * sysdeps/unix/sysv/linux/libc_fatal.c (__libc_message): Rename
26019 __secure_getenv to __libc_secure_getenv.
26020 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add secure_getenv.
26021 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
26023 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
26025 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
26026 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
26027 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
26028 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
26029 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
26030 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
26031 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
26033 2012-07-25 Joseph Myers <joseph@codesourcery.com>
26035 * sysdeps/generic/ldsodefs.h (struct La_i86_regs): Remove.
26036 (struct La_i86_retval): Likewise.
26037 (struct La_x86_64_regs): Likewise.
26038 (struct La_x86_64_retval): Likewise.
26039 (struct La_x32_regs): Likewise.
26040 (struct La_x32_retval): Likewise.
26041 (struct La_ppc32_regs): Likewise.
26042 (struct La_ppc32_retval): Likewise.
26043 (struct La_ppc64_regs): Likewise.
26044 (struct La_ppc64_retval): Likewise.
26045 (struct La_sh_regs): Likewise.
26046 (struct La_sh_retval): Likewise.
26047 (struct La_s390_32_regs): Likewise.
26048 (struct La_s390_32_retval): Likewise.
26049 (struct La_s390_64_regs): Likewise.
26050 (struct La_s390_64_retval): Likewise.
26051 (struct La_sparc32_regs): Likewise.
26052 (struct La_sparc32_retval): Likewise.
26053 (struct La_sparc64_regs): Likewise.
26054 (struct La_sparc64_retval): Likewise.
26055 (struct audit_ifaces): Remove architecture-specific pltenter and
26057 * sysdeps/i386/ldsodefs.h: New file.
26058 * sysdeps/powerpc/ldsodefs.h: Likewise.
26059 * sysdeps/s390/ldsodefs.h: Likewise.
26060 * sysdeps/sh/ldsodefs.h: Likewise.
26061 * sysdeps/sparc/ldsodefs.h: Likewise.
26062 * sysdeps/x86_64/ldsodefs.h: Likewise.
26064 2012-07-25 Marek Polacek <polacek@redhat.com>
26067 * math/libm-test.inc (yn_test): Add another test.
26068 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Set errno
26069 to ERANGE when the result is +-Inf.
26070 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
26071 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_ynf): Likewise.
26072 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Likewise.
26073 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_yn): Likewise.
26075 2012-07-24 Joseph Myers <joseph@codesourcery.com>
26077 * conform/data/time.h-data (NULL): Use macro-constant. Require
26079 (CLOCKS_PER_SEC): Use macro instead of constant. Specify type as
26081 [ISO11] (TIME_UTC): Use macro-int-constant. Require value > 0.
26083 2012-07-23 Thomas Schwinge <thomas@codesourcery.com>
26085 * configure.in <sysdeps resolving>: Correct printing
26087 * configure: Regenerate.
26089 2012-07-22 Thomas Schwinge <thomas@codesourcery.com>
26091 * math/w_ilogb.c: Include <limits.h>.
26092 * math/w_ilogbl.c: Likewise.
26094 2012-07-20 Joseph Myers <joseph@codesourcery.com>
26096 * manual/lang.texi (__va_copy): Document primarily as ISO C99
26097 va_copy. Document allowing for unavailable va_copy only as
26098 pre-C99 compatibility.
26099 * manual/string.texi (Copying and Concatenation): Use va_copy
26100 instead of __va_copy in concat example.
26102 2012-07-20 Pino Toscano <toscano.pino@tiscali.it>
26104 * sysdeps/mach/hurd/sendto.c (create_address_port): New subroutine.
26105 (__sendto): Use create_address_port. Initialize APORT and deallocate
26108 * sysdeps/mach/hurd/llistxattr.c: New file, copied from listxattr.c
26109 with O_NOLINK passed to __file_name_lookup.
26111 * sysdeps/mach/hurd/lremovexattr.c: New file, copied from removexattr.c
26112 with O_NOLINK passed to __file_name_lookup.
26114 * sysdeps/mach/hurd/getgroups.c: Return -1 and set EINVAL for
26115 negative N or less than NGIDS.
26117 * sysdeps/mach/hurd/getlogin_r.c: Make LOGIN non-static and change its
26118 type to string_t. Set ERANGE as errno and return it if NAME is not big
26119 enough. Use memcpy instead of strncpy.
26121 2012-07-20 Joseph Myers <joseph@codesourcery.com>
26123 * elf/Makefile (check-data): Remove.
26124 (localplt.data): New vpath directive.
26125 ($(objpfx)check-localplt.out): Use localplt.data from vpath
26126 instead of $(check-data).
26127 * scripts/data/localplt-generic.data: Move to ...
26128 * sysdeps/generic/localplt.data: ... here.
26129 * scripts/data/localplt-i386-linux-gnu.data: Move to ...
26130 * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: ... here.
26131 * scripts/data/localplt-powerpc-linux-gnu.data: Move to ...
26132 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
26134 * scripts/data/localplt-powerpc64-linux-gnu.data: Move to ...
26135 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
26137 * scripts/data/localplt-s390-linux-gnu.data: Move to ...
26138 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data:
26140 * scripts/data/localplt-s390x-linux-gnu.data: Move to ...
26141 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
26143 * scripts/data/localplt-sparc-linux-gnu.data: Move to ...
26144 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data:
26146 * scripts/data/localplt-sparc64-linux-gnu.data: Move to ...
26147 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data:
26150 2012-07-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
26152 * sysdeps/powerpc/tls-macros.h: Split PowerPC definitions in
26153 PPC32 and PPC64 files.
26154 * sysdeps/powerpc/powerpc32/tls-macros.h: New file.
26155 * sysdeps/powerpc/powerpc64/tls-macros.h: Likewise.
26157 2012-07-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
26159 * sysdeps/unix/sysv/linux/s390/s390-32/makecontext.c: Move
26160 __makecontext_ret to ...
26161 * sysdeps/unix/sysv/linux/s390/s390-32/__makecontext_ret.S:
26162 ... here and call exit if uc_link is NULL. New file.
26163 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile: Add
26164 __makecontext_ret.S.
26165 * sysdeps/unix/sysv/linux/s390/s390-64/makecontext.c: Move
26166 __makecontext_ret to ...
26167 * sysdeps/unix/sysv/linux/s390/s390-64/__makecontext_ret.S:
26168 ... here and call exit if uc_link is NULL. New file.
26169 * sysdeps/unix/sysv/linux/s390/s390-64/Makefile: Add
26170 __makecontext_ret.S.
26172 2012-07-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
26174 * elf/elf.h (R_390_IRELATIVE): New definition.
26175 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Invoke the
26176 resolver function for IFUNC symbols. Support R_390_IRELATIVE.
26177 (elf_machine_lazy_rel): Support R_390_IRELATIVE.
26178 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
26179 (elf_machine_lazy_rel): Likewise.
26180 * sysdeps/s390/dl-irel.h: New file.
26181 * sysdeps/s390/s390-64/memcpy.S: New asm code.
26182 * sysdeps/s390/s390-64/memset.S: New asm code.
26183 * sysdeps/s390/s390-64/memcmp.S: New asm code.
26184 * sysdeps/s390/s390-64/multiarch/memset.S: New file.
26185 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: New file.
26186 * sysdeps/s390/s390-64/multiarch/memcmp.S: New file.
26187 * sysdeps/s390/s390-64/multiarch/memcpy.S: New file.
26188 * sysdeps/s390/s390-64/multiarch/Makefile: New file.
26189 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: New file.
26190 * sysdeps/s390/s390-32/multiarch/Makefile: New file.
26191 * sysdeps/s390/s390-32/multiarch/memcmp.S: New file.
26192 * sysdeps/s390/s390-32/multiarch/memcpy.S: New file.
26193 * sysdeps/s390/s390-32/multiarch/memset.S: New file.
26194 * sysdeps/s390/s390-32/memcpy.S: New asm code.
26195 * sysdeps/s390/s390-32/memset.S: New asm code.
26196 * sysdeps/s390/s390-32/memcmp.S: New asm code.
26198 2012-07-17 Marek Polacek <polacek@redhat.com>
26201 * sysdeps/s390/s390-32/configure.in: Remove TLS check.
26202 * sysdeps/s390/s390-64/configure.in: Likewise.
26203 * sysdeps/sparc/configure.in: Likewise.
26204 * sysdeps/powerpc/powerpc32/configure.in: Likewise.
26205 * sysdeps/powerpc/powerpc64/configure.in: Likewise.
26206 * sysdeps/i386/configure.in: Likewise.
26207 * sysdeps/x86_64/configure.in: Likewise.
26208 * sysdeps/sh/configure.in: Likewise.
26209 * sysdeps/s390/s390-32/configure: Regenerated.
26210 * sysdeps/s390/s390-64/configure: Likewise.
26211 * sysdeps/x86_64/configure: Likewise.
26212 * sysdeps/sh/configure: Likewise.
26213 * sysdeps/powerpc/powerpc64/configure: Likewise.
26214 * sysdeps/powerpc/powerpc32/configure: Likewise.
26215 * sysdeps/sparc/configure: Likwise.
26216 * sysdeps/i386/configure: Likewise.
26218 * elf/dl-open.c: Comment fixes.
26220 2012-07-17 Joseph Myers <joseph@codesourcery.com>
26222 * Makefile [CXX] (check-data): Remove.
26223 [CXX] (c++-types.data): New vpath directive.
26224 [CXX] ($(objpfx)c++-types-check.out): Use c++-types.data from
26225 vpath. Do not allow for C++ type data being missing.
26226 * scripts/data/c++-types-alpha-linux-gnu.data: Move to
26227 ports/sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data.
26228 * scripts/data/c++-types-ia64-linux-gnu.data: Move to
26229 ports/sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data.
26230 * scripts/data/c++-types-i386-linux-gnu.data: Move to ...
26231 * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: ... here.
26232 * scripts/data/c++-types-powerpc-linux-gnu.data: Move to ...
26233 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
26235 * scripts/data/c++-types-powerpc64-linux-gnu.data: Move to ...
26236 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
26238 * scripts/data/c++-types-s390-linux-gnu.data: Move to ...
26239 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data:
26241 * scripts/data/c++-types-s390x-linux-gnu.data: Move to ...
26242 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data:
26244 * scripts/data/c++-types-sparc-linux-gnu.data: Move to ...
26245 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data:
26247 * scripts/data/c++-types-sparc64-linux-gnu.data: Move to ...
26248 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data:
26250 * scripts/data/c++-types-x32-linux-gnu.data: Move to ...
26251 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data:
26253 * scripts/data/c++-types-x86_64-linux-gnu.data: Move to ...
26254 * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: ... here.
26256 * elf/tls-macros.h (TLS_LE): Move architecture-specific
26257 definitions to architecture-specific files.
26258 (TLS_IE): Likewise.
26259 (TLS_LD): Likewise.
26260 (TLS_GD): Likewise.
26261 * sysdeps/i386/tls-macros.h: New file.
26262 * sysdeps/powerpc/tls-macros.h: Likewise.
26263 * sysdeps/s390/s390-32/tls-macros.h: Likewise.
26264 * sysdeps/s390/s390-64/tls-macros.h: Likewise.
26265 * sysdeps/sh/tls-macros.h: Likewise.
26266 * sysdeps/sparc/sparc32/tls-macros.h: Likewise.
26267 * sysdeps/sparc/sparc64/tls-macros.h: Likewise.
26268 * sysdeps/x86_64/tls-macros.h: Likewise.
26270 2012-07-17 Thomas Schwinge <thomas@codesourcery.com>
26272 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Preserve
26273 zero value for regular exit case.
26275 * sysdeps/unix/sysv/linux/x86_64/__start_context.S
26276 (__start_context): Preserve zero value for regular exit case.
26278 2012-07-17 Thomas Schwinge <thomas@codesourcery.com>
26279 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
26281 * manual/setjmp.texi (setcontext): Clarify normal process
26282 termination when uc_link is the null pointer.
26283 * stdlib/tst-makecontext.c (cf): Exercise this: remove explicit
26286 2012-07-16 Andreas Schwab <schwab@linux-m68k.org>
26288 * stdlib/bug-getcontext.c (do_test): Don't test FE_ALL_EXCEPT in
26289 preprocessor. Test for each exception mask separately.
26291 2012-07-16 Andreas Jaeger <aj@suse.de>
26293 * po/ru.po: Update from translation team.
26295 2012-07-15 Joseph Myers <joseph@codesourcery.com>
26297 * conform/data/string.h-data (NULL): Use macro-constant. Require
26299 [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
26300 (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
26301 (wcs*): Change to wcs[abcdefghijklmnopqrstuvwxyz]*.
26302 (mem[abcdefghijklmnopqrstuvwxyz]*): Allow.
26303 [ISO || ISO99 || ISO11] (*_t): Do not allow.
26305 2012-07-13 Andreas Jaeger <aj@suse.de>
26307 * po/fr.po: Update from translation team.
26309 2012-07-12 Marek Polacek <polacek@redhat.com>
26312 * math/libm-test.inc (yn_test): Add test for BZ #14173.
26313 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Correct
26316 2012-07-12 Joseph Myers <joseph@codesourcery.com>
26319 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
26320 Change to 2.4.1 where previously 2.4.0.
26321 * sysdeps/unix/sysv/linux/configure: Regenerated.
26322 * sysdeps/unix/sysv/linux/kernel-features.h [!__sh__]
26323 (__ASSUME_ST_INO_64_BIT): Do not condition definition on kernel
26325 [__i386__ || __sparc__] (__ASSUME_FCNTL64): Likewise.
26326 (__ASSUME_AT_CLKTCK): Remove.
26327 (__ASSUME_AT_PAGESIZE): Likewise.
26328 (__ASSUME_AT_XID): Likewise.
26329 (__ASSUME_GETDENTS64_SYSCALL): Define unconditionally.
26330 [__i386__] (__ASSUME_VFORK_SYSCALL): Define unconditionally.
26331 * sysdeps/unix/sysv/linux/ldsodefs.h (HAVE_AUX_XID): Define
26333 (HAVE_AUX_PAGESIZE): Likewise.
26334 * sysdeps/unix/sysv/linux/prof-freq.c (__profile_frequency)
26335 [__ASSUME_AT_CLKTCK]: Make code unconditional.
26336 [!__ASSUME_AT_CLKTCK]: Remove conditional code.
26338 2012-07-12 Jeroen van Bemmel <jvb127@gmail.com>
26341 * sysdeps/posix/getaddrinfo.c (gaih_inet): Increase the size of
26342 the temporary buffer used to invoke __gethostbyname2_r,
26343 __gethostbyaddr_r and gethostbyname4_r to make room for struct
26344 host_data / struct gaih_addrtuple.
26345 * resolv/nss_dns/dns-host.c (global scope): Move definition of
26346 implementation constants MAX_NR_ALIASES and MAX_NR_ADDRS to
26347 header file nss/nsswitch.h.
26348 * nss/nsswitch.h (global scope): Add definition of implementation
26349 constants MAX_NR_ALIASES and MAX_NR_ADDRS (moved from
26350 resolv/nss_dns/dns-host.c).
26352 2012-07-11 Andreas Jaeger <aj@suse.de>
26354 * po/fr.po: Update from translation team.
26356 * po/sv.po: Update from translation team
26357 * po/fr.po: Another update from translation team.
26359 2012-07-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
26361 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Do not call sinh and cosh
26362 for subnormals or multiply small sinh result by itself.
26363 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
26364 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
26366 2012-07-11 David S. Miller <davem@davemloft.net>
26368 * sysdeps/sparc/fpu/libm-test-ulps: Update.
26370 2012-07-10 Andreas Schwab <schwab@linux-m68k.org>
26373 * misc/sys/syslog.h (LOG_MAKEPRI): Don't shift first argument.
26374 (INTERNAL_MARK): Shift it here.
26376 2012-07-10 Marek Polacek <polacek@redhat.com>
26379 * configure.in (libc_cv_asm_global_directive): Remove test. Replace
26380 libc_cv_asm_global_directive with .globl.
26381 * configure: Regenerated.
26382 * sysdeps/i386/configure.in: Replace libc_cv_asm_global_directive
26384 * sysdeps/i386/configure: Regenerated.
26385 * sysdeps/x86_64/configure.in: Replace libc_cv_asm_global_directive
26387 * sysdeps/x86_64/configure: Regenerated.
26388 * config.h.in: Do not undefine ASM_GLOBAL_DIRECTIVE.
26389 * include/libc-symbols.h: Replace ASM_GLOBAL_DIRECTIVE with .globl.
26390 * elf/tst-unique2mod2.c: Likewise.
26391 * elf/tst-unique2mod1.c: Likewise.
26392 * elf/tst-unique1mod2.c: Likewise.
26393 * elf/tst-unique1mod1.c: Likewise.
26394 * sysdeps/s390/s390-32/sysdep.h: Likewise.
26395 * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
26396 * sysdeps/s390/s390-64/sysdep.h: Likewise.
26397 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
26398 * sysdeps/mach/sysdep.h: Likewise.
26399 * sysdeps/i386/sysdep.h: Likewise.
26400 * sysdeps/i386/i386-mcount.S: Likewise.
26401 * sysdeps/x86_64/_mcount.S: Likewise.
26402 * sysdeps/x86_64/sysdep.h: Likewise.
26403 * sysdeps/sh/_mcount.S: Likewise.
26404 * sysdeps/sh/sysdep.h: Likewise.
26405 * sysdeps/powerpc/powerpc32/gprsave1.S: Likewise.
26406 * sysdeps/powerpc/powerpc32/fpu/fprrest.S: Likewise.
26407 * sysdeps/powerpc/powerpc32/fpu/fprsave.S: Likewise.
26408 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
26409 * sysdeps/powerpc/powerpc32/gprrest1.S: Likewise.
26410 * sysdeps/powerpc/powerpc32/gprsave0.S: Likewise.
26411 * sysdeps/powerpc/powerpc32/gprrest0.S: Likewise.
26412 * locale/localeinfo.h: Likewise.
26413 (_NL_CURRENT_DEFINE_STRINGIFY): Delete macro.
26414 (_NL_CURRENT_DEFINE_STRINGIFY_1): Likewise.
26416 2012-07-09 Roland McGrath <roland@hack.frob.com>
26419 * manual/charset.texi (Extended Char Intro): Word use fix, "operating
26421 * manual/message.texi (The Uniforum approach): Likewise.
26422 * manual/charset.texi (Extended Char Intro): Spelling fix, "affected".
26423 (glibc iconv Implementation): Likewise.
26425 2012-07-09 Joseph Myers <joseph@codesourcery.com>
26428 * math/s_clog.c (__clog): Avoid scaling a value down where that
26429 could result in underflow.
26430 * math/s_clog10.c (__clog10): Likewise.
26431 * math/s_clog10f.c (__clog10f): Likewise.
26432 * math/s_clog10l.c (__clog10l): Likewise.
26433 * math/s_clogf.c (__clogf): Likewise.
26434 * math/s_clogl.c (__clogl): Likewise.
26435 * math/libm-test.inc (clog_test): Add more tests.
26436 (clog10_test): Likewise.
26437 * sysdeps/i386/fpu/libm-test-ulps: Update.
26438 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26440 2012-07-06 Andreas Schwab <schwab@linux-m68k.org>
26443 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Shift
26444 by 7 not 8 to examine high bit of fractional part.
26447 * sysdeps/powerpc/powerpc32/ppc-mcount.S [SHARED]: Don't use PLT
26448 for call to __mcount_internal.
26449 * sysdeps/powerpc/powerpc32/Makefile (sysdep_routines)
26450 (shared-only-routines) [$(subdir) = gmon]: Add compat-ppc-mcount.
26451 * sysdeps/powerpc/powerpc32/compat-ppc-mcount.S: New file.
26453 2012-07-06 Joseph Myers <joseph@codesourcery.com>
26456 * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Use linear
26457 approximation for values within 0x1p-13f of an odd multiple of
26459 * math/libm-test.inc (tan_test): Do not allow spurious underflow
26460 exception. Add more tests.
26461 * sysdeps/i386/fpu/libm-test-ulps: Update.
26464 * sysdeps/i386/fpu/s_expm1.S (__expm1): Check for large negative
26465 inputs and return -1 for them. Do not check for +Inf in case not
26466 reachable for +Inf.
26467 * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
26468 * sysdeps/i386/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not define.
26469 (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
26470 and return -1 for them. Do not check for +Inf in case not
26471 reachable for +Inf.
26472 * sysdeps/x86_64/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not
26474 (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
26475 and return -1 for them. Do not check for +Inf in case not
26476 reachable for +Inf.
26477 * math/libm-test.inc (expm1_test): Add more tests. Do not allow
26478 spurious underflow.
26479 * sysdeps/i386/fpu/libm-test-ulps: Update.
26480 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26482 2012-07-06 Mike Frysinger <vapier@gentoo.org>
26484 * sunrpc/rpc_clntout.c: Change <rpc/types.h> to "rpc/types.h".
26486 2012-07-05 Joseph Myers <joseph@codesourcery.com>
26490 * math/s_csqrt.c (__csqrt): Avoid multiplying by 0.5 where this
26491 could result in spurious underflow. Scale down values above
26492 DBL_MAX / 4.0 instead of DBL_MAX / 2.0.
26493 * math/s_csqrtf.c (__csqrtf): Likewise.
26494 * math/s_csqrtl.c (__csqrtl): Likewise.
26495 * math/libm-test.inc (csqrt_test): Add more tests. Do not allow
26496 spurious underflow.
26497 * sysdeps/i386/fpu/libm-test-ulps: Update.
26498 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26500 2012-07-04 Andreas Schwab <schwab@linux-m68k.org>
26502 * catgets/Makefile ($(objpfx)de.msg): Use xopen-msg.awk instead of
26504 * catgets/xopen-msg.awk: New file.
26505 * catgets/xopen-msg.sed: Removed.
26507 * intl/Makefile ($(objpfx)msgs.h): Use po2test.awk instead of
26509 * intl/po2test.awk: New file.
26510 * intl/po2test.sed: Removed.
26512 2012-07-04 Joseph Myers <joseph@codesourcery.com>
26515 * math/s_ctan.c (__ctan): Do not call sinh and cosh for subnormals
26516 or multiply small sinh result by itself.
26517 * math/s_ctanf.c (__ctanf): Likewise.
26518 * math/s_ctanh.c (__ctanh): Likewise.
26519 * math/s_ctanhf.c (__ctanhf): Likewise.
26520 * math/s_ctanhl.c (__ctanhl): Likewise.
26521 * math/s_ctanl.c (__ctanl): Likewise.
26522 * math/libm-test.inc (ctan_test_tonearest): New function.
26523 (ctan_test_towardzero): Likewise.
26524 (ctan_test_downward): Likewise.
26525 (ctan_test_upward): Likewise.
26526 (ctanh_test_tonearest): Likewise.
26527 (ctanh_test_towardzero): Likewise.
26528 (ctanh_test_downward): Likewise.
26529 (ctanh_test_upward): Likewise.
26530 (main): Call these new functions.
26531 * sysdeps/i386/fpu/libm-test-ulps: Update.
26532 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26534 2012-07-03 Mike Frysinger <vapier@gentoo.org>
26536 * .gitignore: Delete /ports entry.
26538 2012-07-03 Andreas Jaeger <aj@suse.de>
26540 * po/bg.po: Update from translation team.
26541 * po/cs.po: Likewise.
26542 * po/de.po: Likewise.
26543 * po/hr.po: Likewise.
26544 * po/nl.pl: Likewise.
26545 * po/pl.po: Likewise.
26546 * po/vi.po: Likewise.
26548 2012-07-03 Joseph Myers <joseph@codesourcery.com>
26550 * Makeconfig [!+link] (+link-before-libc): New variable.
26551 [!+link] (+link-after-libc): Likewise.
26552 [!+link] (+link-tests): Likewise.
26553 [!+link] (+link): Define in terms of $(+link-before-libc) and
26554 $(+link-after-libc).
26555 [!+link-static] (+link-static-before-libc): New variable.
26556 [!+link-static] (+link-static-after-libc): Likewise.
26557 [!+link-static] (+link-static-tests): Likewise.
26558 [!+link-static] (+link-static): Define in terms of
26559 $(+link-static-before-libc) and $(+link-static-after-libc).
26560 [build-shared] (link-libc-before-gnulib): New variable.
26561 [build-shared] (link-libc-tests): Likewise.
26562 [build-shared] (link-libc): Define in terms of
26563 $(link-libc-before-gnulib).
26564 [!build-shared] (link-libc-tests): New variable.
26565 (link-libc-static-tests): New variable.
26566 [!gnulib] (gnulib-arch): New variable.
26567 [!gnulib] (gnulib-tests): Likewise.
26568 [!gnulib] (static-gnulib-arch): Likewise.
26569 [!gnulib] (static-gnulib-tests): Likewise.
26570 [!gnulib] (gnulib): Use $(gnulib-arch). Do not use $(libgcc_eh).
26571 Define with "=" instead of ":=".
26572 [!gnulib] (static-gnulib): Use $(static-gnulib-arch). Do not use
26573 -lgcc_eh $(libunwind). Define with "=" instead of ":=".
26574 * Rules (binaries-all-notests): New variable.
26575 (binaries-all-tests): Likewise.
26576 (binaries-static-notests): Likewise.
26577 (binaries-static-tests): Likewise.
26578 (binaries-all): Define using $(binaries-all-notests) and
26579 $(binaries-all-tests).
26580 (binaries-static): Define using $(binaries-static-notests) and
26581 $(binaries-static-tests).
26582 (binaries-shared-tests): New variable.
26583 (binaries-shared-notests): Likewise.
26584 (binaries-shared): Remove variable.
26585 ($(addprefix $(objpfx),$(binaries-shared-notests))): New rule.
26586 ($(addprefix $(objpfx),$(binaries-shared-tests))): Likewise.
26587 ($(addprefix $(objpfx),$(binaries-shared))): Remove rule.
26588 ($(addprefix $(objpfx),$(binaries-static-notests))): New rule.
26589 ($(addprefix $(objpfx),$(binaries-static-tests))): Likewise.
26590 ($(addprefix $(objpfx),$(binaries-static))): Remove rule.
26591 * elf/Makefile (sln-modules): New variable.
26592 (extra-objs): Add $(sln-modules:=.o).
26593 (ldconfig-modules): Add static-stubs.
26594 ($(objpfx)sln): Depend on $(sln-modules:%=$(objpfx)%.o).
26595 * elf/static-stubs.c: New file.
26598 * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f): Shift
26599 by 7 not 8 to examine high bit of fractional part. Use volatile
26600 variables when splitting into final array of floats if
26601 __FLT_EVAL_METHOD__ != 0.
26602 * math/libm-test.inc (cos_test): Add another test.
26603 (sin_test): Likewise.
26604 * sysdeps/i386/fpu/libm-test-ulps: Update.
26607 * math/libm-test.inc (cosh_test): Add more tests.
26609 * version.h (RELEASE): Set to "development".
26610 (VERSION): Set to "2.16.90".
26612 2012-06-30 Carlos O'Donell <carlos_odonell@mentor.com>
26614 * NEWS: Update copyright. Remove last-updated date.
26615 Mention math library bug fixes and timezone data changes.
26616 * README: Mention GNU/Hurd, x32, and HPPA support status.
26618 2012-06-28 Thomas Schwinge <thomas@codesourcery.com>
26620 * manual/contrib.texi (Contributors): Sort alphabetically by last name.
26622 2012-06-27 Andreas Jaeger <aj@suse.de>
26624 * manual/contrib.texi (Contributors): Add Samuel Thibault.
26626 2012-06-25 Andreas Jaeger <aj@suse.de>
26628 * sysdeps/s390/fpu/libm-test-ulps: Update.
26630 2012-06-23 Andreas Schwab <schwab@linux-m68k.org>
26631 Thomas Schwinge <thomas@codesourcery.com>
26633 * sysdeps/unix/sysv/linux/sh/syscalls.list: Add fanotify_mark.
26634 * sysdeps/unix/sysv/linux/sh/Versions (GLIBC_2.16): Add fanotify_mark.
26635 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist (GLIBC_2.16): Add
26638 2012-06-23 Thomas Schwinge <thomas@codesourcery.com>
26640 * sysdeps/mach/start.c: Remove file.
26641 * sysdeps/mach/hurd/i386/static-start.S: Fix start.S include.
26642 * sysdeps/i386/init-first.c: Fix comment regarding start.S.
26643 * sysdeps/sh/init-first.c: Likewise.
26645 * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Preserve r12 and pr
26646 registers for frame unwinding purposes, add CFI directives.
26647 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
26648 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Likewise
26649 * sysdeps/unix/sysv/linux/sh/sysdep.h (SYSCALL_ERROR_HANDLER):
26652 * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Don't plan for the call to
26653 __fortify_fail returning.
26654 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
26656 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S: New file, based on
26657 sysdeps/sh/____longjmp_chk.S.
26658 * sysdeps/unix/sysv/linux/sh/sigaltstack-offsets.sym: New file, based
26659 on sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym.
26660 * sysdeps/unix/sysv/linux/sh/Makefile [subdir=misc]
26661 (gen-as-const-headers): Append sigaltstack-offsets.sym.
26663 * sysdeps/sh/abort-instr.h: New file.
26664 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Terminate the
26665 process in case exit returns.
26667 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Always
26668 initialize the GOT register before use.
26670 * sysdeps/unix/sysv/linux/sh/makecontext.S (__makecontext): Fix
26671 calculation of ARGC > 4.
26673 * sysdeps/unix/sysv/linux/sh/makecontext.S: Add comments and give more
26674 meaningful names to some local labels.
26676 2012-06-22 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
26677 Kaz Kojima <kkojima@rr.iij4u.or.jp>
26679 * sysdeps/unix/sysv/linux/sh/bits/atomic.h
26680 (__arch_compare_and_exchange_val_8_acq): Remove explicit nop.
26681 (__arch_compare_and_exchange_val_16_acq): Likewise.
26682 (__arch_compare_and_exchange_val_32_acq): Likewise.
26683 (atomic_exchange_and_add): Fix gUSA sequence.
26684 (atomic_add): Likewise.
26685 (atomic_add_negative): Likewise.
26686 (atomic_add_zero): Likewise.
26687 (atomic_bit_test_set): Likewise.
26689 2012-06-22 Andreas Schwab <schwab@redhat.com>
26692 * include/link.h (struct link_map): Add l_free_initfini.
26693 * elf/dl-deps.c (_dl_map_object_deps): Set it when assigning
26695 * elf/dl-close.c (_dl_close_worker): Don't free l_initfini.
26696 * elf/rtld.c (dl_main): Clear it on all objects loaded on startup.
26697 * elf/dl-libc.c (free_mem): Free l_initfini if l_free_initfini is
26700 2012-06-22 Carlos O'Donell <carlos_odonell@mentor.com>
26702 * configure.in: Use AC_LANG_SOURCE.
26703 * configure: Regenerate.
26705 2012-06-22 Roland McGrath <roland@hack.frob.com>
26707 * configure.in (libc_cv_localstatedir): New substituted variable.
26708 * configure: Regenerated.
26709 * config.make.in (localstatedir): New variable, substituted from
26710 libc_cv_localstatedir.
26711 * Makeconfig (vardbdir): Use $(localstatedir) in place of /var.
26712 * sysdeps/gnu/configure.in (libc_cv_localstatedir): Change
26713 ${prefix}/var to /var when we change ${prefix}/etc to /etc.
26714 * sysdeps/gnu/configure: Regenerated.
26716 2012-06-21 Jeff Law <law@redhat.com>
26719 * intl/dcigettext.c (_nl_find_msg): Avoid use after potential
26720 free. Simplify list management for _LIBC case.
26722 2012-06-21 Joseph Myers <joseph@codesourcery.com>
26725 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c (__ieee754_cosh):
26726 Clear sign bit of 64-bit integer value before comparing against
26729 * sysdeps/mach/configure: Regenerated.
26731 2012-06-21 H.J. Lu <hongjiu.lu@intel.com>
26734 * sysdeps/i386/sysdep.h (SYSCALL_PIC_SETUP): Fix a typo.
26736 2012-06-21 Jeff Law <law@redhat.com>
26739 * elf/dl-deps.c (_dl_map_object_deps): Fix cycle detection. Use
26740 uint16_t for elements in the "seen" array to avoid char overflows.
26741 * elf/dl-fini.c (_dl_sort_fini): Likewise.
26742 * elf/dl-open.c (dl_open_worker): Likewise.
26744 2012-06-21 Carlos O'Donell <carlos_odonell@mentor.com>
26746 * scripts/list-sources.sh: Scan PORTS for translations.
26747 * po/libc.pot: Regenerated.
26749 2012-06-21 Andreas Jaeger <aj@suse.de>
26752 * sysdeps/s390/bits/byteswap-16.h (__bswap_16): Avoid -Wconversion
26754 * sysdeps/s390/bits/byteswap.h (__bswap_constant_16): Likewise.
26755 * bits/byteswap-16.h (__bswap_16): Likewise.
26756 * bits/byteswap.h (__bswap_constant_16): Likewise.
26758 2012-06-18 H.J. Lu <hongjiu.lu@intel.com>
26761 * sysdeps/i386/fpu_control.h: Removed.
26762 * sysdeps/x86_64/fpu_control.h: Moved to ...
26763 * sysdeps/x86/fpu_control.h: Here.
26765 * sysdeps/x86_64/fpu_control.h (_FPU_GETCW): Add __volatile__.
26766 (_FPU_SETCW): Likewise.
26768 2012-06-15 H.J. Lu <hongjiu.lu@intel.com>
26771 * sysdeps/i386/fpu/bits/mathinline.h: Renamed to ...
26772 * sysdeps/x86/fpu/bits/mathinline.h: This.
26773 * sysdeps/x86_64/fpu/bits/mathinline.h: Removed.
26777 * sysdeps/i386/fpu/bits/mathinline.h: Disable x87 inline
26778 functions if __x86_64__ is defined.
26780 2012-06-15 Chung-Lin Tang <cltang@codesourcery.com>
26782 * string/endian.h: Add !__ASSEMBLER__ condition for including
26783 conversion interfaces.
26785 2012-06-15 Joseph Myers <joseph@codesourcery.com>
26788 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use 0.0 instead
26789 of ABS(x) in calculating zero to negative powers other than odd
26791 * math/libm-test.inc (pow_test): Add more tests.
26793 2012-06-15 Andreas Jaeger <aj@suse.de>
26795 * manual/contrib.texi (Contributors): Update entry of Liubov
26796 Dmitrieva and add entries for Will Schmidt and Tulio Magno Quites
26799 2012-06-15 Cyril Hrubis <metan@ucw.cz>
26801 * string/string.h: Add __wur to GNU version of strerror_r.
26803 2012-06-14 H.J. Lu <hongjiu.lu@intel.com>
26806 * string/Makefile (tests): Add tst-strtok_r.
26807 * string/tst-strtok_r.c: New file.
26808 * sysdeps/x86_64/strtok.S: Use LP_SIZE on save_ptr and use
26809 RAX_LP/RDX_LP on SAVE_PTR.
26811 2012-06-14 Roland McGrath <roland@hack.frob.com>
26813 * manual/Makefile ($(objpfx)texis): Do $(make-target-directory).
26815 2012-06-14 Joseph Myers <joseph@codesourcery.com>
26817 * libm_test.inc (csqrt_test): Allow more spurious underflow
26819 (j0_test): Likewise.
26820 (j1_test): Likewise.
26821 (y0_test): Likewise.
26822 (y1_test): Likewise.
26824 2012-06-13 Carlos O'Donell <carlos_odonell@mentor.com>
26826 * po/Makefile (libc.pot): Use UTF-8 charset.
26828 2012-06-13 Paul Pluzhnikov <ppluzhnikov@google.com>
26831 Suppress sign-conversion warning from FD_SET.
26832 See <http://sourceware.org/ml/libc-alpha/2012-05/msg01794.html>.
26833 * debug/fdelt_chk.c (__fdelt_chk): Accept and return long int,
26834 not unsigned long int.
26835 * misc/bits/select2.h (__fdelt_chk, __fdelt_warn, __FD_ELT): Likewise.
26837 2012-06-12 H.J. Lu <hongjiu.lu@intel.com>
26841 * sysdeps/i386/fpu/bits/mathinline.h (__MATH_INLINE): Check
26842 __extern_always_inline instead of __extern_inline.
26843 (__signbitf): Support __SSE2_MATH__ and C++ namespace.
26844 (__signbit): Likewise.
26845 (__signbitl): Support C++ namespace.
26846 (lrintf): New inline function.
26848 (llrintf): Likewise.
26849 (llrint): Likewise.
26859 (floorf): Likewise.
26860 (nearbyint): Likewise.
26861 (nearbyintf): Likewise.
26863 2012-06-12 Thomas Schwinge <thomas@codesourcery.com>
26865 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Fix case for
26866 non-default versions.
26868 2012-06-11 Roland McGrath <roland@hack.frob.com>
26871 * manual/argp.texi (Argp): Reword argp_parse description slightly.
26873 2012-06-09 Thomas Schwinge <thomas@codesourcery.com>
26875 * sysdeps/sh/sh4/fpu/bits/fenv.h (__FE_UNDEFINED): Define.
26876 (FE_UPWARD, FE_DOWNWARD): Don't define.
26877 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Adapt to that.
26878 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
26880 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Do not re-write fpscr after
26882 * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
26883 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
26885 2012-06-09 Kaz Kojima <kkojima@rr.iij4u.or.jp>
26887 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
26888 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Refreshed.
26889 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Refreshed.
26890 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Refreshed.
26892 2012-06-06 H.J. Lu <hongjiu.lu@intel.com>
26895 * sysdeps/i386/fpu/bits/fenv.h: Removed.
26896 * sysdeps/i386/fpu/Implies: New file.
26897 * sysdeps/x86_64/fpu/Implies: Likewise.
26898 * sysdeps/x86_64/fpu/bits/fenv.h: Renamed to ...
26899 * sysdeps/x86/fpu/bits/fenv.h: This.
26901 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Check
26904 2012-06-06 Siddhesh Poyarekar <siddhesh@redhat.com>
26907 * iconvdata/ibm930.c (BODY) [FROM_LOOP]: Check for invalid
26908 character 0xffff that matches the last element of the
26911 2012-06-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
26913 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Fix for wrong ldbl128-ibm
26916 2012-06-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
26918 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Fix spurious underflow for
26919 values higher than 25.6283.
26921 2012-06-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
26923 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Fix
26924 subnormal exponent extraction and add some __builtin_expect.
26925 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_extract_mantissa):
26926 Fix for subnormal mantissa calculation.
26928 2012-06-04 Mike Frysinger <vapier@gentoo.org>
26930 * sysdeps/unix/sysv/linux/tst-getcpu.c (do_test): Call perror when
26931 cpu2 is -1 and errno is not ENOSYS.
26933 2012-06-04 H.J. Lu <hongjiu.lu@intel.com>
26936 * sysdeps/i386/i486/bits/string.h: Renamed to ...
26937 * sysdeps/x86/bits/string.h: This.
26938 * sysdeps/x86_64/bits/string.h: Removed.
26940 * sysdeps/i386/i486/bits/string.h: Define inline functions only
26941 if not compiling for x86-64, but compiling for >= i486.
26943 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Renamed to ...
26944 * sysdeps/unix/sysv/linux/x86/bits/sigcontext.h: This.
26946 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h (FP_XSTATE_MAGIC1):
26947 New macro from Linux kernel 3.4.0.
26948 (FP_XSTATE_MAGIC2): Likewise.
26949 (FP_XSTATE_MAGIC2_SIZE): Likewise.
26950 (X86_FXSR_MAGIC): New macro from Linux i386 kernel.
26951 (struct _fpx_sw_bytes): New struct.
26952 (struct _xsave_hdr): Likewise.
26953 (struct _ymmh_state): Likewise.
26954 (struct _xstate): Likewise.
26956 * sysdeps/unix/sysv/linux/i386/sys/debugreg.h: Removed.
26957 * sysdeps/unix/sysv/linux/i386/sys/reg.h: Likewise.
26958 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Renamed to ...
26959 * sysdeps/unix/sysv/linux/x86/sys/debugreg.h: This.
26960 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Renamed to ...
26961 * sysdeps/unix/sysv/linux/x86/sys/reg.h: This.
26963 * sysdeps/unix/sysv/linux/i386/sys/io.h: Removed.
26964 * sysdeps/unix/sysv/linux/x86_64/sys/io.h: Renamed to ...
26965 * sysdeps/unix/sysv/linux/x86/sys/io.h: This.
26966 * sysdeps/unix/sysv/linux/i386/sys/perm.h: Removed.
26967 * sysdeps/unix/sysv/linux/x86_64/sys/perm.h: Renamed to ...
26968 * sysdeps/unix/sysv/linux/x86/sys/perm.h: This.
26970 2012-06-04 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
26973 * sysdeps/powerpc/sys/platform/ppc.h: New file for PowerPC features.
26974 * sysdeps/powerpc/Makefile (tests): Add test-gettimebase.
26975 (sysdep_headers): Include sys/platform/ppc.h.
26976 * sysdeps/powerpc/test-gettimebase.c: Test for
26977 __ppc_get_timebase() to catch future ISA opcode/insn changes.
26978 * manual/Makefile (appendices): Include platform.texi.
26979 * manual/contrib.texi (Contributors): Update @node pointers.
26980 * manual/maint.texi (Maintenance): Likewise.
26981 (Platform): New node.
26982 * manual/platform.texi: New file. Document the new features.
26984 2012-06-04 Siddhesh Poyarekar <siddhesh@redhat.com>
26985 Jakub Jelinek <jakub@redhat.com>
26988 * misc/sys/cdefs.h (__glibc_unlikely): New macro to wrap cases
26989 where __builtin_expect is unavailable.
26991 2012-06-03 David S. Miller <davem@davemloft.net>
26993 * stdlib/longlong.h: Updated from GCC.
26995 2012-06-02 Andreas Schwab <schwab@linux-m68k.org>
26998 * sysdeps/powerpc/powerpc32/mcount.c: New file.
26999 * sysdeps/powerpc/powerpc32/Versions (GLIBC_2.16): Add
27001 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
27002 (GLIBC_2.16): Likewise.
27004 2012-06-01 H.J. Lu <hongjiu.lu@intel.com>
27006 * sysdeps/unix/sysv/linux/x86_64/sys/io.h (outsw): Fix a typo.
27008 2012-06-01 Joseph Myers <joseph@codesourcery.com>
27010 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Makefile
27011 (default-abi): New variable.
27012 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: New file.
27013 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile (default-abi): New
27015 * sysdeps/unix/sysv/linux/s390/s390-64/Makefile (default-abi):
27017 * sysdeps/unix/sysv/linux/sparc/sparc32/Makefile (default-abi):
27019 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile (default-abi):
27022 * Makeconfig [abi-variants && !default-abi] (default-abi): Remove
27023 definition. Document in comment.
27025 2012-06-01 David S. Miller <davem@davemloft.net>
27027 * stdlib/longlong.h: Updated from GCC.
27029 2012-06-01 H.J. Lu <hongjiu.lu@intel.com>
27032 * sysdeps/unix/sysv/linux/i386/Makefile (sysdep_headers):
27033 Don't add sys/elf.h sys/perm.h sys/reg.h sys/vm86.h
27034 sys/debugreg.h sys/io.h here.
27035 * sysdeps/unix/sysv/linux/x86/Makefile (sysdep_headers): Add
27036 sys/elf.h sys/perm.h sys/reg.h sys/vm86.h sys/debugreg.h
27038 * sysdeps/unix/sysv/linux/x86_64/Makefile (sysdep_headers):
27039 Don't add sys/perm.h sys/reg.h sys/debugreg.h sys/io.h here.
27040 * sysdeps/unix/sysv/linux/i386/sys/elf.h: Renamed to ...
27041 * sysdeps/unix/sysv/linux/x86/sys/elf.h: This.
27042 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Renamed to ...
27043 * sysdeps/unix/sysv/linux/x86/sys/vm86.h: This.
27045 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h (DR_LEN_8):
27046 Define only if __x86_64__ is defined.
27048 2012-06-01 Joseph Myers <joseph@codesourcery.com>
27051 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c (__ieee754_fmod):
27052 Use int64_t for variable i.
27053 * math/libm-test.inc (fmod_test): Add more tests.
27055 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Ensure temp + (double)
27056 z computation is not scheduled after fetestexcept.
27057 * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <math_private.h>.
27058 Use math_force_eval instead of asm to ensure calculation scheduled
27059 before exception test.
27060 * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <math_private.h>.
27061 Ensure a1 + u.d computation is not scheduled after fetestexcept.
27063 2012-06-01 Aurelien Jarno <aurelien@aurel32.net>
27065 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Ensure a1 + u.d
27066 computation is not scheduled after fetestexcept.
27068 2012-06-01 H.J. Lu <hongjiu.lu@intel.com>
27071 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Renamed to ...
27072 * sysdeps/unix/sysv/linux/x86/bits/wchar.h: This.
27074 2012-06-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
27076 * sysdeps/powerpc/fpu/k_cosf.c: Fix underflow generation.
27077 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
27079 2012-05-31 H.J. Lu <hongjiu.lu@intel.com>
27082 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Include
27084 (__WCHAR_MIN): Support __WORDSIZE == 64.
27085 (__WCHAR_MAX): Likewise.
27087 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: Renamed to ...
27088 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h: This.
27091 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__FSWORD_T_TYPE):
27092 Defined with __SWORD_TYPE if __x86_64__ isn't defined.
27095 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: Renamed to ...
27096 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: This.
27098 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h: Renamed to ...
27099 * sysdeps/unix/sysv/linux/x86/bits/stat.h: This.
27101 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_KERNEL):
27102 Defined to 1 if __x86_64__ isn't defined.
27103 (_STAT_VER_LINUX_OLD): New.
27104 (st_atime): Remove duplicate.
27105 (st_mtime): Likewise.
27106 (st_ctime): Likewise.
27108 2012-05-31 David S. Miller <davem@davemloft.net>
27110 * sysdeps/sparc/fpu/libm-test-ulps: Remove sqrt(2) and sqrt test
27113 2012-06-01 Andreas Schwab <schwab@linux-m68k.org>
27115 * sysdeps/powerpc/fpu/libm-test-ulps: Sort through
27119 * elf/dl-reloc.c: Include <_itoa.h>.
27120 (_dl_reloc_bad_type): Remove use of INTUSE.
27121 * elf/dl-minimal.c (_itoa, _itoa_lower_digits): Likewise.
27122 * stdio-common/_itoa.c (_itoa_word, _itoa): Likewise.
27123 * stdio-common/psiginfo.c (psiginfo): Likewise.
27124 * stdio-common/psignal.c (psignal): Likewise.
27125 * string/strsignal.c (strsignal): Likewise.
27126 * include/signal.h (_sys_siglist): Declare hidden proto.
27127 * stdio-common/itoa-digits.c: Include <_itoa.h>. Replace
27128 INTVARDEF with libc_hidden_data_def.
27129 * stdio-common/itoa-udigits.c: Likewise.
27130 * sysdeps/generic/_itoa.h (_itoa_upper_digits_internal)
27131 (_itoa_lower_digits_internal): Remove declaration.
27132 (_itoa_upper_digits, _itoa_lower_digits): Declare hidden proto.
27133 * sysdeps/gnu/siglist.c (_sys_siglist_internal)
27134 (_sys_sigabbrev_internal): Remove aliases.
27135 (_sys_siglist): Define hidden alias.
27137 2012-05-31 Markus Trippelsdorf <markus@trippelsdorf.de>
27139 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
27142 2012-05-31 H.J. Lu <hongjiu.lu@intel.com>
27145 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Renamed to ...
27146 * sysdeps/unix/sysv/linux/x86/bits/sysctl.h: This.
27148 * sysdeps/unix/sysv/linux/i386/sys/ucontext.h: Removed.
27149 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Renamed to ...
27150 * sysdeps/unix/sysv/linux/x86/sys/ucontext.h: This.
27151 * sysdeps/unix/sysv/linux/i386/sys/user.h: Removed.
27152 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Renamed to ...
27153 * sysdeps/unix/sysv/linux/x86/sys/user.h: This.
27155 * sysdeps/unix/sysv/linux/i386/sys/procfs.h: Removed.
27156 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Renamed to ...
27157 * sysdeps/unix/sysv/linux/x86/sys/procfs.h: This.
27159 * sysdeps/unix/sysv/linux/x86_64/sys/io.h (insb): Replace addr
27167 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Removed.
27168 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Renamed to ...
27169 * sysdeps/unix/sysv/linux/x86/bits/mman.h: This.
27171 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Renamed to ...
27172 * sysdeps/unix/sysv/linux/x86/bits/msq.h: This.
27173 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h: Renamed to ...
27174 * sysdeps/unix/sysv/linux/x86/bits/sem.h: This.
27175 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h: Renamed to ...
27176 * sysdeps/unix/sysv/linux/x86/bits/shm.h: This.
27178 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: Renamed to ...
27179 * sysdeps/unix/sysv/linux/x86/bits/ipctypes.h: This.
27181 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Renamed to ...
27182 * sysdeps/unix/sysv/linux/x86/bits/epoll.h: This.
27184 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Removed.
27185 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Renamed to ...
27186 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: This.
27188 * sysdeps/unix/sysv/linux/i386/bits/environments.h: Removed.
27189 * sysdeps/unix/sysv/linux/x86_64/bits/environments.h: Renamed
27191 * sysdeps/unix/sysv/linux/x86/bits/environments.h: This.
27193 * sysdeps/unix/sysv/linux/i386/bits/a.out.h: Removed.
27194 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Renamed to ...
27195 * sysdeps/unix/sysv/linux/x86/bits/a.out.h: This.
27197 * sysdeps/unix/sysv/linux/i386/sys/elf.h: Error when compiling
27199 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Likewise.
27201 2012-05-31 Joseph Myers <joseph@codesourcery.com>
27203 * math/math.h (M_El): Use two more decimal places.
27204 (M_LOG2El): Likewise.
27205 (M_LOG10El): Likewise.
27206 (M_LN2l): Likewise.
27207 (M_LN10l): Likewise.
27209 (M_PI_2l): Likewise.
27210 (M_PI_4l): Likewise.
27211 (M_1_PIl): Likewise.
27212 (M_2_PIl): Likewise.
27213 (M_2_SQRTPIl): Likewise.
27214 (M_SQRT2l): Likewise.
27215 (M_SQRT1_2l): Likewise.
27217 2012-05-31 David S. Miller <davem@davemloft.net>
27219 * sysdeps/sparc/sparc64/memcpy.S: Use fsrc2 to move 64-bit
27220 values between float registers.
27221 * sysdeps/sparc/sparc64/memset.S: Likewise.
27222 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
27224 2012-05-31 Mike Frysinger <vapier@gentoo.org>
27226 * debug/Makefile (CFLAGS-tst-longjmp_chk.c): Delete
27227 -D_FORTIFY_SOURCE=1.
27228 (CPPFLAGS-tst-longjmp_chk.c): Define.
27229 (CFLAGS-tst-longjmp_chk2.c): Delete -D_FORTIFY_SOURCE=1.
27230 (CPPFLAGS-tst-longjmp_chk2.c): Define.
27231 * wcsmbs/Makefile (CPPFLAGS-tst-wchar-h.c): Rename from
27232 CFLAGS-tst-wchar-h.c.
27234 2012-05-31 Marek Polacek <polacek@redhat.com>
27237 * include/mntent.h (__setmntent_internal, __getmntent_r_internal
27238 __endmntent_internal): Remove declaration.
27239 (__setmntent, __endmntent, __getmntent_r) [NOT_IN_libc]: Remove macro.
27240 (__setmntent, __endmntent, __getmntent_r): Declare hidden proto.
27241 * misc/mntent_r.c: Replace INTDEF with libc_hidden_def.
27243 2012-05-30 David S. Miller <davem@davemloft.net>
27245 * sysdeps/sparc/sparc32/soft-fp/q_util.c
27246 (___Q_simulate_exceptions): Use real FP ops rather than writing
27248 * sysdeps/sparc/sparc32/soft-fp/q_util.c (__Qp_handle_exceptions):
27251 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
27254 * sysdeps/x86_64/bits/xtitypes.h: Renamed to ...
27255 * sysdeps/x86/bits/xtitypes.h: This.
27257 * sysdeps/x86_64/bits/wordsize.h: Renamed to ...
27258 * sysdeps/x86/bits/wordsize.h: This.
27260 * sysdeps/i386/bits/huge_vall.h: Renamed to ...
27261 * sysdeps/x86/bits/huge_vall.h: This.
27263 * sysdeps/i386/bits/select.h: Removed.
27264 * sysdeps/x86_64/bits/select.h: Renamed to ...
27265 * sysdeps/x86/bits/select.h: This.
27267 * sysdeps/i386/bits/setjmp.h: Removed.
27268 * sysdeps/x86_64/bits/setjmp.h: Renamed to ...
27269 * sysdeps/x86/bits/setjmp.h: This.
27271 * sysdeps/i386/bits/mathdef.h: Removed.
27272 * sysdeps/x86_64/bits/mathdef.h: Renamed to ...
27273 * sysdeps/x86/bits/mathdef.h: This.
27275 2012-05-30 Andreas Schwab <schwab@linux-m68k.org>
27278 * include/sys/socket.h (__connect_internal)
27279 (__libc_sa_len_internal): Remove declaration.
27280 (__connect, __libc_sa_len): Declare hidden_proto.
27281 (SA_LEN): Remove use of INTUSE.
27282 * socket/connect.c: Add libc_hidden_def.
27283 * sysdeps/mach/hurd/connect.c: Replace INTDEF by libc_hidden_def.
27284 * sysdeps/unix/sysv/linux/sa_len.c: Likewise.
27285 * sysdeps/unix/inet/syscalls.list: Remove __connect_internal
27287 * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
27288 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Likewise.
27289 * sysdeps/unix/sysv/linux/connect.S: Use libc_hidden_weak instead
27290 of adding _internal alias.
27292 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
27295 * sysdeps/i386/bits/link.h: Removed.
27296 * sysdeps/i386/bits/linkmap.h: Likewise.
27297 * sysdeps/x86_64/bits/link.h: Renamed to ...
27298 * sysdeps/x86/bits/link.h: This.
27299 * sysdeps/x86_64/bits/linkmap.h: Renamed to ...
27300 * sysdeps/x86/bits/linkmap.h: This.
27302 * sysdeps/i386/bits/endian.h: Removed.
27303 * sysdeps/x86_64/bits/endian.h: Renamed to ...
27304 * sysdeps/x86/bits/endian.h: This.
27306 * sysdeps/i386/bits/byteswap.h: Removed.
27307 * sysdeps/i386/bits/byteswap-16.h: Likewise.
27308 * sysdeps/x86_64/bits/byteswap.h: Renamed to ...
27309 * sysdeps/x86/bits/byteswap.h: This.
27310 * sysdeps/x86_64/bits/byteswap-16.h: Renamed to ...
27311 * sysdeps/x86/bits/byteswap-16.h: This.
27312 * sysdeps/i386/Implies: Add x86.
27313 * sysdeps/x86_64/Implies: Likewise.
27315 2012-05-30 David S. Miller <davem@davemloft.net>
27317 * soft-fp/soft-fp.h (FP_CUR_EXCEPTIONS): Define.
27318 (FP_TRAPPING_EXCEPTIONS): Provide default implementation.
27319 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
27320 (FP_TRAPPING_EXCEPTIONS): Define.
27321 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
27322 (FP_TRAPPING_EXCEPTIONS): Define.
27323 * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Signal underflow for
27324 subnormals only when inexact has been signalled or underflow
27325 exceptions are enabled.
27326 (_FP_PACK_CANONICAL): Likewise.
27328 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
27331 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__NLINK_T_TYPE):
27332 Defined with __UWORD_TYPE if __x86_64__ isn't defined.
27334 2012-05-30 Richard Henderson <rth@twiddle.net>
27336 * sysdeps/unix/make-syscalls.sh: Protect symbol_version output
27337 with #ifndef NOT_IN_libc.
27339 * scripts/abilist.awk: Accept 8 fields. Handle Alpha functions
27340 marked to avoid plt entry.
27342 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
27345 * Makeconfig (default-abi): New macro.
27346 (abi-includes): Likewise.
27347 ($(common-objpfx)soversions.mk): Remove WORDSIZE check. Use
27348 $(abi-$(default-abi)-lib-soname) for soname if defined.
27349 ($(common-objpfx)gnu/lib-names.stmp): Generate from
27351 * Makefile (installed-stubs): Likewise.
27352 * include/stubs-biarch.h: Removed.
27353 * scripts/lib-names.awk: Only handle one library at a time.
27354 * scripts/soversions.awk: Remove WORDSIZE support.
27355 * shlib-versions: Remove WORDSIZE and i.86/s390x/powerpc64 ld
27357 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants):
27359 (syscall-list-default-condition): Likewise.
27360 (syscall-list-default-condition): Likewise.
27361 (syscall-list-includes): Likewise.
27362 ($(objpfx)bits/syscall%h $(objpfx)bits/syscall%d): Replace
27363 syscall-list-* with abi-*. Handle undefined abi-variants.
27364 * sysdeps/unix/sysv/linux/i386/Makefile (default-abi): New macro.
27365 * sysdeps/unix/sysv/linux/i386/Implies: New file.
27366 * sysdeps/unix/sysv/linux/x86/Makefile: Likewise.
27367 * sysdeps/unix/sysv/linux/x86_64/64/Makefile: Likewise.
27368 * sysdeps/unix/sysv/linux/x86_64/Implies: Add unix/sysv/linux/x86.
27369 * sysdeps/unix/sysv/linux/x86_64/Makefile (syscall-list-variants):
27371 (syscall-list-32-options): Likewise.
27372 (syscall-list-32-condition): Likewise.
27373 (syscall-list-64-options): Likewise.
27374 (syscall-list-64-condition): Likewise.
27375 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (default-abi): New
27377 * sysdeps/unix/sysv/linux/powerpc/Makefile (syscall-list-*):
27380 (abi-64-ld-soname): New macro.
27381 * sysdeps/unix/sysv/linux/s390/Makefile: Likewise.
27382 * sysdeps/unix/sysv/linux/sparc/Makefile (syscall-list-*):
27385 * sysdeps/x86_64/64/shlib-versions: Remove ld entry.
27386 * sysdeps/x86_64/x32/shlib-versions: Likewise.
27388 2012-05-30 Joseph Myers <joseph@codesourcery.com>
27390 * sysdeps/unix/sysv/linux/kernel-features.h
27391 (__ASSUME_TRUNCATE64_SYSCALL): Remove all definitions.
27392 * sysdeps/unix/sysv/linux/ftruncate64.c: Do not
27393 include <kernel-features.h>.
27394 [!__NR_ftruncate64]: Remove conditional code.
27395 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
27396 [__NR_ftruncate64]: Make code unconditional.
27397 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
27398 * sysdeps/unix/sysv/linux/truncate64.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/powerpc/powerpc32/ftruncate64.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/truncate64.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.
27417 * configure.in (libc_cv_fpie): Weaken to a compile test using
27418 LIBC_TRY_CC_OPTION.
27419 * configure: Regenerated.
27421 2012-05-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
27423 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Refreshed.
27424 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Refreshed.
27425 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Refreshed.
27426 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
27428 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Refreshed.
27429 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Refreshed.
27430 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Refreshed.
27431 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Refreshed.
27432 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Refreshed.
27433 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
27436 2012-05-27 David S. Miller <davem@davemloft.net>
27438 * sysdeps/sparc/sparc32/soft-fp/q_util.c (___Q_numbers): Delete.
27440 (__Q_simulate_exceptions): Return void. Change to simulate
27441 exceptions by writing into the %fsr.
27442 * sysdeps/sparc/sparc64/soft-fp/qp_util.c
27443 (__Qp_handle_exceptions): Likewise.
27445 * sysdeps/sparc/sparc64/soft-fp/Versions: Remove entry for
27446 __Qp_handle_exceptions.
27447 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Remove
27448 __Qp_handle_exceptions.
27449 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
27450 as unused and give dummy FP_RND_NEAREST initializer.
27451 (FP_INHIBIT_RESULTS): Define.
27452 (___Q_simulate_exceptions): Update declaration.
27453 (FP_HANDLE_EXCEPTIONS): Use ___Q_zero and tidy inline asm
27455 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
27456 as unused and give dummy FP_RND_NEAREST initializer.
27457 (__Qp_handle_exceptions): Update declaration.
27458 (FP_HANDLE_EXCEPTIONS, QP_NO_EXCEPTIONS): Tidy inline asm
27461 2012-05-27 Thomas Schwinge <thomas@codesourcery.com>
27463 * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Use fpu_control_t for
27464 the temporary FPU control word.
27465 * sysdeps/sh/sh4/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
27466 * sysdeps/sh/sh4/fpu/feenablxcpt.c (feenableexcept): Likewise.
27467 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise.
27468 * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
27469 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
27470 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Likewise.
27471 * sysdeps/sh/sh4/fpu/fesetenv.c (fesetenv): Likewise.
27472 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
27473 * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
27474 * sysdeps/sh/sh4/fpu/fsetexcptflg.c (fesetexceptflag): Likewise.
27475 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
27477 2012-05-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
27479 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Restore fpscr flag
27482 2012-05-27 Chung-Lin Tang <cltang@codesourcery.com>
27484 * sysdeps/sh/_mcount.S (_mount): Add CFI directives.
27485 * sysdeps/unix/sh/sysdep.S (__syscall_error): Likewise.
27486 * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S (__setcontext): Likewise.
27487 * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S (__swapcontext):
27489 * sysdeps/unix/sysv/linux/sh/sh4/setcontext.S (__setcontext): Likewise.
27490 * sysdeps/unix/sysv/linux/sh/sh4/swapcontext.S (__swapcontext):
27493 2012-05-27 Ulrich Drepper <drepper@gmail.com>
27495 * po/h.po: Update from translation team.
27497 2012-05-26 Andreas Schwab <schwab@linux-m68k.org>
27499 * sysdeps/powerpc/powerpc32/dl-irel.h: Include <ldsodefs.h>.
27501 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Optimize
27502 handling of denormals.
27503 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
27504 * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
27505 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
27506 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
27507 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
27508 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c (_logb): Likewise.
27509 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (_logbl):
27512 2012-05-26 Marek Polacek <polacek@redhat.com>
27515 * math/libm-test.inc (fma_test): Don't always expect underflow
27518 2012-05-26 Siddhesh Poyarekar <siddhesh@redhat.com>
27521 * elf/tst-execstack.c: Include stackinfo.h.
27522 (do_test): Adjust test case to ensure that pthread_getattr_np
27523 behaviour remains the same after marking stack executable.
27525 2012-05-25 Joseph Myers <joseph@codesourcery.com>
27527 * sysdeps/unix/sysv/linux/kernel-features.h
27528 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Remove all definitions.
27529 * sysdeps/unix/sysv/linux/i386/getrlimit.c: Do not include
27531 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
27532 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
27533 * sysdeps/unix/sysv/linux/i386/setrlimit.c Do not include
27535 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
27536 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
27538 2012-05-25 H.J. Lu <hongjiu.lu@intel.com>
27540 * configure.in: Define the default includes to being none.
27541 * configure: Regenerated.
27543 2012-05-25 Roland McGrath <roland@hack.frob.com>
27545 * sysdeps/x86_64/__longjmp.S: Add a static probe here.
27546 * sysdeps/x86_64/setjmp.S: Likewise.
27547 * sysdeps/i386/bsd-setjmp.S: Likewise.
27548 * sysdeps/i386/bsd-_setjmp.S: Likewise.
27549 * sysdeps/i386/setjmp.S: Likewise.
27550 * sysdeps/i386/__longjmp.S: Likewise.
27551 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
27552 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S: Likewise.
27554 * include/stap-probe.h: New file.
27555 * configure.in: Handle --enable-systemtap.
27556 * configure: Regenerated.
27557 * config.h.in (USE_STAP_PROBE): New #undef.
27558 * extra-lib.mk (CPPFLAGS-$(lib)): Add -DIN_LIB=$(lib).
27559 * elf/Makefile (CPPFLAGS-.os): Add -DIN_LIB=rtld.
27560 * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
27562 2012-05-25 Joseph Myers <joseph@codesourcery.com>
27565 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
27566 to 2.4.0 where earlier.
27567 * sysdeps/unix/sysv/linux/configure: Regenerated.
27568 * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
27569 <kernel-features.h>.
27570 [__ASSUME_32BITUIDS]: Make code unconditional.
27571 [!__ASSUME_32BITUIDS]: Remove conditional code.
27572 * sysdeps/unix/sysv/linux/i386/fchown.c: Do not include
27573 <kernel-features.h>.
27574 [__ASSUME_32BITUIDS]: Make code unconditional.
27575 [!__ASSUME_32BITUIDS]: Remove conditional code.
27576 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat)
27577 [__ASSUME_32BITUIDS]: Make code unconditional.
27578 (fchownat) [!__ASSUME_32BITUIDS]: Remove conditional code.
27579 * sysdeps/unix/sysv/linux/i386/getegid.c: Do not include
27580 <kernel-features.h>.
27581 [__ASSUME_32BITUIDS]: Make code unconditional.
27582 [!__ASSUME_32BITUIDS]: Remove conditional code.
27583 * sysdeps/unix/sysv/linux/i386/geteuid.c: Do not include
27584 <kernel-features.h>.
27585 [__ASSUME_32BITUIDS]: Make code unconditional.
27586 [!__ASSUME_32BITUIDS]: Remove conditional code.
27587 * sysdeps/unix/sysv/linux/i386/getgid.c: Do not include
27588 <kernel-features.h>.
27589 [__ASSUME_32BITUIDS]: Make code unconditional.
27590 [!__ASSUME_32BITUIDS]: Remove conditional code.
27591 * sysdeps/unix/sysv/linux/i386/getgroups.c: Do not include
27592 <kernel-features.h>.
27593 [__ASSUME_32BITUIDS]: Make code unconditional.
27594 [!__ASSUME_32BITUIDS]: Remove conditional code.
27595 * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
27596 <kernel-features.h>.
27597 [__ASSUME_32BITUIDS]: Make code unconditional.
27598 [!__ASSUME_32BITUIDS]: Remove conditional code.
27599 * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
27600 <kernel-features.h>.
27601 [__ASSUME_32BITUIDS]: Make code unconditional.
27602 [!__ASSUME_32BITUIDS]: Remove conditional code.
27603 * sysdeps/unix/sysv/linux/i386/getuid.c: Do not include
27604 <kernel-features.h>.
27605 [__ASSUME_32BITUIDS]: Make code unconditional.
27606 [!__ASSUME_32BITUIDS]: Remove conditional code.
27607 * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
27608 <kernel-features.h>.
27609 [__ASSUME_32BITUIDS]: Make code unconditional.
27610 [!__ASSUME_32BITUIDS]: Remove conditional code.
27611 * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
27612 <kernel-features.h>.
27613 [__ASSUME_32BITUIDS]: Make code unconditional.
27614 [!__ASSUME_32BITUIDS]: Remove conditional code.
27615 * sysdeps/unix/sysv/linux/i386/semctl.c: Do not include
27616 <kernel-features.h>.
27617 [__ASSUME_32BITUIDS]: Make code unconditional.
27618 [!__ASSUME_32BITUIDS]: Remove conditional code.
27619 * sysdeps/unix/sysv/linux/i386/setegid.c: Do not include
27620 <kernel-features.h>.
27621 [__NR_setresgid] (__setresgid): Do not declare.
27622 [__ASSUME_32BITUIDS]: Make code unconditional.
27623 [!__ASSUME_32BITUIDS]: Remove conditional code.
27624 * sysdeps/unix/sysv/linux/i386/seteuid.c: Do not include
27625 <kernel-features.h>.
27626 [__NR_setresuid] (__setresuid): Do not declare.
27627 [__ASSUME_32BITUIDS]: Make code unconditional.
27628 [!__ASSUME_32BITUIDS]: Remove conditional code.
27629 * sysdeps/unix/sysv/linux/i386/setfsgid.c: Do not include
27630 <kernel-features.h>.
27631 [__ASSUME_32BITUIDS]: Make code unconditional.
27632 [!__ASSUME_32BITUIDS]: Remove conditional code.
27633 * sysdeps/unix/sysv/linux/i386/setfsuid.c: Do not include
27634 <kernel-features.h>.
27635 [__ASSUME_32BITUIDS]: Make code unconditional.
27636 [!__ASSUME_32BITUIDS]: Remove conditional code.
27637 * sysdeps/unix/sysv/linux/i386/setgid.c: Do not include
27638 <kernel-features.h>.
27639 [__ASSUME_32BITUIDS]: Make code unconditional.
27640 [!__ASSUME_32BITUIDS]: Remove conditional code.
27641 * sysdeps/unix/sysv/linux/i386/setgroups.c: Do not include
27642 <kernel-features.h>.
27643 [__ASSUME_32BITUIDS]: Make code unconditional.
27644 [!__ASSUME_32BITUIDS]: Remove conditional code.
27645 * sysdeps/unix/sysv/linux/i386/setregid.c: Do not include
27646 <kernel-features.h>.
27647 [__ASSUME_32BITUIDS]: Make code unconditional.
27648 [!__ASSUME_32BITUIDS]: Remove conditional code.
27649 * sysdeps/unix/sysv/linux/i386/setresgid.c: Do not include
27650 <kernel-features.h>.
27651 [__ASSUME_32BITUIDS]: Make code unconditional.
27652 [!__ASSUME_32BITUIDS]: Remove conditional code.
27653 * sysdeps/unix/sysv/linux/i386/setresuid.c: Do not include
27654 <kernel-features.h>.
27655 [__ASSUME_32BITUIDS]: Make code unconditional.
27656 [!__ASSUME_32BITUIDS]: Remove conditional code.
27657 * sysdeps/unix/sysv/linux/i386/setreuid.c: Do not include
27658 <kernel-features.h>.
27659 [__ASSUME_32BITUIDS]: Make code unconditional.
27660 [!__ASSUME_32BITUIDS]: Remove conditional code.
27661 * sysdeps/unix/sysv/linux/i386/setuid.c: Do not include
27662 <kernel-features.h>.
27663 [__ASSUME_32BITUIDS]: Make code unconditional.
27664 [!__ASSUME_32BITUIDS]: Remove conditional code.
27665 * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
27666 <kernel-features.h>.
27667 [__ASSUME_32BITUIDS]: Make code unconditional.
27668 [!__ASSUME_32BITUIDS]: Remove conditional code.
27669 * sysdeps/unix/sysv/linux/kernel-features.h
27670 (__ASSUME_SETRESUID_SYSCALL): Remove.
27671 (__ASSUME_SETRESGID_SYSCALL): Likewise.
27672 (__ASSUME_32BITUIDS): Likewise.
27673 (__ASSUME_LDT_WORKS): Likewise.
27674 (__ASSUME_O_DIRECTORY): Likewise.
27675 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Define conditional on
27676 architecture but not kernel version.
27677 (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
27678 (__ASSUME_MMAP2_SYSCALL): Likewise.
27679 (__ASSUME_STAT64_SYSCALL): Likewise.
27680 (__ASSUME_IPC64): Likewise.
27681 * sysdeps/unix/sysv/linux/local-setxid.h: Do not include
27682 <kernel-features.h>.
27683 [__ASSUME_32BITUIDS]: Make code unconditional.
27684 [!__ASSUME_32BITUIDS]: Remove conditional code.
27685 * sysdeps/unix/sysv/linux/opendir.c: Do not include
27686 <kernel-features.h>.
27687 [__ASSUME_O_DIRECTORY]: Make code unconditional.
27688 * sysdeps/unix/sysv/linux/opensock.c [__LINUX_KERNEL_VERSION <
27689 132096]: Remove conditional code.
27690 [__LINUX_KERNEL_VERSION >= 132096]: Make code unconditional.
27691 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
27692 <kernel-features.h>.
27693 [__ASSUME_32BITUIDS]: Make code unconditional.
27694 [!__ASSUME_32BITUIDS]: Remove conditional code.
27695 * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
27696 <kernel-features.h>.
27697 [__ASSUME_32BITUIDS]: Make code unconditional.
27698 [!__ASSUME_32BITUIDS]: Remove conditional code.
27699 * sysdeps/unix/sysv/linux/setegid.c: Do not include
27700 <kernel-features.h>.
27701 [__NR_setresgid || __ASSUME_SETRESGID_SYSCALL]: Make code
27703 (__setresgid): Do not declare.
27704 [__ASSUME_32BITUIDS]: Make code unconditional.
27705 [!__ASSUME_32BITUIDS]: Remove conditional code.
27706 * sysdeps/unix/sysv/linux/seteuid.c: Do not include
27707 <kernel-features.h>.
27708 [__NR_setresuid || __ASSUME_SETRESUID_SYSCALL]: Make code
27710 (__setresuid): Do not declare.
27711 [__ASSUME_32BITUIDS]: Make code unconditional.
27712 [!__ASSUME_32BITUIDS]: Remove conditional code.
27713 * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
27714 <kernel-features.h>.
27715 [__ASSUME_32BITUIDS]: Make code unconditional.
27716 [!__ASSUME_32BITUIDS]: Remove conditional code.
27717 * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Do not include
27718 <kernel-features.h>.
27719 [__ASSUME_32BITUIDS]: Make code unconditional.
27720 [!__ASSUME_32BITUIDS]: Remove conditional code.
27722 2012-05-25 Richard Henderson <rth@twiddle.net>
27724 * sysdeps/powerpc/powerpc32/dl-irel.h (elf_ifunc_invoke): Pass
27725 dl_hwcap to ifunc resolver.
27726 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Use
27728 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_ifunc_invoke): Pass
27729 dl_hwcap to ifunc resolver.
27730 * sysdeps/powerpc/powerpc64/dl-machine.h (resolve_ifunc): Likewise.
27732 2012-05-24 Joseph Myers <joseph@codesourcery.com>
27735 * sysdeps/ieee754/flt-32/e_acosf.c (__ieee754_acosf): Return pi/2
27736 for |x| <= 2**-26, not 2**-57.
27737 * math/libm-test.inc (acos_test): Do not allow spurious underflow
27740 2012-05-24 Jeff Law <law@redhat.com>
27742 * stdio-common/Makefile (tests): Add bug25.
27743 * stdio-common/bug25.c: New test.
27745 2012-05-24 H.J. Lu <hongjiu.lu@intel.com>
27748 * malloc/malloc.c (sYSMALLOc): Free the old top chunk with a
27749 multiple of MALLOC_ALIGNMENT in size.
27750 (_int_free): Check chunk size is a multiple of MALLOC_ALIGNMENT.
27752 2012-05-24 Joseph Myers <joseph@codesourcery.com>
27754 * conform/data/stdio.h-data (BUFSIZ): Use macro-int-constant.
27756 (FILENAME_MAX): Use macro-int-constant.
27757 (FOPEN_MAX): Use macro-int-constant. Require >= 8.
27758 (_IOFBF): Use macro-int-constant.
27759 (_IOLBF): Likewise.
27760 (_IONBF): Likewise.
27761 (SEEK_CUR): Likewise.
27762 (SEEK_END): Likewise.
27763 (SEEK_SET): Likewise.
27764 (TMP_MAX): Likewise.
27765 (EOF): Use macro-int-constant. Require < 0.
27766 (NULL): Use macro-constant. Require == 0.
27767 (stdin): Require type to be FILE *.
27768 (stdout): Likewise.
27769 (stderr): Likewise.
27770 * conform/data/stdlib.h-data (EXIT_FAILURE): Use
27771 macro-int-constant.
27772 (EXIT_SUCCESS): Likewise.
27773 (NULL): Use macro-constant. Require == 0.
27774 (RAND_MAX): Use macro-int-constant.
27775 [ISO99 || ISO11] (lldiv_t): Require also for these standards.
27776 [C99-based standards] (strtof): Require function.
27777 [C99-based standards] (strtold): Likewise.
27778 [C99-based standards] (strtoll): Likewise.
27779 [C99-based standards] (strtoull): Likewise.
27780 [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
27781 [ISO || ISO99 || ISO11] (limits.h): Likewise.
27782 [ISO || ISO99 || ISO11] (math.h): Likewise.
27783 [ISO || ISO99 || ISO11] (sys/wait.h): Likewise.
27784 (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
27785 [ISO || ISO99 || ISO11] (*_t): Do not allow.
27787 2012-05-24 Andreas Schwab <schwab@linux-m68k.org>
27790 * argp/argp-help.c (dgettext) [_LIBC]: Remove use of INTUSE.
27791 * argp/argp-parse.c (dgettext) [_LIBC]: Likewise.
27792 * intl/dgettext.c (DCGETTEXT): Likewise.
27793 * intl/gettext.c (DCGETTEXT): Likewise.
27794 * intl/l10nflist.c (__argz_count, __argz_stringify): Likewise.
27795 * posix/regex_internal.h (gettext): Likewise.
27796 * include/libintl.h (__dcgettext_internal, __dcngettext_internal):
27797 Remove declaration.
27798 * include/argz.h (__argz_count_internal)
27799 (__argz_stringify_internal): Remove declaration.
27800 (__argz_count, __argz_stringify): Declare hidden proto.
27801 * intl/dcgettext.c: Remove use of INTDEF.
27802 * string/argz-count.c: Replace INTDEF with libc_hidden_def.
27803 * string/argz-stringify.c: Likewise.
27804 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
27805 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
27806 Declare hidden proto.
27807 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
27808 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
27809 Declare hidden proto.
27810 * include/stdio.h (__asprintf_internal): Don't declare.
27811 (__asprintf): Don't define as macro. Declare hidden proto.
27812 * include/stdio_ext.h (__fsetlocking_internal): Don't declare.
27813 (__fsetlocking): Declare hidden proto.
27814 * libio/iolibio.h (_IO_fdopen, _IO_fflush, _IO_ftell, _IO_fread)
27815 (_IO_fwrite, _IO_setbuffer, _IO_setvbuf, _IO_vsprintf): Declare
27817 (_IO_vprintf, _IO_freopen, _IO_freopen64, _IO_setbuf)
27818 (_IO_setlinebuf): Remove use of INTUSE.
27819 (_IO_setbuffer_internal, _IO_fread_internal, _IO_fdopen_internal)
27820 (_IO_vsprintf_internal, _IO_fflush_internal, _IO_fwrite_internal)
27821 (_IO_ftell_internal, _IO_fputs_internal, _IO_setvbuf_internal):
27822 Remove declaration.
27823 * libio/libioP.h (INTUSE, INTDEF, INTDEF2): Don't define.
27824 (_IO_do_flush): Remove use of INTUSE.
27825 (_IO_switch_to_get_mode, _IO_init, _IO_sputbackc, _IO_un_link)
27826 (_IO_link_in, _IO_doallocbuf, _IO_unsave_markers, _IO_setb)
27827 (_IO_adjust_column, _IO_least_wmarker)
27828 (_IO_switch_to_main_wget_area, _IO_switch_to_wbackup_area)
27829 (_IO_switch_to_wget_mode, _IO_wsetb, _IO_sputbackwc)
27830 (_IO_wdoallocbuf, _IO_default_uflow, _IO_wdefault_uflow)
27831 (_IO_default_doallocate, _IO_wdefault_doallocate)
27832 (_IO_default_finish, _IO_wdefault_finish, _IO_default_pbackfail)
27833 (_IO_wdefault_pbackfail, _IO_default_xsputn, _IO_wdefault_xsputn)
27834 (_IO_default_xsgetn, _IO_wdefault_xsgetn, _IO_do_write)
27835 (_IO_wdo_write, _IO_flush_all, _IO_flush_all_linebuffered)
27836 (_IO_file_doallocate, _IO_file_setbuf, _IO_file_seekoff)
27837 (_IO_file_xsputn, _IO_file_xsgetn, _IO_file_stat, _IO_file_close)
27838 (_IO_file_underflow, _IO_file_overflow, _IO_file_init)
27839 (_IO_file_attach, _IO_file_fopen, _IO_file_read, _IO_file_sync)
27840 (_IO_file_close_it, _IO_file_seek, _IO_file_finish)
27841 (_IO_wfile_xsputn, _IO_wfile_sync, _IO_wfile_underflow)
27842 (_IO_wfile_overflow, _IO_wfile_seekoff, _IO_str_underflow)
27843 (_IO_str_overflow, _IO_str_pbackfail, _IO_str_seekoff)
27844 (_IO_getline, _IO_getline_info, _IO_list_all): Declare hidden
27846 (_IO_flush_all_internal, _IO_adjust_column_internal)
27847 (_IO_default_uflow_internal, _IO_default_finish_internal)
27848 (_IO_default_pbackfail_internal, _IO_default_xsputn_internal)
27849 (_IO_default_xsgetn_internal, _IO_default_doallocate_internal)
27850 (_IO_wdefault_finish_internal, _IO_wdefault_pbackfail_internal)
27851 (_IO_wdefault_xsputn_internal, _IO_wdefault_xsgetn_internal)
27852 (_IO_wdefault_doallocate_internal, _IO_wdefault_uflow_internal)
27853 (_IO_file_doallocate_internal, _IO_file_setbuf_internal)
27854 (_IO_file_seekoff_internal, _IO_file_xsputn_internal)
27855 (_IO_file_xsgetn_internal, _IO_file_stat_internal)
27856 (_IO_file_close_internal, _IO_file_close_it_internal)
27857 (_IO_file_underflow_internal, _IO_file_overflow_internal)
27858 (_IO_file_init_internal, _IO_file_attach_internal)
27859 (_IO_file_fopen_internal, _IO_file_read_internal)
27860 (_IO_file_sync_internal, _IO_file_seek_internal)
27861 (_IO_file_finish_internal, _IO_wfile_xsputn_internal)
27862 (_IO_wfile_seekoff_internal, _IO_wfile_sync_internal)
27863 (_IO_str_underflow_internal, _IO_str_overflow_internal)
27864 (_IO_str_pbackfail_internal, _IO_str_seekoff_internal)
27865 (_IO_file_jumps_internal, _IO_wfile_jumps_internal)
27866 (_IO_list_all_internal, _IO_link_in_internal)
27867 (_IO_sputbackc_internal, _IO_wdoallocbuf_internal)
27868 (_IO_sgetn_internal, _IO_flush_all_linebuffered_internal)
27869 (_IO_switch_to_wget_mode_internal, _IO_unsave_markers_internal)
27870 (_IO_switch_to_main_wget_area_internal, _IO_wdo_write_internal)
27871 (_IO_do_write_internal, _IO_padn_internal)
27872 (_IO_getline_info_internal, _IO_getline_internal)
27873 (_IO_free_wbackup_area_internal, _IO_free_backup_area_internal)
27874 (_IO_switch_to_wbackup_area_internal, _IO_setb_internal)
27875 (_IO_sputbackwc_internal, _IO_switch_to_get_mode_internal)
27876 (_IO_vfscanf_internal, _IO_vfprintf_internal)
27877 (_IO_doallocbuf_internal, _IO_wsetb_internal, _IO_putc_internal)
27878 (_IO_init_internal, _IO_un_link_internal): Don't declare.
27879 * libio/fileops.c: Replace INTDEF with libc_hidden_def and INTDEF2
27880 with libc_hidden_ver, remove use of INTUSE.
27881 * libio/genops.c: Likewise.
27882 * libio/freopen.c: Likewise.
27883 * libio/freopen64.c: Likewise.
27884 * libio/iofclose.c: Likewise.
27885 * libio/iofdopen.c: Likewise.
27886 * libio/iofflush.c: Likewise.
27887 * libio/iofflush_u.c: Likewise.
27888 * libio/iofgets.c: Likewise.
27889 * libio/iofgets_u.c: Likewise.
27890 * libio/iofopen.c: Likewise.
27891 * libio/iofopncook.c: Likewise.
27892 * libio/iofread.c: Likewise.
27893 * libio/iofread_u.c: Likewise.
27894 * libio/ioftell.c: Likewise.
27895 * libio/iofwrite.c: Likewise.
27896 * libio/iogetline.c: Likewise.
27897 * libio/iogets.c: Likewise.
27898 * libio/iogetwline.c: Likewise.
27899 * libio/iopadn.c: Likewise.
27900 * libio/iopopen.c: Likewise.
27901 * libio/ioseekoff.c: Likewise.
27902 * libio/ioseekpos.c: Likewise.
27903 * libio/iosetbuffer.c: Likewise.
27904 * libio/iosetvbuf.c: Likewise.
27905 * libio/ioungetc.c: Likewise.
27906 * libio/ioungetwc.c: Likewise.
27907 * libio/iovdprintf.c: Likewise.
27908 * libio/iovsprintf.c: Likewise.
27909 * libio/iovsscanf.c: Likewise.
27910 * libio/memstream.c: Likewise.
27911 * libio/obprintf.c: Likewise.
27912 * libio/oldfileops.c: Likewise.
27913 * libio/oldiofclose.c: Likewise.
27914 * libio/oldiofdopen.c: Likewise.
27915 * libio/oldiofopen.c: Likewise.
27916 * libio/oldiopopen.c: Likewise.
27917 * libio/oldstdfiles.c: Likewise.
27918 * libio/putc.c: Likewise.
27919 * libio/setbuf.c: Likewise.
27920 * libio/setlinebuf.c: Likewise.
27921 * libio/stdfiles.c: Likewise.
27922 * libio/strops.c: Likewise.
27923 * libio/vasprintf.c: Likewise.
27924 * libio/vscanf.c: Likewise.
27925 * libio/vsnprintf.c: Likewise.
27926 * libio/vswprintf.c: Likewise.
27927 * libio/wfiledoalloc.c: Likewise.
27928 * libio/wfileops.c: Likewise.
27929 * libio/wgenops.c: Likewise.
27930 * libio/wmemstream.c: Likewise.
27931 * libio/wstrops.c: Likewise.
27932 * libio/__fpurge.c: Likewise.
27933 * libio/__fsetlocking.c: Likewise.
27934 * assert/assert.c: Likewise.
27935 * debug/fgets_chk.c: Likewise.
27936 * debug/fgets_u_chk.c: Likewise.
27937 * debug/fread_chk.c: Likewise.
27938 * debug/fread_u_chk.c: Likewise.
27939 * debug/gets_chk.c: Likewise.
27940 * debug/obprintf_chk.c: Likewise.
27941 * debug/vasprintf_chk.c: Likewise.
27942 * debug/vdprintf_chk.c: Likewise.
27943 * debug/vsnprintf_chk.c: Likewise.
27944 * debug/vsprintf_chk.c: Likewise.
27945 * malloc/mtrace.c: Likewise.
27946 * misc/error.c: Likewise.
27947 * misc/syslog.c: Likewise.
27948 * stdio-common/asprintf.c: Likewise.
27949 * stdio-common/fxprintf.c: Likewise.
27950 * stdio-common/getw.c: Likewise.
27951 * stdio-common/isoc99_fscanf.c: Likewise.
27952 * stdio-common/isoc99_scanf.c: Likewise.
27953 * stdio-common/isoc99_vfscanf.c: Likewise.
27954 * stdio-common/isoc99_vscanf.c: Likewise.
27955 * stdio-common/isoc99_vsscanf.c: Likewise.
27956 * stdio-common/printf-prs.c: Likewise.
27957 * stdio-common/printf_fp.c: Likewise.
27958 * stdio-common/printf_fphex.c: Likewise.
27959 * stdio-common/printf_size.c: Likewise.
27960 * stdio-common/putw.c: Likewise.
27961 * stdio-common/scanf.c: Likewise.
27962 * stdio-common/sprintf.c: Likewise.
27963 * stdio-common/tmpfile.c: Likewise.
27964 * stdio-common/vfprintf.c: Likewise.
27965 * stdio-common/vfscanf.c: Likewise.
27966 * stdlib/strfmon_l.c: Likewise.
27967 * sunrpc/openchild.c: Likewise.
27968 * sunrpc/xdr_stdio.c: Likewise.
27969 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Likewise.
27970 * sysdeps/mach/hurd/tmpfile.c: Likewise.
27972 2012-05-24 Roland McGrath <roland@hack.frob.com>
27974 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
27976 * sysdeps/unix/make-syscalls.sh: Support "syscall:vdso_name@VDSOVER"
27977 in the third column, to generate for the shared library an IFUNC
27978 that uses _dl_vdso_vsym.
27979 * Makerules (COMPILE.c, compile-stdin.c): New variables.
27980 * Makeconfig (object-suffixes-noshared): New variable.
27982 * sysdeps/unix/sysv/linux/dl-vdso.h (PREPARE_VERSION_KNOWN): New macro.
27983 (VDSO_NAME_LINUX_2_6, VDSO_HASH_LINUX_2_6): New macros.
27984 (VDSO_NAME_LINUX_2_6_15, VDSO_HASH_LINUX_2_6_15): New macros.
27985 (VDSO_NAME_LINUX_2_6_29, VDSO_HASH_LINUX_2_6_29): New macros.
27988 * include/sys/time.h (__gettimeofday): Remove macro.
27989 (__gettimeofday, gettimeofday): Add libc_hidden_proto.
27990 * time/gettimeofday.c (__gettimeofday): Remove #undef.
27992 (__gettimeofday): Add libc_hidden_def.
27993 (gettimeofday): Add libc_hidden_weak.
27994 * sysdeps/mach/gettimeofday.c: Likewise.
27995 * sysdeps/posix/gettimeofday.c: Likewise.
27996 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Likewise.
27997 * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Likewise.
27998 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c
27999 (__gettimeofday_internal): Remove strong_alias.
28000 (__gettimeofday): Add libc_hidden_def.
28001 (gettimeofday): Add libc_hidden_weak.
28002 * sysdeps/unix/syscalls.list (gettimeofday):
28003 Remove __gettimeofday_internal alias.
28005 2012-05-24 Daniel Jacobowitz <drow@false.org>
28006 H.J. Lu <hongjiu.lu@intel.com>
28009 * malloc/malloc.c (SMALLBIN_CORRECTION): New.
28010 (MIN_LARGE_SIZE, smallbin_index): Use it to handle 16-byte alignment.
28011 (largebin_index_32_big): New.
28012 (largebin_index): Use it for 16-byte alignment.
28013 (sYSMALLOc): Handle MALLOC_ALIGNMENT > 2 * SIZE_SZ. Don't update
28014 correction with front_misalign.
28016 2012-05-24 H.J. Lu <hongjiu.lu@intel.com>
28018 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: New file.
28019 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
28021 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist:
28023 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
28025 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist:
28027 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist:
28029 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist:
28031 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist:
28033 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
28035 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist:
28037 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist:
28039 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
28041 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist:
28044 * scripts/data/c++-types-x32-linux-gnu.data: New file.
28045 * sysdeps/x86_64/x32/shlib-versions: Add x32 ABI entry.
28047 2012-05-24 Joseph Myers <joseph@codesourcery.com>
28051 * math/libm-test.inc (exp_test): Add test from bug 14036.
28052 (pow_test): Add test from bug 10846.
28054 * math/gen-libm-test.pl (%beautify): Remove entries for exceptions
28056 (special_function): Do not include flags in test name.
28057 (parse_args): Likewise.
28058 * sysdeps/i386/fpu/libm-test-ulps: Update.
28059 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
28060 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
28061 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
28062 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
28064 * math/gen-libm-test.pl (%beautify): Add entries for underflow
28066 * math/libm-test.inc ("Philosophy"): Update comment about
28068 (UNDERFLOW_EXCEPTION): New macro.
28069 (UNDERFLOW_EXCEPTION_OK): Likewise.
28070 (UNDERFLOW_EXCEPTION_FLOAT): Likewise.
28071 (UNDERFLOW_EXCEPTION_OK_FLOAT): Likewise.
28072 (UNDERFLOW_EXCEPTION_DOUBLE): Likewise.
28073 (UNDERFLOW_EXCEPTION_LDOUBLE_IBM): Likewise.
28074 (INVALID_EXCEPTION_OK): Update value.
28075 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
28076 (OVERFLOW_EXCEPTION_OK): Likewise.
28077 (IGNORE_ZERO_INF_SIGN): Likewise.
28078 (test_exceptions): Handle underflow exceptions.
28079 (acos_test): Update for underflow exception expectations.
28080 (cexp_test): Likewise.
28081 (clog_test): Likewise.
28082 (clog10_test): Likewise.
28083 (csqrt_test): Likewise.
28084 (ctan_test): Likewise.
28085 (ctanh_test): Likewise.
28086 (exp_test): Likewise.
28087 (exp10_test): Likewise.
28088 (exp2_test): Likewise.
28089 (expm1_test): Likewise.
28090 (fma_test): Likewise.
28091 (j0_test): Likewise.
28092 (jn_test): Likewise.
28093 (nexttoward_test): Likewise.
28094 (pow_test): Likewise.
28095 (scalbn_test): Likewise.
28096 (scalbln_test): Likewise.
28097 (tan_test): Likewise.
28098 (y1_test): Likewise.
28099 * sysdeps/i386/fpu/libm-test-ulps: Update.
28100 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
28102 2012-05-23 David S. Miller <davem@davemloft.net>
28104 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
28105 (__libc_sigaction): Remove unused local variables.
28107 2012-05-23 H.J. Lu <hongjiu.lu@intel.com>
28109 * sysdeps/unix/sysv/linux/x86_64/x32/configure: New file.
28111 2012-05-23 Paul Eggert <eggert@cs.ucla.edu>
28113 mktime: avoid signed integer overflow
28114 * time/mktime.c (__mktime_internal): Do not mishandle the case
28115 where diff == INT_MIN.
28117 mktime: simplify computation of average
28118 * time/mktime.c (ranged_convert): Use new time_t_avg function
28119 instead of rolling our own (probably-slower) code.
28121 mktime: do not assume signed right shift propagates sign bit
28122 * time/mktime.c (isdst_differ): New static function.
28123 (__mktime_internal): No need to normalize tm_isdst now.
28124 (__mktime_internal, not_equal_tm): Use isdst_differ to compare
28127 mktime: merge another wrapv change from gnulib
28128 * time/mktime.c (TYPE_MAXIMUM): Rework slightly to avoid diagnostics
28129 from some compilers.
28131 mktime: remove incorrect attempt at unusual arithmetics
28132 * time/mktime.c (TYPE_ONES_COMPLEMENT, TYPE_SIGNED_MAGNITUDE): Remove.
28133 The code didn't really work on such machines anyway.
28134 (TYPE_MINIMUM): Assume two's complement.
28135 (twos_complement_arithmetic): Verify that long_int and time_t
28136 are two's complement (or unsigned, in the latter case).
28138 mktime: check signed shifts on long_int and time_t, too
28139 * time/mktime.c (SHR): Check that shifts work as desired
28140 on the types long_int and time_t too, as SHR is used on
28143 mktime: do not assume 'long' is wide enough
28144 * time/mktime.c (verify): Move decl up.
28145 (long_int): New type.
28146 (leapyear, ydhms_diff, guess_time_tm, __mktime_internal): Use it,
28147 to remove assumption in the code that 'long' is wide enough to
28148 store year values. This assumption is not true on x32 and on
28149 some non-glibc platforms.
28151 mktime: merge wrapv change from gnulib
28152 * time/mktime.c (WRAPV): New macro.
28153 (time_t_avg, time_t_add_ok, time_t_int_add_ok): New static functions.
28154 (guess_time_tm, __mktime_internal): Do not assume that signed
28155 integer overflow wraps around; modern compilers generate code
28156 where this assumption is no longer valid.
28158 2012-05-23 H.J. Lu <hongjiu.lu@intel.com>
28160 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
28161 Replace "jmp L(pseudo_end)" with "ret".
28162 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_ERROR_HANDLER):
28165 2012-05-23 Andreas Jaeger <aj@suse.de>
28167 * sysdeps/unix/sysv/linux/syscalls.list: Add poll.
28168 * sysdeps/unix/sysv/linux/poll.c: Remove file.
28170 2012-05-23 Andreas Jaeger <aj@suse.de>
28171 Maximilian Attems <max@stro.at>
28173 * sysdeps/unix/sysv/linux/sys/reboot.h (RB_SW_SUSPEND, RB_KEXEC):
28176 2012-05-23 H.J. Lu <hongjiu.lu@intel.com>
28178 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Rearrange
28179 code so that pseudo_end is just ret and the stack pointer is
28180 correct also for static library in error case.
28182 2012-05-23 Joseph Myers <joseph@codesourcery.com>
28184 * sysdeps/unix/sysv/linux/powerpc/chown.c: Add comment suggesting
28185 move to syscalls.list.
28186 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
28187 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
28188 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
28189 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
28191 * manual/install.texi (Running make install): Do not mention Linux
28192 kernel version for which pt_chown is not needed.
28193 (Linux): Do not mention problems with nscd with 2.0 kernels.
28194 * INSTALL: Regenerated.
28196 2012-05-23 Andreas Jaeger <aj@suse.de>
28198 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h
28199 (MADV_DONTDUMP,MADV_DODUMP): New macros from Linux 3.4.
28201 * sysdeps/unix/sysv/linux/s390/bits/mman.h
28202 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
28203 * sysdeps/unix/sysv/linux/sh/bits/mman.h
28204 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
28205 * sysdeps/unix/sysv/linux/i386/bits/mman.h
28206 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
28207 * sysdeps/unix/sysv/linux/sparc/bits/mman.h
28208 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
28209 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h
28210 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
28211 * sysdeps/unix/sysv/linux/bits/in.h
28212 (IP_MULTICAST_ALL,IP_UNICAST_IF): Likewise.
28214 2012-05-22 Roland McGrath <roland@hack.frob.com>
28216 * sysdeps/unix/sysv/linux/dl-vdso.h (CHECK_HASH): Macro removed.
28217 (PREPARE_VERSION): Just use assert instead, it will be elided
28218 under [NDEBUG] anyway.
28220 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
28222 * sysdeps/unix/sysv/linux/Makefile: Include
28223 $(firstword $(wildcard $(sysdirs:=/sysctl.mk))).
28224 (sysdep_routines): Remove sysctl.
28225 * sysdeps/unix/sysv/linux/bits/sysctl.h: New file.
28226 * sysdeps/unix/sysv/linux/sysctl.mk: Likewise.
28227 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Likewise.
28228 * sysdeps/unix/sysv/linux/x86_64/x32/sysctl.mk: Likewise.
28229 * sysdeps/unix/sysv/linux/sys/sysctl.h: Include <bits/sysctl.h>.
28231 2012-05-22 Andreas Jaeger <aj@suse.de>
28233 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Rearrange code so
28234 that pseudo_end is just ret and the stack pointer is correct also
28235 for static library in error case.
28237 2012-05-22 Paul Pluzhnikov <ppluzhnikov@google.com>
28240 * nss/nsswitch.c (defconfig_entries): New variable.
28241 (__nss_database_lookup): Don't leak defconfig entries.
28242 (nss_parse_service_list): Don't leak on error paths.
28243 (free_database_entries): New function.
28244 (free_defconfig): New function.
28245 (free_mem): Move common code to free_database_entries.
28247 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
28249 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (sysdep_routines):
28251 * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: New file.
28253 * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
28254 (posix_fallocate): Use INTERNAL_SYSCALL_TYPES if it is defined.
28255 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (INLINE_SYSCALL_TYPES):
28257 (INTERNAL_SYSCALL_NCS_TYPES): Likewise.
28258 (INTERNAL_SYSCALL_TYPES): Likewise.
28259 (LOAD_ARGS_TYPES_[1-6]): Likewise.
28260 (LOAD_REGS_TYPES_[1-6]): Likewise.
28261 (LOAD_ARGS_[1-6]): Use LOAD_ARGS_TYPES_[1-6].
28262 (LOAD_REGS_[1-6]): Use LOAD_REGS_TYPES_[1-6].
28264 2012-05-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
28266 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Add compat symbol
28267 copysignl for GLIBC_2_0.
28268 * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Add compat symbol
28269 finitel for GLIBC_2.0 and __finitel for GLIBC_2_1.
28270 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Add compat symbol
28271 logbl for GLIBC_2_0.
28272 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
28273 * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
28275 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
28277 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Don't include
28278 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
28280 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
28283 * time/mktime.c: Update copyright years.
28285 2012-05-22 Paul Eggert <eggert@cs.ucla.edu>
28287 mktime: merge comment-quoting-style change from gnulib
28288 * time/mktime.c: Quote 'like this' in comments.
28289 The GNU coding standards suggest that we no longer quote `like this',
28290 as "`" and "'" are typically rendered asymmetrically nowadays.
28291 The typical gnulib style is to quote 'like this' when quoting
28292 code, and "like this" when quoting English.
28294 * time/mktime.c (compile-command): Add "-I.".
28296 mktime: merge mktime-internal.h change from gnulib
28297 * time/mktime.c [!_LIBC]: Include "mktime-internal.h".
28299 mktime: merge time_r change from gnulib
28300 * time/mktime.c [!_LIBC]: Do not include "time_r.h".
28302 mktime: merge DEBUG change from gnulib
28303 * time/mktime.c (mktime) [DEBUG]: #undef before #define-ing, in
28304 case system <time.h> has a #define.
28306 mktime: merge <sys/types.h> change from gnulib
28307 * time/mktime.c: Do not include <sys/types.h>; no longer needed,
28308 since <time.t> is now guaranteed to define time_t.
28310 mktime: merge HAVE_CONFIG_H change from gnulib
28311 * time/mktime.c: Include <config.h> if !_LIBC, not if HAVE_CONFIG_H.
28313 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
28315 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
28318 * sysdeps/unix/sysv/linux/bits/resource.h (RLIM_INFINITY): Use
28320 (struct rusage): Use anonymous union to pad each field to
28323 2012-05-21 David S. Miller <davem@davemloft.net>
28325 * Makefules (o-iterator): Remove .s cases.
28326 (compile-command.s): Delete.
28327 (COMPILE.s): Delete.
28328 * sysdeps/unix/make-syscalls.sh: Remove .s file tests.
28330 2012-05-21 Joseph Myers <joseph@codesourcery.com>
28332 * configure.in (libc_cv_predef_stack_protector): Only consider
28333 "foobar" and "__stack_chk_fail" lines in libc_undefs.
28334 * configure: Regenerated.
28336 2012-05-21 H.J. Lu <hongjiu.lu@intel.com>
28338 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
28339 New macro. Use R*LP on int and pointer.
28340 (SYSCALL_ERROR_HANDLER): Use SYSCALL_SET_ERRNO.
28341 * sysdeps/unix/sysv/linux/x86_64/x32/lseek.S: New file.
28342 * sysdeps/unix/sysv/linux/x86_64/x32/llseek.S: Likewise.
28343 * sysdeps/unix/sysv/linux/x86_64/x32/sysdep.h: Likewise.
28345 * sysdeps/gnu/bits/utmp.h (struct lastlog): Check
28346 [__WORDSIZE_TIME64_COMPAT32] instead of
28347 [__WORDSIZE == 64 && __WORDSIZE_COMPAT32].
28348 (struct utmp): Likewise.
28349 * sysdeps/gnu/bits/utmpx.h (struct utmpx): Likewise.
28350 * sysdeps/powerpc/powerpc32/bits/wordsize.h (__WORDSIZE_COMPAT32):
28352 (__WORDSIZE_TIME64_COMPAT32): This.
28353 * sysdeps/powerpc/powerpc64/bits/wordsize.h: Likewise.
28354 * sysdeps/sparc/sparc32/bits/wordsize.h: Likewise.
28355 * sysdeps/sparc/sparc64/bits/wordsize.h: Likewise.
28356 * sysdeps/unix/sysv/linux/powerpc/bits/wordsize.h: Likewise.
28357 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE_COMPAT32): Removed.
28358 (__WORDSIZE_TIME64_COMPAT32): New macro.
28360 2012-05-21 Andreas Jaeger <aj@suse.de>
28362 * sysdeps/i386/i686/multiarch/wcschr-c.c: Redefine libc_hidden_def
28363 only if [SHARED]. Add prototype for __wcschr_ia32.
28365 2012-05-21 Roland McGrath <roland@hack.frob.com>
28367 * sysdeps/x86_64/setjmp.S [PTR_MANGLE] [__ILP32__]: Preserve high bits
28368 of %rbp unmolested in the jmp_buf while mangling the low bits.
28369 * sysdeps/x86_64/__longjmp.S [PTR_DEMANGLE] [__ILP32__]: Restore the
28370 unmolested high bits of %rbp while demangling the low bits.
28371 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
28373 2012-05-21 Andreas Jaeger <aj@suse.de>
28375 * include/shlib-compat.h (libc_sunrpc_symbol): New macro.
28376 * sunrpc/svc_simple.c: Use it for registerrpc.
28377 * sunrpc/xcrypt.c: Use it for passwd2des.
28379 * malloc/malloc.c: Include shlib-compat.h for SHLIB_COMPAT.
28381 2012-05-21 H.J. Lu <hongjiu.lu@intel.com>
28383 * sysdeps/unix/sysv/linux/bits/statvfs.h (_STATVFSBUF_F_UNUSED):
28384 Don't define if [__SYSCALL_WORDSIZE != 32].
28385 * sysdeps/x86_64/bits/wordsize.h (__SYSCALL_WORDSIZE):
28388 2012-05-21 Bruno Haible <bruno@clisp.org>
28389 Andreas Jaeger <aj@suse.de>
28391 [BZ #13691], Revert breakage of iconv() converter for TCVN-5712.
28392 * iconvdata/tcvn5712-1.c (BODY for FROM_LOOP): Don't consider
28393 inptr and inend for must_buffer_ch.
28394 * wcsmbs/tst-mbsnrtowcs.c: Remove file.
28395 * wcsmbs/Makefile (tests): Remove tst-mbsnrtowcs.
28396 * stdio-common/Makefile (tests): Remove bug15.
28397 (bug15-ENV): Remove macro.
28398 * stdio-common/bug15.c: Remove, we do not support vi_VN.TCVN5712-1
28401 2012-05-19 Andreas Jaeger <aj@suse.de>
28402 Roland McGrath <roland@hack.frob.com>
28404 * manual/contrib.texi: Completely rewritten. It contains now an
28405 alphabetical list of contributors and their contributions.
28407 2012-05-21 Richard Henderson <rth@twiddle.net>
28409 * misc/getauxval.c (__getauxval): Use unsigned long int.
28410 * misc/sys/auxv.h: Include <sys/cdefs.h>.
28411 (getauxval): Use unsigned long int.
28413 2012-05-21 H.J. Lu <hongjiu.lu@intel.com>
28415 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
28417 2012-05-21 Roland McGrath <roland@hack.frob.com>
28419 * malloc/malloc.c [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_16)]
28420 (MALLOC_ALIGNMENT): Set it to the greater of 2 * SIZE_SZ and
28421 __alignof__ (long double).
28423 2012-05-21 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
28425 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
28427 2012-05-20 Richard Henderson <rth@twiddle.net>
28429 * misc/getauxval.c: New file.
28430 * misc/sys/auxv.h: New file.
28431 * misc/Makefile (headers): Add sys/auxv.h, bits/hwcap.h.
28432 (routines): Add getauxval.
28433 * misc/Versions (GLIBC_2.16): Add __getauxval, getauxval.
28434 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Add _dl_auxv.
28435 * elf/dl-sysdep.c (_dl_auxv): Remove.
28436 (_dl_sysdep_start, _dl_show_auxv): Use GLRO to access _dl_auxv.
28437 * elf/dl-support.c (_dl_auxv): New variable.
28438 (_dl_aux_init): Initialize it.
28439 * manual/startup.texi (Auxiliary Vector): New node.
28440 * sysdeps/generic/bits/hwcap.h: New file.
28441 * sysdeps/powerpc/bits/hwcap.h: New file, split out from ...
28442 * sysdeps/powerpc/sysdep.h: ... here. Include it.
28443 * sysdeps/sparc/bits/hwcap.h: New file, split out from ...
28444 * sysdeps/sparc/sysdep.h: ... here. Include it.
28445 * sysdeps/unix/sysv/linux/s390/bits/hwcap.h: New file.
28446 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Update.
28447 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
28449 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: Update.
28450 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Update.
28451 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Update.
28452 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Update.
28453 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
28454 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
28455 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Update.
28456 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Update.
28458 2012-05-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
28460 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
28462 2012-05-19 David S. Miller <davem@davemloft.net>
28464 * sysdeps/sparc/fpu/libm-test-ulps: Update.
28466 2012-05-19 Joseph Myers <joseph@codesourcery.com>
28469 * math/s_ccosh.c: Include <float.h>
28470 (__ccosh): Avoid internal overflow calculating sinh and cosh
28471 values before multiplying by sin and cos values.
28472 * math/s_ccoshf.c: Likewise.
28473 * math/s_ccoshl.c: Likewise.
28474 * math/s_csin.c: Likewise.
28475 * math/s_csinf.c: Likewise.
28476 * math/s_csinl.c: Likewise.
28477 * math/s_csinh.c: Likewise.
28478 * math/s_csinhf.c: Likewise.
28479 * math/s_csinhl.c: Likewise.
28480 * math/libm-test.inc (ccos_test): Add more tests.
28481 (ccosh_test): Likewise.
28482 (csin_test): Likewise.
28483 (csinh_test): Likewise.
28484 * sysdeps/i386/fpu/libm-test-ulps: Update.
28485 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
28487 2012-05-19 H.J. Lu <hongjiu.lu@intel.com>
28489 * sysdeps/unix/sysv/linux/wordsize-64/preadv.c: New file.
28490 * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c: Likewise.
28492 * sysdeps/x86_64/x32/_itoa.h: Add comment.
28494 2012-05-19 Joseph Myers <joseph@codesourcery.com>
28496 * sysdeps/powerpc/soft-fp/Makefile: Remove file.
28497 * sysdeps/powerpc/soft-fp/Subdirs: Likewise.
28498 * sysdeps/powerpc/soft-fp/Versions: Likewise.
28499 * sysdeps/powerpc/soft-fp/q_add.c: Likewise.
28500 * sysdeps/powerpc/soft-fp/q_cmp.c: Likewise.
28501 * sysdeps/powerpc/soft-fp/q_cmpe.c: Likewise.
28502 * sysdeps/powerpc/soft-fp/q_div.c: Likewise.
28503 * sysdeps/powerpc/soft-fp/q_dtoq.c: Likewise.
28504 * sysdeps/powerpc/soft-fp/q_feq.c: Likewise.
28505 * sysdeps/powerpc/soft-fp/q_fge.c: Likewise.
28506 * sysdeps/powerpc/soft-fp/q_fgt.c: Likewise.
28507 * sysdeps/powerpc/soft-fp/q_fle.c: Likewise.
28508 * sysdeps/powerpc/soft-fp/q_flt.c: Likewise.
28509 * sysdeps/powerpc/soft-fp/q_fne.c: Likewise.
28510 * sysdeps/powerpc/soft-fp/q_itoq.c: Likewise.
28511 * sysdeps/powerpc/soft-fp/q_lltoq.c: Likewise.
28512 * sysdeps/powerpc/soft-fp/q_mul.c: Likewise.
28513 * sysdeps/powerpc/soft-fp/q_neg.c: Likewise.
28514 * sysdeps/powerpc/soft-fp/q_qtod.c: Likewise.
28515 * sysdeps/powerpc/soft-fp/q_qtoi.c: Likewise.
28516 * sysdeps/powerpc/soft-fp/q_qtoll.c: Likewise.
28517 * sysdeps/powerpc/soft-fp/q_qtos.c: Likewise.
28518 * sysdeps/powerpc/soft-fp/q_qtou.c: Likewise.
28519 * sysdeps/powerpc/soft-fp/q_qtoull.c: Likewise.
28520 * sysdeps/powerpc/soft-fp/q_sqrt.c: Likewise.
28521 * sysdeps/powerpc/soft-fp/q_stoq.c: Likewise.
28522 * sysdeps/powerpc/soft-fp/q_sub.c: Likewise.
28523 * sysdeps/powerpc/soft-fp/q_ulltoq.c: Likewise.
28524 * sysdeps/powerpc/soft-fp/q_util.c: Likewise.
28525 * sysdeps/powerpc/soft-fp/q_utoq.c: Likewise.
28526 * sysdeps/powerpc/soft-fp/sfp-machine.h: Likewise.
28528 2012-05-18 Andreas Jaeger <aj@suse.de>
28530 * csu/.gitignore: Delete.
28532 2012-05-18 H.J. Lu <hongjiu.lu@intel.com>
28534 * sysdeps/unix/sysv/linux/bits/timex.h: Include <bits/types.h>.
28535 (timex): Use __syscall_slong_t.
28537 2012-05-18 Andreas Jaeger <aj@suse.de>
28538 Carlos O'Donell <carlos_odonell@mentor.com>
28540 * manual/install.texi (Configuring and compiling): Update
28541 description about files modified in the source directory.
28542 * INSTALL: Regenerated.
28544 2012-05-18 H.J. Lu <hongjiu.lu@intel.com>
28546 * sysdeps/unix/x86_64/sysdep.S: Use RAX_LP to access return
28547 value. Use "or" to set return value to -1.
28548 * sysdeps/unix/sysv/linux/x86_64/sysdep.S: Use RAX_LP to
28549 negate return value.
28551 2012-05-18 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
28553 * sysdeps/powerpc/powerpc32/power4/Makefile (CFLAGS-wordcopy.c)
28554 (CFLAGS-memmove.c): remove -ftree-loop-linear which causes a build
28555 failure if the compiler has Graphite support disabled.
28556 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile (CFLAGS-mpa.c):
28558 * sysdeps/powerpc/powerpc64/power4/Makefile (CFLAGS-wordcopy.c)
28559 (CFLAGS-memmove.c): Likewise.
28560 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile (CFLAGS-mpa.c):
28563 2012-05-18 H.J. Lu <hongjiu.lu@intel.com>
28565 * sysdeps/x86_64/x32/_itoa.h: New file.
28567 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): Use
28568 getdents system call only if kernel and user dirents have the
28569 same d_ino and d_off.
28571 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
28572 LLONG_MAX != LONG_MAX.
28573 (_itoa_word): Use _ITOA_WORD_TYPE on value.
28574 (_fitoa_word): Likewise.
28576 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Fold copyright
28578 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Likewise.
28579 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Likewise.
28580 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Likewise.
28582 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Don't
28583 include <bits/wordsize.h>. Check __x86_64__ instead of
28585 (sigcontext): Use "__uint64_t" instead of "unsigned long int"
28586 if __x86_64__ is defined. Use anonymous union on fpstate.
28588 * sysdeps/unix/sysv/linux/x86_64/sys/user.h (user): Use
28591 2012-05-18 Andreas Schwab <schwab@linux-m68k.org>
28593 * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
28594 INTUSE on _dl_argv, and _rtld_local instead of _rtld_global.
28595 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S [IS_IN_rtld]:
28596 Refer to _rtld_local_ro instead of _rtld_global_ro.
28597 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S [IS_IN_rtld]:
28599 * sysdeps/powerpc/powerpc64/__longjmp-common.S [IS_IN_rtld]:
28601 * sysdeps/powerpc/powerpc64/setjmp-common.S [IS_IN_rtld]:
28603 * sysdeps/powerpc/powerpc64/dl-trampoline.S [SHARED]: Likewise.
28604 * sysdeps/powerpc/powerpc64/dl-machine.h: Use _rtld_local instead
28605 of _rtld_global, and rtld_progname instead of _dl_argv[0].
28607 * sysdeps/powerpc/powerpc32/dl-machine.c
28608 (__elf_machine_runtime_setup) [PROF]: Don't reference
28611 2012-05-18 Andreas Jaeger <aj@suse.de>
28613 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Make inline
28614 function only available for GCCs before 3.4 since GCC 3.4
28615 introduced a builtin.
28617 (llrintf): Likewise.
28618 (llrint): Likewise.
28625 (nearbyint): Likewise.
28626 (nearbyintf): Likewise.
28630 (floorf): Likewise.
28632 2012-05-17 H.J. Lu <hongjiu.lu@intel.com>
28634 * sysdeps/unix/sysv/linux/pselect.c (data): Use __syscall_ulong_t
28635 on both fields and cast pointer to __syscall_ulong_t.
28637 * bits/types.h (__fsword_t): New type.
28638 * bits/typesizes.h (__FSWORD_T_TYPE): New macro.
28639 sysdeps/mach/hurd/bits/typesizes.h (__FSWORD_T_TYPE): Likewise.
28640 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
28641 (__FSWORD_T_TYPE): Likewise.
28642 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
28643 (__FSWORD_T_TYPE): Likewise.
28644 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
28645 (__FSWORD_T_TYPE): Likewise.
28646 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h
28647 (__FSWORD_T_TYPE): Likewise.
28648 * sysdeps/unix/sysv/linux/bits/statfs.h (statfs): Replace
28649 __SWORD_TYPE with __fsword_t.
28650 (statfs64): Likewise.
28652 2012-05-17 David S. Miller <davem@davemloft.net>
28654 * crypt/sha512c-test.c (TIMEOUT): Increase to 32.
28656 2012-05-17 Andreas Jaeger <aj@suse.de>
28658 * elf/tst-relsort1.c (do_test): Fix function declaration to avoid
28661 2012-05-17 H.J. Lu <hongjiu.lu@intel.com>
28663 * sysdeps/x86_64/tst-mallocalign1.c (test): Cast to unsigned long.
28665 2012-05-17 Andreas Jaeger <aj@suse.de>
28667 * sysdeps/i386/dl-machine.h (elf_machine_rel): Declare refsym only
28670 2012-05-17 Chris Metcalf <cmetcalf@tilera.com>
28672 * stdio-common/bug22.c (TIMEOUT): Bump up from 30 to 60.
28674 2012-05-17 H.J. Lu <hongjiu.lu@intel.com>
28676 * sysdeps/x86_64/Makefile (tests): Add tst-mallocalign1.
28677 * sysdeps/x86_64/tst-mallocalign1.c: New file.
28679 2012-05-17 Andreas Jaeger <aj@suse.de>
28680 Carlos O'Donell <carlos_odonell@mentor.com>
28683 * sysdeps/x86_64/multiarch/init-arch.h
28684 (bit_YMM_Usable): Rename to...
28685 (bit_AVX_Usable): ... this.
28686 (bit_FMA4_Usable): New macro.
28687 (bit_XMM_state): New macro.
28688 (bit_YMM_state): New macro.
28689 [__ASSEMBLER__] (index_YMM_Usable): Rename to...
28690 [__ASSEMBLER__] (index_AVX_Usable): ... this.
28691 [__ASSEMBLER__] (index_FMA4_Usable): New macro.
28692 (CPUID_OSXSAVE): New macro.
28693 (CPUID_AVX): New macro.
28694 (CPUID_FMA4): New macro.
28695 (index_YMM_Usable): Rename to...
28696 (index_AVX_Usable): ... this.
28697 (HAS_AVX): Use HAS_ARCH_FEATURE.
28698 (HAS_FMA4): Likewise.
28699 (HAS_YMM_USABLE): Remove.
28700 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
28701 Enable AVX or FMA4 IFF YMM and XMM states are usable and the features
28703 * sysdeps/x86_64/multiarch/strcmp.S: Use bit_AVX_Usable.
28704 * sysdeps/i386/i686/multiarch/Makefile: Add test-multiarch to tests.
28705 * sysdeps/x86_64/multiarch/Makefile: Likewise.
28706 * sysdeps/i386/i686/multiarch/test-multiarch.c: New file.
28707 * sysdeps/x86_64/multiarch/test-multiarch.c: New file.
28709 2012-05-17 Chris Metcalf <cmetcalf@tilera.com>
28711 * math/libm-test.c: Support platforms without multiple rounding modes.
28712 * math/bug-nextafter.c: Support platforms without FP exceptions.
28713 * math/bug-nexttoward.c: Likewise.
28714 * math/test-fenv.c: Likewise.
28715 * math/test-misc.c: Likewise.
28716 * stdlib/bug-getcontext.c: Likewise.
28718 2012-05-17 Andreas Jaeger <aj@suse.de>
28720 * manual/examples/search.c (critter_cmp): Change signature to
28722 * manual/string.texi (Collation Functions): Likewise.
28724 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
28726 * bits/types.h: Fold copyright years.
28727 * bits/typesizes.h: Likewise.
28728 * sysdeps/mach/hurd/bits/typesizes.h: Likewise.
28729 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
28730 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h: Likewise.
28731 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h: Likewise.
28732 * time/time.h: Likewise.
28734 2012-05-16 Paul Pluzhnikov <ppluzhnikov@google.com>
28737 * malloc.c (int_mallinfo): Add parameter to accumulate statistics
28738 in instead of returning them. Return void.
28739 (__libc_mallinfo): Accumulate over all arenas.
28740 (__malloc_stats): Adjust for change in int_mallinfo interface.
28742 2012-05-16 Roland McGrath <roland@hack.frob.com>
28745 * configure.in (NM): Add AC_CHECK_TOOL for it.
28746 (libc_extra_cflags): New substituted variable.
28747 Check for -fstack-protector being used implicitly.
28748 * configure: Regenerated.
28749 * config.make.in (config-extra-cflags): New variable,
28750 gets @libc_extra_cflags@.
28751 * Makeconfig (CFLAGS): Add $(config-extra-cflags) near the front.
28754 * configure.in: Check for _FORTIFY_SOURCE being predefined.
28755 (CPPUNDEFS): New substituted variable; add -U_FORTIFY_SOURCE if needed.
28756 * configure: Regenerated.
28757 * config.make.in (CPPUNDEFS): New substituted variable.
28758 * Makeconfig (CPPFLAGS): Put $(CPPUNDEFS) at the beginning.
28759 * Makerules ($(stdio_lim:h=st)): Use $(CPPUNDEFS).
28760 * time/ctime.c: Don't #undef __OPTIMIZE__ and ctime.
28762 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
28764 * sysdeps/unix/sysv/linux/bits/mqueue.h: Include <bits/types.h>.
28765 (mq_attr): Use __syscall_slong_t.
28767 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
28769 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_SVR4):
28770 Check __x86_64__ instead of __WORDSIZE.
28771 (_STAT_VER_LINUX): Likewise.
28772 (stat): Check __x86_64__ instead of __WORDSIZE. Use
28773 __syscall_ulong_t and __syscall_slong_t.
28774 (stat64): Likewise.
28776 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
28778 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: New file.
28780 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
28782 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: New file.
28784 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
28786 * sysdeps/unix/sysv/linux/bits/ipc.h (ipc_perm): Use
28789 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Don't
28790 include <bits/wordsize.h>. Check __x86_64__ instead of
28792 (greg_t): Use "__extension__ long long int" if __x86_64__ is
28794 (mcontext_t): Replace "unsigned long" with "unsigned long long".
28796 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Don't
28797 include <bits/wordsize.h>. Check __x86_64__ instead of
28799 (user_regs_struct): Use "__extension__ unsigned long long"
28800 instead of "unsigned long" if __x86_64__ is defined.
28801 (user): Likewise. Pad after pointer field if __ILP32__ is
28804 2012-05-16 Joseph Myers <joseph@codesourcery.com>
28806 * configure.in (makeinfo): Require version 4.5 or later. Allow
28808 * configure: Regenerated.
28809 * manual/install.texi (texinfo): Increase version requirement to
28811 * INSTALL: Regenerated.
28813 * include/stdc-predef.h (__STDC_ISO_10646__): Increase to 201103L.
28815 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
28817 * sysdeps/x86_64/x32/gmp-mparam.h: New file.
28819 * sysdeps/x86_64/x32/ffs.c: New file.
28821 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h (shmatt_t): Use
28823 (shmid_ds): Add __unused1 and __unused2 only if __x86_64__ isn't
28824 defined. Use __syscall_ulong_t.
28825 (shminfo): Use __syscall_ulong_t.
28826 (shm_info): Likewise.
28828 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semid_ds): Use
28831 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Don't include
28833 (msgqnum_t): Use __syscall_ulong_t.
28834 (msglen_t): Likewise.
28835 (msqid_ds): Check __x86_64__ instead of __WORDSIZE. Use
28838 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Don't include
28839 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
28841 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: New file.
28843 * sysdeps/x86_64/x32/divdi3.c: New dummy file.
28844 * sysdeps/x86_64/x32/symbol-hacks.h: Likewise.
28846 * sysvipc/sys/msg.h (msgbuf): Replace long int with
28849 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Don't
28850 include <bits/wordsize.h>. Check __x86_64__ instead of
28853 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h (elf_greg_t): Use
28854 "unsigned long long int" if __x86_64__ is defined.
28855 (elf_fpregset_t): Check __x86_64__ instead of __WORDSIZE.
28857 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Don't include
28858 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
28859 (DR_CONTROL_RESERVED): Use ULL instead of UL suffix.
28861 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Include
28863 (GET_PC): Cast to uintptr_t first.
28864 (GET_FRAME): Likewise.
28865 (GET_STACK): Likewise.
28867 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: New file.
28868 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: Likewise.
28869 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: Likewise.
28870 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: Likewise.
28871 * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: Likewise.
28872 * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: Likewise.
28873 * sysdeps/unix/sysv/linux/x86_64/x32/ftw.c: Likewise.
28874 * sysdeps/unix/sysv/linux/x86_64/x32/ftw64.c: Likewise.
28875 * sysdeps/unix/sysv/linux/x86_64/x32/glob.c: Likewise.
28876 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: Likewise.
28877 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: Likewise.
28878 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Likewise.
28879 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
28880 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: Likewise.
28881 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: Likewise.
28882 * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: Likewise.
28883 * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: Likewise.
28884 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: Likewise.
28885 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: Likewise.
28886 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: Likewise.
28887 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: Likewise.
28888 * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: Likewise.
28889 * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: Likewise.
28890 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: Likewise.
28891 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: Likewise.
28892 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: Likewise.
28893 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: Likewise.
28894 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: Likewise.
28895 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: Likewise.
28897 2012-05-16 Andreas Schwab <schwab@linux-m68k.org>
28899 * Makerules (+depfiles): Also collect depfiles from .oS in
28901 * sysdeps/ieee754/ldbl-opt/Makefile (extra-objs): Add $(addsuffix
28902 .oS, $(libnldbl-routines)).
28904 * Makerules (native-compile-mkdep-flags): Define.
28905 * sunrpc/Makefile (extra-objs): Add $(addprefix
28906 cross-,$(rpcgen-objs)), don't add $(cross-rpcgen-objs).
28907 ($(cross-rpcgen-objs)): Use $(native-compile-mkdep-flags) instead
28908 of $(compile-mkdep-flags). Depend on $(before-compile) instead of
28909 calling $(make-target-directory).
28911 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
28913 * bits/types.h (__snseconds_t): Removed.
28914 * time/time.h (struct timespec): Replace __snseconds_t with
28916 * bits/typesizes.h (__SNSECONDS_T_TYPE): Removed.
28917 * sysdeps/mach/hurd/bits/typesizes.h (__SNSECONDS_T_TYPE):
28919 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
28920 (__SNSECONDS_T_TYPE): Likewise.
28921 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
28922 (__SNSECONDS_T_TYPE): Likewise.
28923 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
28924 (__SNSECONDS_T_TYPE): Likewise.
28926 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
28928 * sysdeps/mach/hurd/bits/typesizes.h
28929 (__SYSCALL_SLONG_TYPE): New macro.
28930 (__SYSCALL_ULONG_TYPE): Likewise.
28932 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
28934 * bits/types.h (__syscall_slong_t): New type.
28935 (__syscall_ulong_t): Likewise.
28937 * bits/typesizes.h (__SYSCALL_SLONG_TYPE): New macro.
28938 (__SYSCALL_ULONG_TYPE): Likewise.
28939 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
28940 (__SYSCALL_SLONG_TYPE): Likewise.
28941 (__SYSCALL_ULONG_TYPE): Likewise.
28942 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
28943 (__SYSCALL_SLONG_TYPE): Likewise.
28944 (__SYSCALL_ULONG_TYPE): Likewise.
28945 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
28946 (__SYSCALL_SLONG_TYPE): Likewise.
28947 (__SYSCALL_ULONG_TYPE): Likewise.
28949 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
28951 * sysdeps/unix/sysv/linux/x86_64/Makefile (gen-as-const-headers):
28952 Add sigaltstack-offsets.sym.
28953 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Include
28954 <sigaltstack-offsets.h>.
28955 (CALL_FAIL): Use RSP_LP to operate on stack. Use RDI_LP on
28956 longjmp_msg pointer.
28957 (____longjmp_chk): Use R8_LP and RDX_LP on SP and PC. Use
28958 R*_LP, sizeSS, oSS_FLAGS, oSS_SP and oSS_SIZE for alternate
28960 * sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym: New.
28962 2012-05-15 Joseph Myers <joseph@codesourcery.com>
28964 * elf/stackguard-macros.h: Remove file.
28965 * sysdeps/generic/stackguard-macros.h: New file.
28966 * sysdeps/i386/stackguard-macros.h: Likewise.
28967 * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
28968 * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
28969 * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
28970 * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
28971 * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
28972 * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
28973 * sysdeps/x86_64/stackguard-macros.h: Likewise.
28974 * nptl/tst-stackguard1.c: Include <stackguard-macros.h> not
28975 <elf/stackguard-macros.h>.
28978 * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h (elf_vrreg_t): Use
28979 __aligned__ in attribute.
28980 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (__psw_t): Likewise.
28981 (gregset_t): Likewise.
28983 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
28985 * sysdeps/x86_64/Implies (wordsize-64): Moved to ....
28986 * sysdeps/x86_64/64/Implies-after: Here. New file.
28987 * sysdeps/x86_64/x32/Implies-after: New file.
28989 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
28991 * sysdeps/x86_64/dl-trampoline.h: Use R*_LP to pass arguments
28992 and access return value for _dl_profile_fixup. Use R10_LP to
28995 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
28997 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: New.
28999 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
29001 * sysdeps/x86_64/sysdep.h: Allowed to be include more than once.
29002 * sysdeps/x86_64/x32/sysdep.h: New file.
29004 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
29006 * sysdeps/x86_64/__longjmp.S: Use R*_LP on SP and PC.
29007 * sysdeps/x86_64/setjmp.S: Likewise.
29009 2012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
29011 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: New file.
29012 * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c: New file.
29013 * sysdeps/ieee754/dbl-64/e_log2.c: Fixing indents.
29014 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise and also
29015 remove unused global constant.
29017 2012-05-15 Chris Metcalf <cmetcalf@tilera.com>
29019 * sysdeps/unix/sysv/linux/getsysstats.c: Remove duplicate
29020 include of <not-cancel.h>.
29022 2012-05-15 Roland McGrath <roland@hack.frob.com>
29024 * nscd/nscd-client.h (__nscd_acquire_maplock): Fix formatting.
29026 2012-05-15 Jeff Law <law@redhat.com>
29027 Andreas Jaeger <aj@suse.de>
29030 * nscd/nscd-client.h (__nscd_acquire_maplock): New function, split
29032 * nscd/nscd_helper.c (__nscd_get_map_ref): ... here.
29033 * nscd/nscd-client.h: Add __nscd_acquire_maplock.
29034 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): Add locking to
29035 code changing __hst_map_handle.map.
29037 2012-05-15 Roland McGrath <roland@hack.frob.com>
29039 * configure.in (sysnames): Look for Implies-before and Implies-after
29041 * configure: Regenerated.
29043 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
29045 * sysdeps/unix/sysv/linux/x86_64/sigaction.c (RESTORE2): Replace
29046 8-byte data alignment with LP_SIZE alignment.
29048 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
29050 * sysdeps/unix/sysv/linux/x86_64/clone.S: Load pointer to TID
29053 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
29055 * sysdeps/unix/sysv/linux/x86_64/x32/dl-cache.h: New.
29057 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
29059 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile: New file.
29060 * sysdeps/unix/sysv/linux/x86_64/x32/getcpu.c: Likewise.
29061 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu-static.c:
29063 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
29065 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
29067 * sysdeps/x86_64/stackinfo.h (stackinfo_get_sp): Use RSP_LP.
29068 (stackinfo_sub_sp): Likewise.
29070 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
29072 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Load pointers into
29075 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
29077 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Load cache sizes
29080 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
29082 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Load cache
29085 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
29087 * sysdeps/x86_64/strcmp.S: Load pointers into R*_LP.
29089 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
29091 * sysdeps/x86_64/memcpy.S: Load __x86_64_data_cache_size_half
29092 into R11_LP and load __x86_64_shared_cache_size_half into
29095 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
29097 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Load cache size into
29100 2012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
29102 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: New file. Optimized
29104 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: New file. Optimized
29106 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: New file. Optimized
29108 * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: New file. Use
29109 powerpc32/power7/fpu/s_logb.c via #include.
29110 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: New file. Use
29111 powerpc32/power7/fpu/s_logbf.c via #include.
29112 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: New file. Use
29113 powerpc32/power7/fpu/s_logbl.c via #include.
29115 2012-05-15 Joseph Myers <joseph@codesourcery.com>
29117 * README.libm: Remove file.
29119 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
29121 * sysdeps/x86_64/start.S: Simulate popping 4-byte argument
29122 count for x32. Use R*_LP and omit operand-size suffix.
29124 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
29126 * shlib-versions: Move x86_64-.*-linux.* entries to ...
29127 * sysdeps/x86_64/64/shlib-versions: Here. New file.
29128 * sysdeps/x86_64/x32/shlib-versions: New file.
29130 2012-05-14 Roland McGrath <roland@hack.frob.com>
29132 * sysdeps/unix/sysv/linux/dl-osinfo.h (dl_fatal): Function removed.
29133 * elf/rtld.c (dl_main) [DL_SYSDEP_OSCHECK]:
29134 Use _dl_fatal_printf instead.
29136 2012-05-14 Joseph Myers <joseph@codesourcery.com>
29138 * sysdeps/unix/sysv/linux/configure.in (minimum_kernel): Always
29139 set if not set by the user. Do not allow for being unset.
29140 * sysdeps/unix/sysv/linux/configure: Regenerated.
29142 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
29144 * sysdeps/x86_64/dl-machine.h (elf_machine_load_address): Remove
29145 the `q' suffix from lea and replace .quad with ASM_ADDR.
29147 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
29149 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PTR_MANGLE): Remove
29150 the `q' suffix from xor/rol instructions. Use $2*LP_SIZE+1
29152 (PTR_DEMANGLE): Likewise.
29154 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
29156 * sysdeps/x86_64/sysdep.h (LP_SIZE): New macro.
29158 (ASM_ADDR): Likewise.
29159 (RAX_LP): Likewise.
29160 (RBP_LP): Likewise.
29161 (RBX_LP): Likewise.
29162 (RCX_LP): Likewise.
29163 (RDI_LP): Likewise.
29164 (RSI_LP): Likewise.
29165 (RSP_LP): Likewise.
29168 (R10_LP): Likewise.
29169 (R10_LP): Likewise.
29170 (R11_LP): Likewise.
29171 (R12_LP): Likewise.
29172 (R13_LP): Likewise.
29173 (R14_LP): Likewise.
29174 (R15_LP): Likewise.
29176 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
29178 * sysdeps/x86_64/x32/dl-machine.h: New file.
29180 2012-05-14 Andreas Jaeger <aj@suse.de>
29182 * manual/Makefile (subdir): Remove export of subdir.
29183 (all): Remove target.
29184 (.PHONY): Remove all from list.
29185 (mkinstalldirs): Remove.
29186 (.PHONY): Remove installdirs from list.
29187 ($(inst_infodir)/libc.info): Use make-target-directory.
29188 (installdirs): Remove.
29189 (subdir_%): Remove.
29190 (glibc-targets): Remove.
29193 ($(objpfx)stubs ../po/manual.pot): Remove.
29194 ($(objpfx)stamp%): Remove.
29195 (make-target-directory): Remove.
29196 (subdir_install): Remove.
29197 (routines): Remove.
29204 * manual/.gitignore: Remove, it's not needed anymore.
29205 * manual/libc-texinfo.sh: Pass OUTDIR as extra argument, create
29207 * manual/Makefile (dvi, pdf, info, html): Depend on files in build
29209 (texis): Renamed to $(objpfx)texis.
29210 (texis-path): New, contains path to generated files.
29211 (chapters.%): Use texis-path for complete path, add extra argument
29213 (libc.dvi, libc.pdf, libc.info, libc.pdf): Add $(objfpx) as prefix.
29214 (libc/index.html, summary.texi): Add $(objpfx) as prefix.
29215 (summary,texi, stamp-summary): Use complete path of
29216 files. Generate files in build dir.
29217 (dir-add.texi): Build in build dir.
29218 (libm-err.texi,stamp-libm-err): Likewise.
29219 (version.texi, stamp-version): Likewise.
29220 (.%c.texi): Likewise.
29221 (%.info,%.dvi,%.pdf): Add $(objpfx) as prefix, build in build dir.
29222 (mostlyclean): Remove target.
29223 (realclean): Remove target.
29224 (generated): Add new variable with contents from mostlyclean and
29225 realclean, remove entries duplicated in common-mostlyclean, add
29226 stamp-libm-err and stamp-version.
29227 (generated-dirs): Add libc directory.
29228 ($(inst_infodir)/libc.info): Install files from build dir.
29230 * manual/install.texi (Configuring and compiling): Adjust since
29231 the info files are not part of the tar ball anymore.
29233 2012-05-14 Andreas Jaeger <aj@suse.de>
29235 * sysdeps/unix/sysv/linux/getcwd.c (__getcwd): Remove unused
29238 2012-05-14 Joseph Myers <joseph@codesourcery.com>
29241 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
29242 to 2.2.0 where earlier.
29243 * sysdeps/unix/sysv/linux/configure: Regenerated.
29244 * sysdeps/unix/sysv/linux/getcwd.c [!__ASSUME_GETCWD_SYSCALL]:
29245 Remove conditional code.
29246 [__ASSUME_GETCWD_SYSCALL]: Make code unconditional.
29247 * sysdeps/unix/sysv/linux/i386/chown.c [!__ASSUME_LCHOWN_SYSCALL]:
29248 Remove conditional code.
29249 [!__NR_lchown]: Likewise.
29250 [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
29251 [__NR_lchown]: Likewise.
29252 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Remove
29253 comment referencing __ASSUME_LCHOWN_SYSCALL.
29254 * sysdeps/unix/sysv/linux/i386/sigaction.c
29255 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
29256 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
29257 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_SIOCGIFNAME]:
29258 Remove conditional code.
29259 [__ASSUME_SIOCGIFNAME ]: Make code unconditional.
29260 (__protocol_available): Remove #if 0 code.
29261 * sysdeps/unix/sysv/linux/ifreq.c [!__ASSUME_SIOCGIFNAME]: Remove
29263 [__ASSUME_SIOCGIFNAME]: Make code unconditional.
29264 * sysdeps/unix/sysv/linux/kernel-features.h
29265 (__ASSUME_GETCWD_SYSCALL): Don't define.
29266 (__ASSUME_REALTIME_SIGNALS): Likewise.
29267 (__ASSUME_PREAD_SYSCALL): Likewise.
29268 (__ASSUME_PWRITE_SYSCALL): Likewise.
29269 (__ASSUME_POLL_SYSCALL): Likewise.
29270 (__ASSUME_LCHOWN_SYSCALL): Likewise.
29271 (__ASSUME_SETRESUID_SYSCALL): Define for all kernel versions for
29273 (__ASSUME_SIOCGIFNAME): Don't define.
29274 (__ASSUME_MSG_NOSIGNAL): Likewise.
29275 (__ASSUME_SENDFILE): Define unconditionally.
29276 (__ASSUME_PROC_SELF_FD_SYMLINK): Don't define.
29277 * sysdeps/unix/sysv/linux/poll.c [!__ASSUME_POLL_SYSCALL]: Remove
29279 [__ASSUME_POLL_SYSCALL]: Make code unconditional.
29280 * sysdeps/unix/sysv/linux/powerpc/chown.c (__chown)
29281 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
29282 (__chown) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
29283 * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat)
29284 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
29285 (fchownat) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
29286 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c
29287 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
29288 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
29289 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
29290 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
29291 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
29292 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c
29293 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
29294 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
29295 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
29296 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
29297 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
29298 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c
29299 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
29300 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
29301 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c
29302 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
29303 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
29304 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c
29305 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
29306 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
29307 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c
29308 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
29309 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
29310 * sysdeps/unix/sysv/linux/pread.c [!__ASSUME_PREAD_SYSCALL]:
29311 Remove conditional code.
29312 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
29313 * sysdeps/unix/sysv/linux/pread64.c [!__ASSUME_PREAD_SYSCALL]:
29314 Remove conditional code.
29315 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
29316 * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal)
29317 [__LINUX_KERNEL_VERSION < 131443]: Remove conditional code.
29318 * sysdeps/unix/sysv/linux/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
29319 Remove conditional code.
29320 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
29321 * sysdeps/unix/sysv/linux/pwrite64.c [!__ASSUME_PWRITE_SYSCALL]:
29322 Remove conditional code.
29323 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
29324 * sysdeps/unix/sysv/linux/sh/pread.c [!__ASSUME_PREAD_SYSCALL]:
29325 Remove conditional code.
29326 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
29327 * sysdeps/unix/sysv/linux/sh/pread64.c [!__ASSUME_PREAD_SYSCALL]:
29328 Remove conditional code.
29329 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
29330 * sysdeps/unix/sysv/linux/sh/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
29331 Remove conditional code.
29332 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
29333 * sysdeps/unix/sysv/linux/sh/pwrite64.c
29334 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
29335 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
29336 * sysdeps/unix/sysv/linux/sigaction.c
29337 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
29338 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
29339 * sysdeps/unix/sysv/linux/sigpending.c
29340 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
29341 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
29342 * sysdeps/unix/sysv/linux/sigprocmask.c
29343 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
29344 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
29345 * sysdeps/unix/sysv/linux/sigsuspend.c
29346 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
29347 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
29348 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
29349 (__libc_missing_rt_sigs): Remove.
29350 (__libc_sigaction) [__NR_rt_sigaction]: Make code unconditional.
29351 (__libc_sigaction): Do not handle ENOSYS from rt_sigaction.
29352 * sysdeps/unix/sysv/linux/syslog.c [!__ASSUME_MSG_NOSIGNAL]:
29353 Remove conditional code.
29354 [__ASSUME_MSG_NOSIGNAL]: Make code unconditional.
29355 * sysdeps/unix/sysv/linux/testrtsig.h (kernel_has_rtsig): Always
29357 * sysdeps/unix/sysv/linux/ttyname.c (ttyname)
29358 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Remove conditional code.
29359 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r)
29360 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Likewise.
29362 2012-05-14 Andreas Jaeger <aj@suse.de>
29364 * sysdeps/i386/fpu/bits/mathinline.h (__pow2): Remove,
29365 it's not used in glibc.
29366 (__coshm1): Likewise.
29367 (__acosh1p): Likewise.
29370 * manual/string.texi (Copying and Concatenation): Add missing
29371 variable in concat example.
29372 Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
29374 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
29377 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Replace
29378 __builtin_clzl with __builtin_clzll.
29380 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
29383 * sysdeps/unix/sysv/linux/check_pf.c (cache): Use
29386 2012-05-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
29388 * sysdeps/i386/i686/fpu/multiarch/Makefile: New file.
29389 * sysdeps/i386/i686fpu/multiarch/e_expf.c: New file.
29390 * sysdeps/i386/i686fpu/multiarch/e_expf-ia32.S: New file.
29391 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: New file.
29393 2012-05-14 Mike Frysinger <vapier@gentoo.org>
29395 * NEWS: Update ia64 info.
29397 2012-05-12 Andreas Schwab <schwab@linux-m68k.org>
29399 * sysdeps/powerpc/memmove.c (MEMMOVE): Don't return a value if
29402 2012-05-12 Thomas Schwinge <thomas@codesourcery.com>
29404 * io/dup3.c (dup3): Rename to __dup3, add weak alias for dup3.
29405 * sysdeps/unix/syscalls.list (dup3): Likewise.
29406 * libio/freopen.c (freopen): Invoke __dup3 instead of dup3.
29407 * libio/freopen64.c (freopen64): Invoke __dup3 instead of dup3.
29409 2012-05-11 H.J. Lu <hongjiu.lu@intel.com>
29411 * elf/stackguard-macros.h (STACK_CHK_GUARD) [__x86_64__]: Use
29412 "%c1" with "i" (offsetof (tcbhead_t, stack_guard)).
29414 2012-05-11 H.J. Lu <hongjiu.lu@intel.com>
29416 * elf/tls-macros.h (TLS_LE): Use mov instead of movq to load
29418 (TLS_IE): Use mov/add instead of movq/addq to load thread
29420 (TLS_GD_PREFIX): New.
29423 2012-05-11 David S. Miller <davem@davemloft.net>
29425 * sysdeps/sparc/fpu/bits/fenv.h (__fenv_stfsr): Add __volatile__.
29426 * sysdeps/sparc/fpu/fpu_control.h (_FPU_GETCW): Likewise.
29427 (_FPU_SETCW): Likewise.
29429 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
29431 * sysdeps/x86_64/dl-trampoline.S: Check if RTLD_SAVESPACE_SSE
29432 is 32-byte aligned.
29434 2012-05-11 Andreas Schwab <schwab@linux-m68k.org>
29437 * iconvdata/gb18030.c: Update tables.
29438 (BODY for FROM_LOOP): Update. Handle two-byte encoded non-BMP
29439 characters specially.
29440 (BODY for TO_LOOP): Add encoding of missing ranges.
29442 2012-05-11 Thomas Schwinge <thomas@codesourcery.com>
29445 * sysdeps/mach/hurd/accept4.c: Replace FSF snail mail address with URL.
29446 * sysdeps/mach/hurd/dup3.c: Likewise.
29447 * sysdeps/mach/hurd/readlinkat.c: Likewise.
29448 * sysdeps/powerpc/memmove.c:: Likewise.
29450 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
29452 * sysdeps/x86_64/dl-machine.h (elf_machine_rela_relative): Handle
29453 R_X86_64_RELATIVE64 only if RTLD_BOOTSTRAP isn't defined.
29455 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
29457 * elf/elf.h (R_X86_64_RELATIVE64): New.
29458 (R_X86_64_NUM): Updated.
29459 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
29460 R_X86_64_RELATIVE64. Always use Elf64_Addr with R_X86_64_64.
29461 (elf_machine_rela_relative): Handle R_X86_64_RELATIVE64.
29462 * sysdeps/x86_64/Makefile (tests): Add tst-quad1 tst-quad2
29463 tst-quad1pie tst-quad2pie
29464 (modules-names): Add tst-quadmod1 tst-quadmod2.
29465 ($(objpfx)tst-quad1): New dependency.
29466 ($(objpfx)tst-quad2): Likewise.
29467 ($(objpfx)tst-quad1pie): Likewise.
29468 ($(objpfx)tst-quad2pie): Likewise.
29469 * sysdeps/x86_64/tst-quad1.c: New file.
29470 * sysdeps/x86_64/tst-quad1pie.c: New file.
29471 * sysdeps/x86_64/tst-quad2.c: Likewise.
29472 * sysdeps/x86_64/tst-quad2pie.c: Likewise.
29473 * sysdeps/x86_64/tst-quadmod1.S: Likewise.
29474 * sysdeps/x86_64/tst-quadmod1pie.S: Likewise.
29475 * sysdeps/x86_64/tst-quadmod2.S: Likewise.
29476 * sysdeps/x86_64/tst-quadmod2pie.S: Likewise.
29478 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
29480 * io/fcntl.h (mode_t, off_t, pid_t): Define types.
29481 (__mode_t_defined, __off_t_defined, __pid_t_defined): Define macros.
29482 * streams/stropts.h (t_scalar_t): Define type.
29484 * sysdeps/generic/paths.h (_PATH_MAN): Set to "/usr/share/man"
29485 (_PATH_PRESERVE): Set to "/var/lib".
29486 (_PATH_RWHODIR): Set to "/var/spool/rwho".
29488 * sysdeps/mach/hurd/openat.c (__openat): Set type of MODE to mode_t
29491 * sysdeps/mach/hurd/xmknodat.c (__xmknodat): Deallocate NODE port only
29492 if __dir_mkfile succeeded.
29494 * sysdeps/mach/hurd/dup3.c: Lock _hurd_dtable_lock before
29495 checking for _hurd_dtablesize. Unlock it right after having
29496 finished _hurd_dtable allocation.
29498 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
29500 * sysdeps/mach/hurd/configure.in: Remove warning for --prefix=[...].
29501 * sysdeps/mach/hurd/configure: Regenerated.
29502 * sysdeps/unix/sysv/linux/configure.in: Move --prefix=/usr
29503 special-casing to...
29504 * sysdeps/gnu/configure.in: ... this new file.
29505 * sysdeps/unix/sysv/linux/configure: Regenerated.
29506 * sysdeps/gnu/configure: New generated file.
29508 * sysdeps/mach/hurd/bits/stat.h (struct stat): Align to what is done
29509 for Linux: use nsec instead of usec, as well as:
29510 [__USE_MISC || __USE_XOPEN2K8] (st_atim, st_mtim, st_ctim): New
29511 members of type struct timespec.
29512 [__USE_MISC || __USE_XOPEN2K8] (st_atime, st_mtime, st_ctime):
29514 (struct stat64): Likewise.
29515 (_STATBUF_ST_NSEC): New macro.
29516 * sysdeps/mach/hurd/xstatconv.c (xstat64_conv): Adapt to that.
29518 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
29519 __strtoul_internal rather than strtoul.
29521 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
29523 * hurd/hurdsock.c (_hurd_socket_server): Check for negative domains,
29526 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
29528 * sysdeps/mach/hurd/setresgid.c (__setresgid): Handle the -1 case,
29529 which preserves existing values.
29530 * sysdeps/mach/hurd/setresuid.c (__setresuid): Likewise.
29532 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
29534 * hurd/hurdselect.c (_hurd_select): Return EINVAL for negative
29535 TIMEOUT values. Return EINVAL for NFDS values either negative or
29536 greater than FD_SETSIZE.
29538 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
29540 * sysdeps/mach/hurd/brk.c (_hurd_set_brk): When more space needs to be
29541 allocated, call __vm_protect to finish enabling the existing space, and
29542 pass a copy of _hurd_data_end instead of PAGEBRK to __vm_allocate to
29543 allocate the remainder.
29545 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
29547 * sysdeps/mach/hurd/recvfrom.c (__recvfrom): Check also for a null
29548 address port. Set ADDR_LEN to 0 when not filling ADDRARG.
29550 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
29552 * sysdeps/mach/hurd/readlinkat.c: New file, heavily derived from
29553 sysdeps/mach/hurd/readlink.c.
29555 * posix/tst-sysconf.c (posix_options): Only use
29556 _POSIX_PRIORITIZED_IO, _POSIX_PRIORITY_SCHEDULING, and
29557 _POSIX_SYNCHRONIZED_IO when they are defined
29558 * sysdeps/mach/hurd/bits/posix_opt.h:
29559 (_POSIX_PRIORITY_SCHEDULING): Undefine macro.
29560 (_XOPEN_REALTIME): Undefine macro.
29561 (_XOPEN_REALTIME_THREADS): Undefine macro.
29562 (_XOPEN_SHM): Undefine macro.
29563 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_INHERIT): Define
29565 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_PROTECT): Define
29567 (_POSIX_ASYNC_IO): Undefine macro.
29568 (_POSIX_PRIORITIZED_IO): Undefine macro.
29569 (_POSIX_SPIN_LOCKS): Define macro to -1.
29571 * bits/sigaction.h [__USE_XOPEN2K8]: Define SA_RESTART,
29572 SA_NODEFER, SA_RESETHAND.
29573 * sysdeps/mach/hurd/bits/fcntl.h [__USE_XOPEN2K8]: Define
29574 O_NOFOLLOW, O_DIRECTORY, O_CLOEXEC, F_GETOWN, F_SETOWN,
29577 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
29579 * elf/Makefile (pldd-modules): Define unconditionally.
29581 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
29583 * sysdeps/mach/hurd/opendir.c (__opendirat): New function.
29585 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
29587 * hurd/hurdchdir.c (_hurd_change_directory_port_from_name):
29588 Return ENOENT when name is empty.
29589 * sysdeps/mach/hurd/chroot.c (chroot): Likewise.
29591 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
29593 * include/libc-symbols.h [NO_HIDDEN] (hidden_nolink): New macro.
29595 * nss/makedb.c (MAP_POPULATE): If not defined, define to zero.
29597 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
29599 Fix mlock in all cases except non-readable pages.
29600 * sysdeps/mach/hurd/mlock.c (mlock): Give VM_PROT_READ
29601 instead of VM_PROT_ALL as parameter to __vm_wire function.
29603 * sysdeps/mach/hurd/mkdir.c: Include <string.h>.
29604 (__mkdir): When path is `/', just fail with EEXIST.
29605 * sysdeps/mach/hurd/mkdirat.c: Likewise.
29607 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
29609 * nss/makedb.c: Include <sys/param.h> (for MAX and roundup), and
29610 <sys/uio.h> (for writev).
29611 * nss/nss_db/db-initgroups.c: Include <limits.h> (for ULONG_MAX),
29612 and <sys/param.h> (for MIN).
29614 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
29616 * sysdeps/mach/nanosleep.c: Return EINVAL for invalid values of
29617 REQUESTED_TIME. Properly set the remaining time and return EINTR
29620 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
29622 * sysdeps/mach/hurd/Makefile ($(common-objpfx)linkobj/libc.so):
29623 Depend on against $(link-rpcuserlibs).
29625 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
29627 * sysdeps/generic/ldsodefs.h [LIBC_STACK_END_NOT_RELRO]
29628 (__libc_stack_end): Do not use attribute_relro.
29629 * sysdeps/mach/hurd/dl-sysdep.h (LIBC_STACK_END_NOT_RELRO): Define.
29630 * sysdeps/mach/hurd/i386/init-first.c (init): Update __libc_stack_end
29631 to libthread-provided value.
29632 * sysdeps/mach/hurd/dl-sysdep.c (__libc_stack_end): Do not use
29635 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
29638 * bits/libc-lock.h (__libc_once_get): New macro.
29639 * sysdeps/mach/bits/libc-lock.h: Likewise.
29640 * sysdeps/mach/hurd/bits/libc-lock.h: Likewise.
29641 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Use __libc_once_get
29642 instead of using implementation details.
29644 * libio/fileops.c: Unconditionally include <kernel-features.h>.
29645 * libio/freopen.c: Likewise.
29646 * libio/freopen64.c: Likewise.
29647 * misc/syslog.c: Likewise.
29648 * nscd/connections.c: Likewise.
29649 * nscd/netgroupcache.c: Likewise.
29650 * sysdeps/posix/getcwd.c: Likewise.
29652 2012-05-10 Roland McGrath <roland@hack.frob.com>
29654 * math/w_ilogbf.c: Add #include <limits.h>.
29656 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
29658 * sysdeps/mach/hurd/setitimer.c (setitimer_locked): Use common exit
29659 path instead of returning without unlocking.
29661 * sysdeps/mach/hurd/bits/ioctls.h (_IOIW): New macro for
29662 immediate-write ioctls.
29663 * sysdeps/mach/hurd/ioctl.c: Handle cases with no arguments.
29665 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
29667 * sysdeps/mach/hurd/i386/init-first.c (init): Use
29668 __builtin_frame_address instead of making assumptions about the
29669 location of the return address relative to DATA. Force early load of
29670 the return address.
29671 (_dl_init_first, doinit1 in doinit in _hurd_stack_setup): Don't use
29672 __builtin_frame_address.
29675 * include/unistd.h: Declare __dup3 and use libc_hidden_proto on it.
29676 * sysdeps/mach/hurd/dup3.c: New file, copy from dup2.c. Evolve it to
29677 implement dup3 and do some further code clean-ups.
29678 * sysdeps/mach/hurd/dup2.c (__dup2): Reimplement using __dup3.
29679 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_DUP3): Define.
29681 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
29683 * sysdeps/mach/hurd/dl-sysdep.c: Conditionalize contents on [SHARED].
29685 * hurd/hurd/fd.h (_hurd_fd_get): Call HURD_CRITICAL_BEGIN/
29686 HURD_CRITICAL_END around holding _hurd_dtable_lock.
29687 * sysdeps/mach/hurd/dirfd (dirfd): Likewise.
29688 * sysdeps/mach/hurd/opendir.c (_hurd_fd_opendir): Call
29689 HURD_CRITICAL_BEGIN/HURD_CRITICAL_END around holding
29692 * hurd/catch-signal.c (hurd_catch_signal): Use sigsetjmp/siglongjmp
29693 instead of setjmp/longjmp to restore the signal mask. Call sigsetjmp
29694 when handler == SIG_ERR, not when handler != SIG_ERR.
29696 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
29698 * sysdeps/mach/hurd/bits/socket.h: New file, copy from the bsd4.4 one.
29699 (SOCK_MAX, SOCK_TYPE_MASK, SOCK_CLOEXEC, SOCK_NONBLOCK): New
29702 accept4 for GNU Hurd.
29703 * include/sys/socket.h (__libc_accept4): New prototype.
29704 * sysdeps/mach/hurd/accept4.c: New file, copy from accept.c. Evolve it
29705 to implement __libc_accept4.
29706 * sysdeps/mach/hurd/accept.c (accept): Reimplement using
29708 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_ACCEPT4): Define.
29710 * sysdeps/mach/hurd/i386/____longjmp_chk.S: New file.
29711 * sysdeps/mach/hurd/i386/signal-defines.sym: New file.
29712 * sysdeps/mach/hurd/i386/Makefile (gen-as-const-headers): Add
29713 signal-defines.sym.
29715 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
29717 * bits/in.h (SOL_IP, SOL_IPV6, SOL_ICMPV6): New macros.
29719 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
29721 * sysdeps/mach/hurd/dl-sysdep.c (open_file): Do not raise
29722 assertion on O_CLOEXEC flag.
29723 * hurd/hurd/fd.h: Update comment to mention O_CLOEXEC.
29724 * hurd/intern-fd.c: Likewise.
29725 * hurd/port2fd.c: Likewise.
29727 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
29730 * bits/in.h (IPV6_PKTINFO): Define new macro.
29731 (IPV6_RXINFO,IPV6_TXINFO,SCM_SRCINFO): Redefine to IPV6_PKTINFO.
29733 2012-05-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
29738 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Fix for subnormal number.
29739 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
29740 * sysdeps/ieee754/flt-32/s_logbf.c (__logf): Likewise.
29741 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
29742 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
29743 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
29744 * math/libm-test.inc (logb_test) : Additional logb tests.
29746 2012-05-09 Andreas Schwab <schwab@linux-m68k.org>
29747 Andreas Jaeger <aj@suse.de>
29749 * configure.in (obsolete-rpc): Add new option --enable-obsolete-rpc.
29750 * configure: Regenerated.
29751 * config.h.in (LINK_OBSOLETE_RPC): New macro.
29752 * config.make.in (link-obsolete-rpc): New substituted variable.
29753 * include/libc-symbols.h (libc_hidden_nolink_sunrpc): Rename from
29754 libc_hidden_nolink and define based on LINK_OBSOLETE_RPC.
29755 * sunrpc/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
29756 (shared-only-routines): Don't set it under [link-obsolete-rpc],
29757 so that libc.a contains the symbols.
29758 * nis/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
29759 * sunrpc/auth_des.c: Use libc_hidden_nolink_sunrpc.
29760 * sunrpc/auth_none.c: Likewise.
29761 * sunrpc/auth_unix.c: Likewise.
29762 * sunrpc/authdes_prot.c: Likewise.
29763 * sunrpc/authuxprot.c: Likewise.
29764 * sunrpc/clnt_gen.c: Likewise.
29765 * sunrpc/clnt_perr.c: Likewise.
29766 * sunrpc/clnt_raw.c: Likewise.
29767 * sunrpc/clnt_simp.c: Likewise.
29768 * sunrpc/clnt_tcp.c: Likewise.
29769 * sunrpc/clnt_udp.c: Likewise.
29770 * sunrpc/clnt_unix.c: Likewise.
29771 * sunrpc/des_crypt.c: Likewise.
29772 * sunrpc/des_soft.c: Likewise.
29773 * sunrpc/get_myaddr.c: Likewise.
29774 * sunrpc/key_call.c: Likewise.
29775 * sunrpc/key_prot.c: Likewise.
29776 * sunrpc/netname.c: Likewise.
29777 * sunrpc/pm_getmaps.c: Likewise.
29778 * sunrpc/pm_getport.c: Likewise.
29779 * sunrpc/pmap_clnt.c: Likewise.
29780 * sunrpc/pmap_prot.c: Likewise.
29781 * sunrpc/pmap_prot2.c: Likewise.
29782 * sunrpc/pmap_rmt.c: Likewise.
29783 * sunrpc/publickey.c: Likewise.
29784 * sunrpc/rpc_cmsg.c: Likewise.
29785 * sunrpc/rpc_common.c: Likewise.
29786 * sunrpc/rpc_dtable.c: Likewise.
29787 * sunrpc/rpc_prot.c: Likewise.
29788 * sunrpc/rpc_thread.c: Likewise.
29789 * sunrpc/rtime.c: Likewise.
29790 * sunrpc/svc.c: Likewise.
29791 * sunrpc/svc_auth.c: Likewise.
29792 * sunrpc/svc_raw.c: Likewise.
29793 * sunrpc/svc_run.c: Likewise.
29794 * sunrpc/svc_tcp.c: Likewise.
29795 * sunrpc/svc_udp.c: Likewise.
29796 * sunrpc/svc_unix.c: Likewise.
29797 * sunrpc/svcauth_des.c: Likewise.
29798 * sunrpc/xcrypt.c: Likewise.
29799 * sunrpc/xdr.c: Likewise.
29800 * sunrpc/xdr_array.c: Likewise.
29801 * sunrpc/xdr_float.c: Likewise.
29802 * sunrpc/xdr_intXX_t.c: Likewise.
29803 * sunrpc/xdr_mem.c: Likewise.
29804 * sunrpc/xdr_rec.c: Likewise.
29805 * sunrpc/xdr_ref.c: Likewise.
29806 * sunrpc/xdr_sizeof.c: Likewise.
29807 * sunrpc/xdr_stdio.c: Likewise.
29809 2012-05-10 Roland McGrath <roland@hack.frob.com>
29811 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Fix typo in last
29812 change. Update copyright years.
29814 2012-05-10 Joseph Myers <joseph@codesourcery.com>
29816 * include/stdc-predef.h (__STDC_NO_THREADS__): Define.
29818 2012-05-10 Maxim Kuvyrkov <maxim@codesourcery.com>
29819 Joseph Myers <joseph@codesourcery.com>
29820 Paul Pluzhnikov <ppluzhnikov@google.com>
29823 * sunrpc/Makefile [cross-compiling] (headers): Enable additions
29825 [cross-compiling] (extra-libs): Likewise.
29826 [cross-compiling] (extra-libs-others): Likewise.
29827 [cross-compiling] (librpcsvc-routines): Likewise.
29828 [cross-compiling] (librpcsvc-inhibit-o): Likewise.
29829 [cross-compiling] (omit-deps): Likewise.
29830 (sunrpc-CPPFLAGS): New variable.
29831 (CPPFLAGS): Define using $(sunrpc-CPPFLAGS).
29832 (BUILD_CPPFLAGS): Append $(sunrpc-CPPFLAGS).
29833 (cross-rpcgen-objs): New variable.
29834 (extra-objs): Append $(cross-rpcgen-objs).
29835 ($(cross-rpcgen-objs)): New rule.
29836 ($(objpfx)cross-rpcgen): Likewise.
29837 (rpcgen-cmd): Define to use $(built-program-file). Expand
29839 ($(objpfx)rpcsvc/%.stmp): Depend on cross-rpcgen.
29840 ($(objpfx)x%.stmp): Likewise.
29841 * sunrpc/proto.h [IS_IN_build] (_): Define.
29842 [IS_IN_build] (_libc_intl_domainname): Likewise.
29844 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
29846 * sysdeps/x86_64/dl-machine.h (elf_machine_rela) [__ILP32__]:
29847 Sign extend relocation result to 64 bits for R_X86_64_DTPOFF64
29848 and R_X86_64_TPOFF64.
29850 2012-05-10 Joseph Myers <joseph@codesourcery.com>
29852 * sysdeps/unix/sysv/linux/syscalls.list (alarm): Add entry from
29853 sysdeps/unix/sysv/syscalls.list.
29856 * sysdeps/unix/sysv/syscalls.list: Remove file.
29858 2012-05-10 Paul Eggert <eggert@cs.ucla.edu>
29861 * locale/bits/locale.h (__LC_CTYPE, __LC_NUMERIC, __LC_TIME)
29862 (__LC_COLLATE, __LC_MONETARY, __LC_MESSAGES, __LC_ALL, __LC_PAPER)
29863 (__LC_NAME, __LC_ADDRESS, __LC_TELEPHONE, __LC_MEASUREMENT)
29864 (__LC_IDENTIFICATION): Make these macros useful in #if
29865 expressions, as required by C99.
29867 2012-05-10 Andreas Schwab <schwab@linux-m68k.org>
29869 * sunrpc/Makefile (extra-objs) [$(build-shared) = yes]: Add
29870 $(addsuffix .os,$(rpc-compat-routines)). Move include ../Rules
29873 2012-05-09 H.J. Lu <hongjiu.lu@intel.com>
29875 * stdlib/longlong.h: Updated from GCC.
29877 2012-05-09 Andreas Jaeger <aj@suse.de>
29879 * nscd/nscd.c (run_modes): Make named enum, reorder so that
29880 default is first entry.
29881 (run_mode): Set type.
29882 (main): Remove informal message about syslog.
29883 (options): Fix typo.
29886 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Add __volatile
29889 (llrintf): Likewise.
29890 (llrint): Likewise.
29893 (nearbyint): Likewise.
29894 (nearbyintf): Likewise.
29896 2012-05-09 Andreas Jaeger <aj@suse.de>
29897 Pedro Alves <palves@redhat.com>
29899 * nscd/nscd.c (run_mode): Use enum.
29900 (main): Cleanup coding style issue.
29902 2012-05-09 Alexandre Oliva <aoliva@redhat.com>
29903 Andreas Jaeger <aj@suse.de>
29905 * nscd/nscd.c (go_background): Replaced with...
29906 (run_mode): ... this.
29907 (RUN_FOREGROUND, RUN_DAEMONIZE, RUN_DEBUG): Add.
29908 (options): Add -F --foreground.
29909 (main): Implement it.
29910 (parse_opt): Parse it.
29912 2012-05-09 Andreas Jaeger <aj@suse.de>
29915 * string/bits/string2.h (strspn) [__GNUC_PREREQ(3, 2) &&
29916 !_HAVE_STRING_ARCH_strspn]: Cast zero to size_t to avoid
29917 -Wconversion warning.
29918 (strspn) [!__GNUC_PREREQ(3, 2) && !_HAVE_STRING_ARCH_strspn]:
29921 2012-05-09 Joseph Myers <joseph@codesourcery.com>
29923 * conform/data/locale.h-data (NULL): Use macro-constant. Require
29925 (LC_ALL): Use macro-int-constant.
29926 (LC_COLLATE): Likewise.
29927 (LC_CTYPE): Likewise.
29928 (LC_MESSAGES): Likewise.
29929 (LC_MONETARY): Likewise.
29930 (LC_NUMERIC): Likewise.
29931 (LC_TIME): Likewise.
29932 [ISO || ISO99 || ISO11] (LC_MESSAGES): Do not require.
29933 (LC_*): Change to LC_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
29934 [ISO || ISO99 || ISO11] (*_t): Do not allow.
29935 * conform/data/math.h-data (HUGE_VAL): Use macro-constant.
29937 [C99-based standards] (float_t): Expect type.
29938 [C99-based standards] (double_t): Expect type.
29939 [C99-based standards] (HUGE_VALF): Use macro-constant. Specify
29941 [C99-based standards] (HUGE_VALL): Likewise.
29942 [C99-based standards] (INFINITY): Likewise.
29943 [C99-based standards] (NAN): Likewise.
29944 [C99-based standards] (FP_INFINITE): Use macro-int-constant.
29945 [C99-based standards] (FP_NAN): Likewise.
29946 [C99-based standards] (FP_NORMAL): Likewise.
29947 [C99-based standards] (FP_SUBNORMAL): Likewise.
29948 [C99-based standards] (FP_ZERO): Likewise.
29949 [C99-based standards] (FP_FAST_FMA): Use
29950 optional-macro-int-constant. Specify type. Require == 1.
29951 [C99-based standards] (FP_FAST_FMAF): Likewise.
29952 [C99-based standards] (FP_FAST_FMAL): Likewise.
29953 [C99-based standards] (FP_ILOGB0): Use macro-int-constant.
29954 [C99-based standards] (FP_ILOGBNAN): Likewise.
29955 [C99-based standards] (MATH_ERRNO): Use macro-int-constant.
29957 [C99-based standards] (MATH_ERREXCEPT): Likewise.
29958 [C99-based standards] (math_errhandling): Specify type.
29959 [ISO99 || ISO11] (signgam): Do not allow.
29960 [non-C99-based standards] (copysignf): Do not allow.
29961 [non-C99-based standards] (exp2f): Likewise.
29962 [non-C99-based standards] (log2f): Likewise.
29963 [non-C99-based standards] (modff): Allow.
29964 [non-C99-based standards] (erff): Do not allow.
29965 [non-C99-based standards] (erfcf): Likewise.
29966 [non-C99-based standards] (gammaf): Likewise.
29967 [non-C99-based standards] (hypotf): Likewise.
29968 [non-C99-based standards] (j0f): Likewise.
29969 [non-C99-based standards] (j1f): Likewise.
29970 [non-C99-based standards] (jnf): Likewise.
29971 [non-C99-based standards] (lgammaf): Likewise.
29972 [non-C99-based standards] (tgammaf): Likewise.
29973 [non-C99-based standards] (y0f): Likewise.
29974 [non-C99-based standards] (y1f): Likewise.
29975 [non-C99-based standards] (ynf): Likewise.
29976 [non-C99-based standards] (isnanf): Likewise.
29977 [non-C99-based standards] (acoshf): Likewise.
29978 [non-C99-based standards] (asinhf): Likewise.
29979 [non-C99-based standards] (atanhf): Likewise.
29980 [non-C99-based standards] (cbrtf): Likewise.
29981 [non-C99-based standards] (expm1f): Likewise.
29982 [non-C99-based standards] (ilogbf): Likewise.
29983 [non-C99-based standards] (log1pf): Likewise.
29984 [non-C99-based standards] (logbf): Likewise.
29985 [non-C99-based standards] (nextafterf): Likewise.
29986 [non-C99-based standards] (remainderf): Likewise.
29987 [non-C99-based standards] (rintf): Likewise.
29988 [non-C99-based standards] (scalbf): Likewise.
29989 [non-C99-based standards] (copysignl): Likewise.
29990 [non-C99-based standards] (exp2l): Likewise.
29991 [non-C99-based standards] (log2l): Likewise.
29992 [non-C99-based standards] (modfl): Allow.
29993 [non-C99-based standards] (erfl): Do not allow.
29994 [non-C99-based standards] (erfcl): Likewise.
29995 [non-C99-based standards] (gammal): Likewise.
29996 [non-C99-based standards] (hypotl): Likewise.
29997 [non-C99-based standards] (j0l): Likewise.
29998 [non-C99-based standards] (j1l): Likewise.
29999 [non-C99-based standards] (jnl): Likewise.
30000 [non-C99-based standards] (lgammal): Likewise.
30001 [non-C99-based standards] (tgammal): Likewise.
30002 [non-C99-based standards] (y0l): Likewise.
30003 [non-C99-based standards] (y1l): Likewise.
30004 [non-C99-based standards] (ynl): Likewise.
30005 [non-C99-based standards] (isnanl): Likewise.
30006 [non-C99-based standards] (acoshl): Likewise.
30007 [non-C99-based standards] (asinhl): Likewise.
30008 [non-C99-based standards] (atanhl): Likewise.
30009 [non-C99-based standards] (cbrtl): Likewise.
30010 [non-C99-based standards] (expm1l): Likewise.
30011 [non-C99-based standards] (ilogbl): Likewise.
30012 [non-C99-based standards] (log1pl): Likewise.
30013 [non-C99-based standards] (logbl): Likewise.
30014 [non-C99-based standards] (nextafterl): Likewise.
30015 [non-C99-based standards] (remainderl): Likewise.
30016 [non-C99-based standards] (rintl): Likewise.
30017 [non-C99-based standards] (scalbl): Likewise.
30018 [ISO || ISO99 || ISO11] (*_t): Do not allow.
30019 [non-C99-based standards] (FP_*): Do not allow.
30020 [C99-based standards] (FP_*): Change to
30021 FP_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
30022 * conform/data/setjmp.h-data [ISO || ISO99 || ISO11] (*_t): Do not
30024 * conform/data/signal.h-data (SIG_DFL): Use macro-constant.
30025 (SIG_ERR): Likewise.
30026 [X/Open-based standards] (SIG_HOLD): Likewise.
30027 (SIG_IGN): Likewise.
30028 (SIGABRT): Use macro-int-constant. Specify type. Require
30030 (SIGFPE): Likewise.
30031 (SIGILL): Likewise.
30032 (SIGINT): Likewise.
30033 (SIGSEGV): Likewise.
30034 (SIGTER): Likewise.
30035 [!ISO && !ISO99 && !ISO11] (SIGALRM): Likewise.
30036 [!ISO && !ISO99 && !ISO11] (SIGHUP): Likewise.
30037 [!ISO && !ISO99 && !ISO11] (SIGIO): Likewise.
30038 [!ISO && !ISO99 && !ISO11] (SIGKILL): Likewise.
30039 [!ISO && !ISO99 && !ISO11] (SIGPIPE): Likewise.
30040 [!ISO && !ISO99 && !ISO11] (SIGQUIT): Likewise.
30041 [!ISO && !ISO99 && !ISO11] (SIGUSR1): Likewise.
30042 [!ISO && !ISO99 && !ISO11] (SIGUSR2): Likewise.
30043 [!ISO && !ISO99 && !ISO11] (SIGCHLD): Likewise.
30044 [!ISO && !ISO99 && !ISO11] (SIGCONT): Likewise.
30045 [!ISO && !ISO99 && !ISO11] (SIGSTOP): Likewise.
30046 [!ISO && !ISO99 && !ISO11] (SIGTSTP): Likewise.
30047 [!ISO && !ISO99 && !ISO11] (SIGTTIN): Likewise.
30048 [!ISO && !ISO99 && !ISO11] (SIGTTOU): Likewise.
30049 [!ISO && !ISO99 && !ISO11] (SIGBUS): Likewise.
30050 [!ISO && !ISO99 && !ISO11] (SIGPOLL): Likewise.
30051 [!ISO && !ISO99 && !ISO11] (SIGPROF): Likewise.
30052 [!ISO && !ISO99 && !ISO11] (SIGSYS): Likewise.
30053 [X/Open-based standards] (SIGTRAP): Likewise.
30054 [!ISO && !ISO99 && !ISO11] (SIGURG): Likewise.
30055 [!ISO && !ISO99 && !ISO11] (SIGVTALRM): Likewise.
30056 [!ISO && !ISO99 && !ISO11] (SIGXCPU): Likewise.
30057 [!ISO && !ISO99 && !ISO11] (SIGXFSZ): Likewise.
30058 * conform/data/stdarg.h-data [ISO || ISO99 || ISO11] (*_t): Do not
30061 2012-05-08 Ian Wienand <ianw@vmware.com>
30064 * time/tzset.c (__tzset_parse_tz): Update default rules for
30065 daylight time changes in the Energy Policy Act of 2005.
30067 2012-05-09 Andreas Jaeger <aj@suse.de>
30070 * elf/ldconfig.c (parse_conf): Change string to make clear that
30071 ldconfig only issued a warning if ld.so.conf does not exist.
30073 2012-05-08 David S. Miller <davem@davemloft.net>
30075 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: Use
30076 movxtod instead of popping the value on the stack.
30078 * sysdeps/sparc/fpu/libm-test-ulps: Update.
30080 2012-05-08 Carlos O'Donell <carlos_odonell@mentor.com>
30082 * config.h.in: Add HAVE_ARM_PCS_VFP.
30084 2012-05-08 Roland Mc Grath <roland@hack.frob.com>
30087 * include/features.h: Warn if user requests __FORTIFY_SOURCE
30088 checking but the checks are disabled for any reason.
30090 2012-05-08 H.J. Lu <hongjiu.lu@intel.com>
30092 * sysdeps/x86_64/dl-machine.h: Replace Elf64_XXX with ElfW(XXX)
30093 and ELF64_R_TYPE with ELFW(R_TYPE).
30095 2012-05-08 Joseph Myers <joseph@codesourcery.com>
30097 * sysdeps/unix/sysv/syscalls.list (pause): Remove.
30098 (ulimit): Likewise.
30100 * sysdeps/unix/sysv/syscalls.list (setrlimit): Remove.
30101 (settimeofday): Likewise.
30103 2012-05-08 Mike Frysinger <vapier@gentoo.org>
30105 * inet/arpa/tftp.h (struct tftphdr): Rename th_u to th_u1. Add
30106 a struct th_u2 inside the union, and move tu_block/tu_code into
30107 a new th_u3 union of tu_block/tu_code inside of that. Move
30108 th_data[1] into the th_u2 as tu_data[0]. Change tu_stuff[1] to
30109 tu_stuff[0]. Add a new tu_padding[4] to keep sizeof() the same.
30110 (th_block): Change to th_u1.th_u2.th_u3.tu_block.
30111 (th_code): Change to th_u1.th_u2.th_u3.tu_code.
30112 (th_stuff): Change to th_u1.tu_stuff.
30114 (th_msg): Change to th_u1.th_u2.tu_data.
30116 2012-05-07 David S. Miller <davem@davemloft.net>
30118 * sysdeps/sparc/fpu/libm-test-ulps: Update.
30121 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK_CALL): New macro.
30122 (SETUP_PIC_REG): Use it.
30123 (SETUP_PIC_REG_LEAF): Use it.
30125 2012-05-07 Joseph Myers <joseph@codesourcery.com>
30129 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
30131 (EXPL_FINITE): Likewise.
30132 (FLDLOG): Likewise.
30133 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
30134 * sysdeps/i386/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
30136 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
30138 (EXPL_FINITE): Likewise.
30139 (FLDLOG): Likewise.
30140 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
30141 * sysdeps/x86_64/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
30143 * math/libm-test.inc (expm1_test): Add more tests. Do not disable
30144 test of -max_value argument for long double.
30145 * sysdeps/i386/fpu/libm-test-ulps: Update.
30146 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
30148 2012-05-06 David S. Miller <davem@davemloft.net>
30150 * scripts/data/localplt-sparc-linux-gnu.data: Add '?' markers to
30151 quad soft-float symbols whose references which are compiler
30153 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
30155 2012-05-06 Joseph Myers <joseph@codesourcery.com>
30159 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
30161 (EXPL_FINITE): Likewise.
30162 (FLDLOG): Likewise.
30165 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
30166 Adjust comments for base varying.
30167 (__expl_finite): Change alias to EXPL_FINITE.
30168 * sysdeps/i386/fpu/e_exp10l.S: Define USE_AS_EXP10L and include
30170 * sysdeps/ieee754/dbl-64/e_exp10.c: New file.
30171 * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
30172 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
30173 * sysdeps/x86_64/fpu/e_exp10l.S: Likewise.
30174 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
30176 (EXPL_FINITE): Likewise.
30177 (FLDLOG): Likewise.
30180 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
30181 Adjust comments for base varying.
30182 (__expl_finite): Change alias to EXPL_FINITE.
30183 * math/libm-test.inc (exp10_test): Add more tests. Do not disable
30185 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
30188 * math/libm-test.inc (check_float_internal): Correct ulp
30189 calculation for subnormal expected results.
30191 2012-05-06 Andreas Jaeger <aj@suse.de>
30193 * Makeconfig (+math-flags): New, set to -frounding-math.
30194 (+cflags): Add +math-flags so that all of glibc gets compiled with
30197 * sysdeps/x86_64/fpu/libm-test-ulps: Updated.
30199 2012-05-05 Joseph Myers <joseph@codesourcery.com>
30201 * math/libm-test.inc (hypot_test) [TEST_DOUBLE && TEST_INLINE]:
30207 * sysdeps/i386/fpu/e_expl.S (csat): New constant.
30208 (__ieee754_expl): Allow for and saturate large arguments.
30209 * sysdeps/ieee754/dbl-64/w_exp.c (o_threshold): Remove variable.
30210 (u_threshold): Likewise.
30211 (__exp): Call __ieee754_exp before checking for overflow and
30213 * sysdeps/ieee754/flt-32/w_expf.c (o_threshold): Remove variable.
30214 (u_threshold): Likewise.
30215 (__expf): Call __ieee754_expf before checking for overflow and
30217 * sysdeps/ieee754/ldbl-96/w_expl.c (o_threshold): Remove variable.
30218 (u_threshold): Likewise.
30219 (__expl): Call __ieee754_expl before checking for overflow and
30221 * sysdeps/x86_64/fpu/e_expl.S (csat): New constant.
30222 (__ieee754_expl): Allow for and saturate large arguments.
30223 * math/libm-test.inc (exp_test): Add another test. Do not allow
30224 missing overflow exception on overflow.
30225 (expm1_test): Do not allow missing overflow exception on overflow.
30227 * sysdeps/i386/fpu/e_expl.c: Move to ...
30228 * sysdeps/i386/fpu/e_expl.S: ... here. Write directly in assembly
30229 rather than using inline asm.
30230 * sysdeps/x86_64/fpu/e_expl.c: Remove file.
30231 * sysdeps/x86_64/fpu/e_expl.S: Copy from
30232 sysdeps/i386/fpu/e_expl.S, adjusted for x86_64.
30234 * sysdeps/unix/sysv/syscalls.list (ftime): Remove.
30237 (signal): Likewise.
30241 2012-05-04 Joseph Myers <joseph@codesourcery.com>
30243 * sysdeps/unix/syscalls.list (adjtime): Add entry from
30244 sysdeps/unix/common/syscalls.list.
30245 (fchmod): Likewise.
30246 (fchown): Likewise.
30247 (ftruncate): Likewise.
30248 (getrusage): Likewise.
30249 (gettimeofday): Likewise.
30250 (setpgid): Likewise.
30251 (setregid): Likewise.
30252 (setreuid): Likewise.
30253 (sigaction): Likewise.
30254 (truncate): Likewise.
30255 (vhangup): Likewise.
30256 * sysdeps/unix/common/syscalls.list: Remove file.
30257 * sysdeps/unix/bsd/Implies: Don't include unix/common.
30258 * sysdeps/unix/sysv/linux/Implies: Likewise.
30260 2012-05-04 H.J. Lu <hongjiu.lu@intel.com>
30262 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: Moved to ...
30263 * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Here.
30264 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist:
30266 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
30268 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: Moved
30270 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Here.
30271 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: Moved
30273 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Here.
30274 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: Moved
30276 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Here.
30277 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: Moved
30279 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Here.
30280 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: Moved
30282 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Here.
30283 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: Moved
30285 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Here.
30286 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: Moved
30288 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
30290 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: Moved
30292 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist:
30294 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: Moved
30296 * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Here.
30297 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist:
30299 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist:
30301 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: Moved
30303 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Here.
30305 2012-05-04 Joseph Myers <joseph@codesourcery.com>
30307 * sysdeps/unix/common/bits/dirent.h: Remove file.
30308 * sysdeps/unix/common/bits/fcntl.h: Likewise.
30310 * sysdeps/unix/bsd/bits/dirent.h: Remove file.
30311 * sysdeps/unix/bsd/bits/fcntl.h: Likewise.
30312 * sysdeps/unix/bsd/bsd4.4/isatty.c: Likewise.
30313 * sysdeps/unix/bsd/isatty.c: Likewise.
30314 * sysdeps/unix/bsd/tcdrain.c: Likewise.
30315 * sysdeps/unix/bsd/tcgetattr.c: Likewise.
30316 * sysdeps/unix/bsd/tcsetattr.c: Likewise.
30318 2012-05-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
30321 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Fix
30322 long double comparison inaccuracies.
30323 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
30324 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
30326 2012-05-04 Andreas Schwab <schwab@linux-m68k.org>
30328 * sysdeps/unix/make-syscalls.sh: Fix check for version aliases.
30329 * sysdeps/unix/sysv/linux/i386/syscalls.list: Revert last change.
30331 2012-05-04 Joseph Myers <joseph@codesourcery.com>
30334 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Check for trailing
30335 nonzero digits before rounding a hex value.
30336 * stdlib/tst-strtod.c (tests): Add another test.
30338 2012-05-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
30340 * sysdeps/s390/fpu/libm-test-ulps: Update.
30342 2012-05-03 Andreas Jaeger <aj@suse.de>
30344 * malloc/mcheck.c (mcheck): Add barrier so that malloc/free pair
30345 does not get optimized out.
30346 (malloc_opt_barrier): New.
30348 2012-05-03 Andreas Jaeger <aj@suse.de>
30349 Roland McGrath <roland@hack.frob.com>
30351 * Makerules (.PRECIOUS): Add %.symlist pattern to prevent
30352 intermediate file deletion.
30353 (generated): Add .symlist files.
30355 2012-05-03 Joseph Myers <joseph@codesourcery.com>
30358 * libio/bits/stdio-ldbl.h [__USE_XOPEN2K8] (__dprintf_chk):
30359 Redirect under this condition.
30360 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
30361 [__USE_GNU] (__dprintf_chk): Not under this condition.
30362 [__USE_GNU] (__vdprintf_chk): Likewise.
30363 * libio/bits/stdio2.h [__USE_XOPEN2K8] (__dprintf_chk): Declare
30364 under this condition.
30365 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
30366 [__USE_XOPEN2K8] (dprintf): Define under this condition.
30367 [__USE_XOPEN2K8] (vdprintf): Likewise.
30368 [__USE_GNU] (__dprintf_chk): Not under this condition.
30369 [__USE_GNU] (__vdprintf_chk): Likewise.
30370 [__USE_GNU] (dprintf): Likewise.
30371 [__USE_GNU] (vdprintf): Likewise.
30373 2012-05-03 Roland McGrath <roland@hack.frob.com>
30375 * elf/Makefile (common-generated): Set this instead of generated for
30376 .dyn, .phdr, .jmprel files. Remove $(common-objpfx) from the
30377 $(all-built-dso)-derived lists.
30379 2012-05-03 Andreas Jaeger <aj@suse.de>
30381 * sysdeps/i386/fpu/libm-test-ulps: Update.
30384 * FAQ.in: Likewise.
30385 * scripts/gen-FAQ.pl: Likewise.
30386 * manual/install.texi (Installation): Point to online location of
30388 * Makefile (files-for-dist): Remove FAQ.
30391 2012-05-02 Allan McRae <allan@archlinux.org>
30393 * elf/Makefile: (LDFLAGS-nodel2mod3.so: Use $(no-as-needed).
30394 (LDFLAGS-reldepmod5.so): Likewise.
30395 (LDFLAGS-reldep6mod1.so): Likewise.
30396 (LDFLAGS-reldep6mod4.so): Likewise.
30397 (LDFLAGS-reldep8mod3.so): Likewise.
30398 (LDFLAGS-unload4mod1.so): Likewise.
30399 (LDFLAGS-unload4mod2.so): Likewise.
30400 (LDFLAGS-tst-initorder): Likewise.
30401 (LDFLAGS-tst-initordera2.so): Likewise.
30402 (LDFLAGS-tst-initordera3.so): Likewise.
30403 (LDFLAGS-tst-initordera4.so): Likewise.
30404 (LDFLAGS-tst-initorderb2.so): Likewise.
30405 (LDFLAGS-noload): Likewise.
30406 (LDFLAGS-next): Likewise.
30407 (LDFLAGS-order2mod1.so): Likewise.
30408 (LDFLAGS-order2mod2.so): Likewise.
30409 (LDFLAGS-tst-initorder2): Likewise.
30410 (LDFLAGS-tst-initorder2a.so): Likewise.
30411 (LDFLAGS-tst-initorder2b.so): Likewise.
30412 (LDFLAGS-tst-initorder2c.so): Likewise.
30413 * stdlib/Makefile: (LDFLAGS-tst-putenv): Likewise.
30415 2012-05-02 David S. Miller <davem@davemloft.net>
30417 * sysdeps/sparc/fpu/libm-test-ulps: Update.
30419 2012-05-02 Paul Pluzhnikov <ppluzhnikov@google.com>
30422 * elf/dl-sysdep.c (_dl_show_auxv): Add bounds check.
30424 2012-05-02 Andreas Jaeger <aj@suse.de>
30426 * math/Makefile (CPPFLAGS-test-ildoubl.c): Add -frounding-math
30427 since we manipulate rounding mode.
30428 (CPPFLAGS-test-idouble.c): Likewise.
30429 (CPPFLAGS-test-ifloat.c): Likewise.
30430 (CFLAGS-test-ldouble.c): Likewise.
30431 (CFLAGS-test-double.c): Likewise.
30432 (CFLAGS-test-float.c): Likewise.
30433 (CFLAGS-test-misc.c): Likewise.
30434 (CFLAGS-test-test-fenv.c): Likewise.
30436 2012-05-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
30440 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Use floating-point
30441 comparisons to determine direction to adjust input.
30443 2012-05-01 Roland McGrath <roland@hack.frob.com>
30445 * elf/Makefile ($(objpfx)check-localplt.out): Redirect the test's
30446 output to the target.
30448 * scripts/localplt.awk: New file.
30449 * elf/Makefile ($(objpfx)check-localplt): Target removed.
30450 (check-localplt-CFLAGS): Variable removed.
30451 ($(all-built-dso:=.jmprel)): New static pattern rule.
30452 (generated): Add those targets.
30453 (localplt-built-dso): New variable.
30454 ($(objpfx)check-localplt.out): Use the script on the .jmprel files.
30456 * elf/check-localplt.c: File removed.
30458 * scripts/check-execstack.awk: New file.
30459 * elf/Makefile ($(objpfx)check-execstack): Target removed.
30460 (check-execstack-CFLAGS): Variable removed.
30461 ($(objpfx)check-execstack.h): Target removed.
30462 ($(objpfx)execstack-default): New target.
30463 (generated): Add that instead of check-execstack.h.
30464 ($(all-built-dso:=.phdr)): New static pattern rule.
30465 (generated): Add those targets.
30466 * elf/check-execstack.c: File removed.
30468 * scripts/check-textrel.awk: New file.
30469 * elf/Makefile ($(objpfx)check-textrel): Target removed.
30470 (check-textrel-CFLAGS): Variable removed.
30471 (all-built-dso): Use := to define.o
30472 ($(all-built-dso:=.dyn)): New static pattern rule.
30473 (generated): Add those targets.
30474 ($(objpfx)check-textrel.out): Use the script on the .dyn files.
30475 * config.make.in (READELF): New substituted variable.
30476 * elf/check-textrel.c: File removed.
30478 2012-05-01 Joseph Myers <joseph@codesourcery.com>
30480 * conform/data/assert.h-data [ISO || ISO99 || ISO11] (*_t): Do not
30482 * conform/data/ctype.h-data [C99-based standards] (isblank):
30484 (is*): Change to is[abcdefghijklmnopqrstuvwxyz]*.
30485 (to*): Change to to[abcdefghijklmnopqrstuvwxyz]*.
30486 [ISO || ISO99 || ISO11] (*_t): Do not allow.
30487 * conform/data/errno.h-data (EDOM): Use macro-int-constant.
30488 Specify type. Require positive value.
30489 (EILSEQ): Likewise.
30490 (ERANGE): Likewise.
30491 [ISO || POSIX] (EILSEQ): Do not expect.
30492 [!ISO && !ISO99 && !ISO11] (E2BIG): Use macro-int-constant.
30493 Specify type. Require positive value.
30494 [!ISO && !ISO99 && !ISO11] (EACCES): Likewise.
30495 [!ISO && !ISO99 && !ISO11] (EADDRINUSE): Likewise.
30496 [!ISO && !ISO99 && !ISO11] (EADDRNOTAVAIL): Likewise.
30497 [!ISO && !ISO99 && !ISO11] (EAFNOSUPPORT): Likewise.
30498 [!ISO && !ISO99 && !ISO11] (EAGAIN): Likewise.
30499 [!ISO && !ISO99 && !ISO11] (EALREADY): Likewise.
30500 [!ISO && !ISO99 && !ISO11] (EBADF): Likewise.
30501 [!ISO && !ISO99 && !ISO11] (EBADMSG): Likewise.
30502 [!ISO && !ISO99 && !ISO11] (EBUSY): Likewise.
30503 [!ISO && !ISO99 && !ISO11] (ECANCELED): Likewise.
30504 [!ISO && !ISO99 && !ISO11] (ECHILD): Likewise.
30505 [!ISO && !ISO99 && !ISO11] (ECONNABORTED): Likewise.
30506 [!ISO && !ISO99 && !ISO11] (ECONNREFUSED): Likewise.
30507 [!ISO && !ISO99 && !ISO11] (ECONNRESET): Likewise.
30508 [!ISO && !ISO99 && !ISO11] (EDEADLK): Likewise.
30509 [!ISO && !ISO99 && !ISO11] (EDESTADDRREQ): Likewise.
30510 [!ISO && !ISO99 && !ISO11] (EDQUOT): Likewise.
30511 [!ISO && !ISO99 && !ISO11] (EEXIST): Likewise.
30512 [!ISO && !ISO99 && !ISO11] (EFAULT): Likewise.
30513 [!ISO && !ISO99 && !ISO11] (EFBIG): Likewise.
30514 [!ISO && !ISO99 && !ISO11] (EHOSTUNREACH): Likewise.
30515 [!ISO && !ISO99 && !ISO11] (EIDRM): Likewise.
30516 [!ISO && !ISO99 && !ISO11] (EINPROGRESS): Likewise.
30517 [!ISO && !ISO99 && !ISO11] (EINTR): Likewise.
30518 [!ISO && !ISO99 && !ISO11] (EINVAL): Likewise.
30519 [!ISO && !ISO99 && !ISO11] (EIO): Likewise.
30520 [!ISO && !ISO99 && !ISO11] (EISCONN): Likewise.
30521 [!ISO && !ISO99 && !ISO11] (EISDIR): Likewise.
30522 [!ISO && !ISO99 && !ISO11] (ELOOP): Likewise.
30523 [!ISO && !ISO99 && !ISO11] (EMFILE): Likewise.
30524 [!ISO && !ISO99 && !ISO11] (EMLINK): Likewise.
30525 [!ISO && !ISO99 && !ISO11] (EMSGSIZE): Likewise.
30526 [!ISO && !ISO99 && !ISO11] (EMULTIHOP): Likewise.
30527 [!ISO && !ISO99 && !ISO11] (ENAMETOOLONG): Likewise.
30528 [!ISO && !ISO99 && !ISO11] (ENETDOWN): Likewise.
30529 [!ISO && !ISO99 && !ISO11] (ENETUNREACH): Likewise.
30530 [!ISO && !ISO99 && !ISO11] (ENFILE): Likewise.
30531 [!ISO && !ISO99 && !ISO11] (ENOBUFS): Likewise.
30532 [!ISO && !ISO99 && !ISO11] (ENODATA): Likewise.
30533 [!ISO && !ISO99 && !ISO11] (ENODEV): Likewise.
30534 [!ISO && !ISO99 && !ISO11] (ENOENT): Likewise.
30535 [!ISO && !ISO99 && !ISO11] (ENOEXEC): Likewise.
30536 [!ISO && !ISO99 && !ISO11] (ENOLCK): Likewise.
30537 [!ISO && !ISO99 && !ISO11] (ENOLINK): Likewise.
30538 [!ISO && !ISO99 && !ISO11] (ENOMEM): Likewise.
30539 [!ISO && !ISO99 && !ISO11] (ENOMSG): Likewise.
30540 [!ISO && !ISO99 && !ISO11] (ENOPROTOOPT): Likewise.
30541 [!ISO && !ISO99 && !ISO11] (ENOSPC): Likewise.
30542 [!ISO && !ISO99 && !ISO11] (ENOSR): Likewise.
30543 [!ISO && !ISO99 && !ISO11] (ENOSTR): Likewise.
30544 [!ISO && !ISO99 && !ISO11] (ENOSYS): Likewise.
30545 [!ISO && !ISO99 && !ISO11] (ENOTCONN): Likewise.
30546 [!ISO && !ISO99 && !ISO11] (ENOTDIR): Likewise.
30547 [!ISO && !ISO99 && !ISO11] (ENOTEMPTY): Likewise.
30548 [!ISO && !ISO99 && !ISO11] (ENOTSOCK): Likewise.
30549 [!ISO && !ISO99 && !ISO11] (ENOTSUP): Likewise.
30550 [!ISO && !ISO99 && !ISO11] (ENOTTY): Likewise.
30551 [!ISO && !ISO99 && !ISO11] (ENXIO): Likewise.
30552 [!ISO && !ISO99 && !ISO11] (EOPNOTSUPP): Likewise.
30553 [!ISO && !ISO99 && !ISO11] (EOVERFLOW): Likewise.
30554 [!ISO && !ISO99 && !ISO11] (EPERM): Likewise.
30555 [!ISO && !ISO99 && !ISO11] (EPIPE): Likewise.
30556 [!ISO && !ISO99 && !ISO11] (EPROTO): Likewise.
30557 [!ISO && !ISO99 && !ISO11] (EPROTONOSUPPORT): Likewise.
30558 [!ISO && !ISO99 && !ISO11] (EPROTOTYPE): Likewise.
30559 [!ISO && !ISO99 && !ISO11] (EROFS): Likewise.
30560 [!ISO && !ISO99 && !ISO11] (ESPIPE): Likewise.
30561 [!ISO && !ISO99 && !ISO11] (ESRCH): Likewise.
30562 [!ISO && !ISO99 && !ISO11] (ESTALE): Likewise.
30563 [!ISO && !ISO99 && !ISO11] (ETIME): Likewise.
30564 [!ISO && !ISO99 && !ISO11] (ETIMEDOUT): Likewise.
30565 [!ISO && !ISO99 && !ISO11] (ETXTBSY): Likewise.
30566 [!ISO && !ISO99 && !ISO11] (EWOULDBLOCK): Likewise.
30567 [!ISO && !ISO99 && !ISO11] (EXDEV): Likewise.
30568 [XOPEN2K8 || defined POSIX2008] (ENOTRECOVERABLE): Likewise.
30569 [XOPEN2K8 || defined POSIX2008] (EOWNERDEAD): Likewise.
30570 * conform/data/float.h-data (FLT_RADIX): Use macro-int-constant.
30572 (FLT_ROUNDS): Expect as macro, not constant.
30573 (FLT_MANT_DIG): Use macro-int-constant.
30574 (DBL_MANT_DIG): Likewise.
30575 (LDBL_MANT_DIG): Likewise.
30576 (FLT_DIG): Likewise.
30577 (DBL_DIG): Likewise.
30578 (LDBL_DIG): Likewise.
30579 (FLT_MIN_EXP): Use macro-int-constant. Require < 0.
30580 (DBL_MIN_EXP): Likewise.
30581 (LDBL_MIN_EXP): Likewise.
30582 (FLT_MAX_EXP): Use macro-int-constant.
30583 (DBL_MAX_EXP): Likewise.
30584 (LDBL_MAX_EXP): Likewise.
30585 (FLT_MAX_10_EXP): Likewise.
30586 (DBL_MAX_10_EXP): Likewise.
30587 (LDBL_MAX_10_EXP): Likewise.
30588 (FLT_MAX): Use macro-constant.
30589 (DBL_MAX): Likewise.
30590 (LDBL_MAX): Likewise.
30591 (FLT_EPSILON): Use macro-constant. Give upper bound.
30592 (DBL_EPSILON): Likewise.
30593 (LDBL_EPSILON): Likewise.
30594 (FLT_MIN): Likewise.
30595 (DBL_MIN): Likewise.
30596 (LDBL_MIN): Likewise.
30597 [C99-based standards] (DECIMAL_DIG): Use macro-int-constant.
30598 [C99-based standards] (FLT_EVAL_METHOD): Likewise.
30599 [ISO11] (DBL_HAS_SUBNORM): Use macro-int-constant.
30600 [ISO11] (FLT_HAS_SUBNORM): Likewise.
30601 [ISO11] (LDBL_HAS_SUBNORM): Likewise.
30602 [ISO11] (DBL_DECIMAL_DIG): Likewise.
30603 [ISO11] (FLT_DECIMAL_DIG): Likewise.
30604 [ISO11] (LDBL_DECIMAL_DIG): Likewise.
30605 [ISO11] (DBL_TRUE_MIN): Use macro-constant.
30606 [ISO11] (FLT_TRUE_MIN): Likewise.
30607 [ISO11] (LDBL_TRUE_MIN): Likewise.
30608 [ISO || ISO99 || ISO11] (*_t): Do not allow.
30609 * conform/data/limits.h-data (CHAR_BIT): Use macro-int-constant.
30610 (SCHAR_MIN): Use macro-int-constant. Specify type.
30611 (SCHAR_MAX): Likewise.
30612 (UCHAR_MAX): Likewise.
30613 (CHAR_MIN): Likewise.
30614 (CHAR_MAX): Likewise.
30615 (MB_LEN_MAX): Use macro-int-constant.
30616 (SHRT_MIN): Use macro-int-constant. Specify type.
30617 (SHRT_MAX): Likewise.
30618 (USHRT_MAX): Likewise.
30619 (INT_MAX): Likewise.
30620 (INT_MIN): Use macro-int-constant. Specify type. Make upper
30622 (UINT_MAX): Use macro-int-constant. Specify type. Suffix lower
30624 (LONG_MAX): Use macro-int-constant. Specify type. Suffix lower
30626 (LONG_MIN): Use macro-int-constant. Specify type. Make upper
30627 bound negative. Suffix upper bound with "L".
30628 (ULONG_MAX): Use macro-int-constant. Specify type. Suffix lower
30630 [C99-based standards] (LLONG_MIN): Use macro-int-constant.
30632 [C99-based standards] (LLONG_MAX): Likewise.
30633 [C99-based standards] (ULLONG_MAX): Likewise.
30634 * conform/data/stddef.h-data (NULL): Use macro-constant. Require
30636 [ISO11] (max_align_t): Require type.
30637 [ISO || ISO99 || ISO11] (*_t): Do not allow.
30639 * conform/conformtest.pl ($CFLAGS_namespace): Define separately
30640 from $CFLAGS, without defining away __attribute__ calls.
30641 (checknamespace): Use $CFLAGS_namespace.
30643 * conform/conformtest.pl (@keywords): Only include C99 keywords
30644 for standards based on C99 or C11.
30646 * conform/data/iso646.h-data [ISO || POSIX || XPG3 || XPG4]:
30648 * conform/data/stdint.h-data [ISO || POSIX || XPG3 || XPG4 ||
30651 * conform/conformtest.pl: Handle "macro-int-constant" and test for
30652 usability of symbols in #if.
30654 * conform/conformtest.pl: If macro or constant types start
30655 "promoted:", expect the symbol to be of the following type
30656 promoted by the integer promotions.
30658 * conform/conformtest.pl: Parse all "constant" and "macro" lines
30659 in one place. Also handle "macro-constant".
30661 * conform/conformtest.pl: Only accept expected macro values with
30662 "==". Parse all "macro" lines in one place.
30663 * conform/data/stdlib.h-data: Use "==" form on "macro" lines.
30665 * conform/conformtest.pl: Handle braced types on "constant" lines
30666 instead of handling "typed-constant".
30667 * conform/data/signal.h-data: Use "constant" instead of
30670 * conform/conformtest.pl: Handle "optional-" at start of lines in
30671 one place rather than duplicating several cases. Handle each
30672 format of "macro" line with initial "optional-".
30674 * conform/conformtest.pl: Only accept expected constant or
30675 optional-constant values with "==". Parse all "constant" lines in
30676 one place. Parse all "optional-constant" lines in one place.
30677 * conform/data/cpio.h-data: Use "==" form on "constant" lines.
30678 * conform/data/fmtmsg.h-data: Likewise.
30679 * conform/data/netinet/in.h-data: Likewise.
30680 * conform/data/tar.h-data: Likewise.
30681 * conform/data/limits.h-data: Use "==" form on "constant" and
30682 "optional-constant" lines.
30684 * conform/conformtest.pl: Use -ansi for XPG3, XPG4 and UNIX98.
30685 Use -std=c99 for XOPEN2K.
30686 (@knownproblems): Remove.
30687 (newtoken): Don't check %isknown.
30689 * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (fpclassify):
30690 Do not expect macro.
30691 [XPG3 || XPG4 || UNIX98] (isfinite): Likewise.
30692 [XPG3 || XPG4 || UNIX98] (isinf): Likewise.
30693 [XPG3 || XPG4 || UNIX98] (isnan): Likewise.
30694 [XPG3 || XPG4 || UNIX98] (isnormal): Likewise.
30695 [XPG3 || XPG4 || UNIX98] (signbit): Likewise.
30696 [XPG3 || XPG4 || UNIX98] (isgreater): Likewise.
30697 [XPG3 || XPG4 || UNIX98] (isgreaterequal): Likewise.
30698 [XPG3 || XPG4 || UNIX98] (isless): Likewise.
30699 [XPG3 || XPG4 || UNIX98] (islessequal): Likewise.
30700 [XPG3 || XPG4 || UNIX98] (islessgreater): Likewise.
30701 [XPG3 || XPG4 || UNIX98] (isunordered): Likewise.
30702 [XPG3 || XPG4 || UNIX98] (isnan): Expect as function.
30703 [XPG3 || XPG4 || UNIX98] (HUGE_VALF): Do not expect.
30704 [XPG3 || XPG4 || UNIX98] (HUGE_VALL): Likewise.
30705 [XPG3 || XPG4 || UNIX98] (INFINITY): Likewise.
30706 [XPG3 || XPG4 || UNIX98] (NAN): Likewise.
30707 [XPG3 || XPG4 || UNIX98] (FP_INFINITE): Likewise.
30708 [XPG3 || XPG4 || UNIX98] (FP_NAN): Likewise.
30709 [XPG3 || XPG4 || UNIX98] (FP_NORMAL): Likewise.
30710 [XPG3 || XPG4 || UNIX98] (FP_SUBNORMAL): Likewise.
30711 [XPG3 || XPG4 || UNIX98] (FP_ZERO): Likewise.
30712 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMA): Likewise.
30713 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAF): Likewise.
30714 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAL): Likewise.
30715 [XPG3 || XPG4 || UNIX98] (FP_ILOGB0): Likewise.
30716 [XPG3 || XPG4 || UNIX98] (FP_ILOGBNAN): Likewise.
30717 [XPG3 || XPG4 || UNIX98] (copysign): Likewise.
30718 [XPG3 || XPG4 || UNIX98] (exp2): Likewise.
30719 [XPG3 || XPG4 || UNIX98] (log2): Likewise.
30720 [XPG3 || XPG4 || UNIX98] (tgama): Likewise.
30721 [XPG3] (acosh): Likewise.
30722 [XPG3] (asinh): Likewise.
30723 [XPG3] (atanh): Likewise.
30724 [XPG3] (cbrt): Likewise.
30725 [XPG3] (expm1): Likewise.
30726 [XPG3] (ilogb): Likewise.
30727 [XPG3] (log1p): Likewise.
30728 [XPG3] (logb): Likewise.
30729 [XPG3] (nextafter): Likewise.
30730 [XPG3 || XPG4 || UNIX98] (nexttoward): Likewise.
30731 [XPG3 || XPG4 || UNIX98] (nearbyint): Likewise.
30732 [XPG3] (remainder): Likewise.
30733 [XPG3] (rint): Likewise.
30734 [XPG3 || XPG4 || UNIX98] (round): Likewise.
30735 [XPG3 || XPG4 || UNIX98] (trunc): Likewise.
30736 [XPG3 || XPG4 || UNIX98] (lrint): Likewise.
30737 [XPG3 || XPG4 || UNIX98] (llrint): Likewise.
30738 [XPG3 || XPG4 || UNIX98] (lround): Likewise.
30739 [XPG3 || XPG4 || UNIX98] (llround): Likewise.
30740 [XPG3 || XPG4 || UNIX98] (remquo): Likewise.
30741 [UNIX98 || XOPEN2K] (scalb): Expect.
30742 [XPG3 || XPG4 || UNIX98] (scalbn): Do not expect.
30743 [XPG3 || XPG4 || UNIX98] (scalbln): Likewise.
30744 [XPG3 || XPG4 || UNIX98] (fdim): Likewise.
30745 [XPG3 || XPG4 || UNIX98] (fmax): Likewise.
30746 [XPG3 || XPG4 || UNIX98] (fmin): Likewise.
30747 [XPG3 || XPG4 || UNIX98] (fma): Likewise.
30748 [XPG3 || XPG4 || UNIX98] (nan): Likewise.
30749 [XPG3 || XPG4 || UNIX98] (acosf): Likewise.
30750 [XPG3 || XPG4 || UNIX98] (asinf): Likewise.
30751 [XPG3 || XPG4 || UNIX98] (atanf): Likewise.
30752 [XPG3 || XPG4 || UNIX98] (atan2f): Likewise.
30753 [XPG3 || XPG4 || UNIX98] (ceilf): Likewise.
30754 [XPG3 || XPG4 || UNIX98] (copysignf): Likewise.
30755 [XPG3 || XPG4 || UNIX98] (cosf): Likewise.
30756 [XPG3 || XPG4 || UNIX98] (coshf): Likewise.
30757 [XPG3 || XPG4 || UNIX98] (expf): Likewise.
30758 [XPG3 || XPG4 || UNIX98] (exp2f): Likewise.
30759 [XPG3 || XPG4 || UNIX98] (fabsf): Likewise.
30760 [XPG3 || XPG4 || UNIX98] (floorf): Likewise.
30761 [XPG3 || XPG4 || UNIX98] (fmodf): Likewise.
30762 [XPG3 || XPG4 || UNIX98] (frexpf): Likewise.
30763 [XPG3 || XPG4 || UNIX98] (ldexpf): Likewise.
30764 [XPG3 || XPG4 || UNIX98] (logf): Likewise.
30765 [XPG3 || XPG4 || UNIX98] (log10f): Likewise.
30766 [XPG3 || XPG4 || UNIX98] (log2f): Likewise.
30767 [XPG3 || XPG4 || UNIX98] (modff): Likewise.
30768 [XPG3 || XPG4 || UNIX98] (powf): Likewise.
30769 [XPG3 || XPG4 || UNIX98] (sinf): Likewise.
30770 [XPG3 || XPG4 || UNIX98] (sinhf): Likewise.
30771 [XPG3 || XPG4 || UNIX98] (sqrtf): Likewise.
30772 [XPG3 || XPG4 || UNIX98] (tanf): Likewise.
30773 [XPG3 || XPG4 || UNIX98] (tanhf): Likewise.
30774 [XPG3 || XPG4 || UNIX98] (erff): Likewise.
30775 [XPG3 || XPG4 || UNIX98] (erfcf): Likewise.
30776 [XPG3 || XPG4 || UNIX98] (gammaf): Likewise.
30777 [XPG3 || XPG4 || UNIX98] (hypotf): Likewise.
30778 [XPG3 || XPG4 || UNIX98] (j0f): Likewise.
30779 [XPG3 || XPG4 || UNIX98] (j1f): Likewise.
30780 [XPG3 || XPG4 || UNIX98] (jnf): Likewise.
30781 [XPG3 || XPG4 || UNIX98] (lgammaf): Likewise.
30782 [XPG3 || XPG4 || UNIX98] (tgammaf): Likewise.
30783 [XPG3 || XPG4 || UNIX98] (y0f): Likewise.
30784 [XPG3 || XPG4 || UNIX98] (y1f): Likewise.
30785 [XPG3 || XPG4 || UNIX98] (ynf): Likewise.
30786 [XPG3 || XPG4 || UNIX98] (acoshf): Likewise.
30787 [XPG3 || XPG4 || UNIX98] (asinhf): Likewise.
30788 [XPG3 || XPG4 || UNIX98] (atanhf): Likewise.
30789 [XPG3 || XPG4 || UNIX98] (cbrtf): Likewise.
30790 [XPG3 || XPG4 || UNIX98] (expm1f): Likewise.
30791 [XPG3 || XPG4 || UNIX98] (ilogbf): Likewise.
30792 [XPG3 || XPG4 || UNIX98] (log1pf): Likewise.
30793 [XPG3 || XPG4 || UNIX98] (logbf): Likewise.
30794 [XPG3 || XPG4 || UNIX98] (nextafterf): Likewise.
30795 [XPG3 || XPG4 || UNIX98] (nexttowardf): Likewise.
30796 [XPG3 || XPG4 || UNIX98] (nearbyintf): Likewise.
30797 [XPG3 || XPG4 || UNIX98] (remainderf): Likewise.
30798 [XPG3 || XPG4 || UNIX98] (rintf): Likewise.
30799 [XPG3 || XPG4 || UNIX98] (roundf): Likewise.
30800 [XPG3 || XPG4 || UNIX98] (truncf): Likewise.
30801 [XPG3 || XPG4 || UNIX98] (lrintf): Likewise.
30802 [XPG3 || XPG4 || UNIX98] (llrintf): Likewise.
30803 [XPG3 || XPG4 || UNIX98] (lroundf): Likewise.
30804 [XPG3 || XPG4 || UNIX98] (llroundf): Likewise.
30805 [XPG3 || XPG4 || UNIX98] (remquof): Likewise.
30806 [XPG3 || XPG4 || UNIX98] (scalbf): Likewise.
30807 [XPG3 || XPG4 || UNIX98] (scalbnf): Likewise.
30808 [XPG3 || XPG4 || UNIX98] (scalblnf): Likewise.
30809 [XPG3 || XPG4 || UNIX98] (fdimf): Likewise.
30810 [XPG3 || XPG4 || UNIX98] (fmaxf): Likewise.
30811 [XPG3 || XPG4 || UNIX98] (fminf): Likewise.
30812 [XPG3 || XPG4 || UNIX98] (fmaf): Likewise.
30813 [XPG3 || XPG4 || UNIX98] (nanf): Likewise.
30814 [XPG3 || XPG4 || UNIX98] (acosl): Likewise.
30815 [XPG3 || XPG4 || UNIX98] (asinl): Likewise.
30816 [XPG3 || XPG4 || UNIX98] (atanl): Likewise.
30817 [XPG3 || XPG4 || UNIX98] (atan2l): Likewise.
30818 [XPG3 || XPG4 || UNIX98] (ceill): Likewise.
30819 [XPG3 || XPG4 || UNIX98] (copysignl): Likewise.
30820 [XPG3 || XPG4 || UNIX98] (cosl): Likewise.
30821 [XPG3 || XPG4 || UNIX98] (coshl): Likewise.
30822 [XPG3 || XPG4 || UNIX98] (expl): Likewise.
30823 [XPG3 || XPG4 || UNIX98] (exp2l): Likewise.
30824 [XPG3 || XPG4 || UNIX98] (fabsl): Likewise.
30825 [XPG3 || XPG4 || UNIX98] (floorl): Likewise.
30826 [XPG3 || XPG4 || UNIX98] (fmodl): Likewise.
30827 [XPG3 || XPG4 || UNIX98] (frexpl): Likewise.
30828 [XPG3 || XPG4 || UNIX98] (ldexpl): Likewise.
30829 [XPG3 || XPG4 || UNIX98] (logl): Likewise.
30830 [XPG3 || XPG4 || UNIX98] (log10l): Likewise.
30831 [XPG3 || XPG4 || UNIX98] (log2l): Likewise.
30832 [XPG3 || XPG4 || UNIX98] (modfl): Likewise.
30833 [XPG3 || XPG4 || UNIX98] (powl): Likewise.
30834 [XPG3 || XPG4 || UNIX98] (sinl): Likewise.
30835 [XPG3 || XPG4 || UNIX98] (sinhl): Likewise.
30836 [XPG3 || XPG4 || UNIX98] (sqrtl): Likewise.
30837 [XPG3 || XPG4 || UNIX98] (tanl): Likewise.
30838 [XPG3 || XPG4 || UNIX98] (tanhl): Likewise.
30839 [XPG3 || XPG4 || UNIX98] (erfl): Likewise.
30840 [XPG3 || XPG4 || UNIX98] (erfcl): Likewise.
30841 [XPG3 || XPG4 || UNIX98] (gammal): Likewise.
30842 [XPG3 || XPG4 || UNIX98] (hypotl): Likewise.
30843 [XPG3 || XPG4 || UNIX98] (j0l): Likewise.
30844 [XPG3 || XPG4 || UNIX98] (j1l): Likewise.
30845 [XPG3 || XPG4 || UNIX98] (jnl): Likewise.
30846 [XPG3 || XPG4 || UNIX98] (lgammal): Likewise.
30847 [XPG3 || XPG4 || UNIX98] (tgammal): Likewise.
30848 [XPG3 || XPG4 || UNIX98] (y0l): Likewise.
30849 [XPG3 || XPG4 || UNIX98] (y1l): Likewise.
30850 [XPG3 || XPG4 || UNIX98] (ynl): Likewise.
30851 [XPG3 || XPG4 || UNIX98] (acoshl): Likewise.
30852 [XPG3 || XPG4 || UNIX98] (asinhl): Likewise.
30853 [XPG3 || XPG4 || UNIX98] (atanhl): Likewise.
30854 [XPG3 || XPG4 || UNIX98] (cbrtl): Likewise.
30855 [XPG3 || XPG4 || UNIX98] (expm1l): Likewise.
30856 [XPG3 || XPG4 || UNIX98] (ilogbl): Likewise.
30857 [XPG3 || XPG4 || UNIX98] (log1pl): Likewise.
30858 [XPG3 || XPG4 || UNIX98] (logbl): Likewise.
30859 [XPG3 || XPG4 || UNIX98] (nextafterl): Likewise.
30860 [XPG3 || XPG4 || UNIX98] (nexttowardl): Likewise.
30861 [XPG3 || XPG4 || UNIX98] (nearbyintl): Likewise.
30862 [XPG3 || XPG4 || UNIX98] (remainderl): Likewise.
30863 [XPG3 || XPG4 || UNIX98] (rintl): Likewise.
30864 [XPG3 || XPG4 || UNIX98] (roundl): Likewise.
30865 [XPG3 || XPG4 || UNIX98] (truncl): Likewise.
30866 [XPG3 || XPG4 || UNIX98] (lrintl): Likewise.
30867 [XPG3 || XPG4 || UNIX98] (llrintl): Likewise.
30868 [XPG3 || XPG4 || UNIX98] (lroundl): Likewise.
30869 [XPG3 || XPG4 || UNIX98] (llroundl): Likewise.
30870 [XPG3 || XPG4 || UNIX98] (remquol): Likewise.
30871 [XPG3 || XPG4 || UNIX98] (scalbl): Likewise.
30872 [XPG3 || XPG4 || UNIX98] (scalbnl): Likewise.
30873 [XPG3 || XPG4 || UNIX98] (scalblnl): Likewise.
30874 [XPG3 || XPG4 || UNIX98] (fdiml): Likewise.
30875 [XPG3 || XPG4 || UNIX98] (fmaxl): Likewise.
30876 [XPG3 || XPG4 || UNIX98] (fminl): Likewise.
30877 [XPG3 || XPG4 || UNIX98] (fmal): Likewise.
30878 [XPG3 || XPG4 || UNIX98] (nanl): Likewise.
30880 * conform/conformtest.pl: Define _XOPEN_SOURCE as well as
30881 _XOPEN_SOURCE_EXTENDED for XPG4.
30883 * conform/conformtest.pl: Handle "symbol" lines for allow-header.
30885 * Makeconfig (localtime): Remove variable.
30886 (inst_localtime-file): Likewise.
30888 2012-05-01 Andreas Schwab <schwab@linux-m68k.org>
30890 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
30892 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
30894 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
30896 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
30898 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
30900 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist:
30902 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
30904 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist:
30906 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
30909 2012-05-01 Joseph Myers <joseph@codesourcery.com>
30913 * math/s_nexttowardf.c (__nexttowardf): Use floating-point
30914 comparisons to determine direction to adjust input.
30915 * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
30916 * sysdeps/i386/fpu/s_nexttowardf.c(__nexttowardf): Likewise.
30917 * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
30919 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
30921 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
30923 * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
30924 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
30926 * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
30928 * math/libm-test.inc (nexttoward_test): Add more tests.
30930 2012-05-01 Andreas Schwab <schwab@linux-m68k.org>
30933 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (nearbyintl): Define
30934 in version GLIBC_2.1, not GLIBC_2.0.
30935 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (nearbyintl):
30938 2012-04-30 Joseph Myers <joseph@codesourcery.com>
30941 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Calculate 1 - x^2 as
30943 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
30944 * sysdeps/i386/fpu/e_asin.S (__ieee754_asin): Likewise.
30945 * math/libm-test.inc (acos_test): Add more tests.
30946 (asin_test): Likewise.
30947 * sysdeps/i386/fpu/libm-test-ulps: Update.
30948 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
30951 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Take absolute value
30953 * sysdeps/i386/fpu/e_acosf.S (__ieee754_acosf): Likewise.
30954 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
30955 * math/libm-test.inc (acos_test_tonearest): New function.
30956 (acos_test_towardzero): Likewise.
30957 (acos_test_downward): Likewise.
30958 (acos_test_upward): Likewise.
30959 (asin_test_tonearest): Likewise.
30960 (asin_test_towardzero): Likewise.
30961 (asin_test_downward): Likewise.
30962 (asin_test_upward): Likewise.
30963 (main): Call the new functions.
30964 * sysdeps/i386/fpu/libm-test-ulps: Update.
30965 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
30969 * math/e_exp10.c: Include <float.h>.
30970 (__ieee754_exp10): Handle underflow here rather than multiplying
30971 large negative argument by M_LN10.
30972 * math/e_exp10f.c (__ieee754_exp10f): Call __ieee754_exp instead
30974 * math/e_exp10l.c: Include <float.h>.
30975 (__ieee754_exp10l): Handle underflow here rather than multiplying
30976 large negative argument by M_LN10l.
30977 * math/libm-test.inc (exp10_test): Add another test. Do not allow
30978 spurious overflow exception on underflow.
30980 2012-04-29 Marek Polacek <polacek@redhat.com>
30982 * misc/sys/cdefs.h (__attribute_artificial__): New macro.
30983 (__fortify_function): New macro.
30984 (__extern_always_inline): Don't use __attribute__ ((__artificial__)).
30985 * libio/bits/stdio-ldbl.h: Use __fortify_function in place of
30986 __extern_always_inline.
30987 * libio/bits/stdio2.h: Likewise.
30988 * libio/bits/stdio.h: Likewise.
30989 * string/string.h: Likewise.
30990 * string/bits/string3.h: Likewise.
30991 * include/stdio.h: Likewise.
30992 * stdlib/bits/stdlib.h: Likewise.
30993 * stdlib/stdlib.h: Likewise.
30994 * rt/bits/mqueue2.h: Likewise.
30995 * rt/mqueue.h: Likewise.
30996 * posix/bits/unistd.h: Likewise.
30997 * posix/unistd.h: Likewise.
30998 * io/bits/poll2.h: Likewise.
30999 * io/bits/fcntl2.h: Likewise.
31000 * io/fcntl.h: Likewise.
31001 * io/sys/poll.h: Likewise.
31002 * misc/bits/syslog.h: Likewise.
31003 * misc/bits/syslog-ldbl.h: Likewise.
31004 * misc/sys/syslog.h: Likewise.
31005 * socket/bits/socket2.h: Likewise.
31006 * socket/sys/socket.h: Likewise.
31007 * debug/tst-chk1.c: Likewise.
31008 * wcsmbs/bits/wchar2.h: Likewise.
31009 * wcsmbs/bits/wchar-ldbl.h: Likewise.
31010 * wcsmbs/wchar.h: Likewise.
31012 2012-04-29 Andreas Jaeger <aj@suse.de>
31014 * Makerules (tests): Remove enable-check-abi protection.
31015 (check-abi-warn): Remove.
31016 (check-abi-%): Remove check-abi-warn usage.
31018 * configure.in: Remove check-abi configure option.
31019 * configure: Regenerated.
31020 * config.make.in (enable-check-abi): Remove.
31022 2012-04-28 Andreas Schwab <schwab@linux-m68k.org>
31025 * math/bits/math-finite.h [__NO_LONG_DOUBLE_MATH]: Redirect long
31026 double functions to double *_finite functions.
31029 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c
31030 (__mpn_extract_long_double): Use DBL_MIN_EXP instead of
31032 * stdio-common/Makefile (tests): Add tst-sprintf3.
31033 * stdio-common/tst-sprintf3.c: New file.
31035 * elf/Makefile ($(objpfx)tst-leaks1-mem, $(objpfx)noload-mem)
31036 ($(objpfx)tst-unused-dep.out): Don't run when cross-compiling.
31038 2012-04-28 Joseph Myers <joseph@codesourcery.com>
31040 * conform/conformtest.pl: Remove duplicate typed-constant
31043 2012-04-28 David S. Miller <davem@davemloft.net>
31045 * Makerules (%.abilist): Add vpath on sysdep_dirs.
31046 (check-abi-%): Remove AWK script prerequisite and explicit
31048 (check-abi): Rewrite to just diff the symlist with the abilist.
31049 (config-tls, config-abi-config): Delete, no longer used.
31050 (update-abi-%): Remove AWK script and explicit abilist directory.
31051 (update-abi): Rewrite to simply compare and conditionally copy the
31052 symlist and the sysdep abilist file. Remove update-abi-config
31054 * abilist/ld.abilist: Remove.
31055 * abilist/libBrokenLocale.abilist: Remove.
31056 * abilist/libanl.abilist: Remove.
31057 * abilist/libcrypt.abilist: Remove.
31058 * abilist/libdl.abilist: Remove.
31059 * abilist/librt.abilist: Remove.
31060 * abilist/libthread_db.abilist: Remove.
31061 * abilist/libutil.abilist: Remove.
31062 * scripts/extract-abilist.awk: Remove.
31063 * scripts/merge-abilist.awk: Remove.
31064 * sysdeps/generic/libcidn.abilist: New file.
31065 * sysdeps/generic/libnss_compat.abilist: New file.
31066 * sysdeps/generic/libnss_db.abilist: New file.
31067 * sysdeps/generic/libnss_dns.abilist: New file.
31068 * sysdeps/generic/libnss_files.abilist: New file.
31069 * sysdeps/generic/libnss_hesiod.abilist: New file.
31070 * sysdeps/generic/libnss_nis.abilist: New file.
31071 * sysdeps/generic/libnss_nisplus.abilist: New file.
31072 * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: New file.
31073 * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: New file.
31074 * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: New
31076 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: New file.
31077 * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: New file.
31078 * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: New file.
31079 * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: New file.
31080 * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: New file.
31081 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: New file.
31082 * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: New file.
31083 * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: New file.
31084 * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: New
31086 * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: New file.
31087 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: New file.
31088 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: New file.
31089 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist: New
31091 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: New file.
31092 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: New file.
31093 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: New file.
31094 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: New file.
31095 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: New file.
31096 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: New
31098 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: New file.
31099 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: New file.
31100 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist: New
31102 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: New file.
31103 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/ld.abilist:
31105 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libanl.abilist:
31107 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libBrokenLocale.abilist:
31109 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libc.abilist:
31111 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libcrypt.abilist:
31113 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libdl.abilist:
31115 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libm.abilist:
31117 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libnsl.abilist:
31119 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libpthread.abilist:
31121 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libresolv.abilist:
31123 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/librt.abilist:
31125 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libthread_db.abilist:
31127 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libutil.abilist:
31129 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: New
31131 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
31133 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
31135 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: New
31137 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
31139 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
31141 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: New
31143 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
31145 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
31147 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
31149 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
31151 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
31153 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
31155 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: New file.
31156 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: New
31158 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
31160 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: New
31162 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: New
31164 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: New
31166 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: New
31168 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: New
31170 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
31172 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: New
31174 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: New
31176 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
31178 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: New
31180 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: New file.
31181 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist: New
31183 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
31185 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: New
31187 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: New
31189 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: New
31191 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: New
31193 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: New
31195 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
31197 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist: New
31199 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: New
31201 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
31203 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: New
31205 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
31206 * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: New file.
31207 * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: New
31209 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: New file.
31210 * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: New file.
31211 * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: New file.
31212 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: New file.
31213 * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: New file.
31214 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: New file.
31215 * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: New file.
31216 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: New file.
31217 * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: New file.
31218 * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: New file.
31219 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: New file.
31220 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: New
31222 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
31224 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: New
31226 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist: New
31228 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: New
31230 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: New
31232 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: New
31234 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
31236 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
31238 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: New
31240 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
31242 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: New
31244 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: New file.
31245 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: New
31247 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
31249 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: New
31251 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist: New
31253 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: New
31255 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: New
31257 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: New
31259 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
31261 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
31263 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: New
31265 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
31267 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: New
31270 2012-04-28 Joseph Myers <joseph@codesourcery.com>
31272 * conform/conformtest.pl: Fix typo in handling typed-constant from
31275 2012-04-27 Joseph Myers <joseph@codesourcery.com>
31277 * README: Cut down references to pre-2.6 Linux kernels and
31278 Linuxthreads. Update lists of configurations in libc and ports
31279 and sort alphabetically. Say "or newer" with Linux kernel version
31282 * config.h.in [IS_IN_build]: Allow compiling without optimization.
31284 2012-04-27 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
31287 * math/libm-test.inc (logb_test_downward): New test to expose
31288 erroneous negative sign on -0.0 result of logb[l](1) in FE_DOWNWARD
31291 2012-04-27 Joseph Myers <joseph@codesourcery.com>
31294 * math/fclrexcpt.c (__feclearexcept): Return zero if nothing needs
31296 * math/fraiseexcpt.c (__feraiseexcept): Likewise.
31297 * math/fsetexcptflg.c (__fesetexceptflag): Likewise.
31299 2012-04-26 Joseph Myers <joseph@codesourcery.com>
31301 * sysdeps/unix/i386/brk.S: Remove file.
31302 * sysdeps/unix/i386/dl-brk.S: Likewise.
31303 * sysdeps/unix/i386/pipe.S: Likewise.
31304 * sysdeps/unix/i386/sigreturn.S: Likewise.
31305 * sysdeps/unix/i386/syscall.S: Likewise.
31306 * sysdeps/unix/i386/vfork.S: Likewise.
31307 * sysdeps/unix/i386/wait.S: Likewise.
31309 * sysdeps/unix/common/tcsendbrk.c: Move to ...
31310 * sysdeps/unix/sysv/linux/tcsendbrk.c: ... here.
31312 * configure.in (arm*-none*): Do not allow without
31313 --enable-hacker-mode.
31314 (netbsd*): Remove case setting base_os.
31315 (386bsd*): Likewise.
31316 (freebsd*): Likewise.
31319 (sunos*): Likewise.
31320 (ultrix*): Likewise.
31321 (newsos*): Likewise.
31322 (dynix*): Likewise.
31328 (minix*): Likewise.
31329 (irix4*): Likewise.
31330 (irix6*): Likewise.
31331 (solaris[2-9]*): Likewise.
31333 * configure: Regenerated.
31335 2012-04-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
31338 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c (__ctanhl): Avoid internal
31339 overflow or cancellation in calculating denominator.
31340 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c (__ctanl): Likewise.
31341 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Breaking
31342 down expression to avoid unexpected rounding in newer GCCs.
31343 * sysdeps/powerpc/fpu/libm-test-ulps: Update for ctan, ctanh fix.
31345 2012-04-26 David S. Miller <davem@davemloft.net>
31347 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Generate
31348 long-double compat symbols.
31349 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
31350 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
31351 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
31352 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: Likewise.
31353 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
31354 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Likewise.
31355 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: Likewise.
31356 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: Likewise.
31357 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: Likewise.
31358 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
31359 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: Likewise.
31360 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: Likewise.
31361 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
31363 2012-04-25 David S. Miller <davem@davemloft.net>
31365 * sysdeps/sparc/sparc32/bits/atomic.h: Include sysdep.h to get
31366 HWCAP_* values only after the memory barriers have been defined.
31367 (atomic_full_barrier): Define.
31368 (atomic_read_barrier): Define.
31369 (atomic_write_barrier): Define.
31371 2012-04-26 Siddhesh Poyarekar <siddhesh@redhat.com>
31373 * shlib-versions: Add libgcc_s version information.
31374 * sysdeps/generic/libgcc_s.h: Remove.
31375 * sysdeps/generic/framestate.c: Include gnu/lib-names.h instead of
31377 * sysdeps/gnu/unwind-resume.c: Likewise.
31378 * scripts/test-installation.pl: Remove libgcc_s from link_libs.
31380 2012-04-25 David S. Miller <davem@davemloft.net>
31382 * sysdeps/unix/sparc/brk.S: Delete.
31383 * sysdeps/unix/sparc/dl-brk.S: Delete.
31384 * sysdeps/unix/sparc/pipe.S: Delete.
31385 * sysdeps/unix/sparc/sysdep.S: Delete.
31386 * sysdeps/unix/sparc/sysdep.h: Delete.
31387 * sysdeps/unix/sparc/vfork.S: Delete.
31388 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK, SPARC_PIC_REG)
31389 (SPARC_PIC_REG_LEAF, ENTRY, END, LOC): Define.
31390 * sysdeps/unix/sysv/linux/sparc/sysdep.h (ret, ret_NOERRNO)
31391 (ret_ERRVAL, r0, r1, MOVE): Define.
31392 (JUMPTARGET): Remove.
31393 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Don't include
31394 sysdeps/unix/sparc/sysdep.h
31395 (ENTRY, END): Remove.
31396 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
31398 2012-04-25 Joseph Myers <joseph@codesourcery.com>
31400 * Makerules (native-compile): Use $(BUILD_LDFLAGS).
31401 (ALL_BUILD_CFLAGS): Use $(BUILD_CPPFLAGS) -D_GNU_SOURCE
31404 * timezone/README: Update upstream location and email address for
31406 * timezone/zdump.c: Update from tzcode 2012b.
31407 * timezone/zic.c: Likewise.
31409 * configure.in (libc_cv_as_needed): Remove test.
31410 * configure: Regenerated.
31411 * Makeconfig [$(have-as-needed) != yes] (as-needed): Remove
31412 conditional definition.
31413 [$(have-as-needed) != yes] (no-as-needed): Likewise.
31414 [$(have-as-needed) != yes] (libgcc_eh): Likewise.
31415 * config.make.in (have-as-needed): Remove variable.
31417 2012-04-25 Siddhesh Poyarekar <siddhesh@redhat.com>
31418 Paul Pluzhnikov <ppluzhnikov@google.com>
31420 * elf/dl-minimal.c (__strtoul_internal): Parse hexadecimal and octal
31423 2012-04-25 Chung-Lin Tang <cltang@codesourcery.com>
31425 * sysdeps/sh/memcpy.S: Remove include of endian.h, change
31426 preprocessor endian tests to '#ifdef __BIG_ENDIAN__'.
31427 * sysdeps/sh/strlen.S: Likewise.
31429 2012-04-24 Joseph Myers <joseph@codesourcery.com>
31431 * sysdeps/unix/fork.S: Remove file.
31432 * sysdeps/unix/i386/fork.S: Likewise.
31433 * sysdeps/unix/sparc/fork.S: Likewise.
31435 * sysdeps/unix/system.c: Remove file.
31436 * sysdeps/unix/bsd/bsd4.4/system.c: Likewise.
31438 * sysdeps/unix/getegid.S: Remove file.
31439 * sysdeps/unix/geteuid.S: Likewise.
31441 2012-04-24 Roland McGrath <roland@hack.frob.com>
31443 * scripts/check-localplt.awk: New file.
31444 * elf/Makefile ($(objpfx)check-localplt.out): Use that script instead
31446 * scripts/data/localplt-generic.data: Add a comment.
31448 * sysdeps/mach/hurd/symlink.c: Don't call __mach_port_deallocate on
31449 NODE when __dir_mkfile failed.
31450 * sysdeps/mach/hurd/symlinkat.c: Likewise.
31451 Reported by Ludovic Courtès <ludo@gnu.org>.
31453 2012-04-24 Andreas Jaeger <aj@suse.de>
31455 * Makerules (common-clean): Also remove gen-as-const-headers
31458 2012-04-24 Joseph Myers <joseph@codesourcery.com>
31460 * Makerules (native-compile): Do not change working directory for
31461 build. Use $(OUTPUT_OPTION) in command.
31462 (ALL_BUILD_CFLAGS): Use $(common-objpfx) to find config.h.
31464 2012-04-24 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
31467 * sysdeps/powerpc/powerpc64/fpu/s_floorl.S: Delete file. Use the
31468 sysdeps/ieee754/ldbl-128ibm/s_floorl.c version instead.
31469 * math/libm-test.inc (floor_test): Add more tests.
31470 * sysdeps/powerpc/fpu/libm-test-ulps: Update for pow tests.
31472 2012-04-24 Joseph Myers <joseph@codesourcery.com>
31474 * sysdeps/unix/getdents.c: Remove file.
31475 * sysdeps/unix/sysv/getdents.c: Likewise.
31476 * sysdeps/unix/sysv/syscalls.list (s_getdents): Remove.
31478 * sysdeps/unix/syscalls.list (madvise): Add syscall from
31479 sysdeps/unix/mman/syscalls.list.
31481 (mprotect): Likewise.
31483 (munmap): Likewise.
31484 * sysdeps/unix/bsd/bsd4.4/Implies: Remove.
31485 * sysdeps/unix/mman/syscalls.list: Remove.
31486 * sysdeps/unix/sysv/linux/Implies: Don't include unix/mman.
31488 * configure.in (libc_cv_libgcc_s_suffix): Remove test.
31489 (libc_cv_as_needed): Don't use $libc_cv_libgcc_s_suffix.
31490 * configure: Regenerated.
31491 * Makeconfig [$(have-as-needed) = yes] (libgcc_eh): Don't use
31492 $(libgcc_s_suffix).
31493 * config.make.in (libgcc_s_suffix): Remove variable.
31495 2012-04-23 Joseph Myers <joseph@codesourcery.com>
31497 * sysdeps/unix/sysv/gethostname.c: Move to ...
31498 * sysdeps/posix/gethostname.c: ... here.
31500 * sysdeps/unix/execve.S: Remove file.
31502 * sysdeps/unix/_exit.S: Remove file.
31504 2012-04-23 Andreas Jaeger <aj@suse.de>
31507 * manual/Makefile: Remove make dist support, there's no
31508 need for a stand-alone documentation tar ball.
31509 (TEXI2DVI): Define always, it's not in Makeconfig.
31512 (edition): Removed.
31513 (glibc-doc-$(edition).tar): Removed
31517 (ETAGS): Remove, it's in Makeconfig.
31518 (move-if-change): Remove, it's in Makeconfig.
31520 2012-04-23 Paul Eggert <eggert@cs.ucla.edu>
31523 * stdlib/stdlib.h: Remove warn_unused_result attribute from strtol etc.
31524 (strtod, strtof, strtold, strtol, strtoul, strtoq)
31525 (strtouq, strtoll, strtoull, strtol_l, strtoul_l, strtoll_l, strtoull_l)
31526 (strtod_l, strtof_l, strtold_l): Remove __wur.
31527 It is not necessarily an error to ignore strtol's return value.
31528 One can reliably look at the stored endptr to decide whether
31529 the number had valid syntax.
31531 2012-04-21 Andreas Jaeger <aj@suse.de>
31534 * sysdeps/s390/s390-64/Makefile (distribute): Remove variable.
31536 2012-04-21 Joseph Myers <joseph@codesourcery.com>
31538 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.0): Add sysinfo.
31539 * sysdeps/unix/sysv/Versions: Remove file.
31541 2012-04-21 Markus Trippelsdorf <markus@trippelsdorf.de>
31544 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
31546 2012-04-21 Nick Alcock <nick.alcock@oracle.com>
31549 * sysdeps/unix/sysv/linux/i386/syscalls.list: Omit explicit
31550 version from __vm86.
31552 2012-04-20 Joseph Myers <joseph@codesourcery.com>
31554 * sysdeps/unix/common/lxstat.c: Remove file.
31555 * sysdeps/unix/common/syscalls.list (sys_lstat): Remove.
31557 * sysdeps/unix/sysv/Makefile: Remove file.
31559 * sysdeps/unix/sysv/direct.h: Remove file.
31561 * sysdeps/unix/sysv/bits/dirent.h: Remove file.
31562 * sysdeps/unix/sysv/bits/fcntl.h: Likewise.
31563 * sysdeps/unix/sysv/bits/local_lim.h: Likewise.
31564 * sysdeps/unix/sysv/bits/signum.h: Likewise.
31565 * sysdeps/unix/sysv/bits/stat.h: Likewise.
31566 * sysdeps/unix/sysv/bits/utmp.h: Likewise.
31567 * sysdeps/unix/sysv/bits/utsname.h: Likewise.
31569 * sysdeps/unix/sysv/setrlimit.c: Remove file.
31571 * sysdeps/unix/xmknod.c: Remove file.
31572 * sysdeps/unix/syscalls.list (sys_mknod): Remove.
31574 * sysdeps/unix/sysv/settimeofday.c: Remove file.
31576 * sysdeps/unix/sysv/i386/time.S: Remove file.
31578 * sysdeps/unix/fxstat.c: Remove file.
31579 * sysdeps/unix/xstat.c: Likewise.
31580 * sysdeps/unix/syscalls.list (sys_fstat, sys_stat): Remove.
31582 * sysdeps/unix/sysv/sigaction.c: Remove file.
31584 * sysdeps/unix/sysv/Makefile [termio.h not in sysdep_headers]
31585 (sysdep_headers): Remove variable.
31586 [termio.h not in sysdep_headers] (generated): Likewise.
31587 [termio.h not in sysdep_headers] ($(objpfx)termio.h): Remove rule.
31588 * sysdeps/unix/sysv/sysv_termio.h: Remove file.
31589 * sysdeps/unix/sysv/tcdrain.c: Likewise.
31590 * sysdeps/unix/sysv/tcflow.c: Likewise.
31591 * sysdeps/unix/sysv/tcflush.c: Likewise.
31592 * sysdeps/unix/sysv/tcgetattr.c: Likewise.
31593 * sysdeps/unix/sysv/tcgetpgrp.c: Likewise.
31594 * sysdeps/unix/sysv/tcsendbrk.c: Likewise.
31595 * sysdeps/unix/sysv/tcsetattr.c: Likewise.
31596 * sysdeps/unix/sysv/tcsetpgrp.c: Likewise.
31598 * sysdeps/unix/siglist.c: Remove file.
31600 * sysdeps/unix/getppid.S: Remove file.
31602 * sysdeps/unix/mkdir.c: Remove file.
31603 * sysdeps/unix/rmdir.c: Likewise.
31605 2012-04-19 Andreas Schwab <schwab@linux-m68k.org>
31607 * sysdeps/gnu/errlist-compat.awk (END): Correct computation of
31609 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.12): Adjust
31610 errlist-compat value.
31612 2012-04-18 David S. Miller <davem@davemloft.net>
31614 * sysdeps/generic/memcopy.h (reg_char): Delete.
31615 * debug/strcat_chk.c: Use char, not reg_char.
31616 * debug/strcpy_chk.c: Likewise.
31617 * debug/strncat_chk.c: Likewise.
31618 * debug/strncpy_chk.c: Likewise.
31619 * string/memchr.c: Likewise.
31620 * string/memrchr.c: Likewise.
31621 * string/rawmemchr.c: Likewise.
31622 * string/strcat.c: Likewise.
31623 * string/strchr.c: Likewise.
31624 * string/strchrnul.c: Likewise.
31625 * string/strcmp.c: Likewise.
31626 * string/strcpy.c: Likewise.
31627 * string/strncat.c: Likewise.
31628 * string/strncmp.c: Likewise.
31629 * string/strncpy.c: Likewise.
31631 2012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
31633 * sysdeps/powerpc/memmove.c: New file based on string/memmove.c where
31634 __builtin_memcopy is called when src and dest ranges are known to not
31637 2012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
31639 * sysdeps/powerpc/powerpc64/power6/wordcopy.c
31640 (_wordcopy_fwd_dest_aligned): Replace switch with a parameterized
31641 fwd_align_merge macro call.
31642 (_wordcopy_bwd_dest_aligned): Replace switch with a parameterized
31643 bwd_align_merge macro call.
31644 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
31646 2012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
31648 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Add fwd_align_merge and
31649 bwd_align_merge macros.
31650 (_wordcopy_fwd_dest_aligned): Use fwd_align_merge macro calls.
31651 (_wordcopy_bwd_dest_aligned): Use bwd_align_merge macro calls.
31652 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
31654 2012-04-18 David S. Miller <davem@davemloft.net>
31656 * sysdeps/sparc/sparc64/memcopy.h: Delete.
31658 2012-04-18 Andreas Jaeger <aj@suse.de>
31661 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Moved to ...
31662 * sysdeps/ieee754/ldbl-96/e_ilogbl.c: ... here.
31663 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
31665 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Moved to ...
31666 * sysdeps/ieee754/ldbl-128/e_ilogbl.c: ... here.
31667 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
31669 * sysdeps/ieee754/ldbl-64-128/s_ilogbl.c: Moved to ...
31670 * sysdeps/ieee754/ldbl-64-128/e_ilogbl.c: ... here.
31671 Adjust for changed ldbl-128 files.
31673 * sysdeps/sparc/sparc64/soft-fp/s_ilogbl.c: Moved to ...
31674 * sysdeps/sparc/sparc64/soft-fp/e_ilogbl.c: ... here.
31675 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
31677 2012-04-17 David S. Miller <davem@davemloft.net>
31679 * sysdeps/sparc/sparc32/memcopy.h: Delete.
31681 2012-04-17 Andreas Schwab <schwab@linux-m68k.org>
31683 * sysdeps/i386/fpu/e_ilogb.S: Remove __ilogb*_finite alias.
31684 * sysdeps/i386/fpu/e_ilogbf.S: Likewise.
31685 * sysdeps/i386/fpu/e_ilogbl.S: Likewise.
31686 * sysdeps/x86_64/fpu/e_ilogbl.S: Likewise.
31687 * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
31688 * sysdeps/ieee754/flt-32/e_ilogbf.c: Likewise.
31690 2012-04-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
31693 * math/Makefile: Add e_ilogb and w_ilogb, remove s_logb.
31694 * math/libm-test.inc: Add ilogb errno and exception tests.
31695 * math/w_ilogb.c: New file: ilogb wrapper.
31696 * math/w_ilogbf.c: New file: ilogbf wrapper.
31697 * math/w_ilogbl.c: New file: ilogbl wrapper.
31698 * sysdeps/generic/math_private.h: Add __ieee754_ilogb[l|f] prototypes.
31699 * sysdeps/i386/fpu/s_ilogb.S: Moved to ...
31700 * sysdeps/i386/fpu/e_ilogb.S: ... here. Also fixed a FE_DIVBYZERO
31701 exception being thrown with 0.0 as argument.
31702 * sysdeps/i386/fpu/s_ilogbf.S: Moved to ...
31703 * sysdeps/i386/fpu/e_ilogbf.S: ... here. Also fixed a FE_DIVBYZERO
31704 exception being thrown with 0.0 as argument.
31705 * sysdeps/i386/fpu/s_ilogbl.S: Moved to ...
31706 * sysdeps/i386/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
31707 exception being thrown with 0.0 as argument.
31708 * sysdeps/x86_64/fpu/s_ilogbl.S: Moved to ...
31709 * sysdeps/x86_64/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
31710 exception being thrown with 0.0 as argument.
31711 * sysdeps/ieee754/dbl-64/s_ilogb.c: Moved to ...
31712 * sysdeps/ieee754/dbl-64/e_ilogb.c: ... here.
31713 * sysdeps/ieee754/flt-32/s_ilogbf.c: Moved to ...
31714 * sysdeps/ieee754/flt-32/e_ilogbf.c: ... here.
31715 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Moved to ...
31716 * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c: ... here.
31717 * sysdeps/ieee754/ldbl-opt/s_ilogb.c: Moved to ...
31718 * sysdeps/ieee754/ldbl-opt/w_ilogb.c: ... here.
31719 * sysdeps/ieee754/ldbl-opt/w_ilogbl.c: New file: ilogbl wrapper.
31721 2012-04-17 Petr Baudis <pasky@ucw.cz>
31723 * include/sys/uio.h: Change __vector to __iovec to avoid clash
31726 2012-04-16 Marek Polacek <polacek@redhat.com>
31728 * elf/pldd-xx.c: Rename static_assert to pldd_assert.
31730 2012-04-16 Marek Polacek <polacek@redhat.com>
31732 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Reverse the
31733 operands of fdivp instruction.
31735 2012-04-13 H.J. Lu <hongjiu.lu@intel.com>
31737 * elf/tst-auditmod1.c: Check __ILP32__ instead of __LP64__.
31738 * elf/tst-auditmod3b.c: Likewise.
31739 * elf/tst-auditmod4b.c: Likewise.
31740 * elf/tst-auditmod5b.c: Likewise.
31741 * elf/tst-auditmod6b.c: Likewise.
31742 * elf/tst-auditmod6c.c: Likewise.
31743 * elf/tst-auditmod7b.c: Likewise.
31744 * sysdeps/x86_64/ffsll.c (ffsl): Likewise.
31745 * sysdeps/x86_64/preconfigure.in: Likewise.
31746 * sysdeps/x86_64/preconfigure: Regenerated.
31748 2012-04-13 H.J. Lu <hongjiu.lu@intel.com>
31750 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE): Also check
31753 2012-04-13 Antoine Balestrat <merkil33@gmail.com>
31755 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
31756 (__get_clockfreq_via_proc_openprom): Fix test on wrong variable.
31758 2012-04-13 Chris Leonard <cjlhomeaddress@gmail.com>
31761 * locale/iso-639.def: Fix gl language name. Spotted by
31764 2012-04-12 Roland McGrath <roland@hack.frob.com>
31767 * libio/libio.h (__io_write_fn): Update comment.
31769 2012-04-12 Petr Baudis <pasky@ucw.cz>
31772 * stdio.texi (Hook Functions): The user provided writer function
31773 is not allowed to return -1.
31775 2012-04-11 David S. Miller <davem@davemloft.net>
31777 * sysdeps/sparc/fpu/libm-test-ulps: Update.
31779 2012-04-11 Mike Frysinger <vapier@gentoo.org>
31781 * .gitignore: Add /ports, /linuxthreads, and /linuxthreads_db.
31782 Add a leading slash to rtkaio.
31784 2012-04-11 Jim Meyering <meyering@redhat.com>
31787 * libio/stdio.h (fwrite, fwrite_unlocked): Remove __wur.
31788 It is not necessarily an error to ignore fwrite's return
31789 value. One can reliably use ferror to test for errors after
31792 2012-04-10 H.J. Lu <hongjiu.lu@intel.com>
31794 * bits/types.h (__snseconds_t): New type.
31795 * time/time.h (struct timespec): Use __snseconds_t on tv_nsec.
31797 * bits/typesizes.h (__SNSECONDS_T_TYPE): New macro.
31798 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
31799 (__SNSECONDS_T_TYPE): Likewise.
31800 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
31801 (__SNSECONDS_T_TYPE): Likewise.
31802 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
31803 (__SNSECONDS_T_TYPE): Likewise.
31805 2012-04-10 Andreas Jaeger <aj@suse.de>
31808 * manual/time.texi (Processor Time): Return type of times is
31809 elapsed real time since an arbitrary point in the past.
31810 (CPU Time): Move CLK_TCK from here...
31811 (Processor Time): ...to here. Correct description.
31812 * manual/conf.texi (Constants for Sysconf): Correct description of
31815 2012-04-10 David S. Miller <davem@davemloft.net>
31818 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Handle the case
31819 where the is a gap between DT_REL(A) and DT_JMPREL.
31821 2012-04-10 H.J. Lu <hongjiu.lu@intel.com>
31823 * sysdeps/x86_64/bits/byteswap.h: Include <features.h>.
31824 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
31825 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
31827 2012-04-10 Siddhesh Poyarekar <siddhesh@redhat.com>
31829 * elf/dl-support.c (_dl_inhibit_cache): New variable.
31830 * elf/rtld.c (_rtld_global_ro): New member _dl_inhibit_cache.
31831 (dl_main): Handle --inhibit-cache.
31832 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): New member
31834 * elf/dl-load.c (_dl_map_object): Use it.
31835 * elf/Makefile: Define SYSCONFDIR when building rtld.c.
31837 2012-04-09 Joseph Myers <joseph@codesourcery.com>
31840 * sysdeps/i386/fpu/e_powl.S (p78): New object.
31841 (__ieee754_powl): Saturate large exponents rather than testing for
31842 overflow of y*log2(x).
31843 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
31844 * math/libm-test.inc (pow_test): Do not permit spurious overflow
31848 * math/s_ctan.c: Include <float.h>.
31849 (__ctan): Avoid internal overflow or cancellation in calculating
31851 * math/s_ctanf.c: Likewise.
31852 * math/s_ctanl.c: Likewise.
31853 * math/s_ctanh.c: Likewise.
31854 * math/s_ctanhf.c: Likewise.
31855 * math/s_ctanhl.c: Likewise.
31856 * math/libm-test.inc (ctan_test): Add more tests.
31857 (ctanh_test): Likewise.
31858 * sysdeps/i386/fpu/libm-test-ulps: Update.
31859 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
31861 2012-04-09 Andreas Jaeger <aj@suse.de>
31864 * manual/filesys.texi (Directory Entries): Mention that d_namlen
31865 is an optional BSD extension.
31868 * manual/stdio.texi (Opening Streams): Document additional fopen
31871 2012-04-09 Roland McGrath <roland@hack.frob.com>
31873 * sysdeps/i386/fpu/bits/mathinline.h (__sincos_code): Don't clobber
31874 %eax without telling the compiler.
31876 2012-04-09 Carlos O'Donell <carlos_odonell@mentor.com>
31879 * manual/install.texi: Use sourceware.org.
31881 2012-04-09 Joseph Myers <joseph@codesourcery.com>
31884 * sysdeps/ieee754/dbl-64/e_pow.c (huge, tiny): New variables.
31885 (__ieee754_pow): Generate overflow and underflow using huge*huge
31886 and tiny*tiny rather than just returning constant infinity or zero
31887 for large exponents.
31888 * math/libm-test.inc (pow_test): Require overflow exceptions for
31889 applicable cases of large exponents.
31892 * sysdeps/i386/fpu/e_pow.S (p10): New object.
31893 (__ieee754_pow): Use iterative multiplication algorithm only for
31894 integer exponents with absolute value below 1024. Check for odd
31895 integer exponents when using algorithm for real exponents.
31896 * math/libm-test.inc (pow_test): Add more tests.
31897 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
31899 2012-04-08 Joseph Myers <joseph@codesourcery.com>
31902 * math/libm-test.inc (exp_test): Do not allow overflow exception
31905 2012-04-08 Aurelien Jarno <aurelien@aurel32.net>
31908 * sysdeps/ieee754/dbl-64/w_exp.c (__exp): Use __kernel_standard
31909 instead of __kernel_standard_f.
31911 2012-04-08 Mike Frysinger <vapier@gentoo.org>
31913 * sysdeps/i386/i686/memset_chk.S: Update copyright year.
31914 * sysdeps/x86_64/memset_chk.S: Likewise.
31916 2012-04-08 Andreas Jaeger <aj@suse.de>
31919 * manual/startup.texi (Environment Access): Describe return value
31920 for putenv and setenv.
31923 * manual/filesys.texi (Directory Entries): Add description for
31927 * manual/filesys.texi (Directory Entries): Clarify that it's file
31928 system not operating system in the description of DT_UNKNOWN.
31931 * manual/syslog.texi (closelog): Fix reference, it's openlog.
31933 2012-04-08 Stephen Compall <s11@member.fsf.org>
31936 * manual/llio.texi (Opening and Closing Files): Add cross
31937 reference to explain mode argument.
31939 2012-04-07 Mike Frysinger <vapier@gentoo.org>
31941 * sysdeps/i386/i686/memset_chk.S: Change PIC to SHARED.
31942 * sysdeps/x86_64/memset_chk.S: Likewise.
31944 2012-04-07 David S. Miller <davem@davemloft.net>
31946 * elf/elf.h (R_SPARC_WDISP10): Define.
31947 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Handle
31949 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Handle
31950 R_SPARC_SIZE64 and R_SPARC_H34.
31952 2012-04-07 Carlos O'Donell <carlos_odonell@mentor.com>
31954 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Simplify
31955 conditions and remove no longer applicable assertion.
31957 2012-04-06 H.J. Lu <hongjiu.lu@intel.com>
31959 * bits/byteswap.h: Include <features.h>.
31960 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
31961 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
31963 2012-04-06 H.J. Lu <hongjiu.lu@intel.com>
31965 * bits/byteswap.h (__bswap_16): Removed.
31966 Include <bits/byteswap-16.h> to get __bswap_16.
31967 * sysdeps/i386/bits/byteswap.h: Likewise.
31968 * sysdeps/s390/bits/byteswap.h: Likewise.
31969 * sysdeps/x86_64/bits/byteswap.h: Likewise.
31970 * bits/byteswap-16.h: New file.
31971 * sysdeps/i386/bits/byteswap-16.h: Likewise.
31972 * sysdeps/s390/bits/byteswap-16.h: Likewise.
31973 * sysdeps/x86_64/bits/byteswap-16.h: Likewise.
31974 * string/Makefile (headers): Add bits/byteswap-16.h.
31976 2012-04-06 Paul Pluzhnikov <ppluzhnikov@google.com>
31979 * nss/nsswitch.c (nss_load_library, __nss_lookup_function): Avoid
31981 * nss/Makefile (tests-static, tests): Add tst-nss-static.
31982 * nss/tst-nss-static.c: New.
31984 2012-04-06 Robert Millan <rmh@gnu.org>
31987 * manual/llio.texi (File Position Primitive): lseek
31988 refers to WHENCE when it really means OFFSET.
31990 2012-04-06 Andreas Jaeger <aj@suse.de>
31992 * nss/nss_db/db-initgroups.c: Include <string.h> for strlen and
31993 strncmp declarations.
31995 * abilist/libc.abilist: Add __poll and __ppoll.
31997 2012-04-05 David S. Miller <davem@davemloft.net>
31999 * scripts/check-local-headers.sh: Accept a host triplet in the
32000 path matched by the exclude regexp.
32002 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Reduce down to one
32004 * sysdeps/powerpc/powerpc32/dl-machine.h
32005 (ELF_MACHINE_PLTREL_OVERLAP): Delete.
32006 * sysdeps/s390/s390-32/dl-machine.h
32007 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
32008 * sysdeps/sparc/sparc32/dl-machine.h
32009 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
32010 * sysdeps/sparc/sparc64/dl-machine.h
32011 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
32013 * elf/rtld.c (dl_main): If DL_DEBUG_UNUSED is enabled, turn off
32015 * elf/dl-lookup.c (_dl_lookup_symbol_x): If DL_DEBUG_UNUSED, ignore
32016 undefined symbol errors.
32018 * elf/rtld.c (dl_main): Skip VDSO when checking for unused
32021 2012-04-05 Michael Matz <matz@suse.de>
32024 * sysdeps/x86_64/memset.S: Fix size paramater comparisions.
32026 2012-04-05 Andreas Jaeger <aj@suse.de>
32029 * stdlib/stdlib.h: Don't warn about unused result of mktemp, fix
32032 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
32034 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Fix return value
32035 which ROUND is no valid rounding mode.
32037 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
32039 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Set fpscr register which
32041 * sysdeps/sh/sh4/fpu/ftestexcept.c: Likewise.
32043 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
32045 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Produce
32046 an exception using FPU order intentionally.
32048 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
32050 * sysdeps/sh/sh4/fpu/fedisblxcpt.c: New file.
32051 * sysdeps/sh/sh4/fpu/feenablxcpt.c: New file.
32052 * sysdeps/sh/sh4/fpu/fegetexcept.c: New file.
32053 * sysdeps/sh/sh4/fpu/feupdateenv.c: New file.
32055 2012-04-05 Simon Josefsson <simon@josefsson.org>
32058 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Return ERANGE instead of
32059 EINVAL when BUFLEN is too smal.
32061 2012-04-05 Thomas Schwinge <thomas@codesourcery.com>
32064 * sysdeps/mach/i386/machine-lock.h: Use volatile instead of __volatile.
32065 * sysdeps/mach/powerpc/machine-lock.h: Likewise.
32067 2012-04-03 Andreas Jaeger <aj@suse.de>
32070 * manual/setjmp.texi (System V contexts): Fix sentence.
32073 * sysdeps/i386/bits/byteswap.h [!__GNUC__](__bswap_constant_64):
32074 New macro for this case.
32075 [!__GNUC__] (__bswap_64): New inline function for this case.
32076 * sysdeps/x86_64/bits/byteswap.h: Likewise.
32077 * bits/byteswap.h: Likewise.
32078 * sysdeps/s390/bits/byteswap.h: [!__GNUC__] (__bswap_64): Use
32079 ull, guard with __GLIBC_HAVE_LONG_LONG.
32081 * string/endian.h (htobe64,htole64,be64toh,le64toh): Guard with
32082 __GLIBC_HAVE_LONG_LONG.
32084 * string/byteswap.h (bswap_64): Guard with __GLIBC_HAVE_LONG_LONG.
32085 Include <features.h> for __GLIBC_HAVE_LONG_LONG.
32087 2012-04-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
32090 * iconvdata/tcvn5712-1.c (FROM_LOOP): Test end of input using
32091 inptr and inend, rather than using last_ch.
32093 2012-04-02 David S. Miller <davem@davemloft.net>
32095 With help from Paul Eggert, Carlos O'Donell, and Roland McGrath.
32096 * stdio-common/printf-parse.h (read_int): Change return type to
32097 'int', return -1 on INT_MAX overflow.
32098 * stdio-common/vfprintf.c (vfprintf): Validate width and precision
32099 against overflow of INT_MAX. Set errno to EOVERFLOW when 'done'
32100 overflows INT_MAX. Check for overflow of in-format-string precision
32101 values properly. Use EOVERFLOW rather than ERANGE throughout. Use
32102 SIZE_MAX not INT_MAX for integer overflow test.
32103 * stdio-common/printf-parsemb.c: If read_int signals an overflow,
32104 skip the construct in the format string but do not record anything.
32105 * stdio-common/bug22.c: Adjust to test both width/prevision
32106 INT_MAX overflow as well as total length INT_MAX overflow. Check
32107 explicitly for proper errno values.
32109 2012-04-02 Thomas Schwinge <thomas@codesourcery.com>
32111 * string/test-memcmp.c [! WIDE]: #include <limits.h> for CHAR_MIN,
32113 * string/test-strcmp.c [! WIDE]: Likewise.
32114 * time/tst-mktime2.c: Likewise for INT_MAX.
32115 * string/test-string.h: #include <sys/param.h> for MIN.
32117 * csu/init-first.c (__libc_init_first): Call __ctype_init.
32118 * sysdeps/i386/init-first.c (init): Likewise.
32119 * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Likewise.
32120 * sysdeps/mach/hurd/powerpc/init-first.c (posixland_init): Likewise.
32121 * sysdeps/sh/init-first.c (init): Likewise.
32123 2012-04-01 Ulrich Drepper <drepper@gmail.com>
32125 * po/ru.po: Update from translation team.
32126 * po/vi.po: Likewise.
32128 2012-03-31 Siddhesh Poyarekar <siddhesh@redhat.com>
32130 * resolv/nss_dns/dns-host.c: Merge copyright years.
32132 2012-03-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
32134 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
32135 Optimize memcpy with prefetch if
32136 DATA_CACHE_SIZE_HALF <= len < SHARED_CACHE_SIZE_HALF and
32137 src, dst pointers have unequal 16 byte alignments.
32139 2012-03-30 Siddhesh Poyarekar <siddhesh@redhat.com>
32142 * resolv/nss_dns/dns-host.c (getanswer_r): Also consider ttl
32143 from a CNAME entry and return the minimum ttl for the query.
32144 (gaih_getanswer_slice): Likewise.
32146 2012-03-30 Jeff Law <law@redhat.com>
32148 * crypt/md5-crypt.c (__md5_crypt_r): Avoid unbounded alloca uses
32150 * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
32151 * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
32153 * resolv/nss_dns/dns-host.c: Update copyright year.
32155 2012-03-30 Ulrich Drepper <drepper@gmail.com>
32157 * resolv/res_send.c (send_dg): Use sendmmsg if we have to write two
32158 requests to save a system call. Fix check that all bytes are sent.
32160 * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr): Fix up
32161 comments for sendmmsg.
32163 2012-03-30 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
32166 * iconvdata/tcvn5712-1.c (FROM_LOOP): Fix a bug when converting strings
32167 with only 1 character between 0x0041 and 0x01b0.
32168 * wcsmbs/Makefile (tests): Add tst-mbsnrtowcs.
32169 * wcsmbs/tst-mbsnrtowcs.c: New file.
32171 2012-03-29 David S. Miller <davem@davemloft.net>
32173 * libio/fileops.c (_IO_new_file_xsputn): Don't try to optimize
32174 small copies by hand.
32176 2012-03-28 Siddhesh Poyarekar <siddhesh@redhat.com>
32179 * nis/nss_compat/compat-initgroups.c (getgrent_next_nss)
32180 (_nss_compat_initgroups_dyn): Fall back to malloc/free for large
32183 2012-03-28 David S. Miller <davem@davemloft.net>
32185 * sysdeps/sparc/sparc32/memcpy.S: Implement mempcpy using a stub
32186 that branches into memcpy.
32187 * sysdeps/sparc/sparc64/memcpy.S: Likewise.
32188 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
32189 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
32190 * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
32191 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add mempcpy multiarch
32193 * sysdeps/sparc/sparc64/rtld-memcpy.c: Include generic mempcpy
32194 implementation too.
32195 * sysdeps/sparc/mempcpy.S: New file.
32197 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Provide a hidden def to
32198 the IFUNC routine in the libc case.
32199 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
32201 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memset.c: New file.
32202 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memcpy.c: New file.
32203 * sysdeps/sparc/sparc32/sparcv9/rtld-memset.c: New file.
32204 * sysdeps/sparc/sparc32/sparcv9/rtld-memcpy.c: New file.
32205 * sysdeps/sparc/sparc64/multiarch/rtld-memset.c: New file.
32206 * sysdeps/sparc/sparc64/multiarch/rtld-memcpy.c: New file.
32207 * sysdeps/sparc/sparc64/rtld-memset.c: New file.
32208 * sysdeps/sparc/sparc64/rtld-memcpy.c: New file.
32210 * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Unroll main
32211 loop to 256 bytes instead of 64 bytes and fix test signedness.
32213 * sysdeps/sparc/Makefile: Add -fPIC to ASFLAGS-.os here....
32214 * sysdeps/sparc/sparc32/Makefile: rather than here...
32215 * sysdeps/sparc/sparc64/Makefile: and here.
32217 2012-03-28 Ulrich Drepper <drepper@gmail.com>
32219 * malloc/mallocbug.c: Avoid warnings about unused variables.
32221 2012-02-22 Siddhesh Poyarekar <siddhesh@redhat.com>
32224 * resolv/nss_dns/dns-host.c (gaih_getanswer): Look for errno
32225 in the right place. Discard and retry query if response is
32226 larger than input buffer size.
32228 2012-03-28 Joseph Myers <joseph@codesourcery.com>
32233 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Take absolute value of
32234 x for large integer exponent.
32235 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
32236 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise. Adjust
32237 sign of result as needed afterwards.
32238 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
32239 * sysdeps/ieee754/k_standard.c (__kernel_standard): Handle sign of
32240 result for underflowing pow the same as for overflow.
32241 (__kernel_standard_l): Handle powl overflow and underflow here
32242 rather than calling __kernel_standard.
32243 * math/libm-test.inc (pow_test): Add more tests.
32258 * sysdeps/generic/math_private.h (__kernel_standard_l): Declare.
32259 * sysdeps/ieee754/k_standard.c: Include <float.h>.
32260 (__kernel_standard_l): New function.
32261 * math/w_acoshl.c (__acoshl): Use __kernel_standard_l instead of
32263 * math/w_acosl.c (__acosl): Likewise.
32264 * math/w_asinl.c (__asinl): Likewise.
32265 * math/w_atan2l.c (__atan2l): Likewise.
32266 * math/w_atanhl.c (__atanhl): Likewise.
32267 * math/w_coshl.c (__coshl): Likewise.
32268 * math/w_exp10l.c (__exp10l): Likewise.
32269 * math/w_exp2l.c (__exp2l): Likewise.
32270 * math/w_fmodl.c (__fmodl): Likewise.
32271 * math/w_hypotl.c (__hypotl): Likewise.
32272 * math/w_j0l.c (__j0l, __y0l): Likewise.
32273 * math/w_j1l.c (__j1l, __y1l): Likewise.
32274 * math/w_jnl.c (__jnl, __ynl): Likewise.
32275 * math/w_lgammal.c (__lgammal): Likewise.
32276 * math/w_log10l.c (__log10l): Likewise.
32277 * math/w_log2l.c (__log2l): Likewise.
32278 * math/w_logl.c (__logl): Likewise.
32279 * math/w_powl.c (__powl): Likewise.
32280 * math/w_remainderl.c (__remainderl): Likewise.
32281 * math/w_scalbl.c (sysv_scalbl): Likewise.
32282 * math/w_sinhl.c (__sinhl): Likewise.
32283 * math/w_sqrtl.c (__sqrtl): Likewise.
32284 * math/w_tgammal.c (__tgammal): Likewise.
32285 * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Likewise.
32286 * sysdeps/ieee754/ldbl-96/w_expl.c (__expl): Likewise.
32287 * math/libm-test.inc (acos_test): Add more tests.
32288 (acosh_test): Likewise.
32289 (asin_test): Likewise.
32290 (atanh_test): Likewise.
32291 (exp_test): Likewise.
32292 (exp10_test): Likewise.
32293 (exp2_test): Likewise.
32294 (expm1_test): Likewise.
32295 (lgamma_test): Likewise.
32296 (log_test): Likewise.
32297 (log10_test): Likewise.
32298 (log1p_test): Likewise.
32299 (log2_test): Likewise.
32300 (pow_test): Do not allow some spurious overflow exceptions.
32301 (sqrt_test): Add more tests.
32302 (tgamma_test): Likewise.
32303 (y0_test): Likewise.
32304 (y1_test): Likewise.
32305 (yn_test): Likewise.
32307 2012-03-27 Anton Blanchard <anton@samba.org>
32309 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Define MAP_STACK and
32311 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
32312 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
32313 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
32315 2012-03-27 David S. Miller <davem@davemloft.net>
32317 * conform/Makefile: Run run-conformtest.sh using $(BASH).
32319 * sysdeps/sparc/sparc64/Makefile (ASFLAGS-.os): Move before
32320 have-as-vis3 check.
32322 2012-03-27 Andreas Jaeger <aj@suse.de>
32324 * sysdeps/x86_64/elf/configure.in: Moved to ...
32325 * sysdeps/x86_64/configure.in: ... here.
32326 * sysdeps/x86_64/elf/start.S: Moved to ...
32327 * sysdeps/x86_64/start.S: ... here.
32328 * sysdeps/x86_64/elf/configure: Delete.
32330 * sysdeps/x86_64/configure.in: Merge contents from
32331 sysdeps/i386/configure.in (without i686 check).
32333 * sysdeps/i386/elf/Versions: Merge into ...
32334 * sysdeps/i386/Versions: ... this.
32335 * sysdeps/i386/elf/Versions: Delete file.
32336 * sysdeps/i386/elf/start.S: Moved to ...
32337 * sysdeps/i386/start.S: ...here.
32338 * sysdeps/i386/elf/configure.in: Merge into...
32339 * sysdeps/i386/configure.in: ...here.
32340 * sysdeps/i386/elf/configure.in: Delete file.
32341 * sysdeps/i386/elf/configure: Delete file.
32343 * sysdeps/generic/elf/backtracesyms.c: Moved to ...
32344 * debug/backtracesyms.c: ... here.
32345 * sysdeps/generic/elf/backtracesymsfd.c: Moved to ...
32346 * debug/backtracesymsfd.c: ... here.
32347 * sysdeps/generic/elf/ifunc-sel.h: Moved to ...
32348 * sysdeps/generic/ifunc-sel.h: ... here.
32350 * sysdeps/unix/i386/start.c: Delete file.
32351 * sysdeps/unix/sparc/start.c: Delete file.
32352 * sysdeps/unix/start.c: Delete file.
32354 * sysdeps/sh/elf/configure.in: Moved to ...
32355 * sysdeps/sh/configure.in: ... here.
32356 * sysdeps/sh/elf/start.S: Moved to ...
32357 * sysdeps/sh/start.S: ... here.
32358 * sysdeps/sh/elf/configure: Delete file.
32360 * sysdeps/powerpc/powerpc64/elf/bzero.S: Moved to ...
32361 * sysdeps/powerpc/powerpc64/bzero.S: ... here.
32362 * sysdeps/powerpc/powerpc64/elf/entry.h: Moved to ...
32363 * sysdeps/powerpc/powerpc64/entry.h: ... here.
32364 * sysdeps/powerpc/powerpc64/elf/start.S: Moved to ...
32365 * sysdeps/powerpc/powerpc64/start.S: here.
32366 * sysdeps/powerpc/powerpc64/elf/Makefile: Merge into ...
32367 * sysdeps/powerpc/powerpc64/Makefile: ... this.
32368 * sysdeps/powerpc/powerpc64/elf/configure.in: Merge into ...
32369 * sysdeps/powerpc/powerpc64/configure.in: ... this.
32370 * sysdeps/powerpc/powerpc64/elf/configure: Delete file.
32372 * sysdeps/powerpc/powerpc32/elf/bzero.S: Moved to ...
32373 * sysdeps/powerpc/powerpc32/bzero.S: ... here.
32374 * sysdeps/powerpc/powerpc32/elf/start.S: Moved to ...
32375 * sysdeps/powerpc/powerpc32/start.S: ... here.
32376 * sysdeps/powerpc/powerpc32/elf/configure.in: Merge into ...
32377 * sysdeps/powerpc/powerpc32/configure.in: ... this.
32378 * sysdeps/powerpc/powerpc32/elf/configure: Delete file.
32380 * sysdeps/powerpc/elf/ifunc-sel.h: Moved to ...
32381 * sysdeps/powerpc/ifunc-sel.h: ... here.
32382 * sysdeps/powerpc/elf/rtld-global-offsets.sym: Moved to ...
32383 * sysdeps/powerpc/rtld-global-offsets.sym: ... here.
32385 * sysdeps/sparc/elf/configure.in: Moved to ...
32386 * sysdeps/sparc/configure.in: ... here.
32387 * sysdeps/sparc/elf/configure: Delete file.
32388 * sysdeps/sparc/sparc32/elf/start.S: Moved to ...
32389 * sysdeps/sparc/sparc32/start.S: ... here.
32390 * sysdeps/sparc/sparc64/elf/start.S: Moved to ...
32391 * sysdeps/sparc/sparc64/start.S: ... here.
32392 * sysdeps/sparc/sparc32/elf/Makefile: Merged into ...
32393 * sysdeps/sparc/sparc32/Makefile: ... this.
32394 * sysdeps/sparc/sparc64/elf/Makefile: Merged into ...
32395 * sysdeps/sparc/sparc64/Makefile: ... this.
32397 * sysdeps/s390/s390-32/elf/bsd-_setjmp.S: Moved to ...
32398 * sysdeps/s390/s390-32/bsd-_setjmp.S: ... here.
32399 * sysdeps/s390/s390-32/elf/bsd-setjmp.S: Moved to ...
32400 * sysdeps/s390/s390-32/bsd-setjmp.S: ... here.
32401 * sysdeps/s390/s390-32/elf/setjmp.S: Moved to ...
32402 * sysdeps/s390/s390-32/setjmp.S: ... here.
32403 * sysdeps/s390/s390-32/elf/configure.in: Moved to ...
32404 * sysdeps/s390/s390-32/configure.in: ... here.
32405 * sysdeps/s390/s390-32/elf/configure: Delete file.
32406 * sysdeps/s390/s390-32/elf/start.S: Moved to ...
32407 * sysdeps/s390/s390-32/start.S: ... here.
32409 * sysdeps/s390/s390-64/elf/bsd-_setjmp.S: Moved to ...
32410 * sysdeps/s390/s390-64/bsd-_setjmp.S: ... here.
32411 * sysdeps/s390/s390-64/elf/bsd-setjmp.S: Moved to ...
32412 * sysdeps/s390/s390-64/bsd-setjmp.S: ... here.
32413 * sysdeps/s390/s390-64/elf/setjmp.S: Moved to ...
32414 * sysdeps/s390/s390-64/setjmp.S: ... here.
32415 * sysdeps/s390/s390-64/elf/configure.in: Moved to ...
32416 * sysdeps/s390/s390-64/configure.in: ... here
32417 * sysdeps/s390/s390-64/elf/configure: Delete file.
32418 * sysdeps/s390/s390-64/elf/start.S: Moved to ...
32419 * sysdeps/s390/s390-64/start.S: ... here.
32420 * sysdeps/s390/s390-64/elf/configure: Delete.
32422 * configure.in: Remove support for elf directories in sysdeps.
32424 * configure: Regenerated.
32425 * sysdeps/i386/configure: Regenerated.
32426 * sysdeps/powerpc/powerpc32/configure: Regenerated.
32427 * sysdeps/powerpc/powerpc64/configure: Regenerated.
32428 * sysdeps/s390/s390-32/configure: Regenerated.
32429 * sysdeps/s390/s390-64/configure: Regenerated.
32430 * sysdeps/sh/configure: Regenerated.
32431 * sysdeps/sparc/configure: Regenerated.
32432 * sysdeps/x86_64/configure: Regenerated.
32434 2012-03-26 Andreas Schwab <schwab@linux-m68k.org>
32436 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
32438 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (lomark): Adjust to take
32439 denormal result into account.
32441 2012-03-25 Roland McGrath <roland@hack.frob.com>
32443 * posix/confstr.c (confstr): Lift RESTENVS definition to function scope.
32444 Reported by Allan McRae <allan@archlinux.org>.
32446 2012-03-23 Jeff Law <law@redhat.com>
32448 * nss/getnssent.c (__nss_getent): Fix typo.
32450 2012-03-23 David S. Miller <davem@davemloft.net>
32452 * sysdeps/sparc/fpu/libm-test-ulps: Update.
32454 2012-03-23 H.J. Lu <hongjiu.lu@intel.com>
32456 * sysdeps/x86_64/dl-tlsdesc.h (tlsdesc): Use anonymous union
32457 to pad to uint64_t for each field.
32458 (dl_tls_index): Replace unsigned long with uint64_t.
32460 2012-03-23 Daniel Jacobowitz <dmj@google.com>
32461 Paul Pluzhnikov <ppluzhnikov@google.com>
32464 * grp/Makefile (otherlibs): Don't set it.
32465 * inet/Makefile (otherlibs): Likewise.
32466 * login/Makefile (otherlibs): Likewise.
32467 * nscd/Makefile (otherlibs): Likewise.
32468 * posix/Makefile (otherlibs): Likewise.
32469 * pwd/Makefile (otherlibs): Likewise.
32470 * rt/Makefile (otherlibs): Likewise.
32471 * sunrpc/Makefile (otherlibs): Likewise.
32472 * nss/Makefile (otherlibs): Likewise.
32473 Add libnss_files to routines and static-only-routines.
32474 ($(objpfx)getent): Remove rule.
32475 * resolv/Makefile: Add libnss_dns and libresolv to routines and
32476 static-only-routines.
32478 2012-03-22 Joseph Myers <joseph@codesourcery.com>
32481 * math/s_cexp.c: Include <float.h>.
32482 (__cexp): Handle exp result overflowing not necessarily
32483 overflowing both real and imaginary parts of result.
32484 * math/s_cexpf.c: Likewise.
32485 * math/s_cexpl.c: Likewise.
32486 * math/libm-test.inc (cexp_test): Add more tests.
32487 * sysdeps/i386/fpu/libm-test-ulps: Update.
32488 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
32490 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
32492 * include/link.h (ELFW): New macro.
32493 * sysdeps/x86_64/dl-irel.h: Replace Elf64_XXX with ElfW(XXX).
32494 Replace ELF64_R_TYPE with ELFW(R_TYPE).
32496 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
32498 * sysdeps/x86_64/dl-tls.h (dl_tls_index): Replace unsigned long
32501 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
32503 * sysdeps/generic/ldsodefs.h (struct La_x32_regs): New forward
32505 (struct La_x32_retval): Likewise.
32507 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
32509 * sysdeps/x86_64/preconfigure.in: New file.
32510 * sysdeps/x86_64/preconfigure: New generated file.
32512 2012-03-22 Joseph Myers <joseph@codesourcery.com>
32515 * math/e_exp2l.c: Include <float.h>.
32516 (__ieee754_exp2l): Handle overflow and underflow cases
32517 separately. Only pass fractional part of argument to
32519 * math/libm-test.inc (exp2_test): Add more tests.
32521 * sysdeps/ieee754/ldbl-128/k_cosl.c (__kernel_cosl): Negate y if
32522 negating x to take absolute value.
32523 * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
32525 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
32526 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl):
32528 * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Negate y when
32529 computing low part if x was negated.
32530 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
32532 2012-03-21 H.J. Lu <hongjiu.lu@intel.com>
32534 * elf/tst-auditmod1.c: Support la_x32_gnu_pltenter and
32535 la_x32_gnu_pltexit.
32536 (pltexit): Cast int_retval to ptrdiff_t.
32537 * elf/tst-auditmod3b.c: Likewise.
32538 * elf/tst-auditmod4b.c: Likewise.
32539 * elf/tst-auditmod5b.c: Likewise.
32540 * elf/tst-auditmod6b.c: Likewise.
32541 * elf/tst-auditmod6c.c: Likewise.
32542 * elf/tst-auditmod7b.c: Likewise.
32544 * sysdeps/generic/ldsodefs.h (audit_ifaces): Add x32_gnu_pltenter
32545 and x32_gnu_pltexit.
32547 * sysdeps/x86_64/bits/link.h: Check __x86_64__ instead of
32548 __ELF_NATIVE_CLASS.
32549 (La_x32_regs): New macro.
32550 (La_x32_retval): Likewise.
32551 (la_x32_gnu_pltenter): New function prototype.
32552 (la_x32_gnu_pltexit): Likewise.
32554 2012-03-21 Andreas Schwab <schwab@linux-m68k.org>
32556 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (huge, tiny): Correct
32559 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
32561 * configure.in (libc_cv_cc_nofma): Check for option to disable
32562 generation of FMA instructions.
32563 * configure: Regenerate.
32564 * config.make.in (config-cflags-nofma): Set from libc_cv_cc_nofma.
32565 * sysdeps/ieee754/dbl-64/Makefile: New file.
32566 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
32567 Remove brandred-fma4.
32568 (CFLAGS-brandred-fma4.c): Remove.
32569 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Remove.
32570 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c (__branred): Don't
32572 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c (__branred): Don't
32575 2012-03-21 H.J. Lu <hongjiu.lu@intel.com>
32577 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
32578 LLONG_MAX != LONG_MAX.
32579 (_itoa_word): Use _ITOA_WORD_TYPE on value.
32580 (_fitoa_word): Likewise.
32581 * stdio-common/_itowa.c: Check _ITOA_NEEDED instead of
32582 LLONG_MAX != LONG_MAX.
32583 * stdio-common/_itowa.h: Include <_itoa.h>.
32584 (_itowa_word): Use _ITOA_WORD_TYPE on value.
32585 (_itowa): New macro. Defined only if _ITOA_NEEDED is false.
32586 * sysdeps/generic/_itoa.h (_ITOA_NEEDED): New macro. Defined
32587 only if not defined.
32588 (_ITOA_WORD_TYPE): Likewise.
32589 (_itoa_word): Use _ITOA_WORD_TYPE on value.
32590 Check !_ITOA_NEEDED instead of LONG_MAX == LLONG_MAX.
32592 2012-03-21 David S. Miller <davem@davemloft.net>
32594 * sysdeps/sparc/fpu/libm-test-ulps: Update.
32596 2012-03-21 H.J. Lu <hongjiu.lu@intel.com>
32598 * sysdeps/unix/sysv/linux/configure.in: Check x86_64* instead
32599 of x86_64 when setting libc_cv_slibdir, libdir and
32601 * sysdeps/unix/sysv/linux/configure: Regenerated.
32603 2012-03-21 Joseph Myers <joseph@codesourcery.com>
32605 * manual/lang.texi (Old Varargs): Remove section.
32606 (How Variadic): Update menu.
32607 (va_start): Do not mention varargs.h.
32609 2012-03-21 Thomas Schwinge <thomas@codesourcery.com>
32610 Joseph Myers <joseph@codesourcery.com>
32612 * configure.in (libc_cv_ssp): Use LIBC_TRY_CC_OPTION instead of a
32614 * configure: Regenerated.
32616 2012-03-21 Thomas Schwinge <thomas@codesourcery.com>
32618 * conform/conformtest.pl: Handle --tmpdir argument, defaulting to /tmp.
32619 * conform/run-conformtest.sh: Pass --tmpdir argument when invoking
32622 2012-03-21 Joseph Myers <joseph@codesourcery.com>
32625 * Makefile (files-for-dist): Remove NOTES.
32626 (NOTES): Remove rule.
32627 * README: Don't refer to NOTES.
32628 * manual/creature.texi: Don't include macros.texi.
32629 * manual/intro.texi (creature.texi): Remove comment referring to
32632 * aclocal.m4 (LIBC_TRY_CC_OPTION): New macro.
32633 * configure.in (libc_cv_cc_submachine): Use LIBC_TRY_CC_OPTION.
32634 * configure: Regenerated.
32635 * sysdeps/i386/configure.in (libc_cv_cc_sse4): Use
32636 LIBC_TRY_CC_OPTION.
32637 (libc_cv_as_i686): Likewise.
32638 (libc_cv_cc_avx): Likewise.
32639 (libc_cv_cc_sse2avx): Likewise.
32640 (libc_cv_cc_fma4): Likewise.
32641 (libc_cv_cc_novzeroupper): Likewise.
32642 * sysdeps/i386/configure: Regenerated.
32645 * sysdeps/i386/fpu/s_cexp.S: Remove.
32646 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
32647 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
32648 * math/libm-test.inc (cexp_test): Add more tests.
32649 * sysdeps/i386/fpu/libm-test-ulps: Update.
32650 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
32652 2012-03-21 Allan McRae <allan@archlinux.org>
32654 * timezone/Makefile: Do not install iso3166.tab and zone.tab
32656 2012-03-21 Joseph Myers <joseph@codesourcery.com>
32659 * math/w_exp2.c: Do not include <float.h>.
32660 (o_threshold, u_threshold): Remove.
32661 (__exp2): Calculate result before checking finiteness and calling
32663 * math/w_exp2f.c: Likewise.
32664 * math/w_exp2l.c: Likewise.
32665 * math/libm-test.inc (exp2_test): Require overflow exception for
32669 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Test for y outside the
32670 range of signed 64-bit integers before using fistpll. Remove
32671 checks for whether integers fit in mantissa bits.
32672 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Test for y outside
32673 the range of signed 32-bit integers before using fistpl. Remove
32674 checks for whether integers fit in mantissa bits.
32675 * sysdeps/i386/fpu/e_powl.S (p64): New object.
32676 (__ieee754_powl): Test for y outside the range of signed 64-bit
32677 integers before using fistpll. Reduce 64-bit values to 63-bit
32679 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Ensure
32680 divide-by-zero is raised for zero to large negative powers.
32681 * sysdeps/x86_64/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 * math/libm-test.inc (pow_test): Add more tests.
32687 2012-03-20 H.J. Lu <hongjiu.lu@intel.com>
32689 * debug/backtracesymsfd.c: Include <_itoa.h> instead of
32690 <stdio-common/_itoa.h>.
32691 * debug/segfault.c: Likewise.
32692 * elf/dl-cache.c: Likewise.
32693 * elf/dl-minimal.c: Likewise.
32694 * elf/dl-misc.c: Likewise.
32695 * elf/dl-sysdep.c: Likewise.
32696 * elf/dl-version.c: Likewise.
32697 * elf/rtld.c: Likewise.
32698 * hurd/hurdsock.c: Likewise.
32699 * hurd/lookup-retry.c: Likewise.
32700 * malloc/malloc.c: Likewise.
32701 * malloc/mtrace.c: Likewise.
32702 * nscd/nscd_getgr_r.c: Likewise.
32703 * nscd/nscd_getpw_r.c: Likewise.
32704 * nscd/nscd_getserv_r.c: Likewise.
32705 * posix/getopt_init.c: Likewise.
32706 * posix/wordexp.c: Likewise.
32707 * stdio-common/_itoa.c: Likewise.
32708 * stdio-common/printf_fphex.c: Likewise.
32709 * stdio-common/vfprintf.c: Likewise.
32710 * string/_strerror.c: Likewise.
32711 * sysdeps/generic/elf/backtracesymsfd.c: Likewise.
32712 * sysdeps/i386/i686/hp-timing.h: Likewise.
32713 * sysdeps/mach/_strerror.c: Likewise.
32714 * sysdeps/mach/hurd/powerpc/register-dump.h: Likewise.
32715 * sysdeps/mach/hurd/sethostid.c: Likewise.
32716 * sysdeps/mach/hurd/xmknodat.c: Likewise.
32717 * sysdeps/mach/xpg-strerror.c: Likewise.
32718 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
32719 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
32720 * sysdeps/powerpc/powerpc32/register-dump.h: Likewise.
32721 * sysdeps/powerpc/powerpc64/dl-machine.c: Likewise.
32722 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
32723 * sysdeps/powerpc/powerpc64/register-dump.h: Likewise.
32724 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
32725 * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
32726 * sysdeps/unix/sysv/linux/fd_to_filename.h: Likewise.
32727 * sysdeps/unix/sysv/linux/futimes.c: Likewise.
32728 * sysdeps/unix/sysv/linux/i386/register-dump.h: Likewise.
32729 * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
32730 * sysdeps/unix/sysv/linux/s390/s390-32/register-dump.h: Likewise.
32731 * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
32732 * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
32733 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Likewise.
32734 * sysdeps/unix/sysv/linux/sparc/sparc32/register-dump.h: Likewise.
32735 * sysdeps/unix/sysv/linux/sparc/sparc64/register-dump.h: Likewise.
32736 * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
32737 * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
32738 * sysdeps/unix/sysv/linux/x86_64/register-dump.h: Likewise.
32740 * stdio-common/_itoa.c: Include <_itoa.h> instead of "_itoa.h".
32742 * stdio-common/_itoa.h: Moved to ...
32743 * sysdeps/generic/_itoa.h: Here.
32745 * stdio-common/_itowa.c: Include <_itowa.h> instead of "_itowa.h".
32747 * stdio-common/printf_fphex.c: Include <_itoa.h> and <_itowa.h>
32748 instead of "_itoa.h" and "_itowa.h".
32749 * stdio-common/vfprintf.: Likewise.
32751 2012-03-20 H.J. Lu <hongjiu.lu@intel.com>
32753 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't include
32755 (__signbitf): Check __x86_64__ instead of __WORDSIZE.
32756 (__signbit): Likwise.
32757 (llrintf): Likwise.
32760 2012-03-20 H.J. Lu <hongjiu.lu@intel.com>
32762 * sysdeps/x86_64/bits/setjmp.h (__jmp_buf): Support x86-64 with
32765 2012-03-20 Joseph Myers <joseph@codesourcery.com>
32767 * math/gen-libm-test.pl (%beautify): Add OVERFLOW_EXCEPTION and
32768 OVERFLOW_EXCEPTION_OK.
32769 * math/libm-test.inc ("Philosophy"): Update comment about
32771 (OVERFLOW_EXCEPTION): Define.
32772 (OVERFLOW_EXCEPTION_OK): Likewise.
32773 (INVALID_EXCEPTION_OK): Renumber.
32774 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
32775 (IGNORE_ZERO_INF_SIGN): Likewise.
32776 (test_exceptions): Handle FE_OVERFLOW.
32777 (exp10_test): Expect overflow exceptions.
32778 (exp2_test): Likewise.
32779 (expm1_test): Likewise.
32780 (nextafter_test): Likewise.
32781 (pow_test): Likewise.
32782 (scalbn_test): Likewise.
32783 (scalbln_test): Likewise.
32785 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
32787 * sysdeps/x86_64/bits/atomic.h
32788 (__arch_c_compare_and_exchange_val_64_acq): Use atomic64_t on
32790 (atomic_exchange_acq): Likewise.
32791 (__arch_exchange_and_add_body): Likewise.
32792 (__arch_add_body): Likewise.
32793 (atomic_add_negative): Likewise.
32794 (atomic_add_zero): Likewise.
32796 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
32798 * sysdeps/x86_64/fpu/bits/fenv.h: Don't include <bits/wordsize.h>.
32799 (fenv_t): Check __x86_64__ instead of __WORDSIZE.
32801 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
32803 * sysdeps/x86_64/bits/mathdef.h: Don't include <bits/wordsize.h>.
32804 Check __x86_64__ instead of __WORDSIZE.
32806 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
32808 * sysdeps/unix/sysv/linux/x86_64/ldd-rewrite.sed: Support x32.
32810 2012-03-19 David S. Miller <davem@davemloft.net>
32812 * sysdeps/sparc/fpu/libm-test-ulps: Update.
32814 * sysdeps/sparc/fpu/fenv_private.h: New file.
32815 * sysdeps/sparc/fpu/math_private.h: Use it.
32816 (libc_feholdexcept, libc_feholdexceptf, libc_feholdexceptl):
32818 (libc_feholdexcept_setround, libc_feholdexcept_setroundf)
32819 (libc_feholdexcept_setroundl): Remove.
32820 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl):
32822 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Remove.
32823 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvf): Remove.
32825 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
32827 * sysdeps/x86_64/fpu/math_private.h (EXTRACT_WORDS64): Use
32828 int64_t instead of long int.
32829 (INSERT_WORDS64): Likwise.
32831 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
32833 * sysdeps/x86_64/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast
32834 _Unwind_GetCFA return to _Unwind_Ptr first.
32836 2012-03-19 Joseph Myers <joseph@codesourcery.com>
32839 * math/s_clog.c: Include <float.h>.
32840 (__clog): Scale large or subnormal inputs.
32841 * math/s_clogf.c: Likewise.
32842 * math/s_clogl.c: Likewise.
32843 * math/s_clog10.c: Include <float.h>.
32844 (M_LOG10_2): Define.
32845 (__clog10): Scale large or subnormal inputs.
32846 * math/s_clog10f.c: Likewise.
32847 * math/s_clog10l.c: Likewise.
32848 * math/libm-test.inc (clog_test): Add more tests.
32849 (clog10_test): Likewise.
32850 * sysdeps/i386/fpu/libm-test-ulps: Update.
32851 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
32854 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Scale large
32856 * math/libm-test.inc (atan2_test): Add another test.
32858 * Makerules (common-objdir-compile): Remove.
32859 * sysdeps/unix/Makefile (config-generated): Do not add
32860 $(unix-generated) to variable.
32861 [generic bits/local_lim.h] (mk-local_lim-CFLAGS): Remove variable.
32862 [generic bits/local_lim.h] ($(common-objpfx)bits/local_lim.h):
32864 [generic bits/local_lim.h] ($(common-objpfx)mk-local_lim):
32866 [generic bits/local_lim.h] (before-compile): Do not append to
32868 [generic bits/local_lim.h] (common-generated): Likewise.
32869 [generic sys/param.h] (before-compile): Do not append to variable.
32870 [generic sys/param.h] ($(common-objpfx)sys/param.h): Remove rule.
32871 [generic sys/param.h] ($(common-objpfx)param.h.c): Likewise.
32872 [generic sys/param.h] ($(common-objpfx)param.h.dep): Likewise.
32873 [generic sys/param.h] ($(common-objpfx)param.h.dep): Do not
32875 [generic sys/param.h] (sys/param.h-includes): Remove variable.
32876 [generic sys/param.h] (sys/param.h-includes): Remove rule.
32877 [generic sys/param.h] ($(addprefix
32878 $(common-objpfx),$(sys/param.h-includes))): Likewise.
32879 [generic sys/param.h] (common-generated): Do not append to
32881 [generic sys/param.h] (sysdep_headers): Likewise.
32882 [generic bits/errno.h] (before-compile): Do not append to
32884 [generic bits/errno.h] ($(common-objpfx)bits/errno.h): Remove
32886 [generic bits/errno.h] ($(common-objpfx)make-errnos): Likewise.
32887 [generic bits/errno.h] ($(common-objpfx)make-errnos.c): Likewise.
32888 [generic bits/errno.h] ($(common-objpfx)errnos): Likewise.
32889 [generic bits/errno.h] (common-generated): Do not append to
32891 [generic bits/ioctls.h] (before-compile): Do not append to
32893 [generic bits/ioctls.h] ($(common-objpfx)bits/ioctls.h): Remove
32895 [generic bits/ioctls.h] (ioctl-includes): Remove variable.
32896 [generic bits/ioctls.h] (make-ioctls-CFLAGS): Likewise.
32897 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls): Remove
32899 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls.c): Likewise.
32900 [generic bits/ioctls.h] (bits_termios.h): Remove variable.
32901 [generic bits/ioctls.h] ($(common-objpfx)ioctls): Remove rule.
32902 [generic bits/ioctls.h] (common-generated): Do not append to
32904 [generic sys/syscall.h] (syscall.h): Remove variable.
32905 [generic sys/syscall.h] ($(common-objpfx)sys/syscall.h): Remove
32907 [generic sys/syscall.h] (before-compile): Do not append to
32909 [generic sys/syscall.h] (common-generated): Likewise.
32910 * sysdeps/unix/errnos-tmpl.c: Remove file.
32911 * sysdeps/unix/errnos.awk: Likewise.
32912 * sysdeps/unix/ioctls-tmpl.c: Likewise.
32913 * sysdeps/unix/ioctls.awk: Likewise.
32914 * sysdeps/unix/mk-local_lim.c: Likewise.
32915 * sysdeps/unix/snarf-ioctls: Likewise.
32917 2012-03-19 Richard Henderson <rth@twiddle.net>
32919 * sysdeps/i386/fpu/fenv_private.h: New file.
32920 * sysdeps/i386/fpu/math_private.h: Use it.
32921 (math_opt_barrier, math_force_eval): Remove.
32922 (libc_feholdexcept_setround_53bit): Remove.
32923 (libc_feupdateenv_53bit): Remove.
32924 * sysdeps/x86_64/fpu/math_private.h: Likewise.
32925 (math_opt_barrier, math_force_eval): Remove.
32926 (libc_feholdexcept): Remove.
32927 (libc_feholdexcept_setround): Remove.
32928 (libc_fetestexcept, libc_fesetenv): Remove.
32929 (libc_feupdateenv_test): Remove.
32930 (libc_feupdateenv, libc_feholdsetround): Remove.
32931 (libc_feresetround): Remove.
32933 * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Avoid the fldenv.
32934 * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
32936 * sysdeps/generic/math_private.h (default_libc_feupdateenv_test): New.
32937 (libc_feupdateenv_test, libc_feupdateenv_testf): New.
32938 (libc_feupdateenv_testl): New.
32939 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv_test): New.
32940 (libc_feupdateenv_testf): New.
32941 (libc_feupdateenv): Use libc_feupdateenv_test.
32942 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use libc_feupdateenv_test.
32943 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Likewise.
32945 * sysdeps/generic/math_private.h (libc_feholdsetround): New.
32946 (libc_feholdsetroundf, libc_feholdsetroundl): New.
32947 (libc_feresetround, libc_feresetroundf, libc_feresetroundl): New.
32948 (libc_feresetround_noex): New.
32949 (libc_feresetround_noexf): New.
32950 (libc_feresetround_noexl): New.
32951 (SET_RESTORE_ROUND, SET_RESTORE_ROUNDF, SET_RESTORE_ROUNDL): New.
32952 (SET_RESTORE_ROUND_NOEX, SET_RESTORE_ROUND_NOEXF): New.
32953 (SET_RESTORE_ROUND_NOEXL, SET_RESTORE_ROUND_53BIT): New.
32954 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use
32956 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
32957 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use SET_RESTORE_ROUND_53BIT.
32959 * sysdeps/ieee754/dbl-64/s_tan.c (__tan): Likewise.
32960 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Use
32961 SET_RESTORE_ROUND_NOEX.
32962 * sysdeps/ieee754/dbl-64/e_exp2f.c (__ieee754_exp2f): Use
32963 SET_RESTORE_ROUND_NOEXF.
32964 * sysdeps/ieee754/flt-32/e_expf.c (__ieee754_expf): Likewise.
32965 * sysdeps/x86_64/fpu/math_private.h (libc_feholdsetround): New.
32966 (libc_feholdsetroundf): New.
32967 (libc_feresetround, libc_feresetroundf): New.
32969 * sysdeps/i386/fpu/math_private.h: Include <fenv.h>, <fpu_control.h>.
32970 (libc_feholdexcept_setround_53bit): Convert from macro to function.
32971 (libc_feupdateenv_53bit): Likewise. Don't force _FPU_EXTENDED.
32973 * sysdeps/generic/math_private.h: Include <fenv.h>.
32974 (default_libc_feholdexcept): New.
32975 (default_libc_feholdexcept_setround): New.
32976 (default_libc_fesetenv, default_libc_feupdateenv): New.
32977 (libc_feholdexcept): Only define if undefined.
32978 (libc_feholdexceptf, libc_feholdexceptl): Likewise.
32979 (libc_feholdexcept_setround, libc_feholdexcept_setroundf): Likewise.
32980 (libc_feholdexcept_setroundl): Likewise.
32981 (libc_feholdexcept_setround_53bit): Likewise.
32982 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl): Likewise.
32983 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Likewise.
32984 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvl): Likewise.
32985 (libc_feupdateenv_53bit): Likewise.
32986 * sysdeps/x86_64/fpu/math_private.h: Include <fenv.h>.
32987 (libc_feholdexcept): Convert from macro to inline function.
32988 (libc_feholdexcept_setround, libc_fetestexcept): Likewise.
32989 (libc_fesetenv, libc_feupdateenv): Likewise.
32991 * sysdeps/generic/math_private.h (GET_HIGH_WORD): Define only if
32992 not previously defined.
32993 (GET_LOW_WORD, EXTRACT_WORDS64, INSERT_WORDS): Likewise.
32994 (INSERT_WORDS64, SET_HIGH_WORD, SET_LOW_WORD): Likewise.
32995 (GET_FLOAT_WORD, SET_FLOAT_WORD): Likewise.
32996 * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: New file.
32997 * sysdeps/ieee754/flt-32/math_private.h: New file.
32998 * sysdeps/x86_64/fpu/math_private.h: Move the include_next of
32999 math_private.h below SET_FLOAT_WORD.
33000 (__isnan, __isinf_ns, __finite): Remove.
33001 (__isnanf, __isinf_nsf, __finitef): Remove.
33003 2012-03-18 Andreas Schwab <schwab@linux-m68k.org>
33005 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
33007 2012-03-17 David S. Miller <davem@davemloft.net>
33010 * sysdeps/unix/sysv/linux/sparc/Versions: Add __getshmlba entry
33013 2012-03-16 David S. Miller <davem@davemloft.net>
33015 * sysdeps/unix/sysv/linux/shmat.c (shmat): Use -1l to avoid
33019 * sysdeps/unix/sysv/linux/shmat.c (shmat): Test for syscall errors
33021 * sysdeps/unix/sysv/linux/sparc/getshmlba.c: New file.
33022 * sysdeps/unix/sysv/linux/sparc/Makefile: Add getshmlba to
33023 sysdep_routines when subdir is sysvipc.
33024 * sysdeps/unix/sysv/linux/sparc/bits/shm.h (SHMLBA): Use new
33025 __getshmlba helper.
33027 * sysdeps/sparc/fpu/libm-test/ulps: Update.
33029 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
33031 * sysdeps/x86_64/ffsll.c (ffsl): Define alias only under
33034 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
33036 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Moved to ...
33037 * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c: This.
33038 (__lround): Renamed to ...
33039 (__llround): This. Replace long int with long long int.
33040 Define lround functions as aliases of llround functions.
33041 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Empty file.
33043 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
33045 * sysdeps/unix/sysv/linux/x86_64/makecontext.c (__makecontext):
33046 Use greg_t on sp. Use unsigned int on idx_uc_link. Cast
33047 adresses to uintptr_t. Replace "long int" and "unsigned long
33048 int" with "greg_t" on va_arg.
33050 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
33052 * sysdeps/generic/ldconfig.h (FLAG_X8664_LIBX32): New macro.
33053 * elf/cache.c (print_entry): Handle FLAG_X8664_LIBX32.
33055 * sysdeps/unix/sysv/linux/i386/readelflib.c (process_elf_file):
33056 Move e_machine check before EI_CLASS check. Handle x32
33057 libraries. Check EM_IA_64 only if SKIP_EM_IA_64 isn't defined.
33058 * sysdeps/unix/sysv/linux/x86_64/readelflib.c: Just define
33059 SKIP_EM_IA_64 and include
33060 <sysdeps/unix/sysv/linux/i386/readelflib.c>.
33062 * sysdeps/unix/sysv/linux/x86_64/dl-cache.h:
33063 Don't include <sysdeps/unix/sysv/linux/sparc/dl-cache.h>.
33064 (add_system_dir): New macro.
33066 * sysdeps/unix/sysv/linux/x86_64/ldconfig.h
33067 (SYSDEP_KNOWN_INTERPRETER_NAMES): Add /libx32/ld-linux-x32.so.2.
33069 2012-03-16 Joseph Myers <joseph@codesourcery.com>
33080 * math/w_j0.c (j0): Don't produce TLOSS errors for POSIX libm.
33082 * math/w_j0f.c (j0f): Likewise.
33084 * math/w_j0l.c (__j0l): Likewise.
33086 * math/w_j1.c (j1): Likewise.
33088 * math/w_j1f.c (j1f): Likewise.
33090 * math/w_j1l.c (__j1l): Likewise.
33092 * math/w_jn.c (jn): Likewise.
33094 * math/w_jnf.c (jnf): Likewise.
33096 * math/w_jnl.c (__jnl): Likewise.
33098 * math/libm-test.inc (j0_test): Add more tests.
33099 (j1_test): Likewise.
33100 (jn_test): Likewise. Add trailing semicolon to existing test.
33101 (y0_test): Likewise.
33102 (y1_test): Likewise.
33103 * sysdeps/i386/fpu/libm-test-ulps: Update.
33104 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
33108 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Use
33109 libc_feholdexcept_setround_53bit and libc_feupdateenv_53bit.
33110 * sysdeps/ieee754/ldbl-96/k_tanl.c: New file.
33111 * sysdeps/ieee754/ldbl-96/s_tanl.c: Include <errno.h>.
33112 (__tanl): Set errno for infinite argument.
33113 * sysdeps/i386/fpu/mptan.c: Remove.
33114 * sysdeps/i386/fpu/s_tan.S: Likewise.
33115 * sysdeps/i386/fpu/s_tanl.S: Likewise.
33116 * sysdeps/x86_64/fpu/k_tanl.c: Likewise.
33117 * sysdeps/x86_64/fpu/s_tanl.S: Likewise.
33118 * math/libm-test.inc (tan_test): Add more tests and enable more
33119 tests for double and long double.
33120 * sysdeps/i386/fpu/libm-test-ulps: Update.
33121 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
33123 2012-03-16 Jan Kratochvil <jan.kratochvil@redhat.com>
33125 * sysdeps/x86_64/elf/start.S: Include <sysdep.h>.
33126 (_start): Add cfi_startproc, cfi_undefined for rip and cfi_endproc.
33128 2012-03-16 Roland McGrath <roland@hack.frob.com>
33130 * aclocal.m4 (LIBC_PRECONFIGURE): New macro.
33131 * configure.in: Use it for both main tree and add-ons.
33132 * configure: Regenerated.
33134 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
33136 * time/offtime.c (__offtime): Use time_t on days, rem, y and yg.
33138 2012-03-16 Joseph Myers <joseph@codesourcery.com>
33140 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Include generator program
33144 * sysdeps/ieee754/ldbl-96/e_rem_pio2l.c: New file.
33145 * sysdeps/ieee754/ldbl-96/k_cosl.c: Likewise.
33146 * sysdeps/ieee754/ldbl-96/k_sinl.c: Likewise.
33147 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Likewise.
33148 * sysdeps/ieee754/ldbl-96/s_cosl.c (__cosl): Correct test for
33150 * sysdeps/ieee754/ldbl-96/s_sinl.c (__sinl): Likewise.
33151 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Handle __FLT_EVAL_METHOD__
33152 != 0 for prec == 2.
33153 * sysdeps/i386/fpu/e_rem_pio2l.c: Remove.
33154 * sysdeps/i386/fpu/k_rem_pio2.c: Likewise.
33155 * sysdeps/i386/fpu/s_cosl.S: Likewise.
33156 * sysdeps/i386/fpu/s_sincosl.S: Likewise.
33157 * sysdeps/i386/fpu/s_sinl.S: Likewise.
33158 * sysdeps/x86_64/fpu/e_rem_pio2l.c: Likewise.
33159 * sysdeps/x86_64/fpu/k_cosl.c: Likewise.
33160 * sysdeps/x86_64/fpu/k_sinl.c: Likewise.
33161 * sysdeps/x86_64/fpu/s_cosl.S: Likewise.
33162 * sysdeps/x86_64/fpu/s_sincosl.S: Likewise.
33163 * sysdeps/x86_64/fpu/s_sinl.S: Likewise.
33164 * math/libm-test.inc (cos_test): Add more tests and enable more
33165 tests for long double.
33166 (sin_test): Likewise.
33167 (sincos_test): Likewise.
33168 * sysdeps/i386/fpu/libm-test-ulps: Update.
33169 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
33171 2012-03-16 David S. Miller <davem@davemloft.net>
33173 * sysdeps/sparc/fpu/math_private.h: New file.
33175 2012-03-15 David S. Miller <davem@davemloft.net>
33177 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma-vis3.S: New
33179 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c: New file.
33180 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf-vis3.S: New
33182 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf.c: New file.
33183 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma-vis3.S: New file.
33184 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma.c: New file.
33185 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf-vis3.S: New file.
33186 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf.c: New file.
33187 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add fma/fmaf
33189 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
33191 * sysdeps/sparc/sparc32/fpu/s_fma.c: New file.
33192 * sysdeps/sparc/sparc64/fpu/s_fma.c: New file.
33194 * sysdeps/sparc/sparc-ifunc.h: New file.
33195 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Use
33197 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
33198 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S:
33200 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S:
33202 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Likewise.
33203 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: Likewise.
33204 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
33205 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
33207 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
33208 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: Likewise.
33209 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
33210 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: Likewise.
33211 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S:
33213 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S:
33215 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
33216 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: Likewise.
33217 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: Likewise.
33218 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: Likewise.
33219 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
33220 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
33221 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: Likewise.
33222 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: Likewise.
33223 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
33224 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
33225 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: Likewise.
33226 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: Likewise.
33227 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: Likewise.
33228 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: Likewise.
33229 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: Likewise.
33230 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: Likewise.
33231 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: Likewise.
33232 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: Likewise.
33233 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: Likewise.
33234 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: Likewise.
33235 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: Likewise.
33236 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: Likewise.
33237 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: Likewise.
33238 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: Likewise.
33240 2012-03-15 Andreas Schwab <schwab@linux-m68k.org>
33242 * sysdeps/powerpc/fpu/e_hypotf.c: Use double precision instead of
33244 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
33246 2012-03-15 Andreas Jaeger <aj@suse.de>
33249 * sysdeps/i386/fpu/e_rem_pio2f.c: Delete so that i386 uses the
33250 ieee754/flt-32 implementation for sin, cos and sincos.
33251 * sysdeps/i386/fpu/k_rem_pio2f.c: Likewise.
33252 * sysdeps/i386/fpu/s_cosf.S: Likewise.
33253 * sysdeps/i386/fpu/s_sincosf.S: Likewise.
33254 * sysdeps/i386/fpu/s_sinf.S: Likewise.
33255 * sysdeps/i386/fpu/s_tanf.S: Delete so that i386 uses the
33256 ieee754/flt-32 implementation for tan.
33258 * math/libm-test.inc (cos_test): Enable some large input tests for
33260 (sin_test): Likewise.
33261 (sincos_test): Likewise.
33262 (tan_test): Add tests for large input.
33264 * sysdeps/i386/fpu/libm-test-ulps: Update.
33266 2012-03-15 Andreas Jaeger <aj@suse.de>
33269 * math/libm-test.inc (cos_test): Add more test cases.
33270 (sin_test): Likewise.
33271 (sincos_test): Likewise.
33273 2012-03-15 Andreas Jaeger <aj@suse.de>
33276 * math/libm-test.inc (cos_test): Add a test case for large input
33278 (sin_test): Likewise.
33279 (sincos_test): Likewise.
33281 2012-03-15 Andreas Jaeger <aj@suse.de>
33282 Joseph Myers <joseph@codesourcery.com>
33285 * sysdeps/x86_64/fpu/s_sincos.S: Delete files so that
33286 x86-64 and i386 use the iee754/dbl-64 sin and cos implementation.
33287 * sysdeps/i386/fpu/branred.c: Likewise.
33288 * sysdeps/i386/fpu/dosincos.c: Likewise.
33289 * sysdeps/i386/fpu/mpa.c: Likewise.
33290 * sysdeps/i386/fpu/s_cos.S: Likewise.
33291 * sysdeps/i386/fpu/s_sin.S: Likewise.
33292 * sysdeps/i386/fpu/s_sincos.S: Likewise.
33293 * sysdeps/i386/fpu/sincos32.c: Likewise.
33295 * sysdeps/generic/math_private.h (libc_feholdexcept_setround_53bit):
33297 (libc_feupdateenv_53bit): Define.
33298 * sysdeps/i386/fpu/math_private.h (libc_feholdexcept_setround_53bit):
33300 (libc_feupdateenv_53bit): Define.
33302 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Do double arithmetic in
33303 53 bit (without extend i386 double precision).
33305 * math/libm-test.inc (sincos_test): Add tests for large input.
33309 * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
33311 2012-03-15 Andreas Schwab <schwab@linux-m68k.org>
33313 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
33315 2012-03-15 David S. Miller <davem@davemloft.net>
33317 * sysdeps/sparc/sparc64/fpu/s_fmax.S: New file.
33318 * sysdeps/sparc/sparc64/fpu/s_fmaxf.S: New file.
33319 * sysdeps/sparc/sparc64/fpu/s_fmin.S: New file.
33320 * sysdeps/sparc/sparc64/fpu/s_fminf.S: New file.
33321 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: New file.
33322 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmaxf.S: New file.
33323 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: New file.
33324 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fminf.S: New file.
33325 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: New file.
33326 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf-vis3.S: New file.
33327 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: New file.
33328 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin-vis3.S: New file.
33329 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: New file.
33330 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf-vis3.S: New file.
33331 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: New file.
33332 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax-vis3.S: New
33334 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: New file.
33335 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf-vis3.S: New
33337 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: New file.
33338 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin-vis3.S: New
33340 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: New file.
33341 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf-vis3.S: New
33343 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: New file.
33344 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new vis3
33345 fmin/fmax sysdep routines.
33346 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
33348 2012-03-14 David S. Miller <davem@davemloft.net>
33350 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: New file.
33351 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: New file.
33352 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: New file.
33353 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: New file.
33354 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite-vis3.S: New file.
33355 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: New file.
33356 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef-vis3.S: New file.
33357 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: New file.
33358 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: New file.
33359 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: New file.
33360 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: New file.
33361 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: New file.
33362 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf-vis3.S: New file.
33363 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: New file.
33364 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff-vis3.S: New file.
33365 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: New file.
33366 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan-vis3.S: New file.
33367 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: New file.
33368 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf-vis3.S: New file.
33369 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: New file.
33370 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint-vis3.S: New file.
33371 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: New file.
33372 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf-vis3.S: New file.
33373 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: New file.
33374 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint-vis3.S: New file.
33375 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: New file.
33376 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf-vis3.S: New file.
33377 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: New file.
33378 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new VIS3
33380 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: New
33382 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: New file.
33383 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S: New
33385 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: New file.
33386 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs-vis3.S: New
33388 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: New file.
33389 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf-vis3.S: New
33391 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: New file.
33392 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: New
33394 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: New file.
33395 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S: New
33397 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S: New
33399 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint-vis3.S: New
33401 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: New
33403 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf-vis3.S:
33405 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S: New
33407 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint-vis3.S: New
33409 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: New file.
33410 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf-vis3.S: New
33412 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: New file.
33413 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt-vis3.S: New
33415 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: New file.
33416 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf-vis3.S: New
33418 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: New file.
33419 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new
33422 * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
33425 * sysdeps/sparc/fpu/libm-test-ulps: Update.
33427 * sysdeps/sparc/configure.in: New file.
33428 * sysdeps/sparc/configure: Generate.
33429 * configure.in (libc_cv_sparc_as_vis3): Substitute.
33430 * configure: Regenerate.
33431 * config.h.in (HAVE_AS_VIS3_SUPPORT): New.
33432 * config.make.in (have-as-vis3): New.
33433 * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-*): If VIS3 is
33434 available use -Av9d instead of -Av9a.
33435 * sysdeps/sparc/sparc64/Makefile: Likewise.
33436 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: New file.
33437 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign-vis3.S:
33439 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S: New
33441 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf-vis3.S:
33443 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S: New
33445 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: New file.
33446 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit-vis3.S: New file.
33447 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: New file.
33448 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf-vis3.S: New file.
33449 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: New file.
33451 * sysdeps/sparc/sparc64/fpu/s_copysign.S (__copysign): Use
33452 fzeros/fnegs to load 0x80000000 into a float register instead of
33454 * sysdeps/sparc/sparc64/fpu/s_copysignf.S (__copysignf): Likewise.
33456 2012-03-14 Joseph Myers <joseph@codesourcery.com>
33458 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
33460 ($(objpfx)syscall-%.h): Rename rule to $(objpfx)bits/syscall%h.
33461 ($(objpfx)syscall-%.d): Rename rule to $(objpfx)bits/syscall%d.
33462 ($(inst_includedir)/bits/syscall.h): Remove rule.
33463 ($(objpfx)bits/syscall.d): Include instead of
33464 $(objpfx)syscall-list.d.
33465 (generated): Change syscall-list.h and syscall-list.d to
33466 bits/syscall.h and bits/syscall.d.
33468 2012-03-14 Roland McGrath <roland@hack.frob.com>
33471 * manual/llio.texi (Memory-mapped I/O): Fix wrong function name.
33473 2012-03-14 Joseph Myers <joseph@codesourcery.com>
33476 * math/s_csqrt.c: Include <float.h>.
33477 (__csqrt): Scale large or subnormal inputs.
33478 * math/s_csqrtf.c: Likewise.
33479 * math/s_csqrtl.c: Likewise.
33480 * math/libm-test.inc (csqrt_test): Add more tests.
33481 * sysdeps/i386/fpu/libm-test-ulps: Update.
33482 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
33485 * math/libm-test.inc (hypot_test): Add more tests.
33487 2012-03-13 David S. Miller <davem@davemloft.net>
33490 * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Rewrite to use
33491 double-precision for the calculation instead of scaling.
33493 2012-03-13 Joseph Myers <joseph@codesourcery.com>
33495 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Do not
33496 manipulate bits before adding and subtracting TWO52[sx].
33497 * sysdeps/ieee754/dbl-64/s_rint.c (__rint): Likewise.
33498 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c (__nearbyint):
33500 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c (__rint): Likewise.
33502 2012-03-13 David S. Miller <davem@davemloft.net>
33504 * sysdeps/sparc/Makefile: Remove rtld-global-offsets.sym handling.
33505 * sysdeps/sparc/elf/rtld-global-offsets.sym: Delete.
33506 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Don't include
33507 rtld-global-offsets.h
33508 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
33510 * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Use expl for
33513 * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c: New file.
33515 * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Declare syscall
33516 'err' in the ifdef scope in which it is actually used.
33518 * nss/nss_db/db-init.c: Include string.h
33520 2012-03-12 David S. Miller <davem@davemloft.net>
33522 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
33523 masking out of the most significant byte of random value used.
33524 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
33525 Fix coding style in previous change.
33527 * sysdeps/unix/sysv/linux/kernel-features.h
33528 (__ASSUME_CLONE_THREAD_FLAGS): Set on sparc when 2.5.64 and later.
33529 (__ASSUME_TGKILL): Set on sparc when 2.6.1 and later, simplify
33531 (__ASSUME_FADVISE64_64_SYSCALL): Set on sparc when 2.6.1 and
33534 2012-03-11 David S. Miller <davem@davemloft.net>
33536 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
33537 (__makecontext): Fix signedness of pointer casts setting up 'sp'.
33538 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL) Use 'long'
33539 for 'resultvar' otherwise things get truncated on 64-bit.
33541 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
33542 Fix masking out of the most significant byte of random value used.
33544 * sysdeps/sparc/fpu/libm-test-ulps: Update.
33546 2012-03-10 Andreas Schwab <schwab@linux-m68k.org>
33548 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
33550 2012-03-09 David S. Miller <davem@davemloft.net>
33552 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Protect local
33553 variables with appropriate CPP guards.
33554 * sysdeps/sparc/sparc32/dl-trampoline.S: Propagate the stack_ptr
33555 from the frame pointer, not the stack pointer. Correct layout
33556 comments. Fix test on resulting framesize and the management of
33557 the outregs buffer for pltexit. Preserve floating point return
33558 values across _dl_call_pltexit call.
33559 * sysdeps/sparc/sparc64/dl-trampoline.S: Fix test on resulting
33560 framesize and the management of the outregs buffer for pltexit.
33561 Preserve floating point return values across _dl_call_pltexit
33563 * elf/sotruss-lib.c (la_sparc32_gnu_pltenter)
33564 (la_sparc64_gnu_pltenter, la_sparc32_gnu_pltexit)
33565 (la_sparc64_gnu_pltexit): New functions.
33566 (print_exit): Fix format string for return register value.
33568 2012-03-10 Joseph Myers <joseph@codesourcery.com>
33570 * sunrpc/Makefile (others): Add rpcgen.
33571 ($(objpfx)rpcgen): Remove special build rule and dependency on
33573 * sunrpc/rpcgen.c: New file.
33575 2012-03-09 Paul Eggert <eggert@cs.ucla.edu>
33578 * posix/bug-regex33.c: Replace FSF snail mail address with URL.
33579 * stdio-common/bug-vfprintf-nargs.c: Likewise.
33580 * sysdeps/i386/crti.S: Likewise.
33581 * sysdeps/i386/crtn.S: Likewise.
33582 * sysdeps/powerpc/powerpc32/crti.S: Likewise.
33583 * sysdeps/powerpc/powerpc32/crtn.S: Likewise.
33584 * sysdeps/powerpc/powerpc64/crti.S: Likewise.
33585 * sysdeps/powerpc/powerpc64/crtn.S: Likewise.
33586 * sysdeps/sh/crti.S: Likewise.
33587 * sysdeps/sh/crtn.S: Likewise.
33588 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
33591 * locale/programs/charmap-kw.gperf: Replace FSF snail mail address
33593 * locale/programs/locfile-kw.gperf: Likewise.
33594 * locale/programs/charmap-kw.h: Regenerated.
33595 * locale/programs/locfile-kw.h: Likewise.
33598 * intl/plural.y: Replace FSF snail mail address with URL.
33599 * intl/plural.c: Regenerated.
33601 2012-03-09 Richard Henderson <rth@twiddle.net>
33603 * include/math_private.h: Remove file.
33604 * math/math_private.h: Move file ...
33605 * sysdeps/generic/math_private.h: ... here.
33607 * sysdeps/i386/fpu/math_private.h: Use include_next for math_private.h.
33608 * sysdeps/powerpc/fpu/math_private.h: Likewise.
33609 * sysdeps/x86_64/fpu/math_private.h: Likewise.
33611 * sysdeps/i386/fpu/s_fpclassifyl.c: Use <> to include both <math.h>
33612 and <math_private.h>.
33613 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
33614 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
33615 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
33616 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
33617 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
33618 * sysdeps/ieee754/dbl-64/branred.c: Likewise.
33619 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
33620 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
33621 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
33622 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
33623 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
33624 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
33625 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
33626 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
33627 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
33628 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
33629 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
33630 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
33631 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
33632 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
33633 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
33634 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
33635 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
33636 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
33637 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
33638 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
33639 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
33640 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
33641 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
33642 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
33643 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
33644 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
33645 * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
33646 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
33647 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
33648 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
33649 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
33650 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
33651 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
33652 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
33653 * sysdeps/ieee754/dbl-64/s_fpclassify.c: Likewise.
33654 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
33655 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
33656 * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
33657 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
33658 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
33659 * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
33660 * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
33661 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
33662 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
33663 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
33664 * sysdeps/ieee754/dbl-64/s_lround.c: Likewise.
33665 * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
33666 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
33667 * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
33668 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
33669 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
33670 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
33671 * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
33672 * sysdeps/ieee754/dbl-64/s_signbit.c: Likewise.
33673 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
33674 * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
33675 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
33676 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
33677 * sysdeps/ieee754/dbl-64/s_trunc.c: Likewise.
33678 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
33679 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
33680 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
33681 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: Likewise.
33682 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: Likewise.
33683 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
33684 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
33685 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
33686 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
33687 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: Likewise.
33688 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Likewise.
33689 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: Likewise.
33690 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
33691 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: Likewise.
33692 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Likewise.
33693 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
33694 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Likewise.
33695 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
33696 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
33697 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
33698 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
33699 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: Likewise.
33700 * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Likewise.
33701 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
33702 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
33703 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
33704 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
33705 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
33706 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
33707 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
33708 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
33709 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
33710 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
33711 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
33712 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
33713 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
33714 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
33715 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
33716 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
33717 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
33718 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
33719 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
33720 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
33721 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
33722 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
33723 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
33724 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
33725 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
33726 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
33727 * sysdeps/ieee754/flt-32/s_cbrtf.c: Likewise.
33728 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
33729 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
33730 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
33731 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
33732 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
33733 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
33734 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
33735 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
33736 * sysdeps/ieee754/flt-32/s_fpclassifyf.c: Likewise.
33737 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
33738 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
33739 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
33740 * sysdeps/ieee754/flt-32/s_isinff.c: Likewise.
33741 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
33742 * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
33743 * sysdeps/ieee754/flt-32/s_llroundf.c: Likewise.
33744 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
33745 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
33746 * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
33747 * sysdeps/ieee754/flt-32/s_lroundf.c: Likewise.
33748 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
33749 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
33750 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
33751 * sysdeps/ieee754/flt-32/s_remquof.c: Likewise.
33752 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
33753 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
33754 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
33755 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
33756 * sysdeps/ieee754/flt-32/s_signbitf.c: Likewise.
33757 * sysdeps/ieee754/flt-32/s_sincosf.c: Likewise.
33758 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
33759 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
33760 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
33761 * sysdeps/ieee754/flt-32/s_truncf.c: Likewise.
33762 * sysdeps/ieee754/k_standard.c: Likewise.
33763 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
33764 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
33765 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
33766 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
33767 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
33768 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
33769 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
33770 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
33771 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
33772 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
33773 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
33774 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
33775 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
33776 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
33777 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
33778 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
33779 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
33780 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
33781 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
33782 * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
33783 * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
33784 * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
33785 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
33786 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
33787 * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
33788 * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
33789 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
33790 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
33791 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
33792 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
33793 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
33794 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
33795 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
33796 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
33797 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
33798 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
33799 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
33800 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: Likewise.
33801 * sysdeps/ieee754/ldbl-128/s_isinfl.c: Likewise.
33802 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
33803 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
33804 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
33805 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
33806 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
33807 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
33808 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
33809 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
33810 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
33811 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
33812 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
33813 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
33814 * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
33815 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
33816 * sysdeps/ieee754/ldbl-128/s_roundl.c: Likewise.
33817 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
33818 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
33819 * sysdeps/ieee754/ldbl-128/s_signbitl.c: Likewise.
33820 * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
33821 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
33822 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
33823 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
33824 * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
33825 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
33826 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
33827 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
33828 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
33829 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
33830 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
33831 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
33832 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
33833 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
33834 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
33835 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
33836 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
33837 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
33838 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
33839 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Likewise.
33840 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
33841 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
33842 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
33843 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
33844 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
33845 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
33846 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
33847 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Likewise.
33848 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
33849 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
33850 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
33851 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
33852 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
33853 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c: Likewise.
33854 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
33855 * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
33856 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
33857 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
33858 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
33859 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: Likewise.
33860 * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
33861 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
33862 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c: Likewise.
33863 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
33864 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
33865 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
33866 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
33867 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c: Likewise.
33868 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
33869 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
33870 * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
33871 * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Likewise.
33872 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
33873 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
33874 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
33875 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
33876 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
33877 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
33878 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
33879 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
33880 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
33881 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
33882 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
33883 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
33884 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
33885 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
33886 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
33887 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
33888 * sysdeps/ieee754/ldbl-96/s_cbrtl.c: Likewise.
33889 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
33890 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
33891 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
33892 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
33893 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
33894 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
33895 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
33896 * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
33897 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
33898 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
33899 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: Likewise.
33900 * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
33901 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
33902 * sysdeps/ieee754/ldbl-96/s_llrintl.c: Likewise.
33903 * sysdeps/ieee754/ldbl-96/s_llroundl.c: Likewise.
33904 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
33905 * sysdeps/ieee754/ldbl-96/s_lrintl.c: Likewise.
33906 * sysdeps/ieee754/ldbl-96/s_lroundl.c: Likewise.
33907 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
33908 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
33909 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
33910 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
33911 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
33912 * sysdeps/ieee754/ldbl-96/s_remquol.c: Likewise.
33913 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
33914 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
33915 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
33916 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
33917 * sysdeps/ieee754/ldbl-96/s_signbitl.c: Likewise.
33918 * sysdeps/ieee754/ldbl-96/s_sincosl.c: Likewise.
33919 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
33920 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
33921 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
33922 * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
33923 * sysdeps/ieee754/s_lib_version.c: Likewise.
33924 * sysdeps/ieee754/s_matherr.c: Likewise.
33925 * sysdeps/ieee754/s_signgam.c: Likewise.
33926 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
33927 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
33928 * sysdeps/powerpc/fpu/e_rem_pio2f.c: Likewise.
33929 * sysdeps/powerpc/fpu/k_cosf.c: Likewise.
33930 * sysdeps/powerpc/fpu/k_rem_pio2f.c: Likewise.
33931 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
33932 * sysdeps/powerpc/fpu/s_cosf.c: Likewise.
33933 * sysdeps/powerpc/fpu/s_float_bitwise.h: Likewise.
33934 * sysdeps/powerpc/fpu/s_isnan.c: Likewise.
33935 * sysdeps/powerpc/fpu/s_rint.c: Likewise.
33936 * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
33937 * sysdeps/powerpc/fpu/s_sinf.c: Likewise.
33938 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
33939 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
33940 * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Likewise.
33941 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
33942 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
33943 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
33944 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
33945 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
33946 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
33948 2012-03-09 Joseph Myers <joseph@codesourcery.com>
33950 * sunrpc/rpc_cout.c: Remove __GNU_LIBRARY__ conditionals.
33951 * sunrpc/rpc_main.c: Likewise.
33952 * sunrpc/rpc_svcout.c: Likewise.
33954 2012-03-09 David S. Miller <davem@davemloft.net>
33956 * include/math_private.h: New file.
33958 2012-03-09 Joseph Myers <joseph@codesourcery.com>
33960 * sysdeps/unix/sysv/linux/bits/socket_type.h: New file.
33961 * sysdeps/unix/sysv/linux/sparc/bits/socket_type.h: Likewise.
33962 * sysdeps/unix/sysv/linux/bits/socket.h: Get enum __socket_type
33963 from <bits/socket_type.h>.
33964 (enum __socket_type): Don't define here.
33965 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Remove.
33966 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
33967 bits/socket_type.h.
33970 * libio/stdio.h (gets): Always declare for C++ up to C++11 without
33971 checking __USE_GNU.
33973 * Makerules ($(inst_includedir)/%.h): New rule.
33974 * stdio-common/Makefile (headers): Add bits/stdio_lim.h.
33975 (install-others): Remove variable setting.
33976 ($(inst_includedir)/bits/stdio_lim.h): Remove rule.
33978 2012-03-08 Richard Henderson <rth@twiddle.net>
33980 * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrt): Convert
33981 from macro to inline function; merge with the
33982 !__LIBC_INTERNAL_MATH_INLINES version.
33983 (__ieee754_sqrtf): Likewise.
33985 * sysdeps/x86_64/fpu/math_private.h (__rint): Convert from macro
33986 to inline function.
33987 (__rintf, __floor, __floorf): Likewise.
33989 * sysdeps/x86_64/fpu/math_private.h (__ieee754_sqrt): Convert from
33990 macro to inline function.
33991 (__ieee754_sqrtf, __ieee754_sqrtl): Likewise.
33993 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Include <math_private.h>,
33994 not <math/math_private.h>.
33996 2012-03-08 David S. Miller <davem@davemloft.net>
33998 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Update
34000 * sysdeps/unix/sysv/linux/sparc/sysdep.h: Likewise.
34002 2012-03-08 Thomas Schwinge <thomas@codesourcery.com>
34004 * resolv/gai_misc.c (handle_requests): Fix struct timespec
34006 * rt/tst-cpuclock2.c (test_nanosleep): Likewise.
34007 * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
34009 2012-03-08 Ulrich Drepper <drepper@gmail.com>
34011 * stdio-common/tst-fphex.c: Various cleanups. The macros cannot
34012 be defined individually, they must be defined as a block. Define
34013 S for printing a string instead of hidint the different by using a
34014 macro for adding the 'l'.
34015 * stdio-common/tst-fphex-wide.c: Adjust.
34017 2012-03-07 Marek Polacek <polacek@redhat.com>
34019 * stdio-common/tst-long-dbl-fphex.c: Fix test for non ldbl-96 targets.
34021 2012-03-08 Marek Polacek <polacek@redhat.com>
34024 * stdio-common/Makefile (tests): Add tst-fphex-wide.
34025 * stdio-common/tst-fphex.c: Define a few macros to make the
34026 test reusable. Use them.
34027 * stdio-common/tst-fphex-wide.c: New file.
34029 2012-03-08 Joseph Myers <joseph@codesourcery.com>
34032 * manual/macros.texi (gnusystems): New macro.
34033 (nongnusystems): Likewise.
34034 (gnulinuxhurdsystems): Likewise.
34035 (gnuhurdsystems): Likewise..
34036 (gnulinuxsystems): Likewise.
34037 * manual/charset.texi: Use new macros or @theglibc{} to refer to
34038 variants of the GNU system, not "GNU system".
34039 * manual/conf.texi: Likewise.
34040 * manual/errno.texi: Likewise. Update example of errno macro
34042 * manual/filesys.texi: Likewise.
34043 (getumask): Document as specific to GNU/Hurd.
34044 * manual/install.texi: Likewise. Reword some references to
34046 * manual/intro.texi: Likewise.
34047 * manual/io.texi: Likewise.
34048 (File Name Portability): Detail which constraints are inapplicable
34049 to all GNU systems and which are only inapplicable to GNU/Hurd.
34050 * manual/job.texi: Likewise.
34051 * manual/llio.texi: Likewise.
34052 (O_NOCTTY): Document as present on GNU/Linux.
34053 * manual/maint.texi: Likewise.
34054 * manual/memory.texi: Likewise.
34055 * manual/pattern.texi: Likewise.
34056 * manual/pipe.texi: Likewise.
34057 * manual/process.texi: Likewise.
34058 * manual/resource.texi: Likewise.
34059 (RUSAGE_CHILDREN): Remove statement about specifying a particular
34061 * manual/setjmp.texi: Likewise.
34062 * manual/signal.texi: Likewise.
34063 * manual/startup.texi: Likewise.
34064 * manual/stdio.texi: Likewise.
34065 * manual/terminal.texi: Likewise.
34066 (ONLCR): Document as POSIX.
34067 (OXTABS): Document availability on GNU/Linux as XTABS.
34068 (ONOEOT): Document availability separately from other bits.
34069 (VLNEXT, VDISCARD, VSTATUS): Document availability individually.
34070 * manual/time.texi: Likewise.
34071 * manual/users.texi: Likewise.
34072 * INSTALL: Regenerated.
34073 * sysdeps/gnu/errlist.c: Regenerated.
34075 * aclocal.m4 (LIBC_TRY_LINK_STATIC): New macro.
34076 * configure.in (libc_cv_preinit_array): Use LIBC_TRY_LINK_STATIC.
34077 (libc_cv_ctors_header): Likewise. Use asm ("") instead of calling
34079 * configure: Regenerated.
34081 2012-03-07 Joseph Myers <joseph@codesourcery.com>
34083 * sysdeps/i386/configure.in (cpuid.h): Use AC_CHECK_HEADER with no
34084 default includes instead of AC_HEADER_CHECK.
34085 * sysdeps/i386/configure: Regenerated.
34088 * math/s_cacosh.c (__cacosh): Convert negative log results to 0.
34089 * math/s_cacoshf.c (__cacoshf): Likewise.
34090 * math/s_cacoshl.c (__cacoshl): Likewise.
34091 * math/s_casinh.c (__casinh): Set signs of result from argument.
34092 * math/s_casinhf.c (__casinhf): Likewise.
34093 * math/s_casinhl.c (__casinhl): Likewise.
34094 * math/libm-test.inc (cacos_test, cacosh_test, casin_test)
34095 (casinh_test): Add more tests.
34096 * sysdeps/i386/fpu/libm-test-ulps: Update.
34097 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
34099 2012-03-07 Ulrich Drepper <drepper@gmail.com>
34101 * po/zh_TW.po: Update from translation team.
34103 * login/Makefile (distribute): Remove variable.
34104 * catgets/Makefile: Likewise.
34105 * mach/Makefile: Likewise.
34106 * malloc/Makefile: Likewise.
34107 * misc/Makefile: Likewise.
34108 * iconv/Makefile: Likewise.
34109 * nscd/Makefile: Likewise.
34110 * hurd/Makefile: Likewise.
34111 * manual/Makefile: Likewise.
34112 * locale/Makefile: Likewise.
34113 * intl/Makefile: Likewise.
34114 * conform/Makefile: Likewise.
34115 * nss/Makefile: Likewise.
34116 * time/Makefile: Likewise.
34117 * soft-fp/Makefile: Likewise.
34118 * dirent/Makefile: Likewise.
34119 * gmon/Makefile: Likewise.
34120 * po/Makefile: Likewise.
34121 * rt/Makefile: Likewise.
34122 * socket/Makefile: Likewise.
34123 * math/Makefile: Likewise.
34124 * signal/Makefile: Likewise.
34125 * debug/Makefile: Likewise.
34126 * elf/Makefile: Likewise.
34127 * timezone/Makefile: Likewise.
34128 * stdlib/Makefile: Likewise.
34129 * iconvdata/Makefile: Likewise.
34130 * sunrpc/Makefile: Likewise.
34131 * io/Makefile: Likewise.
34132 * argp/Makefile: Likewise.
34133 * inet/Makefile: Likewise.
34134 * hesiod/Makefile: Likewise.
34135 * grp/Makefile: Likewise.
34136 * csu/Makefile: Likewise.
34137 * wctype/Makefile: Likewise.
34138 * crypt/Makefile: Likewise.
34139 * libio/Makefile: Likewise.
34140 * string/Makefile: Likewise.
34141 * nis/Makefile: Likewise.
34142 * resolv/Makefile: Likewise.
34143 * stdio-common/Makefile: Likewise.
34144 * wcsmbs/Makefile: Likewise.
34145 * dlfcn/Makefile: Likewise.
34146 * posix/Makefile: Likewise.
34149 * timezone/Makefile: Don't install timezone files, just the programs
34152 2012-03-06 Ulrich Drepper <drepper@gmail.com>
34154 * nss/databases.def: Add missing gshadow entry.
34156 * stdio-common/vfprintf.c: Fix formatting. Missing copyright update.
34158 2012-03-06 Marek Polacek <polacek@redhat.com>
34161 * sysdeps/ieee754/ldbl-96/printf_fphex.c: Adjust position of wnumstr.
34162 * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
34163 * stdio-common/Makefile (tests): Add tst-long-dbl-fphex.
34164 * stdio-common/tst-long-dbl-fphex.c: New file.
34166 2012-03-06 David S. Miller <davem@davemloft.net>
34168 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
34169 (set_obp_int): New function.
34170 (get_obp_int): New function.
34171 (__get_clockfreq_via_dev_openprom): Likewise.
34172 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INTERNAL_SYSCALL_ERROR_P):
34173 Avoid unused variable warnings on 'val' and use builtin_expect.
34174 (INLINE_SYSCALL): Don't wrap INTERNAL_SYSCALL_ERROR_P with
34176 (INLINE_CLONE_SYSCALL): Likewise.
34178 2012-03-05 David S. Miller <davem@davemloft.net>
34180 * sysdeps/sparc/fpu/libm-test-ulps: Update.
34182 2012-03-05 Andreas Schwab <schwab@linux-m68k.org>
34184 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
34186 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Drop exp(-x) term
34187 only for |x| >= 40.
34188 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
34190 2012-03-05 H.J. Lu <hongjiu.lu@intel.com>
34192 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c (gettimeofday_ifunc):
34193 Replace gettimeofday with __vdso_gettimeofday.
34195 * sysdeps/unix/sysv/linux/x86_64/init-first.c
34196 (_libc_vdso_platform_setup): Replace clock_gettime and getcpu with
34197 __vdso_clock_gettime and __vdso_getcpu.
34199 * sysdeps/unix/sysv/linux/x86_64/time.c (time_ifunc): Replace
34200 time with __vdso_time.
34202 2012-03-05 Joseph Myers <joseph@codesourcery.com>
34204 * manual/lang.texi (size_t): Note types to which size_t may be
34205 equivalent with the GNU C Library, but do not describe when
34206 differences between them are significant.
34208 2012-03-05 Andreas Jaeger <aj@suse.de>
34210 * sysdeps/i386/fpu/libm-test-ulps: Update.
34212 2012-03-05 Joseph Myers <joseph@codesourcery.com>
34215 * sysdeps/ieee754/dbl-64/e_pow.c: Include <fenv.h>.
34216 (__ieee754_pow): Save and restore rounding mode and use
34217 round-to-nearest for main computations.
34218 * math/libm-test.inc (pow_test_tonearest): New function.
34219 (pow_test_towardzero): Likewise.
34220 (pow_test_downward): Likewise.
34221 (pow_test_upward): Likewise.
34222 (main): Call the new functions.
34223 * sysdeps/i386/fpu/libm-test-ulps: Update.
34224 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
34227 * math/libm-test.inc (cosh_test_tonearest): New function.
34228 (cosh_test_towardzero): Likewise.
34229 (cosh_test_downward): Likewise.
34230 (cosh_test_upward): Likewise.
34231 (sinh_test_tonearest): Likewise.
34232 (sinh_test_towardzero): Likewise.
34233 (sinh_test_downward): Likewise.
34234 (sinh_test_upward): Likewise.
34235 (main): Call the new functions.
34236 * sysdeps/i386/fpu/libm-test-ulps: Update.
34237 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
34239 2012-03-05 Tom de Vries <tom@codesourcery.com>
34241 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Ensure
34242 default stack guard is set in last bytes.
34243 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Same.
34245 2012-03-05 Kees Cook <keescook@chromium.org>
34247 * stdio-common/vfprintf.c (vfprintf): add missing errno settings.
34250 * stdio-common/vfprintf.c (vfprintf): Check for nargs overflow and
34251 possibly allocate from heap instead of stack.
34252 * stdio-common/bug-vfprintf-nargs.c: New file.
34253 * stdio-common/Makefile (tests): Add nargs overflow test.
34255 2012-03-03 Andreas Schwab <schwab@linux-m68k.org>
34257 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
34259 2012-03-03 Marek Polacek <polacek@redhat.com>
34261 * include/sys/cdefs.h: Remove __GNUC_PREREQ macro.
34262 * math/math_private.h: Likewise.
34263 * stdlib/tst-strtod.c: Likewise.
34264 * sysdeps/i386/i486/bits/atomic.h: Likewise.
34265 * sysdeps/x86_64/bits/atomic.h: Likewise.
34267 2012-03-02 David S. Miller <davem@davemloft.net>
34269 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: New file.
34270 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrintf.S: New file.
34271 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: New file.
34272 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrintf.S: New file.
34273 * sysdeps/sparc/sparc64/fpu/s_llrint.S: New file.
34274 * sysdeps/sparc/sparc64/fpu/s_llrintf.S: New file.
34275 * sysdeps/sparc/sparc64/fpu/s_lrint.S: New file.
34276 * sysdeps/sparc/sparc64/fpu/s_lrintf.S: New file.
34278 2012-03-02 Roland McGrath <roland@hack.frob.com>
34281 * manual/examples/README: New file, says the example source files
34282 can be used under GPL>=2.
34283 * manual/Makefile (%.c.texi): Eat the leading part of the file until a
34284 line containing just "*/".
34285 * manual/examples/add.c: Add copyright header (GPL>=2).
34286 * manual/examples/argp-ex1.c: Likewise.
34287 * manual/examples/argp-ex2.c: Likewise.
34288 * manual/examples/argp-ex3.c: Likewise.
34289 * manual/examples/argp-ex4.c: Likewise.
34290 * manual/examples/atexit.c: Likewise.
34291 * manual/examples/db.c: Likewise.
34292 * manual/examples/dir.c: Likewise.
34293 * manual/examples/dir2.c: Likewise.
34294 * manual/examples/execinfo.c: Likewise.
34295 * manual/examples/filecli.c: Likewise.
34296 * manual/examples/filesrv.c: Likewise.
34297 * manual/examples/fmtmsgexpl.c: Likewise.
34298 * manual/examples/genpass.c: Likewise.
34299 * manual/examples/inetcli.c: Likewise.
34300 * manual/examples/inetsrv.c: Likewise.
34301 * manual/examples/isockad.c: Likewise.
34302 * manual/examples/longopt.c: Likewise.
34303 * manual/examples/memopen.c: Likewise.
34304 * manual/examples/memstrm.c: Likewise.
34305 * manual/examples/mkfsock.c: Likewise.
34306 * manual/examples/mkisock.c: Likewise.
34307 * manual/examples/mygetpass.c: Likewise.
34308 * manual/examples/pipe.c: Likewise.
34309 * manual/examples/popen.c: Likewise.
34310 * manual/examples/rprintf.c: Likewise.
34311 * manual/examples/search.c: Likewise.
34312 * manual/examples/select.c: Likewise.
34313 * manual/examples/setjmp.c: Likewise.
34314 * manual/examples/sigh1.c: Likewise.
34315 * manual/examples/sigusr.c: Likewise.
34316 * manual/examples/stpcpy.c: Likewise.
34317 * manual/examples/strdupa.c: Likewise.
34318 * manual/examples/strftim.c: Likewise.
34319 * manual/examples/strncat.c: Likewise.
34320 * manual/examples/subopt.c: Likewise.
34321 * manual/examples/swapcontext.c: Likewise.
34322 * manual/examples/termios.c: Likewise.
34323 * manual/examples/testopt.c: Likewise.
34324 * manual/examples/testpass.c: Likewise.
34325 * manual/examples/timeval_subtract.c: Likewise.
34328 * manual/time.texi (Elapsed Time): Move timeval_subtract example
34330 * manual/timeval_subtract.c.texi: ... here, new file.
34332 2012-03-02 David S. Miller <davem@davemloft.net>
34334 * sysdeps/sparc/fpu/libm-test-ulps: Update for recently added tests.
34336 2012-03-02 Joseph Myers <joseph@codesourcery.com>
34339 * sysdeps/ieee754/dbl-64/s_sin.c: Include <fenv.h>
34340 (__sin): Save and restore rounding mode and use round-to-nearest
34341 for all computations.
34342 (__cos): Save and restore rounding mode and use round-to-nearest
34343 for all computations.
34344 * sysdeps/ieee754/dbl-64/s_tan.c: Include "math_private.h" and
34346 (tan): Save and restore rounding mode and use round-to-nearest for
34348 * math/libm-test.inc (cos_test_tonearest): New function.
34349 (cos_test_towardzero): Likewise.
34350 (cos_test_downward): Likewise.
34351 (cos_test_upward): Likewise.
34352 (sin_test_tonearest): Likewise.
34353 (sin_test_towardzero): Likewise.
34354 (sin_test_downward): Likewise.
34355 (sin_test_upward): Likewise.
34356 (tan_test_tonearest): Likewise.
34357 (tan_test_towardzero): Likewise.
34358 (tan_test_downward): Likewise.
34359 (tan_test_upward): Likewise.
34360 (main): Call the new functions.
34361 * sysdeps/i386/fpu/libm-test-ulps: Update.
34362 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
34365 * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): First test for
34366 small n, then large n, before computing and testing k+n.
34367 * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
34368 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c (__scalbln):
34370 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (__scalbn):
34372 * sysdeps/ieee754/flt-32/s_scalblnf.c (__scalblnf): Likewise.
34373 * sysdeps/ieee754/flt-32/s_scalbnf.c (__scalbnf): Likewise.
34374 * sysdeps/ieee754/ldbl-128/s_scalblnl.c (__scalblnl): Likewise.
34375 * sysdeps/ieee754/ldbl-128/s_scalbnl.c (__scalbnl): Likewise.
34376 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
34377 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
34378 * sysdeps/ieee754/ldbl-96/s_scalblnl.c (__scalblnl): Likewise.
34379 * sysdeps/ieee754/ldbl-96/s_scalbnl.c (__scalbnl): Likewise.
34380 * math/libm-test.inc (scalbn_test): Add more tests.
34381 (scalbln_test): Likewise.
34383 * manual/filesys.texi (mode_t): Describe constraints on size and
34384 signedness, not exact equivalence to a particular type.
34386 (ino64_t): Likewise.
34388 (nlink_t): Likewise.
34389 (blkcnt_t): Likewise.
34390 (blkcnt64_t): Likewise.
34391 * manual/llio.texi (off_t): Likewise.
34394 * sysdeps/ieee754/dbl-64/e_exp.c: Include <fenv.h>.
34395 (__ieee754_exp): Save and restore rounding mode and use
34396 round-to-nearest for all computations.
34397 * math/libm-test.inc (exp_test_tonearest): New function.
34398 (exp_test_towardzero): Likewise.
34399 (exp_test_downward): Likewise.
34400 (exp_test_upward): Likewise.
34401 (main): Call the new functions.
34402 * sysdeps/i386/fpu/libm-test-ulps: Update.
34403 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
34405 2012-03-01 Chris Demetriou <cgd@google.com>
34407 * sysdeps/gnu/errlist-compat.awk: Don't depend on AWK internals to
34408 have predictable order.
34410 2012-03-01 David S. Miller <davem@davemloft.net>
34412 * sysdeps/unix/sysv/linux/sparc/sparc32/getpagesize.c: Delete.
34414 * sysdeps/sparc/sparc64/fpu/s_finite.S: New file.
34415 * sysdeps/sparc/sparc64/fpu/s_finitef.S: New file.
34416 * sysdeps/sparc/sparc64/fpu/s_isinf.S: New file.
34417 * sysdeps/sparc/sparc64/fpu/s_isinff.S: New file.
34419 * sysdeps/sparc/sparc32/fpu/s_signbit.S: New file.
34420 * sysdeps/sparc/sparc32/fpu/s_signbitf.S: New file.
34421 * sysdeps/sparc/sparc32/fpu/s_signbitl.S: New file.
34422 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: New file.
34423 * sysdeps/sparc/sparc64/fpu/s_isnan.S: New file.
34424 * sysdeps/sparc/sparc64/fpu/s_isnanf.S: New file.
34425 * sysdeps/sparc/sparc64/fpu/s_signbit.S: New file.
34426 * sysdeps/sparc/sparc64/fpu/s_signbitf.S: New file.
34427 * sysdeps/sparc/sparc64/fpu/s_signbitl.S: New file.
34429 * sysdeps/sparc/fpu/libm-test-ulps: Update.
34431 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Move...
34432 * sysdeps/sparc/fpu/libm-test-ulps: to here.
34433 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Delete.
34435 * sysdeps/sparc/crti.S: Remove HAVE_BINUTILS_GOTDATA checks.
34436 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
34437 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
34438 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: Likewise.
34439 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: Likewise.
34440 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: Likewise.
34441 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: Likewise.
34442 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
34443 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
34444 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: Likewise.
34445 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: Likewise.
34446 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
34447 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
34448 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
34449 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
34450 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
34451 * config.h.in (HAVE_BINUTILS_GOTDATA): Delete.
34452 * sysdeps/sparc/elf/configure.in: Remove binutils GOTDATA checks.
34453 * sysdeps/sparc/elf/configure: Regenerated.
34455 2012-03-01 Joseph Myers <joseph@codesourcery.com>
34457 * configure.in (AS, LD): Require binutils 2.20 or later.
34458 * configure: Regenerated.
34459 * manual/install.texi (Tools for Compilation): Give binutils 2.20
34460 as required minimum version.
34461 * INSTALL: Regenerated.
34465 * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Mask out one more bit
34466 before squaring exponent.
34467 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Mask out whole
34468 bottom long double and 27 bits of top long double before squaring
34470 * math/libm-test.inc (erfc_test): Add more tests.
34471 * sysdeps/i386/fpu/libm-test-ulps: Update.
34472 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
34473 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
34475 2012-03-01 Kai Tietz <ktietz@redhat.com>
34477 * soft-fp/soft-fp.h (_FP_STRUCT_LAYOUT): New macro.
34478 * soft-fp/quad.h (_FP_UNION_Q): Use _FP_STRUCT_LAYOUT on struct
34479 containing bit-fields.
34480 * soft-fp/extended.h (_FP_UNION_E): Likewise.
34481 * soft-fp/single.h (_FP_UNION_S): Likewise.
34482 * soft-fp/double.h (_FP_UNION_D): Likewise.
34484 2012-02-29 Joseph Myers <joseph@codesourcery.com>
34487 * sysdeps/i386/i686/multiarch/strcmp.S [USE_AS_STRCASECMP_L]: Do
34488 not include ../strcmp.S.
34489 [USE_AS_STRNCASECMP_L]: Likewise.
34490 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c
34491 (__strcasecmp_l_ia32): Define as alias to __strcasecmp_l_nonascii.
34492 * sysdeps/i386/i686/multiarch/strncase_l-c.c
34493 (__strncasecmp_l_ia32): Define as alias to
34494 __strncasecmp_l_nonascii.
34497 * math/libm-test.inc (expm1_test): Add test for bug 5794.
34498 * sysdeps/i386/fpu/libm-test-ulps: Update.
34499 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
34501 * sysdeps/i386/fpu/libm-test-ulps: Reduce some expected errors.
34502 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
34504 2012-02-29 Jeff Law <law@redhat.com>
34506 * resolv/res_query.c (__libc_res_nquerydomain): Avoid
34507 out of bounds read.
34509 2012-02-29 Marek Polacek <polacek@redhat.com>
34512 * elf/rtld.c (dl_main): Always set l_used to 1 for vDSO.
34513 * elf/Makefile: Add rules to run tst-unused-dep.out.
34515 2012-02-28 David S. Miller <davem@davemloft.net>
34517 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: New file.
34518 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: New file.
34519 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: New file.
34520 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: New file.
34521 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: New file.
34522 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: New file.
34524 2012-02-29 Joseph Myers <joseph@codesourcery.com>
34526 * math/libm-test.inc (llround_test): Move one test from
34527 lround_test. Use TEST_f_L in moved test.
34528 (lround_test): Move misplaced test to llround_test. Add testcase
34531 2012-02-28 Ulrich Drepper <drepper@gmail.com>
34533 * sysdeps/x86_64/fpu/e_expf.S: New file.
34534 Contributed by Dmitrieva Liubov <liubov.dmitrieva@gmail.com>.
34536 2012-02-28 Stanislav Brabec <sbrabec@suse.cz>
34539 * posix/regex_internal.c (re_string_skip_chars): Fix miscomputation
34540 of remain_len that may cause incomplete multi-byte character and
34542 * posix/bug-regex33.c: New file.
34543 * posix/Makefile (tests): Add bug-regex33.
34545 2012-02-28 Joseph Myers <joseph@codesourcery.com>
34547 * manual/macros.texi: New file.
34548 * Makefile (INSTALL, NOTES): Depend on manual/macros.texi.
34549 * manual/libc.texinfo: Include macros.texi.
34550 * manual/creatute.texi: Likewise.
34551 * manual/install.texi: Likewise.
34552 * manual/arith.texi: Use macros @Theglibc{}, @theglibc{} and
34553 @glibcadj{} in references to the GNU C Library.
34554 * manual/charset.texi: Likewise.
34555 * manual/conf.texi: Likewise.
34556 * manual/contrib.texi: Likewise. Consistently use "GNU C Library"
34557 when not using those macros.
34558 * manual/creature.texi: Likewise.
34559 * manual/crypt.texi: Likewise.
34560 * manual/errno.texi: Likewise.
34561 * manual/filesys.texi: Likewise.
34562 * manual/header.texi: Likewise.
34563 * manual/install.texi: Likewise.
34564 * manual/intro.texi: Likewise.
34565 * manual/io.texi: Likewise.
34566 * manual/job.texi: Likewise.
34567 * manual/lang.texi: Likewise.
34568 * manual/libc.texiinfo: Likewise.
34569 * manual/llio.texi: Likewise.
34570 * manual/locale.texi: Likewise.
34571 * manual/maint.texi: Likewise.
34572 * manual/math.texi: Likewise.
34573 * manual/memory.texi: Likewise.
34574 * manual/message.texi: Likewise.
34575 * manual/nss.texi: Likewise.
34576 * manual/pattern.texi: Likewise.
34577 * manual/process.texi: Likewise.
34578 * manual/resource.texi: Likewise.
34579 * manual/search.texi: Likewise.
34580 * manual/setjmp.texi: Likewise.
34581 * manual/signal.texi: Likewise.
34582 * manual/socket.texi: Likewise.
34583 * manual/startup.texi: Likewise.
34584 * manual/stdio.texi: Likewise.
34585 * manual/string.texi: Likewise.
34586 * manual/sysinfo.texi: Likewise.
34587 * manual/syslog.texi: Likewise.
34588 * manual/terminal.texi: Likewise.
34589 * manual/time.texi: Likewise.
34590 * manual/users.texi: Likewise.
34591 * INSTALL: Regenerated.
34592 * NOTES: Regenerated.
34593 * sysdeps/gnu/errlist.c: Regenerated.
34595 2012-02-28 Andreas Schwab <schwab@linux-m68k.org>
34597 * include/dirent.h: Include <dirstream.h> before
34600 2012-02-28 David S. Miller <davem@davemloft.net>
34602 * sysdeps/sparc/sparc32/fpu/s_copysign.S: New file.
34603 * sysdeps/sparc/sparc32/fpu/s_copysignf.S: New file.
34604 * sysdeps/sparc/sparc64/fpu/s_copysign.S: New file.
34605 * sysdeps/sparc/sparc64/fpu/s_copysignf.S: New file.
34607 2012-02-27 David S. Miller <davem@davemloft.net>
34609 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: New file.
34610 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floorf.S: New file.
34611 * sysdeps/sparc/sparc64/fpu/s_floor.S: New file.
34612 * sysdeps/sparc/sparc64/fpu/s_floorf.S: New file.
34614 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix accidental use of
34615 frame pointer instead of stack pointer relative arg slot.
34616 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
34617 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
34618 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
34620 2012-02-27 Carlos O'Donell <carlos_odonell@mentor.com>
34623 * stdlib/fmtmsg.c: Use of uint32_t requires stdint.h.
34625 2012-02-27 David S. Miller <davem@davemloft.net>
34627 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix comment formatting.
34628 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
34629 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
34630 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: Likewise.
34631 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
34632 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
34633 * sysdeps/sparc/sparc64/fpu/s_rint.S: Likewise.
34634 * sysdeps/sparc/sparc64/fpu/s_rintf.S: Likewise.
34636 2012-02-27 Joseph Myers <joseph@codesourcery.com>
34638 * configure.in (CC): Restrict allowed GCC versions to 4.3 and
34639 later. Allow versions 5-9.
34640 * configure: Regenerated.
34641 * manual/install.texi (Tools for Compilation): Give GCC 4.3 as
34642 required minimum version and 4.6 as recommended version. Do not
34643 mention bugs in GCC 2.7 and 2.8.
34644 * INSTALL: Regenerated.
34646 2012-02-27 David S. Miller <davem@davemloft.net>
34648 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: New file.
34649 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: New file.
34650 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: New file.
34651 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: New file.
34652 * sysdeps/sparc/sparc64/fpu/s_ceil.S: New file.
34653 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: New file.
34654 * sysdeps/sparc/sparc64/fpu/s_rint.S: New file.
34655 * sysdeps/sparc/sparc64/fpu/s_rintf.S: New file.
34657 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Do not
34658 manipulate bits before adding and subtracting TWO112[sx].
34659 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
34661 2012-02-27 Roland McGrath <roland@hack.frob.com>
34664 * libio/bits/stdio-ldbl.h (vdprintf, dprintf): Put these under
34665 [__USE_XOPEN2K8] rather than [__USE_GNU], to match the stdio.h decls.
34666 * libio/stdio.h (vdprintf, dprintf): Remove comment about these not
34667 being in POSIX, because they are in 1003.1-2008.
34669 * rt/tst-aio.c: Include <fcntl.h>.
34670 * rt/tst-aio7.c: Likewise.
34671 * rt/tst-aio64.c: Likewise.
34673 * stdio-common/tst-fmemopen.c (main): Remove spurious const.
34675 2012-02-27 Joseph Myers <joseph@codesourcery.com>
34677 * manual/install.texi (--with-headers): Describe headers as
34678 interface headers, not private headers.
34679 (Specific advice for GNU/Linux systems): Describe use of headers
34680 from "make headers_install", not private headers from older
34682 * INSTALL: Regenerated.
34683 * sysdeps/unix/sysv/linux/configure.in (LIBC_LINUX_VERSION):
34685 * sysdeps/unix/sysv/linux/configure: Regenerated.
34687 * manual/llio.texi (fclean): Remove documentation.
34689 * manual/Makefile (libc-texi-generated): New variable. Include
34691 (libc.dvi, libc.pdf, libc.info, libc/index.html): Depend on
34692 $(libc-texi-generated), not duplicated list of files.
34693 (version.texi, stamp-version): New rules.
34694 (realclean): Remove $(libc-texi-generated), not individual files
34695 from that list. Do not remove dir-add.texinfo.
34696 * manual/libc.texinfo: Comment out uses of edition numbers and
34697 references to printed manual. Remove last-updated dates.
34698 (EDITION): Comment out.
34700 (VERSION, UPDATED): Remove.
34701 (version.texi): Include.
34703 2012-02-27 Andreas Schwab <schwab@linux-m68k.org>
34705 * sysdeps/posix/spawni.c: Include <signal.h>.
34706 * sysdeps/pthread/aio_cancel.c: Include <fcntl.h>.
34707 * sysdeps/pthread/aio_fsync.c: Likewise.
34709 2012-02-26 Ulrich Drepper <drepper@gmail.com>
34711 * conform/Makefile (tests): Run only when not cross-compiling and
34712 when fast-check is not defined.
34714 * conform/conformtest.pl: XPG7 and POSIX2008 require C99.
34715 * conform/data/limits.h-data: Fixes for POSIX2008.
34716 * conform/run-conformtest.sh: Run all tests.
34717 * include/arpa/inet.h: Changes to allow conformtest.pl to use the
34719 * include/bits/dlfcn.h: Likewise.
34720 * include/langinfo.h: Likewise.
34721 * include/monetary.h: Likewise.
34722 * include/sys/poll.h: Likewise.
34724 * io/fcntl.h: Define AT_NO_AUTOMOUNT and AT_EMPTY_PATH only
34726 * posix/spawn.h: Define __need_sigset_t.
34727 * posix/sys/wait.h: Don't include <sys/resource.h>, define id_t here.
34728 * posix/unistd.h: Declare ctermid only for XPG before XPG6.
34729 * rt/aio.h: Don't include fcntl.h and signal.h. Use bits/siginfo.h
34730 to get sigevent_t only.
34731 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg and recvmmsg
34732 only for __USE_GNU.
34733 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
34734 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
34735 process_vm_writev only for __USE_GNU.
34736 * termios/termios.h: Declare tcgetsid also for POSIX2008.
34738 * conform/Makefile: For now ignore errors from run-conformtest.
34739 * conform/conformtest.pl: Simplify code. Add -ansi to CFLAGS for
34740 POSIX to avoid namespace pollution. Don't prepend headers.
34741 * conform/data/aio.h-data: Fixes for POSIX testing.
34742 * conform/data/fcntl.h-data: Likewise.
34743 * conform/data/glob.h-data: Likewise.
34744 * conform/data/grp.h-data: Likewise.
34745 * conform/data/pthread.h-data: Likewise.
34746 * conform/data/pwd.h-data: Likewise.
34747 * conform/data/signal.h-data: Likewise.
34748 * conform/data/spawn.h-data: Likewise.
34749 * conform/data/stdio.h-data: Likewise.
34750 * conform/data/stdlib.h-data: Likewise.
34751 * conform/data/stropts.h-data: Likewise.
34752 * conform/data/sys/mman.h-data: Likewise.
34753 * conform/data/sys/stat.h-data: Likewise.
34754 * conform/data/sys/types.h-data: Likewise.
34755 * conform/data/sys/wait.h-data: Likewise.
34756 * conform/data/time.h-data: Likewise.
34757 * conform/data/unistd.h-data: Likewise.
34758 * conform/data/utime.h-data: Likewise.
34760 * io/sys/stat.h: fchmod was always in POSIX.
34761 * posix/sys/wait.h: Include <sys/resource.h> only for waitid.
34762 * posix/unistd.h: fsync and ftruncate were in early POSIX as well.
34763 * rt/aio.h: Define __need_timespec before including <time.h>.
34764 * sysdeps/unix/sysv/linux/bits/siginfo.h: Don't name siginfo_t
34765 struct. Add forward declaration of pthread_attr_t and use it in
34767 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
34768 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
34769 * sysdeps/unix/sysv/linux/bits/time.h: Don't let __STRICT_ANSI__
34770 always remove CLK_TCK definition.
34772 2012-02-26 Andreas Schwab <schwab@linux-m68k.org>
34774 * sysdeps/ieee754/dbl-64/k_tan.c: Replace with empty file.
34776 2012-02-25 Ulrich Drepper <drepper@gmail.com>
34778 * conform/run-conformtest.sh: New file.
34779 * conform/Makefile: Run run-conformtest for tests.
34780 * conform/conformtest.pl: Many bug fixes. Add ISO C99, ISO C11
34783 * conform/data/uchar.h-data: New file.
34784 * conform/data/aio.h-data: Fixes for ISO C and POSIX 1995 testing.
34785 * conform/data/arpa/inet.h-data: Likewise.
34786 * conform/data/assert.h-data: Likewise.
34787 * conform/data/complex.h-data: Likewise.
34788 * conform/data/cpio.h-data: Likewise.
34789 * conform/data/ctype.h-data: Likewise.
34790 * conform/data/dirent.h-data: Likewise.
34791 * conform/data/dlfcn.h-data: Likewise.
34792 * conform/data/errno.h-data: Likewise.
34793 * conform/data/fcntl.h-data: Likewise.
34794 * conform/data/float.h-data: Likewise.
34795 * conform/data/fmtmsg.h-data: Likewise.
34796 * conform/data/fnmatch.h-data: Likewise.
34797 * conform/data/ftw.h-data: Likewise.
34798 * conform/data/glob.h-data: Likewise.
34799 * conform/data/grp.h-data: Likewise.
34800 * conform/data/iconv.h-data: Likewise.
34801 * conform/data/inttypes.h-data: Likewise.
34802 * conform/data/langinfo.h-data: Likewise.
34803 * conform/data/libgen.h-data: Likewise.
34804 * conform/data/limits.h-data: Likewise.
34805 * conform/data/locale.h-data: Likewise.
34806 * conform/data/math.h-data: Likewise.
34807 * conform/data/monetary.h-data: Likewise.
34808 * conform/data/mqueue.h-data: Likewise.
34809 * conform/data/ndbm.h-data: Likewise.
34810 * conform/data/net/if.h-data: Likewise.
34811 * conform/data/netdb.h-data: Likewise.
34812 * conform/data/netinet/in.h-data: Likewise.
34813 * conform/data/nl_types.h-data: Likewise.
34814 * conform/data/poll.h-data: Likewise.
34815 * conform/data/pthread.h-data: Likewise.
34816 * conform/data/pwd.h-data: Likewise.
34817 * conform/data/regex.h-data: Likewise.
34818 * conform/data/sched.h-data: Likewise.
34819 * conform/data/search.h-data: Likewise.
34820 * conform/data/semaphore.h-data: Likewise.
34821 * conform/data/setjmp.h-data: Likewise.
34822 * conform/data/signal.h-data: Likewise.
34823 * conform/data/spawn.h-data: Likewise.
34824 * conform/data/stdarg.h-data: Likewise.
34825 * conform/data/stdio.h-data: Likewise.
34826 * conform/data/stdlib.h-data: Likewise.
34827 * conform/data/string.h-data: Likewise.
34828 * conform/data/strings.h-data: Likewise.
34829 * conform/data/stropts.h-data: Likewise.
34830 * conform/data/sys/ipc.h-data: Likewise.
34831 * conform/data/sys/mman.h-data: Likewise.
34832 * conform/data/sys/msg.h-data: Likewise.
34833 * conform/data/sys/resource.h-data: Likewise.
34834 * conform/data/sys/select.h-data: Likewise.
34835 * conform/data/sys/sem.h-data: Likewise.
34836 * conform/data/sys/shm.h-data: Likewise.
34837 * conform/data/sys/socket.h-data: Likewise.
34838 * conform/data/sys/stat.h-data: Likewise.
34839 * conform/data/sys/statvfs.h-data: Likewise.
34840 * conform/data/sys/time.h-data: Likewise.
34841 * conform/data/sys/timeb.h-data: Likewise.
34842 * conform/data/sys/times.h-data: Likewise.
34843 * conform/data/sys/types.h-data: Likewise.
34844 * conform/data/sys/uio.h-data: Likewise.
34845 * conform/data/sys/un.h-data: Likewise.
34846 * conform/data/sys/utsname.h-data: Likewise.
34847 * conform/data/sys/wait.h-data: Likewise.
34848 * conform/data/syslog.h-data: Likewise.
34849 * conform/data/tar.h-data: Likewise.
34850 * conform/data/termios.h-data: Likewise.
34851 * conform/data/utime.h-data: Likewise.
34852 * conform/data/utmpx.h-data: Likewise.
34853 * conform/data/varargs.h-data: Likewise.
34854 * conform/data/wchar.h-data: Likewise.
34855 * conform/data/wctype.h-data: Likewise.
34856 * conform/data/wordexp.h-data: Likewise.
34858 * include/stropts.h: New file.
34859 * include/uchar.h: New file.
34860 * include/aio.h: Changes to allow conformtest.pl to use the headers.
34861 * include/assert.h: Likewise.
34862 * include/ctype.h: Likewise.
34863 * include/dirent.h: Likewise.
34864 * include/dlfcn.h: Likewise.
34865 * include/fcntl.h: Likewise.
34866 * include/fnmatch.h: Likewise.
34867 * include/glob.h: Likewise.
34868 * include/grp.h: Likewise.
34869 * include/libio.h: Likewise.
34870 * include/locale.h: Likewise.
34871 * include/math.h: Likewise.
34872 * include/net/if.h: Likewise.
34873 * include/netdb.h: Likewise.
34874 * include/netinet/in.h: Likewise.
34875 * include/pthread.h: Likewise.
34876 * include/pwd.h: Likewise.
34877 * include/regex.h: Likewise.
34878 * include/sched.h: Likewise.
34879 * include/search.h: Likewise.
34880 * include/setjmp.h: Likewise.
34881 * include/signal.h: Likewise.
34882 * include/stdio.h: Likewise.
34883 * include/stdlib.h: Likewise.
34884 * include/string.h: Likewise.
34885 * include/sys/cdefs.h: Likewise.
34886 * include/sys/mman.h: Likewise.
34887 * include/sys/msg.h: Likewise.
34888 * include/sys/resource.h: Likewise.
34889 * include/sys/select.h: Likewise.
34890 * include/sys/socket.h: Likewise.
34891 * include/sys/stat.h: Likewise.
34892 * include/sys/statvfs.h: Likewise.
34893 * include/sys/time.h: Likewise.
34894 * include/sys/times.h: Likewise.
34895 * include/sys/uio.h: Likewise.
34896 * include/sys/utsname.h: Likewise.
34897 * include/sys/wait.h: Likewise.
34898 * include/termios.h: Likewise.
34899 * include/time.h: Likewise.
34900 * include/ulimit.h: Likewise.
34901 * include/unistd.h: Likewise.
34902 * include/utime.h: Likewise.
34903 * include/wchar.h: Likewise.
34904 * include/wctype.h: Likewise.
34905 * include/wordexp.h: Likewise.
34907 * posix/tar.h (TSVTX): Should not be visible for POSIX before 2008.
34909 * time/time.h: TIME_UTC must be a macro.
34910 Make timespec_get available for ISO C11 only as well.
34912 2012-02-24 Ulrich Drepper <drepper@gmail.com>
34914 * stdlib/fmtmsg.c (fmtmsg): Lock around use of severity list.
34915 Reported by Peng Haitao <penght@cn.fujitsu.com>.
34917 2012-02-24 Joseph Myers <joseph@codesourcery.com>
34919 * configure.in: Use -o not -a in test for unsupported multi-arch.
34921 2012-02-24 Joseph Myers <joseph@codesourcery.com>
34923 * manual/texinfo.tex: Update to version 2012-01-19.16.
34925 2012-02-24 Joseph Myers <joseph@codesourcery.com>
34927 * manual/Makefile (licenses): Change fdl-1.1.texi to fdl-1.3.texi.
34929 2012-02-24 Roland McGrath <roland@hack.frob.com>
34932 * manual/libc.texinfo (FDL_VERSION): Set to 1.3.
34933 * manual/fdl-1.3.texi: New file.
34934 * manual/fdl-1.1.texi: File removed.
34937 * manual/libc.texinfo (FDL_VERSION): New @set.
34938 Use it for mention of FDL in cover text.
34939 (Documentation License): Use it in @include file name.
34941 2012-02-22 Joseph Myers <joseph@codesourcery.com>
34942 Roland McGrath <roland@hack.frob.com>
34945 * manual/arith.texi (strtoll): Refer to LLONG_MAX and LLONG_MIN)
34946 (not LONG_LONG_MAX and LONG_LONG_MIN.
34947 * manual/lang.texi (LONG_LONG_MIN): Document first as ISO
34948 LLONG_MIN. Refer to LONG_LONG_MIN only as older GCC-specific
34950 (LONG_LONG_MAX, LLONG_MAX, ULONG_LONG_MAX, ULLONG_MAX): Likewise.
34952 2012-02-22 Joseph Myers <joseph@codesourcery.com>
34956 * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Do not
34957 manipulate bits before adding and subtracting TWO23[sx].
34958 * math/libm-test.inc (nearbyint_test): Add more tests.
34960 2012-02-22 Joseph Myers <joseph@codesourcery.com>
34963 * sysdeps/ieee754/flt-32/s_rintf.c (__rintf): Do not manipulate
34964 bits before adding and subtracting TWO23[sx].
34965 * math/libm-test.inc (rint_test): Add more tests.
34966 (rint_test_tonearest): Likewise.
34967 (rint_test_towardzero): Likewise.
34968 (rint_test_downward): Likewise.
34969 (rint_test_upward: Likewise.
34971 2012-02-22 Joseph Myers <joseph@codesourcery.com>
34974 * include/stdc-predef.h: New file. Extracted from features.h.
34975 * include/features.h: Include stdc-predef.h.
34976 * Makefile (headers): Add stdc-predef.h.
34977 * CONFORMANCE (Compiler limitations): Update.
34979 2012-02-22 Joseph Myers <joseph@codesourcery.com>
34981 * manual/libc.texinfo (VERSION, UPDATED): Revert.
34983 2012-02-21 David S. Miller <davem@davemloft.net>
34985 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: More jn test ULP updates.
34986 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
34988 2012-02-20 David S. Miller <davem@davemloft.net>
34990 * sysdeps/sparc/sparc32/__longjmp.S: Unwind in the 'thread' path
34991 using a normal save/restore sequence, rather than allocating a
34992 dummy stack frame just to store a frame pointer and restore.
34993 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
34995 2012-02-21 Joseph Myers <joseph@codesourcery.com>
34997 * manual/install.texi: Fix stray word in line-wrapped comment.
34999 2012-02-20 David S. Miller <davem@davemloft.net>
35001 * sysdeps/sparc/elf/configure.in (PI_STATIC_AND_HIDDEN): Define if
35002 both binutils and gcc support GOTDATA.
35004 * sysdeps/unix/sparc/sysdep.h: Document why we don't use
35005 "rd %pc" in the PIC register setup sequences.
35007 * sysdeps/sparc/crti.S: Try to use GOTDATA relocs.
35008 * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
35009 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
35010 * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
35011 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
35012 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
35013 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
35014 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
35015 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h
35016 (SYSCALL_ERROR_HANDLER): Likewise.
35017 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
35018 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
35019 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h
35020 (SYSCALL_ERROR_HANDLER): Likewise.
35022 * config.h.in (HAVE_BINUTILS_GOTDATA): New.
35023 (HAVE_GCC_GOTDATA): New.
35024 * sysdeps/sparc/elf/configure.in: Test for GOTDATA
35025 relocation support in both binutils and gcc.
35026 * sysdeps/sparc/elf/configure: Regenerate.
35028 * sysdeps/sparc/sparc32/elf/configure.in: Delete.
35029 * sysdeps/sparc/sparc32/elf/configure: Delete.
35030 * sysdeps/sparc/sparc64/elf/configure.in: Delete.
35031 * sysdeps/sparc/sparc64/elf/configure: Delete.
35032 * sysdeps/sparc/elf/configure.in: New file.
35033 * sysdeps/sparc/elf/configure: Generate.
35035 * sysdeps/sparc/sparc32/elf/configure.in: Delete WDISP22 check.
35036 * sysdeps/sparc/sparc32/elf/configure: Regenerate.
35037 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
35038 * sysdeps/sparc/sparc64/elf/configure: Regenerate.
35039 * config.h.in (BROKEN_SPARC_WDISP22): Remove.
35041 2012-02-21 Joseph Myers <joseph@codesourcery.com>
35043 * manual/install.texi: Do not mention specific glibc version
35045 * manual/libc.texinfo (VERSION, UPDATED): Update.
35046 (@copying): Use @copyright{} and range of years.
35048 2012-02-21 Joseph Myers <joseph@codesourcery.com>
35051 * csu/Makefile (distribute): Remove initfini.c and defs.awk.
35052 [crti.S not in sysdirs] (generated): Do not append.
35053 [crti.S not in sysdirs] (omit-deps): Likewise.
35054 [crti.S not in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Remove rule.
35055 [crti.S not in sysdirs] ($(objpfx)initfini.s): Likewise.
35056 [crti.S not in sysdirs] ($(objpfx)crti.S): Likewise.
35057 [crti.S not in sysdirs] ($(objpfx)crtn.S): Likewise.
35058 [crti.S not in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)):
35060 [crti.S not in sysdirs] ($(objpfx)defs.h): Likewise.
35061 [crti.S not in sysdirs] (CFLAGS-initfini.s): Remove variable.
35062 [crti.S not in sysdirs] (initfini.c): Remove vpath directive.
35063 * csu/defs.awk: Remove file.
35064 * sysdeps/generic/initfini.c: Likewise.
35065 * sysdeps/powerpc/powerpc32/Makefile (CFLAGS-initfini.s): Remove
35067 * sysdeps/powerpc/powerpc64/Makefile (CFLAGS-initfini.s):
35070 2012-02-20 Joseph Myers <joseph@codesourcery.com>
35072 * sysdeps/unix/sysv/linux/bits/epoll.h: New file.
35073 * sysdeps/unix/sysv/linux/sparc/bits/epoll.h: Likewise.
35074 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Likewise.
35075 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Remove
35076 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
35077 * sysdeps/unix/sysv/linux/sys/epoll.h: Get flags from
35079 (EPOLL_CLOEXEC, EPOLL_NONBLOCK): Don't define here.
35080 (__EPOLL_PACKED): Define to empty if not defined by
35082 (struct epoll_event): Use __EPOLL_PACKED to make possibly packed.
35083 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
35086 2012-02-20 Joseph Myers <joseph@codesourcery.com>
35088 * sysdeps/unix/sysv/linux/bits/timerfd.h: New file.
35089 * sysdeps/unix/sysv/linux/sparc/bits/timerfd.h: Likewise.
35090 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Remove.
35091 * sysdeps/unix/sysv/linux/sys/timerfd.h: Get flags from
35093 (TFD_CLOEXEC, TFD_NONBLOCK): Don't define here.
35094 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
35097 2012-02-20 Joseph Myers <joseph@codesourcery.com>
35099 * sysdeps/i386/fpu/libm-test-ulps: Resort with gen-libm-test.pl -n
35101 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
35102 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
35103 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Likewise.
35104 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
35106 2012-02-20 Aurelien Jarno <aurelien@aurel32.net>
35108 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Adjust ULPs for jn tests.
35109 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
35111 2012-02-19 Andreas Schwab <schwab@linux-m68k.org>
35113 * manual/errno.texi (Error Codes): Add EHWPOISON entry.
35114 * sysdeps/unix/sysv/linux/bits/errno.h (EHWPOISON): Define if not
35116 * sysdeps/unix/sysv/linux/sparc/bits/errno.h (EHWPOISON):
35118 * sysdeps/unix/sysv/linux/sparc/Versions: Add new errlist compat
35121 2012-02-19 Aurelien Jarno <aurelien@aurel32.net>
35123 * math/w_acos.c: Use non-signaling floating-point comparisons.
35124 * math/w_acosf.c: Likewise.
35125 * math/w_acosh.c: Likewise.
35126 * math/w_acoshf.c: Likewise.
35127 * math/w_acoshl.c: Likewise.
35128 * math/w_acosl.c: Likewise.
35129 * math/w_asin.c: Likewise.
35130 * math/w_asinf.c: Likewise.
35131 * math/w_asinl.c: Likewise.
35132 * math/w_atanh.c: Likewise.
35133 * math/w_atanhf.c: Likewise.
35134 * math/w_atanhl.c: Likewise.
35135 * math/w_exp2.c: Likewise.
35136 * math/w_exp2f.c: Likewise.
35137 * math/w_exp2l.c: Likewise.
35138 * math/w_j0.c: Likewise.
35139 * math/w_j0f.c: Likewise.
35140 * math/w_j0l.c: Likewise.
35141 * math/w_j1.c: Likewise.
35142 * math/w_j1f.c: Likewise.
35143 * math/w_j1l.c: Likewise.
35144 * math/w_jn.c: Likewise.
35145 * math/w_jnf.c: Likewise.
35146 * math/w_log.c: Likewise.
35147 * math/w_log10.c: Likewise.
35148 * math/w_log10f.c: Likewise.
35149 * math/w_log10l.c: Likewise.
35150 * math/w_log2.c: Likewise.
35151 * math/w_log2f.c: Likewise.
35152 * math/w_log2l.c: Likewise.
35153 * math/w_logf.c: Likewise.
35154 * math/w_logl.c: Likewise.
35155 * math/w_sqrt.c: Likewise.
35156 * math/w_sqrtf.c: Likewise.
35157 * math/w_sqrtl.c: Likewise.
35158 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
35159 * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
35160 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
35161 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
35162 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
35164 2012-02-19 Joseph Myers <joseph@codesourcery.com>
35167 * manual/string.texi (strnlen): Use correct parameter name in
35168 equivalent expression.
35170 2012-02-19 Joseph Myers <joseph@codesourcery.com>
35173 * manual/users.texi (seteuid): Consistently use neweuid for
35176 2012-02-19 Joseph Myers <joseph@codesourcery.com>
35179 * manual/nss.texi (Services in the NSS configuration): Correct
35180 list of services in example configuration file.
35182 2012-02-19 Nick Bowler <nbowler@draconx.ca>
35185 * manual/arith.texi: Remove statements about negative zero
35186 behaving identically to zero.
35188 2012-02-18 Joseph Myers <joseph@codesourcery.com>
35191 * manual/install.texi: Do not document upgrading from libc5.
35193 2012-02-18 Joseph Myers <joseph@codesourcery.com>
35196 * manual/conf.texi (_POSIX_VERSION): Do not mention __POSIX__.
35198 2012-02-18 David S. Miller <davem@davemloft.net>
35200 * sysdeps/unix/sparc/sysdep.h (SPARC_PIC_THUNK): New macro.
35201 (SETUP_PIC_REG): Use SPARC_PIC_THUNK and don't save and restore
35202 %o7 across the call.
35203 (SETUP_PIC_REG_LEAF): Do %o7 save/restore in this new macro
35205 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Use
35206 SETUP_PIC_REG_LEAF.
35207 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
35208 * sysdeps/sparc/crti.S: Use SETUP_PIC_REG.
35209 * sysdeps/sparc/crtn.S: Likewise.
35211 2012-02-17 Ulrich Drepper <drepper@gmail.com>
35213 * aout/Makefile: Remove.
35215 2012-02-18 Rafe Kettler <rafe.kettler@gmail.com>
35218 * manual/examples/argp-ex1.c (main): Format definition in GNU
35220 * manual/examples/argp-ex2.c (main): Likewise.
35221 * manual/examples/argp-ex3.c (main): Likewise.
35222 * manual/examples/argp-ex4.c (main): Likewise.
35223 * manual/examples/longopt.c (main): Use new-style prototype
35225 * manual/examples/strncat.c (main): Specify return type and use
35226 (void) for arguments.
35227 * manual/examples/subopt.c (main): Use char **argv argument.
35229 2012-02-17 Joseph Myers <joseph@codesourcery.com>
35232 * manual/lang.texi (FLT_EPSILON): Avoid description depending on
35235 2012-02-17 Fabrice Bauzac <fabrice.bauzac@wanadoo.fr>
35238 * manual/string.texi (strchr): Change when strchrnul is
35241 2012-02-17 Dwayne Grant McConnell <decimal@us.ibm.com>
35244 * manual/locale.texi (setlocale): Document LOCPATH.
35246 2012-02-17 Joseph Myers <joseph@codesourcery.com>
35249 * manual/process.texi (execle): Move @dots{} before last argument.
35251 2012-02-17 Paul Bolle <pebolle@tiscali.nl>
35254 * manual/charset.texi (Generic Charset Conversion): Fix typo
35255 (LC_TYPE -> LC_CTYPE).
35257 2012-02-17 Nicolas Boulenguez <nicolas.boulenguez@free.fr>
35260 * manual/arith.texi (scalbn): Use @var{} on parameter names.
35261 (scalbnf): Likewise.
35262 (scalbnl): Likewise.
35263 (scalbln): Likewise.
35264 (scalblnf): Likewise.
35265 (scalblnl): Likewise.
35266 * manual/errno.texi (vwarn): Name last parameter as @var{ap}.
35267 (vwarnx): Likewise.
35270 * manual/filesys.texi (telldir): Use braces around return type.
35271 * manual/llio.texi (mmap): Add space after comma.
35272 (mmap64): Likewise.
35273 * manual/math.texi (jn): Use @var{} on parameter names.
35279 * manual/memory.texi (alloca): Remove semicolon on @deftypefun
35281 * manual/resource.texi (ulimit): Use @dots{} instead of literal
35283 (sched_get_priority_min): Remove semicolon on @deftypefun line.
35284 (sched_get_priority_max): Likewise.
35285 * manual/signal.texi (sigvec): Add space after comma.
35286 * manual/socket.texi (if_nametoindex): Use @var{} on parameter
35288 (if_indextoname): Likewise.
35289 (if_freenameindex): Likewise.
35290 (sendto): Use ',' instead of '.' in prototype.
35291 * manual/startup.texi (syscall): Use @dots{} instead of literal
35293 * manual/stdio.texi (__fpending): Separate initial words of
35294 paragraph from @deftypefun line.
35295 * manual/syslog.texi (syslog): Use @dots{} instead of literal
35297 (vsyslog): Use @var{} on parameter names.
35298 * manual/terminal.texi (stty): Use @var{} on parameter names.
35299 * manual/users.texi (getutmp): Use @var{} on parameter names.
35300 (getutmpx): Likewise.
35302 2012-02-17 Joseph Myers <joseph@codesourcery.com>
35305 * manual/stdio.texi (fopen): Fix typos in description of
35308 2012-02-17 Aurelien Jarno <aurelien@aurel32.net>
35311 * sysdeps/unix/sysv/linux/clock_settime.c: include <time.h> to
35312 get clock_id definition.
35314 2012-02-17 Thomas Schwinge <thomas@schwinge.name>
35317 * sysdeps/mach/hurd/malloc-machine.h: #include <sys/mman.h>.
35318 (madvise): Cast every argument to void on its own.
35320 2012-02-17 Joseph Myers <joseph@codesourcery.com>
35323 * manual/startup.texi (Exit Status): Fix typo.
35325 2012-02-17 Joseph Myers <joseph@codesourcery.com>
35328 * manual/examples/argp-ex1.c: Include <stdlib.h>.
35329 * manual/examples/argp-ex2.c: Likewise.
35330 * manual/examples/argp-ex3.c: Likewise.
35332 2012-02-16 Richard Henderson <rth@redhat.com>
35334 * sysdeps/s390/s390-32/crti.S, sysdeps/s390/s390-32/crtn.S: New files.
35335 * sysdeps/s390/s390-32/initfini.c: Remove.
35336 * sysdeps/s390/s390-64/crti.S, sysdeps/s390/s390-64/crtn.S:
35337 * sysdeps/s390/s390-64/initfini.c: Remove.
35339 2012-02-15 Kaz Kojima <kkojima@rr.iij4u.or.jp>
35341 * sysdeps/sh/crti.S, sysdeps/sh/crtn.S: New files, based on
35342 compiler output for sysdeps/generic/initfini.c.
35343 * sysdeps/sh/elf/initfini.c: Remove file.
35345 2012-02-16 David S. Miller <davem@davemloft.net>
35348 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_FSYNC): Define.
35350 * sysdeps/sparc/Makefile: Add -fPIC when building crt{i,n}.S
35351 * sysdeps/sparc/crti.S: New file.
35352 * sysdeps/sparc/crtn.S: New file.
35353 * sysdeps/sparc/sparc32/Makefile: Remove initfini handling.
35354 * sysdeps/sparc/sparc64/Makefile: Likewise.
35356 2012-02-15 Mike Frysinger <vapier@gentoo.org>
35359 * sysdeps/unix/sysv/linux/getcwd.c: Include sys/param.h.
35361 2012-02-15 Roland McGrath <roland@hack.frob.com>
35364 * sysdeps/mach/hurd/malloc-machine.h (madvise): New macro.
35366 * mach/devstream.c (cookie_io_functions_t): Macro removed.
35367 (write, read, close): Likewise.
35368 Patch by Aurelien Jarno <aurelien@aurel32.net>.
35370 2012-02-15 Joseph Myers <joseph@codesourcery.com>
35372 * sysdeps/unix/sysv/linux/bits/signalfd.h: New file.
35373 * sysdeps/unix/sysv/linux/sparc/bits/signalfd.h: Likewise.
35374 * sysdeps/unix/sysv/linux/sparc/sys/signalfd.h: Remove.
35375 * sysdeps/unix/sysv/linux/sys/signalfd.h: Get flags from
35377 (SFD_CLOEXEC, SFD_NONBLOCK): Don't define here.
35378 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
35381 2012-02-14 Marek Polacek <polacek@redhat.com>
35383 * sysdeps/x86_64/crti.S: New file.
35384 * sysdeps/x86_64/crtn.S: New file.
35385 * sysdeps/x86_64/elf/initfini.c: Remove file.
35387 2012-02-13 Joseph Myers <joseph@codesourcery.com>
35389 * sysdeps/unix/sysv/linux/bits/inotify.h: New file.
35390 * sysdeps/unix/sysv/linux/sparc/bits/inotify.h: Likewise.
35391 * sysdeps/unix/sysv/linux/sparc/sys/inotify.h: Remove.
35392 * sysdeps/unix/sysv/linux/sys/inotify.h: Get flags from
35394 (IN_CLOEXEC, IN_NONBLOCK): Don't define here.
35395 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
35398 2012-02-13 Joseph Myers <joseph@codesourcery.com>
35400 * sysdeps/unix/sysv/linux/bits/eventfd.h: New file.
35401 * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h: Likewise.
35402 * sysdeps/unix/sysv/linux/sparc/sys/eventfd.h: Remove.
35403 * sysdeps/unix/sysv/linux/sys/eventfd.h: Get flags from
35405 (EFD_SEMAPHORE, EFD_CLOEXEC, EFD_NONBLOCK): Don't define here.
35406 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
35409 2012-02-10 Thomas Schwinge <thomas@codesourcery.com>
35411 * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Invoke
35412 __feraiseexcept instead of feraiseexcept.
35414 * rt/tst-cpuclock1.c: Add a few comments, and error checking for
35415 nanosleep invocations.
35416 * rt/tst-cpuclock2.c: Print some values as intended, fix explanatory
35417 strings, and add error checking for a nanosleep invocations.
35419 2012-02-09 Paul Eggert <eggert@cs.ucla.edu>
35421 Replace FSF snail mail address with URLs, as per GNU coding standards.
35422 Most of the snail mail addresses were wrong anyway, and omitting
35423 them makes the source code easier to maintain. Almost all of the
35424 changes are to license notices and to locale LC_IDENTIFICATION
35425 addresses, except for this one:
35426 * manual/libc.texinfo: In "Published by", give the FSF's URL,
35427 not its snail mail address.
35429 2012-02-09 Richard Henderson <rth@twiddle.net>
35431 * sysdeps/unix/sysv/linux/internal_statvfs.c: Use <> for include
35432 of kernel-features.h.
35434 * elf/dl-tls.c (update_get_addr): Avoid pointer type mismatch warning.
35436 2012-02-08 Marek Polacek <polacek@redhat.com>
35438 * libio/libio.h: Remove _G_HAVE_SYS_CDEFS conditional.
35439 * sysdeps/mach/hurd/_G_config.h: Remove _G_HAVE_SYS_CDEFS macro.
35440 * sysdeps/gnu/_G_config.h: Likewise.
35441 * sysdeps/generic/_G_config.h: Likewise.
35443 2012-02-08 Andreas Schwab <schwab@linux-m68k.org>
35445 * sysdeps/i386/fpu/libm-test-ulps: Reduce ldouble ULPs for jn
35447 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
35449 * sysdeps/powerpc/powerpc32/crti.S: New file.
35450 * sysdeps/powerpc/powerpc32/crtn.S: New file.
35451 * sysdeps/powerpc/powerpc64/crti.S: New file.
35452 * sysdeps/powerpc/powerpc64/crtn.S: New file.
35454 * Makeconfig (have-initfini): Don't set.
35455 * config.make.in (have-initfini, need-nopic-initfini): Don't set.
35456 * configure.in (nopic_initfini): Don't substitute.
35457 * config.h.in (HAVE_INITFINI): Don't #undef.
35458 * csu/Makefile (CPPFLAGS): Don't add -DHAVE_INITFINI.
35459 * csu/gmon-start.c: Assume HAVE_INITFINI is defined.
35461 2012-02-08 Joseph Myers <joseph@codesourcery.com>
35463 Support crti.S and crtn.S provided directly by architectures.
35464 * csu/Makefile [crti.S in sysdirs] (generated): Do not append.
35465 [crti.S in sysdirs] (omit-deps): Likewise.
35466 [crti.S in sysdirs] (CFLAGS-initfini.s): Do not define variable.
35467 [crti.S in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Disable rule.
35468 [crti.S in sysdirs] ($(objpfx)initfini.s): Likewise.
35469 [crti.S in sysdirs] ($(objpfx)crti.S): Likewise.
35470 [crti.S in sysdirs] ($(objpfx)crtn.S): Likewise.
35471 [crti.S in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)): Likewise.
35472 [crti.S in sysdirs] ($(objpfx)defs.h): Likewise.
35473 [crti.S in sysdirs] (initfini.c): Remove vpath directive.
35474 * sysdeps/i386/crti.S, sysdeps/i386/crtn.S: New files, based on
35475 compiler output for sysdeps/generic/initfini.c.
35476 * sysdeps/i386/elf/Makefile: Remove file.
35477 * sysdeps/i386/Makefile (CFLAGS-initfini.s): Remove variable.
35479 2012-02-07 Marek Polacek <polacek@redhat.com>
35481 * sysdeps/generic/_G_config.h: Remove _G_ARGS macro.
35482 * sysdeps/gnu/_G_config.h: Likewise.
35483 * sysdeps/mach/hurd/_G_config.h: Likewise.
35485 2012-02-07 Marek Polacek <polacek@redhat.com>
35487 * math/Makefile (tests): Add tst-CMPLX2.
35488 * math/tst-CMPLX2.c: New file.
35490 2012-02-07 Andreas Schwab <schwab@linux-m68k.org>
35492 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
35494 * math/libm-test.inc (jn_test): Add missing L suffix.
35496 2012-02-06 Marek Polacek <polacek@redhat.com>
35498 * sysdeps/s390/asm-syntax.h: Remove __ELF__ conditionals.
35499 * sysdeps/i386/fpu/e_powf.S: Likewise.
35500 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
35501 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
35502 * sysdeps/i386/fpu/e_acosh.S: Likewise.
35503 * sysdeps/i386/fpu/e_pow.S: Likewise.
35504 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
35505 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
35506 * sysdeps/i386/fpu/s_expm1.S: Likewise.
35507 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
35508 * sysdeps/i386/fpu/e_log2.S: Likewise.
35509 * sysdeps/i386/fpu/e_log2l.S: Likewise.
35510 * sysdeps/i386/fpu/e_scalb.S: Likewise.
35511 * sysdeps/i386/fpu/e_powl.S: Likewise.
35512 * sysdeps/i386/fpu/s_log1p.S: Likewise.
35513 * sysdeps/i386/fpu/e_log10f.S: Likewise.
35514 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
35515 * sysdeps/i386/fpu/e_logl.S: Likewise.
35516 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
35517 * sysdeps/i386/fpu/s_expm1l.S: Likewise.
35518 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
35519 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
35520 * sysdeps/i386/fpu/e_log2f.S: Likewise.
35521 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
35522 * sysdeps/i386/fpu/e_log.S: Likewise.
35523 * sysdeps/i386/fpu/s_cexp.S: Likewise.
35524 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
35525 * sysdeps/i386/fpu/s_log1pl.S: Likewise.
35526 * sysdeps/i386/fpu/e_logf.S: Likewise.
35527 * sysdeps/i386/fpu/e_log10l.S: Likewise.
35528 * sysdeps/i386/fpu/e_atanh.S: Likewise.
35529 * sysdeps/i386/fpu/s_log1pf.S: Likewise.
35530 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
35531 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
35532 * sysdeps/i386/fpu/e_log10.S: Likewise.
35533 * sysdeps/i386/fpu/s_frexp.S: Likewise.
35534 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
35535 * sysdeps/i386/fpu/s_asinh.S: Likewise.
35536 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
35537 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
35538 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
35539 * sysdeps/i386/asm-syntax.h: Likewise.
35540 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
35541 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
35542 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
35543 * sysdeps/x86_64/fpu/s_expm1l.S: Likewise.
35544 * sysdeps/x86_64/fpu/s_log1pl.S: Likewise.
35545 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
35546 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
35547 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
35548 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
35549 * sysdeps/powerpc/sysdep.h: Likewise.
35550 * sysdeps/powerpc/powerpc64/sysdep.h: Likewise.
35551 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
35553 2012-02-06 Joseph Myers <joseph@codesourcery.com>
35556 * sysdeps/i386/sysdep.h (__i686): Undefine and redefine.
35558 2012-02-06 Joseph Myers <joseph@codesourcery.com>
35560 * sysdeps/i386/sysdep.h: Include <features.h>.
35561 (GET_PC_THUNK, GET_PC_THUNK_STR): Define conditionally on compiler
35564 2012-02-05 Joseph Myers <joseph@codesourcery.com>
35566 * sysdeps/i386/sysdep.h (SETUP_PIC_REG_STR, LOAD_PIC_REG_STR):
35568 * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Use
35571 2012-02-03 Joseph Myers <joseph@codesourcery.com>
35573 * sysdeps/i386/sysdep.h (GET_PC_THUNK, GET_PC_THUNK_STR): Define.
35574 (SETUP_PIC_REG): Use GET_PC_THUNK.
35575 * sysdeps/unix/sysv/linux/i386/sysdep.h: Use GET_PC_THUNK_STR
35578 2012-02-03 Joseph Myers <joseph@codesourcery.com>
35580 * sysdeps/i386/sysdep.h (SETUP_PIC_REG, LOAD_PIC_REG): Define also
35581 for non-PIC compilation.
35582 (SETUP_PIC_REG): Add .p2align directive.
35583 * sysdeps/i386/i686/memcmp.S: Use macros for PIC register setup.
35584 * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
35585 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
35586 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
35587 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
35588 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
35589 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
35590 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
35591 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
35592 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
35593 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
35594 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
35595 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
35596 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
35597 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
35598 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
35599 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
35600 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
35601 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
35602 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
35603 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
35604 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
35605 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
35606 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
35607 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
35608 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
35609 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
35610 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
35611 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
35612 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
35613 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
35614 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
35615 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
35616 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
35617 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
35618 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
35619 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
35620 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
35621 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
35622 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
35623 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
35625 2012-02-03 Joseph Myers <joseph@codesourcery.com>
35627 * math/tst-CMPLX.c: Include <stdio.h>.
35629 2012-01-31 Joseph Myers <joseph@codesourcery.com>
35631 * sysdeps/powerpc/bits/mathdef.h (float_t): Always define as
35633 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
35634 * sysdeps/sparc/bits/mathdef.h: Likewise.
35636 2012-01-31 Marek Polacek <polacek@redhat.com>
35638 * libio/libio.h: Don't define _PARAMS.
35639 * locale/programs/config.h: Don't define PARAMS.
35640 * stdlib/strtol_l.c: Likewise.
35641 (__strtol_l): Remove PARAMS from the prototype.
35643 2012-01-31 Ulrich Drepper <drepper@gmail.com>
35645 * malloc/malloc.c: Remove name translation. Don't use mixed-cap
35646 names. Just use the correct names. Remove unnecessary wrapper
35648 * malloc/arena.c: Likewise.
35649 * malloc/hooks.c: Likewise.
35651 * malloc/arena.c (arena_get2): Really don't call __get_nprocs if
35652 ARENA_TEST says not to. Simplify test for creation of a new arena.
35653 Partially based on a patch by Siddhesh Poyarekar <siddhesh@redhat.com>.
35655 2012-01-30 Ulrich Drepper <drepper@gmail.com>
35657 * elf/dl-tls.c (__tls_get_addr): Optimize by transforming all calls
35659 (update_get_addr): New function.
35660 (tls_get_addr_tail): Take GET_ADDR_ARGS parameter, remove
35661 GET_ADDR_MODULE parameter.
35663 2012-01-30 Joseph Myers <joseph@codesourcery.com>
35665 * crypt/cert.c: Remove __STDC__ conditionals.
35666 * crypt/crypt-entry.c: Likewise.
35667 * crypt/crypt_util.c: Likewise.
35668 * libio/filedoalloc.c: Likewise.
35669 * libio/fileops.c: Likewise.
35670 * libio/genops.c: Likewise.
35671 * libio/iofclose.c: Likewise.
35672 * libio/iofdopen.c: Likewise.
35673 * libio/iofopen.c: Likewise.
35674 * libio/iofopen64.c: Likewise.
35675 * libio/iogetdelim.c: Likewise.
35676 * libio/iopopen.c: Likewise.
35677 * libio/obprintf.c: Likewise.
35678 * libio/oldfileops.c: Likewise.
35679 * libio/oldiofclose.c: Likewise.
35680 * libio/oldiofdopen.c: Likewise.
35681 * libio/oldiofopen.c: Likewise.
35682 * libio/oldiopopen.c: Likewise.
35683 * libio/wfiledoalloc.c: Likewise.
35684 * libio/wgenops.c: Likewise.
35685 * locale/programs/xmalloc.c: Likewise.
35686 * misc/syslog.c: Likewise.
35687 * stdio-common/xbug.c: Likewise.
35688 * string/memchr.c: Likewise.
35689 * string/memcmp.c: Likewise.
35690 * string/memrchr.c: Likewise.
35691 * string/rawmemchr.c: Likewise.
35692 * sysdeps/posix/getcwd.c: Likewise.
35693 * time/strftime_l.c: Likewise.
35695 2012-01-30 Joseph Myers <joseph@codesourcery.com>
35697 * configure.in (libc_cv_cc_sse2avx): AC_SUBST.
35698 * config.make.in (config-cflags-sse2avx): Define.
35699 * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-slowexp-avx.c):
35702 2012-01-29 Chris Metcalf <cmetcalf@tilera.com>
35704 * scripts/config.guess: Update from upstream config git repository.
35705 * scripts/config.sub: Likewise.
35707 2012-01-28 Chris Metcalf <cmetcalf@tilera.com>
35709 * elf/elf.h (EM_TILEPRO, EM_TILEGX): New macros.
35711 (R_TILEPRO_*, R_TILEGX_*): New macros.
35713 * scripts/firstversions.awk: Fix bug in version range handling.
35715 * sysdeps/unix/sysv/linux/grantpt.c: Use <> brackets for not-cancel.h.
35717 * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Call __fxstatat64.
35719 * include/sys/epoll.h: New file.
35720 * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Mark as
35723 2012-01-28 Ulrich Drepper <drepper@gmail.com>
35725 * sysdeps/x86_64/fpu/bits/mathinline.h (__signbitl): Optimize a bit.
35726 Avoid unnecessary __WORDSIZE == 64 test.
35727 (fmaxf): Use VEX format if possible.
35732 * config.h.in: Define HAVE_SSE2AVX_SUPPORT.
35733 * math/math_private.h: Remove libc_fegetround* and
35735 * sysdeps/i386/configure.in: Check for -msse2avx.
35736 * sysdeps/x86_64/fpu/math_private.h: Use VEX-encoded instructions
35737 also if SSE2AVX is defined.
35738 Remove libc_fegetround* and libc_fesetround*.
35739 * sysdeps/x86_64/fpu/multiarch/Makefile: Compile *-avx functions
35740 if config-cflags-sse2avx is yes. Also add -DSSE2AVX to defines.
35741 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_AVX again instead
35743 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
35744 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
35745 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
35746 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
35747 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
35749 * sysdeps/x86_64/fpu/math_private.h: Simplify use of AVX instructions.
35751 2012-01-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
35753 * sysdeps/powerpc/powerpc32/a2/memcpy.S: Fix for when cache line
35755 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
35757 2012-01-27 Ulrich Drepper <drepper@gmail.com>
35760 * elf/dl-open.c (dl_open_worker): Sort objects by dependency before
35762 * Makeconfig (libm): Define.
35763 * elf/Makefile: Add rules to build and run tst-relsort1.
35764 * elf/tst-relsort1.c: New file.
35765 * elf/tst-relsort1mod1.c: New file.
35766 * elf/tst-relsort1mod2.c: New file.
35768 2012-01-27 Joseph Myers <joseph@codesourcery.com>
35770 * math/s_ldexp.c: Remove __STDC__ conditionals.
35771 * math/s_ldexpf.c: Likewise.
35772 * math/s_ldexpl.c: Likewise.
35773 * math/s_nextafter.c: Likewise.
35774 * math/s_nexttowardf.c: Likewise.
35775 * math/s_significand.c: Likewise.
35776 * math/s_significandf.c: Likewise.
35777 * math/s_significandl.c: Likewise.
35778 * math/w_jnl.c: Likewise.
35779 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
35780 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
35781 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
35782 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
35783 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
35784 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
35785 * sysdeps/ieee754/dbl-64/k_tan.c: Likewise.
35786 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
35787 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
35788 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
35789 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
35790 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
35791 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
35792 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
35793 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
35794 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
35795 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
35796 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
35797 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
35798 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
35799 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
35800 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
35801 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
35802 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
35803 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
35804 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
35805 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
35806 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
35807 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
35808 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
35809 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
35810 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
35811 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
35812 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
35813 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
35814 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
35815 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
35816 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
35817 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
35818 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
35819 * sysdeps/ieee754/k_standard.c: Likewise.
35820 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
35821 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
35822 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
35823 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
35824 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
35825 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
35826 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
35827 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
35828 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
35829 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
35830 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
35831 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
35832 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
35833 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
35834 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
35835 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
35836 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
35837 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
35838 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
35839 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
35840 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
35841 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
35842 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
35843 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
35844 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
35845 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
35846 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
35847 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
35848 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
35849 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
35850 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
35851 * sysdeps/ieee754/ldbl-128ibm/s_ceill.c: Likewise.
35852 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
35853 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
35854 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
35855 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
35856 * sysdeps/ieee754/ldbl-128ibm/s_floorl.c: Likewise.
35857 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
35858 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
35859 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Likewise.
35860 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Likewise.
35861 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
35862 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
35863 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Likewise.
35864 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
35865 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
35866 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
35867 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
35868 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
35869 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
35870 * sysdeps/ieee754/ldbl-128ibm/s_roundl.c: Likewise.
35871 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
35872 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
35873 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
35874 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
35875 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
35876 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Likewise.
35877 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
35878 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
35879 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
35880 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
35881 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
35882 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
35883 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
35884 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
35885 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
35886 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
35887 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
35888 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
35889 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
35890 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
35891 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
35892 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
35893 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
35894 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
35895 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
35896 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
35897 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
35898 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
35899 * sysdeps/ieee754/s_matherr.c: Likewise.
35900 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
35901 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
35902 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
35903 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
35905 2012-01-26 Joseph Myers <joseph@codesourcery.com>
35907 * crypt/md5.h: Remove __STDC__ conditionals.
35908 * libio/libioP.h: Likewise.
35909 * locale/programs/config.h: Likewise.
35910 * sysdeps/generic/sysdep.h: Likewise.
35911 * sysdeps/i386/asm-syntax.h: Likewise.
35912 * sysdeps/s390/asm-syntax.h: Likewise.
35913 * sysdeps/unix/sysdep.h: Likewise.
35914 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
35915 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
35917 2012-01-26 Joseph Myers <joseph@codesourcery.com>
35919 * libio/libio.h: Remove __STDC__ conditionals.
35920 * malloc/obstack.h: Likewise.
35921 * math/complex.h: Likewise.
35922 * math/math.h: Likewise.
35923 * sysdeps/generic/_G_config.h: Likewise.
35924 * sysdeps/gnu/_G_config.h: Likewise.
35925 * sysdeps/mach/hurd/_G_config.h: Likewise.
35926 * sysdeps/powerpc/bits/mathdef.h: Likewise.
35927 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
35928 * sysdeps/sparc/bits/mathdef.h: Likewise.
35930 2012-01-26 Ulrich Drepper <drepper@gmail.com>
35933 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_OSXSAVE.
35934 Clean up HAS_* macros.
35935 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): If
35936 bit_AVX is set also check OSXAVE/XCR0 and set bit_YMM_Usable if
35938 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_YMM_USABLE, not
35940 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
35941 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
35942 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
35943 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
35944 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
35946 2012-01-25 Joseph Myers <joseph@codesourcery.com>
35948 * elf/tst-unique3.cc (gets): Remove declaration.
35949 * elf/tst-unique3lib.cc (gets): Likewise.
35950 * elf/tst-unique3lib2.cc (gets): Likewise.
35951 * elf/tst-unique4.cc (gets): Likewise.
35953 2012-01-24 Ulrich Drepper <drepper@gmail.com>
35955 * include/stdio.h: Add C++ protection. Add gets declarations and
35957 * debug/tst-chk1.c: Don't declare gets here.
35958 * stdio-common/tst-gets.c: Likewise.
35960 2012-01-24 Joseph Myers <joseph@codesourcery.com>
35962 * posix/glob: Remove directory.
35964 2012-01-24 Joseph Myers <joseph@codesourcery.com>
35966 * wcsmbs/Makefile (tst-c16c32-1-ENV): Define.
35968 2012-01-22 Pino Toscano <toscano.pino@tiscali.it>
35970 * sysdeps/mach/hurd/socket.c (__socket): Return EAFNOSUPPORT instead
35971 of the non-standard EPFNOSUPPORT.
35973 2011-12-26 Samuel Thibault <samuel.thibault@ens-lyon.org>
35975 * sysdeps/mach/hurd/mmap.c (__mmap): When MAPADDR is nonzero, try
35976 __vm_allocate and __vm_map with ANYWHERE set to 0 first, and try with
35977 ANYWHERE set to 1 only on KERN_NO_SPACE error.
35979 2012-01-21 Ulrich Drepper <drepper@gmail.com>
35981 * wcsmbs/uchar.h: Test __STDC_VERSION__.
35983 2012-01-20 Ulrich Drepper <drepper@gmail.com>
35985 * nscd/aicache.c (addhstaiX): Do not cache negative results of
35987 * nscd/grpcache.c (cache_addgr): Likewise.
35988 * nscd/hstcache.c (cache_addhst): Likewise.
35989 * nscd/initgrcache.c (addinitgroupsX): Likewise.
35990 * nscd/pwdcache.c (cache_addpw): Likewise.
35991 * nscd/servicescache.c (cache_addserv): Likewise.
35993 2012-01-16 Ulrich Drepper <drepper@gmail.com>
35995 * malloc/malloc.c: Various cleanups.
35996 * malloc/hooks.c: Likewise.
35998 * stdlib/Makefile (tests): Add bug-fmtmsg1.
35999 * stdlib/bug-fmtmsg1.c: New file.
36001 * stdlib/fmtmsg.c (init): Add missing unlock.
36002 Patch by Peng Haitao <penght@cn.fujitsu.com>.
36004 2012-01-12 Marek Polacek <polacek@redhat.com>
36006 * libio/bits/stdio2.h: Do not define gets for ISO C11, ISO C++11,
36009 2012-01-04 Will Schmidt <will_schmidt@vnet.ibm.com>
36011 * powerpc/powerpc32/sysdep.h: Add GLUE and GENERATE_GOT_LABEL macros.
36012 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Call
36013 macro to ensure uniqueness of label name.
36014 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
36015 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
36017 2012-01-11 Ulrich Drepper <drepper@gmail.com>
36019 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: New file.
36021 * sysdeps/ieee754/dbl-64/s_scalbln.c: Add branch prediction.
36022 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
36023 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
36024 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: New file.
36026 2012-01-10 Ulrich Drepper <drepper@gmail.com>
36028 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: New file.
36030 * sysdeps/ieee754/dbl-64/s_modf.c: Add branch prediction.
36031 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
36032 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
36034 * math/bits/mathcalls.h: Add const attribute to fmin and fmax.
36036 * sysdeps/ieee754/dbl-64/s_scalbn.c: Add branch prediction.
36037 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
36038 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
36039 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: New file.
36041 * math/bits/math-finite.h: Add ldexp support.
36043 2012-01-10 Marek Polacek <polacek@redhat.com>
36045 * locale/programs/localedef.h (show_archive_content): Add noreturn
36048 2012-01-09 Ulrich Drepper <drepper@gmail.com>
36050 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Add branch prediction.
36052 2012-01-08 Ulrich Drepper <drepper@gmail.com>
36054 * io/bits/poll2.h: Add __BEGIN/__END_DECLS.
36056 * io/Makefile (headers): Add bits/poll2.h.
36058 2011-01-05 Will Schmidt <will_schmidt@vnet.ibm.com>
36060 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Fix a
36061 typo #include statement.
36063 2012-01-08 Ulrich Drepper <drepper@gmail.com>
36065 * include/sys/cdefs.h: Define __attribute_alloc_size.
36066 * catgets/gencat.c: Add alloc_size attribute and apply consistently
36067 the malloc attribute to xmalloc, xcalloc, xrealloc, and xstrdup.
36068 * elf/pldd.c: Likewise.
36069 * iconv/iconv_charmap.c: Likewise.
36070 * iconv/iconvconfig.c: Likewise.
36071 * iconv/strtab.c: Likewise.
36072 * locale/programs/locale.c: Likewise.
36073 * locale/programs/localedef.h: Likewise.
36074 * locale/programs/simple-hash.c: Likewise.
36075 * nscd/nscd.h: Likewise.
36076 * nss/makedb.c: Likewise.
36077 * sysdeps/generic/ldconfig.h: Likewise.
36078 * locale/programs/localedef.c: Remove xmalloc prototype.
36079 * nscd/mem.c: Remove xmalloc and xcalloc prototypes.
36081 2012-01-05 Paul Pluzhnikov <ppluzhnikov@google.com>
36083 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Use alloca when
36086 2012-01-08 Ulrich Drepper <drepper@gmail.com>
36088 * math/Makefile (tests): Add tst-CMPLX.
36089 * math/tst-CMPLX.c: New file.
36091 * math/complex.h (CMPLXL): Fix typo.
36093 * debug/Makefile (routines): Add poll_chk and ppoll_chk.
36094 * debug/Versions: Export __pool_chk and __ppoll_chk from libc for
36096 * debug/tst-chk1.c: Add poll and ppoll tests.
36097 * io/sys/poll.h: Include bits/poll2.h for _FORTIFY_SOURCE.
36098 * include/sys/poll.h: Add hidden proto for ppoll.
36099 * sysdeps/unix/sysv/linux/ppoll.c: Add hidden def.
36100 * sysdeps/mach/hurd/ppoll.c: Likewise.
36101 * io/ppoll.c: Likewise.
36102 * debug/poll_chk.c: New file.
36103 * debug/ppoll_chk.c: New file.
36104 * include/bits/poll2.h: New file.
36105 * io/bits/poll2.h: New file.
36108 * math/complex.h (CMPLX, CMPLXF, CMPLXL): Define.
36110 * configure.in: static is always set to yes. Remove.
36111 * config.make.in: Don't set build-static.
36112 * Makeconfig: Remove use of build-static.
36113 * dlfcn/Makefile: Likewise.
36114 * elf/Makefile: Likewise.
36115 * math/Makefile: Likewise.
36116 * misc/Makefile: Likewise.
36117 * nptl/Makefile: Likewise.
36118 * sysdeps/mach/hurd/Makefile: Likewise.
36120 * configure.in: PWD_P is not used anymore.
36121 * config.make.in: Remove PWD_P entry.
36123 * configure.in: Remove last remnants of RANLIB.
36124 No need to check for signed size_t anymore.
36125 Don't set libc_commonpagesize and libc_relro_required here for Alpha
36127 Remove __builtin_expect test because we require at least gcc 3.4.
36128 * aclocal.m4: Likewise.
36130 * wcsmbs/mbrtoc16.c: Implement using towc function.
36131 * wcsmbs/wcsmbsload.h: No need for toc16 and fromc16 functions.
36132 * wcsmbs/wcsmbsload.c: Likewise.
36133 * iconv/gconv_simple.c: Likewise.
36134 * iconv/gconv_int.h: Likewise.
36135 * iconv/gconv_builtin.h: Likewise.
36136 * iconv/iconv_prog.c: Remove CHAR16 handling.
36138 * wcsmbs/c16rtomb.c: Remove #if 0'ed code.
36140 * wcsmbs/mbrtowc.c: Better check for invalid inputs.
36142 * configure.in: Remove --with-elf and --enable-bounded options.
36143 Dont set base_machine for ia64. More non-ELF conditions removed.
36144 Remove testing and setting of leading underscore information.
36145 * config.make.in (build-bounded): Set to no.
36146 * config.h.in: Remove NO_UNDERSCORES entry.
36147 * include/libc-symbols.h: Don't define HAVE_WEAK_SYMBOLS. ELF has
36149 * csu/start.c: Remove !NO_UNDERSCORE code.
36150 * locale/localeinfo.h: Likewise.
36151 * sysdeps/generic/machine-gmon.h: Likewise.
36152 * sysdeps/generic/sysdep.h: Likewise.
36153 * sysdeps/i386/sysdep.h: Likewise.
36154 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
36155 * sysdeps/mach/sysdep.h: Likewise.
36156 * sysdeps/s390/s390-32/sysdep.h: Likewise.
36157 * sysdeps/s390/s390-64/sysdep.h: Likewise.
36158 * sysdeps/sh/sysdep.h: Likewise.
36159 * sysdeps/sparc/sparc32/alloca.S: Likewise.
36160 * sysdeps/unix/i386/sysdep.S: Likewise.
36161 * sysdeps/unix/sparc/start.c: Likewise.
36162 * sysdeps/unix/sparc/sysdep.S: Likewise.
36163 * sysdeps/unix/sparc/sysdep.h: Likewise.
36164 * sysdeps/unix/start.c: Likewise.
36165 * sysdeps/unix/x86_64/sysdep.S: Likewise.
36166 * sysdeps/x86_64/sysdep.h: Likewise.
36168 2012-01-07 Ulrich Drepper <drepper@gmail.com>
36171 * misc/sys/cdefs.h: Remove __const, __signed, and __volatile definition
36173 * argp/argp-fmtstream.h: Use const instead __const.
36174 * argp/argp.h: Likewise.
36175 * assert/assert.h: Likewise.
36176 * bits/fenv.h: Likewise.
36177 * bits/sched.h: Likewise.
36178 * bits/sigset.h: Likewise.
36179 * bits/sigthread.h: Likewise.
36180 * catgets/nl_types.h: Likewise.
36181 * conform/data/pthread.h-data: Likewise.
36182 * crypt/crypt-private.h: Likewise.
36183 * crypt/crypt.h: Likewise.
36184 * crypt/crypt_util.c: Likewise.
36185 * ctype/ctype.h: Likewise.
36186 * debug/execinfo.h: Likewise.
36187 * debug/mbsnrtowcs_chk.c: Likewise.
36188 * debug/mbsrtowcs_chk.c: Likewise.
36189 * debug/wcsnrtombs_chk.c: Likewise.
36190 * debug/wcsrtombs_chk.c: Likewise.
36191 * debug/wcstombs_chk.c: Likewise.
36192 * dirent/dirent.h: Likewise.
36193 * dlfcn/dlfcn.h: Likewise.
36194 * elf/neededtest4.c: Likewise.
36195 * grp/grp.h: Likewise.
36196 * gshadow/gshadow.h: Likewise.
36197 * iconv/gconv.h: Likewise.
36198 * iconv/gconv_int.h: Likewise.
36199 * iconv/gconv_simple.c: Likewise.
36200 * iconv/iconv.h: Likewise.
36201 * iconv/loop.c: Likewise.
36202 * iconv/skeleton.c: Likewise.
36203 * include/aio.h: Likewise.
36204 * include/aliases.h: Likewise.
36205 * include/argz.h: Likewise.
36206 * include/arpa/inet.h: Likewise.
36207 * include/assert.h: Likewise.
36208 * include/dirent.h: Likewise.
36209 * include/dlfcn.h: Likewise.
36210 * include/execinfo.h: Likewise.
36211 * include/fcntl.h: Likewise.
36212 * include/fenv.h: Likewise.
36213 * include/glob.h: Likewise.
36214 * include/grp.h: Likewise.
36215 * include/libintl.h: Likewise.
36216 * include/mntent.h: Likewise.
36217 * include/netdb.h: Likewise.
36218 * include/pwd.h: Likewise.
36219 * include/rpc/netdb.h: Likewise.
36220 * include/sched.h: Likewise.
36221 * include/search.h: Likewise.
36222 * include/shadow.h: Likewise.
36223 * include/signal.h: Likewise.
36224 * include/stdio.h: Likewise.
36225 * include/stdlib.h: Likewise.
36226 * include/string.h: Likewise.
36227 * include/sys/socket.h: Likewise.
36228 * include/sys/stat.h: Likewise.
36229 * include/sys/statfs.h: Likewise.
36230 * include/sys/statvfs.h: Likewise.
36231 * include/sys/syslog.h: Likewise.
36232 * include/sys/time.h: Likewise.
36233 * include/sys/uio.h: Likewise.
36234 * include/time.h: Likewise.
36235 * include/unistd.h: Likewise.
36236 * include/utmp.h: Likewise.
36237 * include/wchar.h: Likewise.
36238 * include/wctype.h: Likewise.
36239 * inet/aliases.h: Likewise.
36240 * inet/arpa/inet.h: Likewise.
36241 * inet/netinet/ether.h: Likewise.
36242 * inet/netinet/in.h: Likewise.
36243 * intl/libintl.h: Likewise.
36244 * io/bits/fcntl2.h: Likewise.
36245 * io/fcntl.h: Likewise.
36246 * io/ftw.h: Likewise.
36247 * io/sys/poll.h: Likewise.
36248 * io/sys/stat.h: Likewise.
36249 * io/sys/statfs.h: Likewise.
36250 * io/sys/statvfs.h: Likewise.
36251 * io/utime.h: Likewise.
36252 * libio/bits/stdio.h: Likewise.
36253 * libio/bits/stdio2.h: Likewise.
36254 * libio/libio.h: Likewise.
36255 * libio/libioP.h: Likewise.
36256 * libio/stdio.h: Likewise.
36257 * locale/lc-ctype.c: Likewise.
36258 * locale/locale.h: Likewise.
36259 * login/utmp.h: Likewise.
36260 * malloc/arena.c: Likewise.
36261 * malloc/malloc.c: Likewise.
36262 * malloc/malloc.h: Likewise.
36263 * malloc/mcheck.c: Likewise.
36264 * malloc/mtrace.c: Likewise.
36265 * math/bits/mathcalls.h: Likewise.
36266 * math/fenv.h: Likewise.
36267 * math/math_private.h: Likewise.
36268 * misc/bits/error.h: Likewise.
36269 * misc/bits/syslog.h: Likewise.
36270 * misc/err.h: Likewise.
36271 * misc/error.h: Likewise.
36272 * misc/fstab.h: Likewise.
36273 * misc/mntent.h: Likewise.
36274 * misc/regexp.h: Likewise.
36275 * misc/search.h: Likewise.
36276 * misc/sgtty.h: Likewise.
36277 * misc/sys/mman.h: Likewise.
36278 * misc/sys/syslog.h: Likewise.
36279 * misc/sys/uio.h: Likewise.
36280 * misc/sys/xattr.h: Likewise.
36281 * misc/ttyent.h: Likewise.
36282 * nis/rpcsvc/ypclnt.h: Likewise.
36283 * nss/nss.h: Likewise.
36284 * posix/bits/unistd.h: Likewise.
36285 * posix/fnmatch.h: Likewise.
36286 * posix/glob.h: Likewise.
36287 * posix/sched.h: Likewise.
36288 * posix/spawn.h: Likewise.
36289 * posix/sys/wait.h: Likewise.
36290 * posix/unistd.h: Likewise.
36291 * posix/wordexp.h: Likewise.
36292 * pwd/pwd.h: Likewise.
36293 * resolv/netdb.h: Likewise.
36294 * resource/sys/resource.h: Likewise.
36295 * rt/aio.h: Likewise.
36296 * rt/bits/mqueue2.h: Likewise.
36297 * rt/mqueue.h: Likewise.
36298 * shadow/shadow.h: Likewise.
36299 * signal/signal.h: Likewise.
36300 * socket/send.c: Likewise.
36301 * socket/sendto.c: Likewise.
36302 * socket/sys/socket.h: Likewise.
36303 * stdio-common/printf.h: Likewise.
36304 * stdlib/bits/stdlib.h: Likewise.
36305 * stdlib/fmtmsg.h: Likewise.
36306 * stdlib/monetary.h: Likewise.
36307 * stdlib/stdlib.h: Likewise.
36308 * stdlib/ucontext.h: Likewise.
36309 * streams/stropts.h: Likewise.
36310 * string/argz.h: Likewise.
36311 * string/bits/string2.h: Likewise.
36312 * string/string.h: Likewise.
36313 * string/strings.h: Likewise.
36314 * sunrpc/rpc/auth.h: Likewise.
36315 * sunrpc/rpc/auth_des.h: Likewise.
36316 * sunrpc/rpc/clnt.h: Likewise.
36317 * sunrpc/rpc/netdb.h: Likewise.
36318 * sunrpc/rpc/pmap_clnt.h: Likewise.
36319 * sunrpc/rpc/xdr.h: Likewise.
36320 * sysdeps/generic/inttypes.h: Likewise.
36321 * sysdeps/generic/net/if.h: Likewise.
36322 * sysdeps/generic/sys/swap.h: Likewise.
36323 * sysdeps/gnu/net/if.h: Likewise.
36324 * sysdeps/gnu/utmpx.h: Likewise.
36325 * sysdeps/i386/fpu/bits/fenv.h: Likewise.
36326 * sysdeps/i386/i486/bits/string.h: Likewise.
36327 * sysdeps/ieee754/ldbl-opt/nldbl-strtold_l.c: Likewise.
36328 * sysdeps/s390/bits/string.h: Likewise.
36329 * sysdeps/s390/fpu/bits/fenv.h: Likewise.
36330 * sysdeps/sparc/fpu/bits/fenv.h: Likewise.
36331 * sysdeps/sparc/fpu/bits/mathinline.h: Likewise.
36332 * sysdeps/unix/sysv/linux/bits/resource.h: Likewise.
36333 * sysdeps/unix/sysv/linux/bits/sched.h: Likewise.
36334 * sysdeps/unix/sysv/linux/bits/sigset.h: Likewise.
36335 * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
36336 * sysdeps/unix/sysv/linux/bits/sys_errlist.h: Likewise.
36337 * sysdeps/unix/sysv/linux/bits/uio.h: Likewise.
36338 * sysdeps/unix/sysv/linux/i386/glob64.c: Likewise.
36339 * sysdeps/unix/sysv/linux/i386/olddirent.h: Likewise.
36340 * sysdeps/unix/sysv/linux/preadv.c: Likewise.
36341 * sysdeps/unix/sysv/linux/prlimit.c: Likewise.
36342 * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
36343 * sysdeps/unix/sysv/linux/readv.c: Likewise.
36344 * sysdeps/unix/sysv/linux/s390/s390-32/utmp-convert.h: Likewise.
36345 * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
36346 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
36347 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
36348 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
36349 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
36350 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Likewise.
36351 * sysdeps/unix/sysv/linux/sys/acct.h: Likewise.
36352 * sysdeps/unix/sysv/linux/sys/epoll.h: Likewise.
36353 * sysdeps/unix/sysv/linux/sys/mount.h: Likewise.
36354 * sysdeps/unix/sysv/linux/sys/swap.h: Likewise.
36355 * sysdeps/unix/sysv/linux/sys/timerfd.h: Likewise.
36356 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
36357 * sysdeps/x86_64/fpu/bits/fenv.h: Likewise.
36358 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Likewise.
36359 * sysdeps/x86_64/strncase_l-nonascii.c: Likewise.
36360 * sysvipc/sys/ipc.h: Likewise.
36361 * sysvipc/sys/msg.h: Likewise.
36362 * sysvipc/sys/sem.h: Likewise.
36363 * sysvipc/sys/shm.h: Likewise.
36364 * termios/termios.h: Likewise.
36365 * time/sys/time.h: Likewise.
36366 * time/time.h: Likewise.
36367 * wcsmbs/bits/wchar2.h: Likewise.
36368 * wcsmbs/uchar.h: Likewise.
36369 * wcsmbs/wchar.h: Likewise.
36370 * wctype/wctype.h: Likewise.
36373 * Makeconfig: Remove all but ELF support including AIX support.
36374 * Makerules: Likewise.
36375 * config.h.in: Likewise.
36376 * config.make.in: Likewise.
36377 * configure: Likewise.
36378 * configure.in: Likewise.
36379 * csu/Makefile: Likewise.
36380 * csu/version.c: Likewise.
36381 * debug/Makefile: Likewise.
36382 * dlfcn/Makefile: Likewise.
36383 * elf/Makefile: Likewise.
36384 * extra-lib.mk: Likewise.
36385 * iconv/Makefile: Likewise.
36386 * include/libc-symbols.h: Likewise.
36387 * include/shlib-compat.h: Likewise.
36388 * resolv/Makefile: Likewise.
36389 * resolv/res_libc.c: Likewise.
36390 * rt/Makefile: Likewise.
36391 * sysdeps/i386/asm-syntax.h: Likewise.
36392 * sysdeps/i386/sysdep.h: Likewise.
36393 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
36394 * sysdeps/mach/sysdep.h: Likewise.
36395 * sysdeps/powerpc/powerpc32/Makefile: Likewise.
36396 * sysdeps/powerpc/powerpc64/Makefile: Likewise.
36397 * sysdeps/s390/asm-syntax.h: Likewise.
36398 * sysdeps/s390/s390-32/sysdep.h: Likewise.
36399 * sysdeps/s390/s390-64/sysdep.h: Likewise.
36400 * sysdeps/sh/sysdep.h: Likewise.
36401 * sysdeps/unix/sparc/sysdep.h: Likewise.
36402 * sysdeps/wordsize-32/divdi3.c: Likewise.
36403 * sysdeps/x86_64/sysdep.h: Likewise.
36405 * argp/Versions: Remove _argp_unlock_xxx.
36408 * abilist/ld.abilist: Update. Adjust for removal of tls option.
36409 * abilist/libBrokenLocale.abilist: Likewise.
36410 * abilist/libanl.abilist: Likewise.
36411 * abilist/libc.abilist: Likewise.
36412 * abilist/libcrypt.abilist: Likewise.
36413 * abilist/libdl.abilist: Likewise.
36414 * abilist/libm.abilist: Likewise.
36415 * abilist/libnsl.abilist: Likewise.
36416 * abilist/libpthread.abilist: Likewise.
36417 * abilist/libresolv.abilist: Likewise.
36418 * abilist/librt.abilist: Likewise.
36419 * abilist/libthread_db.abilist: Likewise.
36420 * abilist/libutil.abilist: Likewise.
36421 * abilist/libnss_db.abilist: New file.
36423 * scripts/abilist.awk: Add support for indirect functions.
36425 * sysdeps/unix/sysv/linux/configure.in: Remove m68k support.
36427 * sysdeps/generic/ldsodefs.h: Remove Alpha support.
36429 * shlib-versions: Remove entries for ports architectures.
36431 * elf/tls-macros.h: Remove support for Alpha and IA-64. Should be in
36433 * elf/stackguard-macros.h: Remove support for IA-64.
36434 * elf/tst-auditmod1.c: Likewise.
36435 * sysdeps/generic/ldsodefs.h: Likewise.
36437 * sysdeps/unix/sysv/linux/configure.in: Ports should define
36438 libc_cv_gcc_unwind_find_fde and arch_minimum_kernel in their
36442 * configure.in: Remove --enable-omitfp support.
36444 * config.make.in: Likewise.
36445 * Makeconfig: Likewise.
36446 * manual/install.texi: Likewise.
36448 In case anyone cares, the IA-64 architecture could move to ports.
36449 * sysdeps/ia64/*: Removed.
36450 * sysdeps/unix/sysv/linux/ia64/*: Removed.
36451 * sysdeps/unix/sysv/linux/kernel-features.h: Remove IA-64 support.
36454 * configure.in: Remove entries for unsupported architectures.
36457 * iconv/gconv_builtin.h: Use CHAR16 for the char16_t conversions.
36458 * iconv/gconv_simple.c: Rename char16_t routines. Add char16_t<->utf8
36460 * iconv/gconv_int.h: Adjust prototypes for char16_t routines.
36461 * iconv/iconv_prog.c: Recognize CHAR16 as internal name.
36462 * wcsmbs/c16rtomb.c: Fix a few problems. Disable all the code and
36463 fall back to using wcrtomb.
36464 * wcsmbs/mbrtoc16.: Fix implementation to handle real conversions.
36465 * wcsmbs/wcsmbsload.c: Make char16 routines optional. Adjust for
36467 * wcsmbs/Makefile (tests): Add tst-c16c32-1:
36468 * wcsmbs/tst-c16c32-1.c: New file.
36470 * wcsmbs/wcrtomb.c: Use MB_LEN_MAX instead of MB_CUR_MAX for sizing
36473 * libio/stdio.h: Do not declare gets at all for _GNU_SOURCE.
36475 * elf/tst-unique3.cc: Add explicit declaration of gets.
36476 * elf/tst-unique3lib.cc: Likewise.
36477 * elf/tst-unique3lib2.cc: Likewise.
36478 * elf/tst-unique4.cc: Likewise.
36480 * string/test-strcpy.c (do_one_test): Fix format string for WIDE use.
36482 2012-01-06 Joseph Myers <joseph@codesourcery.com>
36485 * assert/assert.h (static_assert): Don't define for C++.
36486 * libio/stdio.h (gets): Do declare for C++ <= C++11.
36487 * wcsmbs/uchar.h (char16_t, char32_t): Don't typedef for C++11.
36489 2012-01-03 Ulrich Drepper <drepper@gmail.com>
36491 * iconv/loop.c (single loop): Fix assertion in storing of
36494 * posix/regcomp.c (init_word_char): Optimize a bit for sane encodings.
36496 2012-01-01 Ulrich Drepper <drepper@gmail.com>
36498 * posix/getconf.c: Update copyright year.
36499 * nss/getent.c: Likewise.
36500 * nss/makedb.c: Likewise.
36501 * iconv/iconvconfig.c: Likewise.
36502 * iconv/iconv_prog.c: Likewise.
36503 * elf/ldconfig.c: Likewise.
36504 * elf/pldd.c: Likewise.
36505 * elf/sotruss.ksh: Likewise.
36506 * catgets/gencat.c: Likewise.
36507 * csu/version.c: Likewise.
36508 * elf/ldd.bash.in: Likewise.
36509 * elf/sprof.c (print_version): Likewise.
36510 * locale/programs/locale.c: Likewise.
36511 * locale/programs/localedef.c: Likewise.
36512 * login/programs/pt_chown.c: Likewise.
36513 * nscd/nscd.c (print_version): Likewise.
36514 * debug/xtrace.sh: Likewise.
36515 * malloc/memusage.sh: Likewise.
36516 * malloc/mtrace.pl: Likewise.
36517 * debug/catchsegv.sh: Likewise.
36519 2011-12-30 Jakub Jelinek <jakub@redhat.com>
36521 * posix/regex_internal.c (re_string_fetch_byte_case): Remove
36524 2011-12-24 Ulrich Drepper <drepper@gmail.com>
36527 * iconv/gconv_simple.c: Add ASCII<->UTF-16 transformations.
36528 * iconv/gconv_builtin.h: Add entries for internal ASCII<->UTF-16
36530 * iconv/gconv_int.h: Likewise.
36531 * wcsmbs/Makefile (routines): Add mbrtoc16 and c16rtomb.
36532 * wcsmbs/Versions: Export mbrtoc16, c16rtomb, mbrtoc32, c32rtomb
36533 from libc for GLIBC_2.16.
36534 * wcsmbs/mbrtowc.c: Define mbrtoc32 alias.
36535 * wcsmbs/wcrtomb.c: Define c32rtomb alias.
36536 * wcsmbs/uchar.h: Really define mbstate_t.
36537 * wcsmbs/wchar.h: Allow defining mbstate_t in uchar.h.
36538 * wcsmbs/c16rtomb.c: New file.
36539 * wcsmbs/mbrtoc16.c: New file.
36540 * wcsmbs/wcsmbsload.c: Add static definitions for c16 conversions
36541 for C/POSIX locale.
36542 (__wcsmbs_load_conv): Do not fill in c16 routines yet.
36543 * wcsmbs/wcsmbsload.h (gconv_fcts): Add entries for c16 routines.
36545 * wcsmbs/wchar.h: Add missing __restrict.
36547 2011-12-23 Ulrich Drepper <drepper@gmail.com>
36550 * time/Makefile (routines): Add timespec_get.
36551 * time/Versions: Export timespec_get from libc for GLIBC_2.16.
36552 * time/time.h: Define TIME_UTC and declare timespec_get. Define
36553 timespec for ISO C11.
36554 * time/timespec_get.c: New file.
36555 * sysdeps/unix/sysv/linux/timespec_get.c: New file.
36556 * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: New file.
36559 * malloc/malloc.c: Define alias aligned_alloc for public_mEMALIGn.
36560 * stdlib/stdlib.h: Declare aligned_alloc.
36561 * Versions.def: Add GLIBC_2.16 for libc.
36562 * malloc/Versions: Export aligned_alloc from libc for GLIBC_2.16.
36565 * stdlib/stdlib.h: Make at_quick_exit and quick_exit available for
36568 * include/features.h: Define __USE_ISOCXX11 when compiling ISO C++11
36572 * libio/stdio.h: Do not declare gets for ISO C11 and _GNU_SOURCE.
36575 * assert/assert.h (static_assert): Define.
36577 * version.h: Update for 2.16 development version.
36580 * include/features.h: Handle __STDC_VERSION__ >= 201112 and
36583 * version.h (RELEASE): Bump for 2.15 release.
36584 * include/features.h (__GLIBC_MINOR__): Bump to 15.
36586 * sysdeps/x86_64/dl-machine.h: Fix typos in comments.
36587 Patch by Marek Polacek <mpolacek@redhat.com>.
36589 * bits/byteswap.h: Protect long long constants with __extension__.
36590 * sysdeps/i386/bits/byteswap.h: Likewise.
36591 * sysdeps/ia64/bits/byteswap.h: Likewise.
36592 * sysdeps/s390/bits/byteswap.h: Likewise.
36593 * sysdeps/x86_64/bits/byteswap.h: Likewise.
36595 2011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
36598 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Fix overrun in
36599 destination buffer.
36600 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
36602 2011-12-23 Marek Polacek <polacek@redhat.com>
36604 * elf/dl-addr.c (determine_info): Add inline keyword.
36605 * elf/tst-auditmod4b.c (check_avx): Likewise.
36606 * elf/tst-auditmod6b.c (check_avx): Likewise.
36607 * elf/tst-auditmod6c.c (check_avx): Likewise.
36608 * elf/tst-auditmod7b.c (check_avx): Likewise.
36610 2011-12-23 Ulrich Drepper <drepper@gmail.com>
36612 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Also enable for
36615 2011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
36618 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Fix wrong copying
36619 processing for last bytes.
36621 2011-08-06 Bruno Haible <bruno@clisp.org>
36624 * iconvdata/cp1258.c (comp_table_data): Combine U+00A8 U+0301 to
36625 U+0385, not to U+1FEE.
36628 * iconvdata/tcvn5712-1.c (comp_table_data): Remove useless and wrong
36629 entry for U+00A5 U+0301.
36631 2011-12-22 Ulrich Drepper <drepper@gmail.com>
36634 * inet/getnameinfo.c (getnameinfo): Return EAI_OVERFLOW if the
36635 buffer for the output is too small.
36637 * sysdeps/i386/fpu/bits/fenv.h [__SSE_MATH__]: Add feraiseexcept
36641 * sysdeps/i386/fpu/fgetexcptflg.c (__fegetexceptflag): Also return
36642 SSE flags if possible.
36644 2011-12-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
36647 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Fix wrong copying
36648 processing for last bytes.
36650 2011-12-22 Joseph Myers <joseph@codesourcery.com>
36652 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants)
36653 (syscall-list-default-options, syscall-list-default-condition)
36654 (syscall-list-includes): Define.
36655 ($(objpfx)syscall-%.h $(objpfx)syscall-%.d): Support arbitrary
36656 list of ABIs and options and #if conditions for each ABI. Do not
36657 handle common syscalls between ABIs specially.
36658 * sysdeps/unix/sysv/linux/powerpc/Makefile (64bit-predefine):
36660 (syscall-list-variants, syscall-list-32bit-options)
36661 (syscall-list-32bit-condition, syscall-list-64bit-options)
36662 (syscall-list-64bit-condition): Define.
36663 * sysdeps/unix/sysv/linux/s390/Makefile (64bit-predefine): Remove.
36664 (syscall-list-variants, syscall-list-32bit-options)
36665 (syscall-list-32bit-condition, syscall-list-64bit-options)
36666 (syscall-list-64bit-condition): Define.
36667 * sysdeps/unix/sysv/linux/sparc/Makefile (64bit-predefine):
36669 (syscall-list-variants, syscall-list-32bit-options)
36670 (syscall-list-32bit-condition, syscall-list-64bit-options)
36671 (syscall-list-64bit-condition): Define.
36672 * sysdeps/unix/sysv/linux/x86_64/Makefile (64bit-predefine):
36674 (syscall-list-variants, syscall-list-32bit-options)
36675 (syscall-list-32bit-condition, syscall-list-64bit-options)
36676 (syscall-list-64bit-condition): Define.
36678 2011-12-22 Ulrich Drepper <drepper@gmail.com>
36680 * locale/iso-639.def: Add brx entry.
36683 * malloc/mtrace.c (tr_freehook): Avoid unnecessary unlock/lock.
36684 Proposed by Mariusz_Cukr <marcukr@op.pl>.
36686 * sysdeps/x86_64/fpu/bits/fenv.h: Use __REDIRECT_NTH for
36687 __feraiseexcept_renamed.
36689 2011-12-21 Ulrich Drepper <drepper@gmail.com>
36692 * sysdeps/unix/sysv/linux/sys/epoll.h: Initialize EPOLLONESHOT and
36693 EPOLLET with unsigned values.
36694 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
36695 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
36697 * math/s_cacosh.c: Use Kahan's formula if the subtraction could lead
36698 to large cancellation.
36699 * math/s_cacoshf.c: Likewise.
36700 * math/s_cacoshl.c: Likewise.
36702 2011-11-18 Richard B. Kreckel <kreckel@ginac.de>
36706 * math/s_cacosh.c: Fix rare miscomputation in cacosh().
36707 * math/s_cacoshf.c: Likewise.
36708 * math/s_cacoshl.c: Likewise.
36710 2011-12-21 Ulrich Drepper <drepper@gmail.com>
36713 * iconv/gconv.h: Define __GCONV_SWAP.
36714 * iconvdata/unicode.c: The swap bit must be stored in __flags.
36715 * iconvdata/utf-16.c: Likewise.
36716 * iconvdata/utf-32.c: Likewise.
36718 2011-12-21 Andreas Schwab <schwab@linux-m68k.org>
36721 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Clear lowest limb of
36722 numerator after shifting it by one limb.
36724 2011-12-19 Rafael Ávila de Espíndola <rafael.espindola@gmail.com>
36726 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Define it only
36727 under [__USE_EXTERN_INLINES].
36729 2011-12-17 Ulrich Drepper <drepper@gmail.com>
36732 * stdio-common/vfprintf.c (vfprintf): Fix extension of specs array.
36734 2011-11-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
36736 * sysdeps/powerpc/Makefile: Added locale-defines.sym generation.
36737 * sysdeps/powerpc/locale-defines.sym: Locale definitions for strcasecmp
36739 * sysdeps/powerpc/powerpc32/power7/Makefile: New file.
36740 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: New file.
36741 * sysdeps/powerpc/powerpc32/power7/strcasecmp_l.S: New file.
36742 * sysdeps/powerpc/powerpc64/power7/Makefile: Added unroll-loop option
36743 for strncasecmp/strncasecmp_l compilation.
36744 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: New file.
36745 * sysdeps/powerpc/powerpc64/power7/strcasecmp_l.S: New file.
36747 2011-12-08 Marek Polacek <mpolacek@redhat.com>
36750 * math/bits/math-finite.h: Use __REDIRECT_NTH and __NTH instead
36753 2011-12-17 Ulrich Drepper <drepper@gmail.com>
36756 * time/tzfile.c (__tzfile_read): Check values from file header.
36758 2011-11-21 Will Schmidt <will_schmidt@vnet.ibm.com>
36760 * powerpc/powerpc32/sysdep.h: Define SETUP_GOT_ACCESS() macro.
36761 * powerpc/powerpc32/a2/memcpy.S: Use SETUP_GOT_ACCESS() macro.
36762 * powerpc/powerpc32/dl-start.S: Likewise.
36763 * powerpc/powerpc32/elf/start.S: Likewise.
36764 * powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
36765 * powerpc/powerpc32/fpu/s_ceil.S: Likewise.
36766 * powerpc/powerpc32/fpu/s_ceilf.S: Likewise.
36767 * powerpc/powerpc32/fpu/s_floor.S: Likewise.
36768 * powerpc/powerpc32/fpu/s_floorf.S: Likewise.
36769 * powerpc/powerpc32/fpu/s_lround.S: Likewise.
36770 * powerpc/powerpc32/fpu/s_rint.S: Likewise.
36771 * powerpc/powerpc32/fpu/s_rintf.S: Likewise.
36772 * powerpc/powerpc32/fpu/s_round.S: Likewise.
36773 * powerpc/powerpc32/fpu/s_roundf.S: Likewise.
36774 * powerpc/powerpc32/fpu/s_trunc.S: Likewise.
36775 * powerpc/powerpc32/fpu/s_truncf.S: Likewise.
36776 * powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
36777 * powerpc/powerpc32/memset.S: Likewise.
36778 * powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
36779 * powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
36780 * powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
36781 * powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
36782 * powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
36783 * powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
36784 * powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
36785 * powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
36786 * unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Likewise.
36787 * unix/sysv/linux/powerpc/powerpc32/brk.S: Likewise.
36788 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Likewise.
36789 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
36790 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
36792 2011-11-18 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
36794 * math/libm-test.inc: Added more nearbyint tests.
36795 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S: New file.
36796 * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S: New file.
36797 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S: New file.
36798 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: New file.
36800 2011-11-21 Ross Lagerwall <rosslagerwall@gmail.com>
36802 * resolv/res_init.c (__res_vinit): Open /etc/resolv.conf with
36805 2011-11-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
36807 * sysdeps/x86_64/multiarch/Makefile [subdir=wcsmbs] (sysdep_routines):
36808 Add wcscpy-ssse3 wcscpy-c.
36809 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: New file.
36810 * sysdeps/x86_64/multiarch/wcscpy-c.c: New file.
36811 * sysdeps/x86_64/multiarch/wcscpy.S: New file.
36812 * sysdeps/x86_64/wcschr.S: New file.
36813 * sysdeps/x86_64/wcsrchr.S: New file.
36814 * string/test-strcmp.c: Remove checking of wcscmp function for
36816 * sysdeps/i386/i686/multiarch/Makefile [subdir=wcsmbs]
36817 (sysdep_routines): Add wcscpy-ssse3 wcscpy-c wcschr-sse2 wcschr-c
36818 wcsrchr-sse2 wcsrchr-c.
36819 * sysdeps/i386/i686/multiarch/wcschr.S: New file.
36820 * sysdeps/i386/i686/multiarch/wcschr-c.c: New file.
36821 * sysdeps/i386/i686/multiarch/wcschr-sse2.S: New file.
36822 * sysdeps/i386/i686/multiarch/wcsrchr.S: New file.
36823 * sysdeps/i386/i686/multiarch/wcsrchr-c.c: New file.
36824 * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: New file.
36825 * sysdeps/i386/i686/multiarch/wcscpy.S: New file.
36826 * sysdeps/i386/i686/multiarch/wcscpy-c.c: New file.
36827 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: New file.
36828 * wcsmbc/wcschr.c (WCSCHR): New macro.
36830 2011-11-17 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
36832 * wcsmbs/Makefile (strop-tests): Add wcsrchr wcscpy.
36833 * wcsmbs/test-wcsrchr.c: New file.
36834 * string/test-strrchr.c: Add wcsrchr support.
36836 * wcsmbs/test-wcscpy.c: New file.
36837 * string/test-strcpy.c: Add wcscpy support.
36840 2011-12-10 Ulrich Drepper <drepper@gmail.com>
36842 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Lift one operation out of
36845 2011-12-06 Andreas Schwab <schwab@linux-m68k.org>
36848 * sysdeps/powerpc/fpu/e_hypot.c (twoM600): Correct value.
36850 2011-12-04 Ulrich Drepper <drepper@gmail.com>
36852 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Fix attribute.
36853 Minor optimizations.
36855 * sunrpc/clnt_unix.c (clntunix_control): Fix aliasing issues.
36856 * sunrpc/clnt_tcp.c (clnttcp_control): Likewise.
36857 * sunrpc/clnt_udp.c (clntudp_call): Likewise.
36859 2011-12-03 Ulrich Drepper <drepper@gmail.com>
36861 * inet/netinet/in.h: Provide versions of IN6_IS_ADDR_UNSPECIFIED,
36862 IN6_IS_ADDR_LOOPBACK, IN6_IS_ADDR_LINKLOCAL, IN6_IS_ADDR_SITELOCAL,
36863 IN6_IS_ADDR_V4MAPPED, IN6_IS_ADDR_V4COMPAT, and IN6_ARE_ADDR_EQUAL
36864 for gcc to avoid warnings.
36865 * inet/Makefile (tests): Add tst-checks.
36866 * inet/tst-checks.c: New file.
36868 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Add attribute to avoid
36871 * sysdeps/x86_64/multiarch/wmemcmp-c.c: Provide prototype for
36874 * sysdeps/x86_64/fpu/s_scalbln.c: Removed.
36875 * sysdeps/x86_64/fpu/s_scalbn.c: Removed.
36877 * malloc/mcheck.h: Fix use of incorrect encoding in comment.
36879 2011-12-02 Ulrich Drepper <drepper@gmail.com>
36881 * nis/nis_findserv.c (__nis_findfastest_with_timeout): Avoid aliasing
36884 * nscd/aicache.c (addhstaiX): Avoid unused variable warning.
36886 2011-11-29 Joseph Myers <joseph@codesourcery.com>
36888 * sysdeps/unix/sysv/linux/sh/bits/atomic.h (rNOSP): Define
36889 conditional on GCC version.
36890 (__arch_compare_and_exchange_val_8_acq)
36891 (__arch_compare_and_exchange_val_16_acq)
36892 (__arch_compare_and_exchange_val_32_acq, atomic_exchange_and_add)
36893 (atomic_add, atomic_add_negative, atomic_add_zero, atomic_bit_set)
36894 (atomic_bit_test_set): Use rNOSP instead of "r" constraints.
36896 2011-12-02 Joseph Myers <joseph@codesourcery.com>
36898 * sysdeps/sh/backtrace.c: New file.
36900 2011-12-02 Andreas Schwab <schwab@redhat.com>
36902 * misc/bits/select2.h (__FD_ELT): Mark as extension. Add
36905 2011-12-01 Andreas Schwab <schwab@redhat.com>
36907 * sysdeps/unix/sysv/linux/futimes.c: Truncate time values when
36908 falling back to utime.
36910 2011-11-30 Andreas Schwab <schwab@redhat.com>
36912 * sysdeps/s390/fpu/libm-test-ulps: Relax cpow (2 + 3 i, 4 + 0 i)
36913 expectations for float.
36915 2011-11-29 Andreas Schwab <schwab@redhat.com>
36917 * locale/weight.h (findidx): Add parameter len.
36918 * locale/weightwc.h (findidx): Likewise.
36919 * posix/fnmatch_loop.c (FCT): Adjust caller.
36920 * posix/regcomp.c (build_equiv_class): Likewise.
36921 * posix/regex_internal.h (re_string_elem_size_at): Likewise.
36922 * posix/regexec.c (check_node_accept_bytes): Likewise.
36923 * string/strcoll_l.c (STRCOLL): Likewise.
36924 * string/strxfrm_l.c (STRXFRM): Likewise.
36926 2011-11-17 Ulrich Drepper <drepper@gmail.com>
36928 * Makefile.in: Remove CVSOPT handling.
36929 * configure.in: Remove use of AC_REVISION.
36930 * iconvdata/Makefile (distribute): No need to filter out CVS.
36931 * scripts/list-sources.sh: Remove CVS, subversion and monotone
36934 2011-11-16 Andreas Schwab <schwab@redhat.com>
36936 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S
36937 [USE_AS_STRCASECMP_L]: Fix argument offsets for non-PIC.
36938 [USE_AS_STRNCASECMP_L]: Likewise.
36939 (__strcasecmp_ssse3, __strncasecmp_ssse3): Handle
36940 NO_TLS_DIRECT_SEG_REFS.
36941 * sysdeps/i386/i686/multiarch/strcmp-sse4.S [USE_AS_STRCASECMP_L]:
36942 Fix argument offsets for non-PIC.
36943 [USE_AS_STRNCASECMP_L]: Likewise.
36944 (__strcasecmp_sse4_2, __strncasecmp_sse4_2): Handle
36945 NO_TLS_DIRECT_SEG_REFS.
36947 2011-11-15 Ulrich Drepper <drepper@gmail.com>
36949 * locale/loadarchive.c (_nl_load_locale_from_archive): Open files with
36951 * locale/loadlocale.c (_nl_load_locale): Likewise.
36953 2011-11-15 Andreas Schwab <schwab@redhat.com>
36955 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU)
36956 [__ASSUME_POSIX_CPU_TIMERS > 0]: Assign to retval and break.
36957 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c
36958 (SYSCALL_GETTIME): Set errno on error.
36960 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Properly
36961 count references to noai6ai_cached.
36963 2011-11-15 Ulrich Drepper <drepper@gmail.com>
36965 * time/getdate.c (__getdate_r): Set FD_CLOEXEC for given file.
36967 * sysdeps/unix/sysv/linux/readonly-area.c (__readonly_area): Set
36968 FD_CLOEXEC for /proc/self/maps.
36970 * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Set
36971 FD_CLOEXEC for /proc/meminfo.
36973 * sysdeps/posix/getaddrinfo.c (gaiconf_init): Set FD_CLOEXEC for
36976 * resolv/res_query.c (res_hostalias): Don't allow cancellation and set
36977 FD_CLOEXEC for given file.
36979 * resolv/res_hconf.c (do_init): Set FD_CLOEXEC for host.conf.
36981 * resolv/gethnamaddr.c (_sethtent): Don't allow cancellation and set
36982 FD_CLOEXEC for /etc/hosts.
36983 (_gethtent): Likewise.
36985 * nss/nsswitch.c (nss_parse_file): Set FD_CLOEXEC.
36987 * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Don't allow
36988 cancellation and set FD_CLOEXEC for /etc/netgroup.
36990 * nss/nss_files/files-key.c (search): Don't allow cancellation when
36991 reading /etc/publickey.
36993 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Don't
36994 allow cancellation when reading /etc/group.
36996 * nss/nss_files/files-alias.c (internal_setent): Don't allow
36998 (get_next_alias): Likewise for included file. Also set FD_CLOEXEC.
37000 * nss/nss_files/files-XXX.c (internal_setent): Don't allow cancellation
37001 when using data file.
37003 * nis/nss-default.c (init): Set FD_CLOEXEC for /etc/default/nss.
37005 * nis/nis_file.c (read_nis_obj): Set FD_CLOEXEC.
37006 (write_nis_obj): Use "c" and "e" in fopen.
37008 * misc/mntent_r.c (__setmntent): Also append e to fopen format.
37010 * misc/getusershell.c (initshells): Set FD_CLOEXEC for /etc/shells.
37012 * misc/getttyent.c (setttyent): Set FD_CLOEXEC.
37014 * misc/getpass.c (getpass): Set FD_CLOEXEC for /dev/tty.
37016 * intl/localealias.c (read_alias_file): Set FD_CLOEXEC for
37019 * inet/ruserpass.c (ruserpass): Set FD_CLOEXEC for .netrc.
37021 * inet/rcmd.c (iruserfopen): Set FD_CLOEXEC for hosts.equiv.
37023 * iconv/gconv_conf.c (read_conf_file): Set FD_CLOEXEC for config file.
37025 * hesiod/hesiod.c (parse_config_file): Prevent cancellation in config
37026 file parsing and set FD_CLOEXEC.
37028 2011-11-14 Ulrich Drepper <drepper@gmail.com>
37030 * time/tzfile.c (__tzfile_read): Use "e" in fopen call.
37032 2011-11-14 Andreas Schwab <schwab@redhat.com>
37034 * malloc/arena.c (arena_get2): Don't call reused_arena when
37035 _int_new_arena failed.
37037 2011-11-14 Ulrich Drepper <drepper@gmail.com>
37039 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]
37040 (sysdep_routines): Add strcasecmp_l-sse4 and strncase_l-sse4.
37041 * sysdeps/i386/i686/multiarch/strcasecmp.S: Re-enable SSE4.2 code.
37042 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
37043 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
37044 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Change to allow reuse
37045 to compile strcasecmp and strncasecmp.
37046 * sysdeps/i386/i686/multiarch/strcasecmp_l-sse4.S: New file.
37047 * sysdeps/i386/i686/multiarch/strncase_l-sse4.S: New file.
37049 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Use L macro consistently.
37051 2011-11-13 Ulrich Drepper <drepper@gmail.com>
37053 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]: Add
37054 locale-defines.sym to gen-as-const-headers.
37055 (sysdep_routines): Add strcasecmp_l-c, strcasecmp-c,
37056 strcasecmp_l-ssse3, strncase_l-c, strncase-c, and strncase_l-ssse3.
37057 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Change to allow reuse
37058 to compile strcasecmp and strncasecmp.
37059 * sysdeps/i386/i686/multiarch/strcmp.S: Allow to use for
37060 strcasecmp_l and strncasecmp_l.
37061 * sysdeps/i386/i686/multiarch/locale-defines.sym: New file.
37062 * sysdeps/i386/i686/multiarch/strcasecmp-c.c: New file.
37063 * sysdeps/i386/i686/multiarch/strcasecmp.S: New file.
37064 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c: New file.
37065 * sysdeps/i386/i686/multiarch/strcasecmp_l-ssse3.S: New file.
37066 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: New file.
37067 * sysdeps/i386/i686/multiarch/strncase-c.c: New file.
37068 * sysdeps/i386/i686/multiarch/strncase.S: New file.
37069 * sysdeps/i386/i686/multiarch/strncase_l-c.c: New file.
37070 * sysdeps/i386/i686/multiarch/strncase_l-ssse3.S: New file.
37071 * sysdeps/i386/i686/multiarch/strncase_l.S: New file.
37073 2011-11-12 Ulrich Drepper <drepper@gmail.com>
37075 * sysdeps/unix/clock_gettime.c (clock_gettime): No need to assign
37076 result of SYSDEP_GETTIME_CPU to retval.
37077 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU): Add
37078 parameter list to macro. Remove trailing semicolon. Adjust users.
37080 * resolv/getaddrinfo_a.c (getaddrinfo_a): Avoid warning about unused
37083 * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Avoid storing
37085 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
37087 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Avoid warning
37088 from unused variable.
37090 * sysdeps/generic/sysdep.h: Clean up, pretty print, use dwarf2.h for
37092 * sysdeps/generic/dwarf2.h: Don't define enums when using the file
37095 * elf/dl-iteratephdr.c [!SHARED] (__dl_iterate_phdr): Don't iterate
37098 * sunrpc/rpc_prot.c (rejected): Fix case value.
37100 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS): Use
37101 unsigned long long int to avoid warnings in shift.
37103 * posix/regex_internal.c (re_string_reconstruct): Actually use result
37105 * posix/regex_internal.h (re_string_wchar_at): Remove temporary
37108 * sysdeps/i386/i686/multiarch/wcscmp-c.c: Avoid warning.
37109 * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
37110 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
37112 * nis/nis_table.c (nis_list): Use variable of correct type for
37113 result of __follow_path call.
37115 2011-11-07 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
37117 * sysdeps/powerpc/fpu/math_private.h: Using inline assembly version
37118 of math functions ceil, trunc, floor, round, and sqrt, when
37119 avaliable on the platform.
37120 * sysdeps/powerpc/fpu/e_sqrt.c: Undefine __ieee754_sqrt to avoid
37122 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
37123 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
37124 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
37126 2011-10-30 Marek Polacek <mpolacek@redhat.com>
37128 * libio/wfileops.c (_IO_wfile_underflow_mmap): Remove unused variable.
37129 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
37131 2011-11-11 Roland McGrath <roland@hack.frob.com>
37133 * include/unistd.h: Fix __readlink return type.
37134 Reported by Chris Metcalf <cmetcalf@tilera.com>.
37136 2011-11-11 Ulrich Drepper <drepper@gmail.com>
37138 * stdlib/ucontext.h: Undo last change for makecontext.
37140 2011-11-11 Andreas Schwab <schwab@redhat.com>
37142 * nss/db-Makefile ($(VAR_DB)/group.db): Fix typo in awk script.
37144 * misc/sys/cdefs.h (__REDIRECT_NTHNL): Define.
37145 * setjmp/setjmp.h: Mark functions as non-leaf.
37146 * setjmp/bits/setjmp2.h: Likewise.
37147 * stdlib/ucontext.h: Likewise.
37149 2011-11-10 Andreas Schwab <schwab@redhat.com>
37151 * malloc/arena.c (_int_new_arena): Don't increment narenas.
37152 (reused_arena): Don't check arena limit.
37153 (arena_get2): Atomically check arena limit.
37155 2011-11-08 Ulrich Drepper <drepper@gmail.com>
37157 * locale/findlocale.c (_nl_find_locale): Use __strcasecmp_l.
37158 * intl/localealias.c (strcasecmp): Define using __strcasecmp_l.
37160 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Remove unnecessary
37163 2011-11-07 Andreas Schwab <schwab@redhat.com>
37165 * libio/genops.c (_IO_flush_all_lockp): Only register cleanup
37166 handler when locking.
37168 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
37169 Fix size of allocated buffer.
37171 2011-11-04 Andreas Schwab <schwab@redhat.com>
37174 * math/math.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Provide
37175 declarations for long double functions.
37176 * math/complex.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Likewise.
37178 * elf/sprof.c (load_shobj): Fix off-by-one when reading link name.
37180 2011-11-03 Andreas Schwab <schwab@redhat.com>
37182 * nscd/nscd.c (main): Don't start AVC thread until credentials are
37185 * nss/makedb.c (set_file_creation_context): Do nothing if SELinux
37188 2011-11-02 Samuel Thibault <samuel.thibault@ens-lyon.org>
37190 * bits/ioctl-types.h (_IOT_sgttyb): Set number of chars to 4.
37192 2011-11-01 Andreas Schwab <schwab@linux-m68k.org>
37194 * include/alloca.h (stackinfo_alloca_round): Define.
37195 (extend_alloca): Use it.
37196 [_STACK_GROWS_UP]: Correct check for adjacent allocation.
37197 * elf/dl-deps.c (_dl_map_object_deps): Don't round alloca size
37200 * scripts/check-local-headers.sh: Ignore libaudit.h.
37202 * nscd/Makefile (extra-objs): Make recursively expanded.
37204 2011-11-01 Ulrich Drepper <drepper@gmail.com>
37206 * sysdeps/x86_64/strcmp.S: Fix test for non-ASCII locales.
37207 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
37209 * posix/tst-rfc3484.c: Add missing __free_in6ai dummy function.
37210 * posix/tst-rfc3484-2.c: Likewise.
37211 * posix/tst-rfc3484-3.c: Likewise.
37213 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
37215 * sysdeps/unix/sysv/linux/syscalls.list: Add process_vm_readv and
37217 * sysdeps/unix/sysv/linux/Versions: Export process_vm_readv and
37218 process_vm_writev from libc using GLIBC_2.15 version.
37220 * nscd/connections.c: Use kernel headers instead of <netlink/netlink.h>.
37222 2011-10-31 Paul Pluzhnikov <ppluzhnikov@google.com>
37224 * elf/dl-deps.c (_dl_map_object_deps): Reuse alloca space to reduce
37227 2011-10-31 Ulrich Drepper <drepper@gmail.com>
37230 * nss/getent.c (initgroups_keys): Show error message in case no group
37233 * include/ifaddrs.h: Declare __free_in6ai and __bump_nl_timestamp.
37234 * inet/check_pf.c: Provide dummy versions of __free_in6ai and
37235 __bump_nl_timestamp.
37236 * nscd/connections (nscd_init): When host database is served open
37237 netlink socket and request notification about configuration changes.
37238 (main_loop_poll): Track netlink file descriptor and bump timestamp
37239 in case data becomes available.
37240 (main_loop_epoll): Likewise.
37241 * nscd/nscd-client.h (DB_VERSION): Bump to 2.
37242 (database_pers_head): Add extra_data fileds.
37243 Declare __nscd_get_mapping and __nscd_get_nl_timestamp.
37244 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): New function.
37245 * nscd/nscd_helper.c (__nscd_get_mapping): Renamed from get_mapping.
37247 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Don't call free on
37248 in6ai data, call __free_in6ai.
37249 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd] (sysdep-CFLAGS):
37250 Add -DHAVE_NETLINK.
37251 * sysdeps/unix/sysv/linux/check_pf.c: Major rewrite. Cache the
37252 interface information. Reuse previous data if netlink timestamp
37254 (__bump_nl_timestamp): New function.
37255 (__free_in6ai): New function.
37257 2011-10-30 Ulrich Drepper <drepper@gmail.com>
37259 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Don't call
37260 close_not_cancel_no_status here.
37261 (__check_pf): Reorganize code a bit to not call close twice if OOM.
37263 2011-10-29 Ulrich Drepper <drepper@gmail.com>
37266 * malloc/malloc.c (munmap_chunk): Don't use assertion to check munmap
37269 * posix/sys/wait.h: Mark wait3 and wait4 with __THROWNL.
37270 * libio/stdio.h: Mark sprintf, vsprintf snprintf, vsnprintf, vasprintf,
37271 asprintf, __asprintf, obstack_printf, obstack_vprintf with __THROWNL.
37273 2011-07-03 Andreas Jaeger <aj@suse.de>
37276 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Fix incorrect rounding
37277 of sin. Patch suggested by Paul Zimmermann <zimmerma+gcc@loria.fr>.
37278 * math/libm-test.inc (sin_test): Add test case.
37280 2011-10-29 Ulrich Drepper <drepper@gmail.com>
37283 * elf/sprof.c (load_shobj): Correctly NUL-terminate link name.
37284 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
37286 * elf/chroot_canon.c (chroot_canon): Cleanups.
37288 * elf/dl-lookup.c (_dl_setup_hash): Avoid warning.
37291 * elf/chroot_canon.c (chroot_canon): Fix readlink call.
37292 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
37294 * string/test-strchr.c: Make usable for strchrnul testing.
37295 * string/test-strchrnul.c: New file.
37296 * string/Makefile (strop-tests): Add strchrnul.
37298 * po/it.po: Update from translation team.
37299 * po/es.po: Likewise.
37301 2011-10-28 Ulrich Drepper <drepper@gmail.com>
37303 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Take
37304 the three constants needed as parameters. Drop the others.
37305 (strcasestr_sse42): Load uclow, uchigh, and lcqword and pass to
37306 __m128i_strloadu_tolower.
37307 Create and initialize variable zero and use it in all the places
37308 where _mm_setzero_si128 was used.
37310 * sysdeps/x86_64/fpu/multiarch/Makefile: Don't build brandred-avx.c,
37311 doasin-avx.c, dosincos-avx.c, e_asin-avx.c, mpatan-avx.c,
37312 mpatan2-avx.c, mpsqrt-avx.c, mptan-avx.c, sincos32-avx.c.
37313 * sysdeps/x86_64/fpu/multiarch/e_asin.c: There are no _avx variants
37315 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: Don't redirect __mpatan2.
37316 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: Don't redirect __mpatan.
37317 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: Don't redirect __branred,
37318 __docos, __dubsin, __mpcos, __mpcos1, __mpsin, __mpsin1.
37319 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: Don't redirect __branred,
37320 __mpranred, __mptan.
37321 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: Removed.
37322 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: Removed.
37323 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: Removed.
37324 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: Removed.
37325 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: Removed.
37326 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: Removed.
37327 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: Removed.
37328 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: Removed.
37329 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: Removed.
37331 2011-10-28 Andreas Schwab <schwab@redhat.com>
37333 * sysdeps/i386/i686/multiarch/strnlen-c.c (libc_hidden_def): Only
37334 redefine if SHARED.
37335 * sysdeps/i386/i686/multiarch/wcscmp-c.c (libc_hidden_def): Likewise.
37337 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Move
37338 wide char related routines to wcsmbs subdir.
37340 2011-10-27 Andreas Schwab <schwab@redhat.com>
37343 * misc/sys/cdefs.h (__THROWNL): Define.
37344 * posix/unistd.h: Use __THREADNL instead of __THREAD
37345 for memory synchronization functions.
37347 2011-10-26 Roland McGrath <roland@hack.frob.com>
37350 * libio/Versions (GLIBC_2.0): Remove open_obstack_stream, which
37352 * manual/stdio.texi (Obstack Streams): Node removed.
37354 2011-10-26 Andreas Schwab <schwab@redhat.com>
37356 * sysdeps/ieee754/flt-32/e_j0f.c: Fix use of math_force_eval.
37357 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
37358 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
37360 * math/math_private.h (math_force_eval): Allow non-addressable
37362 * sysdeps/i386/fpu/math_private.h (math_force_eval): Likewise.
37364 2011-10-25 Ulrich Drepper <drepper@gmail.com>
37366 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Comment everything out, the
37367 file is not needed.
37369 * sysdeps/x86_64/fpu/multiarch/e_asin.c: Support AVX variants.
37370 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
37371 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
37372 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
37373 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
37374 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
37375 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
37376 * sysdeps/x86_64/fpu/multiarch/Makefile: Fix some CFLAGS-* variables.
37378 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: New file.
37379 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: New file.
37380 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: New file.
37381 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: New file.
37382 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: New file.
37383 * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c: New file.
37384 * sysdeps/x86_64/fpu/multiarch/e_log-avx.c: New file.
37385 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: New file.
37386 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: New file.
37387 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: New file.
37388 * sysdeps/x86_64/fpu/multiarch/mpexp-avx.c: New file.
37389 * sysdeps/x86_64/fpu/multiarch/mplog-avx.c: New file.
37390 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: New file.
37391 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: New file.
37392 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: New file.
37393 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: New file.
37394 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: New file.
37395 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: New file.
37396 * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: New file.
37398 * sysdeps/x86_64/multiarch/init-arch.h: Make bit_* macros available
37399 all the time. Define bit_AVX. Define HAS_* macros using bit_* macros.
37401 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Move common code to earlier
37402 place. Use VEX encoding when compiling for AVX.
37404 2011-10-25 Andreas Schwab <schwab@redhat.com>
37406 * wcsmbs/wcscmp.c (WCSCMP): Compare as wchar_t, not wint_t.
37407 * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
37409 * string/test-strchr.c (do_test): Don't generate NUL bytes.
37411 2011-10-25 Ulrich Drepper <drepper@gmail.com>
37413 * sysdeps/ieee754/dbl-64/e_atanh.c: Use math_force_eval instead of a
37414 useless if() expression.
37415 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
37416 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
37417 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
37418 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
37419 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
37420 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
37421 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
37422 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
37423 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
37424 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
37425 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
37426 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
37427 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
37428 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
37429 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
37430 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
37431 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
37432 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
37433 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
37435 * sysdeps/x86_64/fpu/math_private.h: Use VEX encoding when possible.
37437 2011-10-25 Andreas Schwab <schwab@redhat.com>
37439 * elf/dl-deps.c (_dl_map_object_deps): Remove always true
37441 * elf/dl-fini.c (_dl_sort_fini): Likewise.
37443 2011-10-25 Ulrich Drepper <drepper@gmail.com>
37445 * sysdeps/ieee754/dbl-64/branred.c: Move FMA4 code into separate
37446 .text section. Avoid duplicate constants.
37447 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
37448 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
37449 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
37450 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
37451 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
37452 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
37453 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
37454 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
37455 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
37456 * sysdeps/ieee754/dbl-64/mpa.h: Likewise.
37457 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
37458 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
37459 * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
37460 * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
37461 * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
37462 * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
37463 * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
37464 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
37465 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
37466 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
37467 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
37468 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
37469 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
37470 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Likewise.
37471 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: Likewise.
37472 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: Likewise.
37473 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: Likewise.
37474 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: Likewise.
37475 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: Likewise.
37476 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: Likewise.
37477 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: Likewise.
37478 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: Likewise.
37479 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
37480 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: Likewise.
37481 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: Likewise.
37482 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: Likewise.
37483 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: Likewise.
37484 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: Likewise.
37485 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: Likewise.
37486 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: Likewise.
37487 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: Likewise.
37488 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: Likewise.
37489 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: Likewise.
37490 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise.
37491 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: Likewise.
37493 2011-10-24 Ulrich Drepper <drepper@gmail.com>
37495 * sysdeps/x86_64/dla.h: Move to ...
37496 * sysdeps/x86_64/fpu/dla.h: ...here.
37497 (DLA_FMS): Some compilers fail to inline __builtin_fma in some
37498 situations. Use __builtin_fma only for gcc 4.6 and up.
37500 * config.make.in: Add have-mfma4 entry.
37501 * configure.in: Substitute libc_cv_cc_fma4.
37502 * math/Makefile (dbl-only-routines): Add sincostab.
37503 * sysdeps/ieee754/dbl-64/dosincos.c: Don't include sincos.tbl.
37504 Use __sincostab not sincos.
37505 * sysdeps/ieee754/dbl-64/e_asin.c: Don't define aliases when function
37507 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
37508 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
37509 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
37510 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise. Define singArctan2
37512 * sysdeps/ieee754/dbl-64/mpa.c: Don't export __acr. Don't define
37513 __cr and __cpymn. Define __cpy unless NO___CPY is defined. Define
37514 norm, denorm, and __mp_dbl unless NO___MP_DBL is defined.
37515 * sysdeps/ieee754/dbl-64/mpa.h: Don't declare __acr, __cr, __cpymn,
37517 * sysdeps/ieee754/dbl-64/mpsqrt.c: Make fastiroot static.
37518 * sysdeps/ieee754/dbl-64/s_atan.c: Define __signArctan using
37520 * sysdeps/ieee754/dbl-64/s_sin.c: Use __sincostab not sincos. Don't
37521 define aliases when function name is a macro.
37522 * sysdeps/ieee754/dbl-64/sincostab.c: Renamed from
37523 sysdeps/ieee754/dbl-64/sincos.tbl.
37524 * sysdeps/x86_64/fpu/multiarch/Makefile: Add entries to build
37525 fma4-enabled routines.
37526 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: New file.
37527 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: New file.
37528 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: New file.
37529 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: New file.
37530 * sysdeps/x86_64/fpu/multiarch/e_asin.c: New file.
37531 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: New file.
37532 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: New file.
37533 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: New file.
37534 * sysdeps/x86_64/fpu/multiarch/e_exp.c: New file.
37535 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: New file.
37536 * sysdeps/x86_64/fpu/multiarch/e_log.c: New file.
37537 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: New file.
37538 * sysdeps/x86_64/fpu/multiarch/e_pow.c: New file.
37539 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: New file.
37540 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: New file.
37541 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: New file.
37542 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: New file.
37543 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: New file.
37544 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: New file.
37545 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: New file.
37546 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: New file.
37547 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: New file.
37548 * sysdeps/x86_64/fpu/multiarch/s_atan.c: New file.
37549 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: New file.
37550 * sysdeps/x86_64/fpu/multiarch/s_sin.c: New file.
37551 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: New file.
37552 * sysdeps/x86_64/fpu/multiarch/s_tan.c: New file.
37553 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: New file.
37554 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: New file.
37555 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: New file.
37557 * sysdeps/ieee754/dbl-64/doasin.c: Adjust for DLA_FMA -> DLA_FMS
37559 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
37560 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
37561 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
37562 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
37563 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
37564 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
37565 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
37566 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
37568 2011-10-24 Andreas Schwab <schwab@redhat.com>
37570 * wcsmbs/wcslen.c: Don't define WCSLEN, reverse logic.
37572 2011-10-23 Ulrich Drepper <drepper@gmail.com>
37574 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: New file.
37576 * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Add some branch
37578 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: New file.
37580 * string/strnlen.c: Don't define STRNLEN, reverse logic.
37581 Remove unused variable magic_bits.
37582 * sysdeps/i386/i686/multiarch/rtld-strnlen.c: New file.
37584 * string/strnlen.c: Define and use STRNLEN macro.
37585 * sysdeps/i386/i686/multiarch/Makefile [string] (sysdep_routines):
37586 Add strnlen-sse2, strnlen-c, wcslen-sse2, and wcslen-c.
37587 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Add support for strnlen.
37588 * wcsmbs/wcslen.c: Define and use WCSLEN.
37589 * sysdeps/i386/i686/multiarch/strnlen-c.c: New file.
37590 * sysdeps/i386/i686/multiarch/strnlen-sse2.S: New file.
37591 * sysdeps/i386/i686/multiarch/strnlen.S: New file.
37592 * sysdeps/i386/i686/multiarch/wcslen-c.c: New file.
37593 * sysdeps/i386/i686/multiarch/wcslen-sse2.S: New file.
37594 * sysdeps/i386/i686/multiarch/wcslen.S: New file.
37595 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
37597 2011-10-20 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
37599 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
37600 strnlen-sse2-no-bsf.
37601 Rename strlen-no-bsf to strlen-sse2-no-bsf.
37602 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Rename to
37603 * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S:
37604 Add strnlen support.
37605 (USE_AS_STRNLEN): New macro.
37606 * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: New file.
37607 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Update.
37608 Rename strlen-no-bsf.S to strlen-sse2-no-bsf.S
37609 * sysdeps/x86_64/wcslen.S: New file.
37611 2011-10-20 Michael Zolotukhin <michael.v.zolotukhin@gmail.com>
37613 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
37614 XMM-moves are used for copying on small sizes.
37616 2011-10-19 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
37618 * wcsmbs/Makefile (strop-tests): Add wcschr.
37619 * wcsmbs/test-wcschr.c: New file.
37620 * string/test-strchr.c: Update.
37621 Add wcschr support.
37624 2011-10-18 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
37626 * wcsmbs/Makefile (strop-tests): Add wcslen.
37627 * wcsmbs/test-wcslen.c: New file.
37628 * string/test-strlen.c: Update.
37629 Add wcslen support.
37632 2011-10-23 Ulrich Drepper <drepper@gmail.com>
37634 * po/it.po: Update from translation team.
37636 2011-09-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
37638 * sysdeps/x86_64/wcscmp.S: Update.
37639 Fix wrong comparison semantics.
37640 wcscmp shall use signed comparison not unsigned.
37641 Don't use substraction to avoid overflow bug.
37642 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
37643 * wcsmbc/wcscmp.c: Likewise.
37644 * string/test-strcmp.c: Likewise.
37645 Add new tests to check cases with negative values.
37647 2011-10-23 Ulrich Drepper <drepper@gmail.com>
37649 * sysdeps/ieee754/dbl-64/dla.h: Move DLA_FMA definition to...
37650 * sysdeps/x86_64/dla.h: ...here. New file.
37651 * sysdeps/ieee754/dbl-64/doasin.c: Use <dla.h> not "dla.h".
37652 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
37653 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
37654 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
37655 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
37656 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
37657 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
37658 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
37659 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
37661 2011-10-23 Andreas Schwab <schwab@linux-m68k.org>
37663 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Add __jnl_finite and
37664 __ynl_finite aliases.
37666 2011-10-22 Ulrich Drepper <drepper@gmail.com>
37668 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
37670 * sysdeps/ieee754/dbl-64/dla.h: When compiling with FMA4 support
37672 [DLA_FMA] (EMULV): Use DLA_FMA.
37673 [DLA_FMA] (MUL12): Use EMULV.
37674 * sysdeps/ieee754/dbl-64/doasin.c [DLA_FMA]: Don't define variables
37675 that are not needed.
37676 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
37677 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
37678 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
37679 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
37680 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
37681 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
37682 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
37684 2011-10-22 Andreas Schwab <schwab@linux-m68k.org>
37686 * math/s_nan.c: Undef __nan.
37687 * math/s_nanf.c: Undef __nanf.
37688 * math/s_nanl.c: Undef __nanl.
37689 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <math.h> before
37692 2011-10-22 Ulrich Drepper <drepper@gmail.com>
37694 * math/s_catan.c: Add branch predictions.
37695 * math/s_catanf.c: Likewise.
37696 * math/s_catanh.c: Likewise.
37697 * math/s_catanhf.c: Likewise.
37698 * math/s_catanhl.c: Likewise.
37699 * math/s_catanl.c: Likewise.
37700 * math/s_cexp.c: Likewise.
37701 * math/s_cexpf.c: Likewise.
37702 * math/s_cexpl.c: Likewise.
37703 * math/s_clog.c: Likewise.
37704 * math/s_clog10.c: Likewise.
37705 * math/s_clog10f.c: Likewise.
37706 * math/s_clog10l.c: Likewise.
37707 * math/s_clogf.c: Likewise.
37708 * math/s_clogl.c: Likewise.
37709 * math/s_csqrt.c: Likewise.
37710 * math/s_csqrtf.c: Likewise.
37711 * math/s_csqrtl.c: Likewise.
37712 * math/s_ctanf.c: Likewise.
37713 * math/s_ctanh.c: Likewise.
37714 * math/s_ctanhf.c: Likewise.
37715 * math/s_ctanhl.c: Likewise.
37716 * math/s_ctanl.c: Likewise.
37718 * math/math_private.h: Define __nan, __nanf, __nanl.
37719 * math/s_cacosh.c: Include <math_private.h>.
37720 * math/s_cacoshl.c: Likewise.
37721 * math/s_casinh.c: Likewise.
37722 * math/s_casinhf.c: Likewise.
37723 * math/s_casinhl.c: Likewise.
37724 * math/s_ccos.c: Rely entire on ccosh.
37725 * math/s_ccosf.c: Rely entire on ccoshf.
37726 * math/s_ccosl.c: Rely entirely on ccoshl.
37727 * math/s_ccosh.c: Add branch predicion helpers. Add branch prediction.
37728 Remove tests for FE_INVALID.
37729 * math/s_ccoshf.c: Likewise.
37730 * math/s_ccoshl.c: Likewise.
37731 * math/s_csin.c: Likewise.
37732 * math/s_csinf.c: Likewise.
37733 * math/s_csinh.c Likewise.
37734 * math/s_csinhf.c: Likewise.
37735 * math/s_csinhl.c: Likewise.
37736 * math/s_csinl.c: Likewise.
37737 * math/s_ctan.c: Likewise.
37738 * sysdeps/ieee754/dbl-64/e_acosh.c: Use __ieee754_sqrt.
37739 * sysdeps/ieee754/flt-32/e_acoshf.c: Use __ieee754_sqrtf.
37740 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Use __ieee754_sqrtl.
37742 2011-10-21 Ulrich Drepper <drepper@gmail.com>
37744 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Fix
37745 compilation problems.
37747 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Add a few more
37750 2011-10-20 Ulrich Drepper <drepper@gmail.com>
37752 * sysdeps/i386/configure.in: Test for -mfma4 option.
37753 * config.h.in: Add HAVE_FMA4_SUPPORT entry.
37754 * sysdeps/x86_64/multiarch/init-arch.h: Define HAS_FMA4 and
37755 COMMON_CPUID_INDEX_80000001.
37756 * sysdeps/x86_64/multiarch/init-arch.c: Read 80000001 leaf for AMD.
37757 * sysdeps/x86_64/fpu/multiarch/s_fma.c: Test for FMA4 support and
37758 use it if FMA3 is not supported.
37759 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
37761 * sysdeps/x86_64/multiarch/s_fma.c: Moved to ../fpu/multiarch.
37762 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
37764 2011-10-20 Andreas Schwab <schwab@redhat.com>
37767 * elf/dl-fini.c (_dl_sort_fini): Ignore relocation dependency if
37768 it would create a cycle with a link time dependency.
37770 2011-10-19 Ulrich Drepper <drepper@gmail.com>
37772 * sysdeps/x86_64/multiarch/rawmemchr.S: Small optimization to safe an
37774 * string/Makefile (strop-tests): Add rawmemchr.
37775 * string/test-rawmemchr.c: New file.
37777 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_AVX and index_AVX.
37778 * sysdeps/x86_64/multiarch/strcmp-sse42.S: New file. Split out from...
37779 * sysdeps/x86_64/multiarch/strcmp.S: ...here. Include strcmp-sse42.S
37780 when compiling str{,n}casecmp and when AVX is available. Hook up
37781 new optimized code in initializers.
37783 2011-10-19 Andreas Schwab <schwab@redhat.com>
37785 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv): Use
37786 __feraiseexcept instead of feraiseexcept.
37788 2011-10-18 Ulrich Drepper <drepper@gmail.com>
37790 * math/math_private.h: Define defaults for libc_fetestexcept and
37792 * sysdeps/ieee754/dbl-64/s_fma.c: Use libc_fe* interfaces.
37793 * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
37794 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
37795 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
37796 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
37797 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
37798 libc_fetestexcept and libc_feupdateenv.
37800 * math/math_private.h: Define defaults for libc_feholdexcept_setround,
37801 libc_feholdexcept_setroundf, libc_feholdexcept_setroundl.
37802 * sysdeps/ieee754/dbl-64/e_exp2.c: Use libc_feholdexcept_setround.
37803 * sysdeps/x86_64/fpu/math_private.h: Define special version of
37804 libc_feholdexcept_setround.
37806 * sysdeps/x86_64/fpu/multiarch/Makefile [math] (libm-sysdep-routines):
37807 Add s_nearbyint-c and s_nearbyintf-c.
37808 * sysdeps/x86_64/fpu/bits/mathinline.h: Define nearbyint and
37809 nearbyintf inlines.
37810 * sysdeps/x86_64/fpu/multiarch/s_nearbyint-c.c: New file.
37811 * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S: New file.
37812 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf-c.c: New file.
37813 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: New file.
37815 * math/math_private.h: Define defaults for libc_fegetround,
37816 libc_fegetroundf, libc_fegetroundl, libc_fesetround, libc_fesetroundf,
37817 libc_fesetroundl, libc_feholdexcept, libc_feholdexceptf,
37818 libc_feholdexceptl, libc_fesetenv, libc_fesetenvf, libc_fesetenvl.
37819 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Use
37820 libc_feholdexcept, libc_fesetround, libc_fesetenv instead of the
37821 standard functions.
37822 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
37823 Remove comments and hacks for old compiler versions.
37824 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
37825 libc_fegetround, libc_fesetround, libc_feholdexcept, and
37826 libc_feholdexceptl.
37828 2011-10-18 Andreas Schwab <schwab@redhat.com>
37830 * sysdeps/x86_64/fpu/bits/fenv.h: Add C linkage markers.
37831 (__feraiseexcept_renamed): Add __NTH.
37832 (feraiseexcept): Add __NTH. Rename local variables to fix
37833 namespace violations.
37835 2011-10-17 Ulrich Drepper <drepper@gmail.com>
37837 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Small optimization.
37839 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: New file.
37841 * sysdeps/x86_64/fpu/math_private.h: Relax asm requirements for
37842 recently added interfaces.
37843 * sysdeps/x86_64/fpu/bits/mathinline.h: Likewise.
37845 * sysdeps/x86_64/fpu/math_private.h: Add some parenthesis to be safe
37846 about macro parameter expansion.
37848 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't define inlines if
37849 __NO_MATH_INLINES is defined. Cleanups.
37851 * sysdeps/x86_64/fpu/math_private.h: Define __rint, __rintf, __floor,
37852 and __floorf is target has SSE4.1.
37853 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: Undef first.
37854 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.: Likewise.
37855 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: Likewise.
37856 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: Likewise.
37858 * sysdeps/x86_64/fpu/bits/mathinline.h (floor): Use correct function
37860 (floorf): Likewise.
37862 * nscd/netgroupcache.c (addgetnetgrentX): Fix #ifdef nesting.
37864 2011-10-17 Andreas Schwab <schwab@redhat.com>
37866 * misc/sys/cdefs.h: Fix last change.
37868 * grp/initgroups.c (internal_getgrouplist): Fix initgroups
37871 2011-10-16 Ulrich Drepper <drepper@gmail.com>
37873 * misc/sys/cdefs.h: Use leaf function attribute in __THROW.
37875 * sysdeps/ieee754/dbl-64/s_ceil.c: Avoid alias renamed.
37876 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
37877 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
37878 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
37879 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
37880 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
37881 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
37882 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
37883 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
37884 * sysdeps/x86_64/fpu/multiarch/Makefile: New file.
37885 * sysdeps/x86_64/fpu/multiarch/s_ceil-c.c: New file.
37886 * sysdeps/x86_64/fpu/multiarch/s_ceil.S: New file.
37887 * sysdeps/x86_64/fpu/multiarch/s_ceilf-c.c: New file.
37888 * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: New file.
37889 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: New file.
37890 * sysdeps/x86_64/fpu/multiarch/s_floor.S: New file.
37891 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.c: New file.
37892 * sysdeps/x86_64/fpu/multiarch/s_floorf.S: New file.
37893 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: New file.
37894 * sysdeps/x86_64/fpu/multiarch/s_rint.S: New file.
37895 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: New file.
37896 * sysdeps/x86_64/fpu/multiarch/s_rintf.S: New file.
37898 * sysdeps/x86_64/fpu/bits/mathinline.h: Add inlines for rint, rintf,
37899 ceil, ceilf, floor, floorf.
37901 * elf/do-rel.h (elf_dynamic_do_Rel): Work around linker problem.
37902 Perform IRELATIVE relocations last.
37904 * elf/do-rel.h: Add another parameter nrelative, replacing the
37905 local variable with the same name. Change name of the function
37906 to end in Rel or Rela (uppercase).
37907 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Add new element
37908 nrelative to ranges. Only nonzero for DT_REL/DT_RELA. Pass to the
37909 elf_dynamic_do_##reloc function.
37911 2011-10-15 Ulrich Drepper <drepper@gmail.com>
37913 * sysdeps/i386/i686/fpu/e_log.S: No need for the fyl2xp1 use, fyl2x
37914 is sufficient, at least on modern CPUs.
37916 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: New file.
37918 * sysdeps/ieee754/dbl-64/e_cosh.c: Cleanup.
37919 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: New file.
37921 * math/Versions [libm] (GLIBC_2.15): Add __exp_finite, __expf_finite,
37923 * math/bits/math-finite.h: Add entries for exp.
37924 * math/e_expl.c: Add __*_finite alias.
37925 * sysdeps/i386/fpu/e_exp.S: Likewise.
37926 * sysdeps/i386/fpu/e_expf.S: Likewise.
37927 * sysdeps/i386/fpu/e_expl.c: Likewise.
37928 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
37929 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
37930 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
37931 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
37932 * sysdeps/ieee754/dbl-64/w_exp.c: Complete rewrite.
37933 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
37934 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
37936 * sysdeps/i386/i686/fpu/e_logf.S: No need for the fyl2xp1 use, fyl2x
37937 is sufficient, at least on modern CPUs.
37939 * ctype/ctype-info.c (__ctype_init): Define.
37940 * include/ctype.h (__ctype_init): Declare.
37941 (__ctype_b_loc): The variable is always initialized.
37942 (__ctype_toupper_loc): Likewise.
37943 (__ctype_tolower_loc): Likewise.
37944 * ctype/Versions: Export __ctype_init for GLIBC_PRIVATE.
37945 * sysdeps/unix/sysv/linux/init-first.c (_init): Call __ctype_init.
37947 2011-10-15 Andreas Schwab <schwab@linux-m68k.org>
37949 * wcsmbs/wmemcmp.c (WMEMCMP): Define.
37951 * configure.in: Also look in $cxxmachine/include for C++ system
37954 2011-09-27 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
37956 * sysdeps/x86_64/multiarch/Makefile: (sysdep_routines): Add
37957 memcmp-ssse3 wmemcmp-sse4 wmemcmp-ssse3 wmemcmp-c
37958 * sysdeps/x86_64/multiarch/memcmp-ssse3: New file.
37959 * sysdeps/x86_64/multiarch/memcmp.S: Update. Add __memcmp_ssse3.
37960 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Update.
37961 (USE_AS_WMEMCMP): New macro.
37963 * sysdeps/x86_64/multiarch/wmemcmp.S: New file.
37964 * sysdeps/x86_64/multiarch/wmemcmp-ssse3.S: New file.
37965 * sysdeps/x86_64/multiarch/wmemcmp-sse4.S: New file.
37966 * sysdeps/x86_64/multiarch/wmemcmp-c.S: New file.
37967 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
37968 wmemcmp-ssse3 wmemcmp-sse4 wmemcmp-c
37969 * sysdeps/i386/i686/multiarch/wmemcmp.S: New file.
37970 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: New file.
37971 * sysdeps/i386/i686/multiarch/wmemcmp-ssse3.S: New file.
37972 * sysdeps/i386/i686/multiarch/wmemcmp-sse4.S: New file.
37973 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Update.
37974 (USE_AS_WMEMCMP): New macro.
37975 * sysdeps/i386/i686/multiarch/memcmp-ssse3: Likewise.
37976 * sysdeps/string/test-memcmp.c: Update.
37977 Fix simple_wmemcmp.
37979 * wcsmbs/wmemcmp.c: Update.
37980 (WMEMCMP): New macro.
37983 2011-10-12 Andreas Jaeger <aj@suse.de>
37986 * math/bits/mathcalls.h: Mark argument 2 of modf as non-null.
37988 2011-10-15 Ulrich Drepper <drepper@gmail.com>
37990 * libio/iofwide.c (do_length): Avoid warning.
37992 * ctype/ctype.h (__isctype_f): Add missing __THROW.
37994 2011-10-14 Ulrich Drepper <drepper@gmail.com>
37996 * elf/pldd-xx.c (find_maps): Remove leftover debug message.
37998 * sysdeps/i386/fpu/e_log.S: Add real definition of __log_finite.
37999 * sysdeps/i386/fpu/e_logf.S: Add real definition of __logf_finite.
38000 * sysdeps/i386/fpu/e_logl.S: Add real definition of __logl_finite.
38001 * sysdeps/i386/i686/fpu/e_log.S: New file.
38002 * sysdeps/i386/i686/fpu/e_logf.S: New file.
38003 * sysdeps/i386/i686/fpu/e_logl.S: New file.
38005 * ctype/ctype.h: Add support for inlined isXXX functions when
38006 compiling C++ code.
38008 2011-10-14 Andreas Schwab <schwab@redhat.com>
38010 * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for jn tests.
38012 * sysdeps/x86_64/fpu/fraiseexcpt.c: Fix last change.
38014 2011-10-13 Roland McGrath <roland@hack.frob.com>
38017 * manual/string.texi (String/Array Comparison): Typo fix in strverscmp.
38019 2011-10-13 Andreas Schwab <schwab@redhat.com>
38021 * sysdeps/x86_64/fpu/fraiseexcpt.c: Add __feraiseexcept alias.
38022 * sysdeps/x86_64/fpu/feupdateenv.c: Use __feraiseexcept instead of
38025 * sysdeps/x86_64/memrchr.S: Check for zero size.
38027 * string/stratcliff.c: Add memrchr tests.
38029 2011-10-12 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
38031 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
38032 memchr-sse2 memchr-sse2-bsf memrchr-sse2 memrchr-sse2-bsf memrchr-c
38033 rawmemchr-sse2 rawmemchr-sse2-bsf.
38034 * sysdeps/i386/i686/multiarch/memchr.S: New file.
38035 * sysdeps/i386/i686/multiarch/memchr-sse2.S: New file.
38036 * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: New file.
38037 * sysdeps/i386/i686/multiarch/memrchr.S: New file.
38038 * sysdeps/i386/i686/multiarch/memrchr-c.c: New file.
38039 * sysdeps/i386/i686/multiarch/memrchr-sse2.S: New file.
38040 * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: New file.
38041 * sysdeps/i386/i686/multiarch/rawmemchr.S: New file.
38042 * sysdeps/i386/i686/multiarch/rawmemchr-sse2.S: New file.
38043 * sysdeps/i386/i686/multiarch/rawmemchr-sse2-bsf.S: New file.
38044 * string/memrchr.c (MEMRCHR): New macro.
38046 2011-10-12 Ulrich Drepper <drepper@gmail.com>
38048 Add integration with gcc's -ffinite-math-only and optimize wrapper
38050 * Versions.def: Define GLIBC_2.15 version for libm.
38051 * math/Makefile (headers): Add bits/math-finite.h.
38052 * math/bits/math-finite.h: New file.
38053 * sysdeps/ia64/fpu/bits/math-finite.h: New file.
38054 * math/Versions [libm] (GLIBC_2.15): Export __*_finite symbols.
38055 * math/e_acoshl.c: Add __*_finite alias.
38056 * math/e_acosl.c: Likewise.
38057 * math/e_asinl.c: Likewise.
38058 * math/e_atan2l.c: Likewise.
38059 * math/e_atanhl.c: Likewise.
38060 * math/e_coshl.c: Likewise.
38061 * math/e_exp10.c: Likewise.
38062 * math/e_exp10f.c: Likewise.
38063 * math/e_exp10l.c: Likewise.
38064 * math/e_exp2l.c: Likewise.
38065 * math/e_fmodl.c: Likewise.
38066 * math/e_gammal_r.c: Likewise.
38067 * math/e_hypotl.c: Likewise.
38068 * math/e_j0l.c: Likewise.
38069 * math/e_j1l.c: Likewise.
38070 * math/e_jnl.c: Likewise.
38071 * math/e_lgammal_r.c: Likewise.
38072 * math/e_log10l.c: Likewise.
38073 * math/e_log2l.c: Likewise.
38074 * math/e_logl.c: Likewise.
38075 * math/e_powl.c: Likewise.
38076 * math/e_sinhl.c: Likewise.
38077 * math/e_sqrtl.c: Likewise.
38078 * math/e_scalb.c: Completely rewritten and optimized.
38079 * math/e_scalbf.c: Likewise.
38080 * math/e_scalbl.c: Likewise.
38081 * math/w_acos.c: Likewise.
38082 * math/w_acosf.c: Likewise.
38083 * math/w_acosl.c: Likewise.
38084 * math/w_acosh.c: Likewise.
38085 * math/w_acoshf.c: Likewise.
38086 * math/w_acoshl.c: Likewise.
38087 * math/w_asin.c: Likewise.
38088 * math/w_asinf.c: Likewise.
38089 * math/w_asinl.c: Likewise.
38090 * math/w_atan2.c: Likewise.
38091 * math/w_atan2f.c: Likewise.
38092 * math/w_atan2l.c: Likewise.
38093 * math/w_atanh.c: Likewise.
38094 * math/w_atanhf.c: Likewise.
38095 * math/w_atanhl.c: Likewise.
38096 * math/w_exp10.c: Likewise.
38097 * math/w_exp10f.c: Likewise.
38098 * math/w_exp10l.c: Likewise.
38099 * math/w_fmod.c: Likewise.
38100 * math/w_fmodf.c: Likewise.
38101 * math/w_fmodl.c: Likewise.
38102 * math/w_j0.c: Likewise.
38103 * math/w_j0f.c: Likewise.
38104 * math/w_j0l.c: Likewise.
38105 * math/w_j1.c: Likewise.
38106 * math/w_j1f.c: Likewise.
38107 * math/w_j1l.c: Likewise.
38108 * math/w_jn.c: Likewise.
38109 * math/w_jnf.c: Likewise.
38110 * math/w_log.c: Likewise.
38111 * math/w_logf.c: Likewise.
38112 * math/w_logl.c: Likewise.
38113 * math/w_log10.c: Likewise.
38114 * math/w_log10f.c: Likewise.
38115 * math/w_log10l.c: Likewise.
38116 * math/w_log2.c: Likewise.
38117 * math/w_log2f.c: Likewise.
38118 * math/w_log2l.c: Likewise.
38119 * math/w_pow.c: Likewise.
38120 * math/w_powf.c: Likewise.
38121 * math/w_powl.c: Likewise.
38122 * math/w_remainder.c: Likewise.
38123 * math/w_remainderf.c: Likewise.
38124 * math/w_remainderl.c: Likewise.
38125 * math/w_scalb.c: Likewise.
38126 * math/w_scalbf.c: Likewise.
38127 * math/w_scalbl.c: Likewise.
38128 * math/w_sqrt.c: Likewise.
38129 * math/w_sqrtf.c: Likewise.
38130 * math/w_sqrtl.c: Likewise.
38131 * math/math.h: Define __MATH_DECLARE_LDOUBLE if long double functions
38132 are declared. Include <bits/math-finite.h> if -ffinite-math-only is
38134 * math/math_private.h: Declare __kernel_standard_f.
38135 * math/w_cosh.c: Remove cruft and optimize a bit.
38136 * math/w_coshf.c: Likewise.
38137 * math/w_coshl.c: Likewise.
38138 * math/w_exp2.c: Likewise.
38139 * math/w_exp2f.c: Likewise.
38140 * math/w_exp2l.c: Likewise.
38141 * math/w_hypot.c: Likewise.
38142 * math/w_hypotf.c: Likewise.
38143 * math/w_hypotl.c: Likewise.
38144 * math/w_lgamma.c: Likewise.
38145 * math/w_lgamma_r.c: Likewise.
38146 * math/w_lgammaf.c: Likewise.
38147 * math/w_lgammaf_r.c: Likewise.
38148 * math/w_lgammal.c: Likewise.
38149 * math/w_lgammal_r.c: Likewise.
38150 * math/w_sinh.c: Likewise.
38151 * math/w_sinhf.c: Likewise.
38152 * math/w_sinhl.c: Likewise.
38153 * math/w_tgamma.c: Likewise.
38154 * math/w_tgammaf.c: Likewise.
38155 * math/w_tgammal.c: Likewise.
38156 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
38157 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
38158 * sysdeps/i386/fpu/e_acos.S: Add __*_finite alias.
38159 Minor optimizations. Pretty printing. Remove cruft.
38160 * sysdeps/i386/fpu/e_acosf.S: Likewise.
38161 * sysdeps/i386/fpu/e_acosh.S: Likewise.
38162 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
38163 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
38164 * sysdeps/i386/fpu/e_acosl.c: Likewise.
38165 * sysdeps/i386/fpu/e_asin.S: Likewise.
38166 * sysdeps/i386/fpu/e_asinf.S: Likewise.
38167 * sysdeps/i386/fpu/e_atan2.S: Likewise.
38168 * sysdeps/i386/fpu/e_atan2f.S: Likewise.
38169 * sysdeps/i386/fpu/e_atan2l.c: Likewise.
38170 * sysdeps/i386/fpu/e_atanh.S: Likewise.
38171 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
38172 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
38173 * sysdeps/i386/fpu/e_exp10.S: Likewise.
38174 * sysdeps/i386/fpu/e_exp10f.S: Likewise.
38175 * sysdeps/i386/fpu/e_exp10l.S: Likewise.
38176 * sysdeps/i386/fpu/e_exp2.S: Likewise.
38177 * sysdeps/i386/fpu/e_exp2f.S: Likewise.
38178 * sysdeps/i386/fpu/e_exp2l.S: Likewise.
38179 * sysdeps/i386/fpu/e_fmod.S: Likewise.
38180 * sysdeps/i386/fpu/e_fmodf.S: Likewise.
38181 * sysdeps/i386/fpu/e_fmodl.c: Likewise.
38182 * sysdeps/i386/fpu/e_hypot.S: Likewise.
38183 * sysdeps/i386/fpu/e_hypotf.S: Likewise.
38184 * sysdeps/i386/fpu/e_log.S: Likewise.
38185 * sysdeps/i386/fpu/e_log10.S: Likewise.
38186 * sysdeps/i386/fpu/e_log10f.S: Likewise.
38187 * sysdeps/i386/fpu/e_log10l.S: Likewise.
38188 * sysdeps/i386/fpu/e_log2.S: Likewise.
38189 * sysdeps/i386/fpu/e_log2f.S: Likewise.
38190 * sysdeps/i386/fpu/e_log2l.S: Likewise.
38191 * sysdeps/i386/fpu/e_logf.S: Likewise.
38192 * sysdeps/i386/fpu/e_logl.S: Likewise.
38193 * sysdeps/i386/fpu/e_pow.S: Likewise.
38194 * sysdeps/i386/fpu/e_powf.S: Likewise.
38195 * sysdeps/i386/fpu/e_powl.S: Likewise.
38196 * sysdeps/i386/fpu/e_remainder.S: Likewise.
38197 * sysdeps/i386/fpu/e_remainderf.S: Likewise.
38198 * sysdeps/i386/fpu/e_remainderl.S: Likewise.
38199 * sysdeps/i386/fpu/e_scalb.S: Likewise.
38200 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
38201 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
38202 * sysdeps/i386/fpu/e_sqrt.S: Likewise.
38203 * sysdeps/i386/fpu/e_sqrtf.S: Likewise.
38204 * sysdeps/i386/fpu/e_sqrtl.c: Likewise.
38205 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
38206 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
38207 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
38208 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
38209 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
38210 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
38211 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
38212 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
38213 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
38214 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
38215 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
38216 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
38217 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
38218 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
38219 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
38220 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
38221 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
38222 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
38223 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
38224 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
38225 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
38226 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
38227 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
38228 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
38229 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
38230 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
38231 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
38232 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
38233 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
38234 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
38235 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
38236 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
38237 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
38238 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
38239 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
38240 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
38241 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
38242 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
38243 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
38244 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
38245 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
38246 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
38247 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
38248 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
38249 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
38250 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
38251 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
38252 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
38253 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
38254 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
38255 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
38256 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
38257 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
38258 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
38259 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
38260 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
38261 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
38262 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
38263 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
38264 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
38265 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
38266 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
38267 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
38268 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
38269 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
38270 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
38271 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
38272 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
38273 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Likewise.
38274 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
38275 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
38276 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
38277 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
38278 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
38279 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
38280 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
38281 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
38282 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
38283 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
38284 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
38285 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
38286 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
38287 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Likewise.
38288 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
38289 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
38290 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
38291 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
38292 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
38293 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
38294 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
38295 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
38296 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
38297 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
38298 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
38299 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
38300 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
38301 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
38302 * sysdeps/s390/fpu/e_sqrt.c: Likewise.
38303 * sysdeps/s390/fpu/e_sqrtf.c: Likewise.
38304 * sysdeps/s390/fpu/e_sqrtl.c: Likewise.
38305 * sysdeps/sparc/sparc32/e_sqrt.c: Likewise.
38306 * sysdeps/sparc/sparc64/fpu/e_sqrtl.c: Likewise.
38307 * sysdeps/x86_64/fpu/e_exp2l.S: Likewise.
38308 * sysdeps/x86_64/fpu/e_fmodl.S: Likewise.
38309 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
38310 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
38311 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
38312 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
38313 * sysdeps/x86_64/fpu/e_remainderl.S: Likewise.
38314 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
38315 * sysdeps/x86_64/fpu/e_sqrt.c: Likewise. Fix parameter order
38316 * sysdeps/x86_64/fpu/e_sqrtf.c: Likewise.
38317 * sysdeps/x86_64/fpu/math_private.h (__isnan): Cast d parameter.
38318 (__isnanf): Likewise.
38319 (__isinf_ns): Likewise.
38320 (__isinf_nsf): Likewise.
38321 (__finite): Likewise.
38322 (__finitef): Likewise.
38323 (__ieee754_sqrt): Define as macro.
38324 (__ieee754_sqrtf): Define as macro.
38325 (__ieee754_sqrtl): Define as macro.
38326 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Add partially
38328 * sysdeps/x86_64/fpu/bits/mathinline.h: Make use of
38329 __FINITE_MATH_ONLY__ consistent.
38330 * sysdeps/ieee754/k_standard.c (__kernel_standard_f): New function.
38332 2011-10-10 Andreas Schwab <schwab@linux-m68k.org>
38334 * inet/getnetgrent_r.c (nscd_getnetgrent): Use __rawmemchr instead
38337 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: New file.
38339 2011-10-09 Ulrich Drepper <drepper@gmail.com>
38341 * po/ja.po: Update from translation team.
38343 2011-10-08 Roland McGrath <roland@hack.frob.com>
38345 * locale/programs/locarchive.c (prepare_address_space): New function.
38346 (create_archive, enlarge_archive, open_archive): Use it.
38348 * sysdeps/unix/sysv/linux/x86_64/time.c: Move #include <dl-vdso.h>
38349 inside [SHARED], where it is used.
38351 * nscd/nscd_proto.h: Declare __nscd_setnetgrent.
38353 * nss/getent.c (netgroup_keys): Remove unused variable.
38354 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
38356 2011-10-08 Ulrich Drepper <drepper@gmail.com>
38358 * include/math.h: Declare __isinf_ns, __isinf_nsf, __isinf_nsl.
38359 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: New file.
38360 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: New file.
38361 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: New file.
38362 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: New file.
38363 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: New file.
38364 * math/Makefile (libm-calls): Add s_isinf_ns.
38365 * math/divtc3.c: Use __isinf_nsl instead of isinf.
38366 * math/multc3.c: Likewise.
38367 * math/s_casin.c: Likewise.
38368 * math/s_casinf.c: Likewise.
38369 * math/s_casinl.c: Likewise.
38370 * math/s_ccos.c: Likewise.
38371 * math/s_ccosf.c: Likewise.
38372 * math/s_ccosl.c: Likewise.
38373 * math/s_ctan.c: Likewise.
38374 * math/s_ctanf.c: Likewise.
38375 * math/s_ctanh.c: Likewise.
38376 * math/s_ctanhf.c: Likewise.
38377 * math/s_ctanhl.c: Likewise.
38378 * math/s_ctanl.c: Likewise.
38379 * math/w_fmod.c: Likewise.
38380 * math/w_fmodf.c: Likewise.
38381 * math/w_fmodl.c: Likewise.
38382 * math/w_remainder.c: Likewise.
38383 * math/w_remainderf.c: Likewise.
38384 * math/w_remainderl.c: Likewise.
38385 * sysdeps/ieee754/dbl-64/s_finite.c: Undefine __finite.
38386 * sysdeps/ieee754/dbl-64/s_isnan.c: Undefine __isnan.
38387 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Undefine __finite.
38388 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Undefine __nan.
38389 * sysdeps/ieee754/flt-32/s_finitef.c: Undefine __finitef.
38390 * sysdeps/ieee754/flt-32/s_isnanf.c: Undefine __nan.
38391 * sysdeps/x86_64/fpu/math_private.h: Add optimized versions of __isnsn,
38392 __isnanf, __isinf_ns, __isinf_nsf, __finite, and __finitef.
38394 * stdio-common/printf_fp.c: Use the fact that isinf returns the sign
38396 * stdio-common/printf_fphex.c: Likewise.
38397 * stdio-common/printf_size.c: Likewise.
38399 * math/e_exp10.c: Include math_private.h using <...> not "...".
38400 * math/e_exp10f.c: Likewise.
38401 * math/e_exp10l.c: Likewise.
38402 * math/e_exp2l.c: Likewise.
38403 * math/e_j0l.c: Likewise.
38404 * math/e_j1l.c: Likewise.
38405 * math/e_jnl.c: Likewise.
38406 * math/e_lgammal_r.c: Likewise.
38407 * math/e_rem_pio2l.c: Likewise.
38408 * math/e_scalb.c: Likewise.
38409 * math/e_scalbf.c: Likewise.
38410 * math/e_scalbl.c: Likewise.
38411 * math/k_cosl.c: Likewise.
38412 * math/k_sinl.c: Likewise.
38413 * math/k_tanl.c: Likewise.
38414 * math/s_cacoshf.c: Likewise.
38415 * math/s_catan.c: Likewise.
38416 * math/s_catanf.c: Likewise.
38417 * math/s_catanh.c: Likewise.
38418 * math/s_catanhf.c: Likewise.
38419 * math/s_catanhl.c: Likewise.
38420 * math/s_catanl.c: Likewise.
38421 * math/s_ccosh.c: Likewise.
38422 * math/s_ccoshf.c: Likewise.
38423 * math/s_ccoshl.c: Likewise.
38424 * math/s_cexp.c: Likewise.
38425 * math/s_cexpf.c: Likewise.
38426 * math/s_cexpl.c: Likewise.
38427 * math/s_clog.c: Likewise.
38428 * math/s_clog10.c: Likewise.
38429 * math/s_clog10f.c: Likewise.
38430 * math/s_clog10l.c: Likewise.
38431 * math/s_clogf.c: Likewise.
38432 * math/s_clogl.c: Likewise.
38433 * math/s_csin.c: Likewise.
38434 * math/s_csinf.c: Likewise.
38435 * math/s_csinh.c: Likewise.
38436 * math/s_csinhf.c: Likewise.
38437 * math/s_csinhl.c: Likewise.
38438 * math/s_csinl.c: Likewise.
38439 * math/s_csqrt.c: Likewise.
38440 * math/s_csqrtf.c: Likewise.
38441 * math/s_csqrtl.c: Likewise.
38442 * math/s_ctan.c: Likewise.
38443 * math/s_ctanf.c: Likewise.
38444 * math/s_ctanh.c: Likewise.
38445 * math/s_ctanhf.c: Likewise.
38446 * math/s_ctanhl.c: Likewise.
38447 * math/s_ctanl.c: Likewise.
38448 * math/s_ldexp.c: Likewise.
38449 * math/s_ldexpf.c: Likewise.
38450 * math/s_ldexpl.c: Likewise.
38451 * math/s_significand.c: Likewise.
38452 * math/s_significandf.c: Likewise.
38453 * math/s_significandl.c: Likewise.
38454 * math/w_acos.c: Likewise.
38455 * math/w_acosf.c: Likewise.
38456 * math/w_acosh.c: Likewise.
38457 * math/w_acoshf.c: Likewise.
38458 * math/w_acoshl.c: Likewise.
38459 * math/w_acosl.c: Likewise.
38460 * math/w_asin.c: Likewise.
38461 * math/w_asinf.c: Likewise.
38462 * math/w_asinl.c: Likewise.
38463 * math/w_atan2.c: Likewise.
38464 * math/w_atan2f.c: Likewise.
38465 * math/w_atan2l.c: Likewise.
38466 * math/w_atanh.c: Likewise.
38467 * math/w_atanhf.c: Likewise.
38468 * math/w_atanhl.c: Likewise.
38469 * math/w_cosh.c: Likewise.
38470 * math/w_coshf.c: Likewise.
38471 * math/w_coshl.c: Likewise.
38472 * math/w_dremf.c: Likewise.
38473 * math/w_exp10.c: Likewise.
38474 * math/w_exp10f.c: Likewise.
38475 * math/w_exp10l.c: Likewise.
38476 * math/w_exp2.c: Likewise.
38477 * math/w_exp2f.c: Likewise.
38478 * math/w_fmod.c: Likewise.
38479 * math/w_fmodf.c: Likewise.
38480 * math/w_fmodl.c: Likewise.
38481 * math/w_hypot.c: Likewise.
38482 * math/w_hypotf.c: Likewise.
38483 * math/w_hypotl.c: Likewise.
38484 * math/w_j0.c: Likewise.
38485 * math/w_j0f.c: Likewise.
38486 * math/w_j0l.c: Likewise.
38487 * math/w_j1.c: Likewise.
38488 * math/w_j1f.c: Likewise.
38489 * math/w_j1l.c: Likewise.
38490 * math/w_jn.c: Likewise.
38491 * math/w_jnf.c: Likewise.
38492 * math/w_jnl.c: Likewise.
38493 * math/w_lgamma.c: Likewise.
38494 * math/w_lgamma_r.c: Likewise.
38495 * math/w_lgammaf.c: Likewise.
38496 * math/w_lgammaf_r.c: Likewise.
38497 * math/w_lgammal.c: Likewise.
38498 * math/w_lgammal_r.c: Likewise.
38499 * math/w_log.c: Likewise.
38500 * math/w_log10.c: Likewise.
38501 * math/w_log10f.c: Likewise.
38502 * math/w_log10l.c: Likewise.
38503 * math/w_log2.c: Likewise.
38504 * math/w_log2f.c: Likewise.
38505 * math/w_log2l.c: Likewise.
38506 * math/w_logf.c: Likewise.
38507 * math/w_logl.c: Likewise.
38508 * math/w_pow.c: Likewise.
38509 * math/w_powf.c: Likewise.
38510 * math/w_powl.c: Likewise.
38511 * math/w_remainder.c: Likewise.
38512 * math/w_remainderf.c: Likewise.
38513 * math/w_remainderl.c: Likewise.
38514 * math/w_scalb.c: Likewise.
38515 * math/w_scalbf.c: Likewise.
38516 * math/w_scalbl.c: Likewise.
38517 * math/w_sinh.c: Likewise.
38518 * math/w_sinhf.c: Likewise.
38519 * math/w_sinhl.c: Likewise.
38520 * math/w_sqrt.c: Likewise.
38521 * math/w_sqrtf.c: Likewise.
38522 * math/w_sqrtl.c: Likewise.
38523 * math/w_tgamma.c: Likewise.
38524 * math/w_tgammaf.c: Likewise.
38525 * math/w_tgammal.c: Likewise.
38527 * po/ja.po: Update from translation team.
38529 2011-09-29 Andreas Jaeger <aj@suse.de>
38532 * sunrpc/netname.c (netname2host): Fix logic.
38536 * math/w_remainderl.c (__remainderl): Handle (NaN, 0) and (Inf,y)
38538 * math/w_remainder.c (__remainder): Likewise.
38539 * math/w_remainderf.c (__remainderf): Likewise.
38540 * math/libm-test.inc (remainder_test): Add test cases.
38542 2011-10-04 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
38544 * stdlib/longlong.h: Update from GCC. Fix zarch smul_ppmm and
38547 2011-10-07 Ulrich Drepper <drepper@gmail.com>
38549 * string/test-memcmp.c: Avoid unncessary #defines.
38550 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
38552 2011-08-31 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
38554 * sysdeps/x86_64/multiarch/rawmemchr.S: Update.
38555 Use new sse2 version for core i3 - i7 as it's faster
38556 than sse42 version.
38557 (bit_Prefer_PMINUB_for_stringop): New.
38558 * sysdeps/x86_64/rawmemchr.S: Update.
38559 Replace with faster SSE2 version.
38560 * sysdeps/x86_64/memrchr.S: New file.
38561 * sysdeps/x86_64/memchr.S: Update.
38562 Replace with faster SSE2 version.
38564 2011-09-12 Marek Polacek <mpolacek@redhat.com>
38566 * elf/dl-load.c (lose): Add cast to avoid warning.
38568 2011-10-07 Ulrich Drepper <drepper@gmail.com>
38570 * po/ca.po: Update from translation team.
38572 * inet/getnetgrent_r.c: Hook up nscd.
38573 * nscd/Makefile (routines): Add nscd_netgroup.
38574 (nscd-modules): Add netgroupcache.
38575 (CFLAGS-netgroupcache.c): Define.
38576 * nscd/cache.c (readdfcts): Add entries for GETNETGRENT and INNETGR.
38577 (cache_search): Add const to second parameter.
38578 * nscd/connections.c (serv2str): Add entries for GETNETGRENT and
38580 (dbs): Add netgrdb entry.
38581 (reqinfo): Add entries for GETNETGRENT, INNETGR, and GETFDNETGR.
38582 (verify_persistent_db): Handle netgrdb.
38583 (handle_request): Handle GETNETGRENT, INNETGR, and GETFDNETGR.
38584 * nscd/nscd-client.h (request_type): Add GETNETGRENT, INNETGR, and
38586 (netgroup_response_header): Define.
38587 (innetgroup_response_header): Define.
38588 (datahead): Add netgroup_response_header and innetgroup_response_header
38590 * nscd/nscd.conf: Add entries for netgroup cache.
38591 * nscd/nscd.h (dbtype): Add netgrdb.
38592 (_PATH_NSCD_NETGROUP_DB): Define.
38593 (netgroup_iov_disabled): Declare.
38594 (xmalloc, xcalloc, xrealloc): Move declarations here.
38595 (cache_search): Adjust prototype.
38596 Add netgroup-related prototypes.
38597 * nscd/nscd_conf.c (dbnames): Add netgrdb entry.
38598 * nscd/nscd_proto.h (__nss_not_use_nscd_netgroup): Declare.
38599 (__nscd_innetgr): Declare.
38600 * nscd/selinux.c (perms): Use access_vector_t as element type and
38601 add netgroup-related initializers.
38602 * nscd/netgroupcache.c: New file.
38603 * nscd/nscd_netgroup.c: New file.
38604 * nss/Versions [libc] (GLIBC_PRIVATE): Export __nss_lookup.
38605 * nss/getent.c (netgroup_keys): Use setnetgrent only for one parameter.
38606 For four parameters use innetgr.
38607 * nss/nss_files/files-init.c: Add definition and callback for netgr.
38608 * nss/nsswitch.c (__nss_lookup): Add libc_hidden_def.
38609 (__nss_disable_nscd): Set __nss_not_use_nscd_netgroup.
38610 * nss/nsswitch.h (__nss_lookup): Add libc_hidden_proto.
38612 * nscd/connections.c (register_traced_file): Don't register file
38613 for disabled databases.
38615 2011-10-06 Ulrich Drepper <drepper@gmail.com>
38617 * nscd/grpcache.c (cache_addgr): Initialize written in all cases.
38619 * nss/nsswitch.c (__nss_lookup_function): Fix order of deleting
38620 from tree and freeing node.
38622 2011-09-25 Jiri Olsa <jolsa@redhat.com>
38624 * nss/nsswitch.c (__nss_database_lookup): Handle
38625 nss_parse_service_list out of memory case.
38627 2011-09-15 Jiri Olsa <jolsa@redhat.com>
38629 * nss/nsswitch.c (__nss_lookup_function): Handle __tsearch
38630 out of memory case.
38632 2011-10-04 Andreas Schwab <schwab@redhat.com>
38634 * include/dlfcn.h (__RTLD_NOIFUNC): Define.
38635 * elf/do-rel.h (elf_dynamic_do_rel): Add parameter skip_ifunc and
38637 * elf/dynamic-link.h: Adjust prototypes of elf_machine_rel,
38638 elf_machine_rela, elf_machine_lazy_rel.
38639 (_ELF_DYNAMIC_DO_RELOC): Add parameter skip_ifunc and pass it down.
38640 (ELF_DYNAMIC_DO_REL): Likewise.
38641 (ELF_DYNAMIC_DO_RELA): Likewise.
38642 (ELF_DYNAMIC_RELOCATE): Likewise.
38643 * elf/dl-reloc.c (_dl_relocate_object): Pass __RTLD_NOIFUNC down
38644 to ELF_DYNAMIC_DO_REL.
38645 * elf/rtld.c (_dl_start): Adjust use of ELF_DYNAMIC_RELOCATE.
38646 (dl_main): In trace mode always set __RTLD_NOIFUNC.
38647 * elf/dl-conflict.c (_dl_resolve_conflicts): Adjust call to
38649 * sysdeps/i386/dl-machine.h (elf_machine_rel): Add parameter
38650 skip_ifunc, don't call ifunc function if non-zero.
38651 (elf_machine_rela): Likewise.
38652 (elf_machine_lazy_rel): Likewise.
38653 (elf_machine_lazy_rela): Likewise.
38654 * sysdeps/ia64/dl-machine.h (elf_machine_rela): Likewise.
38655 (elf_machine_lazy_rel): Likewise.
38656 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
38658 (elf_machine_lazy_rel): Likewise.
38659 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
38661 (elf_machine_lazy_rel): Likewise.
38662 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela): Likewise.
38663 (elf_machine_lazy_rel): Likewise.
38664 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Likewise.
38665 (elf_machine_lazy_rel): Likewise.
38666 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
38667 (elf_machine_lazy_rel): Likewise.
38668 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
38669 (elf_machine_lazy_rel): Likewise.
38670 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
38671 (elf_machine_lazy_rel): Likewise.
38672 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
38673 (elf_machine_lazy_rel): Likewise.
38675 2011-09-28 Ulrich Drepper <drepper@gmail.com>
38677 * nss/nss_files/files-init.c (_nss_files_init): Use static
38678 initialization for all the *_traced_file variables.
38680 2011-09-28 Andreas Schwab <schwab@redhat.com>
38682 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
38684 2011-09-27 Roland McGrath <roland@hack.frob.com>
38687 * manual/signal.texi (Longjmp in Handler): Grammar fixes.
38689 2011-09-27 Andreas Schwab <schwab@redhat.com>
38691 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
38692 Reread the line before reparsing it.
38694 2011-09-26 Andreas Schwab <schwab@redhat.com>
38696 * sysdeps/x86_64/fpu/bits/mathinline.h: Use __asm instead of asm.
38698 2011-09-21 Chung-Lin Tang <cltang@codesourcery.com>
38699 Maxim Kuvyrkov <maxim@codesourcery.com>
38700 Joseph Myers <joseph@codesourcery.com>
38702 * resolv/Makefile (LDLIBS-resolv.so): Link in $(elfobjdir)/ld.so
38703 if needed for __stack_chk_guard.
38705 2011-09-19 Roland McGrath <roland@hack.frob.com>
38707 * sysdeps/posix/spawni.c (script_execute): Always define it.
38708 It will be optimized away if unused.
38709 (maybe_script_execute): New function.
38710 (__spawni): Call it.
38712 * Makerules: Don't include tls.make.
38713 (config-tls): Always set to thread.
38714 * tls.make.c: File removed.
38716 2011-09-19 Mike Frysinger <vapier@gentoo.org>
38718 * Makeconfig (CPPFLAGS): Prepend $(CPPFLAGS-config).
38719 * config.make.in (CPPFLAGS-config): New substituted variable.
38721 2011-09-15 Ulrich Drepper <drepper@gmail.com>
38723 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: New file.
38726 * sysdeps/unix/sysv/linux/bits/in.h (IP_MULTICAST_ALL): Define.
38727 Patch mostly by Neil Horman <nhorman@tuxdriver.com>.
38729 2011-09-15 Roland McGrath <roland@hack.frob.com>
38731 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S
38732 (CALL_FAIL): Use HIDDEN_JUMPTARGET for __fortify_fail.
38733 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
38734 (CALL_FAIL): Likewise.
38735 * sysdeps/unix/sysv/linux/ia64/____longjmp_chk.S (CHECK_RSP): Likewise.
38736 (CALL_FAIL): Macro removed.
38737 Patch mostly by Mike Frysinger <vapier@gentoo.org>.
38739 2011-09-15 Ulrich Drepper <drepper@gmail.com>
38741 * sysdeps/x86_64/fpu/bits/mathinline.h: Add fmax and fmin optimizations
38742 for __FINITE_MATH_ONLY__ == 1.
38744 2011-09-15 Andreas Schwab <schwab@redhat.com>
38746 * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Use
38747 __ieee754_sqrt instead of sqrt.
38748 * sysdeps/powerpc/fpu/e_hypotf.c (__ieee754_hypotf): Use
38749 __ieee754_sqrtf instead of sqrtf.
38750 * sysdeps/powerpc/fpu/e_rem_pio2f.c (__ieee754_rem_pio2f): Use
38751 __floorf instead of floorf.
38752 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Use
38753 __floorf, __truncf instead of floorf, truncf.
38755 2011-09-14 Ulrich Drepper <drepper@gmail.com>
38757 * sysdeps/x86_64/fpu/s_copysign.S [ELF]: Use correct section.
38759 * sysdeps/x86_64/fpu/bits/mathinline.h (__MATH_INLINE): Use
38760 __extern_always_inline.
38761 Define lrint{f,} and llrint{f,} for 64-bit and in some situations for
38764 2011-09-14 Andreas Schwab <schwab@redhat.com>
38766 * elf/rtld.c (dl_main): Also relocate in dependency order when
38767 doing symbol dependency testing.
38769 2011-09-13 Andreas Schwab <schwab@linux-m68k.org>
38771 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
38772 Always define `refsym'.
38774 2011-09-13 Andreas Schwab <schwab@redhat.com>
38776 * misc/sys/select.h (__FD_MASK): Renamed from __FDMASK.
38777 (__FD_ELT): Renamed from __FDELT.
38778 * misc/bits/select2.h (__FD_ELT): Likewise.
38779 * bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET): Use __FD_ELT,
38780 __FD_MASK instead of __FDELT, __FDMASK.
38781 * sysdeps/i386/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
38783 * sysdeps/x86_64/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
38786 * elf/Makefile (gen-ldd): Fix pattern.
38788 * elf/rtld.c (dl_main): Only use USE___THREAD when defined.
38789 (init_tls): Likewise.
38791 2011-09-12 Ulrich Drepper <drepper@gmail.com>
38793 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: New file.
38795 2011-09-12 Andreas Schwab <schwab@redhat.com>
38797 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Cast to
38798 `struct cmsghdr *' instead of `void *'.
38799 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (__cmsg_nxthdr):
38802 2011-09-11 Andreas Schwab <schwab@linux-m68k.org>
38804 * elf/Makefile (gen-ldd): Prepend $(..) to $(ldd-rewrite-script)
38806 * sysdeps/unix/sysv/linux/configure.in: Remove leading ../ from
38807 ldd_rewrite_script.
38809 2011-09-11 Ulrich Drepper <drepper@gmail.com>
38811 * configure.in: Remove --with-tls option.
38812 * config.h.in: Remove HAVE_TLS_SUPPORT entry.
38813 * sysdeps/i386/elf/configure.in: Always test for TLS support and err
38814 out in case it is missing.
38815 * sysdeps/ia64/elf/configure.in: Likewise.
38816 * sysdeps/powerpc/powerpc32/elf/configure.in: Likewise.
38817 * sysdeps/powerpc/powerpc64/elf/configure.in: Likewise.
38818 * sysdeps/s390/s390-32/elf/configure.in: Likewise.
38819 * sysdeps/s390/s390-64/elf/configure.in: Likewise.
38820 * sysdeps/sh/elf/configure.in: Likewise.
38821 * sysdeps/sparc/sparc32/elf/configure.in: Likewise.
38822 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
38823 * sysdeps/x86_64/elf/configure.in: Likewise.
38824 * sysdeps/mach/hurd/i386/tls.h: Remove test for HAVE_TLS_SUPPORT.
38825 * sysdeps/mach/hurd/tls.h: Likewise.
38828 * malloc/obstack.h [!GNUC] (obstack_free): Avoid cast to int.
38831 * configure.in: Fix use of AC_INIT.
38833 * elf/dl-support.c (_dl_pagesize): Initialize to EXEC_PAGESIZE.
38835 2011-09-10 Ulrich Drepper <drepper@gmail.com>
38837 * malloc/malloc.c: Replace MALLOC_FAILURE_ACTION with use of
38839 * malloc/hooks.c: Likewise.
38842 * malloc/arena.c (ptmalloc_init_minimal): Removed. Initialize all
38843 variables statically.
38844 (narenas): Initialize.
38845 (list_lock): Initialize.
38846 (ptmalloc_init): Don't call ptmalloc_init_minimal. Remove
38847 initializtion of main_arena and list_lock. Small cleanups.
38848 Replace all uses of malloc_getpagesize with GLRO(dl_pagesize).
38849 * malloc/malloc.c: Remove malloc_getpagesize. Include <ldsodefs.h>.
38850 Add initializers to main_arena and mp_.
38851 (malloc_state): Remove pagesize member. Change all users to use
38854 * elf/rtld.c (rtld_global_ro): Initialize _dl_pagesize.
38855 * sysdeps/unix/sysv/linux/getpagesize.c: Simplify. GLRO(dl_pagesize)
38856 is always initialized.
38858 * malloc/malloc.c: Removed unused configurations and dead code.
38859 * malloc/arena.c: Likewise.
38860 * malloc/hooks.c: Likewise.
38861 * malloc/Makefile (CPPFLAGS-malloc.c): Don't add -DATOMIC_FASTBINS.
38863 * include/tls.h: Removed. USE___THREAD must always be defined.
38864 * bits/libc-tsd.h: Don't handle !USE___THREAD.
38865 * elf/dl-libc.c: Likewise.
38866 * elf/dl-tsd.c: Likewise.
38867 * include/errno.h: Likewise.
38868 * include/netdb.h: Likewise.
38869 * include/resolv.h: Likewise.
38870 * inet/herrno-loc.c: Likewise.
38871 * inet/herrno.c: Likewise.
38872 * malloc/arena.c: Likewise.
38873 * malloc/hooks.c: Likewise.
38874 * malloc/malloc.c: Likewise.
38875 * resolv/res-state.c: Likewise.
38876 * resolv/res_libc.c: Likewise.
38877 * sysdeps/i386/dl-machine.h: Likewise.
38878 * sysdeps/ia64/dl-machine.h: Likewise.
38879 * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
38880 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
38881 * sysdeps/s390/s390-32/dl-machine.h: Likewise.
38882 * sysdeps/s390/s390-64/dl-machine.h: Likewise.
38883 * sysdeps/sh/dl-machine.h: Likewise.
38884 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
38885 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
38886 * sysdeps/unix/i386/sysdep.S: Likewise.
38887 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
38888 * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
38889 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
38890 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
38891 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
38892 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
38893 * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
38894 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
38895 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
38896 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
38897 * sysdeps/unix/x86_64/sysdep.S: Likewise.
38898 * sysdeps/x86_64/dl-machine.h: Likewise.
38899 * tls.make.c: Likewise.
38901 * configure.in: Remove --with-__thread option. Make tests for
38902 --no-whole-archive, __builtin_expect, symbol redirection, __thread,
38903 tls_model attribute fail if no support is available. Remove
38905 * Makeconfig: Adjust for dropped configure option. All features are
38907 * Makerules: Likewise.
38908 * Versions.def: Likewise.
38909 * argp/argp-fmtstream.c: Likewise.
38910 * argp/argp-fmtstream.h: Likewise.
38911 * argp/argp-help.c: Likewise.
38912 * assert/assert.c: Likewise.
38913 * config.h.in: Likewise.
38914 * config.make.in: Likewise.
38915 * configure: Likewise.
38916 * configure.in: Likewise.
38917 * csu/Versions: Likewise.
38918 * csu/init.c: Likewise.
38919 * elf/tst-audit2.c: Likewise.
38920 * elf/tst-tls10.c: Likewise.
38921 * elf/tst-tls10.h: Likewise.
38922 * elf/tst-tls11.c: Likewise.
38923 * elf/tst-tls12.c: Likewise.
38924 * elf/tst-tls14.c: Likewise.
38925 * elf/tst-tlsmod11.c: Likewise.
38926 * elf/tst-tlsmod12.c: Likewise.
38927 * elf/tst-tlsmod13.c: Likewise.
38928 * elf/tst-tlsmod13a.c: Likewise.
38929 * elf/tst-tlsmod14a.c: Likewise.
38930 * elf/tst-tlsmod15b.c: Likewise.
38931 * elf/tst-tlsmod16a.c: Likewise.
38932 * elf/tst-tlsmod16b.c: Likewise.
38933 * elf/tst-tlsmod7.c: Likewise.
38934 * elf/tst-tlsmod8.c: Likewise.
38935 * elf/tst-tlsmod9.c: Likewise.
38936 * gmon/gmon.c: Likewise.
38937 * grp/fgetgrent_r.c: Likewise.
38938 * grp/putgrent.c: Likewise.
38939 * hurd/fopenport.c: Likewise.
38940 * include/libc-symbols.h: Likewise.
38941 * include/tls.h: Likewise.
38942 * intl/gettextP.h: Likewise.
38943 * intl/loadinfo.h: Likewise.
38944 * locale/global-locale.c: Likewise.
38945 * locale/localeinfo.h: Likewise.
38946 * mach/devstream.c: Likewise.
38947 * malloc/arena.c: Likewise.
38948 * malloc/set-freeres.c: Likewise.
38949 * misc/err.c: Likewise.
38950 * misc/getttyent.c: Likewise.
38951 * misc/mntent_r.c: Likewise.
38952 * posix/getopt.c: Likewise.
38953 * posix/wordexp.c: Likewise.
38954 * pwd/fgetpwent_r.c: Likewise.
38955 * resolv/Versions: Likewise.
38956 * resolv/res_hconf.c: Likewise.
38957 * shadow/fgetspent_r.c: Likewise.
38958 * shadow/putspent.c: Likewise.
38959 * stdio-common/printf_fphex.c: Likewise.
38960 * stdio-common/tmpfile.c: Likewise.
38961 * stdlib/abort.c: Likewise.
38962 * stdlib/fmtmsg.c: Likewise.
38963 * sunrpc/auth_unix.c: Likewise.
38964 * sunrpc/clnt_perr.c: Likewise.
38965 * sunrpc/clnt_tcp.c: Likewise.
38966 * sunrpc/clnt_udp.c: Likewise.
38967 * sunrpc/clnt_unix.c: Likewise.
38968 * sunrpc/openchild.c: Likewise.
38969 * sunrpc/svc_simple.c: Likewise.
38970 * sunrpc/svc_tcp.c: Likewise.
38971 * sunrpc/svc_udp.c: Likewise.
38972 * sunrpc/svc_unix.c: Likewise.
38973 * sunrpc/xdr.c: Likewise.
38974 * sunrpc/xdr_array.c: Likewise.
38975 * sunrpc/xdr_rec.c: Likewise.
38976 * sunrpc/xdr_ref.c: Likewise.
38977 * sunrpc/xdr_stdio.c: Likewise.
38979 2011-09-09 Ulrich Drepper <drepper@gmail.com>
38981 * sysdeps/i386/fpu/libm-test-ulps: Adjust ULPs for jn tests.
38983 2011-07-03 Andreas Jaeger <aj@suse.de>
38985 * math/libm-test.inc (jn_test): Add tests for BZ#11589.
38986 * sysdeps/x86_64/fpu/libm-test-ulps: Add new ULPs for jn_test,
38987 regenerate with gen-libm-tests.pl.
38989 2010-05-12 Petr Baudis <pasky@suse.cz>
38992 * sysdeps/ieee754/dbl-64/e_jn.c: Compensate major precision loss
38993 around j0() zero points by switching to j1().
38994 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
38995 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
38996 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
38997 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
38999 2011-09-09 Ulrich Drepper <drepper@gmail.com>
39001 * sysdeps/unix/bsd/bsd4.4/bits/socket.h (__cmsg_nxthdr): Use NULL
39003 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Use (void*)0
39005 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
39006 Patch in part by Pavel Roskin <proski@gnu.org>.
39009 * stdio-common/vfscanf.c (ADDW): Allocate large memory block with
39011 (_IO_vfscanf_internal): Remove reteof. Use errout after setting done.
39012 Free memory block if necessary.
39015 * libio/genops.c (INTDEF): For string streams the _lock pointer can
39016 be NULL. Don't lock in this case.
39018 2011-09-09 Roland McGrath <roland@hack.frob.com>
39020 * elf/elf.h (ELFOSABI_GNU): New macro.
39021 (ELFOSABI_LINUX): Define to that.
39023 2011-07-29 Denis Zaitceff <zaitceff@gmail.com>
39025 * string/strncat.c (strncat): Undef the symbol in case it has been
39026 defined in bits/string.h.
39028 2011-09-09 Ulrich Drepper <drepper@gmail.com>
39030 * elf/sotruss.ksh: Clean up, fix, and complete help messages.
39032 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Fill in data from the real
39035 2011-08-17 Andreas Jaeger <aj@suse.de>
39037 * elf/sprof.c (load_shobj): Remove unused variable log_hashfraction.
39039 2011-08-18 Paul Pluzhnikov <ppluzhnikov@google.com>
39040 Ian Lance Taylor <iant@google.com>
39042 * math/libm-test.inc (lround_test): New testcase.
39043 * sysdeps/ieee754/dbl-64/s_lround.c (__lround): Don't lose precision.
39045 2011-09-08 Ulrich Drepper <drepper@gmail.com>
39047 * Makefile: Remove support for automatic cvs check-ins.
39048 * Makerules: Likewise.
39049 * config.make.in: Likewise.
39050 * configure.in: Likewise.
39051 * intl/Makefile: Likewise.
39052 * locale/Makefile: Likewise.
39053 * po/Makefile: Likewise.
39054 * posix/Makefile: Likewise.
39055 * sysdeps/gnu/Makefile: Likewise.
39056 * sysdeps/mach/hurd/Makefile: Likewise.
39057 * sysdeps/sparc/sparc32/Makefile: Likewise.
39060 * posix/Makefile (bug-regex32-ENV): Define.
39061 Patch by John Stanley <jpsinthemix@verizon.net>.
39063 * misc/Makefile (headers): Add bits/select2.h.
39064 * misc/sys/select.h: Include bits/select2.h for _FORTIFY_SOURCE.
39065 * misc/bits/select2.h: New file.
39066 * include/bits/select2.h: New file.
39067 * debug/Makefile (routines): Add fdelt_chk.
39068 * debug/Versions: Export __fdelt_chk and __fdelt_warn for GLIBC_2.15.
39069 * debug/tst-chk1.c (do_test): Add tests for FD_SET, FD_CLR, and
39071 * debug/fdelt_chk.c: New file.
39073 * wcsmbs/test-wcscmp.c: Moved from string/*. Adjust.
39074 * wcsmbs/test-wmemcmp.c: Likewise.
39075 * string/Makefile (strop-tests): Remove wcscmp and wmemcmp.
39076 * wcsmbs/Makefile (strop-tests): Add wcscmp and wmemcmp.
39078 2011-09-08 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
39080 * string/Makefile (strop-tests): Add memcmp.
39081 * string/test-wmemcmp.c: New file.
39082 * string/test-memcmp.c: Add wmemcmp support.
39084 2011-09-08 Roland McGrath <roland@hack.frob.com>
39087 * manual/libc.texinfo (EDITION, VERSION, UPDATED): Update for
39090 * sysdeps/mach/hurd/fork.c (__fork): Initialize REFS so we don't use a
39091 garbage value in a __mach_port_mod_refs call in the cases of the
39092 task-self and thread-self ports.
39094 2011-09-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
39096 * sysdeps/mach/hurd/sys/param.h (DEV_BSIZE): New macro.
39098 2011-09-08 Andreas Schwab <schwab@redhat.com>
39100 * elf/dl-load.c (lose): Check for non-null L.
39102 2011-09-07 Ulrich Drepper <drepper@gmail.com>
39104 * elf/dl-load.c (open_verify): Use O_CLOEXEC.
39106 * elf/dl-libc.c (dlerror_run): Pass back error code from
39110 * elf/dl-load.c (lose): Free l_origin if it is valid.
39112 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Fix mixup in section
39114 * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
39115 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
39116 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
39117 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
39118 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
39119 Patch by Liubov Dmitrieva <liubov.dmitrieva@intel.com>.
39121 2011-08-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
39123 * sysdeps/powerpc/fpu/e_hypot.c: New file.
39124 * sysdeps/powerpc/fpu/e_hypotf.c: New file.
39125 * sysdeps/powerpc/fpu/e_rem_pio2f.c: New file.
39126 * sysdeps/powerpc/fpu/k_rem_pio2f.c: New file.
39127 * sysdeps/powerpc/fpu/k_cosf.c: New file.
39128 * sysdeps/powerpc/fpu/k_sinf.c: New file.
39129 * sysdeps/powerpc/fpu/s_cosf.c: New file.
39130 * sysdeps/powerpc/fpu/s_sinf.c: New file.
39131 * sysdeps/powerpc/fpu/s_scalbnf.c: New file.
39132 * sysdeps/powerpc/fpu/s_float_bitwise.h: New file.
39134 2011-08-15 Alan Modra <amodra@gmail.com>
39137 * sysdeps/powerpc/Makefile (gmon): Move sysdep_routines to..
39138 * sysdeps/powerpc/powerpc64/Makefile (gmon): ..here..
39139 * sysdeps/powerpc/powerpc32/Makefile (gmon): ..and here. Add
39140 ppc_mcount to static-only-routines.
39141 * sysdeps/powerpc/powerpc32/Versions: Export GLIBC_PRIVATE
39143 * sysdeps/powerpc/powerpc32/ppc-mcount.S (_mcount): Call
39144 __mcount_internal with usual JUMPTARGET. Remove useless nop.
39146 2011-08-18 David Flaherty <flaherty@linux.vnet.ibm.com>
39148 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: New file which checks
39149 for finite and infinity parameters.
39151 2011-08-04 Will Schmidt <will_schmidt@vnet.ibm.com>
39153 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Adjust the alignment
39154 and add nop instructions for throughput optimization.
39155 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
39157 2011-07-28 Will Schmidt <will_schmidt@vnet.ibm.com>
39159 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Optimize the
39160 aligned copy for power7 with vector-scalar instructions.
39161 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
39163 2011-07-24 H.J. Lu <hongjiu.lu@intel.com>
39165 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Simplify
39168 2011-09-07 Andreas Schwab <schwab@redhat.com>
39171 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Revert
39174 2011-09-07 Ulrich Drepper <drepper@gmail.com>
39176 * sysdeps/unix/sysv/linux/x86_64/init-first.c
39177 (_libc_vdso_platform_setup): If vDSO is not present store pointer to
39178 syscall wrapper around clock_gettime in __vdso_clock_gettime.
39179 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Add entry for
39182 2011-09-06 Ulrich Drepper <drepper@gmail.com>
39184 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c (INTERNAL_GETTIME):
39185 Forgot to demangle the pointer.
39187 * sysdeps/i386/sysdep.h: Define atom_text_section.
39188 * sysdeps/x86_64/sysdep.h: Likewise.
39189 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Place function in
39190 section with atom_text_section.
39191 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
39192 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
39193 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
39194 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
39195 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: Likewise.
39197 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: New file.
39198 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSCALL_GETTIME): Allow
39199 already be defined. Change to take two parameters and don't assign
39200 result to variable. Adjust all users.
39201 Define INTERNAL_GETTIME if not already defined.
39202 Use INTERNAL_GETTIME instead of INTERNAL_VSYSCALL got clock_gettime
39204 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Don't define
39205 HAVE_CLOCK_GETTIME_VSYSCALL.
39206 * sysdeps/unix/clock_gettime.c: Adjust use of SYSDEP_GETTIME_CPU.
39208 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Don't use
39209 gettimeofday vsyscall, just use time.
39211 2011-09-06 Andreas Schwab <schwab@redhat.com>
39213 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Include
39216 2011-09-06 Ulrich Drepper <drepper@gmail.com>
39218 * sysdeps/unix/sysv/linux/kernel-features.h: Add entry for getcpu
39220 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Use real
39222 * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
39223 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [!SHARED]: Use real
39224 syscall if possible.
39226 2011-09-05 Ulrich Drepper <drepper@gmail.com>
39228 * elf/pldd.c (get_process_info): Don't read whole ELF header, just
39229 e_ident. Don't pass to find_mapsXX.
39230 * elf/pldd-xx.c (find_mapsXX): Remove second parameter.
39232 2011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
39234 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
39235 strchr-sse2-no-bsf strrchr-sse2-no-bsf
39236 * sysdeps/x86_64/multiarch/strchr.S: Update.
39237 Check bit_slow_BSF bit.
39238 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
39239 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: New file.
39240 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: New file.
39242 2011-09-05 Ulrich Drepper <drepper@gmail.com>
39245 * sysdeps/posix/spawni.c (script_execute): Define only for compatibility
39247 (tryshell): Define.
39248 (__spawni): Change last parameter to be flag. Test
39249 SPAWN_XFLAGS_USE_PATH flag to use path or not.
39250 Don't try to use shell unless SPAWN_XFLAGS_TRY_SHELL is set.
39251 * sysdeps/mach/hurd/spawni.c: Change last parameter and adjust user.
39252 * posix/spawni.c: Likewise.
39253 * posix/spawn.c: Add compat version which passed SPAWN_XFLAGS_TRY_SHELL.
39254 * posix/spawnp.c: Likewise. Change normal version to use
39255 SPAWN_XFLAGS_USE_PATH.
39256 * posix/spawn_int.c: Define SPAWN_XFLAGS_USE_PATH and
39257 SPAWN_XFLAGS_TRY_SHELL.
39260 * posix/glob.h: Remove gcc 1.x support.
39263 * elf/dl-misc.c (_dl_sysdep_read_whole_file): Use O_CLOEXEC.
39265 2011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
39267 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
39268 strchr-sse2 strrchr-sse2 strchr-sse2-bsf
39270 * sysdeps/i386/i686/multiarch/strchr.S: New file.
39271 * sysdeps/i386/i686/multiarch/strrchr.S: New file.
39272 * sysdeps/i386/i686/multiarch/strchr-sse2.S: New file.
39273 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: New file.
39274 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: New file.
39275 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: New file.
39277 2011-08-29 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
39279 * sysdeps/x86_64/wcscmp.S: New file.
39281 * sysdeps/i386/i686/multiarch/Makefile: (sysdep_routines): Add
39282 wcscmp-c wcscmp-sse2
39283 * sysdeps/i386/i686/multiarch/wcscmp-c.c: New file.
39284 * sysdeps/i386/i686/multiarch/wcscmp.S: New file.
39285 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: New file.
39286 * wcsmbs/wcscmp.c: Allow renaming.
39288 2011-09-05 David S. Miller <davem@davemloft.net>
39290 * sysdeps/sparc/sparc32/fpu/s_fabsf.S: Use first argument
39291 stack slot, rather than the struct return pointer slot.
39292 * sysdeps/sparc/sparc32/fpu/s_fabs.c: Delete.
39293 * sysdeps/sparc/sparc32/fpu/s_fabs.S: New file.
39294 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Likewise.
39295 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/Implies: Likewise.
39297 2011-09-05 Ulrich Drepper <drepper@gmail.com>
39299 * po/ja.po: Update from translation team.
39302 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Fix to match
39303 kernel in 64-bit binaries.
39305 2011-09-01 David S. Miller <davem@davemloft.net>
39307 * elf/elf.h (HWCAP_SPARC_*): Move to..
39308 * sysdeps/sparc/sysdep.h: this new file and add new values.
39309 * sysdeps/unix/sparc/sysdep.h: Include sysdeps/sparc/sysdep.h
39310 * sysdeps/sparc/dl-procinfo.h: Include sysdep.h and increase
39311 _DL_HWCAP_COUNT to 24.
39312 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
39314 * sysdeps/sparc/sparc32/bits/atomic.h: Don't use magic local
39315 __ATOMIC_HWCAP_SPARC_V9 define, use sysdep.h one instead.
39316 * sysdeps/sparc/sparc32/dl-machine.h: Include sysdep.h
39317 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use HWCAP_SPARC_*
39318 instead of magic constants.
39319 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
39321 2011-08-31 David S. Miller <davem@davemloft.net>
39323 * sysdeps/unix/sparc/sysdep.h (SETUP_PIC_REG): Define.
39324 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h (PSEUDO):
39325 Reimplement to do errno handling inline.
39326 (SYSCALL_ERROR_HANDLER): New macro.
39327 (__SYSCALL_STRING): Do not do errno handling in asm.
39328 (__CLONE_SYSCALL_STRING): Delete.
39329 (__INTERNAL_SYSCALL_STRING): Delete.
39330 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Include
39331 sysdeps/unix/sparc/sysdep.h instead of sysdeps/unix/sysdep.h
39332 (PSEUDO): Reimplement to do errno handling inline.
39333 (ret, ret_NOERRNO, ret_ERRVAL, r0, r1, MOVE): Don't redefine.
39334 (SYSCALL_ERROR_HANDLER): New macro.
39335 (__SYSCALL_STRING): Do not do errno handling in asm.
39336 (__CLONE_SYSCALL_STRING): Delete.
39337 (__INTERNAL_SYSCALL_STRING): Delete.
39338 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL):
39339 Implement in terms of INTERNAL_SYSCALL and __set_errno, just like
39341 (INTERNAL_SYSCALL_DECL): Declare %g1 var for err state.
39342 (inline_syscall*): Add 'err' argument.
39343 (INTERNAL_SYSCALL, INTERNAL_SYSCALL_NCS,
39344 INTERNAL_SYSCALL_ERROR_P): Likewise and pass it down.
39345 (INLINE_CLONE_SYSCALL): Reimplement in terms of __SYSCALL_STRING,
39346 INTERNAL_SYSCALL_ERRNO, and INTERNAL_SYSCALL_ERROR_P.
39348 * scripts/data/localplt-sparc-linux-gnu.data: Remove 'ffs'.
39349 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
39351 2011-08-30 Andreas Schwab <schwab@redhat.com>
39353 * elf/rtld.c (dl_main): Relocate objects in dependency order.
39355 2011-08-29 Jiri Olsa <jolsa@redhat.com>
39357 * sysdeps/i386/dl-trampoline.S (_dl_runtime_profile): Fix cfi
39360 2011-08-24 David S. Miller <davem@davemloft.net>
39362 * sysdeps/sparc/sparc64/strcmp.S: Rewrite.
39364 2011-08-24 Andreas Schwab <schwab@redhat.com>
39366 * elf/Makefile: Add rules to build and run unload8 test.
39367 * elf/unload8.c: New file.
39368 * elf/unload8mod1.c: New file.
39369 * elf/unload8mod1x.c: New file.
39370 * elf/unload8mod2.c: New file.
39371 * elf/unload8mod3.c: New file.
39373 * elf/dl-close.c (_dl_close_worker): Reset private search list if
39376 2011-08-23 David S. Miller <davem@davemloft.net>
39378 * sysdeps/sparc/sparc64/dl-machine.h (DL_STACK_END): Do not
39379 subtract stack bias.
39380 * sysdeps/sparc/sparc64/jmpbuf-unwind.h (_JMPBUF_UNWINDS): Use
39381 %sp not %fp in calculations.
39382 (_JMPBUF_UNWINDS_ADJ): Likewise.
39384 * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait): New function.
39385 (aio_suspend): Call it to force an exception region around the
39386 AIO_MISC_WAIT() invocation.
39388 2011-08-23 Andreas Schwab <schwab@redhat.com>
39390 * sysdeps/i386/i686/multiarch/strspn.S (ENTRY): Add missing
39393 2011-07-04 Aurelien Jarno <aurelien@aurel32.net>
39395 * sysdeps/powerpc/dl-tls.h: Add _PPC_DL_TLS_H inclusion
39397 * sysdeps/powerpc/powerpc64/dl-irel.h: Include <ldsodefs.h>
39398 and <dl-machine.h>.
39399 (Elf64_FuncDesc): Remove.
39401 2011-08-22 David S. Miller <davem@davemloft.net>
39403 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Fix
39404 sigaltstack check, add missing cfi directives.
39405 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Add
39406 missing cfi directives, and sigaltstack handling.
39408 2011-08-16 Andreas Schwab <schwab@redhat.com>
39411 * elf/dl-deps.c (_dl_map_object_deps): Only assume cycle when
39412 object is seen twice.
39413 * elf/dl-fini.c (_dl_sort_fini): Likewise.
39415 * elf/Makefile (distribute): Add tst-initorder2.c.
39416 (tests): Add tst-initorder2.
39417 (modules-names): Add tst-initorder2a tst-initorder2b
39418 tst-initorder2c tst-initorder2d. Add rules to build them.
39419 ($(objpfx)tst-initorder2.out): New rule.
39420 * elf/tst-initorder2.c: New file.
39421 * elf/tst-initorder2.exp: New file.
39423 2011-08-22 Andreas Schwab <schwab@redhat.com>
39425 * sysdeps/unix/sysv/linux/i386/scandir64.c: Include <string.h>.
39427 * elf/dl-deps.c (_dl_map_object_deps): Move check for missing
39428 dependencies back to end of function.
39430 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
39431 $(elfobjdir)/ld.so.
39433 2011-08-21 Ulrich Drepper <drepper@gmail.com>
39435 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.S: Removed.
39436 * sysdeps/unix/sysv/linux/x86_64/time.S: Removed.
39437 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: New file.
39438 * sysdeps/unix/sysv/linux/x86_64/time.c: New file.
39439 * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Remove declaration
39440 of __vdso_gettimeofday.
39441 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Remove definition of
39442 __vdso_gettimeofday and __vdso_time. Define __vdso_getcpu with
39444 (_libc_vdso_platform_setup): Remove initialization of
39445 __vdso_gettimeofday and __vdso_time.
39447 2011-08-20 Ulrich Drepper <drepper@gmail.com>
39449 * nss/nss_files/files-alias.c (get_next_alias): Use feof_unlocked
39450 and fgetc_unlocked.
39451 * nss/nss_files/files-key.c (search): Use fgets_unlocked and
39454 * elf/dl-open.c (add_to_global): Report additions to the global scope
39455 for LD_DEBUG=scopes.
39456 (dl_open_worker): Also print scope of newly loaded dependencies.
39457 (_dl_show_scope): Indicate if there is no scope.
39460 * stdio-common/Makefile (tests): Add bug24.
39461 * stdio-common/bug24.c: New file.
39463 2011-08-19 Andreas Jaeger <aj@suse.de>
39466 * libio/fileops.c (_IO_new_file_fopen): Fix handling of
39467 non-existant file when using close-on-exec mode.
39469 2011-08-20 Ulrich Drepper <drepper@gmail.com>
39471 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Fix CFI for
39472 the very first instruction.
39474 * sysdeps/x86_64/dl-trampoline.h: If MORE_CODE is defined, restore
39475 the CFI state in the end.
39476 * sysdeps/x86_64/dl-trampoline.S: Define MORE_CODE before first
39477 inclusion of dl-trampoline.h.
39478 Based on a patch by Jiri Olsa <jolsa@redhat.com>.
39480 2011-08-19 Andreas Schwab <schwab@redhat.com>
39482 * sysdeps/powerpc/fpu/libm-test-ulps: Relax ctan (0.75 + 1.25 i)
39483 expectations for long double.
39485 * sysdeps/unix/sysv/linux/powerpc/powerpc32/scandir64.c: Renamed
39486 from sysdeps/unix/sysv/linux/powerpc/scandir64.c.
39488 2011-08-14 David S. Miller <davem@davemloft.net>
39490 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): The
39491 artificual limit depends upon the system page size.
39493 2011-08-17 Ulrich Drepper <drepper@gmail.com>
39495 * Makeconfig (override CFLAGS): Add library-specific CFLAGS.
39496 * resolv/Makefile: Define CFLAGS-libresolv.
39498 2011-08-17 Andreas Schwab <schwab@redhat.com>
39500 * nss/makedb.c (compute_tables): Make variables used in nested
39503 2011-08-17 Ulrich Drepper <drepper@gmail.com>
39505 * elf/pldd-xx.c (r_debug): Explicitly add padding when needed.
39506 * elf/pldd.c (get_process_info): Use pread to re-read auxiliary vector
39507 if buffer was too small.
39509 * elf/pldd.c (main): Attach to all threads in the process.
39510 Rewrite /proc handling to use *at functions.
39512 2011-08-16 Ulrich Drepper <drepper@gmail.com>
39514 * elf/dl-open.c (_dl_show_scope): Take additional parameter which
39515 specifies first scope to show.
39516 (dl_open_worker): Update callers. Move printing scope of new
39517 object to before the relocation.
39518 * elf/rtld.c (dl_main): Update _dl_show_scope call.
39519 * sysdeps/generic/ldsodefs.h: Update declaration.
39521 * elf/dl-open.c (_dl_show_scope): Use _dl_debug_printf to generate the
39522 string for the scope number.
39524 2011-08-14 Ulrich Drepper <drepper@gmail.com>
39526 * nscd/servicescache.c (cache_addserv): Make sure written is always
39529 2011-08-14 Roland McGrath <roland@hack.frob.com>
39531 * sysdeps/i386/i486/bits/atomic.h
39532 (__arch_compare_and_exchange_val_64_acq): Use RET alone at end of
39533 statement expression, so as to suppress "set but not used" warning.
39534 (__arch_c_compare_and_exchange_val_64_acq): Likewise.
39536 * string/strncat.c (STRNCAT): Use prototype definition.
39538 * locale/Makefile (locale-CPPFLAGS): Renamed CPPFLAGS-locale-programs.
39539 (locale-CPPFLAGS): New variable; put LOCALEDIR, LOCALE_ALIAS_PATH and
39541 (cppflags-iterator.mk sequence): Use locale-programs in place of nonlib.
39542 (localedef-modules): Add localedef.
39543 (locale-modules): Add locale.
39545 * sysdeps/generic/ldsodefs.h (struct unique_sym): Add a const.
39546 * elf/rtld.c (dl_main): Invert order of assignment in last change,
39547 to avoid a warning.
39549 2011-08-14 David S. Miller <davem@davemloft.net>
39551 * sysdeps/unix/sysv/linux/sparc/bits/resource.h (RLIM_INFINITY,
39552 RLIM64_INFINITY): Fix 64-bit values for 32-bit sparc.
39554 2011-08-13 Ulrich Drepper <drepper@gmail.com>
39556 * elf/dl-open.c: Rename show_scope to _dl_show_scope and export.
39557 (dl_open_worker): Call _dl_show_scope when DL_DEBUG_SCOPES is set.
39558 * elf/rtld.c (dl_main): Set l_name of vDSO.
39559 Call _dl_show_scope when DL_DEBUG_SCOPES.
39560 (process_dl_debug): Recognize scopes flag and also set it for all.
39561 * sysdeps/generic/ldsodefs.h: Define DL_DEBUG_SCOPES.
39562 Declare _dl_show_scope.
39564 * elf/dl-libc.c (do_dlopen_args): Add caller_dlopen.
39565 (do_dlopen): Pass caller_dlopen to dl_open.
39566 (__libc_dlopen_mode): Initialize caller_dlopen.
39568 * intl/l10nflist.c (_nl_normalize_codeset): Make it compile outside
39569 of libc. Make tolower call locale-independent. Optimize a bit by
39570 using isdigit instead of isalnum.
39571 * locale/Makefile (locale-CPPFLAGS): Add -DNOT_IN_libc.
39573 2011-08-12 Ulrich Drepper <drepper@gmail.com>
39575 * elf/dl-load.c (_dl_map_object): Show in debug output whether a DSO
39576 was a dependency or dynamically loaded.
39578 2011-08-11 Ulrich Drepper <drepper@gmail.com>
39580 * intl/l10nflist.c: Allow architecture-specific pop function.
39581 * sysdeps/x86_64/l10nflist.c: New file.
39583 * intl/l10nflist.c (_nl_make_l10nflist): Use locale-independent
39586 2011-08-10 Andreas Schwab <schwab@redhat.com>
39588 * include/dirent.h: Add libc_hidden_proto for scandirat and
39589 scandirat64. Don't declare __scandirat64.
39590 * dirent/scandirat.c: Add libc_hidden_def.
39591 * dirent/scandirat64.c (SCANDIRAT): Remove underscores.
39592 * sysdeps/unix/sysv/linux/i386/scandir64.c (SCANDIRAT): Likewise.
39594 2011-08-10 David S. Miller <davem@davemloft.net>
39596 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Add missing comma in
39598 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
39599 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
39600 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
39602 2011-08-09 Ulrich Drepper <drepper@gmail.com>
39604 * Versions.def [libc]: Add GLIBC_2.15.
39605 * dirent/Makefile (routines): Add scandirat and scandirat64.
39606 * dirent/Versions [libc]: Export scandirat and scandirat64 for
39608 * dirent/dirent.h: Declare scandirat and scandirat64.
39609 * dirent/scandirat.c: New file.
39610 * dirent/scandirat64.c: New file.
39611 * sysdeps/wordsize-64/scandirat.c: New file.
39612 * sysdeps/wordsize-64/scandirat64.c: New file.
39613 * dirent/opendir.c: Define opendirat.
39614 * dirent/scandir.c: Move code to scandirat.c. Implement scandir
39616 * dirent/scandir64.c: Adjust for scandir.c change.
39617 * include/dirent.h: Define scandir_cancel_struct. Declare __opendirat,
39618 __scandirat64, and __scandir_cancel_handler.
39619 * sysdeps/unix/opendir.c: Rename __opendir to __opendirat. Take
39620 additional parameter and use openat instead of open (outside of ld.so).
39621 Add new __opendir as wrapper around __opendirat.
39622 * sysdeps/unix/sysv/linux/i386/scandir64.c: Reimplement __old_scandir64
39623 here without requiring old scandirat implementation.
39625 2011-08-08 Ulrich Drepper <drepper@gmail.com>
39627 * dirent/scandir.c (cancel_handler): Renamed to
39628 __scandir_cancel_handler. Do not define if SKIP_SCANDIR_CANCEL is
39629 defined. Adjust users.
39630 * dirent/scandir64.c: Define SKIP_SCANDIR_CANCEL.
39631 * sysdeps/unix/sysv/linux/i386/scandir64.c: Likewise.
39633 2011-08-04 Ulrich Drepper <drepper@gmail.com>
39635 * string/test-string.h (IMPL): Use __STRING to expand name and then
39638 * string/test-strcmp.c: Unify most of the WIDE and !WIDE code. Lots
39641 2011-07-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
39643 * string/Makefile: Update.
39644 (strop-tests): Append strncat.
39645 * string/test-wcscmp.c: New file.
39646 New comprehensive test for wcscmp.
39647 * string/test-strcmp.c: Update.
39648 (WIDE): New define.
39650 2011-07-22 Andreas Schwab <schwab@redhat.com>
39652 * resolv/res_init.c (__res_vinit): Properly tokenize nameserver
39655 2011-07-26 Andreas Schwab <schwab@redhat.com>
39657 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
39658 encoding to ACE if AI_IDN.
39660 2011-08-01 Jakub Jelinek <jakub@redhat.com>
39662 * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2): Fix up fq
39663 to y conversion for prec 3 and __FLT_EVAL_METHOD__ != 0.
39665 2011-07-22 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
39667 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Update.
39668 Fix overflow bug in strncat.
39669 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
39671 * string/test-strncat.c: Update.
39672 Add new tests for checking overflow bugs.
39674 2011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
39676 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
39677 strcat-ssse3 strcat-sse2 strncat-ssse3 strncat-sse2 strncat-c.
39678 * sysdeps/i386/i686/multiarch/strcat.S: New file.
39679 * sysdeps/i386/i686/multiarch/strcat-c.c: New file.
39680 * sysdeps/i386/i686/multiarch/strcat-sse2.S: New file.
39681 * sysdeps/i386/i686/multiarch/strcat-ssse3.S: New file.
39682 * sysdeps/i386/i686/multiarch/strncat.S: New file.
39683 * sysdeps/i386/i686/multiarch/strncat-sse2.S: New file.
39684 * sysdeps/i386/i686/multiarch/strncat-ssse3.S: New file.
39686 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S
39687 (USE_AS_STRCAT): Define.
39688 Add strcat and strncat support.
39689 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
39691 2011-07-25 Andreas Schwab <schwab@redhat.com>
39693 * sysdeps/i386/i486/bits/string.h (__strncat_g): Correctly handle
39694 __n bigger than INT_MAX+1.
39695 (__strncmp_g): Likewise.
39697 2011-07-23 Ulrich Drepper <drepper@gmail.com>
39699 * posix/unistd.h: Define SEEK_DATA and SEEK_HOLE.
39700 * libio/stido.h: Likewise.
39702 * sysdeps/unix/sysv/linux/bits/socket.h (PF_NFC): Define.
39704 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (PF_NFC): Define.
39707 * sysdeps/unix/sysv/linux/sys/ptrace.h: Add new constants.
39708 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
39709 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
39710 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
39711 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
39714 * scripts/test-installation.pl: Don't expect libnss_test1 to be
39717 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix one more
39719 (_dl_x86_64_save_sse): Likewise.
39721 2011-07-22 Ulrich Drepper <drepper@gmail.com>
39723 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix test for
39725 (_dl_x86_64_save_sse): Likewise.
39727 * crypt/crypt_util.c (__init_des_r): Optimize memset calls.
39729 * crypt/crypt_util.c (__init_des_r): Add read barrier as well.
39731 2011-07-21 Andreas Schwab <schwab@redhat.com>
39733 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix last
39735 (_dl_x86_64_save_sse): Use correct AVX check.
39737 2011-07-21 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
39739 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Fix overfow
39740 bug in strncpy/strncat.
39741 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
39743 2011-07-21 Ulrich Drepper <drepper@gmail.com>
39745 * string/tester.c (test_strcat): Add tests for different alignments
39746 of source and destination.
39747 (test_strncat): Likewise.
39749 2011-07-20 Ulrich Drepper <drepper@gmail.com>
39752 * posix/glob.c (glob): Check passed in values before using them in
39753 expressions to avoid some overflows.
39754 (glob_in_dir): Likewise.
39757 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): More complete
39758 check for AVX enablement so that we don't crash with old kernels and
39760 * elf/tst-audit4.c: Add same checks here.
39761 * elf/tst-audit6.c: Likewise.
39763 * sysdeps/x86_64/bits/link.h (La_x86_64_ymm): Force 16-byte alignment.
39765 2011-07-09 Andreas Schwab <schwab@linux-m68k.org>
39767 * sysdeps/unix/sysv/linux/pathconf.c: Include <string.h>.
39769 2011-07-20 Ulrich Drepper <drepper@gmail.com>
39771 * po/cs.po: Update from translation team.
39772 * po/bg.po: Likewise.
39774 2011-07-12 Marek Polacek <mpolacek@redhat.com>
39776 * misc/sys/cdefs.h: Add support for const attribute.
39777 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add __attribute_const__
39778 to gnu_dev_{major,minor,makedev} functions.
39780 2011-07-20 Marek Polacek <mpolacek@redhat.com>
39782 * intl/dcigettext.c (get_output_charset): Add missing bracket.
39784 2011-07-20 Andreas Schwab <schwab@redhat.com>
39786 * resolv/res_query.c (__libc_res_nquerydomain): Use size_t for
39789 2011-07-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
39791 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
39792 (INTERNAL_VSYSCALL_NCS): Use r10 for backing up the return address
39793 register in order to avoid conflicts with the soft frame pointer
39794 being held in r11 when necessary.
39795 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
39796 (INTERNAL_VSYSCALL_NCS): Likewise.
39798 2011-07-14 Marek Polacek <mpolacek@redhat.com>
39800 * elf/dl-fini.c (_dl_sort_fini): Remove unused link_map *l argument,
39801 * elf/dl-fini.c (_dl_fini): Adjust caller.
39802 * elf/dl-close.c (_dl_close_worker): Likewise.
39803 * sysdeps/generic/ldsodefs.h: Adjust declaration.
39805 2011-07-15 Marek Polacek <mpolacek@redhat.com>
39807 * elf/cache.c (load_aux_cache): Remove unnecessary condition of
39808 "aux_cache->nlibs < 0".
39810 * nscd/nscd_conf.c (nscd_parse_file): Remove unnecessary condition
39811 in the reload-count case.
39813 2011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
39815 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
39816 strcat-ssse3 strcat-sse2-unaligned strncat-ssse3
39817 strncat-sse2-unaligned strncat-c strlen-sse2-pminub
39818 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: New file.
39819 * sysdeps/x86_64/multiarch/strcat.S: New file.
39820 * sysdeps/x86_64/multiarch/strncat.S: New file.
39821 * sysdeps/x86_64/multiarch/strncat-c.c: New file.
39822 * sysdeps/x86_64/multiarch/strcat-ssse3.S: New file.
39823 * sysdeps/x86_64/multiarch/strncat-sse2-unaligned.S: New file.
39824 * sysdeps/x86_64/multiarch/strncat-ssse3.S: New file.
39825 * sysdeps/x86_64/multiarch/strcpy-ssse3.S
39826 (USE_AS_STRCAT): Define.
39827 Add strcat and strncat support.
39828 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
39829 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
39830 * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: New file.
39831 * string/strncat.c: Update.
39832 (USE_AS_STRNCAT): Define.
39833 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
39834 Turn on bit_Prefer_PMINUB_for_stringop for Intel Core i3, i5
39836 * sysdeps/x86_64/multiarch/init-arch.h
39837 (bit_Prefer_PMINUB_for_stringop): New.
39838 (index_Prefer_PMINUB_for_stringop): Likewise.
39839 * sysdeps/x86_64/multiarch/strlen.S (strlen): Check
39840 bit_Prefer_PMINUB_for_stringop.
39842 2011-07-19 Ulrich Drepper <drepper@gmail.com>
39844 * crypt/sha512.h (struct sha512_ctx): Move buffer into union and add
39846 * crypt/sha512.c (__sha512_finish_ctx): Use buffer64 for writes instead
39847 of casting of buffer.
39848 * crypt/sha256.h (struct sha256_ctx): Move buffer into union and add
39849 buffer32 and buffer64.
39850 * crypt/sha256.c (__sha256_finish_ctx): Use buffer32 or buffer64 for
39851 writes instead of casting of buffer.
39852 * crypt/md5.h (struct md5_ctx): Move buffer into union and add
39854 * crypt/md5.c (md5_finish_ctx): Use buffer32 for writes instead of
39857 2011-07-19 Andreas Schwab <schwab@redhat.com>
39859 * string/strxfrm_l.c (STRXFRM): Fix alloca accounting.
39861 2011-07-19 Ulrich Drepper <drepper@gmail.com>
39863 * nscd/nscd.c (termination_handler): Don't do anything for a database
39864 if it has not yet been initialized.
39866 2011-07-18 Ulrich Drepper <drepper@gmail.com>
39868 * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_EQUAL_S): Fix a typo.
39870 2011-07-15 Marek Polacek <mpolacek@redhat.com>
39872 * bits/sched.h (__CPU_EQUAL_S): Fix a typo.
39874 2011-07-18 Ulrich Drepper <drepper@gmail.com>
39876 * po/nl.po: Update from translation team.
39877 * po/sv.po: Likewise.
39879 2011-07-16 Roland McGrath <roland@hack.frob.com>
39881 * sysdeps/i386/Makefile: Never use -mpreferred-stack-boundary=2,
39882 now disallowed by GCC.
39884 * configure.in (use-default-link): Default to yes if a test -shared
39885 link meets our qualifications.
39886 * configure: Regenerated.
39888 * config.make.in (output-format): New variable.
39889 * configure.in: Check for ld --print-output-format support.
39890 * configure: Regenerated.
39891 * Makerules ($(common-objpfx)format.lds)
39892 [$(output-format) != unknown]: Just use $(output-format),
39893 instead of the linker-script munging.
39895 2011-07-14 Roland McGrath <roland@hack.frob.com>
39897 * Makefile ($(common-objpfx)linkobj/libc.so): Use $(shlib-lds) instead
39898 of $(common-objpfx)shlib.lds.
39899 * elf/Makefile ($(objpfx)sotruss-lib.so): Likewise.
39901 * sysdeps/i386/i686/multiarch/strstr-c.c (libc_hidden_builtin_def):
39902 Conditionalize redefinition on [SHARED && DO_VERSIONING && !NO_HIDDEN].
39904 * configure.in (-z relro check): Adjust test code to add a large
39905 writable data section after it.
39906 * configure: Regenerated.
39908 2011-07-11 Roland McGrath <roland@hack.frob.com>
39910 * configure.in (-z relro check): Fix test code to make the variable
39912 * configure: Regenerated.
39914 2011-07-11 Ulrich Drepper <drepper@gmail.com>
39916 * nscd/nscd.h (struct traced_file): Define.
39917 (struct database_dyn): Remove inotify_descr, reset_res, and filename
39918 elements. Add traced_files.
39919 (inotify_fd): Declare.
39920 (register_traced_file): Declare.
39921 * nscd/connections.c (dbs): Remove reset_res and filename initializers.
39922 (inotify_fd): Export.
39923 (resolv_conf_descr): Remove.
39924 (nscd_init): Move inotify descriptor creation to main.
39925 Don't register files for notification here.
39926 (register_traced_file): New function.
39927 (invalidate_cache): Don't use reset_res to determine whether to call
39928 res_init, go through the list of registered files.
39929 (main_loop_poll): The inotify descriptors are now stored in the
39930 structures for the traced files.
39931 (main_loop_epoll): Likewise
39932 * nscd/nscd.c (main): Create inotify socket here. Pass extra argument
39933 to __nss_disable_nscd.
39934 * nscd/cache.c (prune_cache): There is no single inotify descriptor
39935 for a database anymore. Check the records for all the registered
39937 * nss/Makefile (libnss_files-routines): Add files-init.
39938 (libnss_db-routines): Add db-init.
39939 * nss/Versions [libnss_files] (GLIBC_PRIVATE): Add _nss_files_init.
39940 [libnss_db] (GLIBC_PRIVATE): Add _nss_db_init.
39941 * nss/nss_db/db-init.c: New file.
39942 * nss/nss_files/files-init.c: New file.
39943 * nss/nsswitch.c (nss_load_library): New function. Broken out of
39944 __nss_lookup_function.
39945 (__nss_lookup_function): Call nss_load_library.
39946 (nss_load_all_libraries): New function.
39947 (__nss_disable_nscd): Take parameter with callback function for files
39948 to register. Set is_nscd. Load all the DSOs for the NSS modules
39949 used for the cached services.
39950 * nss/nsswitch.h (__nss_disable_nscd): Adjust prototype.
39951 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd]: Pass the various -D
39952 options for features to all the files in nscd.
39954 * nss/nsswitch.c (nss_parse_file): Add missing fclose.
39956 2011-07-10 Roland McGrath <roland@hack.frob.com>
39958 * csu/elf-init.c (__libc_csu_init): Comment typo.
39960 2011-07-09 Ulrich Drepper <drepper@gmail.com>
39962 * po/pl.po: Update from translation team.
39963 * po/ja.po: Likewise.
39964 * po/ru.po: Likewise.
39965 * po/ko.po: Likewise.
39966 * po/fr.po: Likewise.
39968 2011-07-09 Roland McGrath <roland@hack.frob.com>
39970 * configure.in (.ctors/.dtors header and trailer check):
39971 Use an empirical test on a built program.
39972 * configure: Regenerated.
39974 * configure.in (-z relro check): Use an empirical test on a built DSO.
39975 Detect, but do not require, on ia64.
39976 * configure: Regenerated.
39978 * configure.in (READELF): Find it with AC_CHECK_TOOL.
39979 Update tests that use readelf to use $READELF instead.
39980 * configure: Regenerated.
39982 2011-07-08 Ulrich Drepper <drepper@gmail.com>
39984 * malloc/hooks.c (memalign_check): Avoid using checked_request2size
39985 if the result is not used.
39987 2011-07-05 Andreas Jaeger <aj@suse.de>
39990 * stdlib/tst-strtod.c: Add testcase.
39992 2011-07-07 Ulrich Drepper <drepper@gmail.com>
39994 * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): New function.
39995 (__statfs_link_max): Use it to distinguish between ext2/3 and ext4.
39996 The latter has a higher limit. Take additional parameter to pass to
39998 (__pathconf): Pass file to __statfs_link_max.
39999 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Pass fd to
40001 * sysdeps/unix/sysv/linux/pathconf.h: Adjust prototype of
40005 * sysdeps/unix/sysv/linux/linux_fsinfo.h: Define Lustre constants.
40006 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
40008 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Likewise.
40009 (__statfs_filesize_max): Likewise.
40010 Patch mostly by Andreas Dilger <adilger@whamcloud.com>.
40012 2011-07-05 Andreas Jaeger <aj@suse.de>
40014 * resolv/res_comp.c (dn_skipname): Remove unused variable.
40016 2011-07-06 Marek Polacek <mpolacek@redhat.com>
40018 * nis/nss_nisplus/nisplus-spwd.c (_nss_nisplus_setspent): Honour the
40020 * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_setetherent):
40023 2011-07-04 H.J. Lu <hongjiu.lu@intel.com>
40025 * Makefile (strop-tests): Add strncat.
40026 * string/test-strncat.c: New file.
40028 2011-06-30 Marek Polacek <mpolacek@redhat.com>
40030 * iconvdata/johab.c: Don't inline `johab_sym_hanja_to_ucs' function.
40032 2011-06-21 Andreas Jaeger <aj@suse.de>
40034 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules):
40035 Copy rule from iconvdata/Makefile.
40037 2011-07-06 Ulrich Drepper <drepper@gmail.com>
40040 * posix/getopt.c (_getopt_internal_r): When "W;" is in short options
40041 but no long options are defined, just return 'W'.
40043 2011-06-22 Marek Polacek <mpolacek@redhat.com>
40046 * stdlib/strtod_l.c (round_and_return): Set ERANGE instead of EDOM.
40048 2011-07-06 Ulrich Drepper <drepper@gmail.com>
40050 * inet/getnetgrent_r.c (internal_getnetgrent_r): Fix check for known
40052 (innetgr): Likewise.
40054 2011-07-05 Roland McGrath <roland@hack.frob.com>
40056 * config.make.in (install_root): Default to $(DESTDIR).
40058 2011-07-05 Ulrich Drepper <drepper@gmail.com>
40060 * nscd/nscd_getserv_r.c (nscd_getserv_r): Add cast to avoid warning.
40062 2011-07-02 Roland McGrath <roland@hack.frob.com>
40064 * Makerules ($(common-objpfx)format.lds): Fail if result is empty.
40066 * Makefile ($(common-objpfx)testrun.sh): Generate to work relative to
40067 containing directory rather than embedding absolute directory names.
40069 * scripts/check-local-headers.sh: Rewritten using awk.
40070 Match by word, not by line. Print error messages for matches.
40071 * Makefile ($(objpfx)check-local-headers.out): Pass AWK in to it.
40073 * Makerules [shlib-lds-flags empty]:
40074 ($(common-objpfx)libc_pic.opts): New target.
40075 ($(common-objpfx)libc_pic.os.clean): New target.
40076 ($(common-objpfx)libc.so): Link it instead of libc_pic.os.
40078 * config.make.in (OBJCOPY): New variable.
40079 * aclocal.m4 (LIBC_PROG_BINUTILS): Substitute OBJCOPY too.
40080 * configure: Regenerated.
40082 * config.make.in (use-default-link): New variable.
40083 * configure.in (use_default_link): Grok --with-default-link to set it.
40084 * configure: Regenerated.
40085 * Makerules [$(elf) = yes] [$(use-default-link) = yes]:
40086 (shlib-lds, shlib-lds-flags): Define to empty.
40088 * Makerules (shlib-lds): New variable.
40089 (shlib-lds-flags): New variable.
40090 (build-shlib, build-moduile, build-module-asneeded): Use it.
40091 ($(common-objpfx)libc.so): Use $(shlib-lds).
40092 ($(extra-modules-build:%=$(objpfx)%.so)): Likewise.
40093 * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Likewise.
40095 * elf/dynamic-link.h (elf_get_dynamic_info): Make asserts accept
40096 DT_FLAGS/DT_FLAGS_1 with zero flags.
40098 * elf/Makefile ($(objpfx)ld.so): Use -defsym=_begin=0 instead of
40099 linker script munging.
40101 2011-07-02 Ulrich Drepper <drepper@gmail.com>
40103 * crypt/sha512.h (struct sha512_ctx): Add union to access total also
40105 * crypt/sha512.c (sha512_process_block): Perform total addition using
40106 128-bit if possible.
40107 (__sha512_finish_ctx): Likewise.
40108 * crypt/sha256.h (struct sha256_ctx): Add union to access total also
40110 * crypt/sha256.c (SWAP64): Define.
40111 (sha256_process_block): Perform total addition using 64-bit if
40113 (__sha256_finish_ctx): Likewise.
40115 2011-07-01 Ulrich Drepper <drepper@gmail.com>
40117 * nscd/pwdcache.c (cache_addpw): Cleanup. Add branch prediction.
40118 * nscd/initgrcache.c (addinitgroupsX): Likewise.
40119 * nscd/hstcache.c (cache_addhst): Likewise.
40120 * nscd/grpcache.c (cache_addgr): Likewise.
40121 * nscd/aicache.c (addhstaiX): Likewise
40122 * nscd/servicescache.c (cache_addserv): Handle zero negtimeout.
40124 2011-07-01 Thorsten Kukuk <kukuk@suse.de>
40126 * nscd/pwdcache.c (cache_addpw): Handle zero negtimeout.
40127 * nscd/initgrcache.c (addinitgroupsX): Likewise.
40128 * nscd/hstcache.c (cache_addhst): Likewise.
40129 * nscd/grpcache.c (cache_addgr): Likewise.
40130 * nscd/aicache.c (addhstaiX): Likewise
40132 2011-07-01 Andreas Schwab <schwab@redhat.com>
40134 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Query NIS
40135 domain only when needed.
40137 2011-06-30 Andreas Schwab <schwab@redhat.com>
40139 * sysdeps/posix/getaddrinfo.c (gaih_inet): Make sure RES_USE_INET6
40140 is always restored.
40142 2011-06-29 Ulrich Drepper <drepper@gmail.com>
40144 * nscd/grpcache.c (cache_addgr): Don't write notfound reply if we
40145 are re-adding the entry.
40146 * nscd/servicescache.c (cache_addserv): Likewise.
40148 2011-06-30 Aurelien Jarno <aurelien@aurel32.net>
40150 * sysdeps/generic/dl-irel.h: fix protection against multiple
40152 * sysdeps/generic/dl-irel.h (elf_ifunc_invoke): New.
40154 2011-06-28 Ulrich Drepper <drepper@gmail.com>
40157 * malloc/memusage.sh: Fix quoting in message.
40158 * debug/xtrace.sh: Likewise.
40160 * configure.in: Remove support for --experimental-malloc option, make
40162 * config.make.in: Likewise.
40163 * malloc/Makefile: Likewise.
40165 2011-06-27 Andreas Schwab <schwab@redhat.com>
40167 * iconvdata/gb18030.c (BODY for TO_LOOP): Fix encoding of non-BMP
40168 two-byte characters.
40170 2011-06-27 Roland McGrath <roland@hack.frob.com>
40172 * configure.in (NO_CTORS_DTORS_SECTIONS): Give this check its own
40173 AC_CACHE_CHECK invocation.
40174 * configure: Regenerated.
40176 * elf/soinit.c (__CTOR_LIST__, __DTOR_LIST__): Add used attribute.
40178 2011-06-27 Ulrich Drepper <drepper@gmail.com>
40181 * nscd/aicache.c (addhstaiX): Restore only RES_USE_INET6
40182 bit from old_res_options.
40184 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-servicescache.c): Define.
40186 * inet/getnetgrent_r.c (innetgr): Minimal cleanup, use correct return
40187 value type for setfct.
40189 2011-06-23 H.J. Lu <hongjiu.lu@intel.com>
40191 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
40192 __gettimeofday instead of gettimeofday.
40194 2011-06-26 Ulrich Drepper <drepper@gmail.com>
40196 * elf/Makefile (all-built-dso): No need to check linkobj/libc.so.
40198 2011-06-24 H.J. Lu <hongjiu.lu@intel.com>
40200 * sysdeps/i386/i686/multiarch/strcpy-sse2.S (RETURN): Fix a typo.
40202 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Correct unwind
40205 2011-06-22 H.J. Lu <hongjiu.lu@intel.com>
40207 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
40208 strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
40209 strcpy-sse2-unaligned strncpy-sse2-unaligned
40210 stpcpy-sse2-unaligned stpncpy-sse2-unaligned.
40211 * sysdeps/x86_64/multiarch/stpcpy-sse2-unaligned.S: New file.
40212 * sysdeps/x86_64/multiarch/stpcpy-ssse3.S: New file.
40213 * sysdeps/x86_64/multiarch/stpncpy-sse2-unaligned.S: New file.
40214 * sysdeps/x86_64/multiarch/stpncpy-ssse3.S: New file.
40215 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: New file.
40216 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: New file.
40217 * sysdeps/x86_64/multiarch/strncpy-sse2-unaligned.S: New file.
40218 * sysdeps/x86_64/multiarch/strncpy-ssse3.S: New file.
40219 * sysdeps/x86_64/multiarch/strcpy.S: Remove strcpy with SSSE3.
40220 (STRCPY): Support SSE2 and SSSE3 versions.
40222 2011-06-24 Ulrich Drepper <drepper@gmail.com>
40225 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): Define.
40226 * sysdeps/wordsize-64/tst-writev.c: Work around problem with 2.6.38+
40227 kernels which artificially limit size of requests.
40229 2011-06-22 H.J. Lu <hongjiu.lu@intel.com>
40231 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
40232 strncpy-c strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
40233 strcpy-sse2 strncpy-sse2 stpcpy-sse2 stpncpy-sse2.
40234 * sysdeps/i386/i686/multiarch/stpcpy-sse2.S: New file.
40235 * sysdeps/i386/i686/multiarch/stpcpy-ssse3.S: New file.
40236 * sysdeps/i386/i686/multiarch/stpncpy-sse2.S: New file.
40237 * sysdeps/i386/i686/multiarch/stpncpy-ssse3.S: New file.
40238 * sysdeps/i386/i686/multiarch/stpncpy.S : New file.
40239 * sysdeps/i386/i686/multiarch/strcpy-sse2.S : New file.
40240 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: New file.
40241 * sysdeps/i386/i686/multiarch/strcpy.S: New file.
40242 * sysdeps/i386/i686/multiarch/strncpy-c.c: New file.
40243 * sysdeps/i386/i686/multiarch/strncpy-sse2.S: New file.
40244 * sysdeps/i386/i686/multiarch/strncpy-ssse3.S: New file.
40245 * sysdeps/i386/i686/multiarch/strncpy.S: New file.
40246 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
40247 Enable unaligned load optimization for Intel Core i3, i5 and i7
40249 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Unaligned_Load):
40251 (index_Fast_Unaligned_Load): Define.
40252 (HAS_FAST_UNALIGNED_LOAD): Define.
40254 2011-06-23 Marek Polacek <mpolacek@redhat.com>
40256 * nss/nss_db/db-open.c: Include <unistd.h> for read declaration.
40258 2011-06-22 Ulrich Drepper <drepper@gmail.com>
40261 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Avoid calling __check_pf
40262 until it is clear that the information is realy needed.
40263 Patch mostly by David Hanisch <david.hanisch@nsn.com>.
40265 2011-06-22 Andreas Schwab <schwab@redhat.com>
40267 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix last change.
40269 2011-06-22 Ulrich Drepper <drepper@gmail.com>
40271 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
40272 /sys/devices/system/cpu/online if it is usable.
40274 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Rate limit
40275 reading the information from the /proc filesystem to once a second.
40277 2011-06-21 Andreas Jaeger <aj@suse.de>
40279 * sysdeps/unix/sysv/linux/bits/sigcontext.h: Fix definition of
40280 NULL after inclusion of kernel headers.
40282 2011-06-21 Ulrich Drepper <drepper@gmail.com>
40284 * nss/nss_db/db-XXX.c (nss_db_setENT): Only set entidx for successful
40285 calls to internal_setent.
40288 * sysdeps/posix/getaddrinfo.c (gaih_inet): When looking up only IPv6
40289 addresses using gethostbyname4_r ignore IPv4 addresses.
40291 * sysdeps/posix/getaddrinfo.c (gaih_inet): After the last change the
40292 branch using gethostbyname2 is only for AF_INET. Optimize accordingly.
40294 * inet/getnetgrent_r.c: Use DL_CALL_FCT in several places.
40296 2011-06-20 David S. Miller <davem@davemloft.net>
40298 * sysdeps/sparc/sparc32/dl-plt.h: Protect against multiple
40300 * sysdeps/sparc/sparc64/dl-plt.h: Likewise.
40302 * sysdeps/i386/dl-irel.h (elf_ifunc_invoke): New.
40303 (elf_irel): Use it.
40304 * sysdeps/powerpc/powerpc32/dl-irel.h: Likewise.
40305 * sysdeps/powerpc/powerpc64/dl-irel.h: Likewise.
40306 * sysdeps/sparc/sparc32/dl-irel.h: Likewise.
40307 * sysdeps/sparc/sparc64/dl-irel.h: Likewise.
40308 * sysdeps/x86_64/dl-irel.h: Likewise.
40310 * elf/dl-runtime.c: Use elf_ifunc_invoke.
40311 * elf/dl-sym.c: Likewise.
40313 2011-06-15 Ulrich Drepper <drepper@gmail.com>
40315 * resolv/res_send.c (__libc_res_nsend): Fix typos in last patch. We
40316 need to dereference resplen2.
40318 2011-06-14 Andreas Schwab <schwab@redhat.com>
40320 * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c: New file.
40322 2011-06-15 Ulrich Drepper <drepper@gmail.com>
40324 * Makeconfig: Define vardbdir and inst_vardbdir.
40325 * nss/Makefile: Add rules to install db-Makefile.
40327 * nss/nss_db/db-XXX.c: Cleanup.
40329 * nss/Makefile (libnss_db-dbs): Add db-initgroups.
40330 * nss/Versions [libnss_db]: Add _nss_db_initgroups_dyn for
40332 * nss/db-Makefile (groups.db): Emit entries for initgroups lookups.
40333 * nss/makedb.c: Implement -g option to specify that value strings
40334 are generated and should not be added to table iterated over for
40336 * nss/nss_db/db-initgroups.c: New file.
40338 * nss/getent.c: Add support for initgroups lookups through getgrouplist
40341 * grp/initgroups.c (__nss_initgroups_database): Renamed and exported.
40342 (internal_getgrouplist): Adjust to name change.
40343 Update use_initgroups_entry if this is not the first call.
40344 * nss/databases.def: Add initgroups entry.
40346 * nss/makedb.c (compute_tables): Check result of multiple hash table
40347 sizes to minimize maximum chain length.
40349 2011-06-14 Ulrich Drepper <drepper@gmail.com>
40351 * Versions.def: Add entry for libnss_db.
40352 * shlib-versions: Likewise.
40353 * nss/Makefile: Add rules to build libnss_db.
40354 * nss/Versions: Add libnss_db information. Organize libnss_files
40356 * nss/db-Makefile: Add gshadow support. Change rules for the new
40357 makedb progra. Some minor improvements to generate smaller files.
40358 * nss/nss_db/nss_db.h: Move NSS database header data structures to
40360 * nss/makedb.c: ...here.
40361 Improve database format to be smaller and require less memory at
40363 * nss/nss_db/db-XXX.x: Adjust for new database format. Don't use
40365 * nss/nss_db/db-netgrp.c: Likewise.
40366 * nss/nss_db/db-open.c: Likewise.
40367 * nss/nss_files/flies-XXX.x: Adjust comments.
40368 * nss/nss_files/files-ethers.c: Adjust for new DB_LOOKUP definition.
40369 * nss/nss_files/files-grp.c: Likewise.
40370 * nss/nss_files/files-hosts.c: Likewise.
40371 * nss/nss_files/files-network.c: Likewise.
40372 * nss/nss_files/files-proto.c: Likewise.
40373 * nss/nss_files/files-pwd.c: Likewise.
40374 * nss/nss_files/files-rpc.c: Likewise.
40375 * nss/nss_files/files-service.c: Likewise.
40376 * nss/nss_files/files-sgrp.c: Likewise.
40377 * nss/nss_files/files-spwd.c: Likewise.
40378 * nss/nss_db/db-alias.c: Removed.
40379 * nss/nss_db/dummy-db.h: Removed.
40381 2011-06-02 Ulrich Drepper <drepper@gmail.com>
40383 * nss/makedb.c: Rewritten to not use database library.
40384 * nss/Makefile: Update to build new makedb program.
40386 2011-06-14 Andreas Jaeger <aj@suse.de>
40388 * sysdeps/unix/sysv/linux/check_native.c: Include <string.h> for
40389 memset declaration.
40391 2011-06-10 Andreas Schwab <schwab@redhat.com>
40393 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix logic allocating
40396 2011-06-10 Roland McGrath <roland@hack.frob.com>
40398 * Makerules (shlib.lds): Fail if the linker script comes out empty.
40399 * elf/Makefile ($(objpfx)ld.so): Likewise.
40401 * Makefile ($(common-objpfx)linkobj/libc.so): Break long lines with \.
40402 Don't list ld.so twice in dependencies.
40404 * posix/bug-regex31.c: Include <stdlib.h>.
40406 * nscd/hstcache.c (cache_addhst): Remove unused variable.
40408 * nis/nss_compat/compat-spwd.c
40409 (getspent_next_nss_netgr): Remove unused variable.
40410 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Likewise.
40412 * nis/nis_print_group_entry.c (nis_print_group_entry): Fix "Implicit
40413 nonmembers" output to use the right array.
40415 * resolv/nss_dns/dns-network.c (getanswer_r): Remove unused variable.
40417 * elf/dl-open.c (_dl_open): Quash warnings when DL_NNS==1.
40419 * locale/programs/ld-ctype.c (ctype_read): Remove unused variable.
40420 * locale/programs/ld-collate.c (add_to_tablewc): Likewise.
40421 * catgets/gencat.c (read_input_file): Likewise.
40422 * locale/programs/locarchive.c (enlarge_archive): Likewise.
40424 * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Move DONTBLOCK
40425 variable definition inside #if's controlling its use.
40427 * inet/getnetgrent_r.c (innetgr): Remove unused variable.
40429 * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix errno restoration.
40431 * misc/syslog.c (__vsyslog_chk): Remove unused variable.
40433 * io/fts.c (fts_build): Use if (0 && ...) rather than #if 0 for
40436 * stdio-common/printf_fp.c (___printf_fp): Remove unused variable.
40438 * configure.in (nss-crypt check): Use AC_LANG_PROGRAM.
40439 * configure: Regenerated.
40441 * Makerules: Revert last change.
40442 * elf/Makefile: Likewise.
40444 2011-06-09 Roland McGrath <roland@hack.frob.com>
40446 * Makerules ($(common-objpfx)libc_pic.os): Use -Wl, before -r.
40447 * elf/Makefile ($(objpfx)librtld.os): Likewise.
40448 (reloc-link): Likewise.
40450 2011-06-09 Ulrich Drepper <drepper@gmail.com>
40452 * elf/Makefile: Add rules to build pldd.
40453 * elf/pldd.c: New file.
40454 * elf/pldd-xx.c: New file.
40456 2011-06-07 Ulrich Drepper <drepper@gmail.com>
40458 * version.h: Update for 2.15 development version.
40460 2011-06-07 David S. Miller <davem@davemloft.net>
40462 * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Pass dl_hwcap to
40464 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela,
40465 elf_machine_lazy_rel): Likewise.
40466 * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
40467 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela,
40468 elf_machine_lazy_rel): Likewise.
40469 * sysdeps/sparc/sparc64/multiarch/memcpy.S (memcpy): Fetch
40470 dl_hwcap via passed in argument.
40471 * sysdeps/sparc/sparc64/multiarch/memset.S (memset, bzero):
40474 2011-06-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
40476 * stdlib/longlong.h: Update from GCC. Fix smul_ppmm for S/390.
40478 2011-06-06 Roland McGrath <roland@hack.frob.com>
40481 * manual/fdl-1.1.texi: New file, verbatim from:
40482 http://www.gnu.org/licenses/old-licenses/fdl-1.1.texi
40483 * manual/lgpl-2.1.texi: New file, verbatim from:
40484 http://www.gnu.org/licenses/old-licenses/lgpl-2.1.texi
40485 * manual/Makefile (licenses): New variable, list those new file names.
40487 (chapters.% top-menu.%): Include $(licenses) with $(appendices).
40489 * manual/fdl.texi: File removed.
40490 * manual/lesser.texi: File removed.
40491 * manual/libc.texinfo (Copying, Documentation License):
40492 Use new @include file names, put @appendix directive before @include.
40494 2011-06-04 Jakub Jelinek <jakub@redhat.com>
40497 * rt/bits/mqueue2.h (__mq_open_2): Add __THROW.
40498 (__mq_open_alias): Use __REDIRECT_NTH instead of __REDIRECT.
40499 (mq_open): Add __NTH.
40501 2011-06-02 H.J. Lu <hongjiu.lu@intel.com>
40503 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
40504 Assume Intel Core i3/i5/i7 processor if AVX is available.
40506 2011-05-31 Ulrich Drepper <drepper@gmail.com>
40508 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
40511 2011-05-31 Andreas Schwab <schwab@redhat.com>
40513 * nscd/nscd_getserv_r.c (nscd_getserv_r): Don't free non-malloced
40514 memory. Use alloca_account. Fix memory leak when retrying.
40516 2011-05-31 Ulrich Drepper <drepper@gmail.com>
40518 * version.h (RELEASE): Bump for 2.14 release.
40519 * include/features.h (__GLIBC_MINOR__): Bump to 14.
40521 * config.make.in (RANLIB): Remove entry.
40523 2011-05-30 Ulrich Drepper <drepper@gmail.com>
40525 * po/Makefile (po-sed-cmd): Add ksh to extensions.
40526 (libc.pot): Work around missing support for .ksh extension in xgettext.
40529 * resolv/res_send.c (__libc_res_nsend): Only go to the next name server
40530 if both request failed.
40531 (send_dg): In case of server errors clear resplen or *resplen2.
40534 * elf/dl-deps.c (_dl_map_object_deps): Run initializer sorting only
40535 when there are multiple maps.
40536 * elf/dl-fini.c (_dl_sort_fini): Check for list of one.
40537 (_dl_fini): Remove test here.
40539 * elf/rtld.c (dl_main): Don't allow the loader to load itself.
40541 2011-05-29 Ulrich Drepper <drepper@gmail.com>
40544 * sysdeps/posix/getaddrinfo.c (gethosts): Restore only RES_USE_IENT6
40545 bit from old_res_options.
40546 (gaih_inet): Likewise.
40549 * shadow/sgetspent_r.c (LINE_PARSER): Interpret numeric field values
40552 * resolv/res_init.c (res_setoptions): Make the code more compact.
40555 * resolv/res_init.c (res_setoptions): Recognize use-vc option and
40559 * elf/Makefile (tests): Don't add tst-audit[67] without working -mavx.
40561 * malloc/malloc.h: Mark malloc hook variables as deprecated.
40564 * malloc/malloc.h: Declare malloc hook variables as volatile.
40566 * locale/programs/locarchive.c (add_locale_to_archive): Fix typo
40570 * sysdeps/unix/sysv/linux/bits/siginfo.h (SI_USER): Don't mention
40571 raise in the comment.
40572 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
40573 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
40574 * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Likewise.
40576 2011-05-28 Ulrich Drepper <drepper@gmail.com>
40579 * posix/regex_internal.c (build_wcs_buffer): Don't signal we have to
40580 grow the buffers more if it already has to be sufficient.
40581 (build_wcs_upper_buffer): Likewise.
40582 * posix/regexec.c (check_matching): Likewise.
40583 (clean_state_log_if_needed): Likewise.
40584 (extend_buffers): Don't enlarge buffers beyond size of the input
40586 Patches mostly by Emil Wojak <emil@wojak.eu>.
40587 * posix/bug-regex32.c: New file.
40588 * posix/Makefile (tests): Add bug-regex32.
40590 * locale/findlocale.c (_nl_find_locale): Return right away if
40591 _nl_explode_name failed.
40592 * locale/programs/locarchive.c (add_locale_to_archive): Likewise.
40594 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_sendmmsg): Define.
40596 * debug/xtrace.sh: Unify messages.
40597 * malloc/memusage.sh: Likewise.
40600 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_time): Retrieve
40601 time symbol from vDSO. Substitute with vsyscall if not available.
40602 * sysdeps/unix/sysv/linux/x86_64/time.S [SHARED]: Use
40605 * sysdeps/unix/sysv/linux/internal_sendmmsg.S: New file.
40606 * sysdeps/unix/sysv/linux/sendmmsg.c: New file.
40607 * sysdeps/unix/sysv/linux/Makefile [subdir=socket] (sysdep_routines):
40608 Add sendmmsg and internal_sendmmsg.
40609 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add sendmmsg.
40610 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg.
40611 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_SENDMMSG.
40613 * sysdeps/unix/sysv/linux/syscalls.list: Add setns entry.
40614 * sysdeps/unix/sysv/linux/bits/sched.h: Declare setns.
40615 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add setns.
40617 2011-05-27 Ulrich Drepper <drepper@gmail.com>
40620 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_getcpu):
40621 Retrieve getcpu symbol from vDSO. Substitute with vsyscall if not
40623 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [SHARED]: Use
40627 * iconvdata/Makefile (tests): Add bug-iconv9.
40628 * iconvdata/bug-iconv9.c: New file.
40630 2011-05-27 Andreas Schwab <schwab@redhat.com>
40633 * iconvdata/iso-2022-jp.c (BODY): Fix invalid variable shadowing.
40635 2011-05-25 Jakub Jelinek <jakub@redhat.com>
40637 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
40638 (struct user_regs_struct): Change intcs field back to cs.
40640 2011-05-25 Ulrich Drepper <drepper@gmail.com>
40642 * po/ja.po: Update from translation team.
40644 2011-05-23 Ulrich Drepper <drepper@gmail.com>
40647 * sysdeps/unix/sysv/linux/bits/resource.h (RLIMIT_RTTIME): Define.
40648 * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Likewise.
40650 2011-05-20 Andreas Schwab <schwab@redhat.com>
40652 * stdlib/longlong.h: Update from GCC.
40654 2011-05-23 Andreas Schwab <schwab@redhat.com>
40656 * sysdeps/unix/sysv/linux/ia64/sysconf.c (HAS_CPUCLOCK): Add
40658 * sysdeps/unix/sysv/linux/sysconf.c (has_cpuclock, HAS_CPUCLOCK):
40659 Add parameter name.
40660 (__sysconf): Pass it down.
40662 2011-05-22 Ulrich Drepper <drepper@gmail.com>
40665 * nis/nss_nis/nis-alias.c (_nss_nis_getaliasbyname_r): Use malloc in
40667 * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
40668 * posix/glob.c (glob_in_dir): Take additional parameter alloca_used.
40669 add in in __libc_use_alloca calls. Adjust callers.
40670 (glob): Use malloc in some situations.
40672 * elf/dl-runtime.c (_dl_profile_fixup): Also store LA_SYMB_NOPLTENTER
40673 and LA_SYMB_NOPLTEXIT in flags which are passed to pltenter and
40676 2011-05-21 Ulrich Drepper <drepper@gmail.com>
40678 * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_REALTIME_ALARM
40679 and CLOCK_BOOTTIME_ALARM.
40682 * string/xpg-strerror.c (__xpg_strerror_r): Fill buffer even if error
40685 * string/_strerror.c (__strerror_r): Print negative errors as signed
40689 * iconvdata/cp1258.c (comp_table_data): Remove entry 0x00A5 0xEC.
40690 (decomp_table): Change U0385 entry to emit 0xA5 0xEC.
40691 * iconvdata/CP1258.irreversible: Adjust entry 0xA8EC.
40693 * configure.in: Fix typo in redirection and correct removal of test
40694 files in two cases.
40697 * locale/setlocale.c (new_composite_name): Fix test to check for
40698 identical name of all categories.
40701 * libio/filedoalloc.c (local_isatty): New function.
40702 (_IO_file_doallocate): Use local_isatty.
40703 * stdio-common/perror.c (perror): In case a new stream is used
40704 forward the stream error.
40705 * stdio-common/vfprintf.c (ARGCHECK): For read-only streams also set
40708 2011-05-20 Ulrich Drepper <drepper@gmail.com>
40711 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't unconditionally use
40713 * include/alloca.h (extend_alloca_account): Define.
40716 * posix/regex.h: Fix comments with documentation of user-accessible
40717 fields after compilation and describe correct free'ing of pattern
40718 after re_compile_pattern.
40719 Patch by Reuben Thomas <rrt@sc3d.org>.
40721 2011-05-18 Ryan S. Arnold <rsa@us.ibm.com>
40723 * sysdeps/powerpc/powerpc64/Makefile (no-special-regs): Add -mno-vsx
40724 and -mno-altivec to prevent the compiler from using Altivec and/or
40725 VSX instructions when the corresponding registers are not available.
40727 2011-05-19 Andreas Schwab <schwab@redhat.com>
40729 * grp/compat-initgroups.c (__libc_use_alloca): Don't define.
40731 2011-05-19 Ulrich Drepper <drepper@gmail.com>
40733 * libio/freopen.c (freopen): Use __dup2, not dup2.
40734 * libio/freopen64.c (freopen64): Likewise.
40736 2011-05-17 H.J. Lu <hongjiu.lu@intel.com>
40739 * sysdeps/x86_64/fpu/e_powl.S: Fix a typo.
40740 * math/Makefile (tests): Add test-powl.
40741 (CFLAGS-test-powl.c): Define.
40742 * math/test-powl.c: New file.
40744 2011-05-16 H.J. Lu <hongjiu.lu@intel.com>
40746 * fileops.c (_IO_new_file_fopen): Get fd from _IO_fileno.
40748 2011-05-17 Ulrich Drepper <drepper@gmail.com>
40751 * iconvdata/gb18030.c: Update to GB18020-2005.
40753 2011-05-16 Ulrich Drepper <drepper@gmail.com>
40755 * posix/regex.h (RE_SYNTAX_AWK, RE_SYNTAX_GNU_AWK,
40756 RE_SYNTAX_POSIX_AWK): Update to match recent development.
40757 Patch by Aharon Robbins <arnold@skeeve.com>.
40760 * stdlib/putenv.c (putenv): Don't always create copy of the variable
40764 * misc/pselect.c (__pselect): Handle timeout value errors hidden
40765 through underflows.
40768 * misc/error.c (error_at_line): Ensure file_name and old_file_name
40769 point to strings before performing equality test for error_one_per_line
40773 * login/programs/pt_chown.c (do_pt_chown): Always call chown.
40776 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
40777 (struct user_fpregs_struct): Avoid __uint*_t types.
40780 * malloc/mtrace.c (tr_where): Add additional parameter to point to
40781 symbol info. Use it instead of calling _dl_addr locally.
40782 (lock_and_info): New function.
40783 (tr_freehook): Call lock_and_info and pass symbol info as additional
40784 parameter to tr_where.
40785 (tr_mallochook): Likewise.
40786 (tr_reallochook): Likewise.
40787 (tr_memalignhook): Likewise.
40789 * malloc/mtrace.c: Remove support for USE_MTRACE_FILE. It is not
40790 used and couldn't be at all thread-safe.
40792 2011-05-15 Ulrich Drepper <drepper@gmail.com>
40794 * libio/freopen.c (freopen): Don't close old file descriptor
40795 before the new one is opened. Instead dup the new file descriptor
40796 to the old one after the new stream is created.
40797 * libio/freopen64.c (freopen64): Likewise.
40798 * libio/libio.h: Define _IO_FLAGS2_NOCLOSE and _IO_FLAGS2_CLOEXEC.
40799 * libio/fileops.c (_IO_new_file_close_it): Handle new
40800 _IO_FLAGS2_NOCLOSE flag.
40801 (_IO_new_file_fopen): Set _IO_FLAGS2_CLOEXEC for "e" mode.
40802 If _IO_file_open didn't set FD_CLOEXEC do it after the call.
40803 * libio/oldfileops.c (_IO_old_file_close_it): Handle new
40804 _IO_FLAGS2_NOCLOSE flag.
40805 * include/unistd.h: Add hidden_proto for dup3.
40806 Define __have_dup3.
40807 * io/dup3.c: Define hidden symbol.
40808 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_DUP3.
40811 * posix/getopt.c (_getopt_internal_r): List all ambigious possibilities
40812 when an incomplete long option is used.
40813 * posix/tst-getopt_long1.c: New file.
40814 * posix/Makefile (tests): Add tst-getopt_long1.
40817 * scripts/config.guess: Update from autoconf-2.68.
40818 * scripts/config.sub: Likewise.
40821 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Split out CPUTIME
40823 (has_cpuclock): ...this. New function.
40824 * sysdeps/unix/sysv/linux/ia64/sysconf.c: Just define HAS_CPUCLOCK
40825 macro here based on has_cpuclock code.
40828 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
40829 First byte (not low byte) is now always NUL.
40830 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Likewise.
40832 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
40833 Use non-cancelable interfaces.
40836 * locale/iso-639.def: Add entry for Sorani.
40839 * include/stdlib.h: Move include protection to the right place.
40840 Define abort_msg_s. Declare __abort_msg with it.
40841 * stdlib/abort.c (__abort_msg): Adjust type.
40842 * assert/assert.c (__assert_fail_base): New function. Majority
40843 of code from __assert_fail. Allocate memory for __abort_msg with
40845 (__assert_fail): Now call __assert_fail_base.
40846 * assert/assert-perr.c: Remove bulk of implementation. Use
40847 __assert_fail_base.
40848 * include/assert.hL Declare __assert_fail_base.
40849 * sysdeps/posix/libc_fatal.c: Allocate memory for __abort_msg with
40851 * sysdeps/unix/sysv/linux/libc_fatal.c: Likewise.
40853 2011-05-14 Ulrich Drepper <drepper@gmail.com>
40857 * elf/dl-open.c (dl_open_worker): Delay calls to _dl_update_slotinfo
40858 until all modules are registered in the DTV.
40859 * elf/Makefile: Add rules to build and run tst-tls19.
40860 * elf/tst-tls19.c: New file.
40861 * elf/tst-tls19mod1.c: New file.
40862 * elf/tst-tls19mod2.c: New file.
40863 * elf/tst-tls19mod3.c: New file.
40864 Patch mostly by Martin von Gagern <Martin.vGagern@gmx.net>.
40867 * sysdeps/pthread/aio_misc.c (__aio_init): Compute optim.aio_num
40871 * iconvdata/cp932.c (BODY to UCS4): Fix incrementing inptr in case of
40872 two-byte sequence errors.
40873 * iconvdata/Makefile (tests): Add bug-iconv8.
40874 * iconvdata/bug-iconv8.c: New file.
40877 * sysdeps/generic/elf/backtracesymsfd.c (__backtrace_symbols_fd): Move
40880 * libio/fileops.c (_IO_new_file_close_it): Initialize write_status.
40883 * sysdeps/ia64/backtrace.c (struct trace_reg): Add cfa element.
40884 (dummy_getcfa): New function.
40885 (init): Get _Unwind_GetCFA address, use dummy if not found.
40886 (backtrace_helper): In recursion check, also check whether CFA changes.
40887 (__backtrace): Completely initialize arg.
40889 * iconv/loop.c (SINGLE) [STORE_REST]: Add input bytes to bytebuf before
40890 storing incomplete byte sequence in state object. Avoid testing for
40891 guaranteed too small input if we know there is enough data available.
40893 2011-05-11 Andreas Schwab <schwab@redhat.com>
40895 * Makeconfig (+link-pie): Indent.
40896 * Rules (binaries-pie): Define if $(have-fpie) and
40898 (binaries-shared): Also filter out $(binaries-pie).
40899 ($(addprefix $(objpfx),$(binaries-pie))): New rule.
40900 * nscd/Makefile (others-pie): Add nscd.
40901 (LDFLAGS-nscd): Set this instead of relro-LDFLAGS.
40902 ($(objpfx)nscd): Remove command override.
40903 * login/Makefile (others-pie): Add pt_chown.
40904 ($(objpfx)pt_chown): Remove command override.
40905 * elf/Makefile: Add PIE tests to tests and tests-pie variables and
40906 remove command overrides.
40908 2011-05-13 Ulrich Drepper <drepper@gmail.com>
40910 * libio/tst_putwc.c: Fix error messages.
40913 * libio/fileops.c (_IO_new_file_close_it): Always flush when
40914 currently writing and seek to current position when not.
40915 * libio/Makefile (tests): Add bug-fclose1.
40916 * libio/bug-fclose1.c: New file.
40918 2011-05-12 Ulrich Drepper <drepper@gmail.com>
40921 * elf/dl-lookup.c (enter): Don't test for copy relocation here and
40922 don't set DF_1_NODELETE here.
40923 (do_lookup_x): When entering new entry test for copy relocation
40924 and if necessary set DF_1_NODELETE flag.
40925 * elf/tst-unique4.cc: New file.
40926 * elf/tst-unique4.h: New file.
40927 * elf/tst-unique4lib.cc: New file.
40928 * elf/Makefile: Add rules to build and run tst-unique4.
40929 Patch by Piotr Bury <pbury@goahead.com>.
40931 2011-05-11 Ulrich Drepper <drepper@gmail.com>
40934 * sysdeps/posix/spawni.c (__spawni): Fix sched_setscheduler call.
40937 * misc/mntent_r.c (addmntent): Flush the stream after the output
40940 * elf/dl-load.c (is_trusted_path): Remove unnecessary test.
40941 (is_trusted_path_normalize): Skip initial colon. Append slash
40942 to empty buffer. Duplicate is_trusted_path code but allow
40943 constructed patch to be prefix.
40944 (is_dst): Allow $ORIGIN followed by /.
40945 (_dl_dst_substitute): Correct clearing of check_for_trusted.
40946 Correct testing of result of is_trusted_path_normalize
40947 (decompose_rpath): Fix warning.
40949 2011-05-10 Ulrich Drepper <drepper@gmail.com>
40952 * grp/initgroups.c (internal_getgrouplist): When we found the service
40953 list through the initgroups entry in nsswitch.conf do not always
40954 continue on a successful lookup. Don't always use the
40955 __nss_group_database value if it is set.
40956 * nss/nsswitch.conf (initgroups): Change action for successful db
40957 lookup to continue for compatibility.
40959 2011-05-09 Ulrich Drepper <drepper@gmail.com>
40962 * iconvdata/Makefile: Add rules to build CP770, CP771, CP772, CP773,
40964 * iconvdata/gconv-modules: Add entries for CP770, CP771, CP772, CP773,
40966 * iconvdata/tst-tables.sh: Likewise.
40967 * iconvdata/cp770.c: New file.
40968 * iconvdata/cp771.c: New file.
40969 * iconvdata/cp772.c: New file.
40970 * iconvdata/cp773.c: New file.
40971 * iconvdata/cp774.c: New file.
40972 * iconvdata/testdata/CP770: New file.
40973 * iconvdata/testdata/CP770..UTF8: New file.
40974 * iconvdata/testdata/CP771: New file.
40975 * iconvdata/testdata/CP771..UTF8: New file.
40976 * iconvdata/testdata/CP772: New file.
40977 * iconvdata/testdata/CP772..UTF8: New file.
40978 * iconvdata/testdata/CP773: New file.
40979 * iconvdata/testdata/CP773..UTF8: New file.
40980 * iconvdata/testdata/CP774: New file.
40981 * iconvdata/testdata/CP774..UTF8: New file.
40983 * iconvdata/gen-8bit-gap-1.sh: End reading of charmap file at
40985 * iconvdata/gen-8bit-gap.sh: Likewise.
40986 * iconvdata/gen-8bit.sh: Likewise.
40988 * locale/iso-639.def: Add ary entry.
40991 * locale/C-translit.h.in: Add U20A1 transliteration.
40994 * locale/iso-639.def: Add wae entry.
40995 Patch by Kevin Bortis <bortis@translate-wae.ch>.
40998 * locale/programs/localedef.c (construct_output_path): Use ssize_t
41002 * locale/C-translit.h.in: Add entry for U20B9.
41003 Patch by pravin.d.s@gmail.com.
41005 2011-05-08 Ulrich Drepper <drepper@gmail.com>
41008 * sysdeps/unix/sysv/linux/getcwd.c: If getcwd syscall report
41009 ENAMETOOLONG use generic getcwd.
41010 * sysdeps/posix/getcwd.c: Add support to use openat. Make usable
41011 in rtld. Use *stat64.
41012 * sysdeps/unix/sysv/linux/Makefile [subdir=elf] (sysdep-rtld-routines):
41013 Add dl-getcwd, dl-openat64, dl-opendir, dl-fxstatat64.
41014 * sysdeps/unix/sysv/linux/dl-getcwd.c: New file.
41015 * sysdeps/unix/sysv/linux/dl-openat64.c: New file.
41016 * sysdeps/unix/sysv/linux/dl-opendir.c: New file.
41017 * sysdeps/unix/sysv/linux/dl-fxstat64.c: New file.
41018 * include/sys/stat.h: Define __fstatat, __lstat64, __fstat64, and
41019 __fstatat64 macros.
41020 * include/dirent.h: Add libc_hidden_proto for rewinddir.
41021 * dirent/rewinddir.c: Add libc_hidden_def.
41022 * sysdeps/mach/hurd/rewinddir.c: Likewise.
41023 * sysdeps/unix/rewinddir.c: Likewise. Don't do locking outside libc.
41025 * include/dirent.h (__alloc_dir): Add flags parameter.
41026 * sysdeps/unix/fdopendir.c (__fdopendir): Pass flags to __alloc_dir.
41027 * sysdeps/unix/opendir.c (__opendir): Pass 0 in new parameter to
41029 (__alloc_dir): Take new parameter. Don't call fcntl for invocations
41030 from fdopendir if O_CLOEXEC is already set.
41032 2011-03-15 Alan Modra <amodra@gmail.com>
41034 * elf/dl-reloc.c (_dl_try_allocate_static_tls <TLS_DTV_AT_TP>): Handle
41035 l_tls_firstbyte_offset non-zero. Save padding offset in
41036 l_tls_firstbyte_offset for later use.
41037 * elf/dl-close.c (_dl_close_worker <TLS_DTV_AT_TP>): Correct code
41038 freeing static tls block.
41040 2011-03-05 Jonathan Nieder <jrnieder@gmail.com>
41042 * sysdeps/unix/sysv/linux/sys/param.h: Fix an #ifndef __undef_ARG_MAX
41043 where #ifdef was intended. The intent is to prevent ARG_MAX from
41044 being defined by the kernel headers.
41046 2011-05-07 Ulrich Drepper <drepper@gmail.com>
41049 * resolv/resolv.h: Define RES_NOTLDQUERY.
41050 * resolv/res_init.c (res_setoptions): Recognize no_tld_query and
41051 no-tld-query and set RES_NOTLDQUERY.
41052 * resolv/res_debug.c (p_option): Handle RES_NOTLDQUERY.
41053 * resolv/res_query.c (__libc_res_nsearch): Backport changes from
41054 modern BIND to search name as TLD unless forbidden.
41056 2011-05-07 Petr Baudis <pasky@suse.cz>
41057 Ulrich Drepper <drepper@gmail.com>
41060 * elf/dl-load.c (fillin_rpath): Move trusted path check...
41061 (is_trusted_path): ...to here.
41062 (is_trusted_path_normalize): Wrapper for /../ and /./ normalization.
41063 (_dl_dst_substitute): Verify expanded $ORIGIN path elements
41064 using is_trusted_path_normalize() in setuid scripts.
41066 2011-05-06 Paul Pluzhnikov <ppluzhnikov@google.com>
41068 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add missing
41069 __BEGIN/__END_DECLS.
41071 2011-05-06 Ulrich Drepper <drepper@gmail.com>
41073 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Return
41074 NSS_STATUS_NOTFOUND if no record was found.
41076 2011-05-05 Andreas Schwab <schwab@redhat.com>
41078 * sunrpc/Makefile (headers): Add rpc/netdb.h.
41079 (headers-not-in-tirpc): Remove rpc/netdb.h
41080 * resolv/netdb.h: Revert last change.
41082 2011-05-05 Paul Pluzhnikov <ppluzhnikov@google.com>
41084 * Makeconfig (link-libc-static): Use --{start,end}-group to handle
41085 circular dependency between libgcc.a and libc.a.
41087 2011-05-05 Andreas Schwab <schwab@redhat.com>
41089 * resolv/netdb.h: Don't include <rpc/netdb.h>.
41090 * nis/Makefile: Don't install rpcsvc/*.
41091 * inet/protocols/timed.h: Include <sys/types.h> and <sys/time.h>
41092 instead of <rpc/types.h>.
41093 (MAXHOSTNAMELEN): Define.
41095 2011-05-03 Andreas Schwab <schwab@redhat.com>
41097 * elf/ldconfig.c (add_dir): Don't crash on empty path.
41099 2011-04-28 Maciej Babinski <mbabinski@google.com>
41102 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't bypass
41103 gethostbyname4_r when IPv6 results are possible.
41105 2011-05-02 Ulrich Drepper <drepper@gmail.com>
41108 * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Implement
41109 _PC_PIPE_BUF handling.
41111 2011-04-30 Bruno Haible <bruno@clisp.org>
41114 * conform/data/netdb.h-data (getnameinfo): Make POSIX compliant.
41115 * resolv/netdb.h (getnameinfo): Change type of flags parameter
41117 * inet/getnameinfo.c (getnameinfo): Likewise.
41119 2011-04-29 Ulrich Drepper <drepper@gmail.com>
41121 * grp/initgroups.c (internal_getgrouplist): Prefer initgroups setting
41122 to groups setting in database lookup.
41123 * nss/nsswitch.conf: Add initgroups entry.
41125 2011-04-22 Ulrich Drepper <drepper@gmail.com>
41128 * libio/fileops.c (_IO_new_file_fopen): Scan up to 7 bytes of the
41130 Patch by Eric Blake <eblake@redhat.com>.
41132 2011-04-20 H.J. Lu <hongjiu.lu@intel.com>
41134 * sunrpc/Makefile (need-export-routines): Add svc_run.
41135 (routines): Remove svc_run.
41136 ($(objpfx)thrsvc): Add $(common-objpfx)linkobj/libc.so.
41137 * sunrpc/clnt_perr.c (clnt_perrno): Export.
41138 * sunrpc/svc_run.c (svc_run): Likewise.
41139 * sunrpc/svc_udp.c (svcudp_create): Likewise.
41141 2011-04-21 Ulrich Drepper <drepper@gmail.com>
41143 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Fix
41144 problem in reallocation in last patch.
41146 2011-04-20 Ulrich Drepper <drepper@gmail.com>
41148 * sunrpc/Makefile: Move inclusion of Rules.
41150 2011-04-19 Ulrich Drepper <drepper@gmail.com>
41152 * nss/nss_files/files-initgroups.c: New file.
41153 * nss/Makefile (libnss_files-routines): Add files-initgroups.
41154 * nss/Versions (libnss_files) [GLIBC_PRIVATE]: Export
41155 _nss_files_initgroups_dyn.
41157 2011-03-31 Richard Sandiford <richard.sandiford@linaro.org>
41159 * elf/elf.h (R_ARM_IRELATIVE): Define.
41161 2011-04-19 Ulrich Drepper <drepper@gmail.com>
41163 * po/ru.po: Update from translation team.
41165 2011-04-17 Ulrich Drepper <drepper@gmail.com>
41167 * sunrpc/Makefile ($(rpc-compat-routines.os)): Add before-compile to
41170 2011-02-06 Mike Frysinger <vapier@gentoo.org>
41173 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Only protect
41174 MEMCPY_CHK with USE_AS_BCOPY ifdef check.
41175 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
41176 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
41177 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
41179 2011-03-28 Andreas Schwab <schwab@linux-m68k.org>
41181 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't read past
41183 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
41184 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
41185 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
41187 2011-04-17 Ulrich Drepper <drepper@gmail.com>
41190 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Reload context after
41192 * stdlib/bug-getcontext.c: New file.
41193 * stdlib/Makefile: Add rules to build and run bug-getcontext.
41195 2011-04-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
41197 * sysdeps/s390/s390-64/utf16-utf32-z9.c: Wrap the z9-109
41198 instructions into .machine "z9-109".
41199 * sysdeps/s390/s390-64/utf8-utf16-z9.c: Likewise.
41200 * sysdeps/s390/s390-64/utf8-utf32-z9.c: Likewise.
41202 2011-04-11 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
41204 * sysdeps/s390/s390-32/elf/start.S (_start): Skip extra zeroes
41205 between environment variables and auxiliary vector.
41207 2011-04-16 Ulrich Drepper <drepper@gmail.com>
41209 * Makefile: Add rules to build linkobj/libc.so.
41210 * include/libc-symbols.h: Define libc_hidden_nolink.
41211 * include/rpc/auth.h: Mark functions which are to be hidden.
41212 * include/rpc/auth_des.h: Likewise.
41213 * include/rpc/auth_unix.h: Likewise.
41214 * include/rpc/clnt.h: Likewise.
41215 * include/rpc/des_crypt.h: Likewise.
41216 * include/rpc/key_prot.h: Likewise.
41217 * include/rpc/pmap_clnt.h: Likewise.
41218 * include/rpc/pmap_prot.h: Likewise.
41219 * include/rpc/pmap_rmt.h: Likewise.
41220 * include/rpc/rpc_msg.h: Likewise.
41221 * include/rpc/svc.h: Likewise.
41222 * include/rpc/svc_auth.h: Likewise.
41223 * include/rpc/xdr.h: Likewise.
41224 * nis/Makefile: Link all DSOs against linkobj/libc.so.
41225 * nss/Makefile: Likewise.
41226 * sunrpc/Makefile: Don't install headers. Build library with normal
41227 entry points. Don't build rpcinfo. Link RPC tests appropriately.
41228 * sunrpc/auth_des.c: Hide exported symbols by default, export some
41229 for the compat linking library. Remove use of INTDEF/INTUSE.
41230 * sunrpc/auth_none.c: Likewise.
41231 * sunrpc/auth_unix.c: Likewise.
41232 * sunrpc/authdes_prot.c: Likewise.
41233 * sunrpc/authuxprot.c: Likewise.
41234 * sunrpc/clnt_gen.c: Likewise.
41235 * sunrpc/clnt_perr.c: Likewise.
41236 * sunrpc/clnt_raw.c: Likewise.
41237 * sunrpc/clnt_simp.c: Likewise.
41238 * sunrpc/clnt_tcp.c: Likewise.
41239 * sunrpc/clnt_udp.c: Likewise.
41240 * sunrpc/clnt_unix.c: Likewise.
41241 * sunrpc/des_crypt.c: Likewise.
41242 * sunrpc/des_soft.c: Likewise.
41243 * sunrpc/get_myaddr.c: Likewise.
41244 * sunrpc/key_call.c: Likewise.
41245 * sunrpc/key_prot.c: Likewise.
41246 * sunrpc/netname.c: Likewise.
41247 * sunrpc/pm_getmaps.c: Likewise.
41248 * sunrpc/pm_getport.c: Likewise.
41249 * sunrpc/pmap_clnt.c: Likewise.
41250 * sunrpc/pmap_prot.c: Likewise.
41251 * sunrpc/pmap_prot2.c: Likewise.
41252 * sunrpc/pmap_rmt.c: Likewise.
41253 * sunrpc/publickey.c: Likewise.
41254 * sunrpc/rpc_cmsg.c: Likewise.
41255 * sunrpc/rpc_common.c: Likewise.
41256 * sunrpc/rpc_dtable.c: Likewise.
41257 * sunrpc/rpc_prot.c: Likewise.
41258 * sunrpc/rpc_thread.c: Likewise.
41259 * sunrpc/rtime.c: Likewise.
41260 * sunrpc/svc.c: Likewise.
41261 * sunrpc/svc_auth.c: Likewise.
41262 * sunrpc/svc_authux.c: Likewise.
41263 * sunrpc/svc_raw.c: Likewise.
41264 * sunrpc/svc_run.c: Likewise.
41265 * sunrpc/svc_simple.c: Likewise.
41266 * sunrpc/svc_tcp.c: Likewise.
41267 * sunrpc/svc_udp.c: Likewise.
41268 * sunrpc/svc_unix.c: Likewise.
41269 * sunrpc/svcauth_des.c: Likewise.
41270 * sunrpc/xcrypt.c: Likewise.
41271 * sunrpc/xdr.c: Likewise.
41272 * sunrpc/xdr_array.c: Likewise.
41273 * sunrpc/xdr_float.c: Likewise.
41274 * sunrpc/xdr_intXX_t.c: Likewise.
41275 * sunrpc/xdr_mem.c: Likewise.
41276 * sunrpc/xdr_rec.c: Likewise.
41277 * sunrpc/xdr_ref.c: Likewise.
41278 * sunrpc/xdr_sizeof.c: Likewise.
41279 * sunrpc/xdr_stdio.c: Likewise.
41281 2011-04-10 Ulrich Drepper <drepper@gmail.com>
41284 * sysdeps/i386/dl-tls.h: Define TLS_DTV_UNALLOCATED.
41285 * sysdeps/ia64/dl-tls.h: Likewise.
41286 * sysdeps/powerpc/dl-tls.h: Likewise.
41287 * sysdeps/s390/dl-tls.h: Likewise.
41288 * sysdeps/sh/dl-tls.h: Likewise.
41289 * sysdeps/sparc/dl-tls.h: Likewise.
41290 * sysdeps/x86_64/dl-tls.h: Likewise.
41291 * elf/dl-tls.c: Don't define TLS_DTV_UNALLOCATED here.
41293 2011-03-14 Andreas Schwab <schwab@redhat.com>
41295 * elf/dl-load.c (_dl_dst_substitute): When skipping the first
41296 rpath element also skip the following colon.
41297 (expand_dynamic_string_token): Add is_path parameter and pass
41298 down to DL_DST_REQUIRED and _dl_dst_substitute.
41299 (decompose_rpath): Call expand_dynamic_string_token with
41300 non-zero is_path. Ignore empty rpaths.
41301 (_dl_map_object_from_fd): Call expand_dynamic_string_token
41304 2011-04-08 Andreas Schwab <schwab@linux-m68k.org>
41306 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
41309 2011-04-09 Ulrich Drepper <drepper@gmail.com>
41312 * sysdeps/unix/sysv/linux/sys/syscall.h: Fix comment.
41313 Patch by Filipe David Manana <fdmanana@apache.org>.
41315 2011-04-07 Andreas Schwab <schwab@redhat.com>
41317 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S (CALL_FAIL):
41318 Maintain aligned stack.
41319 (CHECK_RSP): Remove unused macro.
41321 2011-04-03 Ulrich Drepper <drepper@gmail.com>
41323 * sysdeps/x86_64/cacheinfo.c (intel_02_known): Fix typo in table.
41324 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_02_known): Likewise.
41326 2011-04-02 Ulrich Drepper <drepper@gmail.com>
41328 * sysdeps/unix/sysv/linux/bits/time.h (CLOCK_BOOTTIME): Define.
41330 * include/features.h: Mention __USE_XOPEN2K8 in comment.
41332 2011-03-26 H.J. Lu <hongjiu.lu@intel.com>
41335 * sysdeps/x86_64/Versions: Add memcpy to GLIBC_2.14.
41336 * sysdeps/x86_64/memcpy.S: Provide GLIBC_2_14 memcpy.
41337 * sysdeps/x86_64/memmove.c: New file.
41338 * sysdeps/x86_64/multiarch/memcpy.S: Include <shlib-compat.h>.
41339 (memcpy): Renamed to ...
41340 (__new_memcpy): This.
41341 (memcpy): Provide GLIBC_2_14 memcpy.
41342 * sysdeps/x86_64/multiarch/memmove.c: Include <shlib-compat.h>.
41343 (memcpy): Provide GLIBC_2_2_5 memcpy.
41345 2011-04-01 Ulrich Drepper <drepper@gmail.com>
41348 * wcsmbs/wchar.h: Make wcpcpy and wcpncpy visible for __USE_XOPEN2K8.
41350 2011-03-30 Andreas Schwab <schwab@redhat.com>
41352 * misc/syncfs.c: New file.
41353 * misc/Makefile (routines): Add syncfs.
41354 * posix/unistd.h: Declare syncfs.
41355 * sysdeps/unix/syscalls.list: Add syncfs.
41357 2011-04-01 Andreas Schwab <schwab@redhat.com>
41359 * sysdeps/unix/sysv/linux/Versions: Rename open_by_handle to
41361 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
41362 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
41363 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
41364 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
41365 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
41366 * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
41367 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
41369 2011-04-01 Ulrich Drepper <drepper@gmail.com>
41371 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define O_PATH.
41372 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
41373 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Likewise.
41374 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
41375 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
41376 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
41377 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
41379 * io/Makefile: Compile fallocate.c, fallocate64.c, and
41380 sync_file_range.c with -fexceptions.
41381 * sysdeps/unix/sysv/linux/fallocate.c: Make cancelable.
41382 * sysdeps/unix/sysv/linux/fallocate64.c: Likewise.
41383 * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
41384 * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
41385 * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
41386 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
41387 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Mark
41388 sync_file_range as cancellation point
41389 * sysdeps/unix/sysv/linux/i386/sync_file_range.c: New file. This is
41390 now a wrapper around __call_sync_file_range with cancellation handling.
41391 * sysdeps/unix/sysv/linux/i386/sync_file_range.S: Renamed to ...
41392 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: ...this. Change
41393 function name to __call_sync_file_range.
41394 * sysdeps/unix/sysv/linux/i386/Makefile [subdir=io] (sysdep_routines):
41395 Add call_sync_file_range.
41397 2011-04-01 Andreas Schwab <schwab@redhat.com>
41399 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
41402 2011-04-01 Ulrich Drepper <drepper@gmail.com>
41404 * iconv/iconv.h: Fix typo in comment.
41405 * io/fcntl.h: Likewise.
41406 * libio/stdio.h: Likewise.
41407 * posix/spawn.h: Likewise.
41408 * posix/unistd.h: Likewise.
41409 * stdlib/stdlib.h: Likewise.
41410 * time/time.h: Likewise.
41411 * wcsmbs/wchar.h: Likewise.
41413 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (name_to_handle_at,
41414 open_by_handle): Add.
41415 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define struct file_handle
41416 and MAX_HANDLE_SZ. Declare name_to_handle_at and open_by_handle.
41417 Augment a few comments.
41418 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
41419 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
41420 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
41421 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
41422 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
41423 * sysdeps/unix/sysv/linux/syscalls.list: Add name_to_handle_at and
41426 * io/fcntl.h (AT_EMPTY_PATH): Define.
41428 2011-03-30 Ulrich Drepper <drepper@gmail.com>
41430 * sysdeps/unix/sysv/linux/syscalls.list: Add clock_adjtime.
41431 * sysdeps/unix/sysv/linux/bits/time.h: New file.
41432 * sysdeps/unix/sysv/linux/sys/timex.h: Move struct timex definition
41434 * sysdeps/unix/sysv/linux/bits/timex.h: ...here. New file.
41435 * Versions.def: Add GLIBC_2.14.
41436 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (clock_adjtime):
41439 2011-03-22 Ulrich Drepper <drepper@gmail.com>
41441 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word): Increment
41443 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
41445 2011-03-20 H.J. Lu <hongjiu.lu@intel.com>
41448 * string/test-strncmp.c (do_page_test): New function.
41449 (check2): Likewise.
41450 (test_main): Call check2.
41451 * sysdeps/x86_64/multiarch/strcmp.S: Properly cross page boundary.
41453 2011-03-20 Ulrich Drepper <drepper@gmail.com>
41456 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word):
41457 Handle cache information in CPU leaf 4.
41458 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
41460 2011-03-18 Ulrich Drepper <drepper@gmail.com>
41463 * posix/fnmatch.c (fnmatch): Check size of pattern in wide
41464 character representation.
41465 Partly based on a patch by Tomas Hoger <thoger@redhat.com>.
41467 2011-03-16 Ryan S. Arnold <rsa@us.ibm.com>
41469 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnanf.S (isnanf): Fix
41470 END(__isnan) to END(__isnanf) to match function entry point/label
41471 EALIGN(__isnanf,...).
41473 2011-03-10 Jakub Jelinek <jakub@redhat.com>
41475 * wcsmbs/wchar.h (wmemcmp): Remove __restrict qualifiers.
41477 2011-03-10 Ulrich Drepper <drepper@gmail.com>
41480 * elf/dl-lookup.c (do_lookup_x): For copy relocations of unique objects
41481 copy from the symbol referenced in the relocation to initialize the
41483 Patch by Piotr Bury <pbury@goahead.com>.
41484 * elf/Makefile: Add rules to build and tst-unique3.
41485 * include/bits/dlfcn.h: Remove _dl_mcount_wrapper_check declaration.
41486 * elf/tst-unique3.cc: New file.
41487 * elf/tst-unique3.h: New file.
41488 * elf/tst-unique3lib.cc: New file.
41489 * elf/tst-unique3lib2.cc: New file.
41491 * elf/Makefile: Don't run tst-execstack* tests of SELinux is enabled.
41493 2011-03-10 Mike Frysinger <vapier@gentoo.org>
41495 * sysdeps/sparc/sparc64/elf/configure.in (libc_cv_sparc64_tls): Add
41496 $LDFLAGS and -nostdlib -nostartfiles to linking step. Change main
41499 2011-03-06 Ulrich Drepper <drepper@gmail.com>
41501 * elf/dl-load.c (_dl_map_object): If we are looking for the first
41502 to-be-loaded object along a path to loader is ld.so.
41504 2011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
41505 Ulrich Drepper <drepper@gmail.com>
41507 * sysdeps/x86_64/memset.S: After aligning destination, code
41508 branches to different locations depending on the value of
41509 misalignment, when multiarch is enabled. Fix this.
41511 2011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
41513 * sysdeps/x86_64/cacheinfo.c (init_cacheinfo):
41514 Set _x86_64_preferred_memory_instruction for AMD processsors.
41515 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
41516 Set bit_Prefer_SSE_for_memop for AMD processors.
41518 2011-03-04 Ulrich Drepper <drepper@gmail.com>
41520 * libio/fmemopen.c (fmemopen): Optimize a bit.
41522 2011-03-03 Andreas Schwab <schwab@redhat.com>
41524 * libio/fmemopen.c (fmemopen): Don't read past end of buffer.
41526 2011-03-03 Roland McGrath <roland@redhat.com>
41528 * setjmp/bits/setjmp2.h: Canonicalize comment formatting.
41530 2011-02-28 Aurelien Jarno <aurelien@aurel32.net>
41532 * sysdeps/sparc/sparc64/multiarch/memset.S(__bzero): Call
41533 __bzero_ultra1 instead of __memset_ultra1.
41535 2011-02-23 Andreas Schwab <schwab@redhat.com>
41536 Ulrich Drepper <drepper@gmail.com>
41539 * include/link.h (struct link_map): Add l_orig_initfini.
41540 * elf/dl-load.c (_dl_map_object_from_fd): Free realname before
41541 returning unsuccessfully.
41542 * elf/dl-close.c (_dl_close_worker): If this is the last explicit
41543 close of a file loaded at startup, restore the original l_initfini
41545 * elf/dl-deps.c (_dl_map_object_deps): Don't free old l_initfini
41546 list, store the pointer.
41547 * elf/Makefile ($(objpfx)noload-mem): New rule.
41548 (noload-ENV): Define.
41549 (tests): Add $(objpfx)noload-mem.
41550 * elf/noload.c: Include <memcheck.h>.
41551 (main): Call mtrace. Close all opened handles.
41553 2011-02-17 Andreas Schwab <schwab@redhat.com>
41556 * elf/dl-deps.c (_dl_map_object_deps): Signal error early when
41557 dependencies are missing.
41559 2011-02-22 Samuel Thibault <samuel.thibault@ens-lyon.org>
41561 Fix __if_freereq crash: Unlike the generic version which uses free,
41563 * sysdeps/mach/hurd/ifreq.h: New file.
41565 2011-01-27 Petr Baudis <pasky@suse.cz>
41566 Ulrich Drepper <drepper@gmail.com>
41569 * stdio-common/vfprintf.c (vfprintf): Pass correct newlen
41570 to extend_alloca().
41571 * stdio-common/bug23.c: New file.
41572 * stdio-common/Makefile (tests): Add bug23.
41574 2010-09-28 Andreas Schwab <schwab@redhat.com>
41575 Ulrich Drepper <drepper@gmail.com>
41578 * elf/rtld.c (dl_main): Move setting of GLRO(dl_init_all_dirs)
41579 before performing relro protection. At old place add assertion
41580 to make sure nothing changed.
41582 2011-02-17 Nathan Sidwell <nathan@codesourcery.com>
41583 Glauber de Oliveira Costa <glommer@gmail.com>
41585 * elf/elf.h: Add new ARM TLS relocs.
41587 2011-02-16 Ryan S. Arnold <rsa@us.ibm.com>
41589 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
41590 (INTERNAL_VSYSCALL_NCS INTERNAL_SYSCALL_NCS): Remove erroneous (int)
41592 * sysdeps/wordsize-64/Makefile: New file. Add tst-writev to
41594 * sysdeps/wordsize-64/tst-writev.c: New file.
41596 2011-02-15 Ryan S. Arnold <rsa@us.ibm.com>
41598 * sysdeps/powerpc/powerpc64/power7/Makefile: New file which adds
41599 -mno-vsx to the CFLAGS-rtld.c variable to avoid using VSX registers and
41600 insns in _dl_start to prevent a TOC reference before relocs are
41603 2011-02-15 Ulrich Drepper <drepper@gmail.com>
41606 * Makeconfig: Remove RANLIB definition.
41607 * Makerules: Don't use RANLIB.
41608 * aclocal.m4: Remove ranlib test.
41609 * configure.in: No need to check for ranlib.
41610 * elf/rtld-Rules: Don't use RANLIB.
41612 2011-02-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
41614 * sysdeps/mach/i386/sysdep.h: Add _MACH_I386_SYSDEP_H inclusion
41616 * sysdeps/mach/i386/thread_state.h: Add _MACH_I386_THREAD_STATE_H
41617 inclusion protection macro.
41619 * stdio-common/psiginfo.c (psiginfo): Check pinfo->si_signo against
41620 SIGRTMIN and SIGRTMAX and print information in that case only when
41621 SIGRTMIN is defined.
41623 2011-02-11 Jakub Jelinek <jakub@redhat.com>
41625 * stdio-common/printf-parsemb.c (__parse_one_specmb): Handle
41626 arginfo fn returning -1.
41628 * stdio-common/_i18n_number.h (_i18n_number_rewrite): Ensure decimal
41629 and thousands string is zero terminated.
41631 2011-02-03 Andreas Schwab <schwab@redhat.com>
41633 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Sync with
41634 sysdeps/unix/sysv/linux/bits/socket.h.
41636 2011-01-30 Samuel Thibault <samuel.thibault@ens-lyon.org>
41638 * bits/sched.h (__CPU_ZERO, __CPU_SET, __CPU_CLR, __CPU_ISSET)
41639 (__CPU_COUNT): Remove old macros.
41640 (__CPU_ZERO_S, __CPU_SET_S, __CPU_CLR_S, __CPU_ISSET_S)
41641 (__CPU_COUNT, __CPU_EQUAL_S, __CPU_OP_S, __CPU_ALLOC_SIZE)
41642 (__CPU_ALLOC, __CPU_FREE): Add macros.
41643 (__sched_cpualloc, __sched_cpufree): Add declarations.
41645 2011-02-05 Ulrich Drepper <drepper@gmail.com>
41647 * nscd/nscd-client.h: Define MAX_TIMEOUT_VALUE.
41648 (struct datahead): Reuse 32 bits of the alignment for a TTL field.
41649 * nscd/aicache.c (addhstaiX): Return timeout of added value.
41650 (readdhstai): Return value of addhstaiX call.
41651 * nscd/grpcache.c (cache_addgr): Return timeout of added value.
41652 (addgrbyX): Return value returned by cache_addgr.
41653 (readdgrbyname): Return value returned by addgrbyX.
41654 (readdgrbygid): Likewise.
41655 * nscd/pwdcache.c (cache_addpw): Return timeout of added value.
41656 (addpwbyX): Return value returned by cache_addpw.
41657 (readdpwbyname): Return value returned by addhstbyX.
41658 (readdpwbyuid): Likewise.
41659 * nscd/servicescache.c (cache_addserv): Return timeout of added value.
41660 (addservbyX): Return value returned by cache_addserv.
41661 (readdservbyname): Return value returned by addservbyX:
41662 (readdservbyport): Likewise.
41663 * nscd/hstcache.c (cache_addhst): Return timeout of added value.
41664 (addhstbyX): Return value returned by cache_addhst.
41665 (readdhstbyname): Return value returned by addhstbyX.
41666 (readdhstbyaddr): Likewise.
41667 (readdhstbynamev6): Likewise.
41668 (readdhstbyaddrv6): Likewise.
41669 * nscd/initgrcache.c (addinitgroupsX): Return timeout of added value.
41670 (readdinitgroups): Return value returned by addinitgroupsX.
41671 * nscd/cache.c (readdfcts): Change return value of functions to time_t.
41672 (prune_cache): Keep track of timeout value of re-added entries.
41673 * nscd/connections.c (nscd_run_prune): Use MAX_TIMEOUT_VALUE.
41674 * nscd/nscd.h: Adjust prototypes of readd* functions.
41676 2011-02-04 Roland McGrath <roland@redhat.com>
41678 * nis/nis_server.c (nis_servstate): Use the right name for 0.
41679 (nis_stats): Likewise.
41680 * nis/nis_modify.c (nis_modify): Likewise.
41681 * nis/nis_remove.c (nis_remove): Likewise.
41682 * nis/nis_add.c (nis_add): Likewise.
41684 * elf/dl-object.c (_dl_new_object): Remove unused variable L.
41686 * posix/fnmatch_loop.c: Add some consts.
41688 * sysdeps/x86_64/multiarch/memset-x86-64.S: Add an #undef.
41690 2011-02-02 H.J. Lu <hongjiu.lu@intel.com>
41693 * config.make.in (config-cflags-novzeroupper): Define.
41694 * configure.in: Substitute libc_cv_cc_novzeroupper.
41695 * elf/Makefile (AVX-CFLAGS): Define.
41696 (CFLAGS-tst-audit4.c): Replace -mavx with $(AVX-CFLAGS).
41697 (CFLAGS-tst-auditmod4a.c): Likewise.
41698 (CFLAGS-tst-auditmod4b.c): Likewise.
41699 (CFLAGS-tst-auditmod6b.c): Likewise.
41700 (CFLAGS-tst-auditmod6c.c): Likewise.
41701 (CFLAGS-tst-auditmod7b.c): Likewise.
41702 * sysdeps/i386/configure.in: Check -mno-vzeroupper.
41704 2011-02-02 Ulrich Drepper <drepper@gmail.com>
41706 * elf/dl-runtime.c (_dl_call_pltexit): Pass correct address of the
41707 function to the callback.
41708 Patch partly by Jiri Olsa <jolsa@redhat.com>.
41710 2011-02-02 Andreas Schwab <schwab@redhat.com>
41712 * shadow/sgetspent.c: Check return value of __sgetspent_r instead
41715 2011-01-19 Ulrich Drepper <drepper@gmail.com>
41718 * elf/dl-deps.c (_dl_map_object_deps): Rewrite sorting determining order
41720 * elf/dl-fini.c (_dl_sort_fini): Rewrite sorting determining order
41722 (_dl_fini): Don't call _dl_sort_fini if there is only one object.
41725 * elf/Makefile: Add rules to build and run new test.
41726 * elf/tst-initorder.c: New file.
41727 * elf/tst-initorder.exp: New file.
41728 * elf/tst-initordera1.c: New file.
41729 * elf/tst-initordera2.c: New file.
41730 * elf/tst-initordera3.c: New file.
41731 * elf/tst-initordera4.c: New file.
41732 * elf/tst-initorderb1.c: New file.
41733 * elf/tst-initorderb2.c: New file.
41734 * elf/tst-order-a1.c: New file.
41735 * elf/tst-order-a2.c: New file.
41736 * elf/tst-order-a3.c: New file.
41737 * elf/tst-order-a4.c: New file.
41738 * elf/tst-order-b1.c: New file.
41739 * elf/tst-order-b2.c: New file.
41740 * elf/tst-order-main.c: New file.
41741 New test case by George Gensure <werkt0@gmail.com>.
41743 2010-10-01 Andreas Schwab <schwab@redhat.com>
41745 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
41746 decoding ACE if AI_CANONIDN.
41748 2011-01-18 Ulrich Drepper <drepper@gmail.com>
41750 * elf/Makefile: Build IFUNC tests unless multi-arch = no.
41752 2011-01-17 Ulrich Drepper <drepper@gmail.com>
41754 * version.h (RELEASE): Bump for 2.13 release.
41755 * include/features.h: (__GLIBC_MINOR__): Bump to 13.
41757 * io/fcntl.h: Define AT_NO_AUTOMOUNT.
41759 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MADV_HUGEPAGE and
41761 * sysdeps/unix/sysv/linux/ia64/bits/mman.h: Likewise.
41762 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
41763 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
41764 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
41765 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
41766 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
41768 * posix/getconf.c: Update copyright year.
41769 * catgets/gencat.c: Likewise.
41770 * csu/version.c: Likewise.
41771 * debug/catchsegv.sh: Likewise.
41772 * debug/xtrace.sh: Likewise.
41773 * elf/ldconfig.c: Likewise.
41774 * elf/ldd.bash.in: Likewise.
41775 * elf/sprof.c (print_version): Likewise.
41776 * iconv/iconv_prog.c: Likewise.
41777 * iconv/iconvconfig.c: Likewise.
41778 * locale/programs/locale.c: Likewise.
41779 * locale/programs/localedef.c: Likewise.
41780 * malloc/memusage.sh: Likewise.
41781 * malloc/mtrace.pl: Likewise.
41782 * nscd/nscd.c (print_version): Likewise.
41783 * nss/getent.c: Likewise.
41785 * sysdeps/unix/sysv/linux/bits/socket.h: Define AF_CAIF, AF_ALG,
41786 PF_CAIF, and PF_ALG.
41787 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
41789 2011-01-16 Andreas Schwab <schwab@linux-m68k.org>
41791 * elf/Makefile (tlsmod17a-modules, tlsmod18a-modules): Define.
41792 (modules-names): Use them.
41793 (ifunc-test-modules, ifunc-pie-tests): Define.
41794 (extra-test-objs): Add tlsmod17a-modules, tlsmod18a-modules,
41795 tst-pie1, ifunc-test-modules and ifunc-pie-tests objects.
41796 (test-extras): Likewise.
41797 ($(patsubst %,$(objpfx)%.os,$(tlsmod17a-modules))): Use
41798 $(compile-command.c).
41799 ($(patsubst %,$(objpfx)%.os,$(tlsmod18a-modules))): Likewise.
41800 (all-built-dso): Define.
41801 (check-textrel.out, check-execstack.out): Depend on it.
41803 * configure.in: Don't override --enable-multi-arch.
41805 2011-01-15 Ulrich Drepper <drepper@gmail.com>
41808 * nscd/hstcache.c (tryagain): Define.
41809 (cache_addhst): Return tryagain not notfound for temporary errors.
41810 (addhstbyX): Also set h_errno to TRY_AGAIN when memory allocation
41813 2011-01-14 Ulrich Drepper <drepper@gmail.com>
41816 * sysdeps/unix/sysv/linux/i386/setgroups.c: Use INLINE_SETXID_SYSCALL
41817 to make the syscall.
41818 * sysdeps/unix/sysv/linux/setgroups.c: New file.
41821 * posix/fnmatch_loop.c (FCT): When matching '[' keep track of beginning
41822 and fall back to matching as normal character if the string ends before
41823 the matching ']' is found. This is what POSIX requires.
41824 * posix/testfnm.c: Adjust test result.
41825 * posix/globtest.sh: Adjust test result. Add new test.
41826 * posix/tst-fnmatch.input: Likewise.
41827 * posix/tst-fnmatch2.c: Add new test.
41829 2010-12-28 Andreas Schwab <schwab@linux-m68k.org>
41831 * elf/Makefile (check-execstack): Revert last change. Depend on
41833 (check-execstack.h): New target.
41834 (generated): Add check-execstack.h.
41835 * elf/check-execstack.c: Include "check-execstack.h".
41836 (main): Revert last change.
41837 (handle_file): Return zero if GNU_STACK is absent and
41838 DEFAULT_STACK_PERMS doesn't include PF_X.
41840 2011-01-13 Ulrich Drepper <drepper@gmail.com>
41842 * sysdeps/posix/spawni.c (__spawni): Don't fail if close file action
41843 in child fails because the descriptor is already closed.
41844 * include/sys/resource.h: Add libc_hidden_proto for getrlimit64.
41845 * sysdeps/unix/sysv/linux/getrlimit64.c: Add libc_hidden_def.
41846 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Likewise.
41849 * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Fix handling of missing
41853 * nss/nss_files/files-hosts.c (HOST_DB_LOOKUP): Handle overflows of
41854 temporary buffer used to handle multi lookups locally.
41855 * include/alloca.h: Add libc_hidden_proto for __libc_alloca_cutoff.
41857 2011-01-12 Ulrich Drepper <drepper@gmail.com>
41859 * elf/dl-dst.h (DL_DST_REQUIRED): Allow l_origin to be NULL when
41862 2011-01-10 Paul Pluzhnikov <ppluzhnikov@google.com>
41864 * sysdeps/i386/Makefile: stdlib/cxa_finalize.c needs 16-byte stack
41865 alignment for SSE2.
41867 2011-01-12 Ulrich Drepper <drepper@gmail.com>
41870 * stdio-common/printf_fp.c (__printf_fp): Add more room for grouping
41871 characters. When rounding increased number of integer digits recompute
41873 * stdio-common/tst-grouping.c: New file.
41874 * stdio-common/Makefile: Add rules to build and run tst-grouping.
41876 2011-01-09 Ulrich Drepper <drepper@gmail.com>
41878 * sysdeps/i386/bits/select.h: Don't use asm code for __FD_SET,
41879 __FD_CLR, and __FS_ISSET. gcc generates better code on its own.
41881 * sysdeps/x86_64/bits/select.h: Mark value of __FD_SET and __FD_CLR as
41883 * bits/select.h: Likewise.
41885 2011-01-08 Ulrich Drepper <drepper@gmail.com>
41887 * po/ja.po: Update from translation team.
41889 2011-01-04 David S. Miller <davem@sunset.davemloft.net>
41892 * sysdeps/unix/sysv/linux/sparc/sparc64/fxstat.c: Use i386's
41893 implementation just like for lxstat, fxstatat, et al.
41895 2010-12-27 Jim Meyering <meyering@redhat.com>
41898 * posix/regexec.c (build_trtable): Return failure indication upon
41899 calloc failure. Otherwise, re_search_internal could infloop on OOM.
41901 2010-12-25 Ulrich Drepper <drepper@gmail.com>
41904 * sysdeps/unix/sysv/linux/getrlimit64.c: New file.
41905 * sysdeps/unix/sysv/linux/setrlimit64.c: New file.
41906 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Use ../getrlimit64.c.
41907 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_PRLIMIT64.
41910 * malloc/malloc.c (do_check_malloc_state): Use fastbin macro.
41913 * string/xpg-strerror.c (__xpg_strerror_r): Return error code, not -1.
41914 * sysdeps/mach/xpg-strerror.c (__xpg_strerror_r): Likewise.
41916 2010-12-15 H.J. Lu <hongjiu.lu@intel.com>
41918 * config.h.in (NO_CTORS_DTORS_SECTIONS): Define.
41919 * configure.in: Define NO_CTORS_DTORS_SECTIONS if linker
41920 script has SORT_BY_INIT_PRIORITY.
41921 * elf/sofini.c: Remove `.ctors' and `.dtors' sections if
41922 NO_CTORS_DTORS_SECTIONS is defined.
41923 * elf/soinit.c: Likewise.
41924 * sysdeps/i386/init-first.c: Don't call __libc_global_ctors if
41925 NO_CTORS_DTORS_SECTIONS is defined.
41926 * sysdeps/mach/hurd/i386/init-first.c: Likewise.
41927 * sysdeps/mach/hurd/powerpc/init-first.c: Likewise.
41928 * sysdeps/sh/init-first.c: Likewise.
41929 * sysdeps/unix/sysv/linux/init-first.c: Likewise.
41931 2010-12-24 Ulrich Drepper <drepper@gmail.com>
41933 * stdio-common/vfprintf.c (vfprintf): If printf handlers are installed
41934 always use the slow path.
41936 2010-12-15 Ryan S. Arnold <rsa@us.ibm.com>
41938 * elf/Makefile: (check-execstack): Replace $(native-compile) with a
41939 similar rule which adds the sysdep directories to the header search in
41940 order to pick up the correct platform stackinfo.h.
41941 * elf/check-execstack.c (main): Check DEFAULT_STACK_PERMS for PF_X and
41942 perform test if it is, otherwise return successfully without testing.
41943 * elf/dl-load.c (_dl_map_object_from_fd): Source stack_flags from
41944 DEFAULT_STACK_PERMS define in stackinfo.h.
41945 * elf/dl-support.c (_dl_stack_flags): Source from DEFAULT_STACK_PERMS
41946 defined in stackinfo.h.
41947 * elf/rtld.c (_dl_starting_up): Source ._dl_stack_flags from
41948 DEFAULT_STACK_PERMS defined in stackinfo.h.
41949 * sysdeps/i386/stackinfo.h: Define DEFAULT_STACK_PERMS with PF_X.
41950 * sysdeps/ia64/stackinfo.h: Likewise.
41951 * sysdeps/s390/stackinfo.h: Likewise.
41952 * sysdeps/sh/stackinfo.h: Likewise.
41953 * sysdeps/sparc/stackinfo.h: Likewise.
41954 * sysdeps/x86_64/stackinfo.h: Likewise.
41955 * sysdeps/powerpc/stackinfo.h: Define DEFAULT_STACK_PERMS without
41956 PF_X for powerpc64. Retain PF_X for powerpc32.
41958 2010-12-19 Ulrich Drepper <drepper@gmail.com>
41960 * sysdeps/unix/readdir_r.c (__READDIR_R): Compute reclen more
41962 * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Define
41963 GETDENTS_64BIT_ALIGNED.
41965 2010-12-14 Ulrich Drepper <dreper@gmail.com>
41967 * sysdeps/i386/i686/multiarch/strcmp.S: Undo accidental checkin.
41969 2010-12-10 Andreas Schwab <schwab@redhat.com>
41971 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Only declare under
41974 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Add __restrict.
41975 * wcsmbs/bits/wchar2.h (__wmemmove_chk_warn, wmemmove, wmemset):
41977 (wcscpy, __wcpcpy_chk, __wcpcpy_alias, wcpcpy, wcsncpy, wcpncpy)
41978 (wcscat, wcsncat, __wcrtomb_chk, wcrtomb): Add __restrict.
41980 2010-12-09 Ulrich Drepper <drepper@gmail.com>
41983 * stdlib/msort.c (qsort_r): Make sure both phys_pages and pagesize
41986 2010-12-09 Jakub Jelinek <jakub@redhat.com>
41988 * string/bits/string3.h (memmove, bcopy): Remove __restrict.
41990 2010-12-03 Ulrich Drepper <drepper@gmail.com>
41992 * po/it.po: Update from translation team.
41994 2010-12-01 H.J. Lu <hongjiu.lu@intel.com>
41996 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (STRCMP): Remove
41999 2010-11-30 Ulrich Drepper <drepper@gmail.com>
42001 * sysdeps/i386/fpu/libm-test-ulps: Relax ynf(10,0.75) test expectations.
42003 2010-11-24 Andreas Schwab <schwab@redhat.com>
42005 * resolv/nss_dns/dns-host.c (getanswer_r): Don't handle ttl == 0
42007 (gaih_getanswer_slice): Likewise.
42009 2010-10-20 Jakub Jelinek <jakub@redhat.com>
42011 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Fix up inline asm.
42013 2010-05-31 Petr Baudis <pasky@suse.cz>
42016 * elf/ldconfig.c (main): Allow aux_cache_file open()ing to fail
42017 silently even in the chroot mode.
42019 2010-11-22 Ulrich Drepper <drepper@gmail.com>
42021 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Optimize
42022 last patch a bit. Pretty printing
42024 2010-05-31 Petr Baudis <pasky@suse.cz>
42027 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Fix
42028 initialization of skip_initgroups_dyn.
42030 2010-11-19 Ulrich Drepper <drepper@gmail.com>
42032 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MAP_HUGETLB.
42033 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
42035 2010-11-16 Ulrich Drepper <drepper@gmail.com>
42037 * sysdeps/unix/sysv/linux/sys/swap.h (SWAP_FLAG_DISCARD): Define.
42039 2010-11-11 Andreas Schwab <schwab@redhat.com>
42041 * posix/fnmatch_loop.c (NEW_PATTERN): Fix use of alloca.
42042 * posix/Makefile (tests): Add $(objpfx)tst-fnmatch-mem.
42043 (tst-fnmatch-ENV): Set MALLOC_TRACE.
42044 ($(objpfx)tst-fnmatch-mem): New rule.
42045 (generated): Add tst-fnmatch-mem and tst-fnmatch.mtrace.
42046 * posix/tst-fnmatch.c (main): Call mtrace.
42048 2010-11-11 H.J. Lu <hongjiu.lu@intel.com>
42050 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
42051 Support Intel processor model 6 and model 0x2c.
42053 2010-11-10 Luis Machado <luisgpm@br.ibm.com>
42055 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (__ieee754_sqrtl): Force
42058 2010-11-09 H.J. Lu <hongjiu.lu@intel.com>
42061 * string/test-strncasecmp.c (check_result): New function.
42062 (do_one_test): Use it.
42063 (check1): New function.
42064 (test_main): Use it.
42065 * sysdeps/i386/i686/multiarch/strcmp.S (nibble_ashr_use_sse4_2_exit):
42066 Support strcasecmp and strncasecmp.
42068 2010-11-08 Ulrich Drepper <drepper@gmail.com>
42071 * sysdeps/i386/bits/byteswap.h: Avoid warning in __bswap_16.
42072 * sysdeps/x86_64/bits/byteswap.h: Likewise.
42074 2010-11-07 H.J. Lu <hongjiu.lu@intel.com>
42076 * sysdeps/x86_64/memset.S: Check USE_MULTIARCH and USE_SSE2 for
42078 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
42080 * sysdeps/x86_64/multiarch/bzero.S: New file.
42081 * sysdeps/x86_64/multiarch/cacheinfo.c: New file.
42082 * sysdeps/x86_64/multiarch/memset-x86-64.S: New file.
42083 * sysdeps/x86_64/multiarch/memset.S: New file.
42084 * sysdeps/x86_64/multiarch/memset_chk.S: New file.
42085 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
42086 Set bit_Prefer_SSE_for_memop for Intel processors.
42087 * sysdeps/x86_64/multiarch/init-arch.h (bit_Prefer_SSE_for_memop):
42089 (index_Prefer_SSE_for_memop): Define.
42090 (HAS_PREFER_SSE_FOR_MEMOP): Define.
42092 2010-11-04 Luis Machado <luisgpm@br.ibm.com>
42094 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: New file.
42095 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: New file.
42097 2010-11-03 H.J. Lu <hongjiu.lu@intel.com>
42100 * sysdeps/i386/i686/cacheinfo.c (__x86_64_raw_data_cache_size): New.
42101 (__x86_64_raw_data_cache_size_half): Likewise.
42102 (__x86_64_raw_shared_cache_size): Likewise.
42103 (__x86_64_raw_shared_cache_size_half): Likewise.
42105 * sysdeps/x86_64/cacheinfo.c (__x86_64_raw_data_cache_size): New.
42106 (__x86_64_raw_data_cache_size_half): Likewise.
42107 (__x86_64_raw_shared_cache_size): Likewise.
42108 (__x86_64_raw_shared_cache_size_half): Likewise.
42109 (init_cacheinfo): Set __x86_64_raw_data_cache_size,
42110 __x86_64_raw_data_cache_size_half, __x86_64_raw_shared_cache_size
42111 and __x86_64_raw_shared_cache_size_half. Round
42112 __x86_64_data_cache_size_half, __x86_64_data_cache_size
42113 __x86_64_shared_cache_size_half and __x86_64_shared_cache_size,
42114 to multiple of 256 bytes.
42116 2010-11-03 Ulrich Drepper <drepper@gmail.com>
42119 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Recognize new mangling
42120 of inacessible symlinks. Verify result of symlink before returning it.
42121 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
42122 Patch mostly by Miklos Szeredi <miklos@szeredi.hu>.
42124 2010-10-28 Erich Ritz <erichritz@gmail.com>
42126 * math/math.h (isinf): Fix typo in comment.
42128 2010-11-01 Ulrich Drepper <drepper@gmail.com>
42130 * po/da.po: Update from translation team.
42132 2010-10-26 Ulrich Drepper <drepper@gmail.com>
42134 * elf/rtld.c (dl_main): Move assertion after the point where rtld map
42135 is added to the list.
42137 2010-10-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
42138 Ulrich Drepper <drepper@gmail.com>
42140 * elf/dl-object.c (_dl_new_object): Don't append the new object to
42141 the global list here. Move code to...
42142 (_dl_add_to_namespace_list): ...here. New function.
42143 * elf/rtld.c (dl_main): Invoke _dl_add_to_namespace_list.
42144 * sysdeps/generic/ldsodefs.h (_dl_add_to_namespace_list): Declare.
42145 * elf/dl-load.c (lose): Don't remove the element from the list.
42146 (_dl_map_object_from_fd): Invoke _dl_add_to_namespace_list.
42147 (_dl_map_object): Likewise.
42149 2010-10-25 Ulrich Drepper <drepper@gmail.com>
42152 * sysdeps/x86_64/multiarch/strchr.S: Fix propagation of search byte
42153 into all bytes of SSE register.
42154 Patch by Richard Li <richardpku@gmail.com>.
42156 2010-10-24 Ulrich Drepper <drepper@gmail.com>
42159 * malloc/malloc.c (_int_free): Fill correct number of bytes when
42162 2010-10-20 Michael B. Brutman <brutman@us.ibm.com>
42164 * sysdeps/powerpc/dl-procinfo.c: Add support for ppca2 platform
42165 * sysdeps/powerpc/dl-procinfo.h: Add support for ppca2 platform
42166 * sysdeps/powerpc/powerpc32/a2/memcpy.S: New file.
42167 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
42168 * sysdeps/unix/sysv/linux/powerpc/powerpc32/a2/Implies: New
42170 * sysdeps/unix/sysv/linux/powerpc/powerpc64/a2/Implies: Likewise.
42172 2010-10-22 Andreas Schwab <schwab@redhat.com>
42174 * include/dlfcn.h (__RTLD_SECURE): Define.
42175 * elf/dl-load.c (_dl_map_object): Remove preloaded parameter. Use
42176 mode & __RTLD_SECURE instead.
42177 (open_path): Rename preloaded parameter to secure.
42178 * sysdeps/generic/ldsodefs.h (_dl_map_object): Adjust declaration.
42179 * elf/dl-open.c (dl_open_worker): Adjust call to _dl_map_object.
42180 * elf/dl-deps.c (openaux): Likewise.
42181 * elf/rtld.c (struct map_args): Remove is_preloaded.
42182 (map_doit): Don't use it.
42183 (dl_main): Likewise.
42184 (do_preload): Use __RTLD_SECURE instead of is_preloaded.
42185 (dlmopen_doit): Add __RTLD_SECURE to mode bits.
42187 2010-09-09 Andreas Schwab <schwab@redhat.com>
42189 * Makeconfig (sysd-rules-patterns): Add rtld-%:rtld-%.
42190 (sysd-rules-targets): Remove duplicates.
42191 * elf/rtld-Rules ($(objpfx)rtld-%.os): Add pattern rules with
42192 rtld-%.$o dependency.
42194 2010-10-18 Andreas Schwab <schwab@redhat.com>
42196 * elf/dl-open.c (dl_open_worker): Don't expand DST here, let
42197 _dl_map_object do it.
42199 2010-10-19 Ulrich Drepper <drepper@gmail.com>
42201 * sysdeps/i386/bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has
42202 fast fma builtins, define the macros in the C99 standard.
42203 (FP_FAST_FMAF): Likewise.
42204 (FP_FAST_FMAL): Likewise.
42205 * sysdeps/x86_64/bits/mathdef.h: Likewise.
42207 * bits/mathdef.h: Update copyright year.
42208 * sysdeps/powerpc/bits/mathdef.h: Likewise.
42210 2010-10-19 Michael Meissner <meissner@linux.vnet.ibm.com>
42212 * bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has fast fma
42213 builtins, define the macros in the C99 standard.
42214 (FP_FAST_FMAF): Likewise.
42215 (FP_FAST_FMAL): Likewise.
42216 * sysdeps/powerpc/bits/mathdef.h (FP_FAST_FMA): Define, ppc as
42218 (FP_FAST_FMAF): Likewise.
42220 2010-10-15 Jakub Jelinek <jakub@redhat.com>
42223 * math/libm-test.inc (fma_test): Some new testcases.
42224 * sysdeps/ieee754/ldbl-128/s_fmal.c: New file.
42225 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Fix fma with finite x and
42226 y and infinite z. Do multiplication by C already in long double.
42227 * sysdeps/ieee754/ldbl-96/s_fmal.c: New file.
42228 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix fma with finite x and
42229 y and infinite z. Do bitwise or of inexact bit into u.d.
42230 * sysdeps/ieee754/ldbl-64-128/s_fmal.c: New file.
42231 * sysdeps/i386/fpu/s_fmaf.S: Removed.
42232 * sysdeps/i386/fpu/s_fma.S: Removed.
42233 * sysdeps/i386/fpu/s_fmal.S: Removed.
42235 2010-10-16 Jakub Jelinek <jakub@redhat.com>
42238 * math/libm-test.inc (fma_test): Add IEEE quad long double fmal tests.
42239 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Ensure a1 + u.d
42240 computation is not scheduled after fetestexcept. Fix value
42241 of minimum denormal long double.
42243 2010-10-14 Jakub Jelinek <jakub@redhat.com>
42246 * math/libm-test.inc (fma_test): Add some more tests.
42247 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle underflows
42250 2010-10-15 Andreas Schwab <schwab@redhat.com>
42252 * scripts/data/localplt-s390-linux-gnu.data: New file.
42253 * scripts/data/localplt-s390x-linux-gnu.data: New file.
42255 2010-10-13 Jakub Jelinek <jakub@redhat.com>
42258 * math/libm-test.inc (fma_test): Some more fmaf and fma tests.
42259 * sysdeps/i386/i686/multiarch/s_fma.c: Include ldbl-96 version
42261 * sysdeps/i386/fpu/bits/mathinline.h (fma, fmaf, fmal): Remove
42263 * sysdeps/ieee754/ldbl-96/s_fma.c: New file.
42264 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix exponent adjustment
42265 if one of x and y is very large and the other is subnormal.
42266 * sysdeps/s390/fpu/s_fmaf.c: New file.
42267 * sysdeps/s390/fpu/s_fma.c: New file.
42268 * sysdeps/powerpc/fpu/s_fmaf.S: New file.
42269 * sysdeps/powerpc/fpu/s_fma.S: New file.
42270 * sysdeps/powerpc/powerpc32/fpu/s_fma.S: New file.
42271 * sysdeps/powerpc/powerpc64/fpu/s_fma.S: New file.
42272 * sysdeps/unix/sysv/linux/s390/fpu/s_fma.c: New file.
42274 2010-10-12 Jakub Jelinek <jakub@redhat.com>
42277 * math/libm-test.inc (fma_test): Add some more fmaf tests, add
42279 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Fix Inf/Nan check.
42280 * sysdeps/ieee754/dbl-64/s_fma.c: New file.
42281 * sysdeps/i386/i686/multiarch/s_fma.c: Include
42282 sysdeps/ieee754/dbl-64/s_fma.c instead of math/s_fma.c.
42283 * sysdeps/x86_64/multiarch/s_fma.c: Likewise.
42284 * sysdeps/ieee754/ldbl-opt/s_fma.c: Likewise.
42285 * sysdeps/ieee754/ldbl-128/s_fma.c: New file.
42287 2010-10-12 Ulrich Drepper <drepper@redhat.com>
42290 * posix/regcomp.c (parse_branch): One more memory leak plugged.
42291 * posix/bug-regex31.input: Add test case.
42293 2010-10-11 Ulrich Drepper <drepper@gmail.com>
42295 * posix/bug-regex31.c: Rewrite to run multiple tests from stdin.
42296 * posix/bug-regex31.input: New file.
42299 * posix/regcomp.c (parse_branch): Free memory when allocation failed.
42300 (parse_sub_exp): Fix last change, use postorder.
42302 * posix/bug-regex31.c: New file.
42303 * posix/Makefile: Add rules to build and run bug-regex31.
42305 * posix/regcomp.c (parse_bracket_exp): Add missing re_free calls.
42308 * posix/regcomp.c (parse_sub_exp): Free tree data when it is not used.
42311 * stdio-common/psiginfo.c (psiginfo): Don't expext SIGRTMIN..SIGRTMAX
42312 to have entries in sys_siglist.
42315 * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): ->ifa_addr might
42318 2010-10-07 Jakub Jelinek <jakub@redhat.com>
42321 * math/libm-test.inc (fma_test): Add 2 fmaf tests.
42322 * sysdeps/ieee754/dbl-64/s_fmaf.c: New file.
42323 * sysdeps/i386/i686/multiarch/s_fmaf.c: Include
42324 sysdeps/ieee754/dbl-64/s_fmaf.c instead of math/s_fmaf.c.
42325 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
42326 * include/fenv.h (feupdateenv, fetestexcept): Add libm_hidden_proto.
42327 * math/feupdateenv.c (feupdateenv): Add libm_hidden_ver.
42328 * sysdeps/i386/fpu/feupdateenv.c (feupdateenv): Likewise.
42329 * sysdeps/powerpc/fpu/feupdateenv.c (feupdateenv): Likewise.
42330 * sysdeps/x86_64/fpu/feupdateenv.c (feupdateenv): Likewise.
42331 * sysdeps/sparc/fpu/feupdateenv.c (feupdateenv): Likewise.
42332 * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Add libm_hidden_def.
42333 * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
42334 * math/ftestexcept.c (fetestexcept): Likewise.
42335 * sysdeps/ia64/fpu/ftestexcept.c (fetestexcept): Likewise.
42336 * sysdeps/i386/fpu/ftestexcept.c (fetestexcept): Likewise.
42337 * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
42338 * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Likewise.
42339 * sysdeps/x86_64/fpu/ftestexcept.c (fetestexcept): Likewise.
42340 * sysdeps/sparc/fpu/ftestexcept.c (fetestexcept): Likewise.
42341 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
42343 2010-10-11 Ulrich Drepper <drepper@gmail.com>
42346 * stdio-common/psiginfo.c (psiginfo): Terminate all strings with
42349 2010-10-06 Ulrich Drepper <drepper@gmail.com>
42351 * string/bug-strstr1.c: New file.
42352 * string/Makefile: Add rules to build and run bug-strstr1.
42354 2010-10-05 Eric Blake <eblake@redhat.com>
42357 * string/str-two-way.h (two_way_long_needle): Always clear memory
42358 when skipping input due to the shift table.
42360 2010-10-03 Ulrich Drepper <drepper@gmail.com>
42363 * malloc/mcheck.c: Handle large requests.
42366 * sysdeps/x86_64/strcmp.S: Fix handling of remaining bytes in buffer
42367 for strncmp and strncasecmp.
42368 * string/stratcliff.c: Add tests for strcmp and strncmp.
42369 * wcsmbs/wcsatcliff.c: Adjust for stratcliff change.
42371 2010-09-28 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
42373 * sysdeps/sh/sh4/fpu/fpu_control.h: Add 'extern "C"' protection to
42376 2010-09-30 Andreas Jaeger <aj@suse.de>
42378 * sysdeps/unix/sysv/linux_fsinfo.h (BTRFS_SUPER_MAGIC): Define.
42379 (CGROUP_SUPER_MAGIC): Define.
42380 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
42381 Handle btrfs and cgroup file systems.
42382 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
42385 2010-09-27 Luis Machado <luisgpm@br.ibm.com>
42387 * sysdeps/powerpc/powerpc32/rtld-memset.c: New file.
42388 * sysdeps/powerpc/powerpc64/rtld-memset.c: New file.
42390 2010-09-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
42393 * sysdeps/s390/s390-32/elf/start.S: Fix address calculation when
42394 trying to locate the ELF header.
42396 2010-09-27 Andreas Schwab <schwab@redhat.com>
42399 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS):
42400 Mask out sign-bit copies when constructing f_fsid.
42402 2010-09-24 Petr Baudis <pasky@suse.cz>
42404 * debug/stack_chk_fail_local.c: Add missing licence exception.
42405 * debug/warning-nop.c: Likewise.
42407 2010-09-15 Joseph Myers <joseph@codesourcery.com>
42409 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): When
42410 implementing getdents64 using getdents syscall, set d_type if
42411 __ASSUME_GETDENTS32_D_TYPE.
42413 2010-09-16 Andreas Schwab <schwab@redhat.com>
42415 * elf/dl-close.c (free_slotinfo, free_mem): Move to...
42416 * elf/dl-libc.c (free_slotinfo, free_mem): ... here.
42418 2010-09-21 Ulrich Drepper <drepper@redhat.com>
42421 * posix/unistd.h: Undo change of feature selection for ftruncate from
42424 2010-09-20 Ulrich Drepper <drepper@redhat.com>
42426 * sysdeps/x86_64/strcmp.S: Fix another typo in x86-64 strncasecmp limit
42429 2010-09-20 Andreas Schwab <schwab@redhat.com>
42431 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Add
42433 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
42435 2010-09-14 Andreas Schwab <schwab@redhat.com>
42437 * sysdeps/s390/s390-32/__longjmp.c (__longjmp): Define register
42438 variables after CHECK_SP call.
42439 * sysdeps/s390/s390-64/__longjmp.c (__longjmp): Likewise.
42441 2010-09-13 Andreas Schwab <schwab@redhat.com>
42442 Ulrich Drepper <drepper@redhat.com>
42444 * elf/rtld.c (dl_main): Set GLRO(dl_init_all_dirs) just before
42445 re-relocationg ld.so.
42446 * elf/dl-support.c (_dl_non_dynamic_init): And here after the
42447 _dl_init_paths call.
42448 * elf/dl-load.c (_dl_init_paths). Don't set GLRO(dl_init_all_dirs)
42451 2010-09-14 Ulrich Drepper <drepper@redhat.com>
42453 * resolv/res_init.c (__res_vinit): Count the default server we added.
42455 2010-09-08 Chung-Lin Tang <cltang@codesourcery.com>
42456 Ulrich Drepper <drepper@redhat.com>
42459 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
42460 (____longjmp_chk): Use %ebx for saving value across system call.
42463 2010-09-06 Andreas Schwab <schwab@redhat.com>
42465 * manual/Makefile: Don't mix pattern rules with normal rules.
42467 2010-09-05 Andreas Schwab <schwab@linux-m68k.org>
42469 * debug/vdprintf_chk.c (__vdprintf_chk): Remove undefined
42471 * libio/iofdopen.c (_IO_new_fdopen): Likewise.
42472 * libio/iofopncook.c (_IO_cookie_init): Likewise.
42473 * libio/iovdprintf.c (_IO_vdprintf): Likewise.
42474 * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
42475 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
42478 2010-09-04 Ulrich Drepper <drepper@redhat.com>
42481 * iconvdata/gconv-modules: Remove EBCDIC-CP-AR2 alias from
42482 IBM-930, IBM-933, IBM-935, IBM-937, and IBM-939.
42484 2010-09-02 Ulrich Drepper <drepper@redhat.com>
42486 * sysdeps/x86_64/add_n.S: Update from GMP 5.0.1.
42487 * sysdeps/x86_64/addmul_1.S: Likewise.
42488 * sysdeps/x86_64/lshift.S: Likewise.
42489 * sysdeps/x86_64/mul_1.S: Likewise.
42490 * sysdeps/x86_64/rshift.S: Likewise.
42491 * sysdeps/x86_64/sub_n.S: Likewise.
42492 * sysdeps/x86_64/submul_1.S: Likewise.
42494 2010-09-01 Samuel Thibault <samuel.thibault@ens-lyon.org>
42496 This aligns bits/sched.h onto sysdeps/unix/sysv/linux/bits/sched.h:
42497 Define __sched_param instead of SCHED_* and sched_param when
42498 <bits/sched.h> is included with __need_schedparam defined.
42499 * bits/sched.h [__need_schedparam]
42500 (SCHED_OTHER, SCHED_FIFO, SCHED_RR, sched_param): Do not define.
42501 [!__defined_schedparam && (__need_schedparam || _SCHED_H)]
42502 (__defined_schedparam): Define to 1.
42503 (__sched_param): New structure, identical to sched_param.
42504 (__need_schedparam): Undefine.
42506 2010-08-31 Mike Frysinger <vapier@gentoo.org>
42508 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h (epoll_create2): Delete.
42509 (epoll_create1): Declare.
42511 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Fix typo.
42513 2010-08-31 Andreas Schwab <schwab@redhat.com>
42516 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Fix array overflow when
42517 shifting retval into place.
42519 2010-09-01 Ulrich Drepper <drepper@redhat.com>
42521 * nis/rpcsvc/nis.h: Update copyright notice.
42522 * nis/rpcsvc/nis.x: Likewise.
42523 * nis/rpcsvc/nis_callback.h: Likewise.
42524 * nis/rpcsvc/nis_callback.x: Likewise.
42525 * nis/rpcsvc/nis_object.x: Likewise.
42526 * nis/rpcsvc/nis_tags.h: Likewise.
42527 * nis/rpcsvc/yp.h: Likewise.
42528 * nis/rpcsvc/yp.x: Likewise.
42529 * nis/rpcsvc/ypupd.h: Likewise.
42530 * nis/yp_xdr.c: Likewise.
42531 * nis/ypupdate_xdr.c: Likewise.
42533 * sunrpc/pm_getport.c (__libc_rpc_getport): New function. This is
42534 mainly the body of pmap_getport. Add parameters to specify timeouts.
42535 (pmap_getport): Use __libc_rpc_getport.
42536 * sunrpc/Versions: Export __libc_rpc_getport with GLIBC_PRIVATE.
42537 * include/rpc/pmap_clnt.h: Declare __libc_rpc_getport.
42538 * nis/nis_findserv.c: Remove pmap_getport copy. Use __libc_rpc_getport.
42540 2010-08-31 Andreas Schwab <schwab@linux-m68k.org>
42542 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Add
42545 2010-08-27 Roland McGrath <roland@redhat.com>
42547 * sysdeps/i386/i686/multiarch/Makefile
42548 (CFLAGS-varshift.c): New variable.
42550 2010-08-27 Ulrich Drepper <drepper@redhat.com>
42552 * sysdeps/i386/i686/multiarch/varshift.S: File removed.
42553 * sysdeps/i386/i686/multiarch/varshift.c: New file.
42555 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Move to .text.slow section.
42557 * sysdeps/x86_64/strlen.S: Minimal code improvement.
42559 2010-08-26 H.J. Lu <hongjiu.lu@intel.com>
42561 * sysdeps/x86_64/strlen.S: Unroll the loop.
42562 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
42563 strlen-sse2 strlen-sse2-bsf.
42564 * sysdeps/x86_64/multiarch/strlen.S ((strlen): Return
42565 __strlen_no_bsf if bit_Slow_BSF is set.
42566 (__strlen_sse42): Removed.
42567 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: New file.
42568 * sysdeps/x86_64/multiarch/strlen-sse4.S: New file.
42570 2010-08-25 Roland McGrath <roland@redhat.com>
42572 * sysdeps/x86_64/multiarch/varshift.S: File removed.
42573 * sysdeps/x86_64/multiarch/varshift.c: New file.
42574 * sysdeps/x86_64/multiarch/Makefile (CFLAGS-varshift.c): New variable.
42575 * sysdeps/x86_64/multiarch/varshift.h: Clean up decls, fix a cast.
42576 * sysdeps/x86_64/multiarch/memmove.c: Move decls around.
42577 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
42579 2010-08-25 H.J. Lu <hongjiu.lu@intel.com>
42581 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
42582 strlen-sse2 strlen-sse2-bsf.
42583 * sysdeps/i386/i686/multiarch/strlen.S (strlen): Return
42584 __strlen_sse2_bsf if bit_Slow_BSF is unset.
42585 (__strlen_sse2): Removed.
42586 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: New file.
42587 * sysdeps/i386/i686/multiarch/strlen-sse2.S: New file.
42588 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
42589 bit_Slow_BSF for Atom.
42590 * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_BSF): Define.
42591 (index_Slow_BSF): Define.
42592 (HAS_SLOW_BSF): Define.
42594 2010-08-25 Ulrich Drepper <drepper@redhat.com>
42597 * resolv/res_init.c (__res_vinit): When no server address at all
42598 is given default to loopback.
42600 2010-08-24 Roland McGrath <roland@redhat.com>
42602 * configure.in: Remove config-name.h generation.
42603 * configure: Regenerated.
42604 * config-name.in: File removed.
42605 * scripts/config-uname.sh: New file.
42606 * posix/Makefile (uname.c): Depend on $(objdir)config-name.h.
42607 ($(objdir)config-name.h): New target.
42609 * sunrpc/rpc_parse.h: Avoid nested comment.
42611 2010-08-24 Richard Henderson <rth@redhat.com>
42612 Ulrich Drepper <drepper@redhat.com>
42613 H.J. Lu <hongjiu.lu@intel.com>
42615 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add varshift.
42616 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Likewise.
42617 * sysdeps/x86_64/multiarch/strcspn-c.c: Include "varshift.h".
42618 Replace _mm_srli_si128 with __m128i_shift_right. Replace
42619 _mm_alignr_epi8 with _mm_loadu_si128.
42620 * sysdeps/x86_64/multiarch/strspn-c.c: Likewise.
42621 * sysdeps/x86_64/multiarch/strstr.c: Include "varshift.h".
42622 (__m128i_shift_right): Removed.
42623 * sysdeps/i386/i686/multiarch/varshift.h: New file.
42624 * sysdeps/i386/i686/multiarch/varshift.S: New file.
42625 * sysdeps/x86_64/multiarch/varshift.h: New file.
42626 * sysdeps/x86_64/multiarch/varshift.S: New file.
42628 2010-08-21 Mike Frysinger <vapier@gentoo.org>
42630 * configure.in: Move assembler checks to before sysdep dir checking.
42632 2010-08-20 Petr Baudis <pasky@suse.cz>
42634 * LICENSES: Sync the sunrpc license.
42636 2010-08-19 Ulrich Drepper <drepper@redhat.com>
42638 * sunrpc/auth_des.c: Update copyright notice once again.
42639 * sunrpc/auth_none.c: Likewise.
42640 * sunrpc/auth_unix.c: Likewise.
42641 * sunrpc/authdes_prot.c: Likewise.
42642 * sunrpc/authuxprot.c: Likewise.
42643 * sunrpc/bindrsvprt.c: Likewise.
42644 * sunrpc/clnt_gen.c: Likewise.
42645 * sunrpc/clnt_perr.c: Likewise.
42646 * sunrpc/clnt_raw.c: Likewise.
42647 * sunrpc/clnt_simp.c: Likewise.
42648 * sunrpc/clnt_tcp.c: Likewise.
42649 * sunrpc/clnt_udp.c: Likewise.
42650 * sunrpc/clnt_unix.c: Likewise.
42651 * sunrpc/des_crypt.c: Likewise.
42652 * sunrpc/des_soft.c: Likewise.
42653 * sunrpc/get_myaddr.c: Likewise.
42654 * sunrpc/getrpcport.c: Likewise.
42655 * sunrpc/key_call.c: Likewise.
42656 * sunrpc/key_prot.c: Likewise.
42657 * sunrpc/openchild.c: Likewise.
42658 * sunrpc/pm_getmaps.c: Likewise.
42659 * sunrpc/pm_getport.c: Likewise.
42660 * sunrpc/pmap_clnt.c: Likewise.
42661 * sunrpc/pmap_prot.c: Likewise.
42662 * sunrpc/pmap_prot2.c: Likewise.
42663 * sunrpc/pmap_rmt.c: Likewise.
42664 * sunrpc/rpc/auth.h: Likewise.
42665 * sunrpc/rpc/auth_unix.h: Likewise.
42666 * sunrpc/rpc/clnt.h: Likewise.
42667 * sunrpc/rpc/des_crypt.h: Likewise.
42668 * sunrpc/rpc/key_prot.h: Likewise.
42669 * sunrpc/rpc/netdb.h: Likewise.
42670 * sunrpc/rpc/pmap_clnt.h: Likewise.
42671 * sunrpc/rpc/pmap_prot.h: Likewise.
42672 * sunrpc/rpc/pmap_rmt.h: Likewise.
42673 * sunrpc/rpc/rpc.h: Likewise.
42674 * sunrpc/rpc/rpc_des.h: Likewise.
42675 * sunrpc/rpc/rpc_msg.h: Likewise.
42676 * sunrpc/rpc/svc.h: Likewise.
42677 * sunrpc/rpc/svc_auth.h: Likewise.
42678 * sunrpc/rpc/types.h: Likewise.
42679 * sunrpc/rpc/xdr.h: Likewise.
42680 * sunrpc/rpc_clntout.c: Likewise.
42681 * sunrpc/rpc_cmsg.c: Likewise.
42682 * sunrpc/rpc_common.c: Likewise.
42683 * sunrpc/rpc_cout.c: Likewise.
42684 * sunrpc/rpc_dtable.c: Likewise.
42685 * sunrpc/rpc_hout.c: Likewise.
42686 * sunrpc/rpc_main.c: Likewise.
42687 * sunrpc/rpc_parse.c: Likewise.
42688 * sunrpc/rpc_parse.h: Likewise.
42689 * sunrpc/rpc_prot.c: Likewise.
42690 * sunrpc/rpc_sample.c: Likewise.
42691 * sunrpc/rpc_scan.c: Likewise.
42692 * sunrpc/rpc_scan.h: Likewise.
42693 * sunrpc/rpc_svcout.c: Likewise.
42694 * sunrpc/rpc_tblout.c: Likewise.
42695 * sunrpc/rpc_util.c: Likewise.
42696 * sunrpc/rpc_util.h: Likewise.
42697 * sunrpc/rpcinfo.c: Likewise.
42698 * sunrpc/rpcsvc/bootparam_prot.x: Likewise.
42699 * sunrpc/rpcsvc/key_prot.x: Likewise.
42700 * sunrpc/rpcsvc/klm_prot.x: Likewise.
42701 * sunrpc/rpcsvc/mount.x: Likewise.
42702 * sunrpc/rpcsvc/nfs_prot.x: Likewise.
42703 * sunrpc/rpcsvc/nlm_prot.x: Likewise.
42704 * sunrpc/rpcsvc/rex.x: Likewise.
42705 * sunrpc/rpcsvc/rstat.x: Likewise.
42706 * sunrpc/rpcsvc/rusers.x: Likewise.
42707 * sunrpc/rpcsvc/sm_inter.x: Likewise.
42708 * sunrpc/rpcsvc/spray.x: Likewise.
42709 * sunrpc/rpcsvc/yppasswd.x: Likewise.
42710 * sunrpc/rtime.c: Likewise.
42711 * sunrpc/svc.c: Likewise.
42712 * sunrpc/svc_auth.c: Likewise.
42713 * sunrpc/svc_authux.c: Likewise.
42714 * sunrpc/svc_raw.c: Likewise.
42715 * sunrpc/svc_run.c: Likewise.
42716 * sunrpc/svc_simple.c: Likewise.
42717 * sunrpc/svc_tcp.c: Likewise.
42718 * sunrpc/svc_udp.c: Likewise.
42719 * sunrpc/svc_unix.c: Likewise.
42720 * sunrpc/svcauth_des.c: Likewise.
42721 * sunrpc/xcrypt.c: Likewise.
42722 * sunrpc/xdr.c: Likewise.
42723 * sunrpc/xdr_array.c: Likewise.
42724 * sunrpc/xdr_float.c: Likewise.
42725 * sunrpc/xdr_mem.c: Likewise.
42726 * sunrpc/xdr_rec.c: Likewise.
42727 * sunrpc/xdr_ref.c: Likewise.
42728 * sunrpc/xdr_sizeof.c: Likewise.
42729 * sunrpc/xdr_stdio.c: Likewise.
42731 * sysdeps/x86_64/multiarch/strcmp.S: Fix two typos in strncasecmp
42734 2010-08-19 Andreas Schwab <schwab@redhat.com>
42736 * sysdeps/i386/i686/multiarch/strspn.S [!SHARED]: Fix SSE4.2 check.
42738 2010-08-19 Luis Machado <luisgpm@br.ibm.com>
42740 * sysdeps/powerpc/powerpc32/power7/memchr.S: New file.
42741 * sysdeps/powerpc/powerpc32/power7/memrchr.S: New file.
42742 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: New file.
42743 * sysdeps/powerpc/powerpc32/power7/strchr.S: New file.
42744 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: New file.
42745 * sysdeps/powerpc/powerpc32/power7/strlen.S: New file.
42746 * sysdeps/powerpc/powerpc32/power7/strnlen.S: New file.
42747 * sysdeps/powerpc/powerpc64/power7/memchr.S: New file.
42748 * sysdeps/powerpc/powerpc64/power7/memrchr.S: New file.
42749 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: New file.
42750 * sysdeps/powerpc/powerpc64/power7/strchr.S: New file.
42751 * sysdeps/powerpc/powerpc64/power7/strchrnul.S: New file.
42752 * sysdeps/powerpc/powerpc64/power7/strlen.S: New file.
42753 * sysdeps/powerpc/powerpc64/power7/strnlen.S: New file.
42755 2010-07-26 Anton Blanchard <anton@samba.org>
42757 * malloc/malloc.c (sYSTRIm): Replace divide and multiply with mask.
42758 * malloc/arena.c (heap_trim): Likewise.
42760 2010-08-16 Ulrich Drepper <drepper@redhat.com>
42762 * sysdeps/unix/sysv/linux/syscalls.list: Add entry for fanotify_init
42764 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ...here...
42765 * sysdeps/unix/sysv/linux/i386/syscalls.list: ... orhere.
42767 2010-08-12 H.J. Lu <hongjiu.lu@intel.com>
42769 * sysdeps/i386/elf/Makefile: New file.
42771 2010-08-14 Andreas Schwab <schwab@linux-m68k.org>
42773 * sysdeps/unix/sysv/linux/sys/fanotify.h: Remove third argument
42774 from fanotify_init.
42775 * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
42776 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
42778 2010-08-15 Ulrich Drepper <drepper@redhat.com>
42780 * sysdeps/x86_64/strcmp.S: Use correct register for fourth parameter
42782 * sysdeps/multiarch/strcmp.S: Likewise.
42784 2010-08-14 Ulrich Drepper <drepper@redhat.com>
42786 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
42787 strncase_l-nonascii.
42788 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
42789 Add strncase_l-ssse3.
42790 * sysdeps/x86_64/multiarch/strcmp.S: Prepare for use as strncasecmp.
42791 * sysdeps/x86_64/strcmp.S: Likewise.
42792 * sysdeps/x86_64/multiarch/strncase_l-ssse3.S: New file.
42793 * sysdeps/x86_64/multiarch/strncase_l.S: New file.
42794 * sysdeps/x86_64/strncase.S: New file.
42795 * sysdeps/x86_64/strncase_l-nonascii.c: New file.
42796 * sysdeps/x86_64/strncase_l.S: New file.
42797 * string/Makefile (strop-tests): Add strncasecmp.
42798 * string/test-strncasecmp.c: New file.
42800 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Add prototype to avoid
42803 * sysdeps/x86_64/strcmp.S: Move definition of NO_NOLOCALE_ALIAS to...
42804 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: ... here.
42806 2010-08-14 Andreas Schwab <schwab@linux-m68k.org>
42808 * sysdeps/unix/sysv/linux/prlimit.c: Make it compile.
42810 2010-08-12 Ulrich Drepper <drepper@redhat.com>
42812 * sysdeps/unix/sysv/linux/bits/termios.h: Define EXTPROC.
42813 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
42814 * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
42816 2010-05-01 Alan Modra <amodra@gmail.com>
42818 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Correct cfi for r24.
42819 * sysdeps/powerpc/powerpc64/bsd-_setjmp.S: Move contents..
42820 * sysdeps/powerpc/powerpc64/bsd-setjmp.S: ..and these too..
42821 * sysdeps/powerpc/powerpc64/setjmp.S: ..to here..
42822 * sysdeps/powerpc/powerpc64/setjmp-common.S: ..and here, with some
42823 tidying. Don't tail-call __sigjmp_save for static lib.
42824 * sysdeps/powerpc/powerpc64/sysdep.h (SAVE_ARG, REST_ARG): Correct
42826 (CFI_SAVE_ARG, CFI_REST_ARG): New macros.
42827 (CALL_MCOUNT): Add eh info, and nop after bl.
42828 (TAIL_CALL_SYSCALL_ERROR): New macro.
42829 (PSEUDO_RET): Use it.
42830 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
42831 Correct save location of integer regs and cr.
42832 (_dl_profile_resolve): Correct cr save location. Delete nops
42833 after bl when SHARED. Reduce cfi size a little by better
42834 placement of cfi directives.
42835 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S (__copysign): Don't
42836 make a stack frame. Instead use parm save area as a temp.
42837 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Don't
42838 make a stack frame. Use TAIL_CALL_SYSCALL_ERROR.
42839 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
42840 Don't make a stack frame for parent, use parm save area.
42841 Increase child stack frame to 112 bytes. Don't save unused reg,
42842 and adjust reg usage. Set up cfi on error recovery and
42843 epilogue of parent, and use TAIL_CALL_SYSCALL_ERROR, PSEUDO_RET.
42844 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
42845 (__makecontext): Add dummy nop after jump to exit.
42846 * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (__socket):
42847 Use correct parm save area and cr save, reduce stack frame.
42848 Correct cfi for possible PSEUDO_RET frame setup.
42849 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork):
42850 Branch to local label emitted by PSEUDO_RET rather than
42853 2010-08-12 Andreas Schwab <schwab@redhat.com>
42856 * locale/programs/locale.c (print_assignment): New function.
42857 (show_locale_vars): Use it.
42859 2010-08-11 Ulrich Drepper <drepper@redhat.com>
42861 * sysdeps/unix/sysv/linux/bits/statfs.h (struct statfs): Add f_flags
42863 (struct statfs64): Likewise.
42864 (_STATFS_F_FLAGS): Define.
42865 * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Likewise.
42866 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
42867 Don't define if __ASSUME_STATFS_F_FLAGS is defined.
42868 (ST_VALID): Define locally.
42869 (INTERNAL_STATVFS): If f_flags has ST_VALID set don't call
42870 __statvfs_getflags, use the provided value.
42871 * sysdeps/unix/sysv/linux/kernel-features.h: Define
42872 __ASSUME_STATFS_F_FLAGS.
42874 * sysdeps/unix/sysv/linux/sys/inotify.h (IN_EXCL_UNLINK): Define.
42876 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_headers):
42877 Add sys/fanotify.h.
42878 * sysdeps/unix/sysv/linux/Versions [libc]: Export fanotify_init and
42879 fanotify_mask for GLIBC_2.13.
42880 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entries for
42881 fanotify_init and fanotify_mark.
42882 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
42883 * sysdeps/unix/sysv/linux/sys/fanotify.h: New file.
42885 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_routines):
42887 * sysdeps/unix/sysv/linux/Versions [libc]: Export prlimit and
42888 prlimit64 for GLIBC_2.13.
42889 * sysdeps/unix/sysv/linux/bits/resource.h: Declare prlimit and
42891 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entry for prlimit64
42893 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
42894 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
42895 * sysdeps/unix/sysv/linux/sh/syscalls.list: Likewise.
42896 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.lis: Likewise.
42897 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise. Also
42899 * sysdeps/unix/sysv/linux/prlimit.c: New file.
42902 * sysdeps/generic/netinet/ip.h (IPTOS_CLASS): Fix definition.
42903 Patch by Evgeni Bikov <bikovevg@iitp.ru>.
42905 * nss/Makefile: Add rules to build and run tst-nss-test1.
42906 * shlib-versions: Add entry for libnss_test1.
42907 * nss/nss_test1.c: New file.
42908 * nss/tst-nss-test1.c: New file.
42910 * nss/nsswitch.c (__nss_database_custom): Define new variable.
42911 (__nss_configure_lookup): Set appropriate entry in
42912 __nss_configure_lookup to true.
42913 * nss/nsswitch.h: Define enum with indeces of databases in
42914 databases and __nss_database_custom arrays. Declare
42915 __nss_database_custom.
42916 * grp/initgroups.c (internal_getgrouplist): Use __nss_database_custom
42917 to avoid using nscd when custom rules are installed.
42918 * nss/getXXbyYY_r.c: Likewise.
42919 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
42921 * nss/nss_files/files-parse.c: Whitespace fixes.
42923 2010-08-09 Ulrich Drepper <drepper@redhat.com>
42926 * posix/fnmatch.c: Keep track of alloca use and fall back on malloc.
42927 * posix/fnmatch_loop.c: Likewise.
42929 2010-07-17 Andi Kleen <ak@linux.intel.com>
42931 * sysdeps/i386/i386-mcount.S (__fentry__): Define.
42932 * sysdeps/x86_64/_mcount.S (__fentry__): Define.
42933 * stdlib/Versions (__fentry__): Add for GLIBC 2.13
42934 * Versions.def [GLIBC_2.13]: Add.
42936 2010-08-06 Ulrich Drepper <drepper@redhat.com>
42938 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
42939 Also fail if tpwd after pwuid call is NULL.
42941 2010-07-31 Samuel Thibault <samuel.thibault@ens-lyon.org>
42943 * hurd/hurdselect.c (_hurd_select): Round timeout up instead of down
42944 when converting to ms.
42946 2010-06-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
42948 * sysdeps/mach/hurd/ttyname.c (ttyname): Replace MIG_BAD_ID and
42949 EOPNOTSUPP errors with ENOTTY.
42950 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Replace MIG_BAD_ID and
42951 EOPNOTSUPP errors with ENOTTY.
42953 2010-07-31 Ulrich Drepper <drepper@redhat.com>
42955 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
42956 Add strcasecmp_l-ssse3.
42957 * sysdeps/x86_64/multiarch/strcmp.S: Add support to compile for
42959 * sysdeps/x86_64/strcmp.S: Allow more flexible compiling of strcasecmp.
42960 * sysdeps/x86_64/multiarch/strcasecmp_l.S: New file.
42961 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: New file.
42963 2010-07-30 Ulrich Drepper <drepper@redhat.com>
42965 * sysdeps/x86_64/multiarch/strcmp.S: Pretty printing.
42967 * string/Makefile (strop-tests): Add strcasecmp.
42968 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
42969 strcasecmp_l-nonascii.
42970 (gen-as-const-headers): Add locale-defines.sym.
42971 * sysdeps/x86_64/strcmp.S: Add support for strcasecmp implementation.
42972 * sysdeps/x86_64/strcasecmp.S: New file.
42973 * sysdeps/x86_64/strcasecmp_l.S: New file.
42974 * sysdeps/x86_64/strcasecmp_l-nonascii.c: New file.
42975 * sysdeps/x86_64/locale-defines.sym: New file.
42976 * string/test-strcasecmp.c: New file.
42978 * string/test-strcasestr.c: Test both ends of the range of characters.
42979 * sysdeps/x86_64/multiarch/strstr.c: Fix UCHIGH definition.
42981 2010-07-29 Roland McGrath <roland@redhat.com>
42984 * manual/locale.texi (Yes-or-No Questions): Fix example code.
42986 2010-07-27 Ulrich Drepper <drepper@redhat.com>
42988 * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Avoid compiling the file
42991 2010-07-27 Andreas Schwab <schwab@redhat.com>
42993 * manual/memory.texi (Malloc Tunable Parameters): Document
42996 2010-07-26 Roland McGrath <roland@redhat.com>
42999 * configure.in (-fgnu89-inline check): Set and substitute
43000 gnu89_inline, not libc_cv_gnu89_inline.
43001 * configure: Regenerated.
43002 * config.make.in (gnu89-inline-CFLAGS): Use @gnu89_inline@.
43004 2010-07-26 Ulrich Drepper <drepper@redhat.com>
43006 * string/test-strnlen.c: New file.
43007 * string/Makefile (strop-tests): Add strnlen.
43008 * string/tester.c (test_strnlen): Add a few more test cases.
43009 * string/tst-strlen.c: Better error reporting.
43011 * sysdeps/x86_64/strnlen.S: New file.
43013 2010-07-24 Ulrich Drepper <drepper@redhat.com>
43015 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Use
43016 lower-latency instructions.
43018 2010-07-23 Ulrich Drepper <drepper@redhat.com>
43020 * string/test-strcasestr.c: New file.
43021 * string/test-strstr.c: New file.
43022 * string/Makefile (strop-tests): Add strstr and strcasestr.
43023 * string/str-two-way.h: Don't undefine MAX.
43024 * string/strcasestr.c: Don't define alias if NO_ALIAS is defined.
43026 2010-07-21 Andreas Schwab <schwab@redhat.com>
43028 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
43029 strcasestr-nonascii.
43030 (CFLAGS-strcasestr-nonascii.c): Define.
43031 * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: New file.
43032 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c (STRSTR_SSE42):
43033 Remove unused attribute.
43035 2010-07-20 Roland McGrath <roland@redhat.com>
43037 * elf/dl-sysdep.c (_dl_important_hwcaps): Add dsocaps mask to
43038 dl_hwcap_mask as well as dl_hwcap. Without this, dsocaps matching in
43039 ld.so.cache was broken. With it, there is no way to disable dsocaps
43040 like LD_HWCAP_MASK can disable hwcaps.
43042 2010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
43044 * sysdeps/mach/hurd/sendmsg.c (__libc_sendmsg): Fix memory leaks.
43046 2010-07-16 Ulrich Drepper <drepper@redhat.com>
43048 * sysdeps/x86_64/multiarch/strstr.c: Rewrite to avoid indirect function
43049 call in strcasestr.
43050 * sysdeps/x86_64/multiarch/strcasestr.c: Declare
43051 __strcasestr_sse42_nonascii.
43052 * sysdeps/x86_64/multiarch/Makefile: Add rules to build
43053 strcasestr-nonascii.c.
43054 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: New file.
43056 2010-06-15 Luis Machado <luisgpm@br.ibm.com>
43058 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: New file.
43059 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysignf.S: New file.
43060 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: New file.
43061 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysignf.S: New file.
43063 2010-07-09 Ulrich Drepper <drepper@redhat.com>
43065 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Use __fcntl not
43068 2010-07-06 Andreas Schwab <schwab@redhat.com>
43071 * elf/dl-version.c (match_symbol): Don't pass NULL occation to
43074 2010-07-06 Ulrich Drepper <drepper@redhat.com>
43076 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Implement
43077 _PC_PIPE_BUF using F_GETPIPE_SZ.
43079 2010-07-05 Roland McGrath <roland@redhat.com>
43081 * manual/arith.texi (Rounding Functions): Fix rint description
43082 implicit in round description.
43084 2010-07-02 Ulrich Drepper <drepper@redhat.com>
43086 * elf/Makefile: Fix linking for a few tests to make recent linker
43089 2010-06-30 Andreas Schwab <schwab@redhat.com>
43091 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
43092 $(common-objpfx)libc_nonshared.a.
43094 2010-06-21 Luis Machado <luisgpm@br.ibm.com>
43096 * sysdeps/powerpc/powerpc32/970/fpu/Implies: Remove.
43097 * sysdeps/powerpc/powerpc32/power5/fpu/Implies: Remove.
43098 * sysdeps/powerpc/powerpc32/power5+/fpu/Implies: Remove.
43099 * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: Remove.
43100 * sysdeps/powerpc/powerpc64/970/fpu/Implies: Remove.
43101 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Remove.
43102 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove.
43103 * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: Remove.
43104 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/fpu/Implies: Remove.
43105 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/fpu/Implies: Remove.
43106 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/fpu/Implies: Remove.
43107 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/fpu/Implies: Remove.
43108 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/fpu/Implies: Remove.
43109 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/fpu/Implies: Remove.
43110 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/fpu/Implies: Remove.
43111 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/fpu/Implies: Remove.
43112 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/fpu/Implies: Remove.
43113 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/fpu/Implies: Remove.
43114 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/fpu/Implies: Remove.
43115 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/fpu/Implies: Remove.
43116 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/fpu/Implies: Remove.
43117 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/fpu/Implies: Remove.
43118 * sysdeps/powerpc/powerpc32/970/Implies: Point to power4.
43119 * sysdeps/powerpc/powerpc32/power5/Implies: Point to power4.
43120 * sysdeps/powerpc/powerpc32/power5+/Implies: Point to power5.
43121 * sysdeps/powerpc/powerpc32/power6/Implies: Point to power5+.
43122 * sysdeps/powerpc/powerpc32/power6x/Implies: Point to power6.
43123 * sysdeps/powerpc/powerpc64/970/Implies: Point to power4.
43124 * sysdeps/powerpc/powerpc64/power5/Implies: Point to power4.
43125 * sysdeps/powerpc/powerpc64/power5+/Implies: Point to power5.
43126 * sysdeps/powerpc/powerpc64/power6/Implies: Point to power5+.
43127 * sysdeps/powerpc/powerpc64/power6x/Implies: Point to power6.
43128 * sysdeps/powerpc/powerpc32/power7/Implies: New file.
43129 * sysdeps/powerpc/powerpc64/power7/Implies: New file.
43130 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/Implies: New file.
43131 * sysdeps/unix/sysv/linux/powerpc/powerpc32/cell/Implies: New file.
43132 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: New file.
43133 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: New file.
43134 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: New file.
43135 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: New file.
43136 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: New file.
43137 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/Implies: New file.
43138 * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/Implies: New file.
43139 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: New file.
43140 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: New file.
43141 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: New file.
43142 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: New file.
43143 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: New file.
43145 2010-06-25 H.J. Lu <hongjiu.lu@intel.com>
43147 * debug/memmove_chk.c (__memmove_chk): Renamed to ...
43148 (MEMMOVE_CHK): ...this. Default to __memmove_chk.
43149 * string/memmove.c (memmove): Renamed to ...
43150 (MEMMOVE): ...this. Default to memmove.
43151 * sysdeps/x86_64/memcpy.S: Use ENTRY_CHK and END_CHK.
43152 * sysdeps/x86_64/sysdep.h (ENTRY_CHK): Define.
43154 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
43155 memcpy-ssse3 mempcpy-ssse3 memmove-ssse3 memcpy-ssse3-back
43156 mempcpy-ssse3-back memmove-ssse3-back.
43157 * sysdeps/x86_64/multiarch/bcopy.S: New file .
43158 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: New file.
43159 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: New file.
43160 * sysdeps/x86_64/multiarch/memcpy.S: New file.
43161 * sysdeps/x86_64/multiarch/memcpy_chk.S: New file.
43162 * sysdeps/x86_64/multiarch/memmove-ssse3-back.S: New file.
43163 * sysdeps/x86_64/multiarch/memmove-ssse3.S: New file.
43164 * sysdeps/x86_64/multiarch/memmove.c: New file.
43165 * sysdeps/x86_64/multiarch/memmove_chk.c: New file.
43166 * sysdeps/x86_64/multiarch/mempcpy-ssse3-back.S: New file.
43167 * sysdeps/x86_64/multiarch/mempcpy-ssse3.S: New file.
43168 * sysdeps/x86_64/multiarch/mempcpy.S: New file.
43169 * sysdeps/x86_64/multiarch/mempcpy_chk.S: New file.
43170 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Copy_Backward):
43172 (index_Fast_Copy_Backward): Define.
43173 (HAS_ARCH_FEATURE): Define.
43174 (HAS_FAST_REP_STRING): Define.
43175 (HAS_FAST_COPY_BACKWARD): Define.
43177 2010-06-21 Andreas Schwab <schwab@redhat.com>
43179 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
43180 Restore proper fallback handling.
43182 2010-06-19 Ulrich Drepper <drepper@redhat.com>
43185 * posix/group_member.c (__group_member): Correct checking loop.
43187 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid): Handle
43188 OOM in getpwuid_r correctly. Return error number when the caller
43189 should return, otherwise -1.
43190 (getlogin_r): Adjust to return also for result of __getlogin_r_loginuid
43191 call returning > 0 value.
43192 * sysdeps/unix/sysv/linux/getlogin.c (getlogin): Likewise.
43194 2010-06-07 Andreas Schwab <schwab@redhat.com>
43196 * dlfcn/Makefile: Remove explicit dependencies on libc.so and
43197 libc_nonshared.a from targets in modules-names.
43199 2010-06-02 Kirill A. Shutemov <kirill@shutemov.name>
43201 * elf/dl-reloc.c: Flush cache after solving TEXTRELs if arch
43204 2010-06-10 Luis Machado <luisgpm@br.ibm.com>
43206 * sysdeps/powerpc/powerpc32/power7/memcmp.S: New file
43207 * sysdeps/powerpc/powerpc64/power7/memcmp.S: New file.
43208 * sysdeps/powerpc/powerpc32/power7/strncmp.S: New file.
43209 * sysdeps/powerpc/powerpc64/power7/strncmp.S: New file.
43211 2010-06-02 Andreas Schwab <schwab@redhat.com>
43213 * nis/nss_nis/nis-initgroups.c (get_uid): Properly resize buffer.
43215 2010-06-14 Ulrich Drepper <drepper@redhat.com>
43217 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Define F_SETPIPE_SZ
43219 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
43220 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
43221 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
43222 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
43223 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
43224 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise
43226 2010-06-14 Roland McGrath <roland@redhat.com>
43228 * manual/libc.texinfo (@copying): Change to GFDL v1.3.
43230 2010-06-07 Jakub Jelinek <jakub@redhat.com>
43232 * libio/stdio.h (sscanf, vsscanf): Use __REDIRECT_NTH instead of
43233 __REDIRECT followed by __THROW.
43234 * wcsmbs/wchar.h (swscanf, vswscanf): Likewise.
43235 * posix/getopt.h (getopt): Likewise.
43237 2010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
43239 * hurd/lookup-at.c (__file_name_lookup_at): Accept
43240 AT_SYMLINK_FOLLOW in AT_FLAGS. Fail with EINVAL if both
43241 AT_SYMLINK_FOLLOW and AT_SYMLINK_NOFOLLOW are present
43243 * hurd/hurd/fd.h (__file_name_lookup_at): Update comment.
43244 * sysdeps/mach/hurd/linkat.c (linkat): Pass O_NOLINK in FLAGS.
43246 2010-05-28 Luis Machado <luisgpm@br.ibm.com>
43248 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Exchange srdi for srwi.
43250 2010-05-26 H.J. Lu <hongjiu.lu@intel.com>
43253 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
43254 Properly check family and model.
43256 2010-05-26 Takashi Yoshii <takashi.yoshii.zj@renesas.com>
43258 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Fix iov[] size.
43260 2010-05-24 Luis Machado <luisgpm@br.ibm.com>
43262 * sysdeps/powerpc/powerpc32/power7/memset.S: POWER7 32-bit memset fix.
43264 2010-05-21 Ulrich Drepper <drepper@redhat.com>
43266 * elf/dl-runtime.c (_dl_profile_fixup): Don't crash on unresolved weak
43269 2010-05-19 Andreas Schwab <schwab@redhat.com>
43271 * elf/dl-runtime.c (_dl_fixup): Don't crash on unresolved weak
43274 2010-05-21 Andreas Schwab <schwab@redhat.com>
43276 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add recvmmsg
43277 and internal_recvmmsg.
43278 * sysdeps/unix/sysv/linux/recvmmsg.c: New file.
43279 * sysdeps/unix/sysv/linux/internal_recvmmsg.S: New file.
43280 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_recvmmsg): Define.
43281 * sysdeps/unix/sysv/linux/syscalls.list (recvmmsg): Remove.
43283 * sunrpc/clnt_tcp.c (clnttcp_control): Add missing break.
43284 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
43285 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
43287 2010-05-20 Andreas Schwab <schwab@redhat.com>
43289 * sysdeps/unix/sysv/linux/sys/timex.h: Use __REDIRECT_NTH.
43291 2010-05-17 Luis Machado <luisgpm@br.ibm.com>
43293 POWER7 optimizations.
43294 * sysdeps/powerpc/powerpc64/power7/memset.S: New file.
43295 * sysdeps/powerpc/powerpc32/power7/memset.S: New file.
43297 2010-05-19 Ulrich Drepper <drepper@redhat.com>
43299 * version.h: Update for 2.13 development version.
43301 2010-05-12 Andrew Stubbs <ams@codesourcery.com>
43303 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Really disable all
43304 exceptions. Return 0.
43306 2010-05-07 Roland McGrath <roland@redhat.com>
43308 * elf/ldconfig.c (main): Add a const.
43310 2010-05-06 Ulrich Drepper <drepper@redhat.com>
43312 * nss/getent.c (idn_flags): Default to AI_IDN|AI_CANONIDN.
43313 (args_options): Add no-idn option.
43314 (ahosts_keys_int): Add idn_flags to ai_flags.
43315 (parse_option): Handle 'i' option to clear idn_flags.
43317 * malloc/malloc.c (_int_free): Possible race in the most recently
43318 added check. Only act on the data if no current modification
43321 See ChangeLog.17 for earlier changes.