All the mail mirrored from lore.kernel.org
 help / color / mirror / Atom feed
From: Ralf Baechle <ralf@uni-koblenz.de>
To: binutils@sourceware.cygnus.com
Cc: linux@cthulhu.engr.sgi.com, linux-mips@fnet.fr,
	linux-mips@vger.rutgers.edu
Subject: MIPS gas bug & fix
Date: Mon, 2 Aug 1999 19:59:31 +0200	[thread overview]
Message-ID: <19990802195931.A28984@uni-koblenz.de> (raw)

Hi,

the cvs version of gas has a tiny typo which prevents it from swapping
an instruction preceeding a jump or branch in most cases.  The fix is
trivial and appended below.

  Ralf

--- tc-mips.c.orig	Mon Aug  2 10:47:15 1999
+++ tc-mips.c	Mon Aug  2 10:47:04 1999
@@ -2099,7 +2099,7 @@
 	      || (mips_opts.mips16 && prev_insn_fixp)
 	      /* If the previous instruction is a sync, sync.l, or 
 		 sync.p, we can not swap. */
-	      || (prev_pinfo && INSN_SYNC))
+	      || (prev_pinfo & INSN_SYNC))
 	    {
 	      /* We could do even better for unconditional branches to
 		 portions of this object file; we could pick up the

                 reply	other threads:[~1999-08-02 21:55 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=19990802195931.A28984@uni-koblenz.de \
    --to=ralf@uni-koblenz.de \
    --cc=binutils@sourceware.cygnus.com \
    --cc=linux-mips@fnet.fr \
    --cc=linux-mips@vger.rutgers.edu \
    --cc=linux@cthulhu.engr.sgi.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.