History log of /bionic/tools/relocation_packer/src/elf_file_unittest.cc
Revision Date Author Comments
1011e1a402017506c6a03d0457288f4b1267d9ca 22-May-2015 Simon Baldwin <simonb@google.com> 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
b0b9338ff8655394311aeef77e2b795e6d8a453d 24-Apr-2015 Dmitriy Ivanov <dimitry@google.com> Exit normally when relocations are already packed.

Bug: http://b/18051137
Change-Id: Idfffac5fe965e3cdeabe6d3b2dcd8c275c6ae5df
f15ceeb7841ef97c24a0b7708732756d433c5d0d 22-Apr-2015 Dmitriy Ivanov <dimitry@google.com> 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
f8ff6b103bde3433d6f7dbf762fc7bf657d7de5f 28-Jan-2015 Dmitriy Ivanov <dimitry@google.com> 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
87a0617ebe7561bf28d3a19fbe192372598969b8 06-Feb-2015 Dmitriy Ivanov <dimitry@google.com> Import relocation packer from chromium repo

Bug: 18051137
Change-Id: Ia67fa11da8247e3f86f70a8ce99e6695f2c05423