On Fri, Aug 7, 2020 at 10:08 AM Noel Chiappa <jnc@mercury.lcs.mit.edu> wrote:
    > From: Warner Losh
    > The error comes from lookloc. This is called for external type
    > relocations. It searches the local symbol table for something that
    > matches the relocation entry. This error happens when it can't find
    > it...

Someone who actually looked at the source:

  https://www.tuhs.org/cgi-bin/utree.pl?file=V7/usr/src/cmd/ld.c

instead of just guessing. Give that man a star!

I've spent some time in ld.c lately:
https://github.com/bsdimp/mk211bsd/blob/master/hints/160.ld.diff
since I had to retro-fit the new archive support into the 2.10.1BSD + patches posted to comp.bugs.2bsd version of ld I needed for 2.11BSDpl0 :)  Ideally, nobody would be able to tell my retrofits from the usenet patch that's also in this diff...

Warner