about summary refs log tree commit diff
path: root/sysdeps/x86
diff options
context:
space:
mode:
authorJoseph Myers <joseph@codesourcery.com>2013-01-10 20:19:45 +0000
committerJoseph Myers <joseph@codesourcery.com>2013-01-10 20:19:45 +0000
commit828beb132ddf5664cf9971329e8cdcb93dce43af (patch)
treef5ef78a87d896199d8b35b42ee0cb4917b9a3d15 /sysdeps/x86
parent034ed64b2cd0aeb4cccd40fb8e7e754e41f2d889 (diff)
downloadglibc-828beb132ddf5664cf9971329e8cdcb93dce43af.tar.gz
glibc-828beb132ddf5664cf9971329e8cdcb93dce43af.tar.xz
glibc-828beb132ddf5664cf9971329e8cdcb93dce43af.zip
Use __extension__ with long long in installed headers.
Diffstat (limited to 'sysdeps/x86')
-rw-r--r--sysdeps/x86/bits/setjmp.h2
-rw-r--r--sysdeps/x86/fpu/bits/mathinline.h5
2 files changed, 6 insertions, 1 deletions
diff --git a/sysdeps/x86/bits/setjmp.h b/sysdeps/x86/bits/setjmp.h
index 8a7e5dcc95..7c666e20d7 100644
--- a/sysdeps/x86/bits/setjmp.h
+++ b/sysdeps/x86/bits/setjmp.h
@@ -30,7 +30,7 @@
 # if __WORDSIZE == 64
 typedef long int __jmp_buf[8];
 # elif defined  __x86_64__
-typedef long long int __jmp_buf[8];
+__extension__ typedef long long int __jmp_buf[8];
 # else
 typedef int __jmp_buf[6];
 # endif
diff --git a/sysdeps/x86/fpu/bits/mathinline.h b/sysdeps/x86/fpu/bits/mathinline.h
index 838c13cd8d..fed64149fc 100644
--- a/sysdeps/x86/fpu/bits/mathinline.h
+++ b/sysdeps/x86/fpu/bits/mathinline.h
@@ -198,6 +198,7 @@ __NTH (lrint (double __x))
 }
 #   endif
 #   ifdef __x86_64__
+__extension__
 __MATH_INLINE long long int
 __NTH (llrintf (float __x))
 {
@@ -209,6 +210,7 @@ __NTH (llrintf (float __x))
   __asm __volatile__ ("cvtss2si %1, %0" : "=r" (__res) : "xm" (__x));
   return __res;
 }
+__extension__
 __MATH_INLINE long long int
 __NTH (llrint (double __x))
 {
@@ -896,16 +898,19 @@ __NTH (lrintl (long double __x))
     ("fistpll %0"							      \
      : "=m" (__llrintres) : "t" (__x) : "st");				      \
   return __llrintres
+__extension__
 __MATH_INLINE long long int
 __NTH (llrintf (float __x))
 {
   __llrint_code;
 }
+__extension__
 __MATH_INLINE long long int
 __NTH (llrint (double __x))
 {
   __llrint_code;
 }
+__extension__
 __MATH_INLINE long long int
 __NTH (llrintl (long double __x))
 {