Support for writing out ELF relocations