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

Maciej W. Rozycki
2009-11-11T13:30:39Z

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?

Maciej