[PATCH v1 1/7] rtembsd: Fix alignment of allocations for 64bit

Kinsey Moore kinsey.moore at oarcorp.com
Tue Mar 9 02:29:25 UTC 2021


Thus far, GCC has been just fine other than violating some behavioral expectations that
were never guaranteed (the linker sets patches). Newlib has some ILP32 issues that need
to be addressed. I've gotten a patch into the upstream ARM optimized routines that will
eventually make it into Newlib and fix those issues. There's possibly another issue with
the "dc zva" instruction that may also be solved by enabling the MMU.

Kinsey

-----Original Message-----
From: Chris Johns <chrisj at rtems.org> 
Sent: Monday, March 8, 2021 20:23
To: Kinsey Moore <kinsey.moore at oarcorp.com>; devel at rtems.org
Subject: Re: [PATCH v1 1/7] rtembsd: Fix alignment of allocations for 64bit

On 9/3/21 1:21 pm, Kinsey Moore wrote:
> The patch to the if_cgem driver is actually a modified (to LibBSD style) backport of the
> 64bit cgem patch that's in 13. FreeBSD doesn't appear to care about ILP32 and that is
> the majority of functional difference between the upstream and what is being applied
> here.

Thanks for the explanation. I hope this is not common and tools like gcc etc are
more supportive of ILP32.

Chris


More information about the devel mailing list