Refresh android relocation packer from AOSP bionic.
commit9cb10e88d01e71c5786a463f7c39409e7a41ddcd
authorsimonb <simonb@chromium.org>
Thu, 28 May 2015 17:35:27 +0000 (28 10:35 -0700)
committerCommit bot <commit-bot@chromium.org>
Thu, 28 May 2015 17:35:55 +0000 (28 17:35 +0000)
tree42f3fd48377efff161d8abc8f64513f172a62192
parent9bacad65abe3631048c1e5d0467e1cea414e5700
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

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

Cr-Commit-Position: refs/heads/master@{#331808}
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 [new file with mode: 0644]
third_party/android_platform/bionic/tools/relocation_packer/test_data/elf_file_unittest_relocs_ia32_packed.so [new file with mode: 0644]
third_party/android_platform/bionic/tools/relocation_packer/test_data/elf_file_unittest_relocs_mips32.so [new file with mode: 0644]
third_party/android_platform/bionic/tools/relocation_packer/test_data/elf_file_unittest_relocs_mips32_packed.so [new file with mode: 0644]
third_party/android_platform/bionic/tools/relocation_packer/test_data/elf_file_unittest_relocs_x64.so [new file with mode: 0644]
third_party/android_platform/bionic/tools/relocation_packer/test_data/elf_file_unittest_relocs_x64_packed.so [new file with mode: 0644]
third_party/android_platform/relocation_packer.gyp