Bump version to 19.1.0-rc3
[llvm-project.git] / llvm / test / ExecutionEngine / RuntimeDyld / X86 / ELF_x86-64_PIC-small-relocations.s
blobdc2188afad089cb1acfdc116b15a08b9afda710e
1 # RUN: rm -rf %t && mkdir -p %t
2 # RUN: llvm-mc -triple=x86_64-unknown-freebsd -filetype=obj -o %t/testsmall_x86-64.o %s
3 # RUN: llvm-rtdyld -triple=x86_64-unknown-freebsd -verify -check=%s %t/testsmall_x86-64.o
5 .globl foo
6 .align 4, 0x90
7 foo:
8 retq
10 .globl main
11 .align 4, 0x90
12 main:
13 # Test PC-rel branch.
14 # rtdyld-check: decode_operand(insn1, 0) = foo - next_pc(insn1)
15 insn1:
16 callq foo