diff options
| author | Kevin Cernekee <[email protected]> | 2016-10-23 10:25:56 -0700 |
|---|---|---|
| committer | Mark Wielaard <[email protected]> | 2016-10-24 12:48:43 +0200 |
| commit | 33ca0e1b9dfb47c6f9836c7fc19d04bd34337767 (patch) | |
| tree | 008b0e81bbf00f98832d88be73fe34459f2e213c /tests/run-unstrip-test4.sh | |
| parent | 502380c7acbb12055941fac248df77132caa7194 (diff) | |
tests: unstrip: Add test for mismatched .strtab sections
Current unstrip test cases either have no .symtab/.strtab in the
stripped binary, or .strtab sections that are identical between the
stripped and debuginfo binaries. Add a test case where .symtab/.strtab
in the stripped binary contains a small subset of the full unstripped
data.
Signed-off-by: Kevin Cernekee <[email protected]>
Diffstat (limited to 'tests/run-unstrip-test4.sh')
| -rwxr-xr-x | tests/run-unstrip-test4.sh | 18 |
1 files changed, 18 insertions, 0 deletions
diff --git a/tests/run-unstrip-test4.sh b/tests/run-unstrip-test4.sh new file mode 100755 index 00000000..6ca5d0ec --- /dev/null +++ b/tests/run-unstrip-test4.sh @@ -0,0 +1,18 @@ +# Test whether unstrip can combine a stripped kernel object that has +# limited .symtab/.strtab data, with a separate .debuginfo binary that +# has full .symtab/.strtab data. +# +# This was generated as part of a Chromium OS kernel build: +# +# emerge-kevin chromeos-kernel-4_4 +# +# Setup instructions: +# +# https://www.chromium.org/chromium-os/developer-guide +# https://www.chromium.org/chromium-os/how-tos-and-troubleshooting/kernel-faq + +original=testfile-strtab +stripped=testfile-strtab.stripped +debugfile=testfile-strtab.debuginfo + +. $srcdir/run-unstrip-test.sh |
