This is the mail archive of the
binutils@sources.redhat.com
mailing list for the binutils project.
RE: GAS 2.11.1 doesn't work for sh-hitachi-coff
- To: "'Nick Clifton'" <nickc at cambridge dot redhat dot com>
- Subject: RE: GAS 2.11.1 doesn't work for sh-hitachi-coff
- From: "Schirmer, Hartmut" <SchirmerH at Innovative-Systems dot de>
- Date: Wed, 13 Jun 2001 12:12:28 +0200
- Cc: "'binutils at sources dot redhat dot com'" <binutils at sources dot redhat dot com>
Hi Nick,
this didn't help.
I noticed two additional dwarf2 calls in tc-sh.c
const pseudo_typeS md_pseudo_table[] =
{
...
{"file", dwarf2_directive_file, 0 },
{"loc", dwarf2_directive_loc, 0 },
dwarf2_directive_file gets called
Hartmut
> -----Original Message-----
> From: Nick Clifton [mailto:nickc@cambridge.redhat.com]
> Sent: Tuesday, June 12, 2001 3:06 PM
> To: Schirmer, Hartmut
> Subject: Re: GAS 2.11.1 doesn't work for sh-hitachi-coff
>
>
> Hi Hartmut,
>
> > Seems to be a general problem. Using gas 2.11.1 fails for my target
> > too. I don't use debug information here (no -g to GCC).
>
> Hmm, in which case please could try the enclosed patch and let me know
> if it works.
>
> Cheers
> Nick
>
> Index: gas/config/tc-sh.c
> ===================================================================
> RCS file: /cvs/src/src/gas/config/tc-sh.c,v
> retrieving revision 1.38
> diff -p -r1.38 tc-sh.c
> *** tc-sh.c 2001/04/05 04:21:36 1.38
> --- tc-sh.c 2001/06/12 13:03:19
> *************** md_assemble (str)
> *** 1945,1951 ****
> --- 1945,1953 ----
> }
> }
>
> + #ifdef BFD_ASSEMBLER
> dwarf2_emit_insn (size);
> + #endif
> }
>
> /* This routine is called each time a label definition is seen. It
>