From e7e57d02fb51dcb1e976f1a089de3113d9aac2ba Mon Sep 17 00:00:00 2001 From: Jan Beulich Date: Wed, 11 Aug 2021 08:29:39 +0200 Subject: [PATCH] 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. --- binutils/testsuite/lib/binutils-common.exp | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/binutils/testsuite/lib/binutils-common.exp b/binutils/testsuite/lib/binutils-common.exp index 0fb506cfd89..c98a65b89a1 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 -- 2.30.2