encodeRelocationWithAddend
fn
void 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
rela | The generic relocation with addend to encode. |
data | Destination buffer. |
offset | Starting offset in data. |
cls | Target ELF class (32-bit or 64-bit). |
endian | Target byte order. |