This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the EGCS project.
Committed patch to config/arm/coff.h
- To: gcc-patches@gcc.gnu.org
- Subject: Committed patch to config/arm/coff.h
- From: Bernd Schmidt <bernds@cygnus.co.uk>
- Date: Tue, 27 Jul 1999 18:06:15 +0100 (BST)
The patch below fixes a problem with generating SDB debugging information on
ARM COFF targets. It was reviewed by Jim Wilson.
Bernd
* config/arm/coff.h (ASM_FILE_START): If generating SDB output, call
output_file_directive.
--- coff.h 1999/07/22 02:22:57 1.33
+++ coff.h 1999/07/27 16:53:08
@@ -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)