2 # RUN: llvm-mc -filetype=obj -triple=x86_64-pc-linux %s -o %t.o
4 # RUN: ld.lld --hash-style=sysv --no-rosegment -o %t %t.o -shared
5 # RUN: llvm-readelf -S %t | FileCheck %s
7 # CHECK: .dynsym {{.*}} A
8 # CHECK-NEXT: .hash {{.*}} A
9 # CHECK-NEXT: .dynstr {{.*}} A
10 # CHECK-NEXT: .text {{.*}} AX
11 # CHECK-NEXT: .dynamic {{.*}} WA
12 # CHECK: foo {{.*}} WA