OSDN Git Service

Generalize compression tool
authorDmitriy Ivanov <dimitry@google.com>
Wed, 28 Jan 2015 03:32:56 +0000 (19:32 -0800)
committerDmitriy Ivanov <dimitry@google.com>
Fri, 6 Mar 2015 21:01:08 +0000 (13:01 -0800)
commitf8ff6b103bde3433d6f7dbf762fc7bf657d7de5f
treefbff9b4213a98a600b559a67f3fc4da8b972294c
parent87a0617ebe7561bf28d3a19fbe192372598969b8
Generalize compression tool

 1. One binary for all architectures
 2. Generalize (and slightly improve) compression
 2.1 works on all relocation types (rela?.dyn section only so far)
 2.2 Uses same format to encode ElfW(Rel) as well as ElfW(Rela) tables

Bug: 18051137
Change-Id: I66c95d9076954ca115816fc577d0f5ef274e5e72
28 files changed:
tools/Android.mk [new file with mode: 0644]
tools/relocation_packer/Android.mk [new file with mode: 0644]
tools/relocation_packer/BUILD.gn [deleted file]
tools/relocation_packer/config.gni [deleted file]
tools/relocation_packer/relocation_packer.gyp [deleted file]
tools/relocation_packer/src/debug_unittest.cc
tools/relocation_packer/src/delta_encoder.cc
tools/relocation_packer/src/delta_encoder.h
tools/relocation_packer/src/delta_encoder_unittest.cc
tools/relocation_packer/src/elf_file.cc
tools/relocation_packer/src/elf_file.h
tools/relocation_packer/src/elf_file_unittest.cc
tools/relocation_packer/src/elf_traits.h
tools/relocation_packer/src/leb128.cc
tools/relocation_packer/src/leb128.h
tools/relocation_packer/src/leb128_unittest.cc
tools/relocation_packer/src/main.cc
tools/relocation_packer/src/packer.cc
tools/relocation_packer/src/packer.h
tools/relocation_packer/src/packer_unittest.cc
tools/relocation_packer/src/run_all_unittests.cc [deleted file]
tools/relocation_packer/src/run_length_encoder.cc [deleted file]
tools/relocation_packer/src/run_length_encoder_unittest.cc [deleted file]
tools/relocation_packer/src/sleb128.cc
tools/relocation_packer/src/sleb128.h
tools/relocation_packer/src/sleb128_unittest.cc
tools/relocation_packer/test_data/elf_file_unittest_relocs_arm32_packed.so
tools/relocation_packer/test_data/elf_file_unittest_relocs_arm64_packed.so