(DBX_OUTPUT_MAIN_SOURCE_FILE_END): New macro.
authorRichard Kenner <kenner@gcc.gnu.org>
Thu, 23 Feb 1995 02:32:41 +0000 (21:32 -0500)
committerRichard Kenner <kenner@gcc.gnu.org>
Thu, 23 Feb 1995 02:32:41 +0000 (21:32 -0500)
From-SVN: r9044

gcc/config/svr4.h

index 2dd798091f5835e17022ca5e3d4d94427a61bfea..069fbfbb4e88dd77a7ac69f1f8edbc48b948b5cf 100644 (file)
@@ -1,7 +1,7 @@
-/* svr4.h  --  operating system specific defines to be used when
-   targeting GCC for some generic System V Release 4 system.
+/* Operating system specific defines to be used when targeting GCC for some
+   generic System V Release 4 system.
    Copyright (C) 1991, 1994, 1995 Free Software Foundation, Inc.
-   Contributed by Ron Guilmette (rfg@netcom.com).
+   Contributed by Ron Guilmette (rfg@segfault.us.com).
 
 This file is part of GNU CC.
 
@@ -314,6 +314,14 @@ while (0)
 
 #define DBX_FUNCTION_FIRST
 
+/* 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.  */
+
+#define DBX_OUTPUT_MAIN_SOURCE_FILE_END(FILE, FILENAME)                        \
+  fprintf (FILE,                                                       \
+          "\t.text\n\t.stabs \"\",%d,0,0,.Letext\n.Letext:\n", N_SO)
+
 /* Define the actual types of some ANSI-mandated types.  (These
    definitions should work for most SVR4 systems).  */