aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKazu Hirata <kazu@hxi.com>2000-06-25 16:21:08 +0000
committerNick Clifton <nickc@gcc.gnu.org>2000-06-25 16:21:08 +0000
commit6d77b53e7a196f01fc03bb481a7cb574213a4a6d (patch)
treefff6a4a1877326c3cb99fdbba6d01469200c6b2a
parent8c4e4f26501052fd4fc4409342176dc24b0df3d1 (diff)
downloadgcc-6d77b53e7a196f01fc03bb481a7cb574213a4a6d.zip
gcc-6d77b53e7a196f01fc03bb481a7cb574213a4a6d.tar.gz
gcc-6d77b53e7a196f01fc03bb481a7cb574213a4a6d.tar.bz2
Fix typos in comments.
From-SVN: r34694
-rw-r--r--gcc/ChangeLog5
-rw-r--r--gcc/config/arm/arm.c4
-rw-r--r--gcc/config/arm/arm.h2
3 files changed, 8 insertions, 3 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog
index c40b554..134e773 100644
--- a/gcc/ChangeLog
+++ b/gcc/ChangeLog
@@ -1,3 +1,8 @@
+2000-06-25 Kazu Hirata <kazu@hxi.com>
+
+ * config/arm.c: Fix a comment typo.
+ * config/arm.h: Likewise.
+
2000-06-25 Philipp Thomas <pthomas@suse.de>
* aclocal.m4 (AM_WITH_NLS): Set create_catalogs=no if no catalog
diff --git a/gcc/config/arm/arm.c b/gcc/config/arm/arm.c
index bcdcd24..6a37bf8 100644
--- a/gcc/config/arm/arm.c
+++ b/gcc/config/arm/arm.c
@@ -1767,7 +1767,7 @@ current_file_function_operand (sym_ref)
if (ENCODED_SHORT_CALL_ATTR_P (XSTR (sym_ref, 0)))
return 1;
- /* The current funciton is always defined within the current compilation
+ /* The current function is always defined within the current compilation
unit. if it s a weak defintion however, then this may not be the real
defintion of the function, and so we have to say no. */
if (sym_ref == XEXP (DECL_RTL (current_function_decl), 0)
@@ -9026,7 +9026,7 @@ output_thumb_prologue (f)
/* Generate code sequence to switch us into Thumb mode. */
/* The .code 32 directive has already been emitted by
- ASM_DECLARE_FUNCITON_NAME */
+ ASM_DECLARE_FUNCTION_NAME. */
asm_fprintf (f, "\torr\t%r, %r, #1\n", IP_REGNUM, PC_REGNUM);
asm_fprintf (f, "\tbx\t%r\n", IP_REGNUM);
diff --git a/gcc/config/arm/arm.h b/gcc/config/arm/arm.h
index c00e55e..0fcadad 100644
--- a/gcc/config/arm/arm.h
+++ b/gcc/config/arm/arm.h
@@ -1839,7 +1839,7 @@ typedef struct
SUBTARGET_NAME_ENCODING_LENGTHS
/* This has to be handled by a function because more than part of the
- ARM backend uses funciton name prefixes to encode attributes. */
+ ARM backend uses function name prefixes to encode attributes. */
#undef STRIP_NAME_ENCODING
#define STRIP_NAME_ENCODING(VAR, SYMBOL_NAME) \
(VAR) = arm_strip_name_encoding (SYMBOL_NAME)