Run DCE after a LoopFlatten test to reduce spurious output [nfc]
[llvm-project.git] / lld / test / ELF / sort-norosegment.s
blob9a1836820ef1fa7b0efa95dfc00b10ba1cac5e86
1 # REQUIRES: x86
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
14 .section foo, "aw"
15 .byte 0