--- gcc/config/mot3300.h 2018/04/24 17:54:21 1.1.1.2 +++ gcc/config/mot3300.h 2018/04/24 18:04:54 1.1.1.4 @@ -61,7 +61,7 @@ the Free Software Foundation, 675 Mass A #define TARGET_MEM_FUNCTIONS -/ * size_t is unsigned int. */ +/* size_t is unsigned int. */ #define SIZE_TYPE "unsigned int" @@ -282,12 +282,11 @@ output_file_directive ((FILE), main_inpu ((N) == 0 || (N) == 8 || (TARGET_68881 && (N) == 16)) #endif -/* This is how to output a command to make the user-level label named NAME +/* This is the command to make the user-level label named NAME defined for reference from other files. */ -#undef ASM_GLOBALIZE_LABEL -#define ASM_GLOBALIZE_LABEL(FILE,NAME) \ - do { fputs ("\tglobal ", FILE); assemble_name (FILE, NAME); fputs ("\n", FILE);} while (0) +#undef GLOBAL_ASM_OP +#define GLOBAL_ASM_OP "global" /* Store in OUTPUT a string (made with alloca) containing an assembler-name for a local static variable named NAME. @@ -633,6 +632,18 @@ do { union { float f; long l;} tem; \ fprintf (FILE, "\tswbeg &%d\n%s%%%d:\n", \ XVECLEN (PATTERN (TABLE), 1), (PREFIX), (NUM)) +#if 0 +/* At end of a switch table, define LD%n iff the symbol LI%n was defined. */ +#define ASM_OUTPUT_CASE_END(FILE,NUM,TABLE) \ +{ if (switch_table_difference_label_flag) \ + asm_fprintf (FILE, "\t%s %LLD%d,%LL%d-%LLI%d-2.b\n",\ + SET_ASM_OP, (NUM), (NUM), (NUM)) \ + switch_table_difference_label_flag = 0; } +#endif + +/* We have to define this to avoid errors. */ +int switch_table_difference_label_flag; + /* Translate some opcodes to fit the sysV68 assembler syntax. */ /* The opcodes fdmov and fsmov are guesses. */