X-Git-Url: http://git.osdn.net/view?a=blobdiff_plain;f=ndk%2Fandroid-ndk-r4%2Flinux%2Fplatforms%2Fandroid-5%2Farch-x86%2Fusr%2Finclude%2Flinux%2Fcompiler-gcc.h;fp=ndk%2Fandroid-ndk-r4%2Flinux%2Fplatforms%2Fandroid-5%2Farch-x86%2Fusr%2Finclude%2Flinux%2Fcompiler-gcc.h;h=0dd4a62787826ca186ec5457c698d1982aa9f7d8;hb=72eddb87bfc38a2f6fae40566ec6380eb838489a;hp=0000000000000000000000000000000000000000;hpb=e19e12d257815bef7bfe4f3d81056a5b2464c464;p=android-x86%2Fprebuilt.git diff --git a/ndk/android-ndk-r4/linux/platforms/android-5/arch-x86/usr/include/linux/compiler-gcc.h b/ndk/android-ndk-r4/linux/platforms/android-5/arch-x86/usr/include/linux/compiler-gcc.h new file mode 100644 index 0000000..0dd4a62 --- /dev/null +++ b/ndk/android-ndk-r4/linux/platforms/android-5/arch-x86/usr/include/linux/compiler-gcc.h @@ -0,0 +1,22 @@ +/**************************************************************************** + **************************************************************************** + *** + *** This header was automatically generated from a Linux kernel header + *** of the same name, to make information necessary for userspace to + *** call into the kernel available to libc. It contains only constants, + *** structures, and macros generated from the original header, and thus, + *** contains no copyrightable information. + *** + **************************************************************************** + ****************************************************************************/ +#define barrier() __asm__ __volatile__("": : :"memory") + +#define RELOC_HIDE(ptr, off) ({ unsigned long __ptr; __asm__ ("" : "=r"(__ptr) : "0"(ptr)); (typeof(ptr)) (__ptr + (off)); }) + +#define inline inline __attribute__((always_inline)) +#define __inline__ __inline__ __attribute__((always_inline)) +#define __inline __inline __attribute__((always_inline)) +#define __deprecated __attribute__((deprecated)) +#define noinline __attribute__((noinline)) +#define __attribute_pure__ __attribute__((pure)) +#define __attribute_const__ __attribute__((__const__))