OSDN Git Service

Always use signed leb128 encoding
authorDmitriy Ivanov <dimitry@google.com>
Tue, 21 Apr 2015 22:03:04 +0000 (15:03 -0700)
committerDmitriy Ivanov <dimitry@google.com>
Wed, 22 Apr 2015 19:58:38 +0000 (12:58 -0700)
commitf15ceeb7841ef97c24a0b7708732756d433c5d0d
treeb7888d48605d20313d6d417109da27043afc7995
parent913fe559f69395aaf160653c1d3994df3272810b
Always use signed leb128 encoding

 According to runs on /system/lib there using
 unsigned leb128 does not save us any additional
 space. In order to keep packing as simple as
 possible switch to using signed leb128 for
 everything.

Bug: http://b/18051137
Change-Id: I1a47cb9eb2175895b3c3f7c13b4c6b1060de86c0
tools/relocation_packer/Android.mk
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/leb128.cc [deleted file]
tools/relocation_packer/src/leb128.h [deleted file]
tools/relocation_packer/src/leb128_unittest.cc [deleted file]
tools/relocation_packer/src/packer.cc
tools/relocation_packer/src/packer_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