From dfb6545c6b03a0fb77dc27929d9747595f71be7d Mon Sep 17 00:00:00 2001 From: Elliott Hughes Date: Wed, 20 Nov 2013 11:34:53 -0800 Subject: [PATCH] MIPS hasn't supported SA_RESTORER since 2.5 kernels. Change-Id: Ia3500168ab5ba5ba381d0195e9ecc26a618bf505 --- ndk/sources/android/libportable/arch-mips/signal.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/ndk/sources/android/libportable/arch-mips/signal.c b/ndk/sources/android/libportable/arch-mips/signal.c index a06eff70a..0c38d1493 100644 --- a/ndk/sources/android/libportable/arch-mips/signal.c +++ b/ndk/sources/android/libportable/arch-mips/signal.c @@ -1027,7 +1027,7 @@ static int sigaction_flags_pton(int portable_flags) ALOGV("%s: SA_THIRTYTWO_PORTABLE isn't SUPPORTED.", __func__); } if (portable_flags & SA_RESTORER_PORTABLE) { - mips_flags |= SA_RESTORER; + ALOGV("%s: SA_RESTORER isn't SUPPORTED.", __func__); } if (portable_flags & SA_ONSTACK_PORTABLE) { mips_flags |= SA_ONSTACK; @@ -1059,7 +1059,6 @@ int sigaction_flags_ntop(int mips_flags) #ifdef SA_THIRTYTWO if (mips_flags & SA_THIRTYTWO) portable_flags |= SA_THIRTYTWO_PORTABLE; #endif - if (mips_flags & SA_RESTORER) portable_flags |= SA_RESTORER_PORTABLE; if (mips_flags & SA_ONSTACK) portable_flags |= SA_ONSTACK_PORTABLE; if (mips_flags & SA_RESTART) portable_flags |= SA_RESTART_PORTABLE; if (mips_flags & SA_NODEFER) portable_flags |= SA_NODEFER_PORTABLE;