This patch enables compressed input sections on big-endian targets by checking the target endianness and selecting an appropriate Chdr structure.
Fixes PR51369
Paths
| Differential D107635
[LLD] Support compressed input sections on big-endian targets ClosedPublic Authored by atanasyan on Aug 6 2021, 3:57 AM.
Details Summary This patch enables compressed input sections on big-endian targets by checking the target endianness and selecting an appropriate Chdr structure. Fixes PR51369
Diff Detail
Event TimelineComment Actions This LGTM, but I'm not an approver. I'll probably import this into FreeBSD if it's committed, though. This revision is now accepted and ready to land.Aug 6 2021, 9:38 AM This revision was landed with ongoing or failed builds.Aug 7 2021, 3:20 AM Closed by commit rGc6ebc651b6fa: [LLD] Support compressed input sections on big-endian targets (authored by atanasyan). · Explain Why This revision was automatically updated to reflect the committed changes.
Revision Contents
Diff 364744 lld/ELF/InputSection.h
lld/ELF/InputSection.cpp
lld/test/ELF/compressed-debug-input-err.s
lld/test/ELF/compressed-debug-input.s
|
clang-format: please reformat the code