From d3ecfc599fbf95d896a970b06d122a4e17470c0d Mon Sep 17 00:00:00 2001 From: Alan Modra Date: Wed, 17 Oct 2001 05:51:12 +0000 Subject: [PATCH] * 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. --- gas/ChangeLog | 5 +++++ gas/bit_fix.h | 4 ++-- gas/config/tc-arc.c | 4 +--- gas/config/tc-mips.c | 2 +- gas/config/tc-sh.c | 2 +- 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 + * 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 -- 2.7.4