Fangrui Song 80743bd43f [ELF] Fix /DISCARD/ .eh_frame regression after #179089
When .eh_frame is discarded while .eh_frame_hdr is not, #179089 caused a
crash for `/DISCARD/ : { *(.eh_frame) }`.

Simplify the PT_GNU_EH_FRAME condition from https://reviews.llvm.org/D30885 (2017).
2026-02-11 22:08:26 -08:00
..
2024-07-28 11:43:27 -07:00
2024-07-26 16:51:42 -07:00
2024-07-27 14:46:41 -07:00