From: Nick Clifton Date: Mon, 30 Jul 2012 16:11:02 +0000 (+0000) Subject: * config/tc-m68hc11.c (build_indexed_byte): Replace use of binary X-Git-Tag: binutils-2_23~135 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=ff9ee69c1e41093c4176b6cb60afd8270c5e68a4;p=thirdparty%2Fbinutils-gdb.git * config/tc-m68hc11.c (build_indexed_byte): Replace use of binary constant with hex for building on cygwin. --- diff --git a/gas/ChangeLog b/gas/ChangeLog index 4418b7bba2f..8213ae273c9 100644 --- a/gas/ChangeLog +++ b/gas/ChangeLog @@ -1,3 +1,8 @@ +2012-07-20 James Murray + + * config/tc-m68hc11.c (build_indexed_byte): Replace use of binary + constant with hex for building on cygwin. + 2012-07-30 Nick Clifton * po/gas.pot: Updated template. diff --git a/gas/config/tc-m68hc11.c b/gas/config/tc-m68hc11.c index 6211f9dcab2..391a5f52b52 100644 --- a/gas/config/tc-m68hc11.c +++ b/gas/config/tc-m68hc11.c @@ -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);