static ElfRelocation createElfRelocation(BinaryReader reader, ElfHeader elfHeader,
			int relocationIndex, boolean withAddend) throws IOException {
		Class<? extends ElfRelocation> elfRelocationClazz = getElfRelocationClass(elfHeader);
		ElfRelocation elfRelocation = getInstance(elfRelocationClazz);
		elfRelocation.initElfRelocation(reader, elfHeader, relocationIndex, withAddend);
		return elfRelocation;
	}
Factory construction and initialization method for a ELF relocation entry
@param reader binary reader positioned at start of relocation entry.
@param elfHeader ELF header
@param relocationIndex index of entry in relocation table
@param withAddend true if it's a RELA entry with addend, else false
@return ELF relocation object
@throws IOException if an IO or parse error occurs
Ghidra/Features/Base/src/main/java/ghidra/app/util/bin/format/elf/ElfRelocation.java