aboutsummaryrefslogtreecommitdiff
path: root/gcc/doc
diff options
context:
space:
mode:
authorShenghou Ma <minux.ma@gmail.com>2013-01-24 18:51:49 +0000
committerIan Lance Taylor <iant@google.com>2013-01-24 18:51:49 +0000
commitc115be3e34e616a615ff0d53a1731c35da58cd9a (patch)
tree5832e9f4a0f9bad598b26792b8b6b87f1c23de1f /gcc/doc
parentb2e8695dc1d95519d516f5df861c790e7f4eaff0 (diff)
* doc/invoke.texi: fix typo.
* doc/objc.texi: fix typo. git-svn-id: https://gcc.gnu.org/svn/gcc/trunk@195437 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/doc')
-rw-r--r--gcc/doc/invoke.texi2
-rw-r--r--gcc/doc/objc.texi2
2 files changed, 2 insertions, 2 deletions
diff --git a/gcc/doc/invoke.texi b/gcc/doc/invoke.texi
index 55687480057..568190b9959 100644
--- a/gcc/doc/invoke.texi
+++ b/gcc/doc/invoke.texi
@@ -12358,7 +12358,7 @@ linker multiple times and joining the results together with
The subtype of the file created (like @samp{ppc7400} or @samp{ppc970} or
@samp{i686}) is determined by the flags that specify the ISA
-that GCC is targetting, like @option{-mcpu} or @option{-march}. The
+that GCC is targeting, like @option{-mcpu} or @option{-march}. The
@option{-force_cpusubtype_ALL} option can be used to override this.
The Darwin tools vary in their behavior when presented with an ISA
diff --git a/gcc/doc/objc.texi b/gcc/doc/objc.texi
index fec5305f672..5410c7a8ac0 100644
--- a/gcc/doc/objc.texi
+++ b/gcc/doc/objc.texi
@@ -1163,7 +1163,7 @@ and @code{+resolveClassMethod:} has been attempted and did not succeed
in dynamically registering the method.
To configure the hook, you set the global variable
-@code{__objc_msg_foward2} to a function with the same argument and
+@code{__objc_msg_forward2} to a function with the same argument and
return types of @code{objc_msg_lookup()}. When
@code{objc_msg_lookup()} can not find a method implementation, it
invokes the hook function you provided to get a method implementation