aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--gcc/java/ChangeLog4
-rw-r--r--gcc/java/expr.c2
-rw-r--r--gcc/java/gjavah.c2
3 files changed, 6 insertions, 2 deletions
diff --git a/gcc/java/ChangeLog b/gcc/java/ChangeLog
index e3cde16..fe19f2c 100644
--- a/gcc/java/ChangeLog
+++ b/gcc/java/ChangeLog
@@ -1,3 +1,7 @@
+2006-04-08 Kazu Hirata <kazu@codesourcery.com>
+
+ * expr.c, gjavah.c: Fix comment typos.
+
2006-04-03 Andrew Haley <aph@redhat.com>
PR java/26858
diff --git a/gcc/java/expr.c b/gcc/java/expr.c
index 4a6afaa..1cd405a 100644
--- a/gcc/java/expr.c
+++ b/gcc/java/expr.c
@@ -1694,7 +1694,7 @@ build_field_ref (tree self_value, tree self_class, tree name)
We assume that Page 0 will be mapped with NOPERM, and that
memory may be allocated from any other page, so only field
- offsets < pagesize are guaratneed to trap. We also assume
+ offsets < pagesize are guaranteed to trap. We also assume
the smallest page size we'll encounter is 4k bytes. */
if (! flag_syntax_only && check && ! flag_check_references
&& ! flag_indirect_dispatch)
diff --git a/gcc/java/gjavah.c b/gcc/java/gjavah.c
index 8c9884b..c79a0a9 100644
--- a/gcc/java/gjavah.c
+++ b/gcc/java/gjavah.c
@@ -252,7 +252,7 @@ static int is_first_data_member = 0;
/* Only include byte-code decompilation optimizations for ELF targets
since the generated headers are only known to work with ELF weak
- symbol semnatics. Specifically, these optimizations are known to
+ symbol semantics. Specifically, these optimizations are known to
not work on PE-COFF and possibly others. */
#ifdef OBJECT_FORMAT_ELF
#define HANDLE_CODE_ATTRIBUTE(MAX_STACK, MAX_LOCALS, CODE_LENGTH) \