aboutsummaryrefslogtreecommitdiff
path: root/linuxthreads/sysdeps/sh/tcb-offsets.sym
diff options
context:
space:
mode:
authorUlrich Drepper <drepper@redhat.com>2003-02-08 02:50:59 +0000
committerUlrich Drepper <drepper@redhat.com>2003-02-08 02:50:59 +0000
commitae9ecd08db965a4987a4d1351e2c51deb5c6e9b5 (patch)
tree6db7c4d7cea62e68997b1712467b4b594b8bfb9d /linuxthreads/sysdeps/sh/tcb-offsets.sym
parent2a051a7d1af290fee89e8b0a5ba8e5a86f325a25 (diff)
downloadglibc-ae9ecd08db965a4987a4d1351e2c51deb5c6e9b5.tar
glibc-ae9ecd08db965a4987a4d1351e2c51deb5c6e9b5.tar.gz
glibc-ae9ecd08db965a4987a4d1351e2c51deb5c6e9b5.tar.bz2
glibc-ae9ecd08db965a4987a4d1351e2c51deb5c6e9b5.zip
Update.
2003-02-07 Jim Meyering <jim@meyering.net> * io/ftw.c: Add autoconf-recommended block of alloca-related code. Include autoconf-recommended block of dirent/NAMELEN-related definitions and includes. Use NAMELEN throughout, rather than _D_EXACT_NAMLEN. [_LIBC]: Define NAMELEN to _D_EXACT_NAMLEN. [!_LIBC] (__getcwd): Define to xgetcwd and declare xgetcwd. (stpcpy): Declare, if necessary. (mempcpy): Define, if necessary. [!_LIBC] (__stpcpy, __mempcpy): Define. [!_LIBC] (LXSTAT, XSTAT): Define. (lstat) [!LIBC && !LSTAT_FOLLOWS_SLASHED_SYMLINK]: Define to rpl_lstat. (find_object): Don't use c99-style struct initializer. Tweak wording in a couple comments.
Diffstat (limited to 'linuxthreads/sysdeps/sh/tcb-offsets.sym')
-rw-r--r--linuxthreads/sysdeps/sh/tcb-offsets.sym10
1 files changed, 10 insertions, 0 deletions
diff --git a/linuxthreads/sysdeps/sh/tcb-offsets.sym b/linuxthreads/sysdeps/sh/tcb-offsets.sym
new file mode 100644
index 0000000000..d74292b1c2
--- /dev/null
+++ b/linuxthreads/sysdeps/sh/tcb-offsets.sym
@@ -0,0 +1,10 @@
+#include <sysdep.h>
+#include <tls.h>
+
+--
+#ifdef USE_TLS
+MULTIPLE_THREADS_OFFSET offsetof (struct _pthread_descr_struct, p_header.data.multiple_threads)
+TLS_PRE_TCB_SIZE sizeof (struct _pthread_descr_struct)
+#else
+MULTIPLE_THREADS_OFFSET offsetof (tcbhead_t, multiple_threads)
+#endif