aboutsummaryrefslogtreecommitdiffstats
path: root/test/MC/ELF/section.s
blob: 4622cb4159292a714b47bb45eff1783bb73e385b (plain)
1
2
3
4
5
6
7
8
9
10
11
// RUN: llvm-mc -filetype=obj -triple x86_64-pc-linux-gnu %s -o - | elf-dump  | FileCheck %s

// Test that these names are accepted.

.section	.note.GNU-stack,"",@progbits
.section	.note.GNU-,"",@progbits
.section	-.note.GNU,"",@progbits

// CHECK: ('sh_name', 18) # '.note.GNU-stack'
// CHECK: ('sh_name', 34) # '.note.GNU-'
// CHECK: ('sh_name', 45) # '-.note.GNU'