+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.
+
2004-01-15 Ulrich Drepper <drepper@redhat.com>
* Versions.def: Add GLIBC_2.3.4.
N_("cannot open shared object file"));
}
- extern void *__libc_stack_end;
void *stack_end = __libc_stack_end;
return _dl_map_object_from_fd (name, fd, &fb, realname, loader, type, mode,
&stack_end);
+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
#include "pthread.h"
#include "internals.h"
#include <shlib-compat.h>
+#include <ldsodefs.h>
+
int __pthread_attr_init_2_1(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;
+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.
}
-extern void *__libc_stack_end;
-
int
internal_function
__make_stacks_executable (void **stack_endp)
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. */
-/* 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.
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;
/* Return backtrace of current program state. Generic version.
- Copyright (C) 1998, 2000, 2002 Free Software Foundation, Inc.
+ Copyright (C) 1998, 2000, 2002, 2004 Free Software Foundation, Inc.
This file is part of the GNU C Library.
Contributed by Ulrich Drepper <drepper@cygnus.com>, 1998.
#include <frame.h>
#include <sigcontextinfo.h>
#include <bp-checks.h>
-
-/* This is a global variable set at program start time. It marks the
- highest used stack address. */
-extern void *__libc_stack_end;
-
+#include <ldsodefs.h>
/* This implementation assumes a stack layout that matches the defaults
used by gcc's `__builtin_frame_address' and `__builtin_return_address'
extern void __libc_init_first (int argc, char **argv, char **envp);
extern int __libc_multiple_libcs;
-extern void *__libc_stack_end;
#include <tls.h>
#ifndef SHARED
/* Catch segmentation faults and print backtrace.
- Copyright (C) 1998, 1999, 2000, 2001, 2002 Free Software Foundation, Inc.
+ Copyright (C) 1998, 1999, 2000, 2001, 2002, 2004
+ Free Software Foundation, Inc.
This file is part of the GNU C Library.
Contributed by Ulrich Drepper <drepper@cygnus.com>, 1998.
#include <string.h>
#include <unistd.h>
#include <stdio-common/_itoa.h>
+#include <ldsodefs.h>
#include <bp-checks.h>
/* Get code to possibly dump the content of all registers. */
#include <register-dump.h>
-/* This is a global variable set at program start time. It marks the
- highest used stack address. */
-extern void *__libc_stack_end;
-
-
/* This implementation assumes a stack layout that matches the defaults
used by gcc's `__builtin_frame_address' and `__builtin_return_address'
(FP is the frame pointer register):
#include "kernel-features.h"
-extern void *__libc_stack_end attribute_hidden;
-
int
internal_function
_dl_make_stack_executable (void **stack_endp)