|
Extend relocation packing to cover arm64.
Add new delta encoder and signed LEB128 classes to pack relocations with
addends. Add associated unit tests.
Add packer functions to handle vectors of ELF::Rela structures
(relocations with addends). Update unit tests.
Templatize elf_file functions to provide versions that handle both
ELF::Rel and ELF::Rela.
Provide 'golden' 64 bit ARM unpacked and packed test data for
elf_file_unittest. Add gyp targets, actions, and a helper python
script to easily produce these test data files from source using NDK
toolchains.
Tidy terminology in comments, update --help output, and update the
README.TXT.
BUG= 385553
Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=286503
Total comments: 18
|
Unified diffs |
Side-by-side diffs |
Delta from patch set |
Stats (+1488 lines, -319 lines) |
Patch |
 |
M |
tools/relocation_packer/README.TXT
|
View
|
1
2
3
4
5
|
4 chunks |
+53 lines, -20 lines |
0 comments
|
Download
|
 |
M |
tools/relocation_packer/relocation_packer.gyp
|
View
|
1
2
|
3 chunks |
+71 lines, -2 lines |
0 comments
|
Download
|
 |
A |
tools/relocation_packer/src/delta_encoder.h
|
View
|
1
2
3
4
5
|
1 chunk |
+80 lines, -0 lines |
0 comments
|
Download
|
 |
A |
tools/relocation_packer/src/delta_encoder.cc
|
View
|
1
2
3
4
5
|
1 chunk |
+72 lines, -0 lines |
0 comments
|
Download
|
 |
A |
tools/relocation_packer/src/delta_encoder_unittest.cc
|
View
|
|
1 chunk |
+150 lines, -0 lines |
0 comments
|
Download
|
 |
M |
tools/relocation_packer/src/elf_file.h
|
View
|
1
2
3
|
5 chunks |
+58 lines, -32 lines |
0 comments
|
Download
|
 |
M |
tools/relocation_packer/src/elf_file.cc
|
View
|
1
2
3
4
5
6
|
29 chunks |
+243 lines, -140 lines |
0 comments
|
Download
|
 |
M |
tools/relocation_packer/src/elf_file_unittest.cc
|
View
|
|
2 chunks |
+15 lines, -2 lines |
0 comments
|
Download
|
 |
M |
tools/relocation_packer/src/elf_traits.h
|
View
|
|
4 chunks |
+13 lines, -11 lines |
0 comments
|
Download
|
 |
M |
tools/relocation_packer/src/leb128.h
|
View
|
|
1 chunk |
+2 lines, -2 lines |
0 comments
|
Download
|
 |
M |
tools/relocation_packer/src/main.cc
|
View
|
1
2
3
4
5
6
|
3 chunks |
+57 lines, -24 lines |
0 comments
|
Download
|
 |
M |
tools/relocation_packer/src/packer.h
|
View
|
1
2
3
4
5
|
2 chunks |
+36 lines, -9 lines |
0 comments
|
Download
|
 |
M |
tools/relocation_packer/src/packer.cc
|
View
|
1
2
3
4
5
|
3 chunks |
+64 lines, -6 lines |
0 comments
|
Download
|
 |
M |
tools/relocation_packer/src/packer_unittest.cc
|
View
|
|
3 chunks |
+133 lines, -2 lines |
0 comments
|
Download
|
 |
M |
tools/relocation_packer/src/run_length_encoder.h
|
View
|
|
3 chunks |
+23 lines, -22 lines |
0 comments
|
Download
|
 |
M |
tools/relocation_packer/src/run_length_encoder.cc
|
View
|
1
2
3
4
5
|
3 chunks |
+11 lines, -7 lines |
0 comments
|
Download
|
 |
A + |
tools/relocation_packer/src/sleb128.h
|
View
|
|
3 chunks |
+21 lines, -20 lines |
0 comments
|
Download
|
 |
A |
tools/relocation_packer/src/sleb128.cc
|
View
|
|
1 chunk |
+95 lines, -0 lines |
0 comments
|
Download
|
 |
A |
tools/relocation_packer/src/sleb128_unittest.cc
|
View
|
|
1 chunk |
+166 lines, -0 lines |
0 comments
|
Download
|
 |
M |
tools/relocation_packer/test_data/elf_file_unittest_relocs.cc
|
View
|
1
2
|
1 chunk |
+2 lines, -20 lines |
0 comments
|
Download
|
 |
D |
tools/relocation_packer/test_data/elf_file_unittest_relocs.so
|
View
|
|
Binary file |
0 comments
|
Download
|
 |
D |
tools/relocation_packer/test_data/elf_file_unittest_relocs_packed.so
|
View
|
1
2
3
4
|
Binary file |
0 comments
|
Download
|
 |
A |
tools/relocation_packer/test_data/generate_elf_file_unittest_relocs.py
|
View
|
1
2
|
1 chunk |
+88 lines, -0 lines |
0 comments
|
Download
|
 |
A |
tools/relocation_packer/test_data/generate_elf_file_unittest_relocs.sh
|
View
|
1
2
|
1 chunk |
+35 lines, -0 lines |
0 comments
|
Download
|
Total messages: 13 (0 generated)
|