Error message unrecognized opcode 'addl' in gcc-4.1.0 powerpc-eabi
Ian Lance Taylor
iant@google.com
Tue Nov 17 00:02:00 GMT 2009
"Jeffi Edward.J" <j.jeffi@yahoo.co.in> 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
More information about the Gcc-help
mailing list