--- gcc/config/m68k/amix.h 2018/04/24 18:10:24 1.1.1.1 +++ gcc/config/m68k/amix.h 2018/04/24 18:14:18 1.1.1.2 @@ -21,6 +21,9 @@ the Free Software Foundation, 675 Mass A #include "m68k/m68kv4.h" +/* rhealey@aggregate.com says dots are no good either. */ +#define NO_DOT_IN_LABEL + /* Alter assembler syntax for fsgldiv and fsglmul. It is highly likely that this is a generic SGS m68k assembler dependency. If so, it should eventually be handled in the m68k/sgs.h ASM_OUTPUT_OPCODE @@ -36,7 +39,8 @@ the Free Software Foundation, 675 Mass A #undef CPP_PREDEFINES #define CPP_PREDEFINES \ - "-Dm68k -Dunix -DAMIX -D__svr4__ -Amachine(m68k) -Acpu(m68k) -Asystem(unix) -Alint(off)" + "-Dm68k -Dunix -DAMIX -D__svr4__ -D__motorola__ \ + -Amachine(m68k) -Acpu(m68k) -Asystem(unix) -Alint(off)" /* At end of a switch table, define LDnnn iff the symbol LInnn was defined. Some SGS assemblers have a bug such that "Lnnn-LInnn-2.b(pc,d0.l*2)" @@ -122,6 +126,9 @@ do { \ putc ('\n', (FILE)); \ } +/* The following should be unnecessary as a result of PIC_CASE_VECTOR_ADDRESS. + But rhealey@aggregate.com says they are still needed. */ + /* Override these for the sake of an assembler bug: the Amix assembler can't handle .LC0@GOT syntax. This pollutes the final table for shared librarys but what's a poor soul to do; sigh... RFH */ @@ -139,4 +146,3 @@ do { \ asm_fprintf (FILE, "%s%%%d:\n", PREFIX, NUM); \ else \ asm_fprintf (FILE, "%0L%s%d:\n", PREFIX, NUM) -