[PATCH] ppc64: Add HTM SPRs support to readelf

Gustavo Romero gromero@linux.vnet.ibm.com
Mon Jul 24 14:54:00 GMT 2017

Hi Mark,

On 21-07-2017 16:55, Mark Wielaard wrote:
> On Thu, 2017-07-20 at 17:49 -0400, Gustavo Romero wrote:
>> Since POWER8, PowerPC 64 supports Hardware Transactional Memory, which has
>> three special purpose registers associated to it: tfhar, tfiar, and texasr.
>> This commit add HTM SPRs set as known note type so it's possible to use
>> 'readelf --notes' to inspect the HTM SPRs in a coredump file generated in
>> such a machines.
> This patch looks perfect, thanks.

Thanks for reviewing it!

> We normally keep elf.h in sync with glibc.
> Could you submit this elf.h change to libc-alpha@sourceware.org?
> Then we resync elf.h from glibc to pull in the new constants.

It looks like glibc community won't review / push that change as it is in
freeze for glibc 2.26 cut right now accordingly to [1].

If my understanding is correct, it's a blocker or my change can be pushed
to elfutils and once glibc is open again (in about a week) I can submit
this elf.h change to libc-alpha@sourceware.org?

Thank you and best regards,

[1] https://sourceware.org/ml/libc-alpha/2017-07/msg00018.htm

More information about the Elfutils-devel mailing list