X-Git-Url: http://plrg.eecs.uci.edu/git/?p=oota-llvm.git;a=blobdiff_plain;f=test%2FCodeGen%2FPowerPC%2Fsections.ll;h=d77dfddd0f90b100030a5eef89ea1185c651508a;hp=0ff4a89ff3794c12d16966c61c2d5bec7876bce9;hb=d644d17dd44e89ffd2dcb6896bc23b4c478c37cf;hpb=286fbd19f3f781ec885cca1b8ad8a8ead0459652 diff --git a/test/CodeGen/PowerPC/sections.ll b/test/CodeGen/PowerPC/sections.ll index 0ff4a89ff37..d77dfddd0f9 100644 --- a/test/CodeGen/PowerPC/sections.ll +++ b/test/CodeGen/PowerPC/sections.ll @@ -1,8 +1,12 @@ ; Test to make sure that bss sections are printed with '.section' directive. ; RUN: llc < %s -mtriple=powerpc-unknown-linux-gnu | FileCheck %s +; RUN: llc < %s -mtriple=powerpc-unknown-linux-gnu -relocation-model=pic | FileCheck %s -check-prefix=PIC @A = global i32 0 ; CHECK: .section .bss,"aw",@nobits ; CHECK: .globl A +; PIC: .section .got2,"aw",@progbits +; PIC: .section .bss,"aw",@nobits +; PIC: .globl A