how can RETURN_ADDR_RTX possibly do its work?

Dave Korn dk@artimi.com
Tue May 25 14:31:00 GMT 2004


> -----Original Message-----
> From: David Edelsohn  
> Sent: 25 May 2004 15:05
> To: Nathan Sidwell; Dave Korn
> Cc: gcc
> Subject: Re: how can RETURN_ADDR_RTX possibly do its work? 

 
> >>>>> Nathan Sidwell writes:
> 
> Nathan> rtx
> Nathan> XXX_return_addr (void)
> Nathan> {
> Nathan> return get_hard_reg_initial_val (Pmode, LINK_REGNUM);
> Nathan> }
> 
> 	The rs6000 port uses this method as well?
> 
> David


  Oh, good grief, what's up with my eyes today?  Yes, in fact it does; it's
only when doing PIC or when trying to find out enclosing frames' return
addresses that it uses that flag.  Sorry for the misinformation.


    cheers, 
      DaveK
-- 
Can't think of a witty .sigline today....
 




More information about the Gcc mailing list