]> rtime.felk.cvut.cz Git - fpga/lx-cpu1/binutils-tumbl.git/commitdiff
* config/tc-m68hc11.c (build_indexed_byte): Replace use of binary
authorNick Clifton <nickc@redhat.com>
Mon, 30 Jul 2012 16:11:00 +0000 (16:11 +0000)
committerNick Clifton <nickc@redhat.com>
Mon, 30 Jul 2012 16:11:00 +0000 (16:11 +0000)
constant with hex for building on cygwin.

gas/ChangeLog
gas/config/tc-m68hc11.c

index 4418b7bba2fed41385dde909586b1a4885c7d2ba..8213ae273c9d9748dd457b97de6acdc95bb1dafa 100644 (file)
@@ -1,3 +1,8 @@
+2012-07-20  James Murray  <jsm@jsm-net.demon.co.uk>
+
+       * config/tc-m68hc11.c (build_indexed_byte): Replace use of binary
+       constant with hex for building on cygwin.
+
 2012-07-30  Nick Clifton  <nickc@redhat.com>
 
        * po/gas.pot: Updated template.
index 6211f9dcab2b88a475aa8d7e5b466d322cf8a04b..391a5f52b52f52302d83aa24e11ae2a0669c7709 100644 (file)
@@ -2221,7 +2221,7 @@ build_indexed_byte (operand *op, int format ATTRIBUTE_UNUSED, int move_insn)
                  /* Must treat as a 16bit relocate as size of final result is unknown.  */
 
                  byte <<= 3;
-                 byte |= 0b11100010;
+                 byte |= 0xe2;
                  number_to_chars_bigendian (f, byte, 1);
                  fix_new (frag_now, f - frag_now->fr_literal, 2,
                           sym, off, 0, BFD_RELOC_M68HC12_16B);