mirror of
https://sourceware.org/git/glibc.git
synced 2024-11-30 00:31:08 +00: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"
|