diff options
author | Eric Andersen <andersen@codepoet.org> | 2004-02-20 02:59:42 +0000 |
---|---|---|
committer | Eric Andersen <andersen@codepoet.org> | 2004-02-20 02:59:42 +0000 |
commit | e14a2d5780a4daa3e7518b1a59fdb48c3db080ff (patch) | |
tree | 3a4d32e73af02300aeaab5df58c5b96e3c1e2b59 | |
parent | 5ef557bd1f00d030d21c51d10ea670372ef22a2c (diff) |
___brk_addr and __environ are not functions. Finding the broken
lookup on 'atexit' got me excited and I started fixing the same
problem elsewhere. Except these were correct as-was, and were
not a problem....
-rw-r--r-- | ldso/ldso/ldso.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/ldso/ldso/ldso.c b/ldso/ldso/ldso.c index 0c61b7042..eed37c964 100644 --- a/ldso/ldso/ldso.c +++ b/ldso/ldso/ldso.c @@ -609,12 +609,12 @@ void _dl_get_ready_to_run(struct elf_resolve *tpnt, struct elf_resolve *app_tpnt up each symbol individually. */ - _dl_brkp = (unsigned long *) (intptr_t) _dl_find_hash("___brk_addr", NULL, ELF_RTYPE_CLASS_PLT); + _dl_brkp = (unsigned long *) (intptr_t) _dl_find_hash("___brk_addr", NULL, 0); if (_dl_brkp) { *_dl_brkp = brk_addr; } - _dl_envp = (unsigned long *) (intptr_t) _dl_find_hash("__environ", NULL, ELF_RTYPE_CLASS_PLT); + _dl_envp = (unsigned long *) (intptr_t) _dl_find_hash("__environ", NULL, 0); if (_dl_envp) { *_dl_envp = (unsigned long) envp; |