From: Diego Novillo Date: Mon, 23 Oct 2000 20:07:50 +0000 (+0000) Subject: linux.h (ASM_FILE_START): Define. X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=d984704dd19710ae35fed9315829c83399d72159;p=gcc.git linux.h (ASM_FILE_START): Define. 2000-10-23 Diego Novillo * config/i386/linux.h (ASM_FILE_START): Define. From-SVN: r37022 --- diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 54850b414d6..93b7200e49f 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,7 @@ +2000-10-23 Diego Novillo + + * config/i386/linux.h (ASM_FILE_START): Define. + Wed Oct 18 11:16:40 2000 Donald Lindsay * gcc/configure.in: m68k-coff tm_file should not have libgloss.h, diff --git a/gcc/config/i386/linux.h b/gcc/config/i386/linux.h index 9cb332c3096..597bb51c99e 100644 --- a/gcc/config/i386/linux.h +++ b/gcc/config/i386/linux.h @@ -29,6 +29,17 @@ Boston, MA 02111-1307, USA. */ #include /* Use the i386 AT&T assembler syntax */ #include /* some common stuff */ +/* 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) + #undef TARGET_VERSION #define TARGET_VERSION fprintf (stderr, " (i386 Linux/ELF)");