Initial implementation of llvm-ld: stolen from gccld.