2 # RUN: llvm-mc -filetype=obj -triple=x86_64-pc-linux %s -o %t.o
3 # RUN: ld.lld -r %t.o %t.o -o %t 2>&1 | FileCheck --check-prefix=WARN %s
4 # RUN: llvm-readobj -r %t | FileCheck %s
5 # RUN: ld.lld %t -o %t.so -shared
6 # RUN: llvm-objdump -h %t.so | FileCheck --check-prefix=DSO %s
8 # WARN: STT_SECTION symbol should be defined
10 # DSO: .eh_frame 00000034
12 # CHECK: Relocations [
13 # CHECK-NEXT: Section ({{.*}}) .rela.eh_frame {
14 # CHECK-NEXT: 0x20 R_X86_64_PC32 .foo 0x0
15 # CHECK-NEXT: 0x50 R_X86_64_NONE - 0x0
19 .section .foo,"aG",@progbits,bar,comdat