Hi Jonas, fantastic, that looks great. I think now I can just wait until Pierre Muller's snapshot is updated :=)
Cheers, Tobias ---- On Mon, 26 Aug 2019 21:42:37 +0200 Jonas Maebe <jo...@freepascal.org> wrote: > On 26/08/2019 20:56, Jonas Maebe wrote: > > On 26/08/2019 20:54, Florian Klaempfl wrote: > >> 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@lists.freepascal.org>: > >>>> > >>>>> Florian Klämpfl <flor...@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 ... > > > > It's because the other ABIs also provide space for a compiler and > > linker-specific slot: > > https://refspecs.linuxfoundation.org/ELF/ppc64/PPC-elf64abi-1.9.html#STACK > > I've submitted the fix. > > > Jonas > _______________________________________________ > fpc-pascal maillist - fpc-pascal@lists.freepascal.org > https://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-pascal Kind Regards, Tobias Giesen Super Flexible Software GmbH & Co. KG Buddenstr. 29-31 48143 Münster, Germany www.superflexible.com www.tgtools.com ----------------------------------------------------------- Registered at register court Münster as HRA 9716 Liability / general partner: TGTools GmbH Registered at register court Münster as HRB 17763 Directors: Tobias Giesen and Claudia Giesen _______________________________________________ fpc-pascal maillist - fpc-pascal@lists.freepascal.org https://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-pascal