1// RUN: llvm-mc -filetype=obj -triple x86_64-pc-linux-gnu %s -o - | llvm-readobj -s | FileCheck %s
2
3// Test that the .text directive doesn't cause alignment.
4
5        .zero 1
6        .text
7        .zero 1
8
9// CHECK:        Section {
10// CHECK:          Name: .text
11// CHECK-NEXT:     Type: SHT_PROGBITS
12// CHECK-NEXT:     Flags [
13// CHECK-NEXT:       SHF_ALLOC
14// CHECK-NEXT:       SHF_EXECINSTR
15// CHECK-NEXT:     ]
16// CHECK-NEXT:     Address: 0x0
17// CHECK-NEXT:     Offset: 0x40
18// CHECK-NEXT:     Size: 2
19// CHECK-NEXT:     Link: 0
20// CHECK-NEXT:     Info: 0
21// CHECK-NEXT:     AddressAlignment: 4
22// CHECK-NEXT:     EntrySize: 0
23// CHECK-NEXT:   }
24