2003-11-04 Andrew Cagney <cagney@redhat.com>

* symtab.c (find_active_alias): Delete function.
	(lookup_block_symbol): Delete alias code.
	* stabsread.c (resolve_live_range): Delete function.
	(add_live_range): Delete function.
	(resolve_symbol_reference): Delete function.
	(define_symbol): Delete live range and alias code.
	(scan_file_globals): Delete alias code.
	* symtab.h (SYMBOL_RANGES): Delete macro.
	(struct range_list): Delete structure.
	(struct symbol): Delete field "ranges".
	(SYMBOL_ALIASES): Delete macro.
	(struct alias_list): Delete structure.
	(struct symbol): Delete field "aliases".
This commit is contained in:
Andrew Cagney
2003-11-04 22:22:31 +00:00
parent 1083b3bca3
commit 507836c0f0
4 changed files with 22 additions and 383 deletions

View File

@@ -583,22 +583,6 @@ struct location_funcs
struct axs_value * value);
};
/* Linked list of symbol's live ranges. */
struct range_list
{
CORE_ADDR start;
CORE_ADDR end;
struct range_list *next;
};
/* Linked list of aliases for a particular main/primary symbol. */
struct alias_list
{
struct symbol *sym;
struct alias_list *next;
};
/* This structure is space critical. See space comments at the top. */
struct symbol
@@ -651,15 +635,6 @@ struct symbol
}
aux_value;
/* Link to a list of aliases for this symbol.
Only a "primary/main symbol may have aliases. */
struct alias_list *aliases;
/* List of ranges where this symbol is active. This is only
used by alias symbols at the current time. */
struct range_list *ranges;
struct symbol *hash_next;
};
@@ -670,8 +645,6 @@ struct symbol
#define SYMBOL_LINE(symbol) (symbol)->line
#define SYMBOL_BASEREG(symbol) (symbol)->aux_value.basereg
#define SYMBOL_OBJFILE(symbol) (symbol)->aux_value.objfile
#define SYMBOL_ALIASES(symbol) (symbol)->aliases
#define SYMBOL_RANGES(symbol) (symbol)->ranges
#define SYMBOL_LOCATION_BATON(symbol) (symbol)->aux_value.loc.baton
#define SYMBOL_LOCATION_FUNCS(symbol) (symbol)->aux_value.loc.funcs