pr26548 test
authorAlan Modra <amodra@gmail.com>
Thu, 18 Feb 2021 03:19:42 +0000 (13:49 +1030)
committerAlan Modra <amodra@gmail.com>
Fri, 19 Feb 2021 03:19:15 +0000 (13:49 +1030)
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
binutils/testsuite/binutils-all/readelf.exp

index 04813322072d25723c3d173cda36bb19faa3d1fe..8253218e56b0b4b730309c1f6aa318dc41b78666 100644 (file)
@@ -1,3 +1,7 @@
+2021-02-19  Alan Modra  <amodra@gmail.com>
+
+       * testsuite/binutils-all/readelf.exp (pr26548): Run for 32-bit too.
+
 2021-02-19  Siddhesh Poyarekar  <siddhesh@gotplt.org>
 
        * ar.c (write_archive): Remove TARGET_STAT.  Adjust call to
index c283cc6bed5827314b30e7e9670f91a4dfd17782..775e782dfa3daf882793e8a07a425ad4328c0596 100644 (file)
@@ -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)"