Revert of Refresh android relocation packer from AOSP bionic. (patchset #1 id:1 of...
commitd2adf1e487ba54a15d92947ce29fbe18b8edd686
authorcaitkp <caitkp@chromium.org>
Thu, 28 May 2015 18:39:45 +0000 (28 11:39 -0700)
committerCommit bot <commit-bot@chromium.org>
Thu, 28 May 2015 18:40:41 +0000 (28 18:40 +0000)
treee971a9a5ef2fe1f484aadd1a15aa18b8b8cb89c0
parent6970b0ad59723ced9cc473f5474e8c3c0bf5d7bc
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}
16 files changed:
third_party/android_platform/README.chromium
third_party/android_platform/bionic/tools/relocation_packer/Android.mk
third_party/android_platform/bionic/tools/relocation_packer/src/elf_file.cc
third_party/android_platform/bionic/tools/relocation_packer/src/elf_file_unittest.cc
third_party/android_platform/bionic/tools/relocation_packer/src/elf_traits.h
third_party/android_platform/bionic/tools/relocation_packer/test_data/elf_file_unittest_relocs_arm32.so
third_party/android_platform/bionic/tools/relocation_packer/test_data/elf_file_unittest_relocs_arm32_packed.so
third_party/android_platform/bionic/tools/relocation_packer/test_data/elf_file_unittest_relocs_arm64.so
third_party/android_platform/bionic/tools/relocation_packer/test_data/elf_file_unittest_relocs_arm64_packed.so
third_party/android_platform/bionic/tools/relocation_packer/test_data/elf_file_unittest_relocs_ia32.so [deleted file]
third_party/android_platform/bionic/tools/relocation_packer/test_data/elf_file_unittest_relocs_ia32_packed.so [deleted file]
third_party/android_platform/bionic/tools/relocation_packer/test_data/elf_file_unittest_relocs_mips32.so [deleted file]
third_party/android_platform/bionic/tools/relocation_packer/test_data/elf_file_unittest_relocs_mips32_packed.so [deleted file]
third_party/android_platform/bionic/tools/relocation_packer/test_data/elf_file_unittest_relocs_x64.so [deleted file]
third_party/android_platform/bionic/tools/relocation_packer/test_data/elf_file_unittest_relocs_x64_packed.so [deleted file]
third_party/android_platform/relocation_packer.gyp