This is the mail archive of the mailing list for the GCC project.

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Patch for typos in tm.texi

This patch fixes some typos in tm.texi.  It passes "make info" and
"make dvi".  Applied to mainline; the last part applied to branch as

2001-07-08  Joseph S. Myers  <>

	* doc/tm.texi: Update some places for the rename of target to
	targetm.  Fix typo.

--- tm.texi.orig	Sun Jul  8 20:00:15 2001
+++ tm.texi	Sun Jul  8 22:31:42 2001
@@ -18,14 +18,14 @@
 @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.
-* 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 @@
 @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 @@
 @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 @@
 @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.

Joseph S. Myers

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]