edminiv2: add support for ELF relocations