diff options
author | Roland McGrath <roland@redhat.com> | 2011-01-12 10:43:32 -0800 |
---|---|---|
committer | Roland McGrath <roland@redhat.com> | 2011-01-12 10:43:32 -0800 |
commit | 32520bd7dd079d5e07297c34a45991555c6df81f (patch) | |
tree | 2254399891d7bace663068e5daca630b00272693 | |
parent | ccbccef5895f375feba088c603b3c6954b4ee3ba (diff) | |
download | elfutils-32520bd7dd079d5e07297c34a45991555c6df81f.tar.gz |
run-prelink-addr-test.sh: Make symlinks to find .debug files corresponding to noshdrs files.
-rw-r--r-- | tests/ChangeLog | 7 | ||||
-rwxr-xr-x | tests/run-prelink-addr-test.sh | 16 |
2 files changed, 16 insertions, 7 deletions
diff --git a/tests/ChangeLog b/tests/ChangeLog index fa2a28e3..d1a976bf 100644 --- a/tests/ChangeLog +++ b/tests/ChangeLog @@ -1,3 +1,8 @@ +2011-01-12 Roland McGrath <roland@redhat.com> + + * run-prelink-addr-test.sh: Make symlinks to find .debug files + corresponding to noshdrs files. + 2011-01-11 Josh Stone <jistone@redhat.com> * run-prelink-addr-test.sh: Add testfile54, 32 and 64-bit. @@ -23,7 +28,7 @@ testfile52-32.prelink.so.bz2: Recreated with 32-bit names. * testfile52-32.noshdrs.so.bz2: New data file, stripped of headers. * testfile52-64.so.bz2, testfile52-64.so.debug.bz2, - testfile52-64.prelink.so.bz2, testfile52-64.noshdrs.so.bz2: New in 64-bit. + testfile52-64.prelink.so.bz2, testfile52-64.noshdrs.so.bz2: New files. * Makefile.am (EXTRA_DIST): Add and update all. 2011-01-10 Josh Stone <jistone@redhat.com> diff --git a/tests/run-prelink-addr-test.sh b/tests/run-prelink-addr-test.sh index f32b8b70..00bcd612 100755 --- a/tests/run-prelink-addr-test.sh +++ b/tests/run-prelink-addr-test.sh @@ -40,7 +40,8 @@ testfiles testfile52-32.so testfile52-32.so.debug testfiles testfile52-32.prelink.so testfile52-32.noshdrs.so -tempfiles testmaps52-32 +tempfiles testmaps52-32 testfile52-32.noshdrs.so.debug +ln -s 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 @@ -61,14 +62,15 @@ foo foo+0x1 /home/jistone/src/elfutils/tests/testfile52-32.c:2 foo+0x2 -??:0 +/home/jistone/src/elfutils/tests/testfile52-32.c:2 EOF # Repeat testfile52 for -m64. The particular REL>RELA issue doesn't exist, but # we'll make sure the rest works anyway. testfiles testfile52-64.so testfile52-64.so.debug testfiles testfile52-64.prelink.so testfile52-64.noshdrs.so -tempfiles testmaps52-64 +tempfiles testmaps52-64 testfile52-64.noshdrs.so.debug +ln -s 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 @@ -89,7 +91,7 @@ foo foo+0x1 /home/jistone/src/elfutils/tests/testfile52-64.c:2 foo+0x2 -??:0 +/home/jistone/src/elfutils/tests/testfile52-64.c:2 EOF @@ -151,7 +153,8 @@ EOF # eu-strip --remove-comment --strip-sections testfile54-32.noshdrs.so testfiles testfile54-32.so testfile54-32.so.debug testfiles testfile54-32.prelink.so testfile54-32.noshdrs.so -tempfiles testmaps54-32 +tempfiles testmaps54-32 testfile54-32.noshdrs.so.debug +ln -s testfile54-32.so.debug testfile54-32.noshdrs.so.debug cat > testmaps54-32 <<EOF 00111000-00112000 r--p 00000000 fd:01 1 `pwd`/testfile54-32.so @@ -179,7 +182,8 @@ EOF # Repeat testfile64 in 64-bit testfiles testfile54-64.so testfile54-64.so.debug testfiles testfile54-64.prelink.so testfile54-64.noshdrs.so -tempfiles testmaps54-64 +tempfiles testmaps54-64 testfile54-64.noshdrs.so.debug +ln -s testfile54-64.so.debug testfile54-64.noshdrs.so.debug cat > testmaps54-64 <<EOF 1000000000-1000001000 r--p 00000000 fd:11 1 `pwd`/testfile54-64.so |