pr26548 test

Alan Modra amodra@gmail.com
Thu Feb 18 22:58:23 GMT 2021


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.

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)"

-- 
Alan Modra
Australia Development Lab, IBM


More information about the Binutils mailing list