From aa739c59d3db95d1709b0417cdf7d082bfdea911 Mon Sep 17 00:00:00 2001 From: Alan Modra Date: Mon, 23 Sep 2019 10:07:40 +0930 Subject: 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. --- bfd/ChangeLog | 6 ++++++ bfd/bfd-in.h | 10 ---------- bfd/bfd-in2.h | 10 ---------- bfd/coff-bfd.h | 3 +++ 4 files changed, 9 insertions(+), 20 deletions(-) (limited to 'bfd') diff --git a/bfd/ChangeLog b/bfd/ChangeLog index c1f82cd..696eeac 100644 --- a/bfd/ChangeLog +++ b/bfd/ChangeLog @@ -1,5 +1,11 @@ 2019-09-23 Alan Modra + * 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 + * bfd-in.h: Move arm declaraions.. * cpu-arm.h: ..to here, new file.. * coff-arm.h: ..and here, new file.. diff --git a/bfd/bfd-in.h b/bfd/bfd-in.h index 124a0c2..a629a84 100644 --- a/bfd/bfd-in.h +++ b/bfd/bfd-in.h @@ -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); diff --git a/bfd/bfd-in2.h b/bfd/bfd-in2.h index 052a826..e7537f7 100644 --- a/bfd/bfd-in2.h +++ b/bfd/bfd-in2.h @@ -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); diff --git a/bfd/coff-bfd.h b/bfd/coff-bfd.h index 20c2a44..b88c5be 100644 --- a/bfd/coff-bfd.h +++ b/bfd/coff-bfd.h @@ -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); -- cgit v1.1