mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2024-10-24 13:33:37 +02:00
a49e5cd052
Add an additional test case to ensure that we generate the relocation even if the thumb target is used. llvm-svn: 225509
13 lines
326 B
ArmAsm
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
|