Support for unpacked ARM packed relocations.
commit4fafc2d4326cdf7c644698abf976820fbd63614d
authorsimonb@chromium.org <simonb@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>
Tue, 24 Jun 2014 13:58:19 +0000 (24 13:58 +0000)
committersimonb@chromium.org <simonb@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>
Tue, 24 Jun 2014 13:58:19 +0000 (24 13:58 +0000)
treef9f70df5e84efe6a45f5c1c582dd8a4060911599
parentfa43e52d17118f34404138956d4c6af90d2ef837
Support for unpacked ARM packed relocations.

Adds support for unpacking and applying R_ARM_RELATIVE relocations
previously packed by the relocation_packer tool into the special
.android.rel.dyn section.

Strategy: If special dynamic tags are present, open the file, read the
contents of .android.rel.dyn, LEB128 decode and run length decode,
and apply each R_ARM_RELATIVE relocation produced.  If special dynamic
tags are not present, do nothing.

BUG=385553

Review URL: https://codereview.chromium.org/340523003

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@279393 0039d316-1c4b-4281-b951-d872f2087c98
third_party/android_crazy_linker/README.chromium
third_party/android_crazy_linker/src/src/crazy_linker_elf_relocations.cpp
third_party/android_crazy_linker/src/src/crazy_linker_elf_relocations.h
third_party/android_crazy_linker/src/src/crazy_linker_shared_library.cpp
third_party/android_crazy_linker/src/src/crazy_linker_shared_library.h