diff options
author | Dimitry Andric <dimitry@andric.com> | 2020-05-12 12:33:15 +0200 |
---|---|---|
committer | Tom Stellard <tstellar@redhat.com> | 2020-05-19 12:16:37 -0700 |
commit | f79cd71e145c6fd005ba4dd1238128dfa0dc2cb6 (patch) | |
tree | aebbd0b82f50859fb68d2fcbefe3a47adbe316f9 /llvm/test/MC/ARM | |
parent | f3164f752708753323e2e6a8d17e703cfeb69be6 (diff) | |
download | bcm5719-llvm-f79cd71e145c6fd005ba4dd1238128dfa0dc2cb6.tar.gz bcm5719-llvm-f79cd71e145c6fd005ba4dd1238128dfa0dc2cb6.zip |
[arm] Add big-endian version of pcrel fixups for adr instructions
Summary:
In 2e24219d3cbf, a number of ARM pcrel fixups were resolved at assembly
time, to solve PR44929. This only covered little-endian ARM however, so
add similar fixups for big-endian ARM. Also extend the test case to
cover big-endian ARM.
Reviewers: hans, psmith, MaskRay
Reviewed By: psmith, MaskRay
Subscribers: kristof.beyls, hiraditya, danielkiss, emaste, llvm-commits
Tags: #llvm
Differential Revision: https://reviews.llvm.org/D79774
(cherry picked from commit fc373522b044e0b150561204958f0d603fb4caba)
Diffstat (limited to 'llvm/test/MC/ARM')
-rw-r--r-- | llvm/test/MC/ARM/pcrel-global.s | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/llvm/test/MC/ARM/pcrel-global.s b/llvm/test/MC/ARM/pcrel-global.s index cec6c1cb52f..eee51565ead 100644 --- a/llvm/test/MC/ARM/pcrel-global.s +++ b/llvm/test/MC/ARM/pcrel-global.s @@ -1,5 +1,7 @@ @ RUN: llvm-mc -filetype=obj -triple=armv7 %s -o %t @ RUN: llvm-readelf -r %t | FileCheck %s +@ RUN: llvm-mc -filetype=obj -triple=armebv7 %s -o %t +@ RUN: llvm-readelf -r %t | FileCheck %s @ CHECK: There are no relocations in this file. .syntax unified |