From 717d4bd6d199fcf834f741489aaf3bd800f9769f Mon Sep 17 00:00:00 2001 From: Alan Modra Date: Sun, 30 Apr 2023 20:42:30 +0930 Subject: 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. --- gas/obj.h | 2 ++ 1 file changed, 2 insertions(+) (limited to 'gas/obj.h') diff --git a/gas/obj.h b/gas/obj.h index e103692..6d92c36 100644 --- a/gas/obj.h +++ b/gas/obj.h @@ -37,6 +37,8 @@ void obj_symbol_to_chars (char **where, symbolS * symbolP); extern const pseudo_typeS obj_pseudo_table[]; +struct ecoff_extr; + struct format_ops { int flavor; unsigned dfl_leading_underscore : 1; -- cgit v1.1