I don’t understand R_X86_64_64 relocation
This is what the System V ABI specifies:
Why are some ELF sections mapped to multiple segments
When using readelf on a simple android ndk binary I get section to segment mapping where sections seem to be mapped to multiple segments. E.g. .note.gnu.build-id
, .note.android.ident
, .eh_frame_hdr
, .dynamic
, .got
, …
Create an ELF file which resolves some symbols lazily and other symbols immediately
A dynamically linked ELF file resolves the symbols at runtime. Either it does so immediately at startup to resolve all symbols or they get lazily resolved whenever a symbol is actually being called.