[PATCH] D33041: [ELF] - Set DF_STATIC_TLS flag for x86_64 target.

George Rimar via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Wed May 10 08:05:36 PDT 2017


grimar created this revision.

DF_STATIC_TLS
If set in a shared object or executable, this flag instructs the dynamic linker to reject attempts to load this file dynamically. It indicates that the shared object or executable contains code using a static thread-local storage scheme. Implementations need not support any form of thread-local storage.

The is same as https://reviews.llvm.org/D32354, but for x86_64 target.


https://reviews.llvm.org/D33041

Files:
  ELF/Target.cpp
  test/ELF/Inputs/x86-64-static-tls-model1.s
  test/ELF/Inputs/x86-64-static-tls-model2.s
  test/ELF/tls-dynamic.s
  test/ELF/tls-got.s
  test/ELF/tls-initial-exec-local.s
  test/ELF/x86_64-static-tls-model.s

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D33041.98458.patch
Type: text/x-patch
Size: 7252 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20170510/a6fd4e61/attachment.bin>


More information about the llvm-commits mailing list