summaryrefslogtreecommitdiff
path: root/gcc/config/i386/linux.h
diff options
context:
space:
mode:
authordnovillo <dnovillo@138bc75d-0d04-0410-961f-82ee72b054a4>2000-10-23 20:07:50 +0000
committerdnovillo <dnovillo@138bc75d-0d04-0410-961f-82ee72b054a4>2000-10-23 20:07:50 +0000
commit1e3897ebda494464aca25b2ef403270779d2b4a5 (patch)
treed0abb8f3df14afa7581dc6b18639b8548358576c /gcc/config/i386/linux.h
parente5366fba707117e5dc27efeb91d724634802f3bb (diff)
downloadgcc-1e3897ebda494464aca25b2ef403270779d2b4a5.tar.gz
2000-10-23 Diego Novillo <dnovillo@cygnus.com>
* config/i386/linux.h (ASM_FILE_START): Define. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@37022 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/config/i386/linux.h')
-rw-r--r--gcc/config/i386/linux.h11
1 files changed, 11 insertions, 0 deletions
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 <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)");