HomeFreeBSD

Apply upstream lld fix for compressed input sections on BE targets

Description

Apply upstream lld fix for compressed input sections on BE targets

Merge commit c6ebc651b6fa from llvm git (by Simon Atanasyan):

[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

Reported by: emaste

(cherry picked from commit d69d07569ee2404705ff4c4abb45dc0b884eeb35)

Follow-up to d69d07569ee2 by bumping lld local version

This makes it easier to detect that lld's support for compressed input
sections on BE targets is fixed.

(cherry picked from commit cd38d9cf26db9264f709c52469f0f4e9684d62bb)

Details

Provenance
dimAuthored on Aug 7 2021, 11:14 AM
Parents
rG94cb19f46114: null_vput_pair(): release use reference on dvp earlier
Branches
Unknown
Tags
Unknown