ld -O' (as in bsd.lib.mk).
non-problems for elf -- `ld -elf -O foo.tmp -x -r foo' apparently puts the result in a.out so it has essentially no effect.