linker problem: relocation truncated to fit
H . J . Lu
hjl@lucon.org
Mon Sep 17 15:53:00 GMT 2001
On Mon, Sep 17, 2001 at 03:40:01PM -0700, Richard Henderson wrote:
> On Mon, Sep 17, 2001 at 03:55:09AM +0200, Ralf Baechle wrote:
> > It is. Yet I wouldn't like to assign a different meaning to -fpic and
> > -fPIC as most makefiles make little difference between these two options,
> > so that would imply quite some overhead.
>
> There is already such a difference. Sparc uses 13-bit GOT offsets
> with -fpic and 32-bit offsets with -fPIC. I'm considering changes
> to Alpha to use a 16/32 split for pic/PIC.
Can you mix object files compiled with -fPIC/-fpic on Sparc/Alpha?
H.J.
More information about the Gcc
mailing list