https://sourceware.org/bugzilla/show_bug.cgi?id=19311

--- Comment #5 from Nick Clifton <nickc at redhat dot com> ---
Hi Loria,

> I do encounter the same while trying to build a toolchain on OSX 10.10.5 and 
> Xcode 7.2
> binutils-2.25.1

> libc-start.s: Assembler messages:
> libc-start.s:70: Error: invalid constant (af) after fixup
> libc-start.s:145: Error: invalid constant (ff) after fixup

I am unable to reproduce these failures.  The test case you uploaded assembles
without any problems on my machine (an x86_64 Linux box).  I tried using the
current mainline binutils sources as well as the 2.25 branch sources, and I
tried using a 64-bit cross-assembler and a 32-bit cross-assembler.  They all
worked.

It seems to me that this might be a problem with the compiler used to build the
assembler.  If that compiler mis-compiles the assembler then that might explain
this discrepancy.

You may be able to investigate the problem yourself.  The error message comes
from gas/config/tc-arm.c:md_apply_fix().  Although I suspect that the problem
actually lies in the arm_encode_immediate() function.  If you investigate these
you may discover the cause of the bug.

Cheers
  Nick

-- 
You are receiving this mail because:
You are on the CC list for the bug.
_______________________________________________
bug-binutils mailing list
bug-binutils@gnu.org
https://lists.gnu.org/mailman/listinfo/bug-binutils

Reply via email to