mirror of
https://github.com/espressif/binutils-gdb.git
synced 2025-06-25 21:41:47 +08:00
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:
@ -1354,4 +1354,7 @@ if { [istarget pdp11-*-*] } {
|
||||
set src "pr25662.s"
|
||||
}
|
||||
|
||||
objcopy_test "pr25662" $src executable "" "-T$srcdir/$subdir/pr25662.ld"
|
||||
#xcoff doesn't support arbitrary sections
|
||||
if { ![is_xcoff_format] } {
|
||||
objcopy_test "pr25662" $src executable "" "-T$srcdir/$subdir/pr25662.ld"
|
||||
}
|
||||
|
Reference in New Issue
Block a user