aboutsummaryrefslogtreecommitdiffstats
path: root/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
commitfdf229eda95a542fc34d5182e1a91a22789ba122 (patch)
tree08f88c07f62f402320663b559c9f558a75849877 /test/CodeGen
parent0e275dc53880a7f14f8b8c83cc6e0290a215492d (diff)
downloadexternal_llvm-fdf229eda95a542fc34d5182e1a91a22789ba122.zip
external_llvm-fdf229eda95a542fc34d5182e1a91a22789ba122.tar.gz
external_llvm-fdf229eda95a542fc34d5182e1a91a22789ba122.tar.bz2
Remove HasCrazyBSS and add a flag in TAI to indicate that '.section'
must be emitted for PowerPC-Linux '.bss' section git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@78958 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'test/CodeGen')
-rw-r--r--test/CodeGen/PowerPC/sections.ll8
1 files changed, 8 insertions, 0 deletions
diff --git a/test/CodeGen/PowerPC/sections.ll b/test/CodeGen/PowerPC/sections.ll
new file mode 100644
index 0000000..21374d0
--- /dev/null
+++ b/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
+