* objfiles.h (struct objfile): Remove obsolete comment.

* objfiles.c (build_objfile_section_table): Remove obsolete
	comment.
This commit is contained in:
Tom Tromey
2011-12-08 18:08:12 +00:00
parent d8ea793193
commit ff011ed785
3 changed files with 9 additions and 19 deletions

View File

@ -162,12 +162,6 @@ add_to_objfile_sections (struct bfd *abfd, struct bfd_section *asect,
int
build_objfile_section_table (struct objfile *objfile)
{
/* objfile->sections can be already set when reading a mapped symbol
file. I believe that we do need to rebuild the section table in
this case (we rebuild other things derived from the bfd), but we
can't free the old one (it's in the objfile_obstack). So we just
waste some memory. */
objfile->sections_end = 0;
bfd_map_over_sections (objfile->obfd,
add_to_objfile_sections, (void *) objfile);