Re: [PATCH v7 04/17] tracing: add static function tracer support for MIPS

Ralf Baechle
2009-11-12T21:16:53Z

On Wed, Nov 11, 2009 at 01:30:40PM +0000, Maciej W. Rozycki wrote:

>
> On Wed, 11 Nov 2009, Ralf Baechle wrote:
>
> > 64-bit with -mlong-call:
> >
> > lui $25, %highest(foo)
> > lui $2, %hi(foo)
> > daddiu $25, %higher(foo)
> > daddiu $2, %lo(foo)
> > dsll $25, 32
> > daddu $25, $2
> > jalr $25
>
> Don't we use -msym32 these days for this very reason?

We do - where we can. Not all systems can use -msym32.

Ralf