aboutsummaryrefslogtreecommitdiff
path: root/gcc/config/i860
diff options
context:
space:
mode:
authorRichard Kenner <kenner@gcc.gnu.org>1996-05-18 14:09:29 -0400
committerRichard Kenner <kenner@gcc.gnu.org>1996-05-18 14:09:29 -0400
commita67c93c82a4069e691fbe703fd3618fc9159582e (patch)
tree5dd332149f3be6d9230ad9c95b34d67e65a8fcf8 /gcc/config/i860
parent0aeb06cd5b0cc89befddd3f419f4daa62adedf79 (diff)
downloadgcc-a67c93c82a4069e691fbe703fd3618fc9159582e.zip
gcc-a67c93c82a4069e691fbe703fd3618fc9159582e.tar.gz
gcc-a67c93c82a4069e691fbe703fd3618fc9159582e.tar.bz2
No longer include i860/sysv4.h.
(OUTPUT_TDESC): No longer define. (ASM_FILE_END): Move redefinition to here. From-SVN: r12027
Diffstat (limited to 'gcc/config/i860')
-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 35cd940..f528c0c 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)