Oops, wrong patch for the previous.
OpenBSD's nm(1) shows dynamic symbols by default and thus lack -D.