This is the mail archive of the gcc@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

RE: how can RETURN_ADDR_RTX possibly do its work?


> -----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....
 



Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]