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: "small data" in m68k gcc?


On Sun, Oct 12, 2003 at 05:46:40PM -0700, Richard Henderson wrote:
> On Mon, Oct 13, 2003 at 01:13:55AM +0200, Bernardo Innocenti wrote:
> > There's currently no distinction between -fpic and -fPIC in the
> > m68k back-end.
> 
> Sure there is.  The former generates 16-bit offsets from pic register,
> the later generates 32-bit offsets.  Which is why -fPIC isn't available
> on ColdFire.

  Wouldn't it be possible to load the offset into a register and use that
  one to index into the pic table?

  Gunther


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