17 lines · plain
1# REQUIRES: x862# RUN: llvm-mc -filetype=obj -triple=x86_64 /dev/null -o %t1.o3# RUN: ld.lld %t1.o -shared -o %t1.so4# RUN: llvm-mc -filetype=obj -triple=x86_64 %s -o %t.o5# RUN: ld.lld %t.o %t1.so -o %t -pie6# RUN: llvm-readobj --dyn-relocations %t | FileCheck %s7 8# CHECK: Dynamic Relocations {9# CHECK-NEXT: R_X86_64_JUMP_SLOT w 0x010# CHECK-NEXT: }11 12.globl _start13_start:14 15.weak w16call w@PLT17