[fpc-pascal] FPC_ARMEL system calls

Luca Olivetti luca at ventoso.org
Sun Jun 1 14:55:21 CEST 2008


En/na Luca Olivetti ha escrit:
> En/na Florian Klaempfl ha escrit:
> 
>>> The latter is the recent change to use the correct dynamic linker, 
>>> and the former to change the alignment of some structures (required 
>>> by the eabi specification).
>>
>> Indeed, i_linux sets e.g. the calling conventions to eabi and this is 
>> what the compiler/rtl check further one.
> 
> Definitely not my day today: I didn't notice the abi field.
> Sorry for wasting your time.

Well, I'll go on wasting it ;-)

grepping for abi_eabi I found that the different syscall convention is 
in rtl/linux/arm/syscall.inc, but it is conditioned to FPC_ABI_EABI, not 
to FPC_ARMEL, so in order to have a fully eabi compliant compiler should 
I use "-dFPC_ARMEL -dFPC_ABI_EABI"?

Bye
-- 
Luca




More information about the fpc-pascal mailing list