Date: Wed, 10 Jul 2019 09:41:19 -0600 From: Ian Lepore <ian@freebsd.org> To: adr <adr@SDF.ORG>, freebsd-arm@freebsd.org Subject: Re: FreeBSD arm EABI5 documentation? Message-ID: <f2967859f68f1d40f260661791126956f48f4d12.camel@freebsd.org> In-Reply-To: <alpine.NEB.2.21.1907101508370.22895@sdf.lonestar.org> References: <alpine.NEB.2.21.1907101508370.22895@sdf.lonestar.org>
next in thread | previous in thread | raw e-mail | index | archive | help
On Wed, 2019-07-10 at 15:19 +0000, adr wrote: > Hello, > > I'm having problems porting an assembly project to freebsd. > I suspect the key is in the C stack alignment (8 bytes?) > when arguments are passed by the stack to c functions. > > Before messing all up I would appreciate some pointing to > documentation. > > By the way, I installed gcc8 and after a reboot, ports I've compiled > starting complaining about ld unable to link to non PIC code. It is > like > ldconfig get screwed after installing gcc... > > Please forgive me if I sound completely out of place. In fact, I am. > > Regards, > adr. > Stack alignment requirement is 8 bytes. The full EABI spec is here: https://static.docs.arm.com/ihi0042/g/aapcs32.pdf I can't help with the gcc thing, I've only used clang from base for compiling proprietary code. -- Ian
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?f2967859f68f1d40f260661791126956f48f4d12.camel>