]> git.ipfire.org Git - thirdparty/gcc.git/commitdiff
Update documentation about tm_p.h
authorMichael Meissner <meissner@linux.vnet.ibm.com>
Tue, 6 Sep 2011 23:29:48 +0000 (23:29 +0000)
committerMichael Meissner <meissner@gcc.gnu.org>
Tue, 6 Sep 2011 23:29:48 +0000 (23:29 +0000)
From-SVN: r178618

gcc/ChangeLog
gcc/doc/configfiles.texi

index df4877715bb987b413797c9889c7679c038250eb..3abfc4f6f2acd4fc01af4ad4c94fee8364fbc6d6 100644 (file)
@@ -1,3 +1,8 @@
+2011-09-06  Michael Meissner  <meissner@linux.vnet.ibm.com>
+
+       * doc/configfiles.texi (Configuration Files): Update documentation
+       about tm_p.h and remove FIXME comment.
+
 2011-09-06  Uros Bizjak  <ubizjak@gmail.com>
 
        * config/i386/i386.c (ix86_function_value_regno_p): Use AX_REG.
index d122225f38e831a91b31dc76e18770cb0b8b0302..d8b15c5089be7857174abd0e7e3b8563fbf7059b 100644 (file)
@@ -59,6 +59,14 @@ these include the autoconfigured headers generated by
 machine.
 @item
 @file{tm_p.h}, which includes the header @file{@var{machine}-protos.h}
-that contains prototypes for functions in the target @file{.c} file.
-FIXME: why is such a separate header necessary?
+that contains prototypes for functions in the target
+@file{@var{machine}.c} file.  The header @file{@var{machine}-protos.h}
+can include prototypes of functions that use rtl and tree data
+structures inside appropriate @code{#ifdef RTX_CODE} and @code{#ifdef
+TREE_CODE} conditional code segements.  The
+@file{@var{machine}-protos.h} is included after the @file{rtl.h}
+and/or @file{tree.h} would have been included.  The @file{tm_p.h} also
+includes the header @file{tm-preds.h} which is generated by
+@file{genpreds} program during the build to define the declarations
+and inline functions for the predicate functions.
 @end itemize