1# REQUIRES: x86 2# RUN: llvm-mc -filetype=obj -triple=x86_64 /dev/null -o %t1.o 3# RUN: ld.lld %t1.o -shared -o %t1.so 4# RUN: llvm-mc -filetype=obj -triple=x86_64 %s -o %t.o 5# RUN: ld.lld %t.o %t1.so -o %t -pie 6# RUN: llvm-readobj --dyn-relocations %t | FileCheck %s 7 8# CHECK: Dynamic Relocations { 9# CHECK-NEXT: R_X86_64_JUMP_SLOT w 0x0 10# CHECK-NEXT: } 11 12.globl _start 13_start: 14 15.weak w 16call w@PLT 17