Subject: Re: ARM ELF toolchain patches
To: Charles M. Hannum <root@ihack.net>
From: Jason R Thorpe <thorpej@zembu.com>
List: port-arm32
Date: 02/21/2001 16:29:30
On Wed, Feb 21, 2001 at 04:23:31PM -0800, Charles M. Hannum 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.
--
-- Jason R. Thorpe <thorpej@zembu.com>