diff options
author | Rafael Espindola <rafael.espindola@gmail.com> | 2015-11-05 01:10:15 +0000 |
---|---|---|
committer | Rafael Espindola <rafael.espindola@gmail.com> | 2015-11-05 01:10:15 +0000 |
commit | e61a9023713ab0c4e3d1ddde65332c5081aaf97c (patch) | |
tree | 8b9dfd4ca2131f9bf1dfc3a5ec796cf042fa62fb /llvm/test | |
parent | ba5757da64a7dd1496a0c4568e879d7b5755b584 (diff) | |
download | bcm5719-llvm-e61a9023713ab0c4e3d1ddde65332c5081aaf97c.tar.gz bcm5719-llvm-e61a9023713ab0c4e3d1ddde65332c5081aaf97c.zip |
Go back to producing relocations for out of range symbols.
This brings back the behavior from before r252090 for out of range symbols.
Should bring some arm bots back.
llvm-svn: 252119
Diffstat (limited to 'llvm/test')
-rw-r--r-- | llvm/test/MC/ARM/thumb-branches-err.s | 7 | ||||
-rw-r--r-- | llvm/test/MC/ARM/thumb-branches.s | 5 |
2 files changed, 5 insertions, 7 deletions
diff --git a/llvm/test/MC/ARM/thumb-branches-err.s b/llvm/test/MC/ARM/thumb-branches-err.s deleted file mode 100644 index 624ebeeb037..00000000000 --- a/llvm/test/MC/ARM/thumb-branches-err.s +++ /dev/null @@ -1,7 +0,0 @@ -@ RUN: not llvm-mc < %s -triple thumbv5-linux-gnueabi -filetype=obj -o %t 2>&1 | FileCheck %s - - bl end - .space 0x400000 -end: - -@ CHECK: out of range for branch diff --git a/llvm/test/MC/ARM/thumb-branches.s b/llvm/test/MC/ARM/thumb-branches.s index 4870e821623..b4cdfa12a55 100644 --- a/llvm/test/MC/ARM/thumb-branches.s +++ b/llvm/test/MC/ARM/thumb-branches.s @@ -16,5 +16,10 @@ end2: .global end3 end3: + bl end4 + .space 0x400000 +end4: + @ CHECK: 0x400003 R_ARM_THM_CALL end2 0x0 @ CHECK: 0x800006 R_ARM_THM_CALL end3 0x0 +@ CHECK: 0xC0000A R_ARM_THM_CALL end4 0x0 |