This is the mail archive of the gcc@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Re: Half-solved ? Re: Sparc code question, -fpic or -fPIC


On Wed, May 12, 1999 at 02:12:17PM +0200, Marc Espie wrote:
> After looking around, I think that it is simply misled for sparc: both
> RELOC13 and RELOC22 types can occur in the same file, in which case the
> simple way out, is to just constrain all relocs to the `small' code model
> (+/-4K), so that the linker will only bitch if the total size of all relocs
> is too large.
> 
> Does that make sense ? I'm not quite sure yet this will work.

Yes, that will work.


r~


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]