From a707192f6c249d397594b2d6a0b2f38f3cdf4da7 Mon Sep 17 00:00:00 2001 From: Eric Andersen Date: Fri, 30 Jul 2004 03:32:41 +0000 Subject: Teach libdl to use normal libc symbols whenever possible, i.e. malloc rather than _dl_malloc, fprintf rather than _dl_printf, etc. -Erik --- ldso/include/.cvsignore | 8 +++++--- ldso/include/ldso.h | 1 + 2 files changed, 6 insertions(+), 3 deletions(-) (limited to 'ldso/include') diff --git a/ldso/include/.cvsignore b/ldso/include/.cvsignore index b48ed1fa5..20a602fa4 100644 --- a/ldso/include/.cvsignore +++ b/ldso/include/.cvsignore @@ -1,4 +1,6 @@ +dl-arch.h +dl-progname.h +dl-startup.h +dl-syscalls.h +dl-sysdep.h elf.h -ld_syscalls.h -ld_sysdep.h -boot1_arch.h diff --git a/ldso/include/ldso.h b/ldso/include/ldso.h index 6c01cebc1..6bb87c264 100644 --- a/ldso/include/ldso.h +++ b/ldso/include/ldso.h @@ -46,6 +46,7 @@ extern unsigned long *_dl_brkp; /* The end of the data segment for brk an extern unsigned long *_dl_envp; /* The environment address */ extern int _dl_secure; /* Are we dealing with setuid stuff? */ extern size_t _dl_pagesize; /* Store the page size for use later */ +extern const char *_dl_progname; /* The name of the shared library loader */ #ifdef __SUPPORT_LD_DEBUG__ extern char *_dl_debug; -- cgit v1.2.3