Home | History | Annotate | Download | only in ELF
      1 // RUN: llvm-mc -filetype=obj -triple x86_64-pc-linux-gnu %s -o - | llvm-readobj -s | FileCheck %s
      2 
      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.
      5 
      6 	.local	vimvardict
      7 	.comm	vimvardict,1,8
      8 	.bss
      9         .zero 1
     10 	.align	8
     11 
     12 // CHECK:        Section {
     13 // CHECK:          Name: .bss (7)
     14 // CHECK-NEXT:     Type:
     15 // CHECK-NEXT:     Flags [
     16 // CHECK:          ]
     17 // CHECK-NEXT:     Address:
     18 // CHECK-NEXT:     Offset:
     19 // CHECK-NEXT:     Size: 9
     20 // CHECK-NEXT:     Link:
     21 // CHECK-NEXT:     Info:
     22 // CHECK-NEXT:     AddressAlignment:
     23 // CHECK-NEXT:     EntrySize:
     24 // CHECK-NEXT:   }
     25