aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJan Beulich <jbeulich@suse.com>2021-08-11 08:29:39 +0200
committerJan Beulich <jbeulich@suse.com>2021-08-11 08:29:39 +0200
commite7e57d02fb51dcb1e976f1a089de3113d9aac2ba (patch)
treef230fddc7dcaac4fea05e3e31a483bc9a301355c
parent2ad55ffca1bb4b75cbdd1402868d5e0ef2b57af6 (diff)
downloadfsf-binutils-gdb-e7e57d02fb51dcb1e976f1a089de3113d9aac2ba.zip
fsf-binutils-gdb-e7e57d02fb51dcb1e976f1a089de3113d9aac2ba.tar.gz
fsf-binutils-gdb-e7e57d02fb51dcb1e976f1a089de3113d9aac2ba.tar.bz2
x86: have non-PE/COFF BEOS be recognized as ELF
BEOS, unless explicitly requesting *-*-beospe* targets, uses standard ELF. None of the newly enabled tests in the testsuite fail for me.
-rw-r--r--binutils/testsuite/lib/binutils-common.exp5
1 files changed, 5 insertions, 0 deletions
diff --git a/binutils/testsuite/lib/binutils-common.exp b/binutils/testsuite/lib/binutils-common.exp
index 0fb506c..c98a65b 100644
--- a/binutils/testsuite/lib/binutils-common.exp
+++ b/binutils/testsuite/lib/binutils-common.exp
@@ -54,10 +54,15 @@ proc is_elf_format {} {
&& ![istarget *-*-wasm32*]
&& ![istarget avr-*-*]
&& ![istarget hppa*64*-*-hpux*]
+ && ![istarget i?86-*-beos*]
&& ![istarget ia64-*-hpux*] } {
return 0
}
+ if { [istarget i?86-*-beospe*] } {
+ return 0
+ }
+
if { [istarget *-*-linux*ecoff*]
|| [istarget *-*-rtemscoff*] } {
return 0