HomePhabricator

[ELF][ARM] Allow PT_LOAD to have overlapping p_offset ranges on EM_ARM

Authored by MaskRay on Aug 27 2019, 4:52 AM.

Description

[ELF][ARM] Allow PT_LOAD to have overlapping p_offset ranges on EM_ARM

Port the D64906 technique to ARM. It deletes 3 alignments at
PT_LOAD boundaries for the default case: the size of an arm binary
decreases by at most 12kb.

Reviewed By: grimar

Differential Revision: https://reviews.llvm.org/D66749

llvm-svn: 370049