]> git.ipfire.org Git - thirdparty/glibc.git/commit
elf: Add tests with a local IFUNC resolver [BZ #23937]
authorFlorian Weimer <fweimer@redhat.com>
Thu, 28 Feb 2019 10:52:44 +0000 (11:52 +0100)
committerFlorian Weimer <fweimer@redhat.com>
Thu, 28 Feb 2019 10:52:44 +0000 (11:52 +0100)
commitcc3e573ce3a542ea6d3711311e41f66261747a0e
treee79cc120df14b8f345f1c5c32db5a9ee1c8715b3
parent92ad88fe72194ccb72a5f34fa3c76078bfc89400
elf: Add tests with a local IFUNC resolver [BZ #23937]

The existing tests all use global symbols (but with different
visibility).  Local symbols could be treated differently by the
compiler and linker (as was the case on POWER ELFv2, causing
bug 23937), and we did not have test coverage for this.

Tested on x86-64 and POWER ELFv2 little-endian, with and without
--disable-multi-arch.  On POWER, the test cases elf/ifuncmain9,
elf/ifuncmain9pic, elf/ifuncmain9pie reproduce bug 23937 with older
binutils.
ChangeLog
elf/Makefile
elf/ifuncmain9.c [new file with mode: 0644]
elf/ifuncmain9pic.c [new file with mode: 0644]
elf/ifuncmain9picstatic.c [new file with mode: 0644]
elf/ifuncmain9pie.c [new file with mode: 0644]
elf/ifuncmain9static.c [new file with mode: 0644]