summaryrefslogtreecommitdiff
path: root/gdb/symfile.h
diff options
context:
space:
mode:
authorElena Zannoni <ezannoni@kwikemart.cygnus.com>2000-04-17 16:09:04 +0000
committerElena Zannoni <ezannoni@kwikemart.cygnus.com>2000-04-17 16:09:04 +0000
commit34e1aa5a108622e474dbc1f917dc893520e4e298 (patch)
treec0544d0d9a703b2b5b2796c956fc6c4723a587a2 /gdb/symfile.h
parent4449f14e5b33f3f7cdbccc5ce97b7d8bb6663aaf (diff)
downloadgdb-34e1aa5a108622e474dbc1f917dc893520e4e298.tar.gz
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.
Diffstat (limited to 'gdb/symfile.h')
-rw-r--r--gdb/symfile.h4
1 files changed, 0 insertions, 4 deletions
diff --git a/gdb/symfile.h b/gdb/symfile.h
index 5d3ee1de785..35913c08cd8 100644
--- a/gdb/symfile.h
+++ b/gdb/symfile.h
@@ -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
{