[memprof] Remove an unused using directive (#117004)
[llvm-project.git] / lld / test / ELF / emit-relocs-mergeable2.s
blob9f7ce7019ff65d4a13dfd17afde42256ca205794
1 # REQUIRES: x86
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
12 .globl _start
13 _start:
14 movq .Lfoo+8, %rax
15 .section .rodata.cst16,"aM",@progbits,16
16 .Lfoo:
17 .quad 0
18 .quad 0