diff options
author | Mark Wielaard <[email protected]> | 2012-07-17 21:12:39 +0200 |
---|---|---|
committer | Mark Wielaard <[email protected]> | 2012-07-17 21:12:39 +0200 |
commit | 97212fef830f9f193d4a43ee45338622db40b19c (patch) | |
tree | 9f7713bb96468e0eaca36418154ae0370f7fc6bb | |
parent | bc0f7450cb0fd5717f532bce1b39f45312cc2fd9 (diff) |
Add ppc testcase for elf32_xlatetom.c fix.
Fails before commit bc0f74 on x86, succeeds after.
Signed-off-by: Mark Wielaard <[email protected]>
-rw-r--r-- | tests/ChangeLog | 5 | ||||
-rwxr-xr-x | tests/run-unstrip-n.sh | 11 | ||||
-rw-r--r-- | tests/testcore-rtlib-ppc.bz2 | bin | 0 -> 200184 bytes |
3 files changed, 15 insertions, 1 deletions
diff --git a/tests/ChangeLog b/tests/ChangeLog index 9d17c7e6..4fcc8fa4 100644 --- a/tests/ChangeLog +++ b/tests/ChangeLog @@ -1,3 +1,8 @@ +2012-07-17 Mark Wielaard <[email protected]> + + * testcore-rtlib-ppc.bz2: New testfile. + * run-unstrip-n.sh: Check new ppc core testfile. + 2012-06-26 Mike Frysinger <[email protected]> * Makefile.am (check_PROGRAMS): Rename from noinst_PROGRAMS. diff --git a/tests/run-unstrip-n.sh b/tests/run-unstrip-n.sh index 342a6adc..a2f0d6c0 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 Binary files differnew file mode 100644 index 00000000..a3cec603 --- /dev/null +++ b/tests/testcore-rtlib-ppc.bz2 |