diff options
| author | Mark Wielaard <[email protected]> | 2012-08-17 00:35:03 +0200 |
|---|---|---|
| committer | Mark Wielaard <[email protected]> | 2012-08-17 11:27:30 +0200 |
| commit | f31c4418be5bce6f0dd448cf07fc1092e5a7e1d2 (patch) | |
| tree | 7019a7ca1181e2048ad7667f450b39dd8d278227 /tests/run-readelf-dwz-multi.sh | |
| parent | d83f1324c33a138f16da5f0fbba89ea45f4811d5 (diff) | |
Rewrite DWARF string functions using known-dwarf macros.
readelf and tests were using hard coded string tables to produce DWARF
string constants. Use the known-dwarf macros to redefine these and
reduce code. Technique comes from dwarf branch dwarfstrings.c.
Signed-off-by: Mark Wielaard <[email protected]>
Diffstat (limited to 'tests/run-readelf-dwz-multi.sh')
| -rwxr-xr-x | tests/run-readelf-dwz-multi.sh | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/run-readelf-dwz-multi.sh b/tests/run-readelf-dwz-multi.sh index 42e6aa4c..aadbbbe1 100755 --- a/tests/run-readelf-dwz-multi.sh +++ b/tests/run-readelf-dwz-multi.sh @@ -66,7 +66,7 @@ DWARF section [28] '.debug_info' at offset 0x1078: Version: 4, Abbreviation section offset: 0, Address size: 8, Offset size: 4 [ b] compile_unit producer (strp) "GNU C 4.7.0 20120507 (Red Hat 4.7.0-5) -mtune=generic -march=x86-64 -g" - language (data1) ISO C89 (1) + language (data1) C89 (1) name (strp) "main.c" comp_dir (GNU_strp_alt) "/home/mark/src/tests/dwz" low_pc (addr) 0x00000000004006ac <main> @@ -124,7 +124,7 @@ DWARF section [25] '.debug_info' at offset 0x106c: Version: 4, Abbreviation section offset: 0, Address size: 8, Offset size: 4 [ b] compile_unit producer (strp) "GNU C 4.7.0 20120507 (Red Hat 4.7.0-5) -fpreprocessed -mtune=generic -march=x86-64 -g -fPIC" - language (data1) ISO C89 (1) + language (data1) C89 (1) name (strp) "shared.c" comp_dir (GNU_strp_alt) "/home/mark/src/tests/dwz" low_pc (addr) +0x0000000000000670 <call_foo> |
