[fpc-pascal] fpc on Armel issues

Florian Klaempfl florian at freepascal.org
Tue Aug 25 14:26:08 CEST 2009


Nataraj S Narayan schrieb:
> Hi
> 
> Fpc compiled binary:-
> root at at91sam9263ek:~$ readelf -h firework
> ELF Header:
>   Magic:   7f 45 4c 46 01 01 01 00 00 00 00 00 00 00 00 00
>   Class:                             ELF32
>   Data:                              2's complement, little endian
>   Version:                           1 (current)
>   OS/ABI:                            UNIX - System V
>   ABI Version:                       0
>   Type:                              EXEC (Executable file)
>   Machine:                           ARM
>   Version:                           0x1
>   Entry point address:               0x8f1c
>   Start of program headers:          52 (bytes into file)
>   Start of section headers:          257344 (bytes into file)
>   Flags:                             0x5000002, has entry point, Version5 EABI
>   Size of this header:               52 (bytes)
>   Size of program headers:           32 (bytes)
>   Number of program headers:         6
>   Size of section headers:           40 (bytes)
>   Number of section headers:         34
>   Section header string table index: 31
> 
> Other Binary:-
> root at at91sam9263ek:~$ readelf -h formshow
> ELF Header:
>   Magic:   7f 45 4c 46 01 01 01 00 00 00 00 00 00 00 00 00
>   Class:                             ELF32
>   Data:                              2's complement, little endian
>   Version:                           1 (current)
>   OS/ABI:                            UNIX - System V
>   ABI Version:                       0
>   Type:                              EXEC (Executable file)
>   Machine:                           ARM
>   Version:                           0x1
>   Entry point address:               0xab64
>   Start of program headers:          52 (bytes into file)
>   Start of section headers:          21324 (bytes into file)
>   Flags:                             0x4000002, has entry point, Version4 EABI
>   Size of this header:               52 (bytes)
>   Size of program headers:           32 (bytes)
>   Number of program headers:         8
>   Size of section headers:           40 (bytes)
>   Number of section headers:         37
>   Section header string table index: 34
> 
> Could it be that arm-linux is not ready for Version5 EABI?

Possible, but the eabi version is written by the binutils you used.



More information about the fpc-pascal mailing list