RTEMS | cpukit/include/rtems/score: Use uintptr_t for TLS DTV generation_number (!1082)
Wayne Thornton (@wmthornton-dev)
gitlab at rtems.org
Fri May 22 13:36:13 UTC 2026
Wayne Thornton commented on a discussion on cpukit/include/rtems/score/tls.h: https://gitlab.rtems.org/rtems/rtos/rtems/-/merge_requests/1082#note_150801
>
> typedef struct {
> /*
> - * FIXME: Not sure if the generation number type is correct for all
I agree with Samuel's explanation here. Using `uintptr_t` correctly aligns the DTV `generation_number` with the native machine word size for the target architecture, which directly resolves the concern in the original `FIXME`. An updated commit message capturing this ABI alignment will be perfect. In my view, it's good to go once that's updated."
--
View it on GitLab: https://gitlab.rtems.org/rtems/rtos/rtems/-/merge_requests/1082#note_150801
You're receiving this email because of your account on gitlab.rtems.org.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.rtems.org/pipermail/bugs/attachments/20260522/eebb37c7/attachment.htm>
More information about the bugs
mailing list