[PATCHv3] powerpc: ABI change - add HWCAP/HWCAP2/platform info to TCB

Carlos Eduardo Seo cseo@linux.vnet.ibm.com
Fri Oct 16 22:34:00 GMT 2015


> 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



More information about the Libc-alpha mailing list