aboutsummaryrefslogtreecommitdiffstats
path: root/test/Object
diff options
context:
space:
mode:
authorRafael Espindola <rafael.espindola@gmail.com>2013-05-09 03:39:05 +0000
committerRafael Espindola <rafael.espindola@gmail.com>2013-05-09 03:39:05 +0000
commit167957fa095bc7200b908e6e142be3e604bcfeea (patch)
treee1b413b5c21bfae3e1ddaeff81e9ff75b26b2e28 /test/Object
parentc496875f0c205ffadcec8060e1170e1c58e4eb55 (diff)
downloadexternal_llvm-167957fa095bc7200b908e6e142be3e604bcfeea.zip
external_llvm-167957fa095bc7200b908e6e142be3e604bcfeea.tar.gz
external_llvm-167957fa095bc7200b908e6e142be3e604bcfeea.tar.bz2
Change getRelocationAdditionalInfo to be ELF only.
It was only implemented for ELF where it collected the Addend, so this patch also renames it to getRelocationAddend. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@181502 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'test/Object')
-rw-r--r--test/Object/relocation-executable.test4
1 files changed, 2 insertions, 2 deletions
diff --git a/test/Object/relocation-executable.test b/test/Object/relocation-executable.test
index 98f5b4e..7625ec2 100644
--- a/test/Object/relocation-executable.test
+++ b/test/Object/relocation-executable.test
@@ -7,12 +7,12 @@ RUN: | FileCheck %s
// CHECK-NEXT: Offset: 0x4018F8
// CHECK-NEXT: Type: R_X86_64_JUMP_SLOT (7)
// CHECK-NEXT: Symbol: __libc_start_main
-// CHECK-NEXT: Info: 0x0
+// CHECK-NEXT: Addend: 0x0
// CHECK-NEXT: }
// CHECK-NEXT: Relocation {
// CHECK-NEXT: Offset: 0x401900
// CHECK-NEXT: Type: R_X86_64_JUMP_SLOT (7)
// CHECK-NEXT: Symbol: puts
-// CHECK-NEXT: Info: 0x0
+// CHECK-NEXT: Addend: 0x0
// CHECK-NEXT: }
// CHECK-NEXT: }