1@ RUN: llvm-mc -triple armv7-eabi -filetype obj -o - %s | llvm-readobj -r - \ 2@ RUN: | FileCheck %s 3@ RUN: llvm-mc -triple thumbv7-eabi -filetype obj -o - %s | llvm-readobj -r - \ 4@ RUN: | FileCheck %s 5 6 .syntax unified 7 8 .section .text.r_arm_abs8 9 10 .byte abs8_0 -128 11 .byte abs8_1 +255 12 13@ CHECK: Section {{.*}} .rel.text.r_arm_abs8 { 14@ CHECK: 0x0 R_ARM_ABS8 abs8_0 0x0 15@ CHECK: 0x1 R_ARM_ABS8 abs8_1 0x0 16@ CHECK: } 17 18 .section .text.r_arm_abs16 19 20 .short abs16_0 -32768 21 .short abs16_1 +65535 22 23@ CHECK: Section {{.*}} .rel.text.r_arm_abs16 { 24@ CHECK: 0x0 R_ARM_ABS16 abs16_0 0x0 25@ CHECK: 0x2 R_ARM_ABS16 abs16_1 0x0 26@ CHECK: } 27 28 .section .text.r_arm_sbrel32 29 30 .word target(sbrel) 31 .word target(SBREL) 32 33@ CHECK: Section {{.*}} .rel.text.r_arm_sbrel32 { 34@ CHECK: 0x0 R_ARM_SBREL32 target 0x0 35@ CHECK: 0x4 R_ARM_SBREL32 target 0x0 36@ CHECK: } 37 38