devel/llvm12: lld fix compressed input sections
Apply upstream lld fix for compressed input sections on BE targets
[LLD] Support compressed input sections on big-endian targets This patch enables compressed input sections on big-endian targets by checking the target endianness and selecting an appropriate `Chdr` structure. Fixes PR51369 Differential Revision: https://reviews.llvm.org/D107635
MFH: 2021Q3
Sponsored by: DARPA