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: RFC: Automatically test IFUNC implementations


On Wed, Sep 26, 2012 at 10:43 AM, H.J. Lu <hjl.tools@gmail.com> wrote:
> On Wed, Sep 26, 2012 at 10:17 AM, Richard Henderson <rth@twiddle.net> wrote:
>> On 09/26/2012 10:11 AM, H.J. Lu wrote:
>>> It is hard to avoid malloc since __libc_func is called from test_init.
>>> I will first convert it to this.
>>
>> Statically allocated array (or even statically sized malloc) in test_init?
>> If __libc_func indicates overflow, print an error?  It should be fairly
>> easy to set this at, say, 32 and have that suffice for all calls.
>>
>
> This should work.  I will update hjl/ifunc/test branch in the next few days.
>
> Other feedbacks?
>

I updated hjl/ifunc/test branch to avoid relocations to return IFUNC list.
I am enclosing the framework and i686/x86-64 patches here.

-- 
H.J.

Attachment: 0001-Framework-to-test-IFUNC-implementations-on-target.patch
Description: Binary data

Attachment: 0002-Add-i686-multiarch-__libc_func.patch
Description: Binary data

Attachment: 0003-Add-x86_64-multiarch-__libc_func.patch
Description: Binary data


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