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
13 # CHECK: Name: .rela.rodata.cst8
19 .section .rodata.cst8,"aM",@progbits,8,unique,0
22 .section .rodata.cst8,"aM",@progbits,8,unique,1