Re: [PATCH v7 04/17] tracing: add static function tracer supportfor MIPS
From: Maciej W. Rozycki
Date: Wed Nov 11 2009 - 08:30:48 EST
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
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/