mirror of
git://sourceware.org/git/glibc.git
synced 2024-12-21 04:31:04 +08:00
cc3e573ce3
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.
2 lines
24 B
C
2 lines
24 B
C
#include "ifuncmain9.c"
|