--- gcc/config/m68k/amix.h 2018/04/24 18:10:24 1.1 +++ gcc/config/m68k/amix.h 2018/04/24 18:28:01 1.1.1.4 @@ -1,7 +1,7 @@ /* Definitions of target machine for GNU compiler. Commodore Amiga A3000UX version. - Copyright (C) 1991 Free Software Foundation, Inc. + Copyright (C) 1991, 1993 Free Software Foundation, Inc. This file is part of GNU CC. @@ -17,10 +17,14 @@ GNU General Public License for more deta You should have received a copy of the GNU General Public License along with GNU CC; see the file COPYING. If not, write to -the Free Software Foundation, 675 Mass Ave, Cambridge, MA 02139, USA. */ +the Free Software Foundation, 59 Temple Place - Suite 330, +Boston, MA 02111-1307, USA. */ #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 +40,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)" @@ -94,9 +99,9 @@ do { \ #undef ASM_OUTPUT_ASCII #define ASM_OUTPUT_ASCII(FILE,PTR,LEN) \ -{ \ +do { \ register int sp = 0, lp = 0, ch; \ - fprintf ((FILE), "\t%s ", BYTE_ASM_OP); \ + fprintf ((FILE), "\t%s ", BYTE_ASM_OP); \ do { \ ch = (PTR)[sp]; \ if (ch > ' ' && ! (ch & 0x80) && ch != '\\') \ @@ -120,8 +125,11 @@ do { \ } \ } while (sp < (LEN)); \ putc ('\n', (FILE)); \ -} +} while (0) +/* 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 +147,3 @@ do { \ asm_fprintf (FILE, "%s%%%d:\n", PREFIX, NUM); \ else \ asm_fprintf (FILE, "%0L%s%d:\n", PREFIX, NUM) -