Ian Lance Taylor <[EMAIL PROTECTED]> writes:
> "Rohit Arul Raj" <[EMAIL PROTECTED]> writes:
>
>> I have built a cross-compiler for m68k-elf with GCC 4.1.1.
>> I need to know the difference in implementations of -fpic and -fPIC
>> for this particular target.
>
> -fpic uses a 16-bit offset when accessing the GOT.  -fPIC uses a
> 32-bit offset.  Thus -fpic may fail if you have more than 16K global
> variables.  and -fPIC will fail on the 68000 (are there still 68000s
> out there?).

FWIW, Coldfire targets, like the 68000, are also restricted to 16-bit offsets.

Richard

Reply via email to