diff options
author | Kevin Buettner <kevinb@redhat.com> | 2000-10-30 23:31:17 +0000 |
---|---|---|
committer | Kevin Buettner <kevinb@redhat.com> | 2000-10-30 23:31:17 +0000 |
commit | 749499cbc4bbd424e9724cd1ded6fd8db340f1ad (patch) | |
tree | bc470d599b076ad88f5cd7e4ff033e7235f562c5 /gdb/ChangeLog | |
parent | 0cf9d59bcb201be4433464a8b49c8bc7f3225419 (diff) | |
download | fsf-binutils-gdb-749499cbc4bbd424e9724cd1ded6fd8db340f1ad.zip fsf-binutils-gdb-749499cbc4bbd424e9724cd1ded6fd8db340f1ad.tar.gz fsf-binutils-gdb-749499cbc4bbd424e9724cd1ded6fd8db340f1ad.tar.bz2 |
solib.c relocation improvements
Diffstat (limited to 'gdb/ChangeLog')
-rw-r--r-- | gdb/ChangeLog | 26 |
1 files changed, 26 insertions, 0 deletions
diff --git a/gdb/ChangeLog b/gdb/ChangeLog index 667a3be..3109ba8 100644 --- a/gdb/ChangeLog +++ b/gdb/ChangeLog @@ -1,3 +1,29 @@ +2000-10-30 Kevin Buettner <kevinb@redhat.com> + + Changes based on analysis from Peter Schauer: + * solist.h (struct so_list): Remove field lmend. + (struct target_so_ops): Remove field lm_addr. Add field + relocate_section_addresses. Add comments for all fields + in this structure + (TARGET_SO_LM_ADDR): Remove. + (TARGET_SO_RELOCATE_SECTION_ADDRESSES): New macro. + * solib-svr4.c (svr4_relocate_section_addresses): New function. + (_initialize_svr4_solib): Remove lm_addr initialization. Add + initialization for relocate_section_addresses. + * solib.c (solib_map_sections): Invoke + TARGET_SO_RELOCATE_SECTION_ADDRESSES instead of using now + defunct TARGET_SO_LM_ADDR to relocate the section addresses. + Also, eliminate assignment to the lmend field since this + field no longer exists. + (symbol_add_stub): Remove machinery for determining the lowest + section. + (info_sharedlibrary_command): Print the text section starting + and ending addresses. + (solib_address): Don't use TARGET_SO_LM_ADDR, nor so->lmend to + determine if an address is in a shared object. Instead, scan + the section table and test against the starting and ending + addresses for each section. + 2000-10-30 Michael Snyder <msnyder@cleaver.cygnus.com> * config/m68k/linux.mh: Remove solib.c, solib-svr4.c from NATDEPFILES. |