This is the mail archive of the
libc-alpha@sourceware.org
mailing list for the glibc project.
Re: RFC: Automatically test IFUNC implementations
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?
Thanks.
--
H.J.