1# REQUIRES: x86 2# RUN: echo "SECTIONS { .foo : { *(.eh_frame) } }" > %t.script 3# RUN: llvm-mc -filetype=obj -triple=x86_64-unknown-linux %s -o %t.o 4# RUN: ld.lld --emit-relocs %t.o -T %t.script -o %t 5# RUN: llvm-objdump --section-headers %t | FileCheck %s 6 7# CHECK-NOT: eh_frame 8# CHECK: .rela.foo 9# CHECK-NOT: eh_frame 10 11.text 12 .cfi_startproc 13 .cfi_endproc 14