--- gcc/config/m68k/tower-as.h 2018/04/24 18:10:24 1.1.1.1 +++ gcc/config/m68k/tower-as.h 2018/04/24 18:14:27 1.1.1.2 @@ -38,7 +38,7 @@ the Free Software Foundation, 675 Mass A /* Names to predefine in the preprocessor for this target machine. */ -#define CPP_PREDEFINES "-Dunix -Dtower32 -Dtower32_600" +#define CPP_PREDEFINES "-Dunix -Dtower32 -Dtower32_600 -D__motorola__ -Asystem(unix) -Asystem(svr3) -Acpu(m68k) -Amachine(m68k)" /* Define __HAVE_68881 in preprocessor only if -m68881 is specified. This will control the use of inline 68881 insns in certain macros. @@ -71,7 +71,9 @@ the Free Software Foundation, 675 Mass A #define ASM_OUTPUT_SOURCE_FILENAME(FILE, FILENAME) \ do { \ - fprintf (FILE, "\tfile\t\"%s\"\n", FILENAME); \ + fprintf (FILE, "\tfile\t"); \ + output_quoted_string (FILE, FILENAME); \ + fprintf (FILE, "\n"); \ fprintf (FILE, "section ~init,\"x\"\n"); \ fprintf (FILE, "section ~fini,\"x\"\n"); \ fprintf (FILE, "section ~rodata,\"x\"\n"); \