Fix unit tests, and extend for other architectures
On unpacking, reinstate any p_align values that packing reduced to page size. Ensures a round-trip pack and unpack is bit-equivalent to the original input. https://android-review.googlesource.com/#/c/148492/ Extend unit tests to include ia32, x64, and mips32. Recreate test data for arm32 and arm64. Generate new test data for ia32, x64, and mips32. Bug: http://b/20687795 Bug: http://b/18051137 Change-Id: Ifbca8e206ef447297ba4f19272b813702be27a35
This commit is contained in:
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
BIN
tools/relocation_packer/test_data/elf_file_unittest_relocs_ia32.so
Executable file
BIN
tools/relocation_packer/test_data/elf_file_unittest_relocs_ia32.so
Executable file
Binary file not shown.
BIN
tools/relocation_packer/test_data/elf_file_unittest_relocs_ia32_packed.so
Executable file
BIN
tools/relocation_packer/test_data/elf_file_unittest_relocs_ia32_packed.so
Executable file
Binary file not shown.
BIN
tools/relocation_packer/test_data/elf_file_unittest_relocs_mips32.so
Executable file
BIN
tools/relocation_packer/test_data/elf_file_unittest_relocs_mips32.so
Executable file
Binary file not shown.
BIN
tools/relocation_packer/test_data/elf_file_unittest_relocs_mips32_packed.so
Executable file
BIN
tools/relocation_packer/test_data/elf_file_unittest_relocs_mips32_packed.so
Executable file
Binary file not shown.
BIN
tools/relocation_packer/test_data/elf_file_unittest_relocs_x64.so
Executable file
BIN
tools/relocation_packer/test_data/elf_file_unittest_relocs_x64.so
Executable file
Binary file not shown.
BIN
tools/relocation_packer/test_data/elf_file_unittest_relocs_x64_packed.so
Executable file
BIN
tools/relocation_packer/test_data/elf_file_unittest_relocs_x64_packed.so
Executable file
Binary file not shown.
Reference in New Issue
Block a user