diff options
author | Florian Weimer <fweimer@redhat.com> | 2019-02-28 11:52:44 +0100 |
---|---|---|
committer | Florian Weimer <fweimer@redhat.com> | 2019-02-28 11:52:44 +0100 |
commit | cc3e573ce3a542ea6d3711311e41f66261747a0e (patch) | |
tree | e79cc120df14b8f345f1c5c32db5a9ee1c8715b3 /ChangeLog | |
parent | 92ad88fe72194ccb72a5f34fa3c76078bfc89400 (diff) | |
download | glibc-cc3e573ce3a542ea6d3711311e41f66261747a0e.zip glibc-cc3e573ce3a542ea6d3711311e41f66261747a0e.tar.gz glibc-cc3e573ce3a542ea6d3711311e41f66261747a0e.tar.bz2 |
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.
Diffstat (limited to 'ChangeLog')
-rw-r--r-- | ChangeLog | 19 |
1 files changed, 19 insertions, 0 deletions
@@ -1,3 +1,22 @@ +2019-02-28 Florian Weimer <fweimer@redhat.com> + + [BZ #23937] + elf: Add test with a local IFUNC resolver. + * elf/ifuncmain9.c: New file. + * elf/ifuncmain9pic.c: Likewise. + * elf/ifuncmain9picstatic.c: Likewise. + * elf/ifuncmain9pie.c: Likewise. + * elf/ifuncmain9static.c: Likewise. + * elf/Makefile [multi-arch] (tests-ifuncstatic): Add + ifuncmain9static, ifuncmain9picstatic. + * elf/Makefile [multi-arch && build-shared] (tests-internal): + Add ifuncmain9, ifuncmain9pic. + * elf/Makefile [multi-arch && build-shared && have-fpie] + (ifunc-pie-tests): Add ifuncmain9pie. + (CFLAGS-ifuncmain9pic.c): Add $(pic-ccflag). + (CFLAGS-ifuncmain9picstatic.c): Likewise. + (CFLAGS-ifuncmain9pie.c): Add $(pie-ccflag). + 2019-02-27 H.J. Lu <hongjiu.lu@intel.com> * configure.ac (have-ifunc): New LIBC_CONFIG_VAR. |