diff options
| author | Mark Wielaard <[email protected]> | 2017-11-29 15:43:26 +0100 |
|---|---|---|
| committer | Mark Wielaard <[email protected]> | 2017-11-29 15:57:24 +0100 |
| commit | 704f5fc477efaf120980449e677deb563da8491f (patch) | |
| tree | eb5fcf5a32df412dbf66894ddc6305a9eba7c2ec /tests/run-readelf-loc.sh | |
| parent | 268a27211b152d876185ff95255e5025c43b9c13 (diff) | |
readelf: Adjust print_ops formatting.
Use only 2 spaces for index (there are never 10000, the most seen in the
wild is 64). Adjust re-indenting after GNU_entry_value.
Signed-off-by: Mark Wielaard <[email protected]>
Diffstat (limited to 'tests/run-readelf-loc.sh')
| -rwxr-xr-x | tests/run-readelf-loc.sh | 18 |
1 files changed, 9 insertions, 9 deletions
diff --git a/tests/run-readelf-loc.sh b/tests/run-readelf-loc.sh index 98870fcf..3959d3d7 100755 --- a/tests/run-readelf-loc.sh +++ b/tests/run-readelf-loc.sh @@ -63,9 +63,9 @@ testrun_compare ${abs_top_builddir}/src/readelf --debug-dump=loc --debug-dump=ra testfileloc<<\EOF DWARF section [33] '.debug_loc' at offset 0xd2a: - [ 0] 0x0000000000400480 <main>..0x000000000040048d <main+0xd> [ 0] reg5 - [ 23] 0x0000000000400485 <main+0x5>..0x000000000040048d <main+0xd> [ 0] reg5 - [ 46] 0x00000000004004b2 <say+0x12>..0x00000000004004ba <say+0x1a> [ 0] breg5 0 + [ 0] 0x0000000000400480 <main>..0x000000000040048d <main+0xd> [ 0] reg5 + [ 23] 0x0000000000400485 <main+0x5>..0x000000000040048d <main+0xd> [ 0] reg5 + [ 46] 0x00000000004004b2 <say+0x12>..0x00000000004004ba <say+0x1a> [ 0] breg5 0 DWARF section [34] '.debug_ranges' at offset 0xd94: [ 0] 0x0000000000400480 <main>..0x0000000000400482 <main+0x2> @@ -79,9 +79,9 @@ testrun_compare ${abs_top_builddir}/src/readelf -N --debug-dump=loc --debug-dump testfileloc<<\EOF DWARF section [33] '.debug_loc' at offset 0xd2a: - [ 0] 0x0000000000400480..0x000000000040048d [ 0] reg5 - [ 23] 0x0000000000400485..0x000000000040048d [ 0] reg5 - [ 46] 0x00000000004004b2..0x00000000004004ba [ 0] breg5 0 + [ 0] 0x0000000000400480..0x000000000040048d [ 0] reg5 + [ 23] 0x0000000000400485..0x000000000040048d [ 0] reg5 + [ 46] 0x00000000004004b2..0x00000000004004ba [ 0] breg5 0 DWARF section [34] '.debug_ranges' at offset 0xd94: [ 0] 0x0000000000400480..0x0000000000400482 @@ -95,9 +95,9 @@ testrun_compare ${abs_top_builddir}/src/readelf -U --debug-dump=loc --debug-dump testfileloc<<\EOF DWARF section [33] '.debug_loc' at offset 0xd2a: - [ 0] 000000000000000000..0x000000000000000d [ 0] reg5 - [ 23] 0x0000000000000005..0x000000000000000d [ 0] reg5 - [ 46] 0x0000000000000012..0x000000000000001a [ 0] breg5 0 + [ 0] 000000000000000000..0x000000000000000d [ 0] reg5 + [ 23] 0x0000000000000005..0x000000000000000d [ 0] reg5 + [ 46] 0x0000000000000012..0x000000000000001a [ 0] breg5 0 DWARF section [34] '.debug_ranges' at offset 0xd94: [ 0] 000000000000000000..0x0000000000000002 |
