This is the mail archive of the gcc-help@gcc.gnu.org mailing list for the GCC 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: Error message unrecognized opcode 'addl' in gcc-4.1.0 powerpc-eabi


"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


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