From: Mark Wielaard Date: Tue, 17 Jul 2012 19:12:39 +0000 (+0200) Subject: Add ppc testcase for elf32_xlatetom.c fix. X-Git-Tag: elfutils-0.155~30 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=97212fef830f9f193d4a43ee45338622db40b19c;p=thirdparty%2Felfutils.git Add ppc testcase for elf32_xlatetom.c fix. Fails before commit bc0f74 on x86, succeeds after. Signed-off-by: Mark Wielaard --- diff --git a/tests/ChangeLog b/tests/ChangeLog index 9d17c7e66..4fcc8fa4c 100644 --- a/tests/ChangeLog +++ b/tests/ChangeLog @@ -1,3 +1,8 @@ +2012-07-17 Mark Wielaard + + * testcore-rtlib-ppc.bz2: New testfile. + * run-unstrip-n.sh: Check new ppc core testfile. + 2012-06-26 Mike Frysinger * Makefile.am (check_PROGRAMS): Rename from noinst_PROGRAMS. diff --git a/tests/run-unstrip-n.sh b/tests/run-unstrip-n.sh index 342a6adc0..a2f0d6c0a 100755 --- a/tests/run-unstrip-n.sh +++ b/tests/run-unstrip-n.sh @@ -31,7 +31,7 @@ # # gcc -m32 -o rt_crash -lrt rt_crash.c -testfiles testcore-rtlib +testfiles testcore-rtlib testcore-rtlib-ppc testrun_compare ../src/unstrip -n --core=testcore-rtlib <<\EOF 0x8048000+0x2000 f1c600bc36cb91bf01f9a63a634ecb79aa4c3199@0x8048178 . - [exe] @@ -42,4 +42,13 @@ testrun_compare ../src/unstrip -n --core=testcore-rtlib <<\EOF 0xf77d7000+0x21000 6d2cb32650054f1c176d01d48713a4a5e5e84c1a@0xf77d7124 /lib/ld-linux.so.2 - ld-linux.so.2 EOF +testrun_compare ../src/unstrip -n --core=testcore-rtlib-ppc <<\EOF +0x10000000+0x20000 979b7a26747cc09bd84a42b311b5288c704baea5@0x10000174 . - [exe] +0x100000+0x10000 708b900b05176964512a6b0fe90c2a0c9d73d726@0x100334 . - linux-vdso32.so.1 +0xfd50000+0x30000 3f7d21508470322d2f47acddc20ab10516edba99@0xfd50164 /lib/librt.so.1 - librt.so.1 +0xfdf0000+0x1c0000 edf3dd232e09d01b90683889bd16b9406c52d4de@0xfdf0184 /lib/libc.so.6 - libc.so.6 +0xfdb0000+0x40000 f6ee91d4c629bc7dacc10534cb30056914e7e0b5@0xfdb0164 /lib/libpthread.so.0 - libpthread.so.0 +0xffb0000+0x50000 edec437a85026a1cf8cda94003706202733130c1@0xffb0124 /lib/ld.so.1 - ld.so.1 +EOF + exit 0 diff --git a/tests/testcore-rtlib-ppc.bz2 b/tests/testcore-rtlib-ppc.bz2 new file mode 100644 index 000000000..a3cec6030 Binary files /dev/null and b/tests/testcore-rtlib-ppc.bz2 differ