OSDN Git Service

Fix SDB debug output generation for ARM/COFF
authorcrux <crux@138bc75d-0d04-0410-961f-82ee72b054a4>
Tue, 27 Jul 1999 17:02:42 +0000 (17:02 +0000)
committercrux <crux@138bc75d-0d04-0410-961f-82ee72b054a4>
Tue, 27 Jul 1999 17:02:42 +0000 (17:02 +0000)
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@28297 138bc75d-0d04-0410-961f-82ee72b054a4

gcc/ChangeLog
gcc/config/arm/coff.h

index 3d5b4d7..e5a9e5d 100644 (file)
@@ -1,3 +1,8 @@
+Tue Jul 27 17:49:42 1999  Bernd Schmidt  <bernds@cygnus.co.uk>
+
+       * config/arm/coff.h (ASM_FILE_START): If generating SDB output, call
+       output_file_directive.
+
 Tue Jul 27 03:15:33 1999  Jason Merrill  <jason@yorick.cygnus.com>
 
        * expr.c (expand_expr, case PLUS_EXPR): Get the mode from the 
index 0acd5b9..87f969e 100644 (file)
@@ -80,6 +80,8 @@ extern int arm_structure_size_boundary;
       fprintf (STREAM, "%s Generated by gcc %s for ARM/coff\n",        \
               ASM_COMMENT_START, version_string);              \
       fprintf (STREAM, ASM_APP_OFF);                           \
+      if (write_symbols == SDB_DEBUG)                          \
+       output_file_directive (STREAM, main_input_filename);    \
     }                                                          \
   while (0)