x86: have non-PE/COFF BEOS be recognized as ELF
authorJan Beulich <jbeulich@suse.com>
Wed, 11 Aug 2021 06:29:39 +0000 (08:29 +0200)
committerJan Beulich <jbeulich@suse.com>
Wed, 11 Aug 2021 06:29:39 +0000 (08:29 +0200)
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

index 0fb506cfd8960fe0df03485993b51bc121a6fe9e..c98a65b89a1229d5650f4131172736370471cae3 100644 (file)
@@ -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