[PATCH, v2] [AArch64] Support AArch64 MTE memory tag dumps in core files
Fangrui Song
i@maskray.me
Sat Apr 23 21:50:37 GMT 2022
On 2022-04-23, Alan Modra via Binutils wrote:
>On Thu, Apr 21, 2022 at 04:18:41PM +0100, Luis Machado wrote:
>> v2:
>>
>> - Drop arch-specific fields from the generic section data structure.
>> - Use the rawsize field of the section structure to store the original
>> memory range of the memory-tagged area.
>> - Implement the bfd_elf_modify_headers for aarch64, to adjust the values
>> for the memory tag segment according to the Linux Kernel's format.
>
>This looks OK to me, except for defining PT_ARM_MEMTAG_MTE in
>elf/common.h. That belongs in elf/aarch64.h. BTW, why isn't the
>header called PT_AARCH64_MEMTAG_MTE? Using PT_ARM_ looks odd,
>considering that we already have PT_ARM_EXIDX at LOPROC+1.
Agree PT_LOPROC+1 is strange.
More information about the Binutils
mailing list