aboutsummaryrefslogtreecommitdiff
path: root/gdb/solib-svr4.h
diff options
context:
space:
mode:
authorAlexandre Oliva <aoliva@redhat.com>2006-02-28 04:29:10 +0000
committerAlexandre Oliva <aoliva@redhat.com>2006-02-28 04:29:10 +0000
commitcc10cae34af928d41c47ed1014abafde99165c28 (patch)
tree2c3f3ca2a60ceff5fbdffd0b28c62617b35ca585 /gdb/solib-svr4.h
parent10cd14b412f60d6d99ab6ce6c40b1c56c2a8195c (diff)
downloadgdb-cc10cae34af928d41c47ed1014abafde99165c28.zip
gdb-cc10cae34af928d41c47ed1014abafde99165c28.tar.gz
gdb-cc10cae34af928d41c47ed1014abafde99165c28.tar.bz2
gdb/ChangeLog:
* solib-svr4.h (struct link_map_offsets): Add l_ld_offset and l_ld_size fields. * solib-svr4.c (struct lm_info): Add l_addr field. (LM_ADDR_FROM_LINK_MAP): Renamed from LM_ADDR. (HAS_LM_DYNAMIC_FROM_LINK_MAP): New. (LM_DYNAMIC_FROM_LINK_MAP): New. (LM_ADDR_CHECK): New. Use it instead of LM_ADDR. (svr4_current_sos): Initialize l_addr. Adjust. (svr4_relocate_section_addresses): Adjust. (svr4_ilp32_fetch_link_map_offsets): Define new members. (svr4_lp64_fetch_link_map_offsets): Likewise. * solib-legacy.c (legacy_svr4_fetch_link_map_offsets): Likewise. * mipsnbsd-tdep.c (mipsnbsd_ilp32_fetch_link_map_offsets): Likewise. (mipsnbsd_lp64_fetch_link_map_offsets): Likewise. * Makefile.in (solib-svr4.o): Depend on $(elf_bfd_h). gdb/testsuite/ChangeLog: * gdb.base/prelink.exp: New test. * gdb.base/prelink.c, gdb.base/prelink-lib.c: New sources.
Diffstat (limited to 'gdb/solib-svr4.h')
-rw-r--r--gdb/solib-svr4.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/gdb/solib-svr4.h b/gdb/solib-svr4.h
index ae2740e..58b41e0 100644
--- a/gdb/solib-svr4.h
+++ b/gdb/solib-svr4.h
@@ -50,6 +50,12 @@ struct link_map_offsets
/* Size of l_addr field in struct link_map. */
int l_addr_size;
+ /* Offset to l_ld field in struct link_map. */
+ int l_ld_offset;
+
+ /* Size of l_ld field in struct link_map. */
+ int l_ld_size;
+
/* Offset to l_next field in struct link_map. */
int l_next_offset;