Revert "[ELF][PPC64] Don't perform toc-indirect to toc-relative relax... "
authorSean Fertile <sd.fertile@gmail.com>
Wed, 29 Apr 2020 13:27:54 +0000 (09:27 -0400)
committerSean Fertile <sd.fertile@gmail.com>
Wed, 29 Apr 2020 14:30:35 +0000 (10:30 -0400)
commitf9106e85c424756bcd1378d6a00bb582cc2114bb
tree825d87b4459dfad8a5832dcfd966d2aa5f3b71dc
parent2cf69684fb3089a2cde46fc9eac22dd6b8475b5f
Revert "[ELF][PPC64] Don't perform toc-indirect to toc-relative relax... "

This reverts commit 03ffe5860549e97a0f2d8262b100e8910f61c528.

Full tile of reverted commit is:
[ELF][PPC64] Don't perform toc-indirect to toc-relative relaxation for
R_PPC64_TOC16_HA not followed by R_PPC64_TOC16_LO_DS

Breaks the multistage lld PowerPC buildbot.
lld/ELF/InputSection.cpp
lld/test/ELF/ppc64-toc-relax2.s [deleted file]