diff options
author | Ulrich Drepper <drepper@redhat.com> | 1998-08-28 14:02:28 +0000 |
---|---|---|
committer | Ulrich Drepper <drepper@redhat.com> | 1998-08-28 14:02:28 +0000 |
commit | 75311719d35dc0c132e46f883beaeb5b3d9eb75a (patch) | |
tree | 364ae797e245ca6942072912a682eaab6756fdd3 /linuxthreads/sysdeps/sparc | |
parent | 997a416551a7d5ceb91978674cb8c70b443329d0 (diff) | |
download | glibc-75311719d35dc0c132e46f883beaeb5b3d9eb75a.tar.gz glibc-75311719d35dc0c132e46f883beaeb5b3d9eb75a.tar.xz glibc-75311719d35dc0c132e46f883beaeb5b3d9eb75a.zip |
Update.
1998-08-28 13:58 Ulrich Drepper <drepper@cygnus.com> * internals.h: Also define THREAD_GETMEM_NC and THREAD_SETMEM_NC to access thread data with non-constant offsets. * specific.c: Use THREAD_GETMEM_NC and THREAD_SETMEM_NC where necessary. * sysdeps/i386/useldt.h: Fix typo. Add THREAD_GETMEM_NC and THREAD_SETMEM_NC definitions. * sysdeps/sparc/sparc32/pt-machine.h: Define THREAD_GETMEM_NC and THREAD_SETMEM_NC. * sysdeps/sparc/sparc64/pt-machine.h: Likewise.
Diffstat (limited to 'linuxthreads/sysdeps/sparc')
-rw-r--r-- | linuxthreads/sysdeps/sparc/sparc32/pt-machine.h | 2 | ||||
-rw-r--r-- | linuxthreads/sysdeps/sparc/sparc64/pt-machine.h | 2 |
2 files changed, 4 insertions, 0 deletions
diff --git a/linuxthreads/sysdeps/sparc/sparc32/pt-machine.h b/linuxthreads/sysdeps/sparc/sparc32/pt-machine.h index 7eea8d400c..894972d574 100644 --- a/linuxthreads/sysdeps/sparc/sparc32/pt-machine.h +++ b/linuxthreads/sysdeps/sparc/sparc32/pt-machine.h @@ -56,4 +56,6 @@ register struct _pthread_descr_struct *__thread_self __asm__("%g6"); /* Access to data in the thread descriptor is easy. */ #define THREAD_GETMEM(descr, member) __thread_self->member +#define THREAD_GETMEM_NC(descr, member) __thread_self->member #define THREAD_SETMEM(descr, member, value) __thread_self->member = (value) +#define THREAD_SETMEM_NC(descr, member, value) __thread_self->member = (value) diff --git a/linuxthreads/sysdeps/sparc/sparc64/pt-machine.h b/linuxthreads/sysdeps/sparc/sparc64/pt-machine.h index e94e1a5fb2..24c214117c 100644 --- a/linuxthreads/sysdeps/sparc/sparc64/pt-machine.h +++ b/linuxthreads/sysdeps/sparc/sparc64/pt-machine.h @@ -68,4 +68,6 @@ __compare_and_swap (long int *p, long int oldval, long int newval) /* Access to data in the thread descriptor is easy. */ #define THREAD_GETMEM(descr, member) __thread_self->member +#define THREAD_GETMEM_NC(descr, member) __thread_self->member #define THREAD_SETMEM(descr, member, value) __thread_self->member = (value) +#define THREAD_SETMEM_NC(descr, member, value) __thread_self->member = (value) |