]> git.ipfire.org Git - thirdparty/elfutils.git/commitdiff
run-prelink-addr-test.sh: Make symlinks to find .debug files corresponding to noshdrs...
authorRoland McGrath <roland@redhat.com>
Wed, 12 Jan 2011 18:43:32 +0000 (10:43 -0800)
committerRoland McGrath <roland@redhat.com>
Wed, 12 Jan 2011 18:43:32 +0000 (10:43 -0800)
tests/ChangeLog
tests/run-prelink-addr-test.sh

index fa2a28e3552db1f5faf3bd34e439cc6e6feab66f..d1a976bfc596d7c20047e8f701d45259371cda81 100644 (file)
@@ -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>
index f32b8b709a599ff96e55e18450f2b869cc43a2af..00bcd612fcaf1f3098e56ca1b20a2b9909177ac6 100755 (executable)
@@ -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