This is the mail archive of the binutils@sources.redhat.com mailing list for the binutils project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[applied patch] slight tweak to Eric's recent tc-mips.c change.


Checked in as obvious.  8-)

(I also fixed up his ChangeLog entry for the change:

2002-04-22  Eric Christopher  <echristo@redhat.com>

        * config/tc-mips.c: Add warning if macro instructions are expanded
        into a branch delay slot.

so that it mentioned the function which contained the change.  8-)


tested by building target mips-elf from host sparc-solaris.


chris
===================================================================
2002-04-22  Chris Demetriou  <cgd@broadcom.com>

        * config/tc-mips.c (macro_build): Add close-parenthesis missing
        from previous change.

Index: config/tc-mips.c
===================================================================
RCS file: /cvs/src/src/gas/config/tc-mips.c,v
retrieving revision 1.116
diff -u -p -r1.116 tc-mips.c
--- config/tc-mips.c	22 Apr 2002 21:21:06 -0000	1.116
+++ config/tc-mips.c	22 Apr 2002 21:47:33 -0000
@@ -2890,7 +2890,7 @@ macro_build (place, counter, ep, name, f
       && mips_opts.noreorder
       && (prev_prev_insn.insn_mo->pinfo
 	  & (INSN_UNCOND_BRANCH_DELAY | INSN_COND_BRANCH_DELAY
-	     | INSN_COND_BRANCH_LIKELY) != 0)
+	     | INSN_COND_BRANCH_LIKELY)) != 0)
     as_warn (_("Macro instruction expanded into multiple instructions in a branch delay slot"));
 
   if (place == NULL)


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]