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 Wed, 2015-10-07 at 21:56 -0400, Carlos O'Donell wrote:
> However, it doesn't appear that __ppc_get_hwcap or __ppc_get_at_platform
> generate any references to __parse_hwcap_and_convert_at_platform? These
> two functions as added in the manual could be used by applications
> directly by including the platform header and calling those functions.
> Such applications would have no such references to __parse* and as such
> would not be protected by the dynamic loader library version checking.

Remind me again why we're exporting those?  I know the initial expected
usage had GCC's builtin_cpu_init() function calling those, but now that
you've changed things so that the TCB is initialized very early, do
we really need to export anything, other than the versioned symbol
__parse_hwcap_and_convert_at_platform?  Maybe we do and I'm just not
remembering.

Peter



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