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 10/08/2015 11:24 AM, Steven Munroe wrote:
>>> (c) Avoid custom dl-support.c
>>>
>>> Are you sure you can't avoid this? Can we add AT_PLATFORM directly to the
>>> case statement used in _dl_aux_init?
>>
>> I suppose we could. Iâll see if that doesnât break anything.
>>
> Carlos we keep going around on this. When we do what you suggest it
> stops working for static or dynamic linking.
> 
> We have to do something like this to get both static and dynamic linking
> to work (ie get the TCB fields initialized before we run the library
> init and C++ CTORs).

My suggestion is not to remove it, but to move it into generic code
to avoid a POWER-specific change. We should be handling AT_PLATFORM
copying in a generic way, that way it enables it for all arches, and
POWER doesn't have to maintain a local machine change.

I've spoken to Carlos a bit on IRC about this, and I think we have
consensus on how to fix this.

Cheers,
Carlos.


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