1 # RUN: llvm-mc -filetype=obj -triple riscv32 < %s \
2 # RUN: | llvm-objdump -d - | FileCheck --check-prefix=INSTR %s
3 # RUN: llvm-mc -filetype=obj -triple riscv32 < %s \
4 # RUN: | llvm-readobj -r - | FileCheck -check-prefix=RELOC %s
5 # RUN: llvm-mc -triple riscv32 < %s -show-encoding \
6 # RUN: | FileCheck -check-prefix=FIXUP %s
11 # RELOC: R_RISCV_CALL foo 0x0
14 # FIXUP: fixup A - offset: 0, value: foo, kind: fixup_riscv_call
16 # Ensure that jumps to symbols whose names coincide with register names work.
19 # RELOC: R_RISCV_CALL zero 0x0
22 # FIXUP: fixup A - offset: 0, value: zero, kind: fixup_riscv_call
28 # FIXUP: fixup A - offset: 0, value: .Ltmp0, kind: fixup_riscv_call