[memprof] Remove an unused using directive (#117004)
[llvm-project.git] / lld / test / ELF / merge-relocatable.s
blobd376f4ca0b42276a1a325ca13c0988e4953f1c1d
1 # REQUIRES: x86
3 ## Test that we keep a SHT_REL[A] section which relocates a SHF_MERGE section
4 ## in -r mode. The relocated SHF_MERGE section is handled as non-mergeable.
6 # RUN: llvm-mc -filetype=obj -triple=x86_64 %s -o %t.o
7 # RUN: ld.lld -r %t.o -o %t
8 # RUN: llvm-readobj -S %t | FileCheck %s
10 # CHECK: Name: .rodata.cst8
11 # CHECK-NOT: }
12 # CHECK: Size: 16
13 # CHECK: Name: .rela.rodata.cst8
14 # CHECK-NOT: }
15 # CHECK: Size: 48
17 foo:
19 .section .rodata.cst8,"aM",@progbits,8,unique,0
20 .quad foo
22 .section .rodata.cst8,"aM",@progbits,8,unique,1
23 .quad foo