relax jalr $t9 [R_MIPS_JALR symbol] to bal symbol

Alexandre Oliva aoliva@redhat.com
Tue Mar 25 07:32:00 GMT 2003


On Mar 25, 2003, cgd@broadcom.com wrote:

> Is there something in the dynamic loader that makes sure that the
> "index in segment" aspect of mips jumps will be handled sanely?

Nope.  We'd get this effect if program headers specified
256MB-alignment for pages, but this would mean we couldn't load very
many shared libraries...  This is one of the reasons why the use of j
is pretty much forbidden by ABIs that support PIC and dynamic
loading.

-- 
Alexandre Oliva   Enjoy Guarana', see http://www.ic.unicamp.br/~oliva/
Red Hat GCC Developer                 aoliva@{redhat.com, gcc.gnu.org}
CS PhD student at IC-Unicamp        oliva@{lsd.ic.unicamp.br, gnu.org}
Free Software Evangelist                Professional serial bug killer



More information about the Binutils mailing list