[patch commit] Adjust SH fpu_control.h and ucontext.h files
Joseph S. Myers
joseph@codesourcery.com
Thu Jan 23 14:40:00 GMT 2014
On Thu, 23 Jan 2014, kkojima@rr.iij4u.or.jp wrote:
> For the record, I've committed the patch below according to
> the thread starting with
> https://sourceware.org/ml/libc-alpha/2014-01/msg00376.html
I didn't see any response to my point in
<https://sourceware.org/ml/libc-alpha/2014-01/msg00382.html> that the
actual ucontext ABI, as used by both the kernel and previous glibc, should
use something other than __SH_FPU_ANY__ as the conditional for FPRs being
part of the context. I'm not sure exactly what - is __SH4__ defined in
all relevant cases or do you need to test __SH4A__ as well (it looks like
GCC might not define __SH4__ in all SH4A cases)? - but it certainly seems
to me that the ABI has the FPRs in the context (just not used there, but
affecting the size and layout) for soft-float SH4.
--
Joseph S. Myers
joseph@codesourcery.com
More information about the Libc-alpha
mailing list