when creating an executable, always set global.params.objname = NULL

In that case, -of is just not supposed to name the object file.
This makes ldmd2 work with rdmd.