2000-04-17 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
* symfile.h (struct section_addr_info ): Remove fields for special treatment of .text, .data and .bss sections. * solib.c (symbol_add_stub): The special field text_addr is not available anymore. Search for the .text field the hard way. * symfile.c (build_section_addr_info_from_section_table): Don't fill in {text, data, bss}_addr any more. (default_symfile_offsets): Don't use {text, data, bss}_addr fields to fill in section_offsets for objfile. (syms_from_objfile): Don't deal with {text, data, bss}_addr as a special case anymore. (add_symbol_file_command): Ditto.
This commit is contained in:
parent
4da95fc42d
commit
e7cf9df194
4 changed files with 31 additions and 87 deletions
|
@ -64,10 +64,6 @@ struct psymbol_allocation_list
|
|||
#define MAX_SECTIONS 40
|
||||
struct section_addr_info
|
||||
{
|
||||
/* Sections whose names are always known to gdb. */
|
||||
CORE_ADDR text_addr;
|
||||
CORE_ADDR data_addr;
|
||||
CORE_ADDR bss_addr;
|
||||
/* Sections whose names are file format dependant. */
|
||||
struct other_sections
|
||||
{
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue