Fwd: mips 16 bit compilation lead to crash

David Daney ddaney@caviumnetworks.com
Mon Aug 17 16:21:00 GMT 2009


The proper forum for this question is binutils@sourceware.org (now CCed).

keshav yadav wrote:
> ---------- Forwarded message ----------
> From: keshav yadav <keshav.yadav2005@gmail.com>
> Date: Sun, Aug 16, 2009 at 7:20 PM
> Subject: mips 16 bit compilation lead to crash
> To: gcc-help@gcc.gnu.org, gcc-help@gnu.org
> 
> 
> Hi all,
> 
> I want to use MIPS 16 bit instruction similar to ARM thumb mode. But i
> am getting error
> 
> #mips-gcc   -mips16   -o test.o test.c
> 
> /tmp/ccJFGlL0.s: Assembler messages:
> /tmp/ccJFGlL0.s:17: Internal error!
> Assertion failure in macro_build_lui at ../../gas/config/tc-mips.c line 3142
> 
> 1. Is there problem in toolchain i have made ?
> 2. is i am giving 16 bit option to gcc correctly.
> 

Your report is lacking important information:

1) Which versions of the tools are you using.

2) A self contained test case.  (The contents of test.c).

Because of those deficiencies, it is impossible to answer your questions.

David Daney



More information about the Binutils mailing list