[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Commits] r22242 - in /trunk: ./ libc/ libc/bits/ libc/catgets/ libc/debug/ libc/elf/ libc/grp/ libc/iconvdata/ libc/include/ libc/int...
- To: commits@xxxxxxxxxx
- Subject: [Commits] r22242 - in /trunk: ./ libc/ libc/bits/ libc/catgets/ libc/debug/ libc/elf/ libc/grp/ libc/iconvdata/ libc/include/ libc/int...
- From: joseph@xxxxxxxxxx
- Date: Fri, 18 Jan 2013 17:11:00 -0000
Author: joseph
Date: Fri Jan 18 17:11:00 2013
New Revision: 22242
Log:
Merge changes between r22176 and r22241 from /fsf/trunk.
Added:
trunk/libc/localedata/bug-setlocale1-static.c
- copied unchanged from r22241, fsf/trunk/libc/localedata/bug-setlocale1-static.c
trunk/libc/math/k_casinh.c
- copied unchanged from r22241, fsf/trunk/libc/math/k_casinh.c
trunk/libc/math/k_casinhf.c
- copied unchanged from r22241, fsf/trunk/libc/math/k_casinhf.c
trunk/libc/math/k_casinhl.c
- copied unchanged from r22241, fsf/trunk/libc/math/k_casinhl.c
trunk/libc/ports/sysdeps/aarch64/bzero.S
- copied unchanged from r22241, fsf/trunk/libc/ports/sysdeps/aarch64/bzero.S
trunk/libc/ports/sysdeps/aarch64/memcmp.S
- copied unchanged from r22241, fsf/trunk/libc/ports/sysdeps/aarch64/memcmp.S
trunk/libc/ports/sysdeps/aarch64/memcpy.S
- copied unchanged from r22241, fsf/trunk/libc/ports/sysdeps/aarch64/memcpy.S
trunk/libc/ports/sysdeps/aarch64/memmove.S
- copied unchanged from r22241, fsf/trunk/libc/ports/sysdeps/aarch64/memmove.S
trunk/libc/ports/sysdeps/aarch64/memset.S
- copied unchanged from r22241, fsf/trunk/libc/ports/sysdeps/aarch64/memset.S
trunk/libc/ports/sysdeps/aarch64/strcmp.S
- copied unchanged from r22241, fsf/trunk/libc/ports/sysdeps/aarch64/strcmp.S
trunk/libc/ports/sysdeps/aarch64/strlen.S
- copied unchanged from r22241, fsf/trunk/libc/ports/sysdeps/aarch64/strlen.S
trunk/libc/ports/sysdeps/unix/sysv/linux/tile/tilegx/configure
- copied unchanged from r22241, fsf/trunk/libc/ports/sysdeps/unix/sysv/linux/tile/tilegx/configure
trunk/libc/ports/sysdeps/unix/sysv/linux/tile/tilegx/configure.in
- copied unchanged from r22241, fsf/trunk/libc/ports/sysdeps/unix/sysv/linux/tile/tilegx/configure.in
trunk/libc/ports/sysdeps/unix/sysv/linux/tile/tilegx/ldd-rewrite.sed
- copied unchanged from r22241, fsf/trunk/libc/ports/sysdeps/unix/sysv/linux/tile/tilegx/ldd-rewrite.sed
trunk/libc/posix/tst-exec-static.c
- copied unchanged from r22241, fsf/trunk/libc/posix/tst-exec-static.c
trunk/libc/posix/tst-spawn-static.c
- copied unchanged from r22241, fsf/trunk/libc/posix/tst-spawn-static.c
trunk/libc/sysdeps/sparc/sparc32/fpu/s_fdim.S
- copied unchanged from r22241, fsf/trunk/libc/sysdeps/sparc/sparc32/fpu/s_fdim.S
trunk/libc/sysdeps/sparc/sparc32/fpu/s_fdimf.S
- copied unchanged from r22241, fsf/trunk/libc/sysdeps/sparc/sparc32/fpu/s_fdimf.S
trunk/libc/sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis2.S
- copied unchanged from r22241, fsf/trunk/libc/sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis2.S
trunk/libc/sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis2.S
- copied unchanged from r22241, fsf/trunk/libc/sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis2.S
trunk/libc/sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-vis3.S
- copied unchanged from r22241, fsf/trunk/libc/sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-vis3.S
trunk/libc/sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.S
- copied unchanged from r22241, fsf/trunk/libc/sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.S
trunk/libc/sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf-vis3.S
- copied unchanged from r22241, fsf/trunk/libc/sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf-vis3.S
trunk/libc/sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf.S
- copied unchanged from r22241, fsf/trunk/libc/sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf.S
trunk/libc/sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis2.S
- copied unchanged from r22241, fsf/trunk/libc/sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis2.S
trunk/libc/sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis2.S
- copied unchanged from r22241, fsf/trunk/libc/sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis2.S
trunk/libc/sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint-vis3.S
- copied unchanged from r22241, fsf/trunk/libc/sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint-vis3.S
trunk/libc/sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint.S
- copied unchanged from r22241, fsf/trunk/libc/sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint.S
trunk/libc/sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf-vis3.S
- copied unchanged from r22241, fsf/trunk/libc/sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf-vis3.S
trunk/libc/sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf.S
- copied unchanged from r22241, fsf/trunk/libc/sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf.S
trunk/libc/sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc-vis3.S
- copied unchanged from r22241, fsf/trunk/libc/sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc-vis3.S
trunk/libc/sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc.S
- copied unchanged from r22241, fsf/trunk/libc/sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc.S
trunk/libc/sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf-vis3.S
- copied unchanged from r22241, fsf/trunk/libc/sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf-vis3.S
trunk/libc/sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf.S
- copied unchanged from r22241, fsf/trunk/libc/sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf.S
trunk/libc/sysdeps/sparc/sparc32/sparcv9/fpu/s_fdim.S
- copied unchanged from r22241, fsf/trunk/libc/sysdeps/sparc/sparc32/sparcv9/fpu/s_fdim.S
trunk/libc/sysdeps/sparc/sparc32/sparcv9/fpu/s_fdimf.S
- copied unchanged from r22241, fsf/trunk/libc/sysdeps/sparc/sparc32/sparcv9/fpu/s_fdimf.S
trunk/libc/sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyint.S
- copied unchanged from r22241, fsf/trunk/libc/sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyint.S
trunk/libc/sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyintf.S
- copied unchanged from r22241, fsf/trunk/libc/sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyintf.S
trunk/libc/sysdeps/sparc/sparc32/sparcv9/fpu/s_trunc.S
- copied unchanged from r22241, fsf/trunk/libc/sysdeps/sparc/sparc32/sparcv9/fpu/s_trunc.S
trunk/libc/sysdeps/sparc/sparc32/sparcv9/fpu/s_truncf.S
- copied unchanged from r22241, fsf/trunk/libc/sysdeps/sparc/sparc32/sparcv9/fpu/s_truncf.S
trunk/libc/sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis2.S
- copied unchanged from r22241, fsf/trunk/libc/sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis2.S
trunk/libc/sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis2.S
- copied unchanged from r22241, fsf/trunk/libc/sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis2.S
trunk/libc/sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis2.S
- copied unchanged from r22241, fsf/trunk/libc/sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis2.S
trunk/libc/sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis2.S
- copied unchanged from r22241, fsf/trunk/libc/sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis2.S
trunk/libc/sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint-vis3.S
- copied unchanged from r22241, fsf/trunk/libc/sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint-vis3.S
trunk/libc/sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint.S
- copied unchanged from r22241, fsf/trunk/libc/sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint.S
trunk/libc/sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf-vis3.S
- copied unchanged from r22241, fsf/trunk/libc/sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf-vis3.S
trunk/libc/sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf.S
- copied unchanged from r22241, fsf/trunk/libc/sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf.S
trunk/libc/sysdeps/sparc/sparc64/fpu/multiarch/s_trunc-vis3.S
- copied unchanged from r22241, fsf/trunk/libc/sysdeps/sparc/sparc64/fpu/multiarch/s_trunc-vis3.S
trunk/libc/sysdeps/sparc/sparc64/fpu/multiarch/s_trunc.S
- copied unchanged from r22241, fsf/trunk/libc/sysdeps/sparc/sparc64/fpu/multiarch/s_trunc.S
trunk/libc/sysdeps/sparc/sparc64/fpu/multiarch/s_truncf-vis3.S
- copied unchanged from r22241, fsf/trunk/libc/sysdeps/sparc/sparc64/fpu/multiarch/s_truncf-vis3.S
trunk/libc/sysdeps/sparc/sparc64/fpu/multiarch/s_truncf.S
- copied unchanged from r22241, fsf/trunk/libc/sysdeps/sparc/sparc64/fpu/multiarch/s_truncf.S
trunk/libc/sysdeps/sparc/sparc64/fpu/s_fdim.S
- copied unchanged from r22241, fsf/trunk/libc/sysdeps/sparc/sparc64/fpu/s_fdim.S
trunk/libc/sysdeps/sparc/sparc64/fpu/s_fdimf.S
- copied unchanged from r22241, fsf/trunk/libc/sysdeps/sparc/sparc64/fpu/s_fdimf.S
trunk/libc/sysdeps/sparc/sparc64/fpu/s_nearbyint.S
- copied unchanged from r22241, fsf/trunk/libc/sysdeps/sparc/sparc64/fpu/s_nearbyint.S
trunk/libc/sysdeps/sparc/sparc64/fpu/s_nearbyintf.S
- copied unchanged from r22241, fsf/trunk/libc/sysdeps/sparc/sparc64/fpu/s_nearbyintf.S
trunk/libc/sysdeps/sparc/sparc64/fpu/s_trunc.S
- copied unchanged from r22241, fsf/trunk/libc/sysdeps/sparc/sparc64/fpu/s_trunc.S
trunk/libc/sysdeps/sparc/sparc64/fpu/s_truncf.S
- copied unchanged from r22241, fsf/trunk/libc/sysdeps/sparc/sparc64/fpu/s_truncf.S
trunk/libc/sysdeps/sparc/sparc64/multiarch/add_n-vis3.S
- copied unchanged from r22241, fsf/trunk/libc/sysdeps/sparc/sparc64/multiarch/add_n-vis3.S
trunk/libc/sysdeps/sparc/sparc64/multiarch/add_n.S
- copied unchanged from r22241, fsf/trunk/libc/sysdeps/sparc/sparc64/multiarch/add_n.S
trunk/libc/sysdeps/sparc/sparc64/multiarch/addmul_1-vis3.S
- copied unchanged from r22241, fsf/trunk/libc/sysdeps/sparc/sparc64/multiarch/addmul_1-vis3.S
trunk/libc/sysdeps/sparc/sparc64/multiarch/addmul_1.S
- copied unchanged from r22241, fsf/trunk/libc/sysdeps/sparc/sparc64/multiarch/addmul_1.S
trunk/libc/sysdeps/sparc/sparc64/multiarch/mul_1-vis3.S
- copied unchanged from r22241, fsf/trunk/libc/sysdeps/sparc/sparc64/multiarch/mul_1-vis3.S
trunk/libc/sysdeps/sparc/sparc64/multiarch/mul_1.S
- copied unchanged from r22241, fsf/trunk/libc/sysdeps/sparc/sparc64/multiarch/mul_1.S
trunk/libc/sysdeps/sparc/sparc64/multiarch/sub_n-vis3.S
- copied unchanged from r22241, fsf/trunk/libc/sysdeps/sparc/sparc64/multiarch/sub_n-vis3.S
trunk/libc/sysdeps/sparc/sparc64/multiarch/sub_n.S
- copied unchanged from r22241, fsf/trunk/libc/sysdeps/sparc/sparc64/multiarch/sub_n.S
trunk/libc/sysdeps/sparc/sparc64/multiarch/submul_1-vis3.S
- copied unchanged from r22241, fsf/trunk/libc/sysdeps/sparc/sparc64/multiarch/submul_1-vis3.S
trunk/libc/sysdeps/sparc/sparc64/multiarch/submul_1.S
- copied unchanged from r22241, fsf/trunk/libc/sysdeps/sparc/sparc64/multiarch/submul_1.S
trunk/libc/sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c
- copied unchanged from r22241, fsf/trunk/libc/sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c
trunk/libc/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/multiarch/
- copied from r22241, fsf/trunk/libc/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/multiarch/
Removed:
trunk/libc/sysdeps/ieee754/dbl-64/mpa2.h
trunk/libc/sysdeps/ieee754/dbl-64/mpexp.h
trunk/libc/sysdeps/sparc/sparc32/sparcv9/fpu/unix/
Modified:
trunk/ (props changed)
trunk/libc/ChangeLog
trunk/libc/Makeconfig
trunk/libc/Makefile
trunk/libc/Makerules
trunk/libc/NEWS
trunk/libc/Rules
trunk/libc/bits/byteswap.h
trunk/libc/bits/types.h
trunk/libc/catgets/Makefile
trunk/libc/catgets/test-gencat.sh
trunk/libc/config.make.in
trunk/libc/configure
trunk/libc/configure.in
trunk/libc/debug/Makefile
trunk/libc/debug/tst-backtrace2.c
trunk/libc/debug/tst-backtrace3.c
trunk/libc/debug/tst-backtrace4.c
trunk/libc/debug/tst-backtrace5.c
trunk/libc/elf/Makefile
trunk/libc/elf/elf.h
trunk/libc/elf/link.h
trunk/libc/grp/Makefile
trunk/libc/grp/tst_fgetgrent.sh
trunk/libc/iconvdata/Makefile
trunk/libc/iconvdata/tst-table.sh
trunk/libc/iconvdata/tst-tables.sh
trunk/libc/include/complex.h
trunk/libc/include/features.h
trunk/libc/include/stdlib.h
trunk/libc/intl/Makefile
trunk/libc/intl/tst-gettext.sh
trunk/libc/intl/tst-gettext2.sh
trunk/libc/intl/tst-gettext4.sh
trunk/libc/intl/tst-gettext6.sh
trunk/libc/intl/tst-translit.sh
trunk/libc/io/Makefile
trunk/libc/libio/Makefile
trunk/libc/libio/test-freopen.sh
trunk/libc/localedata/ChangeLog
trunk/libc/localedata/Makefile
trunk/libc/localedata/bug-setlocale1.c
trunk/libc/localedata/sort-test.sh
trunk/libc/localedata/tst-fmon.sh
trunk/libc/localedata/tst-mbswcs.sh
trunk/libc/localedata/tst-numeric.sh
trunk/libc/localedata/tst-trans.sh
trunk/libc/malloc/Makefile
trunk/libc/malloc/arena.c
trunk/libc/malloc/malloc.c
trunk/libc/malloc/tst-mtrace.sh
trunk/libc/manual/install.texi
trunk/libc/manual/pattern.texi
trunk/libc/math/Makefile
trunk/libc/math/bits/mathcalls.h
trunk/libc/math/libm-test.inc
trunk/libc/math/s_cacos.c
trunk/libc/math/s_cacosf.c
trunk/libc/math/s_cacosl.c
trunk/libc/math/s_casinh.c
trunk/libc/math/s_casinhf.c
trunk/libc/math/s_casinhl.c
trunk/libc/misc/Versions
trunk/libc/misc/error.c
trunk/libc/misc/mktemp.c
trunk/libc/nptl/ChangeLog
trunk/libc/nptl/Makefile
trunk/libc/nptl/allocatestack.c
trunk/libc/nptl/sem_open.c
trunk/libc/nptl/tst-tls6.sh
trunk/libc/ports/ChangeLog.aarch64
trunk/libc/ports/ChangeLog.hppa
trunk/libc/ports/ChangeLog.m68k
trunk/libc/ports/ChangeLog.mips
trunk/libc/ports/ChangeLog.tile
trunk/libc/ports/sysdeps/aarch64/bits/setjmp.h
trunk/libc/ports/sysdeps/aarch64/sysdep.h
trunk/libc/ports/sysdeps/arm/Makefile
trunk/libc/ports/sysdeps/hppa/fpu/fpu_control.h
trunk/libc/ports/sysdeps/m68k/bits/byteswap.h
trunk/libc/ports/sysdeps/mips/Makefile
trunk/libc/ports/sysdeps/unix/sysv/linux/hppa/bits/ipc.h
trunk/libc/ports/sysdeps/unix/sysv/linux/mips/bits/sigcontext.h
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/posix/Makefile
trunk/libc/posix/globtest.sh
trunk/libc/posix/sys/types.h
trunk/libc/posix/tst-exec.c
trunk/libc/posix/tst-spawn.c
trunk/libc/posix/wordexp-tst.sh
trunk/libc/rt/Makefile
trunk/libc/stdio-common/Makefile
trunk/libc/stdio-common/tst-printf.sh
trunk/libc/stdio-common/tst-unbputc.sh
trunk/libc/stdlib/Makefile
trunk/libc/stdlib/stdlib.h
trunk/libc/stdlib/tst-fmtmsg.sh
trunk/libc/string/Makefile
trunk/libc/string/byteswap.h
trunk/libc/string/endian.h
trunk/libc/string/string.h
trunk/libc/sysdeps/generic/inttypes.h
trunk/libc/sysdeps/gnu/netinet/tcp.h
trunk/libc/sysdeps/i386/dl-machine.h
trunk/libc/sysdeps/i386/fpu/fenv_private.h
trunk/libc/sysdeps/i386/fpu/libm-test-ulps
trunk/libc/sysdeps/ieee754/dbl-64/atnat.h
trunk/libc/sysdeps/ieee754/dbl-64/atnat2.h
trunk/libc/sysdeps/ieee754/dbl-64/mpa.c
trunk/libc/sysdeps/ieee754/dbl-64/mpa.h
trunk/libc/sysdeps/ieee754/dbl-64/mpatan.h
trunk/libc/sysdeps/ieee754/dbl-64/mpatan2.c
trunk/libc/sysdeps/ieee754/dbl-64/mpexp.c
trunk/libc/sysdeps/ieee754/dbl-64/mpsqrt.h
trunk/libc/sysdeps/ieee754/dbl-64/mptan.c
trunk/libc/sysdeps/ieee754/dbl-64/s_nearbyint.c
trunk/libc/sysdeps/ieee754/dbl-64/ulog.h
trunk/libc/sysdeps/ieee754/dbl-64/utan.h
trunk/libc/sysdeps/powerpc/bits/mathdef.h
trunk/libc/sysdeps/powerpc/fpu/bits/fenvinline.h
trunk/libc/sysdeps/powerpc/fpu/bits/mathinline.h
trunk/libc/sysdeps/powerpc/fpu/fpu_control.h
trunk/libc/sysdeps/powerpc/powerpc32/power4/fpu/mpa.c
trunk/libc/sysdeps/powerpc/powerpc64/power4/fpu/mpa.c
trunk/libc/sysdeps/s390/bits/byteswap.h
trunk/libc/sysdeps/sh/Makefile
trunk/libc/sysdeps/sparc/fpu/libm-test-ulps
trunk/libc/sysdeps/sparc/sparc-ifunc.h
trunk/libc/sysdeps/sparc/sparc32/sparcv9/addmul_1.S
trunk/libc/sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile
trunk/libc/sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S
trunk/libc/sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S
trunk/libc/sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S
trunk/libc/sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S
trunk/libc/sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S
trunk/libc/sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S
trunk/libc/sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S
trunk/libc/sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S
trunk/libc/sysdeps/sparc/sparc32/sparcv9/mul_1.S
trunk/libc/sysdeps/sparc/sparc32/sparcv9/submul_1.S
trunk/libc/sysdeps/sparc/sparc64/fpu/multiarch/Makefile
trunk/libc/sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S
trunk/libc/sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S
trunk/libc/sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S
trunk/libc/sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S
trunk/libc/sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S
trunk/libc/sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S
trunk/libc/sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S
trunk/libc/sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S
trunk/libc/sysdeps/sparc/sparc64/multiarch/Makefile
trunk/libc/sysdeps/unix/sysv/linux/bits/fcntl-linux.h
trunk/libc/sysdeps/unix/sysv/linux/bits/socket.h
trunk/libc/sysdeps/unix/sysv/linux/malloc-sysdep.h
trunk/libc/sysdeps/unix/sysv/linux/powerpc/Versions
trunk/libc/sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h
trunk/libc/sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c
trunk/libc/sysdeps/unix/sysv/linux/powerpc/init-first.c
trunk/libc/sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
trunk/libc/sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
trunk/libc/sysdeps/unix/sysv/linux/scsi/sg.h
trunk/libc/sysdeps/unix/sysv/linux/sparc/bits/ipc.h
trunk/libc/sysdeps/unix/sysv/linux/sparc/sys/ucontext.h
trunk/libc/sysdeps/unix/sysv/linux/sys/sysmacros.h
trunk/libc/sysdeps/unix/sysv/linux/x86/bits/environments.h
trunk/libc/sysdeps/unix/sysv/linux/x86/sys/procfs.h
trunk/libc/sysdeps/x86/bits/byteswap.h
trunk/libc/sysdeps/x86/bits/setjmp.h
trunk/libc/sysdeps/x86/fpu/bits/mathinline.h
trunk/libc/sysdeps/x86_64/dl-machine.h
trunk/libc/sysdeps/x86_64/fpu/libm-test-ulps
trunk/libc/wcsmbs/wchar.h
Propchange: trunk/
------------------------------------------------------------------------------
--- svn:mergeinfo (original)
+++ svn:mergeinfo Fri Jan 18 17:11:00 2013
@@ -1,1 +1,1 @@
-/fsf/trunk:15224-22176
+/fsf/trunk:15224-22241
Modified: trunk/libc/ChangeLog
==============================================================================
--- trunk/libc/ChangeLog (original)
+++ trunk/libc/ChangeLog Fri Jan 18 17:11:00 2013
@@ -1,3 +1,644 @@
+2013-01-18 Joseph Myers <joseph@xxxxxxxxxxxxxxxx>
+ Mark Mitchell <mark@xxxxxxxxxxxxxxxx>
+ Tom de Vries <tom@xxxxxxxxxxxxxxxx>
+ Paul Pluzhnikov <ppluzhnikov@xxxxxxxxxx>
+
+ * debug/tst-backtrace2.c: New file.
+ * debug/tst-backtrace3.c: Likewise.
+ * debug/tst-backtrace4.c: Likewise.
+ * debug/tst-backtrace5.c: Likewise.
+ * debug/Makefile (CFLAGS-tst-backtrace2.c): New variable.
+ (CFLAGS-tst-backtrace3.c): Likewise.
+ (CFLAGS-tst-backtrace4.c): Likewise.
+ (CFLAGS-tst-backtrace5.c): Likewise.
+ (LDFLAGS-tst-backtrace2): Likewise.
+ (LDFLAGS-tst-backtrace3): Likewise.
+ (LDFLAGS-tst-backtrace4): Likewise.
+ (LDFLAGS-tst-backtrace5): Likewise.
+ (tests): Add new tests tst-backtrace2, tst-backtrace3,
+ tst-backtrace4 and tst-backtrace5.
+
+2013-01-18 Anton Blanchard <anton@xxxxxxxxx>
+ Ryan S. Arnold <rsa@xxxxxxxxxxxxxxxxxx>
+
+ * sysdeps/unix/sysv/linux/powerpc/init-first.c: Rename
+ __kernel_vdso_get_tbfreq to __kernel_get_tbfreq.
+ * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Add parameter to
+ INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK to specify return type.
+ * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
+ (INTERNAL_VSYSCALL_NCS): Change "=&r" in inline asm output regs list to
+ "+r" and remove output regs list as redundant. Add explicit inline
+ asm to specify register of return val to work around compiler codegen
+ bug. Remove (int) cast on return value. Add return type parameter to
+ use in macro so that this macro does not truncate return value for
+ 64-bit values.
+ (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Add return type parameter and
+ pass to INTERNAL_VSYSCALL_NCS.
+ (INLINE_VSYSCALL): Add 'long int' as return type to
+ INTERNAL_VSYSCALL_NCS macro invocation.
+ (INTERNAL_VSYSCALL): Add 'long int' as return type to
+ INTERNAL_VSYSCALL_NCS macro invocation.
+ * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
+
+2013-01-18 Siddhesh Poyarekar <siddhesh@xxxxxxxxxx>
+
+ [BZ #14496]
+ * sysdeps/i386/fpu/fenv_private.h (libc_feupdateenv_test_sse):
+ Fix application of SIMD FP exception mask.
+
+ * sysdeps/ieee754/dbl-64/mpa.h (__pow_mp): New function to get an
+ mp_no from a power of two.
+ * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove
+ __mpexp_twomm1. Use __pow_mp.
+
+ * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove unnecessary
+ multiplication.
+
+2013-01-17 David S. Miller <davem@xxxxxxxxxxxxx>
+
+ * sysdeps/sparc/fpu/libm-test-ulps: Update.
+
+2013-01-17 Joseph Myers <joseph@xxxxxxxxxxxxxxxx>
+
+ [BZ #15023]
+ * include/complex.h: Condition contents on [!_COMPLEX_H].
+ (__kernel_casinhf): New prototype.
+ (__kernel_casinh): Likewise.
+ (__kernel_casinhl): Likewise.
+ * math/Makefile (libm_calls): Add k_casinh.
+ * math/k_casinh.c: New file.
+ * math/k_casinhf.c: Likewise.
+ * math/k_casinhl.c: Likewise.
+ * math/s_cacos.c (__cacos): Implement using __kernel_casinh for
+ finite nonzero arguments.
+ * math/s_cacosf.c (__cacosf): Implement using __kernel_casinhf for
+ finite nonzero arguments.
+ * math/s_cacosl.c (__cacosl): Implement using __kernel_casinhl for
+ finite nonzero arguments.
+ * math/s_casinh.c: Do not include <float.h>.
+ (__casinh): Move code for finite nonzero arguments to k_casinh.c.
+ * math/s_casinhf.c: Do not include <float.h>.
+ (__casinhf): Move code for finite nonzero arguments to
+ k_casinhf.c.
+ * math/s_casinhl.c: Do not include <float.h>.
+ [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Do not undefine and
+ redefine.
+ (__casinhl): Move code for finite nonzero arguments to
+ k_casinhl.c.
+ * math/libm-test.inc (cacos_test): Add more tests.
+ * sysdeps/i386/fpu/libm-test-ulps: Update.
+ * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
+
+2013-01-17 Pino Toscano <toscano.pino@xxxxxxxxxx>
+
+ * sysdeps/unix/sysv/linux/malloc-sysdep.h (HAVE_MREMAP): New define.
+ * malloc/malloc.c: Include <unistd.h> and <malloc-sysdep.h>.
+ [!HAVE_MREMAP]: Remove [defined linux] case.
+ * malloc/arena.c: Do not include <malloc-sysdep.h>.
+
+2013-01-17 Siddhesh Poyarekar <siddhesh@xxxxxxxxxx>
+
+ * sysdeps/ieee754/dbl-64/mpa.c: Fix header comment.
+
+2013-01-17 H.J. Lu <hongjiu.lu@xxxxxxxxx>
+
+ * elf/elf.h (R_386_SIZE32): New relocation.
+ * sysdeps/i386/dl-machine.h (elf_machine_rel): Handle
+ R_386_SIZE32.
+ (elf_machine_rela): Likewise.
+ * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
+ R_X86_64_SIZE64 and R_X86_64_SIZE32.
+
+2013-01-17 Joseph Myers <joseph@xxxxxxxxxxxxxxxx>
+
+ * sysdeps/powerpc/bits/mathdef.h [_SOFT_FLOAT || __NO_FPRS__]
+ (FP_FAST_FMA): Do not define.
+ [_SOFT_FLOAT || __NO_FPRS__] (FP_FAST_FMAF): Likewise.
+ * sysdeps/powerpc/fpu/bits/fenvinline.h [__GNUC__ && !_SOFT_FLOAT
+ && !__NO_MATH_INLINES]: Add [!__NO_FPRS__] condition.
+ * sysdeps/powerpc/fpu/bits/mathinline.h [__GNUC__ &&
+ !_SOFT_FLOAT]: Likewise.
+ * sysdeps/powerpc/fpu/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]
+ [_SOFT_FLOAT || __NO_FPRS__] (_FPU_RESERVED): Define with generic
+ value.
+ [_SOFT_FLOAT || __NO_FPRS__] (_FPU_DEFAULT): Likewise.
+ [_SOFT_FLOAT || __NO_FPRS__] (fpu_control_t): Likewise.
+ [_SOFT_FLOAT || __NO_FPRS__] (_FPU_GETCW): Likewise.
+ [_SOFT_FLOAT || __NO_FPRS__] (_FPU_SETCW): Likewise.
+ [_SOFT_FLOAT || __NO_FPRS__] (__fpu_control): Likewise.
+ [!_SOFT_FLOAT && !__NO_FPRS__]: Condition previous contents of
+ file.
+
+2013-01-16 Andreas Schwab <schwab@xxxxxxx>
+
+ [BZ #14327]
+ * include/stdlib.h (__mktemp): Add declaration.
+ * misc/mktemp.c (__mktemp): Renamed from mktemp, add weak alias.
+ * misc/Versions (GLIBC_PRIVATE): Add __mktemp.
+
+2013-01-16 Siddhesh Poyarekar <siddhesh@xxxxxxxxxx>
+
+ * sysdeps/ieee754/dbl-64/atnat.h: Remove constant value
+ definitions.
+ * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
+ * sysdeps/ieee754/dbl-64/mpa.c: Do not include mpa2.h.
+ * sysdeps/ieee754/dbl-64/mpa.h: Move all constant value
+ definitions here.
+ * sysdeps/ieee754/dbl-64/mpa2.h: Remove.
+ * sysdeps/ieee754/dbl-64/mpatan.h: Remove constant value
+ definitions.
+ * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Remove ZERO
+ and ONE.
+ * sysdeps/ieee754/dbl-64/mpexp.c: Do not include mpexp.h.
+ * sysdeps/ieee754/dbl-64/mpexp.h: Remove.
+ * sysdeps/ieee754/dbl-64/mpsqrt.h: Remove constant value
+ definitions.
+ * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Remove MONE.
+ * sysdeps/ieee754/dbl-64/ulog.h: Remove constant value
+ definitions.
+ * sysdeps/ieee754/dbl-64/utan.h: Likewise.
+
+ * sysdeps/ieee754/dbl-64/mpa2.h: Fix the value of TWO.
+
+2013-01-15 David S. Miller <davem@xxxxxxxxxxxxx>
+
+ * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
+ trunc{,f} to libm-sysdep_routes.
+ * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
+ * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc-vis3.S: New
+ file.
+ * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc.S: New file.
+ * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf-vis3.S: New
+ file.
+ * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf.S: New
+ file.
+ * sysdeps/sparc/sparc32/sparcv9/fpu/s_trunc.S: New file.
+ * sysdeps/sparc/sparc32/sparcv9/fpu/s_truncf.S: New file.
+ * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc-vis3.S: New file.
+ * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc.S: New file.
+ * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf-vis3.S: New file.
+ * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf.S: New file.
+ * sysdeps/sparc/sparc64/fpu/s_trunc.S: New file.
+ * sysdeps/sparc/sparc64/fpu/s_truncf.S: New file.
+
+ * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
+ nearbyint{,f} to libm-sysdep_routes.
+ * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
+ * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint-vis3.S:
+ New file.
+ * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint.S: New
+ file.
+ * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf-vis3.S:
+ New file.
+ * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf.S: New
+ file.
+ * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyint.S: New file.
+ * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyintf.S: New file.
+ * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint-vis3.S: New
+ file.
+ * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint.S: New file.
+ * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf-vis3.S: New
+ file.
+ * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf.S: New file.
+ * sysdeps/sparc/sparc64/fpu/s_nearbyint.S: New file.
+ * sysdeps/sparc/sparc64/fpu/s_nearbyintf.S: New file.
+
+ * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
+ libc_feholdexcept and libc_fesetenv.
+
+2013-01-15 Mike Frysinger <vapier@xxxxxxxxxx>
+
+ * sysdeps/unix/sysv/linux/scsi/sg.h: Include stddef.h.
+
+2013-01-14 David S. Miller <davem@xxxxxxxxxxxxx>
+
+ * sysdeps/sparc/sparc-ifunc.h (SPARC_ASM_IFUNC2): New macro.
+ (SPARC_ASM_VIS2_IFUNC): Likewise.
+ (SPARC_ASM_VIS3_VIS2_IFUNC): Likewise.
+ * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: Make
+ use of 'siam' instruction.
+ * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S:
+ Likewise.
+ * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S:
+ Likewise.
+ * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S:
+ Likewise.
+ * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: Likewise.
+ * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: Likewise.
+ * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: Likewise.
+ * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: Likewise.
+ * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis2.S: New
+ file.
+ * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis2.S: New
+ file.
+ * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis2.S: New
+ file.
+ * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis2.S: New
+ file.
+ * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis2.S: New file.
+ * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis2.S: New file.
+ * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis2.S: New file.
+ * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis2.S: New file.
+ * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Hook in
+ new VIS2 routines.
+ * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
+ * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
+ * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
+ Likewise.
+ * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
+ * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
+ * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
+ * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
+ * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new VIS2
+ routines to libm-sysdep_routines.
+ * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
+
+ * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
+ fdim/fdimf to libm-sysdep_routines.
+ * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-vis3.S: New
+ file.
+ * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.S: New file.
+ * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf-vis3.S: New
+ file.
+ * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf.S: New file.
+ * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdim.S: New file.
+ * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdimf.S: New file.
+ * sysdeps/sparc/sparc32/fpu/s_fdim.S: New file.
+ * sysdeps/sparc/sparc32/fpu/s_fdimf.S: New file.
+ * sysdeps/sparc/sparc64/fpu/s_fdim.S: New file.
+ * sysdeps/sparc/sparc64/fpu/s_fdimf.S: New file.
+
+2013-01-14 Siddhesh Poyarekar <siddhesh@xxxxxxxxxx>
+
+ * sysdeps/ieee754/dbl-64/mpa.c (__mul): Add a local variable
+ to optimize copies.
+
+ * sysdeps/ieee754/dbl-64/mpa.c: Fix formatting.
+ * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
+ * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
+
+ * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Remove
+ local variable MPTWO.
+ * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
+ Likewise.
+
+2013-01-13 Mike Frysinger <vapier@xxxxxxxxxx>
+
+ * manual/pattern.texi (Flags for Globbing): Move GLOB_NOSORT after
+ GLOB_NOESCAPE.
+
+2013-01-13 Mike Frysinger <vapier@xxxxxxxxxx>
+
+ * manual/pattern.texi (Flags for Globbing): Highlight GNU extensions.
+
+2013-01-13 Mike Frysinger <vapier@xxxxxxxxxx>
+
+ * manual/pattern.texi (glob_t): Document gl_flags.
+ (glob64_t): Likewise.
+
+2013-01-11 David S. Miller <davem@xxxxxxxxxxxxx>
+
+ * math/Makefile (gmp-objs): Use $(gmp-sysdep_routines).
+ * sysdeps/sparc/sparc64/multiarch/Makefile [$(subdir) = math]
+ (gmp-sysdep_routines): New variable. Add VIS3 optimized GMP routines.
+ * sysdeps/sparc/sparc64/multiarch/add_n-vis3.S: New file.
+ * sysdeps/sparc/sparc64/multiarch/add_n.S: New file.
+ * sysdeps/sparc/sparc64/multiarch/addmul_1-vis3.S: New file.
+ * sysdeps/sparc/sparc64/multiarch/addmul_1.S: New file.
+ * sysdeps/sparc/sparc64/multiarch/mul_1-vis3.S: New file.
+ * sysdeps/sparc/sparc64/multiarch/mul_1.S: New file.
+ * sysdeps/sparc/sparc64/multiarch/sub_n-vis3.S: New file.
+ * sysdeps/sparc/sparc64/multiarch/sub_n.S: New file.
+ * sysdeps/sparc/sparc64/multiarch/submul_1-vis3.S: New file.
+ * sysdeps/sparc/sparc64/multiarch/submul_1.S: New file.
+
+ * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
+ sparc V9 rather than using V8 code.
+ * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
+ * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
+
+ * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
+ Move to...
+ * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/multiarch/Implies:
+ Here.
+
+2013-01-11 Roland McGrath <roland@xxxxxxxxxxxxx>
+
+ * configure.in (sysnames): Use $multi_arch_d in setting up $mach list,
+ not in the main loop.
+ * configure: Regenerated.
+
+2013-01-11 Joseph Myers <joseph@xxxxxxxxxxxxxxxx>
+
+ * include/features.h (__GLIBC_HAVE_LONG_LONG): Remove.
+ * bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change #elif condition
+ to just #else.
+ * bits/types.h [__GLIBC_HAVE_LONG_LONG]: Likewise. Remove
+ [!__GLIBC_HAVE_LONG_LONG] case.
+ * posix/sys/types.h [__GLIBC_HAVE_LONG_LONG]: Change #elif
+ condition to just #else.
+ * stdlib/stdlib.h [__USE_ISOC99 || (__GLIBC_HAVE_LONG_LONG &&
+ __USE_MISC)]: Change all uses to [__USE_ISOC99 || __USE_MISC].
+ [__GLIBC_HAVE_LONG_LONG && __USE_BSD]: Change to [__USE_BSD].
+ * string/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Make code
+ unconditional.
+ * string/endian.h [__GLIBC_HAVE_LONG_LONG]: Likewise.
+ * sysdeps/s390/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
+ #elif condition to just #else.
+ * sysdeps/unix/sysv/linux/sys/sysmacros.h
+ [__GLIBC_HAVE_LONG_LONG]: Make code unconditional.
+ * sysdeps/x86/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
+ #elif condition to just #else.
+
+2013-01-11 Steve Ellcey <sellcey@xxxxxxxx>
+
+ * elf/elf.h (EF_MIPS_ARCH_32): Fix value.
+ (EF_MIPS_ARCH_64): Fix value.
+ (EF_MIPS_ARCH_32R2): New.
+ (EF_MIPS_ARCH_64R2): New.
+
+2013-01-11 H.J. Lu <hongjiu.lu@xxxxxxxxx>
+
+ * Makeconfig (+link-pie-before-libc): New.
+ (+link-pie-after-libc): Likewise.
+ (+link-pie-tests): Likewise.
+ (+link-pie): Rewritten.
+ (link-before-libc): Remove $(config-LDFLAGS).
+ (+link): Add $(rtld-LDFLAGS) after $(+link-before-libc).
+ (+link-tests): Add $(rtld-tests-LDFLAGS) after $(+link-before-libc).
+ (config-LDFLAGS): Renamed to ...
+ (rtld-LDFLAGS): This.
+ (rtld-tests-LDFLAGS): New macro.
+ (link-libc-rpath-link): Likewise.
+ (link-libc-tests-rpath-link): Likewise.
+ (link-libc-before-gnulib): Remove -Wl,-rpath-link=$(rpath-link).
+ (link-libc): Prepand $(link-libc-rpath-link).
+ (link-libc-tests): Prepand $(link-libc-tests-rpath-link).
+ (test-program-prefix): New macro.
+ (test-via-rtld-prefix): Likewise.
+ (test-program-cmd): Likewise.
+ (host-test-program-cmd): Likewise.
+ * Makefile ($(common-objpfx)testrun.sh): Replace
+ $(run-program-prefix) with $(test-program-prefix).
+ * Makerules ($(LINK.o)): Replace $(config-LDFLAGS) with
+ $(rtld-LDFLAGS).
+ ($(common-objpfx)shlib.lds): Likewise.
+ (build-module-helper): Likewise.
+ ($(common-objpfx)format.lds): Likewise.
+ * Rules (binaries-pie-tests): New.
+ (binaries-pie-notests): Likewise.
+ (binaries-pie): Rewritten.
+ ($(addprefix $(objpfx),$(binaries-pie))): Renamed to ...
+ ($(addprefix $(objpfx),$(binaries-pie-notests))): This.
+ ($(addprefix $(objpfx),$(binaries-pie-tests))): New.
+ (make-test-out): Replace $(host-built-program-cmd) with
+ $(host-test-program-cmd).
+ * config.make.in (build-hardcoded-path-in-tests): New variable.
+ * configure.in (--enable-hardcoded-path-in-tests): New configure
+ option.
+ (hardcoded_path_in_tests): New AC_SUBST.
+ * configure: Regenerated.
+ * catgets/Makefile ($(objpfx)test-gencat.out): Replace
+ $(built-program-cmd) with $(test-program-cmd).
+ * catgets/test-gencat.sh (run_program_cmd): Renamed to ...
+ (test_program_cmd): This.
+ * elf/Makefile ($(objpfx)order.out): Run test with
+ $(test-program-prefix).
+ ($(objpfx)order2.out): Likewise.
+ ($(objpfx)tst-initorder.out): Likewise.
+ ($(objpfx)tst-initorder2.out): Likewise.
+ ($(objpfx)tst-array1.out): Replace $(built-program-cmd) with
+ $(test-program-cmd).
+ ($(objpfx)tst-array1-static.out): Likewise.
+ ($(objpfx)tst-array2.out): Likewise.
+ ($(objpfx)tst-array3.out): Likewise.
+ ($(objpfx)tst-array4.out): Likewise.
+ ($(objpfx)tst-array5.out): Likewise.
+ ($(objpfx)tst-array5-static.out): Likewise.
+ (tst-stackguard1-ARGS): Replace $(built-program-cmd) with
+ $(test-program-cmd).
+ * grp/Makefile ($(objpfx)tst_fgetgrent.out): Replace
+ $(run-program-prefix) with $(test-program-prefix).
+ * grp/tst_fgetgrent.sh (run_program_prefix): Renamed to ...
+ (test_program_prefix): This.
+ * iconvdata/Makefile ($(objpfx)tst-tables.out): Replace
+ $(run-program-prefix) with $(test-program-prefix).
+ * iconvdata/tst-table.sh (run_program_prefix): Renamed to ...
+ (test_program_prefix): This.
+ * iconvdata/tst-tables.sh: Likewise.
+ * intl/Makefile ($(objpfx)tst-gettext.out): Replace
+ $(run-program-prefix) with $(test-program-prefix).
+ ($(objpfx)tst-translit.out): Likewise.
+ ($(objpfx)tst-gettext2.out): Likewise.
+ ($(objpfx)tst-gettext4.out): Likewise.
+ ($(objpfx)tst-gettext6.out): Likewise.
+ * intl/tst-gettext.sh (run_program_prefix): Renamed to ...
+ (test_program_prefix): This.
+ * intl/tst-gettext2.sh: Likewise.
+ * intl/tst-gettext4.sh Likewise.
+ * intl/tst-gettext6.sh: Likewise.
+ * intl/tst-translit.sh: Likewise.
+ * io/Makefile ($(objpfx)ftwtest.out): Replace $(run-program-cmd)
+ with $(test-program-cmd).
+ * libio/Makefile ($(objpfx)test-freopen.out): Replace
+ $(run-program-prefix) with $(test-program-prefix).
+ * libio/test-freopen.sh (run_program_prefix): Renamed to ...
+ (test_program_prefix): This.
+ * malloc/Makefile ($(objpfx)tst-mtrace.out): Replace
+ $(run-program-prefix) with $(test-program-prefix).
+ * malloc/tst-mtrace.sh (run_program_prefix): Renamed to ...
+ (test_program_prefix): This.
+ * manual/install.texi: Document --enable-hardcoded-path-in-tests.
+ * posix/Makefile ($(objpfx)globtest.out): Replace
+ $(run-via-rtld-prefix) and $(test-wrapper) with
+ $(test-program-prefix) and $(test-via-rtld-prefix).
+ ($(objpfx)wordexp-tst.out): Replace $(run-program-prefix) with
+ $(test-program-prefix).
+ (tst-exec-ARGS): Replace $(host-built-program-cmd) with
+ $(host-test-program-cmd).
+ (tst-spawn-ARGS): Likewise.
+ ($(objpfx)tst-rxspencer-mem): Replace $(run-program-prefix) with
+ $(test-program-prefix).
+ * posix/globtest.sh (un_via_rtld_prefix): Renamed to ...
+ (test_via_rtld_prefix): This.
+ (test_wrapper): Renamed to ...
+ (test_program_prefix): This.
+ (run_program_prefix): Replaced by test_program_prefix.
+ * posix/wordexp-tst.sh (run_program_prefix): Renamed to ...
+ (test_program_prefix): This.
+ * rt/Makefile (tst-mqueue7-ARGS): Replace $(host-built-program-cmd)
+ with $(host-test-program-cmd).
+ * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Replace
+ $(run-program-prefix) with $(test-program-prefix).
+ ($(objpfx)tst-printf.out): Likewise.
+ ($(objpfx)tst-setvbuf1.out): Replace $(built-program-cmd) with
+ $(test-program-cmd).
+ * stdio-common/tst-printf.sh (run_program_prefix): Renamed to ...
+ (test_program_prefix): This.
+ * stdio-common/tst-unbputc.sh: Likewise.
+ * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Replace
+ $(run-program-prefix) with $(test-program-prefix).
+ * stdlib/tst-fmtmsg.sh (run_program_prefix): Renamed to ...
+ (test_program_prefix): This.
+ * string/Makefile ($(objpfx)tst-svc.out): Replace
+ $(built-program-cmd) with $(test-program-cmd).
+
+2013-01-11 Andreas Jaeger <aj@xxxxxxx>
+
+ [BZ #15003]
+ * sysdeps/unix/sysv/linux/bits/socket.h (MSG_FASTOPEN): New
+ value. Sync with Linux 3.7.
+
+2013-01-10 David S. Miller <davem@xxxxxxxxxxxxx>
+
+ * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Revert previous changes.
+ * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
+ * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
+
+2013-01-10 Roland McGrath <roland@xxxxxxxxxxxxx>
+
+ * configure.in (sysnames): Drop use of $m0sub and $msub, which are
+ never set.
+ * configure: Regenerated.
+
+2013-01-10 David S. Miller <davem@xxxxxxxxxxxxx>
+
+ * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
+ sparc V9 rather than using V8 code.
+ * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
+ * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
+
+2013-01-10 Roland McGrath <roland@xxxxxxxxxxxxx>
+
+ * elf/elf.h (DT_SPARC_REGISTER, DT_SPARC_NUM): Fix whitespace.
+ (EF_MIPS_NOREORDER, EF_MIPS_PIC, EF_MIPS_CPIC, EF_MIPS_XGOT): Likewise.
+ (EF_MIPS_64BIT_WHIRL, EF_MIPS_ABI2, EF_MIPS_ABI_ON32): Likewise.
+ (EF_MIPS_ARCH, EF_MIPS_ARCH_1, EF_MIPS_ARCH_2): Likewise.
+ (EF_MIPS_ARCH_3, EF_MIPS_ARCH_4, EF_MIPS_ARCH_5): Likewise.
+ (EF_MIPS_ARCH_32, EF_MIPS_ARCH_64): Likewise.
+ (E_MIPS_ARCH_1): Define in terms of EF_MIPS_ARCH_* counterpart.
+ (E_MIPS_ARCH_2, E_MIPS_ARCH_3, E_MIPS_ARCH_4, E_MIPS_ARCH_5): Likewise.
+ (E_MIPS_ARCH_32, E_MIPS_ARCH_64): Likewise.
+ (SHN_MIPS_ACOMMON, SHN_MIPS_TEXT, SHN_MIPS_DATA): Fix whitespace.
+ (SHN_MIPS_SCOMMON, SHN_MIPS_SUNDEFINED): Likewise.
+ (SHT_MIPS_LIBLIST, SHT_MIPS_MSYM, SHT_MIPS_CONFLICT): Likewise.
+ (SHT_MIPS_GPTAB, SHT_MIPS_UCODE, SHT_MIPS_DEBUG): Likewise.
+ (SHT_MIPS_REGINFO, SHT_MIPS_PACKAGE, SHT_MIPS_PACKSYM): Likewise.
+ (SHT_MIPS_RELD, SHT_MIPS_IFACE, SHT_MIPS_CONTENT): Likewise.
+ (SHT_MIPS_OPTIONS, SHT_MIPS_SHDR, SHT_MIPS_FDESC): Likewise.
+ (SHT_MIPS_EXTSYM, SHT_MIPS_DENSE, SHT_MIPS_PDESC): Likewise.
+ (SHT_MIPS_LOCSYM, SHT_MIPS_AUXSYM, SHT_MIPS_OPTSYM): Likewise.
+ (SHT_MIPS_LOCSTR, SHT_MIPS_LINE, SHT_MIPS_RFDESC): Likewise.
+ (SHT_MIPS_DELTASYM, SHT_MIPS_DELTAINST, SHT_MIPS_DELTACLASS): Likewise.
+ (SHT_MIPS_DELTADECL, SHT_MIPS_SYMBOL_LIB, SHT_MIPS_EVENTS): Likewise.
+ (SHT_MIPS_TRANSLATE, SHT_MIPS_PIXIE, SHT_MIPS_XLATE): Likewise.
+ (SHT_MIPS_XLATE_DEBUG, SHT_MIPS_WHIRL, SHT_MIPS_EH_REGION): Likewise.
+ (SHT_MIPS_XLATE_OLD, SHT_MIPS_PDR_EXCEPTION): Likewise.
+ (SHF_MIPS_GPREL, SHF_MIPS_MERGE, SHF_MIPS_ADDR): Likewise.
+ (SHF_MIPS_STRINGS, SHF_MIPS_NOSTRIP, SHF_MIPS_LOCAL): Likewise.
+ (SHF_MIPS_NAMES, SHF_MIPS_NODUPE): Likewise.
+
+2013-01-10 David S. Miller <davem@xxxxxxxxxxxxx>
+
+ * sysdeps/sparc/fpu/libm-test-ulps: Update.
+
+2013-01-10 H.J. Lu <hongjiu.lu@xxxxxxxxx>
+
+ * posix/Makefile (tests-static): New variable.
+ (tests): Add $(tests-static).
+ (tst-exec-static-ARGS): New variable.
+ (tst-spawn-static-ARGS): Likewise.
+ * posix/tst-exec-static.c: New file.
+ * posix/tst-spawn-static.c: Likewise.
+ * posix/tst-exec.c: Support run directly.
+ * posix/tst-spawn.c: Likewise.
+
+2013-01-10 Joseph Myers <joseph@xxxxxxxxxxxxxxxx>
+
+ * elf/link.h (struct dl_phdr_info): Use __extension__ with long
+ long.
+ * math/bits/mathcalls.h (llrint): Likewise.
+ (llround): Likewise.
+ * stdlib/stdlib.h (struct drand48_data): Likewise.
+ * sysdeps/generic/inttypes.h (imaxdiv_t): Likewise.
+ * sysdeps/s390/bits/byteswap.h (__bswap_64): Likewise.
+ * sysdeps/unix/sysv/linux/sparc/bits/ipc.h (struct ipc_perm):
+ Likewise.
+ * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (struct fpu):
+ Likewise.
+ * sysdeps/unix/sysv/linux/x86/sys/procfs.h [__x86_64__]
+ (elf_greg_t): Likewise.
+ * sysdeps/x86/bits/setjmp.h [__x86_64__ && __WORDSIZE != 64]
+ (__jmp_buf): Likewise.
+ * sysdeps/x86/fpu/bits/mathinline.h (llrintf): Likewise, for all
+ definitions.
+ (llrint): Likewise, for all definitions.
+ (llrintl): Likewise.
+
+ * string/string.h [__USE_BSD && __USE_GNU && __GNUC__] (ffsll):
+ Remove [__GNUC__] condition.
+ * wcsmbs/wchar.h [__USE_ISOC99 || (__GNUC__ && __USE_GNU)]: Change
+ condition to just [__USE_ISOC99].
+ [__GNUC__ && __USE_GNU]: Change condition to just [__USE_GNU].
+
+2013-01-10 H.J. Lu <hongjiu.lu@xxxxxxxxx>
+
+ [BZ #14200]
+ * sysdeps/unix/sysv/linux/x86/bits/environments.h
+ (_POSIX_V7_ILP32_OFF32): Defined as 1 only if __x86_64__ isn't
+ defined.
+ (_POSIX_V6_ILP32_OFF32): Likewise.
+ (_XBS5_ILP32_OFF32): Likewise.
+ (__ILP32_OFFBIG_CFLAGS): Defined as "-mx32" for x32.
+ (__ILP32_OFFBIG_LDFLAGS): Likewise.
+
+2013-01-10 Siddhesh Poyarekar <siddhesh@xxxxxxxxxx>
+
+ * sysdeps/ieee754/dbl-64/mpexp.c: Fix formatting.
+
+ * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): New array of
+ doubles __mpexp_twomm1. Adjust usage.
+ * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1):
+ Remove.
+
+2013-01-10 Andreas Schwab <schwab@xxxxxxx>
+
+ [BZ #14964]
+ * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (FALLOC_FL_KEEP_SIZE)
+ (FALLOC_FL_PUNCH_HOLE) [__USE_GNU]: New macros.
+
+2013-01-09 David S. Miller <davem@xxxxxxxxxxxxx>
+
+ [BZ #15003]
+ * sysdeps/gnu/netinet/tcp.h (TCP_COOKIE_TRANSACTIONS,
+ TCP_THIN_LINEAR_TIMEOUTS, TCP_THIN_DUPACK, TCP_USER_TIMEOUT,
+ TCP_REPAIR, TCP_REPAIR_QUEUE, TCP_QUEUE_SEQ, TCP_REPAIR_OPTIONS,
+ TCP_FASTOPEN): Define.
+ (tcp_repair_opt): New structure.
+ (TCP_NO_QUEUE, TCP_RECV_QUEUE, TCP_SEND_QUEUE, TCP_QUEUES_NR): New
+ enum values.
+ (TCP_COOKIE_MIN, TCP_COOKIE_MAX, TCP_COOKIE_PAIR_SIZE,
+ TCP_COOKIE_IN_ALWAYS, TCP_COOKIE_OUT_NEVER, TCP_S_DATA_IN,
+ TCP_S_DATA_OUT, TCP_MSS_DEFAULT, TCP_MSS_DESIRED): Define.
+ (tcp_cookie_transactions): New structure.
+
+2013-01-09 Anton Blanchard <anton@xxxxxxxxx>
+
+ * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: New file.
+ * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_getcpu.
+ * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Likewise.
+ * sysdeps/unix/sysv/linux/powerpc/init-first.c: Likewise.
+
+2013-01-09 Joseph Myers <joseph@xxxxxxxxxxxxxxxx>
+
+ * include/features.h (__USE_ANSI): Remove.
+
+2013-01-09 Roland McGrath <roland@xxxxxxxxxxxxx>
+
+ * posix/Makefile (others): Depend on $(objpfx)getconf.speclist.
+
+ * misc/error.c (error_tail: ALLOCA_LIMIT): Remove unused macro.
+
2013-01-09 Siddhesh Poyarekar <siddhesh@xxxxxxxxxx>
* sysdeps/s390/fpu/libm-test-ulps: Update.
Modified: trunk/libc/Makeconfig
==============================================================================
--- trunk/libc/Makeconfig (original)
+++ trunk/libc/Makeconfig Fri Jan 18 17:11:00 2013
@@ -379,8 +379,8 @@
# Command for linking PIE programs with the C library.
ifndef +link-pie
-+link-pie = $(CC) -pie -Wl,-O1 -nostdlib -nostartfiles -o $@ \
- $(sysdep-LDFLAGS) $(config-LDFLAGS) $(LDFLAGS) $(LDFLAGS-$(@F)) \
++link-pie-before-libc = $(CC) -pie -Wl,-O1 -nostdlib -nostartfiles -o $@ \
+ $(sysdep-LDFLAGS) $(LDFLAGS) $(LDFLAGS-$(@F)) \
$(combreloc-LDFLAGS) $(relro-LDFLAGS) $(hashstyle-LDFLAGS) \
$(addprefix $(csu-objpfx),S$(start-installed-name)) \
$(+preinit) $(+prectorS) \
@@ -388,7 +388,12 @@
S$(start-installed-name))\
$(+preinit) $(link-extra-libs) \
$(common-objpfx)libc% $(+postinit),$^) \
- $(link-extra-libs) $(link-libc) $(+postctorS) $(+postinit)
+ $(link-extra-libs)
++link-pie-after-libc = $(+postctorS) $(+postinit)
++link-pie = $(+link-pie-before-libc) $(rtld-LDFLAGS) $(link-libc) \
+ $(+link-pie-after-libc)
++link-pie-tests = $(+link-pie-before-libc) $(rtld-tests-LDFLAGS) \
+ $(link-libc-tests) $(+link-pie-after-libc)
endif
# Command for statically linking programs with the C library.
ifndef +link-static
@@ -411,7 +416,7 @@
ifndef +link
ifeq (yes,$(build-shared))
+link-before-libc = $(CC) -nostdlib -nostartfiles -o $@ \
- $(sysdep-LDFLAGS) $(config-LDFLAGS) $(LDFLAGS) $(LDFLAGS-$(@F)) \
+ $(sysdep-LDFLAGS) $(LDFLAGS) $(LDFLAGS-$(@F)) \
$(combreloc-LDFLAGS) $(relro-LDFLAGS) $(hashstyle-LDFLAGS) \
$(addprefix $(csu-objpfx),$(start-installed-name)) \
$(+preinit) $(+prector) \
@@ -421,8 +426,10 @@
$(common-objpfx)libc% $(+postinit),$^) \
$(link-extra-libs)
+link-after-libc = $(+postctor) $(+postinit)
-+link = $(+link-before-libc) $(link-libc) $(+link-after-libc)
-+link-tests = $(+link-before-libc) $(link-libc-tests) $(+link-after-libc)
++link = $(+link-before-libc) $(rtld-LDFLAGS) $(link-libc) \
+ $(+link-after-libc)
++link-tests = $(+link-before-libc) $(rtld-tests-LDFLAGS) \
+ $(link-libc-tests) $(+link-after-libc)
else
+link = $(+link-static)
+link-tests = $(+link-static-tests)
@@ -440,9 +447,16 @@
$(common-objpfx)libc% $(+postinit),$^) \
$(link-extra-libs-bounded) $(link-libc-bounded) $(+postctorT) $(+postinit)
endif
-ifndef config-LDFLAGS
ifeq (yes,$(build-shared))
-config-LDFLAGS = -Wl,-dynamic-linker=$(slibdir)/$(rtld-installed-name)
+ifndef rtld-LDFLAGS
+rtld-LDFLAGS = -Wl,-dynamic-linker=$(slibdir)/$(rtld-installed-name)
+endif
+ifndef rtld-tests-LDFLAGS
+ifeq (yes,$(build-hardcoded-path-in-tests))
+rtld-tests-LDFLAGS = -Wl,-dynamic-linker=$(common-objpfx)elf/ld.so
+else
+rtld-tests-LDFLAGS = $(rtld-LDFLAGS)
+endif
endif
endif
ifndef link-libc
@@ -450,12 +464,19 @@
# We need the versioned name of libc.so in the deps of $(others) et al
# so that the symlink to libc.so is created before anything tries to
# run the linked programs.
-link-libc-before-gnulib = -Wl,-rpath-link=$(rpath-link) \
- $(common-objpfx)libc.so$(libc.so-version) \
- $(common-objpfx)$(patsubst %,$(libtype.oS),c) \
- $(as-needed) $(common-objpfx)elf/ld.so $(no-as-needed)
-link-libc = $(link-libc-before-gnulib) $(gnulib)
-link-libc-tests = $(link-libc-before-gnulib) $(gnulib-tests)
+link-libc-rpath-link = -Wl,-rpath-link=$(rpath-link)
+ifeq (yes,$(build-hardcoded-path-in-tests))
+link-libc-tests-rpath-link = -Wl,-rpath=$(rpath-link)
+else
+link-libc-tests-rpath-link = $(link-libc-rpath-link)
+endif
+link-libc-before-gnulib = $(common-objpfx)libc.so$(libc.so-version) \
+ $(common-objpfx)$(patsubst %,$(libtype.oS),c) \
+ $(as-needed) $(common-objpfx)elf/ld.so \
+ $(no-as-needed)
+link-libc = $(link-libc-rpath-link) $(link-libc-before-gnulib) $(gnulib)
+link-libc-tests = $(link-libc-tests-rpath-link) \
+ $(link-libc-before-gnulib) $(gnulib-tests)
# This is how to find at build-time things that will be installed there.
rpath-dirs = math elf dlfcn nss nis rt resolv crypt
rpath-link = \
@@ -628,6 +649,40 @@
LD := ld -X
endif
+# $(test-via-rtld-prefix) is a command that, when prepended to the name
+# of a test program built with the newly built library, produces a command
+# that, executed on the host for which the library is built, runs that
+# program. For the statically-linked %-bp test programs, and for
+# tests listed in tests-static or xtests-static as well as when test
+# programs are hardcoded to the newly built libraries, it is empty.
+
+# $(test-program-prefix) is a command that, when prepended to the name
+# of a test program built with the newly built library, produces a command
+# that, executed on the build system on which "make" is run, runs that
+# test program.
+
+# $(test-program-cmd) is a command that, executed on the build system
+# on which "make" is run, runs the newly built test program that is the
+# second dependency of the makefile target in which
+# $(test-program-cmd) is used.
+
+# $(host-test-program-cmd) is a command that, executed on the host
+# for which the library is built, runs the newly built test program that
+# is the second dependency of the makefile target in which
+# $(host-test-program-cmd) is used.
+
+ifeq (yes,$(build-hardcoded-path-in-tests))
+test-via-rtld-prefix =
+test-program-prefix = $(test-wrapper)
+test-program-cmd = $(test-wrapper) $(built-program-file)
+host-test-program-cmd = $(built-program-file)
+else
+test-via-rtld-prefix = $(run-via-rtld-prefix)
+test-program-prefix = $(run-program-prefix)
+test-program-cmd = $(built-program-cmd)
+host-test-program-cmd = $(host-built-program-cmd)
+endif
+
# Extra flags to pass to GCC.
ifeq ($(all-warnings),yes)
+gccwarn := -Wall -Wwrite-strings -Winline -Wcast-qual -Wbad-function-cast -Wmissing-noreturn -Wmissing-prototypes -Wmissing-declarations -Wcomment -Wcomments -Wtrigraphs -Wsign-compare -Wfloat-equal -Wmultichar
Modified: trunk/libc/Makefile
==============================================================================
--- trunk/libc/Makefile (original)
+++ trunk/libc/Makefile Fri Jan 18 17:11:00 2013
@@ -164,7 +164,7 @@
echo 'builddir=`dirname "$$0"`'; \
echo 'GCONV_PATH="$${builddir}/iconvdata" \'; \
echo 'exec $(subst $(common-objdir),"$${builddir}",\
- $(run-program-prefix)) $${1+"$$@"}'; \
+ $(test-program-prefix)) $${1+"$$@"}'; \
) > $@T
chmod a+x $@T
mv -f $@T $@
Modified: trunk/libc/Makerules
==============================================================================
--- trunk/libc/Makerules (original)
+++ trunk/libc/Makerules Fri Jan 18 17:11:00 2013
@@ -470,7 +470,7 @@
define build-shlib-helper
$(LINK.o) -shared $(static-libgcc) -Wl,-O1 $(sysdep-LDFLAGS) \
- $(if $($(@F)-no-z-defs)$(no-z-defs),,-Wl,-z,defs) $(config-LDFLAGS) \
+ $(if $($(@F)-no-z-defs)$(no-z-defs),,-Wl,-z,defs) $(rtld-LDFLAGS) \
$(extra-B-$(@F:lib%.so=%).so) -B$(csu-objpfx) \
$(extra-B-$(@F:lib%.so=%).so) $(load-map-file) \
-Wl,-soname=lib$(libprefix)$(@F:lib%.so=%).so$($(@F)-version) \
@@ -488,7 +488,7 @@
$(common-objpfx)shlib.lds: $(common-objpfx)config.make $(..)Makerules
$(LINK.o) -shared -Wl,-O1 \
-nostdlib -nostartfiles \
- $(sysdep-LDFLAGS) $(config-LDFLAGS) $(LDFLAGS.so) \
+ $(sysdep-LDFLAGS) $(rtld-LDFLAGS) $(LDFLAGS.so) \
-Wl,--verbose 2>&1 | \
sed > $@T \
-e '/^=========/,/^=========/!d;/^=========/d' \
@@ -528,7 +528,7 @@
endef
define build-module-helper
-$(LINK.o) -shared $(static-libgcc) $(sysdep-LDFLAGS) $(config-LDFLAGS) \
+$(LINK.o) -shared $(static-libgcc) $(sysdep-LDFLAGS) $(rtld-LDFLAGS) \
$(if $($(@F)-no-z-defs)$(no-z-defs),,-Wl,-z,defs) \
-B$(csu-objpfx) $(load-map-file) \
$(LDFLAGS.so) $(LDFLAGS-$(@F:%.so=%).so) \
@@ -958,7 +958,7 @@
ifneq (unknown,$(output-format))
echo > $@.new 'OUTPUT_FORMAT($(output-format))'
else
- $(LINK.o) -shared $(sysdep-LDFLAGS) $(config-LDFLAGS) $(LDFLAGS.so) \
+ $(LINK.o) -shared $(sysdep-LDFLAGS) $(rtld-LDFLAGS) $(LDFLAGS.so) \
-x c /dev/null -o $@.so -Wl,--verbose -v 2>&1 \
| sed -n -f $< > $@.new
test -s $@.new
Modified: trunk/libc/NEWS
==============================================================================
--- trunk/libc/NEWS (original)
+++ trunk/libc/NEWS Fri Jan 18 17:11:00 2013
@@ -9,7 +9,8 @@
* The following bugs are resolved with this release:
- 13951, 14317, 14981, 14982, 14985, 14994, 14996.
+ 13951, 14200, 14317, 14327, 14496, 14964, 14981, 14982, 14985, 14994,
+ 14996, 15003, 15023.
Version 2.17
Modified: trunk/libc/Rules
==============================================================================
--- trunk/libc/Rules (original)
+++ trunk/libc/Rules Fri Jan 18 17:11:00 2013
@@ -114,9 +114,11 @@
binaries-static-tests = $(tests-static) $(xtests-static)
binaries-static = $(binaries-static-notests) $(binaries-static-tests)
ifeq (yesyes,$(have-fpie)$(build-shared))
-binaries-pie = $(others-pie) $(tests-pie) $(xtests-pie)
-else
-binaries-pie =
+binaries-pie-tests = $(tests-pie) $(xtests-pie)
+binaries-pie-notests = $(others-pie)
+else
+binaries-pie-tests =
+binaries-pie-notests =
endif
else
binaries-all-notests =
@@ -125,9 +127,11 @@
binaries-static-notests =
binaries-static-tests =
binaries-static =
-binaries-pie =
-endif
-
+binaries-pie-tests =
+binaries-pie-notests =
+endif
+
+binaries-pie = $(binaries-pie-tests) $(binaries-pie-notests)
binaries-shared-tests = $(filter-out $(binaries-pie) $(binaries-static), \
$(binaries-all-tests))
binaries-shared-notests = $(filter-out $(binaries-pie) $(binaries-static), \
@@ -147,8 +151,15 @@
$(+link-tests)
endif
-ifneq "$(strip $(binaries-pie))" ""
-$(addprefix $(objpfx),$(binaries-pie)): %: %.o \
+ifneq "$(strip $(binaries-pie-tests))" ""
+$(addprefix $(objpfx),$(binaries-pie-tests)): %: %.o \
+ $(sort $(filter $(common-objpfx)lib%,$(link-libc))) \
+ $(addprefix $(csu-objpfx),start.o) $(+preinit) $(+postinit)
+ $(+link-pie-tests)
+endif
+
+ifneq "$(strip $(binaries-pie-notests))" ""
+$(addprefix $(objpfx),$(binaries-pie-notests)): %: %.o \
$(sort $(filter $(common-objpfx)lib%,$(link-libc))) \
$(addprefix $(csu-objpfx),start.o) $(+preinit) $(+postinit)
$(+link-pie)
@@ -182,7 +193,7 @@
make-test-out = $(test-wrapper-env) \
GCONV_PATH=$(common-objpfx)iconvdata LC_ALL=C \
- $($*-ENV) $(host-built-program-cmd) $($*-ARGS)
+ $($*-ENV) $(host-test-program-cmd) $($*-ARGS)
$(objpfx)%-bp.out: %.input $(objpfx)%-bp
$(make-test-out) > $@ < $(word 1,$^)
$(objpfx)%.out: %.input $(objpfx)%
Modified: trunk/libc/bits/byteswap.h
==============================================================================
--- trunk/libc/bits/byteswap.h (original)
+++ trunk/libc/bits/byteswap.h Fri Jan 18 17:11:00 2013
@@ -91,7 +91,7 @@
} \
__r.__ll; }))
# endif
-#elif __GLIBC_HAVE_LONG_LONG
+#else
# define __bswap_constant_64(x) \
((((x) & 0xff00000000000000ull) >> 56) \
| (((x) & 0x00ff000000000000ull) >> 40) \
Modified: trunk/libc/bits/types.h
==============================================================================
--- trunk/libc/bits/types.h (original)
+++ trunk/libc/bits/types.h Fri Jan 18 17:11:00 2013
@@ -42,7 +42,7 @@
#if __WORDSIZE == 64
typedef signed long int __int64_t;
typedef unsigned long int __uint64_t;
-#elif defined __GLIBC_HAVE_LONG_LONG
+#else
__extension__ typedef signed long long int __int64_t;
__extension__ typedef unsigned long long int __uint64_t;
#endif
@@ -51,18 +51,9 @@
#if __WORDSIZE == 64
typedef long int __quad_t;
typedef unsigned long int __u_quad_t;
-#elif defined __GLIBC_HAVE_LONG_LONG
+#else
__extension__ typedef long long int __quad_t;
__extension__ typedef unsigned long long int __u_quad_t;
-#else
-typedef struct
-{
- long __val[2];
-} __quad_t;
-typedef struct
-{
- __u_long __val[2];
-} __u_quad_t;
#endif
Modified: trunk/libc/catgets/Makefile
==============================================================================
--- trunk/libc/catgets/Makefile (original)
+++ trunk/libc/catgets/Makefile Fri Jan 18 17:11:00 2013
@@ -79,7 +79,7 @@
$(objpfx)test-gencat.out: test-gencat.sh $(objpfx)test-gencat \
$(objpfx)sample.SJIS.cat
- $(SHELL) $< $(common-objpfx) '$(built-program-cmd)'
+ $(SHELL) $< $(common-objpfx) '$(test-program-cmd)'
$(objpfx)sample.SJIS.cat: sample.SJIS $(objpfx)gencat
GCONV_PATH=$(common-objpfx)iconvdata LC_ALL=C \
Modified: trunk/libc/catgets/test-gencat.sh
==============================================================================
--- trunk/libc/catgets/test-gencat.sh (original)
+++ trunk/libc/catgets/test-gencat.sh Fri Jan 18 17:11:00 2013
@@ -20,12 +20,12 @@
set -e
common_objpfx=$1
-run_program_cmd=$2
+test_program_cmd=$2
# Run the test program.
LOCPATH=${common_objpfx}localedata GCONV_PATH=${common_objpfx}iconvdata \
NLSPATH=${common_objpfx}catgets/%N.%c.cat LC_ALL=ja_JP.SJIS \
- ${run_program_cmd} \
+ ${test_program_cmd} \
> ${common_objpfx}catgets/test-gencat.out
# Compare with the expected result.
Modified: trunk/libc/config.make.in
==============================================================================
--- trunk/libc/config.make.in (original)
+++ trunk/libc/config.make.in Fri Jan 18 17:11:00 2013
@@ -101,6 +101,7 @@
link-obsolete-rpc = @link_obsolete_rpc@
build-nscd = @build_nscd@
use-nscd = @use_nscd@
+build-hardcoded-path-in-tests= @hardcoded_path_in_tests@
# Build tools.
CC = @CC@
Modified: trunk/libc/configure
==============================================================================
--- trunk/libc/configure (original)
+++ trunk/libc/configure Fri Jan 18 17:11:00 2013
@@ -659,6 +659,7 @@
all_warnings
force_install
bindnow
+hardcoded_path_in_tests
oldest_abi
use_default_link
sysheaders
@@ -745,6 +746,7 @@
enable_profile
enable_versioning
enable_oldest_abi
+enable_hardcoded_path_in_tests
enable_stackguard_randomization
enable_add_ons
enable_hidden_plt
@@ -1397,6 +1399,9 @@
objects [default=yes if supported]
--enable-oldest-abi=ABI configure the oldest ABI supported [e.g. 2.2]
[default=glibc default]
+ --enable-hardcoded-path-in-tests
+ hardcode newly built glibc path in tests
+ [default=no]
--enable-stackguard-randomization
initialize __stack_chk_guard canary with a random
number at program start
@@ -3696,6 +3701,15 @@
_ACEOF
fi
+
+
+# Check whether --enable-hardcoded-path-in-tests was given.
+if test "${enable_hardcoded_path_in_tests+set}" = set; then :
+ enableval=$enable_hardcoded_path_in_tests; hardcoded_path_in_tests=$enableval
+else
+ hardcoded_path_in_tests=no
+fi
+
# Check whether --enable-stackguard-randomization was given.
@@ -4281,6 +4295,7 @@
multi_arch=no
fi
fi
+multi_arch_d=
if test x"$multi_arch" != xno; then
multi_arch_d=/multiarch
fi
@@ -4333,11 +4348,16 @@
set $m
# Prepend the machine's FPU directory unless --without-fp.
if test "$with_fp" = yes; then
- mach="$mach /$1/fpu"
+ maybe_fpu=/fpu
else
- mach="$mach /$1/nofpu"
- fi
- mach="$mach /$1"
+ maybe_fpu=/nofpu
+ fi
+ # For each machine term, try it with and then without /multiarch.
+ for try_fpu in $maybe_fpu ''; do
+ for try_multi in $multi_arch_d ''; do
+ mach="$mach /$1$try_fpu$try_multi"
+ done
+ done
tail="$2"
done
@@ -4351,15 +4371,16 @@
test "$v" = / && continue
for o in /$ostry ''; do
test "$o" = / && continue
- for m in $multi_arch_d $mach ''; do
+ for m in $mach ''; do
for d in $add_ons_pfx ''; do
for a in $add_ons_sfx ''; do
- if test -n "$m0$m0sub$b$v$o$m$msub"; then
+ try_suffix="$m0$b$v$o$m"
+ if test -n "$try_suffix"; then
try_srcdir="${srcdir}/"
case "$d" in
/*) try_srcdir= ;;
esac
- try="${d}sysdeps$m0$m0sub$b$v$o$m$msub$a"
+ try="${d}sysdeps$try_suffix$a"
test -n "$enable_debug_configure" &&
echo "$0 DEBUG: try $try" >&2
if test -d "$try_srcdir$try"; then
Modified: trunk/libc/configure.in
==============================================================================
--- trunk/libc/configure.in (original)
+++ trunk/libc/configure.in Fri Jan 18 17:11:00 2013
@@ -145,6 +145,13 @@
AC_DEFINE_UNQUOTED(GLIBC_OLDEST_ABI, "$oldest_abi")
fi
AC_SUBST(oldest_abi)
+
+AC_ARG_ENABLE([hardcoded-path-in-tests],
+ AC_HELP_STRING([--enable-hardcoded-path-in-tests],
+ [hardcode newly built glibc path in tests @<:@default=no@:>@]),
+ [hardcoded_path_in_tests=$enableval],
+ [hardcoded_path_in_tests=no])
+AC_SUBST(hardcoded_path_in_tests)
AC_ARG_ENABLE([stackguard-randomization],
AC_HELP_STRING([--enable-stackguard-randomization],
@@ -626,6 +633,7 @@
multi_arch=no
fi
fi
+multi_arch_d=
if test x"$multi_arch" != xno; then
multi_arch_d=/multiarch
fi
@@ -679,11 +687,16 @@
set $m
# Prepend the machine's FPU directory unless --without-fp.
if test "$with_fp" = yes; then
- mach="$mach /$1/fpu"
+ maybe_fpu=/fpu
else
- mach="$mach /$1/nofpu"
- fi
- mach="$mach /$1"
+ maybe_fpu=/nofpu
+ fi
+ # For each machine term, try it with and then without /multiarch.
+ for try_fpu in $maybe_fpu ''; do
+ for try_multi in $multi_arch_d ''; do
+ mach="$mach /$1$try_fpu$try_multi"
+ done
+ done
tail="$2"
done
@@ -699,15 +712,16 @@
test "$v" = / && continue
for o in /$ostry ''; do
test "$o" = / && continue
- for m in $multi_arch_d $mach ''; do
+ for m in $mach ''; do
for d in $add_ons_pfx ''; do
for a in $add_ons_sfx ''; do
- if test -n "$m0$m0sub$b$v$o$m$msub"; then
+ try_suffix="$m0$b$v$o$m"
+ if test -n "$try_suffix"; then
try_srcdir="${srcdir}/"
case "$d" in
/*) try_srcdir= ;;
esac
- try="${d}sysdeps$m0$m0sub$b$v$o$m$msub$a"
+ try="${d}sysdeps$try_suffix$a"
test -n "$enable_debug_configure" &&
echo "$0 [DEBUG]: try $try" >&2
if test -d "$try_srcdir$try"; then
Modified: trunk/libc/debug/Makefile
==============================================================================
--- trunk/libc/debug/Makefile (original)
+++ trunk/libc/debug/Makefile Fri Jan 18 17:11:00 2013
@@ -131,7 +131,13 @@
LDLIBS-tst-lfschk5 = -lstdc++
LDLIBS-tst-lfschk6 = -lstdc++
-# backtrace_symbols only works if we link with -rdynamic.
+# backtrace_symbols only works if we link with -rdynamic. backtrace
+# requires unwind tables on most architectures.
+CFLAGS-tst-backtrace2.c += -funwind-tables
+CFLAGS-tst-backtrace3.c += -funwind-tables
+CFLAGS-tst-backtrace4.c += -funwind-tables
+CFLAGS-tst-backtrace5.c += -funwind-tables
+CFLAGS-tst-backtrace6.c += -funwind-tables
LDFLAGS-tst-backtrace2 = -rdynamic
LDFLAGS-tst-backtrace3 = -rdynamic
LDFLAGS-tst-backtrace4 = -rdynamic
Modified: trunk/libc/debug/tst-backtrace2.c
==============================================================================
--- trunk/libc/debug/tst-backtrace2.c (original)
+++ trunk/libc/debug/tst-backtrace2.c Fri Jan 18 17:11:00 2013
@@ -1,6 +1,6 @@
-/* Copyright (C) 2009 Free Software Foundation, Inc.
+/* Test backtrace and backtrace_symbols.
+ Copyright (C) 2009-2013 Free Software Foundation, Inc.
This file is part of the GNU C Library.
- Contributed by CodeSourcery.
The GNU C Library is free software; you can redistribute it and/or
modify it under the terms of the GNU Lesser General Public
@@ -13,12 +13,13 @@
Lesser General Public License for more details.
You should have received a copy of the GNU Lesser General Public
- License along with the GNU C Library; if not, write to the Free
- Software Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA
- 02111-1307 USA. */
+ License along with the GNU C Library; if not, see
+ <http://www.gnu.org/licenses/>. */
#include <execinfo.h>
#include <search.h>
+#include <stdio.h>
+#include <stdlib.h>
#include <string.h>
static int do_test (void);
@@ -40,10 +41,10 @@
/* Use this attribute to prevent inlining, so that all expected frames
are present. */
-#define NO_INLINE __attribute__((noinline))
+#define NO_INLINE __attribute__ ((noinline))
NO_INLINE void
-fn1 (void)
+fn1 (void)
{
void *addresses[NUM_FUNCTIONS];
char **symbols;
@@ -62,7 +63,7 @@
/* Convert them to symbols. */
symbols = backtrace_symbols (addresses, n);
/* Check that symbols were obtained. */
- if (symbols == NULL)
+ if (symbols == NULL)
{
FAIL ();
return;
@@ -86,15 +87,15 @@
check do_test. */
}
-NO_INLINE static int
-fn2 (void)
+NO_INLINE static int
+fn2 (void)
{
fn1 ();
/* Prevent tail calls. */
return x;
}
-NO_INLINE int
+NO_INLINE int
fn3 (void)
{
fn2();
@@ -102,8 +103,8 @@
return x;
}
-NO_INLINE static int
-do_test (void)
+NO_INLINE static int
+do_test (void)
{
fn3 ();
return ret;
Modified: trunk/libc/debug/tst-backtrace3.c
==============================================================================
--- trunk/libc/debug/tst-backtrace3.c (original)
+++ trunk/libc/debug/tst-backtrace3.c Fri Jan 18 17:11:00 2013
@@ -1,6 +1,6 @@
-/* Copyright (C) 2010 Free Software Foundation, Inc.
+/* Test backtrace and backtrace_symbols for recursive calls.
+ Copyright (C) 2010-2013 Free Software Foundation, Inc.
This file is part of the GNU C Library.
- Contributed by CodeSourcery.
The GNU C Library is free software; you can redistribute it and/or
modify it under the terms of the GNU Lesser General Public
@@ -13,12 +13,13 @@
Lesser General Public License for more details.
You should have received a copy of the GNU Lesser General Public
- License along with the GNU C Library; if not, write to the Free
- Software Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA
- 02111-1307 USA. */
+ License along with the GNU C Library; if not, see
+ <http://www.gnu.org/licenses/>. */
#include <execinfo.h>
#include <search.h>
+#include <stdio.h>
+#include <stdlib.h>
#include <string.h>
static int do_test (void);
@@ -40,10 +41,10 @@
/* Use this attribute to prevent inlining, so that all expected frames
are present. */
-#define NO_INLINE __attribute__((noinline))
+#define NO_INLINE __attribute__ ((noinline))
NO_INLINE int
-fn (int c)
+fn (int c)
{
void *addresses[NUM_FUNCTIONS];
char **symbols;
@@ -67,7 +68,7 @@
/* Convert them to symbols. */
symbols = backtrace_symbols (addresses, n);
/* Check that symbols were obtained. */
- if (symbols == NULL)
+ if (symbols == NULL)
{
FAIL ();
return 1;
@@ -83,10 +84,11 @@
}
/* Symbol names are not available for static functions, so we do not
check do_test. */
+ return x;
}
-NO_INLINE static int
-do_test (void)
+NO_INLINE static int
+do_test (void)
{
fn (2);
return ret;
Modified: trunk/libc/debug/tst-backtrace4.c
==============================================================================
--- trunk/libc/debug/tst-backtrace4.c (original)
+++ trunk/libc/debug/tst-backtrace4.c Fri Jan 18 17:11:00 2013
@@ -1,6 +1,6 @@
-/* Copyright (C) 2011 Free Software Foundation, Inc.
+/* Test backtrace and backtrace_symbols for signal frames.
+ Copyright (C) 2011-2013 Free Software Foundation, Inc.
This file is part of the GNU C Library.
- Contributed by CodeSourcery.
The GNU C Library is free software; you can redistribute it and/or
modify it under the terms of the GNU Lesser General Public
@@ -13,9 +13,8 @@
Lesser General Public License for more details.
You should have received a copy of the GNU Lesser General Public
- License along with the GNU C Library; if not, write to the Free
- Software Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA
- 02111-1307 USA. */
+ License along with the GNU C Library; if not, see
+ <http://www.gnu.org/licenses/>. */
#include <execinfo.h>
#include <search.h>
@@ -46,7 +45,7 @@
/* Use this attribute to prevent inlining, so that all expected frames
are present. */
-#define NO_INLINE __attribute__((noinline))
+#define NO_INLINE __attribute__ ((noinline))
volatile int sig_handled = 0;
Modified: trunk/libc/debug/tst-backtrace5.c
==============================================================================
--- trunk/libc/debug/tst-backtrace5.c (original)
+++ trunk/libc/debug/tst-backtrace5.c Fri Jan 18 17:11:00 2013
@@ -1,6 +1,7 @@
-/* Copyright (C) 2011 Free Software Foundation, Inc.
+/* Test backtrace and backtrace_symbols for signal frames, where a
+ system call was interrupted by a signal.
+ Copyright (C) 2011-2013 Free Software Foundation, Inc.
This file is part of the GNU C Library.
- Contributed by CodeSourcery.
The GNU C Library is free software; you can redistribute it and/or
modify it under the terms of the GNU Lesser General Public
@@ -13,9 +14,8 @@
Lesser General Public License for more details.
You should have received a copy of the GNU Lesser General Public
- License along with the GNU C Library; if not, write to the Free
- Software Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA
- 02111-1307 USA. */
+ License along with the GNU C Library; if not, see
+ <http://www.gnu.org/licenses/>. */
#include <execinfo.h>
#include <search.h>
@@ -46,7 +46,7 @@
/* Use this attribute to prevent inlining, so that all expected frames
are present. */
-#define NO_INLINE __attribute__((noinline))
+#define NO_INLINE __attribute__ ((noinline))
void
handle_signal (int signum)
Modified: trunk/libc/elf/Makefile
==============================================================================
--- trunk/libc/elf/Makefile (original)
+++ trunk/libc/elf/Makefile Fri Jan 18 17:11:00 2013
@@ -642,9 +642,7 @@
$(objpfx)order: $(addprefix $(objpfx),dep4.so dep3.so dep2.so dep1.so)
$(objpfx)order.out: $(objpfx)order
- $(test-wrapper) \
- $(elf-objpfx)$(rtld-installed-name) \
- --library-path $(rpath-link)$(patsubst %,:%,$(sysdep-library-path)) \
+ $(test-program-prefix) \
$(objpfx)order > $@
(echo "0123456789" | cmp $@ -) > /dev/null
@@ -852,36 +850,36 @@
endif
$(objpfx)tst-array1.out: tst-array1.exp $(objpfx)tst-array1
- $(built-program-cmd) > $@
+ $(test-program-cmd) > $@
cmp $@ tst-array1.exp > /dev/null
$(objpfx)tst-array1-static.out: tst-array1.exp $(objpfx)tst-array1-static
- $(built-program-cmd) > $@
+ $(test-program-cmd) > $@
cmp $@ tst-array1.exp > /dev/null
$(objpfx)tst-array2: $(objpfx)tst-array2dep.so
$(objpfx)tst-array2.out: tst-array2.exp $(objpfx)tst-array2
- $(built-program-cmd) > $@
+ $(test-program-cmd) > $@
cmp $@ tst-array2.exp > /dev/null
$(objpfx)tst-array3.out: tst-array1.exp $(objpfx)tst-array3
- $(built-program-cmd) > $@
+ $(test-program-cmd) > $@
cmp $@ tst-array1.exp > /dev/null
$(objpfx)tst-array4: $(libdl)
$(objpfx)tst-array4.out: tst-array4.exp $(objpfx)tst-array4 \
$(objpfx)tst-array2dep.so
- $(built-program-cmd) > $@
+ $(test-program-cmd) > $@
cmp $@ tst-array4.exp > /dev/null
$(objpfx)tst-array5: $(objpfx)tst-array5dep.so
$(objpfx)tst-array5.out: tst-array5.exp $(objpfx)tst-array5
- $(built-program-cmd) > $@
+ $(test-program-cmd) > $@
cmp $@ tst-array5.exp > /dev/null
$(objpfx)tst-array5-static.out: tst-array5-static.exp \
$(objpfx)tst-array5-static
- $(built-program-cmd) > $@
+ $(test-program-cmd) > $@
cmp $@ tst-array5-static.exp > /dev/null
CFLAGS-tst-pie1.c += $(pie-ccflag)
@@ -1030,9 +1028,7 @@
$(objpfx)order2: $(libdl)
$(objpfx)order2.out: $(objpfx)order2 $(objpfx)order2mod1.so \
$(objpfx)order2mod2.so
- $(test-wrapper) \
- $(elf-objpfx)$(rtld-installed-name) \
- --library-path $(rpath-link)$(patsubst %,:%,$(sysdep-library-path)) \
+ $(test-program-prefix) \
$(objpfx)order2 > $@
(echo "12345" | cmp $@ -) > /dev/null
$(objpfx)order2mod1.so: $(objpfx)order2mod4.so
@@ -1042,7 +1038,7 @@
LDFLAGS-order2mod1.so = $(no-as-needed)
LDFLAGS-order2mod2.so = $(no-as-needed)
-tst-stackguard1-ARGS = --command "$(host-built-program-cmd) --child"
+tst-stackguard1-ARGS = --command "$(host-test-program-cmd) --child"
tst-stackguard1-static-ARGS = --command "$(objpfx)tst-stackguard1-static --child"
$(objpfx)tst-leaks1: $(libdl)
@@ -1125,9 +1121,7 @@
$(objpfx)tst-unique4: $(objpfx)tst-unique4lib.so
$(objpfx)tst-initorder.out: $(objpfx)tst-initorder
- $(test-wrapper) \
- $(elf-objpfx)${rtld-installed-name} \
- --library-path $(rpath-link)$(patsubst %,:%,$(sysdep-library-path)) \
+ $(test-program-prefix) \
$< > $@
cmp $@ tst-initorder.exp > /dev/null
@@ -1147,9 +1141,7 @@
include $(o-iterator)
$(objpfx)tst-initorder2.out: $(objpfx)tst-initorder2
- $(test-wrapper) \
- $(elf-objpfx)${rtld-installed-name} \
- --library-path $(rpath-link)$(patsubst %,:%,$(sysdep-library-path)) \
+ $(test-program-prefix) \
$< > $@
cmp $@ tst-initorder2.exp > /dev/null
Modified: trunk/libc/elf/elf.h
==============================================================================
--- trunk/libc/elf/elf.h (original)
+++ trunk/libc/elf/elf.h Fri Jan 18 17:11:00 2013
@@ -1229,7 +1229,7 @@
#define R_386_TLS_DTPMOD32 35 /* ID of module containing symbol */
#define R_386_TLS_DTPOFF32 36 /* Offset in TLS block */
#define R_386_TLS_TPOFF32 37 /* Negated offset in static TLS block */
-/* 38? */
+#define R_386_SIZE32 38 /* 32-bit symbol size */
#define R_386_TLS_GOTDESC 39 /* GOT offset for TLS descriptor. */
#define R_386_TLS_DESC_CALL 40 /* Marker of call through TLS
descriptor for
@@ -1365,102 +1365,104 @@
/* For Sparc64, legal values for d_tag of Elf64_Dyn. */
-#define DT_SPARC_REGISTER 0x70000001
-#define DT_SPARC_NUM 2
+#define DT_SPARC_REGISTER 0x70000001
+#define DT_SPARC_NUM 2
/* MIPS R3000 specific definitions. */
/* Legal values for e_flags field of Elf32_Ehdr. */
-#define EF_MIPS_NOREORDER 1 /* A .noreorder directive was used */
-#define EF_MIPS_PIC 2 /* Contains PIC code */
-#define EF_MIPS_CPIC 4 /* Uses PIC calling sequence */
-#define EF_MIPS_XGOT 8
-#define EF_MIPS_64BIT_WHIRL 16
-#define EF_MIPS_ABI2 32
-#define EF_MIPS_ABI_ON32 64
-#define EF_MIPS_ARCH 0xf0000000 /* MIPS architecture level */
+#define EF_MIPS_NOREORDER 1 /* A .noreorder directive was used. */
+#define EF_MIPS_PIC 2 /* Contains PIC code. */
+#define EF_MIPS_CPIC 4 /* Uses PIC calling sequence. */
+#define EF_MIPS_XGOT 8
+#define EF_MIPS_64BIT_WHIRL 16
+#define EF_MIPS_ABI2 32
+#define EF_MIPS_ABI_ON32 64
+#define EF_MIPS_ARCH 0xf0000000 /* MIPS architecture level. */
/* Legal values for MIPS architecture level. */
-#define EF_MIPS_ARCH_1 0x00000000 /* -mips1 code. */
-#define EF_MIPS_ARCH_2 0x10000000 /* -mips2 code. */
-#define EF_MIPS_ARCH_3 0x20000000 /* -mips3 code. */
-#define EF_MIPS_ARCH_4 0x30000000 /* -mips4 code. */
-#define EF_MIPS_ARCH_5 0x40000000 /* -mips5 code. */
-#define EF_MIPS_ARCH_32 0x60000000 /* MIPS32 code. */
-#define EF_MIPS_ARCH_64 0x70000000 /* MIPS64 code. */
-
-/* The following are non-official names and should not be used. */
-
-#define E_MIPS_ARCH_1 0x00000000 /* -mips1 code. */
-#define E_MIPS_ARCH_2 0x10000000 /* -mips2 code. */
-#define E_MIPS_ARCH_3 0x20000000 /* -mips3 code. */
-#define E_MIPS_ARCH_4 0x30000000 /* -mips4 code. */
-#define E_MIPS_ARCH_5 0x40000000 /* -mips5 code. */
-#define E_MIPS_ARCH_32 0x60000000 /* MIPS32 code. */
-#define E_MIPS_ARCH_64 0x70000000 /* MIPS64 code. */
+#define EF_MIPS_ARCH_1 0x00000000 /* -mips1 code. */
+#define EF_MIPS_ARCH_2 0x10000000 /* -mips2 code. */
+#define EF_MIPS_ARCH_3 0x20000000 /* -mips3 code. */
+#define EF_MIPS_ARCH_4 0x30000000 /* -mips4 code. */
+#define EF_MIPS_ARCH_5 0x40000000 /* -mips5 code. */
+#define EF_MIPS_ARCH_32 0x50000000 /* MIPS32 code. */
+#define EF_MIPS_ARCH_64 0x60000000 /* MIPS64 code. */
+#define EF_MIPS_ARCH_32R2 0x70000000 /* MIPS32r2 code. */
+#define EF_MIPS_ARCH_64R2 0x80000000 /* MIPS64r2 code. */
+
+/* The following are unofficial names and should not be used. */
+
+#define E_MIPS_ARCH_1 EF_MIPS_ARCH_1
+#define E_MIPS_ARCH_2 EF_MIPS_ARCH_2
+#define E_MIPS_ARCH_3 EF_MIPS_ARCH_3
+#define E_MIPS_ARCH_4 EF_MIPS_ARCH_4
+#define E_MIPS_ARCH_5 EF_MIPS_ARCH_5
+#define E_MIPS_ARCH_32 EF_MIPS_ARCH_32
+#define E_MIPS_ARCH_64 EF_MIPS_ARCH_64
/* Special section indices. */
-#define SHN_MIPS_ACOMMON 0xff00 /* Allocated common symbols */
-#define SHN_MIPS_TEXT 0xff01 /* Allocated test symbols. */
-#define SHN_MIPS_DATA 0xff02 /* Allocated data symbols. */
-#define SHN_MIPS_SCOMMON 0xff03 /* Small common symbols */
-#define SHN_MIPS_SUNDEFINED 0xff04 /* Small undefined symbols */
+#define SHN_MIPS_ACOMMON 0xff00 /* Allocated common symbols. */
+#define SHN_MIPS_TEXT 0xff01 /* Allocated test symbols. */
+#define SHN_MIPS_DATA 0xff02 /* Allocated data symbols. */
+#define SHN_MIPS_SCOMMON 0xff03 /* Small common symbols. */
+#define SHN_MIPS_SUNDEFINED 0xff04 /* Small undefined symbols. */
/* Legal values for sh_type field of Elf32_Shdr. */
-#define SHT_MIPS_LIBLIST 0x70000000 /* Shared objects used in link */
-#define SHT_MIPS_MSYM 0x70000001
-#define SHT_MIPS_CONFLICT 0x70000002 /* Conflicting symbols */
-#define SHT_MIPS_GPTAB 0x70000003 /* Global data area sizes */
-#define SHT_MIPS_UCODE 0x70000004 /* Reserved for SGI/MIPS compilers */
-#define SHT_MIPS_DEBUG 0x70000005 /* MIPS ECOFF debugging information*/
-#define SHT_MIPS_REGINFO 0x70000006 /* Register usage information */
-#define SHT_MIPS_PACKAGE 0x70000007
-#define SHT_MIPS_PACKSYM 0x70000008
-#define SHT_MIPS_RELD 0x70000009
-#define SHT_MIPS_IFACE 0x7000000b
-#define SHT_MIPS_CONTENT 0x7000000c
-#define SHT_MIPS_OPTIONS 0x7000000d /* Miscellaneous options. */
-#define SHT_MIPS_SHDR 0x70000010
-#define SHT_MIPS_FDESC 0x70000011
-#define SHT_MIPS_EXTSYM 0x70000012
-#define SHT_MIPS_DENSE 0x70000013
-#define SHT_MIPS_PDESC 0x70000014
-#define SHT_MIPS_LOCSYM 0x70000015
-#define SHT_MIPS_AUXSYM 0x70000016
-#define SHT_MIPS_OPTSYM 0x70000017
-#define SHT_MIPS_LOCSTR 0x70000018
-#define SHT_MIPS_LINE 0x70000019
-#define SHT_MIPS_RFDESC 0x7000001a
-#define SHT_MIPS_DELTASYM 0x7000001b
-#define SHT_MIPS_DELTAINST 0x7000001c
-#define SHT_MIPS_DELTACLASS 0x7000001d
-#define SHT_MIPS_DWARF 0x7000001e /* DWARF debugging information. */
-#define SHT_MIPS_DELTADECL 0x7000001f
-#define SHT_MIPS_SYMBOL_LIB 0x70000020
-#define SHT_MIPS_EVENTS 0x70000021 /* Event section. */
-#define SHT_MIPS_TRANSLATE 0x70000022
-#define SHT_MIPS_PIXIE 0x70000023
-#define SHT_MIPS_XLATE 0x70000024
-#define SHT_MIPS_XLATE_DEBUG 0x70000025
-#define SHT_MIPS_WHIRL 0x70000026
-#define SHT_MIPS_EH_REGION 0x70000027
-#define SHT_MIPS_XLATE_OLD 0x70000028
-#define SHT_MIPS_PDR_EXCEPTION 0x70000029
+#define SHT_MIPS_LIBLIST 0x70000000 /* Shared objects used in link. */
+#define SHT_MIPS_MSYM 0x70000001
+#define SHT_MIPS_CONFLICT 0x70000002 /* Conflicting symbols. */
+#define SHT_MIPS_GPTAB 0x70000003 /* Global data area sizes. */
+#define SHT_MIPS_UCODE 0x70000004 /* Reserved for SGI/MIPS compilers */
+#define SHT_MIPS_DEBUG 0x70000005 /* MIPS ECOFF debugging info. */
+#define SHT_MIPS_REGINFO 0x70000006 /* Register usage information. */
+#define SHT_MIPS_PACKAGE 0x70000007
+#define SHT_MIPS_PACKSYM 0x70000008
+#define SHT_MIPS_RELD 0x70000009
+#define SHT_MIPS_IFACE 0x7000000b
+#define SHT_MIPS_CONTENT 0x7000000c
+#define SHT_MIPS_OPTIONS 0x7000000d /* Miscellaneous options. */
+#define SHT_MIPS_SHDR 0x70000010
+#define SHT_MIPS_FDESC 0x70000011
+#define SHT_MIPS_EXTSYM 0x70000012
+#define SHT_MIPS_DENSE 0x70000013
+#define SHT_MIPS_PDESC 0x70000014
+#define SHT_MIPS_LOCSYM 0x70000015
+#define SHT_MIPS_AUXSYM 0x70000016
+#define SHT_MIPS_OPTSYM 0x70000017
+#define SHT_MIPS_LOCSTR 0x70000018
+#define SHT_MIPS_LINE 0x70000019
+#define SHT_MIPS_RFDESC 0x7000001a
+#define SHT_MIPS_DELTASYM 0x7000001b
+#define SHT_MIPS_DELTAINST 0x7000001c
+#define SHT_MIPS_DELTACLASS 0x7000001d
+#define SHT_MIPS_DWARF 0x7000001e /* DWARF debugging information. */
+#define SHT_MIPS_DELTADECL 0x7000001f
+#define SHT_MIPS_SYMBOL_LIB 0x70000020
+#define SHT_MIPS_EVENTS 0x70000021 /* Event section. */
+#define SHT_MIPS_TRANSLATE 0x70000022
+#define SHT_MIPS_PIXIE 0x70000023
+#define SHT_MIPS_XLATE 0x70000024
+#define SHT_MIPS_XLATE_DEBUG 0x70000025
+#define SHT_MIPS_WHIRL 0x70000026
+#define SHT_MIPS_EH_REGION 0x70000027
+#define SHT_MIPS_XLATE_OLD 0x70000028
+#define SHT_MIPS_PDR_EXCEPTION 0x70000029
/* Legal values for sh_flags field of Elf32_Shdr. */
-#define SHF_MIPS_GPREL 0x10000000 /* Must be part of global data area */
-#define SHF_MIPS_MERGE 0x20000000
-#define SHF_MIPS_ADDR 0x40000000
-#define SHF_MIPS_STRINGS 0x80000000
-#define SHF_MIPS_NOSTRIP 0x08000000
-#define SHF_MIPS_LOCAL 0x04000000
-#define SHF_MIPS_NAMES 0x02000000
-#define SHF_MIPS_NODUPE 0x01000000
+#define SHF_MIPS_GPREL 0x10000000 /* Must be in global data area. */
+#define SHF_MIPS_MERGE 0x20000000
+#define SHF_MIPS_ADDR 0x40000000
+#define SHF_MIPS_STRINGS 0x80000000
+#define SHF_MIPS_NOSTRIP 0x08000000
+#define SHF_MIPS_LOCAL 0x04000000
+#define SHF_MIPS_NAMES 0x02000000
+#define SHF_MIPS_NODUPE 0x01000000
/* Symbol tables. */
@@ -1482,23 +1484,23 @@
{
struct
{
- Elf32_Word gt_current_g_value; /* -G value used for compilation */
- Elf32_Word gt_unused; /* Not used */
- } gt_header; /* First entry in section */
+ Elf32_Word gt_current_g_value; /* -G value used for compilation. */
+ Elf32_Word gt_unused; /* Not used. */
+ } gt_header; /* First entry in section. */
struct
{
- Elf32_Word gt_g_value; /* If this value were used for -G */
- Elf32_Word gt_bytes; /* This many bytes would be used */
- } gt_entry; /* Subsequent entries in section */
+ Elf32_Word gt_g_value; /* If this value were used for -G. */
+ Elf32_Word gt_bytes; /* This many bytes would be used. */
+ } gt_entry; /* Subsequent entries in section. */
} Elf32_gptab;
/* Entry found in sections of type SHT_MIPS_REGINFO. */
typedef struct
{
- Elf32_Word ri_gprmask; /* General registers used */
- Elf32_Word ri_cprmask[4]; /* Coprocessor registers used */
- Elf32_Sword ri_gp_value; /* $gp register value */
+ Elf32_Word ri_gprmask; /* General registers used. */
+ Elf32_Word ri_cprmask[4]; /* Coprocessor registers used. */
+ Elf32_Sword ri_gp_value; /* $gp register value. */
} Elf32_RegInfo;
/* Entries found in sections of type SHT_MIPS_OPTIONS. */
Modified: trunk/libc/elf/link.h
==============================================================================
--- trunk/libc/elf/link.h (original)
+++ trunk/libc/elf/link.h Fri Jan 18 17:11:00 2013
@@ -147,9 +147,9 @@
whether or not each later member is available. */
/* Incremented when a new object may have been added. */
- unsigned long long int dlpi_adds;
+ __extension__ unsigned long long int dlpi_adds;
/* Incremented when an object may have been removed. */
- unsigned long long int dlpi_subs;
+ __extension__ unsigned long long int dlpi_subs;
/* If there is a PT_TLS segment, its module ID as used in
TLS relocations, else zero. */
Modified: trunk/libc/grp/Makefile
==============================================================================
--- trunk/libc/grp/Makefile (original)
+++ trunk/libc/grp/Makefile Fri Jan 18 17:11:00 2013
@@ -60,7 +60,7 @@
ifeq (yes,$(build-shared))
tests: $(objpfx)tst_fgetgrent.out
$(objpfx)tst_fgetgrent.out: tst_fgetgrent.sh $(objpfx)tst_fgetgrent
- $(SHELL) $< $(common-objpfx) '$(run-program-prefix)'
+ $(SHELL) $< $(common-objpfx) '$(test-program-prefix)'
endif
endif
Modified: trunk/libc/grp/tst_fgetgrent.sh
==============================================================================
--- trunk/libc/grp/tst_fgetgrent.sh (original)
+++ trunk/libc/grp/tst_fgetgrent.sh Fri Jan 18 17:11:00 2013
@@ -20,22 +20,22 @@
set -e
common_objpfx=$1; shift
-run_program_prefix=$1; shift
+test_program_prefix=$1; shift
testout=${common_objpfx}/grp/tst_fgetgrent.out
result=0
-${run_program_prefix} \
+${test_program_prefix} \
${common_objpfx}grp/tst_fgetgrent 0 > ${testout} || result=1
-${run_program_prefix} \
+${test_program_prefix} \
${common_objpfx}grp/tst_fgetgrent 1 >> ${testout} || result=1
-${run_program_prefix} \
+${test_program_prefix} \
${common_objpfx}grp/tst_fgetgrent 2 >> ${testout} || result=1
-${run_program_prefix} \
+${test_program_prefix} \
${common_objpfx}grp/tst_fgetgrent 3 >> ${testout} || result=1
exit $result
Modified: trunk/libc/iconvdata/Makefile
==============================================================================
--- trunk/libc/iconvdata/Makefile (original)
+++ trunk/libc/iconvdata/Makefile Fri Jan 18 17:11:00 2013
@@ -309,7 +309,7 @@
$(addprefix $(objpfx),$(modules.so)) \
$(objpfx)tst-table-from $(objpfx)tst-table-to
$(SHELL) $< $(common-objpfx) $(common-objpfx)iconvdata/ \
- '$(run-program-prefix)' > $@
+ '$(test-program-prefix)' > $@
do-tests-clean common-mostlyclean: tst-tables-clean
Modified: trunk/libc/iconvdata/tst-table.sh
==============================================================================
--- trunk/libc/iconvdata/tst-table.sh (original)
+++ trunk/libc/iconvdata/tst-table.sh Fri Jan 18 17:11:00 2013
@@ -23,7 +23,7 @@
common_objpfx=$1
objpfx=$2
-run_program_prefix=$3
+test_program_prefix=$3
charset=$4
charmap=$5
@@ -60,12 +60,12 @@
fi
# iconv in one direction.
-${run_program_prefix} \
+${test_program_prefix} \
${objpfx}tst-table-from ${charset} \
> ${objpfx}tst-${charset}.table
# iconv in the other direction.
-${run_program_prefix} \
+${test_program_prefix} \
${objpfx}tst-table-to ${charset} | sort \
> ${objpfx}tst-${charset}.inverse.table
Modified: trunk/libc/iconvdata/tst-tables.sh
==============================================================================
--- trunk/libc/iconvdata/tst-tables.sh (original)
+++ trunk/libc/iconvdata/tst-tables.sh Fri Jan 18 17:11:00 2013
@@ -23,7 +23,7 @@
common_objpfx=$1
objpfx=$2
-run_program_prefix=$3
+test_program_prefix=$3
status=0
@@ -262,7 +262,7 @@
if test "$charset" = GB18030; then echo "This might take a while" 1>&2; fi
case ${charset} in \#*) continue;; esac
echo -n "Testing ${charset}" 1>&2
- if ./tst-table.sh ${common_objpfx} ${objpfx} "${run_program_prefix}" \
+ if ./tst-table.sh ${common_objpfx} ${objpfx} "${test_program_prefix}" \
${charset} ${charmap} < /dev/null; then
echo 1>&2
else
Modified: trunk/libc/include/complex.h
==============================================================================
--- trunk/libc/include/complex.h (original)
+++ trunk/libc/include/complex.h Fri Jan 18 17:11:00 2013
@@ -1,1 +1,11 @@
-#include <math/complex.h>
+#ifndef _COMPLEX_H
+# include <math/complex.h>
+
+/* Return the complex inverse hyperbolic sine of finite nonzero Z,
+ with the imaginary part of the result subtracted from pi/2 if ADJ
+ is nonzero. */
+extern complex float __kernel_casinhf (complex float z, int adj);
+extern complex double __kernel_casinh (complex double z, int adj);
+extern complex long double __kernel_casinhl (complex long double z, int adj);
+
+#endif
Modified: trunk/libc/include/features.h
==============================================================================
--- trunk/libc/include/features.h (original)
+++ trunk/libc/include/features.h Fri Jan 18 17:11:00 2013
@@ -129,9 +129,6 @@
# define __KERNEL_STRICT_NAMES
#endif
-/* Always use ISO C things. */
-#define __USE_ANSI 1
-
/* Convenience macros to test the versions of glibc and gcc.
Use them like this:
#if __GNUC_PREREQ (2,8)
@@ -361,14 +358,6 @@
#define __GLIBC_PREREQ(maj, min) \
((__GLIBC__ << 16) + __GLIBC_MINOR__ >= ((maj) << 16) + (min))
-/* Decide whether a compiler supports the long long datatypes. */
-#if defined __GNUC__ \
- || (defined __PGI && defined __i386__ ) \
- || (defined __INTEL_COMPILER && (defined __i386__ || defined __ia64__)) \
- || (defined __STDC_VERSION__ && __STDC_VERSION__ >= 199901L)
-# define __GLIBC_HAVE_LONG_LONG 1
-#endif
-
/* This is here only because every header file already includes this one. */
#ifndef __ASSEMBLER__
# ifndef _SYS_CDEFS_H
Modified: trunk/libc/include/stdlib.h
==============================================================================
--- trunk/libc/include/stdlib.h (original)
+++ trunk/libc/include/stdlib.h Fri Jan 18 17:11:00 2013
@@ -77,6 +77,7 @@
extern int __setenv (const char *__name, const char *__value, int __replace);
extern int __unsetenv (const char *__name);
extern int __clearenv (void);
+extern char *__mktemp (char *__template) __THROW __nonnull ((1));
extern char *__canonicalize_file_name (const char *__name);
extern char *__realpath (const char *__name, char *__resolved);
extern int __ptsname_r (int __fd, char *__buf, size_t __buflen);
Modified: trunk/libc/intl/Makefile
==============================================================================
--- trunk/libc/intl/Makefile (original)
+++ trunk/libc/intl/Makefile Fri Jan 18 17:11:00 2013
@@ -75,18 +75,18 @@
$(objpfx)mtrace-tst-gettext: $(objpfx)tst-gettext.out
$(common-objpfx)malloc/mtrace $(objpfx)tst-gettext.mtrace > $@
$(objpfx)tst-gettext.out: tst-gettext.sh $(objpfx)tst-gettext
- $(SHELL) $< $(common-objpfx) '$(run-program-prefix)' \
+ $(SHELL) $< $(common-objpfx) '$(test-program-prefix)' \
$(common-objpfx)intl/ $(objpfx)tst-gettext.mtrace
$(objpfx)tst-translit.out: tst-translit.sh $(objpfx)tst-translit
- $(SHELL) $< $(common-objpfx) '$(run-program-prefix)' \
+ $(SHELL) $< $(common-objpfx) '$(test-program-prefix)' \
$(common-objpfx)intl/
$(objpfx)tst-gettext2.out: tst-gettext2.sh $(objpfx)tst-gettext2
- $(SHELL) $< $(common-objpfx) '$(run-program-prefix)' \
+ $(SHELL) $< $(common-objpfx) '$(test-program-prefix)' \
$(common-objpfx)intl/
$(objpfx)tst-gettext4.out: tst-gettext4.sh $(objpfx)tst-gettext4
- $(SHELL) $< $(common-objpfx) '$(run-program-prefix)' $(common-objpfx)intl/
+ $(SHELL) $< $(common-objpfx) '$(test-program-prefix)' $(common-objpfx)intl/
$(objpfx)tst-gettext6.out: tst-gettext6.sh $(objpfx)tst-gettext6
- $(SHELL) $< $(common-objpfx) '$(run-program-prefix)' $(common-objpfx)intl/
+ $(SHELL) $< $(common-objpfx) '$(test-program-prefix)' $(common-objpfx)intl/
$(objpfx)tst-codeset.out: $(codeset_mo)
$(objpfx)tst-gettext3.out: $(codeset_mo)
Modified: trunk/libc/intl/tst-gettext.sh
==============================================================================
--- trunk/libc/intl/tst-gettext.sh (original)
+++ trunk/libc/intl/tst-gettext.sh Fri Jan 18 17:11:00 2013
@@ -20,7 +20,7 @@
set -e
common_objpfx=$1
-run_program_prefix=$2
+test_program_prefix=$2
objpfx=$3
malloc_trace=$4
@@ -54,7 +54,7 @@
# Now run the test.
MALLOC_TRACE=$malloc_trace LOCPATH=${objpfx}localedir:$LOCPATH \
-${run_program_prefix} \
+${test_program_prefix} \
${objpfx}tst-gettext > ${objpfx}tst-gettext.out ${objpfx}domaindir
exit $?
Modified: trunk/libc/intl/tst-gettext2.sh
==============================================================================
--- trunk/libc/intl/tst-gettext2.sh (original)
+++ trunk/libc/intl/tst-gettext2.sh Fri Jan 18 17:11:00 2013
@@ -20,7 +20,7 @@
set -e
common_objpfx=$1
-run_program_prefix=$2
+test_program_prefix=$2
objpfx=$3
LC_ALL=C
@@ -67,7 +67,7 @@
export LOCPATH
# Now run the test.
-${run_program_prefix} \
+${test_program_prefix} \
${objpfx}tst-gettext2 > ${objpfx}tst-gettext2.out ${objpfx}domaindir &&
cmp ${objpfx}tst-gettext2.out - <<EOF
String1 - Lang1: 1st string
Modified: trunk/libc/intl/tst-gettext4.sh
==============================================================================
--- trunk/libc/intl/tst-gettext4.sh (original)
+++ trunk/libc/intl/tst-gettext4.sh Fri Jan 18 17:11:00 2013
@@ -21,7 +21,7 @@
set -e
common_objpfx=$1
-run_program_prefix=$2
+test_program_prefix=$2
objpfx=$3
LC_ALL=C
@@ -39,6 +39,6 @@
LOCPATH=${common_objpfx}localedata
export LOCPATH
-${run_program_prefix} ${objpfx}tst-gettext4 > ${objpfx}tst-gettext4.out
+${test_program_prefix} ${objpfx}tst-gettext4 > ${objpfx}tst-gettext4.out
exit $?
Modified: trunk/libc/intl/tst-gettext6.sh
==============================================================================
--- trunk/libc/intl/tst-gettext6.sh (original)
+++ trunk/libc/intl/tst-gettext6.sh Fri Jan 18 17:11:00 2013
@@ -20,7 +20,7 @@
set -e
common_objpfx=$1
-run_program_prefix=$2
+test_program_prefix=$2
objpfx=$3
LC_ALL=C
@@ -36,6 +36,6 @@
LOCPATH=${common_objpfx}localedata
export LOCPATH
-${run_program_prefix} ${objpfx}tst-gettext6 > ${objpfx}tst-gettext6.out
+${test_program_prefix} ${objpfx}tst-gettext6 > ${objpfx}tst-gettext6.out
exit $?
Modified: trunk/libc/intl/tst-translit.sh
==============================================================================
--- trunk/libc/intl/tst-translit.sh (original)
+++ trunk/libc/intl/tst-translit.sh Fri Jan 18 17:11:00 2013
@@ -20,7 +20,7 @@
set -e
common_objpfx=$1
-run_program_prefix=$2
+test_program_prefix=$2
objpfx=$3
LC_ALL=C
@@ -37,7 +37,7 @@
LOCPATH=${common_objpfx}localedata
export LOCPATH
-${run_program_prefix} \
+${test_program_prefix} \
${objpfx}tst-translit > ${objpfx}tst-translit.out ${objpfx}domaindir
exit $?
Modified: trunk/libc/io/Makefile
==============================================================================
--- trunk/libc/io/Makefile (original)
+++ trunk/libc/io/Makefile Fri Jan 18 17:11:00 2013
@@ -112,5 +112,5 @@
endif
$(objpfx)ftwtest.out: ftwtest-sh $(objpfx)ftwtest
- $(SHELL) $< $(common-objpfx) '$(built-program-cmd)' > $@
+ $(SHELL) $< $(common-objpfx) '$(test-program-cmd)' > $@
endif
Modified: trunk/libc/libio/Makefile
==============================================================================
--- trunk/libc/libio/Makefile (original)
+++ trunk/libc/libio/Makefile Fri Jan 18 17:11:00 2013
@@ -212,7 +212,7 @@
endif
$(objpfx)test-freopen.out: test-freopen.sh $(objpfx)test-freopen
- $(SHELL) $< $(common-objpfx) '$(run-program-prefix)' \
+ $(SHELL) $< $(common-objpfx) '$(test-program-prefix)' \
$(common-objpfx)libio/
$(objpfx)tst-fopenloc.check: $(objpfx)tst-fopenloc.out
Modified: trunk/libc/libio/test-freopen.sh
==============================================================================
--- trunk/libc/libio/test-freopen.sh (original)
+++ trunk/libc/libio/test-freopen.sh Fri Jan 18 17:11:00 2013
@@ -20,10 +20,10 @@
set -e
common_objpfx=$1
-run_program_prefix=$2
+test_program_prefix=$2
objpfx=$3
-${run_program_prefix} ${objpfx}test-freopen ${objpfx}test-freopen.out &&
+${test_program_prefix} ${objpfx}test-freopen ${objpfx}test-freopen.out &&
cmp ${objpfx}test-freopen.out - <<"EOF"
Hello world (mb)
Hello world (wc)
Modified: trunk/libc/localedata/ChangeLog
==============================================================================
--- trunk/libc/localedata/ChangeLog (original)
+++ trunk/libc/localedata/ChangeLog Fri Jan 18 17:11:00 2013
@@ -1,3 +1,46 @@
+2013-01-14 Joseph Myers <joseph@xxxxxxxxxxxxxxxx>
+
+ * Makefile (bug-setlocale1-ARGS): Use $(host-test-program-cmd),
+ not $(test-program-cmd).
+
+2013-01-11 H.J. Lu <hongjiu.lu@xxxxxxxxx>
+
+ * Makefile ($(objpfx)sort-test.out): Replace
+ $(run-program-prefix) with $(test-program-prefix).
+ ($(objpfx)tst-numeric.out): Likewise.
+ ($(objpfx)tst-mbswcs.out): Likewise.
+ ($(objpfx)tst-fmon.out): Add $(test-program-prefix).
+ ($(objpfx)tst-trans.out): Likewise.
+ ($(objpfx)tst-rpmatch.out): Replace $(built-program-cmd) with
+ $(test-program-cmd).
+ ($(objpfx)tst-ctype.out): Likewise.
+ ($(objpfx)tst-wctype.out): Likewise.
+ ($(objpfx)tst-langinfo.out): Likewise.
+ (bug-setlocale1-ARGS): Replace $(built-program-cmd) with
+ $(test-program-cmd).
+ * sort-test.sh (run_program_prefix): Renamed to ...
+ (test_program_prefix): This.
+ * tst-mbswcs.sh: Likewise.
+ * tst-numeric.sh: Likewise.
+ * tst-wctype.sh: Likewise.
+ * tst-fmon.sh (test_program_prefix): New. Replace
+ ${run_program_prefix} with ${test_program_prefix} when running.
+ tst-fmon.
+ * tst-trans.sh: (test_program_prefix): New. Replace
+ ${run_program_prefix} with ${test_program_prefix} when running
+ tst-trans.
+
+2013-01-10 H.J. Lu <hongjiu.lu@xxxxxxxxx>
+
+ * Makefile (tests-static): New variable.
+ (tests): Add $(tests-static).
+ (bug-setlocale1-ARGS): Set to -- $(built-program-cmd).
+ (bug-setlocale1-static-ENV): New variable.
+ (bug-setlocale1-static-ARGS): Likewise.
+ * bug-setlocale1.c (do_test): Support run directly. Check env[1]
+ instead of newargv[0].
+ * bug-setlocale1-static.c: New file.
+
2013-01-03 Chris Leonard <cjl@xxxxxxxxxxxxx>
[BZ #14982]
Modified: trunk/libc/localedata/Makefile
==============================================================================
--- trunk/libc/localedata/Makefile (original)
+++ trunk/libc/localedata/Makefile Fri Jan 18 17:11:00 2013
@@ -92,6 +92,10 @@
+= $(locale_test_suite) tst-digits tst-setlocale bug-iconv-trans \
tst-leaks tst-mbswcs6 tst-xlocale1 tst-xlocale2 bug-usesetlocale \
tst-strfmon1 tst-sscanf bug-setlocale1 tst-setlocale2
[... 8158 lines stripped ...]
_______________________________________________
Commits mailing list
Commits@xxxxxxxxxx
http://eglibc.org/cgi-bin/mailman/listinfo/commits