Re: DWARF2 exception doesn't work with gcc and gas on MIPS.

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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~


[Index of Archives]     [Linux MIPS Home]     [LKML Archive]     [Linux ARM Kernel]     [Linux ARM]     [Linux]     [Git]     [Yosemite News]     [Linux SCSI]     [Linux Hams]

  Powered by Linux