aboutsummaryrefslogtreecommitdiff
path: root/gas
diff options
context:
space:
mode:
authorAlan Modra <amodra@gmail.com>2001-10-17 05:51:12 +0000
committerAlan Modra <amodra@gmail.com>2001-10-17 05:51:12 +0000
commitd3ecfc599fbf95d896a970b06d122a4e17470c0d (patch)
tree0f105e6bfbb5d5e31bd8d93a63e1dd729111467b /gas
parentaa200fe8a3a83f8e483d6a138929e73ae099e145 (diff)
downloadgdb-d3ecfc599fbf95d896a970b06d122a4e17470c0d.zip
gdb-d3ecfc599fbf95d896a970b06d122a4e17470c0d.tar.gz
gdb-d3ecfc599fbf95d896a970b06d122a4e17470c0d.tar.bz2
* bit_fix.h: Comment typo fix.
* config/tc-mips.c: Likewise. * config/tc-sh.c: Likewise. * config/tc-arc.c (arc_code_symbol): Remove unnecessary test.
Diffstat (limited to 'gas')
-rw-r--r--gas/ChangeLog5
-rw-r--r--gas/bit_fix.h4
-rw-r--r--gas/config/tc-arc.c4
-rw-r--r--gas/config/tc-mips.c2
-rw-r--r--gas/config/tc-sh.c2
5 files changed, 10 insertions, 7 deletions
diff --git a/gas/ChangeLog b/gas/ChangeLog
index b15526c..a9b85d1 100644
--- a/gas/ChangeLog
+++ b/gas/ChangeLog
@@ -1,5 +1,10 @@
2001-10-17 Alan Modra <amodra@bigpond.net.au>
+ * bit_fix.h: Comment typo fix.
+ * config/tc-mips.c: Likewise.
+ * config/tc-sh.c: Likewise.
+ * config/tc-arc.c (arc_code_symbol): Remove unnecessary test.
+
* configure.in (MIPS_STABS_ELF): AC_DEFINE in only one place so
that autoheader doesn't duplicate config.in entries.
(DEFAULT_ARCH): Ditto.
diff --git a/gas/bit_fix.h b/gas/bit_fix.h
index 5f69fcf..80c00227 100644
--- a/gas/bit_fix.h
+++ b/gas/bit_fix.h
@@ -26,8 +26,8 @@
The or-mask is used to set the huffman bits in displacements for the
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 an opcode)
+ can handle bitfields. Ie. handle an expression, evaluate it and insert
+ the result in some bitfield. (eg: 5 bits in a short field of an opcode)
*/
#ifndef __bit_fix_h__
diff --git a/gas/config/tc-arc.c b/gas/config/tc-arc.c
index 569502e..112c30a 100644
--- a/gas/config/tc-arc.c
+++ b/gas/config/tc-arc.c
@@ -1632,9 +1632,7 @@ void
arc_code_symbol (expressionP)
expressionS *expressionP;
{
- if (expressionP->X_op == O_symbol && expressionP->X_add_number == 0
- /* I think this test is unnecessary but just as a sanity check... */
- && expressionP->X_op_symbol == NULL)
+ if (expressionP->X_op == O_symbol && expressionP->X_add_number == 0)
{
expressionS two;
expressionP->X_op = O_right_shift;
diff --git a/gas/config/tc-mips.c b/gas/config/tc-mips.c
index 0f10cea..fc8a4c1 100644
--- a/gas/config/tc-mips.c
+++ b/gas/config/tc-mips.c
@@ -11115,7 +11115,7 @@ s_cpload (ignore)
return;
}
- /* .cpload should be in .set noreorder section. */
+ /* .cpload should be in a .set noreorder section. */
if (mips_opts.noreorder == 0)
as_warn (_(".cpload not in noreorder section"));
diff --git a/gas/config/tc-sh.c b/gas/config/tc-sh.c
index b235cdd..1bf2589 100644
--- a/gas/config/tc-sh.c
+++ b/gas/config/tc-sh.c
@@ -2452,7 +2452,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 bra in the
+ /* If this is a delayed 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