[patch] java/*.c: Fix comment typos.

Kazu Hirata kazu@codesourcery.com
Sat Apr 8 17:07:00 GMT 2006


Hi,

Committed as obvious.

Kazu Hirata

2006-04-08  Kazu Hirata  <kazu@codesourcery.com>

	* expr.c, gjavah.c: Fix comment typos.

Index: java/expr.c
===================================================================
--- java/expr.c	(revision 112781)
+++ java/expr.c	(working copy)
@@ -1694,7 +1694,7 @@ build_field_ref (tree self_value, tree s
 
 	 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)
Index: java/gjavah.c
===================================================================
--- java/gjavah.c	(revision 112781)
+++ java/gjavah.c	(working copy)
@@ -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)	\



More information about the Gcc-patches mailing list