Subject: Re: ARM ELF toolchain patches
To: Jason R Thorpe <thorpej@zembu.com>
From: Charles M. Hannum <root@ihack.net>
List: port-arm32
Date: 02/21/2001 16:32:31
On Wed, Feb 21, 2001 at 04:29:30PM -0800, Jason R Thorpe wrote:
> 
>  > > the ATPCS PIC model is quite significantly different from our own, and I'm 
>  > > not sure we want to use it.  It does have the advantage that it extends to 
>  > > running code out of ROM, but that isn't a major issue for us.  The major 
>  > > cost of ATPCS pic model is that it locks down a register at all times if 
>  > > shared libraries might be available, since the PIC base register must 
>  > > always point to a PIC table, even in non-pic code (so that we can look up 
>  > > a new pic table when we move to a new shared lib).
>  > 
>  > Could you explain this more?  From your brief statement, it actually
>  > sounds like this is exactly where I want to go.
> 
> Indeed -- it sounds a lot like the i386 PIC model, too.

No, the i386 PIC model is not suitable for running out of ROM.  (At
least not with existing shlib semantics.)