This is the mail archive of the libc-alpha@sourceware.org mailing list for the glibc project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [patch commit] Adjust SH fpu_control.h and ucontext.h files


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]