Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/gnu/dist/toolchain/opcodes Pull in rev 1.11 from the Cygnus ...



details:   https://anonhg.NetBSD.org/src/rev/06077a71a59f
branches:  trunk
changeset: 508021:06077a71a59f
user:      simonb <simonb%NetBSD.org@localhost>
date:      Wed Apr 04 16:23:14 2001 +0000

description:
Pull in rev 1.11 from the Cygnus binutils CVS repo:

  * ppc-opc.c (insert_mbe): Shift mask initializer as long.

Fixes cross-assembly problems when compiling for a ppc target on an
alpha.

diffstat:

 gnu/dist/toolchain/opcodes/ppc-opc.c |  2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diffs (12 lines):

diff -r fddadc762c58 -r 06077a71a59f gnu/dist/toolchain/opcodes/ppc-opc.c
--- a/gnu/dist/toolchain/opcodes/ppc-opc.c      Wed Apr 04 15:41:46 2001 +0000
+++ b/gnu/dist/toolchain/opcodes/ppc-opc.c      Wed Apr 04 16:23:14 2001 +0000
@@ -722,7 +722,7 @@
   /* me: location of last 1->0 transition */
   /* count: # transitions */
 
-  for (mx = 0, mask = 1 << 31; mx < 32; ++mx, mask >>= 1)
+  for (mx = 0, mask = (long) 1 << 31; mx < 32; ++mx, mask >>= 1)
     {
       if ((uval & mask) && !last)
        {



Home | Main Index | Thread Index | Old Index