[PATCH] D59097: [yaml2obj]Lookup relocation symbols in dynamic symbol when .dynsym referenced

James Henderson via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Thu Mar 7 08:58:38 PST 2019


jhenderson created this revision.
jhenderson added a reviewer: grimar.
Herald added a subscriber: jakehehrlich.
Herald added a project: LLVM.

This fixes https://bugs.llvm.org/show_bug.cgi?id=40337. Previously, it was always assumed that relocations referenced symbols in the static symbol table. Now, if the Link field references a section called ".dynsym" it will look up these symbols in the dynamic symbol table.


Repository:
  rL LLVM

https://reviews.llvm.org/D59097

Files:
  test/tools/yaml2obj/dynamic-relocations.yaml
  tools/yaml2obj/yaml2elf.cpp

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D59097.189728.patch
Type: text/x-patch
Size: 4951 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20190307/5e21d7c6/attachment.bin>


More information about the llvm-commits mailing list