From 602f9606d6ba9cdbf18d0e4d538aed75d99c220a Mon Sep 17 00:00:00 2001 From: Andreas Jaeger Date: Fri, 10 Mar 2000 15:24:50 +0100 Subject: [PATCH] linux.h: Undefine MD_EXEC_PREFIX and MD_STARTFILE_PREFIX since those are not needed on linux. * 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 | 6 ++++++ gcc/config/mips/linux.h | 15 ++++++++++++++- 2 files changed, 20 insertions(+), 1 deletion(-) 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 + + * 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 Alex Samuel 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