1 # RUN: llvm-mc -filetype=obj -triple riscv32 -mattr=+relax < %s \
2 # RUN: | llvm-readobj -r - | FileCheck %s
3 # RUN: llvm-mc -filetype=obj -triple riscv32 -mattr=-relax < %s \
4 # RUN: | llvm-readobj -r - | FileCheck %s
6 # Ensure that the eh_frame records the symbolic difference with the paired
14 # CHECK: Section (4) .rela.eh_frame {
15 # CHECK-NEXT: 0x1C R_RISCV_32_PCREL - 0x0
16 # CHECK-NEXT: 0x20 R_RISCV_ADD32 - 0x0
17 # CHECK-NEXT: 0x20 R_RISCV_SUB32 - 0x0