This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: [VTA merge] Some dwarf problems
- From: Jakub Jelinek <jakub at redhat dot com>
- To: Hariharan <hariharans at picochip dot com>
- Cc: gcc at gcc dot gnu dot org, aoliva at redhat dot com
- Date: Mon, 21 Sep 2009 21:52:22 +0200
- Subject: Re: [VTA merge] Some dwarf problems
- References: <4AB7A40B.8070902@picochip.com>
- Reply-to: Jakub Jelinek <jakub at redhat dot com>
On Mon, Sep 21, 2009 at 05:04:27PM +0100, Hariharan wrote:
> Hi Alexandre,
> I was having some trouble with dwarf sections in picochip port. I am not
> a dwarf expert, but when i looked at the changes in r151312, file
> dwarf2out.c, function dwarf2out_var_location on line 17965, we have
>
> sprintf (loclabel, "%s-1", last_label);
> ...
>
> What is last_label-1 supposed to point to?
See http://gcc.gnu.org/ml/gcc-patches/2009-06/msg01317.html
for details. 1 byte before last_label label (which is usually right after a
call insn). The intent is to have something in the middle of a call insn.
Jakub