Run DCE after a LoopFlatten test to reduce spurious output [nfc]
[llvm-project.git] / lld / test / ELF / relocation-in-merge.s
blobe919aea539fd242a2dd921446a108f79bf5aad9e
1 // REQUIRES: x86
2 // RUN: llvm-mc %s -o %t.o -filetype=obj -triple=x86_64-pc-linux
3 // RUN: ld.lld %t.o -o %t -shared
4 // RUN: llvm-objdump --section-headers %t | FileCheck %s
6 // Test that we accept this by just not merging the section.
7 // CHECK: .foo 00000008
9 bar:
10 .section .foo,"aM",@progbits,8
11 .long bar - .
12 .long bar - .