Subject: Re: Global Offset Table (GOT) overflow from ld(1)
To: Jarle Fredrik Greipsland <jarle.greipsland@idt.unit.no>
From: Paul Kranenburg <pk@cs.few.eur.nl>
List: port-sparc
Date: 08/01/1995 23:34:36
> ld: Global Offset Table overflow
> ld: tkImage.so: GOT overflow for relocation at 0x234
>
Code compiled with `-fpic' on a sparc can address up to 2048 entries in
the GOT table. If the library gets to large, you need to compile all of
the object files with `-fPIC' in stead. ld needs to detect the presence
of the -fPIC relocations and then allow the GOT table to grow larger.
I'll set out about doing this sometime soon.
-pk