diff options
Diffstat (limited to 'gcc/config/sh/sh.h')
-rw-r--r-- | gcc/config/sh/sh.h | 24 |
1 files changed, 9 insertions, 15 deletions
diff --git a/gcc/config/sh/sh.h b/gcc/config/sh/sh.h index dce9acb1acd..ebffc4dd628 100644 --- a/gcc/config/sh/sh.h +++ b/gcc/config/sh/sh.h @@ -257,6 +257,10 @@ do { \ && (ALIGN) < FASTEST_ALIGNMENT) \ ? FASTEST_ALIGNMENT : (ALIGN)) +#ifndef MAX_OFILE_ALIGNMENT +#define MAX_OFILE_ALIGNMENT 128 +#endif + /* Make arrays of chars word-aligned for the same reasons. */ #define DATA_ALIGNMENT(TYPE, ALIGN) \ (TREE_CODE (TYPE) == ARRAY_TYPE \ @@ -1518,7 +1522,7 @@ dtors_section() \ /* Define this so that jump tables go in same section as the current function, which could be text or it could be a user defined section. */ -#define JUMP_TABLES_IN_TEXT_SECTION +#define JUMP_TABLES_IN_TEXT_SECTION 1 /* A C statement to output something to the assembler file to switch to section NAME for object DECL which is either a FUNCTION_DECL, a VAR_DECL or @@ -1815,12 +1819,10 @@ int barrier_align (); #define TARGET_MEM_FUNCTIONS /* Define this macro if you want to implement any pragmas. If defined, it - is a C expression to be executed when #pragma is seen. The - argument FILE is the stdio input stream from which the source - text can be read. CH is the first character after the #pragma. The - result of the expression is the terminating character found - (newline or EOF). */ -#define HANDLE_PRAGMA(FILE, NODE) handle_pragma ((FILE), (NODE)) + is a C expression whose value is 1 if the pragma was handled by the + macro, zero otherwise. */ +#define HANDLE_PRAGMA(GETC, UNGETC, NODE) sh_handle_pragma (GETC, UNGETC, NODE) +extern int sh_handle_pragma (); /* Set when processing a function with pragma interrupt turned on. */ @@ -1941,14 +1943,6 @@ do { \ cost = 2; \ } while (0) \ -/* Since the SH architecture lacks negative address offsets, - the givs should be sorted smallest to largest so combine_givs - has maximum opportunity to combine givs. */ -#define GIV_SORT_CRITERION(X, Y) \ - if (GET_CODE ((X)->add_val) == CONST_INT \ - && GET_CODE ((Y)->add_val) == CONST_INT) \ - return INTVAL ((X)->add_val) - INTVAL ((Y)->add_val); - /* For the sake of libgcc2.c, indicate target supports atexit. */ #define HAVE_ATEXIT |