This is the mail archive of the
libc-alpha@sourceware.org
mailing list for the glibc project.
Re: [PATCH] elf/elf.h: Add NT_PPC_TM_SPR
- From: Andreas Schwab <schwab at suse dot de>
- To: Gustavo Romero <gromero at linux dot vnet dot ibm dot com>
- Cc: libc-alpha at sourceware dot org
- Date: Wed, 02 Aug 2017 17:09:09 +0200
- Subject: Re: [PATCH] elf/elf.h: Add NT_PPC_TM_SPR
- Authentication-results: sourceware.org; auth=none
- References: <1500928945-32220-1-git-send-email-gromero@linux.vnet.ibm.com>
On Jul 24 2017, Gustavo Romero <gromero@linux.vnet.ibm.com> wrote:
> diff --git a/elf/elf.h b/elf/elf.h
> index 3900b4c..433f310 100644
> --- a/elf/elf.h
> +++ b/elf/elf.h
> @@ -763,6 +763,7 @@ typedef struct
> #define NT_PPC_SPE 0x101 /* PowerPC SPE/EVR registers */
> #define NT_PPC_VSX 0x102 /* PowerPC VSX registers */
> #define NT_386_TLS 0x200 /* i386 TLS slots (struct user_desc) */
> +#define NT_PPC_TM_SPR 0x10c /* PowerPC HW Transactional Memory SPRs */
It doesn't make sense to add this symbol without adding the other ones
too. Also, keep the list sorted.
Andreas.
--
Andreas Schwab, SUSE Labs, schwab@suse.de
GPG Key fingerprint = 0196 BAD8 1CE9 1970 F4BE 1748 E4D4 88E3 0EEA B9D7
"And now for something completely different."