Skip to content
Snippets Groups Projects
Commit 1f61c033 authored by Nico Dechesne (Stage)'s avatar Nico Dechesne (Stage)
Browse files

Add support for ELF64


ELF32 was assumed so far, and a few hard coded constants were used. In this
patch, we avoid hardcoding and header size which are different for ELF32 and
ELF64.

Use elfio.get_class() to set the output file ELF class so that it matches the
input file ELF class.

signlk needs the section size header to compute the offset where the data needs
to be inserted, so a new file is created which contains the section size which
is different on ELF32 and ELF64.

Signed-off-by: default avatarNicolas Dechesne <nicolas.dechesne@linaro.org>
parent 059f3f27
Branches 64bit
No related tags found
No related merge requests found
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment