OSDN Git Service

No longer include i860/sysv4.h.
authorkenner <kenner@138bc75d-0d04-0410-961f-82ee72b054a4>
Sat, 18 May 1996 18:09:29 +0000 (18:09 +0000)
committerkenner <kenner@138bc75d-0d04-0410-961f-82ee72b054a4>
Sat, 18 May 1996 18:09:29 +0000 (18:09 +0000)
(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

gcc/config/i860/fx2800.h

index 35cd940..f528c0c 100644 (file)
@@ -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)