diff options
author | Alan Modra <amodra@gmail.com> | 2023-01-10 20:28:18 +1030 |
---|---|---|
committer | Alan Modra <amodra@gmail.com> | 2023-01-10 20:42:24 +1030 |
commit | 56b3aa508cdbabddd4f46357c8382fe7dca35249 (patch) | |
tree | ba517cff16bc4174f18a76a0ea3f163ab12bda7c /bfd/bfd-in2.h | |
parent | fd95c73ef5a6c4386b599d4a796377bc065ed6b6 (diff) | |
download | binutils-gdb-56b3aa508cdbabddd4f46357c8382fe7dca35249.tar.gz |
Re: Move bfd_init to bfd.c
Commit b1c95bc4dd73 resulted in
...bfd.texi:246: @include: could not find init.texi
which went unnoticed due to not building in a clean directory.
This fixes the problem by moving bfd_init earlier, giving it a
doc node, and stitching the nodes back together.
* bfd.c (bfd_init): Move earlier. Give it a doc inode.
Adjust other inodes to suit.
* doc/bfd.texi: Don't include init.texi. Adjust nodes to suit.
Diffstat (limited to 'bfd/bfd-in2.h')
-rw-r--r-- | bfd/bfd-in2.h | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/bfd/bfd-in2.h b/bfd/bfd-in2.h index bb2b30200dc..b6e417f26ec 100644 --- a/bfd/bfd-in2.h +++ b/bfd/bfd-in2.h @@ -7105,6 +7105,11 @@ typedef void (*bfd_assert_handler_type) (const char *bfd_formatmsg, bfd_assert_handler_type bfd_set_assert_handler (bfd_assert_handler_type); +unsigned int bfd_init (void); + +/* Value returned by bfd_init. */ +#define BFD_INIT_MAGIC (sizeof (struct bfd_section)) + long bfd_get_reloc_upper_bound (bfd *abfd, asection *sect); long bfd_canonicalize_reloc @@ -7256,11 +7261,6 @@ bfd_vma bfd_emul_get_commonpagesize (const char *); char *bfd_demangle (bfd *, const char *, int); -unsigned int bfd_init (void); - -/* Value returned by bfd_init. */ -#define BFD_INIT_MAGIC (sizeof (struct bfd_section)) - /* Extracted from archive.c. */ symindex bfd_get_next_mapent (bfd *abfd, symindex previous, carsym **sym); |