encodeRelocationWithAddend

fnvoid encodeRelocationWithAddend(ref const RelocationWithAddend rela, ubyte[] data, size_t offset, ElfClass cls, ElfEndian endian)

Encode a relocation entry with addend into target ELF wire bytes.

Parameters

relaThe generic relocation with addend to encode.
dataDestination buffer.
offsetStarting offset in data.
clsTarget ELF class (32-bit or 64-bit).
endianTarget byte order.