aboutsummaryrefslogtreecommitdiffstats
path: root/test/MC/ELF/extra-section-flags.s
blob: bde7e1abf8efa7766e4c209e559886ee2192f3a6 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
# RUN: llvm-mc -triple x86_64-unknown-unknown -filetype=obj %s -o /dev/null 2>&1 | FileCheck %s

.section .rodata, "ax"
# CHECK: warning: setting incorrect section attributes for .rodata
nop

.section .rodata, "a"
nop
.section .rodata.cst4, "aM",@progbits,8
nop
# CHECK-NOT: warning: