V2 [PATCH] x86: Add tests for IFUNC resolver with CPU_FEATURE_USABLE

H.J. Lu hjl.tools@gmail.com
Fri Dec 25 03:25:13 GMT 2020


On Thu, Dec 24, 2020 at 3:02 PM H.J. Lu <hjl.tools@gmail.com> wrote:
>
> Add tests for IFUNC resolver using CPU_FEATURE_USABLE with and without
> lazy binding.

Update tests to properly check IFUNC resolver.

Florian, your patch failed:

FAIL: elf/tst-ifunc-platform-3-bindnow
FAIL: elf/tst-ifunc-platform-3-lazy

due to

[hjl@gnu-cfl-2 build-x86_64-linux]$ readelf -rW
elf/tst-ifunc-platform-mod-3.so | grep __x86_cpu_array
0000000000003fe0  0000000200000006 R_X86_64_GLOB_DAT
0000000000000000 __x86_cpu_array@GLIBC_2.33 + 0
[hjl@gnu-cfl-2 build-x86_64-linux]$ readelf -rW
elf/tst-ifunc-platform-3-lazy | grep __x86_cpu_array
0000000000406d80  0000003600000005 R_X86_64_COPY
0000000000406d80 __x86_cpu_array@GLIBC_2.33 + 0
[hjl@gnu-cfl-2 build-x86_64-linux]$


-- 
H.J.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-x86-Add-tests-for-IFUNC-resolver-with-CPU_FEATURE_US.patch
Type: text/x-patch
Size: 12413 bytes
Desc: not available
URL: <https://sourceware.org/pipermail/libc-alpha/attachments/20201224/6e2dec9c/attachment.bin>


More information about the Libc-alpha mailing list