linux.h: Undefine MD_EXEC_PREFIX and MD_STARTFILE_PREFIX since those are not needed...
authorAndreas Jaeger <aj@suse.de>
Fri, 10 Mar 2000 14:24:50 +0000 (15:24 +0100)
committerGavin Romig-Koch <gavin@gcc.gnu.org>
Fri, 10 Mar 2000 14:24:50 +0000 (14:24 +0000)
* 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.

From-SVN: r32470

gcc/ChangeLog
gcc/config/mips/linux.h

index a5bfcda917c0864094100e062358b6818ed825a4..7f9297517d9da1530065559e2fb2ac225c19e9e5 100644 (file)
@@ -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
        
index 1b432d61b69e076b9c154a0e617d0726fd2fa480..498e9b5daf079ea3564a55042af239a6b1684583 100644 (file)
@@ -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