summaryrefslogtreecommitdiff
path: root/ldso
diff options
context:
space:
mode:
authorEric Andersen <andersen@codepoet.org>2004-07-30 20:06:01 +0000
committerEric Andersen <andersen@codepoet.org>2004-07-30 20:06:01 +0000
commit9efd18d33815d59900becfac7820902e15b6126e (patch)
treee4fd0e33c81e1eee08ab42a9b452e7a328923ab4 /ldso
parent8ed0fdbe78c0c828efbc183ea8290081fd7b5d03 (diff)
s/___brk_addr/__curbrk/g
Some utilities, such as valgrind, have a legitimate reason to know the address of the current brk. Since we know such utils will peek under our skirt, we might as well give them what they expect and not use a gratuitously different symbol name. -Erik
Diffstat (limited to 'ldso')
-rw-r--r--ldso/ldso/ldso.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/ldso/ldso/ldso.c b/ldso/ldso/ldso.c
index a37b250ce..eaa8a8ff0 100644
--- a/ldso/ldso/ldso.c
+++ b/ldso/ldso/ldso.c
@@ -612,7 +612,7 @@ 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, 0);
+ _dl_brkp = (unsigned long *) (intptr_t) _dl_find_hash("__curbrk", NULL, 0);
if (_dl_brkp) {
*_dl_brkp = brk_addr;