Don't run PR 34003 test if -z relro unsupported

Message ID ac5wRqAbg2EPm_j8@squeak.grove.modra.org
State New
Headers
Series Don't run PR 34003 test if -z relro unsupported |

Checks

Context Check Description
linaro-tcwg-bot/tcwg_binutils_build--master-arm fail Patch failed to apply
linaro-tcwg-bot/tcwg_binutils_build--master-aarch64 fail Patch failed to apply

Commit Message

Alan Modra April 2, 2026, 1:33 p.m. UTC
  There are some x86 targets that don't support -z relro, eg. i386-lynxos
and i686-nto.
  

Patch

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-*-*
 
 #...