]> git.ipfire.org Git - thirdparty/binutils-gdb.git/commit - bfd/bfd.c
Re: Move bfd_init to bfd.c
authorAlan Modra <amodra@gmail.com>
Tue, 10 Jan 2023 09:58:18 +0000 (20:28 +1030)
committerAlan Modra <amodra@gmail.com>
Tue, 10 Jan 2023 10:12:24 +0000 (20:42 +1030)
commit56b3aa508cdbabddd4f46357c8382fe7dca35249
treeba517cff16bc4174f18a76a0ea3f163ab12bda7c
parentfd95c73ef5a6c4386b599d4a796377bc065ed6b6
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.
bfd/bfd-in2.h
bfd/bfd.c
bfd/doc/bfd.texi