| Index: tools/relocation_packer/test_data/elf_file_unittest_relocs.cc
|
| diff --git a/tools/relocation_packer/test_data/elf_file_unittest_relocs.cc b/tools/relocation_packer/test_data/elf_file_unittest_relocs.cc
|
| index 794c284d91321cb6cdaf090d0e39310cf977882e..ddb4add2d886a498ef822d9d05c0858df3f60db2 100644
|
| --- a/tools/relocation_packer/test_data/elf_file_unittest_relocs.cc
|
| +++ b/tools/relocation_packer/test_data/elf_file_unittest_relocs.cc
|
| @@ -5,26 +5,8 @@
|
| // Test data for packing/unpacking. When compiled, creates a run of
|
| // relative relocations.
|
| //
|
| -// #!/bin/bash
|
| -//
|
| -// # Compile as an arm shared library.
|
| -// /usr/bin/arm-linux-gnueabi-g++ -shared -o /tmp/testdata.so \
|
| -// elf_file_unittest_relocs.cc
|
| -//
|
| -// # Add a new null .android.rel.dyn section, needed for packing.
|
| -// echo 'NULL' >/tmp/small
|
| -// /usr/bin/arm-linux-gnueabi-objcopy \
|
| -// --add-section .android.rel.dyn=/tmp/small /tmp/testdata.so
|
| -//
|
| -// # Create packed and unpacked reference files.
|
| -// packer="../../../out_android/Debug/relocation_packer"
|
| -// cp /tmp/testdata.so elf_file_unittest_relocs_packed.so
|
| -// $packer elf_file_unittest_relocs_packed.so
|
| -// cp elf_file_unittest_relocs_packed.so elf_file_unittest_relocs.so
|
| -// $packer -u elf_file_unittest_relocs.so
|
| -//
|
| -// # Clean up.
|
| -// rm /tmp/testdata.so /tmp/small
|
| +// See generate_elf_file_unittest_relocs.sh for instructions on how to build
|
| +// unit test data from this source file.
|
|
|
| const int i = 0;
|
|
|
|
|