[PATCH] [ELF] LLD does not create a record in the .dynsym if a strong symbol defined in the executable file replaces a weak symbol from a shared library.

Simon Atanasyan simon at atanasyan.com
Tue Aug 5 11:26:13 PDT 2014


Symbols require to be exported is now tagged using an ELFReference.

http://reviews.llvm.org/D4789

Files:
  include/lld/Core/LinkingContext.h
  include/lld/Core/Reference.h
  include/lld/Core/Resolver.h
  include/lld/ReaderWriter/ELFLinkingContext.h
  lib/Core/LinkingContext.cpp
  lib/Driver/Driver.cpp
  lib/ReaderWriter/ELF/Atoms.h
  lib/ReaderWriter/ELF/DefaultTargetHandler.h
  lib/ReaderWriter/ELF/ELFLinkingContext.cpp
  lib/ReaderWriter/ELF/ELFResolver.h
  lib/ReaderWriter/ELF/TargetHandler.h
  lib/ReaderWriter/Reader.cpp
  test/elf/X86_64/dynsym-weak.test
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D4789.12206.patch
Type: text/x-patch
Size: 12945 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20140805/b3251753/attachment.bin>


More information about the llvm-commits mailing list