From: Jeff Law Date: Wed, 15 May 1996 14:38:44 +0000 (-0600) Subject: * h8300/h8300.h (DBX_OUTPUT_MAIN_SOURCE_FILE_END): Define. X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=3c75f3970ceedec4f8bc2553ae049ee6c505ec2a;p=gcc.git * h8300/h8300.h (DBX_OUTPUT_MAIN_SOURCE_FILE_END): Define. From-SVN: r11972 --- diff --git a/gcc/config/h8300/h8300.h b/gcc/config/h8300/h8300.h index 3020fbe57fc..97f81eff6de 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