Update.
* elf/dl-load.c (_dl_map_object_from_fd): Always add SONAME to l_libname if profiling is enabled [PR libc/2916].
This commit is contained in:
parent
f027b0f6c2
commit
51f38e87b1
@ -1,5 +1,8 @@
|
||||
2002-02-27 Ulrich Drepper <drepper@redhat.com>
|
||||
|
||||
* elf/dl-load.c (_dl_map_object_from_fd): Always add SONAME to
|
||||
l_libname if profiling is enabled [PR libc/2916].
|
||||
|
||||
* sysdeps/ia64/dl-tls.h: New file.
|
||||
|
||||
2002-02-27 Jakub Jelinek <jakub@redhat.com>
|
||||
|
@ -1225,6 +1225,13 @@ _dl_map_object_from_fd (const char *name, int fd, struct filebuf *fbp,
|
||||
l->l_dev = st.st_dev;
|
||||
l->l_ino = st.st_ino;
|
||||
|
||||
/* When we profile the SONAME might be needed for something else but
|
||||
loading. Add it right away. */
|
||||
if (__builtin_expect (GL(dl_profile) != NULL, 0)
|
||||
&& l->l_info[DT_SONAME] != NULL)
|
||||
add_name_to_object (l, ((const char *) D_PTR (l, l_info[DT_STRTAB])
|
||||
+ l->l_info[DT_SONAME]->d_un.d_val));
|
||||
|
||||
return l;
|
||||
}
|
||||
|
||||
|
8404
posix/regex.c
8404
posix/regex.c
File diff suppressed because it is too large
Load Diff
Loading…
x
Reference in New Issue
Block a user