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

[Commits] r23082 - in /fsf/trunk/libc: ./ crypt/ debug/ elf/ iconv/ iconvdata/ include/ inet/ libidn/ locale/ locale/programs/ malloc/...



Author: eglibc
Date: Fri May 17 00:02:10 2013
New Revision: 23082

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

Modified:
    fsf/trunk/libc/ChangeLog
    fsf/trunk/libc/NEWS
    fsf/trunk/libc/crypt/sha256-block.c
    fsf/trunk/libc/crypt/sha256-crypt.c
    fsf/trunk/libc/crypt/sha256.c
    fsf/trunk/libc/crypt/sha512-block.c
    fsf/trunk/libc/crypt/sha512-crypt.c
    fsf/trunk/libc/crypt/sha512.c
    fsf/trunk/libc/debug/backtrace-tst.c
    fsf/trunk/libc/debug/pcprofiledump.c
    fsf/trunk/libc/elf/cache.c
    fsf/trunk/libc/elf/dl-cache.c
    fsf/trunk/libc/elf/dl-misc.c
    fsf/trunk/libc/elf/dl-profile.c
    fsf/trunk/libc/elf/dl-support.c
    fsf/trunk/libc/elf/ldconfig.c
    fsf/trunk/libc/elf/sprof.c
    fsf/trunk/libc/iconv/dummy-repertoire.c
    fsf/trunk/libc/iconv/iconv_charmap.c
    fsf/trunk/libc/iconv/skeleton.c
    fsf/trunk/libc/iconvdata/8bit-generic.c
    fsf/trunk/libc/iconvdata/cp737.h
    fsf/trunk/libc/iconvdata/cp775.h
    fsf/trunk/libc/iconvdata/ibm1008.h
    fsf/trunk/libc/iconvdata/ibm1025.h
    fsf/trunk/libc/iconvdata/ibm1046.h
    fsf/trunk/libc/iconvdata/ibm1097.h
    fsf/trunk/libc/iconvdata/ibm1112.h
    fsf/trunk/libc/iconvdata/ibm1122.h
    fsf/trunk/libc/iconvdata/ibm1123.h
    fsf/trunk/libc/iconvdata/ibm1124.h
    fsf/trunk/libc/iconvdata/ibm1129.h
    fsf/trunk/libc/iconvdata/ibm1130.h
    fsf/trunk/libc/iconvdata/ibm1132.h
    fsf/trunk/libc/iconvdata/ibm1133.h
    fsf/trunk/libc/iconvdata/ibm1137.h
    fsf/trunk/libc/iconvdata/ibm1140.h
    fsf/trunk/libc/iconvdata/ibm1141.h
    fsf/trunk/libc/iconvdata/ibm1142.h
    fsf/trunk/libc/iconvdata/ibm1143.h
    fsf/trunk/libc/iconvdata/ibm1144.h
    fsf/trunk/libc/iconvdata/ibm1145.h
    fsf/trunk/libc/iconvdata/ibm1146.h
    fsf/trunk/libc/iconvdata/ibm1147.h
    fsf/trunk/libc/iconvdata/ibm1148.h
    fsf/trunk/libc/iconvdata/ibm1149.h
    fsf/trunk/libc/iconvdata/ibm1153.h
    fsf/trunk/libc/iconvdata/ibm1154.h
    fsf/trunk/libc/iconvdata/ibm1155.h
    fsf/trunk/libc/iconvdata/ibm1156.h
    fsf/trunk/libc/iconvdata/ibm1157.h
    fsf/trunk/libc/iconvdata/ibm1158.h
    fsf/trunk/libc/iconvdata/ibm1160.h
    fsf/trunk/libc/iconvdata/ibm1161.h
    fsf/trunk/libc/iconvdata/ibm1162.h
    fsf/trunk/libc/iconvdata/ibm1163.h
    fsf/trunk/libc/iconvdata/ibm1164.h
    fsf/trunk/libc/iconvdata/ibm1166.h
    fsf/trunk/libc/iconvdata/ibm1167.h
    fsf/trunk/libc/iconvdata/ibm12712.h
    fsf/trunk/libc/iconvdata/ibm1390.h
    fsf/trunk/libc/iconvdata/ibm1399.h
    fsf/trunk/libc/iconvdata/ibm16804.h
    fsf/trunk/libc/iconvdata/ibm4517.h
    fsf/trunk/libc/iconvdata/ibm4899.h
    fsf/trunk/libc/iconvdata/ibm4909.h
    fsf/trunk/libc/iconvdata/ibm4971.h
    fsf/trunk/libc/iconvdata/ibm5347.h
    fsf/trunk/libc/iconvdata/ibm803.h
    fsf/trunk/libc/iconvdata/ibm856.h
    fsf/trunk/libc/iconvdata/ibm901.h
    fsf/trunk/libc/iconvdata/ibm902.h
    fsf/trunk/libc/iconvdata/ibm9030.h
    fsf/trunk/libc/iconvdata/ibm9066.h
    fsf/trunk/libc/iconvdata/ibm921.h
    fsf/trunk/libc/iconvdata/ibm922.h
    fsf/trunk/libc/iconvdata/ibm9448.h
    fsf/trunk/libc/iconvdata/isiri-3342.h
    fsf/trunk/libc/iconvdata/jis0201.h
    fsf/trunk/libc/include/link.h
    fsf/trunk/libc/include/netdb.h
    fsf/trunk/libc/inet/check_native.c
    fsf/trunk/libc/inet/check_pf.c
    fsf/trunk/libc/inet/getipv4sourcefilter.c
    fsf/trunk/libc/inet/getnameinfo.c
    fsf/trunk/libc/inet/getsourcefilter.c
    fsf/trunk/libc/inet/htonl.c
    fsf/trunk/libc/inet/setipv4sourcefilter.c
    fsf/trunk/libc/inet/setsourcefilter.c
    fsf/trunk/libc/inet/test-inet6_opt.c
    fsf/trunk/libc/inet/tst-network.c
    fsf/trunk/libc/libidn/ChangeLog
    fsf/trunk/libc/libidn/idna.c
    fsf/trunk/libc/libidn/nfkc.c
    fsf/trunk/libc/libidn/stringprep.c
    fsf/trunk/libc/locale/C-collate.c
    fsf/trunk/libc/locale/C-ctype.c
    fsf/trunk/libc/locale/C-time.c
    fsf/trunk/libc/locale/C-translit.h
    fsf/trunk/libc/locale/loadarchive.c
    fsf/trunk/libc/locale/programs/3level.h
    fsf/trunk/libc/locale/programs/charmap.c
    fsf/trunk/libc/locale/programs/charmap.h
    fsf/trunk/libc/locale/programs/ld-address.c
    fsf/trunk/libc/locale/programs/ld-collate.c
    fsf/trunk/libc/locale/programs/ld-ctype.c
    fsf/trunk/libc/locale/programs/ld-identification.c
    fsf/trunk/libc/locale/programs/ld-measurement.c
    fsf/trunk/libc/locale/programs/ld-messages.c
    fsf/trunk/libc/locale/programs/ld-monetary.c
    fsf/trunk/libc/locale/programs/ld-name.c
    fsf/trunk/libc/locale/programs/ld-numeric.c
    fsf/trunk/libc/locale/programs/ld-paper.c
    fsf/trunk/libc/locale/programs/ld-telephone.c
    fsf/trunk/libc/locale/programs/ld-time.c
    fsf/trunk/libc/locale/programs/linereader.c
    fsf/trunk/libc/locale/programs/locale.c
    fsf/trunk/libc/locale/programs/locarchive.c
    fsf/trunk/libc/locale/programs/locfile.h
    fsf/trunk/libc/locale/programs/repertoire.c
    fsf/trunk/libc/locale/programs/simple-hash.c
    fsf/trunk/libc/locale/programs/simple-hash.h
    fsf/trunk/libc/malloc/memusage.c
    fsf/trunk/libc/malloc/memusagestat.c
    fsf/trunk/libc/math/atest-exp2.c
    fsf/trunk/libc/math/gen-libm-test.pl
    fsf/trunk/libc/math/libm-test.inc
    fsf/trunk/libc/nis/nis_defaults.c
    fsf/trunk/libc/nis/nis_hash.c
    fsf/trunk/libc/nis/nis_print.c
    fsf/trunk/libc/nis/nis_xdr.c
    fsf/trunk/libc/nptl/ChangeLog
    fsf/trunk/libc/nptl/pthread_create.c
    fsf/trunk/libc/nptl/sysdeps/pthread/createthread.c
    fsf/trunk/libc/nptl_db/ChangeLog
    fsf/trunk/libc/nptl_db/db_info.c
    fsf/trunk/libc/nptl_db/fetch-value.c
    fsf/trunk/libc/nptl_db/td_ta_clear_event.c
    fsf/trunk/libc/nptl_db/td_ta_set_event.c
    fsf/trunk/libc/nptl_db/td_ta_tsd_iter.c
    fsf/trunk/libc/nptl_db/td_thr_clear_event.c
    fsf/trunk/libc/nptl_db/td_thr_get_info.c
    fsf/trunk/libc/nptl_db/td_thr_set_event.c
    fsf/trunk/libc/nptl_db/td_thr_tsd.c
    fsf/trunk/libc/nscd/connections.c
    fsf/trunk/libc/nscd/hstcache.c
    fsf/trunk/libc/nscd/nscd_gethst_r.c
    fsf/trunk/libc/nscd/nscd_getserv_r.c
    fsf/trunk/libc/nscd/nscd_helper.c
    fsf/trunk/libc/nscd/servicescache.c
    fsf/trunk/libc/nss/makedb.c
    fsf/trunk/libc/nss/nss_db/db-XXX.c
    fsf/trunk/libc/nss/nss_db/db-initgroups.c
    fsf/trunk/libc/nss/nss_db/db-netgrp.c
    fsf/trunk/libc/nss/nss_files/files-network.c
    fsf/trunk/libc/nss/nss_files/files-parse.c
    fsf/trunk/libc/ports/ChangeLog.aarch64
    fsf/trunk/libc/ports/ChangeLog.alpha
    fsf/trunk/libc/ports/ChangeLog.am33
    fsf/trunk/libc/ports/ChangeLog.arm
    fsf/trunk/libc/ports/ChangeLog.mips
    fsf/trunk/libc/ports/ChangeLog.powerpc
    fsf/trunk/libc/ports/ChangeLog.tile
    fsf/trunk/libc/ports/sysdeps/aarch64/soft-fp/sfp-machine.h
    fsf/trunk/libc/ports/sysdeps/alpha/soft-fp/sfp-machine.h
    fsf/trunk/libc/ports/sysdeps/am33/atomicity.h
    fsf/trunk/libc/ports/sysdeps/mips/bits/atomic.h
    fsf/trunk/libc/ports/sysdeps/mips/mips64/soft-fp/sfp-machine.h
    fsf/trunk/libc/ports/sysdeps/mips/soft-fp/sfp-machine.h
    fsf/trunk/libc/ports/sysdeps/powerpc/soft-fp/sfp-machine.h
    fsf/trunk/libc/ports/sysdeps/tile/tilegx/memusage.h
    fsf/trunk/libc/ports/sysdeps/tile/tilegx/string-endian.h
    fsf/trunk/libc/ports/sysdeps/unix/sysv/linux/arm/bits/atomic.h
    fsf/trunk/libc/ports/sysdeps/unix/sysv/linux/mips/kernel_rt_sigframe.h
    fsf/trunk/libc/posix/bug-regex5.c
    fsf/trunk/libc/posix/fnmatch_loop.c
    fsf/trunk/libc/posix/regcomp.c
    fsf/trunk/libc/posix/regexec.c
    fsf/trunk/libc/posix/tst-rfc3484-2.c
    fsf/trunk/libc/posix/tst-rfc3484-3.c
    fsf/trunk/libc/posix/tst-rfc3484.c
    fsf/trunk/libc/resolv/nss_dns/dns-canon.c
    fsf/trunk/libc/resolv/nss_dns/dns-network.c
    fsf/trunk/libc/resolv/res_init.c
    fsf/trunk/libc/resolv/res_mkquery.c
    fsf/trunk/libc/resolv/tst-aton.c
    fsf/trunk/libc/soft-fp/op-common.h
    fsf/trunk/libc/soft-fp/testit.c
    fsf/trunk/libc/stdlib/cxa_atexit.c
    fsf/trunk/libc/stdlib/cxa_finalize.c
    fsf/trunk/libc/stdlib/gen-fpioconst.c
    fsf/trunk/libc/stdlib/strtol_l.c
    fsf/trunk/libc/string/tst-endian.c
    fsf/trunk/libc/sunrpc/auth_des.c
    fsf/trunk/libc/sunrpc/clnt_udp.c
    fsf/trunk/libc/sunrpc/rtime.c
    fsf/trunk/libc/sunrpc/svcauth_des.c
    fsf/trunk/libc/sunrpc/xdr.c
    fsf/trunk/libc/sunrpc/xdr_intXX_t.c
    fsf/trunk/libc/sunrpc/xdr_rec.c
    fsf/trunk/libc/sysdeps/generic/ldconfig.h
    fsf/trunk/libc/sysdeps/generic/ldsodefs.h
    fsf/trunk/libc/sysdeps/generic/memusage.h
    fsf/trunk/libc/sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c
    fsf/trunk/libc/sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c
    fsf/trunk/libc/sysdeps/ieee754/dbl-64/wordsize-64/math_private.h
    fsf/trunk/libc/sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c
    fsf/trunk/libc/sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c
    fsf/trunk/libc/sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c
    fsf/trunk/libc/sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c
    fsf/trunk/libc/sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c
    fsf/trunk/libc/sysdeps/ieee754/dbl-64/wordsize-64/s_round.c
    fsf/trunk/libc/sysdeps/ieee754/ldbl-128ibm/math_ldbl.h
    fsf/trunk/libc/sysdeps/posix/getaddrinfo.c
    fsf/trunk/libc/sysdeps/powerpc/fpu/e_hypot.c
    fsf/trunk/libc/sysdeps/powerpc/fpu/e_hypotf.c
    fsf/trunk/libc/sysdeps/powerpc/fpu/e_sqrt.c
    fsf/trunk/libc/sysdeps/powerpc/fpu/e_sqrtf.c
    fsf/trunk/libc/sysdeps/powerpc/test-gettimebase.c
    fsf/trunk/libc/sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
    fsf/trunk/libc/sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
    fsf/trunk/libc/sysdeps/unix/sysv/linux/check_pf.c
    fsf/trunk/libc/sysdeps/unix/sysv/linux/getipv4sourcefilter.c
    fsf/trunk/libc/sysdeps/unix/sysv/linux/getsourcefilter.c
    fsf/trunk/libc/sysdeps/unix/sysv/linux/netlinkaccess.h
    fsf/trunk/libc/sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c
    fsf/trunk/libc/sysdeps/unix/sysv/linux/preadv.c
    fsf/trunk/libc/sysdeps/unix/sysv/linux/pwritev.c
    fsf/trunk/libc/sysdeps/unix/sysv/linux/setipv4sourcefilter.c
    fsf/trunk/libc/sysdeps/unix/sysv/linux/setsourcefilter.c
    fsf/trunk/libc/sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c
    fsf/trunk/libc/sysdeps/x86_64/dl-tls.h
    fsf/trunk/libc/sysdeps/x86_64/dl-tlsdesc.h
    fsf/trunk/libc/time/alt_digit.c
    fsf/trunk/libc/time/era.c
    fsf/trunk/libc/wcsmbs/tst-c16c32-1.c

Modified: fsf/trunk/libc/ChangeLog
==============================================================================
--- fsf/trunk/libc/ChangeLog (original)
+++ fsf/trunk/libc/ChangeLog Fri May 17 00:02:10 2013
@@ -1,3 +1,432 @@
+2013-05-16  Maciej W. Rozycki  <macro@xxxxxxxxxxxxxxxx>
+
+	[BZ #15442]
+	* soft-fp/op-common.h (_FP_FRAC_SNANP): New macro.
+	(_FP_FRAC_SNANP_SEMIRAW): Likewise.
+	(_FP_UNPACK_CANONICAL): Use _FP_FRAC_SNANP.
+	(_FP_CHECK_SIGNAN_SEMIRAW): Use _FP_FRAC_SNANP_SEMIRAW.
+	(_FP_SETQNAN): New macro.
+	(_FP_SETQNAN_SEMIRAW): Likewise.
+	(_FP_PACK_SEMIRAW): Use _FP_SETQNAN.
+	(_FP_PACK_CANONICAL): Use _FP_SETQNAN.
+	(_FP_ISSIGNAN): Use _FP_FRAC_SNANP.
+	(FP_EXTEND): Use _FP_FRAC_SNANP.
+	(FP_TRUNC): Use _FP_SETQNAN_SEMIRAW.
+	* soft-fp/testit.c (gen_special_double): Take _FP_QNANNEGATEDP
+	into account.
+	* sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
+	New macro.
+	* sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
+	Likewise.
+
+2013-05-16  Joseph Myers  <joseph@xxxxxxxxxxxxxxxx>
+
+	* math/libm-test.inc (atanh_test_data): Use ERRNO_ERANGE together
+	with DIVIDE_BY_ZERO_EXCEPTION.
+	(gamma_test_data): Likewise.
+	(lgamma_test_data): Likewise.
+	(log_test_data): Likewise.
+	(log10_test_data): Likewise.
+	(log2_test_data): Likewise.
+	(tgamma_test_data): Likewise.
+
+	* math/libm-test.inc (acos_test): Don't test for ENOSYS error.
+	(acos_test_tonearest): Likewise.
+	(acos_test_towardzero): Likewise.
+	(acos_test_downward): Likewise.
+	(acos_test_upward): Likewise.
+	(acosh_test): Likewise.
+	(asin_test): Likewise.
+	(asin_test_tonearest): Likewise.
+	(asin_test_towardzero): Likewise.
+	(asin_test_downward): Likewise.
+	(asin_test_upward): Likewise.
+	(asinh_test): Likewise.
+	(atan_test): Likewise.
+	(atanh_test): Likewise.
+	(atan2_test): Likewise.
+	(cabs_test): Likewise.
+	(cacos_test): Likewise.
+	(cacosh_test): Likewise.
+	(casin_test): Likewise.
+	(casinh_test): Likewise.
+	(catan_test): Likewise.
+	(catanh_test): Likewise.
+	(cbrt_test): Likewise.
+	(ccos_test): Likewise.
+	(ccosh_test): Likewise.
+	(cexp_test): Likewise.
+	(clog_test): Likewise.
+	(clog10_test): Likewise.
+	(cos_test): Likewise.
+	(cos_test_tonearest): Likewise.
+	(cos_test_towardzero): Likewise.
+	(cos_test_downward): Likewise.
+	(cos_test_upward): Likewise.
+	(cosh_test): Likewise.
+	(cosh_test_tonearest): Likewise.
+	(cosh_test_towardzero): Likewise.
+	(cosh_test_downward): Likewise.
+	(cosh_test_upward): Likewise.
+	(cpow_test): Likewise.
+	(csin_test): Likewise.
+	(csinh_test): Likewise.
+	(csqrt_test): Likewise.
+	(ctan_test): Likewise.
+	(ctan_test_tonearest): Likewise.
+	(ctan_test_towardzero): Likewise.
+	(ctan_test_downward): Likewise.
+	(ctan_test_upward): Likewise.
+	(ctanh_test): Likewise.
+	(ctanh_test_tonearest): Likewise.
+	(ctanh_test_towardzero): Likewise.
+	(ctanh_test_downward): Likewise.
+	(ctanh_test_upward): Likewise.
+	(erf_test): Likewise.
+	(erfc_test): Likewise.
+	(exp_test): Likewise.
+	(exp_test_tonearest): Likewise.
+	(exp_test_towardzero): Likewise.
+	(exp_test_downward): Likewise.
+	(exp_test_upward): Likewise.
+	(exp10_test): Likewise.
+	(exp2_test): Likewise.
+	(expm1_test): Likewise.
+	(fmod_test): Likewise.
+	(gamma_test): Likewise.
+	(hypot_test): Likewise.
+	(j0_test): Likewise.
+	(j1_test): Likewise.
+	(jn_test): Likewise.
+	(lgamma_test): Likewise.
+	(log_test): Likewise.
+	(log10_test): Likewise.
+	(log1p_test): Likewise.
+	(log2_test): Likewise.
+	(logb_test_downward): Likewise.
+	(pow_test): Likewise.
+	(pow_test_tonearest): Likewise.
+	(pow_test_towardzero): Likewise.
+	(pow_test_downward): Likewise.
+	(pow_test_upward): Likewise.
+	(remainder_test): Likewise.
+	(remquo_test): Likewise.
+	(sin_test): Likewise.
+	(sin_test_tonearest): Likewise.
+	(sin_test_towardzero): Likewise.
+	(sin_test_downward): Likewise.
+	(sin_test_upward): Likewise.
+	(sincos_test): Likewise.
+	(sinh_test): Likewise.
+	(sinh_test_tonearest): Likewise.
+	(sinh_test_towardzero): Likewise.
+	(sinh_test_downward): Likewise.
+	(sinh_test_upward): Likewise.
+	(sqrt_test): Likewise.
+	(tan_test): Likewise.
+	(tan_test_tonearest): Likewise.
+	(tan_test_towardzero): Likewise.
+	(tan_test_downward): Likewise.
+	(tan_test_upward): Likewise.
+	(tanh_test): Likewise.
+	(tgamma_test): Likewise.
+	(y0_test): Likewise.
+	(y1_test): Likewise.
+	(yn_test): Likewise.
+
+	* math/gen-libm-test.pl (adjust_arg): Remove function.
+	(special_function): Remove argument $in_func.  Only handle
+	generating output for tables of tests, not inside functions.
+	(parse_args): Likewise.
+	(generate_testfile): Remove variable $in_func.  Update call to
+	parse_args.
+	* math/libm-test.inc (PLUS_ZERO_INIT): Rename macro to plus_zero.
+	(MINUS_ZERO_INIT): Rename macro to minus_zero.
+	(PLUS_INFTY_INIT): Rename macro to plus_infty.
+	(MINUS_INFTY_INIT): Rename macro to minus_infty.
+	(QNAN_VALUE_INIT): Rename macro to qnan_value.
+	(MAX_VALUE_INIT): Rename macro to max_value.
+	(MIN_VALUE_INIT): Rename macro to min_value.
+	(MIN_SUBNORM_VALUE_INIT): Rename macro to min_subnorm_value.
+	(plus_zero): Remove variable.
+	(minus_zero): Likewise.
+	(plus_infty): Likewise.
+	(minus_infty): Likewise.
+	(qnan_value): Likewise.
+	(max_value): Likewise.
+	(min_value): Likewise.
+	(min_subnorm_value): Likewise.
+
+2013-05-16  Ryan S. Arnold  <rsa@xxxxxxxxxxxxxxxxxx>
+
+	* crypt/sha512-block.c: Add missing #include <stdint.h> due to
+	uint64_t or uint32_t usage.
+	* crypt/sha256-block.c: Likewise.
+	* crypt/sha256-crypt.c: Likewise.
+	* crypt/sha256.c: Likewise.
+	* crypt/sha512-block.c: Likewise.
+	* crypt/sha512-crypt.c: Likewise.
+	* crypt/sha512.c: Likewise.
+	* debug/backtrace-tst.c: Likewise.
+	* debug/pcprofiledump.c: Likewise.
+	* elf/cache.c: Likewise.
+	* elf/dl-cache.c: Likewise.
+	* elf/dl-misc.c: Likewise.
+	* elf/dl-profile.c: Likewise.
+	* elf/dl-support.c: Likewise.
+	* elf/ldconfig.c: Likewise.
+	* elf/sprof.c: Likewise.
+	* iconv/dummy-repertoire.c: Likewise.
+	* iconv/iconv_charmap.c: Likewise.
+	* iconv/skeleton.c: Likewise.
+	* iconvdata/8bit-generic.c: Likewise.
+	* iconvdata/cp737.h: Likewise.
+	* iconvdata/cp775.h: Likewise.
+	* iconvdata/ibm1008.h: Likewise.
+	* iconvdata/ibm1025.h: Likewise.
+	* iconvdata/ibm1046.h: Likewise.
+	* iconvdata/ibm1097.h: Likewise.
+	* iconvdata/ibm1112.h: Likewise.
+	* iconvdata/ibm1122.h: Likewise.
+	* iconvdata/ibm1123.h: Likewise.
+	* iconvdata/ibm1124.h: Likewise.
+	* iconvdata/ibm1129.h: Likewise.
+	* iconvdata/ibm1130.h: Likewise.
+	* iconvdata/ibm1132.h: Likewise.
+	* iconvdata/ibm1133.h: Likewise.
+	* iconvdata/ibm1137.h: Likewise.
+	* iconvdata/ibm1140.h: Likewise.
+	* iconvdata/ibm1141.h: Likewise.
+	* iconvdata/ibm1142.h: Likewise.
+	* iconvdata/ibm1143.h: Likewise.
+	* iconvdata/ibm1144.h: Likewise.
+	* iconvdata/ibm1145.h: Likewise.
+	* iconvdata/ibm1146.h: Likewise.
+	* iconvdata/ibm1147.h: Likewise.
+	* iconvdata/ibm1148.h: Likewise.
+	* iconvdata/ibm1149.h: Likewise.
+	* iconvdata/ibm1153.h: Likewise.
+	* iconvdata/ibm1154.h: Likewise.
+	* iconvdata/ibm1155.h: Likewise.
+	* iconvdata/ibm1156.h: Likewise.
+	* iconvdata/ibm1157.h: Likewise.
+	* iconvdata/ibm1158.h: Likewise.
+	* iconvdata/ibm1160.h: Likewise.
+	* iconvdata/ibm1161.h: Likewise.
+	* iconvdata/ibm1162.h: Likewise.
+	* iconvdata/ibm1163.h: Likewise.
+	* iconvdata/ibm1164.h: Likewise.
+	* iconvdata/ibm1166.h: Likewise.
+	* iconvdata/ibm1167.h: Likewise.
+	* iconvdata/ibm12712.h: Likewise.
+	* iconvdata/ibm1390.h: Likewise.
+	* iconvdata/ibm1399.h: Likewise.
+	* iconvdata/ibm16804.h: Likewise.
+	* iconvdata/ibm4517.h: Likewise.
+	* iconvdata/ibm4899.h: Likewise.
+	* iconvdata/ibm4909.h: Likewise.
+	* iconvdata/ibm4971.h: Likewise.
+	* iconvdata/ibm5347.h: Likewise.
+	* iconvdata/ibm803.h: Likewise.
+	* iconvdata/ibm856.h: Likewise.
+	* iconvdata/ibm901.h: Likewise.
+	* iconvdata/ibm902.h: Likewise.
+	* iconvdata/ibm9030.h: Likewise.
+	* iconvdata/ibm9066.h: Likewise.
+	* iconvdata/ibm921.h: Likewise.
+	* iconvdata/ibm922.h: Likewise.
+	* iconvdata/ibm9448.h: Likewise.
+	* iconvdata/isiri-3342.h: Likewise.
+	* iconvdata/jis0201.h: Likewise.
+	* include/link.h: Likewise.
+	* include/netdb.h: Likewise.
+	* inet/check_native.c: Likewise.
+	* inet/check_pf.c: Likewise.
+	* inet/getipv4sourcefilter.c: Likewise.
+	* inet/getnameinfo.c: Likewise.
+	* inet/getsourcefilter.c: Likewise.
+	* inet/htonl.c: Likewise.
+	* inet/setipv4sourcefilter.c: Likewise.
+	* inet/setsourcefilter.c: Likewise.
+	* inet/test-inet6_opt.c: Likewise.
+	* inet/tst-network.c: Likewise.
+	* locale/C-collate.c: Likewise.
+	* locale/C-ctype.c: Likewise.
+	* locale/C-time.c: Likewise.
+	* locale/C-translit.h: Likewise.
+	* locale/loadarchive.c: Likewise.
+	* locale/programs/3level.h: Likewise.
+	* locale/programs/charmap.c: Likewise.
+	* locale/programs/charmap.h: Likewise.
+	* locale/programs/ld-address.c: Likewise.
+	* locale/programs/ld-collate.c: Likewise.
+	* locale/programs/ld-ctype.c: Likewise.
+	* locale/programs/ld-identification.c: Likewise.
+	* locale/programs/ld-measurement.c: Likewise.
+	* locale/programs/ld-messages.c: Likewise.
+	* locale/programs/ld-monetary.c: Likewise.
+	* locale/programs/ld-name.c: Likewise.
+	* locale/programs/ld-numeric.c: Likewise.
+	* locale/programs/ld-paper.c: Likewise.
+	* locale/programs/ld-telephone.c: Likewise.
+	* locale/programs/ld-time.c: Likewise.
+	* locale/programs/linereader.c: Likewise.
+	* locale/programs/locale.c: Likewise.
+	* locale/programs/locarchive.c: Likewise.
+	* locale/programs/locfile.h: Likewise.
+	* locale/programs/repertoire.c: Likewise.
+	* locale/programs/simple-hash.c: Likewise.
+	* locale/programs/simple-hash.h: Likewise.
+	* malloc/memusage.c: Likewise.
+	* malloc/memusagestat.c: Likewise.
+	* nis/nis_defaults.c: Likewise.
+	* nis/nis_hash.c: Likewise.
+	* nis/nis_print.c: Likewise.
+	* nis/nis_xdr.c: Likewise.
+	* nscd/connections.c: Likewise.
+	* nscd/hstcache.c: Likewise.
+	* nscd/nscd_gethst_r.c: Likewise.
+	* nscd/nscd_getserv_r.c: Likewise.
+	* nscd/nscd_helper.c: Likewise.
+	* nscd/servicescache.c: Likewise.
+	* nss/makedb.c: Likewise.
+	* nss/nss_db/db-XXX.c: Likewise.
+	* nss/nss_db/db-initgroups.c: Likewise.
+	* nss/nss_db/db-netgrp.c: Likewise.
+	* nss/nss_files/files-network.c: Likewise.
+	* nss/nss_files/files-parse.c: Likewise.
+	* posix/bug-regex5.c: Likewise.
+	* posix/fnmatch_loop.c: Likewise.
+	* posix/regcomp.c: Likewise.
+	* posix/regexec.c: Likewise.
+	* posix/tst-rfc3484-2.c: Likewise.
+	* posix/tst-rfc3484-3.c: Likewise.
+	* posix/tst-rfc3484.c: Likewise.
+	* resolv/nss_dns/dns-canon.c: Likewise.
+	* resolv/nss_dns/dns-network.c: Likewise.
+	* resolv/res_init.c: Likewise.
+	* resolv/res_mkquery.c: Likewise.
+	* resolv/tst-aton.c: Likewise.
+	* stdlib/cxa_atexit.c: Likewise.
+	* stdlib/cxa_finalize.c: Likewise.
+	* stdlib/gen-fpioconst.c: Likewise.
+	* stdlib/strtol_l.c: Likewise.
+	* string/tst-endian.c: Likewise.
+	* sunrpc/auth_des.c: Likewise.
+	* sunrpc/clnt_udp.c: Likewise.
+	* sunrpc/rtime.c: Likewise.
+	* sunrpc/svcauth_des.c: Likewise.
+	* sunrpc/xdr.c: Likewise.
+	* sunrpc/xdr_intXX_t.c: Likewise.
+	* sunrpc/xdr_rec.c: Likewise.
+	* sysdeps/generic/ldconfig.h: Likewise.
+	* sysdeps/generic/ldsodefs.h: Likewise.
+	* sysdeps/generic/memusage.h: Likewise.
+	* sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
+	* sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: Likewise.
+	* sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: Likewise.
+	* sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
+	* sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
+	* sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
+	* sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
+	* sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
+	* sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
+	* sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
+	* sysdeps/posix/getaddrinfo.c: Likewise.
+	* sysdeps/powerpc/fpu/e_hypot.c: Likewise.
+	* sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
+	* sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
+	* sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
+	* sysdeps/powerpc/test-gettimebase.c: Likewise.
+	* sysdeps/unix/sysv/linux/check_pf.c: Likewise.
+	* sysdeps/unix/sysv/linux/getipv4sourcefilter.c: Likewise.
+	* sysdeps/unix/sysv/linux/getsourcefilter.c: Likewise.
+	* sysdeps/unix/sysv/linux/netlinkaccess.h: Likewise.
+	* sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: Likewise.
+	* sysdeps/unix/sysv/linux/preadv.c: Likewise.
+	* sysdeps/unix/sysv/linux/pwritev.c: Likewise.
+	* sysdeps/unix/sysv/linux/setipv4sourcefilter.c: Likewise.
+	* sysdeps/unix/sysv/linux/setsourcefilter.c: Likewise.
+	* sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: Likewise.
+	* sysdeps/x86_64/dl-tls.h: Likewise.
+	* sysdeps/x86_64/dl-tlsdesc.h: Likewise.
+	* time/alt_digit.c: Likewise.
+	* time/era.c: Likewise.
+	* wcsmbs/tst-c16c32-1.c: Likewise.
+
+2013-05-16  Joseph Myers  <joseph@xxxxxxxxxxxxxxxx>
+
+	* math/libm-test.inc (struct test_sincos_data): New type.
+	(RUN_TEST_LOOP_sincos): New macro.
+	(sincos_test_data): New variable.
+	(sincos_test): Run tests with RUN_TEST_LOOP_sincos.
+
+2013-05-16  Richard Henderson  <rth@xxxxxxxxxx>
+
+	* math/atest-exp2.c (LIMB64): New macro.
+	(CONSTSZ): New macro.
+	(mp_exp1, mp_exp_m1, mp_log2): New variables.
+	(hexdig): Move ...
+	(print_mpn_fp): ... to function scope.
+	(read_mpn_hex): Remove.
+	(get_log2): Remove.
+	(exp2_mpn): Use mp_log2.
+	(main): Use mp_exp1.
+
+2013-05-16  Joseph Myers  <joseph@xxxxxxxxxxxxxxxx>
+
+	* math/libm-test.inc: Remove comment about not testing "inexact"
+	exceptions.
+	(INEXACT_EXCEPTION): New macro.
+	(NO_INEXACT_EXCEPTION): Likewise.
+	(INVALID_EXCEPTION_OK): Update value.
+	(DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
+	(OVERFLOW_EXCEPTION_OK): Likewise.
+	(UNDERFLOW_EXCEPTION_OK): Likewise.
+	(IGNORE_ZERO_INF_SIGN): Likewise.
+	(ERRNO_UNCHANGED): Likewise.
+	(ERRNO_EDOM): Likewise.
+	(ERRNO_ERANGE): Likewise.
+	(test_exceptions): Handle testing "inexact" exceptions.
+	(nearbyint_test_data): Use NO_INEXACT_EXCEPTION on all tests.
+	(rint_test_data): Use NO_INEXACT_EXCEPTION and INEXACT_EXCEPTION.
+	(rint_test_data) [LDBL_MANT_DIG <= 100]: Disable some tests.
+	(rint_tonearest_test_data): Use NO_INEXACT_EXCEPTION and
+	INEXACT_EXCEPTION.
+	(rint_towardzero_test_data): Likewise.
+	(rint_downward_test_data): Likewise.
+	(rint_upward_test_data): Likewise.
+
+	* math/libm-test.inc (exp_test_data): Use ERRNO_ERANGE together
+	with OVERFLOW_EXCEPTION.
+	(exp10_test_data): Likewise.
+	(exp2_test_data): Likewise.
+	(expm1_test_data): Likewise.
+	(lgamma_test_data): Likewise.
+	(pow_test_data): Likewise.
+	(tgamma_test_data): Likewise.
+	(yn_test_data): Remove duplicate test of overflow.
+
+	* math/libm-test.inc (struct test_cc_c_data): New type.
+	(RUN_TEST_LOOP_cc_c): New macro.
+	(cpow_test_data): New variable.
+	(cpow_test): Run tests with RUN_TEST_LOOP_cc_c.
+
+	* math/libm-test.inc (struct test_f_L_data): New type.
+	(RUN_TEST_LOOP_f_L): New macro.
+	(llrint_test_data): New variable.
+	(llrint_test): Run tests with RUN_TEST_LOOP_f_L.
+	(llrint_tonearest_test_data): New variable.
+	(llrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_L.
+	(llrint_towardzero_test_data): New variable.
+	(llrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_L.
+	(llrint_downward_test_data): New variable.
+	(llrint_test_downward): Run tests with RUN_TEST_LOOP_f_L.
+	(llrint_upward_test_data): New variable.
+	(llrint_test_upward): Run tests with RUN_TEST_LOOP_f_L.
+	(llround_test_data): New variable.
+	(llround_test): Run tests with RUN_TEST_LOOP_f_L.
+
 2013-05-13  Peter Collingbourne  <pcc@xxxxxxxxxx>
 
 	* math/atest-exp2.c (get_log2): Remove const attribute.

Modified: fsf/trunk/libc/NEWS
==============================================================================
--- fsf/trunk/libc/NEWS (original)
+++ fsf/trunk/libc/NEWS Fri May 17 00:02:10 2013
@@ -17,7 +17,7 @@
   15086, 15160, 15214, 15221, 15232, 15234, 15283, 15285, 15287, 15304,
   15305, 15307, 15309, 15327, 15330, 15335, 15336, 15337, 15342, 15346,
   15359, 15361, 15366, 15380, 15394, 15395, 15405, 15406, 15409, 15416,
-  15418, 15419, 15423, 15426, 15429, 15448.
+  15418, 15419, 15423, 15426, 15429, 15442, 15448.
 
 * CVE-2013-0242 Buffer overrun in regexp matcher has been fixed (Bugzilla
   #15078).

Modified: fsf/trunk/libc/crypt/sha256-block.c
==============================================================================
--- fsf/trunk/libc/crypt/sha256-block.c (original)
+++ fsf/trunk/libc/crypt/sha256-block.c Fri May 17 00:02:10 2013
@@ -1,3 +1,5 @@
+#include <stdint.h>
+
 /* Process LEN bytes of BUFFER, accumulating context into CTX.
    It is assumed that LEN % 64 == 0.  */
 void

Modified: fsf/trunk/libc/crypt/sha256-crypt.c
==============================================================================
--- fsf/trunk/libc/crypt/sha256-crypt.c (original)
+++ fsf/trunk/libc/crypt/sha256-crypt.c Fri May 17 00:02:10 2013
@@ -22,6 +22,7 @@
 #include <stdbool.h>
 #include <stdlib.h>
 #include <string.h>
+#include <stdint.h>
 #include <sys/param.h>
 
 #include "sha256.h"

Modified: fsf/trunk/libc/crypt/sha256.c
==============================================================================
--- fsf/trunk/libc/crypt/sha256.c (original)
+++ fsf/trunk/libc/crypt/sha256.c Fri May 17 00:02:10 2013
@@ -26,6 +26,7 @@
 #include <endian.h>
 #include <stdlib.h>
 #include <string.h>
+#include <stdint.h>
 #include <sys/types.h>
 
 #include "sha256.h"

Modified: fsf/trunk/libc/crypt/sha512-block.c
==============================================================================
--- fsf/trunk/libc/crypt/sha512-block.c (original)
+++ fsf/trunk/libc/crypt/sha512-block.c Fri May 17 00:02:10 2013
@@ -1,3 +1,5 @@
+#include <stdint.h>
+
 /* Process LEN bytes of BUFFER, accumulating context into CTX.
    It is assumed that LEN % 128 == 0.  */
 void

Modified: fsf/trunk/libc/crypt/sha512-crypt.c
==============================================================================
--- fsf/trunk/libc/crypt/sha512-crypt.c (original)
+++ fsf/trunk/libc/crypt/sha512-crypt.c Fri May 17 00:02:10 2013
@@ -22,6 +22,7 @@
 #include <stdbool.h>
 #include <stdlib.h>
 #include <string.h>
+#include <stdint.h>
 #include <sys/param.h>
 
 #include "sha512.h"

Modified: fsf/trunk/libc/crypt/sha512.c
==============================================================================
--- fsf/trunk/libc/crypt/sha512.c (original)
+++ fsf/trunk/libc/crypt/sha512.c Fri May 17 00:02:10 2013
@@ -26,6 +26,7 @@
 #include <endian.h>
 #include <stdlib.h>
 #include <string.h>
+#include <stdint.h>
 #include <sys/types.h>
 
 #include "sha512.h"

Modified: fsf/trunk/libc/debug/backtrace-tst.c
==============================================================================
--- fsf/trunk/libc/debug/backtrace-tst.c (original)
+++ fsf/trunk/libc/debug/backtrace-tst.c Fri May 17 00:02:10 2013
@@ -2,6 +2,7 @@
 #include <inttypes.h>
 #include <stdio.h>
 #include <stdlib.h>
+#include <stdint.h>
 
 
 static int

Modified: fsf/trunk/libc/debug/pcprofiledump.c
==============================================================================
--- fsf/trunk/libc/debug/pcprofiledump.c (original)
+++ fsf/trunk/libc/debug/pcprofiledump.c Fri May 17 00:02:10 2013
@@ -33,6 +33,7 @@
 #include <stdlib.h>
 #include <string.h>
 #include <unistd.h>
+#include <stdint.h>
 
 #include "../version.h"
 

Modified: fsf/trunk/libc/elf/cache.c
==============================================================================
--- fsf/trunk/libc/elf/cache.c (original)
+++ fsf/trunk/libc/elf/cache.c Fri May 17 00:02:10 2013
@@ -25,6 +25,7 @@
 #include <stdlib.h>
 #include <string.h>
 #include <unistd.h>
+#include <stdint.h>
 #include <sys/fcntl.h>
 #include <sys/mman.h>
 #include <sys/stat.h>

Modified: fsf/trunk/libc/elf/dl-cache.c
==============================================================================
--- fsf/trunk/libc/elf/dl-cache.c (original)
+++ fsf/trunk/libc/elf/dl-cache.c Fri May 17 00:02:10 2013
@@ -22,7 +22,7 @@
 #include <sys/mman.h>
 #include <dl-cache.h>
 #include <dl-procinfo.h>
-
+#include <stdint.h>
 #include <_itoa.h>
 
 #ifndef _DL_PLATFORMS_COUNT

Modified: fsf/trunk/libc/elf/dl-misc.c
==============================================================================
--- fsf/trunk/libc/elf/dl-misc.c (original)
+++ fsf/trunk/libc/elf/dl-misc.c Fri May 17 00:02:10 2013
@@ -25,6 +25,7 @@
 #include <stdlib.h>
 #include <string.h>
 #include <unistd.h>
+#include <stdint.h>
 #include <sys/mman.h>
 #include <sys/param.h>
 #include <sys/stat.h>

Modified: fsf/trunk/libc/elf/dl-profile.c
==============================================================================
--- fsf/trunk/libc/elf/dl-profile.c (original)
+++ fsf/trunk/libc/elf/dl-profile.c Fri May 17 00:02:10 2013
@@ -27,6 +27,7 @@
 #include <stdlib.h>
 #include <string.h>
 #include <unistd.h>
+#include <stdint.h>
 #include <ldsodefs.h>
 #include <sys/gmon.h>
 #include <sys/gmon_out.h>

Modified: fsf/trunk/libc/elf/dl-support.c
==============================================================================
--- fsf/trunk/libc/elf/dl-support.c (original)
+++ fsf/trunk/libc/elf/dl-support.c Fri May 17 00:02:10 2013
@@ -24,6 +24,7 @@
 #include <stdlib.h>
 #include <unistd.h>
 #include <sys/param.h>
+#include <stdint.h>
 #include <ldsodefs.h>
 #include <dl-machine.h>
 #include <bits/libc-lock.h>

Modified: fsf/trunk/libc/elf/ldconfig.c
==============================================================================
--- fsf/trunk/libc/elf/ldconfig.c (original)
+++ fsf/trunk/libc/elf/ldconfig.c Fri May 17 00:02:10 2013
@@ -31,6 +31,7 @@
 #include <stdlib.h>
 #include <string.h>
 #include <unistd.h>
+#include <stdint.h>
 #include <sys/fcntl.h>
 #include <sys/mman.h>
 #include <sys/stat.h>

Modified: fsf/trunk/libc/elf/sprof.c
==============================================================================
--- fsf/trunk/libc/elf/sprof.c (original)
+++ fsf/trunk/libc/elf/sprof.c Fri May 17 00:02:10 2013
@@ -32,6 +32,7 @@
 #include <stdlib.h>
 #include <string.h>
 #include <unistd.h>
+#include <stdint.h>
 #include <ldsodefs.h>
 #include <sys/gmon.h>
 #include <sys/gmon_out.h>

Modified: fsf/trunk/libc/iconv/dummy-repertoire.c
==============================================================================
--- fsf/trunk/libc/iconv/dummy-repertoire.c (original)
+++ fsf/trunk/libc/iconv/dummy-repertoire.c Fri May 17 00:02:10 2013
@@ -14,6 +14,8 @@
 
    You should have received a copy of the GNU General Public License
    along with this program; if not, see <http://www.gnu.org/licenses/>.  */
+
+#include <stdint.h>
 
 /* For iconv we don't have to handle repertoire maps.  Provide dummy
    definitions to allow the use of linereader.c unchanged.  */

Modified: fsf/trunk/libc/iconv/iconv_charmap.c
==============================================================================
--- fsf/trunk/libc/iconv/iconv_charmap.c (original)
+++ fsf/trunk/libc/iconv/iconv_charmap.c Fri May 17 00:02:10 2013
@@ -25,6 +25,7 @@
 #include <stdio.h>
 #include <stdlib.h>
 #include <unistd.h>
+#include <stdint.h>
 #include <sys/mman.h>
 #include <sys/stat.h>
 

Modified: fsf/trunk/libc/iconv/skeleton.c
==============================================================================
--- fsf/trunk/libc/iconv/skeleton.c (original)
+++ fsf/trunk/libc/iconv/skeleton.c Fri May 17 00:02:10 2013
@@ -144,6 +144,7 @@
 #endif
 
 #include <sysdep.h>
+#include <stdint.h>
 
 #ifndef DL_CALL_FCT
 # define DL_CALL_FCT(fct, args) fct args

Modified: fsf/trunk/libc/iconvdata/8bit-generic.c
==============================================================================
--- fsf/trunk/libc/iconvdata/8bit-generic.c (original)
+++ fsf/trunk/libc/iconvdata/8bit-generic.c Fri May 17 00:02:10 2013
@@ -18,6 +18,7 @@
    <http://www.gnu.org/licenses/>.  */
 
 #include <dlfcn.h>
+#include <stdint.h>
 
 #define FROM_LOOP		from_generic
 #define TO_LOOP			to_generic

Modified: fsf/trunk/libc/iconvdata/cp737.h
==============================================================================
--- fsf/trunk/libc/iconvdata/cp737.h (original)
+++ fsf/trunk/libc/iconvdata/cp737.h Fri May 17 00:02:10 2013
@@ -16,6 +16,8 @@
    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 <stdint.h>
 
 /* Table to map to UCS4.  It can be generated using
    (I know, this is a useless use of cat, but the linebreak requires it):

Modified: fsf/trunk/libc/iconvdata/cp775.h
==============================================================================
--- fsf/trunk/libc/iconvdata/cp775.h (original)
+++ fsf/trunk/libc/iconvdata/cp775.h Fri May 17 00:02:10 2013
@@ -16,6 +16,8 @@
    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 <stdint.h>
 
 /* Table to map to UCS4.  It can be generated using
    (I know, this is a useless use of cat, but the linebreak requires it):

Modified: fsf/trunk/libc/iconvdata/ibm1008.h
==============================================================================
--- fsf/trunk/libc/iconvdata/ibm1008.h (original)
+++ fsf/trunk/libc/iconvdata/ibm1008.h Fri May 17 00:02:10 2013
@@ -16,6 +16,8 @@
    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 <stdint.h>
 
 static const uint32_t to_ucs4[256] =
 {

Modified: fsf/trunk/libc/iconvdata/ibm1025.h
==============================================================================
--- fsf/trunk/libc/iconvdata/ibm1025.h (original)
+++ fsf/trunk/libc/iconvdata/ibm1025.h Fri May 17 00:02:10 2013
@@ -16,6 +16,8 @@
    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 <stdint.h>
 
 static const uint32_t to_ucs4[256] =
 {

Modified: fsf/trunk/libc/iconvdata/ibm1046.h
==============================================================================
--- fsf/trunk/libc/iconvdata/ibm1046.h (original)
+++ fsf/trunk/libc/iconvdata/ibm1046.h Fri May 17 00:02:10 2013
@@ -16,6 +16,8 @@
    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 <stdint.h>
 
 static const uint32_t to_ucs4[256] =
 {

Modified: fsf/trunk/libc/iconvdata/ibm1097.h
==============================================================================
--- fsf/trunk/libc/iconvdata/ibm1097.h (original)
+++ fsf/trunk/libc/iconvdata/ibm1097.h Fri May 17 00:02:10 2013
@@ -16,6 +16,8 @@
    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 <stdint.h>
 
 static const uint32_t to_ucs4[256] =
 {

Modified: fsf/trunk/libc/iconvdata/ibm1112.h
==============================================================================
--- fsf/trunk/libc/iconvdata/ibm1112.h (original)
+++ fsf/trunk/libc/iconvdata/ibm1112.h Fri May 17 00:02:10 2013
@@ -16,6 +16,8 @@
    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 <stdint.h>
 
 static const uint32_t to_ucs4[256] =
 {

Modified: fsf/trunk/libc/iconvdata/ibm1122.h
==============================================================================
--- fsf/trunk/libc/iconvdata/ibm1122.h (original)
+++ fsf/trunk/libc/iconvdata/ibm1122.h Fri May 17 00:02:10 2013
@@ -16,6 +16,8 @@
    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 <stdint.h>
 
 static const uint32_t to_ucs4[256] =
 {

Modified: fsf/trunk/libc/iconvdata/ibm1123.h
==============================================================================
--- fsf/trunk/libc/iconvdata/ibm1123.h (original)
+++ fsf/trunk/libc/iconvdata/ibm1123.h Fri May 17 00:02:10 2013
@@ -16,6 +16,8 @@
    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 <stdint.h>
 
 static const uint32_t to_ucs4[256] =
 {

Modified: fsf/trunk/libc/iconvdata/ibm1124.h
==============================================================================
--- fsf/trunk/libc/iconvdata/ibm1124.h (original)
+++ fsf/trunk/libc/iconvdata/ibm1124.h Fri May 17 00:02:10 2013
@@ -16,6 +16,8 @@
    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 <stdint.h>
 
 static const uint32_t to_ucs4[256] =
 {

Modified: fsf/trunk/libc/iconvdata/ibm1129.h
==============================================================================
--- fsf/trunk/libc/iconvdata/ibm1129.h (original)
+++ fsf/trunk/libc/iconvdata/ibm1129.h Fri May 17 00:02:10 2013
@@ -16,6 +16,8 @@
    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 <stdint.h>
 
 static const uint32_t to_ucs4[256] =
 {

Modified: fsf/trunk/libc/iconvdata/ibm1130.h
==============================================================================
--- fsf/trunk/libc/iconvdata/ibm1130.h (original)
+++ fsf/trunk/libc/iconvdata/ibm1130.h Fri May 17 00:02:10 2013
@@ -16,6 +16,8 @@
    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 <stdint.h>
 
 static const uint32_t to_ucs4[256] =
 {

Modified: fsf/trunk/libc/iconvdata/ibm1132.h
==============================================================================
--- fsf/trunk/libc/iconvdata/ibm1132.h (original)
+++ fsf/trunk/libc/iconvdata/ibm1132.h Fri May 17 00:02:10 2013
@@ -16,6 +16,8 @@
    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 <stdint.h>
 
 static const uint32_t to_ucs4[256] =
 {

Modified: fsf/trunk/libc/iconvdata/ibm1133.h
==============================================================================
--- fsf/trunk/libc/iconvdata/ibm1133.h (original)
+++ fsf/trunk/libc/iconvdata/ibm1133.h Fri May 17 00:02:10 2013
@@ -16,6 +16,8 @@
    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 <stdint.h>
 
 static const uint32_t to_ucs4[256] =
 {

Modified: fsf/trunk/libc/iconvdata/ibm1137.h
==============================================================================
--- fsf/trunk/libc/iconvdata/ibm1137.h (original)
+++ fsf/trunk/libc/iconvdata/ibm1137.h Fri May 17 00:02:10 2013
@@ -16,6 +16,8 @@
    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 <stdint.h>
 
 static const uint32_t to_ucs4[256] =
 {

Modified: fsf/trunk/libc/iconvdata/ibm1140.h
==============================================================================
--- fsf/trunk/libc/iconvdata/ibm1140.h (original)
+++ fsf/trunk/libc/iconvdata/ibm1140.h Fri May 17 00:02:10 2013
@@ -16,6 +16,8 @@
    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 <stdint.h>
 
 static const uint32_t to_ucs4[256] =
 {

Modified: fsf/trunk/libc/iconvdata/ibm1141.h
==============================================================================
--- fsf/trunk/libc/iconvdata/ibm1141.h (original)
+++ fsf/trunk/libc/iconvdata/ibm1141.h Fri May 17 00:02:10 2013
@@ -16,6 +16,8 @@
    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 <stdint.h>
 
 static const uint32_t to_ucs4[256] =
 {

Modified: fsf/trunk/libc/iconvdata/ibm1142.h
==============================================================================
--- fsf/trunk/libc/iconvdata/ibm1142.h (original)
+++ fsf/trunk/libc/iconvdata/ibm1142.h Fri May 17 00:02:10 2013
@@ -16,6 +16,8 @@
    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 <stdint.h>
 
 static const uint32_t to_ucs4[256] =
 {

Modified: fsf/trunk/libc/iconvdata/ibm1143.h
==============================================================================
--- fsf/trunk/libc/iconvdata/ibm1143.h (original)
+++ fsf/trunk/libc/iconvdata/ibm1143.h Fri May 17 00:02:10 2013
@@ -16,6 +16,8 @@
    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 <stdint.h>
 
 static const uint32_t to_ucs4[256] =
 {

Modified: fsf/trunk/libc/iconvdata/ibm1144.h
==============================================================================
--- fsf/trunk/libc/iconvdata/ibm1144.h (original)
+++ fsf/trunk/libc/iconvdata/ibm1144.h Fri May 17 00:02:10 2013
@@ -16,6 +16,8 @@
    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 <stdint.h>
 
 static const uint32_t to_ucs4[256] =
 {

Modified: fsf/trunk/libc/iconvdata/ibm1145.h
==============================================================================
--- fsf/trunk/libc/iconvdata/ibm1145.h (original)
+++ fsf/trunk/libc/iconvdata/ibm1145.h Fri May 17 00:02:10 2013
@@ -16,6 +16,8 @@
    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 <stdint.h>
 
 static const uint32_t to_ucs4[256] =
 {

Modified: fsf/trunk/libc/iconvdata/ibm1146.h
==============================================================================
--- fsf/trunk/libc/iconvdata/ibm1146.h (original)
+++ fsf/trunk/libc/iconvdata/ibm1146.h Fri May 17 00:02:10 2013
@@ -16,6 +16,8 @@
    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 <stdint.h>
 
 static const uint32_t to_ucs4[256] =
 {

Modified: fsf/trunk/libc/iconvdata/ibm1147.h
==============================================================================
--- fsf/trunk/libc/iconvdata/ibm1147.h (original)
+++ fsf/trunk/libc/iconvdata/ibm1147.h Fri May 17 00:02:10 2013
@@ -16,6 +16,8 @@
    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 <stdint.h>
 
 static const uint32_t to_ucs4[256] =
 {

Modified: fsf/trunk/libc/iconvdata/ibm1148.h
==============================================================================
--- fsf/trunk/libc/iconvdata/ibm1148.h (original)
+++ fsf/trunk/libc/iconvdata/ibm1148.h Fri May 17 00:02:10 2013
@@ -16,6 +16,8 @@
    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 <stdint.h>
 
 static const uint32_t to_ucs4[256] =
 {

Modified: fsf/trunk/libc/iconvdata/ibm1149.h
==============================================================================
--- fsf/trunk/libc/iconvdata/ibm1149.h (original)
+++ fsf/trunk/libc/iconvdata/ibm1149.h Fri May 17 00:02:10 2013
@@ -16,6 +16,8 @@
    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 <stdint.h>
 
 static const uint32_t to_ucs4[256] =
 {

Modified: fsf/trunk/libc/iconvdata/ibm1153.h
==============================================================================
--- fsf/trunk/libc/iconvdata/ibm1153.h (original)
+++ fsf/trunk/libc/iconvdata/ibm1153.h Fri May 17 00:02:10 2013
@@ -16,6 +16,8 @@
    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 <stdint.h>
 
 static const uint32_t to_ucs4[256] =
 {

Modified: fsf/trunk/libc/iconvdata/ibm1154.h
==============================================================================
--- fsf/trunk/libc/iconvdata/ibm1154.h (original)
+++ fsf/trunk/libc/iconvdata/ibm1154.h Fri May 17 00:02:10 2013
@@ -16,6 +16,8 @@
    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 <stdint.h>
 
 static const uint32_t to_ucs4[256] =
 {

Modified: fsf/trunk/libc/iconvdata/ibm1155.h
==============================================================================
--- fsf/trunk/libc/iconvdata/ibm1155.h (original)
+++ fsf/trunk/libc/iconvdata/ibm1155.h Fri May 17 00:02:10 2013
@@ -16,6 +16,8 @@
    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 <stdint.h>
 
 static const uint32_t to_ucs4[256] =
 {

Modified: fsf/trunk/libc/iconvdata/ibm1156.h
==============================================================================
--- fsf/trunk/libc/iconvdata/ibm1156.h (original)
+++ fsf/trunk/libc/iconvdata/ibm1156.h Fri May 17 00:02:10 2013
@@ -16,6 +16,8 @@
    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 <stdint.h>
 
 static const uint32_t to_ucs4[256] =
 {

Modified: fsf/trunk/libc/iconvdata/ibm1157.h
==============================================================================
--- fsf/trunk/libc/iconvdata/ibm1157.h (original)
+++ fsf/trunk/libc/iconvdata/ibm1157.h Fri May 17 00:02:10 2013
@@ -16,6 +16,8 @@
    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 <stdint.h>
 
 static const uint32_t to_ucs4[256] =
 {

Modified: fsf/trunk/libc/iconvdata/ibm1158.h
==============================================================================
--- fsf/trunk/libc/iconvdata/ibm1158.h (original)
+++ fsf/trunk/libc/iconvdata/ibm1158.h Fri May 17 00:02:10 2013
@@ -16,6 +16,8 @@
    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 <stdint.h>
 
 static const uint32_t to_ucs4[256] =
 {

Modified: fsf/trunk/libc/iconvdata/ibm1160.h
==============================================================================
--- fsf/trunk/libc/iconvdata/ibm1160.h (original)
+++ fsf/trunk/libc/iconvdata/ibm1160.h Fri May 17 00:02:10 2013
@@ -16,6 +16,8 @@
    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 <stdint.h>
 
 static const uint32_t to_ucs4[256] =
 {

Modified: fsf/trunk/libc/iconvdata/ibm1161.h
==============================================================================
--- fsf/trunk/libc/iconvdata/ibm1161.h (original)
+++ fsf/trunk/libc/iconvdata/ibm1161.h Fri May 17 00:02:10 2013
@@ -16,6 +16,8 @@
    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 <stdint.h>
 
 static const uint32_t to_ucs4[256] =
 {

Modified: fsf/trunk/libc/iconvdata/ibm1162.h
==============================================================================
--- fsf/trunk/libc/iconvdata/ibm1162.h (original)
+++ fsf/trunk/libc/iconvdata/ibm1162.h Fri May 17 00:02:10 2013
@@ -16,6 +16,8 @@
    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 <stdint.h>
 
 static const uint32_t to_ucs4[256] =
 {

Modified: fsf/trunk/libc/iconvdata/ibm1163.h
==============================================================================
--- fsf/trunk/libc/iconvdata/ibm1163.h (original)
+++ fsf/trunk/libc/iconvdata/ibm1163.h Fri May 17 00:02:10 2013
@@ -16,6 +16,8 @@
    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 <stdint.h>
 
 static const uint32_t to_ucs4[256] =
 {

Modified: fsf/trunk/libc/iconvdata/ibm1164.h
==============================================================================
--- fsf/trunk/libc/iconvdata/ibm1164.h (original)
+++ fsf/trunk/libc/iconvdata/ibm1164.h Fri May 17 00:02:10 2013
@@ -16,6 +16,8 @@
    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 <stdint.h>
 
 static const uint32_t to_ucs4[256] =
 {

Modified: fsf/trunk/libc/iconvdata/ibm1166.h
==============================================================================
--- fsf/trunk/libc/iconvdata/ibm1166.h (original)
+++ fsf/trunk/libc/iconvdata/ibm1166.h Fri May 17 00:02:10 2013
@@ -16,6 +16,8 @@
    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 <stdint.h>
 
 static const uint32_t to_ucs4[256] =
 {

Modified: fsf/trunk/libc/iconvdata/ibm1167.h
==============================================================================
--- fsf/trunk/libc/iconvdata/ibm1167.h (original)
+++ fsf/trunk/libc/iconvdata/ibm1167.h Fri May 17 00:02:10 2013
@@ -16,6 +16,8 @@
    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 <stdint.h>
 
 static const uint32_t to_ucs4[256] =
 {

Modified: fsf/trunk/libc/iconvdata/ibm12712.h
==============================================================================
--- fsf/trunk/libc/iconvdata/ibm12712.h (original)
+++ fsf/trunk/libc/iconvdata/ibm12712.h Fri May 17 00:02:10 2013
@@ -16,6 +16,8 @@
    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 <stdint.h>
 
 static const uint32_t to_ucs4[256] =
 {

Modified: fsf/trunk/libc/iconvdata/ibm1390.h
==============================================================================
--- fsf/trunk/libc/iconvdata/ibm1390.h (original)
+++ fsf/trunk/libc/iconvdata/ibm1390.h Fri May 17 00:02:10 2013
@@ -19,6 +19,8 @@
 
 #ifndef _IBM1390_H
 #define _IBM1390_H 1
+
+#include <stdint.h>
 
 struct gap
 {

Modified: fsf/trunk/libc/iconvdata/ibm1399.h
==============================================================================
--- fsf/trunk/libc/iconvdata/ibm1399.h (original)
+++ fsf/trunk/libc/iconvdata/ibm1399.h Fri May 17 00:02:10 2013
@@ -19,6 +19,8 @@
 
 #ifndef _IBM1399_H
 #define _IBM1399_H 1
+
+#include <stdint.h>
 
 struct gap
 {

Modified: fsf/trunk/libc/iconvdata/ibm16804.h
==============================================================================
--- fsf/trunk/libc/iconvdata/ibm16804.h (original)
+++ fsf/trunk/libc/iconvdata/ibm16804.h Fri May 17 00:02:10 2013
@@ -16,6 +16,8 @@
    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 <stdint.h>
 
 static const uint32_t to_ucs4[256] =
 {

Modified: fsf/trunk/libc/iconvdata/ibm4517.h
==============================================================================
--- fsf/trunk/libc/iconvdata/ibm4517.h (original)
+++ fsf/trunk/libc/iconvdata/ibm4517.h Fri May 17 00:02:10 2013
@@ -16,6 +16,8 @@
    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 <stdint.h>
 
 static const uint32_t to_ucs4[256] =
 {

Modified: fsf/trunk/libc/iconvdata/ibm4899.h
==============================================================================
--- fsf/trunk/libc/iconvdata/ibm4899.h (original)
+++ fsf/trunk/libc/iconvdata/ibm4899.h Fri May 17 00:02:10 2013
@@ -16,6 +16,8 @@
    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 <stdint.h>
 
 static const uint32_t to_ucs4[256] =
 {

Modified: fsf/trunk/libc/iconvdata/ibm4909.h
==============================================================================
--- fsf/trunk/libc/iconvdata/ibm4909.h (original)
+++ fsf/trunk/libc/iconvdata/ibm4909.h Fri May 17 00:02:10 2013
@@ -16,6 +16,8 @@
    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 <stdint.h>
 
 static const uint32_t to_ucs4[256] =
 {

Modified: fsf/trunk/libc/iconvdata/ibm4971.h
==============================================================================
--- fsf/trunk/libc/iconvdata/ibm4971.h (original)
+++ fsf/trunk/libc/iconvdata/ibm4971.h Fri May 17 00:02:10 2013
@@ -16,6 +16,8 @@
    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 <stdint.h>
 
 static const uint32_t to_ucs4[256] =
 {

Modified: fsf/trunk/libc/iconvdata/ibm5347.h
==============================================================================
--- fsf/trunk/libc/iconvdata/ibm5347.h (original)
+++ fsf/trunk/libc/iconvdata/ibm5347.h Fri May 17 00:02:10 2013
@@ -16,6 +16,8 @@
    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 <stdint.h>
 
 static const uint32_t to_ucs4[256] =
 {

Modified: fsf/trunk/libc/iconvdata/ibm803.h
==============================================================================
--- fsf/trunk/libc/iconvdata/ibm803.h (original)
+++ fsf/trunk/libc/iconvdata/ibm803.h Fri May 17 00:02:10 2013
@@ -16,6 +16,8 @@
    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 <stdint.h>
 
 static const uint32_t to_ucs4[256] =
 {

Modified: fsf/trunk/libc/iconvdata/ibm856.h
==============================================================================
--- fsf/trunk/libc/iconvdata/ibm856.h (original)
+++ fsf/trunk/libc/iconvdata/ibm856.h Fri May 17 00:02:10 2013
@@ -16,6 +16,8 @@
    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 <stdint.h>
 
 static const uint32_t to_ucs4[256] =
 {

Modified: fsf/trunk/libc/iconvdata/ibm901.h
==============================================================================
--- fsf/trunk/libc/iconvdata/ibm901.h (original)
+++ fsf/trunk/libc/iconvdata/ibm901.h Fri May 17 00:02:10 2013
@@ -16,6 +16,8 @@
    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 <stdint.h>
 
 static const uint32_t to_ucs4[256] =
 {

Modified: fsf/trunk/libc/iconvdata/ibm902.h
==============================================================================
--- fsf/trunk/libc/iconvdata/ibm902.h (original)
+++ fsf/trunk/libc/iconvdata/ibm902.h Fri May 17 00:02:10 2013
@@ -16,6 +16,8 @@
    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 <stdint.h>
 
 static const uint32_t to_ucs4[256] =
 {

Modified: fsf/trunk/libc/iconvdata/ibm9030.h
==============================================================================
--- fsf/trunk/libc/iconvdata/ibm9030.h (original)
+++ fsf/trunk/libc/iconvdata/ibm9030.h Fri May 17 00:02:10 2013
@@ -16,6 +16,8 @@
    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 <stdint.h>
 
 static const uint32_t to_ucs4[256] =
 {

Modified: fsf/trunk/libc/iconvdata/ibm9066.h
==============================================================================
--- fsf/trunk/libc/iconvdata/ibm9066.h (original)
+++ fsf/trunk/libc/iconvdata/ibm9066.h Fri May 17 00:02:10 2013
@@ -16,6 +16,8 @@
    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 <stdint.h>
 
 static const uint32_t to_ucs4[256] =
 {

Modified: fsf/trunk/libc/iconvdata/ibm921.h
==============================================================================
--- fsf/trunk/libc/iconvdata/ibm921.h (original)
+++ fsf/trunk/libc/iconvdata/ibm921.h Fri May 17 00:02:10 2013
@@ -16,6 +16,8 @@
    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 <stdint.h>
 
 static const uint32_t to_ucs4[256] =
 {

Modified: fsf/trunk/libc/iconvdata/ibm922.h
==============================================================================
--- fsf/trunk/libc/iconvdata/ibm922.h (original)
+++ fsf/trunk/libc/iconvdata/ibm922.h Fri May 17 00:02:10 2013
@@ -16,6 +16,8 @@
    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 <stdint.h>
 
 static const uint32_t to_ucs4[256] =
 {

Modified: fsf/trunk/libc/iconvdata/ibm9448.h
==============================================================================
--- fsf/trunk/libc/iconvdata/ibm9448.h (original)
+++ fsf/trunk/libc/iconvdata/ibm9448.h Fri May 17 00:02:10 2013
@@ -16,6 +16,8 @@
    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 <stdint.h>
 
 static const uint32_t to_ucs4[256] =
 {

Modified: fsf/trunk/libc/iconvdata/isiri-3342.h
==============================================================================
--- fsf/trunk/libc/iconvdata/isiri-3342.h (original)
+++ fsf/trunk/libc/iconvdata/isiri-3342.h Fri May 17 00:02:10 2013
@@ -1,3 +1,5 @@
+#include <stdint.h>
+
 static const uint32_t to_ucs4[256] = {
   [0x01] = 0x0001,
   [0x02] = 0x0002,

Modified: fsf/trunk/libc/iconvdata/jis0201.h
==============================================================================
--- fsf/trunk/libc/iconvdata/jis0201.h (original)
+++ fsf/trunk/libc/iconvdata/jis0201.h Fri May 17 00:02:10 2013
@@ -19,6 +19,8 @@
 
 #ifndef _JIS0201_H
 #define _JIS0201_H	1
+
+#include <stdint.h>
 
 /* Conversion table.  */
 extern const uint32_t __jisx0201_to_ucs4[];

Modified: fsf/trunk/libc/include/link.h
==============================================================================
--- fsf/trunk/libc/include/link.h (original)
+++ fsf/trunk/libc/include/link.h Fri May 17 00:02:10 2013
@@ -37,7 +37,7 @@
 extern unsigned int la_objopen (struct link_map *__map, Lmid_t __lmid,
 				uintptr_t *__cookie);
 
-
+#include <stdint.h>
 #include <stddef.h>
 #include <bits/linkmap.h>
 #include <dl-lookupcfg.h>

Modified: fsf/trunk/libc/include/netdb.h
==============================================================================
--- fsf/trunk/libc/include/netdb.h (original)
+++ fsf/trunk/libc/include/netdb.h Fri May 17 00:02:10 2013
@@ -1,5 +1,6 @@
 #ifndef	_NETDB_H
 #include <resolv/netdb.h>
+#include <stdint.h>
 
 #ifndef _ISOMAC
 /* Macros for accessing h_errno from inside libc.  */

Modified: fsf/trunk/libc/inet/check_native.c
==============================================================================
--- fsf/trunk/libc/inet/check_native.c (original)
+++ fsf/trunk/libc/inet/check_native.c Fri May 17 00:02:10 2013
@@ -17,7 +17,7 @@
    <http://www.gnu.org/licenses/>.  */
 
 #include <ifaddrs.h>
-
+#include <stdint.h>
 
 void
 attribute_hidden

Modified: fsf/trunk/libc/inet/check_pf.c
==============================================================================
--- fsf/trunk/libc/inet/check_pf.c (original)
+++ fsf/trunk/libc/inet/check_pf.c Fri May 17 00:02:10 2013
@@ -18,7 +18,7 @@
 
 #include <ifaddrs.h>
 #include <netdb.h>
-
+#include <stdint.h>
 
 void
 attribute_hidden

Modified: fsf/trunk/libc/inet/getipv4sourcefilter.c
==============================================================================
--- fsf/trunk/libc/inet/getipv4sourcefilter.c (original)
+++ fsf/trunk/libc/inet/getipv4sourcefilter.c Fri May 17 00:02:10 2013
@@ -18,6 +18,7 @@
    <http://www.gnu.org/licenses/>.  */
 
 #include <errno.h>
+#include <stdint.h>
 #include <netinet/in.h>
 
 

Modified: fsf/trunk/libc/inet/getnameinfo.c
==============================================================================
--- fsf/trunk/libc/inet/getnameinfo.c (original)
+++ fsf/trunk/libc/inet/getnameinfo.c Fri May 17 00:02:10 2013
@@ -43,6 +43,7 @@
 #include <stdio.h>
 #include <string.h>
 #include <unistd.h>
+#include <stdint.h>
 #include <arpa/inet.h>
 #include <net/if.h>
 #include <netinet/in.h>

Modified: fsf/trunk/libc/inet/getsourcefilter.c
==============================================================================
--- fsf/trunk/libc/inet/getsourcefilter.c (original)
+++ fsf/trunk/libc/inet/getsourcefilter.c Fri May 17 00:02:10 2013
@@ -19,7 +19,7 @@
 
 #include <errno.h>
 #include <netinet/in.h>
-
+#include <stdint.h>
 
 int
 getsourcefilter (int s, uint32_t interface, const struct sockaddr *group,

Modified: fsf/trunk/libc/inet/htonl.c
==============================================================================
--- fsf/trunk/libc/inet/htonl.c (original)
+++ fsf/trunk/libc/inet/htonl.c Fri May 17 00:02:10 2013
@@ -15,6 +15,7 @@
    License along with the GNU C Library; if not, see
    <http://www.gnu.org/licenses/>.  */
 
+#include <stdint.h>
 #include <netinet/in.h>
 
 #undef	htonl

Modified: fsf/trunk/libc/inet/setipv4sourcefilter.c
==============================================================================
--- fsf/trunk/libc/inet/setipv4sourcefilter.c (original)
+++ fsf/trunk/libc/inet/setipv4sourcefilter.c Fri May 17 00:02:10 2013
@@ -18,6 +18,7 @@
    <http://www.gnu.org/licenses/>.  */
 
 #include <errno.h>
+#include <stdint.h>
 #include <netinet/in.h>
 
 

Modified: fsf/trunk/libc/inet/setsourcefilter.c
==============================================================================
--- fsf/trunk/libc/inet/setsourcefilter.c (original)
+++ fsf/trunk/libc/inet/setsourcefilter.c Fri May 17 00:02:10 2013
@@ -18,6 +18,7 @@
    <http://www.gnu.org/licenses/>.  */
 
 #include <errno.h>
+#include <stdint.h>
 #include <netinet/in.h>
 
 

Modified: fsf/trunk/libc/inet/test-inet6_opt.c
==============================================================================
--- fsf/trunk/libc/inet/test-inet6_opt.c (original)
+++ fsf/trunk/libc/inet/test-inet6_opt.c Fri May 17 00:02:10 2013
@@ -2,6 +2,7 @@
 #include <stdio.h>
 #include <stdlib.h>
 #include <string.h>
+#include <stdint.h>
 
 #define OPT_X	42
 #define OPT_Y	43

Modified: fsf/trunk/libc/inet/tst-network.c
==============================================================================
--- fsf/trunk/libc/inet/tst-network.c (original)
+++ fsf/trunk/libc/inet/tst-network.c Fri May 17 00:02:10 2013
@@ -18,6 +18,7 @@
    <http://www.gnu.org/licenses/>.  */
 
 #include <stdio.h>
+#include <stdint.h>
 #include <sys/socket.h>
 #include <netinet/in.h>
 #include <arpa/inet.h>

Modified: fsf/trunk/libc/libidn/ChangeLog
==============================================================================
--- fsf/trunk/libc/libidn/ChangeLog (original)
+++ fsf/trunk/libc/libidn/ChangeLog Fri May 17 00:02:10 2013
@@ -1,3 +1,10 @@
+2013-05-16  Ryan S. Arnold  <rsa@xxxxxxxxxxxxxxxxxx>
+
+	* idna.c: Add missing #include <stdint.h> due to uint64_t or uint32_t
+	usage.
+	* nfkc.c: Likewise.
+	* stringprep.c: Likewise.
+
 2013-01-02  Joseph Myers  <joseph@xxxxxxxxxxxxxxxx>
 
 	* All files with FSF copyright notices: Update copyright dates

Modified: fsf/trunk/libc/libidn/idna.c
==============================================================================
--- fsf/trunk/libc/libidn/idna.c (original)
+++ fsf/trunk/libc/libidn/idna.c Fri May 17 00:02:10 2013
@@ -25,6 +25,7 @@
 #include <string.h>
 #include <stringprep.h>
 #include <punycode.h>
+#include <stdint.h>
 
 #include "idna.h"
 

Modified: fsf/trunk/libc/libidn/nfkc.c
==============================================================================
--- fsf/trunk/libc/libidn/nfkc.c (original)
+++ fsf/trunk/libc/libidn/nfkc.c Fri May 17 00:02:10 2013
@@ -23,6 +23,7 @@
 
 #include <stdlib.h>
 #include <string.h>
+#include <stdint.h>
 
 #include "stringprep.h"
 

Modified: fsf/trunk/libc/libidn/stringprep.c
==============================================================================
--- fsf/trunk/libc/libidn/stringprep.c (original)
+++ fsf/trunk/libc/libidn/stringprep.c Fri May 17 00:02:10 2013
@@ -23,6 +23,7 @@
 
 #include <stdlib.h>
 #include <string.h>
+#include <stdint.h>
 
 #include "stringprep.h"
 

Modified: fsf/trunk/libc/locale/C-collate.c
==============================================================================
--- fsf/trunk/libc/locale/C-collate.c (original)
+++ fsf/trunk/libc/locale/C-collate.c Fri May 17 00:02:10 2013
@@ -17,6 +17,7 @@
    <http://www.gnu.org/licenses/>.  */
 
 #include <endian.h>
+#include <stdint.h>
 #include "localeinfo.h"
 
 static const char collseqmb[] =

Modified: fsf/trunk/libc/locale/C-ctype.c
==============================================================================
--- fsf/trunk/libc/locale/C-ctype.c (original)
+++ fsf/trunk/libc/locale/C-ctype.c Fri May 17 00:02:10 2013
@@ -18,6 +18,7 @@
 
 #include "localeinfo.h"
 #include <endian.h>
+#include <stdint.h>
 
 #include "C-translit.h"
 

Modified: fsf/trunk/libc/locale/C-time.c
==============================================================================
--- fsf/trunk/libc/locale/C-time.c (original)
+++ fsf/trunk/libc/locale/C-time.c Fri May 17 00:02:10 2013
@@ -16,6 +16,7 @@
    License along with the GNU C Library; if not, see
    <http://www.gnu.org/licenses/>.  */
 
+#include <stdint.h>
 #include "localeinfo.h"
 
 /* This table's entries are taken from POSIX.2 Table 2-11

Modified: fsf/trunk/libc/locale/C-translit.h
==============================================================================
--- fsf/trunk/libc/locale/C-translit.h (original)
+++ fsf/trunk/libc/locale/C-translit.h Fri May 17 00:02:10 2013
@@ -1,3 +1,5 @@
+#include <stdint.h>
+
 #define NTRANSLIT 1355
 static const uint32_t translit_from_idx[] =
 {

Modified: fsf/trunk/libc/locale/loadarchive.c
==============================================================================
--- fsf/trunk/libc/locale/loadarchive.c (original)
+++ fsf/trunk/libc/locale/loadarchive.c Fri May 17 00:02:10 2013
@@ -25,6 +25,7 @@
 #include <string.h>
 #include <fcntl.h>
 #include <unistd.h>
+#include <stdint.h>
 #include <sys/mman.h>
 #include <sys/stat.h>
 #include <sys/param.h>

Modified: fsf/trunk/libc/locale/programs/3level.h
==============================================================================
--- fsf/trunk/libc/locale/programs/3level.h (original)
+++ fsf/trunk/libc/locale/programs/3level.h Fri May 17 00:02:10 2013
@@ -14,6 +14,8 @@
 
    You should have received a copy of the GNU General Public License
    along with this program; if not, see <http://www.gnu.org/licenses/>.  */
+
+#include <stdint.h>
 
 /* Construction of sparse 3-level tables.
    See wchar-lookup.h or coll-lookup.h for their structure and the

Modified: fsf/trunk/libc/locale/programs/charmap.c
==============================================================================
--- fsf/trunk/libc/locale/programs/charmap.c (original)
+++ fsf/trunk/libc/locale/programs/charmap.c Fri May 17 00:02:10 2013
@@ -27,6 +27,7 @@
 #include <stdlib.h>
 #include <string.h>
 #include <error.h>
+#include <stdint.h>
 
 #include "localedef.h"
 #include "linereader.h"

Modified: fsf/trunk/libc/locale/programs/charmap.h
==============================================================================
--- fsf/trunk/libc/locale/programs/charmap.h (original)
+++ fsf/trunk/libc/locale/programs/charmap.h Fri May 17 00:02:10 2013
@@ -20,6 +20,7 @@
 
 #include <obstack.h>
 #include <stdbool.h>
+#include <stdint.h>
 
 #include "repertoire.h"
 #include "simple-hash.h"

Modified: fsf/trunk/libc/locale/programs/ld-address.c
==============================================================================
--- fsf/trunk/libc/locale/programs/ld-address.c (original)
+++ fsf/trunk/libc/locale/programs/ld-address.c Fri May 17 00:02:10 2013
@@ -23,6 +23,7 @@
 #include <error.h>
 #include <langinfo.h>
 #include <string.h>
+#include <stdint.h>
 #include <sys/uio.h>
 
 #include <assert.h>

Modified: fsf/trunk/libc/locale/programs/ld-collate.c
==============================================================================
--- fsf/trunk/libc/locale/programs/ld-collate.c (original)
+++ fsf/trunk/libc/locale/programs/ld-collate.c Fri May 17 00:02:10 2013
@@ -23,6 +23,7 @@
 #include <error.h>
 #include <stdlib.h>
 #include <wchar.h>
+#include <stdint.h>
 #include <sys/param.h>
 
 #include "localedef.h"

Modified: fsf/trunk/libc/locale/programs/ld-ctype.c
==============================================================================
--- fsf/trunk/libc/locale/programs/ld-ctype.c (original)
+++ fsf/trunk/libc/locale/programs/ld-ctype.c Fri May 17 00:02:10 2013
@@ -29,6 +29,7 @@
 #include <string.h>
 #include <wchar.h>
 #include <wctype.h>
+#include <stdint.h>
 #include <sys/uio.h>
 
 #include "localedef.h"

Modified: fsf/trunk/libc/locale/programs/ld-identification.c
==============================================================================
--- fsf/trunk/libc/locale/programs/ld-identification.c (original)
+++ fsf/trunk/libc/locale/programs/ld-identification.c Fri May 17 00:02:10 2013
@@ -23,6 +23,7 @@
 #include <langinfo.h>
 #include <stdlib.h>
 #include <string.h>
+#include <stdint.h>
 #include <sys/uio.h>
 
 #include <assert.h>

Modified: fsf/trunk/libc/locale/programs/ld-measurement.c
==============================================================================
--- fsf/trunk/libc/locale/programs/ld-measurement.c (original)
+++ fsf/trunk/libc/locale/programs/ld-measurement.c Fri May 17 00:02:10 2013
@@ -22,6 +22,7 @@
 #include <error.h>
 #include <langinfo.h>
 #include <string.h>
+#include <stdint.h>
 #include <sys/uio.h>
 
 #include <assert.h>

Modified: fsf/trunk/libc/locale/programs/ld-messages.c
==============================================================================
--- fsf/trunk/libc/locale/programs/ld-messages.c (original)
+++ fsf/trunk/libc/locale/programs/ld-messages.c Fri May 17 00:02:10 2013
@@ -23,6 +23,7 @@
 #include <sys/types.h>
 #include <regex.h>
 #include <string.h>
+#include <stdint.h>
 #include <sys/uio.h>
 
 #include <assert.h>

Modified: fsf/trunk/libc/locale/programs/ld-monetary.c
==============================================================================
--- fsf/trunk/libc/locale/programs/ld-monetary.c (original)
+++ fsf/trunk/libc/locale/programs/ld-monetary.c Fri May 17 00:02:10 2013
@@ -24,6 +24,7 @@
 #include <limits.h>
 #include <stdlib.h>
 #include <string.h>
+#include <stdint.h>
 #include <sys/uio.h>
 
 #include <assert.h>

Modified: fsf/trunk/libc/locale/programs/ld-name.c
==============================================================================
--- fsf/trunk/libc/locale/programs/ld-name.c (original)
+++ fsf/trunk/libc/locale/programs/ld-name.c Fri May 17 00:02:10 2013
@@ -21,6 +21,7 @@
 
 #include <langinfo.h>
 #include <string.h>
+#include <stdint.h>
 #include <sys/uio.h>
 
 #include <assert.h>

Modified: fsf/trunk/libc/locale/programs/ld-numeric.c
==============================================================================
--- fsf/trunk/libc/locale/programs/ld-numeric.c (original)
+++ fsf/trunk/libc/locale/programs/ld-numeric.c Fri May 17 00:02:10 2013
@@ -21,6 +21,7 @@
 
 #include <langinfo.h>
 #include <string.h>
+#include <stdint.h>
 #include <sys/uio.h>
 
 #include <assert.h>

Modified: fsf/trunk/libc/locale/programs/ld-paper.c
==============================================================================
--- fsf/trunk/libc/locale/programs/ld-paper.c (original)
+++ fsf/trunk/libc/locale/programs/ld-paper.c Fri May 17 00:02:10 2013
@@ -22,6 +22,7 @@
 #include <error.h>
 #include <langinfo.h>
 #include <string.h>
+#include <stdint.h>
 #include <sys/uio.h>
 
 #include <assert.h>

Modified: fsf/trunk/libc/locale/programs/ld-telephone.c
==============================================================================
--- fsf/trunk/libc/locale/programs/ld-telephone.c (original)
+++ fsf/trunk/libc/locale/programs/ld-telephone.c Fri May 17 00:02:10 2013
@@ -22,6 +22,7 @@
 #include <error.h>
 #include <langinfo.h>
 #include <string.h>
+#include <stdint.h>
 #include <sys/uio.h>
 
 #include <assert.h>

Modified: fsf/trunk/libc/locale/programs/ld-time.c
==============================================================================
--- fsf/trunk/libc/locale/programs/ld-time.c (original)
+++ fsf/trunk/libc/locale/programs/ld-time.c Fri May 17 00:02:10 2013
@@ -24,6 +24,7 @@
 #include <stdlib.h>
 #include <string.h>
 #include <wchar.h>
+#include <stdint.h>
 #include <sys/uio.h>
 
 #include <assert.h>

Modified: fsf/trunk/libc/locale/programs/linereader.c
==============================================================================
--- fsf/trunk/libc/locale/programs/linereader.c (original)
+++ fsf/trunk/libc/locale/programs/linereader.c Fri May 17 00:02:10 2013
@@ -26,6 +26,7 @@
 #include <stdarg.h>
 #include <stdlib.h>
 #include <string.h>
+#include <stdint.h>
 
 #include "localedef.h"
 #include "charmap.h"

Modified: fsf/trunk/libc/locale/programs/locale.c
==============================================================================
--- fsf/trunk/libc/locale/programs/locale.c (original)
+++ fsf/trunk/libc/locale/programs/locale.c Fri May 17 00:02:10 2013
@@ -36,6 +36,7 @@
 #include <stdlib.h>
 #include <string.h>
 #include <unistd.h>
+#include <stdint.h>
 #include <sys/mman.h>
 #include <sys/stat.h>
 

Modified: fsf/trunk/libc/locale/programs/locarchive.c
==============================================================================
--- fsf/trunk/libc/locale/programs/locarchive.c (original)
+++ fsf/trunk/libc/locale/programs/locarchive.c Fri May 17 00:02:10 2013
@@ -34,6 +34,7 @@
 #include <string.h>
 #include <time.h>
 #include <unistd.h>
+#include <stdint.h>
 #include <sys/mman.h>
 #include <sys/param.h>
 #include <sys/stat.h>

Modified: fsf/trunk/libc/locale/programs/locfile.h
==============================================================================
--- fsf/trunk/libc/locale/programs/locfile.h (original)
+++ fsf/trunk/libc/locale/programs/locfile.h Fri May 17 00:02:10 2013
@@ -18,6 +18,7 @@
 #ifndef _LOCFILE_H
 #define _LOCFILE_H	1
 
+#include <stdint.h>
 #include <sys/uio.h>
 
 #include "linereader.h"

Modified: fsf/trunk/libc/locale/programs/repertoire.c
==============================================================================
--- fsf/trunk/libc/locale/programs/repertoire.c (original)
+++ fsf/trunk/libc/locale/programs/repertoire.c Fri May 17 00:02:10 2013
@@ -27,6 +27,7 @@
 #include <stdlib.h>
 #include <string.h>
 #include <unistd.h>
+#include <stdint.h>
 
 #include "localedef.h"
 #include "linereader.h"

Modified: fsf/trunk/libc/locale/programs/simple-hash.c
==============================================================================
--- fsf/trunk/libc/locale/programs/simple-hash.c (original)
+++ fsf/trunk/libc/locale/programs/simple-hash.c Fri May 17 00:02:10 2013
@@ -24,6 +24,7 @@
 #include <stdio.h>
 #include <stdlib.h>
 #include <string.h>
+#include <stdint.h>
 #include <sys/types.h>
 
 #if HAVE_OBSTACK

Modified: fsf/trunk/libc/locale/programs/simple-hash.h
==============================================================================
--- fsf/trunk/libc/locale/programs/simple-hash.h (original)
+++ fsf/trunk/libc/locale/programs/simple-hash.h Fri May 17 00:02:10 2013
@@ -20,6 +20,7 @@
 
 #include <inttypes.h>
 #include <obstack.h>
+#include <stdint.h>
 
 typedef struct hash_table
 {

Modified: fsf/trunk/libc/malloc/memusage.c
==============================================================================
--- fsf/trunk/libc/malloc/memusage.c (original)
+++ fsf/trunk/libc/malloc/memusage.c Fri May 17 00:02:10 2013
@@ -30,6 +30,7 @@
 #include <stdlib.h>
 #include <string.h>
 #include <unistd.h>
+#include <stdint.h>
 #include <sys/mman.h>
 #include <sys/time.h>
 

Modified: fsf/trunk/libc/malloc/memusagestat.c
==============================================================================
--- fsf/trunk/libc/malloc/memusagestat.c (original)
+++ fsf/trunk/libc/malloc/memusagestat.c Fri May 17 00:02:10 2013
@@ -30,6 +30,7 @@
 #include <stdlib.h>
 #include <string.h>
 #include <unistd.h>
+#include <stdint.h>
 #include <sys/param.h>
 #include <sys/stat.h>
 

Modified: fsf/trunk/libc/math/atest-exp2.c
==============================================================================
--- fsf/trunk/libc/math/atest-exp2.c (original)
+++ fsf/trunk/libc/math/atest-exp2.c Fri May 17 00:02:10 2013
@@ -34,19 +34,39 @@
 #define SZ (FRAC / mpbpl + 1)
 typedef mp_limb_t mp1[SZ], mp2[SZ * 2];
 
-/* This string has 101 hex digits.  */
-static const char exp1[102] = "2" /* point */
-"b7e151628aed2a6abf7158809cf4f3c762e7160f38b4da56a7"
-"84d9045190cfef324e7738926cfbe5f4bf8d8d8c31d763da07";
-static const char exp_m1[102] = "0" /* point */
-"5e2d58d8b3bcdf1abadec7829054f90dda9805aab56c773330"
-"24b9d0a507daedb16400bf472b4215b8245b669d90d27a5aea";
-
-static const char hexdig[] = "0123456789abcdef";
+#if BITS_PER_MP_LIMB == 64
+# define LIMB64(L, H) 0x ## H ## L
+#elif BITS_PER_MP_LIMB == 32
+# define LIMB64(L, H) 0x ## L, 0x ## H
+#else
+# error
+#endif
+
+/* Once upon a time these constants were generated to 400 bits.
+   We only need FRAC bits (128) at present, but we retain 384 bits
+   in the text Just In Case.  */
+#define CONSTSZ(INT, F1, F2, F3, F4, F5, F6, F7, F8, F9, Fa, Fb, Fc) \
+	LIMB64(F4, F3), LIMB64(F2, F1), INT
+
+static const mp1 mp_exp1 = {
+  CONSTSZ (2, b7e15162, 8aed2a6a, bf715880, 9cf4f3c7, 62e7160f, 38b4da56,
+           a784d904, 5190cfef, 324e7738, 926cfbe5, f4bf8d8d, 8c31d763)
+};
+
+static const mp1 mp_exp_m1 = {
+  CONSTSZ (0, 5e2d58d8, b3bcdf1a, badec782, 9054f90d, da9805aa, b56c7733,
+           3024b9d0, a507daed, b16400bf, 472b4215, b8245b66, 9d90d27a)
+};
+
+static const mp1 mp_log2 = {
+  CONSTSZ (0, b17217f7, d1cf79ab, c9e3b398, 03f2f6af, 40f34326, 7298b62d,
+           8a0d175b, 8baafa2b, e7b87620, 6debac98, 559552fb, 4afa1b10)
+};
 
 static void
 print_mpn_fp (const mp_limb_t *x, unsigned int dp, unsigned int base)
 {
+   static const char hexdig[16] = "0123456789abcdef";
    unsigned int i;
    mp1 tx;
 
@@ -65,35 +85,6 @@
      }
 }
 
-static void
-read_mpn_hex(mp_limb_t *x, const char *str)
-{
-  int i;
-
-  memset (x, 0, sizeof (mp1));
-  for (i = -1; i < 100 && i < FRAC / 4; ++i)
-    x[(FRAC - i * 4 - 4) / mpbpl] |= ((mp_limb_t) (strchr (hexdig, str[i + 1])
-						   - hexdig)
- 				      << (FRAC - i * 4 - 4) % mpbpl);
-}
-
-static mp_limb_t *
-get_log2(void)
-{
-  static mp1 log2_m;
-  static int log2_m_inited = 0;
-  static const char log2[102] = "0" /* point */
-    "b17217f7d1cf79abc9e3b39803f2f6af40f343267298b62d8a"
-    "0d175b8baafa2be7b876206debac98559552fb4afa1b10ed2e";
-
-  if (!log2_m_inited)
-    {
-      read_mpn_hex (log2_m, log2);
-      log2_m_inited = 1;
-    }
-  return log2_m;
-}
-
 /* Compute e^x.  */
 static void
 exp_mpn (mp1 ex, mp1 x)
@@ -133,7 +124,7 @@
 exp2_mpn (mp1 ex, mp1 x)
 {
   mp2 tmp;
-  mpn_mul_n (tmp, x, get_log2 (), SZ);
+  mpn_mul_n (tmp, x, mp_log2, SZ);
   assert(tmp[SZ * 2 - 1] == 0);
   exp_mpn (ex, tmp + FRAC / mpbpl);
 }
@@ -220,11 +211,10 @@
   memset (x, 0, sizeof (mp1));
   x[FRAC / mpbpl] = (mp_limb_t)1 << FRAC % mpbpl;
   exp_mpn (ex, x);
-  read_mpn_hex (e2, exp1);
-  if (mpn_cmp (ex, e2, SZ) >= 0)
-    mpn_sub_n (e3, ex, e2, SZ);
+  if (mpn_cmp (ex, mp_exp1, SZ) >= 0)
+    mpn_sub_n (e3, ex, mp_exp1, SZ);
   else
-    mpn_sub_n (e3, e2, ex, SZ);
+    mpn_sub_n (e3, mp_exp1, ex, SZ);
 
   printf ("%d failures; %d errors; error rate %0.2f%%\n", failures, errors,
 	  errors * 100.0 / (double) (1 << N2));

Modified: fsf/trunk/libc/math/gen-libm-test.pl
==============================================================================
--- fsf/trunk/libc/math/gen-libm-test.pl (original)
+++ fsf/trunk/libc/math/gen-libm-test.pl Fri May 17 00:02:10 2013
@@ -185,21 +185,10 @@
   return $rest;
 }
 
-# Adjust an argument or expected value for use in a constant
-# initializer.
-sub adjust_arg {
-  my ($arg, $in_func) = @_;
-  if (!$in_func) {
-    $arg =~ s/(plus_zero|minus_zero|plus_infty|minus_infty|qnan_value
-	       |max_value|min_value|min_subnorm_value)/\U$1\E_INIT/xg;
-  }
-  return $arg;
-}
-
 # Treat some functions especially.
 # Currently only sincos needs extra treatment.
 sub special_functions {
-  my ($file, $in_func, $args) = @_;
+  my ($file, $args) = @_;
   my (@args, $str, $test, $cline);
 
   @args = split /,\s*/, $args;
@@ -207,43 +196,33 @@
   unless ($args[0] =~ /sincos/) {
     die ("Don't know how to handle $args[0] extra.");
   }
-  if ($in_func) {
-    $cline = "  RUN_TEST_sincos (" . adjust_arg ($args[1], $in_func);
-  } else {
-    $cline = "    { " . adjust_arg ($args[1], $in_func);
-  }
+  $cline = "    { $args[1]";
 
   $str = 'sincos (' . &beautify ($args[1]) . ', &sin_res, &cos_res)';
   # handle sin
   $test = $str . ' puts ' . &beautify ($args[2]) . ' in sin_res';
 
-  my ($sin_res_var) = ($in_func ? ", sin_res" : "");
-  $cline .= ", \"$test\"$sin_res_var, " . adjust_arg ($args[2], $in_func);
+  $cline .= ", \"$test\", $args[2]";
   $cline .= &new_test ($test, $args[4], 0);
 
   # handle cos
   $test = $str . ' puts ' . &beautify ($args[3]) . ' in cos_res';
-  my ($cos_res_var) = ($in_func ? ", cos_res" : "");
-  $cline .= ", \"$test\"$cos_res_var, " . adjust_arg ($args[3], $in_func);
+  $cline .= ", \"$test\", $args[3]";
   $cline .= &new_test ($test, $args[4], 1);
-  if ($in_func) {
-    $cline .= ");\n";
-  } else {
-    $cline .= " },\n";
-  }
+  $cline .= " },\n";
   print $file $cline;
 }
 
 # Parse the arguments to TEST_x_y
 sub parse_args {
-  my ($file, $descr, $fct, $in_func, $args) = @_;
+  my ($file, $descr, $fct, $args) = @_;
   my (@args, $str, $descr_args, $descr_res, @descr);
   my ($current_arg, $cline, $i);
   my (@special);
   my ($extra_var, $call);
 
   if ($descr eq 'extra') {
-    &special_functions ($file, $in_func, $args);
+    &special_functions ($file, $args);
     return;
   }
   ($descr_args, $descr_res) = split /_/,$descr, 2;
@@ -318,29 +297,12 @@
   # Reset some variables to start again
   $current_arg = 1;
   $extra_var = 0;
-  if ($in_func) {
-    $cline = "RUN_TEST_$descr";
-  } else {
-    $cline = "{ ";
-  }
-  # Special handling for some macros:
-  if ($in_func && $args[0] =~ /fpclassify|isnormal|isfinite|isinf|isnan
-      |issignaling|signbit|isgreater|isgreaterequal|isless|islessequal
-      |islessgreater|isunordered/x) {
-    $cline = "${cline}_tg";
-  }
-  if ($in_func) {
-    $cline .= " (";
-  }
-  $cline .= "\"$str\"";
-  if ($in_func) {
-    $cline .= ", $args[0]";
-  }
+  $cline = "{ \"$str\"";
   @descr = split //,$descr_args;
   for ($i=0; $i <= $#descr; $i++) {
     # FLOAT, int, long int, long long int
     if ($descr[$i] =~ /f|i|l|L/) {
-      $cline .= ", " . adjust_arg ($args[$current_arg], $in_func);
+      $cline .= ", $args[$current_arg]";
       $current_arg++;
       next;
     }
@@ -350,8 +312,7 @@
     }
     # complex
     if ($descr[$i] eq 'c') {
-      $cline .= ", " . adjust_arg ($args[$current_arg], $in_func);
-      $cline .= ", " . adjust_arg ($args[$current_arg+1], $in_func);
+      $cline .= ", $args[$current_arg], $args[$current_arg+1]";
       $current_arg += 2;
       next;
     }
@@ -361,11 +322,10 @@
   @descr = split //,$descr_res;
   foreach (@descr) {
     if ($_ =~ /b|f|i|l|L/ ) {
-      $cline .= adjust_arg ($args[$current_arg], $in_func);
+      $cline .= $args[$current_arg];
       $current_arg++;
     } elsif ($_ eq 'c') {
-      $cline .= adjust_arg ($args[$current_arg], $in_func);
-      $cline .= ", " . adjust_arg ($args[$current_arg+1], $in_func);
+      $cline .= "$args[$current_arg], $args[$current_arg+1]";
       $current_arg += 2;
     } elsif ($_ eq '1') {
       push @special, $args[$current_arg];
@@ -381,12 +341,11 @@
       my ($extra_expected) = $special[0];
       my ($run_extra) = ($extra_expected ne "IGNORE" ? 1 : 0);
       my ($str) = "$call sets x to $extra_expected";
-      my ($out_var) = ($in_func ? ", x" : "");
       if (!$run_extra) {
 	$str = "";
 	$extra_expected = "0";
       }
-      $cline .= ", \"$str\"$out_var, 123456789, $run_extra, $extra_expected";
+      $cline .= ", \"$str\", 123456789, $run_extra, $extra_expected";
       if ($run_extra) {
 	$cline .= &new_test ($str, undef, 0);
       } else {
@@ -398,12 +357,11 @@
       my ($extra_expected) = $special[0];
       my ($run_extra) = ($extra_expected ne "IGNORE" ? 1 : 0);
       my ($str) = "$call sets signgam to $extra_expected";
-      my ($out_var) = ($in_func ? ", signgam" : "");
       if (!$run_extra) {
 	$str = "";
 	$extra_expected = "0";
       }
-      $cline .= ", \"$str\"$out_var, 0, $run_extra, $extra_expected";
+      $cline .= ", \"$str\", 0, $run_extra, $extra_expected";
       if ($run_extra) {
 	$cline .= &new_test ($str, undef, 0);
       } else {
@@ -415,13 +373,11 @@
       my ($extra_expected) = $special[0];
       my ($run_extra) = ($extra_expected ne "IGNORE" ? 1 : 0);
       my ($str) = "$call sets x to $extra_expected";
-      my ($out_var) = ($in_func ? ", x" : "");
       if (!$run_extra) {
 	$str = "";
 	$extra_expected = "0";
       }
-      $extra_expected = adjust_arg ($extra_expected, $in_func);
-      $cline .= ", \"$str\"$out_var, 123.456789, $run_extra, $extra_expected";
+      $cline .= ", \"$str\", 123.456789, $run_extra, $extra_expected";
       if ($run_extra) {
 	$cline .= &new_test ($str, undef, 0);
       } else {
@@ -433,12 +389,11 @@
       my ($extra_expected) = $special[0];
       my ($run_extra) = ($extra_expected ne "IGNORE" ? 1 : 0);
       my ($str) = "$call sets x to $extra_expected";
-      my ($out_var) = ($in_func ? ", x" : "");
       if (!$run_extra) {
 	$str = "";
 	$extra_expected = "0";
       }
-      $cline .= ", \"$str\"$out_var, 123456789, $run_extra, $extra_expected";
+      $cline .= ", \"$str\", 123456789, $run_extra, $extra_expected";
       if ($run_extra) {
 	$cline .= &new_test ($str, undef, 0);
       } else {
@@ -446,24 +401,19 @@
       }
     }
   }
-  if ($in_func) {
-    print $file "  $cline);\n";
-  } else {
-    print $file "    $cline },\n";
-  }
+  print $file "    $cline },\n";
 }
 
 # Generate libm-test.c
 sub generate_testfile {
   my ($input, $output) = @_;
   my ($lasttext);
-  my (@args, $i, $str, $thisfct, $in_func);
+  my (@args, $i, $str, $thisfct);
 
   open INPUT, $input or die ("Can't open $input: $!");
   open OUTPUT, ">$output" or die ("Can't open $output: $!");
 
   # Replace the special macros
-  $in_func = 0;
   while (<INPUT>) {
 
     # TEST_...
@@ -471,19 +421,17 @@
       my ($descr, $args);
       chop;
       ($descr, $args) = ($_ =~ /TEST_(\w+)\s*\((.*)\)/);
-      &parse_args (\*OUTPUT, $descr, $thisfct, $in_func, $args);
+      &parse_args (\*OUTPUT, $descr, $thisfct, $args);
       next;
     }
     # START_DATA (function)
     if (/START_DATA/) {
       ($thisfct) = ($_ =~ /START_DATA\s*\((.*)\)/);
-      $in_func = 0;
       next;
     }
     # START (function)
     if (/START/) {
       ($thisfct) = ($_ =~ /START\s*\((.*)\)/);
-      $in_func = 1;
       print OUTPUT "  init_max_error ();\n";
       next;
     }
@@ -494,7 +442,6 @@
     # END (function)
     if (/END/) {
       my ($fct, $line, $type);
-      $in_func = 0;
       if (/complex/) {
 	s/,\s*complex\s*//;
 	$type = 'complex';

Modified: fsf/trunk/libc/math/libm-test.inc
==============================================================================
--- fsf/trunk/libc/math/libm-test.inc (original)
+++ fsf/trunk/libc/math/libm-test.inc Fri May 17 00:02:10 2013
@@ -82,10 +82,6 @@
    against.  These implemented tests should check all cases that are
    specified in ISO C99.
 
-   Exception testing: At the moment only divide-by-zero, invalid,
-   overflow and underflow exceptions are tested.  Inexact exceptions
-   aren't checked at the moment.
-
    NaN values: There exist signalling and quiet NaNs.  This implementation
    only uses quiet NaN as parameter.  Where the sign of a NaN is
    significant, this is not tested.  The payload of NaNs is not examined.
@@ -155,18 +151,22 @@
 #define DIVIDE_BY_ZERO_EXCEPTION	0x2
 #define OVERFLOW_EXCEPTION		0x4
 #define UNDERFLOW_EXCEPTION		0x8
+#define INEXACT_EXCEPTION		0x10
 /* The next flags signals that those exceptions are allowed but not required.   */
-#define INVALID_EXCEPTION_OK		0x10
-#define DIVIDE_BY_ZERO_EXCEPTION_OK	0x20
-#define OVERFLOW_EXCEPTION_OK		0x40
-#define UNDERFLOW_EXCEPTION_OK		0x80
+#define INVALID_EXCEPTION_OK		0x20
+#define DIVIDE_BY_ZERO_EXCEPTION_OK	0x40
+#define OVERFLOW_EXCEPTION_OK		0x80
+#define UNDERFLOW_EXCEPTION_OK		0x100
+/* For "inexact" exceptions, the default is allowed but not required
+   unless INEXACT_EXCEPTION or NO_INEXACT_EXCEPTION is specified.  */
+#define NO_INEXACT_EXCEPTION		0x200
 #define EXCEPTIONS_OK INVALID_EXCEPTION_OK+DIVIDE_BY_ZERO_EXCEPTION_OK
 /* Some special test flags, passed together with exceptions.  */
-#define IGNORE_ZERO_INF_SIGN		0x100
+#define IGNORE_ZERO_INF_SIGN		0x400
 /* Indicate errno settings required or disallowed.  */
-#define ERRNO_UNCHANGED			0x200
-#define ERRNO_EDOM			0x400
-#define ERRNO_ERANGE			0x800
+#define ERRNO_UNCHANGED			0x800
+#define ERRNO_EDOM			0x1000
+#define ERRNO_ERANGE			0x2000
 
 /* Values underflowing only for float.  */
 #ifdef TEST_FLOAT
@@ -229,34 +229,25 @@
 static int output_points;	/* Should the single function results printed?  */
 static int ignore_max_ulp;	/* Should we ignore max_ulp?  */
 
-#define PLUS_ZERO_INIT	CHOOSE (0.0L, 0.0, 0.0f,	\
+#define plus_zero	CHOOSE (0.0L, 0.0, 0.0f,	\
 				0.0L, 0.0, 0.0f)
-#define MINUS_ZERO_INIT	CHOOSE (-0.0L, -0.0, -0.0f,	\
+#define minus_zero	CHOOSE (-0.0L, -0.0, -0.0f,	\
 				-0.0L, -0.0, -0.0f)
-#define PLUS_INFTY_INIT	CHOOSE (HUGE_VALL, HUGE_VAL, HUGE_VALF, \
+#define plus_infty	CHOOSE (HUGE_VALL, HUGE_VAL, HUGE_VALF, \
 				HUGE_VALL, HUGE_VAL, HUGE_VALF)
-#define MINUS_INFTY_INIT	CHOOSE (-HUGE_VALL, -HUGE_VAL, -HUGE_VALF, \
-					-HUGE_VALL, -HUGE_VAL, -HUGE_VALF)
-#define QNAN_VALUE_INIT	FUNC (__builtin_nan) ("")
-#define MAX_VALUE_INIT	CHOOSE (LDBL_MAX, DBL_MAX, FLT_MAX,	\
+#define minus_infty	CHOOSE (-HUGE_VALL, -HUGE_VAL, -HUGE_VALF,	\
+				-HUGE_VALL, -HUGE_VAL, -HUGE_VALF)
+#define qnan_value	FUNC (__builtin_nan) ("")
+#define max_value	CHOOSE (LDBL_MAX, DBL_MAX, FLT_MAX,	\
 				LDBL_MAX, DBL_MAX, FLT_MAX)
-#define MIN_VALUE_INIT	CHOOSE (LDBL_MIN, DBL_MIN, FLT_MIN,	\
+#define min_value	CHOOSE (LDBL_MIN, DBL_MIN, FLT_MIN,	\
 				LDBL_MIN, DBL_MIN, FLT_MIN)
-#define MIN_SUBNORM_VALUE_INIT	CHOOSE (__LDBL_DENORM_MIN__,	\
+#define min_subnorm_value	CHOOSE (__LDBL_DENORM_MIN__,	\
 					__DBL_DENORM_MIN__,	\
 					__FLT_DENORM_MIN__,	\
 					__LDBL_DENORM_MIN__,	\
 					__DBL_DENORM_MIN__,	\
 					__FLT_DENORM_MIN__)
-
-static const FLOAT plus_zero = PLUS_ZERO_INIT;
-static const FLOAT minus_zero = MINUS_ZERO_INIT;
-static const FLOAT plus_infty = PLUS_INFTY_INIT;
-static const FLOAT minus_infty = MINUS_INFTY_INIT;
-static const FLOAT qnan_value = QNAN_VALUE_INIT;
-static const FLOAT max_value = MAX_VALUE_INIT;
-static const FLOAT min_value = MIN_VALUE_INIT;
-static const FLOAT min_subnorm_value = MIN_SUBNORM_VALUE_INIT;
 
 static FLOAT max_error, real_max_error, imag_max_error;
 
@@ -550,6 +541,11 @@
   if ((exception & UNDERFLOW_EXCEPTION_OK) == 0)
     test_single_exception (test_name, exception, UNDERFLOW_EXCEPTION,
 			   FE_UNDERFLOW, "Underflow");
+#endif
+#ifdef FE_INEXACT
+  if ((exception & (INEXACT_EXCEPTION | NO_INEXACT_EXCEPTION)) != 0)
+    test_single_exception (test_name, exception, INEXACT_EXCEPTION,
+			   FE_INEXACT, "Inexact");
 #endif
   feclearexcept (FE_ALL_EXCEPT);
 }
@@ -983,6 +979,14 @@
   __complex__ FLOAT max_ulp;
   int exceptions;
 };
+struct test_cc_c_data
+{
+  const char *test_name;
+  FLOAT arg1r, arg1c, arg2r, arg2c;
+  FLOAT expr, expc;
+  __complex__ FLOAT max_ulp;
+  int exceptions;
+};
 /* Used for all of RUN_TEST_LOOP_f_i, RUN_TEST_LOOP_f_i_tg,
    RUN_TEST_LOOP_f_b and RUN_TEST_LOOP_f_b_tg.  */
 struct test_f_i_data
@@ -1007,6 +1011,25 @@
   FLOAT arg;
   long int expected;
   long int max_ulp;
+  int exceptions;
+};
+struct test_f_L_data
+{
+  const char *test_name;
+  FLOAT arg;
+  long long int expected;
+  long long int max_ulp;
+  int exceptions;
+};
+struct test_sincos_data
+{
+  FLOAT arg;
+  const char *test_name_sin;
+  FLOAT expected_sin;
+  FLOAT max_ulp_sin;
+  const char *test_name_cos;
+  FLOAT expected_cos;
+  FLOAT max_ulp_cos;
   int exceptions;
 };
 
@@ -1210,6 +1233,15 @@
 				   BUILD_COMPLEX (ARG2R, ARG2C)),	\
 		 BUILD_COMPLEX (EXPR, EXPC),				\
 		 MAX_ULP, EXCEPTIONS)
+#define RUN_TEST_LOOP_cc_c(FUNC_NAME, ARRAY, ROUNDING_MODE)		\
+  IF_ROUND_INIT_ ## ROUNDING_MODE					\
+    for (size_t i = 0; i < sizeof (ARRAY) / sizeof (ARRAY)[0]; i++)	\
+      RUN_TEST_cc_c ((ARRAY)[i].test_name, FUNC_NAME, (ARRAY)[i].arg1r,	\
+		     (ARRAY)[i].arg1c, (ARRAY)[i].arg2r,		\
+		     (ARRAY)[i].arg2c, (ARRAY)[i].expr,			\
+		     (ARRAY)[i].expc, (ARRAY)[i].max_ulp,		\
+		     (ARRAY)[i].exceptions);				\
+  ROUND_RESTORE_ ## ROUNDING_MODE
 #define RUN_TEST_f_i(TEST_NAME, FUNC_NAME, ARG, EXPECTED,	\
 		     MAX_ULP, EXCEPTIONS)			\
   check_int (TEST_NAME, FUNC (FUNC_NAME) (ARG), EXPECTED,	\
@@ -1281,6 +1313,13 @@
 		     MAX_ULP, EXCEPTIONS)			\
   check_longlong (TEST_NAME, FUNC (FUNC_NAME) (ARG), EXPECTED,	\
 		  MAX_ULP, EXCEPTIONS)
+#define RUN_TEST_LOOP_f_L(FUNC_NAME, ARRAY, ROUNDING_MODE)		\
+  IF_ROUND_INIT_ ## ROUNDING_MODE					\
+    for (size_t i = 0; i < sizeof (ARRAY) / sizeof (ARRAY)[0]; i++)	\
+      RUN_TEST_f_L ((ARRAY)[i].test_name, FUNC_NAME, (ARRAY)[i].arg,	\
+		    (ARRAY)[i].expected, (ARRAY)[i].max_ulp,		\
+		    (ARRAY)[i].exceptions);				\
+  ROUND_RESTORE_ ## ROUNDING_MODE
 #define RUN_TEST_sincos(ARG, TEST_NAME_SIN, SIN_RES_VAR, EXPECTED_SIN,	\
 			MAX_ULP_SIN, TEST_NAME_COS, COS_RES_VAR,	\
 			EXPECTED_COS, MAX_ULP_COS, EXCEPTIONS)		\
@@ -1293,6 +1332,17 @@
 		   EXPECTED_COS, MAX_ULP_COS, 0);			\
     }									\
   while (0)
+#define RUN_TEST_LOOP_sincos(ARRAY, ROUNDING_MODE, SIN_RES_VAR,		\
+			     COS_RES_VAR)				\
+  IF_ROUND_INIT_ ## ROUNDING_MODE					\
+    for (size_t i = 0; i < sizeof (ARRAY) / sizeof (ARRAY)[0]; i++)	\
+      RUN_TEST_sincos ((ARRAY)[i].arg, (ARRAY)[i].test_name_sin,	\
+		       SIN_RES_VAR, (ARRAY)[i].expected_sin,		\
+		       (ARRAY)[i].max_ulp_sin,				\
+		       (ARRAY)[i].test_name_cos, COS_RES_VAR,		\
+		       (ARRAY)[i].expected_cos, (ARRAY)[i].max_ulp_cos,	\
+		       (ARRAY)[i].exceptions);				\
+  ROUND_RESTORE_ ## ROUNDING_MODE
 
 
 
@@ -1349,12 +1399,6 @@
 static void
 acos_test (void)
 {
-  errno = 0;
-  FUNC(acos) (0);
-  if (errno == ENOSYS)
-    /* Function not implemented.  */
-    return;
-
   START (acos);
   RUN_TEST_LOOP_f_f (acos, acos_test_data, );
   END (acos);
@@ -1376,12 +1420,6 @@
 static void
 acos_test_tonearest (void)
 {
-  errno = 0;
-  FUNC(acos) (0);
-  if (errno == ENOSYS)
-    /* Function not implemented.  */
-    return;
-
   START (acos_tonearest);
   RUN_TEST_LOOP_f_f (acos, acos_tonearest_test_data, FE_TONEAREST);
   END (acos_tonearest);
@@ -1403,12 +1441,6 @@
 static void
 acos_test_towardzero (void)
 {
-  errno = 0;
-  FUNC(acos) (0);
-  if (errno == ENOSYS)
-    /* Function not implemented.  */
-    return;
-
   START (acos_towardzero);
   RUN_TEST_LOOP_f_f (acos, acos_towardzero_test_data, FE_TOWARDZERO);
   END (acos_towardzero);
@@ -1430,12 +1462,6 @@
 static void
 acos_test_downward (void)
 {
-  errno = 0;
-  FUNC(acos) (0);
-  if (errno == ENOSYS)
-    /* Function not implemented.  */
-    return;
-
   START (acos_downward);
   RUN_TEST_LOOP_f_f (acos, acos_downward_test_data, FE_DOWNWARD);
   END (acos_downward);
@@ -1457,12 +1483,6 @@
 static void
 acos_test_upward (void)
 {
-  errno = 0;
-  FUNC(acos) (0);
-  if (errno == ENOSYS)
-    /* Function not implemented.  */
-    return;
-
   START (acos_upward);

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