From cd78f7e767decd16ea8ddd5a147fa6027858882f Mon Sep 17 00:00:00 2001 From: Joseph Myers Date: Fri, 4 Oct 2013 15:55:15 +0000 Subject: e500 port: getcontext / setcontext / swapcontext. --- sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S') diff --git a/sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S b/sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S index f980d282ae..6525cf7429 100644 --- a/sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S +++ b/sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S @@ -243,6 +243,10 @@ ENTRY(__CONTEXT_FUNC_NAME) lfd fp31,_UC_FREGS+(31*8)(r31) #endif /* __CONTEXT_ENABLE_FPRS */ +#ifdef __CONTEXT_ENABLE_E500 + setcontext_e500 +#endif + /* Restore LR and CCR, and set CTR to the NIP value */ lwz r3,_UC_GREGS+(PT_LNK*4)(r31) lwz r4,_UC_GREGS+(PT_NIP*4)(r31) -- cgit 1.4.1