• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1# REQUIRES: x86
2# RUN: llvm-mc -filetype=obj -triple=x86_64-pc-linux %s -o %t.o
3
4# RUN: ld.lld --hash-style=sysv --no-rosegment -o %t %t.o -shared
5# RUN: llvm-readelf -S %t | FileCheck %s
6
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-NEXT: foo      {{.*}}  WA
13
14.section foo, "aw"
15.byte 0
16