This is the mail archive of the
binutils@sources.redhat.com
mailing list for the binutils project.
Re: DWARF2 exception doesn't work with gcc and gas on MIPS.
- To: "H . J . Lu" <hjl at lucon dot org>
- Subject: Re: DWARF2 exception doesn't work with gcc and gas on MIPS.
- From: Richard Henderson <rth at redhat dot com>
- Date: Thu, 14 Jun 2001 10:19:51 -0700
- Cc: gcc at gcc dot gnu dot org, binutils at sourceware dot cygnus dot com, linux-mips at oss dot sgi dot com
- References: <20010613212940.A22683@lucon.org>
On Wed, Jun 13, 2001 at 09:29:40PM -0700, H . J . Lu wrote:
> Now we have
>
> $LEHB5:
> la $25,foobar
> jalr $25
> nop
> lw $gp,cprestore($sp)
> $LEHE5:
>
> When foobar throws an exception, GP won't get restored. What we want is
>
> $LEHB5:
> la $25,foobar
> jalr $25
> nop
> $LEHE5:
> lw $gp,cprestore($sp)
Um, what exactly do you think the difference between these two is?
Hint: nothing.
I could have sworn there was an exception_receiver pattern on mips
to handle this, but I don't see it now. It's relatively easy to fix;
see TARGET_LD_BUGGY_LDGP is handled on alpha.
r~