This is the mail archive of the
binutils@sources.redhat.com
mailing list for the binutils project.
A patch to fix COFF
- To: binutils at sourceware dot cygnus dot com
- Subject: A patch to fix COFF
- From: "H . J . Lu" <hjl at valinux dot com>
- Date: Thu, 22 Feb 2001 16:12:04 -0800
- Cc: joel at OARcorp dot com
I'd like to check into this patch to fix
http://sources.redhat.com/ml/binutils/2001-02/msg00333.html
http://sources.redhat.com/ml/binutils/2001-02/msg00334.html
The problem is
{"file", dwarf2_directive_file, 0},
If BFD_ASSEMBLER is not defined, as will barf on
.file "foo.c"
Thanks.
--
H.J. Lu (hjl@valinux.com)
---
2001-02-22 H.J. Lu <hjl@gnu.org>
* dwarf2dbg.c (dwarf2_directive_file): Empty if BFD_ASSEMBLER
is not defined.
Index: dwarf2dbg.c
===================================================================
RCS file: /work/cvs/gnu/binutils/gas/dwarf2dbg.c,v
retrieving revision 1.19
diff -u -p -r1.19 dwarf2dbg.c
--- dwarf2dbg.c 2001/02/03 23:13:19 1.19
+++ dwarf2dbg.c 2001/02/23 00:11:03
@@ -1284,7 +1284,6 @@ void
dwarf2_directive_file (dummy)
int dummy ATTRIBUTE_UNUSED;
{
- as_fatal (_("dwarf2 is not supported for this object file format"));
}
void