[lld][Hexagon] Add checks for instructions that can have TLS relocations
authorSid Manning <sidneym@quicinc.com>
Thu, 26 Aug 2021 15:18:33 +0000 (08:18 -0700)
committerSid Manning <sidneym@quicinc.com>
Wed, 1 Sep 2021 20:15:18 +0000 (13:15 -0700)
commit0d7e5daedcc6faf3247f7b3a7ed84f601efedf0e
tree41aede5b2cf4efbc2ad187939d340f943ac4775a
parenta79d7c2c85361276b61284475e5764ccd48e57dc
[lld][Hexagon] Add checks for instructions that can have TLS relocations

Several instructions with potential TLS relocations were missing.  This
issue was found when building the Canadian LLVM toolchain.
lld/ELF/Arch/Hexagon.cpp
lld/test/ELF/hexagon-tls-tprel.s [new file with mode: 0644]