From 71df911299f2944ab5c4bfc6d1fd3df5a23c7ca8 Mon Sep 17 00:00:00 2001 From: Richard Kenner Date: Wed, 22 Feb 1995 21:32:41 -0500 Subject: [PATCH] (DBX_OUTPUT_MAIN_SOURCE_FILE_END): New macro. From-SVN: r9044 --- gcc/config/svr4.h | 14 +++++++++++--- 1 file changed, 11 insertions(+), 3 deletions(-) diff --git a/gcc/config/svr4.h b/gcc/config/svr4.h index 2dd798091f58..069fbfbb4e88 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). */ -- 2.43.5