* h8300/h8300.h (DBX_OUTPUT_MAIN_SOURCE_FILE_END): Define.
authorJeff Law <law@gcc.gnu.org>
Wed, 15 May 1996 14:38:44 +0000 (08:38 -0600)
committerJeff Law <law@gcc.gnu.org>
Wed, 15 May 1996 14:38:44 +0000 (08:38 -0600)
From-SVN: r11972

gcc/config/h8300/h8300.h

index 3020fbe57fc91b19cb42501b80a0b90c283d90f8..97f81eff6de007b58b9c3acccb51f7370fe9bf25 100644 (file)
@@ -1148,6 +1148,16 @@ readonly_data()                                          \
 
 #include "dbxcoff.h"
 
+/* Override definition in dbxcoff.h.  */
+/* Generate a blank trailing N_SO to mark the end of the .o file, since
+   we can't depend upon the linker to mark .o file boundaries with
+   embedded stabs.  */
+
+#undef DBX_OUTPUT_MAIN_SOURCE_FILE_END
+#define DBX_OUTPUT_MAIN_SOURCE_FILE_END(FILE, FILENAME)                        \
+  fprintf (FILE,                                                       \
+          "\t.text\n.stabs \"\",%d,0,0,.Letext\n.Letext:\n", N_SO)
+
 /* A C statement to output something to the assembler file to switch to section
    NAME for object DECL which is either a FUNCTION_DECL, a VAR_DECL or
    NULL_TREE.  Some target formats do not support arbitrary sections.  Do not