forked from Imagelibrary/binutils-gdb
XCOFF binutils testsuite fix
Avoid an UNRESOLVED test due to "Error: the XCOFF file format does not support arbitrary sections". * testsuite/lib/binutils-common.exp (is_xcoff_format): New. * testsuite/binutils-all/objcopy.exp (pr25662): Exclude xcoff.
This commit is contained in:
@@ -121,6 +121,16 @@ proc is_som_format {} {
|
||||
return 0;
|
||||
}
|
||||
|
||||
proc is_xcoff_format {} {
|
||||
if { [istarget rs6000-*-*]
|
||||
|| [istarget powerpc*-*-aix*]
|
||||
|| [istarget powerpc*-*-beos*]
|
||||
|| [istarget powerpc*-*-macos*] } {
|
||||
return 1;
|
||||
}
|
||||
return 0;
|
||||
}
|
||||
|
||||
# True if the object format is known to be 64-bit ELF.
|
||||
#
|
||||
proc is_elf64 { binary_file } {
|
||||
|
||||
Reference in New Issue
Block a user