Descriptioncrazy linker: Fix RELRO sharing with packed relocations.
Packed relative relocations do not currently participate in
relocation of shared RELRO pages into a service process's load
addresses. This undermines RELRO sharing, by reducing the
number of swapped RELRO pages (often to zero).
Fix by processing packed relative relocations a second time when
relocating shared RELRO pages. Also, tidy up and rationalize
some duplicated code through use of templates.
BUG=385553
Committed: https://crrev.com/733a3f04a20043a7afb55c1a25d14dbaf869b913
Cr-Commit-Position: refs/heads/master@{#326773}
Patch Set 1 #Patch Set 2 : Rebase to master. #
Messages
Total messages: 8 (3 generated)
|