aboutsummaryrefslogtreecommitdiff
path: root/ld
diff options
context:
space:
mode:
authorAlan Modra <amodra@gmail.com>2022-05-07 13:36:15 +0930
committerAlan Modra <amodra@gmail.com>2022-05-07 15:15:20 +0930
commit5a91f93b983184c64b3a9332f5f4339d17941d76 (patch)
treef700971bf5776e270e3b3f21237366d87ca9eb7f /ld
parent29b5074f3abe0024c0888907333bcf5c2122f0b6 (diff)
downloadgdb-5a91f93b983184c64b3a9332f5f4339d17941d76.zip
gdb-5a91f93b983184c64b3a9332f5f4339d17941d76.tar.gz
gdb-5a91f93b983184c64b3a9332f5f4339d17941d76.tar.bz2
Re: Fix new linker testsuite failures due to rwx segment test problems
Fix it some more. bfd/ * elfnn-loongarch.c: Remove commented out elf_backend_* defines. ld/ * testsuite/ld-elf/elf.exp (target_defaults_to_execstack): Match arm*. Delete loongarch.
Diffstat (limited to 'ld')
-rw-r--r--ld/testsuite/ld-elf/elf.exp3
1 files changed, 1 insertions, 2 deletions
diff --git a/ld/testsuite/ld-elf/elf.exp b/ld/testsuite/ld-elf/elf.exp
index 6d51d12..ebb5ba0 100644
--- a/ld/testsuite/ld-elf/elf.exp
+++ b/ld/testsuite/ld-elf/elf.exp
@@ -182,11 +182,10 @@ if { [check_gc_sections_available] && ![istarget "v850-*-*"] } {
proc target_defaults_to_execstack {} {
if { [istarget "aarch64*-*-*"]
- || [istarget "arm-*-*"]
+ || [istarget "arm*-*-*"]
|| [istarget "*-*-nacl"]
|| [istarget "arc*-*-*"]
|| [istarget "ia64*-*-*"]
- || [istarget "loongarch*-*-*"]
|| [istarget "nios2*-*-*"]
|| [istarget "powerpc64*-*-*"]
|| [istarget "riscv*-*-*"]