2009-12-07 Tristan Gingold <gingold@adacore.com>

* symfile.h (struct sym_fns): Adjust comment on sym_read.
	* symfile.c (syms_from_objfile): Pass all symfile flags to sym_read.
	* dbxread.c (dbx_symfile_read): Rename mainline to symfile_flags,
	adjust header comment.
	* elfread.c (elf_symfile_read): Ditto.
	* somread.c (som_symfile_read): Ditto.
	* xcoffread.c (xcoff_initial_scan): Ditto.
	* coffread.c (coff_symfile_read): Rename mainline to symfile_flags.
	* machoread.c (macho_symfile_read): Ditto.
	* mipsread.c (mipscoff_symfile_read): Ditto.
This commit is contained in:
Tristan Gingold
2009-12-07 09:47:40 +00:00
parent de1d8fb992
commit f43525316b
10 changed files with 26 additions and 24 deletions

View File

@@ -2868,11 +2868,10 @@ xcoff_get_toc_offset (struct objfile *objfile)
SECTION_OFFSETS contains offsets relative to which the symbols in the
various sections are (depending where the sections were actually loaded).
MAINLINE is true if we are reading the main symbol
table (as opposed to a shared lib or dynamically loaded file). */
*/
static void
xcoff_initial_scan (struct objfile *objfile, int mainline)
xcoff_initial_scan (struct objfile *objfile, int symfile_flags)
{
bfd *abfd;
int val;