diff options
author | Daniel Dunbar <daniel@zuster.org> | 2009-08-28 05:48:46 +0000 |
---|---|---|
committer | Daniel Dunbar <daniel@zuster.org> | 2009-08-28 05:48:46 +0000 |
commit | 3f952b45c4791659fe6b6addfdc2812f11a21a41 (patch) | |
tree | a1159d7a9ee5f7f05922f39b8dae738e0f604e89 /test/MC | |
parent | c12c27bdbc93d517025612eab112f28366256839 (diff) | |
download | external_llvm-3f952b45c4791659fe6b6addfdc2812f11a21a41.zip external_llvm-3f952b45c4791659fe6b6addfdc2812f11a21a41.tar.gz external_llvm-3f952b45c4791659fe6b6addfdc2812f11a21a41.tar.bz2 |
llvm-mc: Emit .lcomm as .zerofill.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@80343 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'test/MC')
-rw-r--r-- | test/MC/AsmParser/directive_lcomm.s | 6 | ||||
-rw-r--r-- | test/MC/AsmParser/labels.s | 2 |
2 files changed, 4 insertions, 4 deletions
diff --git a/test/MC/AsmParser/directive_lcomm.s b/test/MC/AsmParser/directive_lcomm.s index afc6121..d38805f 100644 --- a/test/MC/AsmParser/directive_lcomm.s +++ b/test/MC/AsmParser/directive_lcomm.s @@ -1,9 +1,9 @@ # RUN: llvm-mc -triple i386-unknown-unknown %s | FileCheck %s # CHECK: TEST0: -# CHECK: .lcomm a,7,4 -# CHECK: .lcomm b,8 -# CHECK: .lcomm c,0 +# CHECK: .zerofill __DATA,__bss,a,7,4 +# CHECK: .zerofill __DATA,__bss,b,8 +# CHECK: .zerofill __DATA,__bss,c,0 TEST0: .lcomm a, 8-1, 4 .lcomm b,8 diff --git a/test/MC/AsmParser/labels.s b/test/MC/AsmParser/labels.s index f306685..30daeb7 100644 --- a/test/MC/AsmParser/labels.s +++ b/test/MC/AsmParser/labels.s @@ -44,7 +44,7 @@ foo: // CHECK: .comm "a 6",1 .comm "a 6", 1 -// CHECK: .lcomm "a 7",1 +// CHECK: .zerofill __DATA,__bss,"a 7",1 .lcomm "a 7", 1 // CHECK: .lsym "a 8",1 |