[PATCH] D11076: [ELF/AArch64] Fix export TLS dynamic symbol

Adhemerval Zanella adhemerval.zanella at linaro.org
Thu Jul 9 11:54:52 PDT 2015


zatrazz created this revision.
zatrazz added reviewers: ruiu, shankar.easwaran.
zatrazz added subscribers: llvm-commits, lld.
zatrazz added a project: lld.
Herald added subscribers: rengolin, aemerson.

This patch fixes the TLS dynamic variable exportation from .got.plt segments,
created by General-dynamic relocations (TLSDESC).  Current code only export
symbols in dynamic table from .got sections.

http://reviews.llvm.org/D11076

Files:
  lib/ReaderWriter/ELF/AArch64/AArch64ExecutableWriter.cpp
  lib/ReaderWriter/ELF/AArch64/AArch64RelocationPass.cpp
  lib/ReaderWriter/ELF/AArch64/AArch64SectionChunks.cpp
  lib/ReaderWriter/ELF/AArch64/AArch64SectionChunks.h
  lib/ReaderWriter/ELF/AArch64/AArch64TargetHandler.cpp
  lib/ReaderWriter/ELF/AArch64/AArch64TargetHandler.h
  test/elf/AArch64/general-dyn-tls-0.test

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D11076.29369.patch
Type: text/x-patch
Size: 7326 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20150709/c34f521e/attachment.bin>


More information about the llvm-commits mailing list