summaryrefslogtreecommitdiffstats
path: root/llvm/test/CodeGen
diff options
context:
space:
mode:
authorBruno Cardoso Lopes <bruno.cardoso@gmail.com>2009-08-13 23:30:21 +0000
committerBruno Cardoso Lopes <bruno.cardoso@gmail.com>2009-08-13 23:30:21 +0000
commit62e6a8bbe68e4ca4c8284353909af008929c6192 (patch)
tree33c22856bf61f3009d280fea16ce9c14931c75ea /llvm/test/CodeGen
parentc36edfede543cbe586a32fec9eb0035ea7715a6f (diff)
downloadbcm5719-llvm-62e6a8bbe68e4ca4c8284353909af008929c6192.tar.gz
bcm5719-llvm-62e6a8bbe68e4ca4c8284353909af008929c6192.zip
Remove HasCrazyBSS and add a flag in TAI to indicate that '.section'
must be emitted for PowerPC-Linux '.bss' section llvm-svn: 78958
Diffstat (limited to 'llvm/test/CodeGen')
-rw-r--r--llvm/test/CodeGen/PowerPC/sections.ll8
1 files changed, 8 insertions, 0 deletions
diff --git a/llvm/test/CodeGen/PowerPC/sections.ll b/llvm/test/CodeGen/PowerPC/sections.ll
new file mode 100644
index 00000000000..21374d08c9d
--- /dev/null
+++ b/llvm/test/CodeGen/PowerPC/sections.ll
@@ -0,0 +1,8 @@
+; Test to make sure that bss sections are printed with '.section' directive.
+; RUN: llvm-as < %s | llc -mtriple=powerpc-unknown-linux-gnu | FileCheck %s
+
+@A = global i32 0
+
+; CHECK: .section .bss,"aw",@nobits
+; CHECK: .global A
+
OpenPOWER on IntegriCloud