1# REQUIRES: x86 2# RUN: llvm-mc -filetype=obj -triple=x86_64-unknown-linux %p/Inputs/synthetic-symbols.s -o %t 3# RUN: ld.lld -o %t.exe --eh-frame-hdr --script %s %t 4 5SECTIONS { 6 .eh_frame_hdr : { 7 PROVIDE_HIDDEN(_begin_sec = .); 8 *(.eh_frame_hdr) 9 *(.eh_frame_hdr) 10 PROVIDE_HIDDEN(_end_sec_abs = ABSOLUTE(.)); 11 PROVIDE_HIDDEN(_end_sec = .); 12 } 13} 14