This is the mail archive of the binutils@sourceware.org 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]

Re: [PATCH] m68hc11: Fix cygwin build fail.


Hi James,

Thanks for the patch. I checked it and applied it.

Thanks,
Sean


On 07/27/2012 05:58 AM, James Murray wrote:
Building for target m68hc11 fails on cygwin (1.7.16-1) due to a binary
number. Changing it to hex allows build and testsuite passes.

Please could someone review and apply.

gas/ChangeLog:
2012-07-27  James Murray  <jsm@jsm-net.demon.co.uk>

* config/tc-m68hc11.c: Replace binary with hex for cygwin.


--- src-old/gas/config/tc-m68hc11.c 2012-07-27 13:32:48.000000000 +0100
+++ src/gas/config/tc-m68hc11.c 2012-07-27 13:33:41.000000000 +0100
@@ -2221,7 +2221,7 @@
/* 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);


regards

James Murray



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