]> git.ipfire.org Git - thirdparty/binutils-gdb.git/commit - bfd/coffcode.h
Generated docs and include files
authorAlan Modra <amodra@gmail.com>
Sun, 30 Apr 2023 11:12:30 +0000 (20:42 +0930)
committerAlan Modra <amodra@gmail.com>
Wed, 3 May 2023 05:30:05 +0000 (15:00 +0930)
commit717d4bd6d199fcf834f741489aaf3bd800f9769f
tree41ecfc03c6cd82e376d3b8bfe328842af6a7a250
parenta41bd1c837f9b71b44dbb71c2d47814326cfaa8d
Generated docs and include files

bfd/doc/chew.c extracts documentation from source code comments
annotated with keywords, and generates much of bfd.h and libbfd.h from
those same comments.  The docs have suffered from people (me too)
adding things like CODE_FRAGMENT to the source to put code into bfd.h
without realising that CODE_FRAGMENT also puts @example around said
code into the docs.  So we have random senseless things in the docs.
This patch fixes that problem (well, the senseless things from
CODE_FRAGMENT), moves most of the code out of bfd-in.h, and improves a
few chew.c features.  libbfd.h now automatically gets ATTRIBUTE_HIDDEN
prototypes, and indentation in bfd.h and libbfd.h is better.
30 files changed:
bfd/Makefile.am
bfd/Makefile.in
bfd/archive.c
bfd/archures.c
bfd/bfd-in.h
bfd/bfd-in2.h
bfd/bfd.c
bfd/bfdio.c
bfd/bfdwin.c
bfd/cache.c
bfd/coffcode.h
bfd/compress.c
bfd/doc/chew.c
bfd/doc/doc.str
bfd/doc/proto.str
bfd/elfxx-mips.h
bfd/hash.c
bfd/libbfd-in.h
bfd/libbfd.c
bfd/libbfd.h
bfd/libcoff.h
bfd/linker.c
bfd/opncls.c
bfd/reloc.c
bfd/section.c
bfd/stab-syms.c
bfd/stabs.c
bfd/syms.c
bfd/targets.c
gas/obj.h