This is the mail archive of the
libc-alpha@sources.redhat.com
mailing list for the glibc project.
[PATCH] thread register patch for s/390.
- To: libc-alpha at sourceware dot cygnus dot com
- Subject: [PATCH] thread register patch for s/390.
- From: schwidefsky at de dot ibm dot com
- Date: Thu, 28 Sep 2000 22:35:51 +0200
Hi,
here is an update for the s390 backend. The attached patch contains:
1) Linuxthreads now use access register 0 for the thread descriptor.
2) The compare_and_swap inline assembly was broken. It clobbered an
input register.
3) Adaptions for the fcntl64 system call.
4) DJ corrected and simplified the definitions in profs.h and ucontext.h.
linuxthreads/ChangeLog:
2000-09-28 Martin Schwidefsksy <schwidefsky@de.ibm.com>
* sysdeps/s390/pt-machine.h: Make %a0 the thread register.
libc/ChangeLog:
2000-09-28 Martin Schwidefsksy <schwidefsky@de.ibm.com>
* sysdeps/s390/atomicity.h: Fix compare_and_swap.
* sysdeps/unix/sysv/linux/s390/bits/fcntl.h
(F_GETLK64,F_SETLK64,F_SETLKW64): Use values from 2.4.0-test8.
2000-09-28 Denis Joseph Barrow <djbarrow@de.ibm.com>
* sysdeps/unix/sysv/linux/s390/sys/procfs.h: Use definitions from
ucontext.h.
* sysdeps/unix/sysv/linux/s39/sys/ucontext.h: Fix ucontext structure.
blue skies,
Martin
Linux/390 Design & Development, IBM Deutschland Entwicklung GmbH
Schönaicherstr. 220, D-71032 Böblingen, Telefon: 49 - (0)7031 - 16-2247
E-Mail: schwidefsky@de.ibm.com
(See attached file: glibc-diff)
glibc-diff