1 # RUN: llvm-mc -triple riscv64 -filetype obj -o - %s | llvm-readobj -r - | FileCheck %s
3 .section __jump_table,"aw",@progbits
6 .quad (function+128)-.Ltmp0
8 # CHECK: .rela__jump_table {
9 # CHECK: 0x0 R_RISCV_ADD64 function 0x80
10 # CHECK-NEXT: 0x0 R_RISCV_SUB64 .Ltmp0 0x0