Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[ELF2/AArch64] Add support for R_AARCH64_CALL26 and R_AARCH64_JUMP26.
This patch covers only the case where no DSO is involved. Differential Revision: http://reviews.llvm.org/D14606 llvm-svn: 253007
- Loading branch information
Igor Kudrin
committed
Nov 13, 2015
1 parent
12fa3b5
commit b34115b
Showing
4 changed files
with
64 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
// RUN: llvm-mc -filetype=obj -triple=aarch64-pc-freebsd %S/Inputs/abs.s -o %tabs | ||
// RUN: llvm-mc -filetype=obj -triple=aarch64-pc-freebsd %s -o %t | ||
// RUN: not ld.lld2 -shared %t %tabs -o %t2 2>&1 | FileCheck %s | ||
// REQUIRES: aarch64 | ||
|
||
.text | ||
bl big | ||
|
||
// CHECK: R_AARCH64_CALL26 out of range |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
// RUN: llvm-mc -filetype=obj -triple=aarch64-pc-freebsd %S/Inputs/abs.s -o %tabs | ||
// RUN: llvm-mc -filetype=obj -triple=aarch64-pc-freebsd %s -o %t | ||
// RUN: not ld.lld2 -shared %t %tabs -o %t2 2>&1 | FileCheck %s | ||
// REQUIRES: aarch64 | ||
|
||
.text | ||
b big | ||
|
||
// CHECK: R_AARCH64_JUMP26 out of range |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters