This is a follow up to https://reviews.llvm.org/D87758, implementing the missing symbol part, as done by binutils. Differential Revision: https://reviews.llvm.org/D89687
Fix http://lab.llvm.org:8011/#/builders/69/builds/67