summaryrefslogtreecommitdiff
path: root/ldso
diff options
context:
space:
mode:
authorEric Andersen <andersen@codepoet.org>2004-08-31 08:45:03 +0000
committerEric Andersen <andersen@codepoet.org>2004-08-31 08:45:03 +0000
commit09640dcc9d4af8224727c717d4eccc908f6e8f15 (patch)
tree7e1ff8b9927a665d165c4ddd729f05f42ed1dd68 /ldso
parentd6017ab3749a9e46099beee9e01594f530f1267a (diff)
Dont mess with __curbrk in ldso
Diffstat (limited to 'ldso')
-rw-r--r--ldso/ldso/ldso.c5
1 files changed, 0 insertions, 5 deletions
diff --git a/ldso/ldso/ldso.c b/ldso/ldso/ldso.c
index d7817887e..69f3b1760 100644
--- a/ldso/ldso/ldso.c
+++ b/ldso/ldso/ldso.c
@@ -100,7 +100,6 @@ void _dl_get_ready_to_run(struct elf_resolve *tpnt, unsigned long load_addr,
struct r_debug *debug_addr;
unsigned long brk_addr, *lpnt;
int (*_dl_atexit) (void *);
- unsigned long *_dl_brkp; /* The end of the data segment for brk and sbrk */
unsigned long *_dl_envp; /* The environment address */
#if defined (__SUPPORT_LD_DEBUG__)
int (*_dl_on_exit) (void (*FUNCTION)(int STATUS, void *ARG),void*);
@@ -692,10 +691,6 @@ void _dl_get_ready_to_run(struct elf_resolve *tpnt, unsigned long load_addr,
dynamicly linked if we are using ld.so.1, so we have to look
up each symbol individually. */
- _dl_brkp = (unsigned long *) (intptr_t) _dl_find_hash("__curbrk", _dl_symbol_tables, 0);
- if (_dl_brkp)
- *_dl_brkp = brk_addr;
-
_dl_envp = (unsigned long *) (intptr_t) _dl_find_hash("__environ", _dl_symbol_tables, 0);
if (_dl_envp)
*_dl_envp = (unsigned long) envp;