1 # RUN: llvm-mc -triple mips-unknown-linux -filetype=obj \
2 # RUN: -mips-round-section-sizes %s | llvm-readobj --sections | FileCheck %s
3 .section ".talign1", "ax"
7 .section ".talign2", "ax"
12 .section ".talign3", "ax"
16 .section ".talign4", "ax"
19 .section ".dalign1", "a"
23 .section ".dalign2", "a"
28 .section ".dalign3", "a"
32 .section ".dalign4", "a"
35 .section ".dalign5", "a"
39 .section ".nalign1", ""
43 .section ".nalign2", ""
48 .section ".nalign3", ""
52 .section ".nalign4", ""
55 # CHECK-LABEL: Name: .talign1
57 # CHECK: AddressAlignment: 16
59 # CHECK-LABEL: Name: .talign2
61 # CHECK: AddressAlignment: 8
63 # CHECK-LABEL: Name: .talign3
65 # CHECK: AddressAlignment: 8
67 # CHECK-LABEL: Name: .talign4
69 # CHECK: AddressAlignment: 1
71 # CHECK-LABEL: Name: .dalign1
73 # CHECK: AddressAlignment: 16
75 # CHECK-LABEL: Name: .dalign2
77 # CHECK: AddressAlignment: 8
79 # CHECK-LABEL: Name: .dalign3
81 # CHECK: AddressAlignment: 8
83 # CHECK-LABEL: Name: .dalign4
85 # CHECK: AddressAlignment: 1
87 # CHECK-LABEL: Name: .dalign5
89 # CHECK: AddressAlignment: 65536
91 # CHECK-LABEL: Name: .nalign1
93 # CHECK: AddressAlignment: 16
95 # CHECK-LABEL: Name: .nalign2
97 # CHECK: AddressAlignment: 8
99 # CHECK-LABEL: Name: .nalign3
101 # CHECK: AddressAlignment: 8
103 # CHECK-LABEL: Name: .nalign4
105 # CHECK: AddressAlignment: 1