about summary refs log tree commit diff
path: root/linuxthreads
diff options
context:
space:
mode:
authorRichard Henderson <rth@redhat.com>2004-01-16 08:07:01 +0000
committerRichard Henderson <rth@redhat.com>2004-01-16 08:07:01 +0000
commitff151400d89760e9f4b761c14b311e42bc9058bf (patch)
tree925b26776870e4ea90f4e947680eb6d0c7d175a5 /linuxthreads
parentd803c85384d0085aa15666ce551badcbda12d80f (diff)
downloadglibc-ff151400d89760e9f4b761c14b311e42bc9058bf.tar.gz
glibc-ff151400d89760e9f4b761c14b311e42bc9058bf.tar.xz
glibc-ff151400d89760e9f4b761c14b311e42bc9058bf.zip
* elf/dl-load.c: Don't declare __libc_stack_end. * sysdeps/generic/libc-start.c: Likewise. * sysdeps/unix/sysv/linux/dl-execstack.c: Likewise. * sysdeps/generic/segfault.c: Likewise. Include ldsodefs.h. * sysdeps/generic/backtrace.c: Likewise. linuxthreads/ * attr.c: Include ldsodefs.h. (pthread_getattr_np): Don't declare __libc_stack_end. nptl/ * allocatestack.c: Don't declare __libc_stack_end. * init.c (__pthread_initialize_minimal_internal): Likewise. * pthread_getattr_np.c (pthread_getattr_np): Likewise.
2004-01-16  Richard Henderson  <rth@redhat.com>

        * elf/dl-load.c: Don't declare __libc_stack_end.
        * sysdeps/generic/libc-start.c: Likewise.
        * sysdeps/unix/sysv/linux/dl-execstack.c: Likewise.
        * sysdeps/generic/segfault.c: Likewise.  Include ldsodefs.h.
        * sysdeps/generic/backtrace.c: Likewise.
Diffstat (limited to 'linuxthreads')
-rw-r--r--linuxthreads/ChangeLog5
-rw-r--r--linuxthreads/attr.c5
2 files changed, 7 insertions, 3 deletions
diff --git a/linuxthreads/ChangeLog b/linuxthreads/ChangeLog
index 9129604ccf..70558eb72e 100644
--- a/linuxthreads/ChangeLog
+++ b/linuxthreads/ChangeLog
@@ -1,3 +1,8 @@
+2004-01-16  Richard Henderson  <rth@redhat.com>
+
+        * attr.c: Include ldsodefs.h.
+        (pthread_getattr_np): Don't declare __libc_stack_end.
+
 2004-01-09  Steven Munroe  <sjmunroe@us.ibm.com>
 
 	* sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h
diff --git a/linuxthreads/attr.c b/linuxthreads/attr.c
index a88fdb96c5..2adc7ccd7a 100644
--- a/linuxthreads/attr.c
+++ b/linuxthreads/attr.c
@@ -26,6 +26,8 @@
 #include "pthread.h"
 #include "internals.h"
 #include <shlib-compat.h>
+#include <ldsodefs.h>
+
 
 int __pthread_attr_init_2_1(pthread_attr_t *attr)
 {
@@ -415,9 +417,6 @@ int pthread_getattr_np (pthread_t thread, pthread_attr_t *attr)
   if (descr == &__pthread_initial_thread)
 #endif
     {
-      /* Defined in ld.so.  */
-      extern void *__libc_stack_end;
-
       /* Stack size limit.  */
       struct rlimit rl;