diff options
Diffstat (limited to 'gcc/config/sh/sh-protos.h')
-rw-r--r-- | gcc/config/sh/sh-protos.h | 10 |
1 files changed, 8 insertions, 2 deletions
diff --git a/gcc/config/sh/sh-protos.h b/gcc/config/sh/sh-protos.h index 5b971960f2d..f007c4aa667 100644 --- a/gcc/config/sh/sh-protos.h +++ b/gcc/config/sh/sh-protos.h @@ -24,6 +24,8 @@ along with GCC; see the file COPYING3. If not see #ifndef GCC_SH_PROTOS_H #define GCC_SH_PROTOS_H +#include "multi-target.h" + enum sh_function_kind { /* A function with normal C ABI */ FUNCTION_ORDINARY, @@ -167,15 +169,17 @@ extern int shmedia_cleanup_truncate (rtx *, void *); extern int sh_contains_memref_p (rtx); extern int sh_loads_bankedreg_p (rtx); extern rtx shmedia_prepare_call_address (rtx fnaddr, int is_sibcall); +END_TARGET_SPECIFIC struct secondary_reload_info; -extern enum reg_class sh_secondary_reload (bool, rtx, enum reg_class, +START_TARGET_SPECIFIC +extern int /*enum reg_class*/ sh_secondary_reload (bool, rtx, + int /*enum reg_class*/, enum machine_mode, struct secondary_reload_info *); extern int sh2a_get_function_vector_number (rtx); extern int sh2a_is_function_vector_call (rtx); extern void sh_fix_range (const char *); extern bool sh_hard_regno_mode_ok (unsigned int, enum machine_mode); -#endif /* ! GCC_SH_PROTOS_H */ #ifdef SYMBIAN extern bool sh_symbian_dllimport_name_p (const char *); @@ -190,3 +194,5 @@ extern void sh_symbian_encode_section_info (tree, rtx, int); #endif #endif #endif /* SYMBIAN */ + +#endif /* ! GCC_SH_PROTOS_H */ |