Skip to content

Conversation

@jrtc27
Copy link
Contributor

@jrtc27 jrtc27 commented Jan 8, 2026

PT_AARCH64_MEMTAG_CHERI has been used by GDB and CheriBSD for several
years at this point, after discussion with Arm and Linaro, but was never
officially documented. Thankfully it appears that nothing has taken this
value in the meantime.

No Morello-specific dynamic tags exist.

PT_AARCH64_MEMTAG_CHERI has been used by GDB and CheriBSD for several
years at this point, after discussion with Arm and Linaro, but was never
officially documented. Thankfully it appears that nothing has taken this
value in the meantime.

No Morello-specific dynamic tags exist.
Copy link

@bsdjhb bsdjhb left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Not sure if it is worth documenting other fields such as the role of p_align (tag stride) and p_memsz vs p_filesz. This follows the same conventions used for the similar segment for MTE tags, just that it uses 1 packed bit per 16 bytes of address space rather than 4 packed bits.

@jrtc27
Copy link
Contributor Author

jrtc27 commented Jan 8, 2026

For MTE it just references the Linux kernel's documentation. I didn't go into too much detail here in part because I didn't want to claim anything that wasn't true, but anything that deviates from what's "normal" (e.g. not like p_vaddr/p_memsz which are what you'd expect) would be worth adding.

Copy link
Contributor

@smithp35 smithp35 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM too. I'll merge at the end of the week to leave some time for further comments.

@smithp35 smithp35 merged commit a78fa26 into ARM-software:main Jan 9, 2026
1 check passed
@jrtc27 jrtc27 deleted the aaelf64-morello-pt-dt-gabi branch January 9, 2026 19:20
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants