summaryrefslogtreecommitdiff
path: root/gcc/config/i860/fx2800.h
diff options
context:
space:
mode:
authorkenner <kenner@138bc75d-0d04-0410-961f-82ee72b054a4>1996-05-18 18:09:29 +0000
committerkenner <kenner@138bc75d-0d04-0410-961f-82ee72b054a4>1996-05-18 18:09:29 +0000
commit9c45ad33a438d91dd119b07d255a6a52f96492ef (patch)
tree5dd332149f3be6d9230ad9c95b34d67e65a8fcf8 /gcc/config/i860/fx2800.h
parent68369467bec16da73ad31572fa6eca5314c13c2d (diff)
downloadgcc-9c45ad33a438d91dd119b07d255a6a52f96492ef.tar.gz
No longer include i860/sysv4.h.
(OUTPUT_TDESC): No longer define. (ASM_FILE_END): Move redefinition to here. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@12027 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/config/i860/fx2800.h')
-rw-r--r--gcc/config/i860/fx2800.h22
1 files changed, 15 insertions, 7 deletions
diff --git a/gcc/config/i860/fx2800.h b/gcc/config/i860/fx2800.h
index 35cd9405490..f528c0c272d 100644
--- a/gcc/config/i860/fx2800.h
+++ b/gcc/config/i860/fx2800.h
@@ -1,9 +1,7 @@
/* Target definitions for GNU compiler for Alliant FX/2800
running Concentrix 2.2
-
Copyright (C) 1991, 1996 Free Software Foundation, Inc.
-
- Written by Howard Chu (hyc@hanauma.jpl.nasa.gov).
+ Contributed by Howard Chu (hyc@hanauma.jpl.nasa.gov).
This file is part of GNU CC.
@@ -22,10 +20,6 @@ along with GNU CC; see the file COPYING. If not, write to
the Free Software Foundation, 59 Temple Place - Suite 330,
Boston, MA 02111-1307, USA. */
-#define OUTPUT_TDESC
-
-#include "i860/sysv4.h"
-
/* The Alliant fx2800 running Concentrix 2.x is weird. This is basically
a BSD 4.3 based operating system, but it uses svr4 ELF format object
files and it somehow puts BSD stabs records into the ELF files for
@@ -343,3 +337,17 @@ Boston, MA 02111-1307, USA. */
/* ??? Is this used anywhere? */
#undef BSS_ASM_OP
#define BSS_ASM_OP "\t.lcomm"
+
+#undef ASM_FILE_END
+#define ASM_FILE_END(FILE) \
+do { \
+ if (current_function_original_name != NULL) { \
+ tdesc_section(); \
+ fprintf ((FILE), "%s __ETEXT\n", ASM_LONG); \
+ fprintf ((FILE), "%s 0\n", ASM_LONG); \
+ text_section(); \
+ fputs("__ETEXT:\n", (FILE)); \
+ } \
+ fprintf ((FILE), "\t.ident\t\"GCC: (GNU) %s\"\n", \
+ version_string); \
+ } while (0)