[PATCH 01/11] x86: have non-PE/COFF BEOS be recognized as ELF

Jan Beulich jbeulich@suse.com
Fri Jul 23 06:51:40 GMT 2021


BEOS, unless explicitly requesting *-*-beospe* targets, uses standard
ELF. None of the newly enabled tests in the testsuite fail for me.

--- 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



More information about the Binutils mailing list