* symfile.c (syms_from_objfile_1): Delete args offsets, num_offsets.

All callers updated.
	(syms_from_objfile): Ditto.  Make static.
	(symbol_file_add_with_addrs): Renamed from
	symbol_file_add_with_addrs_or_offsets.  Delete args offsets,
	num_offsets.  All callers updated.
	* symfile.h (syms_from_objfile): Delete.
This commit is contained in:
Doug Evans
2013-05-09 18:03:28 +00:00
parent 2cb9c8590a
commit 6bf667bb73
3 changed files with 26 additions and 65 deletions

View File

@@ -453,7 +453,7 @@ extern struct symtab *allocate_symtab (const char *, struct objfile *)
extern void add_symtab_fns (const struct sym_fns *);
/* This enum encodes bit-flags passed as ADD_FLAGS parameter to
syms_from_objfile, symbol_file_add, etc. */
symbol_file_add, etc. */
enum symfile_add_flags
{
@@ -472,10 +472,6 @@ enum symfile_add_flags
SYMFILE_NO_READ = 1 << 4
};
extern void syms_from_objfile (struct objfile *,
struct section_addr_info *,
const struct section_offsets *, int, int);
extern void new_symfile_objfile (struct objfile *, int);
extern struct objfile *symbol_file_add (char *, int,