summaryrefslogtreecommitdiff
path: root/elf/dl-minimal.c
diff options
context:
space:
mode:
authorUlrich Drepper <drepper@redhat.com>1998-03-24 00:39:45 +0000
committerUlrich Drepper <drepper@redhat.com>1998-03-24 00:39:45 +0000
commita853022cc32c8286018294e08cd4990ffcaf1d2b (patch)
treea81d55830b93a8c1cc58eaf0da8c7779984e1fa3 /elf/dl-minimal.c
parentb3a86ae1a749caf2d885a8faba45b9977762ca9e (diff)
downloadglibc-a853022cc32c8286018294e08cd4990ffcaf1d2b.tar.gz
Update.
1998-03-24 Ulrich Drepper <drepper@cygnus.com> * elf/ldsodesf.h: New file. * elf/Makefile (distribute): Add ldsodefs.h. * elf/link.h: Separate internal information in exter header. * elf/rtld.c: Include elf/ldsodefs.h not link.h. * elf/dl-minimal.c: Likewise. * sysdeps/generic/dl-sysdep.c: Likewise. * elf/sprof.c: Likewise. * elf/dlsym.c: Likewise. * elf/dlvsym.c: Likewise. * elf/dlerror.c: Likewise. * elf/dladdr.c: Likewise. * elf/dlclose.c: Likewise. * elf/dlopen.c: Likewise. * elf/dl-addr.c: Likewise. * elf/dl-close.c: Likewise. * elf/dl-debug.c: Likewise. * elf/dl-deps.c: Likewise. * elf/dl-error.c: Likewise. * elf/dl-fini.c: Likewise. * elf/dl-init.c: Likewise. * elf/dl-load.c: Likewise. * elf/dl-lookup.c: Likewise. * elf/dl-object.c: Likewise. * elf/dl-open.c: Likewise. * elf/dl-profile.c: Likewise. * elf/dl-reloc.c: Likewise. * elf/dl-runtime.c: Likewise. * elf/dl-support.c: Likewise. * elf/dl-symbol.c: Likewise. * elf/dl-version.c: Likewise. * sysdeps/generic/dl-cache.c: Likewise. * sysdeps/generic/libc-start.c: Likewise. * iconv/gconv_dl.c: Likewise. * nss/nsswitch.c: Likewise.
Diffstat (limited to 'elf/dl-minimal.c')
-rw-r--r--elf/dl-minimal.c11
1 files changed, 6 insertions, 5 deletions
diff --git a/elf/dl-minimal.c b/elf/dl-minimal.c
index daf623318d..6592ca0baf 100644
--- a/elf/dl-minimal.c
+++ b/elf/dl-minimal.c
@@ -17,14 +17,15 @@
write to the Free Software Foundation, Inc., 59 Temple Place - Suite 330,
Boston, MA 02111-1307, USA. */
+#include <errno.h>
+#include <string.h>
+#include <unistd.h>
#include <sys/types.h>
#include <sys/mman.h>
-#include <unistd.h>
-#include <assert.h>
-#include <string.h>
-#include <link.h>
+#include <elf/ldsodefs.h>
#include <stdio-common/_itoa.h>
-#include <errno.h>
+
+#include <assert.h>
/* Minimal `malloc' allocator for use while loading shared libraries.
No block is ever freed. */