fix bfd documentation sectioning

Bob Wilson bwilson@tensilica.com
Wed Oct 5 21:24:00 GMT 2005


The sections in the BFD documentation are not properly nested.  This  
may not matter much when generating info files, but it doesn't turn  
out well if you run it through TeX, especially if you care about the  
bookmarks generated by pdftex.  The main problem is that the FUNCTION  
heading is always translated to a subsubsection, regardless of the  
current section level.  Sometimes this results in a subsubsection  
nested directly within a section, with no intervening subsection.   
This patch inserts some extra SUBSECTION headings to fix the problem.

The patch also removes a blank line in elf.c that caused the section  
heading to be blank, and fixes the "howto manager" node in reloc.c to  
be a subsection rather than a section so that it matches the nesting  
specified by the menu in that file.

Committed as obvious.

2005-10-04  Bob Wilson  <bob.wilson@acm.org>

         * archive.c: Add missing SUBSECTION for documentation.
         * bfd.c: Likewise.
         * cache.c: Likewise.
         * corefile.c: Likewise.
         * format.c: Likewise.
         * init.c: Likewise.
         * libbfd.c: Likewise.
         * opncls.c: Likewise.
         * elf.c: Remove blank line after SECTION heading.
         * reloc.c: Change "howto manager" SECTION to a SUBSECTION.


-------------- next part --------------
A non-text attachment was scrubbed...
Name: bfd-docs.diff
Type: application/octet-stream
Size: 4006 bytes
Desc: not available
URL: <https://sourceware.org/pipermail/binutils/attachments/20051005/424b2a4c/attachment.obj>


More information about the Binutils mailing list