aboutsummaryrefslogtreecommitdiff
path: root/elf/dl-load.c
diff options
context:
space:
mode:
authorUlrich Drepper <drepper@redhat.com>2004-10-14 09:24:14 +0000
committerUlrich Drepper <drepper@redhat.com>2004-10-14 09:24:14 +0000
commit7cb92a99fafb8f9f43ba97d4790eff49c206a8e2 (patch)
treea7fca1899668ad72da4aea36b0e693d35566071e /elf/dl-load.c
parentc701ab9f0e231592427e0602431d4156a21d4afd (diff)
downloadglibc-7cb92a99fafb8f9f43ba97d4790eff49c206a8e2.tar
glibc-7cb92a99fafb8f9f43ba97d4790eff49c206a8e2.tar.gz
glibc-7cb92a99fafb8f9f43ba97d4790eff49c206a8e2.tar.bz2
glibc-7cb92a99fafb8f9f43ba97d4790eff49c206a8e2.zip
Update.
2004-10-14 Jakub Jelinek <jakub@redhat.com> * elf/rtld.c (_dl_start): Fix one last dl_loaded. * elf/dl-load.c (_dl_map_object_from_fd): Avoid definition of label when it is not needed. * elf/dl-close.c (_dl_close): Typo: & -> &&.
Diffstat (limited to 'elf/dl-load.c')
-rw-r--r--elf/dl-load.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/elf/dl-load.c b/elf/dl-load.c
index 83d46f04ee..27f6e3f641 100644
--- a/elf/dl-load.c
+++ b/elf/dl-load.c
@@ -909,7 +909,9 @@ _dl_map_object_from_fd (const char *name, int fd, struct filebuf *fbp,
l = _dl_new_object (realname, name, l_type, loader, mode, nsid);
if (__builtin_expect (l == NULL, 0))
{
+#ifdef SHARED
fail_new:
+#endif
errstring = N_("cannot create shared object descriptor");
goto call_lose_errno;
}