diff options
author | gavin <gavin@138bc75d-0d04-0410-961f-82ee72b054a4> | 2000-03-10 14:24:50 +0000 |
---|---|---|
committer | gavin <gavin@138bc75d-0d04-0410-961f-82ee72b054a4> | 2000-03-10 14:24:50 +0000 |
commit | 900c10453047b9f0166459d8a8c397b8467c5022 (patch) | |
tree | d97ea4310478bb4a01689ff2bca4c7b39b47163a | |
parent | 902527162ab0e8f4d26232aa387671ce521661a7 (diff) | |
download | gcc-900c10453047b9f0166459d8a8c397b8467c5022.tar.gz |
* 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.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@32470 138bc75d-0d04-0410-961f-82ee72b054a4
-rw-r--r-- | gcc/ChangeLog | 6 | ||||
-rw-r--r-- | gcc/config/mips/linux.h | 15 |
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 |