Bump version to 19.1.0-rc3
[llvm-project.git] / llvm / test / ExecutionEngine / RuntimeDyld / BPF / abs64-relocation.s
blob6e7d1c16e351145bad42603457e9b895f844f230
1 # RUN: rm -rf %t && mkdir -p %t
2 # RUN: llvm-mc -triple=bpfel -filetype=obj -o %t/test_reloc_abs64.o %s
3 # RUN: llvm-rtdyld -triple=bpfel -verify -check=%s %t/test_reloc_abs64.o
5 # test R_BPF_64_ABS64 which should have relocation resolved properly.
7 .text
8 .file "t1.c"
9 .globl g # -- Begin function g
10 .p2align 3
11 .type g,@function
12 g: # @g
13 r0 = 0
14 exit
15 .Lfunc_end0:
16 .size g, .Lfunc_end0-g
17 # -- End function
18 .type gbl,@object # @gbl
19 .data
20 .globl gbl
21 .p2align 3
22 gbl:
23 .quad g
24 .size gbl, 8
26 # rtdyld-check: *{8}gbl = section_addr(test_reloc_abs64.o, .text)