* [PATCH] SH: Fixup clobber list of syscall
@ 2009-01-14 3:50 Kaz Kojima
2009-01-28 16:11 ` Ulrich Drepper
0 siblings, 1 reply; 2+ messages in thread
From: Kaz Kojima @ 2009-01-14 3:50 UTC (permalink / raw)
To: libc-hacker
Recently SH kernel folks changes the syscall interface so to clobber
the T register. Here is a follow up patch for this change.
Regards,
kaz
--
2009-01-14 Kaz Kojima <kkojima@rr.iij4u.or.jp>
* sysdeps/unix/sysv/linux/sh/sysdep.h (INTERNAL_SYSCALL):
Add "t" to clobber list.
(INTERNAL_SYSCALL_NCS): Likewise.
--- ORIG/libc/sysdeps/unix/sysv/linux/sh/sysdep.h 2006-01-21 07:09:52.000000000 +0900
+++ LOCAL/libc/sysdeps/unix/sysv/linux/sh/sysdep.h 2009-01-14 10:56:43.000000000 +0900
@@ -1,5 +1,5 @@
/* Copyright (C) 1992,1993,1995,1996,1997,1998,1999,2000,2002,2003,2004,
- 2005,2006 Free Software Foundation, Inc.
+ 2005,2006,2009 Free Software Foundation, Inc.
This file is part of the GNU C Library.
Contributed by Ulrich Drepper, <drepper@gnu.ai.mit.edu>, August 1995.
Changed by Kaz Kojima, <kkojima@rr.iij4u.or.jp>.
@@ -339,7 +339,7 @@
asm volatile (SYSCALL_INST_STR##nr SYSCALL_INST_PAD \
: "=z" (resultvar) \
: "r" (r3) ASMFMT_##nr \
- : "memory"); \
+ : "memory", "t"); \
\
(int) resultvar; })
@@ -353,7 +353,7 @@
asm volatile (SYSCALL_INST_STR##nr SYSCALL_INST_PAD \
: "=z" (resultvar) \
: "r" (r3) ASMFMT_##nr \
- : "memory"); \
+ : "memory", "t"); \
\
(int) resultvar; })
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: [PATCH] SH: Fixup clobber list of syscall
2009-01-14 3:50 [PATCH] SH: Fixup clobber list of syscall Kaz Kojima
@ 2009-01-28 16:11 ` Ulrich Drepper
0 siblings, 0 replies; 2+ messages in thread
From: Ulrich Drepper @ 2009-01-28 16:11 UTC (permalink / raw)
To: Kaz Kojima; +Cc: libc-hacker
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Applied.
- --
â§ Ulrich Drepper â§ Red Hat, Inc. â§ 444 Castro St â§ Mountain View, CA â
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.9 (GNU/Linux)
iEYEARECAAYFAkmAg8EACgkQ2ijCOnn/RHQXCACgvwXgiNEdBiaBzaoX8cqhsFWq
wesAn1icRAXsRJ5vetC6mZdjDakDh5t0
=ypgt
-----END PGP SIGNATURE-----
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2009-01-28 16:11 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2009-01-14 3:50 [PATCH] SH: Fixup clobber list of syscall Kaz Kojima
2009-01-28 16:11 ` Ulrich Drepper
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).