[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Commits] r22955 - in /trunk: ./ libc/ libc/argp/ libc/benchtests/ libc/csu/ libc/elf/ libc/hesiod/nss_hesiod/ libc/iconv/ libc/includ...
- To: commits@xxxxxxxxxx
- Subject: [Commits] r22955 - in /trunk: ./ libc/ libc/argp/ libc/benchtests/ libc/csu/ libc/elf/ libc/hesiod/nss_hesiod/ libc/iconv/ libc/includ...
- From: joseph@xxxxxxxxxx
- Date: Sun, 28 Apr 2013 15:21:51 -0000
Author: joseph
Date: Sun Apr 28 15:21:50 2013
New Revision: 22955
Log:
Merge changes between r22663 and r22954 from /fsf/trunk.
Added:
trunk/libc/benchtests/atan-inputs
- copied unchanged from r22954, fsf/trunk/libc/benchtests/atan-inputs
trunk/libc/benchtests/bench-modf.c
- copied unchanged from r22954, fsf/trunk/libc/benchtests/bench-modf.c
trunk/libc/benchtests/cos-inputs
- copied unchanged from r22954, fsf/trunk/libc/benchtests/cos-inputs
trunk/libc/benchtests/rint-inputs
- copied unchanged from r22954, fsf/trunk/libc/benchtests/rint-inputs
trunk/libc/benchtests/sin-inputs
- copied unchanged from r22954, fsf/trunk/libc/benchtests/sin-inputs
trunk/libc/benchtests/slowatan-inputs
- copied unchanged from r22954, fsf/trunk/libc/benchtests/slowatan-inputs
trunk/libc/benchtests/slowatan.c
- copied unchanged from r22954, fsf/trunk/libc/benchtests/slowatan.c
trunk/libc/benchtests/slowcos-inputs
- copied unchanged from r22954, fsf/trunk/libc/benchtests/slowcos-inputs
trunk/libc/benchtests/slowcos.c
- copied unchanged from r22954, fsf/trunk/libc/benchtests/slowcos.c
trunk/libc/benchtests/slowexp-inputs
- copied unchanged from r22954, fsf/trunk/libc/benchtests/slowexp-inputs
trunk/libc/benchtests/slowexp.c
- copied unchanged from r22954, fsf/trunk/libc/benchtests/slowexp.c
trunk/libc/benchtests/slowpow-inputs
- copied unchanged from r22954, fsf/trunk/libc/benchtests/slowpow-inputs
trunk/libc/benchtests/slowpow.c
- copied unchanged from r22954, fsf/trunk/libc/benchtests/slowpow.c
trunk/libc/benchtests/slowsin-inputs
- copied unchanged from r22954, fsf/trunk/libc/benchtests/slowsin-inputs
trunk/libc/benchtests/slowsin.c
- copied unchanged from r22954, fsf/trunk/libc/benchtests/slowsin.c
trunk/libc/benchtests/slowtan-inputs
- copied unchanged from r22954, fsf/trunk/libc/benchtests/slowtan-inputs
trunk/libc/benchtests/slowtan.c
- copied unchanged from r22954, fsf/trunk/libc/benchtests/slowtan.c
trunk/libc/benchtests/tan-inputs
- copied unchanged from r22954, fsf/trunk/libc/benchtests/tan-inputs
trunk/libc/manual/threads.texi
- copied unchanged from r22954, fsf/trunk/libc/manual/threads.texi
trunk/libc/ports/ChangeLog.microblaze
- copied unchanged from r22954, fsf/trunk/libc/ports/ChangeLog.microblaze
trunk/libc/ports/sysdeps/hppa/math_private.h
- copied unchanged from r22954, fsf/trunk/libc/ports/sysdeps/hppa/math_private.h
trunk/libc/ports/sysdeps/microblaze/
- copied from r22954, fsf/trunk/libc/ports/sysdeps/microblaze/
trunk/libc/ports/sysdeps/mips/math_private.h
- copied unchanged from r22954, fsf/trunk/libc/ports/sysdeps/mips/math_private.h
trunk/libc/ports/sysdeps/unix/sysv/linux/microblaze/
- copied from r22954, fsf/trunk/libc/ports/sysdeps/unix/sysv/linux/microblaze/
trunk/libc/stdio-common/bug26.c
- copied unchanged from r22954, fsf/trunk/libc/stdio-common/bug26.c
trunk/libc/sysdeps/generic/math-tests.h
- copied unchanged from r22954, fsf/trunk/libc/sysdeps/generic/math-tests.h
trunk/libc/sysdeps/i386/fpu/math-tests.h
- copied unchanged from r22954, fsf/trunk/libc/sysdeps/i386/fpu/math-tests.h
trunk/libc/sysdeps/ieee754/dbl-64/mpa-arch.h
- copied unchanged from r22954, fsf/trunk/libc/sysdeps/ieee754/dbl-64/mpa-arch.h
trunk/libc/sysdeps/ieee754/dbl-64/s_issignaling.c
- copied unchanged from r22954, fsf/trunk/libc/sysdeps/ieee754/dbl-64/s_issignaling.c
trunk/libc/sysdeps/ieee754/dbl-64/wordsize-64/s_issignaling.c
- copied unchanged from r22954, fsf/trunk/libc/sysdeps/ieee754/dbl-64/wordsize-64/s_issignaling.c
trunk/libc/sysdeps/ieee754/flt-32/s_issignalingf.c
- copied unchanged from r22954, fsf/trunk/libc/sysdeps/ieee754/flt-32/s_issignalingf.c
trunk/libc/sysdeps/ieee754/ldbl-128/s_issignalingl.c
- copied unchanged from r22954, fsf/trunk/libc/sysdeps/ieee754/ldbl-128/s_issignalingl.c
trunk/libc/sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c
- copied unchanged from r22954, fsf/trunk/libc/sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c
trunk/libc/sysdeps/ieee754/ldbl-96/s_issignalingl.c
- copied unchanged from r22954, fsf/trunk/libc/sysdeps/ieee754/ldbl-96/s_issignalingl.c
trunk/libc/sysdeps/posix/timespec_get.c
- copied unchanged from r22954, fsf/trunk/libc/sysdeps/posix/timespec_get.c
trunk/libc/sysdeps/powerpc/math-tests.h
- copied unchanged from r22954, fsf/trunk/libc/sysdeps/powerpc/math-tests.h
trunk/libc/sysdeps/powerpc/power4/fpu/mpa-arch.h
- copied unchanged from r22954, fsf/trunk/libc/sysdeps/powerpc/power4/fpu/mpa-arch.h
trunk/libc/sysdeps/powerpc/power5+/
- copied from r22954, fsf/trunk/libc/sysdeps/powerpc/power5+/
trunk/libc/sysdeps/x86_64/tst-audit3.c
- copied unchanged from r22954, fsf/trunk/libc/sysdeps/x86_64/tst-audit3.c
trunk/libc/sysdeps/x86_64/tst-audit4.c
- copied unchanged from r22954, fsf/trunk/libc/sysdeps/x86_64/tst-audit4.c
trunk/libc/sysdeps/x86_64/tst-audit5.c
- copied unchanged from r22954, fsf/trunk/libc/sysdeps/x86_64/tst-audit5.c
trunk/libc/sysdeps/x86_64/tst-audit6.c
- copied unchanged from r22954, fsf/trunk/libc/sysdeps/x86_64/tst-audit6.c
trunk/libc/sysdeps/x86_64/tst-audit7.c
- copied unchanged from r22954, fsf/trunk/libc/sysdeps/x86_64/tst-audit7.c
trunk/libc/sysdeps/x86_64/tst-auditmod3a.c
- copied unchanged from r22954, fsf/trunk/libc/sysdeps/x86_64/tst-auditmod3a.c
trunk/libc/sysdeps/x86_64/tst-auditmod3b.c
- copied unchanged from r22954, fsf/trunk/libc/sysdeps/x86_64/tst-auditmod3b.c
trunk/libc/sysdeps/x86_64/tst-auditmod4a.c
- copied unchanged from r22954, fsf/trunk/libc/sysdeps/x86_64/tst-auditmod4a.c
trunk/libc/sysdeps/x86_64/tst-auditmod4b.c
- copied unchanged from r22954, fsf/trunk/libc/sysdeps/x86_64/tst-auditmod4b.c
trunk/libc/sysdeps/x86_64/tst-auditmod5a.c
- copied unchanged from r22954, fsf/trunk/libc/sysdeps/x86_64/tst-auditmod5a.c
trunk/libc/sysdeps/x86_64/tst-auditmod5b.c
- copied unchanged from r22954, fsf/trunk/libc/sysdeps/x86_64/tst-auditmod5b.c
trunk/libc/sysdeps/x86_64/tst-auditmod6a.c
- copied unchanged from r22954, fsf/trunk/libc/sysdeps/x86_64/tst-auditmod6a.c
trunk/libc/sysdeps/x86_64/tst-auditmod6b.c
- copied unchanged from r22954, fsf/trunk/libc/sysdeps/x86_64/tst-auditmod6b.c
trunk/libc/sysdeps/x86_64/tst-auditmod6c.c
- copied unchanged from r22954, fsf/trunk/libc/sysdeps/x86_64/tst-auditmod6c.c
trunk/libc/sysdeps/x86_64/tst-auditmod7a.c
- copied unchanged from r22954, fsf/trunk/libc/sysdeps/x86_64/tst-auditmod7a.c
trunk/libc/sysdeps/x86_64/tst-auditmod7b.c
- copied unchanged from r22954, fsf/trunk/libc/sysdeps/x86_64/tst-auditmod7b.c
trunk/libc/time/tst-strptime-whitespace.c
- copied unchanged from r22954, fsf/trunk/libc/time/tst-strptime-whitespace.c
Removed:
trunk/libc/elf/tst-audit3.c
trunk/libc/elf/tst-audit4.c
trunk/libc/elf/tst-audit5.c
trunk/libc/elf/tst-audit6.c
trunk/libc/elf/tst-audit7.c
trunk/libc/elf/tst-auditmod3a.c
trunk/libc/elf/tst-auditmod3b.c
trunk/libc/elf/tst-auditmod4a.c
trunk/libc/elf/tst-auditmod4b.c
trunk/libc/elf/tst-auditmod5a.c
trunk/libc/elf/tst-auditmod5b.c
trunk/libc/elf/tst-auditmod6a.c
trunk/libc/elf/tst-auditmod6b.c
trunk/libc/elf/tst-auditmod6c.c
trunk/libc/elf/tst-auditmod7a.c
trunk/libc/elf/tst-auditmod7b.c
trunk/libc/manual/nptl.texi
Modified:
trunk/ (props changed)
trunk/libc/ChangeLog
trunk/libc/Makeconfig
trunk/libc/Makefile.in
trunk/libc/Makerules
trunk/libc/NEWS
trunk/libc/README
trunk/libc/Rules
trunk/libc/Versions.def
trunk/libc/aclocal.m4
trunk/libc/argp/argp-parse.c
trunk/libc/benchtests/Makefile
trunk/libc/benchtests/exp-inputs
trunk/libc/benchtests/pow-inputs
trunk/libc/config.make.in
trunk/libc/configure
trunk/libc/configure.in
trunk/libc/csu/libc-start.c
trunk/libc/csu/libc-tls.c
trunk/libc/elf/Makefile
trunk/libc/elf/dl-iteratephdr.c
trunk/libc/elf/dl-load.c
trunk/libc/elf/dl-open.c
trunk/libc/elf/dl-support.c
trunk/libc/elf/elf.h
trunk/libc/hesiod/nss_hesiod/hesiod-grp.c
trunk/libc/iconv/iconv_prog.c
trunk/libc/iconv/iconvconfig.c
trunk/libc/include/math.h
trunk/libc/include/stdlib.h
trunk/libc/libio/tst-fwrite-error.c
trunk/libc/locale/programs/localedef.c
trunk/libc/localedata/ChangeLog
trunk/libc/localedata/locales/fi_FI
trunk/libc/localedata/locales/ia_FR
trunk/libc/malloc/memusagestat.c
trunk/libc/manual/Makefile
trunk/libc/manual/arith.texi
trunk/libc/manual/libm-err-tab.pl
trunk/libc/manual/llio.texi
trunk/libc/math/Makefile
trunk/libc/math/README.libm-test
trunk/libc/math/Versions
trunk/libc/math/basic-test.c
trunk/libc/math/bits/mathcalls.h
trunk/libc/math/gen-libm-test.pl
trunk/libc/math/k_casinh.c
trunk/libc/math/k_casinhf.c
trunk/libc/math/k_casinhl.c
trunk/libc/math/libm-test.inc
trunk/libc/math/math.h
trunk/libc/math/s_cacosh.c
trunk/libc/math/s_cacoshf.c
trunk/libc/math/s_cacoshl.c
trunk/libc/math/s_catan.c
trunk/libc/math/s_catanf.c
trunk/libc/math/s_catanh.c
trunk/libc/math/s_catanhf.c
trunk/libc/math/s_catanhl.c
trunk/libc/math/s_catanl.c
trunk/libc/math/s_ccosh.c
trunk/libc/math/s_ccoshf.c
trunk/libc/math/s_ccoshl.c
trunk/libc/math/s_cexp.c
trunk/libc/math/s_cexpf.c
trunk/libc/math/s_cexpl.c
trunk/libc/math/s_csin.c
trunk/libc/math/s_csinf.c
trunk/libc/math/s_csinh.c
trunk/libc/math/s_csinhf.c
trunk/libc/math/s_csinhl.c
trunk/libc/math/s_csinl.c
trunk/libc/math/test-snan.c
trunk/libc/nptl/ChangeLog
trunk/libc/nptl/allocatestack.c
trunk/libc/nptl/nptl-init.c
trunk/libc/nptl/pthreadP.h
trunk/libc/nptl/pthread_attr_getstacksize.c
trunk/libc/nptl/pthread_attr_setschedparam.c
trunk/libc/nptl/pthread_attr_setschedpolicy.c
trunk/libc/nptl/pthread_attr_setstack.c
trunk/libc/nptl/pthread_attr_setstacksize.c
trunk/libc/nptl/pthread_create.c
trunk/libc/nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_timedwait.S
trunk/libc/nptl/sysdeps/unix/sysv/linux/pthread_attr_setaffinity.c
trunk/libc/nptl/sysdeps/unix/sysv/linux/sem_post.c
trunk/libc/nptl/sysdeps/unix/sysv/linux/x86_64/cancellation.S
trunk/libc/nptl/vars.c
trunk/libc/nscd/grpcache.c
trunk/libc/nscd/initgrcache.c
trunk/libc/nscd/nscd.c
trunk/libc/nscd/pwdcache.c
trunk/libc/nscd/servicescache.c
trunk/libc/nss/getent.c
trunk/libc/nss/nss_files/files-init.c
trunk/libc/po/de.po
trunk/libc/po/ru.po
trunk/libc/ports/ChangeLog.aarch64
trunk/libc/ports/ChangeLog.arm
trunk/libc/ports/ChangeLog.hppa
trunk/libc/ports/ChangeLog.m68k
trunk/libc/ports/ChangeLog.mips
trunk/libc/ports/sysdeps/arm/arm-features.h
trunk/libc/ports/sysdeps/arm/configure
trunk/libc/ports/sysdeps/arm/configure.in
trunk/libc/ports/sysdeps/arm/dl-tlsdesc.S
trunk/libc/ports/sysdeps/arm/preconfigure
trunk/libc/ports/sysdeps/arm/preconfigure.in
trunk/libc/ports/sysdeps/arm/sysdep.h
trunk/libc/ports/sysdeps/m68k/m680x0/fpu/libm-test-ulps
trunk/libc/ports/sysdeps/unix/sysv/linux/aarch64/configure
trunk/libc/ports/sysdeps/unix/sysv/linux/aarch64/configure.in
trunk/libc/ports/sysdeps/unix/sysv/linux/aarch64/nptl/libm.abilist
trunk/libc/ports/sysdeps/unix/sysv/linux/alpha/nptl/libm.abilist
trunk/libc/ports/sysdeps/unix/sysv/linux/arm/Makefile
trunk/libc/ports/sysdeps/unix/sysv/linux/arm/nptl/libm.abilist
trunk/libc/ports/sysdeps/unix/sysv/linux/ia64/nptl/libm.abilist
trunk/libc/ports/sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libm.abilist
trunk/libc/ports/sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libm.abilist
trunk/libc/ports/sysdeps/unix/sysv/linux/mips/Makefile
trunk/libc/ports/sysdeps/unix/sysv/linux/mips/configure
trunk/libc/ports/sysdeps/unix/sysv/linux/mips/configure.in
trunk/libc/ports/sysdeps/unix/sysv/linux/mips/mips32/nptl/libm.abilist
trunk/libc/ports/sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libm.abilist
trunk/libc/ports/sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libm.abilist
trunk/libc/ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/e500/nptl/c++-types.data (props changed)
trunk/libc/ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/e500/nptl/localplt.data (props changed)
trunk/libc/ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/e500/single/nptl/c++-types.data (props changed)
trunk/libc/ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/e500/single/nptl/localplt.data (props changed)
trunk/libc/ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libm.abilist
trunk/libc/ports/sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libm.abilist
trunk/libc/ports/sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libm.abilist
trunk/libc/ports/sysdeps/unix/sysv/linux/tile/tilepro/nptl/libm.abilist
trunk/libc/rt/tst-aio7.c
trunk/libc/scripts/rellns-sh
trunk/libc/soft-fp/op-common.h
trunk/libc/stdio-common/Makefile
trunk/libc/stdio-common/tstdiomisc.c
trunk/libc/stdio-common/vfscanf.c
trunk/libc/stdlib/Makefile
trunk/libc/stdlib/bits/stdlib-ldbl.h
trunk/libc/stdlib/cxa_thread_atexit_impl.c
trunk/libc/stdlib/exit.c
trunk/libc/stdlib/stdlib.h
trunk/libc/stdlib/tst-strtod6.c
trunk/libc/sysdeps/generic/inttypes.h
trunk/libc/sysdeps/generic/ldsodefs.h
trunk/libc/sysdeps/generic/stdint.h
trunk/libc/sysdeps/gnu/configure
trunk/libc/sysdeps/gnu/configure.in
trunk/libc/sysdeps/i386/configure
trunk/libc/sysdeps/i386/configure.in
trunk/libc/sysdeps/i386/fpu/libm-test-ulps
trunk/libc/sysdeps/ieee754/dbl-64/branred.c
trunk/libc/sysdeps/ieee754/dbl-64/dosincos.c
trunk/libc/sysdeps/ieee754/dbl-64/e_asin.c
trunk/libc/sysdeps/ieee754/dbl-64/e_atan2.c
trunk/libc/sysdeps/ieee754/dbl-64/e_exp.c
trunk/libc/sysdeps/ieee754/dbl-64/e_log.c
trunk/libc/sysdeps/ieee754/dbl-64/e_pow.c
trunk/libc/sysdeps/ieee754/dbl-64/e_remainder.c
trunk/libc/sysdeps/ieee754/dbl-64/mpa.c
trunk/libc/sysdeps/ieee754/dbl-64/mpa.h
trunk/libc/sysdeps/ieee754/dbl-64/mpatan.c
trunk/libc/sysdeps/ieee754/dbl-64/mpatan2.c
trunk/libc/sysdeps/ieee754/dbl-64/mpexp.c
trunk/libc/sysdeps/ieee754/dbl-64/mpsqrt.c
trunk/libc/sysdeps/ieee754/dbl-64/mptan.c
trunk/libc/sysdeps/ieee754/dbl-64/s_atan.c
trunk/libc/sysdeps/ieee754/dbl-64/s_sin.c
trunk/libc/sysdeps/ieee754/dbl-64/s_tan.c
trunk/libc/sysdeps/ieee754/dbl-64/sincos32.c
trunk/libc/sysdeps/ieee754/dbl-64/upow.h
trunk/libc/sysdeps/ieee754/dbl-64/urem.h
trunk/libc/sysdeps/ieee754/dbl-64/usncs.h
trunk/libc/sysdeps/ieee754/ldbl-128/e_j0l.c
trunk/libc/sysdeps/ieee754/ldbl-128/e_j1l.c
trunk/libc/sysdeps/ieee754/ldbl-128ibm/e_expl.c
trunk/libc/sysdeps/ieee754/ldbl-128ibm/e_logl.c
trunk/libc/sysdeps/ieee754/ldbl-128ibm/w_expl.c
trunk/libc/sysdeps/mach/configure
trunk/libc/sysdeps/mach/configure.in
trunk/libc/sysdeps/mach/hurd/bits/ioctls.h
trunk/libc/sysdeps/mach/hurd/i386/init-first.c
trunk/libc/sysdeps/posix/getaddrinfo.c
trunk/libc/sysdeps/posix/libc_fatal.c
trunk/libc/sysdeps/powerpc/fpu/libm-test-ulps
trunk/libc/sysdeps/powerpc/fpu/s_llround.c
trunk/libc/sysdeps/powerpc/fpu/w_sqrt.c
trunk/libc/sysdeps/powerpc/power4/fpu/mpa.c
trunk/libc/sysdeps/powerpc/powerpc32/fpu/s_rint.S
trunk/libc/sysdeps/powerpc/powerpc32/fpu/s_rintf.S
trunk/libc/sysdeps/powerpc/powerpc32/power5+/Implies
trunk/libc/sysdeps/powerpc/powerpc32/power5/Implies
trunk/libc/sysdeps/powerpc/powerpc32/start.S
trunk/libc/sysdeps/powerpc/powerpc64/fpu/s_rint.S
trunk/libc/sysdeps/powerpc/powerpc64/fpu/s_rintf.S
trunk/libc/sysdeps/powerpc/powerpc64/power5+/Implies
trunk/libc/sysdeps/powerpc/powerpc64/power5/Implies
trunk/libc/sysdeps/powerpc/powerpc64/start.S
trunk/libc/sysdeps/pthread/aio_fsync.c
trunk/libc/sysdeps/s390/s390-32/sysdep.h
trunk/libc/sysdeps/s390/s390-64/sysdep.h
trunk/libc/sysdeps/sparc/configure
trunk/libc/sysdeps/sparc/configure.in
trunk/libc/sysdeps/sparc/fpu/libm-test-ulps
trunk/libc/sysdeps/unix/sysv/linux/i386/nptl/libm.abilist
trunk/libc/sysdeps/unix/sysv/linux/kernel-features.h
trunk/libc/sysdeps/unix/sysv/linux/libc_fatal.c
trunk/libc/sysdeps/unix/sysv/linux/pathconf.c
trunk/libc/sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist
trunk/libc/sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist
trunk/libc/sysdeps/unix/sysv/linux/s390/bits/statfs.h
trunk/libc/sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist
trunk/libc/sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist
trunk/libc/sysdeps/unix/sysv/linux/sh/nptl/libm.abilist
trunk/libc/sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist
trunk/libc/sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist
trunk/libc/sysdeps/unix/sysv/linux/sys/fsuid.h
trunk/libc/sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist
trunk/libc/sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist
trunk/libc/sysdeps/x86_64/Makefile
trunk/libc/sysdeps/x86_64/configure
trunk/libc/sysdeps/x86_64/configure.in
trunk/libc/sysdeps/x86_64/fpu/libm-test-ulps
trunk/libc/sysdeps/x86_64/strcmp.S
trunk/libc/time/Makefile
trunk/libc/time/getdate.c
trunk/libc/time/strptime_l.c
trunk/libc/time/tst-getdate.c
Propchange: trunk/
------------------------------------------------------------------------------
--- svn:mergeinfo (original)
+++ svn:mergeinfo Sun Apr 28 15:21:50 2013
@@ -1,1 +1,1 @@
-/fsf/trunk:15224-22663
+/fsf/trunk:15224-22954
Modified: trunk/libc/ChangeLog
==============================================================================
--- trunk/libc/ChangeLog (original)
+++ trunk/libc/ChangeLog Sun Apr 28 15:21:50 2013
@@ -1,3 +1,974 @@
+2013-04-27 Joseph Myers <joseph@xxxxxxxxxxxxxxxx>
+
+ [BZ #15409]
+ * math/s_catan.c (__catan): Handle arguments with large real or
+ imaginary part separately without squaring.
+ * math/s_catanf.c (__catanf): Likewise.
+ * math/s_catanh.c (__catanh): Likewise.
+ * math/s_catanhf.c (__catanhf): Likewise.
+ * math/s_catanhl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
+ and redefine.
+ (__catanhl): Handle arguments with large real or imaginary part
+ separately without squaring.
+ * math/s_catanl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
+ and redefine.
+ (__catanl): Handle arguments with large real or imaginary part
+ separately without squaring.
+ * math/libm-test.inc (catan_test): Add more tests.
+ (catanh_test): Likewise.
+ * sysdeps/i386/fpu/libm-test-ulps: Update.
+ * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
+
+2013-04-27 Andreas Jaeger <aj@xxxxxxx>
+
+ [BZ #15007]
+ * stdlib/stdlib.h: Update guards for qecvt.
+ * stdlib/bits/stdlib-ldbl.h: Sync guards for qecvt etc with
+ <stdlib.h>.
+
+2013-04-27 Allan McRae <allan@xxxxxxxxxxxxx>
+
+ * sysdeps/i386/fpu/libm-test-ulps: Update.
+
+2013-04-26 Joseph Myers <joseph@xxxxxxxxxxxxxxxx>
+
+ [BZ #15406]
+ * math/s_catan.c: Include <float.h>.
+ (__catan): Ensure underflow exception occurs for underflowed
+ result.
+ * math/s_catanf.c: Include <float.h>.
+ (__catanf): Ensure underflow exception occurs for underflowed
+ result.
+ * math/s_catanh.c: Include <float.h>.
+ (__catanh): Ensure underflow exception occurs for underflowed
+ result.
+ * math/s_catanhf.c: Include <float.h>.
+ (__catanhf): Ensure underflow exception occurs for underflowed
+ result.
+ * math/s_catanhl.c: Include <float.h>.
+ (__catanhl): Ensure underflow exception occurs for underflowed
+ result.
+ * math/s_catanl.c: Include <float.h>.
+ (__catanl): Ensure underflow exception occurs for underflowed
+ result.
+ * math/libm-test.inc (catan_test): Add more tests.
+ (catanh_test): Likewise.
+
+ [BZ #15405]
+ * math/s_ccosh.c (__ccosh): Ensure underflow exception occurs for
+ underflowed result.
+ * math/s_ccoshf.c (__ccoshf): Likewise.
+ * math/s_ccoshl.c (__ccoshl): Likewise.
+ * math/s_csin.c (__csin): Likewise.
+ * math/s_csinf.c (__csinf): Likewise.
+ * math/s_csinh.c (__csinh): Likewise.
+ * math/s_csinhf.c (__csinhf): Likewise.
+ * math/s_csinhl.c (__csinhl): Likewise.
+ * math/s_csinl.c (__csinl): Likewise.
+ * math/libm-test.inc (ccos_test): Add more tests.
+ (ccosh_test): Likewise.
+ (csin_test): Likewise.
+ (csinh_test): Likewise.
+
+2013-04-26 Adhemerval Zanella <azanella@xxxxxxxxxxxxxxxxxx>
+
+ * sysdeps/powerpc/power5/fpu/s_modf.c: Moved to ...
+ * sysdeps/powerpc/power5+/fpu/s_modf.c: ... this.
+ * sysdeps/powerpc/power5/fpu/s_modff.c: Moved to ...
+ * sysdeps/powerpc/power5+/fpu/s_modff.c: ... this.
+ * sysdeps/powerpc/powerpc32/power5+/Implies: Add powerpc/power5+ and
+ powerpc/power5+/fpu folders.
+ * sysdeps/powerpc/powerpc64/power5+/Implies: Likewise.
+
+
+2013-04-26 Markus Trippelsdorf <markus@xxxxxxxxxxxxxxx>
+
+ * sysdeps/x86_64/fpu/libm-test-ulps: Update.
+
+2013-04-25 Joseph Myers <joseph@xxxxxxxxxxxxxxxx>
+
+ * elf/Makefile [$(config-machine) = x86_64] (tests): Remove
+ additions to variable.
+ [$(config-machine) = x86_64] (modules-names): Likewise.
+ ($(objpfx)tst-audit3): Remove dependency.
+ ($(objpfx)tst-audit3.out): Likewise.
+ ($(objpfx)tst-audit4): Likewise.
+ ($(objpfx)tst-audit4.out): Likewise.
+ ($(objpfx)tst-audit5): Likewise.
+ ($(objpfx)tst-audit5.out): Likewise.
+ ($(objpfx)tst-audit6): Likewise.
+ ($(objpfx)tst-audit6.out): Likewise.
+ ($(objpfx)tst-audit7): Likewise.
+ ($(objpfx)tst-audit7.out): Likewise.
+ (tst-audit3-ENV): Remove variable.
+ (tst-audit4-ENV): Likewise.
+ (tst-audit5-ENV): Likewise.
+ (tst-audit6-ENV): Likewise.
+ (tst-audit7-ENV): Likewise.
+ [$(config-cflags-avx) = yes] (AVX-CFLAGS): Likewise.
+ [$(config-cflags-avx) = yes] (CFLAGS-tst-audit4.c): Remove
+ addition to variable.
+ [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4a.c): Likewise.
+ [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4b.c): Likewise.
+ [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6b.c): Likewise.
+ [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6c.c): Likewise.
+ [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod7b.c): Likewise.
+ * sysdeps/x86_64/Makefile [$(subdir) = elf] (tests): Add
+ tst-audit3, tst-audit4 and tst-audit5.
+ [$(subdir) = elf && $(config-cflags-avx) = yes] (tests): Add
+ tst-audit6 and tst-audit7.
+ [$(subdir) = elf] (modules-names): Add audit modules for those
+ tests.
+ [$(subdir) = elf] ($(objpfx)tst-audit3): New dependency.
+ [$(subdir) = elf] ($(objpfx)tst-audit3.out): Likewise.
+ [$(subdir) = elf] ($(objpfx)tst-audit4): Likewise.
+ [$(subdir) = elf] ($(objpfx)tst-audit4.out): Likewise.
+ [$(subdir) = elf] ($(objpfx)tst-audit5): Likewise.
+ [$(subdir) = elf] ($(objpfx)tst-audit5.out): Likewise.
+ [$(subdir) = elf] ($(objpfx)tst-audit6): Likewise.
+ [$(subdir) = elf] ($(objpfx)tst-audit6.out): Likewise.
+ [$(subdir) = elf] ($(objpfx)tst-audit7): Likewise.
+ [$(subdir) = elf] ($(objpfx)tst-audit7.out): Likewise.
+ [$(subdir) = elf] (tst-audit3-ENV): New variable.
+ [$(subdir) = elf] (tst-audit4-ENV): Likewise.
+ [$(subdir) = elf] (tst-audit5-ENV): Likewise.
+ [$(subdir) = elf] (tst-audit6-ENV): Likewise.
+ [$(subdir) = elf] (tst-audit7-ENV): Likewise.
+ [$(subdir) = elf && $(config-cflags-avx) = yes] (AVX-CFLAGS):
+ Likewise.
+ [$(subdir) = elf && $(config-cflags-avx) = yes]
+ (CFLAGS-tst-audit4.c): Append $(AVX-CFLAGS).
+ [$(subdir) = elf && $(config-cflags-avx) = yes]
+ (CFLAGS-tst-auditmod4a.c): Likewise.
+ [$(subdir) = elf && $(config-cflags-avx) = yes]
+ (CFLAGS-tst-auditmod4b.c): Likewise.
+ [$(subdir) = elf && $(config-cflags-avx) = yes]
+ (CFLAGS-tst-auditmod6b.c): Likewise.
+ [$(subdir) = elf && $(config-cflags-avx) = yes]
+ (CFLAGS-tst-auditmod6c.c): Likewise.
+ [$(subdir) = elf && $(config-cflags-avx) = yes]
+ (CFLAGS-tst-auditmod7b.c): Likewise.
+ * elf/tst-audit3.c: Move to ...
+ * sysdeps/x86_64/tst-audit3.c: ... here.
+ * elf/tst-audit4.c: Move to ...
+ * sysdeps/x86_64/tst-audit4.c: ... here.
+ * elf/tst-audit5.c: Move to ...
+ * sysdeps/x86_64/tst-audit5.c: ... here.
+ * elf/tst-audit6.c: Move to ...
+ * sysdeps/x86_64/tst-audit6.c: ... here.
+ * elf/tst-audit7.c: Move to ...
+ * sysdeps/x86_64/tst-audit7.c: ... here.
+ * elf/tst-auditmod3a.c: Move to ...
+ * sysdeps/x86_64/tst-auditmod3a.c: ... here.
+ * elf/tst-auditmod3b.c: Move to ...
+ * sysdeps/x86_64/tst-auditmod3b.c: ... here.
+ * elf/tst-auditmod4a.c: Move to ...
+ * sysdeps/x86_64/tst-auditmod4a.c: ... here.
+ * elf/tst-auditmod4b.c: Move to ...
+ * sysdeps/x86_64/tst-auditmod4b.c: ... here.
+ * elf/tst-auditmod5a.c: Move to ...
+ * sysdeps/x86_64/tst-auditmod5a.c: ... here.
+ * elf/tst-auditmod5b.c: Move to ...
+ * sysdeps/x86_64/tst-auditmod5b.c: ... here.
+ * elf/tst-auditmod6a.c: Move to ...
+ * sysdeps/x86_64/tst-auditmod6a.c: ... here.
+ * elf/tst-auditmod6b.c: Move to ...
+ * sysdeps/x86_64/tst-auditmod6b.c: ... here.
+ * elf/tst-auditmod6c.c: Move to ...
+ * sysdeps/x86_64/tst-auditmod6c.c: ... here.
+ * elf/tst-auditmod7a.c: Move to ...
+ * sysdeps/x86_64/tst-auditmod7a.c: ... here.
+ * elf/tst-auditmod7b.c: Move to ...
+ * sysdeps/x86_64/tst-auditmod7b.c: ... here.
+
+2013-04-25 Paul Pluzhnikov <ppluzhnikov@xxxxxxxxxx>
+
+ [BZ #15366]
+ * sysdeps/generic/inttypes.h (PRId8, PRId16, etc.):
+ define unconditionally.
+ * sysdeps/generic/stdint.h (INT8_MIN, INT16_MIN, etc.):
+ define unconditionally.
+ (INT8_C, INT16_C, etc.): Likewise.
+
+2013-04-25 Maciej W. Rozycki <macro@xxxxxxxxxxxxxxxx>
+
+ * csu/libc-start.c (__libc_start_main) [!SHARED]: Declare
+ __ehdr_start with hidden visibility.
+
+ * soft-fp/op-common.h (_FP_SQRT): s/sNAN/NAN/ in a comment.
+
+2013-04-24 Carlos O'Donell <carlos@xxxxxxxxxx>
+
+ * math/libm-test.inc (cos_test): Use accurate hex constants.
+ (sincost_test): Likewise.
+
+2013-04-24 Joseph Myers <joseph@xxxxxxxxxxxxxxxx>
+
+ * math/libm-test.inc (catan_test): Add more tests.
+ (catanh_test): Likewise.
+
+ * math/s_catanf.c (__catanf): Use suffixed floating-point
+ constants.
+ * math/s_catanhf.c (__catanhf): Likewise.
+ * math/s_catanhl.c (__catanhl): Likewise.
+ * math/s_catanl.c (__catanl): Likewise.
+
+ [BZ #15394]
+ * math/s_catan.c (__catan): Calculate imaginary part of result
+ with log1p not log unless computing log of number close to 0.
+ * math/s_catanf.c (__catanf): Likewise.
+ * math/s_catanl.c (__catanl): Likewise.
+ * math/s_catanh.c (__catanh): Calculate real part of result with
+ log1p not log unless computing log of number close to 0.
+ * math/s_catanhf.c (__catanhf): Likewise.
+ * math/s_catanhl.c (__catanhl): Likewise.
+ * math/libm-test.inc (catan_test): Add more tests.
+ (catanh_test): Likewise.
+ * sysdeps/i386/fpu/libm-test-ulps: Update.
+ * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
+
+2013-04-24 Siddhesh Poyarekar <siddhesh@xxxxxxxxxx>
+
+ * benchtests/Makefile: Mention files in which fast and slow
+ paths of math functions are implemented.
+
+2013-04-23 Roland McGrath <roland@xxxxxxxxxxxxx>
+
+ * sysdeps/posix/timespec_get.c: New file.
+
+2013-04-23 Adhemerval Zanella <azanella@xxxxxxxxxxxxxxxxxx>
+
+ * sysdeps/powerpc/power5/fpu/s_modf.c: New file: modf optimization for
+ POWER.
+ * sysdeps/powerpc/power5/fpu/s_modff.c: New file: modff optimization
+ for POWER.
+ * sysdeps/powerpc/powerpc64/power5/Implies: Add powerpc/power5 and
+ powerpc/power5/fpu folders.
+ * sysdeps/powerpc/powerpc32/power5/Implies: Likewise.
+ * benchtests/Makefile: Add modf testcase.
+ * benchtests/bench-modf.c: New file: Benchmark test for mo
+
+2013-04-23 Siddhesh Poyarekar <siddhesh@xxxxxxxxxx>
+
+ [BZ #14888]
+ * time/Makefile (tests): Add tst-strptime-whitespace.
+ * time/strptime_l.c (get_number): Use ISSPACE.
+ (__strptime_internal): Likewise.
+ * time/tst-strptime-whitespace.c: New test case.
+
+2013-04-23 Andreas Schwab <schwab@xxxxxxxxxxxxxx>
+
+ * nss/nss_files/files-init.c (TF): Don't initialize flexible array
+ member.
+ (_nss_files_init): Set it here.
+
+2013-04-23 Heiko Carstens <heiko.carstens@xxxxxxxxxx>
+
+ * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Change types of
+ f_type, f_bsize, f_namelen, f_frsize, f_flags,and f_spare to
+ unsigned.
+
+2013-04-22 Jan-Benedict Glaw <jbglaw@xxxxxxxxxxx>
+
+ * nss/getent.c (shadow_keys): Call endspent, not endpwent.
+
+2013-04-22 Siddhesh Poyarekar <siddhesh@xxxxxxxxxx>
+
+ * sysdeps/posix/getaddrinfo.c (getaddrinfo): Compute results
+ size just once.
+
+2013-04-21 David S. Miller <davem@xxxxxxxxxxxxx>
+
+ * po/ru.po: Update Russion translation from translation project.
+
+2013-04-17 Adam Conrad <adconrad@xxxxxxx>
+
+ * sysdeps/unix/sysv/linux/sys/fsuid.h: Remove __wur from setfsuid
+ and setfsgid.
+
+2013-04-17 Carlos O'Donell <carlos@xxxxxxxxxx>
+
+ * configure.in: Remove i386 configure warning. Remove i386 case.
+ * configure: Regenerate.
+ * sysdeps/i386/configure.in: Raise error if config_machine is i386.
+ Add example to error message.
+ * sysdeps/i386/configure: Regenerate.
+
+2013-04-17 Siddhesh Poyarekar <siddhesh@xxxxxxxxxx>
+
+ * benchtests/Makefile (bench): Add cos, tan, slowcos and
+ slowtan.
+ * benchtests/cos-inputs: New file.
+ * benchtests/slowcos-inputs: New file.
+ * benchtests/slowcos.c: New file.
+ * benchtests/slowtan-inputs: New file.
+ * benchtests/slowtan.c: New file.
+ * benchtests/tan-inputs: New file.
+
+2013-04-16 Roland McGrath <roland@xxxxxxxxxxxxx>
+
+ * rt/tst-aio7.c (do_test): Don't test O_RDONLY fd case, which is now
+ considered kosher.
+
+2013-04-16 Siddhesh Poyarekar <siddhesh@xxxxxxxxxx>
+
+ * benchtests/Makefile: Include cppflags-iterator.mk to add
+ -DNOT_IN_libc=1 to CPPFLAGS of all benchmark programs.
+
+ * Makefile.in (bench-clean): New target.
+ * benchtests/Makefile (bench-clean): Likewise.
+
+2013-04-16 David Holsgrove <david.holsgrove@xxxxxxxxxx>
+
+ * elf/elf.h: Add EM_MICROBLAZE and MicroBlaze relocations.
+
+2013-04-15 Thomas Schwinge <thomas@xxxxxxxxxxxxxxxx>
+
+ * stdio-common/tstdiomisc.c: Fix coding-style violation.
+
+2013-04-15 Andreas Schwab <schwab@xxxxxxx>
+
+ * nscd/grpcache.c (cache_addgr): Properly check for short write.
+ * nscd/initgrcache.c (addinitgroupsX): Likewise.
+ * nscd/pwdcache.c (cache_addpw): Likewise.
+ * nscd/servicescache.c (cache_addserv): Likewise. Don't write
+ more than recsize.
+
+2013-04-15 Siddhesh Poyarekar <siddhesh@xxxxxxxxxx>
+
+ * benchtests/Makefile (bench): Write all output to
+ bench-out.tmp together.
+
+2013-04-15 Andreas Schwab <schwab@xxxxxxx>
+
+ * nscd/nscd.c (main): Don't fork again after closing files.
+
+2013-04-15 Siddhesh Poyarekar <siddhesh@xxxxxxxxxx>
+
+ * libio/tst-fwrite-error.c (do_test): Fix BUF array definition.
+
+ * benchtests/Rules (bench-deps): Collect dependencies into a
+ single variable. Add Makefile to dependencies.
+ ($(objpfx)bench-%.c): Depend on bench-deps.
+
+2013-04-12 Roland McGrath <roland@xxxxxxxxxxxxx>
+ Xavier Roche <roche+kml2@xxxxxxxxxxx>
+
+ [BZ #15361]
+ * sysdeps/pthread/aio_fsync.c (aio_fsync): Don't check open modes,
+ just that it's a file descriptor.
+ * manual/llio.texi (Synchronizing AIO Operations): Update description
+ for EBADF error from aio_fsync.
+
+2013-04-12 Siddhesh Poyarekar <siddhesh@xxxxxxxxxx>
+
+ * Rules (bench): Move target definition...
+ * benchtests/Makefile: ... here.
+
+2013-04-11 Carlos O'Donell <carlos@xxxxxxxxxx>
+
+ * math/libm-test.inc (cos_test): Fix PI/2 test.
+ (sincos_test): Likewise.
+ * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
+ * sysdeps/i386/fpu/libm-test-ulps: Regenerate.
+
+2013-04-11 Andreas Schwab <schwab@xxxxxxx>
+
+ [BZ #13988]
+ * stdio-common/vfscanf.c (_IO_vfwscanf): When parsing a float
+ accept exponent character only when digits were seen.
+ * stdio-common/Makefile (tests): Add bug26.
+ * stdio-common/bug26.c: New file.
+
+ [BZ #14293]
+ * elf/dl-load.c (_dl_init_paths): Mark decomposed RUNPATH as
+ non-freeable.
+
+2013-04-11 Siddhesh Poyarekar <siddhesh@xxxxxxxxxx>
+
+ * Makeconfig (rtld-prefix): Define built linker prefix.
+ * Rules (run-bench): Use it.
+ * math/Makefile (run-regen-ulps): Likewise.
+
+ * Rules (bench): Remove eval.
+
+2013-04-10 Siddhesh Poyarekar <siddhesh@xxxxxxxxxx>
+ Roland McGrath <roland@xxxxxxxxxxxxx>
+ Ondrej Bilka <neleai@xxxxxxxxx>
+
+ [BZ #15346]
+ * time/getdate.c: Include ctype.h and alloca.h.
+ (__getdate_r): Trim leading and trailing spaces of input.
+ * time/tst-getdate.c (tests): Add tests with leading and
+ trailing spaces.
+
+2013-04-08 Roland McGrath <roland@xxxxxxxxxxxxx>
+
+ [BZ #14280]
+ * sysdeps/mach/hurd/bits/ioctls.h (_IOTS): Cast to enum __ioctl_datum
+ when computing value.
+
+2013-04-06 Carlos O'Donell <carlos@xxxxxxxxxx>
+
+ * math/README.libm-test (How can I generate "libm-test-ulps"?):
+ Use testrun.sh to run libm tests.
+
+ [BZ #15309]
+ * elf/dl-open.c (dl_open_worker): memset all of seen array.
+
+2013-04-06 Marko Myllynen <myllynen@xxxxxxxxxx>
+
+ [BZ #15264]
+ * locales/fi_FI (LC_MESSAGES): Define yesstr and nostr.
+
+2013-04-06 Carlos O'Donell <carlos@xxxxxxxxxx>
+
+ * Makefile.in (regen-ulps): New target.
+ * math/Makefile [ifneq (no,$(PERL)]: Declare regen-ulps with .PHONY.
+ [ifneq (no,$(PERL)] (run-regen-ulps): New variable.
+ [ifneq (no,$(PERL)] (regen-ulps): New target.
+ [ifeq (no,$(PERL)] (regen-ulps): New target.
+ * math/libm-test.inc (ulps_file_name): Define.
+ (output_dir): New variable.
+ (options): Add "output-dir" option.
+ (parse_opt): Handle 'o' case.
+ (main): If output_dir is non-NULL use it as a prefix
+ otherwise use "".
+ * math/README.libm-test: Update `How can I generate "libm-test-ulps"?'
+
+2013-04-06 Carlos O'Donell <carlos@xxxxxxxxxx>
+
+ [BZ #10060, #10062]
+ * aclocal.m4 (LIBC_COMPILER_BUILTIN_INLINED): New macro.
+ * sysdeps/i386/configure.in: Use LIBC_COMPILER_BUILTIN_INLINED and
+ fail configure if __sync_val_compare_and_swap is not inlined.
+ * sysdeps/i386/configure: Regenerate.
+ * configure.in: Build for i686 when configured for i386.
+ * configure: Regenerate.
+ * README: Remove i386 reference.
+
+2013-04-06 Carlos O'Donell <carlos@xxxxxxxxxx>
+
+ * sysdeps/s390/s390-32/sysdep.h: Undefine PSEUDO before redefinition.
+ * sysdeps/s390/s390-64/sysdep.h: Likewise.
+
+2013-04-05 Thomas Schwinge <thomas@xxxxxxxxxxxxxxxx>
+
+ * stdio-common/tstdiomisc.c (snanval, msnanval, lsnanval)
+ (lmsnanval): New variables.
+ (F): Add conversion tests.
+ * stdlib/tst-strtod6.c (do_test): Add issignaling tests.
+ * stdlib/Makefile ($(objpfx)tst-strtod6): Depend on $(link-libm).
+
+ * stdio-common/tstdiomisc.c (F): Properly collect individual
+ tests' results.
+
+ [BZ #14686, #15336]
+ * sysdeps/ieee754/dbl-64/urem.h (nNAN, NAN): Remove definitions.
+ * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder):
+ Instead, use input NaN values or generate a qNaN by arithmetic
+ operation. Also fix bugs to comply with the standard.
+ * math/libm-test.inc (remainder_test): Add more tests.
+
+ [BZ #15335, #15342]
+ * sysdeps/ieee754/dbl-64/upow.h (NaNQ): Remove definitions.
+ * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Instead, use
+ input NaN values or generate a qNaN by arithmetic operation.
+
+ * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Remove
+ unreachable code.
+
+ * sysdeps/ieee754/dbl-64/usncs.h (NAN): Removed unused
+ definitions.
+
+2013-04-03 Joseph Myers <joseph@xxxxxxxxxxxxxxxx>
+
+ [BZ #14478]
+ * math/s_cexp.c (__cexp): Ensure underflow exception occurs for
+ underflowed result.
+ * math/s_cexpf.c (__cexpf): Likewise.
+ * math/s_cexpl.c (__cexpl): Likewise.
+ * math/libm-test.inc (cexp_test): Add more tests.
+
+2013-04-03 Andreas Schwab <schwab@xxxxxxx>
+
+ [BZ #15330]
+ * sysdeps/posix/getaddrinfo.c (getaddrinfo): Allocate results and
+ order arrays from heap if bigger than alloca cutoff.
+
+2013-04-03 Thomas Schwinge <thomas@xxxxxxxxxxxxxxxx>
+
+ * sysdeps/i386/fpu/math-tests.h (SNAN_TESTS_float)
+ (SNAN_TESTS_double): Refer to GCC PR56831.
+ * sysdeps/powerpc/math-tests.h (SNAN_TESTS_TYPE_CAST): Refer to
+ GCC PR56828.
+
+2013-04-03 Siddhesh Poyarekar <siddhesh@xxxxxxxxxx>
+
+ * Rules (bench): Move bench.out after the run is complete.
+
+ * Rules (bench): Echo currently running benchmark.
+
+ * benchtests/Makefile (bench): Add atan and slowatan.
+ * benchtests/atan-inputs: New file.
+ * benchtests/slowatan-inputs: New file.
+ * benchtests/slowatan.c: New file.
+
+ * sysdeps/ieee754/dbl-64/mpa.h (TWO): Remove definition.
+ * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Replace TWO with
+ its value.
+
+ [BZ #15305]
+ * sysdeps/unix/sysv/linux/kernel-features.h
+ [__LINUX_KERNEL_VERSION >= 0x02061d]: Define
+ __ASSUME_XFS_RESTRICTED_CHOWN.
+ * sysdeps/unix/sysv/linux/pathconf.c
+ (__statfs_chown_restricted) [!__ASSUME_XFS_RESTRICTED_CHOWN]:
+ Save and restore errno.
+
+2013-04-02 Joseph Myers <joseph@xxxxxxxxxxxxxxxx>
+
+ [BZ #15327]
+ * math/s_cacosh.c (__cacosh): Implement for finite nonzero
+ arguments using __kernel_casinh.
+ * math/s_cacoshf.c (__cacoshf): Implement for finite nonzero
+ arguments using __kernel_casinhf.
+ * math/s_cacoshl.c (__cacoshl): Implement for finite nonzero
+ arguments using __kernel_casinhl.
+ * math/libm-test.inc (cacosh_test): Add more tests.
+ * sysdeps/i386/fpu/libm-test-ulps: Update.
+ * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
+
+2013-04-02 Siddhesh Poyarekar <siddhesh@xxxxxxxxxx>
+
+ * sysdeps/ieee754/dbl-64/mpa.h (HALFRAD): Define as TWO23.
+ * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Use mantissa_t.
+
+ * bench/Makefile (bench): Add sin and slowsin.
+ * benchtests/sin-inputs: New file.
+ * benchtests/slowsin-inputs: New file.
+ * benchtests/slowsin.c: New file.
+
+ * benchtests/Makefile: Add benchmarks for slowpow and slowexp.
+ (bench): Add slowexp and slowpow.
+ (exp-ITER): Increase iterations.
+ (pow-ITER): Likewise.
+ * benchtests/exp-inputs: Change input.
+ * benchtests/pow-inputs: Likewise.
+ * benchtests/slowexp-inputs: New file.
+ * benchtests/slowexp.c: New file.
+ * benchtests/slowpow-inputs: New file.
+ * benchtests/slowpow.c: New file.
+
+2013-04-02 Adhemerval Zanella <azanella@xxxxxxxxxxxxxxxxxx>
+
+ * sysdeps/powerpc/powerpc32/fpu/s_rint.S: Remove branch prediction
+ instructions.
+ * sysdeps/powerpc/powerpc32/fpu/s_rintf.S: Likewise.
+ * sysdeps/powerpc/powerpc64/fpu/s_rint.S: Likewise.
+ * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
+ * benchtests/Makefile: Add rint benchtest.
+ * benchtests/rint-inputs: Input for rint benchtest.
+
+2013-04-02 Thomas Schwinge <thomas@xxxxxxxxxxxxxxxx>
+
+ * Versions.def (libm): Add GLIBC_2.18.
+ * include/math.h [!_ISOMAC] (__issignaling, __issignalingf): Add
+ hidden libm prototypes.
+ [!_ISOMAC && !__NO_LONG_DOUBLE_MATH] (__issignalingl): Likewise.
+ * math/Makefile (libm-calls): Add s_issignaling.
+ * math/Versions (libm: GLIBC_2.18): Add __issignaling,
+ __issignalingf, __issignalingl. Adjust all libm.abilist files.
+ * math/bits/mathcalls.h [__USE_GNU] (__issignaling): New prototype
+ declaration.
+ * math/math.h [__USE_GNU] (issignaling): New macro.
+ * sysdeps/ieee754/flt-32/s_issignalingf.c: New file.
+ * sysdeps/ieee754/dbl-64/s_issignaling.c: Likewise.
+ * sysdeps/ieee754/dbl-64/wordsize-64/s_issignaling.c: Likewise.
+ * sysdeps/ieee754/ldbl-96/s_issignalingl.c: Likewise.
+ * sysdeps/ieee754/ldbl-128/s_issignalingl.c: Likewise.
+ * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c: Likewise.
+ * manual/arith.texi (issignaling): New section.
+ * manual/libm-err-tab.pl (@all_functions): Update comment.
+ * math/gen-libm-test.pl (parse_args): Apply special handling for
+ issignaling.
+ * math/libm-test.inc (print_float, issignaling_test): New
+ functions.
+ (check_float_internal): Add issignaling checks.
+ * sysdeps/generic/math-tests.h (SNAN_TESTS_TYPE_CAST): Provide
+ default definition.
+ * sysdeps/powerpc/math-tests.h: New file.
+ * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Add issignaling
+ tests.
+ * math/test-snan.c (TEST_FUNC): Likewise.
+
+2013-03-30 David S. Miller <davem@xxxxxxxxxxxxx>
+
+ * po/de.po: Update from translation team.
+
+2013-03-30 Joseph Myers <joseph@xxxxxxxxxxxxxxxx>
+
+ [BZ #10357]
+ * math/k_casinh.c (__kernel_casinh): Handle arguments with
+ imaginary part less than 1.0 and real part less than 0.5
+ specially.
+ * math/k_casinhf.c (__kernel_casinhf): Likewise.
+ * math/k_casinhl.c (__kernel_casinhl): Likewise.
+ * math/libm-test.inc (UNDERFLOW_EXCEPTION_OK_DOUBLE): New macro.
+ (cacos_test): Add more tests.
+ (casin_test): Likewise.
+ (casinh_test): Likewise.
+ * sysdeps/i386/fpu/libm-test-ulps: Update.
+ * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
+
+2013-03-29 Siddhesh Poyarekar <siddhesh@xxxxxxxxxx>
+
+ * sysdeps/powerpc/power4/fpu/mpa-arch.h (INTEGER_OF): Replace
+ ONE with its value.
+
+ * sysdeps/ieee754/dbl-64/mpa.h (ONE, MONE): Remove defines.
+ (__pow_mp): Replace ONE and MONE with their values.
+ * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
+ * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Likewise.
+ * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
+ * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Likewise.
+ * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
+ * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
+
+ * sysdeps/ieee754/dbl-64/s_tan.c: Fix formatting.
+
+ * sysdeps/ieee754/dbl-64/mpa.h (ZERO, MZERO): Remove defines.
+ (__pow_mp): Replace ZERO and MZERO with their values.
+ * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
+ * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
+ * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
+ * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
+ * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
+ * sysdeps/powerpc/power4/fpu/mpa.c (__mul): Likewise.
+ (__sqr): Likewise.
+
+ * sysdeps/ieee754/dbl-64/s_atan.c: Fix formatting.
+
+ * sysdeps/ieee754/dbl-64/e_log.c: Fix formatting.
+
+2013-03-28 Roland McGrath <roland@xxxxxxxxxxxxx>
+
+ * include/stdlib.h [!SHARED] (__call_tls_dtors):
+ Declare with __attribute__ ((weak)).
+ * stdlib/exit.c (__libc_atexit) [!SHARED]:
+ Call __call_tls_dtors only if it's not NULL.
+
+2013-03-28 Roland McGrath <roland@xxxxxxxxxxxxx>
+
+ * csu/libc-start.c (__libc_start_main) [!SHARED]: If _dl_aux_init
+ didn't do it already, then set _dl_phdr and _dl_phnum based on the
+ magic __ehdr_start linker symbol if it's defined.
+ * sysdeps/mach/hurd/i386/init-first.c (init1) [!SHARED]: Don't set
+ them up here if it was already done.
+
+ * elf/dl-support.c (_dl_phdr): Make pointer to const.
+ (_dl_aux_init): Use const in cast when setting it.
+ * sysdeps/mach/hurd/i386/init-first.c (init1): Remove superfluous cast.
+ * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr): Update decl.
+ * csu/libc-tls.c (__libc_setup_tls): Make PHDR pointer to const.
+
+ * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr, _dl_phnum):
+ Declare them here.
+ * elf/dl-iteratephdr.c [!SHARED] (_dl_phdr, _dl_phnum): Not here.
+ * csu/libc-tls.c: Nor here.
+ * sysdeps/mach/hurd/i386/init-first.c (init1): Nor here.
+
+ * sysdeps/posix/libc_fatal.c: Don't include <sys/syslog.h>.
+ (__libc_message): Never call vsyslog.
+
+2013-03-28 Alan Modra <amodra@xxxxxxxxx>
+
+ * sysdeps/powerpc/powerpc32/start.S (cfi_startproc, cfi_endproc):
+ Define as empty.
+ * sysdeps/powerpc/powerpc64/start.S (cfi_startproc, cfi_endproc):
+ Likewise.
+
+2013-03-28 Adhemerval Zanella <azanella@xxxxxxxxxxxxxxxxxx>
+
+ [BZ #15214]
+ * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Fix spurious
+ underflow.
+ * sysdeps/powerpc/fpu/libm-test-ulps: Update.
+
+2013-03-28 Siddhesh Poyarekar <siddhesh@xxxxxxxxxx>
+
+ [BZ #15304]
+ * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
+ Don't add gid passed as argument.
+
+ * sysdeps/ieee-754/dbl-64/e_atan2.c: Reformat.
+
+2013-03-27 Joseph Myers <joseph@xxxxxxxxxxxxxxxx>
+
+ [BZ #15307]
+ * math/k_casinh.c (__kernel_casinh): Handle arguments with
+ imaginary part between 1.0 and 1.5 and real part less than 0.5
+ specially.
+ * math/k_casinhf.c (__kernel_casinhf): Likewise.
+ * math/k_casinhl.c (__kernel_casinhl): Likewise.
+ * math/libm-test.inc (cacos_test): Add more tests.
+ (casin_test): Likewise.
+ (casinh_test): Likewise.
+ * sysdeps/i386/fpu/libm-test-ulps: Update.
+ * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
+
+2013-03-26 Siddhesh Poyarekar <siddhesh@xxxxxxxxxx>
+
+ * sysdeps/ieee754/dbl-64/mpa.c (__acr): Use integral
+ constants.
+ (norm): Likewise.
+ (denorm): Likewise.
+ (__dbl_mp): Likewise.
+ (add_magnitudes): Likewise.
+ (sub_magnitudes): Likewise.
+ (__add): Likewise.
+ (__sub): Likewise.
+ (__mul): Likewise.
+ (__sqr): Likewise.
+ (__inv): Likewise.
+ (__dvd): Likewise.
+
+ * sysdeps/ieee754/dbl-64/branred.c (__branred): Remove
+ commented code.
+ * sysdeps/ieee754/dbl-64/dosincos.c (__dubsin): Likewise.
+ (__dubcos): Likewise.
+ * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Likewise.
+ (__ieee754_acos): Likewise.
+ * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
+ * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Likewise.
+ (__exp1): Likewise.
+ * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
+ * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
+ (log1): Likewise.
+ (my_log2): Likewise.
+ (checkint): Likewise.
+ * sysdeps/ieee754/dbl-64/e_remainder.c
+ (__ieee754_remainder): Likewise.
+ * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
+ * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Likewise.
+ (bsloww): Likewise.
+ * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
+
+ * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
+ * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T and
+ MANTISSA_STORE_T to store computations on mantissa. Use
+ macros for rounding and division.
+ (denorm): Likewise.
+ (__dbl_mp): Likewise.
+ (add_magnitudes): Likewise.
+ (sub_magnitudes): Likewise.
+ (__mul): Likewise.
+ (__sqr): Likewise.
+ * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h. Define
+ powers of two in terms of TWOPOW macro.
+ (mp_no): Make type of mantissa as MANTISSA_T.
+ [!RADIXI]: Define RADIXI.
+ [!TWO52]: Define TWO52.
+ * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
+
+2013-03-25 Adhemerval Zanella <azanella@xxxxxxxxxxxxxxxxxx>
+
+ * sysdeps/powerpc/fpu/s_llround.c: Fix libm ABI issue with missing
+ llroundl symbol when building for PPC32.
+
+2013-03-24 Mark H Weaver <mhw@xxxxxxxxxx>
+
+ * manual/arith.texi (Normalization Functions): Fix prototypes for
+ scalbn, scalbnf, scalbnl, scalbln, scalblnf, and scalblnl.
+
+2013-03-19 Adhemerval Zanella <azanella@xxxxxxxxxxxxxxxxxx>
+
+ [BZ #13889]
+ * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Increase the
+ high value to check if expl overflow.
+ * sysdeps/ieee754/ldbl-128ibm/w_expl.c (__expl): Fix threshold constants
+ to check for underflow and overflow.
+ * math/libm-test.inc: Add exp test.
+
+2013-03-21 Dmitry V. Levin <ldv@xxxxxxxxxxxx>
+
+ [BZ #11120]
+ * sysdeps/x86_64/strcmp.S: Replace all occurrences of NOT_IN_lib
+ with NOT_IN_libc.
+
+2013-03-21 Adhemerval Zanella <azanella@xxxxxxxxxxxxxxxxxx>
+
+ * sysdeps/powerpc/fpu/w_sqrt.c (compat_symbol): Add sqrtl compat
+ symbol.
+
+2013-03-21 Thomas Schwinge <thomas@xxxxxxxxxxxxxxxx>
+
+ * math/gen-libm-test.pl (parse_args, special_functions): Properly
+ wrap blocks consisting of several statements.
+
+ * sysdeps/generic/math-tests.h: New file.
+ * sysdeps/i386/fpu/math-tests.h: Likewise.
+ * math/test-snan.c: Include it.
+ (TEST_FUNC): Use SNAN_TESTS to short-circuit certain tests.
+
+2013-03-21 Joseph Myers <joseph@xxxxxxxxxxxxxxxx>
+
+ [BZ #15285]
+ * sysdeps/ieee754/ldbl-128/e_j0l.c: Include <float.h>.
+ (__ieee754_j0l): Do not improve calculations using cos of twice
+ input for inputs above LDBL_MAX / 2.0L.
+ (__ieee754_y0l): Likewise.
+ * sysdeps/ieee754/ldbl-128/e_j1l.c: Include <float.h>.
+ (__ieee754_j1l): Do not improve calculations using cos of twice
+ input for inputs above LDBL_MAX / 2.0L.
+ (__ieee754_y1l): Likewise.
+ * math/libm-test.inc (j0_test): Add another test.
+ (j1_test): Likewise.
+ (y0_test): Likewise.
+ (y1_test): Likewise.
+ * sysdeps/i386/fpu/libm-test-ulps: Update.
+
+2013-03-21 Siddhesh Poyarekar <siddhesh@xxxxxxxxxx>
+
+ * Rules ($(objpfx)bench-%.c): Include code from a C source
+ file.
+
+2013-03-21 Joseph Myers <joseph@xxxxxxxxxxxxxxxx>
+
+ [BZ #15287]
+ * math/k_casinh.c (__kernel_casinh): Handle arguments with
+ imaginary part 1.0 and real part less than 0.5 specially.
+ * math/k_casinhf.c (__kernel_casinhf): Likewise.
+ * math/k_casinhl.c (__kernel_casinhl): Likewise.
+ * math/libm-test.inc (cacos_test): Add more tests.
+ (casin_test): Likewise.
+ (casinh_test): Likewise.
+ * sysdeps/i386/fpu/libm-test-ulps: Update.
+ * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
+
+2013-03-21 Siddhesh Poyarekar <siddhesh@xxxxxxxxxx>
+
+ * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Use HALFRAD.
+ * sysdeps/ieee754/dbl-64/sincos32.c (__mpranred): Likewise.
+
+2013-03-20 Joseph Myers <joseph@xxxxxxxxxxxxxxxx>
+
+ * aclocal.m4 (LIBC_CONFIG_VAR): New autoconf macro.
+ * config.make.in (config-cflags-sse4): Remove variable.
+ (config-cflags-avx): Likewise.
+ (config-cflags-sse2avx): Likewise.
+ (config-cflags-novzeroupper): Likewise.
+ (config-asflags-i686): Likewise.
+ (have-mfma4): Likewise.
+ (have-as-vis3): Likewise.
+ (MIG): Likewise.
+ * configure.in (MIG): Do not AC_SUBST.
+ (libc_cv_cc_nofma): Move AC_SUBST next to configure test.
+ (libc_cv_cc_sse4): Do not AC_SUBST.
+ (libc_cv_cc_avx): Likewise.
+ (libc_cv_cc_sse2avx): Likewise.
+ (libc_cv_cc_novzeroupper): Likewise.
+ (libc_cv_cc_fma4): Likewise.
+ (libc_cv_as_i686): Likewise.
+ (libc_cv_sparc_as_vis3): Likewise.
+ * sysdeps/i386/configure.in (config-cflags-sse4): Set using
+ LIBC_CONFIG_VAR.
+ (config-asflags-i686): Likewise.
+ (config-cflags-avx): Likewise.
+ (config-cflags-sse2avx): Likewise.
+ (have-mfma4): Likewise.
+ (config-cflags-novzeroupper): Likewise.
+ * sysdeps/mach/configure.in (MIG): Likewise.
+ * sysdeps/sparc/configure.in (have-as-vis3): Likewise.
+ * sysdeps/x86_64/configure.in (config-cflags-sse4): Set using
+ LIBC_CONFIG_VAR.
+ (config-cflags-avx): Likewise.
+ (config-cflags-sse2avx): Likewise.
+ (have-mfma4): Likewise.
+ (config-cflags-novzeroupper): Likewise.
+ * configure: Regenerated.
+ * sysdeps/i386/configure: Likewise.
+ * sysdeps/mach/configure: Likewise.
+ * sysdeps/sparc/configure: Likewise.
+ * sysdeps/x86_64/configure: Likewise.
+
+2013-03-20 Roland McGrath <roland@xxxxxxxxxxxxx>
+
+ [BZ #14812]
+ * locale/programs/localedef.c (options): Put N_ translation marker
+ on argument names, not just descriptions.
+
+2013-03-20 Marcus Shawcroft <marcus.shawcroft@xxxxxxxxxx>
+
+ * Makerules ($(inst_libdir)/libc.so): Use $(rtlddir).
+
+2013-03-20 OndÃÂej BÃÂlka <neleai@xxxxxxxxx>
+
+ [BZ #14176]
+ * stdlib/stdlib.h (mblen, mbtowc, wctomb): Remove __wur.
+
+2013-03-19 Roland McGrath <roland@xxxxxxxxxxxxx>
+
+ * sysdeps/posix/libc_fatal.c: Include <sys/mman.h>.
+ [!WRITEV_FOR_FATAL] (writev_for_fatal): New function.
+ [!WRITEV_FOR_FATAL] (WRITEV_FOR_FATAL): New macro; call that.
+ [!BEFORE_ABORT] (before_abort): New function.
+ [!BEFORE_ABORT] (BEFORE_ABORT): New macro; call that.
+ * sysdeps/unix/sysv/linux/libc_fatal.c: Trim includes.
+ (writev_for_fatal): New function.
+ (WRITEV_FOR_FATAL): New macro; call that.
+ (backtrace_and_maps): New function.
+ (BEFORE_ABORT): New macro; call that.
+ (struct str_list): Type removed.
+ (__libc_message, __libc_fatal): Functions removed.
+ Include <sysdeps/posix/libc_fatal.c> instead.
+
+2013-03-19 Joseph Myers <joseph@xxxxxxxxxxxxxxxx>
+
+ * math/k_casinhf.c (__kernel_casinhf): Consistently use float
+ constants.
+ * math/k_casinhl.c (__kernel_casinhl): Consistently use long
+ double constants.
+
+2013-03-19 Andreas Schwab <schwab@xxxxxxx>
+
+ * sysdeps/gnu/configure.in: Set libc_cv_rtldir for s390x.
+ * sysdeps/gnu/configure: Regenerate.
+
+ * configure.in: Substitute libc_cv_rtlddir.
+ * configure: Regenerate.
+ * config.make.in (rtlddir): Set from libc_cv_rtlddir.
+ * Makeconfig (rtlddir, inst_rtlddir): New variables.
+ (rtld-LDFLAGS): Use them with $(rtld-installed-name).
+ * elf/Makefile (install-others, CFLAGS-interp.c)
+ (ldso_install, common-ldd-rewrite): Likewise.
+ ($(inst_rtlddir)/$(rtld-installed-name)): Renamed from
+ $(inst_slibdir)/$(rtld-installed-name).
+ * scripts/rellns-sh: Add -p option.
+ * Makerules (make-shlib-link): Use rellns-sh to get relative name
+ for source.
+
+2013-03-19 Siddhesh Poyarekar <siddhesh@xxxxxxxxxx>
+
+ * manual/nptl.texi: Renamed to ...
+ * manual/threads.texi: ... this.
+ * manual/Makefile (chapters): Update.
+
+2013-03-18 Roland McGrath <roland@xxxxxxxxxxxxx>
+
+ [BZ #14812]
+ * argp/argp-parse.c (argp_default_options): Put N_ translation marker
+ on argument names, not just descriptions.
+ * malloc/memusagestat.c (options): Likewise.
+ * nss/getent.c (options): Likewise.
+
+2013-03-18 Benno Schulenberg <bensberg@xxxxxxxxxxxxx>
+
+ [BZ #14812]
+ * iconv/iconv_prog.c (options): Put N_ translation marker
+ on argument names, not just descriptions.
+ * iconv/iconvconfig.c (options): Likewise.
+
2013-03-18 Ondrej Bilka <neleai@xxxxxxxxx>
* sysdeps/x86_64/strlen.S: Replace with new SSE2 based
Modified: trunk/libc/Makeconfig
==============================================================================
--- trunk/libc/Makeconfig (original)
+++ trunk/libc/Makeconfig Sun Apr 28 15:21:50 2013
@@ -151,11 +151,17 @@
endif
inst_libdir = $(install_root)$(libdir)
-# Where to install the shared library and dynamic linker.
+# Where to install the shared library.
ifndef slibdir
slibdir = $(exec_prefix)/lib
endif
inst_slibdir = $(install_root)$(slibdir)
+
+# Where to install the dynamic linker.
+ifndef rtlddir
+rtlddir = $(slibdir)
+endif
+inst_rtlddir = $(install_root)$(rtlddir)
# Prefix to put on files installed in $(libdir). For libraries `libNAME.a',
# the prefix is spliced between `lib' and the name, so the linker switch
@@ -441,7 +447,7 @@
endif
ifeq (yes,$(build-shared))
ifndef rtld-LDFLAGS
-rtld-LDFLAGS = -Wl,-dynamic-linker=$(slibdir)/$(rtld-installed-name)
+rtld-LDFLAGS = -Wl,-dynamic-linker=$(rtlddir)/$(rtld-installed-name)
endif
ifndef rtld-tests-LDFLAGS
ifeq (yes,$(build-hardcoded-path-in-tests))
@@ -598,6 +604,9 @@
# How to run a program we just linked with our library.
# The program binary is assumed to be $(word 2,$^).
built-program-file = $(dir $(word 2,$^))$(notdir $(word 2,$^))
+rtld-prefix = $(elf-objpfx)$(rtld-installed-name) \
+ --library-path \
+ $(rpath-link)$(patsubst %,:%,$(sysdep-library-path))
ifeq (yes,$(build-shared))
comma = ,
sysdep-library-path = \
@@ -611,9 +620,7 @@
# empty.
run-via-rtld-prefix = \
$(if $(strip $(filter $(notdir $(built-program-file)), \
- $(tests-static) $(xtests-static))),, \
- $(elf-objpfx)$(rtld-installed-name) \
- --library-path $(rpath-link)$(patsubst %,:%,$(sysdep-library-path)))
+ $(tests-static) $(xtests-static))),, $(rtld-prefix))
else
run-via-rtld-prefix =
endif
Modified: trunk/libc/Makefile.in
==============================================================================
--- trunk/libc/Makefile.in (original)
+++ trunk/libc/Makefile.in Sun Apr 28 15:21:50 2013
@@ -12,5 +12,9 @@
LANGUAGE=C LC_ALL=C; export LANGUAGE LC_ALL; \
$(MAKE) -r PARALLELMFLAGS="$(PARALLELMFLAGS)" -C $(srcdir) objdir=`pwd` $@
-bench:
+bench bench-clean:
$(MAKE) -C $(srcdir)/benchtests $(PARALLELMFLAGS) objdir=`pwd` $@
+
+# Convenience target to rebuild ULPs for all math tests.
+regen-ulps:
+ $(MAKE) -C $(srcdir)/math $(PARALLELMFLAGS) objdir=`pwd` $@
Modified: trunk/libc/Makerules
==============================================================================
--- trunk/libc/Makerules (original)
+++ trunk/libc/Makerules Sun Apr 28 15:21:50 2013
@@ -913,7 +913,7 @@
symbolic-link-prog := $(common-objpfx)elf/sln
symbolic-link-list := $(common-objpfx)elf/symlink.list
define make-shlib-link
-echo $(<F) $@ >> $(symbolic-link-list)
+echo `$(..)scripts/rellns-sh -p $< $@` $@ >> $(symbolic-link-list)
endef
else # cross-compiling
# We need a definition that can be used by elf/Makefile's install rules.
@@ -923,7 +923,7 @@
ifndef make-shlib-link
define make-shlib-link
rm -f $@
-$(LN_S) $(<F) $@
+$(LN_S) `$(..)scripts/rellns-sh -p $< $@` $@
endef
endif
@@ -977,7 +977,7 @@
cat $<; \
echo 'GROUP ( $(slibdir)/libc.so$(libc.so-version)' \
'$(libdir)/$(patsubst %,$(libtype.oS),$(libprefix)$(libc-name))'\
- ' AS_NEEDED (' $(slibdir)/$(rtld-installed-name) ') )' \
+ ' AS_NEEDED (' $(rtlddir)/$(rtld-installed-name) ') )' \
) > $@.new
mv -f $@.new $@
Modified: trunk/libc/NEWS
==============================================================================
--- trunk/libc/NEWS (original)
+++ trunk/libc/NEWS Sun Apr 28 15:21:50 2013
@@ -9,9 +9,19 @@
* The following bugs are resolved with this release:
- 11561, 12723, 13550, 13951, 14142, 14200, 14317, 14327, 14496, 14920,
- 14964, 14981, 14982, 14985, 14994, 14996, 15003, 15006, 15020, 15023,
- 15036, 15054, 15055, 15062, 15078, 15160, 15232, 15234, 15283.
+ 10060, 10062, 10357, 11120, 11561, 12723, 13550, 13889, 13951, 13988,
+ 14142, 14176, 14200, 14280, 14293, 14317, 14327, 14478, 14496, 14686,
+ 14812, 14888, 14920, 14964, 14981, 14982, 14985, 14994, 14996, 15003,
+ 15006, 15007, 15020, 15023, 15036, 15054, 15055, 15062, 15078, 15160,
+ 15214, 15221, 15232, 15234, 15283, 15285, 15287, 15304, 15305, 15307,
+ 15309, 15327, 15330, 15335, 15336, 15337, 15342, 15346, 15361, 15366,
+ 15394, 15405, 15406, 15409.
+
+* CVE-2013-0242 Buffer overrun in regexp matcher has been fixed (Bugzilla
+ #15078).
+
+* CVE-2013-1914 Stack overflow in getaddrinfo with many results has been
+ fixed (Bugzilla #15330).
* Add support for calling C++11 thread_local object destructors on thread
and program exit. This needs compiler support for offloading C++11
@@ -25,6 +35,8 @@
* Added a benchmark framework to track performance of functions in glibc.
+* New <math.h> macro named issignaling to check for a signaling NaN (sNaN).
+ It is based on draft TS 18661 and currently enabled as a GNU extension.
Version 2.17
@@ -371,10 +383,10 @@
* The following bugs are resolved with this release:
- 3662, 4457, 5553, 10162, 10401, 10414, 10554, 10824, 10864, 10915, 10918,
- 10936, 10939, 10958, 10968, 10969, 10972, 10992, 11000, 11001, 11007,
- 11010, 11027, 11039, 11040, 11041, 11043, 11046, 11056, 11070, 11093,
- 11115, 11120, 11125, 11126, 11127, 11134, 11141, 11149, 11183, 11184,
+ 3662, 4457, 5553, 10162, 10401, 10414, 10554, 10824, 10864, 10915,
+ 10918, 10936, 10939, 10958, 10968, 10969, 10972, 10992, 11000, 11001,
+ 11007, 11010, 11027, 11039, 11040, 11041, 11043, 11046, 11056, 11070,
+ 11093, 11115, 11125, 11126, 11127, 11134, 11141, 11149, 11183, 11184,
11185, 11186, 11187, 11188, 11189, 11190, 11191, 11192, 11193, 11194,
11200, 11230, 11235, 11242, 11254, 11258, 11271, 11272, 11276, 11279,
11287, 11292, 11319, 11332, 11333, 11387, 11389, 11390, 11394, 11397,
Modified: trunk/libc/README
==============================================================================
--- trunk/libc/README (original)
+++ trunk/libc/README Sun Apr 28 15:21:50 2013
@@ -40,7 +40,7 @@
In GNU/Hurd systems, it works with a microkernel and Hurd servers.
The GNU C Library implements much of the POSIX.1 functionality in the
-GNU/Hurd system, using configurations i[34567]86-*-gnu. The current
+GNU/Hurd system, using configurations i[4567]86-*-gnu. The current
GNU/Hurd support requires out-of-tree patches that will eventually be
incorporated into an official GNU C Library release.
Modified: trunk/libc/Rules
==============================================================================
--- trunk/libc/Rules (original)
+++ trunk/libc/Rules Sun Apr 28 15:21:50 2013
@@ -189,30 +189,6 @@
endif # tests
-# Build and run benchmark programs.
-binaries-bench := $(addprefix $(objpfx)bench-,$(bench))
-
-run-bench = $(test-wrapper-env) \
- GCONV_PATH=$(common-objpfx)iconvdata LC_ALL=C \
- $($*-ENV) $(run-via-rtld-prefix) $${run}
-
-bench: $(binaries-bench)
- if [ -f $(objpfx)bench.out ]; then \
- mv -f $(objpfx)bench.out $(objpfx)bench.out.old; \
- fi
- for run in $^; do \
- eval $(run-bench) >> $(objpfx)bench.out; \
- done
-
-$(binaries-bench): %: %.o \
- $(sort $(filter $(common-objpfx)lib%,$(link-libc))) \
- $(addprefix $(csu-objpfx),start.o) $(+preinit) $(+postinit)
- $(+link)
-
-$(objpfx)bench-%.c: %-inputs bench-skeleton.c
- $(..)scripts/bench.pl $(patsubst %-inputs,%,$<) \
- $($*-ITER) $($*-ARGLIST) $($*-RET) > $@
-
.PHONY: distclean realclean subdir_distclean subdir_realclean \
subdir_clean subdir_mostlyclean subdir_testclean
Modified: trunk/libc/Versions.def
==============================================================================
--- trunk/libc/Versions.def (original)
+++ trunk/libc/Versions.def Sun Apr 28 15:21:50 2013
@@ -58,6 +58,7 @@
GLIBC_2.3.4
GLIBC_2.4
GLIBC_2.15
+ GLIBC_2.18
}
libnsl {
GLIBC_2.0
Modified: trunk/libc/aclocal.m4
==============================================================================
--- trunk/libc/aclocal.m4 (original)
+++ trunk/libc/aclocal.m4 Sun Apr 28 15:21:50 2013
@@ -241,3 +241,43 @@
$4
fi
AC_MSG_RESULT($libc_linker_feature)])
+
+dnl Add a makefile variable, with value set from a shell string
+dnl (expanded by the shell inside double quotes), to config.make.
+dnl LIBC_CONFIG_VAR(make-variable, shell-value)
+AC_DEFUN([LIBC_CONFIG_VAR],
+[config_vars="$config_vars
+$1 = $2"])
+
+dnl Check that function FUNC was inlined as a builtin. The code fragment
+dnl CODE is compiled with additional options CC_OPTION. If FUNC is
+dnl not found in the assembly then it is assumed the compiler has support
+dnl for this builtin and has inlined the call. If the compiler has the
+dnl feature then ACTION-IF-TRUE is called, otherwise ACTION-IF-FALSE.
+dnl It is up to the caller to provide a CC_OPTION that ensures the
+dnl builtin is inlined if present.
+dnl Warning: This may not work for some machines. For example on ARM the
+dnl ABI dictates that some functions should not be inlined and instead
+dnl should be provided by a compiler helper library e.g. __aeabi_memcpy.
+dnl This is done to reduce code size.
+dnl LIBC_COMPILER_BUILTIN([func], [code], [cc_option], [action-if-true], [action-if-false])
+AC_DEFUN([LIBC_COMPILER_BUILTIN_INLINED],
+[AC_MSG_CHECKING([for compiler support of inlined builtin function $1])
+libc_compiler_builtin_inlined=no
+cat > conftest.c <<EOF
+int _start (void) { $2 return 0; }
+EOF
+if ! AC_TRY_COMMAND([${CC-cc} $CFLAGS $CPPFLAGS $LDFLAGS
+ $3 -nostdlib -nostartfiles
+ -S conftest.c -o - | fgrep "$1"
+ 1>&AS_MESSAGE_LOG_FD])
+then
+ libc_compiler_builtin_inlined=yes
+fi
+rm -f conftest*
+if test $libc_compiler_builtin_inlined = yes; then
+ $4
+else
+ $5
+fi
+AC_MSG_RESULT($libc_compiler_builtin_inlined)])
Modified: trunk/libc/argp/argp-parse.c
==============================================================================
--- trunk/libc/argp/argp-parse.c (original)
+++ trunk/libc/argp/argp-parse.c Sun Apr 28 15:21:50 2013
@@ -100,9 +100,10 @@
{
{"help", '?', 0, 0, N_("Give this help list"), -1},
{"usage", OPT_USAGE, 0, 0, N_("Give a short usage message")},
- {"program-name",OPT_PROGNAME,"NAME", OPTION_HIDDEN, N_("Set the program name")},
- {"HANG", OPT_HANG, "SECS", OPTION_ARG_OPTIONAL | OPTION_HIDDEN,
- N_("Hang for SECS seconds (default 3600)")},
+ {"program-name",OPT_PROGNAME, N_("NAME"), OPTION_HIDDEN,
+ N_("Set the program name")},
+ {"HANG", OPT_HANG, N_("SECS"), OPTION_ARG_OPTIONAL | OPTION_HIDDEN,
+ N_("Hang for SECS seconds (default 3600)")},
{0, 0}
};
Modified: trunk/libc/benchtests/Makefile
==============================================================================
--- trunk/libc/benchtests/Makefile (original)
+++ trunk/libc/benchtests/Makefile Sun Apr 28 15:21:50 2013
@@ -25,7 +25,9 @@
# - Define foo-ITER with the number of iterations you want to run. Keep it
# high enough that the overhead of clock_gettime is only a small fraction of
-# the total run time of the test.
+# the total run time of the test. A good idea would be to keep the run time
+# of each test at around 10 seconds for x86_64. That is just a guideline,
+# since some scenarios may require higher run times.
# - Define foo-ARGLIST as a colon separated list of types of the input
# arguments. Use `void` if function does not take any inputs. Put in quotes
@@ -43,17 +45,136 @@
# See pow-inputs for an example.
subdir := benchtests
-bench := exp pow
+bench := exp pow rint sin cos tan atan modf \
+ slowexp slowpow slowsin slowcos slowtan slowatan
-exp-ITER = 100000
+# exp function fast path: sysdeps/ieee754/dbl-64/e_exp.c
+exp-ITER = 5e8
exp-ARGLIST = double
exp-RET = double
LDFLAGS-bench-exp = -lm
-pow-ITER = 100000
+# pow function fast path: sysdeps/ieee754/dbl-64/e_pow.c
+pow-ITER = 2e8
pow-ARGLIST = double:double
pow-RET = double
LDFLAGS-bench-pow = -lm
+rint-ITER = 250000000
+rint-ARGLIST = double
+rint-RET = double
+LDFLAGS-bench-rint = -lm
+
+# exp function slowest path: sysdeps/ieee754/dbl-64/mpexp.c
+slowexp-ITER = 3e5
+slowexp-ARGLIST = double
+slowexp-RET = double
+slowexp-INCLUDE = slowexp.c
+LDFLAGS-bench-slowexp = -lm
+
+# sin function fast path: sysdeps/ieee754/dbl-64/s_sin.c
+sin-ITER = 3e9
+sin-ARGLIST = double
+sin-RET = double
+LDFLAGS-bench-sin = -lm
+
+# cos function fast path: sysdeps/ieee754/dbl-64/s_sin.c
+cos-ITER = 3e9
+cos-ARGLIST = double
+cos-RET = double
+LDFLAGS-bench-cos = -lm
+
+# tan function fast path: sysdeps/ieee754/dbl-64/s_tan.c
+tan-ITER = 3e9
+tan-ARGLIST = double
+tan-RET = double
+LDFLAGS-bench-tan = -lm
+
+# atan function fast path: sysdeps/ieee754/dbl-64/s_atan.c
+atan-ITER = 6e9
+atan-ARGLIST = double
+atan-RET = double
+LDFLAGS-bench-atan = -lm
+
+# pow function slowest path: sysdeps/ieee754/dbl-64/slowpow.c
+slowpow-ITER = 1e5
+slowpow-ARGLIST = double:double
+slowpow-RET = double
+slowpow-INCLUDE = slowpow.c
+LDFLAGS-bench-slowpow = -lm
+
+# sin function slowest path: sysdeps/ieee754/dbl-64/sincos32.c
+slowsin-ITER = 3e7
+slowsin-ARGLIST = double
+slowsin-RET = double
+slowsin-INCLUDE = slowsin.c
+LDFLAGS-bench-slowsin = -lm
+
+# cos function slowest path: sysdeps/ieee754/dbl-64/sincos32.c
+slowcos-ITER = 3e7
+slowcos-ARGLIST = double
+slowcos-RET = double
+slowcos-INCLUDE = slowcos.c
+LDFLAGS-bench-slowcos = -lm
+
+# tan function slowest path: sysdeps/ieee754/dbl-64/mptan.c
+slowtan-ITER = 3e7
+slowtan-ARGLIST = double
+slowtan-RET = double
+slowtan-INCLUDE = slowtan.c
+LDFLAGS-bench-slowtan = -lm
+
+# atan function slowest path: sysdeps/ieee754/dbl-64/mpatan.c
+slowatan-ITER = 3e8
+slowatan-ARGLIST = double
+slowatan-RET = double
+slowatan-INCLUDE = slowatan.c
+LDFLAGS-bench-slowatan = -lm
+
+
+
+# Rules to build and execute the benchmarks. Do not put any benchmark
+# parameters beyond this point.
+
include ../Makeconfig
include ../Rules
+
+binaries-bench := $(addprefix $(objpfx)bench-,$(bench))
+
+# This makes sure CPPFLAGS-nonlib and CFLAGS-nonlib are passed
+# for all these modules.
+cpp-srcs-left := $(binaries-bench:=.c)
+lib := nonlib
+include $(patsubst %,$(..)cppflags-iterator.mk,$(cpp-srcs-left))
+
+bench-deps := bench-skeleton.c Makefile
+
+run-bench = $(test-wrapper-env) \
+ GCONV_PATH=$(common-objpfx)iconvdata LC_ALL=C \
+ $($*-ENV) $(rtld-prefix) $${run}
+
+bench-clean:
+ rm -f $(binaries-bench) $(addsuffix .o,$(binaries-bench))
+
+bench: $(binaries-bench)
+ { for run in $^; do \
+ echo "Running $${run}" >&2; \
+ $(run-bench); \
+ done; } > $(objpfx)bench.out-tmp; \
+ if [ -f $(objpfx)bench.out ]; then \
+ mv -f $(objpfx)bench.out $(objpfx)bench.out.old; \
+ fi; \
+ mv -f $(objpfx)bench.out-tmp $(objpfx)bench.out
+
+$(binaries-bench): %: %.o \
+ $(sort $(filter $(common-objpfx)lib%,$(link-libc))) \
+ $(addprefix $(csu-objpfx),start.o) $(+preinit) $(+postinit)
+ $(+link)
+
+$(objpfx)bench-%.c: %-inputs $(bench-deps)
+ { if [ -n "$($*-INCLUDE)" ]; then \
+ cat $($*-INCLUDE); \
+ fi; \
+ $(..)scripts/bench.pl $(patsubst %-inputs,%,$<) \
+ $($*-ITER) $($*-ARGLIST) $($*-RET); } > $@-tmp
+ mv -f $@-tmp $@
Modified: trunk/libc/benchtests/exp-inputs
==============================================================================
--- trunk/libc/benchtests/exp-inputs (original)
+++ trunk/libc/benchtests/exp-inputs Sun Apr 28 15:21:50 2013
@@ -1,1 +1,1 @@
-708.00096423260981737257679924368858
+42
Modified: trunk/libc/benchtests/pow-inputs
==============================================================================
--- trunk/libc/benchtests/pow-inputs (original)
+++ trunk/libc/benchtests/pow-inputs Sun Apr 28 15:21:50 2013
@@ -1,1 +1,1 @@
-1.0000000000000020, 1.5
+42.0, 42.0
Modified: trunk/libc/config.make.in
==============================================================================
--- trunk/libc/config.make.in (original)
+++ trunk/libc/config.make.in Sun Apr 28 15:21:50 2013
@@ -11,6 +11,7 @@
datadir = @datadir@
libdir = @libdir@
slibdir = @libc_cv_slibdir@
+rtlddir = @libc_cv_rtlddir@
localedir = @libc_cv_localedir@
sysconfdir = @libc_cv_sysconfdir@
libexecdir = @libexecdir@
@@ -36,12 +37,7 @@
asflags-cpu = @libc_cv_cc_submachine@
config-extra-cflags = @libc_extra_cflags@
-config-cflags-sse4 = @libc_cv_cc_sse4@
-config-cflags-avx = @libc_cv_cc_avx@
-config-cflags-sse2avx = @libc_cv_cc_sse2avx@
-config-cflags-novzeroupper = @libc_cv_cc_novzeroupper@
config-cflags-nofma = @libc_cv_cc_nofma@
-config-asflags-i686 = @libc_cv_as_i686@
defines = @DEFINES@
sysheaders = @sysheaders@
@@ -57,8 +53,6 @@
unwind-find-fde = @libc_cv_gcc_unwind_find_fde@
have-forced-unwind = @libc_cv_forced_unwind@
have-fpie = @libc_cv_fpie@
-have-mfma4 = @libc_cv_cc_fma4@
-have-as-vis3 = @libc_cv_sparc_as_vis3@
gnu89-inline-CFLAGS = @gnu89_inline@
have-ssp = @libc_cv_ssp@
have-selinux = @have_selinux@
@@ -114,7 +108,6 @@
NM = @NM@
MAKEINFO = @MAKEINFO@
AS = $(CC) -c
-MIG = @MIG@
BISON = @BISON@
AUTOCONF = @AUTOCONF@
OBJDUMP = @OBJDUMP@
Modified: trunk/libc/configure
==============================================================================
--- trunk/libc/configure (original)
+++ trunk/libc/configure Sun Apr 28 15:21:50 2013
@@ -581,19 +581,12 @@
static
ldd_rewrite_script
use_ldconfig
-libc_cv_sparc_as_vis3
-libc_cv_as_i686
-libc_cv_cc_nofma
-libc_cv_cc_fma4
-libc_cv_cc_novzeroupper
-libc_cv_cc_sse2avx
-libc_cv_cc_avx
-libc_cv_cc_sse4
libc_cv_forced_unwind
libc_cv_rootsbindir
libc_cv_localstatedir
libc_cv_sysconfdir
libc_cv_localedir
+libc_cv_rtlddir
libc_cv_slibdir
old_glibc_headers
use_nscd
@@ -606,6 +599,7 @@
have_libaudit
LIBGD
libc_cv_cc_submachine
+libc_cv_cc_nofma
exceptions
gnu89_inline
libc_cv_ssp
@@ -638,7 +632,6 @@
MAKE
LD
AS
-MIG
OBJCOPY
OBJDUMP
AR
@@ -3943,7 +3936,7 @@
# type and particular chip. If an add-on configure fragment already set
# base_machine, we don't change it.
test -n "$base_machine" || case "$machine" in
-i[34567]86) base_machine=i386 machine=i386/$machine ;;
+i[4567]86) base_machine=i386 machine=i386/$machine ;;
powerpc) base_machine=powerpc machine=powerpc/powerpc32 ;;
powerpc64) base_machine=powerpc machine=powerpc/powerpc64 ;;
s390) base_machine=s390 machine=s390/s390-32 ;;
@@ -6934,6 +6927,7 @@
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $libc_cv_cc_nofma" >&5
$as_echo "$libc_cv_cc_nofma" >&6; }
+
if test -n "$submachine"; then
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for compiler option for CPU variant" >&5
$as_echo_n "checking for compiler option for CPU variant... " >&6; }
@@ -7379,14 +7373,6 @@
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: *** be removed." >&5
$as_echo "$as_me: WARNING: *** be removed." >&2;}
fi
-
-
-
-
-
-
-
-
Modified: trunk/libc/configure.in
==============================================================================
--- trunk/libc/configure.in (original)
+++ trunk/libc/configure.in Sun Apr 28 15:21:50 2013
@@ -567,7 +567,7 @@
# type and particular chip. If an add-on configure fragment already set
# base_machine, we don't change it.
test -n "$base_machine" || case "$machine" in
-i[34567]86) base_machine=i386 machine=i386/$machine ;;
+i[4567]86) base_machine=i386 machine=i386/$machine ;;
powerpc) base_machine=powerpc machine=powerpc/powerpc32 ;;
powerpc64) base_machine=powerpc machine=powerpc/powerpc64 ;;
s390) base_machine=s390 machine=s390/s390-32 ;;
@@ -977,7 +977,6 @@
AC_PROG_LN_S
LIBC_PROG_BINUTILS
-AC_SUBST(MIG)dnl Needed by sysdeps/mach/configure.in
# Accept binutils 2.20 or newer.
AC_CHECK_PROG_VER(AS, $AS, --version,
@@ -1971,6 +1970,7 @@
for opt in -ffp-contract=off -mno-fused-madd; do
LIBC_TRY_CC_OPTION([$opt], [libc_cv_cc_nofma=$opt; break])
done])
+AC_SUBST(libc_cv_cc_nofma)
if test -n "$submachine"; then
AC_CACHE_CHECK([for compiler option for CPU variant],
@@ -2176,21 +2176,12 @@
AC_SUBST(old_glibc_headers)
AC_SUBST(libc_cv_slibdir)
+AC_SUBST(libc_cv_rtlddir)
AC_SUBST(libc_cv_localedir)
AC_SUBST(libc_cv_sysconfdir)
AC_SUBST(libc_cv_localstatedir)
AC_SUBST(libc_cv_rootsbindir)
AC_SUBST(libc_cv_forced_unwind)
-
-dnl sysdeps/CPU/configure.in checks set this via arch-specific asm tests
-AC_SUBST(libc_cv_cc_sse4)
-AC_SUBST(libc_cv_cc_avx)
-AC_SUBST(libc_cv_cc_sse2avx)
-AC_SUBST(libc_cv_cc_novzeroupper)
-AC_SUBST(libc_cv_cc_fma4)
-AC_SUBST(libc_cv_cc_nofma)
-AC_SUBST(libc_cv_as_i686)
-AC_SUBST(libc_cv_sparc_as_vis3)
if test x$use_ldconfig = xyes; then
AC_DEFINE(USE_LDCONFIG)
Modified: trunk/libc/csu/libc-start.c
==============================================================================
--- trunk/libc/csu/libc-start.c (original)
+++ trunk/libc/csu/libc-start.c Sun Apr 28 15:21:50 2013
@@ -15,6 +15,7 @@
License along with the GNU C Library; if not, see
<http://www.gnu.org/licenses/>. */
+#include <assert.h>
#include <stdlib.h>
#include <stdio.h>
#include <unistd.h>
@@ -151,7 +152,25 @@
}
# endif
_dl_aux_init (auxvec);
-# endif
+ if (GL(dl_phdr) == NULL)
+# endif
+ {
+ /* Starting from binutils-2.23, the linker will define the
+ magic symbol __ehdr_start to point to our own ELF header
+ if it is visible in a segment that also includes the phdrs.
+ So we can set up _dl_phdr and _dl_phnum even without any
+ information from auxv. */
+
+ extern const ElfW(Ehdr) __ehdr_start
+ __attribute__ ((weak, visibility ("hidden")));
+ if (&__ehdr_start != NULL)
+ {
+ assert (__ehdr_start.e_phentsize == sizeof *GL(dl_phdr));
+ GL(dl_phdr) = (const void *) &__ehdr_start + __ehdr_start.e_phoff;
+ GL(dl_phnum) = __ehdr_start.e_phnum;
+ }
+ }
+
# ifdef DL_SYSDEP_OSCHECK
if (!__libc_multiple_libcs)
{
Modified: trunk/libc/csu/libc-tls.c
==============================================================================
--- trunk/libc/csu/libc-tls.c (original)
+++ trunk/libc/csu/libc-tls.c Sun Apr 28 15:21:50 2013
@@ -27,10 +27,6 @@
#ifdef SHARED
#error makefile bug, this file is for static only
#endif
-
-extern ElfW(Phdr) *_dl_phdr;
-extern size_t _dl_phnum;
-
dtv_t _dl_static_dtv[2 + TLS_SLOTINFO_SURPLUS];
@@ -118,7 +114,7 @@
size_t align = 0;
size_t max_align = tcbalign;
size_t tcb_offset;
- ElfW(Phdr) *phdr;
+ const ElfW(Phdr) *phdr;
/* Look through the TLS segment if there is any. */
if (_dl_phdr != NULL)
Modified: trunk/libc/elf/Makefile
==============================================================================
--- trunk/libc/elf/Makefile (original)
+++ trunk/libc/elf/Makefile Sun Apr 28 15:21:50 2013
@@ -66,7 +66,7 @@
ifeq (yes,$(build-shared))
extra-objs = $(all-rtld-routines:%=%.os) soinit.os sofini.os interp.os
generated += librtld.os dl-allobjs.os ld.so ldd
-install-others = $(inst_slibdir)/$(rtld-installed-name)
+install-others = $(inst_rtlddir)/$(rtld-installed-name)
install-bin-script = ldd
endif
@@ -151,12 +151,6 @@
selinux-enabled := $(shell cat /selinux/enforce 2> /dev/null)
ifneq ($(selinux-enabled),1)
tests-execstack-yes = tst-execstack tst-execstack-needed tst-execstack-prog
-endif
-ifeq (x86_64,$(config-machine))
-tests += tst-audit3 tst-audit4 tst-audit5
-ifeq (yes,$(config-cflags-avx))
-tests += tst-audit6 tst-audit7
-endif
endif
endif
ifeq ($(run-built-tests),yes)
@@ -220,13 +214,6 @@
tests += tst-pie1
tests-pie += tst-pie1
endif
-ifeq (x86_64,$(config-machine))
-modules-names += tst-auditmod3a tst-auditmod3b \
- tst-auditmod4a tst-auditmod4b \
- tst-auditmod5a tst-auditmod5b \
- tst-auditmod6a tst-auditmod6b tst-auditmod6c \
- tst-auditmod7a tst-auditmod7b
-endif
modules-execstack-yes = tst-execstack-mod
extra-test-objs += $(addsuffix .os,$(strip $(modules-names)))
# We need this variable to be sure the test modules get the right CPPFLAGS.
@@ -340,7 +327,7 @@
| $(AWK) '($$7 ~ /^UND(|EF)$$/ && $$1 != "0:" && $$4 != "REGISTER") { print; p=1 } END { exit p != 0 }'
# interp.c exists just to get this string into the libraries.
-CFLAGS-interp.c = -D'RUNTIME_LINKER="$(slibdir)/$(rtld-installed-name)"' \
+CFLAGS-interp.c = -D'RUNTIME_LINKER="$(rtlddir)/$(rtld-installed-name)"' \
-DNOT_IN_libc=1
$(objpfx)interp.os: $(common-objpfx)config.make
@@ -372,18 +359,19 @@
$(make-target-directory)
$(do-install-program)
-$(inst_slibdir)/$(rtld-installed-name): \
+$(inst_rtlddir)/$(rtld-installed-name): \
$(inst_slibdir)/$(rtld-version-installed-name) \
$(inst_slibdir)/libc-$(version).so
+ $(make-target-directory)
$(make-shlib-link)
# Special target called by parent to install just the dynamic linker.
.PHONY: ldso_install
-ldso_install: $(inst_slibdir)/$(rtld-installed-name)
-endif
-
-
-common-ldd-rewrite = -e 's%@RTLD@%$(slibdir)/$(rtld-installed-name)%g' \
+ldso_install: $(inst_rtlddir)/$(rtld-installed-name)
+endif
+
+
+common-ldd-rewrite = -e 's%@RTLD@%$(rtlddir)/$(rtld-installed-name)%g' \
-e 's%@VERSION@%$(version)%g' \
-e 's|@PKGVERSION@|$(PKGVERSION)|g' \
-e 's|@REPORT_BUGS_TO@|$(REPORT_BUGS_TO)|g'
@@ -1000,27 +988,6 @@
$(objpfx)tst-audit2.out: $(objpfx)tst-auditmod1.so
tst-audit2-ENV = LD_AUDIT=$(objpfx)tst-auditmod1.so
-$(objpfx)tst-audit3: $(objpfx)tst-auditmod3a.so
-$(objpfx)tst-audit3.out: $(objpfx)tst-auditmod3b.so
-tst-audit3-ENV = LD_AUDIT=$(objpfx)tst-auditmod3b.so
-
-$(objpfx)tst-audit4: $(objpfx)tst-auditmod4a.so
-$(objpfx)tst-audit4.out: $(objpfx)tst-auditmod4b.so
-tst-audit4-ENV = LD_AUDIT=$(objpfx)tst-auditmod4b.so
-
-$(objpfx)tst-audit5: $(objpfx)tst-auditmod5a.so
-$(objpfx)tst-audit5.out: $(objpfx)tst-auditmod5b.so
-tst-audit5-ENV = LD_AUDIT=$(objpfx)tst-auditmod5b.so
-
-$(objpfx)tst-audit6: $(objpfx)tst-auditmod6a.so
-$(objpfx)tst-audit6.out: $(objpfx)tst-auditmod6b.so \
- $(objpfx)tst-auditmod6c.so
-tst-audit6-ENV = LD_AUDIT=$(objpfx)tst-auditmod6b.so:$(objpfx)tst-auditmod6c.so
-
-$(objpfx)tst-audit7: $(objpfx)tst-auditmod7a.so
-$(objpfx)tst-audit7.out: $(objpfx)tst-auditmod7b.so
-tst-audit7-ENV = LD_AUDIT=$(objpfx)tst-auditmod7b.so
-
$(objpfx)tst-audit8: $(common-objpfx)math/libm.so
$(objpfx)tst-audit8.out: $(objpfx)tst-auditmod1.so
tst-audit8-ENV = LD_AUDIT=$(objpfx)tst-auditmod1.so
@@ -1148,19 +1115,6 @@
$< > $@
cmp $@ tst-initorder2.exp > /dev/null
-ifeq (yes,$(config-cflags-avx))
-AVX-CFLAGS=-mavx
-ifeq (yes,$(config-cflags-novzeroupper))
-AVX-CFLAGS+=-mno-vzeroupper
-endif
-CFLAGS-tst-audit4.c += $(AVX-CFLAGS)
-CFLAGS-tst-auditmod4a.c += $(AVX-CFLAGS)
-CFLAGS-tst-auditmod4b.c += $(AVX-CFLAGS)
-CFLAGS-tst-auditmod6b.c += $(AVX-CFLAGS)
-CFLAGS-tst-auditmod6c.c += $(AVX-CFLAGS)
-CFLAGS-tst-auditmod7b.c += $(AVX-CFLAGS)
-endif
-
$(objpfx)tst-relsort1: $(libdl)
$(objpfx)tst-relsort1mod1.so: $(libm) $(objpfx)tst-relsort1mod2.so
$(objpfx)tst-relsort1mod2.so: $(libm)
Modified: trunk/libc/elf/dl-iteratephdr.c
==============================================================================
--- trunk/libc/elf/dl-iteratephdr.c (original)
+++ trunk/libc/elf/dl-iteratephdr.c Sun Apr 28 15:21:50 2013
@@ -92,10 +92,6 @@
#else
-/* dl-support.c defines these and initializes them early on. */
-extern ElfW(Phdr) *_dl_phdr;
-extern size_t _dl_phnum;
-
int
dl_iterate_phdr (int (*callback) (struct dl_phdr_info *info,
size_t size, void *data), void *data)
Modified: trunk/libc/elf/dl-load.c
==============================================================================
--- trunk/libc/elf/dl-load.c (original)
+++ trunk/libc/elf/dl-load.c Sun Apr 28 15:21:50 2013
@@ -797,6 +797,9 @@
(const void *) (D_PTR (l, l_info[DT_STRTAB])
+ l->l_info[DT_RUNPATH]->d_un.d_val),
l, "RUNPATH");
+ /* During rtld init the memory is allocated by the stub malloc,
+ prevent any attempt to free it by the normal malloc. */
+ l->l_runpath_dirs.malloced = 0;
/* The RPATH is ignored. */
l->l_rpath_dirs.dirs = (void *) -1;
@@ -813,6 +816,9 @@
(const void *) (D_PTR (l, l_info[DT_STRTAB])
+ l->l_info[DT_RPATH]->d_un.d_val),
l, "RPATH");
+ /* During rtld init the memory is allocated by the stub
+ malloc, prevent any attempt to free it by the normal
+ malloc. */
l->l_rpath_dirs.malloced = 0;
}
else
Modified: trunk/libc/elf/dl-open.c
==============================================================================
--- trunk/libc/elf/dl-open.c (original)
+++ trunk/libc/elf/dl-open.c Sun Apr 28 15:21:50 2013
@@ -344,7 +344,7 @@
if (nmaps > 1)
{
uint16_t seen[nmaps];
- memset (seen, '\0', nmaps);
+ memset (seen, '\0', sizeof (seen));
size_t i = 0;
while (1)
{
Modified: trunk/libc/elf/dl-support.c
==============================================================================
--- trunk/libc/elf/dl-support.c (original)
+++ trunk/libc/elf/dl-support.c Sun Apr 28 15:21:50 2013
@@ -129,7 +129,7 @@
int _dl_correct_cache_id = _DL_CACHE_DEFAULT_ID;
ElfW(auxv_t) *_dl_auxv;
-ElfW(Phdr) *_dl_phdr;
+const ElfW(Phdr) *_dl_phdr;
size_t _dl_phnum;
uint64_t _dl_hwcap __attribute__ ((nocommon));
@@ -208,7 +208,7 @@
GLRO(dl_clktck) = av->a_un.a_val;
break;
case AT_PHDR:
- GL(dl_phdr) = (void *) av->a_un.a_val;
+ GL(dl_phdr) = (const void *) av->a_un.a_val;
break;
case AT_PHNUM:
GL(dl_phnum) = av->a_un.a_val;
Modified: trunk/libc/elf/elf.h
==============================================================================
--- trunk/libc/elf/elf.h (original)
+++ trunk/libc/elf/elf.h Sun Apr 28 15:21:50 2013
@@ -251,6 +251,7 @@
#define EM_XTENSA 94 /* Tensilica Xtensa Architecture */
#define EM_AARCH64 183 /* ARM AARCH64 */
#define EM_TILEPRO 188 /* Tilera TILEPro */
+#define EM_MICROBLAZE 189 /* Xilinx MicroBlaze */
#define EM_TILEGX 191 /* Tilera TILE-Gx */
#define EM_NUM 192
@@ -2955,6 +2956,37 @@
#define R_M32R_GOTOFF_LO 64 /* Low 16 bit offset to GOT */
#define R_M32R_NUM 256 /* Keep this the last entry. */
+/* MicroBlaze relocations */
+#define R_MICROBLAZE_NONE 0 /* No reloc. */
+#define R_MICROBLAZE_32 1 /* Direct 32 bit. */
+#define R_MICROBLAZE_32_PCREL 2 /* PC relative 32 bit. */
+#define R_MICROBLAZE_64_PCREL 3 /* PC relative 64 bit. */
+#define R_MICROBLAZE_32_PCREL_LO 4 /* Low 16 bits of PCREL32. */
+#define R_MICROBLAZE_64 5 /* Direct 64 bit. */
+#define R_MICROBLAZE_32_LO 6 /* Low 16 bit. */
+#define R_MICROBLAZE_SRO32 7 /* Read-only small data area. */
+#define R_MICROBLAZE_SRW32 8 /* Read-write small data area. */
+#define R_MICROBLAZE_64_NONE 9 /* No reloc. */
+#define R_MICROBLAZE_32_SYM_OP_SYM 10 /* Symbol Op Symbol relocation. */
+#define R_MICROBLAZE_GNU_VTINHERIT 11 /* GNU C++ vtable hierarchy. */
+#define R_MICROBLAZE_GNU_VTENTRY 12 /* GNU C++ vtable member usage. */
+#define R_MICROBLAZE_GOTPC_64 13 /* PC-relative GOT offset. */
+#define R_MICROBLAZE_GOT_64 14 /* GOT entry offset. */
+#define R_MICROBLAZE_PLT_64 15 /* PLT offset (PC-relative). */
+#define R_MICROBLAZE_REL 16 /* Adjust by program base. */
+#define R_MICROBLAZE_JUMP_SLOT 17 /* Create PLT entry. */
+#define R_MICROBLAZE_GLOB_DAT 18 /* Create GOT entry. */
+#define R_MICROBLAZE_GOTOFF_64 19 /* 64 bit offset to GOT. */
+#define R_MICROBLAZE_GOTOFF_32 20 /* 32 bit offset to GOT. */
+#define R_MICROBLAZE_COPY 21 /* Runtime copy. */
+#define R_MICROBLAZE_TLS 22 /* TLS Reloc. */
+#define R_MICROBLAZE_TLSGD 23 /* TLS General Dynamic. */
+#define R_MICROBLAZE_TLSLD 24 /* TLS Local Dynamic. */
+#define R_MICROBLAZE_TLSDTPMOD32 25 /* TLS Module ID. */
+#define R_MICROBLAZE_TLSDTPREL32 26 /* TLS Offset Within TLS Block. */
+#define R_MICROBLAZE_TLSDTPREL64 27 /* TLS Offset Within TLS Block. */
+#define R_MICROBLAZE_TLSGOTTPREL32 28 /* TLS Offset From Thread Pointer. */
+#define R_MICROBLAZE_TLSTPREL32 29 /* TLS Offset From Thread Pointer. */
/* TILEPro relocations. */
#define R_TILEPRO_NONE 0 /* No reloc */
Removed: trunk/libc/elf/tst-audit3.c
==============================================================================
--- trunk/libc/elf/tst-audit3.c (original)
+++ trunk/libc/elf/tst-audit3.c (removed)
@@ -1,20 +1,0 @@
-/* Test case for x86-64 preserved registers in dynamic linker. */
-
-#include <stdlib.h>
-#include <string.h>
-
-#include <emmintrin.h>
-
-extern __m128i audit_test (__m128i, __m128i, __m128i, __m128i,
- __m128i, __m128i, __m128i, __m128i);
-int
-main (void)
-{
- __m128i xmm = _mm_setzero_si128 ();
- __m128i ret = audit_test (xmm, xmm, xmm, xmm, xmm, xmm, xmm, xmm);
-
- if (memcmp (&xmm, &ret, sizeof (ret)))
- abort ();
-
- return 0;
-}
Removed: trunk/libc/elf/tst-audit4.c
==============================================================================
--- trunk/libc/elf/tst-audit4.c (original)
+++ trunk/libc/elf/tst-audit4.c (removed)
@@ -1,49 +1,0 @@
-/* Test case for x86-64 preserved registers in dynamic linker. */
-
-#ifdef __AVX__
-#include <stdlib.h>
-#include <string.h>
-#include <cpuid.h>
-#include <immintrin.h>
-
-
-static int
-avx_enabled (void)
-{
- unsigned int eax, ebx, ecx, edx;
-
- if (__get_cpuid (1, &eax, &ebx, &ecx, &edx) == 0
- || (ecx & (bit_AVX | bit_OSXSAVE)) != (bit_AVX | bit_OSXSAVE))
- return 0;
-
- /* Check the OS has AVX and SSE saving enabled. */
- asm ("xgetbv" : "=a" (eax), "=d" (edx) : "c" (0));
-
- return (eax & 6) == 6;
-}
-
-
-extern __m256i audit_test (__m256i, __m256i, __m256i, __m256i,
- __m256i, __m256i, __m256i, __m256i);
-int
-main (void)
-{
- /* Run AVX test only if AVX is supported. */
- if (avx_enabled ())
- {
- __m256i ymm = _mm256_setzero_si256 ();
- __m256i ret = audit_test (ymm, ymm, ymm, ymm, ymm, ymm, ymm, ymm);
-
- ymm = _mm256_set1_epi32 (0x12349876);
- if (memcmp (&ymm, &ret, sizeof (ret)))
- abort ();
- }
- return 0;
-}
-#else
-int
-main (void)
-{
- return 0;
-}
-#endif
Removed: trunk/libc/elf/tst-audit5.c
==============================================================================
--- trunk/libc/elf/tst-audit5.c (original)
+++ trunk/libc/elf/tst-audit5.c (removed)
@@ -1,21 +1,0 @@
-/* Test case for x86-64 preserved registers in dynamic linker. */
-
-#include <stdlib.h>
-#include <string.h>
-
-#include <emmintrin.h>
-
-extern __m128i audit_test (__m128i, __m128i, __m128i, __m128i,
- __m128i, __m128i, __m128i, __m128i);
-int
-main (void)
-{
- __m128i xmm = _mm_setzero_si128 ();
- __m128i ret = audit_test (xmm, xmm, xmm, xmm, xmm, xmm, xmm, xmm);
-
- xmm = _mm_set1_epi32 (0x12349876);
- if (memcmp (&xmm, &ret, sizeof (ret)))
- abort ();
-
- return 0;
-}
Removed: trunk/libc/elf/tst-audit6.c
==============================================================================
--- trunk/libc/elf/tst-audit6.c (original)
+++ trunk/libc/elf/tst-audit6.c (removed)
@@ -1,42 +1,0 @@
-/* Test case for x86-64 preserved registers in dynamic linker. */
-
-#include <stdlib.h>
-#include <string.h>
-#include <cpuid.h>
-#include <emmintrin.h>
-
-extern __m128i audit_test (__m128i, __m128i, __m128i, __m128i,
- __m128i, __m128i, __m128i, __m128i);
-
-
-static int
-avx_enabled (void)
-{
- unsigned int eax, ebx, ecx, edx;
-
- if (__get_cpuid (1, &eax, &ebx, &ecx, &edx) == 0
- || (ecx & (bit_AVX | bit_OSXSAVE)) != (bit_AVX | bit_OSXSAVE))
- return 0;
-
- /* Check the OS has AVX and SSE saving enabled. */
- asm ("xgetbv" : "=a" (eax), "=d" (edx) : "c" (0));
-
- return (eax & 6) == 6;
-}
-
-
-int
-main (void)
-{
- /* Run AVX test only if AVX is supported. */
- if (avx_enabled ())
- {
- __m128i xmm = _mm_setzero_si128 ();
- __m128i ret = audit_test (xmm, xmm, xmm, xmm, xmm, xmm, xmm, xmm);
-
- xmm = _mm_set1_epi32 (0x98abcdef);
- if (memcmp (&xmm, &ret, sizeof (ret)))
- abort ();
- }
- return 0;
-}
Removed: trunk/libc/elf/tst-audit7.c
==============================================================================
--- trunk/libc/elf/tst-audit7.c (original)
+++ trunk/libc/elf/tst-audit7.c (removed)
@@ -1,1 +1,0 @@
-#include "tst-audit6.c"
Removed: trunk/libc/elf/tst-auditmod3a.c
==============================================================================
--- trunk/libc/elf/tst-auditmod3a.c (original)
+++ trunk/libc/elf/tst-auditmod3a.c (removed)
@@ -1,24 +1,0 @@
-/* Test case for x86-64 preserved registers in dynamic linker. */
-
-#include <stdlib.h>
-#include <string.h>
-#include <emmintrin.h>
-
-__m128i
-audit_test (__m128i x0, __m128i x1, __m128i x2, __m128i x3,
- __m128i x4, __m128i x5, __m128i x6, __m128i x7)
-{
- __m128i xmm = _mm_setzero_si128 ();
-
- if (memcmp (&xmm, &x0, sizeof (xmm))
- || memcmp (&xmm, &x1, sizeof (xmm))
- || memcmp (&xmm, &x2, sizeof (xmm))
- || memcmp (&xmm, &x3, sizeof (xmm))
- || memcmp (&xmm, &x4, sizeof (xmm))
- || memcmp (&xmm, &x5, sizeof (xmm))
- || memcmp (&xmm, &x6, sizeof (xmm))
- || memcmp (&xmm, &x7, sizeof (xmm)))
- abort ();
-
- return xmm;
-}
Removed: trunk/libc/elf/tst-auditmod3b.c
==============================================================================
--- trunk/libc/elf/tst-auditmod3b.c (original)
+++ trunk/libc/elf/tst-auditmod3b.c (removed)
@@ -1,151 +1,0 @@
-/* Verify that changing xmm registers in audit library won't affect
- function parameter passing/return. */
-
-#include <dlfcn.h>
-#include <stdint.h>
-#include <stdio.h>
-#include <stdlib.h>
-#include <string.h>
-#include <unistd.h>
-#include <bits/wordsize.h>
-#include <gnu/lib-names.h>
-#include <emmintrin.h>
-
-unsigned int
-la_version (unsigned int v)
-{
- setlinebuf (stdout);
-
- printf ("version: %u\n", v);
-
- char buf[20];
- sprintf (buf, "%u", v);
-
- return v;
-}
-
-void
-la_activity (uintptr_t *cookie, unsigned int flag)
-{
- if (flag == LA_ACT_CONSISTENT)
- printf ("activity: consistent\n");
- else if (flag == LA_ACT_ADD)
- printf ("activity: add\n");
- else if (flag == LA_ACT_DELETE)
- printf ("activity: delete\n");
- else
- printf ("activity: unknown activity %u\n", flag);
-}
-
-char *
-la_objsearch (const char *name, uintptr_t *cookie, unsigned int flag)
-{
- char buf[100];
- const char *flagstr;
- if (flag == LA_SER_ORIG)
- flagstr = "LA_SET_ORIG";
- else if (flag == LA_SER_LIBPATH)
- flagstr = "LA_SER_LIBPATH";
- else if (flag == LA_SER_RUNPATH)
- flagstr = "LA_SER_RUNPATH";
- else if (flag == LA_SER_CONFIG)
- flagstr = "LA_SER_CONFIG";
- else if (flag == LA_SER_DEFAULT)
- flagstr = "LA_SER_DEFAULT";
- else if (flag == LA_SER_SECURE)
- flagstr = "LA_SER_SECURE";
- else
- {
- sprintf (buf, "unknown flag %d", flag);
- flagstr = buf;
- }
- printf ("objsearch: %s, %s\n", name, flagstr);
-
- return (char *) name;
-}
-
-unsigned int
-la_objopen (struct link_map *l, Lmid_t lmid, uintptr_t *cookie)
-{
- printf ("objopen: %ld, %s\n", lmid, l->l_name);
-
- return 3;
-}
-
-void
-la_preinit (uintptr_t *cookie)
-{
- printf ("preinit\n");
-}
-
-unsigned int
-la_objclose (uintptr_t *cookie)
-{
- printf ("objclose\n");
- return 0;
-}
-
-uintptr_t
-la_symbind32 (Elf32_Sym *sym, unsigned int ndx, uintptr_t *refcook,
- uintptr_t *defcook, unsigned int *flags, const char *symname)
-{
- printf ("symbind32: symname=%s, st_value=%#lx, ndx=%u, flags=%u\n",
- symname, (long int) sym->st_value, ndx, *flags);
-
- return sym->st_value;
-}
-
-uintptr_t
-la_symbind64 (Elf64_Sym *sym, unsigned int ndx, uintptr_t *refcook,
- uintptr_t *defcook, unsigned int *flags, const char *symname)
-{
- printf ("symbind64: symname=%s, st_value=%#lx, ndx=%u, flags=%u\n",
- symname, (long int) sym->st_value, ndx, *flags);
-
- return sym->st_value;
-}
-
-#include <tst-audit.h>
-
-ElfW(Addr)
-pltenter (ElfW(Sym) *sym, unsigned int ndx, uintptr_t *refcook,
- uintptr_t *defcook, La_regs *regs, unsigned int *flags,
- const char *symname, long int *framesizep)
-{
- printf ("pltenter: symname=%s, st_value=%#lx, ndx=%u, flags=%u\n",
- symname, (long int) sym->st_value, ndx, *flags);
-
- __m128i xmm = _mm_set1_epi32 (-1);
- asm volatile ("movdqa %0, %%xmm0" : : "x" (xmm) : "xmm0" );
- asm volatile ("movdqa %0, %%xmm1" : : "x" (xmm) : "xmm1" );
- asm volatile ("movdqa %0, %%xmm2" : : "x" (xmm) : "xmm2" );
- asm volatile ("movdqa %0, %%xmm3" : : "x" (xmm) : "xmm3" );
- asm volatile ("movdqa %0, %%xmm4" : : "x" (xmm) : "xmm4" );
- asm volatile ("movdqa %0, %%xmm5" : : "x" (xmm) : "xmm5" );
- asm volatile ("movdqa %0, %%xmm6" : : "x" (xmm) : "xmm6" );
- asm volatile ("movdqa %0, %%xmm7" : : "x" (xmm) : "xmm7" );
-
- return sym->st_value;
-}
-
-unsigned int
-pltexit (ElfW(Sym) *sym, unsigned int ndx, uintptr_t *refcook,
- uintptr_t *defcook, const La_regs *inregs, La_retval *outregs,
- const char *symname)
-{
- printf ("pltexit: symname=%s, st_value=%#lx, ndx=%u, retval=%tu\n",
- symname, (long int) sym->st_value, ndx,
- (ptrdiff_t) outregs->int_retval);
-
- __m128i xmm = _mm_set1_epi32 (-1);
- asm volatile ("movdqa %0, %%xmm0" : : "x" (xmm) : "xmm0" );
- asm volatile ("movdqa %0, %%xmm1" : : "x" (xmm) : "xmm1" );
- asm volatile ("movdqa %0, %%xmm2" : : "x" (xmm) : "xmm2" );
- asm volatile ("movdqa %0, %%xmm3" : : "x" (xmm) : "xmm3" );
- asm volatile ("movdqa %0, %%xmm4" : : "x" (xmm) : "xmm4" );
- asm volatile ("movdqa %0, %%xmm5" : : "x" (xmm) : "xmm5" );
- asm volatile ("movdqa %0, %%xmm6" : : "x" (xmm) : "xmm6" );
- asm volatile ("movdqa %0, %%xmm7" : : "x" (xmm) : "xmm7" );
-
- return 0;
-}
Removed: trunk/libc/elf/tst-auditmod4a.c
==============================================================================
--- trunk/libc/elf/tst-auditmod4a.c (original)
+++ trunk/libc/elf/tst-auditmod4a.c (removed)
@@ -1,48 +1,0 @@
-/* Test case for x86-64 preserved registers in dynamic linker. */
-
-#ifdef __AVX__
-#include <stdlib.h>
-#include <string.h>
-#include <immintrin.h>
-
-__m256i
-audit_test (__m256i x0, __m256i x1, __m256i x2, __m256i x3,
- __m256i x4, __m256i x5, __m256i x6, __m256i x7)
-{
- __m256i ymm;
-
- ymm = _mm256_set1_epi32 (1);
- if (memcmp (&ymm, &x0, sizeof (ymm)))
- abort ();
-
- ymm = _mm256_set1_epi32 (2);
- if (memcmp (&ymm, &x1, sizeof (ymm)))
- abort ();
-
- ymm = _mm256_set1_epi32 (3);
- if (memcmp (&ymm, &x2, sizeof (ymm)))
- abort ();
-
- ymm = _mm256_set1_epi32 (4);
- if (memcmp (&ymm, &x3, sizeof (ymm)))
- abort ();
-
- ymm = _mm256_set1_epi32 (5);
- if (memcmp (&ymm, &x4, sizeof (ymm)))
- abort ();
-
- ymm = _mm256_set1_epi32 (6);
- if (memcmp (&ymm, &x5, sizeof (ymm)))
- abort ();
-
- ymm = _mm256_set1_epi32 (7);
- if (memcmp (&ymm, &x6, sizeof (ymm)))
- abort ();
-
- ymm = _mm256_set1_epi32 (8);
- if (memcmp (&ymm, &x7, sizeof (ymm)))
- abort ();
-
- return _mm256_setzero_si256 ();
-}
-#endif
Removed: trunk/libc/elf/tst-auditmod4b.c
==============================================================================
--- trunk/libc/elf/tst-auditmod4b.c (original)
+++ trunk/libc/elf/tst-auditmod4b.c (removed)
@@ -1,201 +1,0 @@
-/* Verify that changing AVX registers in audit library won't affect
- function parameter passing/return. */
-
-#include <dlfcn.h>
-#include <stdint.h>
-#include <stdio.h>
-#include <stdlib.h>
-#include <string.h>
-#include <unistd.h>
-#include <bits/wordsize.h>
-#include <gnu/lib-names.h>
-
-unsigned int
-la_version (unsigned int v)
-{
- setlinebuf (stdout);
-
- printf ("version: %u\n", v);
-
- char buf[20];
- sprintf (buf, "%u", v);
-
- return v;
-}
-
-void
-la_activity (uintptr_t *cookie, unsigned int flag)
-{
- if (flag == LA_ACT_CONSISTENT)
- printf ("activity: consistent\n");
- else if (flag == LA_ACT_ADD)
- printf ("activity: add\n");
- else if (flag == LA_ACT_DELETE)
- printf ("activity: delete\n");
- else
- printf ("activity: unknown activity %u\n", flag);
-}
-
-char *
-la_objsearch (const char *name, uintptr_t *cookie, unsigned int flag)
-{
- char buf[100];
- const char *flagstr;
- if (flag == LA_SER_ORIG)
- flagstr = "LA_SET_ORIG";
- else if (flag == LA_SER_LIBPATH)
- flagstr = "LA_SER_LIBPATH";
- else if (flag == LA_SER_RUNPATH)
- flagstr = "LA_SER_RUNPATH";
- else if (flag == LA_SER_CONFIG)
- flagstr = "LA_SER_CONFIG";
- else if (flag == LA_SER_DEFAULT)
- flagstr = "LA_SER_DEFAULT";
- else if (flag == LA_SER_SECURE)
- flagstr = "LA_SER_SECURE";
- else
- {
- sprintf (buf, "unknown flag %d", flag);
- flagstr = buf;
- }
- printf ("objsearch: %s, %s\n", name, flagstr);
-
- return (char *) name;
-}
-
-unsigned int
-la_objopen (struct link_map *l, Lmid_t lmid, uintptr_t *cookie)
-{
- printf ("objopen: %ld, %s\n", lmid, l->l_name);
-
- return 3;
-}
-
-void
-la_preinit (uintptr_t *cookie)
-{
- printf ("preinit\n");
-}
-
-unsigned int
-la_objclose (uintptr_t *cookie)
-{
- printf ("objclose\n");
- return 0;
-}
-
-uintptr_t
-la_symbind64 (Elf64_Sym *sym, unsigned int ndx, uintptr_t *refcook,
- uintptr_t *defcook, unsigned int *flags, const char *symname)
-{
- printf ("symbind64: symname=%s, st_value=%#lx, ndx=%u, flags=%u\n",
- symname, (long int) sym->st_value, ndx, *flags);
-
- return sym->st_value;
-}
-
-#include <tst-audit.h>
-
-#ifdef __AVX__
-#include <immintrin.h>
-#include <cpuid.h>
-
-static int avx = -1;
-
-static inline int
-__attribute ((always_inline))
-check_avx (void)
-{
- if (avx == -1)
- {
- unsigned int eax, ebx, ecx, edx;
-
- if (__get_cpuid (1, &eax, &ebx, &ecx, &edx)
- && (ecx & bit_AVX))
- avx = 1;
- else
- avx = 0;
- }
- return avx;
-}
-#else
-#include <emmintrin.h>
-#endif
-
-ElfW(Addr)
-pltenter (ElfW(Sym) *sym, unsigned int ndx, uintptr_t *refcook,
- uintptr_t *defcook, La_regs *regs, unsigned int *flags,
- const char *symname, long int *framesizep)
-{
- printf ("pltenter: symname=%s, st_value=%#lx, ndx=%u, flags=%u\n",
- symname, (long int) sym->st_value, ndx, *flags);
-
-#ifdef __AVX__
- if (check_avx () && strcmp (symname, "audit_test") == 0)
- {
- __m256i zero = _mm256_setzero_si256 ();
- if (memcmp (®s->lr_vector[0], &zero, sizeof (zero))
- || memcmp (®s->lr_vector[1], &zero, sizeof (zero))
- || memcmp (®s->lr_vector[2], &zero, sizeof (zero))
- || memcmp (®s->lr_vector[3], &zero, sizeof (zero))
- || memcmp (®s->lr_vector[4], &zero, sizeof (zero))
- || memcmp (®s->lr_vector[5], &zero, sizeof (zero))
[... 28147 lines stripped ...]
_______________________________________________
Commits mailing list
Commits@xxxxxxxxxx
http://eglibc.org/cgi-bin/mailman/listinfo/commits