This is the mail archive of the
binutils@sourceware.org
mailing list for the binutils project.
[Committed] Add .zdebug to the list of known sections in tc-h8300
- From: Nick Clifton <nickc at redhat dot com>
- To: binutils at sourceware dot org
- Date: Wed, 19 May 2010 11:47:10 +0100
- Subject: [Committed] Add .zdebug to the list of known sections in tc-h8300
Hi Guys,
I am applying the patch below to fix a failure in the binutils
testsuite for the h8300-elf port. It was failing to assemble the
dw2-compressed.S test file because it did not recognise the
.zdebug_abbrev section as one whose section flags are well known.
Cheers
Nick
gas/ChangeLog
2010-05-19 Nick Clifton <nickc@redhat.com>
* config/tc-h8300.c (h8300_elf_section): Add .zdebug to the list
of known section prefixes.
Index: gas/config/tc-h8300.c
===================================================================
RCS file: /cvs/src/src/gas/config/tc-h8300.c,v
retrieving revision 1.63
diff -c -3 -p -r1.63 tc-h8300.c
*** gas/config/tc-h8300.c 13 Jan 2010 14:08:52 -0000 1.63
--- gas/config/tc-h8300.c 19 May 2010 10:44:05 -0000
*************** static void
*** 146,152 ****
h8300_elf_section (int push)
{
static const char * known_data_sections [] = { ".rodata", ".tdata", ".tbss" };
! static const char * known_data_prefixes [] = { ".debug", ".gnu.warning" };
char * saved_ilp = input_line_pointer;
char * name;
--- 146,152 ----
h8300_elf_section (int push)
{
static const char * known_data_sections [] = { ".rodata", ".tdata", ".tbss" };
! static const char * known_data_prefixes [] = { ".debug", ".zdebug", ".gnu.warning" };
char * saved_ilp = input_line_pointer;
char * name;