1
2011-07-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
3
* sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
4
(INTERNAL_VSYSCALL_NCS): Use r10 for backing up the return address
5
register in order to avoid conflicts with the soft frame pointer
6
being held in r11 when necessary.
7
* sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
8
(INTERNAL_VSYSCALL_NCS): Likewise.
10
diff --git a/sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h b/sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
11
index 5bfdc44..13ce9ab 100644
12
--- a/sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
13
+++ b/sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
16
register long _ret asm("2"); \
24
: "d" (fn) ASMFMT_##nr \
25
- : "cc", "memory", "0", "1", "11" CLOBBER_##nr); \
26
+ : "cc", "memory", "0", "1", "10" CLOBBER_##nr); \
29
/* Pointer mangling support. */
30
diff --git a/sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h b/sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
31
index 6491a3b..4d45417 100644
32
--- a/sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
33
+++ b/sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
36
register long _ret asm("2"); \
44
: "a" (fn) ASMFMT_##nr \
45
- : "cc", "memory", "0", "1", "11" CLOBBER_##nr); \
46
+ : "cc", "memory", "0", "1", "10" CLOBBER_##nr); \
49
/* Pointer mangling support. */