Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(244)

Issue 1072533002: crazy linker: convert relocation unpacking to Android style. (Closed)

Created:
5 years, 8 months ago by simonb (inactive)
Modified:
5 years, 6 months ago
Reviewers:
Nico, rmcilroy
CC:
chromium-reviews
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

crazy linker: convert relocation unpacking to Android style. Replace relocation unpacking code with functions that understand the packing format generated by the Android relocation packer. Switch to using the Android relocation packer when packing during build. BUG=385553 Committed: https://crrev.com/e5acfbccce659364606758b687b90488e2f44be2 Cr-Commit-Position: refs/heads/master@{#333293}

Patch Set 1 #

Total comments: 18

Patch Set 2 : Rebase to master #

Patch Set 3 : Update for review feedback #

Patch Set 4 : More review feedback #

Patch Set 5 : Add gyp changes to switch packer tool. #

Patch Set 6 : Rebase to master. #

Patch Set 7 : Updates to gn to match gyp. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+438 lines, -548 lines) Patch
M build/all.gyp View 1 2 3 4 1 chunk +2 lines, -2 lines 0 comments Download
M build/android/gyp/pack_arm_relocations.py View 1 2 3 4 5 chunks +11 lines, -41 lines 0 comments Download
M build/android/pack_arm_relocations.gypi View 1 2 3 4 3 chunks +5 lines, -14 lines 0 comments Download
M build/config/android/rules.gni View 1 2 3 4 5 6 2 chunks +1 line, -4 lines 0 comments Download
M third_party/android_crazy_linker/README.chromium View 1 2 3 4 5 1 chunk +2 lines, -0 lines 0 comments Download
M third_party/android_crazy_linker/src/src/crazy_linker_elf_loader.cpp View 1 2 3 4 1 chunk +1 line, -1 line 0 comments Download
M third_party/android_crazy_linker/src/src/crazy_linker_elf_relocations.h View 1 2 3 3 chunks +46 lines, -64 lines 0 comments Download
M third_party/android_crazy_linker/src/src/crazy_linker_elf_relocations.cpp View 1 2 3 4 16 chunks +356 lines, -274 lines 0 comments Download
M third_party/android_crazy_linker/src/src/crazy_linker_leb128.h View 1 2 2 chunks +14 lines, -35 lines 0 comments Download
M third_party/android_crazy_linker/src/src/crazy_linker_shared_library.h View 1 2 3 4 1 chunk +0 lines, -5 lines 0 comments Download
M third_party/android_crazy_linker/src/src/crazy_linker_shared_library.cpp View 1 2 3 4 6 chunks +0 lines, -108 lines 0 comments Download

Messages

Total messages: 20 (7 generated)
simonb (inactive)
5 years, 8 months ago (2015-04-08 16:45:24 UTC) #2
rmcilroy
Looks good overall. A few unit-test would be nice though. https://codereview.chromium.org/1072533002/diff/1/third_party/android_crazy_linker/src/src/crazy_linker_elf_relocations.cpp File third_party/android_crazy_linker/src/src/crazy_linker_elf_relocations.cpp (right): https://codereview.chromium.org/1072533002/diff/1/third_party/android_crazy_linker/src/src/crazy_linker_elf_relocations.cpp#newcode457 ...
5 years, 8 months ago (2015-04-13 10:36:10 UTC) #3
simonb (inactive)
Thanks for the comments. Updates in patch set 4, PTAL when ready. https://codereview.chromium.org/1072533002/diff/1/third_party/android_crazy_linker/src/src/crazy_linker_elf_relocations.cpp File third_party/android_crazy_linker/src/src/crazy_linker_elf_relocations.cpp ...
5 years, 7 months ago (2015-04-28 14:39:42 UTC) #4
rmcilroy
lgtm once Arm64 issues are addressed. https://codereview.chromium.org/1072533002/diff/1/third_party/android_crazy_linker/src/src/crazy_linker_elf_relocations.cpp File third_party/android_crazy_linker/src/src/crazy_linker_elf_relocations.cpp (right): https://codereview.chromium.org/1072533002/diff/1/third_party/android_crazy_linker/src/src/crazy_linker_elf_relocations.cpp#newcode479 third_party/android_crazy_linker/src/src/crazy_linker_elf_relocations.cpp:479: AndroidPackedRelocationGroupFlags group_flags(decoder->pop_front()); On ...
5 years, 7 months ago (2015-05-01 14:15:22 UTC) #5
simonb (inactive)
Arm64 issue solved by: https://codereview.chromium.org/1155973005/ Patch set 5 adds gyp file changes to switch builds ...
5 years, 6 months ago (2015-06-05 16:56:05 UTC) #6
rmcilroy
On 2015/06/05 16:56:05, simonb wrote: > Arm64 issue solved by: > https://codereview.chromium.org/1155973005/ > > Patch ...
5 years, 6 months ago (2015-06-05 17:12:09 UTC) #7
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1072533002/100001
5 years, 6 months ago (2015-06-08 10:23:28 UTC) #10
commit-bot: I haz the power
Try jobs failed on following builders: chromium_presubmit on tryserver.chromium.linux (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.linux/builders/chromium_presubmit/builds/69064)
5 years, 6 months ago (2015-06-08 10:30:37 UTC) #12
simonb (inactive)
Adding thakis@ for build LGTM: ** Presubmit ERRORS ** Missing LGTM from an OWNER for ...
5 years, 6 months ago (2015-06-08 10:33:41 UTC) #14
Nico
build lgtm
5 years, 6 months ago (2015-06-08 16:47:55 UTC) #15
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1072533002/120001
5 years, 6 months ago (2015-06-08 17:03:02 UTC) #18
commit-bot: I haz the power
Committed patchset #7 (id:120001)
5 years, 6 months ago (2015-06-08 18:11:37 UTC) #19
commit-bot: I haz the power
5 years, 6 months ago (2015-06-08 18:12:28 UTC) #20
Message was sent while issue was closed.
Patchset 7 (id:??) landed as
https://crrev.com/e5acfbccce659364606758b687b90488e2f44be2
Cr-Commit-Position: refs/heads/master@{#333293}

Powered by Google App Engine
This is Rietveld 408576698