This is the mail archive of the
binutils@sources.redhat.com
mailing list for the binutils project.
miscellaneous fixes
- To: binutils at sourceware dot cygnus dot com
- Subject: miscellaneous fixes
- From: Alan Modra <amodra at bigpond dot net dot au>
- Date: Wed, 17 Oct 2001 15:19:07 +0930
Flush some more miniscule fixes.
gas/ChangeLog
* 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.
I've also updated ld/po/POTFILES.in and opcodes/po/POTFILES.in as the
regenerated files have entries sorted differently. Presumably people
have checked in manual updates to theses files.
--
Alan Modra
Index: gas/bit_fix.h
===================================================================
RCS file: /cvs/src/src/gas/bit_fix.h,v
retrieving revision 1.5
diff -u -p -r1.5 bit_fix.h
--- bit_fix.h 2001/10/11 12:20:25 1.5
+++ bit_fix.h 2001/10/17 05:42:19
@@ -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__
Index: gas/config/tc-arc.c
===================================================================
RCS file: /cvs/src/src/gas/config/tc-arc.c,v
retrieving revision 1.17
diff -u -p -r1.17 tc-arc.c
--- tc-arc.c 2001/09/24 14:47:10 1.17
+++ tc-arc.c 2001/10/17 05:42:21
@@ -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;
Index: gas/config/tc-mips.c
===================================================================
RCS file: /cvs/src/src/gas/config/tc-mips.c,v
retrieving revision 1.84
diff -u -p -r1.84 tc-mips.c
--- tc-mips.c 2001/10/15 19:48:04 1.84
+++ tc-mips.c 2001/10/17 05:42:35
@@ -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"));
Index: gas/config/tc-sh.c
===================================================================
RCS file: /cvs/src/src/gas/config/tc-sh.c,v
retrieving revision 1.45
diff -u -p -r1.45 tc-sh.c
--- tc-sh.c 2001/10/16 02:36:20 1.45
+++ tc-sh.c 2001/10/17 05:42:42
@@ -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