aboutsummaryrefslogtreecommitdiff
path: root/bfd/doc
diff options
context:
space:
mode:
authorAlan Modra <amodra@gmail.com>2023-01-10 20:28:18 +1030
committerAlan Modra <amodra@gmail.com>2023-01-10 20:42:24 +1030
commit56b3aa508cdbabddd4f46357c8382fe7dca35249 (patch)
treeba517cff16bc4174f18a76a0ea3f163ab12bda7c /bfd/doc
parentfd95c73ef5a6c4386b599d4a796377bc065ed6b6 (diff)
downloadfsf-binutils-gdb-56b3aa508cdbabddd4f46357c8382fe7dca35249.zip
fsf-binutils-gdb-56b3aa508cdbabddd4f46357c8382fe7dca35249.tar.gz
fsf-binutils-gdb-56b3aa508cdbabddd4f46357c8382fe7dca35249.tar.bz2
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/doc')
-rw-r--r--bfd/doc/bfd.texi9
1 files changed, 3 insertions, 6 deletions
diff --git a/bfd/doc/bfd.texi b/bfd/doc/bfd.texi
index 7374e37..f348710 100644
--- a/bfd/doc/bfd.texi
+++ b/bfd/doc/bfd.texi
@@ -198,9 +198,9 @@ IEEE-695.
@menu
* typedef bfd::
* Error reporting::
+* Initialization::
* Miscellaneous::
* Memory Usage::
-* Initialization::
* Sections::
* Symbols::
* Archives::
@@ -219,7 +219,7 @@ IEEE-695.
@include bfdt.texi
@include bfdio.texi
-@node Memory Usage, Initialization, Miscellaneous, BFD front end
+@node Memory Usage, Sections, Miscellaneous, BFD front end
@section Memory Usage
BFD keeps all of its internal structures in obstacks. There is one obstack
per open BFD file, into which the current state is stored. When a BFD is
@@ -242,10 +242,7 @@ select the greediest open BFD, close it to reclaim the memory, perform
some operation and reopen the BFD again, to get a fresh copy of the data
structures.
-@node Initialization, Sections, Memory Usage, BFD front end
-@include init.texi
-
-@node Sections, Symbols, Initialization, BFD front end
+@node Sections, Symbols, Memory Usage, BFD front end
@include section.texi
@node Symbols, Archives, Sections, BFD front end