Revert of Refresh android relocation packer from AOSP bionic. (patchset #1 id:1 of https://codereview.chromium.org/
1164453002/)
Reason for revert:
This CL is causing check_perms failures on the linux builds: http://build.chromium.org/p/chromium/builders/Linux/builds/62718/steps/check_perms/logs/stdio
Logs:
/b/build/slave/Linux/build/src/third_party/android_platform/bionic/tools/relocation_packer/test_data/elf_file_unittest_relocs_ia32.so: Has ELF header but not executable bit
/b/build/slave/Linux/build/src/third_party/android_platform/bionic/tools/relocation_packer/test_data/elf_file_unittest_relocs_ia32_packed.so: Has ELF header but not executable bit
/b/build/slave/Linux/build/src/third_party/android_platform/bionic/tools/relocation_packer/test_data/elf_file_unittest_relocs_mips32.so: Has ELF header but not executable bit
/b/build/slave/Linux/build/src/third_party/android_platform/bionic/tools/relocation_packer/test_data/elf_file_unittest_relocs_mips32_packed.so: Has ELF header but not executable bit
/b/build/slave/Linux/build/src/third_party/android_platform/bionic/tools/relocation_packer/test_data/elf_file_unittest_relocs_x64.so: Has ELF header but not executable bit
/b/build/slave/Linux/build/src/third_party/android_platform/bionic/tools/relocation_packer/test_data/elf_file_unittest_relocs_x64_packed.so: Has ELF header but not executable bit
Original issue's description:
> Refresh android relocation packer from AOSP bionic.
>
> Imports:
> Fix unit tests, and extend for other architectures
> https://android-review.googlesource.com/#/c/151901/
>
> Do not adjust PT_GNU_STACK segment
> https://android-review.googlesource.com/#/c/149300/
>
> Adjust DT_MIPS_RLD_MAP2 value
> https://android-review.googlesource.com/#/c/148822/
>
> Reduce p_align for program header to page size.
> https://android-review.googlesource.com/#/c/148492/
>
> Exit normally when relocations are already packed.
> https://android-review.googlesource.com/#/c/148175/
>
> NOPRESUBMIT=true
> BUG=385553
>
> Committed: https://crrev.com/
9cb10e88d01e71c5786a463f7c39409e7a41ddcd
> Cr-Commit-Position: refs/heads/master@{#331808}
TBR=rmcilroy@chromium.org,simonb@chromium.org
NOPRESUBMIT=true
NOTREECHECKS=true
NOTRY=true
BUG=385553
Review URL: https://codereview.chromium.org/
1143303007
Cr-Commit-Position: refs/heads/master@{#331827}