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
MFC after: 3 days

(cherry picked from commit d69d07569ee2404705ff4c4abb45dc0b884eeb35)

Details

Provenance
dimAuthored on Aug 7 2021, 11:14 AM
Parents
rGf5be08129b2e: Add missing bsd.linker.mk include after 31ba4ce8898f9dfa5e7f054fdbc26e50a599a6e3
Branches
Unknown
Tags
Unknown