aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJeff Law <law@gcc.gnu.org>1996-05-15 08:38:44 -0600
committerJeff Law <law@gcc.gnu.org>1996-05-15 08:38:44 -0600
commit3c75f3970ceedec4f8bc2553ae049ee6c505ec2a (patch)
treec0271a2f2e768222f2f5c28f69595163d711a771
parenta281e72d06a335cb2e69a254b6844609b861865b (diff)
downloadgcc-3c75f3970ceedec4f8bc2553ae049ee6c505ec2a.zip
gcc-3c75f3970ceedec4f8bc2553ae049ee6c505ec2a.tar.gz
gcc-3c75f3970ceedec4f8bc2553ae049ee6c505ec2a.tar.bz2
* h8300/h8300.h (DBX_OUTPUT_MAIN_SOURCE_FILE_END): Define.
From-SVN: r11972
-rw-r--r--gcc/config/h8300/h8300.h10
1 files changed, 10 insertions, 0 deletions
diff --git a/gcc/config/h8300/h8300.h b/gcc/config/h8300/h8300.h
index 3020fbe..97f81ef 100644
--- a/gcc/config/h8300/h8300.h
+++ b/gcc/config/h8300/h8300.h
@@ -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