RelocationTableBuilder.addRelRelocation

size_t addRelRelocation(ulong offset, uint symbolIndex, uint type)

Add a REL relocation (without addend).

Parameters

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

Returns

The relocation's index in the table.