diff options
Diffstat (limited to 'gcc/config/epiphany/epiphany.h')
-rw-r--r-- | gcc/config/epiphany/epiphany.h | 12 |
1 files changed, 7 insertions, 5 deletions
diff --git a/gcc/config/epiphany/epiphany.h b/gcc/config/epiphany/epiphany.h index f6f6df7c244..f92e1973e36 100644 --- a/gcc/config/epiphany/epiphany.h +++ b/gcc/config/epiphany/epiphany.h @@ -831,14 +831,12 @@ do { if ((LOG) != 0) fprintf (FILE, "\t.balign %d\n", 1 << (LOG)); } while (0) enum epiphany_function_type { EPIPHANY_FUNCTION_UNKNOWN, EPIPHANY_FUNCTION_NORMAL, - /* These are interrupt handlers. The name corresponds to the register - name that contains the return address. */ - EPIPHANY_FUNCTION_ILINK1, EPIPHANY_FUNCTION_ILINK2, /* These are interrupt handlers. The name corresponds to which type of interrupt handler we're dealing with. */ EPIPHANY_FUNCTION_RESET, EPIPHANY_FUNCTION_SOFTWARE_EXCEPTION, - EPIPHANY_FUNCTION_TIMER, EPIPHANY_FUNCTION_DMA0, - EPIPHANY_FUNCTION_DMA1, EPIPHANY_FUNCTION_STATIC_FLAG, + EPIPHANY_FUNCTION_PAGE_MISS, + EPIPHANY_FUNCTION_TIMER0, EPIPHANY_FUNCTION_TIMER1, EPIPHANY_FUNCTION_MESSAGE, + EPIPHANY_FUNCTION_DMA0, EPIPHANY_FUNCTION_DMA1, EPIPHANY_FUNCTION_WAND, EPIPHANY_FUNCTION_SWI }; @@ -895,4 +893,8 @@ extern struct rtl_opt_pass pass_resolve_sw_modes; implemented. */ #define TARGET_FUSED_MADD (flag_fp_contract_mode == FP_CONTRACT_FAST) +#undef ASM_DECLARE_FUNCTION_NAME +#define ASM_DECLARE_FUNCTION_NAME(FILE, NAME, DECL) \ + epiphany_start_function ((FILE), (NAME), (DECL)) + #endif /* !GCC_EPIPHANY_H */ |