2
0
mirror of git://sourceware.org/git/glibc.git synced 2024-12-03 04:01:43 +08:00
glibc/elf/ifuncmain9static.c
Florian Weimer cc3e573ce3 elf: Add tests with a local IFUNC resolver [BZ ]
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.
2019-02-28 11:52:44 +01:00

2 lines
24 B
C