diff options
author | Ulrich Drepper <drepper@redhat.com> | 2005-01-08 07:10:00 +0000 |
---|---|---|
committer | Ulrich Drepper <drepper@redhat.com> | 2005-01-08 07:10:00 +0000 |
commit | 4e2d549137c8e9990f446fee58ad78a1c6495fa9 (patch) | |
tree | d571031b5b547ca6172946af0e92227136aa6298 /sysdeps/powerpc/powerpc64/dl-machine.h | |
parent | 70cd1f971ba91574980d707a1bd7da29a970158c (diff) | |
download | glibc-4e2d549137c8e9990f446fee58ad78a1c6495fa9.tar.gz glibc-4e2d549137c8e9990f446fee58ad78a1c6495fa9.tar.xz glibc-4e2d549137c8e9990f446fee58ad78a1c6495fa9.zip |
Update.
* sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_runtime_setup): If profile != 0 does not anymore mean GLRO(dl_profile) != NULL. * sysdeps/powerpc/powerpc64/bits/link.h (struct la_ppc64_regs): Add padding. * sysdeps/powerpc/powerpc64/dl-trampoline.S: (_dl_profile_resolve): Extend _dl_prof_resolve to add pass extra parameters to _dl_profile_fixup and set up structure with register content.
Diffstat (limited to 'sysdeps/powerpc/powerpc64/dl-machine.h')
-rw-r--r-- | sysdeps/powerpc/powerpc64/dl-machine.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/sysdeps/powerpc/powerpc64/dl-machine.h b/sysdeps/powerpc/powerpc64/dl-machine.h index 80c7d9f4ec..5ddc22e3c9 100644 --- a/sysdeps/powerpc/powerpc64/dl-machine.h +++ b/sysdeps/powerpc/powerpc64/dl-machine.h @@ -334,7 +334,8 @@ elf_machine_runtime_setup (struct link_map *map, int lazy, int profile) resolve_fd = (Elf64_FuncDesc *) (profile ? _dl_profile_resolve : _dl_runtime_resolve); - if (profile && _dl_name_match_p (GLRO(dl_profile), map)) + if (profile && GLRO(dl_profile) != NULL + && _dl_name_match_p (GLRO(dl_profile), map)) /* This is the object we are looking for. Say that we really want profiling and the timers are started. */ GL(dl_profile_map) = map; |