summaryrefslogtreecommitdiff
path: root/ldso/ldso/dl-elf.c
diff options
context:
space:
mode:
authorEric Andersen <andersen@codepoet.org>2003-03-01 07:11:39 +0000
committerEric Andersen <andersen@codepoet.org>2003-03-01 07:11:39 +0000
commit371abc9c90a2f271cfa11b22d9586279d0f02c6c (patch)
tree45865d5460d189e586a4a745156d786f55c8035b /ldso/ldso/dl-elf.c
parent056eef45e07761176a3c5ba0f063826182ffc249 (diff)
Fix the shared library loader so we can properly debug things like pthreads.
Mips gdb support for pthreads and similar complex stuff is broken, but then it couldn't have worked before either... -Erik
Diffstat (limited to 'ldso/ldso/dl-elf.c')
-rw-r--r--ldso/ldso/dl-elf.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/ldso/ldso/dl-elf.c b/ldso/ldso/dl-elf.c
index cc65c109b..261505b1a 100644
--- a/ldso/ldso/dl-elf.c
+++ b/ldso/ldso/dl-elf.c
@@ -743,7 +743,6 @@ void _dl_dprintf(int fd, const char *fmt, ...)
return;
}
-void *(*_dl_malloc_function) (size_t size) = NULL;
char *_dl_strdup(const char *string)
{
char *retval;
@@ -755,6 +754,7 @@ char *_dl_strdup(const char *string)
return retval;
}
+void *(*_dl_malloc_function) (size_t size) = NULL;
void *_dl_malloc(int size)
{
void *retval;