diff options
author | Diego Novillo <dnovillo@cygnus.com> | 2000-10-23 20:07:50 +0000 |
---|---|---|
committer | Diego Novillo <dnovillo@gcc.gnu.org> | 2000-10-23 16:07:50 -0400 |
commit | d984704dd19710ae35fed9315829c83399d72159 (patch) | |
tree | d0abb8f3df14afa7581dc6b18639b8548358576c /gcc | |
parent | eade41de2a29abec48be9a51d3a6d1186a5e3846 (diff) | |
download | gcc-d984704dd19710ae35fed9315829c83399d72159.zip gcc-d984704dd19710ae35fed9315829c83399d72159.tar.gz gcc-d984704dd19710ae35fed9315829c83399d72159.tar.bz2 |
linux.h (ASM_FILE_START): Define.
2000-10-23 Diego Novillo <dnovillo@cygnus.com>
* config/i386/linux.h (ASM_FILE_START): Define.
From-SVN: r37022
Diffstat (limited to 'gcc')
-rw-r--r-- | gcc/ChangeLog | 4 | ||||
-rw-r--r-- | gcc/config/i386/linux.h | 11 |
2 files changed, 15 insertions, 0 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 54850b4..93b7200 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,7 @@ +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> * 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 9cb332c..597bb51 100644 --- a/gcc/config/i386/linux.h +++ b/gcc/config/i386/linux.h @@ -29,6 +29,17 @@ Boston, MA 02111-1307, USA. */ #include <i386/att.h> /* Use the i386 AT&T assembler syntax */ #include <linux.h> /* 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)"); |