[PowerPC] 32-bit ELF PIC support
[oota-llvm.git] / test / CodeGen / PowerPC / sections.ll
1 ; Test to make sure that bss sections are printed with '.section' directive.
2 ; RUN: llc < %s -mtriple=powerpc-unknown-linux-gnu | FileCheck %s
3 ; RUN: llc < %s -mtriple=powerpc-unknown-linux-gnu -relocation-model=pic | FileCheck %s -check-prefix=PIC
4
5 @A = global i32 0
6
7 ; CHECK:  .section  .bss,"aw",@nobits
8 ; CHECK:  .globl A
9
10 ; PIC:    .section  .got2,"aw",@progbits
11 ; PIC:    .section  .bss,"aw",@nobits
12 ; PIC:    .globl A