RelocationTableBuilder.addRelaRelocation

size_t addRelaRelocation(ulong offset, uint symbolIndex, uint type, long addend)

Add a RELA relocation (with addend).

Parameters

offsetThe offset where the relocation applies.
symbolIndexThe symbol table index.
typeThe relocation type.
addendThe addend value.

Returns

The relocation's index in the table.