[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Commits] r24173 - in /fsf/trunk/libc: ./ locale/ localedata/ localedata/locales/ malloc/ manual/ math/ misc/ nptl/ nptl/sysdeps/unix/...



Author: eglibc
Date: Sat Oct  5 00:02:02 2013
New Revision: 24173

Log:
Import glibc-mainline for 2013-10-05

Added:
    fsf/trunk/libc/localedata/locales/ar_SS
    fsf/trunk/libc/localedata/locales/pap_AW
    fsf/trunk/libc/localedata/locales/pap_CW
    fsf/trunk/libc/malloc/tst-memalign.c
    fsf/trunk/libc/sysdeps/powerpc/nofpu/
    fsf/trunk/libc/sysdeps/powerpc/nofpu/Makefile
    fsf/trunk/libc/sysdeps/powerpc/nofpu/Subdirs
    fsf/trunk/libc/sysdeps/powerpc/nofpu/Versions
    fsf/trunk/libc/sysdeps/powerpc/nofpu/fclrexcpt.c
    fsf/trunk/libc/sysdeps/powerpc/nofpu/fedisblxcpt.c
    fsf/trunk/libc/sysdeps/powerpc/nofpu/feenablxcpt.c
    fsf/trunk/libc/sysdeps/powerpc/nofpu/fegetenv.c
    fsf/trunk/libc/sysdeps/powerpc/nofpu/fegetexcept.c
    fsf/trunk/libc/sysdeps/powerpc/nofpu/fegetround.c
    fsf/trunk/libc/sysdeps/powerpc/nofpu/feholdexcpt.c
    fsf/trunk/libc/sysdeps/powerpc/nofpu/fenv_const.c
    fsf/trunk/libc/sysdeps/powerpc/nofpu/fenv_libc.h
    fsf/trunk/libc/sysdeps/powerpc/nofpu/fesetenv.c
    fsf/trunk/libc/sysdeps/powerpc/nofpu/fesetround.c
    fsf/trunk/libc/sysdeps/powerpc/nofpu/feupdateenv.c
    fsf/trunk/libc/sysdeps/powerpc/nofpu/fgetexcptflg.c
    fsf/trunk/libc/sysdeps/powerpc/nofpu/fraiseexcpt.c
    fsf/trunk/libc/sysdeps/powerpc/nofpu/fsetexcptflg.c
    fsf/trunk/libc/sysdeps/powerpc/nofpu/ftestexcept.c
    fsf/trunk/libc/sysdeps/powerpc/nofpu/get-rounding-mode.h
    fsf/trunk/libc/sysdeps/powerpc/nofpu/libm-test-ulps
    fsf/trunk/libc/sysdeps/powerpc/nofpu/shlib-versions
    fsf/trunk/libc/sysdeps/powerpc/nofpu/sim-full.c
    fsf/trunk/libc/sysdeps/powerpc/nofpu/soft-supp.h
    fsf/trunk/libc/sysdeps/powerpc/powerpc32/405/
    fsf/trunk/libc/sysdeps/powerpc/powerpc32/405/memcmp.S
    fsf/trunk/libc/sysdeps/powerpc/powerpc32/405/memcpy.S
    fsf/trunk/libc/sysdeps/powerpc/powerpc32/405/memset.S
    fsf/trunk/libc/sysdeps/powerpc/powerpc32/405/strcmp.S
    fsf/trunk/libc/sysdeps/powerpc/powerpc32/405/strcpy.S
    fsf/trunk/libc/sysdeps/powerpc/powerpc32/405/strlen.S
    fsf/trunk/libc/sysdeps/powerpc/powerpc32/405/strncmp.S
    fsf/trunk/libc/sysdeps/powerpc/powerpc32/440/
    fsf/trunk/libc/sysdeps/powerpc/powerpc32/440/Implies
    fsf/trunk/libc/sysdeps/powerpc/powerpc32/464/
    fsf/trunk/libc/sysdeps/powerpc/powerpc32/464/Implies
    fsf/trunk/libc/sysdeps/powerpc/powerpc32/476/
    fsf/trunk/libc/sysdeps/powerpc/powerpc32/476/Implies
    fsf/trunk/libc/sysdeps/powerpc/powerpc32/476/memset.S
    fsf/trunk/libc/sysdeps/powerpc/soft-fp/
    fsf/trunk/libc/sysdeps/powerpc/soft-fp/sfp-machine.h
    fsf/trunk/libc/sysdeps/unix/sysv/linux/powerpc/bits/sigstack.h
    fsf/trunk/libc/sysdeps/unix/sysv/linux/powerpc/powerpc32/405/
    fsf/trunk/libc/sysdeps/unix/sysv/linux/powerpc/powerpc32/405/Implies
    fsf/trunk/libc/sysdeps/unix/sysv/linux/powerpc/powerpc32/440/
    fsf/trunk/libc/sysdeps/unix/sysv/linux/powerpc/powerpc32/440/Implies
    fsf/trunk/libc/sysdeps/unix/sysv/linux/powerpc/powerpc32/464/
    fsf/trunk/libc/sysdeps/unix/sysv/linux/powerpc/powerpc32/464/Implies
    fsf/trunk/libc/sysdeps/unix/sysv/linux/powerpc/powerpc32/476/
    fsf/trunk/libc/sysdeps/unix/sysv/linux/powerpc/powerpc32/476/Implies
    fsf/trunk/libc/sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/
    fsf/trunk/libc/sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/Implies
    fsf/trunk/libc/sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/context-e500.h
    fsf/trunk/libc/sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/getcontext.S
    fsf/trunk/libc/sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/
    fsf/trunk/libc/sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/c++-types.data
    fsf/trunk/libc/sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/ld.abilist
    fsf/trunk/libc/sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libBrokenLocale.abilist
    fsf/trunk/libc/sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libanl.abilist
    fsf/trunk/libc/sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libc.abilist
    fsf/trunk/libc/sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libcrypt.abilist
    fsf/trunk/libc/sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libdl.abilist
    fsf/trunk/libc/sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libm.abilist
    fsf/trunk/libc/sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libnsl.abilist
    fsf/trunk/libc/sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libpthread.abilist
    fsf/trunk/libc/sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libresolv.abilist
    fsf/trunk/libc/sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/librt.abilist
    fsf/trunk/libc/sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libthread_db.abilist
    fsf/trunk/libc/sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libutil.abilist
    fsf/trunk/libc/sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data
    fsf/trunk/libc/sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/setcontext.S
    fsf/trunk/libc/sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/swapcontext.S
Removed:
    fsf/trunk/libc/ports/sysdeps/powerpc/
    fsf/trunk/libc/ports/sysdeps/unix/sysv/linux/powerpc/
Modified:
    fsf/trunk/libc/ChangeLog
    fsf/trunk/libc/NEWS
    fsf/trunk/libc/README
    fsf/trunk/libc/configure
    fsf/trunk/libc/configure.in
    fsf/trunk/libc/locale/iso-3166.def
    fsf/trunk/libc/localedata/SUPPORTED
    fsf/trunk/libc/localedata/locales/ar_SD
    fsf/trunk/libc/localedata/locales/pap_AN
    fsf/trunk/libc/malloc/Makefile
    fsf/trunk/libc/malloc/tst-posix_memalign.c
    fsf/trunk/libc/malloc/tst-pvalloc.c
    fsf/trunk/libc/malloc/tst-valloc.c
    fsf/trunk/libc/manual/threads.texi
    fsf/trunk/libc/math/libm-test.inc
    fsf/trunk/libc/math/test-misc.c
    fsf/trunk/libc/misc/swapon.c
    fsf/trunk/libc/nptl/ChangeLog
    fsf/trunk/libc/nptl/shlib-versions
    fsf/trunk/libc/nptl/sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c
    fsf/trunk/libc/nptl/tst-mutex8.c
    fsf/trunk/libc/ports/ChangeLog
    fsf/trunk/libc/ports/ChangeLog.arm
    fsf/trunk/libc/ports/ChangeLog.powerpc
    fsf/trunk/libc/ports/sysdeps/arm/__longjmp.S
    fsf/trunk/libc/ports/sysdeps/arm/setjmp.S
    fsf/trunk/libc/ports/sysdeps/ia64/fpu/printf_fphex.c
    fsf/trunk/libc/ports/sysdeps/unix/sysv/linux/arm/____longjmp_chk.S
    fsf/trunk/libc/shlib-versions
    fsf/trunk/libc/stdio-common/printf_fp.c
    fsf/trunk/libc/stdio-common/printf_fphex.c
    fsf/trunk/libc/stdio-common/printf_size.c
    fsf/trunk/libc/string/test-memcpy.c
    fsf/trunk/libc/string/tester.c
    fsf/trunk/libc/sysdeps/ieee754/ldbl-128/printf_fphex.c
    fsf/trunk/libc/sysdeps/ieee754/ldbl-128ibm/e_acoshl.c
    fsf/trunk/libc/sysdeps/ieee754/ldbl-128ibm/e_acosl.c
    fsf/trunk/libc/sysdeps/ieee754/ldbl-128ibm/e_asinl.c
    fsf/trunk/libc/sysdeps/ieee754/ldbl-128ibm/e_atan2l.c
    fsf/trunk/libc/sysdeps/ieee754/ldbl-128ibm/e_atanhl.c
    fsf/trunk/libc/sysdeps/ieee754/ldbl-128ibm/e_coshl.c
    fsf/trunk/libc/sysdeps/ieee754/ldbl-128ibm/e_exp10l.c
    fsf/trunk/libc/sysdeps/ieee754/ldbl-128ibm/e_expl.c
    fsf/trunk/libc/sysdeps/ieee754/ldbl-128ibm/e_fmodl.c
    fsf/trunk/libc/sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c
    fsf/trunk/libc/sysdeps/ieee754/ldbl-128ibm/e_hypotl.c
    fsf/trunk/libc/sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c
    fsf/trunk/libc/sysdeps/ieee754/ldbl-128ibm/e_jnl.c
    fsf/trunk/libc/sysdeps/ieee754/ldbl-128ibm/e_log10l.c
    fsf/trunk/libc/sysdeps/ieee754/ldbl-128ibm/e_log2l.c
    fsf/trunk/libc/sysdeps/ieee754/ldbl-128ibm/e_logl.c
    fsf/trunk/libc/sysdeps/ieee754/ldbl-128ibm/e_powl.c
    fsf/trunk/libc/sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c
    fsf/trunk/libc/sysdeps/ieee754/ldbl-128ibm/e_remainderl.c
    fsf/trunk/libc/sysdeps/ieee754/ldbl-128ibm/e_sinhl.c
    fsf/trunk/libc/sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c
    fsf/trunk/libc/sysdeps/ieee754/ldbl-128ibm/ieee754.h
    fsf/trunk/libc/sysdeps/ieee754/ldbl-128ibm/k_cosl.c
    fsf/trunk/libc/sysdeps/ieee754/ldbl-128ibm/k_sincosl.c
    fsf/trunk/libc/sysdeps/ieee754/ldbl-128ibm/k_sinl.c
    fsf/trunk/libc/sysdeps/ieee754/ldbl-128ibm/k_tanl.c
    fsf/trunk/libc/sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c
    fsf/trunk/libc/sysdeps/ieee754/ldbl-128ibm/math_ldbl.h
    fsf/trunk/libc/sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c
    fsf/trunk/libc/sysdeps/ieee754/ldbl-128ibm/printf_fphex.c
    fsf/trunk/libc/sysdeps/ieee754/ldbl-128ibm/s_asinhl.c
    fsf/trunk/libc/sysdeps/ieee754/ldbl-128ibm/s_atanl.c
    fsf/trunk/libc/sysdeps/ieee754/ldbl-128ibm/s_cosl.c
    fsf/trunk/libc/sysdeps/ieee754/ldbl-128ibm/s_erfl.c
    fsf/trunk/libc/sysdeps/ieee754/ldbl-128ibm/s_expm1l.c
    fsf/trunk/libc/sysdeps/ieee754/ldbl-128ibm/s_fabsl.c
    fsf/trunk/libc/sysdeps/ieee754/ldbl-128ibm/s_finitel.c
    fsf/trunk/libc/sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c
    fsf/trunk/libc/sysdeps/ieee754/ldbl-128ibm/s_frexpl.c
    fsf/trunk/libc/sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c
    fsf/trunk/libc/sysdeps/ieee754/ldbl-128ibm/s_isinfl.c
    fsf/trunk/libc/sysdeps/ieee754/ldbl-128ibm/s_isnanl.c
    fsf/trunk/libc/sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c
    fsf/trunk/libc/sysdeps/ieee754/ldbl-128ibm/s_log1pl.c
    fsf/trunk/libc/sysdeps/ieee754/ldbl-128ibm/s_logbl.c
    fsf/trunk/libc/sysdeps/ieee754/ldbl-128ibm/s_modfl.c
    fsf/trunk/libc/sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c
    fsf/trunk/libc/sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c
    fsf/trunk/libc/sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c
    fsf/trunk/libc/sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c
    fsf/trunk/libc/sysdeps/ieee754/ldbl-128ibm/s_remquol.c
    fsf/trunk/libc/sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c
    fsf/trunk/libc/sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c
    fsf/trunk/libc/sysdeps/ieee754/ldbl-128ibm/s_signbitl.c
    fsf/trunk/libc/sysdeps/ieee754/ldbl-128ibm/s_sincosl.c
    fsf/trunk/libc/sysdeps/ieee754/ldbl-128ibm/s_sinl.c
    fsf/trunk/libc/sysdeps/ieee754/ldbl-128ibm/s_tanhl.c
    fsf/trunk/libc/sysdeps/ieee754/ldbl-128ibm/s_tanl.c
    fsf/trunk/libc/sysdeps/ieee754/ldbl-128ibm/strtold_l.c
    fsf/trunk/libc/sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c
    fsf/trunk/libc/sysdeps/ieee754/ldbl-96/printf_fphex.c
    fsf/trunk/libc/sysdeps/mach/hurd/fork.c
    fsf/trunk/libc/sysdeps/powerpc/bits/mathinline.h
    fsf/trunk/libc/sysdeps/powerpc/fpu/e_sqrt.c
    fsf/trunk/libc/sysdeps/powerpc/fpu/e_sqrtf.c
    fsf/trunk/libc/sysdeps/powerpc/fpu/fclrexcpt.c
    fsf/trunk/libc/sysdeps/powerpc/fpu/fedisblxcpt.c
    fsf/trunk/libc/sysdeps/powerpc/fpu/feenablxcpt.c
    fsf/trunk/libc/sysdeps/powerpc/fpu/fegetexcept.c
    fsf/trunk/libc/sysdeps/powerpc/fpu/feholdexcpt.c
    fsf/trunk/libc/sysdeps/powerpc/fpu/fenv_libc.h
    fsf/trunk/libc/sysdeps/powerpc/fpu/fesetenv.c
    fsf/trunk/libc/sysdeps/powerpc/fpu/feupdateenv.c
    fsf/trunk/libc/sysdeps/powerpc/fpu/fgetexcptflg.c
    fsf/trunk/libc/sysdeps/powerpc/fpu/fraiseexcpt.c
    fsf/trunk/libc/sysdeps/powerpc/fpu/fsetexcptflg.c
    fsf/trunk/libc/sysdeps/powerpc/fpu/ftestexcept.c
    fsf/trunk/libc/sysdeps/powerpc/fpu/libm-test-ulps
    fsf/trunk/libc/sysdeps/powerpc/fpu/s_float_bitwise.h
    fsf/trunk/libc/sysdeps/powerpc/fpu/s_llround.c
    fsf/trunk/libc/sysdeps/powerpc/fpu/s_llroundf.c
    fsf/trunk/libc/sysdeps/powerpc/fpu/tst-setcontext-fpscr.c
    fsf/trunk/libc/sysdeps/powerpc/fpu_control.h
    fsf/trunk/libc/sysdeps/powerpc/jmpbuf-offsets.h
    fsf/trunk/libc/sysdeps/powerpc/longjmp.c
    fsf/trunk/libc/sysdeps/powerpc/novmx-longjmp.c
    fsf/trunk/libc/sysdeps/powerpc/powerpc32/Makefile
    fsf/trunk/libc/sysdeps/powerpc/powerpc32/bsd-_setjmp.S
    fsf/trunk/libc/sysdeps/powerpc/powerpc32/bsd-setjmp.S
    fsf/trunk/libc/sysdeps/powerpc/powerpc32/dl-machine.c
    fsf/trunk/libc/sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S
    fsf/trunk/libc/sysdeps/powerpc/powerpc32/fpu/__longjmp.S
    fsf/trunk/libc/sysdeps/powerpc/powerpc32/fpu/s_copysign.S
    fsf/trunk/libc/sysdeps/powerpc/powerpc32/fpu/s_copysignl.S
    fsf/trunk/libc/sysdeps/powerpc/powerpc32/fpu/s_lrint.S
    fsf/trunk/libc/sysdeps/powerpc/powerpc32/fpu/s_lround.S
    fsf/trunk/libc/sysdeps/powerpc/powerpc32/fpu/s_roundf.S
    fsf/trunk/libc/sysdeps/powerpc/powerpc32/fpu/setjmp-common.S
    fsf/trunk/libc/sysdeps/powerpc/powerpc32/fpu/setjmp.S
    fsf/trunk/libc/sysdeps/powerpc/powerpc32/mcount.c
    fsf/trunk/libc/sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S
    fsf/trunk/libc/sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S
    fsf/trunk/libc/sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S
    fsf/trunk/libc/sysdeps/powerpc/powerpc32/power4/hp-timing.h
    fsf/trunk/libc/sysdeps/powerpc/powerpc32/power4/memcmp.S
    fsf/trunk/libc/sysdeps/powerpc/powerpc32/power4/memcpy.S
    fsf/trunk/libc/sysdeps/powerpc/powerpc32/power4/memset.S
    fsf/trunk/libc/sysdeps/powerpc/powerpc32/power4/strncmp.S
    fsf/trunk/libc/sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S
    fsf/trunk/libc/sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S
    fsf/trunk/libc/sysdeps/powerpc/powerpc32/power5/fpu/s_isnan.S
    fsf/trunk/libc/sysdeps/powerpc/powerpc32/power6/fpu/s_isnan.S
    fsf/trunk/libc/sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S
    fsf/trunk/libc/sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S
    fsf/trunk/libc/sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S
    fsf/trunk/libc/sysdeps/powerpc/powerpc32/power6/memcpy.S
    fsf/trunk/libc/sysdeps/powerpc/powerpc32/power6/memset.S
    fsf/trunk/libc/sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S
    fsf/trunk/libc/sysdeps/powerpc/powerpc32/power7/fpu/s_isinf.S
    fsf/trunk/libc/sysdeps/powerpc/powerpc32/power7/fpu/s_isnan.S
    fsf/trunk/libc/sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c
    fsf/trunk/libc/sysdeps/powerpc/powerpc32/power7/memchr.S
    fsf/trunk/libc/sysdeps/powerpc/powerpc32/power7/memcmp.S
    fsf/trunk/libc/sysdeps/powerpc/powerpc32/power7/memcpy.S
    fsf/trunk/libc/sysdeps/powerpc/powerpc32/power7/mempcpy.S
    fsf/trunk/libc/sysdeps/powerpc/powerpc32/power7/memrchr.S
    fsf/trunk/libc/sysdeps/powerpc/powerpc32/power7/memset.S
    fsf/trunk/libc/sysdeps/powerpc/powerpc32/power7/rawmemchr.S
    fsf/trunk/libc/sysdeps/powerpc/powerpc32/power7/strchr.S
    fsf/trunk/libc/sysdeps/powerpc/powerpc32/power7/strchrnul.S
    fsf/trunk/libc/sysdeps/powerpc/powerpc32/power7/strlen.S
    fsf/trunk/libc/sysdeps/powerpc/powerpc32/power7/strncmp.S
    fsf/trunk/libc/sysdeps/powerpc/powerpc32/power7/strnlen.S
    fsf/trunk/libc/sysdeps/powerpc/powerpc32/setjmp.S
    fsf/trunk/libc/sysdeps/powerpc/powerpc32/stpcpy.S
    fsf/trunk/libc/sysdeps/powerpc/powerpc32/strchr.S
    fsf/trunk/libc/sysdeps/powerpc/powerpc32/strcmp.S
    fsf/trunk/libc/sysdeps/powerpc/powerpc32/strcpy.S
    fsf/trunk/libc/sysdeps/powerpc/powerpc32/strlen.S
    fsf/trunk/libc/sysdeps/powerpc/powerpc32/strncmp.S
    fsf/trunk/libc/sysdeps/powerpc/powerpc64/__longjmp-common.S
    fsf/trunk/libc/sysdeps/powerpc/powerpc64/dl-machine.h
    fsf/trunk/libc/sysdeps/powerpc/powerpc64/fpu/s_ceilf.S
    fsf/trunk/libc/sysdeps/powerpc/powerpc64/fpu/s_floorf.S
    fsf/trunk/libc/sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S
    fsf/trunk/libc/sysdeps/powerpc/powerpc64/fpu/s_rintf.S
    fsf/trunk/libc/sysdeps/powerpc/powerpc64/fpu/s_roundf.S
    fsf/trunk/libc/sysdeps/powerpc/powerpc64/fpu/s_truncf.S
    fsf/trunk/libc/sysdeps/powerpc/powerpc64/memcpy.S
    fsf/trunk/libc/sysdeps/powerpc/powerpc64/memset.S
    fsf/trunk/libc/sysdeps/powerpc/powerpc64/power4/memcmp.S
    fsf/trunk/libc/sysdeps/powerpc/powerpc64/power4/memcpy.S
    fsf/trunk/libc/sysdeps/powerpc/powerpc64/power4/memset.S
    fsf/trunk/libc/sysdeps/powerpc/powerpc64/power4/strncmp.S
    fsf/trunk/libc/sysdeps/powerpc/powerpc64/power6/memcpy.S
    fsf/trunk/libc/sysdeps/powerpc/powerpc64/power6/memset.S
    fsf/trunk/libc/sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S
    fsf/trunk/libc/sysdeps/powerpc/powerpc64/power7/fpu/s_isinf.S
    fsf/trunk/libc/sysdeps/powerpc/powerpc64/power7/memchr.S
    fsf/trunk/libc/sysdeps/powerpc/powerpc64/power7/memcmp.S
    fsf/trunk/libc/sysdeps/powerpc/powerpc64/power7/memcpy.S
    fsf/trunk/libc/sysdeps/powerpc/powerpc64/power7/mempcpy.S
    fsf/trunk/libc/sysdeps/powerpc/powerpc64/power7/memrchr.S
    fsf/trunk/libc/sysdeps/powerpc/powerpc64/power7/memset.S
    fsf/trunk/libc/sysdeps/powerpc/powerpc64/power7/rawmemchr.S
    fsf/trunk/libc/sysdeps/powerpc/powerpc64/power7/strchr.S
    fsf/trunk/libc/sysdeps/powerpc/powerpc64/power7/strchrnul.S
    fsf/trunk/libc/sysdeps/powerpc/powerpc64/power7/strlen.S
    fsf/trunk/libc/sysdeps/powerpc/powerpc64/power7/strncmp.S
    fsf/trunk/libc/sysdeps/powerpc/powerpc64/power7/strnlen.S
    fsf/trunk/libc/sysdeps/powerpc/powerpc64/setjmp-common.S
    fsf/trunk/libc/sysdeps/powerpc/powerpc64/setjmp.S
    fsf/trunk/libc/sysdeps/powerpc/powerpc64/stpcpy.S
    fsf/trunk/libc/sysdeps/powerpc/powerpc64/strchr.S
    fsf/trunk/libc/sysdeps/powerpc/powerpc64/strcmp.S
    fsf/trunk/libc/sysdeps/powerpc/powerpc64/strcpy.S
    fsf/trunk/libc/sysdeps/powerpc/powerpc64/strlen.S
    fsf/trunk/libc/sysdeps/powerpc/powerpc64/strncmp.S
    fsf/trunk/libc/sysdeps/powerpc/sysdep.h
    fsf/trunk/libc/sysdeps/unix/sysv/linux/configure
    fsf/trunk/libc/sysdeps/unix/sysv/linux/configure.in
    fsf/trunk/libc/sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S
    fsf/trunk/libc/sysdeps/unix/sysv/linux/powerpc/powerpc32/makecontext.S
    fsf/trunk/libc/sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S
    fsf/trunk/libc/sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S
    fsf/trunk/libc/sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
    fsf/trunk/libc/sysdeps/x86_64/fpu/printf_fphex.c

Modified: fsf/trunk/libc/ChangeLog
==============================================================================
--- fsf/trunk/libc/ChangeLog (original)
+++ fsf/trunk/libc/ChangeLog Sat Oct  5 00:02:02 2013
@@ -1,3 +1,532 @@
+2013-10-04  Samuel Thibault  <samuel.thibault@xxxxxxxxxxxx>
+
+	* sysdeps/mach/hurd/fork.c (_hurd_atfork_prepare_hook,
+	_hurd_atfork_child_hook, _hurd_atfork_parent_hook): New hooks.
+	(__fork): Call _hurd_atfork_prepare_hook hooks before all locking, call
+	_hurd_atfork_parent_hook or _hurd_atfork_child_hook after all unlocking.
+
+2013-10-04  Ryan S. Arnold  <ryan.arnold@xxxxxxxxxx>
+
+	* misc/swapon.c (swapon): Update definition, adding FLAGS parameter to
+	match prototype.
+
+2013-10-04  Joseph Myers  <joseph@xxxxxxxxxxxxxxxx>
+
+	* sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = yes] (+cflags):
+	Move -mhard-float appending from
+	ports/sysdeps/powerpc/powerpc32/Makefile.
+	[$(with-fp) = yes] (ASFLAGS): Likewise.
+	[$(with-fp) = yes] (sysdep-LDFLAGS): Likewise.
+	* sysdeps/powerpc/nofpu: Move directory from
+	ports/sysdeps/powerpc/nofpu.
+	* sysdeps/powerpc/soft-fp: Move directory from
+	ports/sysdeps/powerpc/soft-fp.
+	* sysdeps/powerpc/powerpc32/405: Move directory from
+	ports/sysdeps/powerpc/powerpc32/405.
+	* sysdeps/powerpc/powerpc32/440: Move directory from
+	ports/sysdeps/powerpc/powerpc32/440.
+	* sysdeps/powerpc/powerpc32/464: Move directory from
+	ports/sysdeps/powerpc/powerpc32/464.
+	* sysdeps/powerpc/powerpc32/476: Move directory from
+	ports/sysdeps/powerpc/powerpc32/476.
+	* sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu: Move directory
+	from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu.
+	* sysdeps/unix/sysv/linux/powerpc/powerpc32/405: Move directory
+	from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/405.
+	* sysdeps/unix/sysv/linux/powerpc/powerpc32/440: Move directory
+	from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/440.
+	* sysdeps/unix/sysv/linux/powerpc/powerpc32/464: Move directory
+	from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/464.
+	* sysdeps/unix/sysv/linux/powerpc/powerpc32/476: Move directory
+	from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/476.
+	* README: Update for powerpc-*-linux-gnu software floating point
+	support in libc.
+
+	* sysdeps/unix/sysv/linux/configure.in (powerpc/powerpc32): Change
+	case to powerpc/powerpc32*.
+	* sysdeps/unix/sysv/linux/configure: Regenerated.
+
+	* sysdeps/powerpc/fpu_control.h [__NO_FPRS__ && !_SOFT_FLOAT]
+	(_FPU_MASK_OM): Define as 0x04.
+	[__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Define as 0x08.
+	[__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Define as
+	0x00c10080.
+	[__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Define as
+	0x0000003c.
+	[__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Define as _FPU_DEFAULT.
+
+	* sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S
+	(__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
+	getcontext_e500.
+	* sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S
+	(__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
+	setcontext_e500.
+	* sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S
+	(__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use getcontext_e500
+	and setcontext_e500.
+
+2013-10-04  Chris Leonard  <cjl@sugarlabs,.org>
+
+	* locale/iso-3166.def: Update iso-1366.def and related occurrences
+
+2013-10-04  Siddhesh Poyarekar  <siddhesh@xxxxxxxxxx>
+
+	* manual/threads.texi (Default Thread Attributes): Fix typo.
+
+2013-10-04  Will Newton  <will.newton@xxxxxxxxxx>
+
+	* malloc/Makefile: Add tst-memalign.
+	* malloc/tst-memalign.c: New file.
+
+	* malloc/tst-posix_memalign.c: Add comments.
+	(do_test): Add comments and call free on all potentially
+	allocated pointers. Add space after cast.
+
+	* malloc/tst-pvalloc.c: Add comments.
+	(do_test): Add comments and call free on all potentially
+	allocated pointers. Remove duplicate check for NULL pointer.
+	Add space after cast.
+
+	* malloc/tst-valloc.c: Add comments.
+	(do_test): Add comments and call free on all potentially
+	allocated pointers. Remove duplicate check for NULL pointer.
+	Add space after cast.
+
+2013-10-04  Alan Modra  <amodra@xxxxxxxxx>
+
+	* sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
+	Use stdint types in rather than __attribute__((mode())).
+	* sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
+
+2013-10-04  Alan Modra  <amodra@xxxxxxxxx>
+
+	* sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
+	Correct handling of unaligned relocs for little-endian.
+	* sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
+
+2013-10-04  Alan Modra  <amodra@xxxxxxxxx>
+
+	* configure.in: Map powerpc64le and powerpcle to base_machine/machine.
+	* configure: Regenerate.
+	* nptl/shlib-versions: Powerpc*le starts at 2.18.
+	* shlib-versions: Likewise.
+
+2013-10-04  Alan Modra  <amodra@xxxxxxxxx>
+
+	* string/tester.c (test_memrchr): Increment reported test cycle.
+
+2013-10-04  Alan Modra  <amodra@xxxxxxxxx>
+
+	* string/test-memcpy.c (do_one_test): When reporting errors, print
+	string address and don't overrun end of string.
+
+2013-10-04  Alan Modra  <amodra@xxxxxxxxx>
+
+	* sysdeps/powerpc/powerpc64/power7/memchr.S: Replace rlwimi with
+	insrdi.  Make better use of reg selection to speed exit slightly.
+	Schedule entry path a little better.  Remove useless "are we done"
+	checks on entry to main loop.  Handle wrapping around zero address.
+	Correct main loop count.  Handle single left-over word from main
+	loop inline rather than by using loop_small.  Remove extra word
+	case in loop_small caused by wrong loop count.  Add little-endian
+	support.
+	* sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
+	* sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.  Use proper
+	cache hint.
+	* sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
+	* sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Add little-endian
+	support.  Avoid rlwimi.
+	* sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Likewise.
+
+2013-10-04  Alan Modra  <amodra@xxxxxxxxx>
+
+	* sysdeps/powerpc/powerpc64/memset.S: Replace rlwimi with
+        insrdi.  Formatting.
+	* sysdeps/powerpc/powerpc64/power4/memset.S: Likewise.
+	* sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
+	* sysdeps/powerpc/powerpc64/power7/memset.S: Likewise.
+	* sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
+	* sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
+	* sysdeps/powerpc/powerpc32/power7/memset.S: Likewise.
+
+2013-10-04  Alan Modra  <amodra@xxxxxxxxx>
+
+	* sysdeps/powerpc/powerpc32/power4/memcpy.S: Add little endian support.
+	* sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
+	* sysdeps/powerpc/powerpc32/power7/memcpy.S: Likewise.
+	* sysdeps/powerpc/powerpc32/power7/mempcpy.S: Likewise.
+	* sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
+	* sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
+	* sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
+	* sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
+	* sysdeps/powerpc/powerpc64/power7/mempcpy.S: Likewise.  Make better
+	use of regs.  Use power7 mtocrf.  Tidy function tails.
+
+2013-10-04  Alan Modra  <amodra@xxxxxxxxx>
+
+	* sysdeps/powerpc/powerpc64/power7/memcmp.S: Add little-endian support.
+	Formatting.  Consistently use rXXX register defines or rN defines.
+	Use early exit labels that avoid restoring unused non-volatile regs.
+	Make cr field use more consistent with rWORDn compares.  Rename
+	regs used as shift registers for unaligned loop, using rN defines
+	for short lifetime/multiple use regs.
+	* sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
+	* sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.  Exit with
+	addi 1,1,64 to pop stack frame.  Simplify return value code.
+	* sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
+
+2013-10-04  Alan Modra  <amodra@xxxxxxxxx>
+
+	* sysdeps/powerpc/powerpc64/power7/strchr.S (strchr): Add little-endian
+	support.  Correct typos, formatting.  Optimize tail.  Use insrdi
+	rather than rlwimi.
+	* sysdeps/powerpc/powerpc32/power7/strchr.S: Likewise.
+	* sysdeps/powerpc/powerpc64/power7/strchrnul.S (__strchrnul): Add
+	little-endian support.  Correct typos.
+	* sysdeps/powerpc/powerpc32/power7/strchrnul.S: Likewise.  Use insrdi
+	rather than rlwimi.
+	* sysdeps/powerpc/powerpc64/strchr.S (rTMP4, rTMP5): Define.  Use
+	in loop and entry code to keep "and." results.
+	(strchr): Add little-endian support.  Comment.  Move cntlzd
+	earlier in tail.
+	* sysdeps/powerpc/powerpc32/strchr.S: Likewise.
+
+2013-10-04  Alan Modra  <amodra@xxxxxxxxx>
+
+	* sysdeps/powerpc/powerpc64/strcpy.S: Add little-endian support:
+	* sysdeps/powerpc/powerpc32/strcpy.S: Likewise.
+	* sysdeps/powerpc/powerpc64/stpcpy.S: Likewise.
+	* sysdeps/powerpc/powerpc32/stpcpy.S: Likewise.
+
+2013-10-04  Alan Modra  <amodra@xxxxxxxxx>
+
+	* sysdeps/powerpc/powerpc64/strcmp.S (rTMP2): Define as r0.
+	(rTMP): Define as r11.
+	(strcmp): Add little-endian support.  Optimise tail.
+	* sysdeps/powerpc/powerpc32/strcmp.S: Similarly.
+	* sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
+	* sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
+	* sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
+	* sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
+	* sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
+	* sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
+
+2013-10-04  Alan Modra  <amodra@xxxxxxxxx>
+
+	* sysdeps/powerpc/powerpc64/power7/strnlen.S (strnlen): Add
+	little-endian support.  Remove unnecessary "are we done" tests.
+	Handle "s" wrapping around zero and extremely large "size".
+	Correct main loop count.  Handle single left-over word from main
+	loop inline rather than by using small_loop.  Correct comments.
+	Delete "zero" tail, use "end_max" instead.
+	* sysdeps/powerpc/powerpc32/power7/strnlen.S: Likewise.
+
+2013-10-04  Alan Modra  <amodra@xxxxxxxxx>
+
+	* sysdeps/powerpc/powerpc64/power7/strlen.S (strlen): Add little-endian
+	support.  Don't branch over align.
+	* sysdeps/powerpc/powerpc32/power7/strlen.S: Likewise.
+	* sysdeps/powerpc/powerpc64/strlen.S (strlen): Add little-endian
+	support.  Rearrange tmp reg use to suit.  Comment.
+	* sysdeps/powerpc/powerpc32/strlen.S: Likewise.
+
+2013-10-04  Alan Modra  <amodra@xxxxxxxxx>
+
+	* sysdeps/unix/sysv/linux/powerpc/bits/sigstack.h: New file.
+
+2013-10-04  Alan Modra  <amodra@xxxxxxxxx>
+
+	* sysdeps/unix/sysv/linux/powerpc/powerpc32/makecontext.S: Use
+	conditional form of branch and link when obtaining pc.
+	* sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: Likewise.
+
+2013-10-04  Alan Modra  <amodra@xxxxxxxxx>
+
+	* sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Use
+	HIWORD/LOWORD.
+	* sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Ditto.
+	* sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Ditto.
+
+2013-10-04  Alan Modra  <amodra@xxxxxxxxx>
+
+	* sysdeps/powerpc/longjmp.c: Use proper symbol versioning macros.
+	* sysdeps/powerpc/novmx-longjmp.c: Likewise.
+	* sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Likewise.
+	* sysdeps/powerpc/powerpc32/bsd-setjmp.S: Likewise.
+	* sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
+	* sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
+	* sysdeps/powerpc/powerpc32/mcount.c: Likewise.
+	* sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
+	* sysdeps/powerpc/powerpc64/setjmp.S: Likewise.
+	* nptl/sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: Likewise.
+
+2013-10-04  Anton Blanchard <anton@xxxxxxxxxxx>
+	    Alistair Popple <alistair@xxxxxxxxxxxxxxxxx>
+	    Alan Modra <amodra@xxxxxxxxx>
+
+	[BZ #15723]
+	* sysdeps/powerpc/jmpbuf-offsets.h: Comment fix.
+	* sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Correct
+	_dl_hwcap access for little-endian.
+	* sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Likewise.  Don't
+	destroy vmx regs when saving unaligned.
+	* sysdeps/powerpc/powerpc64/__longjmp-common.S: Correct CR load.
+	* sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise CR save.  Don't
+	destroy vmx regs when saving unaligned.
+
+2013-10-04  Alan Modra  <amodra@xxxxxxxxx>
+
+	* sysdeps/powerpc/powerpc32/power4/hp-timing.h (HP_TIMING_NOW):
+	Don't use a union to pack hi/low value.
+
+2013-10-04  Anton Blanchard <anton@xxxxxxxxxxx>
+
+	* sysdeps/powerpc/powerpc64/fpu/s_ceilf.S: Correct float constants
+	for little-endian.
+	* sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
+	* sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: Likewise.
+	* sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
+	* sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
+	* sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
+
+2013-10-04  Alan Modra  <amodra@xxxxxxxxx>
+
+	* sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Increase alignment of
+	constants to usual value for .cst8 section, and remove redundant
+	high address load.
+	* sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Use float
+	constant for 0x1p52.  Load little-endian words of double from
+	correct stack offsets.
+
+2013-10-04  Alan Modra  <amodra@xxxxxxxxx>
+
+	* sysdeps/powerpc/sysdep.h (LOWORD, HIWORD, HISHORT): Define.
+	* sysdeps/powerpc/powerpc32/fpu/s_copysign.S: Load little-endian
+	words of double from correct stack offsets.
+	* sysdeps/powerpc/powerpc32/fpu/s_copysignl.S: Likewise.
+	* sysdeps/powerpc/powerpc32/fpu/s_lrint.S: Likewise.
+	* sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
+	* sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
+	* sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
+	* sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
+	* sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
+	* sysdeps/powerpc/powerpc32/power5/fpu/s_isnan.S: Likewise.
+	* sysdeps/powerpc/powerpc32/power6/fpu/s_isnan.S: Likewise.
+	* sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
+	* sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
+	* sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
+	* sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
+	* sysdeps/powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
+	* sysdeps/powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
+	* sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Use HISHORT.
+	* sysdeps/powerpc/powerpc64/power7/fpu/s_isinf.S: Likewise.
+
+2013-10-04  Alan Modra  <amodra@xxxxxxxxx>
+
+	* sysdeps/powerpc/fpu_control.h (_FPU_GETCW): Rewrite using
+	64-bit int/double union.
+	(_FPU_SETCW): Likewise.
+	* sysdeps/powerpc/fpu/tst-setcontext-fpscr.c (_GET_DI_FPSCR): Likewise.
+	(_SET_DI_FPSCR, _GET_SI_FPSCR, _SET_SI_FPSCR): Likewise.
+
+2013-10-04  Alan Modra  <amodra@xxxxxxxxx>
+
+	* sysdeps/powerpc/fpu/s_llround.c (__llround): Rewrite.
+	* sysdeps/powerpc/fpu/s_llroundf.c (__llroundf): Rewrite.
+
+2013-10-04  Alan Modra  <amodra@xxxxxxxxx>
+
+	* sysdeps/powerpc/fpu/s_float_bitwise.h (__float_and_test28): Don't
+	use vector int constants.
+	(__float_and_test24, __float_and8, __float_get_exp): Likewise.
+
+2013-10-04  Anton Blanchard <anton@xxxxxxxxxxx>
+
+	* sysdeps/powerpc/fpu/fenv_libc.h (fenv_union_t): Replace int
+	array with long long.
+	* sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Adjust.
+	* sysdeps/powerpc/fpu/e_sqrtf.c (__slow_ieee754_sqrtf): Adjust.
+	* sysdeps/powerpc/fpu/fclrexcpt.c (__feclearexcept): Adjust.
+	* sysdeps/powerpc/fpu/fedisblxcpt.c (fedisableexcept): Adjust.
+	* sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Adjust.
+	* sysdeps/powerpc/fpu/fegetexcept.c (__fegetexcept): Adjust.
+	* sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Adjust.
+	* sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Adjust.
+	* sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Adjust.
+	* sysdeps/powerpc/fpu/fgetexcptflg.c (__fegetexceptflag): Adjust.
+	* sysdeps/powerpc/fpu/fraiseexcpt.c (__feraiseexcept): Adjust.
+	* sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Adjust.
+	* sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Adjust.
+
+2013-10-04  Anton Blanchard <anton@xxxxxxxxxxx>
+
+	* sysdeps/powerpc/bits/mathinline.h (__signbitf): Use builtin.
+	(__signbit): Likewise.  Correct for little-endian.
+	(__signbitl): Call __signbit.
+	(lrint): Correct for little-endian.
+	(lrintf): Call lrint.
+
+2013-10-04  Alan Modra  <amodra@xxxxxxxxx>
+
+	* sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (mynumber): Replace
+	union 32-bit int array member with 64-bit int array.
+	(t515, tm256): Double rather than long double.
+	(__ieee754_sqrtl): Rewrite using 64-bit arithmetic.
+
+2013-10-04  Alan Modra  <amodra@xxxxxxxxx>
+
+	* sysdeps/ieee754/ldbl-128ibm/ieee754.h (union ieee854_long_double):
+	Delete.
+	(IEEE854_LONG_DOUBLE_BIAS): Delete.
+	* sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Don't include ieee854
+	version of math_ldbl.h.
+
+2013-10-04  Alan Modra  <amodra@xxxxxxxxx>
+
+	[BZ #15734], [BZ #15735]
+	* sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Rewrite
+	all uses of ieee875 long double macros and unions.  Simplify test
+	for 0.0L.  Correct |x|<|y| and |x|=|y| test.  Use
+	ldbl_extract_mantissa value for ix,iy exponents.  Properly
+	normalize after ldbl_extract_mantissa, and don't add hidden bit
+	already handled.  Don't treat low word of ieee854 mantissa like
+	low word of IBM long double and mask off bit when testing for
+	zero.
+	* sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Rewrite
+	all uses of ieee875 long double macros and unions.  Simplify tests
+	for 0.0L and inf.  Correct double adjustment of k.  Delete dead code
+	adjusting ha,hb.  Simplify code setting kld.  Delete two600 and
+	two1022, instead use their values.  Recognise that tests for large
+	"a" and small "b" are mutually exclusive.  Rename vars.  Comment.
+	* sysdeps/ieee754/ldbl-128ibm/e_remainderl.c (__ieee754_remainderl):
+	Rewrite all uses of ieee875 long double macros and unions.  Simplify
+	test for 0.0L and nan.  Correct negation.
+	* sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfl): Rewrite all uses of
+	ieee875 long double macros and unions.  Correct output for large
+	magnitude x.  Correct absolute value calculation.
+	(__erfcl): Likewise.
+	* math/libm-test.inc: Add tests for errors discovered in IBM long
+	double versions of fmodl, remainderl, erfl and erfcl.
+
+2013-10-04  Alan Modra  <amodra@xxxxxxxxx>
+
+	* sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Rewrite
+	all uses of ieee854 long double macros and unions.  Simplify tests
+	for long doubles that are fully specified by the high double.
+	* sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
+	Likewise.
+	* sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c (__ieee754_ilogbl): Likewise.
+	Remove dead code too.
+	* sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
+	(__ieee754_ynl): Likewise.
+	* sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l): Likewise.
+	* sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Likewise.
+	* sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Likewise.
+	Remove dead code too.
+	* sysdeps/ieee754/ldbl-128ibm/k_tanl.c (__kernel_tanl): Likewise.
+	* sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Likewise.
+	* sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Likewise.
+	* sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c (__isinf_nsl): Likewise.
+	Simplify.
+	* sysdeps/ieee754/ldbl-128ibm/s_isinfl.c (___isinfl): Likewise.
+	Simplify.
+	* sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Likewise.
+	* sysdeps/ieee754/ldbl-128ibm/s_modfl.c (__modfl): Likewise.
+	* sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl): Likewise.
+	Comment on variable precision.
+	* sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c (__nexttoward): Likewise.
+	* sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
+	Likewise.
+	* sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
+	* sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
+	* sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
+	* sysdeps/ieee754/ldbl-128ibm/s_tanhl.c (__tanhl): Likewise.
+	* sysdeps/powerpc/fpu/libm-test-ulps: Adjust tan_towardzero ulps.
+
+2013-10-04  Alan Modra  <amodra@xxxxxxxxx>
+
+	* sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_high): Define.
+	* sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Rewrite
+	all uses of ieee854 long double macros and unions.
+	* sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Likewise.
+	* sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
+	* sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Likewise.
+	* sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl): Likewise.
+	* sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l): Likewise.
+	* sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
+	Likewise.
+	* sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Likewise.
+	* sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
+	* sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl): Likewise.
+	* sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
+	* sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Likewise.
+	* sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Likewise.
+	Simplify sign and nan test too.
+	* sysdeps/ieee754/ldbl-128ibm/s_cosl.c (__cosl): Likewise.
+	* sysdeps/ieee754/ldbl-128ibm/s_fabsl.c (__fabsl): Likewise.
+	* sysdeps/ieee754/ldbl-128ibm/s_finitel.c (___finitel): Likewise.
+	* sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c (___fpclassifyl):
+	Likewise.
+	* sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
+	* sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c (__issignalingl):
+	Likewise.
+	* sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
+	* sysdeps/ieee754/ldbl-128ibm/s_signbitl.c (___signbitl): Likewise.
+	* sysdeps/ieee754/ldbl-128ibm/s_sincosl.c (__sincosl): Likewise.
+	* sysdeps/ieee754/ldbl-128ibm/s_sinl.c (__sinl): Likewise.
+	* sysdeps/ieee754/ldbl-128ibm/s_tanl.c (__tanl): Likewise.
+	* sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (__logbl): Likewise.
+
+2013-10-04  Alan Modra  <amodra@xxxxxxxxx>
+
+	* stdio-common/printf_size.c (__printf_size): Don't use
+	union ieee854_long_double in fpnum union.
+	* stdio-common/printf_fphex.c (__printf_fphex): Likewise.  Use
+	signbit macro to retrieve sign from long double.
+	* stdio-common/printf_fp.c (___printf_fp): Use signbit macro to
+	retrieve sign from long double.
+	* sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Adjust for fpnum change.
+	* sysdeps/ieee754/ldbl-128/printf_fphex.c: Likewise.
+	* sysdeps/ieee754/ldbl-96/printf_fphex.c: Likewise.
+	* sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
+	* math/test-misc.c (main): Don't use union ieee854_long_double.
+
+2013-10-04  Alan Modra  <amodra@xxxxxxxxx>
+
+	[BZ #15680]
+	* sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Comment fix.
+	* sysdeps/ieee754/ldbl-128ibm/printf_fphex.c
+	(PRINT_FPHEX_LONG_DOUBLE): Tidy code by moving -53 into ediff
+	calculation.  Remove unnecessary test for denormal exponent.
+	* sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c (__mpn_extract_long_double):
+	Correct handling of denormals.  Avoid undefined shift behaviour.
+	Correct normalisation of low mantissa when low double is denormal.
+	* sysdeps/ieee754/ldbl-128ibm/math_ldbl.h
+	(ldbl_extract_mantissa): Likewise.  Comment.  Use uint64_t* for hi64.
+	(ldbl_insert_mantissa): Make both hi64 and lo64 parms uint64_t.
+	Correct normalisation of low mantissa.  Test for overflow of high
+	mantissa and normalise.
+	(ldbl_nearbyint): Use more readable constant for two52.
+	* sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c
+	(__mpn_construct_long_double): Fix test for overflow of high
+	mantissa and correct normalisation.  Avoid undefined shift.
+
+2013-10-04  Alan Modra  <amodra@xxxxxxxxx>
+
+	* sysdeps/ieee754/ldbl-128ibm/ieee754.h
+	(union ibm_extended_long_double): Define as an array of ieee754_double.
+	(IBM_EXTENDED_LONG_DOUBLE_BIAS): Delete.
+	* sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Update all references
+	to ibm_extended_long_double and IBM_EXTENDED_LONG_DOUBLE_BIAS.
+	* sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
+	* sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
+	* sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c: Likewise.
+	* sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
+	* sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
+	* sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
+	* sysdeps/ieee754/ldbl-128ibm/strtold_l.c: Likewise.
+	* sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
+
 2013-10-03  Joseph Myers  <joseph@xxxxxxxxxxxxxxxx>
 
 	* locale/programs/locarchive.c (add_locale): Use constant 4096 for

Modified: fsf/trunk/libc/NEWS
==============================================================================
--- fsf/trunk/libc/NEWS (original)
+++ fsf/trunk/libc/NEWS Sat Oct  5 00:02:02 2013
@@ -9,12 +9,12 @@
 
 * The following bugs are resolved with this release:
 
-  431, 13985, 14155, 14547, 14699, 15048, 15400, 15427, 15522, 15531,
-  15532, 15608, 15609, 15610, 15632, 15640, 15681, 15736, 15748, 15749,
-  15754, 15760, 15797, 15844, 15849, 15855, 15856, 15857, 15859, 15867,
-  15886, 15887, 15890, 15892, 15893, 15895, 15897, 15905, 15909, 15919,
-  15921, 15887, 15890, 15892, 15893, 15895, 15897, 15905, 15909, 15919,
-  15921, 15923, 15939, 15963, 15966, 15988.
+  431, 13982, 13985, 14155, 14547, 14699, 15048, 15400, 15427, 15522,
+  15531, 15532, 15608, 15609, 15610, 15632, 15640, 15681, 15736, 15748,
+  15749, 15754, 15760, 15797, 15844, 15849, 15855, 15856, 15857, 15859,
+  15867, 15886, 15887, 15890, 15892, 15893, 15895, 15897, 15905, 15909,
+  15919, 15921, 15887, 15890, 15892, 15893, 15895, 15897, 15905, 15909,
+  15919, 15921, 15923, 15939, 15963, 15966, 15988.
 
 * CVE-2012-4412 The strcoll implementation caches indices and rules for
   large collation sequences to optimize multiple passes.  This cache
@@ -43,7 +43,8 @@
   heap when passed very large allocation size values (Bugzilla #15855,
   #15856, #15857).
 
-* New locales: ak_GH, cmn_TW, hak_TW, lzh_TW, nan_TW, quz_PE.
+* New locales: ak_GH, cmn_TW, hak_TW, lzh_TW, nan_TW, quz_PE, pap_AW, pap_CW,
+  ar_SS.
 
 * Substantially revised locales: gd_GB, ht_HT
 
@@ -51,6 +52,8 @@
   supported locales.
 
 * ISO 1427 definitions were updated.
+
+* ISO 3166 definitions were updated.
 
 * The localedef utility now supports --big-endian and --little-endian
   command-line options to generate locales for a different system from that

Modified: fsf/trunk/libc/README
==============================================================================
--- fsf/trunk/libc/README (original)
+++ fsf/trunk/libc/README Sat Oct  5 00:02:02 2013
@@ -26,7 +26,7 @@
 
 	i[4567]86-*-linux-gnu
 	x86_64-*-linux-gnu	Can build either x86_64 or x32
-	powerpc-*-linux-gnu	Hardware floating point required
+	powerpc-*-linux-gnu	Hardware or software floating point
 	powerpc64-*-linux-gnu
 	s390-*-linux-gnu
 	s390x-*-linux-gnu
@@ -47,7 +47,6 @@
 	m68k-*-linux-gnu
 	mips-*-linux-gnu
 	mips64-*-linux-gnu
-	powerpc-*-linux-gnu	Software floating point (--without-fp)
 	tilegx-*-linux-gnu
 	tilepro-*-linux-gnu
 

Modified: fsf/trunk/libc/configure
==============================================================================
--- fsf/trunk/libc/configure (original)
+++ fsf/trunk/libc/configure Sat Oct  5 00:02:02 2013
@@ -3958,8 +3958,8 @@
 # base_machine, we don't change it.
 test -n "$base_machine" || case "$machine" in
 i[4567]86)	base_machine=i386 machine=i386/$machine ;;
-powerpc)	base_machine=powerpc machine=powerpc/powerpc32 ;;
-powerpc64)	base_machine=powerpc machine=powerpc/powerpc64 ;;
+powerpc64*)	base_machine=powerpc machine=powerpc/powerpc64 ;;
+powerpc*)	base_machine=powerpc machine=powerpc/powerpc32 ;;
 s390)           base_machine=s390 machine=s390/s390-32 ;;
 s390x)          base_machine=s390 machine=s390/s390-64 ;;
 sh3*)		base_machine=sh machine=sh/sh3 ;;

Modified: fsf/trunk/libc/configure.in
==============================================================================
--- fsf/trunk/libc/configure.in (original)
+++ fsf/trunk/libc/configure.in Sat Oct  5 00:02:02 2013
@@ -582,8 +582,8 @@
 # base_machine, we don't change it.
 test -n "$base_machine" || case "$machine" in
 i[4567]86)	base_machine=i386 machine=i386/$machine ;;
-powerpc)	base_machine=powerpc machine=powerpc/powerpc32 ;;
-powerpc64)	base_machine=powerpc machine=powerpc/powerpc64 ;;
+powerpc64*)	base_machine=powerpc machine=powerpc/powerpc64 ;;
+powerpc*)	base_machine=powerpc machine=powerpc/powerpc32 ;;
 s390)           base_machine=s390 machine=s390/s390-32 ;;
 s390x)          base_machine=s390 machine=s390/s390-64 ;;
 sh3*)		base_machine=sh machine=sh/sh3 ;;

Modified: fsf/trunk/libc/locale/iso-3166.def
==============================================================================
--- fsf/trunk/libc/locale/iso-3166.def (original)
+++ fsf/trunk/libc/locale/iso-3166.def Sat Oct  5 00:02:02 2013
@@ -33,6 +33,7 @@
 DEFINE_COUNTRY_CODE ("BERMUDA", BM, BMU, 60)
 DEFINE_COUNTRY_CODE ("BHUTAN", BT, BTN, 64)
 DEFINE_COUNTRY_CODE ("BOLIVIA", BO, BOL, 68)
+DEFINE_COUNTRY_CODE ("BONAIRE, SINT EUSTATIUS AND SABA", BQ, BES, 535)
 DEFINE_COUNTRY_CODE ("BOSNIA AND HERZEGOVINA", BA, BIH, 70)
 DEFINE_COUNTRY_CODE ("BOTSWANA", BW, BWA, 72)
 DEFINE_COUNTRY_CODE ("BOUVET ISLAND", BV, BVT, 74)
@@ -62,13 +63,13 @@
 DEFINE_COUNTRY_CODE ("COTE D'IVOIRE", CI, CIV, 384)
 DEFINE_COUNTRY_CODE ("CROATIA", HR, HRV, 191)
 DEFINE_COUNTRY_CODE ("CUBA", CU, CUB, 192)
+DEFINE_COUNTRY_CODE ("CURACAO", CW, CUW, 531)
 DEFINE_COUNTRY_CODE ("CYPRUS", CY, CYP, 196)
 DEFINE_COUNTRY_CODE ("CZECH REPUBLIC", CZ, CZE, 203)
 DEFINE_COUNTRY_CODE ("DENMARK", DK, DNK, 208)
 DEFINE_COUNTRY_CODE ("DJIBOUTI", DJ, DJI, 262)
 DEFINE_COUNTRY_CODE ("DOMINICA", DM, DMA, 212)
 DEFINE_COUNTRY_CODE ("DOMINICAN REPUBLIC", DO, DOM, 214)
-DEFINE_COUNTRY_CODE ("EAST TIMOR", TP, TMP, 626)
 DEFINE_COUNTRY_CODE ("ECUADOR", EC, ECU, 218)
 DEFINE_COUNTRY_CODE ("EGYPT", EG, EGY, 818)
 DEFINE_COUNTRY_CODE ("EL SALVADOR", SV, SLV, 222)
@@ -175,7 +176,7 @@
 DEFINE_COUNTRY_CODE ("OMAN", OM, OMN, 512)
 DEFINE_COUNTRY_CODE ("PAKISTAN", PK, PAK, 586)
 DEFINE_COUNTRY_CODE ("PALAU", PW, PLW, 585)
-DEFINE_COUNTRY_CODE ("PALESTINIAN TERRITORY, OCCUPIED", PS, PSE, 275)
+DEFINE_COUNTRY_CODE ("PALESTINE, STATE OF", PS, PSE, 275)
 DEFINE_COUNTRY_CODE ("PANAMA", PA, PAN, 591)
 DEFINE_COUNTRY_CODE ("PAPUA NEW GUINEA", PG, PNG, 598)
 DEFINE_COUNTRY_CODE ("PARAGUAY", PY, PRY, 600)
@@ -190,9 +191,11 @@
 DEFINE_COUNTRY_CODE ("ROMANIA", RO, ROU, 642)
 DEFINE_COUNTRY_CODE ("RUSSIAN FEDERATION", RU, RUS, 643)
 DEFINE_COUNTRY_CODE ("RWANDA", RW, RWA, 646)
+DEFINE_COUNTRY_CODE ("SAINT BARTHELEMY", BL, BLM, 652)
 DEFINE_COUNTRY_CODE ("SAINT HELENA", SH, SHN, 654)
 DEFINE_COUNTRY_CODE ("SAINT KITTS AND NEVIS", KN, KNA, 659)
 DEFINE_COUNTRY_CODE ("SAINT LUCIA", LC, LCA, 662)
+DEFINE_COUNTRY_CODE ("SAINT MARTIN (FRENCH PART)", MF, MAF, 663)
 DEFINE_COUNTRY_CODE ("SAINT PIERRE AND MIQUELON", PM, SPM, 666)
 DEFINE_COUNTRY_CODE ("SAINT VINCENT AND THE GRENADINES", VC, VCT, 670)
 DEFINE_COUNTRY_CODE ("SAMOA", WS, WSM, 882)
@@ -204,15 +207,17 @@
 DEFINE_COUNTRY_CODE ("SEYCHELLES", SC, SYC, 690)
 DEFINE_COUNTRY_CODE ("SIERRA LEONE", SL, SLE, 694)
 DEFINE_COUNTRY_CODE ("SINGAPORE", SG, SGP, 702)
+DEFINE_COUNTRY_CODE ("SINT MAARTEN (DUTCH PART)", SX, SXM, 534)
 DEFINE_COUNTRY_CODE ("SLOVAKIA", SK, SVK, 703)
 DEFINE_COUNTRY_CODE ("SLOVENIA", SI, SVN, 705)
 DEFINE_COUNTRY_CODE ("SOLOMON ISLANDS", SB, SLB, 90)
 DEFINE_COUNTRY_CODE ("SOMALIA", SO, SOM, 706)
 DEFINE_COUNTRY_CODE ("SOUTH AFRICA", ZA, ZAF, 710)
 DEFINE_COUNTRY_CODE ("SOUTH GEORGIA AND THE SOUTH SANDWICH ISLANDS", GS, SGS, 239)
+DEFINE_COUNTRY_CODE ("SOUTH SUDAN", SS, SSD, 728)
 DEFINE_COUNTRY_CODE ("SPAIN", ES, ESP, 724)
 DEFINE_COUNTRY_CODE ("SRI LANKA", LK, LKA, 144)
-DEFINE_COUNTRY_CODE ("SUDAN", SD, SDN, 736)
+DEFINE_COUNTRY_CODE ("SUDAN", SD, SDN, 729)
 DEFINE_COUNTRY_CODE ("SURINAME", SR, SUR, 740)
 DEFINE_COUNTRY_CODE ("SVALBARD AND JAN MAYEN", SJ, SJM, 744)
 DEFINE_COUNTRY_CODE ("SWAZILAND", SZ, SWZ, 748)
@@ -223,6 +228,7 @@
 DEFINE_COUNTRY_CODE ("TAJIKISTAN", TJ, TJK, 762)
 DEFINE_COUNTRY_CODE ("TANZANIA, UNITED REPUBLIC OF", TZ, TZA, 834)
 DEFINE_COUNTRY_CODE ("THAILAND", TH, THA, 764)
+DEFINE_COUNTRY_CODE ("TIMOR-LESTE", TL, TLS, 626)
 DEFINE_COUNTRY_CODE ("TOGO", TG, TGO, 768)
 DEFINE_COUNTRY_CODE ("TOKELAU", TK, TKL, 772)
 DEFINE_COUNTRY_CODE ("TONGA", TO, TON, 776)

Modified: fsf/trunk/libc/localedata/SUPPORTED
==============================================================================
--- fsf/trunk/libc/localedata/SUPPORTED (original)
+++ fsf/trunk/libc/localedata/SUPPORTED Sat Oct  5 00:02:02 2013
@@ -41,6 +41,7 @@
 ar_SA/ISO-8859-6 \
 ar_SD.UTF-8/UTF-8 \
 ar_SD/ISO-8859-6 \
+ar_SS.UTF-8 \
 ar_SY.UTF-8/UTF-8 \
 ar_SY/ISO-8859-6 \
 ar_TN.UTF-8/UTF-8 \
@@ -341,6 +342,8 @@
 pa_IN/UTF-8 \
 pa_PK/UTF-8 \
 pap_AN/UTF-8 \
+pap_AW/UTF-8 \
+pap_CW/UTF-8 \
 pl_PL.UTF-8/UTF-8 \
 pl_PL/ISO-8859-2 \
 ps_AF/UTF-8 \

Modified: fsf/trunk/libc/localedata/locales/ar_SD
==============================================================================
--- fsf/trunk/libc/localedata/locales/ar_SD (original)
+++ fsf/trunk/libc/localedata/locales/ar_SD Sat Oct  5 00:02:02 2013
@@ -1,8 +1,21 @@
 comment_char    %
 escape_char     /
+
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+%
+% This file is a part of GNU C Library (glibc) and contains locale data. The
+% Free Software Foundation does not claim any copyright interest in the
+% locale data contained in this file. The foregoing does not affect the
+% license of GNU C Library (glibc) as a whole. It does not exempt you from the
+% conditions of the license if your use would otherwise be governed by
+% that license.
+%
 % Arabic language locale for Sudan.
 % Contributed by Kentaroh Noji <knoji@xxxxxxxxxx> and
 % Tetsuji Orita <orita@xxxxxxxxxx>.
+%
+% Modified by Chris Leonard, version 1.1 for South Sudan split
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
 
 LC_IDENTIFICATION
 title      "Arabic language locale for Sudan"
@@ -14,7 +27,7 @@
 fax        ""
 language   "Arabic"
 territory  "Sudan"
-revision   "1.0"
+revision   "1.1"
 date       "2000-07-20"
 %
 category  "ar_SD:2000";LC_IDENTIFICATION
@@ -182,9 +195,11 @@
 % LC_ADDRESS
 postal_fmt  "<U0025><U007A><U0025><U0063><U0025><U0054><U0025><U0073>/
 <U0025><U0062><U0025><U0065><U0025><U0072>"
+% SD
 country_ab2 "<U0053><U0044>"
+% SDN
 country_ab3 "<U0053><U0044><U004E>"
-country_num 736
+country_num 729
 % SUD
 country_car    "<U0053><U0055><U0044>"
 % ar

Added: fsf/trunk/libc/localedata/locales/ar_SS
==============================================================================
--- fsf/trunk/libc/localedata/locales/ar_SS (added)
+++ fsf/trunk/libc/localedata/locales/ar_SS Sat Oct  5 00:02:02 2013
@@ -1,0 +1,227 @@
+comment_char    %
+escape_char     /
+
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+%
+% This file is a part of GNU C Library (glibc) and contains locale data. The
+% Free Software Foundation does not claim any copyright interest in the
+% locale data contained in this file. The foregoing does not affect the
+% license of GNU C Library (glibc) as a whole. It does not exempt you from the
+% conditions of the license if your use would otherwise be governed by
+% that license.
+%
+% Arabic language locale for South Sudan.
+% Contributed by Kentaroh Noji <knoji@xxxxxxxxxx> and
+% Tetsuji Orita <orita@xxxxxxxxxx>.
+%
+% Modified by Chris Leonard, version 1.1 for South Sudan split
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+
+LC_IDENTIFICATION
+title      "Arabic language locale for South Sudan"
+source     "IBM Globalization Center of Competency, Yamato Software Laboratory"
+address    "1623-14, Shimotsuruma, Yamato-shi, Kanagawa-ken, 242-8502, Japan"
+contact    ""
+email      "bug-glibc-locales@xxxxxxx"
+tel        ""
+fax        ""
+language   "Arabic"
+territory  "South Sudan"
+revision   "1.1"
+date       "2000-07-20"
+%
+category  "ar_SS:2000";LC_IDENTIFICATION
+category  "ar_SS:2000";LC_CTYPE
+category  "ar_SS:2000";LC_COLLATE
+category  "ar_SS:2000";LC_TIME
+category  "ar_SS:2000";LC_NUMERIC
+category  "ar_SS:2000";LC_MONETARY
+category  "ar_SS:2000";LC_MESSAGES
+category  "ar_SS:2000";LC_PAPER
+category  "ar_SS:2000";LC_NAME
+category  "ar_SS:2000";LC_ADDRESS
+category  "ar_SS:2000";LC_TELEPHONE
+
+END LC_IDENTIFICATION
+
+LC_CTYPE
+copy "ar_EG"
+END LC_CTYPE
+
+LC_COLLATE
+
+% Copy the template from ISO/IEC 14651
+copy "iso14651_t1"
+
+END LC_COLLATE
+
+LC_MONETARY
+% This is the POSIX Locale definition the LC_MONETARY category.
+% These are generated based on XML base Locale definition file
+% for IBM Class for Unicode/Java
+%
+% SDG
+int_curr_symbol       "<U0053><U0044><U0047><U0020>"
+currency_symbol       "<U062C><U002E><U0633><U002E>"
+mon_decimal_point     "<U002E>"
+mon_thousands_sep     "<U002C>"
+mon_grouping          3
+positive_sign         ""
+negative_sign         "<U002D>"
+int_frac_digits       3
+frac_digits           3
+p_cs_precedes         1
+p_sep_by_space        1
+n_cs_precedes         1
+n_sep_by_space        1
+p_sign_posn           1
+n_sign_posn           2
+%
+END LC_MONETARY
+
+
+LC_NUMERIC
+% This is the POSIX Locale definition for the LC_NUMERIC  category.
+%
+decimal_point          "<U002E>"
+thousands_sep          "<U002C>"
+grouping               3
+%
+END LC_NUMERIC
+
+
+LC_TIME
+% This is the POSIX Locale definition for the LC_TIME category.
+% These are generated based on XML base Locale definition file
+% for IBM Class for Unicode/Java
+%
+% Abbreviated weekday names (%a)
+abday       "<U062D>";"<U0646>";/
+            "<U062B>";"<U0631>";/
+            "<U062E>";"<U062C>";/
+            "<U0633>"
+%
+% Full weekday names (%A)
+day         "<U0627><U0644><U0623><U062D><U062F>";/
+            "<U0627><U0644><U0627><U062B><U0646><U064A><U0646>";/
+            "<U0627><U0644><U062B><U0644><U0627><U062B><U0627><U0621>";/
+            "<U0627><U0644><U0623><U0631><U0628><U0639><U0627><U0621>";/
+            "<U0627><U0644><U062E><U0645><U064A><U0633>";/
+            "<U0627><U0644><U062C><U0645><U0639><U0629>";/
+            "<U0627><U0644><U0633><U0628><U062A>"
+%
+% Abbreviated month names (%b)
+abmon       "<U064A><U0646><U0627>";"<U0641><U0628><U0631>";/
+            "<U0645><U0627><U0631>";"<U0623><U0628><U0631>";/
+            "<U0645><U0627><U064A>";"<U064A><U0648><U0646>";/
+            "<U064A><U0648><U0644>";"<U0623><U063A><U0633>";/
+            "<U0633><U0628><U062A>";"<U0623><U0643><U062A>";/
+            "<U0646><U0648><U0641>";"<U062F><U064A><U0633>"
+%
+% Full month names (%B)
+mon         "<U064A><U0646><U0627><U064A><U0631>";/
+            "<U0641><U0628><U0631><U0627><U064A><U0631>";/
+            "<U0645><U0627><U0631><U0633>";/
+            "<U0623><U0628><U0631><U064A><U0644>";/
+            "<U0645><U0627><U064A><U0648>";/
+            "<U064A><U0648><U0646><U064A><U0648>";/
+            "<U064A><U0648><U0644><U064A><U0648>";/
+            "<U0623><U063A><U0633><U0637><U0633>";/
+            "<U0633><U0628><U062A><U0645><U0628><U0631>";/
+            "<U0623><U0643><U062A><U0648><U0628><U0631>";/
+            "<U0646><U0648><U0641><U0645><U0628><U0631>";/
+            "<U062F><U064A><U0633><U0645><U0628><U0631>"
+%
+% Equivalent of AM PM
+am_pm       "<U0635>";"<U0645>"
+%
+% Appropriate date and time representation
+% %d %b, %Y%Z %I:%M:%S
+d_t_fmt     "<U0025><U0064><U0020><U0025><U0062><U002C><U0020><U0025>/
+<U0059><U0020><U0025><U005A><U0020><U0025><U0049><U003A><U0025><U004D>/
+<U003A><U0025><U0053><U0020><U0025><U0070>"
+%
+% Appropriate date representation
+% %d %b, %Y
+d_fmt       "<U0025><U0064><U0020><U0025><U0062><U002C><U0020><U0025><U0059>"
+%
+% Appropriate time representation
+% %Z %I:%M:%S
+t_fmt       "<U0025><U005A><U0020><U0025><U0049><U003A><U0025><U004D>/
+<U003A><U0025><U0053><U0020>"
+%
+% Appropriate 12 h time representation (%r)
+t_fmt_ampm  "<U0025><U005A><U0020><U0025><U0049><U003A><U0025><U004D>/
+<U003A><U0025><U0053><U0020><U0025><U0070>"
+%
+% Appropriate date representation (date(1))   "%a %b %e %H:%M:%S %Z %Y"
+date_fmt	"<U0025><U0061><U0020><U0025><U0062><U0020><U0025><U0065>/
+<U0020><U0025><U0048><U003A><U0025><U004D><U003A><U0025><U0053><U0020>/
+<U0025><U005A><U0020><U0025><U0059>"
+END LC_TIME
+
+
+LC_MESSAGES
+copy "ar_EG"
+END LC_MESSAGES
+
+
+LC_PAPER
+% This is the ISO_IEC TR14652 Locale definition for the
+% LC_PAPER category
+height      297
+width       210
+
+END LC_PAPER
+
+
+LC_NAME
+% This is the ISO_IEC TR14652 Locale definition for the
+% LC_NAME category.
+%
+name_fmt    "<U0025><U0070><U0025><U0074><U0025><U0066><U0025><U0074>/
+<U0025><U0067>"
+name_gen    "<U002D><U0073><U0061><U006E>"
+name_mr     "<U004D><U0072><U002E>"
+name_mrs    "<U004D><U0072><U0073><U002E>"
+name_miss   "<U004D><U0069><U0073><U0073><U002E>"
+name_ms     "<U004D><U0073><U002E>"
+
+END LC_NAME
+
+
+LC_ADDRESS
+% This is the ISO_IEC TR14652 Locale definition for the
+% LC_ADDRESS
+postal_fmt  "<U0025><U007A><U0025><U0063><U0025><U0054><U0025><U0073>/
+<U0025><U0062><U0025><U0065><U0025><U0072>"
+% SS
+country_ab2 "<U0053><U0053>"
+% SSD
+country_ab3 "<U0053><U0053><U0044>"
+country_num 728
+% ar
+lang_ab      "<U0061><U0072>"
+% ara
+lang_term    "<U0061><U0072><U0061>"
+% ara
+lang_lib    "<U0061><U0072><U0061>"
+END LC_ADDRESS
+
+
+LC_TELEPHONE
+% This is the ISO_IEC TR14652 Locale definition for the
+%
+tel_int_fmt "<U002B><U0025><U0063><U0020><U003B><U0025><U0061><U0020>/
+<U003B><U0025><U006C>"
+int_prefix  "<U0032><U0034><U0039>"
+
+END LC_TELEPHONE
+
+
+LC_MEASUREMENT
+% This is the ISO_IEC TR14652 Locale definition for the
+%
+measurement 1
+
+END LC_MEASUREMENT

Modified: fsf/trunk/libc/localedata/locales/pap_AN
==============================================================================
--- fsf/trunk/libc/localedata/locales/pap_AN (original)
+++ fsf/trunk/libc/localedata/locales/pap_AN Sat Oct  5 00:02:02 2013
@@ -1,6 +1,13 @@
 comment_char %
 escape_char  /
 % Distribution and use is free, also for commercial purposes.
+
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+%
+% This locale is replaced by pap_AW and pap_CW and should be removed in
+% release 2.21.  AN line of iso-3177.def should also be removed.
+%
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
 
 LC_IDENTIFICATION
 title "Papiamento Language for the (Netherland) Antilles"

Added: fsf/trunk/libc/localedata/locales/pap_AW
==============================================================================
--- fsf/trunk/libc/localedata/locales/pap_AW (added)
+++ fsf/trunk/libc/localedata/locales/pap_AW Sat Oct  5 00:02:02 2013
@@ -1,0 +1,170 @@
+comment_char %
+escape_char  /
+
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+%
+% This file is derived from pap_AN ver0.2 (after AN was deprecated in ISO-3166)
+% revision "0.2" date "2000-11-15"
+%
+% This file is a part of GNU C Library (glibc) and contains locale data. The
+% Free Software Foundation does not claim any copyright interest in the
+% locale data contained in this file. The foregoing does not affect the
+% license of GNU C Library (glibc) as a whole. It does not exempt you from the
+% conditions of the license if your use would otherwise be governed by
+% that license.
+%
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+
+LC_IDENTIFICATION
+title "Papiamento Language for Aruba"
+source "information from native speaker"
+address ""
+contact "Pablo Saratxaga"
+email "pablo@xxxxxxxxxxxxxxxx"
+tel ""
+fax ""
+language "pap"
+territory "AW"
+revision "1.0"
+date "2013-09-27"
+
+category i18n:2000;LC_IDENTIFICATION
+category i18n:2000;LC_COLLATE
+category i18n:2000;LC_CTYPE
+category i18n:2000;LC_MESSAGES
+category i18n:2000;LC_MONETARY
+category i18n:2000;LC_NUMERIC
+category i18n:2000;LC_TIME
+category i18n:2000;LC_PAPER
+category i18n:2000;LC_MEASUREMENT
+category i18n:2000;LC_TELEPHONE
+category i18n:2000;LC_ADDRESS
+
+% ISO/IEC 14652: Converted comments to LC_IDENTIFICATION
+%  added LC_PAPER, LC_MEASUREMENT, LC_TELEPHONE, LC_ADDRESS
+% -- mckinstry@xxxxxxxxxxxx, 2000-07-03
+
+END LC_IDENTIFICATION
+
+LC_ADDRESS
+postal_fmt "<U0025><U0064><U0025><U004E><U0025><U0066><U0025><U004E><U0025><U0064><U0025><U004E><U0025><U0062><U0025><U004E>/
+<U0025><U0073><U0020><U0025><U0068><U0020><U0035><U0065><U0020><U0025><U0072><U0025><U004E>/
+<U0025><U0043><U0025><U007A><U0020><U0025><U0054><U0025><U004E><U0025><U0063><U0025><U004E>"
+% FIXME country_name for Antilles in Paplamento
+% FIXME country_post MAIL_CEPTCODE for Nederland Antilles, AN?
+% AW
+country_ab2  "<U0041><U0057>"
+% ABW
+country_ab3  "<U0041><U0042><U0057>"
+country_num  533
+country_isbn ""
+country_car ""
+% lang_ab
+% pap
+lang_term "<U0070><U0061><U0070>"
+% pap
+lang_lib "<U0070><U0061><U0070>"
+END LC_ADDRESS
+
+LC_CTYPE
+copy "en_DK"
+END LC_CTYPE
+
+LC_COLLATE
+copy "en_DK"
+END LC_COLLATE
+
+LC_MESSAGES
+yesexpr "<U005E><U005B><U006A><U004A><U0079><U0059><U005D><U002E><U002A>"
+noexpr  "<U005E><U005B><U006E><U004E><U005D><U002E><U002A>"
+END LC_MESSAGES
+
+
+LC_MONETARY
+int_curr_symbol           "<U0041><U004E><U0047><U0020>"
+currency_symbol           "<U0066>"
+mon_decimal_point         "<U002C>"
+mon_thousands_sep         "<U0020>"
+mon_grouping              3;3
+positive_sign             ""
+negative_sign             "<U002D>"
+int_frac_digits           2
+frac_digits               2
+p_cs_precedes             1
+p_sep_by_space            1
+n_cs_precedes             1
+n_sep_by_space            1
+p_sign_posn               1
+n_sign_posn               2
+END LC_MONETARY
+
+LC_NUMERIC
+decimal_point             "<U002C>"
+thousands_sep             ""
+grouping                  0;0
+END LC_NUMERIC
+
+LC_TIME
+abday   "<U0064><U006F>";"<U006C><U0075>";"<U006D><U0061>";/
+        "<U0077><U0065>";"<U0072><U0061>";"<U0062><U0069>";/
+        "<U0073><U0061>"
+day     "<U0044><U006A><U0061><U0064><U006F><U006D><U0069><U006E><U0067><U006F>";/
+        "<U0044><U006A><U0061><U006C><U0075><U006E><U0061>";/
+        "<U0044><U006A><U0061><U006D><U0061><U0072><U0073>";/
+        "<U0044><U006A><U0061><U0077><U0065><U0062><U0073>";/
+        "<U0044><U006A><U0061><U0072><U0061><U0073><U006F><U006E>";/
+        "<U0044><U006A><U0061><U0062><U0069><U0065><U0072><U006E><U0065>";/
+        "<U0044><U006A><U0061><U0073><U0061><U0062><U0072><U0061>"
+abmon   "<U0059><U0061><U006E>";"<U0046><U0065><U0062>";/
+        "<U004D><U0061><U0072>";"<U0041><U0070><U0072>";/
+        "<U004D><U0065><U0069>";"<U0059><U00FC><U006E>";/
+        "<U0059><U00FC><U006C>";"<U004F><U0075><U0067>";/
+        "<U0053><U00E8><U0070>";"<U004F><U006B><U0074>";/
+        "<U004E><U006F><U0076>";"<U0044><U0065><U0073>"
+mon     "<U0059><U0061><U006E><U00FC><U0061><U0072><U0069>";/
+        "<U0046><U0065><U0062><U0072><U00FC><U0061><U0072><U0069>";/
+        "<U004D><U0061><U0072><U0074>";/
+        "<U0041><U0070><U0072><U0065><U006C>";/
+        "<U004D><U0065><U0069>";/
+        "<U0059><U00FC><U006E><U0069>";/
+        "<U0059><U00FC><U006C><U0069>";/
+        "<U004F><U0075><U0067><U00F9><U0073><U0074><U00F9><U0073>";/
+        "<U0053><U00E8><U0070><U0074><U00E8><U006D><U0062><U0065><U0072>";/
+        "<U004F><U006B><U0074><U006F><U0062><U0065><U0072>";/
+        "<U004E><U006F><U0076><U00E8><U006D><U0062><U0065><U0072>";/
+        "<U0044><U0065><U0073><U00E8><U006D><U0062><U0065><U0072>"
+d_t_fmt "<U0025><U0061><U0020><U0025><U0064><U0020><U0025><U0062><U0020><U0025><U0059><U0020><U0025><U0054><U0020><U0025><U005A>"
+d_fmt   "<U0025><U0064><U002D><U0025><U006D><U002D><U0025><U0079>"
+t_fmt   "<U0025><U0054>"
+am_pm   "";""
+t_fmt_ampm ""
+END LC_TIME
+
+LC_NUMERIC
+decimal_point             "<U002C>"
+thousands_sep             ""
+grouping                  0;0
+END LC_NUMERIC
+
+% Metric Measurement system (ISO 1000)
+LC_MEASUREMENT
+measurement 1
+END LC_MEASUREMENT
+
+% Default paper: A4
+LC_PAPER
+height 297
+width 210
+END LC_PAPER
+
+LC_TELEPHONE
+tel_int_fmt "<U002B><U0025><U0063><U0020><U0025><U0061><U0020><U0025><U006C>"
+% FIXME FIND tel_dom_fmt
+int_select "00"
+int_prefix "599"
+END LC_TELEPHONE
+
+LC_NAME
+% Todo
+copy "en_DK"
+END LC_NAME

Added: fsf/trunk/libc/localedata/locales/pap_CW
==============================================================================
--- fsf/trunk/libc/localedata/locales/pap_CW (added)
+++ fsf/trunk/libc/localedata/locales/pap_CW Sat Oct  5 00:02:02 2013
@@ -1,0 +1,170 @@
+comment_char %
+escape_char  /
+
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+%
+% This file is derived from pap_AN ver0.2 (after AN was deprecated in ISO-3166)
+% revision "0.2" date "2000-11-15"
+%
+% This file is a part of GNU C Library (glibc) and contains locale data. The
+% Free Software Foundation does not claim any copyright interest in the
+% locale data contained in this file. The foregoing does not affect the
+% license of GNU C Library (glibc) as a whole. It does not exempt you from the
+% conditions of the license if your use would otherwise be governed by
+% that license.
+%
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+
+LC_IDENTIFICATION
+title "Papiamento language for CuraÃÂao"
+source "information from native speaker"
+address ""
+contact "Pablo Saratxaga"
+email "pablo@xxxxxxxxxxxxxxxx"
+tel ""
+fax ""
+language "pap"
+territory "CW"
+revision "1.0"
+date "2013-09-27"
+
+category i18n:2000;LC_IDENTIFICATION
+category i18n:2000;LC_COLLATE
+category i18n:2000;LC_CTYPE
+category i18n:2000;LC_MESSAGES
+category i18n:2000;LC_MONETARY
+category i18n:2000;LC_NUMERIC
+category i18n:2000;LC_TIME
+category i18n:2000;LC_PAPER
+category i18n:2000;LC_MEASUREMENT
+category i18n:2000;LC_TELEPHONE
+category i18n:2000;LC_ADDRESS
+
+% ISO/IEC 14652: Converted comments to LC_IDENTIFICATION
+%  added LC_PAPER, LC_MEASUREMENT, LC_TELEPHONE, LC_ADDRESS
+% -- mckinstry@xxxxxxxxxxxx, 2000-07-03
+
+END LC_IDENTIFICATION
+
+LC_ADDRESS
+postal_fmt "<U0025><U0064><U0025><U004E><U0025><U0066><U0025><U004E><U0025><U0064><U0025><U004E><U0025><U0062><U0025><U004E>/
+<U0025><U0073><U0020><U0025><U0068><U0020><U0035><U0065><U0020><U0025><U0072><U0025><U004E>/
+<U0025><U0043><U0025><U007A><U0020><U0025><U0054><U0025><U004E><U0025><U0063><U0025><U004E>"
+% FIXME country_name for Antilles in Paplamento
+% FIXME country_post MAIL_CEPTCODE for Nederland Antilles, AN?
+% CW
+country_ab2  "<U0043><U0057>"
+% CUW
+country_ab3  "<U0043><U0055><U0057>"
+country_num  531
+country_car  ""
+country_isbn ""
+% lang_ab
+% pap
+lang_term    "<U0070><U0061><U0070>"
+% pap
+lang_lib     "<U0070><U0061><U0070>"
+END LC_ADDRESS
+
+LC_CTYPE
+copy "en_DK"
+END LC_CTYPE
+
+LC_COLLATE
+copy "en_DK"
+END LC_COLLATE
+
+LC_MESSAGES
+yesexpr "<U005E><U005B><U006A><U004A><U0079><U0059><U005D><U002E><U002A>"
+noexpr  "<U005E><U005B><U006E><U004E><U005D><U002E><U002A>"
+END LC_MESSAGES
+
+
+LC_MONETARY
+int_curr_symbol           "<U0041><U004E><U0047><U0020>"
+currency_symbol           "<U0066>"
+mon_decimal_point         "<U002C>"
+mon_thousands_sep         "<U0020>"
+mon_grouping              3;3
+positive_sign             ""
+negative_sign             "<U002D>"
+int_frac_digits           2
+frac_digits               2
+p_cs_precedes             1
+p_sep_by_space            1
+n_cs_precedes             1
+n_sep_by_space            1
+p_sign_posn               1
+n_sign_posn               2
+END LC_MONETARY
+
+LC_NUMERIC
+decimal_point             "<U002C>"
+thousands_sep             ""
+grouping                  0;0
+END LC_NUMERIC
+
+LC_TIME
+abday   "<U0064><U006F>";"<U006C><U0075>";"<U006D><U0061>";/
+        "<U0077><U0065>";"<U0072><U0061>";"<U0062><U0069>";/
+        "<U0073><U0061>"
+day     "<U0044><U006A><U0061><U0064><U006F><U006D><U0069><U006E><U0067><U006F>";/
+        "<U0044><U006A><U0061><U006C><U0075><U006E><U0061>";/
+        "<U0044><U006A><U0061><U006D><U0061><U0072><U0073>";/
+        "<U0044><U006A><U0061><U0077><U0065><U0062><U0073>";/
+        "<U0044><U006A><U0061><U0072><U0061><U0073><U006F><U006E>";/
+        "<U0044><U006A><U0061><U0062><U0069><U0065><U0072><U006E><U0065>";/
+        "<U0044><U006A><U0061><U0073><U0061><U0062><U0072><U0061>"
+abmon   "<U0059><U0061><U006E>";"<U0046><U0065><U0062>";/
+        "<U004D><U0061><U0072>";"<U0041><U0070><U0072>";/
+        "<U004D><U0065><U0069>";"<U0059><U00FC><U006E>";/
+        "<U0059><U00FC><U006C>";"<U004F><U0075><U0067>";/
+        "<U0053><U00E8><U0070>";"<U004F><U006B><U0074>";/
+        "<U004E><U006F><U0076>";"<U0044><U0065><U0073>"
+mon     "<U0059><U0061><U006E><U00FC><U0061><U0072><U0069>";/
+        "<U0046><U0065><U0062><U0072><U00FC><U0061><U0072><U0069>";/
+        "<U004D><U0061><U0072><U0074>";/
+        "<U0041><U0070><U0072><U0065><U006C>";/
+        "<U004D><U0065><U0069>";/
+        "<U0059><U00FC><U006E><U0069>";/
+        "<U0059><U00FC><U006C><U0069>";/
+        "<U004F><U0075><U0067><U00F9><U0073><U0074><U00F9><U0073>";/
+        "<U0053><U00E8><U0070><U0074><U00E8><U006D><U0062><U0065><U0072>";/
+        "<U004F><U006B><U0074><U006F><U0062><U0065><U0072>";/
+        "<U004E><U006F><U0076><U00E8><U006D><U0062><U0065><U0072>";/
+        "<U0044><U0065><U0073><U00E8><U006D><U0062><U0065><U0072>"
+d_t_fmt "<U0025><U0061><U0020><U0025><U0064><U0020><U0025><U0062><U0020><U0025><U0059><U0020><U0025><U0054><U0020><U0025><U005A>"
+d_fmt   "<U0025><U0064><U002D><U0025><U006D><U002D><U0025><U0079>"
+t_fmt   "<U0025><U0054>"
+am_pm   "";""
+t_fmt_ampm ""
+END LC_TIME
+
+LC_NUMERIC
+decimal_point             "<U002C>"
+thousands_sep             ""
+grouping                  0;0
+END LC_NUMERIC
+
+% Metric Measurement system (ISO 1000)
+LC_MEASUREMENT
+measurement 1
+END LC_MEASUREMENT
+
+% Default paper: A4
+LC_PAPER
+height 297
+width 210
+END LC_PAPER
+
+LC_TELEPHONE
+tel_int_fmt "<U002B><U0025><U0063><U0020><U0025><U0061><U0020><U0025><U006C>"
+% FIXME FIND tel_dom_fmt
+int_select "00"
+int_prefix "599"
+END LC_TELEPHONE
+
+LC_NAME
+% Todo
+copy "en_DK"
+END LC_NAME

Modified: fsf/trunk/libc/malloc/Makefile
==============================================================================
--- fsf/trunk/libc/malloc/Makefile (original)
+++ fsf/trunk/libc/malloc/Makefile Sat Oct  5 00:02:02 2013
@@ -27,7 +27,7 @@
 tests := mallocbug tst-malloc tst-valloc tst-calloc tst-obstack \
 	 tst-mallocstate tst-mcheck tst-mallocfork tst-trim1 \
 	 tst-malloc-usable tst-realloc tst-posix_memalign \
-	 tst-pvalloc
+	 tst-pvalloc tst-memalign
 test-srcs = tst-mtrace
 
 routines = malloc morecore mcheck mtrace obstack

Added: fsf/trunk/libc/malloc/tst-memalign.c
==============================================================================
--- fsf/trunk/libc/malloc/tst-memalign.c (added)
+++ fsf/trunk/libc/malloc/tst-memalign.c Sat Oct  5 00:02:02 2013
@@ -1,0 +1,99 @@
+/* Test for memalign.
+   Copyright (C) 2013 Free Software Foundation, Inc.
+   This file is part of the GNU C Library.
+
+   The GNU C Library is free software; you can redistribute it and/or
+   modify it under the terms of the GNU Lesser General Public
+   License as published by the Free Software Foundation; either
+   version 2.1 of the License, or (at your option) any later version.
+
+   The GNU C Library is distributed in the hope that it will be useful,
+   but WITHOUT ANY WARRANTY; without even the implied warranty of
+   MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
+   Lesser General Public License for more details.
+
+   You should have received a copy of the GNU Lesser General Public
+   License along with the GNU C Library; if not, see
+   <http://www.gnu.org/licenses/>.  */
+
+#include <errno.h>
+#include <malloc.h>
+#include <stdio.h>
+#include <string.h>
+#include <unistd.h>
+
+static int errors = 0;
+
+static void
+merror (const char *msg)
+{
+  ++errors;
+  printf ("Error: %s\n", msg);
+}
+
+static int
+do_test (void)
+{
+  void *p;
+  unsigned long pagesize = getpagesize ();
+  unsigned long ptrval;
+  int save;
+
+  errno = 0;
+
+  /* An attempt to allocate a huge value should return NULL and set
+     errno to ENOMEM.  */
+  p = memalign (sizeof (void *), -1);
+
+  save = errno;
+
+  if (p != NULL)
+    merror ("memalign (sizeof (void *), -1) succeeded.");
+
+  if (p == NULL && save != ENOMEM)
+    merror ("memalign (sizeof (void *), -1) errno is not set correctly");
+
+  free (p);
+
+  errno = 0;
+
+  /* Test to expose integer overflow in malloc internals from BZ #15857.  */
+  p = memalign (pagesize, -pagesize);
+
+  save = errno;
+
+  if (p != NULL)
+    merror ("memalign (pagesize, -pagesize) succeeded.");
+
+  if (p == NULL && save != ENOMEM)
+    merror ("memalign (pagesize, -pagesize) errno is not set correctly");
+
+  free (p);
+
+  /* A zero-sized allocation should succeed with glibc, returning a
+     non-NULL value.  */
+  p = memalign (sizeof (void *), 0);
+
+  if (p == NULL)
+    merror ("memalign (sizeof (void *), 0) failed.");
+
+  free (p);
+
+  /* Check the alignment of the returned pointer is correct.  */
+  p = memalign (0x100, 10);
+
+  if (p == NULL)
+    merror ("memalign (0x100, 10) failed.");
+
+  ptrval = (unsigned long) p;
+
+  if ((ptrval & 0xff) != 0)
+    merror ("pointer is not aligned to 0x100");
+
+  free (p);
+
+  return errors != 0;
+}
+
+#define TEST_FUNCTION do_test ()
+#include "../test-skeleton.c"

Modified: fsf/trunk/libc/malloc/tst-posix_memalign.c
==============================================================================
--- fsf/trunk/libc/malloc/tst-posix_memalign.c (original)
+++ fsf/trunk/libc/malloc/tst-posix_memalign.c Sat Oct  5 00:02:02 2013
@@ -1,4 +1,5 @@
-/* Copyright (C) 2013 Free Software Foundation, Inc.
+/* Test for posix_memalign.
+   Copyright (C) 2013 Free Software Foundation, Inc.
    This file is part of the GNU C Library.
 
    The GNU C Library is free software; you can redistribute it and/or
@@ -35,11 +36,13 @@
 {
   void *p;
   int ret;
-  unsigned long pagesize = getpagesize();
+  unsigned long pagesize = getpagesize ();
   unsigned long ptrval;
 
   p = NULL;
 
+  /* An attempt to allocate a huge value should return ENOMEM and
+     p should remain NULL.  */
   ret = posix_memalign (&p, sizeof (void *), -1);
 
   if (ret != ENOMEM)
@@ -48,15 +51,22 @@
   if (ret == ENOMEM && p != NULL)
     merror ("returned an error but pointer was modified");
 
+  free (p);
+
   p = NULL;
 
+  /* Test to expose integer overflow in malloc internals from BZ #15857.  */
   ret = posix_memalign (&p, pagesize, -pagesize);
 
   if (ret != ENOMEM)
     merror ("posix_memalign (&p, pagesize, -pagesize) succeeded.");
 
+  free (p);
+
   p = NULL;
 
+  /* A zero-sized allocation should succeed with glibc, returning zero
+     and setting p to a non-NULL value.  */
   ret = posix_memalign (&p, sizeof (void *), 0);
 
   if (ret != 0 || p == NULL)
@@ -84,9 +94,9 @@
   if (ret == 0 && p == NULL)
     merror ("returned success but pointer is NULL");
 
-  ptrval = (unsigned long)p;
+  ptrval = (unsigned long) p;
 
-  if (ret == 0 && (ptrval & 0xff))
+  if (ret == 0 && (ptrval & 0xff) != 0)
     merror ("pointer is not aligned to 0x100");
 
   free (p);

Modified: fsf/trunk/libc/malloc/tst-pvalloc.c
==============================================================================
--- fsf/trunk/libc/malloc/tst-pvalloc.c (original)
+++ fsf/trunk/libc/malloc/tst-pvalloc.c Sat Oct  5 00:02:02 2013
@@ -1,4 +1,5 @@
-/* Copyright (C) 2013 Free Software Foundation, Inc.
+/* Test for pvalloc.
+   Copyright (C) 2013 Free Software Foundation, Inc.
    This file is part of the GNU C Library.
 
    The GNU C Library is free software; you can redistribute it and/or
@@ -34,12 +35,14 @@
 do_test (void)
 {
   void *p;
-  unsigned long pagesize = getpagesize();
+  unsigned long pagesize = getpagesize ();
   unsigned long ptrval;
   int save;
 
   errno = 0;
 
+  /* An attempt to allocate a huge value should return NULL and set
+     errno to ENOMEM.  */
   p = pvalloc (-1);
 
   save = errno;
@@ -50,8 +53,11 @@
   if (p == NULL && save != ENOMEM)
     merror ("pvalloc (-1) errno is not set correctly");
 
+  free (p);
+
   errno = 0;
 
+  /* Test to expose integer overflow in malloc internals from BZ #15855.  */
   p = pvalloc (-pagesize);
 
   save = errno;
@@ -62,6 +68,10 @@
   if (p == NULL && save != ENOMEM)
     merror ("pvalloc (-pagesize) errno is not set correctly");
 
+  free (p);
+
+  /* A zero-sized allocation should succeed with glibc, returning a
+     non-NULL value.  */
   p = pvalloc (0);
 
   if (p == NULL)
@@ -69,15 +79,13 @@
 
   free (p);
 
+  /* Check the alignment of the returned pointer is correct.  */
   p = pvalloc (32);
 
   if (p == NULL)
     merror ("pvalloc (32) failed.");
 
-  ptrval = (unsigned long)p;
-
-  if (p == NULL)
-    merror ("pvalloc (32) failed.");
+  ptrval = (unsigned long) p;
 
   if ((ptrval & (pagesize - 1)) != 0)
     merror ("returned pointer is not page aligned.");

Modified: fsf/trunk/libc/malloc/tst-valloc.c
==============================================================================
--- fsf/trunk/libc/malloc/tst-valloc.c (original)
+++ fsf/trunk/libc/malloc/tst-valloc.c Sat Oct  5 00:02:02 2013
@@ -1,4 +1,5 @@
-/* Copyright (C) 2013 Free Software Foundation, Inc.
+/* Test for valloc.
+   Copyright (C) 2013 Free Software Foundation, Inc.
    This file is part of the GNU C Library.
 
    The GNU C Library is free software; you can redistribute it and/or
@@ -34,12 +35,14 @@
 do_test (void)
 {
   void *p;
-  unsigned long pagesize = getpagesize();
+  unsigned long pagesize = getpagesize ();
   unsigned long ptrval;
   int save;
 
   errno = 0;
 
+  /* An attempt to allocate a huge value should return NULL and set
+     errno to ENOMEM.  */
   p = valloc (-1);
 
   save = errno;
@@ -50,8 +53,11 @@
   if (p == NULL && save != ENOMEM)
     merror ("valloc (-1) errno is not set correctly");
 
+  free (p);
+
   errno = 0;
 
+  /* Test to expose integer overflow in malloc internals from BZ #15856.  */
   p = valloc (-pagesize);
 
   save = errno;
@@ -62,6 +68,10 @@
   if (p == NULL && save != ENOMEM)
     merror ("valloc (-pagesize) errno is not set correctly");
 
+  free (p);
+
+  /* A zero-sized allocation should succeed with glibc, returning a
+     non-NULL value.  */
   p = valloc (0);
 
   if (p == NULL)
@@ -69,15 +79,13 @@
 
   free (p);
 
+  /* Check the alignment of the returned pointer is correct.  */
   p = valloc (32);
 
   if (p == NULL)
     merror ("valloc (32) failed.");
 
-  ptrval = (unsigned long)p;
-
-  if (p == NULL)
-    merror ("valloc (32) failed.");
+  ptrval = (unsigned long) p;
 
   if ((ptrval & (pagesize - 1)) != 0)
     merror ("returned pointer is not page aligned.");

Modified: fsf/trunk/libc/manual/threads.texi
==============================================================================
--- fsf/trunk/libc/manual/threads.texi (original)
+++ fsf/trunk/libc/manual/threads.texi Sat Oct  5 00:02:02 2013
@@ -69,7 +69,7 @@
 failure.
 @end deftypefun
 
-@deftypefun int pthread_getattr_default_np (pthread_attr_t *@var{attr})
+@deftypefun int pthread_setattr_default_np (pthread_attr_t *@var{attr})
 Set the default attribute values to match the values in @var{attr}.  The
 function returns @math{0} on success and a non-zero error code on failure.
 The following error codes are defined for this function:

Modified: fsf/trunk/libc/math/libm-test.inc
==============================================================================
--- fsf/trunk/libc/math/libm-test.inc (original)
+++ fsf/trunk/libc/math/libm-test.inc Sat Oct  5 00:02:02 2013
@@ -7829,6 +7829,11 @@
     TEST_f_f (erf, 2.0L, 0.995322265018952734162069256367252929L),
     TEST_f_f (erf, 4.125L, 0.999999994576599200434933994687765914L),
     TEST_f_f (erf, 27.0L, 1.0L),
+    TEST_f_f (erf, -27.0L, -1.0L),
+#if defined TEST_LDOUBLE && LDBL_MANT_DIG >= 54
+    /* The input is not exactly representable as a double.  */
+    TEST_f_f (erf, -0x1.fffffffffffff8p-2L, -0.5204998778130465132916303345518417673509L),
+#endif
   };
 
 static void
@@ -7857,6 +7862,10 @@
     TEST_f_f (erfc, 0x1.ffa002p+2L, 1.233585992097580296336099501489175967033e-29L),
     TEST_f_f (erfc, 0x1.ffffc8p+2L, 1.122671365033056305522366683719541099329e-29L),
 #ifdef TEST_LDOUBLE
+# if LDBL_MANT_DIG >= 54
+    /* The input is not exactly representable as a double.  */
+    TEST_f_f (erfc, -0x1.fffffffffffff8p-2L, 1.52049987781304651329163033455184176735L),
+# endif
     /* The result can only be represented in long double.  */
 # if LDBL_MIN_10_EXP < -319
     TEST_f_f (erfc, 27.0L, 0.523704892378925568501606768284954709e-318L),
@@ -9355,6 +9364,13 @@
 #if defined TEST_LDOUBLE && LDBL_MIN_EXP <= -16381
     TEST_ff_f (fmod, 0x0.fffffffffffffffep-16382L, 0x1p-16445L, plus_zero, NO_INEXACT_EXCEPTION),
 #endif
+#if defined TEST_LDOUBLE && LDBL_MANT_DIG >= 56
+    TEST_ff_f (fmod, -0x1.00000000000004p+0L, 0x1.fffffffffffff8p-1L, -0x1p-53L, NO_INEXACT_EXCEPTION),
+    TEST_ff_f (fmod, 0x1.fffffffffffffap-1L, 0x1.fffffffffffff8p-1L, 0x1p-56L, NO_INEXACT_EXCEPTION),
+    TEST_ff_f (fmod, -0x1.fffffffffffffap-1L, 0x1.fffffffffffff8p-1L, -0x1p-56L, NO_INEXACT_EXCEPTION),
+    TEST_ff_f (fmod, 0x1.fffffffffffffap-1L, -0x1.fffffffffffff8p-1L, 0x1p-56L, NO_INEXACT_EXCEPTION),
+    TEST_ff_f (fmod, -0x1.fffffffffffffap-1L, -0x1.fffffffffffff8p-1L, -0x1p-56L, NO_INEXACT_EXCEPTION),
+#endif
   };
 
 static void
@@ -12316,6 +12332,9 @@
     TEST_ff_f (remainder, -1.625, -1.0, 0.375, NO_INEXACT_EXCEPTION),
     TEST_ff_f (remainder, 5.0, 2.0, 1.0, NO_INEXACT_EXCEPTION),
     TEST_ff_f (remainder, 3.0, 2.0, -1.0, NO_INEXACT_EXCEPTION),
+#if defined TEST_LDOUBLE && LDBL_MANT_DIG >= 56
+    TEST_ff_f (remainder, -0x1.80000000000002p1L, 2.0, 0x1.fffffffffffff8p-1L, NO_INEXACT_EXCEPTION),
+#endif
   };
 
 static void

Modified: fsf/trunk/libc/math/test-misc.c
==============================================================================
--- fsf/trunk/libc/math/test-misc.c (original)
+++ fsf/trunk/libc/math/test-misc.c Sat Oct  5 00:02:02 2013
@@ -722,300 +722,161 @@
 
 #ifndef NO_LONG_DOUBLE
   {
-    union ieee854_long_double v1;
-    union ieee854_long_double v2;
-    long double ld;
-
-    v1.d = ld = LDBL_MIN;
-    if (fpclassify (ld) != FP_NORMAL)
-      {
-	printf ("fpclassify (LDBL_MIN) failed: %d\n", fpclassify (ld));
-	result = 1;
-      }
-    ld = nextafterl (ld, LDBL_MIN / 2.0);
-    if (fpclassify (ld) != FP_SUBNORMAL)
+    long double v1, v2;
+
+    v1 = LDBL_MIN;
+    if (fpclassify (v1) != FP_NORMAL)
+      {
+	printf ("fpclassify (LDBL_MIN) failed: %d (%La)\n",
+		fpclassify (v1), v1);
+	result = 1;
+      }
+    v2 = nextafterl (v1, LDBL_MIN / 2.0);
+    if (fpclassify (v2) != FP_SUBNORMAL)
       {
 	printf ("fpclassify (LDBL_MIN-epsilon) failed: %d (%La)\n",
-		fpclassify (ld), ld);
-	result = 1;
-      }
-    v2.d = ld = nextafterl (ld, LDBL_MIN);
-    if (fpclassify (ld) != FP_NORMAL)
+		fpclassify (v2), v2);
+	result = 1;
+      }
+    v2 = nextafterl (v2, LDBL_MIN);
+    if (fpclassify (v2) != FP_NORMAL)
       {
 	printf ("fpclassify (LDBL_MIN-epsilon+epsilon) failed: %d (%La)\n",
-		fpclassify (ld), ld);
-	result = 1;
-      }
-
-    if (v1.ieee.mantissa0 != v2.ieee.mantissa0)
-      {
-	printf ("LDBL_MIN: mantissa0 differs: %8x vs %8x\n",
-		v1.ieee.mantissa0, v2.ieee.mantissa0);
-	result = 1;
-      }
-    if (v1.ieee.mantissa1 != v2.ieee.mantissa1)
-      {
-	printf ("LDBL_MIN: mantissa1 differs: %8x vs %8x\n",
-		v1.ieee.mantissa1, v2.ieee.mantissa1);
-	result = 1;
-      }
-    if (v1.ieee.exponent != v2.ieee.exponent)
-      {
-	printf ("LDBL_MIN: exponent differs: %4x vs %4x\n",
-		v1.ieee.exponent, v2.ieee.exponent);
-	result = 1;
-      }
-    if (v1.ieee.negative != v2.ieee.negative)
-      {
-	printf ("LDBL_MIN: negative differs: %d vs %d\n",
-		v1.ieee.negative, v2.ieee.negative);
-	result = 1;
-      }
-
-    v1.d = ld = -LDBL_MIN;
-    if (fpclassify (ld) != FP_NORMAL)
-      {
-	printf ("fpclassify (-LDBL_MIN) failed: %d\n", fpclassify (ld));
-	result = 1;
-      }
-    ld = nextafterl (ld, -LDBL_MIN / 2.0);
-    if (fpclassify (ld) != FP_SUBNORMAL)
+		fpclassify (v2), v2);
+	result = 1;
+      }
+
+    if (v1 != v2)
+      {
+	printf ("LDBL_MIN-epsilon+epsilon != LDBL_MIN: %La vs %La\n", v2, v1);
+	result = 1;
+      }
+
+    v1 = -LDBL_MIN;
+    if (fpclassify (v1) != FP_NORMAL)
+      {
+	printf ("fpclassify (-LDBL_MIN) failed: %d (%La)\n",
+		fpclassify (v1), v1);
+	result = 1;
+      }
+    v2 = nextafterl (v1, -LDBL_MIN / 2.0);
+    if (fpclassify (v2) != FP_SUBNORMAL)
       {
 	printf ("fpclassify (-LDBL_MIN-epsilon) failed: %d (%La)\n",
-		fpclassify (ld), ld);
-	result = 1;
-      }
-    v2.d = ld = nextafterl (ld, -LDBL_MIN);
-    if (fpclassify (ld) != FP_NORMAL)
+		fpclassify (v2), v2);
+	result = 1;
+      }
+    v2 = nextafterl (v2, -LDBL_MIN);
+    if (fpclassify (v2) != FP_NORMAL)
       {
 	printf ("fpclassify (-LDBL_MIN-epsilon+epsilon) failed: %d (%La)\n",
-		fpclassify (ld), ld);
-	result = 1;
-      }
-
-    if (v1.ieee.mantissa0 != v2.ieee.mantissa0)
-      {
-	printf ("-LDBL_MIN: mantissa0 differs: %8x vs %8x\n",
-		v1.ieee.mantissa0, v2.ieee.mantissa0);
-	result = 1;
-      }
-    if (v1.ieee.mantissa1 != v2.ieee.mantissa1)
-      {
-	printf ("-LDBL_MIN: mantissa1 differs: %8x vs %8x\n",
-		v1.ieee.mantissa1, v2.ieee.mantissa1);
-	result = 1;
-      }
-    if (v1.ieee.exponent != v2.ieee.exponent)
-      {
-	printf ("-LDBL_MIN: exponent differs: %4x vs %4x\n",
-		v1.ieee.exponent, v2.ieee.exponent);
-	result = 1;
-      }
-    if (v1.ieee.negative != v2.ieee.negative)
-      {
-	printf ("-LDBL_MIN: negative differs: %d vs %d\n",
-		v1.ieee.negative, v2.ieee.negative);
-	result = 1;
-      }
-
-    ld = LDBL_MAX;
-    if (fpclassify (ld) != FP_NORMAL)
-      {
-	printf ("fpclassify (LDBL_MAX) failed: %d\n", fpclassify (ld));
-	result = 1;
-      }
-    ld = nextafterl (ld, INFINITY);
-    if (fpclassify (ld) != FP_INFINITE)
-      {
-	printf ("fpclassify (LDBL_MAX+epsilon) failed: %d\n", fpclassify (ld));
-	result = 1;
-      }
-
-    ld = -LDBL_MAX;
-    if (fpclassify (ld) != FP_NORMAL)
-      {
-	printf ("fpclassify (-LDBL_MAX) failed: %d\n", fpclassify (ld));
-	result = 1;
-      }
-    ld = nextafterl (ld, -INFINITY);
-    if (fpclassify (ld) != FP_INFINITE)
-      {
-	printf ("fpclassify (-LDBL_MAX-epsilon) failed: %d\n",
-		fpclassify (ld));
-	result = 1;
-      }
-
-    v1.d = ld = 0.0625;
-    ld = nextafterl (ld, 0.0);
-    v2.d = ld = nextafterl (ld, 1.0);
-
-    if (v1.ieee.mantissa0 != v2.ieee.mantissa0)
-      {
-	printf ("0.0625L down: mantissa0 differs: %8x vs %8x\n",
-		v1.ieee.mantissa0, v2.ieee.mantissa0);
-	result = 1;
-      }
-    if (v1.ieee.mantissa1 != v2.ieee.mantissa1)
-      {
-	printf ("0.0625L down: mantissa1 differs: %8x vs %8x\n",
-		v1.ieee.mantissa1, v2.ieee.mantissa1);
-	result = 1;
-      }
-    if (v1.ieee.exponent != v2.ieee.exponent)
-      {
-	printf ("0.0625L down: exponent differs: %4x vs %4x\n",
-		v1.ieee.exponent, v2.ieee.exponent);
-	result = 1;
-      }
-    if (v1.ieee.negative != v2.ieee.negative)
-      {
-	printf ("0.0625L down: negative differs: %d vs %d\n",
-		v1.ieee.negative, v2.ieee.negative);
-	result = 1;
-      }
-
-    v1.d = ld = 0.0625;
-    ld = nextafterl (ld, 1.0);
-    v2.d = ld = nextafterl (ld, 0.0);
-
-    if (v1.ieee.mantissa0 != v2.ieee.mantissa0)
-      {
-	printf ("0.0625L up: mantissa0 differs: %8x vs %8x\n",
-		v1.ieee.mantissa0, v2.ieee.mantissa0);
-	result = 1;
-      }
-    if (v1.ieee.mantissa1 != v2.ieee.mantissa1)
-      {
-	printf ("0.0625L up: mantissa1 differs: %8x vs %8x\n",
-		v1.ieee.mantissa1, v2.ieee.mantissa1);
-	result = 1;
-      }
-    if (v1.ieee.exponent != v2.ieee.exponent)
-      {
-	printf ("0.0625L up: exponent differs: %4x vs %4x\n",
-		v1.ieee.exponent, v2.ieee.exponent);
-	result = 1;
-      }
-    if (v1.ieee.negative != v2.ieee.negative)
-      {
-	printf ("0.0625L up: negative differs: %d vs %d\n",
-		v1.ieee.negative, v2.ieee.negative);
-	result = 1;
-      }
-
-    v1.d = ld = -0.0625;
-    ld = nextafterl (ld, 0.0);
-    v2.d = ld = nextafterl (ld, -1.0);
-
-    if (v1.ieee.mantissa0 != v2.ieee.mantissa0)
-      {
-	printf ("-0.0625L up: mantissa0 differs: %8x vs %8x\n",
-		v1.ieee.mantissa0, v2.ieee.mantissa0);
-	result = 1;
-      }
-    if (v1.ieee.mantissa1 != v2.ieee.mantissa1)
-      {
-	printf ("-0.0625L up: mantissa1 differs: %8x vs %8x\n",
-		v1.ieee.mantissa1, v2.ieee.mantissa1);
-	result = 1;
-      }
-    if (v1.ieee.exponent != v2.ieee.exponent)
-      {
-	printf ("-0.0625L up: exponent differs: %4x vs %4x\n",
-		v1.ieee.exponent, v2.ieee.exponent);
-	result = 1;
-      }
-    if (v1.ieee.negative != v2.ieee.negative)
-      {
-	printf ("-0.0625L up: negative differs: %d vs %d\n",
-		v1.ieee.negative, v2.ieee.negative);
-	result = 1;
-      }
-
-    v1.d = ld = -0.0625;
-    ld = nextafterl (ld, -1.0);
-    v2.d = ld = nextafterl (ld, 0.0);
-
-    if (v1.ieee.mantissa0 != v2.ieee.mantissa0)
-      {
-	printf ("-0.0625L down: mantissa0 differs: %8x vs %8x\n",
-		v1.ieee.mantissa0, v2.ieee.mantissa0);
-	result = 1;
-      }
-    if (v1.ieee.mantissa1 != v2.ieee.mantissa1)
-      {
-	printf ("-0.0625L down: mantissa1 differs: %8x vs %8x\n",
-		v1.ieee.mantissa1, v2.ieee.mantissa1);
-	result = 1;
-      }
-    if (v1.ieee.exponent != v2.ieee.exponent)
-      {
-	printf ("-0.0625L down: exponent differs: %4x vs %4x\n",
-		v1.ieee.exponent, v2.ieee.exponent);
-	result = 1;
-      }
-    if (v1.ieee.negative != v2.ieee.negative)
-      {
-	printf ("-0.0625L down: negative differs: %d vs %d\n",
-		v1.ieee.negative, v2.ieee.negative);
-	result = 1;
-      }
-
-    v1.d = ld = 0.0;
-    ld = nextafterl (ld, 1.0);
-    v2.d = nextafterl (ld, -1.0);
-
-    if (v1.ieee.mantissa0 != v2.ieee.mantissa0)
-      {
-	printf ("0.0L up: mantissa0 differs: %8x vs %8x\n",
-		v1.ieee.mantissa0, v2.ieee.mantissa0);
-	result = 1;
-      }
-    if (v1.ieee.mantissa1 != v2.ieee.mantissa1)
-      {
-	printf ("0.0L up: mantissa1 differs: %8x vs %8x\n",
-		v1.ieee.mantissa1, v2.ieee.mantissa1);
-	result = 1;
-      }
-    if (v1.ieee.exponent != v2.ieee.exponent)
-      {
-	printf ("0.0L up: exponent differs: %4x vs %4x\n",
-		v1.ieee.exponent, v2.ieee.exponent);
-	result = 1;
-      }
-    if (0 != v2.ieee.negative)
-      {
-	printf ("0.0L up: negative differs: 0 vs %d\n",
-		v2.ieee.negative);
-	result = 1;
-      }
-
-    v1.d = ld = 0.0;
-    ld = nextafterl (ld, -1.0);
-    v2.d = nextafterl (ld, 1.0);
-
-    if (v1.ieee.mantissa0 != v2.ieee.mantissa0)
-      {
-	printf ("0.0L down: mantissa0 differs: %8x vs %8x\n",
-		v1.ieee.mantissa0, v2.ieee.mantissa0);
-	result = 1;
-      }
-    if (v1.ieee.mantissa1 != v2.ieee.mantissa1)
-      {
-	printf ("0.0L down: mantissa1 differs: %8x vs %8x\n",
-		v1.ieee.mantissa1, v2.ieee.mantissa1);
-	result = 1;
-      }
-    if (v1.ieee.exponent != v2.ieee.exponent)
-      {
-	printf ("0.0L down: exponent differs: %4x vs %4x\n",
-		v1.ieee.exponent, v2.ieee.exponent);
-	result = 1;
-      }
-    if (1 != v2.ieee.negative)
-      {
-	printf ("0.0L down: negative differs: 1 vs %d\n",
-		v2.ieee.negative);
+		fpclassify (v2), v2);
+	result = 1;
+      }
+
+    if (v1 != v2)
+      {
+	printf ("-LDBL_MIN-epsilon+epsilon != -LDBL_MIN: %La vs %La\n", v2, v1);
+	result = 1;
+      }
+
+    v1 = LDBL_MAX;
+    if (fpclassify (v1) != FP_NORMAL)
+      {
+	printf ("fpclassify (LDBL_MAX) failed: %d (%La)\n",
+		fpclassify (v1), v1);
+	result = 1;
+      }
+    v2 = nextafterl (v1, INFINITY);
+    if (fpclassify (v2) != FP_INFINITE)
+      {
+	printf ("fpclassify (LDBL_MAX+epsilon) failed: %d (%La)\n",
+		fpclassify (v2), v2);
+	result = 1;
+      }
+
+    v1 = -LDBL_MAX;
+    if (fpclassify (v1) != FP_NORMAL)
+      {
+	printf ("fpclassify (-LDBL_MAX) failed: %d (%La)\n",
+		fpclassify (v1), v1);
+	result = 1;
+      }
+    v2 = nextafterl (v1, -INFINITY);
+    if (fpclassify (v2) != FP_INFINITE)
+      {
+	printf ("fpclassify (-LDBL_MAX-epsilon) failed: %d (%La)\n",
+		fpclassify (v2), v2);
+	result = 1;
+      }
+
+    v1 = 0.0625;
+    v2 = nextafterl (v1, 0.0);
+    v2 = nextafterl (v2, 1.0);
+
+    if (v1 != v2)
+      {
+	printf ("0.0625L-epsilon+epsilon != 0.0625L: %La vs %La\n", v2, v1);
+	result = 1;
+      }
+
+    v1 = 0.0625;
+    v2 = nextafterl (v1, 1.0);
+    v2 = nextafterl (v2, 0.0);
+
+    if (v1 != v2)
+      {
+	printf ("0.0625L+epsilon-epsilon != 0.0625L: %La vs %La\n", v2, v1);
+	result = 1;
+      }
+
+    v1 = -0.0625;
+    v2 = nextafterl (v1, 0.0);
+    v2 = nextafterl (v2, -1.0);
+
+    if (v1 != v2)
+      {
+	printf ("-0.0625L+epsilon-epsilon != -0.0625L: %La vs %La\n", v2, v1);
+	result = 1;
+      }
+
+    v1 = -0.0625;
+    v2 = nextafterl (v1, -1.0);
+    v2 = nextafterl (v2, 0.0);
+
+    if (v1 != v2)
+      {
+	printf ("-0.0625L-epsilon+epsilon != -0.0625L: %La vs %La\n", v2, v1);
+	result = 1;
+      }
+
+    v1 = 0.0;
+    v2 = nextafterl (v1, 1.0);
+    v2 = nextafterl (v2, -1.0);
+
+    if (v1 != v2)
+      {
+	printf ("0.0+epsilon-epsilon != 0.0L: %La vs %La\n", v2, v1);
+	result = 1;
+      }
+    if (signbit (v2))
+      {
+	printf ("0.0+epsilon-epsilon is negative\n");
+	result = 1;
+      }
+
+    v1 = 0.0;
+    v2 = nextafterl (v1, -1.0);
+    v2 = nextafterl (v2, 1.0);
+
+    if (v1 != v2)
+      {
+	printf ("0.0-epsilon+epsilon != 0.0L: %La vs %La\n", v2, v1);
+	result = 1;
+      }
+    if (!signbit (v2))
+      {
+	printf ("0.0-epsilon+epsilon is positive\n");
 	result = 1;
       }
 

Modified: fsf/trunk/libc/misc/swapon.c
==============================================================================
--- fsf/trunk/libc/misc/swapon.c (original)
+++ fsf/trunk/libc/misc/swapon.c Sat Oct  5 00:02:02 2013
@@ -22,8 +22,7 @@
 /* Make the block special device PATH available to the system for swapping.
    This call is restricted to the super-user.  */
 int
-swapon (path)
-     const char *path;
+swapon (const char *path, int flags)
 {
   __set_errno (ENOSYS);
   return -1;

Modified: fsf/trunk/libc/nptl/ChangeLog
==============================================================================
--- fsf/trunk/libc/nptl/ChangeLog (original)
+++ fsf/trunk/libc/nptl/ChangeLog Sat Oct  5 00:02:02 2013
@@ -1,3 +1,8 @@
+2013-10-04  Maciej W. Rozycki  <macro@xxxxxxxxxxxxxxxx>
+
+	* tst-mutex8.c (check_type) [ENABLE_PI]: Handle ENOTSUP failure
+	from pthread_mutex_init.
+
 2013-10-01  Siddhesh Poyarekar  <siddhesh@xxxxxxxxxx>
 
 	[BZ #15988]

Modified: fsf/trunk/libc/nptl/shlib-versions
==============================================================================
--- fsf/trunk/libc/nptl/shlib-versions (original)
+++ fsf/trunk/libc/nptl/shlib-versions Sat Oct  5 00:02:02 2013
@@ -2,4 +2,5 @@
 sh.*-.*-linux.*		libpthread=0		GLIBC_2.2
 s390x-.*-linux.*	libpthread=0		GLIBC_2.2
 powerpc64-.*-linux.*	libpthread=0		GLIBC_2.3
+powerpc.*le-.*-linux.*	libpthread=0		GLIBC_2.18
 .*-.*-linux.*		libpthread=0

Modified: fsf/trunk/libc/nptl/sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c
==============================================================================
--- fsf/trunk/libc/nptl/sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c (original)
+++ fsf/trunk/libc/nptl/sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c Sat Oct  5 00:02:02 2013
@@ -41,13 +41,8 @@
   __novmx__libc_longjmp (env, val);
 }
 
-# if __WORDSIZE == 64
-symbol_version (__novmx_longjmp,longjmp,GLIBC_2.3);
-symbol_version (__novmx_siglongjmp,siglongjmp,GLIBC_2.3);
-# else
-symbol_version (__novmx_longjmp,longjmp,GLIBC_2.0);
-symbol_version (__novmx_siglongjmp,siglongjmp,GLIBC_2.0);
-# endif
+compat_symbol (libpthread, __novmx_longjmp, longjmp, GLIBC_2_0);
+compat_symbol (libpthread, __novmx_siglongjmp, siglongjmp, GLIBC_2_0);
 #endif /* defined SHARED && SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_3_4))  */
 
 void
@@ -62,5 +57,5 @@
   __libc_siglongjmp (env, val);
 }
 
-versioned_symbol (libc, __vmx_longjmp, longjmp, GLIBC_2_3_4);
-versioned_symbol (libc, __vmx_siglongjmp, siglongjmp, GLIBC_2_3_4);
+versioned_symbol (libpthread, __vmx_longjmp, longjmp, GLIBC_2_3_4);
+versioned_symbol (libpthread, __vmx_siglongjmp, siglongjmp, GLIBC_2_3_4);

Modified: fsf/trunk/libc/nptl/tst-mutex8.c
==============================================================================
--- fsf/trunk/libc/nptl/tst-mutex8.c (original)
+++ fsf/trunk/libc/nptl/tst-mutex8.c Sat Oct  5 00:02:02 2013
@@ -93,10 +93,18 @@
 static int
 check_type (const char *mas, pthread_mutexattr_t *ma)
 {
-  int e __attribute__((unused));
-
-  if (pthread_mutex_init (m, ma) != 0)
-    {
+  int e;
+
+  e = pthread_mutex_init (m, ma);
+  if (e != 0)
+    {
+#ifdef ENABLE_PI
+      if (e == ENOTSUP)
+	{
+	  puts ("PI mutexes unsupported");
+	  return 0;
+	}
+#endif
       printf ("1st mutex_init failed for %s\n", mas);
       return 1;
     }

Modified: fsf/trunk/libc/ports/ChangeLog
==============================================================================
--- fsf/trunk/libc/ports/ChangeLog (original)
+++ fsf/trunk/libc/ports/ChangeLog Sat Oct  5 00:02:02 2013
@@ -1,3 +1,7 @@
+2013-10-04  Alan Modra  <amodra@xxxxxxxxx>
+
+	* sysdeps/ia64/fpu/printf_fphex.c: Adjust for fpnum change.
+
 2013-09-02  Mike Frysinger  <vapier@xxxxxxxxxx>
 
 	* sysdeps/unix/sysv/linux/hppa/syscalls.list (fanotify_mark): New

Modified: fsf/trunk/libc/ports/ChangeLog.arm
==============================================================================
--- fsf/trunk/libc/ports/ChangeLog.arm (original)
+++ fsf/trunk/libc/ports/ChangeLog.arm Sat Oct  5 00:02:02 2013
@@ -1,3 +1,13 @@
+2013-10-04  Will Newton  <will.newton@xxxxxxxxxx>
+
+	* sysdeps/arm/__longjmp.S (NO_THUMB): Remove define.
+	(__longjmp): Use Thumb supported instructions.
+	* sysdeps/unix/sysv/linux/arm/____longjmp_chk.S (NO_THUMB):
+	Remove define.
+
+	* sysdeps/arm/setjmp.S (NO_THUMB): Remove define.
+	(__sigsetjmp): Use Thumb supported instructions.
+
 2013-10-03  Will Newton  <will.newton@xxxxxxxxxx>
 
 	* sysdeps/arm/__longjmp.S (__longjmp): Demangle fp, sp

Modified: fsf/trunk/libc/ports/ChangeLog.powerpc
==============================================================================

[... 33187 lines stripped ...]
_______________________________________________
Commits mailing list
Commits@xxxxxxxxxx
http://eglibc.org/cgi-bin/mailman/listinfo/commits