summaryrefslogtreecommitdiff
path: root/test/tools/llvm-readobj/relocations.test
diff options
context:
space:
mode:
authorRafael Espindola <rafael.espindola@gmail.com>2013-04-11 17:46:10 +0000
committerRafael Espindola <rafael.espindola@gmail.com>2013-04-11 17:46:10 +0000
commit59a8b5a8f09ae4c4f3b0e3d8025c6b4cf3ca1f1a (patch)
treeca0f4e97518092abe898964097539a8ccc364b06 /test/tools/llvm-readobj/relocations.test
parent6b281800d2bd2419d3f1c4e282c7c07dd54058f5 (diff)
downloadllvm-59a8b5a8f09ae4c4f3b0e3d8025c6b4cf3ca1f1a.tar.gz
llvm-59a8b5a8f09ae4c4f3b0e3d8025c6b4cf3ca1f1a.tar.bz2
llvm-59a8b5a8f09ae4c4f3b0e3d8025c6b4cf3ca1f1a.tar.xz
Revert my last two commits while I debug what is wrong in a big endian host.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@179303 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'test/tools/llvm-readobj/relocations.test')
-rw-r--r--test/tools/llvm-readobj/relocations.test14
1 files changed, 7 insertions, 7 deletions
diff --git a/test/tools/llvm-readobj/relocations.test b/test/tools/llvm-readobj/relocations.test
index 96aac231db..b4b876a70b 100644
--- a/test/tools/llvm-readobj/relocations.test
+++ b/test/tools/llvm-readobj/relocations.test
@@ -26,17 +26,17 @@ ELF-NEXT: ]
MACHO-I386: Relocations [
MACHO-I386-NEXT: Section __text {
-MACHO-I386-NEXT: 0x18 1 2 1 GENERIC_RELOC_VANILLA 0 _SomeOtherFunction
-MACHO-I386-NEXT: 0x13 1 2 1 GENERIC_RELOC_VANILLA 0 _puts
-MACHO-I386-NEXT: 0xB 0 2 n/a GENERIC_RELOC_LOCAL_SECTDIFF 1 _main
-MACHO-I386-NEXT: 0x0 0 2 n/a GENERIC_RELOC_PAIR 1 _main
+MACHO-I386-NEXT: 0x18 GENERIC_RELOC_VANILLA _SomeOtherFunction 0x0
+MACHO-I386-NEXT: 0x13 GENERIC_RELOC_VANILLA _puts 0x0
+MACHO-I386-NEXT: 0xB GENERIC_RELOC_LOCAL_SECTDIFF _main 0x{{[0-9A-F]+}}
+MACHO-I386-NEXT: 0x0 GENERIC_RELOC_PAIR _main 0x{{[0-9A-F]+}}
MACHO-I386-NEXT: }
MACHO-I386-NEXT: ]
MACHO-X86-64: Relocations [
MACHO-X86-64-NEXT: Section __text {
-MACHO-X86-64-NEXT: 0xE 1 2 1 X86_64_RELOC_BRANCH 0 _SomeOtherFunction
-MACHO-X86-64-NEXT: 0x9 1 2 1 X86_64_RELOC_BRANCH 0 _puts
-MACHO-X86-64-NEXT: 0x4 1 2 1 X86_64_RELOC_SIGNED 0 L_.str
+MACHO-X86-64-NEXT: 0xE X86_64_RELOC_BRANCH _SomeOtherFunction 0x0
+MACHO-X86-64-NEXT: 0x9 X86_64_RELOC_BRANCH _puts 0x0
+MACHO-X86-64-NEXT: 0x4 X86_64_RELOC_SIGNED L_.str 0x0
MACHO-X86-64-NEXT: }
MACHO-X86-64-NEXT:]