From 0be51eb4c363bea9a550392bf58c0e497403fff2 Mon Sep 17 00:00:00 2001 From: Alan Modra Date: Thu, 18 Feb 2021 13:49:42 +1030 Subject: [PATCH] pr26548 test I forgot that .sleb128 handles bignums, so this test should run fine for 32-bit targets on 32-bit hosts. * testsuite/binutils-all/readelf.exp (pr26548): Run for 32-bit too. --- binutils/ChangeLog | 4 ++++ binutils/testsuite/binutils-all/readelf.exp | 2 +- 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/binutils/ChangeLog b/binutils/ChangeLog index 04813322072..8253218e56b 100644 --- a/binutils/ChangeLog +++ b/binutils/ChangeLog @@ -1,3 +1,7 @@ +2021-02-19 Alan Modra + + * testsuite/binutils-all/readelf.exp (pr26548): Run for 32-bit too. + 2021-02-19 Siddhesh Poyarekar * ar.c (write_archive): Remove TARGET_STAT. Adjust call to diff --git a/binutils/testsuite/binutils-all/readelf.exp b/binutils/testsuite/binutils-all/readelf.exp index c283cc6bed5..775e782dfa3 100644 --- a/binutils/testsuite/binutils-all/readelf.exp +++ b/binutils/testsuite/binutils-all/readelf.exp @@ -372,7 +372,7 @@ if {[which $AS] != 0} then { run_dump_test "retain1b" run_dump_test "readelf-maskos-1a" run_dump_test "readelf-maskos-1b" - if {$readelf_size == 64 && ![istarget *-*-hpux*]} then { + if {![istarget *-*-hpux*]} then { run_dump_test pr26548 if {![binutils_assemble_flags $srcdir/$subdir/pr26548.s tmpdir/pr26548e.o {--defsym ERROR=1}]} then { unsupported "pr26548e (failed to assemble)" -- 2.30.2