glibc/sysdeps
H.J. Lu 57ada0e7e7 Define CLOCKS_PER_SEC type to the type clock_t
C99 specifies that CLOCKS_PER_SEC is an expression with the type clock_t.
This patch adds a generic <bits/time2.h> to define CLOCKS_PER_SEC and
provides the Linux/x86-64 version of <bits/time2.h> to support x32.

	[BZ #17797]
	* bits/time.h (CLOCKS_PER_SEC): Changed to ((clock_t) 1000000).
	* sysdeps/unix/sysv/linux/bits/time.h (CLOCKS_PER_SEC): Likewise.
	* sysdeps/unix/sysv/linux/clock.c (clock): _Static_assert
	CLOCKS_PER_SEC == 1000000.
	* time/clocktest.c (main): Replace %ld with %jd and cast to
	intmax_t.
2015-01-06 04:59:13 -08:00
..
aarch64 Fix libm feholdexcept namespace (bug 17748). 2015-01-05 23:06:14 +00:00
alpha Fix libm feholdexcept namespace (bug 17748). 2015-01-05 23:06:14 +00:00
arm ARM: Consolidate with generic unwinder wrapper code 2015-01-05 15:42:16 -08:00
generic ARM: Consolidate with generic unwinder wrapper code 2015-01-05 15:42:16 -08:00
gnu ARM: Consolidate with generic unwinder wrapper code 2015-01-05 15:42:16 -08:00
hppa Fix libm feholdexcept namespace (bug 17748). 2015-01-05 23:06:14 +00:00
i386 Fix libm feholdexcept namespace (bug 17748). 2015-01-05 23:06:14 +00:00
ia64 Fix libm feholdexcept namespace (bug 17748). 2015-01-05 23:06:14 +00:00
ieee754 lround: provide cast for wordsize-64 version if needed 2015-01-05 11:59:32 -05:00
init_array Update copyright dates with scripts/update-copyrights. 2015-01-02 16:29:47 +00:00
m68k Fix libm feholdexcept namespace (bug 17748). 2015-01-05 23:06:14 +00:00
mach Update copyright dates with scripts/update-copyrights. 2015-01-02 16:29:47 +00:00
microblaze Update copyright dates with scripts/update-copyrights. 2015-01-02 16:29:47 +00:00
mips Merge branch 'master' of ssh://sourceware.org/git/glibc 2015-01-05 15:07:26 -08:00
nptl ARM: Consolidate with generic unwinder wrapper code 2015-01-05 15:42:16 -08:00
posix Update copyright dates with scripts/update-copyrights. 2015-01-02 16:29:47 +00:00
powerpc Fix libm feholdexcept namespace (bug 17748). 2015-01-05 23:06:14 +00:00
pthread Update copyright dates with scripts/update-copyrights. 2015-01-02 16:29:47 +00:00
s390 Fix libm feholdexcept namespace (bug 17748). 2015-01-05 23:06:14 +00:00
sh Fix libm feholdexcept namespace (bug 17748). 2015-01-05 23:06:14 +00:00
sparc Fix libm feholdexcept namespace (bug 17748). 2015-01-05 23:06:14 +00:00
tile lround: provide cast for wordsize-64 version if needed 2015-01-05 11:59:32 -05:00
unix Define CLOCKS_PER_SEC type to the type clock_t 2015-01-06 04:59:13 -08:00
wordsize-32 Update copyright dates with scripts/update-copyrights. 2015-01-02 16:29:47 +00:00
wordsize-64 Update copyright dates with scripts/update-copyrights. 2015-01-02 16:29:47 +00:00
x86 Update copyright dates with scripts/update-copyrights. 2015-01-02 16:29:47 +00:00
x86_64 Fix libm feholdexcept namespace (bug 17748). 2015-01-05 23:06:14 +00:00