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
..
2025-05-25 21:09:55 -07:00
2024-08-30 10:50:56 -04:00
2023-08-21 09:11:51 -07:00
2024-01-22 09:09:46 -08:00
2024-07-28 12:38:10 -07:00
2024-06-14 23:20:50 -07:00
2023-07-25 17:06:07 +08:00
2023-07-25 17:06:07 +08:00
2024-11-23 12:46:35 -08:00
2025-09-04 01:38:46 +00:00
2023-07-18 17:57:31 -07:00
2024-11-29 13:00:36 -08:00
2024-07-31 12:57:23 -07:00
2026-02-04 20:29:54 -08:00