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: [PATCHv3] powerpc: ABI change - add HWCAP/HWCAP2/platform info to TCB


> On Oct 7, 2015, at 10:56 PM, Carlos O'Donell <carlos@redhat.com> wrote:
> 
> (c) libc-start.c handling of AT_*
> 
> This seems like your double processing these entries here and in _dl_aux_init?
> Could you please verify this?
> 

Hi Carlos

Sorry… forgot to answer about this.

In the static case, processing of the auxiliary vector occurs in generic_start_main (). However, the earliest I can add my initialization function in the arch-specific code is at powerpc’s __libc_start_main () in sysdeps/unix/sysv/linux/powerpc/libc-start.c. That runs before the auxv initialization, therefore I need to add handling of AT_HWCAP, AT_HWCAP2 and AT_PLATFORM at that point.

Regards,

-- 
Carlos Eduardo Seo
Software Engineer - Linux on Power Toolchain
cseo@linux.vnet.ibm.com


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