3 ## By default local symbols are discarded from SHF_MERGE sections.
4 ## With --emit-relocs we should keep them.
6 # RUN: llvm-mc -filetype=obj -triple=x86_64-unknown-linux %s -o %t.o
7 # RUN: ld.lld --emit-relocs %t.o -o %t.exe
8 # RUN: llvm-readobj --relocations %t.exe | FileCheck %s
10 # CHECK: R_X86_64_32S .Lfoo 0x8
15 .section .rodata.cst16,"aM",@progbits,16