Add basic support for relocations and writing ELF .o files.