--- gcc/config/i386/aix386ng.h 2018/04/24 18:10:27 1.1 +++ gcc/config/i386/aix386ng.h 2018/04/24 18:16:52 1.1.1.2 @@ -43,7 +43,7 @@ the Free Software Foundation, 675 Mass A /* Specify predefined symbols in preprocessor. */ -#define CPP_PREDEFINES "-Dps2 -Dunix -Di386" +#define CPP_PREDEFINES "-Dps2 -Dunix -Di386 -Asystem(unix) -Asystem(aix) -Acpu(i386) -Amachine(i386)" #define CPP_SPEC \ "%{posix:-D_POSIX_SOURCE}%{!posix:-DAIX} -D_I386 -D_AIX -D_MBCS" @@ -57,7 +57,9 @@ the Free Software Foundation, 675 Mass A #undef ASM_FILE_START #define ASM_FILE_START(FILE) \ - do { fprintf (FILE, "\t.file\t\"%s\"\n", dump_base_name); \ + do { fprintf (FILE, "\t.file\t"); \ + output_quoted_string (FILE, dump_base_name); \ + fprintf (FILE, "\n"); \ if (optimize) \ ASM_FILE_START_1 (FILE); \ else \