[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Commits] r21912 - in /trunk: ./ libc/ libc/bits/ libc/conform/data/ libc/conform/data/sys/ libc/debug/ libc/elf/ libc/include/ libc/i...
- To: commits@xxxxxxxxxx
- Subject: [Commits] r21912 - in /trunk: ./ libc/ libc/bits/ libc/conform/data/ libc/conform/data/sys/ libc/debug/ libc/elf/ libc/include/ libc/i...
- From: joseph@xxxxxxxxxx
- Date: Sun, 02 Dec 2012 21:11:45 -0000
Author: joseph
Date: Sun Dec 2 21:11:45 2012
New Revision: 21912
Log:
Merge changes between r21775 and r21911 from /fsf/trunk.
Added:
trunk/libc/libio/tst-fwrite-error.c
- copied unchanged from r21911, fsf/trunk/libc/libio/tst-fwrite-error.c
trunk/libc/localedata/locales/ia_FR
- copied unchanged from r21911, fsf/trunk/libc/localedata/locales/ia_FR
trunk/libc/localedata/locales/niu_NU
- copied unchanged from r21911, fsf/trunk/libc/localedata/locales/niu_NU
trunk/libc/localedata/locales/niu_NZ
- copied unchanged from r21911, fsf/trunk/libc/localedata/locales/niu_NZ
trunk/libc/ports/sysdeps/aarch64/fpu/s_ceil.c
- copied unchanged from r21911, fsf/trunk/libc/ports/sysdeps/aarch64/fpu/s_ceil.c
trunk/libc/ports/sysdeps/aarch64/fpu/s_ceilf.c
- copied unchanged from r21911, fsf/trunk/libc/ports/sysdeps/aarch64/fpu/s_ceilf.c
trunk/libc/ports/sysdeps/aarch64/fpu/s_floor.c
- copied unchanged from r21911, fsf/trunk/libc/ports/sysdeps/aarch64/fpu/s_floor.c
trunk/libc/ports/sysdeps/aarch64/fpu/s_floorf.c
- copied unchanged from r21911, fsf/trunk/libc/ports/sysdeps/aarch64/fpu/s_floorf.c
trunk/libc/ports/sysdeps/aarch64/fpu/s_fmaf.c
- copied unchanged from r21911, fsf/trunk/libc/ports/sysdeps/aarch64/fpu/s_fmaf.c
trunk/libc/ports/sysdeps/aarch64/fpu/s_fmax.c
- copied unchanged from r21911, fsf/trunk/libc/ports/sysdeps/aarch64/fpu/s_fmax.c
trunk/libc/ports/sysdeps/aarch64/fpu/s_fmaxf.c
- copied unchanged from r21911, fsf/trunk/libc/ports/sysdeps/aarch64/fpu/s_fmaxf.c
trunk/libc/ports/sysdeps/aarch64/fpu/s_fmin.c
- copied unchanged from r21911, fsf/trunk/libc/ports/sysdeps/aarch64/fpu/s_fmin.c
trunk/libc/ports/sysdeps/aarch64/fpu/s_fminf.c
- copied unchanged from r21911, fsf/trunk/libc/ports/sysdeps/aarch64/fpu/s_fminf.c
trunk/libc/ports/sysdeps/aarch64/fpu/s_frint.c
- copied unchanged from r21911, fsf/trunk/libc/ports/sysdeps/aarch64/fpu/s_frint.c
trunk/libc/ports/sysdeps/aarch64/fpu/s_frintf.c
- copied unchanged from r21911, fsf/trunk/libc/ports/sysdeps/aarch64/fpu/s_frintf.c
trunk/libc/ports/sysdeps/aarch64/fpu/s_llrint.c
- copied unchanged from r21911, fsf/trunk/libc/ports/sysdeps/aarch64/fpu/s_llrint.c
trunk/libc/ports/sysdeps/aarch64/fpu/s_llrintf.c
- copied unchanged from r21911, fsf/trunk/libc/ports/sysdeps/aarch64/fpu/s_llrintf.c
trunk/libc/ports/sysdeps/aarch64/fpu/s_llround.c
- copied unchanged from r21911, fsf/trunk/libc/ports/sysdeps/aarch64/fpu/s_llround.c
trunk/libc/ports/sysdeps/aarch64/fpu/s_llroundf.c
- copied unchanged from r21911, fsf/trunk/libc/ports/sysdeps/aarch64/fpu/s_llroundf.c
trunk/libc/ports/sysdeps/aarch64/fpu/s_lrint.c
- copied unchanged from r21911, fsf/trunk/libc/ports/sysdeps/aarch64/fpu/s_lrint.c
trunk/libc/ports/sysdeps/aarch64/fpu/s_lrintf.c
- copied unchanged from r21911, fsf/trunk/libc/ports/sysdeps/aarch64/fpu/s_lrintf.c
trunk/libc/ports/sysdeps/aarch64/fpu/s_lround.c
- copied unchanged from r21911, fsf/trunk/libc/ports/sysdeps/aarch64/fpu/s_lround.c
trunk/libc/ports/sysdeps/aarch64/fpu/s_lroundf.c
- copied unchanged from r21911, fsf/trunk/libc/ports/sysdeps/aarch64/fpu/s_lroundf.c
trunk/libc/ports/sysdeps/aarch64/fpu/s_nearbyint.c
- copied unchanged from r21911, fsf/trunk/libc/ports/sysdeps/aarch64/fpu/s_nearbyint.c
trunk/libc/ports/sysdeps/aarch64/fpu/s_nearbyintf.c
- copied unchanged from r21911, fsf/trunk/libc/ports/sysdeps/aarch64/fpu/s_nearbyintf.c
trunk/libc/ports/sysdeps/aarch64/fpu/s_rint.c
- copied unchanged from r21911, fsf/trunk/libc/ports/sysdeps/aarch64/fpu/s_rint.c
trunk/libc/ports/sysdeps/aarch64/fpu/s_rintf.c
- copied unchanged from r21911, fsf/trunk/libc/ports/sysdeps/aarch64/fpu/s_rintf.c
trunk/libc/ports/sysdeps/aarch64/fpu/s_round.c
- copied unchanged from r21911, fsf/trunk/libc/ports/sysdeps/aarch64/fpu/s_round.c
trunk/libc/ports/sysdeps/aarch64/fpu/s_roundf.c
- copied unchanged from r21911, fsf/trunk/libc/ports/sysdeps/aarch64/fpu/s_roundf.c
trunk/libc/ports/sysdeps/aarch64/fpu/s_trunc.c
- copied unchanged from r21911, fsf/trunk/libc/ports/sysdeps/aarch64/fpu/s_trunc.c
trunk/libc/ports/sysdeps/aarch64/fpu/s_truncf.c
- copied unchanged from r21911, fsf/trunk/libc/ports/sysdeps/aarch64/fpu/s_truncf.c
trunk/libc/ports/sysdeps/alpha/sotruss-lib.c
- copied unchanged from r21911, fsf/trunk/libc/ports/sysdeps/alpha/sotruss-lib.c
trunk/libc/ports/sysdeps/hppa/__longjmp.c
- copied unchanged from r21911, fsf/trunk/libc/ports/sysdeps/hppa/__longjmp.c
trunk/libc/ports/sysdeps/hppa/fpu/fpu_control.h
- copied unchanged from r21911, fsf/trunk/libc/ports/sysdeps/hppa/fpu/fpu_control.h
trunk/libc/ports/sysdeps/hppa/get-rounding-mode.h
- copied unchanged from r21911, fsf/trunk/libc/ports/sysdeps/hppa/get-rounding-mode.h
trunk/libc/ports/sysdeps/m68k/sotruss-lib.c
- copied unchanged from r21911, fsf/trunk/libc/ports/sysdeps/m68k/sotruss-lib.c
trunk/libc/ports/sysdeps/mips/mips64/n32/_itoa.h
- copied unchanged from r21911, fsf/trunk/libc/ports/sysdeps/mips/mips64/n32/_itoa.h
trunk/libc/ports/sysdeps/mips/sotruss-lib.c
- copied unchanged from r21911, fsf/trunk/libc/ports/sysdeps/mips/sotruss-lib.c
trunk/libc/ports/sysdeps/unix/sysv/linux/aarch64/dl-cache.h
- copied unchanged from r21911, fsf/trunk/libc/ports/sysdeps/unix/sysv/linux/aarch64/dl-cache.h
trunk/libc/ports/sysdeps/unix/sysv/linux/hppa/____longjmp_chk.c
- copied unchanged from r21911, fsf/trunk/libc/ports/sysdeps/unix/sysv/linux/hppa/____longjmp_chk.c
trunk/libc/ports/sysdeps/unix/sysv/linux/hppa/bits/socket_type.h
- copied unchanged from r21911, fsf/trunk/libc/ports/sysdeps/unix/sysv/linux/hppa/bits/socket_type.h
trunk/libc/ports/sysdeps/unix/sysv/linux/mips/mips64/n64/sendfile64.c
- copied unchanged from r21911, fsf/trunk/libc/ports/sysdeps/unix/sysv/linux/mips/mips64/n64/sendfile64.c
trunk/libc/socket/recvmmsg.c
- copied unchanged from r21911, fsf/trunk/libc/socket/recvmmsg.c
trunk/libc/socket/sendmmsg.c
- copied unchanged from r21911, fsf/trunk/libc/socket/sendmmsg.c
trunk/libc/sysdeps/mach/hurd/syncfs.c
- copied unchanged from r21911, fsf/trunk/libc/sysdeps/mach/hurd/syncfs.c
trunk/libc/sysdeps/x86/fpu/Makefile
- copied unchanged from r21911, fsf/trunk/libc/sysdeps/x86/fpu/Makefile
trunk/libc/sysdeps/x86/fpu/powl_helper.c
- copied unchanged from r21911, fsf/trunk/libc/sysdeps/x86/fpu/powl_helper.c
Removed:
trunk/libc/ports/sysdeps/hppa/__longjmp.S
trunk/libc/ports/sysdeps/unix/sysv/linux/hppa/bits/socket.h
trunk/libc/ports/sysdeps/unix/sysv/linux/ia64/clock_getcpuclockid.c
Modified:
trunk/ (props changed)
trunk/libc/ChangeLog
trunk/libc/NEWS
trunk/libc/aclocal.m4
trunk/libc/bits/byteswap.h
trunk/libc/configure
trunk/libc/configure.in
trunk/libc/conform/data/cpio.h-data
trunk/libc/conform/data/errno.h-data
trunk/libc/conform/data/fcntl.h-data
trunk/libc/conform/data/glob.h-data
trunk/libc/conform/data/limits.h-data
trunk/libc/conform/data/locale.h-data
trunk/libc/conform/data/mqueue.h-data
trunk/libc/conform/data/regex.h-data
trunk/libc/conform/data/signal.h-data
trunk/libc/conform/data/stdio.h-data
trunk/libc/conform/data/sys/stat.h-data
trunk/libc/conform/data/sys/times.h-data
trunk/libc/conform/data/time.h-data
trunk/libc/conform/data/unistd.h-data
trunk/libc/conform/data/wordexp.h-data
trunk/libc/debug/test-strcpy_chk.c
trunk/libc/elf/Makefile
trunk/libc/elf/cache.c
trunk/libc/elf/dl-load.c
trunk/libc/elf/elf.h
trunk/libc/elf/get-dynamic-info.h
trunk/libc/elf/sotruss.ksh
trunk/libc/include/elf.h
trunk/libc/include/libc-internal.h
trunk/libc/include/rpc/svc.h
trunk/libc/include/sys/socket.h
trunk/libc/inet/tst-inet6_rth.c
trunk/libc/libio/Makefile
trunk/libc/libio/iofwrite.c
trunk/libc/libio/iofwrite_u.c
trunk/libc/localedata/ChangeLog
trunk/libc/localedata/SUPPORTED
trunk/libc/localedata/locales/szl_PL
trunk/libc/localedata/locales/ug_CN
trunk/libc/malloc/mtrace.c
trunk/libc/manual/arith.texi
trunk/libc/math/libm-test.inc
trunk/libc/nptl/ChangeLog
trunk/libc/nptl/pthread_cond_timedwait.c
trunk/libc/nptl/sysdeps/i386/tls.h
trunk/libc/nptl/sysdeps/unix/sysv/linux/sem_post.c
trunk/libc/nptl/sysdeps/x86_64/tls.h
trunk/libc/nptl/unwind.c
trunk/libc/nptl_db/ChangeLog
trunk/libc/nptl_db/Makefile
trunk/libc/nscd/grpcache.c
trunk/libc/nss/getXXbyYY_r.c
trunk/libc/nss/makedb.c
trunk/libc/ports/ChangeLog.aarch64
trunk/libc/ports/ChangeLog.alpha
trunk/libc/ports/ChangeLog.arm
trunk/libc/ports/ChangeLog.hppa
trunk/libc/ports/ChangeLog.ia64
trunk/libc/ports/ChangeLog.m68k
trunk/libc/ports/ChangeLog.mips
trunk/libc/ports/ChangeLog.powerpc
trunk/libc/ports/ChangeLog.tile
trunk/libc/ports/sysdeps/aarch64/dl-tlsdesc.S
trunk/libc/ports/sysdeps/aarch64/dl-tlsdesc.h
trunk/libc/ports/sysdeps/aarch64/fpu/s_fma.c
trunk/libc/ports/sysdeps/aarch64/libm-test-ulps
trunk/libc/ports/sysdeps/aarch64/tlsdesc.c
trunk/libc/ports/sysdeps/alpha/fpu/libm-test-ulps
trunk/libc/ports/sysdeps/arm/configure
trunk/libc/ports/sysdeps/arm/configure.in
trunk/libc/ports/sysdeps/arm/fesetenv.c
trunk/libc/ports/sysdeps/arm/libm-test-ulps
trunk/libc/ports/sysdeps/hppa/bits/setjmp.h
trunk/libc/ports/sysdeps/hppa/fpu/fegetround.c
trunk/libc/ports/sysdeps/hppa/fpu/feholdexcpt.c
trunk/libc/ports/sysdeps/hppa/fpu/fesetenv.c
trunk/libc/ports/sysdeps/hppa/setjmp.S
trunk/libc/ports/sysdeps/m68k/dl-machine.h
trunk/libc/ports/sysdeps/m68k/dl-trampoline.S
trunk/libc/ports/sysdeps/m68k/m680x0/fpu/libm-test-ulps
trunk/libc/ports/sysdeps/m68k/m680x0/fpu/s_atan.c
trunk/libc/ports/sysdeps/m68k/m680x0/fpu/s_ccosh.c
trunk/libc/ports/sysdeps/m68k/m680x0/fpu/s_cexp.c
trunk/libc/ports/sysdeps/m68k/m680x0/fpu/s_csin.c
trunk/libc/ports/sysdeps/m68k/m680x0/fpu/s_csinh.c
trunk/libc/ports/sysdeps/m68k/m680x0/fpu/s_expm1.c
trunk/libc/ports/sysdeps/m68k/m680x0/fpu/s_frexp.c
trunk/libc/ports/sysdeps/m68k/m680x0/fpu/s_isinf.c
trunk/libc/ports/sysdeps/m68k/m680x0/fpu/s_lrint.c
trunk/libc/ports/sysdeps/m68k/m680x0/fpu/s_modf.c
trunk/libc/ports/sysdeps/m68k/m680x0/fpu/s_remquo.c
trunk/libc/ports/sysdeps/m68k/m680x0/fpu/s_scalbn.c
trunk/libc/ports/sysdeps/m68k/m680x0/fpu/s_sin.c
trunk/libc/ports/sysdeps/m68k/m680x0/fpu/s_sincos.c
trunk/libc/ports/sysdeps/mips/bits/atomic.h
trunk/libc/ports/sysdeps/mips/dl-machine.h
trunk/libc/ports/sysdeps/mips/jmpbuf-unwind.h
trunk/libc/ports/sysdeps/mips/mips32/libm-test-ulps
trunk/libc/ports/sysdeps/mips/mips64/libm-test-ulps
trunk/libc/ports/sysdeps/powerpc/nofpu/libm-test-ulps
trunk/libc/ports/sysdeps/tile/bits/byteswap.h
trunk/libc/ports/sysdeps/tile/libm-test-ulps
trunk/libc/ports/sysdeps/tile/s_fma.c
trunk/libc/ports/sysdeps/tile/s_fmaf.c
trunk/libc/ports/sysdeps/unix/sysv/linux/aarch64/nptl/lowlevellock.h
trunk/libc/ports/sysdeps/unix/sysv/linux/arm/Makefile
trunk/libc/ports/sysdeps/unix/sysv/linux/hppa/mmap.c
trunk/libc/ports/sysdeps/unix/sysv/linux/hppa/nptl/pthread_once.c
trunk/libc/ports/sysdeps/unix/sysv/linux/m68k/nptl/lowlevellock.h
trunk/libc/ports/sysdeps/unix/sysv/linux/m68k/nptl/sysdep-cancel.h
trunk/libc/ports/sysdeps/unix/sysv/linux/mips/____longjmp_chk.c
trunk/libc/ports/sysdeps/unix/sysv/linux/mips/mips32/sysdep.h
trunk/libc/ports/sysdeps/unix/sysv/linux/mips/mips64/n32/sysdep.h
trunk/libc/ports/sysdeps/unix/sysv/linux/mips/mips64/n64/syscalls.list
trunk/libc/ports/sysdeps/unix/sysv/linux/mips/mips64/n64/sysdep.h
trunk/libc/ports/sysdeps/unix/sysv/linux/mips/register-dump.h
trunk/libc/ports/sysdeps/unix/sysv/linux/mips/sigcontextinfo.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/bits/posix1_lim.h
trunk/libc/resolv/nss_dns/dns-host.c
trunk/libc/resolv/res_query.c
trunk/libc/resolv/res_send.c
trunk/libc/scripts/abilist.awk
trunk/libc/signal/signal.h
trunk/libc/socket/Makefile
trunk/libc/socket/Versions
trunk/libc/socket/sys/socket.h
trunk/libc/stdio-common/_itowa.c
trunk/libc/sunrpc/bindrsvprt.c
trunk/libc/sunrpc/rpc/svc.h
trunk/libc/sunrpc/svc.c
trunk/libc/sunrpc/svc_tcp.c
trunk/libc/sunrpc/svc_udp.c
trunk/libc/sunrpc/svc_unix.c
trunk/libc/sysdeps/generic/ldconfig.h
trunk/libc/sysdeps/generic/unwind-dw2-fde-glibc.c
trunk/libc/sysdeps/generic/unwind-dw2-fde.c
trunk/libc/sysdeps/i386/fpu/e_powl.S
trunk/libc/sysdeps/i386/fpu/libm-test-ulps
trunk/libc/sysdeps/ieee754/flt-32/e_j0f.c
trunk/libc/sysdeps/ieee754/flt-32/e_j1f.c
trunk/libc/sysdeps/ieee754/ldbl-128/e_j0l.c
trunk/libc/sysdeps/ieee754/ldbl-128/e_j1l.c
trunk/libc/sysdeps/ieee754/ldbl-128/e_powl.c
trunk/libc/sysdeps/ieee754/ldbl-128/s_atanl.c
trunk/libc/sysdeps/ieee754/ldbl-128/s_nearbyintl.c
trunk/libc/sysdeps/ieee754/ldbl-128/s_rintl.c
trunk/libc/sysdeps/ieee754/ldbl-128ibm/e_hypotl.c
trunk/libc/sysdeps/ieee754/ldbl-128ibm/e_powl.c
trunk/libc/sysdeps/ieee754/ldbl-128ibm/s_atanl.c
trunk/libc/sysdeps/ieee754/ldbl-128ibm/s_expm1l.c
trunk/libc/sysdeps/ieee754/ldbl-128ibm/s_fmal.c
trunk/libc/sysdeps/ieee754/ldbl-96/e_asinl.c
trunk/libc/sysdeps/mach/hurd/ptsname.c
trunk/libc/sysdeps/posix/getaddrinfo.c
trunk/libc/sysdeps/powerpc/fpu/libm-test-ulps
trunk/libc/sysdeps/powerpc/powerpc64/entry.h
trunk/libc/sysdeps/sh/dl-machine.h
trunk/libc/sysdeps/sparc/fpu/libm-test-ulps
trunk/libc/sysdeps/unix/make-syscalls.sh
trunk/libc/sysdeps/unix/sysv/linux/Makefile
trunk/libc/sysdeps/unix/sysv/linux/bits/socket.h
trunk/libc/sysdeps/unix/sysv/linux/clock_getcpuclockid.c
trunk/libc/sysdeps/unix/sysv/linux/internal_sendmmsg.S
trunk/libc/sysdeps/unix/sysv/linux/recvmmsg.c
trunk/libc/sysdeps/unix/sysv/linux/sendmmsg.c
trunk/libc/sysdeps/unix/sysv/linux/sys/sysctl.h
trunk/libc/sysdeps/x86_64/bits/atomic.h
trunk/libc/sysdeps/x86_64/fpu/e_powl.S
trunk/libc/sysdeps/x86_64/fpu/libm-test-ulps
trunk/libc/sysdeps/x86_64/multiarch/test-multiarch.c
Propchange: trunk/
------------------------------------------------------------------------------
--- svn:mergeinfo (original)
+++ svn:mergeinfo Sun Dec 2 21:11:45 2012
@@ -1,1 +1,1 @@
-/fsf/trunk:15224-21775
+/fsf/trunk:15224-21911
Modified: trunk/libc/ChangeLog
==============================================================================
--- trunk/libc/ChangeLog (original)
+++ trunk/libc/ChangeLog Sun Dec 2 21:11:45 2012
@@ -1,3 +1,565 @@
+2012-12-01 Joseph Myers <joseph@xxxxxxxxxxxxxxxx>
+
+ * manual/arith.texi (feenableexcept): Fix typo.
+ (fedisableexcept): Likewise.
+
+2012-11-30 Roland McGrath <roland@xxxxxxxxxxxxx>
+
+ * sysdeps/powerpc/powerpc64/entry.h (TEXT_START): Define using a
+ second, differently-typed declaration, rather than a cast.
+
+2012-11-30 Siddhesh Poyarekar <siddhesh@xxxxxxxxxx>
+
+ * sunrpc/rpc/svc.h (__svc_accept_failed): Move declaration...
+ * include/rpc/svc.h: ... here.
+
+2012-11-30 Aurelien Jarno <aurel32@xxxxxxxxxx>
+
+ [BZ #13013]
+ * resolv/res_query.c(__libc_res_nquery): Assign hp and hp2
+ depending n and resplen2 to catch cases where answer
+ equals answerp2.
+
+2012-11-29 Carlos O'Donell <carlos@xxxxxxxxxxxxxxxx>
+
+ * elf/get-dynamic-info.h (elf_get_dynamic_info): Warn
+ for unsupported DF_1_* bits when DL_DEBUG_FILES is set.
+
+2012-11-29 Mike Frysinger <vapier@xxxxxxxxxx>
+
+ * sysdeps/unix/sysv/linux/clock_getcpuclockid.c (HAS_CPUCLOCK): Delete.
+
+2012-11-29 Roland McGrath <roland@xxxxxxxxxxxxx>
+
+ * inet/tst-inet6_rth.c (do_test): Use a union rather than type punning.
+
+2012-11-28 Jeff Law <law@xxxxxxxxxx>
+
+ [BZ #13761]
+ * nscd/grpcache.c (cache_addgr): Rename alloca_used to
+ dataset_temporary. Track alloca usage into alloca_used.
+ If dataset is large allocate and release it via malloc/free.
+
+2012-06-04 Florian Weimer <fweimer@xxxxxxxxxx>
+
+ [BZ #14197]
+ * debug/test-strcpy_chk.c: Mention __chk_fail ABI test.
+
+2012-11-28 David S. Miller <davem@xxxxxxxxxxxxx>
+
+ * sysdeps/sparc/fpu/libm-test-ulps: Update.
+
+2012-11-28 Joseph Myers <joseph@xxxxxxxxxxxxxxxx>
+
+ [BZ #14803]
+ * sysdeps/ieee754/ldbl-96/e_asinl.c (pio2_hi): Use hex float value
+ of pi/2 rounded to nearest to 64 bits.
+ (pio2_lo): Use hex float value of pi/2 - pio2_hi rounded to
+ nearest to 64 bits.
+ (pio4_hi): Use hex float value of pi/4 rounded to nearest to 64
+ bits.
+
+2012-11-28 Jeff Law <law@xxxxxxxxxx>
+ Martin Osvald <mosvald@xxxxxxxxxx>
+
+ [BZ #14889]
+ * sunrpc/rpc/svc.h (__svc_accept_failed): New prototype.
+ * sunrpc/svc.c: Include time.h.
+ (__svc_accept_failed): New function.
+ * sunrpc/svc_tcp.c (rendezvous_request): If the accept fails for
+ any reason other than EINTR, call __svc_accept_failed.
+ * sunrpc/svc_udp.c (svcudp_recv): Similarly.
+ * sunrpc/svc_unix.c (rendezvous_request): Similarly.
+
+2012-11-28 Andreas Schwab <schwab@xxxxxxx>
+
+ * scripts/abilist.awk: Also handle indirect functions in .opd
+ section.
+
+2012-11-28 Joseph Myers <joseph@xxxxxxxxxxxxxxxx>
+
+ [BZ #13881]
+ * sysdeps/x86/fpu/powl_helper.c: New file.
+ * sysdeps/x86/fpu/Makefile: Likewise.
+ * sysdeps/i386/fpu/e_powl.S (limit): Remove object.
+ (p3): New object.
+ (__ieee754_powl): Use __powl_helper for finite arguments except
+ integer exponents below 8.
+ * sysdeps/x86_64/fpu/e_powl.S (limit): Remove object.
+ (p3): New object.
+ (__ieee754_powl): Use __powl_helper for finite arguments except
+ integer exponents below 8.
+ * math/libm-test.inc (pow_test): Add more tests and enable some
+ previously disabled tests.
+ * sysdeps/i386/fpu/libm-test-ulps: Update.
+ * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
+
+2012-11-28 Siddhesh Poyarekar <siddhesh@xxxxxxxxxx>
+ Carlos O'Donell <carlos_odonell@xxxxxxxxxx>
+
+ * nss/makedb.c (is_prime): Assert that input is odd and greater
+ than 4. Note that fact in a comment too.
+ (next_prime): Add 4 to input.
+
+2012-11-27 Siddhesh Poyarekar <siddhesh@xxxxxxxxxx>
+
+ [BZ #11741]
+ * libio/Makefile (tests): Add test case tst-fwrite-error.
+ * libio/iofwrite.c (_IO_fwrite): Return 0 on EOF.
+ * libio/iofwrite_u.c (fwrite_unlocked): Likewise.
+ * libio/tst-fwrite-error.c: New test case.
+
+2012-11-26 H.J. Lu <hongjiu.lu@xxxxxxxxx>
+
+ * elf/dl-load.c (_dl_map_object_from_fd): Cast to uintptr_t
+ before casting to void *.
+ * include/libc-internal.h (__pointer_type): New macro.
+ (__integer_if_pointer_type_sub): Likewise.
+ (__integer_if_pointer_type): Likewise.
+ (cast_to_integer): Likewise.
+ * sysdeps/x86_64/bits/atomic.h: Include <libc-internal.h>.
+ (__arch_c_compare_and_exchange_val_64_acq): Use cast_to_integer
+ before casting to atomic64_t.
+ (atomic_exchange_acq): Likewise.
+ (__arch_exchange_and_add_body): Likewise.
+ (__arch_add_body): Likewise.
+ (atomic_add_negative): Likewise.
+ (atomic_add_zero): Likewise.
+
+2012-11-26 Joseph Myers <joseph@xxxxxxxxxxxxxxxx>
+
+ * sysdeps/generic/unwind-dw2-fde.c (get_pc_begin): New function.
+ (fde_unencoded_compare): Use get_pc_begin instead of type-punning.
+ (add_fdes): Likewise.
+ (linear_search_fdes): Likewise.
+ (binary_search_unencoded_fdes): Likewise.
+
+2012-11-26 Andreas Schwab <schwab@xxxxxxxxxxxxxx>
+
+ * elf/sotruss.ksh: Correctly locate argument of -F and -T options.
+
+2012-11-24 Adam Conrad <adconrad@xxxxxxx>
+
+ * configure.in: Autodetect C++ header directories.
+ * configure: Regenerated.
+
+2012-11-23 Mike Frysinger <vapier@xxxxxxxxxx>
+
+ * elf/Makefile ($(objpfx)ld.so): Change readelf to $(READELF).
+
+2012-11-23 Andreas Schwab <schwab@xxxxxxxxxxxxxx>
+
+ * sysdeps/powerpc/fpu/libm-test-ulps: Update.
+
+2012-11-22 Joseph Myers <joseph@xxxxxxxxxxxxxxxx>
+
+ * math/libm-test.inc (fma_test_towardzero) [TEST_LDOUBLE &&
+ LDBL_MANT_DIG == 106]: Disable some tests.
+ (fma_test_downward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
+ Likewise.
+ (fma_test_upward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
+ Likewise.
+
+ [BZ #14871]
+ * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Return the
+ input for small inputs. Return +/- pi/2 for large inputs.
+ * math/libm-test.inc (atan_test): Add more tests.
+
+ * sysdeps/generic/unwind-dw2-fde-glibc.c
+ (_Unwind_IteratePhdrCallback): Declare P_DYNAMIC with
+ __attribute__ ((unused)).
+
+ [BZ #14645]
+ * sysdeps/ieee754/ldbl-128ibm/s_fmal.c (__fmal): Compute result as
+ x * y if x and y are nonzero and z is zero.
+
+ [BZ #14811]
+ * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Saturate
+ nonzero exponents with absolute value below 0x1p-117 to +/-
+ 0x1p-117.
+
+ [BZ #14869]
+ * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Scale
+ up arguments below 2**-450, not just those below 2**-500.
+ * math/libm-test.inc (hypot_test): Add another test.
+
+ [BZ #14868]
+ * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl):
+ Return a+b for ratio over 2**120, not 2**60.
+ * math/libm-test.inc (hypot_test): Add another test.
+
+ * math/libm-test.inc (clog_test): Use
+ UNDERFLOW_EXCEPTION_LDOUBLE_IBM on two tests.
+ (clog10_test): Likewise.
+
+ [BZ #6778]
+ * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (big): Change to 1e290L.
+
+2012-11-22 Andreas Schwab <schwab@xxxxxxx>
+
+ * sysdeps/i386/fpu/libm-test-ulps: Update.
+
+2012-11-22 Pino Toscano <toscano.pino@xxxxxxxxxx>
+
+ * sysdeps/x86_64/multiarch/test-multiarch.c (get_cpuinfo): Terminate
+ printf output with newline.
+
+2012-11-21 H.J. Lu <hongjiu.lu@xxxxxxxxx>
+
+ [BZ #14865]
+ * aclocal.m4 (LIBC_LINKER_FEATURE): New macro.
+ * configure.in: Use LIBC_LINKER_FEATURE to check -z nodelete,
+ -z nodlopen, -z initfirst and -z execstack support.
+ * configure: Regenerated.
+
+ * elf/elf.h (DF_1_NODIRECT): New macro.
+ (DF_1_IGNMULDEF): Likewise.
+ (DF_1_NOKSYMS): Likewise.
+ (DF_1_NOHDR): Likewise.
+ (DF_1_EDITED): Likewise.
+ (DF_1_NORELOC): Likewise.
+ (DF_1_SYMINTPOSE): Likewise.
+ (DF_1_GLOBAUDIT): Likewise.
+ (DF_1_SINGLETON): Likewise.
+ * elf/get-dynamic-info.h (elf_get_dynamic_info): Assert
+ DT_1_SUPPORTED_MASK bits.
+ * include/elf.h (DT_1_SUPPORTED_MASK): New macro.
+
+2012-11-20 Carlos O'Donell <carlos_odonell@xxxxxxxxxx>
+
+ * sysdeps/unix/make-syscalls.sh: Document prefixes.
+
+2012-11-20 Thomas Schwinge <thomas@xxxxxxxxxxxxxxxx>
+
+ * sysdeps/sh/dl-machine.h (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): New
+ macro.
+
+ * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr, recvmmsg)
+ (sendmmsg): Move declarations...
+ * socket/sys/socket.h: ... here.
+ * sysdeps/unix/sysv/linux/recvmmsg.c [!defined __NR_recvmmsg &&
+ !defined __NR_socketcall] (recvmmsg): Move ENOSYS stub into and
+ include it from...
+ * socket/recvmmsg.c: ... this new file.
+ * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SENDMMSG]
+ (sendmmsg): Rename to __sendmmsg, create weak alias and make
+ definition of __sendmmsg hidden.
+ * sysdeps/unix/sysv/linux/sendmmsg.c (sendmmsg): Likewise.
+ [!defined __NR_sendmmsg && !defined __NR_socketcall] (sendmmsg):
+ Move ENOSYS stub into and include it from...
+ * socket/sendmmsg.c: ... this new file.
+ * sysdeps/unix/sysv/linux/Makefile [subdir=socket]
+ (sysdep_routines): Move recvmmsg and sendmmsg...
+ * socket/Makefile (routines): ... here.
+ * socket/Versions (GLIBC_2.17): Add recvmmsg and sendmmsg.
+ (GLIBC_PRIVATE): Add __sendmmsg.
+ * include/sys/socket.h (__sendmmsg): Add declarations.
+ * resolv/res_send.c (send_dg): Invoke __sendmmsg instead of
+ sendmmsg.
+
+2012-11-20 Joseph Myers <joseph@xxxxxxxxxxxxxxxx>
+
+ * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Mark
+ variable I1 with __attribute__ ((unused)).
+ * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
+
+2012-11-19 Joseph Myers <joseph@xxxxxxxxxxxxxxxx>
+
+ * stdio-common/_itowa.c (_itowa) [BITS_PER_MP_LIMB == 64]: Declare
+ DUMMY variables with __attribute__ ((unused)).
+
+ * bits/byteswap.h: Include <bits/types.h>.
+ (__bswap_64): Use __uint64_t instead of unsigned long long int.
+
+2012-11-19 Pino Toscano <toscano.pino@xxxxxxxxxx>
+
+ * sysdeps/mach/hurd/ptsname.c (ptsname): Change the type of PEERNAME to
+ string_t. Do not manually set errno.
+ (__ptsname_r): Change the type of PEERNAME to string_t, and check its
+ length with __strnlen. Make sure to both set errno and return it on
+ failure.
+
+2012-11-19 David S. Miller <davem@xxxxxxxxxxxxx>
+
+ With help from Joseph Myers.
+ * sysdeps/ieee754/ldbl-128/s_atanl.c (__atanl): Handle tiny and
+ very large arguments properly.
+ * math/libm-test.inc (atan_test): New tests.
+ (atan2_test): New tests.
+ * sysdeps/sparc/fpu/libm-test-ulps: Update.
+ * sysdeps/x86_64/fpu/libm-test-ulps: Update.
+
+2012-11-19 Joseph Myers <joseph@xxxxxxxxxxxxxxxx>
+
+ [BZ #14856]
+ * posix/bits/posix1_lim.h [!__USE_XOPEN2K] (_POSIX_TZNAME_MAX):
+ Define to 3.
+
+ * conform/data/errno.h-data [POSIX] (EADDRINUSE): Do not expect.
+ [POSIX] (EADDRNOTAVAIL): Likewise.
+ [POSIX] (EAFNOSUPPORT): Likewise.
+ [POSIX] (EALREADY): Likewise.
+ [POSIX] (ECONNABORTED): Likewise.
+ [POSIX] (ECONNREFUSED): Likewise.
+ [POSIX] (ECONNRESET): Likewise.
+ [POSIX] (EDESTADDRREQ): Likewise.
+ [POSIX] (EDQUOT): Likewise.
+ [POSIX] (EHOSTUNREACH): Likewise.
+ [POSIX] (EIDRM): Likewise.
+ [POSIX] (EISCONN): Likewise.
+ [POSIX] (ELOOP): Likewise.
+ [POSIX] (EMULTIHOP): Likewise.
+ [POSIX] (ENETDOWN): Likewise.
+ [POSIX] (ENETUNREACH): Likewise.
+ [POSIX] (ENOBUFS): Likewise.
+ [POSIX] (ENODATA): Likewise.
+ [POSIX] (ENOLINK): Likewise.
+ [POSIX] (ENOMSG): Likewise.
+ [POSIX] (ENOPROTOOPT): Likewise.
+ [POSIX] (ENOSR): Likewise.
+ [POSIX] (ENOSTR): Likewise.
+ [POSIX] (ENOTCONN): Likewise.
+ [POSIX] (ENOTSOCK): Likewise.
+ [POSIX] (EOPNOTSUPP): Likewise.
+ [POSIX] (EOVERFLOW): Likewise.
+ [POSIX] (EPROTO): Likewise.
+ [POSIX] (EPROTONOSUPPORT): Likewise.
+ [POSIX] (EPROTOTYPE): Likewise.
+ [POSIX] (ESTALE): Likewise.
+ [POSIX] (ETIME): Likewise.
+ [POSIX] (ETXTBSY): Likewise.
+ [POSIX] (EWOULDBLOCK): Likewise.
+ [!ISO && !ISO99 && !ISO11] (E*): Do not allow.
+ * conform/data/fcntl.h-data [POSIX] (SEEK_SET): Allow.
+ [POSIX] (SEEK_CUR): Likewise.
+ [POSIX] (SEEK_END): Likewise.
+ [POSIX || UNIX98] (mode_t): Do not require.
+ [POSIX] (off_t): Likewise.
+ [POSIX] (pid_t): Likewise.
+ [POSIX] (sys/stat.h): Do not allow header.
+ [POSIX] (unistd.h): Likewise.
+ [!ISO && !ISO99 && !ISO11] (timespec): Do not allow.
+ [!ISO && !ISO99 && !ISO11] (tv_nsec): Likewise.
+ [!ISO && !ISO99 && !ISO11] (tv_sec): Likewise.
+ * conform/data/locale.h-data [POSIX] (LC_MESSAGES): Do not
+ require.
+ * conform/data/mqueue.h-data [!ISO && !ISO99 && !ISO11] (struct
+ sigevent): Specify elements.
+ [XOPEN2K8 || POSIX2008] (struct sigevent): Remove duplicate type
+ entry.
+ [!ISO && !ISO99 && !ISO11] (mq_*): Allow.
+ [!ISO && !ISO99 && !ISO11] (MQ_*): Likewise.
+
+ * conform/data/cpio.h-data [POSIX]: Disable whole file.
+ * conform/data/glob.h-data [POSIX] (GLOB_NOSYS): Do not expect.
+ * conform/data/limits.h-data [!ISO && !ISO99 && !ISO11]
+ (AIO_LIST_MAX): Change to AIO_LISTIO_MAX.
+ [!ISO && !ISO99 && !ISO11] (ATEXT_MAX): Remove.
+ [!ISO && !ISO99 && !ISO11 && !POSIX && !XPG3] (ATEXIT_MAX): Allow.
+ [POSIX || POSIX2008 || XPG3] (IOV_MAX): Do not allow.
+ [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Likewise.
+ [!ISO && !ISO99 && !ISO11] (MQ_PRIO_MAX): Allow.
+ [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Remove duplicate entry.
+ [POSIX || XPG3 || XPG4 || UNIX98] (SS_REPL_MAX): Do not allow.
+ [POSIX || XPG3 || XPG4 || UNIX98] (SYMLOOP_MAX): Likewise.
+ [POSIX || XPG3 || XPG4] (FILESIZEBITS): Likewise.
+ [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_ALLOC_SIZE_MIN):
+ Likewise.
+ [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_INCR_XFER_SIZE):
+ Likewise.
+ [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_MAX_XFER_SIZE):
+ Likewise.
+ [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_XFER_ALIGN):
+ Likewise.
+ [POSIX || XPG3 || XPG4 || UNIX98] (SYMLINK_MAX): Likewise.
+ [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SS_REPL_MAX): Likewise.
+ [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLINK_MAX): Likewise.
+ [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLOOP_MAX): Likewise.
+ [!ISO && !ISO99 && !ISO11] (BC_BASE_MAX): Use macro-constant.
+ Specify lower bound on value.
+ [!ISO && !ISO99 && !ISO11] (BC_DIM_MAX): Likewise.
+ [!ISO && !ISO99 && !ISO11] (BC_SCALE_MAX): Likewise.
+ [!ISO && !ISO99 && !ISO11] (BC_STRING_MAX): Likewise.
+ [!ISO && !ISO99 && !ISO11] (COLL_WEIGHTS_MAX): Likewise.
+ [!ISO && !ISO99 && !ISO11] (EXPR_NEST_MAX): Likewise.
+ [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Likewise
+ [POSIX || XPG3 || XPG4] (CHARCLASS_NAME_MAX): Do not allow.
+ [!ISO && !ISO99 && !ISO11] (_POSIX_CLOCKRES_MIN): Specify exact
+ value.
+ [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_LISTIO_MAX): Do not specify
+ as optional.
+ [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_MAX): Likewise.
+ [!ISO && !ISO99 && !ISO11] (_POSIX_ARG_MAX): Likewise.
+ [!ISO && !ISO99 && !ISO11] (_POSIX_CHILD_MAX): Likewise.
+ [!ISO && !ISO99 && !ISO11] (_POSIX_DELAYTIMER_MAX): Likewise.
+ [!ISO && !ISO99 && !ISO11] (_POSIX_LINK_MAX): Likewise.
+ [!ISO && !ISO99 && !ISO11] (_POSIX_LOGIN_NAME_MAX): Likewise.
+ [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_CANON): Likewise.
+ [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_INPUT): Likewise.
+ [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_OPEN_MAX): Likewise.
+ [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_PRIO_MAX): Likewise.
+ [!ISO && !ISO99 && !ISO11] (_POSIX_NAME_MAX): Likewise.
+ [!ISO && !ISO99 && !ISO11] (_POSIX_NGROUPS_MAX): Likewise.
+ [!ISO && !ISO99 && !ISO11] (_POSIX_OPEN_MAX): Likewise.
+ [!ISO && !ISO99 && !ISO11] (_POSIX_PATH_MAX): Likewise.
+ [!ISO && !ISO99 && !ISO11] (_POSIX_PIPE_BUF): Likewise.
+ [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Remove duplicate
+ entry.
+ [!ISO && !ISO99 && !ISO11] (_POSIX_RTSIG_MAX): Do not specify as
+ optional.
+ [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_NSEMS_MAX): Likewise.
+ [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_VALUE_MAX): Likewise.
+ [!ISO && !ISO99 && !ISO11] (_POSIX_SIGQUEUE_MAX): Likewise.
+ [!ISO && !ISO99 && !ISO11] (_POSIX_SSIZE_MAX): Likewise.
+ [!ISO && !ISO99 && !ISO11] (_POSIX_STREAM_MAX): Likewise.
+ [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_DESTRUCTOR_ITERATIONS):
+ Likewise.
+ [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_KEYS_MAX): Likewise.
+ [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_THREADS_MAX): Likewise.
+ [!ISO && !ISO99 && !ISO11] (_POSIX_TIMER_MAX): Likewise.
+ [!ISO && !ISO99 && !ISO11] (_POSIX_TTY_NAME_MAX): Likewise.
+ [!ISO && !ISO99 && !ISO11] (_POSIX_TZNAME_MAX): Likewise. Give
+ value as 3 for [POSIX || XPG3 || XPG4 || UNIX98].
+ [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_BASE_MAX): Do not specify
+ as optional.
+ [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_DIM_MAX): Likewise.
+ [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_SCALE_MAX): Likewise.
+ [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_STRING_MAX): Likewise.
+ [!ISO && !ISO99 && !ISO11] (_POSIX2_CHARCLASS_NAME_MAX):
+ Likewise. Do not allow for [POSIX || XPG3 || XPG4 || UNIX98].
+ [!ISO && !ISO99 && !ISO11] (_POSIX2_COLL_WEIGHTS_MAX): Do not
+ specify as optional.
+ [!ISO && !ISO99 && !ISO11] (_POSIX2_EXPR_NEST_MAX): Likewise.
+ [!ISO && !ISO99 && !ISO11] (_POSIX2_LINE_MAX): Likewise.
+ [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Likewise.
+ [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Do not allow.
+ [POSIX || XPG3] (NL_ARGMAX): Do not allow.
+ [XPG3] (NL_LANGMAX): Likewise.
+ [POSIX || XPG3] (NL_MSGMAX): Likewise.
+ [POSIX || XPG3] (NL_NMAX): Likewise.
+ [POSIX || XPG3] (NL_SETMAX): Likewise.
+ [POSIX || XPG3] (NL_TEXTMAX): Likewise.
+ [XPG3] (NZERO): Likewise.
+ [XPG4 || UNIX98] (TMP_MAX): Only enable for these conditions.
+ [POSIX || XPG3 || XPG4 || UNIX98] (*_MIN): Do not allow.
+ [!ISO && !ISO99 && !ISO11] (*_t): Allow.
+ * conform/data/regex.h-data [!ISO && !ISO99 && !ISO11]
+ (REG_ERANGE): Expect.
+ * conform/data/stdio.h-data [POSIX] (L_cuserid): Use
+ optional-constant.
+ [POSIX || XOPEN2K || XOPEN2K8 || POSIX2008] (getchar_unlocked):
+ Use (void) in prototype.
+ [POSIX] (*_t): Allow.
+ * conform/data/sys/times.h-data [POSIX]: Enable whole file.
+ * conform/data/wordexp.h-data [!ISO && !ISO99 && !ISO11]
+ (WRDE_BADVAL): Expect.
+
+ * conform/data/fcntl.h-data [XPG3 || XPG4] (O_DSYNC): Do not
+ expect.
+ [XPG3 || XPG4] (O_RSYNC): Likewise.
+ * conform/data/signal.h-data [XPG3 || XPG4] (pthread_kill):
+ Likewise.
+ [XPG3 || XPG4] (pthread_sigmask): Likewise.
+ [XPG3 || XPG4] (sigqueue): Likewise.
+ [XPG3 || XPG4] (sigtimedwait): Likewise.
+ [XPG3 || XPG4] (sigwaitinfo): Likewise.
+ * conform/data/stdio.h-data [XPG3 || XPG4] (snprintf): Likewise.
+ [XPG3 || XPG4] (vsnprintf): Likewise.
+ * conform/data/sys/stat.h-data [XPG3 || XPG4] (blkcnt_t):
+ Likewise.
+ [XPG3 || XPG4] (blksize_t): Likewise.
+ * conform/data/time.h-data [XPG3 || XPG4] (struct timespec):
+ Likewise.
+ [XPG3 || XPG4] (CLOCK_PROCESS_CPUTIME_ID): Likewise.
+ [XPG3 || XPG4] (CLOCK_THREAD_CPUTIME_ID): Likewise.
+ [XPG3 || XPG4] (struct itimerspec): Likewise.
+ [XPG3 || XPG4] (CLOCK_REALTIME): Likewise.
+ [XPG3 || XPG4] (TIMER_ABSTIME): Likewise.
+ [XPG3 || XPG4] (CLOCK_MONOTONIC): Likewise.
+ [XPG3 || XPG4] (clockid_t): Likewise.
+ [XPG3 || XPG4] (timer_t): Likewise.
+ [XPG3 || XPG4] (clock_getres): Likewise.
+ [XPG3 || XPG4] (clock_gettime): Likewise.
+ [XPG3 || XPG4] (clock_settime): Likewise.
+ [XPG3 || XPG4] (nanosleep): Likewise.
+ [XPG3 || XPG4] (timer_create): Likewise.
+ [XPG3 || XPG4] (timer_delete): Likewise.
+ [XPG3 || XPG4] (timer_gettime): Likewise.
+ [XPG3 || XPG4] (timer_getoverrun): Likewise.
+ [XPG3 || XPG4] (timer_settime): Likewise.
+ * conform/data/unistd.h-data [XPG3 || XPG4] (fdatasync): Likewise.
+ [XPG3 || XPG4] (getlogin_r): Likewise.
+ [XPG3 || XPG4] (pread): Likewise.
+ [XPG3 || XPG4] (pthread_atfork): Likewise.
+ [XPG3 || XPG4] (pwrite): Likewise.
+
+ [BZ #14835]
+ * signal/signal.h [__USE_XOPEN_EXTENDED]: Include
+ <bits/siginfo.h>.
+
+2012-11-19 Pino Toscano <toscano.pino@xxxxxxxxxx>
+
+ * malloc/mtrace.c (muntrace): Reset MALLSTREAM and the hooks before
+ finalizing MALLSTREAM.
+
+ * sysdeps/mach/hurd/syncfs.c: New file.
+
+2012-11-19 Siddhesh Poyarekar <siddhesh@xxxxxxxxxx>
+
+ [BZ #14719]
+ * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Set h_errno to
+ NETDB_INTERNAL when NSS_STATUS_UNAVAIL.
+ * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Set
+ h_errno to NETDB_INTERNAL when errno is EMFILE or ENFILE.
+ (_nss_dns_gethostbyname4_r): Likewise.
+ * sysdeps/posix/getaddrinfo.c (gaih_inet): Set result to
+ EAI_SYSTEM if NSS_STATUS_UNAVAIL.
+
+2012-11-19 Peng Haitao <penght@xxxxxxxxxxxxxx>
+
+ [BZ #13763]
+ * sunrpc/bindrsvprt.c: Add lock to protect static variable.
+
+2012-11-19 Steve McIntyre <steve.mcintyre@xxxxxxxxxx>
+
+ * sysdeps/generic/ldconfig.h (FLAG_AARCH64_LIB64): New macro.
+ * elf/cache.c (print_entry): Print ",AArch64" for
+ FLAG_AARCH64_LIB64
+
+ * sysdeps/generic/ldconfig.h (FLAG_ARM_LIBHF): New macro.
+ * elf/cache.c (print_entry): Print ",hard-float" for
+ FLAG_ARM_LIBHF.
+
+2012-11-18 David S. Miller <davem@xxxxxxxxxxxxx>
+
+ With help from Joseph Myers.
+ * sysdeps/ieee754/flt-32/e_j0f.c (__ieee754_y0f): Adjust tinyness
+ cutoff to 2**-13.
+ * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Adjust tinyness
+ cutoff to 2**-25.
+ * sysdeps/ieee754/ldbl-128/e_j0l.c (U0): New constant.
+ ( __ieee754_y0l): Avoid arithmetic underflow when 'x' is very
+ small.
+ * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l): Likewise.
+ * math/libm-test.inc (y0_test): New tests.
+ (y1_test): New tests.
+ * sysdeps/i386/fpu/libm-test-ulps: Update.
+ * sysdeps/x86_64/fpu/libm-test-ulps: Update.
+ * sysdeps/sparc/fpu/libm-test-ulps: Update.
+
+2012-11-18 Andreas Schwab <schwab@xxxxxxxxxxxxxx>
+
+ * configure.in (libc_cv_ld_gnu_indirect_function): Use .quad on
+ 64-bit targets.
+ * configure: Regenerated.
+
+2012-11-17 David S. Miller <davem@xxxxxxxxxxxxx>
+
+ [BZ #14811]
+ * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Saturate
+ nonzero exponents with absolute value below 0x1p-128 to +/-
+ 0x1p-128.
+
2012-11-17 Joseph Myers <joseph@xxxxxxxxxxxxxxxx>
* sysdeps/unix/sysv/linux/fxstatat.c: Include <string.h>.
@@ -726,14 +1288,6 @@
* conform/data/stdalign.h-data: New file.
* conform/data/stdbool.h-data: Likewise.
* conform/data/stdnoreturn.h-data: Likewise.
-
-2012-11-07 Andreas Jaeger <aj@xxxxxxx>
-
- [BZ #14809]
- * sysdeps/unix/sysv/linux/sys/sysctl.h (_UAPI_LINUX_KERNEL_H)
- (_UAPI_LINUX_TYPES_H): Starting with Linux 3.7, the include header
- guards are changed. Only define if not yet defined, #undef back
- after including linux/sysctl.h if defined here.
2012-11-07 Roland McGrath <roland@xxxxxxxxxxxxx>
Modified: trunk/libc/NEWS
==============================================================================
--- trunk/libc/NEWS (original)
+++ trunk/libc/NEWS Sun Dec 2 21:11:45 2012
@@ -9,18 +9,26 @@
* The following bugs are resolved with this release:
- 1349, 3439, 3479, 3665, 5044, 5246, 5298, 5400, 6530, 6778, 6808, 9685,
- 9914, 10014, 10038, 10631, 10873, 11438, 11607, 11638, 11741, 12140,
- 13412, 13542, 13601, 13603, 13604, 13629, 13679, 13696, 13698, 13717,
- 13741, 13939, 13950, 13952, 13966, 14042, 14047, 14090, 14150, 14151,
- 14152, 14154, 14157, 14166, 14173, 14195, 14237, 14251, 14252, 14283,
- 14298, 14303, 14307, 14328, 14331, 14336, 14337, 14347, 14349, 14368,
- 14376, 14417, 14459, 14476, 14477, 14501, 14505, 14510, 14516, 14518,
- 14519, 14530, 14532, 14538, 14543, 14544, 14545, 14557, 14562, 14568,
- 14576, 14579, 14583, 14587, 14595, 14602, 14610, 14621, 14638, 14645,
- 14648, 14652, 14660, 14661, 14669, 14672, 14683, 14694, 14716, 14743,
- 14767, 14783, 14784, 14785, 14793, 14796, 14797, 14801, 14805, 14807,
- 14809, 14811, 14815, 14821, 14824, 14828, 14831, 14838.
+ 1349, 3439, 3479, 3665, 5044, 5246, 5298, 5400, 6530, 6677, 6778, 6808,
+ 9685, 9914, 10014, 10038, 10631, 10873, 11438, 11607, 11638, 11741, 12140,
+ 13013, 13412, 13542, 13601, 13603, 13604, 13629, 13679, 13696, 13698,
+ 13717, 13741, 13759, 13761, 13763, 13881, 13939, 13950, 13952, 13966,
+ 14042, 14047, 14090, 14150, 14151, 14152, 14154, 14157, 14166, 14173,
+ 14195, 14197, 14237, 14251, 14252, 14283, 14298, 14303, 14307, 14328,
+ 14331, 14336, 14337, 14347, 14349, 14368, 14376, 14417, 14447, 14459,
+ 14476, 14477, 14501, 14505, 14510, 14516, 14518, 14519, 14530, 14532,
+ 14538, 14543, 14544, 14545, 14557, 14562, 14568, 14576, 14579, 14583,
+ 14587, 14595, 14602, 14610, 14621, 14638, 14645, 14648, 14652, 14660,
+ 14661, 14669, 14672, 14683, 14694, 14716, 14719, 14743, 14767, 14783,
+ 14784, 14785, 14793, 14796, 14797, 14801, 14803, 14805, 14807, 14811,
+ 14815, 14821, 14822, 14824, 14828, 14831, 14835, 14838, 14856, 14863,
+ 14865, 14866, 14868, 14869, 14871, 14879, 14889, 14893.
+
+* CVE-2011-4609 svc_run() produces high cpu usage when accept fails with
+ EMFILE has been fixed (Bugzilla #14889).
+
+* The add-on ports collection is now distributed in the "ports" subdirectory
+ of the main GNU C Library distribution, rather than separately.
* Port to ARM AArch64 contributed by Linaro.
@@ -49,6 +57,13 @@
never attempts to contact the Name Service Caching Daemon (nscd).
New configure option --disable-build-nscd avoids building nscd itself;
this is the default if --disable-nscd is used.
+
+* Improved support for cross-compilation, including cross-testing and
+ bootstrap builds without a previously built glibc.
+
+* New configure options --with-bugurl and --with-pkgversion, for
+ distributors to use to embed their bug-reporting and package version
+ information in --help and --version output.
* The ttyname and ttyname_r functions on Linux now fall back to searching for
the tty file descriptor in /dev/pts or /dev if /proc is not available. This
@@ -67,6 +82,9 @@
is not linked with -lrt) will no longer implicitly load the pthreads
library at runtime and so will not suffer the overheads associated with
multi-thread support in other code such as the C++ runtime library.
+
+* New locales: ayc_PE, doi_IN, ia_FR, mni_IN, nhn_MX, niu_NU, niu_NZ,
+ sat_IN, and szl_PL.
Version 2.16
Modified: trunk/libc/aclocal.m4
==============================================================================
--- trunk/libc/aclocal.m4 (original)
+++ trunk/libc/aclocal.m4 Sun Dec 2 21:11:45 2012
@@ -213,3 +213,31 @@
AC_SUBST(REPORT_BUGS_TO)
AC_SUBST(REPORT_BUGS_TEXI)
])
+
+dnl Check linker option support.
+dnl LIBC_LINKER_FEATURE([ld_option], [cc_option], [action-if-true], [action-if-false])
+AC_DEFUN([LIBC_LINKER_FEATURE],
+[AC_MSG_CHECKING([for linker that supports $1])
+libc_linker_feature=no
+if test x"$gnu_ld" = x"yes"; then
+ libc_linker_check=`$LD -v --help 2>/dev/null | grep "\$1"`
+ if test -n "$libc_linker_check"; then
+ cat > conftest.c <<EOF
+int _start (void) { return 42; }
+EOF
+ if AC_TRY_COMMAND([${CC-cc} $CFLAGS $CPPFLAGS $LDFLAGS
+ $2 -nostdlib -nostartfiles
+ -fPIC -shared -o conftest.so conftest.c
+ 1>&AS_MESSAGE_LOG_FD])
+ then
+ libc_linker_feature=yes
+ fi
+ rm -f conftest*
+ fi
+fi
+if test $libc_linker_feature = yes; then
+ $3
+else
+ $4
+fi
+AC_MSG_RESULT($libc_linker_feature)])
Modified: trunk/libc/bits/byteswap.h
==============================================================================
--- trunk/libc/bits/byteswap.h (original)
+++ trunk/libc/bits/byteswap.h Sun Dec 2 21:11:45 2012
@@ -24,6 +24,7 @@
#define _BITS_BYTESWAP_H 1
#include <features.h>
+#include <bits/types.h>
/* Swap bytes in 16 bit value. */
#define __bswap_constant_16(x) \
@@ -70,15 +71,15 @@
| (((x) & 0x00000000000000ffull) << 56)))
# if __GNUC_PREREQ (4, 2)
-static __inline unsigned long long int
-__bswap_64 (unsigned long long int __bsx)
+static __inline __uint64_t
+__bswap_64 (__uint64_t __bsx)
{
return __builtin_bswap64 (__bsx);
}
# else
# define __bswap_64(x) \
(__extension__ \
- ({ union { __extension__ unsigned long long int __ll; \
+ ({ union { __extension__ __uint64_t __ll; \
unsigned int __l[2]; } __w, __r; \
if (__builtin_constant_p (x)) \
__r.__ll = __bswap_constant_64 (x); \
@@ -101,8 +102,8 @@
| (((x) & 0x000000000000ff00ull) << 40) \
| (((x) & 0x00000000000000ffull) << 56))
-static __inline unsigned long long int
-__bswap_64 (unsigned long long int __bsx)
+static __inline __uint64_t
+__bswap_64 (__uint64_t __bsx)
{
return __bswap_constant_64 (__bsx);
}
Modified: trunk/libc/configure
==============================================================================
--- trunk/libc/configure (original)
+++ trunk/libc/configure Sun Dec 2 21:11:45 2012
@@ -4217,7 +4217,7 @@
if ${libc_cv_ld_gnu_indirect_function+:} false; then :
$as_echo_n "(cached) " >&6
else
- cat > conftest.s <<EOF
+ cat > conftest.S <<EOF
.type foo,%gnu_indirect_function
foo:
.globl _start
@@ -4225,12 +4225,16 @@
.globl __start
__start:
.data
+#ifdef _LP64
+.quad foo
+#else
.long foo
+#endif
EOF
libc_cv_ld_gnu_indirect_function=no
if ${CC-cc} $CFLAGS $CPPFLAGS $LDFLAGS \
-nostartfiles -nostdlib \
- -o conftest conftest.s 1>&5 2>&5; then
+ -o conftest conftest.S 1>&5 2>&5; then
# Do a link to see if the backend supports IFUNC relocs.
$READELF -r conftest 1>&5
LC_ALL=C $READELF -r conftest | grep 'no relocations' >/dev/null || {
@@ -5442,12 +5446,11 @@
-isystem `echo $sysheaders | sed 's/:/ -isystem /g'`"
if test -n "$CXX"; then
CXX_SYSINCLUDES=
- cxxmachine=`$CXX -dumpmachine 2>&5` &&
- cxxheaders=`$CXX -v -S -x c++ /dev/null -o /dev/null 2>&1 \
- | sed -n -e '1,/#include/d' -e '/^ \//{p;q;}' | sed 's/ //'`
- test "x$cxxheaders" != x && test "x$i" != "x$cxxheaders" &&
- CXX_SYSINCLUDES="$CXX_SYSINCLUDES -isystem $cxxheaders \
--isystem $cxxheaders/$cxxmachine -isystem $cxxheaders/backward"
+ for cxxheaders in `$CXX -v -S -x c++ /dev/null -o /dev/null 2>&1 \
+ | sed -n -e '1,/#include/d' -e 's/^ \(\/.*\/[cg]++\)/\1/p'`; do
+ test "x$cxxheaders" != x &&
+ CXX_SYSINCLUDES="$CXX_SYSINCLUDES -isystem $cxxheaders"
+ done
fi
fi
@@ -6254,86 +6257,101 @@
fi
-{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for -z nodelete option" >&5
-$as_echo_n "checking for -z nodelete option... " >&6; }
-if ${libc_cv_z_nodelete+:} false; then :
- $as_echo_n "(cached) " >&6
-else
- cat > conftest.c <<EOF
+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for linker that supports -z nodelete" >&5
+$as_echo_n "checking for linker that supports -z nodelete... " >&6; }
+libc_linker_feature=no
+if test x"$gnu_ld" = x"yes"; then
+ libc_linker_check=`$LD -v --help 2>/dev/null | grep "\-z nodelete"`
+ if test -n "$libc_linker_check"; then
+ cat > conftest.c <<EOF
int _start (void) { return 42; }
EOF
-if { ac_try='${CC-cc} $CFLAGS $CPPFLAGS $LDFLAGS
- -fPIC -shared -o conftest.so conftest.c
- -nostartfiles -nostdlib
- -Wl,--enable-new-dtags,-z,nodelete 1>&5'
+ if { ac_try='${CC-cc} $CFLAGS $CPPFLAGS $LDFLAGS
+ -Wl,--enable-new-dtags,-z,nodelete -nostdlib -nostartfiles
+ -fPIC -shared -o conftest.so conftest.c
+ 1>&5'
{ { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_try\""; } >&5
(eval $ac_try) 2>&5
ac_status=$?
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
test $ac_status = 0; }; }
-then
+ then
+ libc_linker_feature=yes
+ fi
+ rm -f conftest*
+ fi
+fi
+if test $libc_linker_feature = yes; then
libc_cv_z_nodelete=yes
else
as_fn_error $? "linker with -z nodelete support required" "$LINENO" 5
fi
-rm -f conftest*
-fi
-{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $libc_cv_z_nodelete" >&5
-$as_echo "$libc_cv_z_nodelete" >&6; }
-
-{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for -z nodlopen option" >&5
-$as_echo_n "checking for -z nodlopen option... " >&6; }
-if ${libc_cv_z_nodlopen+:} false; then :
- $as_echo_n "(cached) " >&6
-else
- cat > conftest.c <<EOF
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $libc_linker_feature" >&5
+$as_echo "$libc_linker_feature" >&6; }
+
+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for linker that supports -z nodlopen" >&5
+$as_echo_n "checking for linker that supports -z nodlopen... " >&6; }
+libc_linker_feature=no
+if test x"$gnu_ld" = x"yes"; then
+ libc_linker_check=`$LD -v --help 2>/dev/null | grep "\-z nodlopen"`
+ if test -n "$libc_linker_check"; then
+ cat > conftest.c <<EOF
int _start (void) { return 42; }
EOF
-if { ac_try='${CC-cc} $CFLAGS $CPPFLAGS $LDFLAGS
- -fPIC -shared -o conftest.so conftest.c
- -nostartfiles -nostdlib
- -Wl,--enable-new-dtags,-z,nodlopen 1>&5'
+ if { ac_try='${CC-cc} $CFLAGS $CPPFLAGS $LDFLAGS
+ -Wl,--enable-new-dtags,-z,nodlopen -nostdlib -nostartfiles
+ -fPIC -shared -o conftest.so conftest.c
+ 1>&5'
{ { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_try\""; } >&5
(eval $ac_try) 2>&5
ac_status=$?
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
test $ac_status = 0; }; }
-then
+ then
+ libc_linker_feature=yes
+ fi
+ rm -f conftest*
+ fi
+fi
+if test $libc_linker_feature = yes; then
libc_cv_z_nodlopen=yes
else
as_fn_error $? "linker with -z nodlopen support required" "$LINENO" 5
fi
-rm -f conftest*
-fi
-{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $libc_cv_z_nodlopen" >&5
-$as_echo "$libc_cv_z_nodlopen" >&6; }
-
-{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for -z initfirst option" >&5
-$as_echo_n "checking for -z initfirst option... " >&6; }
-if ${libc_cv_z_initfirst+:} false; then :
- $as_echo_n "(cached) " >&6
-else
- cat > conftest.c <<EOF
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $libc_linker_feature" >&5
+$as_echo "$libc_linker_feature" >&6; }
+
+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for linker that supports -z initfirst" >&5
+$as_echo_n "checking for linker that supports -z initfirst... " >&6; }
+libc_linker_feature=no
+if test x"$gnu_ld" = x"yes"; then
+ libc_linker_check=`$LD -v --help 2>/dev/null | grep "\-z initfirst"`
+ if test -n "$libc_linker_check"; then
+ cat > conftest.c <<EOF
int _start (void) { return 42; }
EOF
-if { ac_try='${CC-cc} $CFLAGS $CPPFLAGS $LDFLAGS
- -fPIC -shared -o conftest.so conftest.c
- -nostartfiles -nostdlib
- -Wl,--enable-new-dtags,-z,initfirst 1>&5'
+ if { ac_try='${CC-cc} $CFLAGS $CPPFLAGS $LDFLAGS
+ -Wl,--enable-new-dtags,-z,initfirst -nostdlib -nostartfiles
+ -fPIC -shared -o conftest.so conftest.c
+ 1>&5'
{ { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_try\""; } >&5
(eval $ac_try) 2>&5
ac_status=$?
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
test $ac_status = 0; }; }
-then
+ then
+ libc_linker_feature=yes
+ fi
+ rm -f conftest*
+ fi
+fi
+if test $libc_linker_feature = yes; then
libc_cv_z_initfirst=yes
else
as_fn_error $? "linker with -z initfirst support required" "$LINENO" 5
fi
-rm -f conftest*
-fi
-{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $libc_cv_z_initfirst" >&5
-$as_echo "$libc_cv_z_initfirst" >&6; }
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $libc_linker_feature" >&5
+$as_echo "$libc_linker_feature" >&6; }
# Add-on fragments can set these for other machines.
libc_commonpagesize=${libc_commonpagesize:-no}
@@ -6530,32 +6548,37 @@
fi
-{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for -z execstack" >&5
-$as_echo_n "checking for -z execstack... " >&6; }
-if ${libc_cv_z_execstack+:} false; then :
- $as_echo_n "(cached) " >&6
-else
- cat > conftest.c <<EOF
+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for linker that supports -z execstack" >&5
+$as_echo_n "checking for linker that supports -z execstack... " >&6; }
+libc_linker_feature=no
+if test x"$gnu_ld" = x"yes"; then
+ libc_linker_check=`$LD -v --help 2>/dev/null | grep "\-z execstack"`
+ if test -n "$libc_linker_check"; then
+ cat > conftest.c <<EOF
int _start (void) { return 42; }
EOF
-if { ac_try='${CC-cc} $CFLAGS $CPPFLAGS $LDFLAGS
- -fPIC -shared -o conftest.so conftest.c
- -Wl,-z,execstack -nostdlib
- 1>&5'
+ if { ac_try='${CC-cc} $CFLAGS $CPPFLAGS $LDFLAGS
+ -Wl,-z,execstack -nostdlib -nostartfiles
+ -fPIC -shared -o conftest.so conftest.c
+ 1>&5'
{ { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_try\""; } >&5
(eval $ac_try) 2>&5
ac_status=$?
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
test $ac_status = 0; }; }
-then
+ then
+ libc_linker_feature=yes
+ fi
+ rm -f conftest*
+ fi
+fi
+if test $libc_linker_feature = yes; then
libc_cv_z_execstack=yes
else
libc_cv_z_execstack=no
fi
-rm -f conftest*
-fi
-{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $libc_cv_z_execstack" >&5
-$as_echo "$libc_cv_z_execstack" >&6; }
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $libc_linker_feature" >&5
+$as_echo "$libc_linker_feature" >&6; }
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for -fpie" >&5
Modified: trunk/libc/configure.in
==============================================================================
--- trunk/libc/configure.in (original)
+++ trunk/libc/configure.in Sun Dec 2 21:11:45 2012
@@ -577,7 +577,7 @@
# For the multi-arch option we need support in the assembler & linker.
AC_CACHE_CHECK([for assembler and linker STT_GNU_IFUNC support],
libc_cv_ld_gnu_indirect_function, [dnl
-cat > conftest.s <<EOF
+cat > conftest.S <<EOF
.type foo,%gnu_indirect_function
foo:
.globl _start
@@ -585,12 +585,16 @@
.globl __start
__start:
.data
+#ifdef _LP64
+.quad foo
+#else
.long foo
+#endif
EOF
libc_cv_ld_gnu_indirect_function=no
if ${CC-cc} $CFLAGS $CPPFLAGS $LDFLAGS \
-nostartfiles -nostdlib \
- -o conftest conftest.s 1>&AS_MESSAGE_LOG_FD 2>&AS_MESSAGE_LOG_FD; then
+ -o conftest conftest.S 1>&AS_MESSAGE_LOG_FD 2>&AS_MESSAGE_LOG_FD; then
# Do a link to see if the backend supports IFUNC relocs.
$READELF -r conftest 1>&AS_MESSAGE_LOG_FD
LC_ALL=C $READELF -r conftest | grep 'no relocations' >/dev/null || {
@@ -1014,12 +1018,11 @@
-isystem `echo $sysheaders | sed 's/:/ -isystem /g'`"
if test -n "$CXX"; then
CXX_SYSINCLUDES=
- cxxmachine=`$CXX -dumpmachine 2>&AS_MESSAGE_LOG_FD` &&
- cxxheaders=`$CXX -v -S -x c++ /dev/null -o /dev/null 2>&1 \
- | sed -n -e '1,/#include/d' -e '/^ \//{p;q;}' | sed 's/ //'`
- test "x$cxxheaders" != x && test "x$i" != "x$cxxheaders" &&
- CXX_SYSINCLUDES="$CXX_SYSINCLUDES -isystem $cxxheaders \
--isystem $cxxheaders/$cxxmachine -isystem $cxxheaders/backward"
+ for cxxheaders in `$CXX -v -S -x c++ /dev/null -o /dev/null 2>&1 \
+ | sed -n -e '1,/#include/d' -e 's/^ \(\/.*\/[cg]++\)/\1/p'`; do
+ test "x$cxxheaders" != x &&
+ CXX_SYSINCLUDES="$CXX_SYSINCLUDES -isystem $cxxheaders"
+ done
fi
fi
AC_SUBST(SYSINCLUDES)
@@ -1428,53 +1431,17 @@
AC_DEFINE(HAVE_CC_WITH_LIBUNWIND)
fi
-AC_CACHE_CHECK(for -z nodelete option,
- libc_cv_z_nodelete, [dnl
-cat > conftest.c <<EOF
-int _start (void) { return 42; }
-EOF
-if AC_TRY_COMMAND([${CC-cc} $CFLAGS $CPPFLAGS $LDFLAGS
- -fPIC -shared -o conftest.so conftest.c
- -nostartfiles -nostdlib
- -Wl,--enable-new-dtags,-z,nodelete 1>&AS_MESSAGE_LOG_FD])
-then
- libc_cv_z_nodelete=yes
-else
- AC_MSG_ERROR(linker with -z nodelete support required)
-fi
-rm -f conftest*])
-
-AC_CACHE_CHECK(for -z nodlopen option,
- libc_cv_z_nodlopen, [dnl
-cat > conftest.c <<EOF
-int _start (void) { return 42; }
-EOF
-if AC_TRY_COMMAND([${CC-cc} $CFLAGS $CPPFLAGS $LDFLAGS
- -fPIC -shared -o conftest.so conftest.c
- -nostartfiles -nostdlib
- -Wl,--enable-new-dtags,-z,nodlopen 1>&AS_MESSAGE_LOG_FD])
-then
- libc_cv_z_nodlopen=yes
-else
- AC_MSG_ERROR(linker with -z nodlopen support required)
-fi
-rm -f conftest*])
-
-AC_CACHE_CHECK(for -z initfirst option,
- libc_cv_z_initfirst, [dnl
-cat > conftest.c <<EOF
-int _start (void) { return 42; }
-EOF
-if AC_TRY_COMMAND([${CC-cc} $CFLAGS $CPPFLAGS $LDFLAGS
- -fPIC -shared -o conftest.so conftest.c
- -nostartfiles -nostdlib
- -Wl,--enable-new-dtags,-z,initfirst 1>&AS_MESSAGE_LOG_FD])
-then
- libc_cv_z_initfirst=yes
-else
- AC_MSG_ERROR(linker with -z initfirst support required)
-fi
-rm -f conftest*])
+LIBC_LINKER_FEATURE([-z nodelete], [-Wl,--enable-new-dtags,-z,nodelete],
+ [libc_cv_z_nodelete=yes],
+ [AC_MSG_ERROR(linker with -z nodelete support required)])
+
+LIBC_LINKER_FEATURE([-z nodlopen], [-Wl,--enable-new-dtags,-z,nodlopen],
+ [libc_cv_z_nodlopen=yes],
+ [AC_MSG_ERROR(linker with -z nodlopen support required)])
+
+LIBC_LINKER_FEATURE([-z initfirst], [-Wl,--enable-new-dtags,-z,initfirst],
+ [libc_cv_z_initfirst=yes],
+ [AC_MSG_ERROR(linker with -z initfirst support required)])
# Add-on fragments can set these for other machines.
libc_commonpagesize=${libc_commonpagesize:-no}
@@ -1612,21 +1579,8 @@
fi
AC_SUBST(libc_cv_z_combreloc)
-AC_CACHE_CHECK(for -z execstack,
- libc_cv_z_execstack, [dnl
-cat > conftest.c <<EOF
-int _start (void) { return 42; }
-EOF
-if AC_TRY_COMMAND([${CC-cc} $CFLAGS $CPPFLAGS $LDFLAGS
- -fPIC -shared -o conftest.so conftest.c
- -Wl,-z,execstack -nostdlib
- 1>&AS_MESSAGE_LOG_FD])
-then
- libc_cv_z_execstack=yes
-else
- libc_cv_z_execstack=no
-fi
-rm -f conftest*])
+LIBC_LINKER_FEATURE([-z execstack], [-Wl,-z,execstack],
+ [libc_cv_z_execstack=yes], [libc_cv_z_execstack=no])
AC_SUBST(libc_cv_z_execstack)
AC_CACHE_CHECK(for -fpie, libc_cv_fpie, [dnl
Modified: trunk/libc/conform/data/cpio.h-data
==============================================================================
--- trunk/libc/conform/data/cpio.h-data (original)
+++ trunk/libc/conform/data/cpio.h-data Sun Dec 2 21:11:45 2012
@@ -1,4 +1,4 @@
-#if !defined ISO && !defined ISO99 && !defined ISO11
+#if !defined ISO && !defined ISO99 && !defined ISO11 && !defined POSIX
constant C_IRUSR == 0000400
constant C_IWUSR == 0000200
constant C_IXUSR == 0000100
Modified: trunk/libc/conform/data/errno.h-data
==============================================================================
--- trunk/libc/conform/data/errno.h-data (original)
+++ trunk/libc/conform/data/errno.h-data Sun Dec 2 21:11:45 2012
@@ -10,78 +10,116 @@
#if !defined ISO && !defined ISO99 && !defined ISO11
macro-int-constant E2BIG {int} > 0
macro-int-constant EACCES {int} > 0
+# if !defined POSIX
macro-int-constant EADDRINUSE {int} > 0
macro-int-constant EADDRNOTAVAIL {int} > 0
macro-int-constant EAFNOSUPPORT {int} > 0
+# endif
macro-int-constant EAGAIN {int} > 0
+# if !defined POSIX
macro-int-constant EALREADY {int} > 0
+# endif
macro-int-constant EBADF {int} > 0
macro-int-constant EBADMSG {int} > 0
macro-int-constant EBUSY {int} > 0
macro-int-constant ECANCELED {int} > 0
macro-int-constant ECHILD {int} > 0
+# if !defined POSIX
macro-int-constant ECONNABORTED {int} > 0
macro-int-constant ECONNREFUSED {int} > 0
macro-int-constant ECONNRESET {int} > 0
+# endif
macro-int-constant EDEADLK {int} > 0
+# if !defined POSIX
macro-int-constant EDESTADDRREQ {int} > 0
macro-int-constant EDQUOT {int} > 0
+# endif
macro-int-constant EEXIST {int} > 0
macro-int-constant EFAULT {int} > 0
macro-int-constant EFBIG {int} > 0
+# if !defined POSIX
macro-int-constant EHOSTUNREACH {int} > 0
macro-int-constant EIDRM {int} > 0
+# endif
macro-int-constant EINPROGRESS {int} > 0
macro-int-constant EINTR {int} > 0
macro-int-constant EINVAL {int} > 0
macro-int-constant EIO {int} > 0
+# if !defined POSIX
macro-int-constant EISCONN {int} > 0
+# endif
macro-int-constant EISDIR {int} > 0
+# if !defined POSIX
macro-int-constant ELOOP {int} > 0
+# endif
macro-int-constant EMFILE {int} > 0
macro-int-constant EMLINK {int} > 0
macro-int-constant EMSGSIZE {int} > 0
+# if !defined POSIX
macro-int-constant EMULTIHOP {int} > 0
+# endif
macro-int-constant ENAMETOOLONG {int} > 0
+# if !defined POSIX
macro-int-constant ENETDOWN {int} > 0
macro-int-constant ENETUNREACH {int} > 0
+# endif
macro-int-constant ENFILE {int} > 0
+# if !defined POSIX
macro-int-constant ENOBUFS {int} > 0
macro-int-constant ENODATA {int} > 0
+# endif
macro-int-constant ENODEV {int} > 0
macro-int-constant ENOENT {int} > 0
macro-int-constant ENOEXEC {int} > 0
macro-int-constant ENOLCK {int} > 0
+# if !defined POSIX
macro-int-constant ENOLINK {int} > 0
+# endif
macro-int-constant ENOMEM {int} > 0
+# if !defined POSIX
macro-int-constant ENOMSG {int} > 0
macro-int-constant ENOPROTOOPT {int} > 0
+# endif
macro-int-constant ENOSPC {int} > 0
+# if !defined POSIX
macro-int-constant ENOSR {int} > 0
macro-int-constant ENOSTR {int} > 0
+# endif
macro-int-constant ENOSYS {int} > 0
+# if !defined POSIX
macro-int-constant ENOTCONN {int} > 0
+# endif
macro-int-constant ENOTDIR {int} > 0
macro-int-constant ENOTEMPTY {int} > 0
+# if !defined POSIX
macro-int-constant ENOTSOCK {int} > 0
+# endif
macro-int-constant ENOTSUP {int} > 0
macro-int-constant ENOTTY {int} > 0
macro-int-constant ENXIO {int} > 0
+# if !defined POSIX
macro-int-constant EOPNOTSUPP {int} > 0
macro-int-constant EOVERFLOW {int} > 0
+# endif
macro-int-constant EPERM {int} > 0
macro-int-constant EPIPE {int} > 0
+# if !defined POSIX
macro-int-constant EPROTO {int} > 0
macro-int-constant EPROTONOSUPPORT {int} > 0
macro-int-constant EPROTOTYPE {int} > 0
+# endif
macro-int-constant EROFS {int} > 0
macro-int-constant ESPIPE {int} > 0
macro-int-constant ESRCH {int} > 0
+# if !defined POSIX
macro-int-constant ESTALE {int} > 0
macro-int-constant ETIME {int} > 0
+# endif
macro-int-constant ETIMEDOUT {int} > 0
+# if !defined POSIX
macro-int-constant ETXTBSY {int} > 0
macro-int-constant EWOULDBLOCK {int} > 0
+# endif
macro-int-constant EXDEV {int} > 0
# if defined XOPEN2K8 || defined POSIX2008
@@ -89,7 +127,6 @@
macro-int-constant EOWNERDEAD {int} > 0
# endif
-allow E*
allow *_t
#endif
Modified: trunk/libc/conform/data/fcntl.h-data
==============================================================================
--- trunk/libc/conform/data/fcntl.h-data (original)
+++ trunk/libc/conform/data/fcntl.h-data Sun Dec 2 21:11:45 2012
@@ -18,7 +18,11 @@
constant F_UNLCK
constant F_WRLCK
-#if !defined POSIX
+#if defined POSIX
+allow SEEK_SET
+allow SEEK_CUR
+allow SEEK_END
+#else
constant SEEK_SET
constant SEEK_CUR
constant SEEK_END
@@ -30,10 +34,12 @@
constant O_TRUNC
constant O_APPEND
+constant O_NONBLOCK
+constant O_SYNC
+#if !defined XPG3 && !defined XPG4
constant O_DSYNC
-constant O_NONBLOCK
constant O_RSYNC
-constant O_SYNC
+#endif
constant O_ACCMODE
@@ -87,9 +93,13 @@
element {struct flock} off_t l_len
element {struct flock} pid_t l_pid
+#if !defined POSIX
+# if !defined UNIX98
type mode_t
+# endif
type off_t
type pid_t
+#endif
function int creat (const char*, mode_t)
function int fcntl (int, int, ...)
@@ -119,16 +129,14 @@
function int openat(int, const char*, int, ...)
#endif
+#if !defined POSIX
allow-header sys/stat.h
allow-header unistd.h
+#endif
allow l_*
allow F_*
allow O_*
allow S_*
allow *_t
-
-allow timespec
-allow tv_nsec
-allow tv_sec
#endif
Modified: trunk/libc/conform/data/glob.h-data
==============================================================================
--- trunk/libc/conform/data/glob.h-data (original)
+++ trunk/libc/conform/data/glob.h-data Sun Dec 2 21:11:45 2012
@@ -19,7 +19,7 @@
constant GLOB_ABORTED
constant GLOB_NOMATCH
constant GLOB_NOSPACE
-# if !defined XOPEN2K8 && !defined POSIX2008
+# if !defined XOPEN2K8 && !defined POSIX2008 && !defined POSIX
constant GLOB_NOSYS
# endif
Modified: trunk/libc/conform/data/limits.h-data
==============================================================================
--- trunk/libc/conform/data/limits.h-data (original)
+++ trunk/libc/conform/data/limits.h-data Sun Dec 2 21:11:45 2012
@@ -28,16 +28,21 @@
#if !defined ISO && !defined ISO99 && !defined ISO11
// if these values exist, we should check the minimal value
-allow AIO_LIST_MAX
+allow AIO_LISTIO_MAX
allow AIO_MAX
allow AIO_PRIO_DELTA_MAX
allow ARG_MAX
-allow ATEXT_MAX
+#if !defined POSIX && !defined XPG3
+allow ATEXIT_MAX
+#endif
allow CHILD_MAX
allow DELAYTIMER_MAX
+#if !defined POSIX && !defined POSIX2008 && !defined XPG3
allow IOV_MAX
+#endif
allow LOGIN_NAME_MAX
allow MQ_OPEN_MAX
+allow MQ_PRIO_MAX
allow OPEN_MAX
allow PAGESIZE
#if !defined POSIX && !defined POSIX2008
@@ -47,98 +52,117 @@
allow PTHREAD_KEYS_MAX
allow PTHREAD_STACK_MIN
allow PTHREAD_THREADS_MAX
-allow RE_DUP_MAX
allow RTSIG_MAX
allow SEM_NSEMS_MAX
allow SEM_VALUE_MAX
allow SIGQUEUE_MAX
+#if !defined POSIX && !defined XPG3 && !defined XPG4 && !defined UNIX98
allow SS_REPL_MAX
+#endif
allow STREAM_MAX
+#if !defined POSIX && !defined XPG3 && !defined XPG4 && !defined UNIX98
allow SYMLOOP_MAX
+#endif
allow TIMER_MAX
allow TTY_NAME_MAX
allow TZNAME_MAX
+#if !defined POSIX && !defined XPG3 && !defined XPG4
allow FILESIZEBITS
+#endif
allow LINK_MAX
allow MAX_CANON
allow MAX_INPUT
allow NAME_MAX
allow PATH_MAX
allow PIPE_BUF
+#if !defined POSIX && !defined XPG3 && !defined XPG4 && !defined UNIX98
allow POSIX_ALLOC_SIZE_MIN
allow POSIX_REC_INCR_XFER_SIZE
allow POSIX_REC_MAX_XFER_SIZE
allow POSIX_REC_XFER_ALIGN
allow SYMLINK_MAX
-
-macro BC_BASE_MAX
-macro BC_DIM_MAX
-macro BC_SCALE_MAX
-macro BC_STRING_MAX
+#endif
+
+macro-constant BC_BASE_MAX >= _POSIX2_BC_BASE_MAX
+macro-constant BC_DIM_MAX >= _POSIX2_BC_DIM_MAX
+macro-constant BC_SCALE_MAX >= _POSIX2_BC_SCALE_MAX
+macro-constant BC_STRING_MAX >= _POSIX2_BC_STRING_MAX
+#if !defined POSIX && !defined XPG3 && !defined XPG4
macro CHARCLASS_NAME_MAX
-macro COLL_WEIGHTS_MAX
-macro EXPR_NEST_MAX
-macro LINE_MAX
+#endif
+macro-constant COLL_WEIGHTS_MAX >= _POSIX2_COLL_WEIGHTS_MAX
+macro-constant EXPR_NEST_MAX >= _POSIX2_EXPR_NEST_MAX
+macro-constant LINE_MAX >= _POSIX2_LINE_MAX
constant NGROUPS_MAX >= 8
-macro RE_DUP_MAX
-
-constant _POSIX_CLOCKRES_MIN <= 20000000
-
-optional-constant _POSIX_AIO_LISTIO_MAX == 2
-optional-constant _POSIX_AIO_MAX == 1
-optional-constant _POSIX_ARG_MAX == 4096
-#if !defined POSIX && !defined XPG3 && !defined XPG4 && !defined UNIX98
-optional-constant _POSIX_CHILD_MAX == 25
-#else
-optional-constant _POSIX_CHILD_MAX == 6
-#endif
-optional-constant _POSIX_DELAYTIMER_MAX == 32
-optional-constant _POSIX_LINK_MAX == 8
-optional-constant _POSIX_LOGIN_NAME_MAX == 9
-optional-constant _POSIX_MAX_CANON == 255
-optional-constant _POSIX_MAX_INPUT == 255
-optional-constant _POSIX_MQ_OPEN_MAX == 8
-optional-constant _POSIX_MQ_PRIO_MAX == 32
-optional-constant _POSIX_NAME_MAX == 14
-#if !defined POSIX && !defined XPG3 && !defined XPG4 && !defined UNIX98
-optional-constant _POSIX_NGROUPS_MAX == 8
-#else
-optional-constant _POSIX_NGROUPS_MAX == 0
-#endif
-#if !defined POSIX && !defined XPG3 && !defined XPG4 && !defined UNIX98
-optional-constant _POSIX_OPEN_MAX == 20
-#else
-optional-constant _POSIX_OPEN_MAX == 16
-#endif
-optional-constant _POSIX_PATH_MAX == 256
-optional-constant _POSIX_PIPE_BUF == 512
-optional-constant _POSIX2_RE_DUP_MAX == 255
-optional-constant _POSIX_RTSIG_MAX == 8
-optional-constant _POSIX_SEM_NSEMS_MAX == 256
-optional-constant _POSIX_SEM_VALUE_MAX == 32767
-optional-constant _POSIX_SIGQUEUE_MAX == 32
-optional-constant _POSIX_SSIZE_MAX == 32767
-optional-constant _POSIX_STREAM_MAX == 8
+macro-constant RE_DUP_MAX >= _POSIX2_RE_DUP_MAX
+
+constant _POSIX_CLOCKRES_MIN == 20000000
+
+constant _POSIX_AIO_LISTIO_MAX == 2
+constant _POSIX_AIO_MAX == 1
+constant _POSIX_ARG_MAX == 4096
+#if !defined POSIX && !defined XPG3 && !defined XPG4 && !defined UNIX98
+constant _POSIX_CHILD_MAX == 25
+#else
+constant _POSIX_CHILD_MAX == 6
+#endif
+constant _POSIX_DELAYTIMER_MAX == 32
+constant _POSIX_LINK_MAX == 8
+constant _POSIX_LOGIN_NAME_MAX == 9
+constant _POSIX_MAX_CANON == 255
+constant _POSIX_MAX_INPUT == 255
+constant _POSIX_MQ_OPEN_MAX == 8
+constant _POSIX_MQ_PRIO_MAX == 32
+constant _POSIX_NAME_MAX == 14
+#if !defined POSIX && !defined XPG3 && !defined XPG4 && !defined UNIX98
+constant _POSIX_NGROUPS_MAX == 8
+#else
+constant _POSIX_NGROUPS_MAX == 0
+#endif
+#if !defined POSIX && !defined XPG3 && !defined XPG4 && !defined UNIX98
+constant _POSIX_OPEN_MAX == 20
+#else
+constant _POSIX_OPEN_MAX == 16
+#endif
+// Value was 255, corrected to 256 following an interpretation request.
+constant _POSIX_PATH_MAX == 256
+constant _POSIX_PIPE_BUF == 512
+constant _POSIX_RTSIG_MAX == 8
+constant _POSIX_SEM_NSEMS_MAX == 256
+constant _POSIX_SEM_VALUE_MAX == 32767
+constant _POSIX_SIGQUEUE_MAX == 32
+constant _POSIX_SSIZE_MAX == 32767
+constant _POSIX_STREAM_MAX == 8
+#if !defined POSIX && !defined XPG3 && !defined XPG4 && !defined UNIX98
optional-constant _POSIX_SS_REPL_MAX == 4
optional-constant _POSIX_SYMLINK_MAX == 255
optional-constant _POSIX_SYMLOOP_MAX == 8
-optional-constant _POSIX_THREAD_DESTRUCTOR_ITERATIONS == 4
-optional-constant _POSIX_THREAD_KEYS_MAX == 128
-optional-constant _POSIX_THREAD_THREADS_MAX == 64
-optional-constant _POSIX_TIMER_MAX == 32
-optional-constant _POSIX_TTY_NAME_MAX == 9
-optional-constant _POSIX_TZNAME_MAX == 6
-optional-constant _POSIX2_BC_BASE_MAX == 99
-optional-constant _POSIX2_BC_DIM_MAX == 2048
-optional-constant _POSIX2_BC_SCALE_MAX == 99
-optional-constant _POSIX2_BC_STRING_MAX == 1000
-optional-constant _POSIX2_CHARCLASS_NAME_MAX == 14
-optional-constant _POSIX2_COLL_WEIGHTS_MAX == 2
-optional-constant _POSIX2_EXPR_NEST_MAX == 32
-optional-constant _POSIX2_LINE_MAX == 2048
-optional-constant _POSIX2_RE_DUP_MAX == 255
+#endif
+constant _POSIX_THREAD_DESTRUCTOR_ITERATIONS == 4
+constant _POSIX_THREAD_KEYS_MAX == 128
+constant _POSIX_THREAD_THREADS_MAX == 64
+constant _POSIX_TIMER_MAX == 32
+constant _POSIX_TTY_NAME_MAX == 9
+#if !defined POSIX && !defined XPG3 && !defined XPG4 && !defined UNIX98
+constant _POSIX_TZNAME_MAX == 6
+#else
+constant _POSIX_TZNAME_MAX == 3
+#endif
+macro-constant _POSIX2_BC_BASE_MAX == 99
+macro-constant _POSIX2_BC_DIM_MAX == 2048
+macro-constant _POSIX2_BC_SCALE_MAX == 99
+macro-constant _POSIX2_BC_STRING_MAX == 1000
+#if !defined POSIX && !defined XPG3 && !defined XPG4 && !defined UNIX98
+constant _POSIX2_CHARCLASS_NAME_MAX == 14
+#endif
+macro-constant _POSIX2_COLL_WEIGHTS_MAX == 2
+macro-constant _POSIX2_EXPR_NEST_MAX == 32
+macro-constant _POSIX2_LINE_MAX == 2048
+macro-constant _POSIX2_RE_DUP_MAX == 255
+#if !defined POSIX && !defined POSIX2008 && !defined XPG3
optional-constant _XOPEN_IOV_MAX == 16
+#endif
#if !defined POSIX && !defined POSIX2008
constant WORD_BIT >= 16
@@ -146,22 +170,31 @@
#endif
constant SSIZE_MAX
+#if !defined POSIX && !defined XPG3 && !defined XPG4
optional-constant CHARCLASS_NAME_MAX >= 14
+#endif
+#if !defined POSIX && !defined XPG3
optional-constant NL_ARGMAX >= 9
-#if !defined POSIX && !defined POSIX2008
+# if !defined POSIX2008
optional-constant NL_LANGMAX >= 14
-#endif
+# endif
optional-constant NL_MSGMAX >= 32767
-#if !defined XOPEN2K8 && !defined POSIX2008
+# if !defined XOPEN2K8 && !defined POSIX2008
optional-constant NL_NMAX
-#endif
+# endif
optional-constant NL_SETMAX >= 255
optional-constant NL_TEXTMAX
-#if !defined POSIX && !defined POSIX2008
+# if !defined POSIX2008
optional-constant NZERO >= 20
-#endif
+# endif
+#endif
+#if defined XPG4 || defined UNIX98
optional-constant TMP_MAX >= 10000
+#endif
allow *_MAX
+#if !defined POSIX && !defined XPG3 && !defined XPG4 && !defined UNIX98
allow *_MIN
#endif
+allow *_t
+#endif
Modified: trunk/libc/conform/data/locale.h-data
==============================================================================
--- trunk/libc/conform/data/locale.h-data (original)
+++ trunk/libc/conform/data/locale.h-data Sun Dec 2 21:11:45 2012
@@ -31,7 +31,7 @@
macro-int-constant LC_ALL
macro-int-constant LC_COLLATE
macro-int-constant LC_CTYPE
-#if !defined ISO && !defined ISO99 && !defined ISO11
+#if !defined ISO && !defined ISO99 && !defined ISO11 && !defined POSIX
macro-int-constant LC_MESSAGES
#endif
macro-int-constant LC_MONETARY
Modified: trunk/libc/conform/data/mqueue.h-data
==============================================================================
--- trunk/libc/conform/data/mqueue.h-data (original)
+++ trunk/libc/conform/data/mqueue.h-data Sun Dec 2 21:11:45 2012
@@ -3,6 +3,11 @@
type mqd_t
type {struct sigevent}
+element {struct sigevent} int sigev_notify
+element {struct sigevent} int sigev_signo
+element {struct sigevent} {union sigval} sigev_value
+element {struct sigevent} {void(*} sigev_notify_function )(union sigval)
+element {struct sigevent} {pthread_attr_t*} sigev_notify_attributes
type {struct mq_attr}
element {struct mq_attr} long mq_flags
@@ -28,7 +33,6 @@
type size_t
type ssize_t
type {struct timespec}
-type {struct sigevent}
#endif
allow-header fcntl.h
@@ -36,5 +40,7 @@
allow-header sys/types.h
allow-header time.h
+allow mq_*
+allow MQ_*
allow *_t
#endif
Modified: trunk/libc/conform/data/regex.h-data
==============================================================================
--- trunk/libc/conform/data/regex.h-data (original)
+++ trunk/libc/conform/data/regex.h-data Sun Dec 2 21:11:45 2012
@@ -26,6 +26,7 @@
constant REG_EPAREN
constant REG_EBRACE
constant REG_BADBR
+constant REG_ERANGE
constant REG_ESPACE
constant REG_BADRPT
# if !defined POSIX && !defined XOPEN2K8 && !defined POSIX2008
Modified: trunk/libc/conform/data/signal.h-data
==============================================================================
--- trunk/libc/conform/data/signal.h-data (original)
+++ trunk/libc/conform/data/signal.h-data Sun Dec 2 21:11:45 2012
@@ -203,8 +203,10 @@
# if !defined POSIX && !defined POSIX2008
function int killpg (pid_t, int)
# endif
+# if !defined XPG3 && !defined XPG4
function int pthread_kill (pthread_t, int)
function int pthread_sigmask (int, const sigset_t*, sigset_t*)
+# endif
function int sigaction (int, const struct sigaction*, struct sigaction*)
function int sigaddset (sigset_t*, int)
# if !defined POSIX && !defined POSIX2008
@@ -224,7 +226,9 @@
# endif
function int sigpending (sigset_t*)
function int sigprocmask (int, const sigset_t*, sigset_t*)
+# if !defined XPG3 && !defined XPG4
function int sigqueue (pid_t, int, const union sigval)
+# endif
# if !defined POSIX && !defined POSIX2008
function int sigrelse (int)
function void (*sigset (int, void(*)(int)))(int)
@@ -233,9 +237,13 @@
function int sigstack (struct sigstack*, struct sigstack*)
# endif
function int sigsuspend (const sigset_t*)
+# if !defined XPG3 && !defined XPG4
function int sigtimedwait (const sigset_t*, siginfo_t*, const struct timespec*)
+# endif
function int sigwait (const sigset_t*, int*)
+# if !defined XPG3 && !defined XPG4
function int sigwaitinfo (const sigset_t*, siginfo_t*)
+# endif
# if defined XOPEN2K8 || defined POSIX2008
function void psiginfo (const siginfo_t*, const char*)
function void psignal (int, const char*)
Modified: trunk/libc/conform/data/stdio.h-data
==============================================================================
--- trunk/libc/conform/data/stdio.h-data (original)
+++ trunk/libc/conform/data/stdio.h-data Sun Dec 2 21:11:45 2012
@@ -9,7 +9,11 @@
#if !defined ISO && !defined ISO99 && !defined ISO11
constant L_ctermid
# if !defined XOPEN2K && !defined XOPEN2K8 && !defined POSIX2008
+# ifdef POSIX
+optional-constant L_cuserid
+# else
constant L_cuserid
+# endif
# endif
#endif
macro-int-constant L_tmpnam
@@ -99,7 +103,7 @@
function int getchar (void)
#if defined POSIX || defined XOPEN2K || defined XOPEN2K8 || defined POSIX2008
function int getc_unlocked (FILE*)
-function int getchar_unlocked ()
+function int getchar_unlocked (void)
#endif
#if defined XOPEN2K8 || defined POSIX2008
function ssize_t getdelim (char**, size_t*, int, FILE*)
@@ -144,7 +148,7 @@
function int scanf (const char*, ...)
function void setbuf (FILE*, char*)
function int setvbuf (FILE*, char*, int, size_t)
-#if !defined ISO && !defined POSIX
+#if !defined ISO && !defined POSIX && !defined XPG3 && !defined XPG4
function int snprintf (char*, size_t, const char*, ...)
#endif
function int sprintf (char *, const char *, ...)
@@ -166,7 +170,7 @@
#if !defined ISO && !defined POSIX && !defined XPG3 && !defined XPG4 && !defined UNIX98
function int vscanf (const char*, va_list)
#endif
-#if !defined ISO && !defined POSIX
+#if !defined ISO && !defined POSIX && !defined XPG3 && !defined XPG4
function int vsnprintf (char*, size_t, const char*, va_list)
#endif
function int vsprintf (char*, const char*, va_list)
@@ -174,15 +178,17 @@
function int vsscanf (const char*, const char*, va_list)
#endif
-#if !defined ISO && !defined ISO99 && !defined ISO11 && !defined POSIX
-#if !defined XOPEN2K && !defined XOPEN2K8 && !defined POSIX2008
+#if !defined ISO && !defined ISO99 && !defined ISO11
+#if !defined POSIX && !defined XOPEN2K && !defined XOPEN2K8 && !defined POSIX2008
variable {char*} optarg
variable int opterr
variable int optind
variable int optopt
#endif
+#if !defined POSIX
allow-header stddef.h
+#endif
allow *_t
#endif
Modified: trunk/libc/conform/data/sys/stat.h-data
==============================================================================
--- trunk/libc/conform/data/sys/stat.h-data (original)
+++ trunk/libc/conform/data/sys/stat.h-data Sun Dec 2 21:11:45 2012
@@ -1,6 +1,6 @@
#if !defined ISO && !defined ISO99 && !defined ISO11
-#if !defined POSIX && !defined POSIX2008
+#if !defined POSIX && !defined POSIX2008 && !defined XPG3 && !defined XPG4
type blkcnt_t
type blksize_t
#endif
Modified: trunk/libc/conform/data/sys/times.h-data
==============================================================================
--- trunk/libc/conform/data/sys/times.h-data (original)
+++ trunk/libc/conform/data/sys/times.h-data Sun Dec 2 21:11:45 2012
@@ -1,4 +1,4 @@
-#if !defined ISO && !defined ISO99 && !defined ISO11 && !defined POSIX
+#if !defined ISO && !defined ISO99 && !defined ISO11
type {struct tms}
element {struct tms} clock_t tms_utime
Modified: trunk/libc/conform/data/time.h-data
==============================================================================
--- trunk/libc/conform/data/time.h-data (original)
+++ trunk/libc/conform/data/time.h-data Sun Dec 2 21:11:45 2012
@@ -5,7 +5,7 @@
macro-int-constant TIME_UTC > 0
#endif
-#if !defined ISO && !defined ISO99
+#if !defined ISO && !defined ISO99 && !defined XPG3 && !defined XPG4
type {struct timespec}
element {struct timespec} time_t tv_sec
@@ -45,6 +45,7 @@
# if !defined XOPEN2K && !defined XOPEN2K8 && !defined POSIX2008
symbol CLK_TCK
# endif
+# if !defined XPG3 && !defined XPG4
constant CLOCK_PROCESS_CPUTIME_ID
constant CLOCK_THREAD_CPUTIME_ID
@@ -59,6 +60,7 @@
type clockid_t
type timer_t
+# endif
# if defined XOPEN2K8 || defined POSIX2008
type pid_t
@@ -74,30 +76,38 @@
#if !defined POSIX && !defined XPG3 && !defined XPG4 && !defined UNIX98
function int clock_getcpuclockid (pid_t, clockid_t*)
#endif
+#if !defined XPG3 && !defined XPG4
function int clock_getres (clockid_t, struct timespec*)
function int clock_gettime (clockid_t, struct timespec*)
+#endif
#if !defined POSIX && !defined XPG3 && !defined XPG4 && !defined UNIX98
function int clock_nanosleep (clockid_t, int, const struct timespec*, struct timespec*)
#endif
+#if !defined XPG3 && !defined XPG4
function int clock_settime (clockid_t, const struct timespec*)
+#endif
function {char*} ctime_r (const time_t*, char*)
# if !defined POSIX && !defined POSIX2008
function {struct tm*} getdate (const char*)
# endif
function {struct tm*} gmtime_r (const time_t*, struct tm*)
function {struct tm*} localtime_r (const time_t*, struct tm*)
+# if !defined XPG3 && !defined XPG4
function int nanosleep (const struct timespec*, struct timespec*)
+# endif
# if defined XOPEN2K8 || defined POSIX2008
function size_t strftime_l (char*, size_t, const char*, const struct tm*, locale_t)
# endif
# if !defined POSIX && !defined POSIX2008
function {char*} strptime (const char*, const char*, struct tm*)
# endif
+# if !defined XPG3 && !defined XPG4
function int timer_create (clockid_t, struct sigevent*, timer_t*)
function int timer_delete (timer_t)
function int timer_gettime (timer_t, struct itimerspec*)
function int timer_getoverrun (timer_t)
function int timer_settime (timer_t, int, const struct itimerspec*, struct itimerspec*)
+# endif
function void tzset (void)
# if !defined POSIX && !defined POSIX2008
Modified: trunk/libc/conform/data/unistd.h-data
==============================================================================
--- trunk/libc/conform/data/unistd.h-data (original)
+++ trunk/libc/conform/data/unistd.h-data Sun Dec 2 21:11:45 2012
@@ -392,7 +392,9 @@
#ifndef POSIX
function int fchdir (int)
#endif
+#if !defined XPG3 && !defined XPG4
function int fdatasync (int)
+#endif
# if defined XOPEN2K8 || defined POSIX2008
function int fexecve (int, char *const[], char *const[])
# endif
@@ -415,7 +417,9 @@
function int gethostname (char*, size_t)
#endif
function {char*} getlogin (void)
+#if !defined XPG3 && !defined XPG4
function int getlogin_r (char*, size_t)
+#endif
function int getopt (int, char*const[], const char*)
#if defined XPG3 || defined XPG4 || defined UNIX98
function int getpagesize (void)
@@ -452,13 +456,13 @@
function {long int} pathconf (const char*, int)
function int pause (void)
function int pipe (int[2])
-#ifndef POSIX
+#if !defined POSIX && !defined XPG3 && !defined XPG4
function ssize_t pread (int, void*, size_t, off_t)
#endif
-#if !defined POSIX && !defined XOPEN2K && !defined XOPEN2K8 && !defined POSIX2008
+#if !defined POSIX && !defined XOPEN2K && !defined XOPEN2K8 && !defined POSIX2008 && !defined XPG3 && !defined XPG4
function int pthread_atfork (void(*)(void), void(*)(void), void(*)(void))
#endif
-#ifndef POSIX
+#if !defined POSIX && !defined XPG3 && !defined XPG4
function ssize_t pwrite (int, const void*, size_t, off_t)
#endif
function ssize_t read (int, void*, size_t)
Modified: trunk/libc/conform/data/wordexp.h-data
==============================================================================
--- trunk/libc/conform/data/wordexp.h-data (original)
+++ trunk/libc/conform/data/wordexp.h-data Sun Dec 2 21:11:45 2012
@@ -13,6 +13,7 @@
constant WRDE_UNDEF
constant WRDE_BADCHAR
+constant WRDE_BADVAL
constant WRDE_CMDSUB
constant WRDE_NOSPACE
# if !defined POSIX && !defined XOPEN2K8 && !defined POSIX2008
Modified: trunk/libc/debug/test-strcpy_chk.c
==============================================================================
--- trunk/libc/debug/test-strcpy_chk.c (original)
+++ trunk/libc/debug/test-strcpy_chk.c Sun Dec 2 21:11:45 2012
@@ -23,6 +23,9 @@
# define TEST_NAME "strcpy_chk"
# include "../string/test-string.h"
+/* This test case implicitly tests the availability of the __chk_fail
+ symbol, which is part of the public ABI and may be used
+ externally. */
extern void __attribute__ ((noreturn)) __chk_fail (void);
char *simple_strcpy_chk (char *, const char *, size_t);
extern char *normal_strcpy (char *, const char *, size_t)
Modified: trunk/libc/elf/Makefile
==============================================================================
--- trunk/libc/elf/Makefile (original)
+++ trunk/libc/elf/Makefile Sun Dec 2 21:11:45 2012
@@ -336,7 +336,7 @@
$(filter-out $(map-file),$^) $(load-map-file) \
-Wl,-soname=$(rtld-installed-name) \
-Wl,-defsym=_begin=0
- readelf -s $@ \
+ $(READELF) -s $@ \
| $(AWK) '($$7 ~ /^UND(|EF)$$/ && $$1 != "0:" && $$4 != "REGISTER") { print; p=1 } END { exit p != 0 }'
# interp.c exists just to get this string into the libraries.
Modified: trunk/libc/elf/cache.c
==============================================================================
--- trunk/libc/elf/cache.c (original)
+++ trunk/libc/elf/cache.c Sun Dec 2 21:11:45 2012
@@ -1,4 +1,4 @@
-/* Copyright (C) 1999-2003,2005,2006,2007,2011 Free Software Foundation, Inc.
+/* Copyright (C) 1999-2012 Free Software Foundation, Inc.
This file is part of the GNU C Library.
Contributed by Andreas Jaeger <aj@xxxxxxx>, 1999.
@@ -93,6 +93,12 @@
break;
case FLAG_X8664_LIBX32:
fputs (",x32", stdout);
+ break;
+ case FLAG_ARM_LIBHF:
+ fputs (",hard-float", stdout);
+ break;
+ case FLAG_AARCH64_LIB64:
+ fputs (",AArch64", stdout);
break;
case 0:
break;
Modified: trunk/libc/elf/dl-load.c
==============================================================================
--- trunk/libc/elf/dl-load.c (original)
+++ trunk/libc/elf/dl-load.c Sun Dec 2 21:11:45 2012
@@ -1351,7 +1351,8 @@
&& ((size_t) (c->mapend - c->mapstart + c->mapoff)
>= header->e_phoff + header->e_phnum * sizeof (ElfW(Phdr))))
/* Found the program header in this segment. */
- l->l_phdr = (void *) (c->mapstart + header->e_phoff - c->mapoff);
+ l->l_phdr = (void *) (uintptr_t) (c->mapstart + header->e_phoff
+ - c->mapoff);
if (c->allocend > c->dataend)
{
Modified: trunk/libc/elf/elf.h
==============================================================================
--- trunk/libc/elf/elf.h (original)
+++ trunk/libc/elf/elf.h Sun Dec 2 21:11:45 2012
@@ -798,6 +798,15 @@
#define DF_1_ENDFILTEE 0x00004000 /* Filtee terminates filters search. */
#define DF_1_DISPRELDNE 0x00008000 /* Disp reloc applied at build time. */
#define DF_1_DISPRELPND 0x00010000 /* Disp reloc applied at run-time. */
+#define DF_1_NODIRECT 0x00020000 /* Object has no-direct binding. */
+#define DF_1_IGNMULDEF 0x00040000
+#define DF_1_NOKSYMS 0x00080000
+#define DF_1_NOHDR 0x00100000
+#define DF_1_EDITED 0x00200000 /* Object is modified after built. */
+#define DF_1_NORELOC 0x00400000
+#define DF_1_SYMINTPOSE 0x00800000 /* Object has individual interposers. */
+#define DF_1_GLOBAUDIT 0x01000000 /* Global auditin required. */
+#define DF_1_SINGLETON 0x02000000 /* Singleton symbols are used. */
/* Flags for the feature selection in DT_FEATURE_1. */
#define DTF_1_PARINIT 0x00000001
Modified: trunk/libc/elf/get-dynamic-info.h
==============================================================================
--- trunk/libc/elf/get-dynamic-info.h (original)
+++ trunk/libc/elf/get-dynamic-info.h Sun Dec 2 21:11:45 2012
@@ -151,6 +151,17 @@
{
l->l_flags_1 = info[VERSYMIDX (DT_FLAGS_1)]->d_un.d_val;
+ /* Only DT_1_SUPPORTED_MASK bits are supported, and we would like
+ to assert this, but we can't. Users have been setting
+ unsupported DF_1_* flags for a long time and glibc has ignored
+ them. Therefore to avoid breaking existing applications the
+ best we can do is add a warning during debugging with the
+ intent of notifying the user of the problem. */
+ if (__builtin_expect (GLRO(dl_debug_mask) & DL_DEBUG_FILES, 0)
+ && l->l_flags_1 & ~DT_1_SUPPORTED_MASK)
+ _dl_debug_printf ("\nWARNING: Unsupported flag value(s) of 0x%x in DT_FLAGS_1.\n",
+ l->l_flags_1 & ~DT_1_SUPPORTED_MASK);
+
if (l->l_flags_1 & DF_1_NOW)
info[DT_BIND_NOW] = info[VERSYMIDX (DT_FLAGS_1)];
}
Modified: trunk/libc/elf/sotruss.ksh
==============================================================================
--- trunk/libc/elf/sotruss.ksh (original)
+++ trunk/libc/elf/sotruss.ksh Sun Dec 2 21:11:45 2012
@@ -94,14 +94,14 @@
do_missing_arg "$1"
fi
shift
- SOTRUSS_FROMLIST="$2"
+ SOTRUSS_FROMLIST="$1"
;;
-T | --t | --to)
if test $# -eq 1; then
do_missing_arg "$1"
fi
shift
- SOTRUSS_TOLIST="$2"
+ SOTRUSS_TOLIST="$1"
;;
-o | --o | --ou | --out | --outp | --outpu | --output)
if test $# -eq 1; then
Modified: trunk/libc/include/elf.h
==============================================================================
--- trunk/libc/include/elf.h (original)
+++ trunk/libc/include/elf.h Sun Dec 2 21:11:45 2012
@@ -3,4 +3,10 @@
/* Some information which is not meant for the public and therefore not
in <elf.h>. */
# include <dl-dtprocnum.h>
+# ifdef DT_1_SUPPORTED_MASK
+# error DT_1_SUPPORTED_MASK is defined!
+# endif
+# define DT_1_SUPPORTED_MASK \
+ (DF_1_NOW | DF_1_NODELETE | DF_1_INITFIRST | DF_1_NOOPEN \
+ | DF_1_ORIGIN | DF_1_NODEFLIB)
#endif
Modified: trunk/libc/include/libc-internal.h
==============================================================================
--- trunk/libc/include/libc-internal.h (original)
+++ trunk/libc/include/libc-internal.h Sun Dec 2 21:11:45 2012
@@ -34,4 +34,20 @@
/* Define and initialize `__progname' et. al. */
extern void __init_misc (int, char **, char **);
+/* 1 if 'type' is a pointer type, 0 otherwise. */
+# define __pointer_type(type) (__builtin_classify_type ((type) 0) == 5)
+
+/* __intptr_t if P is true, or T if P is false. */
+# define __integer_if_pointer_type_sub(T, P) \
+ __typeof__ (*(0 ? (__typeof__ (0 ? (T *) 0 : (void *) (P))) 0 \
+ : (__typeof__ (0 ? (__intptr_t *) 0 : (void *) (!(P)))) 0))
+
+/* __intptr_t if EXPR has a pointer type, or the type of EXPR otherwise. */
+# define __integer_if_pointer_type(expr) \
+ __integer_if_pointer_type_sub(__typeof__ ((__typeof__ (expr)) 0), \
+ __pointer_type (__typeof__ (expr)))
+
+/* Cast an integer or a pointer VAL to integer with proper type. */
+# define cast_to_integer(val) ((__integer_if_pointer_type (val)) (val))
+
#endif /* _LIBC_INTERNAL */
Modified: trunk/libc/include/rpc/svc.h
==============================================================================
--- trunk/libc/include/rpc/svc.h (original)
+++ trunk/libc/include/rpc/svc.h Sun Dec 2 21:11:45 2012
@@ -35,4 +35,6 @@
libc_hidden_proto (svc_getreq_common)
libc_hidden_proto (svc_getreq_poll)
+extern void __svc_accept_failed (void) attribute_hidden;
+
#endif
Modified: trunk/libc/include/sys/socket.h
==============================================================================
--- trunk/libc/include/sys/socket.h (original)
+++ trunk/libc/include/sys/socket.h Sun Dec 2 21:11:45 2012
@@ -91,6 +91,10 @@
extern ssize_t __sendmsg (int __fd, const struct msghdr *__message,
int __flags) attribute_hidden;
+extern int __sendmmsg (int __fd, struct mmsghdr *__vmessages,
+ unsigned int __vlen, int __flags);
+libc_hidden_proto (__sendmmsg)
+
/* Receive a message as described by MESSAGE from socket FD.
Returns the number of bytes read or -1 for errors. */
extern ssize_t __libc_recvmsg (int __fd, struct msghdr *__message,
Modified: trunk/libc/inet/tst-inet6_rth.c
==============================================================================
--- trunk/libc/inet/tst-inet6_rth.c (original)
+++ trunk/libc/inet/tst-inet6_rth.c Sun Dec 2 21:11:45 2012
@@ -66,20 +66,24 @@
goto out;
}
- char buf2[1000];
- if (inet6_rth_reverse (p, buf2) != 0)
+ union
+ {
+ char buffer[1000];
+ struct ip6_rthdr0 rthdr0;
+ } buf2;
+ if (inet6_rth_reverse (p, buf2.buffer) != 0)
{
puts ("first inet6_rth_reverse call failed");
res = 1;
goto out;
}
- if (((struct ip6_rthdr0 *) buf2)->ip6r0_segleft != nseg)
+ if (buf2.rthdr0.ip6r0_segleft != nseg)
{
puts ("segleft after first inet6_rth_reverse wrong");
res = 1;
}
- if (inet6_rth_segments (p) != inet6_rth_segments (buf2))
+ if (inet6_rth_segments (p) != inet6_rth_segments (buf2.buffer))
{
puts ("number of seconds after first inet6_rth_reverse differs");
res = 1;
@@ -88,7 +92,7 @@
for (int i = 0; i < nseg; ++i)
{
- struct in6_addr *addr = inet6_rth_getaddr (buf2, i);
+ struct in6_addr *addr = inet6_rth_getaddr (buf2.buffer, i);
if (addr == NULL)
{
printf ("call %d of first inet6_rth_getaddr failed\n",
Modified: trunk/libc/libio/Makefile
==============================================================================
--- trunk/libc/libio/Makefile (original)
+++ trunk/libc/libio/Makefile Sun Dec 2 21:11:45 2012
@@ -68,7 +68,7 @@
tst-mmap2-eofsync tst-mmap-offend bug-fopena+ \
bug-ungetc2 bug-ungetc3 bug-ungetc4 \
tst-memstream1 tst-memstream2 \
- bug-memstream1 tst-popen1 bug-fclose1
+ bug-memstream1 tst-popen1 bug-fclose1 tst-fwrite-error
tests-$(OPTION_EGLIBC_LOCALE_CODE) \
+= tst-swscanf tst-fgetws tst-setvbuf1 \
tst-ungetwc1 tst-ungetwc2 bug-ftell bug-ungetwc2 \
Modified: trunk/libc/libio/iofwrite.c
==============================================================================
--- trunk/libc/libio/iofwrite.c (original)
+++ trunk/libc/libio/iofwrite.c Sun Dec 2 21:11:45 2012
@@ -42,12 +42,12 @@
if (_IO_vtable_offset (fp) != 0 || _IO_fwide (fp, -1) == -1)
written = _IO_sputn (fp, (const char *) buf, request);
_IO_release_lock (fp);
- /* We have written all of the input in case the return value indicates
- this or EOF is returned. The latter is a special case where we
- simply did not manage to flush the buffer. But the data is in the
- buffer and therefore written as far as fwrite is concerned. */
- if (written == request || written == EOF)
+ /* We are guaranteed to have written all of the input, none of it, or
+ some of it. */
+ if (written == request)
return count;
+ else if (written == EOF)
+ return 0;
else
return written / size;
}
Modified: trunk/libc/libio/iofwrite_u.c
==============================================================================
--- trunk/libc/libio/iofwrite_u.c (original)
+++ trunk/libc/libio/iofwrite_u.c Sun Dec 2 21:11:45 2012
@@ -44,12 +44,12 @@
if (_IO_fwide (fp, -1) == -1)
{
written = _IO_sputn (fp, (const char *) buf, request);
- /* We have written all of the input in case the return value indicates
- this or EOF is returned. The latter is a special case where we
- simply did not manage to flush the buffer. But the data is in the
- buffer and therefore written as far as fwrite is concerned. */
- if (written == request || written == EOF)
+ /* We are guaranteed to have written all of the input, none of it, or
+ some of it. */
+ if (written == request)
return count;
+ else if (written == EOF)
+ return 0;
}
return written / size;
Modified: trunk/libc/localedata/ChangeLog
==============================================================================
--- trunk/libc/localedata/ChangeLog (original)
+++ trunk/libc/localedata/ChangeLog Sun Dec 2 21:11:45 2012
@@ -1,3 +1,37 @@
+2012-11-26 Nik Kalach <nikka@xxxxxxxxxxxxxxxxx>
+
+ * locales/ia_FR (abmon): Fix December.
+
+ [BZ#14879]
+ * locales/ia_FR : New file.
+ * SUPPORTED (SUPPORTED-LOCALES): Add appropriate entry.
+
+2012-11-22 Andreas Jaeger <aj@xxxxxxx>
+
+ * locales/niu_NU: Fix comment.
+
+2012-11-21 Andreas Jaeger <aj@xxxxxxx>
+
+ * locales/szl_PL (LC_COLLATE): Fix syntax error.
+
+ * SUPPORTED (SUPPORTED-LOCALES): Fix typo for ayc_PE entry.
+
+2012-11-21 Chris Leonard <cjl@xxxxxxxxxxxxx>
+
+ [BZ #14863]
+ * SUPPORTED: Add niu_NU and niu_NZ.
+ * locales/niu_NU: Add Niuean (Vagahau Niue) locale for Niue,
+ contributed by Chris Leonard <cjl@xxxxxxxxxxxxx> and Emani
+ Fakaotimanava-Lui <emani@xxxxxxx>.
+ * locales/niu_NZ: Add Niuean (Vagahau Niue) locale for New
+ Zealand, contributed by Chris Leonard <cjl@xxxxxxxxxxxxx> and Emani
+ Fakaotimanava-Lui <emani@xxxxxxx>.
+
+2012-11-19 Eagle Burkut <eagle.burkut@xxxxxxxxx>
+
+ [BZ #13759]
+ * locales/ug_CN (LC_COLLATE, LC_TIME, LC_MESSAGES): Fix entries.
+
2012-11-16 Andreas Jaeger <aj@xxxxxxx>
[BZ #14368]
Modified: trunk/libc/localedata/SUPPORTED
==============================================================================
--- trunk/libc/localedata/SUPPORTED (original)
+++ trunk/libc/localedata/SUPPORTED Sun Dec 2 21:11:45 2012
@@ -46,7 +46,7 @@
ar_TN/ISO-8859-6 \
ar_YE.UTF-8/UTF-8 \
ar_YE/ISO-8859-6 \
-ayc_PE/UFT-8 \
+ayc_PE/UTF-8 \
az_AZ/UTF-8 \
as_IN/UTF-8 \
ast_ES.UTF-8/UTF-8 \
@@ -242,6 +242,7 @@
hu_HU/ISO-8859-2 \
hy_AM/UTF-8 \
hy_AM.ARMSCII-8/ARMSCII-8 \
+ia_FR/UTF-8 \
id_ID.UTF-8/UTF-8 \
id_ID/ISO-8859-1 \
ig_NG/UTF-8 \
@@ -312,6 +313,8 @@
nds_NL/UTF-8 \
ne_NP/UTF-8 \
nhn_MX/UTF-8 \
+niu_NU/UTF-8 \
+niu_NZ/UTF-8 \
nl_AW/UTF-8 \
nl_BE.UTF-8/UTF-8 \
nl_BE/ISO-8859-1 \
Modified: trunk/libc/localedata/locales/szl_PL
==============================================================================
--- trunk/libc/localedata/locales/szl_PL (original)
+++ trunk/libc/localedata/locales/szl_PL Sun Dec 2 21:11:45 2012
@@ -62,7 +62,7 @@
collating-symbol <otilde>
collating-symbol <omacron>
collating-symbol <ocircumflex>
-collating-symbol <U014F>
+collating-symbol <U_014F>
collating-symbol <zacute>
collating-symbol <zdot>
Modified: trunk/libc/localedata/locales/ug_CN
==============================================================================
--- trunk/libc/localedata/locales/ug_CN (original)
+++ trunk/libc/localedata/locales/ug_CN Sun Dec 2 21:11:45 2012
@@ -3,14 +3,14 @@
%
% Uyghur language locale for China
% Source:
-% Contact: Pablo Saratxaga
-% Email: pablo@xxxxxxxxxxxx
-% Language: ug
+% Contact: Eagle Burkut
+% Email: eagle.burkut@xxxxxxxxx
+% Language: ug
% Territory: CN
-% Revision: 0.1
-% Date: 2005-11-08
-% Users: general
-% Charset: UTF-8
+% Revision: 2.00
+% Date: 2012-02-26
+% Users: general
+% Charset: UTF-8
% Distribution and use is free, also
% for commercial purposes.
@@ -18,14 +18,14 @@
title "Uyghur locale for China"
source ""
address ""
-contact ""
-email "pablo@xxxxxxxxxxxx"
+contact "Eagle Burkut"
+email "eagle.burkut@xxxxxxxxx"
tel ""
fax ""
language "Uyghur"
territory "China"
-revision "0.1"
-date "2005-11-08"
+revision "2.00"
+date "2011-02-26"
%
category "ug_CN:2000";LC_IDENTIFICATION
category "ug_CN:2000";LC_CTYPE
@@ -33,6 +33,7 @@
category "ug_CN:2000";LC_TIME
category "ug_CN:2000";LC_NUMERIC
category "ug_CN:2000";LC_MONETARY
+category "ug_CN:2000";LC_MEASUREMENT
category "ug_CN:2000";LC_MESSAGES
category "ug_CN:2000";LC_PAPER
category "ug_CN:2000";LC_NAME
@@ -43,209 +44,178 @@
LC_COLLATE
-% letters list and sort order from
+%
% http://en.wikipedia.org/wiki/Uyghur_language
-% sorting order guessed for old latin writting
-%
-% old latin writting is based in pinyin, with some extra letters:
-% <schwa>, <z with tail>, <gh>, <k with tail>, <h with tail>,
-% <barred o> (they seem inspired from cyrillic)
-% tail letters can be written with base letter + combining tail U+0321
-% there are also reserved codepoints U+2C67-U+2C6C for them in
-% unicode 5.0 proposal.
-% U+0224, U+0225 are also similar to ztail and are sorted the same.
-%
-% new arabic writting uses some extra letters too.
-% all vowels are noted, and in beginning of the word there is a
-% "yeh with hamza" (U+0626) in the front; should it be ignored
-% in sorting?
-%
-% arabic old latin turkic (from azeri, which has same phonemes)
-% ========== =============== ======
-% alef 0627 a a
-% ae 06d5 schwa 018F,0259 ÃÂ
-% beh 0628 b b
-% peh 067e p p
-% teh 062a t t
-% jeem 062c j c <
-% tcheh 0686 q ÃÂ <
-% khah 062e h x <
-% dal 062f d d
-% reh 0631 r r
-% zain 0632 z z
-% jeh 0698 ztail 0224,0225 j <
-% seen 0633 s s
-% sheen 0634 x ÃÂ
-% ghain 063a gh 01a2,01a3 ÃÂ <
-% feh 0641 f f
-% qaf 0642 ktail q <
-% kaf 0643 k k
-% ng 06ad ng ÃÂ <
-% gaf 06af g g
-% lam 0644 l l
-% meem 0645 m m
-% noon 0646 n n
-% heh 0647 htail h <
-% waw 0648 o o
-% u 06c7 u u
-% oe 06c6 obar 019f,0275 ÃÂ <
-% yu 06c8 ÃÂ ÃÂ
-% ve 06cb v v
-% e 06d0 e e
-% f.yeh 06cc i i (or alef maqsura 0649?)
-% yeh 064a y y
-% (<): differences between old latin and turkic writting
-
+%
+% CODE - UNICODE CODE POINT
+% UL - UYGHUR LATIN
+% IN? - IN ISO 14651_T1
+%
+% NO CODE UL ENGLISH NAME AR IN?
+% ======================================
+% 1 0627 a alef ÃÂ
+% 2 06d5 e ae ÃÂ ???
+% 3 0628 b beh ÃÂ
+% 4 067e p peh ÃÂ
+% 5 062a t teh ÃÂ
+% 6 062c j jeem ÃÂ
+% 7 0686 ch tcheh ÃÂ
+% 8 062e x khah ÃÂ
+% 9 062f d dal ÃÂ
+% 10 0631 r reh ÃÂ
+% 11 0632 z zain ÃÂ
+% 12 0698 zh jeh ÃÂ
+% 13 0633 s seen ÃÂ
+% 14 0634 sh sheen ÃÂ
+% 15 063a gh ghain ÃÂ
[... 10275 lines stripped ...]
_______________________________________________
Commits mailing list
Commits@xxxxxxxxxx
http://eglibc.org/cgi-bin/mailman/listinfo/commits