[Hexagon] Add R_HEX_GD_PLT_B22/32_PCREL relocations
authorSid Manning <sidneym@quicinc.com>
Tue, 28 Apr 2020 20:43:54 +0000 (15:43 -0500)
committerSid Manning <sidneym@quicinc.com>
Tue, 5 May 2020 16:47:51 +0000 (11:47 -0500)
commit0e6536fd97f999096ec3cb29aebf89ea56d56193
tree836947dc1a14f1ff569181f9e7ea9c98ddcdcd74
parent86dfbc676ebe4f46f9cff629f0fe21fa65bd0f97
[Hexagon] Add R_HEX_GD_PLT_B22/32_PCREL relocations

Extended versions of GD_PLT_B22_PCREL. These surface when -mlong-calls
is used.

Differential Revision: https://reviews.llvm.org/D79191
lld/ELF/Arch/Hexagon.cpp
lld/ELF/Relocations.cpp
lld/test/ELF/hexagon-tls-gd-nonpreemptible.s