diff options
author | Siddhesh Poyarekar <siddhesh@redhat.com> | 2013-02-18 18:00:17 +0530 |
---|---|---|
committer | Siddhesh Poyarekar <siddhesh@redhat.com> | 2013-02-18 18:00:17 +0530 |
commit | be179c8a36fc171acff0634ac50ad31269ad4742 (patch) | |
tree | 39519d73882acb6fc3f3de4227e884e8a472abd9 /sysdeps/generic/ldsodefs.h | |
parent | 8313cb997d2da2465c8560d3164358a68ea1e9ad (diff) | |
download | glibc-be179c8a36fc171acff0634ac50ad31269ad4742.zip glibc-be179c8a36fc171acff0634ac50ad31269ad4742.tar.gz glibc-be179c8a36fc171acff0634ac50ad31269ad4742.tar.bz2 |
New function _dl_find_dso_for_object
Consolidate code to search for an address within a DSO.
Diffstat (limited to 'sysdeps/generic/ldsodefs.h')
-rw-r--r-- | sysdeps/generic/ldsodefs.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/sysdeps/generic/ldsodefs.h b/sysdeps/generic/ldsodefs.h index d6350fa..01a2712 100644 --- a/sysdeps/generic/ldsodefs.h +++ b/sysdeps/generic/ldsodefs.h @@ -1006,6 +1006,10 @@ extern int _dl_addr_inside_object (struct link_map *l, const ElfW(Addr) addr) /* Show show of an object. */ extern void _dl_show_scope (struct link_map *new, int from); +extern struct link_map *_dl_find_dso_for_object (const ElfW(Addr) addr) + internal_function; +rtld_hidden_proto (_dl_find_dso_for_object) + __END_DECLS #endif /* ldsodefs.h */ |