public inbox for gcc@gcc.gnu.org
 help / color / mirror / Atom feed
* dynamic PIC register?
@ 2001-09-20 17:20 dalej
  2001-09-20 18:55 ` David Edelsohn
  2001-09-27  5:40 ` Alexandre Oliva
  0 siblings, 2 replies; 6+ messages in thread
From: dalej @ 2001-09-20 17:20 UTC (permalink / raw)
  To: gcc

On the Darwin powerpc target, it would be better not to have 
PIC_OFFSET_TABLE_REGNUM be a fixed register.  In particular, it should be 
a register saved over calls in a non-leaf function, and a register not 
saved over calls in a leaf function.  I could  do this by changing the 
fixed register at the last minute in the target-dependent prolog/epilog 
generation (which is what we did in the 2.95 version currently shipping).  
But it seems to me a cleaner solution that also applies to other targets 
might be useful.  Is this so, and how might I go about it?

^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2001-09-27  6:38 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2001-09-20 17:20 dynamic PIC register? dalej
2001-09-20 18:55 ` David Edelsohn
2001-09-24 13:04   ` Geoff Keating
2001-09-27  5:40 ` Alexandre Oliva
2001-09-27  6:27   ` Andreas Schwab
2001-09-27  6:38   ` Stan Shebs

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).