diff --git a/include/gba_base.h b/include/gba_base.h index b09b7c8..486bd82 100644 --- a/include/gba_base.h +++ b/include/gba_base.h @@ -101,6 +101,10 @@ #define IWRAM_DATA __attribute__((section(".iwram_data"))) #define EWRAM_DATA __attribute__((section(".ewram_data"))) + +#define ARM_CODE __attribute__((target("arm"))) +#define THUMB_CODE __attribute__((target("thumb"))) + #define EWRAM_BSS __attribute__((section(".sbss"))) #define ALIGN(m) __attribute__((aligned (m)))