[fpc-pascal] ppc64le ABI problem
Florian Klaempfl
florian at freepascal.org
Mon Aug 26 20:54:03 CEST 2019
Am 26.08.2019 um 20:52 schrieb Jonas Maebe:
> 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
Yes, I checked the docs as well :) I don't know though why it is only 32
for elf_abi_v2 ...
More information about the fpc-pascal
mailing list