[Bug 1956] Fix CPU_STACK_ALIGNMENT

bugzilla-daemon at rtems.org bugzilla-daemon at rtems.org
Wed Nov 9 10:34:57 UTC 2011


https://www.rtems.org/bugzilla/show_bug.cgi?id=1956

--- Comment #5 from Sebastian Huber <sebastian.huber at embedded-brains.de> 2011-11-09 04:34:57 CST ---
(In reply to comment #4)
> Unfortunately, there is no proper ABI standard document for LM32. But we
> (Michael, Werner and I) think that it should work with alignment = 4
> everywhere.

Yes.

> The LM32 architecture manual simply states: "All memory accesses must be
> aligned to the size of the access", and there is no hardware support whatsoever
> for 64-bit numbers. I would find it surprising if parts of the ABI had
> alignment requirements of more than 32-bit.

What about adding this comment to the cpu.h file?  You may also mention the
manual name and revision and the section of this quotation.

-- 
Configure bugmail: https://www.rtems.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are watching all bug changes.



More information about the bugs mailing list