Adjust addends rather than targets for RELA configurations.
Relocations with addend use the addend rather that the location pointed to by the relocation as the target of the relocations. For RELA relocations, ignore the target and instead adjust the addend for the hole being created in the file. Change unit test data accordingly. Ensure that sections we resize are never zero-length when we load the Elf file, and that we never set either to zero-length on packing. BUG=385553 Review URL: https://codereview.chromium.org/423393010 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@287354 0039d316-1c4b-4281-b951-d872f2087c98
Showing
No preview for this file type
Please register or sign in to comment