[lld][Hexagon] Support PLT relocation R_HEX_B15_PCREL_X/R_HEX_B9_PCREL_X
authorSid Manning <sidneym@quicinc.com>
Tue, 8 Oct 2019 14:23:49 +0000 (14:23 +0000)
committerSid Manning <sidneym@quicinc.com>
Tue, 8 Oct 2019 14:23:49 +0000 (14:23 +0000)
commitaca5d395d541b4adb9a9808984da24044e0b4ac7
tree04aca70d0cd7e9e7dca4934b1fc78dd303430e3a
parent6e0b1ce48e3cf95f447b932b03d8294903aa56e0
[lld][Hexagon] Support PLT relocation R_HEX_B15_PCREL_X/R_HEX_B9_PCREL_X

These are sometimes generated by tail call optimizations.

Differential Revision: https://reviews.llvm.org/D66542

llvm-svn: 374052
lld/ELF/Arch/Hexagon.cpp
lld/test/ELF/hexagon-plt.s [new file with mode: 0644]
lld/test/ELF/hexagon-shared.s