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

Fangrui Song via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Tue Feb 25 10:00:34 PST 2020


MaskRay added a comment.

> The method Hexagon uses is similar to 32-bit SPARC.

Can you explain how 32-bit SPARC do this? What about 64-bit SPARC?



================
Comment at: lld/test/ELF/hexagon-tls-gd-xform.s:2
+# REQUIRES: hexagon
+# RUN: llvm-mc -filetype=obj -defsym GDPLT=1 -triple=hexagon-unknown-elf \
+# RUN:   %s -o %t.o
----------------
It can be on the same line.


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D74443





More information about the llvm-commits mailing list