diff options
Diffstat (limited to 'gcc')
-rw-r--r-- | gcc/ChangeLog | 4 | ||||
-rw-r--r-- | gcc/config/i386/att.h | 11 |
2 files changed, 15 insertions, 0 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 93b7200..0215dd9 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,5 +1,9 @@ 2000-10-23 Diego Novillo <dnovillo@cygnus.com> + * config/i386/att.h (ASM_FILE_START): Define. + +2000-10-23 Diego Novillo <dnovillo@cygnus.com> + * config/i386/linux.h (ASM_FILE_START): Define. Wed Oct 18 11:16:40 2000 Donald Lindsay <dlindsay@cygnus.com> diff --git a/gcc/config/i386/att.h b/gcc/config/i386/att.h index 773c0f0..e04b035 100644 --- a/gcc/config/i386/att.h +++ b/gcc/config/i386/att.h @@ -48,6 +48,17 @@ do \ fprintf ((FILE), "\n"); \ } while (0) +/* Output at beginning of assembler file. */ +/* The .file command should always begin the output. */ +#undef ASM_FILE_START +#define ASM_FILE_START(FILE) \ + do { \ + output_file_directive (FILE, main_input_filename); \ + if (target_flags & MASK_INTEL_SYNTAX) \ + fputs ("\t.intel_syntax\n", FILE); \ + fprintf (FILE, "\t.version\t\"01.01\"\n"); \ + } while (0) + /* Do use .optim by default on this machine. */ #undef ASM_FILE_START_1 #define ASM_FILE_START_1(FILE) fprintf (FILE, "\t.optim\n") |