+2012-04-17 Joel Brobecker <brobecker@adacore.com>
+
+ * xcoffread.c (read_xcoff_symtab): Delete variables
+ last_csect_val and last_csect_sec and associated code.
+
2012-04-17 Doug Evans <dje@google.com>
* cleanups.c (make_my_cleanup,make_my_cleanup2): Make static.
char *filestring = " _start_ "; /* Name of the current file. */
- const char *last_csect_name; /* Last seen csect's name and value. */
- CORE_ADDR last_csect_val;
- int last_csect_sec;
+ const char *last_csect_name; /* Last seen csect's name. */
this_symtab_psymtab = pst;
last_source_file = NULL;
last_csect_name = 0;
- last_csect_val = 0;
start_stabs ();
start_symtab (filestring, (char *) NULL, file_start_addr);
SECT_OFF_TEXT (objfile));
file_end_addr = file_start_addr + CSECT_LEN (&main_aux);
- if (cs->c_name && (cs->c_name[0] == '.'
- || cs->c_name[0] == '@'))
- {
- last_csect_name = cs->c_name;
- last_csect_val = cs->c_value;
- last_csect_sec = secnum_to_section (cs->c_secnum,
- objfile);
- }
+ if (cs->c_name && (cs->c_name[0] == '.' || cs->c_name[0] == '@'))
+ last_csect_name = cs->c_name;
}
continue;