2009-08-14 07:30:21 +08:00
|
|
|
; Test to make sure that bss sections are printed with '.section' directive.
|
2009-09-09 08:09:15 +08:00
|
|
|
; RUN: llc < %s -mtriple=powerpc-unknown-linux-gnu | FileCheck %s
|
2014-07-19 07:29:49 +08:00
|
|
|
; RUN: llc < %s -mtriple=powerpc-unknown-linux-gnu -relocation-model=pic | FileCheck %s -check-prefix=PIC
|
2009-08-14 07:30:21 +08:00
|
|
|
|
|
|
|
@A = global i32 0
|
|
|
|
|
2011-03-05 04:03:14 +08:00
|
|
|
; CHECK: .section .bss,"aw",@nobits
|
2010-01-19 13:38:33 +08:00
|
|
|
; CHECK: .globl A
|
2009-08-14 07:30:21 +08:00
|
|
|
|
2014-07-19 07:29:49 +08:00
|
|
|
; PIC: .section .got2,"aw",@progbits
|
|
|
|
; PIC: .section .bss,"aw",@nobits
|
|
|
|
; PIC: .globl A
|