diff options
author | Jakub Jelinek <jakub@redhat.com> | 2008-10-28 15:36:52 +0000 |
---|---|---|
committer | Jakub Jelinek <jakub@redhat.com> | 2008-10-28 15:36:52 +0000 |
commit | 242bfefc41f4cc06dcff88c5bd143cc43719a73a (patch) | |
tree | 64f116afb728622e059b3291463dba988855c110 /nptl | |
parent | 911b70e7193256a61ee2e1c827543fc08c2ede1e (diff) | |
download | glibc-242bfefc41f4cc06dcff88c5bd143cc43719a73a.tar glibc-242bfefc41f4cc06dcff88c5bd143cc43719a73a.tar.gz glibc-242bfefc41f4cc06dcff88c5bd143cc43719a73a.tar.bz2 glibc-242bfefc41f4cc06dcff88c5bd143cc43719a73a.zip |
Updated to fedora-glibc-20081028T1533cvs/fedora-glibc-2_8_90-15
Diffstat (limited to 'nptl')
-rw-r--r-- | nptl/ChangeLog | 5 | ||||
-rw-r--r-- | nptl/sysdeps/s390/tls.h | 7 |
2 files changed, 11 insertions, 1 deletions
diff --git a/nptl/ChangeLog b/nptl/ChangeLog index af0d0c1d0c..acc8302c75 100644 --- a/nptl/ChangeLog +++ b/nptl/ChangeLog @@ -1,3 +1,8 @@ +2008-10-06 Martin Schwidefsky <schwidefsky@de.ibm.com> + + * sysdeps/s390/tls.h (THREAD_SET_STACK_GUARD): Add empty inline + assembly with a clobber list for access registers a0 and a1. + 2008-09-11 Martin Schwidefsky <schwidefsky@de.ibm.com> * sysdeps/unix/sysv/linux/fork.c (__libc_fork): Add memory barrier diff --git a/nptl/sysdeps/s390/tls.h b/nptl/sysdeps/s390/tls.h index 3be459e32c..2b38ed4e7d 100644 --- a/nptl/sysdeps/s390/tls.h +++ b/nptl/sysdeps/s390/tls.h @@ -161,7 +161,12 @@ typedef struct /* Set the stack guard field in TCB head. */ #define THREAD_SET_STACK_GUARD(value) \ - THREAD_SETMEM (THREAD_SELF, header.stack_guard, value) + do \ + { \ + __asm __volatile ("" : : : "a0", "a1"); \ + THREAD_SETMEM (THREAD_SELF, header.stack_guard, value); \ + } \ + while (0) #define THREAD_COPY_STACK_GUARD(descr) \ ((descr)->header.stack_guard \ = THREAD_GETMEM (THREAD_SELF, header.stack_guard)) |