From e5d3654607dc9350e2caa4213fec29ecc00f558d Mon Sep 17 00:00:00 2001 From: midipix Date: Fri, 1 Jul 2016 15:42:22 -0400 Subject: added __attr_section__. --- include/psxtypes/compiler/__psx_compiler_gcc.h | 1 + 1 file changed, 1 insertion(+) (limited to 'include/psxtypes/compiler/__psx_compiler_gcc.h') diff --git a/include/psxtypes/compiler/__psx_compiler_gcc.h b/include/psxtypes/compiler/__psx_compiler_gcc.h index 6c22fa2..94baa9f 100644 --- a/include/psxtypes/compiler/__psx_compiler_gcc.h +++ b/include/psxtypes/compiler/__psx_compiler_gcc.h @@ -53,6 +53,7 @@ /* compiler attributes */ #define __attr_aligned__(x) __attribute__((__aligned__(x))) #define __attr_ptr_size_aligned__ __attr_aligned__(__SIZEOF_POINTER__) +#define __attr_section__(s) __attribute__((section(s))) #define __attr_packed__ __attribute__((__packed__)) #define __attr_export__ __attribute__((dllexport)) #define __attr_import__ __attribute__((dllimport)) -- cgit v1.2.3