-
Notifications
You must be signed in to change notification settings - Fork 73
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
libbootimg: Add support for 64bits Sony ELF format
* Compatibility for the ELF partition used on the msm8996 devices like the Xperia X Performance * Structures aligned with 64bits addresses, offsets and sizes to match Stock bootimage * Usage of "__attribute__((packed))" to avoid structures padding breakage * Add the VER_ELF_4 identifier * Properly convert 32bits -> 64bits and reverse * Use the 64bits structures as main data * Add the libbootimg_load_elf_header function to separate the ELF header handling Change-Id: I40559ecc32833aed7b3ca7f3ebf8d53b9bc9b471 Signed-off-by: Adrian DC <[email protected]>
- Loading branch information
Showing
3 changed files
with
382 additions
and
54 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.