aboutsummaryrefslogtreecommitdiff
path: root/gas
diff options
context:
space:
mode:
authorKazu Hirata <kazu@codesourcery.com>2001-10-11 23:56:33 +0000
committerKazu Hirata <kazu@codesourcery.com>2001-10-11 23:56:33 +0000
commitb6ff326ebac0a03cfb237d6abb1065a588e83bf4 (patch)
tree98980a5b9d82e050c169fa3003bfed8cbf86b52d /gas
parentd1b67f3c0e8f0c53459615157349e6b81f7b9069 (diff)
downloadgdb-b6ff326ebac0a03cfb237d6abb1065a588e83bf4.zip
gdb-b6ff326ebac0a03cfb237d6abb1065a588e83bf4.tar.gz
gdb-b6ff326ebac0a03cfb237d6abb1065a588e83bf4.tar.bz2
* config/tc-alpha.c: Fix comment typos.
* config/tc-cris.c: Likewise. * config/tc-hppa.c: Likewise. * config/tc-i370.c: Likewise. * config/tc-mips.c: Likewise. * config/tc-mn10200.c: Likewise. * config/tc-mn10300.c: Likewise. * config/tc-sh.c: Likewise. * config/tc-tahoe.c: Likewise. * config/tc-v850.c: Likewise.
Diffstat (limited to 'gas')
-rw-r--r--gas/ChangeLog13
-rw-r--r--gas/config/tc-alpha.c2
-rw-r--r--gas/config/tc-cris.c2
-rw-r--r--gas/config/tc-hppa.c4
-rw-r--r--gas/config/tc-i370.c4
-rw-r--r--gas/config/tc-mips.c18
-rw-r--r--gas/config/tc-mn10200.c6
-rw-r--r--gas/config/tc-mn10300.c10
-rw-r--r--gas/config/tc-sh.c2
-rw-r--r--gas/config/tc-tahoe.c6
-rw-r--r--gas/config/tc-v850.c6
11 files changed, 43 insertions, 30 deletions
diff --git a/gas/ChangeLog b/gas/ChangeLog
index a71f972..9edaa9e 100644
--- a/gas/ChangeLog
+++ b/gas/ChangeLog
@@ -1,5 +1,18 @@
2001-10-11 Kazu Hirata <kazu@hxi.com>
+ * config/tc-alpha.c: Fix comment typos.
+ * config/tc-cris.c: Likewise.
+ * config/tc-hppa.c: Likewise.
+ * config/tc-i370.c: Likewise.
+ * config/tc-mips.c: Likewise.
+ * config/tc-mn10200.c: Likewise.
+ * config/tc-mn10300.c: Likewise.
+ * config/tc-sh.c: Likewise.
+ * config/tc-tahoe.c: Likewise.
+ * config/tc-v850.c: Likewise.
+
+2001-10-11 Kazu Hirata <kazu@hxi.com>
+
* app.c: Fix comment typos.
* bit_fix.h: Likewise.
* expr.c: Likewise.
diff --git a/gas/config/tc-alpha.c b/gas/config/tc-alpha.c
index 0c87d40..67f0a82 100644
--- a/gas/config/tc-alpha.c
+++ b/gas/config/tc-alpha.c
@@ -1368,7 +1368,7 @@ alpha_define_label (sym)
}
/* Return true if we must always emit a reloc for a type and false if
- there is some hope of resolving it a assembly time. */
+ there is some hope of resolving it at assembly time. */
int
alpha_force_relocation (f)
diff --git a/gas/config/tc-cris.c b/gas/config/tc-cris.c
index 0ca98f5..9b2203c 100644
--- a/gas/config/tc-cris.c
+++ b/gas/config/tc-cris.c
@@ -2570,7 +2570,7 @@ cris_get_pic_suffix (cPP, relocp, exprP)
break;
/* Allow complex expressions as the constant part. It still
- has to be a assembly-time constant or there will be an
+ has to be an assembly-time constant or there will be an
error emitting the reloc. This makes the PIC qualifiers
idempotent; foo:GOTOFF+32 == foo+32:GOTOFF. The former we
recognize here; the latter is parsed in the incoming
diff --git a/gas/config/tc-hppa.c b/gas/config/tc-hppa.c
index 2339890..5bdd25e 100644
--- a/gas/config/tc-hppa.c
+++ b/gas/config/tc-hppa.c
@@ -6827,7 +6827,7 @@ pa_import (unused)
{
/* Sigh. To be compatable with the HP assembler and to help
poorly written assembly code, we assign a type based on
- the the current segment. Note only BSF_FUNCTION really
+ the current segment. Note only BSF_FUNCTION really
matters, we do not need to set the full SYMBOL_TYPE_* info. */
if (now_seg == text_section)
symbol_get_bfdsym (symbol)->flags |= BSF_FUNCTION;
@@ -8494,7 +8494,7 @@ hppa_force_relocation (fixp)
return 1;
/* It is necessary to force PC-relative calls/jumps to have a relocation
- entry if they're going to need either a argument relocation or long
+ entry if they're going to need either an argument relocation or long
call stub. */
if (fixp->fx_pcrel
&& arg_reloc_stub_needed (symbol_arg_reloc_info (fixp->fx_addsy),
diff --git a/gas/config/tc-i370.c b/gas/config/tc-i370.c
index 7854687..de092b2 100644
--- a/gas/config/tc-i370.c
+++ b/gas/config/tc-i370.c
@@ -316,7 +316,7 @@ reg_name_search (regs, regcount, name)
*
* in: Input_line_pointer points to 1st char of operand.
*
- * out: A expressionS.
+ * out: An expressionS.
* The operand may have been a register: in this case, X_op == O_register,
* X_add_number is set to the register number, and truth is returned.
* Input_line_pointer->(next non-blank) char after operand, or is in its
@@ -2183,7 +2183,7 @@ md_assemble (str)
}
}
- /* check for a address constant expression */
+ /* Check for an address constant expression. */
/* We will put PSW-relative addresses in the text section,
* and adress literals in the .data (or other) section. */
else if (i370_addr_cons (&ex))
diff --git a/gas/config/tc-mips.c b/gas/config/tc-mips.c
index 978a4de..050bdda 100644
--- a/gas/config/tc-mips.c
+++ b/gas/config/tc-mips.c
@@ -311,7 +311,7 @@ static int mips_big_got;
static int mips_trap;
/* 1 if double width floating point constants should not be constructed
- by a assembling two single width halves into two single width floating
+ by assembling two single width halves into two single width floating
point registers which just happen to alias the double width destination
register. On some architectures this aliasing can be disabled by a bit
in the status register, and the setting of this bit cannot be determined
@@ -1992,7 +1992,7 @@ append_insn (place, ip, address_expr, reloc_type, unmatched_hi)
|| *reloc_type == BFD_RELOC_16_PCREL_S2),
reloc_type[0]);
- /* These relocations can have a addend that won't fit in
+ /* These relocations can have an addend that won't fit in
4 octets for 64bit assembly. */
if (HAVE_64BIT_GPRS &&
(*reloc_type == BFD_RELOC_16
@@ -2038,7 +2038,7 @@ append_insn (place, ip, address_expr, reloc_type, unmatched_hi)
4, address_expr, false,
reloc_type[1]);
- /* These relocations can have a addend that won't fit in
+ /* These relocations can have an addend that won't fit in
4 octets for 64bit assembly. */
if (HAVE_64BIT_GPRS &&
(*reloc_type == BFD_RELOC_16
@@ -2070,7 +2070,7 @@ append_insn (place, ip, address_expr, reloc_type, unmatched_hi)
address_expr, false,
reloc_type[2]);
- /* These relocations can have a addend that won't fit in
+ /* These relocations can have an addend that won't fit in
4 octets for 64bit assembly. */
if (HAVE_64BIT_GPRS &&
(*reloc_type == BFD_RELOC_16
@@ -7512,8 +7512,8 @@ mips_ip (str, ip)
case '<': /* must be at least one digit */
/*
* According to the manual, if the shift amount is greater
- * than 31 or less than 0 the the shift amount should be
- * mod 32. In reality the mips assembler issues an error.
+ * than 31 or less than 0, then the shift amount should be
+ * mod 32. In reality the mips assembler issues an error.
* We issue a warning and mask out all but the low 5 bits.
*/
my_getExpression (&imm_expr, s);
@@ -9235,7 +9235,7 @@ my_getSmallExpression (ep, str)
/* A percent_op was encountered. */
if (nest_level)
{
- /* Don't try to get a expression if it is already blanked out. */
+ /* Don't try to get an expression if it is already blanked out. */
if (*(str + strspn (str + 1, " )")) != ')')
{
char save;
@@ -10657,7 +10657,7 @@ s_change_sec (sec)
#ifdef OBJ_ELF
/* The ELF backend needs to know that we are changing sections, so
that .previous works correctly. We could do something like check
- for a obj_section_change_hook macro, but that might be confusing
+ for an obj_section_change_hook macro, but that might be confusing
as it would not be appropriate to use it in the section changing
functions in read.c, since obj-elf.c intercepts those. FIXME:
This should be cleaner, somehow. */
@@ -11100,7 +11100,7 @@ s_cpload (ignore)
return;
}
- /* .cpload should be a in .set noreorder section. */
+ /* .cpload should be in .set noreorder section. */
if (mips_opts.noreorder == 0)
as_warn (_(".cpload not in noreorder section"));
diff --git a/gas/config/tc-mn10200.c b/gas/config/tc-mn10200.c
index 1ccc8e0..b2135d3 100644
--- a/gas/config/tc-mn10200.c
+++ b/gas/config/tc-mn10200.c
@@ -175,7 +175,7 @@ reg_name_search (regs, regcount, name)
*
* in: Input_line_pointer points to 1st char of operand.
*
- * out: A expressionS.
+ * out: An expressionS.
* The operand may have been a register: in this case, X_op == O_register,
* X_add_number is set to the register number, and truth is returned.
* Input_line_pointer->(next non-blank) char after operand, or is in
@@ -222,7 +222,7 @@ data_register_name (expressionP)
*
* in: Input_line_pointer points to 1st char of operand.
*
- * out: A expressionS.
+ * out: An expressionS.
* The operand may have been a register: in this case, X_op == O_register,
* X_add_number is set to the register number, and truth is returned.
* Input_line_pointer->(next non-blank) char after operand, or is in
@@ -269,7 +269,7 @@ address_register_name (expressionP)
*
* in: Input_line_pointer points to 1st char of operand.
*
- * out: A expressionS.
+ * out: An expressionS.
* The operand may have been a register: in this case, X_op == O_register,
* X_add_number is set to the register number, and truth is returned.
* Input_line_pointer->(next non-blank) char after operand, or is in
diff --git a/gas/config/tc-mn10300.c b/gas/config/tc-mn10300.c
index dbc9ffd..ed17e9c 100644
--- a/gas/config/tc-mn10300.c
+++ b/gas/config/tc-mn10300.c
@@ -280,7 +280,7 @@ reg_name_search (regs, regcount, name)
*
* in: Input_line_pointer points to 1st char of operand.
*
- * out: A expressionS.
+ * out: An expressionS.
* The operand may have been a register: in this case, X_op == O_register,
* X_add_number is set to the register number, and truth is returned.
* Input_line_pointer->(next non-blank) char after operand, or is in
@@ -327,7 +327,7 @@ r_register_name (expressionP)
*
* in: Input_line_pointer points to 1st char of operand.
*
- * out: A expressionS.
+ * out: An expressionS.
* The operand may have been a register: in this case, X_op == O_register,
* X_add_number is set to the register number, and truth is returned.
* Input_line_pointer->(next non-blank) char after operand, or is in
@@ -374,7 +374,7 @@ xr_register_name (expressionP)
*
* in: Input_line_pointer points to 1st char of operand.
*
- * out: A expressionS.
+ * out: An expressionS.
* The operand may have been a register: in this case, X_op == O_register,
* X_add_number is set to the register number, and truth is returned.
* Input_line_pointer->(next non-blank) char after operand, or is in
@@ -421,7 +421,7 @@ data_register_name (expressionP)
*
* in: Input_line_pointer points to 1st char of operand.
*
- * out: A expressionS.
+ * out: An expressionS.
* The operand may have been a register: in this case, X_op == O_register,
* X_add_number is set to the register number, and truth is returned.
* Input_line_pointer->(next non-blank) char after operand, or is in
@@ -468,7 +468,7 @@ address_register_name (expressionP)
*
* in: Input_line_pointer points to 1st char of operand.
*
- * out: A expressionS.
+ * out: An expressionS.
* The operand may have been a register: in this case, X_op == O_register,
* X_add_number is set to the register number, and truth is returned.
* Input_line_pointer->(next non-blank) char after operand, or is in
diff --git a/gas/config/tc-sh.c b/gas/config/tc-sh.c
index 46eafdd..8869a82 100644
--- a/gas/config/tc-sh.c
+++ b/gas/config/tc-sh.c
@@ -2440,7 +2440,7 @@ md_convert_frag (headers, seg, fragP)
/* Toggle the true/false bit of the bcond. */
buffer[highbyte] ^= 0x2;
- /* If this is a dalayed branch, we may not put the the bra in the
+ /* If this is a dalayed branch, we may not put the bra in the
slot. So we change it to a non-delayed branch, like that:
b! cond slot_label; bra disp; slot_label: slot_insn
??? We should try if swapping the conditional branch and
diff --git a/gas/config/tc-tahoe.c b/gas/config/tc-tahoe.c
index 895c426..9f450e5 100644
--- a/gas/config/tc-tahoe.c
+++ b/gas/config/tc-tahoe.c
@@ -1245,10 +1245,10 @@ tip_op (optex, topP)
default:
/*
- * Major bug. We can't handle the case of a operator
+ * Major bug. We can't handle the case of an operator
* expression in a synthetic opcode variable-length
* instruction. We don't have a frag type that is smart
- * enough to relax a operator, and so we just force all
+ * enough to relax an operator, and so we just force all
* operators to behave like SEG_PASS1s. Clearly, if there is
* a demand we can invent a new or modified frag type and
* then coding up a frag for this case will be easy.
@@ -1864,7 +1864,7 @@ md_assemble (instruction_string)
}
else
{
- /* It's a integer, and I know it's size. */
+ /* It's an integer, and I know it's size. */
if ((unsigned) this_add_number < 0x40)
{
/* Will it fit in a literal? */
diff --git a/gas/config/tc-v850.c b/gas/config/tc-v850.c
index 46104a4..5e104f8 100644
--- a/gas/config/tc-v850.c
+++ b/gas/config/tc-v850.c
@@ -770,7 +770,7 @@ reg_name_search (regs, regcount, name, accept_numbers)
*
* in: Input_line_pointer points to 1st char of operand.
*
- * out: A expressionS.
+ * out: An expressionS.
* The operand may have been a register: in this case, X_op == O_register,
* X_add_number is set to the register number, and truth is returned.
* Input_line_pointer->(next non-blank) char after operand, or is in
@@ -825,7 +825,7 @@ register_name (expressionP)
* ACCEPT_LIST_NAMES is true iff the special names PS and SR may be
* accepted.
*
- * out: A expressionS structure in expressionP.
+ * out: An expressionS structure in expressionP.
* The operand may have been a register: in this case, X_op == O_register,
* X_add_number is set to the register number, and truth is returned.
* Input_line_pointer->(next non-blank) char after operand, or is in
@@ -906,7 +906,7 @@ system_register_name (expressionP, accept_numbers, accept_list_names)
*
* in: INPUT_LINE_POINTER points to 1st char of operand.
*
- * out: A expressionS.
+ * out: An expressionS.
* The operand may have been a register: in this case, X_op == O_register,
* X_add_number is set to the register number, and truth is returned.
* Input_line_pointer->(next non-blank) char after operand, or is in