* dbxread.c: Don't include libbfd.h.

* dwarfread.c, elfread.c somread.c: Don't include libbfd.h,
	<time.h>, or <sys/types.h>.
	* elfread.c (elf_symfile_read): Use only standard BFD functions to
	collect information about the stab and stab string sections.
This commit is contained in:
Stan Shebs
1994-07-14 21:34:09 +00:00
parent 8dbe58d843
commit 8e3ff82354
4 changed files with 21 additions and 26 deletions

View File

@@ -44,9 +44,6 @@ other things to work on, if you get bored. :-)
#include "gdbtypes.h"
#include "symfile.h"
#include "objfiles.h"
#include <time.h> /* For time_t in libbfd.h. */
#include <sys/types.h> /* For time_t, if not in time.h. */
#include "libbfd.h" /* FIXME Secret Internal BFD stuff (bfd_read) */
#include "elf/dwarf.h"
#include "buildsym.h"
#include "demangle.h"