summaryrefslogtreecommitdiff
path: root/gcc/config/svr4.h
diff options
context:
space:
mode:
authorRichard Kenner <kenner@gcc.gnu.org>1995-02-22 21:32:41 -0500
committerRichard Kenner <kenner@gcc.gnu.org>1995-02-22 21:32:41 -0500
commit71df911299f2944ab5c4bfc6d1fd3df5a23c7ca8 (patch)
treee8104810f6e0319c9b795ef5a38b269b24af6729 /gcc/config/svr4.h
parent96317659b6cfb86f137642008e5d711ccf92eae9 (diff)
downloadgcc-71df911299f2944ab5c4bfc6d1fd3df5a23c7ca8.tar.gz
(DBX_OUTPUT_MAIN_SOURCE_FILE_END): New macro.
From-SVN: r9044
Diffstat (limited to 'gcc/config/svr4.h')
-rw-r--r--gcc/config/svr4.h14
1 files changed, 11 insertions, 3 deletions
diff --git a/gcc/config/svr4.h b/gcc/config/svr4.h
index 2dd798091f5..069fbfbb4e8 100644
--- a/gcc/config/svr4.h
+++ b/gcc/config/svr4.h
@@ -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). */