From 28c812b34906c058a599924cc6ef399726c22cb9 Mon Sep 17 00:00:00 2001 From: Jan Beulich Date: Tue, 18 Jun 2024 13:23:36 +0200 Subject: [PATCH] readelf: rename recently added testsuite files Files named *.0 are somewhat odd for testsuite expectations. Rename the one such file to *.r with a suitable base name suffix, and have its sibling follow suit in this latter regard. --- .../binutils-all/{display-section.0 => display-section-0.r} | 0 .../binutils-all/{display-section.r => display-section-rel.r} | 0 binutils/testsuite/binutils-all/readelf.exp | 4 ++-- 3 files changed, 2 insertions(+), 2 deletions(-) rename binutils/testsuite/binutils-all/{display-section.0 => display-section-0.r} (100%) rename binutils/testsuite/binutils-all/{display-section.r => display-section-rel.r} (100%) diff --git a/binutils/testsuite/binutils-all/display-section.0 b/binutils/testsuite/binutils-all/display-section-0.r similarity index 100% rename from binutils/testsuite/binutils-all/display-section.0 rename to binutils/testsuite/binutils-all/display-section-0.r diff --git a/binutils/testsuite/binutils-all/display-section.r b/binutils/testsuite/binutils-all/display-section-rel.r similarity index 100% rename from binutils/testsuite/binutils-all/display-section.r rename to binutils/testsuite/binutils-all/display-section-rel.r diff --git a/binutils/testsuite/binutils-all/readelf.exp b/binutils/testsuite/binutils-all/readelf.exp index 9f20cb42812..dab66ebb9ee 100644 --- a/binutils/testsuite/binutils-all/readelf.exp +++ b/binutils/testsuite/binutils-all/readelf.exp @@ -639,8 +639,8 @@ readelf_test -wi $tempfile dw5-op.W # Test the -j/--display-section option. # Check that multiple options accumulate. # Check that both numbers and names can be used. -readelf_test {-j .rela.debug_info --display-section=.rel.debug_info} $tempfile display-section.r -readelf_test --display-section=0 $tempfile display-section.0 +readelf_test {-j .rela.debug_info --display-section=.rel.debug_info} $tempfile display-section-rel.r +readelf_test --display-section=0 $tempfile display-section-0.r # Test that RELR relocations are display correctly.