Painful problems with -fpic implementation on powerpc-sysv

Jeffrey A Law law@cygnus.com
Wed Aug 26 20:55:00 GMT 1998


  In message < 19980826191807.B27094@dot.cygnus.com >you write:
  > On Wed, Aug 26, 1998 at 07:29:57PM -0600, Jeffrey A Law wrote:
  > > Consider a target where it is impossible to synthesize the sequence
  > > at reload time.
  > 
  > Define "impossible to synthesize".  Ugly, yes.  I can also see
  > needing two or three reload regs.  But it should be possible, 
  > ignoring asms, and given that any one insn doesn't have more than
  > a couple inputs.
The case that comes up on the PA is function addresses.  A subset of
them you can synthesize in registers, but others you can't.  The
linker doesn't provide the necessary reloctation support.

Right now we just punt and throw them all into the data section.

jeff



More information about the Gcc mailing list