about summary refs log tree commit diff
path: root/linuxthreads/sysdeps/sh
diff options
context:
space:
mode:
authorUlrich Drepper <drepper@redhat.com>2002-08-20 10:14:15 +0000
committerUlrich Drepper <drepper@redhat.com>2002-08-20 10:14:15 +0000
commitd78ce054e2a3b23fed53f42ea7aa6e1c2ff6d748 (patch)
treea7d903d9e969eaa9cc6cfcf812c3f075dea7c6ca /linuxthreads/sysdeps/sh
parent58d2d09bde3578bd25d55df03e962764ba81bd13 (diff)
downloadglibc-d78ce054e2a3b23fed53f42ea7aa6e1c2ff6d748.tar.gz
glibc-d78ce054e2a3b23fed53f42ea7aa6e1c2ff6d748.tar.xz
glibc-d78ce054e2a3b23fed53f42ea7aa6e1c2ff6d748.zip
Update.
	* elf/rtld.c (_dl_start): Pass extra argument 1 to TLS_INIT_TP.
	(dl_main): Padd extra argument 0 to TLS_INIT_TP.
	* sysdeps/generic/libc-tls.c (__libc_setup_tls): Pass extra
	argument 1 to TLS_INIT_TP.
	* sysdeps/generic/tls.h (TLS_INIT_TP): Describe new parameter.

	* locale/loadarchive.c (_nl_load_locale_from_archive): Store strdup of
Diffstat (limited to 'linuxthreads/sysdeps/sh')
-rw-r--r--linuxthreads/sysdeps/sh/tls.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/linuxthreads/sysdeps/sh/tls.h b/linuxthreads/sysdeps/sh/tls.h
index 6deecc007e..dce57a8961 100644
--- a/linuxthreads/sysdeps/sh/tls.h
+++ b/linuxthreads/sysdeps/sh/tls.h
@@ -87,7 +87,7 @@ typedef struct
 /* Code to initially initialize the thread pointer.  This might need
    special attention since 'errno' is not yet available and if the
    operation can cause a failure 'errno' must not be touched.  */
-# define TLS_INIT_TP(descr) \
+# define TLS_INIT_TP(descr, firstcall) \
   ({									      \
     void *_descr = (descr);						      \
     int result;								      \