[PATCH 2/2] Add an x86 IFUNC testcase for [BZ #20019]

H.J. Lu hjl.tools@gmail.com
Wed Oct 5 18:16:00 GMT 2016


On Tue, Oct 4, 2016 at 5:09 PM, Joseph Myers <joseph@codesourcery.com> wrote:
> On Wed, 5 Oct 2016, H.J. Lu wrote:
>
>> I can try __builtin_memcpy, instread of __builtin_memmove.   There are 2

I changed it to use __builtin_memset.

>> acceptable results.  One is ld.so issues an error and the other is program runs.
>> On x86, ld.so issues an error.  I don't know what should happen on others.
>
> You could make the test pass on either of those results (while failing if
> ld.so crashes).
>

I moved the test to elf.  It passes if the test runs or ld.so issues an
error.  Please try it on arm, powerpc and s390.

-- 
H.J.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-Add-an-IFUNC-testcase-for-BZ-20019.patch
Type: text/x-patch
Size: 7631 bytes
Desc: not available
URL: <http://sourceware.org/pipermail/libc-alpha/attachments/20161005/97f53328/attachment.bin>


More information about the Libc-alpha mailing list