This is the mail archive of the
binutils@sourceware.org
mailing list for the binutils project.
[Patch]: remove dwarf2 debug pseudos from avr md_pseudo_table
- From: Tristan Gingold <gingold at adacore dot com>
- To: Binutils <binutils at sourceware dot org>
- Date: Wed, 28 Oct 2009 15:06:42 +0100
- Subject: [Patch]: remove dwarf2 debug pseudos from avr md_pseudo_table
Hi,
as remarked by H-P, dwarf2 pseudos are already defined by obj-elf.c
So no need to add them explicitly in tc-avr.c
The DWARF2 macros in tc-avr.h are still useful however (and required).
No regressions.
Tristan.
gas/
2009-10-28 Tristan Gingold <gingold@adacore.com>
* config/tc-avr.c (md_pseudo_table): Remove dwarf2 debug pseudo
as they are already defined in obj-elf.c
Index: config/tc-avr.c
===================================================================
RCS file: /cvs/src/src/gas/config/tc-avr.c,v
retrieving revision 1.70
diff -c -r1.70 tc-avr.c
*** config/tc-avr.c 27 Oct 2009 15:39:27 -0000 1.70
--- config/tc-avr.c 28 Oct 2009 14:02:48 -0000
***************
*** 241,249 ****
const pseudo_typeS md_pseudo_table[] =
{
{"arch", avr_set_arch, 0},
- {"file", (void (*) (int)) dwarf2_directive_file, 0},
- {"loc", dwarf2_directive_loc, 0},
- {"loc_mark_labels", dwarf2_directive_loc_mark_labels, 0},
{ NULL, NULL, 0}
};
--- 241,246 ----