[PATCH] D39392: Do not add weak undefined symbols to .dynsym unless -pic or -shared are given.

Rui Ueyama via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Fri Oct 27 14:48:32 PDT 2017


ruiu created this revision.
Herald added a subscriber: emaste.

Do not add weak undefined symbols to .dynsym unless -pic or -shared are given.


https://reviews.llvm.org/D39392

Files:
  lld/ELF/Relocations.cpp
  lld/ELF/Symbols.cpp
  lld/test/ELF/weak-undef-export.s
  lld/test/ELF/weak-undef-pic-nopic.s

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D39392.120704.patch
Type: text/x-patch
Size: 5972 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20171027/d7ab0f1c/attachment.bin>


More information about the llvm-commits mailing list