Patchwork Fix typo in internal documents

login
register
mail settings
Submitter Paulo J. Matos
Date July 27, 2011, 2:21 p.m.
Message ID <j0p6tn$mcm$1@dough.gmane.org>
Download mbox | patch
Permalink /patch/107088/
State New
Headers show

Comments

Paulo J. Matos - July 27, 2011, 2:21 p.m.
There is a typo in the internal documentation. This patch fixes this.

Please let me know if the patch is not in the required format.

PMatos

2011-07-26  Paulo J. Matos <paulo.matos@csr.com>

	* Fix internal documentation typo. TERGET should be TARGET.
Paulo J. Matos - July 27, 2011, 2:49 p.m.
Today is the 27th, not 26th so the Changelog should be:
2011-07-27 Paulo J. Matos <paulo.matos@csr.com>
	* Fix internal documentation typo. TERGET should be TARGET.

On 27/07/11 15:21, Paulo J. Matos wrote:
> There is a typo in the internal documentation. This patch fixes this.
>
> Please let me know if the patch is not in the required format.
>
> PMatos
>
> 2011-07-26 Paulo J. Matos <paulo.matos@csr.com>
>
> * Fix internal documentation typo. TERGET should be TARGET.
Richard Sandiford - Aug. 10, 2011, 9:40 a.m.
"Paulo J. Matos" <pocmatos@gmail.com> writes:
> There is a typo in the internal documentation. This patch fixes this.

Thanks, applied to trunk under the "obviously correct" rule.  Sorry for
the slow response.

Richard

For the record, the changelog was:

2011-08-10  Paulo J. Matos  <paulo.matos@csr.com>

	* doc/tm.texi.in (CLASS_MAX_NREGS): Fix typo.
	* doc/tm.texi: Regenerate.

Patch

diff --git a/gcc/doc/tm.texi b/gcc/doc/tm.texi
index 097531f..419faf0 100644
--- a/gcc/doc/tm.texi
+++ b/gcc/doc/tm.texi
@@ -2851,7 +2851,7 @@  A target hook returns the maximum number of consecutive registers
 of class @var{rclass} needed to hold a value of mode @var{mode}.
 
 This is closely related to the macro @code{HARD_REGNO_NREGS}.  In fact,
-the value returned by @code{TERGET_CLASS_MAX_NREGS (@var{rclass},
+the value returned by @code{TARGET_CLASS_MAX_NREGS (@var{rclass},
 @var{mode})} target hook should be the maximum value of
 @code{HARD_REGNO_NREGS (@var{regno}, @var{mode})} for all @var{regno}
 values in the class @var{rclass}.
diff --git a/gcc/doc/tm.texi.in b/gcc/doc/tm.texi.in
index 01beeb4..0a3a396 100644
--- a/gcc/doc/tm.texi.in
+++ b/gcc/doc/tm.texi.in
@@ -2837,7 +2837,7 @@  A target hook returns the maximum number of consecutive registers
 of class @var{rclass} needed to hold a value of mode @var{mode}.
 
 This is closely related to the macro @code{HARD_REGNO_NREGS}.  In fact,
-the value returned by @code{TERGET_CLASS_MAX_NREGS (@var{rclass},
+the value returned by @code{TARGET_CLASS_MAX_NREGS (@var{rclass},
 @var{mode})} target hook should be the maximum value of
 @code{HARD_REGNO_NREGS (@var{regno}, @var{mode})} for all @var{regno}
 values in the class @var{rclass}.