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

H . J . Lu hjl@lucon.org
Thu Jun 14 12:55:00 GMT 2001


On Thu, Jun 14, 2001 at 12:42:55PM -0700, Richard Henderson wrote:
> On Thu, Jun 14, 2001 at 12:25:50PM -0700, H . J . Lu wrote:
> > 1. I see PIC_FUNCTION_ADDR_REGNUM be $25. gp is $28.  How does your
> > patch restore $28?
> 
> That should be pic_offset_table_rtx instead.
> 

I used

operands[0] = pic_offset_table_rtx;

It seems to work for me.

Thanks a lot.


H.J.



More information about the Binutils mailing list