| OLD | NEW |
| 1 Introduction: | 1 Introduction: |
| 2 ------------- | 2 ------------- |
| 3 | 3 |
| 4 Relative relocations are the bulk of dynamic relocations (the .rel.dyn | 4 Relative relocations are the bulk of dynamic relocations (the .rel.dyn |
| 5 or .rela.dyn sections) in libchrome.<version>.so. The ELF standard | 5 or .rela.dyn sections) in libchrome.<version>.so. The ELF standard |
| 6 representation of them is wasteful. | 6 representation of them is wasteful. |
| 7 | 7 |
| 8 Packing uses a combination of run length encoding, delta encoding, and LEB128 | 8 Packing uses a combination of run length encoding, delta encoding, and LEB128 |
| 9 encoding to store them more efficiently. Packed relocations are placed in | 9 encoding to store them more efficiently. Packed relocations are placed in |
| 10 a new .android.rel.dyn or .android.rela.dyn section. Packing reduces | 10 a new .android.rel.dyn or .android.rela.dyn section. Packing reduces |
| (...skipping 115 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 126 the allocation). | 126 the allocation). |
| 127 | 127 |
| 128 Requires libelf 0.158 or later. Earlier libelf releases may be buggy in | 128 Requires libelf 0.158 or later. Earlier libelf releases may be buggy in |
| 129 ways that prevent the packer from working correctly. | 129 ways that prevent the packer from working correctly. |
| 130 | 130 |
| 131 | 131 |
| 132 Testing: | 132 Testing: |
| 133 -------- | 133 -------- |
| 134 | 134 |
| 135 Unittests run under gtest, on the host system. | 135 Unittests run under gtest, on the host system. |
| OLD | NEW |