diff options
| author | Matheus Almeida <matheus.almeida@imgtec.com> | 2014-04-30 11:21:10 +0000 |
|---|---|---|
| committer | Matheus Almeida <matheus.almeida@imgtec.com> | 2014-04-30 11:21:10 +0000 |
| commit | c0284d118f730e343d75762118385593e5aa6ce4 (patch) | |
| tree | 854dfd5747ad145e2a68b998fc55b0850efbba4f /llvm/test | |
| parent | 970c4a8d3571900c9c016ab89870ccebf5ff521d (diff) | |
| download | bcm5719-llvm-c0284d118f730e343d75762118385593e5aa6ce4.tar.gz bcm5719-llvm-c0284d118f730e343d75762118385593e5aa6ce4.zip | |
[mips] Emit all three relocation operations for each relocation entry on Mips64 big-endian systems.
Summary:
The N64 ABI allows up to three operations to be specified per relocation record
independently of the endianness.
Reviewers: dsanders
Reviewed By: dsanders
Differential Revision: http://reviews.llvm.org/D3529
llvm-svn: 207636
Diffstat (limited to 'llvm/test')
| -rw-r--r-- | llvm/test/MC/Mips/elf-N64.s | 1 | ||||
| -rw-r--r-- | llvm/test/MC/Mips/elf-gprel-32-64.s | 3 |
2 files changed, 4 insertions, 0 deletions
diff --git a/llvm/test/MC/Mips/elf-N64.s b/llvm/test/MC/Mips/elf-N64.s index 3c01803d2a9..bf6ebd73091 100644 --- a/llvm/test/MC/Mips/elf-N64.s +++ b/llvm/test/MC/Mips/elf-N64.s @@ -1,4 +1,5 @@ // RUN: llvm-mc -filetype=obj -triple=mips64el-pc-linux -mcpu=mips64 %s -o - | llvm-readobj -r | FileCheck %s +// RUN: llvm-mc -filetype=obj -triple=mips64-pc-linux -mcpu=mips64 %s -o - | llvm-readobj -r | FileCheck %s // Check for N64 relocation production. // Check that the appropriate relocations were created. diff --git a/llvm/test/MC/Mips/elf-gprel-32-64.s b/llvm/test/MC/Mips/elf-gprel-32-64.s index ae75197a4fc..2f5ac6652a3 100644 --- a/llvm/test/MC/Mips/elf-gprel-32-64.s +++ b/llvm/test/MC/Mips/elf-gprel-32-64.s @@ -1,6 +1,9 @@ // RUN: llvm-mc -filetype=obj -triple=mips64el-pc-linux -mcpu=mips64 %s -o - \ // RUN: | llvm-readobj -r \ // RUN: | FileCheck %s +// RUN: llvm-mc -filetype=obj -triple=mips64-pc-linux -mcpu=mips64 %s -o - \ +// RUN: | llvm-readobj -r \ +// RUN: | FileCheck %s // Check that the appropriate relocations were created. |

