diff options
author | Michael Stahl <mstahl@redhat.com> | 2013-10-20 10:34:09 +0200 |
---|---|---|
committer | Ondřej Bílka <neleai@seznam.cz> | 2013-10-20 10:34:09 +0200 |
commit | 4db5b08f91800061af64a296cb4eeaaf8adb0aac (patch) | |
tree | 40501ee40d2f8dd9436991e9a921b19b9d9f23a3 | |
parent | a471e96a5352a5f0bde6d32dd36d33524811a2b1 (diff) | |
download | glibc-4db5b08f91800061af64a296cb4eeaaf8adb0aac.zip glibc-4db5b08f91800061af64a296cb4eeaaf8adb0aac.tar.gz glibc-4db5b08f91800061af64a296cb4eeaaf8adb0aac.tar.bz2 |
Print the reason why preloading failed in do_preload()
-rw-r--r-- | ChangeLog | 4 | ||||
-rw-r--r-- | elf/rtld.c | 4 |
2 files changed, 6 insertions, 2 deletions
@@ -1,3 +1,7 @@ +2013-10-19 Michael Stahl <mstahl@redhat.com> + + * elf/rtld.c (do_preload): Print the reason why preloading failed. + 2013-10-19 Ondřej Bílka <neleai@seznam.cz> BZ #10278] @@ -816,8 +816,8 @@ do_preload (char *fname, struct link_map *main_map, const char *where) if (__builtin_expect (err_str != NULL, 0)) { _dl_error_printf ("\ -ERROR: ld.so: object '%s' from %s cannot be preloaded: ignored.\n", - fname, where); +ERROR: ld.so: object '%s' from %s cannot be preloaded (%s): ignored.\n", + fname, where, err_str); /* No need to call free, this is still before the libc's malloc is used. */ } |