xref: /llvm-project/lld/test/ELF/linkerscript/eh-frame-emit-relocs.s (revision f0374e7db2dd6effa9d38894522e7fcc6ebe53ac)
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