aboutsummaryrefslogtreecommitdiffstats
path: root/test/MC/ELF
diff options
context:
space:
mode:
authorMichael Gottesman <mgottesman@apple.com>2013-03-28 05:14:26 +0000
committerMichael Gottesman <mgottesman@apple.com>2013-03-28 05:14:26 +0000
commit21fb0193b2fe92794e83e14388e18590d3771150 (patch)
treeaca04782f9839a89bf0d0f219309600a2a11edae /test/MC/ELF
parent9f41d224679a6b246a583b5dbb3a50635f4ff517 (diff)
downloadexternal_llvm-21fb0193b2fe92794e83e14388e18590d3771150.zip
external_llvm-21fb0193b2fe92794e83e14388e18590d3771150.tar.gz
external_llvm-21fb0193b2fe92794e83e14388e18590d3771150.tar.bz2
Revert "Updated ELF relocation test for .eh_frame section"
This reverts commit c8d65364223a04b179958a50a4bf0f89b21dd7d2. This broke a bunch of the buildbots. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@178222 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'test/MC/ELF')
-rw-r--r--test/MC/ELF/fde-reloc.s30
1 files changed, 4 insertions, 26 deletions
diff --git a/test/MC/ELF/fde-reloc.s b/test/MC/ELF/fde-reloc.s
index c7e237e..63ac976 100644
--- a/test/MC/ELF/fde-reloc.s
+++ b/test/MC/ELF/fde-reloc.s
@@ -1,18 +1,5 @@
-// This just tests that a relocation of the specified type shows up as the first
-// relocation in the relocation section for .eh_frame when produced by the
-// assembler.
-
-// RUN: llvm-mc -filetype=obj %s -o - -triple x86_64-pc-linux | \
-// RUN: llvm-objdump -r - | FileCheck --check-prefix=X86-64 %s
-
-// RUN: llvm-mc -filetype=obj %s -o - -triple i686-pc-linux | \
-// RUN: llvm-objdump -r - | FileCheck --check-prefix=I686 %s
-
-// RUN: llvm-mc -filetype=obj %s -o - -triple mips-unknown-unknown | \
-// RUN: llvm-objdump -r - | FileCheck --check-prefix=MIPS32 %s
-
-// RUN: llvm-mc -filetype=obj %s -o - -triple mips64-unknown-unknown | \
-// RUN: llvm-objdump -r - | FileCheck --check-prefix=MIPS64 %s
+// RUN: llvm-mc -filetype=obj %s -o - -triple x86_64-pc-linux | llvm-objdump -r - | FileCheck --check-prefix=X86-64 %s
+// RUN: llvm-mc -filetype=obj %s -o - -triple i686-pc-linux | llvm-objdump -r - | FileCheck --check-prefix=I686 %s
// PR15448
@@ -20,14 +7,5 @@ func:
.cfi_startproc
.cfi_endproc
-// X86-64: RELOCATION RECORDS FOR [.eh_frame]:
-// X86-64-NEXT: R_X86_64_PC32
-
-// I686: RELOCATION RECORDS FOR [.eh_frame]:
-// I686-NEXT: R_386_PC32
-
-// MIPS32: RELOCATION RECORDS FOR [.eh_frame]:
-// MIPS32-NEXT: R_MIPS_32
-
-// MIPS64: RELOCATION RECORDS FOR [.eh_frame]:
-// MIPS64-NEXT: R_MIPS_64
+// X86-64: R_X86_64_PC32
+// I686: R_386_PC32