[RTEMS Project] #4178: Resolve use of SUBALIGN in AArch64 under ILP32 multilib variant
RTEMS trac
trac at rtems.org
Mon Nov 16 16:38:21 UTC 2020
#4178: Resolve use of SUBALIGN in AArch64 under ILP32 multilib variant
---------------------------+--------------------
Reporter: Kinsey Moore | Owner: (none)
Type: task | Status: new
Priority: normal | Milestone:
Component: arch/aarch64 | Version:
Severity: normal | Keywords:
Blocked By: | Blocking:
---------------------------+--------------------
Currently, the AArch64 ILP32 multilib variant is functional, but requires
use of SUBALIGN to adjust the default alignment of the rtemsroset and
rtemsrwset from 8 bytes to 4 bytes to match the pointer size. Without this
alignment adjustment, execution of linker set based initializers on ILP32
results in a crash due to the 4 bytes above the aligned pointer being
treated as another initializer pointer.
Though this is currently functional, it would be best to understand why
this alignment change is required for AArch64 ILP32 when other
architectures such as SPARC don't require this change to be explicitly
made between their 32 and 64 bit variants.
--
Ticket URL: <http://devel.rtems.org/ticket/4178>
RTEMS Project <http://www.rtems.org/>
RTEMS Project
More information about the bugs
mailing list