aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJoseph Myers <jsm28@cam.ac.uk>2001-07-08 23:39:06 +0100
committerJoseph Myers <jsm28@gcc.gnu.org>2001-07-08 23:39:06 +0100
commit648c546a36511c9dd8f8e5bd59a8210a90b9d0da (patch)
tree8bf8e681566fc7ae39d556d9b0fcb3b83cdaf040
parent12a68f1f0813ad69003fa454a916ba4380f1e570 (diff)
downloadgcc-648c546a36511c9dd8f8e5bd59a8210a90b9d0da.zip
gcc-648c546a36511c9dd8f8e5bd59a8210a90b9d0da.tar.gz
gcc-648c546a36511c9dd8f8e5bd59a8210a90b9d0da.tar.bz2
tm.texi: Update some places for the rename of target to targetm.
* doc/tm.texi: Update some places for the rename of target to targetm. Fix typo. From-SVN: r43852
-rw-r--r--gcc/ChangeLog5
-rw-r--r--gcc/doc/tm.texi12
2 files changed, 11 insertions, 6 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog
index 0dae078..39eb306 100644
--- a/gcc/ChangeLog
+++ b/gcc/ChangeLog
@@ -1,5 +1,10 @@
2001-07-08 Joseph S. Myers <jsm28@cam.ac.uk>
+ * doc/tm.texi: Update some places for the rename of target to
+ targetm. Fix typo.
+
+2001-07-08 Joseph S. Myers <jsm28@cam.ac.uk>
+
* target.h (struct gcc_target): Add insert_attributes.
* target-def.h (TARGET_INSERT_ATTRIBUTES): Define.
(TARGET_INITIALIZER): Update.
diff --git a/gcc/doc/tm.texi b/gcc/doc/tm.texi
index 78d052e..37b84d7 100644
--- a/gcc/doc/tm.texi
+++ b/gcc/doc/tm.texi
@@ -18,14 +18,14 @@ about the target machine that does not fit into the scheme of the
@file{.md} file. The file @file{tm.h} should be a link to
@file{@var{machine}.h}. The header file @file{config.h} includes
@file{tm.h} and most compiler source files include @file{config.h}. The
-source file defines a variable @code{target}, which is a structure
+source file defines a variable @code{targetm}, which is a structure
containing pointers to functions and data relating to the target
machine. @file{@var{machine}.c} should also contain their definitions,
if they are not defined elsewhere in GCC, and other functions called
through the macros defined in the @file{.h} file.
@menu
-* Target Structure:: The @code{target} variable.
+* Target Structure:: The @code{targetm} variable.
* Driver:: Controlling how the driver runs the compilation passes.
* Run-time Target:: Defining @samp{-m} options like @option{-m68000} and @option{-m68020}.
* Per-Function Data:: Defining data structures for per-function information.
@@ -51,7 +51,7 @@ through the macros defined in the @file{.h} file.
@end menu
@node Target Structure
-@section The Global @code{target} Variable
+@section The Global @code{targetm} Variable
@cindex target hooks
@cindex target functions
@@ -77,10 +77,10 @@ struct gcc_target targetm = TARGET_INITIALIZER;
@end deftypevar
Where a macro should be defined in the @file{.c} file in this manner to
-form part of the @code{target} structure, it is documented below as a
+form part of the @code{targetm} structure, it is documented below as a
``Target Hook'' with a prototype. Many macros will change in future
from being defined in the @file{.h} file to being part of the
-@code{target} structure.
+@code{targetm} structure.
@node Driver
@section Controlling the Compilation Driver, @file{gcc}
@@ -5669,7 +5669,7 @@ position independent code.
@section Defining the Output Assembler Language
This section describes macros whose principal purpose is to describe how
-to write instructions in assembler language--rather than what the
+to write instructions in assembler language---rather than what the
instructions do.
@menu