--- gcc/config/tower-as.h 2018/04/24 17:59:26 1.1.1.3 +++ gcc/config/tower-as.h 2018/04/24 18:05:07 1.1.1.4 @@ -629,6 +629,9 @@ do { fprintf (asm_out_file, "\ttag\t"); #define NO_DOLLAR_IN_LABEL #define NO_DOT_IN_LABEL +/* The usual definitions don't work because neither $ nor . is allowed. */ +#define CONSTRUCTOR_NAME_FORMAT "_GLOBAL_%%I%%%s" + /* Define a few machine-specific details of the implementation of constructors. @@ -653,16 +656,6 @@ do { fprintf (asm_out_file, "\ttag\t"); #define CTOR_LIST_END CTOR_LIST_BEGIN #define BSS_SECTION_ASM_OP "section\t~bss" -#define BSS_SECTION_FUNCTION \ -void \ -bss_section () \ -{ \ - if (in_section != in_bss) \ - { \ - fprintf (asm_out_file, "%s\n", BSS_SECTION_ASM_OP); \ - in_section = in_bss; \ - } \ -} #define ASM_OUTPUT_CONSTRUCTOR(FILE,NAME) \ do { \