FreeBSD arm EABI5 documentation?

adr adr at SDF.ORG
Thu Jul 11 19:35:44 UTC 2019


> Sorry that I offended. I only contacted them because I ran into

Caaame ooon... I'm not offended. What's wrong these days, people don't
have sense of humor anymore?

> Oh, so it's not that netbsd and linux have different stack alignment
> requirements, it's just that you accidentally never called a function
> with an unaligned stack where the misalignment caused a problem.  There
> are only a few instructions that really require 64-bit data alignment
> when the strict alignment enforcement flag is off (it's off in all 3
> OSes we're talking about).  You could probably call most of the C
> library functions and luck out on the alignment.

That's the reason I was asking explicitly for FreeBSD calling conventions. 
Remember, the code I'm talking about is a forth implementation
(self-modifying code) and I use a lot of SDL2 functions for portability.
That's why I think this is more likely a clang vs gcc issue.

Anyway thanks to both of you for your interest, I've been here for a few 
days only and you have made me feel on home already.

Regards,
adr.


More information about the freebsd-arm mailing list