This is the mail archive of the binutils@sources.redhat.com mailing list for the binutils project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

A patch to fix COFF


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]