27 lines · plain
1# RUN: rm -rf %t && mkdir -p %t2# RUN: llvm-mc -triple=bpfel -filetype=obj -o %t/test_reloc_abs64.o %s3# RUN: llvm-rtdyld -triple=bpfel -verify -check=%s %t/test_reloc_abs64.o4 5# test R_BPF_64_ABS64 which should have relocation resolved properly.6 7 .text8 .file "t1.c"9 .globl g # -- Begin function g10 .p2align 311 .type g,@function12g: # @g13 r0 = 014 exit15.Lfunc_end0:16 .size g, .Lfunc_end0-g17 # -- End function18 .type gbl,@object # @gbl19 .data20 .globl gbl21 .p2align 322gbl:23 .quad g24 .size gbl, 825 26# rtdyld-check: *{8}gbl = section_addr(test_reloc_abs64.o, .text)27