Patch needed for CVS glibc on SH

kaz Kojima kkojima@rr.iij4u.or.jp
Fri Jun 20 03:55:00 GMT 2003


Daniel Jacobowitz <drow@false.org> wrote:
> On Fri, Jun 20, 2003 at 10:43:33AM +0900, kaz Kojima wrote:
[snip]
>> I agree with this one. About pread64/pwrite64, did you see the argument
>> in the another list
>> <URL:http://www.geocrawler.com/mail/msg.php3?msg_id=10038494&list=3076>?
> 
> Sorry, too many lists - I'm not on linuxsh-dev.  I admit I only tested
> SH-3, though.  So I guess that patch would break SH-4?

I think so. The problem is that SH-3 and SH-4 use the different calling
conventions for long long argument when the only half 32-bit of it can
be passed via R7. SH-3 ABI does and SH-4 ABI not :-(

> Has Toshinobu-san's patch been applied (where)?

I've just seen
  http://cvs.sourceforge.net/cgi-bin/viewcvs.cgi/linuxsh/linux/
and found that it was applied to HEAD (2.5.71) and the linux-2_4-branch
(currently 2.4.21) at least.

Sorry for the inconvenience. It would be better to apply it against
2.4.13, for example, because it is still used widely.

Regards,
	kaz



More information about the Libc-alpha mailing list