mirror of
https://sourceware.org/git/binutils-gdb.git
synced 2024-12-24 09:43:36 +08:00
f3012016f0
This compile-time test requires a target C compiler to run. It fails on many targets where ELF backend linkers fail to check undefined weak symbol in static PIE via UNDEFWEAK_NO_DYNAMIC_RELOC. PR ld/22269 * testsuite/ld-elf/pr22269-1.rd: New file. * testsuite/ld-elf/pr22269-1.c: Likewise. * testsuite/ld-elf/shared.exp: Run pr22269-1.
6 lines
92 B
R
6 lines
92 B
R
# NONE relocs are not needed in a PIE.
|
|
#failif
|
|
#...
|
|
[0-9a-f]+ +[0-9a-f]+ +R_.*_NONE.*
|
|
#pass
|