Jamey Hicks wrote:
>
> #if defined(NO_SHARED_VMLIBRARY)
> #else
>
> asm(
> START_ASM_FUNC() C_FUNC_NAME(arm_do_fixup_trampoline) "\n"
> C_FUNC_NAME(arm_do_fixup_trampoline) ": \n
> stmdb sp!,{r0,r1,r2,r3,lr}\n
> mov r0,ip\n
> bl " C_FUNC_NAME(soft_fixup_trampoline) " (PLT) \n
> mov ip, r0\n
> ldmia sp!,{r0,r1,r2,r3,lr}\n
> mov pc, ip\n
> "
> END_ASM_FUNC()
> );
>
> #endif
This version should be fine for both cases. The linker will adjust and handle
it correctly when linking statically.
Scott
--
Scott Bambrough - Software Engineer
REBEL.COM http://www.rebel.com
NetWinder http://www.netwinder.org
unsubscribe: body of `unsubscribe linux-arm' to [EMAIL PROTECTED]
++ Please use [EMAIL PROTECTED] for ++
++ kernel-related discussions. ++