This is the mail archive of the
libc-alpha@sourceware.org
mailing list for the glibc project.
Re: [PATCH] powerpc: Only enable TLE with PPC_FEATURE2_HTM_NOSC
- From: Carlos Eduardo Seo <cseo at linux dot vnet dot ibm dot com>
- To: Tulio Magno Quites Machado Filho <tuliom at ascii dot art dot br>, Adhemerval Zanella <adhemerval dot zanella at linaro dot org>, <libc-alpha at sourceware dot org>
- Cc: Breno Leitao <leitao at debian dot org>
- Date: Wed, 29 Aug 2018 15:45:59 -0600
- Subject: Re: [PATCH] powerpc: Only enable TLE with PPC_FEATURE2_HTM_NOSC
- References: <1535403247-27306-1-git-send-email-adhemerval.zanella@linaro.org> <87mut7bfb9.fsf@linux.ibm.com>
On 8/27/18, 4:44 PM, "Tulio Magno Quites Machado Filho" <libc-alpha-owner@sourceware.org on behalf of tuliom@ascii.art.br> wrote:
Adhemerval Zanella <adhemerval.zanella@linaro.org> writes:
> diff --git a/sysdeps/powerpc/nptl/tls.h b/sysdeps/powerpc/nptl/tls.h
> index f88fed5..8db970d 100644
> --- a/sysdeps/powerpc/nptl/tls.h
> +++ b/sysdeps/powerpc/nptl/tls.h
> @@ -67,8 +67,7 @@ typedef struct
> uint32_t padding;
> uint32_t at_platform;
> #endif
> - /* Indicate if HTM capable (ISA 2.07). */
> - uint32_t tm_capable;
> + uint32_t __unused1;
Is the TCB part of the library ABI?
Not this field, but if you remove it, you will mess with the tcb symbol offsets, and gcc's __builtin_cpu_is/supports rely on the hwcap and at_platform fields here, IIRC.
--
Carlos Eduardo Seo