This is the mail archive of the
binutils@sources.redhat.com
mailing list for the binutils project.
[patch] Fix comment typos in gas/*.[ch].
- To: binutils at sources dot redhat dot com
- Subject: [patch] Fix comment typos in gas/*.[ch].
- From: Kazu Hirata <kazu at hxi dot com>
Hi,
Attached is a patch to fix comment typos in gas/*.[ch]. Comitted as
obvious.
Kazu Hirata
2001-10-11 Kazu Hirata <kazu@hxi.com>
* app.c: Fix comment typos.
* bit_fix.h: Likewise.
* expr.c: Likewise.
* itbl-ops.c: Likewise.
Index: app.c
===================================================================
RCS file: /cvs/src/src/gas/app.c,v
retrieving revision 1.16
diff -u -r1.16 app.c
--- app.c 2001/08/01 01:44:25 1.16
+++ app.c 2001/10/11 12:11:05
@@ -387,7 +387,7 @@
/* I added states 9 and 10 because the MIPS ECOFF assembler uses
constructs like ``.loc 1 20''. This was turning into ``.loc
120''. States 9 and 10 ensure that a space is never dropped in
- between characters which could appear in a identifier. Ian
+ between characters which could appear in an identifier. Ian
Taylor, ian@cygnus.com.
I added state 11 so that something like "Lfoo add %r25,%r26,%r27" works
Index: bit_fix.h
===================================================================
RCS file: /cvs/src/src/gas/bit_fix.h,v
retrieving revision 1.4
diff -u -r1.4 bit_fix.h
--- bit_fix.h 2001/03/08 23:24:21 1.4
+++ bit_fix.h 2001/10/11 12:11:05
@@ -1,5 +1,5 @@
/* bit_fix.h
- Copyright 1987, 1992, 2000 Free Software Foundation, Inc.
+ Copyright 1987, 1992, 2000, 2001 Free Software Foundation, Inc.
This file is part of GAS, the GNU Assembler.
@@ -27,7 +27,7 @@
ns32k port.
The acbi, addqi, movqi, cmpqi instruction requires an assembler that
can handle bitfields. Ie handle an expression, evaluate it and insert
- the result in an some bitfield. ( ex: 5 bits in a short field of a opcode)
+ the result in an some bitfield. ( ex: 5 bits in a short field of an opcode)
*/
#ifndef __bit_fix_h__
Index: expr.c
===================================================================
RCS file: /cvs/src/src/gas/expr.c,v
retrieving revision 1.40
diff -u -r1.40 expr.c
--- expr.c 2001/09/19 05:33:18 1.40
+++ expr.c 2001/10/11 12:11:05
@@ -759,7 +759,7 @@
/* In: Input_line_pointer points to 1st char of operand, which may
be a space.
- Out: A expressionS.
+ Out: An expressionS.
The operand may have been empty: in this case X_op == O_absent.
Input_line_pointer->(next non-blank) char after operand. */
@@ -1342,7 +1342,7 @@
/* Internal. Simplify a struct expression for use by expr (). */
-/* In: address of a expressionS.
+/* In: address of an expressionS.
The X_op field of the expressionS may only take certain values.
Elsewise we waste time special-case testing. Sigh. Ditto SEG_ABSENT.
@@ -1399,7 +1399,7 @@
Unary operators and parenthetical expressions are treated as operands.
As usual, Q==quantity==operand, O==operator, X==expression mnemonics.
- We used to do a aho/ullman shift-reduce parser, but the logic got so
+ We used to do an aho/ullman shift-reduce parser, but the logic got so
warped that I flushed it and wrote a recursive-descent parser instead.
Now things are stable, would anybody like to write a fast parser?
Most expressions are either register (which does not even reach here)
Index: itbl-ops.c
===================================================================
RCS file: /cvs/src/src/gas/itbl-ops.c,v
retrieving revision 1.9
diff -u -r1.9 itbl-ops.c
--- itbl-ops.c 2001/07/10 09:45:50 1.9
+++ itbl-ops.c 2001/10/11 12:11:06
@@ -507,7 +507,7 @@
int processor;
if (!name || !*name)
- return 0; /* error! must have a opcode name/expr */
+ return 0; /* error! must have an opcode name/expr */
/* find entry in list of instructions for all processors */
for (processor = 0; processor < e_nprocs; processor++)