mirror of
https://sourceware.org/git/binutils-gdb.git
synced 2024-12-03 04:12:10 +08:00
initialize_objfile_symbol: Renamed from initialize_symbol.
gdb/ChangeLog: * symtab.c (initialize_objfile_symbol): Renamed from initialize_symbol. All callers updated.
This commit is contained in:
parent
f606139ae8
commit
38bf1463f4
@ -1,3 +1,8 @@
|
||||
2014-12-23 Doug Evans <xdje42@gmail.com>
|
||||
|
||||
* symtab.c (initialize_objfile_symbol): Renamed from initialize_symbol.
|
||||
All callers updated.
|
||||
|
||||
2014-12-23 Doug Evans <xdje42@gmail.com>
|
||||
|
||||
* language.h (struct language_defn) <la_lookup_symbol_nonlocal>:
|
||||
|
@ -5316,7 +5316,7 @@ initialize_ordinary_address_classes (void)
|
||||
/* Initialize the symbol SYM. */
|
||||
|
||||
void
|
||||
initialize_symbol (struct symbol *sym)
|
||||
initialize_objfile_symbol (struct symbol *sym)
|
||||
{
|
||||
memset (sym, 0, sizeof (*sym));
|
||||
SYMBOL_SECTION (sym) = -1;
|
||||
|
@ -1571,7 +1571,7 @@ struct cleanup *demangle_for_lookup (const char *name, enum language lang,
|
||||
|
||||
struct symbol *allocate_symbol (struct objfile *);
|
||||
|
||||
void initialize_symbol (struct symbol *);
|
||||
void initialize_objfile_symbol (struct symbol *);
|
||||
|
||||
struct template_symbol *allocate_template_symbol (struct objfile *);
|
||||
|
||||
|
@ -1559,7 +1559,7 @@ process_xcoff_symbol (struct coff_symbol *cs, struct objfile *objfile)
|
||||
if (name[0] == '.')
|
||||
++name;
|
||||
|
||||
initialize_symbol (sym);
|
||||
initialize_objfile_symbol (sym);
|
||||
|
||||
/* default assumptions */
|
||||
SYMBOL_VALUE_ADDRESS (sym) = cs->c_value + off;
|
||||
|
Loading…
Reference in New Issue
Block a user