diff options
author | Alan Modra <amodra@gmail.com> | 2019-09-23 10:07:40 +0930 |
---|---|---|
committer | Alan Modra <amodra@gmail.com> | 2019-09-23 10:27:21 +0930 |
commit | aa739c59d3db95d1709b0417cdf7d082bfdea911 (patch) | |
tree | e463eadc08e91a56599e5aa3ae4b8b840dcf5766 /bfd | |
parent | f37164d78b0d9600862b7038b896922127749b52 (diff) | |
download | gdb-aa739c59d3db95d1709b0417cdf7d082bfdea911.zip gdb-aa739c59d3db95d1709b0417cdf7d082bfdea911.tar.gz gdb-aa739c59d3db95d1709b0417cdf7d082bfdea911.tar.bz2 |
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.
Diffstat (limited to 'bfd')
-rw-r--r-- | bfd/ChangeLog | 6 | ||||
-rw-r--r-- | bfd/bfd-in.h | 10 | ||||
-rw-r--r-- | bfd/bfd-in2.h | 10 | ||||
-rw-r--r-- | bfd/coff-bfd.h | 3 |
4 files changed, 9 insertions, 20 deletions
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 <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.. * 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); |