summaryrefslogtreecommitdiffstats
path: root/llvm/test/CodeGen/X86/global-sections.ll
diff options
context:
space:
mode:
authorMatthias Braun <matze@braunis.de>2015-02-14 01:16:54 +0000
committerMatthias Braun <matze@braunis.de>2015-02-14 01:16:54 +0000
commit33cc10724d7d5ae3e6502fb8806cc02a1f821aef (patch)
treed5bcc32b4cd469a37d0e6a2baaa279340cca5ce3 /llvm/test/CodeGen/X86/global-sections.ll
parent2c79ad974c641dd799b04c656aa8c2fc96dfb3cd (diff)
downloadbcm5719-llvm-33cc10724d7d5ae3e6502fb8806cc02a1f821aef.tar.gz
bcm5719-llvm-33cc10724d7d5ae3e6502fb8806cc02a1f821aef.zip
Revert "On ELF, put PIC jump tables in a non executable section."
This reverts commit r228939. The commit broke something in the output of exception handling tables on darwin x86-64. llvm-svn: 229203
Diffstat (limited to 'llvm/test/CodeGen/X86/global-sections.ll')
-rw-r--r--llvm/test/CodeGen/X86/global-sections.ll6
1 files changed, 0 insertions, 6 deletions
diff --git a/llvm/test/CodeGen/X86/global-sections.ll b/llvm/test/CodeGen/X86/global-sections.ll
index 11b72c1e222..4dc0f7d04c6 100644
--- a/llvm/test/CodeGen/X86/global-sections.ll
+++ b/llvm/test/CodeGen/X86/global-sections.ll
@@ -3,7 +3,6 @@
; RUN: llc < %s -mtriple=i386-apple-darwin10 -relocation-model=static | FileCheck %s -check-prefix=DARWIN-STATIC
; RUN: llc < %s -mtriple=x86_64-apple-darwin10 | FileCheck %s -check-prefix=DARWIN64
; RUN: llc < %s -mtriple=i386-unknown-linux-gnu -data-sections -function-sections | FileCheck %s -check-prefix=LINUX-SECTIONS
-; RUN: llc < %s -mtriple=x86_64-pc-linux -data-sections -function-sections -relocation-model=pic | FileCheck %s -check-prefix=LINUX-SECTIONS-PIC
; RUN: llc < %s -mtriple=i686-pc-win32 -data-sections -function-sections | FileCheck %s -check-prefix=WIN32-SECTIONS
define void @F1() {
@@ -42,11 +41,6 @@ bb5:
; LINUX-SECTIONS-NEXT: .cfi_endproc
; LINUX-SECTIONS-NEXT: .section .rodata.F2,"a",@progbits
-; LINUX-SECTIONS-PIC: .section .text.F2,"ax",@progbits
-; LINUX-SECTIONS-PIC: .size F2,
-; LINUX-SECTIONS-PIC-NEXT: .cfi_endproc
-; LINUX-SECTIONS-PIC-NEXT: .section .rodata.F2,"a",@progbits
-
; int G1;
@G1 = common global i32 0
OpenPOWER on IntegriCloud