Messages in this thread | | | Subject | Re: [PATCH 1/11] Add generic helpers for arch IPI function calls | From | James Bottomley <> | Date | Mon, 28 Apr 2008 10:43:32 -0400 |
| |
On Mon, 2008-04-28 at 15:25 +0100, David Howells wrote: > We could use a GOT, but I believe that would add an extra memory > access to any > memory access or jump - which I'd prefer to avoid.
Not necessarily; this is how we work on PARISC with a GOT as the ELF spec defines. The point is that the GOT is linker constructed, so we only lay down GOT entries when the linker sees that relative displacements fail, so they don't consume memory (or even get brought into existence) in the ordinary case. The flip side of this is that we do double jump (relative to jump through got) for the long displacements we can't reach.
James
| |