1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2024-10-24 13:33:37 +02:00
llvm-mirror/test/MC/ARM/reloc-abs8.s
Saleem Abdulrasool a49e5cd052 test: add additional test for SVN r225507
Add an additional test case to ensure that we generate the relocation even if
the thumb target is used.

llvm-svn: 225509
2015-01-09 06:57:18 +00:00

13 lines
326 B
ArmAsm

@ RUN: llvm-mc -triple armv7-eabi -filetype obj -o - %s | llvm-objdump -r - \
@ RUN: | FileCheck %s
@ RUN: llvm-mc -triple thumbv7-eabi -filetype obj -o - %s | llvm-objdump -r - \
@ RUN: | FileCheck %s
.syntax unified
.byte abs8_0 -128
.byte abs8_1 +255
@ CHECK: 0 R_ARM_ABS8 abs8_0
@ CHECK: 1 R_ARM_ABS8 abs8_1