summaryrefslogtreecommitdiff
path: root/gcc/doc/options.texi
diff options
context:
space:
mode:
authormeissner <meissner@138bc75d-0d04-0410-961f-82ee72b054a4>2010-11-19 17:27:18 +0000
committermeissner <meissner@138bc75d-0d04-0410-961f-82ee72b054a4>2010-11-19 17:27:18 +0000
commit755fa783e823d11a964be88b24eab1bf7666368c (patch)
tree331042dabc400c80ac08ddae1835f9a3e6300ccc /gcc/doc/options.texi
parentd7175aeff80486d3421f38002845779158ce107b (diff)
downloadgcc-755fa783e823d11a964be88b24eab1bf7666368c.tar.gz
Add PowerPC target attribute/pragma support
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@166947 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/doc/options.texi')
-rw-r--r--gcc/doc/options.texi26
1 files changed, 26 insertions, 0 deletions
diff --git a/gcc/doc/options.texi b/gcc/doc/options.texi
index 0538393d2e7..8c5c6399316 100644
--- a/gcc/doc/options.texi
+++ b/gcc/doc/options.texi
@@ -52,6 +52,32 @@ for variables set in option handlers rather than referenced by
@code{Var} properties.
@item
+A variable record to define a variable used to store option
+information. These records have two fields: the string
+@samp{TargetVariable}, and a declaration of the type and name of the
+variable, optionally with an initializer (but without any trailing
+@samp{;}). @samp{TargetVariable} is a combination of @samp{Variable}
+and @samp{TargetSave} records in that the variable is defined in the
+@code{gcc_options} structure, but these variables are also stored in
+the @code{cl_target_option} structure. The variables are saved in the
+target save code and restored in the target restore code.
+
+@item
+A variable record to record any additional files that the
+@file{options.h} file should include. This is useful to provide
+enumeration or structure definitions needed for target variables.
+These records have two fields: the string @samp{HeaderInclude} and the
+name of the include file.
+
+@item
+A variable record to record any additional files that the
+@file{options.c} file should include. This is useful to provide
+inline functions needed for target variables and/or @code{#ifdef}
+sequences to properly set up the initialization. These records have
+two fields: the string @samp{SourceInclude} and the name of the
+include file.
+
+@item
An option definition record. These records have the following fields:
@enumerate
@item