[fpc-devel] arm embedded cortexM3 unrecognized opcode

Jeppe Johansen jepjoh2 at kom.aau.dk
Wed Jul 14 13:11:38 CEST 2010


Could it be because FPC uses OABI per default? :) Try recompiling fpc 
and your application for EABI. I'm not an expert on ABI's, though as far 
as I understand, it's merely a definition of how userland applications 
should call Linux kernel functions

Nataraj S Narayan skrev:
> Hi
>
> May I ask why do we need a CONFIG_OABI_COMPAT=y in the kernel to for 
> fpc to work on arm-linux?
>
> regards
>
> Nataraj
>
> On Wed, Jul 14, 2010 at 3:42 PM, Jeppe Johansen <jepjoh2 at kom.aau.dk 
> <mailto:jepjoh2 at kom.aau.dk>> wrote:
>
>     Well, this is off topic, but ARM is quite a bit backwards
>     compatible. All ARM versions are backwards compatible(if we ignore
>     thumb, which fpc doesn't support anyway) :)
>
>     Geoffrey Barton skrev:
>
>
>         On 14 Jul 2010, at 10:49, Bernd Mueller wrote:
>
>             Michael Schnell wrote:
>
>                 On 07/14/2010 11:02 AM, Bernd Mueller wrote:
>
>                     ... which could easily be done in gcc btw. ...
>
>                 I'm quite sure that FPC's ASM can compile hex
>                 constants (using "DC" ???)
>
>
>             that is not the point. You don't wont to bother with
>             (error prone) hex constants, but want to use the regular
>             assembler mnemonics.
>
>
>         quite right! especially with a processor like the ARM, where
>         it keeps, er.., improving its instruction set between each
>         generation of hardware!
>
>         rgds,
>         Geoffrey
>
>
>
>             Regards, Bernd.
>
>
>             _______________________________________________
>             fpc-devel maillist  -  fpc-devel at lists.freepascal.org
>             <mailto:fpc-devel at lists.freepascal.org>
>             http://lists.freepascal.org/mailman/listinfo/fpc-devel
>
>
>         _______________________________________________
>         fpc-devel maillist  -  fpc-devel at lists.freepascal.org
>         <mailto:fpc-devel at lists.freepascal.org>
>         http://lists.freepascal.org/mailman/listinfo/fpc-devel
>
>
>     _______________________________________________
>     fpc-devel maillist  -  fpc-devel at lists.freepascal.org
>     <mailto:fpc-devel at lists.freepascal.org>
>     http://lists.freepascal.org/mailman/listinfo/fpc-devel
>
>
> ------------------------------------------------------------------------
>
> _______________________________________________
> fpc-devel maillist  -  fpc-devel at lists.freepascal.org
> http://lists.freepascal.org/mailman/listinfo/fpc-devel
>   




More information about the fpc-devel mailing list