[PATCH] D74443: [lld][Hexagon] convert call x at GDPLT to call __tls_get_addr

Sid Manning via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Mon Mar 9 14:03:36 PDT 2020


sidneym updated this revision to Diff 249200.
sidneym added a comment.

- Add the missing colon's that kept the part of the testcase from running.
- Move the find of __tls_get_addr outside of the loop and return if it is not found.
- Make __tls_get_addr preemptible.  If isPreemptible is not set that symbol's symbol index is 0, since part of the testcase wasn't running, the missing colon's, I missed this.
- Change the case of the variables.




Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D74443/new/

https://reviews.llvm.org/D74443

Files:
  lld/ELF/Arch/Hexagon.cpp
  lld/ELF/Relocations.cpp
  lld/ELF/Relocations.h
  lld/ELF/Writer.cpp
  lld/test/ELF/hexagon-tls-gd-xform.s

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D74443.249200.patch
Type: text/x-patch
Size: 5856 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20200309/ebb0c27f/attachment.bin>


More information about the llvm-commits mailing list