[binutils-gdb] Don't run PR 34003 test if -z relro unsupported
Alan Modra via Binutils-cvs <[email protected]>
| Newsgroups | gmane.comp.gnu.binutils.cvs |
|---|---|
| Message-ID | <[email protected]> |
https://sourceware.org/git/gitweb.cgi?p=binutils-gdb.git;h=91416c3356e2f471f9427ea3a49d5c12d12c71dc commit 91416c3356e2f471f9427ea3a49d5c12d12c71dc Author: Alan Modra <[email protected]> Date: Thu Apr 2 22:55:38 2026 +1030 Don't run PR 34003 test if -z relro unsupported There are some x86 targets that don't support -z relro, eg. i386-lynxos and i686-nto. Diff: --- ld/testsuite/ld-elf/pr34003.d | 1 + 1 file changed, 1 insertion(+) diff --git a/ld/testsuite/ld-elf/pr34003.d b/ld/testsuite/ld-elf/pr34003.d index 9e04914e647..68026470fc5 100644 --- a/ld/testsuite/ld-elf/pr34003.d +++ b/ld/testsuite/ld-elf/pr34003.d @@ -2,6 +2,7 @@ #source: pr22393-1.s #ld: -shared -z separate-code -z relro --rosegment #readelf: -l --wide +#notarget: ![check_relro_support] #target: i?86-*-* x86_64-*-* #...