This is the mail archive of the libc-alpha@sourceware.org mailing list for the glibc project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [PATCH] powerpc: Only enable TLE with PPC_FEATURE2_HTM_NOSC



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



Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]