aboutsummaryrefslogtreecommitdiffstats
path: root/test/MC/ELF/section.s
blob: e5a8e279d9172953366c4b9c07aea448f2197942 (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', 0x12) # '.note.GNU-stack'
// CHECK: ('sh_name', 0x22) # '.note.GNU-'
// CHECK: ('sh_name', 0x2d) # '-.note.GNU'