[fpc-pascal] ppc64le ABI problem
Jonas Maebe
jonas at freepascal.org
Mon Aug 26 20:52:21 CEST 2019
On 26/08/2019 14:22, Florian Klämpfl wrote:
> Am 26. August 2019 14:08:39 schrieb Sven Barth via fpc-pascal <fpc-pascal at lists.freepascal.org>:
>
>> Florian Klämpfl <florian at freepascal.org> schrieb am Mo., 26. Aug. 2019,
>> 14:01:
>>
>>> Try to change the 48 in fpc/compiler/powerpc64/cpupara.pas line to 32 as a
>>> temporary test.
>>
>> Line 302 in case anyone is wondering (thankfully that's the only "48" in
>> that fike (plus its preceeding comment) ^^')
>
> Indeed :-) If it works, it must be made dependent on the target ABI.
It's indeed like that, see section 2.2.2 of
https://openpowerfoundation.org/wp-content/uploads/2016/03/ABI64BitOpenPOWERv1.1_16July2015_pub4.pdf
Jonas
More information about the fpc-pascal
mailing list