diff options
author | Ulrich Drepper <drepper@redhat.com> | 2001-09-05 03:42:43 +0000 |
---|---|---|
committer | Ulrich Drepper <drepper@redhat.com> | 2001-09-05 03:42:43 +0000 |
commit | 407fe3bbb3708abc6796acc71c5fe34371c2847c (patch) | |
tree | 918b347c952d9d399789d21394b991bd42916977 /elf/dl-open.c | |
parent | 71ce28fd1abbccc9814d199d770e673135a33ee1 (diff) | |
download | glibc-407fe3bbb3708abc6796acc71c5fe34371c2847c.tar.gz glibc-407fe3bbb3708abc6796acc71c5fe34371c2847c.tar.xz glibc-407fe3bbb3708abc6796acc71c5fe34371c2847c.zip |
Update.
2001-09-04 Ulrich Drepper <drepper@redhat.com> Correct very misleading message for error in failed runtime relocation. * elf/dl-error.c (_dl_signal_error): Take extra parameter to describe place of the error. (_dl_signal_cerror): Likewise. * sysdeps/generic/ldsodefs.h: Adjust prototypes. * elf/dl-close.c: Likewise. * elf/dl-deps.c: Likewise. * elf/dl-load.c: Likewise. * elf/dl-lookup.c: Likewise. * elf/dl-open.c: Likewise. * elf/dl-reloc.c: Likewise. * elf/dl-sym.c: Likewise. * elf/dl-version.c: Likewise. * sysdeps/generic/dl-sysdep.c: Likewise.
Diffstat (limited to 'elf/dl-open.c')
-rw-r--r-- | elf/dl-open.c | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/elf/dl-open.c b/elf/dl-open.c index 9d21a5045c..ec88c79a27 100644 --- a/elf/dl-open.c +++ b/elf/dl-open.c @@ -108,7 +108,7 @@ add_to_global (struct link_map *new) { _dl_global_scope_alloc = 0; nomem: - _dl_signal_error (ENOMEM, new->l_libname->name, + _dl_signal_error (ENOMEM, new->l_libname->name, NULL, N_("cannot extend global scope")); return 1; } @@ -175,7 +175,7 @@ dl_open_worker (void *a) /* DSTs must not appear in SUID/SGID programs. */ if (__libc_enable_secure) /* This is an error. */ - _dl_signal_error (0, "dlopen", + _dl_signal_error (0, "dlopen", NULL, N_("DST not allowed in SUID/SGID programs")); /* We have to find out from which object the caller is calling. */ @@ -206,7 +206,7 @@ dl_open_worker (void *a) /* If the substitution failed don't try to load. */ if (*new_file == '\0') - _dl_signal_error (0, "dlopen", + _dl_signal_error (0, "dlopen", NULL, N_("empty dynamic string token substitution")); /* Now we have a new file name. */ @@ -337,7 +337,7 @@ _dl_open (const char *file, int mode, const void *caller) if ((mode & RTLD_BINDING_MASK) == 0) /* One of the flags must be set. */ - _dl_signal_error (EINVAL, file, N_("invalid mode for dlopen()")); + _dl_signal_error (EINVAL, file, NULL, N_("invalid mode for dlopen()")); /* Make sure we are alone. */ __libc_lock_lock_recursive (_dl_load_lock); @@ -396,7 +396,7 @@ _dl_open (const char *file, int mode, const void *caller) free ((char *) errstring); /* Reraise the error. */ - _dl_signal_error (errcode, objname, local_errstring); + _dl_signal_error (errcode, objname, NULL, local_errstring); } #ifndef SHARED |