coff bfd.h tidy

bfd/
	* bfd-in.h: Delete coff forward refs and move coff declaration..
	* coff-bfd.h: ..to here.
	* bfd-in2.h: Regenerate.
binutils/
	* dlltool.c: Include coff-bfd.h.
This commit is contained in:
Alan Modra 2019-09-23 10:07:40 +09:30
parent f37164d78b
commit aa739c59d3
6 changed files with 14 additions and 20 deletions

View File

@ -1,3 +1,9 @@
2019-09-23 Alan Modra <amodra@gmail.com>
* bfd-in.h: Delete coff forward refs and move coff declaration..
* coff-bfd.h: ..to here.
* bfd-in2.h: Regenerate.
2019-09-23 Alan Modra <amodra@gmail.com>
* bfd-in.h: Move arm declaraions..

View File

@ -753,13 +753,3 @@ extern bfd_boolean bfd_xcoff_link_generate_rtinit
/* XCOFF support routines for ar. */
extern bfd_boolean bfd_xcoff_ar_archive_set_magic
(bfd *, char *);
/* Externally visible COFF routines. */
#if defined(__STDC__) || defined(ALMOST_STDC)
struct internal_syment;
union internal_auxent;
#endif
extern bfd_boolean bfd_coff_set_symbol_class
(bfd *, struct bfd_symbol *, unsigned int);

View File

@ -760,16 +760,6 @@ extern bfd_boolean bfd_xcoff_link_generate_rtinit
/* XCOFF support routines for ar. */
extern bfd_boolean bfd_xcoff_ar_archive_set_magic
(bfd *, char *);
/* Externally visible COFF routines. */
#if defined(__STDC__) || defined(ALMOST_STDC)
struct internal_syment;
union internal_auxent;
#endif
extern bfd_boolean bfd_coff_set_symbol_class
(bfd *, struct bfd_symbol *, unsigned int);
/* Extracted from init.c. */
unsigned int bfd_init (void);

View File

@ -86,3 +86,6 @@ extern bfd_boolean bfd_coff_get_syment
extern bfd_boolean bfd_coff_get_auxent
(bfd *, struct bfd_symbol *, int, union internal_auxent *);
extern bfd_boolean bfd_coff_set_symbol_class
(bfd *, struct bfd_symbol *, unsigned int);

View File

@ -1,3 +1,7 @@
2019-09-23 Alan Modra <amodra@gmail.com>
* dlltool.c: Include coff-bfd.h.
2019-09-23 Alan Modra <amodra@gmail.com>
PR 25018

View File

@ -240,6 +240,7 @@
#include "bucomm.h"
#include "dlltool.h"
#include "safe-ctype.h"
#include "coff-bfd.h"
#include <time.h>
#include <assert.h>