summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlan Modra <amodra@bigpond.net.au>2001-10-17 05:51:12 +0000
committerAlan Modra <amodra@bigpond.net.au>2001-10-17 05:51:12 +0000
commit4696c304a45f7ef9453afbbe229bd2e2e3256a06 (patch)
treefb901e07fc61b4ad4bca29a276d89f27205968f7
parent4e60e6e09e7a6cd23a497f3b99071ba2a3c2626e (diff)
downloadbinutils-redhat-4696c304a45f7ef9453afbbe229bd2e2e3256a06.tar.gz
* 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.
-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 b15526c6bc..a9b85d18e6 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 5f69fcff7a..80c002278a 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 569502edb0..112c30adc4 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 0f10cea122..fc8a4c14ea 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 b235cdda83..1bf258948f 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