HomeFreeBSD

devel/llvm12: lld fix compressed input sections

Description

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

Details

Provenance
brooksAuthored on Aug 10 2021, 8:37 PM
Parents
R11:c2a4ab17ef5e: security/snort: Fixes for aarch64 and armv6/7
Branches
Unknown
Tags
Unknown