diff options
| author | H.J. Lu <hjl.tools@gmail.com> | 2024-12-18 07:24:38 +0800 |
|---|---|---|
| committer | H.J. Lu <hjl.tools@gmail.com> | 2024-12-22 13:15:43 +0800 |
| commit | 03feea74dc75397f7eff10a92a322d235a6c1751 (patch) | |
| tree | be382100801776188c66b19ddaa4b43b1e7d93c7 /include | |
| parent | d085db5b57c71c3ee2fbfc38a4f7e2158abeb1d4 (diff) | |
| download | glibc-03feea74dc75397f7eff10a92a322d235a6c1751.tar.xz glibc-03feea74dc75397f7eff10a92a322d235a6c1751.zip | |
elf: Compile test modules with -fsemantic-interposition
Compiler may default to -fno-semantic-interposition. But some elf test
modules must be compiled with -fsemantic-interposition to function properly.
Add a TEST_CC check for -fsemantic-interposition and use it on elf test
modules. This fixed
FAIL: elf/tst-dlclose-lazy
FAIL: elf/tst-pie1
FAIL: elf/tst-plt-rewrite1
FAIL: elf/unload4
when Clang 19 is used to test glibc.
Signed-off-by: H.J. Lu <hjl.tools@gmail.com>
Reviewed-by: Sam James <sam@gentoo.org>
Diffstat (limited to 'include')
0 files changed, 0 insertions, 0 deletions
