diff options
Diffstat (limited to 'tests/run-prelink-addr-test.sh')
| -rwxr-xr-x | tests/run-prelink-addr-test.sh | 60 |
1 files changed, 30 insertions, 30 deletions
diff --git a/tests/run-prelink-addr-test.sh b/tests/run-prelink-addr-test.sh index 3398c0d1..da2807eb 100755 --- a/tests/run-prelink-addr-test.sh +++ b/tests/run-prelink-addr-test.sh @@ -36,12 +36,12 @@ tempfiles testmaps52-32 testfile52-32.noshdrs.so.debug ln -snf testfile52-32.so.debug testfile52-32.noshdrs.so.debug cat > testmaps52-32 <<EOF -00111000-00112000 r-xp 00000000 fd:01 1 `pwd`/testfile52-32.so -00112000-00113000 rw-p 00000000 fd:01 1 `pwd`/testfile52-32.so -41000000-41001000 r-xp 00000000 fd:01 2 `pwd`/testfile52-32.prelink.so -41001000-41002000 rw-p 00000000 fd:01 2 `pwd`/testfile52-32.prelink.so -42000000-42001000 r-xp 00000000 fd:01 3 `pwd`/testfile52-32.noshdrs.so -42001000-42002000 rw-p 00000000 fd:01 3 `pwd`/testfile52-32.noshdrs.so +00111000-00112000 r-xp 00000000 fd:01 1 $work_dir/testfile52-32.so +00112000-00113000 rw-p 00000000 fd:01 1 $work_dir/testfile52-32.so +41000000-41001000 r-xp 00000000 fd:01 2 $work_dir/testfile52-32.prelink.so +41001000-41002000 rw-p 00000000 fd:01 2 $work_dir/testfile52-32.prelink.so +42000000-42001000 r-xp 00000000 fd:01 3 $work_dir/testfile52-32.noshdrs.so +42001000-42002000 rw-p 00000000 fd:01 3 $work_dir/testfile52-32.noshdrs.so EOF # Prior to commit 1743d7f, libdwfl would fail on the second address, @@ -65,15 +65,15 @@ tempfiles testmaps52-64 testfile52-64.noshdrs.so.debug ln -snf testfile52-64.so.debug testfile52-64.noshdrs.so.debug cat > testmaps52-64 <<EOF -1000000000-1000001000 r-xp 00000000 fd:11 1 `pwd`/testfile52-64.so -1000001000-1000200000 ---p 00001000 fd:11 1 `pwd`/testfile52-64.so -1000200000-1000201000 rw-p 00000000 fd:11 1 `pwd`/testfile52-64.so -3000000000-3000001000 r-xp 00000000 fd:11 2 `pwd`/testfile52-64.prelink.so -3000001000-3000200000 ---p 00001000 fd:11 2 `pwd`/testfile52-64.prelink.so -3000200000-3000201000 rw-p 00000000 fd:11 2 `pwd`/testfile52-64.prelink.so -3800000000-3800001000 r-xp 00000000 fd:11 3 `pwd`/testfile52-64.noshdrs.so -3800001000-3800200000 ---p 00001000 fd:11 3 `pwd`/testfile52-64.noshdrs.so -3800200000-3800201000 rw-p 00000000 fd:11 3 `pwd`/testfile52-64.noshdrs.so +1000000000-1000001000 r-xp 00000000 fd:11 1 $work_dir/testfile52-64.so +1000001000-1000200000 ---p 00001000 fd:11 1 $work_dir/testfile52-64.so +1000200000-1000201000 rw-p 00000000 fd:11 1 $work_dir/testfile52-64.so +3000000000-3000001000 r-xp 00000000 fd:11 2 $work_dir/testfile52-64.prelink.so +3000001000-3000200000 ---p 00001000 fd:11 2 $work_dir/testfile52-64.prelink.so +3000200000-3000201000 rw-p 00000000 fd:11 2 $work_dir/testfile52-64.prelink.so +3800000000-3800001000 r-xp 00000000 fd:11 3 $work_dir/testfile52-64.noshdrs.so +3800001000-3800200000 ---p 00001000 fd:11 3 $work_dir/testfile52-64.noshdrs.so +3800200000-3800201000 rw-p 00000000 fd:11 3 $work_dir/testfile52-64.noshdrs.so EOF testrun_compare ${abs_top_builddir}/src/addr2line -S -M testmaps52-64 \ @@ -151,12 +151,12 @@ tempfiles testmaps54-32 # this is testing finding the symbols in .dynsym via PT_DYNAMIC. cat > testmaps54-32 <<EOF -00111000-00112000 r--p 00000000 fd:01 1 `pwd`/testfile54-32.so -00112000-00113000 rw-p 00000000 fd:01 1 `pwd`/testfile54-32.so -41000000-41001000 r--p 00000000 fd:01 2 `pwd`/testfile54-32.prelink.so -41001000-41002000 rw-p 00000000 fd:01 2 `pwd`/testfile54-32.prelink.so -42000000-42001000 r--p 00000000 fd:01 3 `pwd`/testfile54-32.noshdrs.so -42001000-42002000 rw-p 00000000 fd:01 3 `pwd`/testfile54-32.noshdrs.so +00111000-00112000 r--p 00000000 fd:01 1 $work_dir/testfile54-32.so +00112000-00113000 rw-p 00000000 fd:01 1 $work_dir/testfile54-32.so +41000000-41001000 r--p 00000000 fd:01 2 $work_dir/testfile54-32.prelink.so +41001000-41002000 rw-p 00000000 fd:01 2 $work_dir/testfile54-32.prelink.so +42000000-42001000 r--p 00000000 fd:01 3 $work_dir/testfile54-32.noshdrs.so +42001000-42002000 rw-p 00000000 fd:01 3 $work_dir/testfile54-32.noshdrs.so EOF testrun_compare ${abs_top_builddir}/src/addr2line -S -M testmaps54-32 \ @@ -182,15 +182,15 @@ tempfiles testmaps54-64 # this is testing finding the symbols in .dynsym via PT_DYNAMIC. cat > testmaps54-64 <<EOF -1000000000-1000001000 r--p 00000000 fd:11 1 `pwd`/testfile54-64.so -1000001000-1000200000 ---p 00001000 fd:11 1 `pwd`/testfile54-64.so -1000200000-1000201000 rw-p 00000000 fd:11 1 `pwd`/testfile54-64.so -3000000000-3000001000 r--p 00000000 fd:11 2 `pwd`/testfile54-64.prelink.so -3000001000-3000200000 ---p 00001000 fd:11 2 `pwd`/testfile54-64.prelink.so -3000200000-3000201000 rw-p 00000000 fd:11 2 `pwd`/testfile54-64.prelink.so -3800000000-3800001000 r--p 00000000 fd:11 3 `pwd`/testfile54-64.noshdrs.so -3800001000-3800200000 ---p 00001000 fd:11 3 `pwd`/testfile54-64.noshdrs.so -3800200000-3800201000 rw-p 00000000 fd:11 3 `pwd`/testfile54-64.noshdrs.so +1000000000-1000001000 r--p 00000000 fd:11 1 $work_dir/testfile54-64.so +1000001000-1000200000 ---p 00001000 fd:11 1 $work_dir/testfile54-64.so +1000200000-1000201000 rw-p 00000000 fd:11 1 $work_dir/testfile54-64.so +3000000000-3000001000 r--p 00000000 fd:11 2 $work_dir/testfile54-64.prelink.so +3000001000-3000200000 ---p 00001000 fd:11 2 $work_dir/testfile54-64.prelink.so +3000200000-3000201000 rw-p 00000000 fd:11 2 $work_dir/testfile54-64.prelink.so +3800000000-3800001000 r--p 00000000 fd:11 3 $work_dir/testfile54-64.noshdrs.so +3800001000-3800200000 ---p 00001000 fd:11 3 $work_dir/testfile54-64.noshdrs.so +3800200000-3800201000 rw-p 00000000 fd:11 3 $work_dir/testfile54-64.noshdrs.so EOF testrun_compare ${abs_top_builddir}/src/addr2line -S -M testmaps54-64 \ |
