diff options
author | Kazu Hirata <kazu@codesourcery.com> | 2001-10-11 12:20:25 +0000 |
---|---|---|
committer | Kazu Hirata <kazu@codesourcery.com> | 2001-10-11 12:20:25 +0000 |
commit | 3b37fd66739329ee8493b9c2abb494757802316e (patch) | |
tree | ebe9d02f85b2717f29d00a79ccb694c89ea00b79 /gas | |
parent | 685bd8696659b13e21af82e8d720f650ca0db2b3 (diff) | |
download | gdb-3b37fd66739329ee8493b9c2abb494757802316e.zip gdb-3b37fd66739329ee8493b9c2abb494757802316e.tar.gz gdb-3b37fd66739329ee8493b9c2abb494757802316e.tar.bz2 |
* app.c: Fix comment typos.
* bit_fix.h: Likewise.
* expr.c: Likewise.
* itbl-ops.c: Likewise.
Diffstat (limited to 'gas')
-rw-r--r-- | gas/ChangeLog | 7 | ||||
-rw-r--r-- | gas/app.c | 2 | ||||
-rw-r--r-- | gas/bit_fix.h | 4 | ||||
-rw-r--r-- | gas/expr.c | 6 | ||||
-rw-r--r-- | gas/itbl-ops.c | 2 |
5 files changed, 14 insertions, 7 deletions
diff --git a/gas/ChangeLog b/gas/ChangeLog index 28540c0..a71f972 100644 --- a/gas/ChangeLog +++ b/gas/ChangeLog @@ -1,3 +1,10 @@ +2001-10-11 Kazu Hirata <kazu@hxi.com> + + * app.c: Fix comment typos. + * bit_fix.h: Likewise. + * expr.c: Likewise. + * itbl-ops.c: Likewise. + 2001-10-11 Nick Clifton <nickc@cambridge.redhat.com> * input-file.c: Include safe-ctype.h. @@ -387,7 +387,7 @@ do_scrub_chars (get, tostart, tolen) /* 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 diff --git a/gas/bit_fix.h b/gas/bit_fix.h index 3eedb3c..5f69fcf 100644 --- a/gas/bit_fix.h +++ b/gas/bit_fix.h @@ -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__ @@ -759,7 +759,7 @@ current_location (expressionp) /* 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 @@ operand (expressionP) /* 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 @@ clean_up_expression (expressionP) 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) diff --git a/gas/itbl-ops.c b/gas/itbl-ops.c index 729ee98..d67a986 100644 --- a/gas/itbl-ops.c +++ b/gas/itbl-ops.c @@ -507,7 +507,7 @@ itbl_assemble (char *name, char *s) 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++) |