[Bug 1967] Concern over OBJECTS_NAME_ALIGNMENT

bugzilla-daemon at rtems.org bugzilla-daemon at rtems.org
Thu Nov 24 01:41:55 UTC 2011


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

--- Comment #2 from Gedare <gedare at rtems.org> 2011-11-23 19:41:54 CST ---
My guess would be sizeof(Objects_Name) is safest to do here. Another idea is to
rely on the CPU to provide an alignment, like to pass through CPU_ALIGNMENT or
something. I haven't looked closely at how the OBJECTS_NAME_ALIGNMENT is used
to understand what the requirement is, just that this macro is probably broken
if the worst-case alignment is 8 bytes.

-- 
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