Land the long talked about "type system rewrite" patch. This
[llvm/stm8.git] / test / MC / ELF / common2.s
blobb48ca66b91e1bfc724c4bad036427123dccc643a
1 // RUN: llvm-mc -filetype=obj -triple x86_64-pc-linux-gnu %s -o - | elf-dump | FileCheck %s
3 // Test that the common symbols are placed at the end of .bss. In this example
4 // it causes .bss to have size 9 instead of 8.
6 .local vimvardict
7 .comm vimvardict,1,8
8 .bss
9 .zero 1
10 .align 8
12 // CHECK: (('sh_name', 0x00000007) # '.bss'
13 // CHECK-NEXT: ('sh_type',
14 // CHECK-NEXT: ('sh_flags'
15 // CHECK-NEXT: ('sh_addr',
16 // CHECK-NEXT: ('sh_offset',
17 // CHECK-NEXT: ('sh_size', 0x00000009)
18 // CHECK-NEXT: ('sh_link',
19 // CHECK-NEXT: ('sh_info',
20 // CHECK-NEXT: ('sh_addralign',
21 // CHECK-NEXT: ('sh_entsize',