Write/Append a relocatable value to the given segment and offset.
Input:
targseg = the target segment for the relocation
offset = offset within target segment
reltype = ELF relocation type R_ARCH_XXXX
symidx = symbol base for relocation
val = addend or displacement from symbol
Write/Append a relocatable value to the given segment and offset. Input: targseg = the target segment for the relocation offset = offset within target segment reltype = ELF relocation type R_ARCH_XXXX symidx = symbol base for relocation val = addend or displacement from symbol