pr26548 test

Message ID 20210218225823.GB17920@bubble.grove.modra.org
State New
Headers show
Series
  • pr26548 test
Related show

Commit Message

Nick Clifton via Binutils Feb. 18, 2021, 10:58 p.m.
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.


-- 
Alan Modra
Australia Development Lab, IBM

Patch

diff --git a/binutils/testsuite/binutils-all/readelf.exp b/binutils/testsuite/binutils-all/readelf.exp
index c283cc6bed..775e782dfa 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)"