about summary refs log tree commit diff
path: root/nptl
diff options
context:
space:
mode:
Diffstat (limited to 'nptl')
-rw-r--r--nptl/ChangeLog6
-rw-r--r--nptl/allocatestack.c2
-rw-r--r--nptl/init.c3
-rw-r--r--nptl/pthread_getattr_np.c5
4 files changed, 7 insertions, 9 deletions
diff --git a/nptl/ChangeLog b/nptl/ChangeLog
index af51441396..3409861329 100644
--- a/nptl/ChangeLog
+++ b/nptl/ChangeLog
@@ -1,3 +1,9 @@
+2004-01-16  Richard Henderson  <rth@redhat.com>
+
+        * 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-15  Richard Henderson  <rth@redhat.com>
 
 	* sysdeps/alpha/tls.h (tcbhead_t): Add private.
diff --git a/nptl/allocatestack.c b/nptl/allocatestack.c
index 02de7f0ed7..7aa5af21e4 100644
--- a/nptl/allocatestack.c
+++ b/nptl/allocatestack.c
@@ -661,8 +661,6 @@ __deallocate_stack (struct pthread *pd)
 }
 
 
-extern void *__libc_stack_end;
-
 int
 internal_function
 __make_stacks_executable (void **stack_endp)
diff --git a/nptl/init.c b/nptl/init.c
index 876b9d3bbd..fd4544c99f 100644
--- a/nptl/init.c
+++ b/nptl/init.c
@@ -217,9 +217,6 @@ __pthread_initialize_minimal_internal (void)
   THREAD_SETMEM (pd, cpuclock_offset, GL(dl_cpuclock_offset));
 #endif
 
-  /* Defined in ld.so.  */
-  extern void *__libc_stack_end;
-
   /* Set initial thread's stack block from 0 up to __libc_stack_end.
      It will be bigger than it actually is, but for unwind.c/pt-longjmp.c
      purposes this is good enough.  */
diff --git a/nptl/pthread_getattr_np.c b/nptl/pthread_getattr_np.c
index 0e1082079a..769f4f5e31 100644
--- a/nptl/pthread_getattr_np.c
+++ b/nptl/pthread_getattr_np.c
@@ -1,4 +1,4 @@
-/* Copyright (C) 2002, 2003 Free Software Foundation, Inc.
+/* Copyright (C) 2002, 2003, 2004 Free Software Foundation, Inc.
    This file is part of the GNU C Library.
    Contributed by Ulrich Drepper <drepper@redhat.com>, 2002.
 
@@ -72,9 +72,6 @@ pthread_getattr_np (thread_id, attr)
 	 thread.  Get the info in some magical way.  */
       assert (abs (thread->pid) == thread->tid);
 
-      /* Defined in ld.so.  */
-      extern void *__libc_stack_end;
-
       /* Stack size limit.  */
       struct rlimit rl;