m68k-pic-*
Clem Vasseur
darkclem@wanadoo.fr
Thu Jul 5 09:36:00 GMT 2001
> > > Does -fPIC help?
> > >
> > No, because (AFAIK) it doesn't produce "base-register relative" addressing
> > for the .data and .bss sections.
>
> What about :
>
> @item -mpcrel
> Use the pc-relative addressing mode of the 68000 directly, instead of
> using a global offset table. At present, this option implies -fpic,
> allowing at most a 16-bit offset for pc-relative addressing. -fPIC is
> not presently supported with -mpcrel, though this could be supported for
> 68020 and higher processors.
>
This won't work.. it doesn't use a5 for accessing the .data and .bss segments.
---
Clem Vasseur <nitrogen@nrj.com>
Icarus Productions < http://icarus.ticalc.org >
------
Want more information? See the CrossGCC FAQ, http://www.objsw.com/CrossGCC/
Want to unsubscribe? Send a note to crossgcc-unsubscribe@sourceware.cygnus.com
More information about the crossgcc
mailing list