Re: Error message unrecognized opcode 'addl' in gcc-4.1.0 powerpc-eabi

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 




Yes. Its powerpc cross tool.
I traced out the problem in the application. These instructions are inline
asm from freebsd source with GNU C extension (__GNUC__) conditional
compilation flag. I could proceed by undefining the flag for that file.
Sorry!

Thanks.


Ian Lance Taylor-3 wrote:
> 
> "Jeffi Edward.J" <j.jeffi@xxxxxxxxxxx> writes:
> 
>> I'm using gcc-4.1.0 powerpc-eabi cross compiler.
>>
>> While compiling an application, the following error messages were issued
>>>From the assembler.
>>
>> /tmp/ccQ2aTtY.s:100:Error: Unrecognized opcode 'addl'
>> /tmp/ccQ2aTtY.s:110:Error: Unrecognized opcode 'adcl'
>> ....
>>
>> I checked the PowerPC instruction set manual and I couldn't find out
>> 'addl',
>> 'adcl' instructions.
>>
>> Does gcc generate wrong assembly code? Is this a bug in 4.1.0? What can
>> be
>> the cause?
> 
> Those look like x86 instructions.  Are you sure you have a
> powerpc-eabi cross-compiler?
> 
> Ian
> 
> 

-- 
View this message in context: http://old.nabble.com/Error-message-unrecognized-opcode-%27addl%27-in-gcc-4.1.0-powerpc-eabi-tp26321412p26420931.html
Sent from the gcc - Help mailing list archive at Nabble.com.


[Index of Archives]     [Linux C Programming]     [Linux Kernel]     [eCos]     [Fedora Development]     [Fedora Announce]     [Autoconf]     [The DWARVES Debugging Tools]     [Yosemite Campsites]     [Yosemite News]     [Linux GCC]

  Powered by Linux