diff options
author | Jakub Jelinek <jakub@redhat.com> | 2007-12-27 09:14:45 +0000 |
---|---|---|
committer | Jakub Jelinek <jakub@redhat.com> | 2007-12-27 09:14:45 +0000 |
commit | f163450fc0969ebd6f63c5d9bd059f6f0d107d75 (patch) | |
tree | 1d7cb198dead8b16362e6ed6b8f71f52fb50a0d0 /sysdeps/unix | |
parent | c5899b63ebb80de72b909a475e1dd41b99a4080c (diff) | |
download | glibc-f163450fc0969ebd6f63c5d9bd059f6f0d107d75.zip glibc-f163450fc0969ebd6f63c5d9bd059f6f0d107d75.tar.gz glibc-f163450fc0969ebd6f63c5d9bd059f6f0d107d75.tar.bz2 |
Updated to fedora-glibc-20071227T0908cvs/fedora-glibc-2_7_90-2
Diffstat (limited to 'sysdeps/unix')
-rw-r--r-- | sysdeps/unix/sysv/linux/i386/sysconf.c | 1 | ||||
-rw-r--r-- | sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h | 4 | ||||
-rw-r--r-- | sysdeps/unix/sysv/linux/x86_64/init-first.c | 4 | ||||
-rw-r--r-- | sysdeps/unix/sysv/linux/x86_64/sysdep.h | 24 |
4 files changed, 17 insertions, 16 deletions
diff --git a/sysdeps/unix/sysv/linux/i386/sysconf.c b/sysdeps/unix/sysv/linux/i386/sysconf.c index 78877fb..38bb533 100644 --- a/sysdeps/unix/sysv/linux/i386/sysconf.c +++ b/sysdeps/unix/sysv/linux/i386/sysconf.c @@ -90,6 +90,7 @@ static const struct intel_02_cache_info { 0x3c, _SC_LEVEL2_CACHE_SIZE, 262144, 4, 64 }, { 0x3d, _SC_LEVEL2_CACHE_SIZE, 393216, 6, 64 }, { 0x3e, _SC_LEVEL2_CACHE_SIZE, 524288, 4, 64 }, + { 0x3f, _SC_LEVEL2_CACHE_SIZE, 262144, 2, 64 }, { 0x41, _SC_LEVEL2_CACHE_SIZE, 131072, 4, 32 }, { 0x42, _SC_LEVEL2_CACHE_SIZE, 262144, 4, 32 }, { 0x43, _SC_LEVEL2_CACHE_SIZE, 524288, 4, 32 }, diff --git a/sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h b/sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h index 6e08d3b..d7123c9 100644 --- a/sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h +++ b/sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h @@ -25,10 +25,10 @@ #ifdef SHARED -extern int (*__vdso_gettimeofday) (struct timeval *, void *) +extern long int (*__vdso_gettimeofday) (struct timeval *, void *) attribute_hidden; -extern int (*__vdso_clock_gettime) (clockid_t, struct timespec *); +extern long int (*__vdso_clock_gettime) (clockid_t, struct timespec *); #endif diff --git a/sysdeps/unix/sysv/linux/x86_64/init-first.c b/sysdeps/unix/sysv/linux/x86_64/init-first.c index e9cf564..ead7dbc 100644 --- a/sysdeps/unix/sysv/linux/x86_64/init-first.c +++ b/sysdeps/unix/sysv/linux/x86_64/init-first.c @@ -20,9 +20,9 @@ # include <dl-vdso.h> # include <bits/libc-vdso.h> -int (*__vdso_gettimeofday) (struct timeval *, void *) attribute_hidden; +long int (*__vdso_gettimeofday) (struct timeval *, void *) attribute_hidden; -int (*__vdso_clock_gettime) (clockid_t, struct timespec *) +long int (*__vdso_clock_gettime) (clockid_t, struct timespec *) __attribute__ ((nocommon)); strong_alias (__vdso_clock_gettime, __GI___vdso_clock_gettime attribute_hidden) diff --git a/sysdeps/unix/sysv/linux/x86_64/sysdep.h b/sysdeps/unix/sysv/linux/x86_64/sysdep.h index 44d5650..2b9ea85 100644 --- a/sysdeps/unix/sysv/linux/x86_64/sysdep.h +++ b/sysdeps/unix/sysv/linux/x86_64/sysdep.h @@ -224,34 +224,34 @@ # undef INLINE_SYSCALL # define INLINE_SYSCALL(name, nr, args...) \ ({ \ - unsigned long resultvar = INTERNAL_SYSCALL (name, , nr, args); \ + unsigned long int resultvar = INTERNAL_SYSCALL (name, , nr, args); \ if (__builtin_expect (INTERNAL_SYSCALL_ERROR_P (resultvar, ), 0)) \ { \ __set_errno (INTERNAL_SYSCALL_ERRNO (resultvar, )); \ - resultvar = (unsigned long) -1; \ + resultvar = (unsigned long int) -1; \ } \ - (long) resultvar; }) + (long int) resultvar; }) # undef INTERNAL_SYSCALL_DECL # define INTERNAL_SYSCALL_DECL(err) do { } while (0) # define INTERNAL_SYSCALL_NCS(name, err, nr, args...) \ ({ \ - unsigned long resultvar; \ + unsigned long int resultvar; \ LOAD_ARGS_##nr (args) \ LOAD_REGS_##nr \ asm volatile ( \ "syscall\n\t" \ : "=a" (resultvar) \ : "0" (name) ASM_ARGS_##nr : "memory", "cc", "r11", "cx"); \ - (long) resultvar; }) + (long int) resultvar; }) # undef INTERNAL_SYSCALL # define INTERNAL_SYSCALL(name, err, nr, args...) \ INTERNAL_SYSCALL_NCS (__NR_##name, err, nr, ##args) # undef INTERNAL_SYSCALL_ERROR_P # define INTERNAL_SYSCALL_ERROR_P(val, err) \ - ((unsigned long) (val) >= -4095L) + ((unsigned long int) (long int) (val) >= -4095L) # undef INTERNAL_SYSCALL_ERRNO # define INTERNAL_SYSCALL_ERRNO(val, err) (-(val)) @@ -319,7 +319,7 @@ # define ASM_ARGS_0 # define LOAD_ARGS_1(a1) \ - long int __arg1 = (long) (a1); \ + long int __arg1 = (long int) (a1); \ LOAD_ARGS_0 () # define LOAD_REGS_1 \ register long int _a1 asm ("rdi") = __arg1; \ @@ -327,7 +327,7 @@ # define ASM_ARGS_1 ASM_ARGS_0, "r" (_a1) # define LOAD_ARGS_2(a1, a2) \ - long int __arg2 = (long) (a2); \ + long int __arg2 = (long int) (a2); \ LOAD_ARGS_1 (a1) # define LOAD_REGS_2 \ register long int _a2 asm ("rsi") = __arg2; \ @@ -335,7 +335,7 @@ # define ASM_ARGS_2 ASM_ARGS_1, "r" (_a2) # define LOAD_ARGS_3(a1, a2, a3) \ - long int __arg3 = (long) (a3); \ + long int __arg3 = (long int) (a3); \ LOAD_ARGS_2 (a1, a2) # define LOAD_REGS_3 \ register long int _a3 asm ("rdx") = __arg3; \ @@ -343,7 +343,7 @@ # define ASM_ARGS_3 ASM_ARGS_2, "r" (_a3) # define LOAD_ARGS_4(a1, a2, a3, a4) \ - long int __arg4 = (long) (a4); \ + long int __arg4 = (long int) (a4); \ LOAD_ARGS_3 (a1, a2, a3) # define LOAD_REGS_4 \ register long int _a4 asm ("r10") = __arg4; \ @@ -351,7 +351,7 @@ # define ASM_ARGS_4 ASM_ARGS_3, "r" (_a4) # define LOAD_ARGS_5(a1, a2, a3, a4, a5) \ - long int __arg5 = (long) (a5); \ + long int __arg5 = (long int) (a5); \ LOAD_ARGS_4 (a1, a2, a3, a4) # define LOAD_REGS_5 \ register long int _a5 asm ("r8") = __arg5; \ @@ -359,7 +359,7 @@ # define ASM_ARGS_5 ASM_ARGS_4, "r" (_a5) # define LOAD_ARGS_6(a1, a2, a3, a4, a5, a6) \ - long int __arg6 = (long) (a6); \ + long int __arg6 = (long int) (a6); \ LOAD_ARGS_5 (a1, a2, a3, a4, a5) # define LOAD_REGS_6 \ register long int _a6 asm ("r9") = __arg6; \ |