aboutsummaryrefslogtreecommitdiff
path: root/gcc/config
diff options
context:
space:
mode:
authorKazu Hirata <kazu@codesourcery.com>2005-07-03 16:11:42 +0000
committerKazu Hirata <kazu@gcc.gnu.org>2005-07-03 16:11:42 +0000
commit619519c89aa6f32d2e39648d6674b0f667bf3de6 (patch)
tree3d8bcc090396e90be83ec96849c078c48ff34fe9 /gcc/config
parent6cbfa10eb5cc91e373681e2957d5b3f0b79ae57f (diff)
downloadgcc-619519c89aa6f32d2e39648d6674b0f667bf3de6.zip
gcc-619519c89aa6f32d2e39648d6674b0f667bf3de6.tar.gz
gcc-619519c89aa6f32d2e39648d6674b0f667bf3de6.tar.bz2
c-decl.c, [...]: Fix comment typos.
* c-decl.c, tree-object-size.c, tree-vectorizer.c, config/arm/unwind-arm.c, config/arm/unwind-arm.h: Fix comment typos. From-SVN: r101558
Diffstat (limited to 'gcc/config')
-rw-r--r--gcc/config/arm/unwind-arm.c14
-rw-r--r--gcc/config/arm/unwind-arm.h8
2 files changed, 11 insertions, 11 deletions
diff --git a/gcc/config/arm/unwind-arm.c b/gcc/config/arm/unwind-arm.c
index 3a2446d..e436f7c 100644
--- a/gcc/config/arm/unwind-arm.c
+++ b/gcc/config/arm/unwind-arm.c
@@ -28,7 +28,7 @@
#include "unwind.h"
/* Definitions for C++ runtime support routines. We make these weak
- declarations to avoid pulling in libsupc++ unneccesarily. */
+ declarations to avoid pulling in libsupc++ unnecessarily. */
typedef unsigned char bool;
typedef struct _ZSt9type_info type_info; /* This names C++ type_info type */
@@ -119,7 +119,7 @@ typedef struct
} phase2_vrs;
-/* An exeption index table entry. */
+/* An exception index table entry. */
typedef struct __EIT_entry
{
@@ -375,7 +375,7 @@ search_EIT_table (const __EIT_entry * table, int nrec, _uw return_address)
/* Find the exception index table eintry for the given address.
Fill in the relevant fields of the UCB.
- Returns _URC_FAILURE if an error occured, _URC_OK on success*/
+ Returns _URC_FAILURE if an error occurred, _URC_OK on success. */
static _Unwind_Reason_Code
get_eit_entry (_Unwind_Control_Block *ucbp, _uw return_address)
@@ -676,7 +676,7 @@ __gnu_unwind_pr_common (_Unwind_State state,
/* Cleanup in range, and we are running cleanups. */
_uw lp;
- /* Landing pad address is 31-bit pc-relatvie offset. */
+ /* Landing pad address is 31-bit pc-relative offset. */
lp = selfrel_offset31 (data);
data++;
/* Save the exception data pointer. */
@@ -705,7 +705,7 @@ __gnu_unwind_pr_common (_Unwind_State state,
if (data[1] == (_uw) -2)
return _URC_FAILURE;
- /* The thrown object immediately folows the ECB. */
+ /* The thrown object immediately follows the ECB. */
matched = (void *)(ucbp + 1);
if (data[1] != (_uw) -1)
{
@@ -739,7 +739,7 @@ __gnu_unwind_pr_common (_Unwind_State state,
_Unwind_SetGR (context, 0, (_uw) ucbp);
return _URC_INSTALL_CONTEXT;
}
- /* Catch handler not mached. Advance to the next descriptor. */
+ /* Catch handler not matched. Advance to the next descriptor. */
data += 2;
break;
@@ -818,7 +818,7 @@ __gnu_unwind_pr_common (_Unwind_State state,
if (phase2_call_unexpected_after_unwind)
{
- /* Enter __cxa_unexpected as if called from the callsite. */
+ /* Enter __cxa_unexpected as if called from the call site. */
_Unwind_SetGR (context, R_LR, _Unwind_GetGR (context, R_PC));
_Unwind_SetGR (context, R_PC, (_uw) &__cxa_call_unexpected);
return _URC_INSTALL_CONTEXT;
diff --git a/gcc/config/arm/unwind-arm.h b/gcc/config/arm/unwind-arm.h
index b3244d1..4d86407 100644
--- a/gcc/config/arm/unwind-arm.h
+++ b/gcc/config/arm/unwind-arm.h
@@ -26,8 +26,8 @@
the Free Software Foundation, 51 Franklin Street, Fifth Floor,
Boston, MA 02110-1301, USA. */
-/* Language-independent unwinder header public defines. This contins both
- ABI defined objects, and GNU support routines.*/
+/* Language-independent unwinder header public defines. This contains both
+ ABI defined objects, and GNU support routines. */
#ifndef UNWIND_ARM_H
#define UNWIND_ARM_H
@@ -223,7 +223,7 @@ extern "C" {
tmp += ptr;
tmp = *(_Unwind_Word *) tmp;
#elif defined(__symbian__)
- /* Absoute pointer. Nothing more to do. */
+ /* Absolute pointer. Nothing more to do. */
#else
/* Pc-relative pointer. */
tmp += ptr;
@@ -250,7 +250,7 @@ extern "C" {
}
/* The dwarf unwinder doesn't understand arm/thumb state. We assume the
- landing pad uses the same instruction set as the callsite. */
+ landing pad uses the same instruction set as the call site. */
#define _Unwind_SetIP(context, val) \
_Unwind_SetGR (context, 15, val | (_Unwind_GetGR (context, 15) & 1))