This is the mail archive of the
libc-alpha@sourceware.org
mailing list for the glibc project.
Re: [patch commit] Adjust SH fpu_control.h and ucontext.h files
- From: "Joseph S. Myers" <joseph at codesourcery dot com>
- To: <kkojima at rr dot iij4u dot or dot jp>
- Cc: <libc-alpha at sourceware dot org>
- Date: Thu, 23 Jan 2014 14:40:00 +0000
- Subject: Re: [patch commit] Adjust SH fpu_control.h and ucontext.h files
- Authentication-results: sourceware.org; auth=none
- References: <20140123 dot 143318 dot 124732824 dot kkojima at rr dot iij4u dot or dot jp>
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