Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Bug 1378986 - Adjust the fake phdr section properly. r=froydnj
The PT_PHDR segment is optional, but the Android toolchain decides to create one in some cases, and places it first. When that happens, the work around for bug 1233963 fails, because the fake phdr section has not been adjusted yet (it only happens when we see a PT_LOAD). So we adjust the fake phdr section when we see a PT_PHDR segment (and avoid re-updating it when we see a subsequent PT_LOAD).
- Loading branch information