"small data" in m68k gcc?
Gunther Nikl
gni@gecko.de
Tue Oct 14 16:47:00 GMT 2003
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
More information about the Gcc
mailing list