X-Git-Url: http://git.ipfire.org/?a=blobdiff_plain;f=binutils%2Ftestsuite%2Fbinutils-all%2Freadelf.exp;h=51d26b762b3aa8bfe3511ad1d0c846e9a7d5ec5d;hb=d1bcae833b32f1408485ce69f844dcd7ded093a8;hp=4834233ad3160da25d5b42696800bb976c45262e;hpb=3b288c8e2ed3518c7f4ecd6c73ef1c6dd7469cd1;p=thirdparty%2Fbinutils-gdb.git diff --git a/binutils/testsuite/binutils-all/readelf.exp b/binutils/testsuite/binutils-all/readelf.exp index 4834233ad31..51d26b762b3 100644 --- a/binutils/testsuite/binutils-all/readelf.exp +++ b/binutils/testsuite/binutils-all/readelf.exp @@ -100,7 +100,11 @@ proc readelf_test { options binary_file regexp_file xfails } { return } - set target_machine "" + if { [is_elf_unused_section_symbols ] } { + set target_machine unused + } else { + set target_machine "" + } if [istarget "mips*-*-*"] then { if [is_bad_symtab] then { set target_machine mips