summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--gcc/ChangeLog6
-rw-r--r--gcc/config/mips/linux.h15
2 files changed, 20 insertions, 1 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog
index a5bfcda917c..7f9297517d9 100644
--- a/gcc/ChangeLog
+++ b/gcc/ChangeLog
@@ -1,3 +1,9 @@
+2000-03-10 Andreas Jaeger <aj@suse.de>
+
+ * config/mips/linux.h: Undefine MD_EXEC_PREFIX and
+ MD_STARTFILE_PREFIX since those are not needed on linux.
+ (ASM_FILE_START): New, from mips/gnu.h.
+
2000-03-09 Richard Henderson <rth@cygnus.com>
Alex Samuel <samuel@codesourcery.com> and others
diff --git a/gcc/config/mips/linux.h b/gcc/config/mips/linux.h
index 1b432d61b69..498e9b5daf0 100644
--- a/gcc/config/mips/linux.h
+++ b/gcc/config/mips/linux.h
@@ -1,5 +1,5 @@
/* Definitions for MIPS running Linux-based GNU systems with ELF format.
- Copyright (C) 1998, 1999 Free Software Foundation, Inc.
+ Copyright (C) 1998, 1999, 2000 Free Software Foundation, Inc.
This file is part of GNU CC.
@@ -25,6 +25,19 @@ Boston, MA 02111-1307, USA. */
#define TARGET_VERSION fprintf (stderr, " (MIPS GNU/ELF)");
#endif
+#undef MD_EXEC_PREFIX
+#undef MD_STARTFILE_PREFIX
+
+/* Output at beginning of assembler file. */
+/* The .file command should always begin the output. */
+#undef ASM_FILE_START
+#define ASM_FILE_START(FILE) \
+ do { \
+ mips_asm_file_start (FILE); \
+ fprintf (FILE, "\t.version\t\"01.01\"\n"); \
+ } while (0)
+
+
/* Required to keep collect2.c happy */
#undef OBJECT_FORMAT_COFF