2 # RUN: llvm-mc -filetype=obj -triple=x86_64-unknown-linux %s -o %t1.o
3 # RUN: llvm-mc -filetype=obj -triple=x86_64-unknown-linux %p/Inputs/shared.s -o %t2.o
4 # RUN: ld.lld -shared %t2.o -o %t2.so
5 # RUN: ld.lld --hash-style=sysv %t1.o %t2.so -o %t.out
6 # RUN: llvm-readobj -S -r %t.out | FileCheck %s
9 # CHECK-NOT: Name: .plt
11 # CHECK: Relocations [
12 # CHECK-NEXT: Section ({{.*}}) .rela.dyn {
13 # CHECK-NEXT: R_X86_64_GLOB_DAT bar 0x0
14 # CHECK-NEXT: R_X86_64_GLOB_DAT zed 0x0
20 movq bar@GOTPCREL
(%rip
), %rcx
21 movq zed@GOTPCREL
(%rip
), %rcx