diff options
author | Clément Chigot <chigot@adacore.com> | 2024-06-07 15:42:52 +0200 |
---|---|---|
committer | Clément Chigot <chigot@adacore.com> | 2024-06-10 09:02:08 +0200 |
commit | db335d7e0ad5d7422299e91e883bc87236a67f2f (patch) | |
tree | a3b35153c93406e7851d662cd12de1846664e07a /binutils | |
parent | 4186bc40b67728ed3f35fc65218ffedaa34f36df (diff) | |
download | gdb-db335d7e0ad5d7422299e91e883bc87236a67f2f.zip gdb-db335d7e0ad5d7422299e91e883bc87236a67f2f.tar.gz gdb-db335d7e0ad5d7422299e91e883bc87236a67f2f.tar.bz2 |
ld-aarch64: check support before launching dt_relr tests
Not all aarch64 targets supports dt_relr as this requires some
mechanisms on the OS side.
Adjust support_dt_relr helper and use it in aarch64-elf.exp.
Diffstat (limited to 'binutils')
-rw-r--r-- | binutils/testsuite/lib/binutils-common.exp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/binutils/testsuite/lib/binutils-common.exp b/binutils/testsuite/lib/binutils-common.exp index 2fca43b..bf291d7 100644 --- a/binutils/testsuite/lib/binutils-common.exp +++ b/binutils/testsuite/lib/binutils-common.exp @@ -472,7 +472,8 @@ proc supports_persistent_section {} { proc supports_dt_relr {} { if { ([istarget x86_64-*-*] || [istarget i?86-*-*] - || [istarget powerpc64*-*-*]) + || [istarget powerpc64*-*-*] + || [istarget aarch64*-*-*]) && ([istarget *-*-linux*] || [istarget *-*-gnu*]) } { return 1 |