--- gcc/config/hp320.h 2018/04/24 17:54:04 1.1.1.2 +++ gcc/config/hp320.h 2018/04/24 17:58:58 1.1.1.3 @@ -164,8 +164,8 @@ the Free Software Foundation, 675 Mass A #undef PRINT_OPERAND #undef PRINT_OPERAND_ADDRESS #undef FUNCTION_PROFILER -#undef ASM_GLOBALIZE_LABEL #undef ASM_OUTPUT_INTERNAL_LABEL +#undef GLOBAL_ASM_OP #define TARGET_VERSION fprintf (stderr, " (68k, SGS/hpux syntax)"); @@ -293,6 +293,11 @@ the Free Software Foundation, 675 Mass A #define DATA_SECTION_ASM_OP "data" #define ASCII_DATA_ASM_OP "byte" + +/* This is the command to make the user-level label named NAME + defined for reference from other files. */ + +#define GLOBAL_ASM_OP "global" /* This says how to output an assembler line to define a global common symbol. */ @@ -318,12 +323,6 @@ the Free Software Foundation, 675 Mass A ( (OUTPUT) = (char *) alloca (strlen ((NAME)) + 12), \ sprintf ((OUTPUT), "%s___%d", (NAME), (LABELNO))) -/* This is how to output a command to make the user-level label named NAME - defined for reference from other files. */ - -#define ASM_GLOBALIZE_LABEL(FILE,NAME) \ - do { fputs ("\tglobal ", FILE); assemble_name (FILE, NAME); fputs ("\n", FILE);} while (0) - #define ASM_OUTPUT_INTERNAL_LABEL(FILE,PREFIX,NUM) \ do{ if (PREFIX[0] == 'L' && PREFIX[1] == 'I') \ fprintf(FILE, "\tset %s%d,.+2\n", PREFIX, NUM); \