aboutsummaryrefslogtreecommitdiff
path: root/gas/obj.h
diff options
context:
space:
mode:
authorAlan Modra <amodra@gmail.com>2023-04-30 20:42:30 +0930
committerAlan Modra <amodra@gmail.com>2023-05-03 15:00:05 +0930
commit717d4bd6d199fcf834f741489aaf3bd800f9769f (patch)
tree41ecfc03c6cd82e376d3b8bfe328842af6a7a250 /gas/obj.h
parenta41bd1c837f9b71b44dbb71c2d47814326cfaa8d (diff)
downloadfsf-binutils-gdb-717d4bd6d199fcf834f741489aaf3bd800f9769f.zip
fsf-binutils-gdb-717d4bd6d199fcf834f741489aaf3bd800f9769f.tar.gz
fsf-binutils-gdb-717d4bd6d199fcf834f741489aaf3bd800f9769f.tar.bz2
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.
Diffstat (limited to 'gas/obj.h')
-rw-r--r--gas/obj.h2
1 files changed, 2 insertions, 0 deletions
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;