1 // RUN: llvm-mc -filetype=obj -triple x86_64-pc-linux-gnu %s -o - | elf-dump | FileCheck %s
3 // Test that these names are accepted.
5 .section .note.GNU-stack,"",@progbits
6 .section .note.GNU-,"",@progbits
7 .section -.note.GNU,"",@progbits
9 // CHECK: ('sh_name', 18) # '.note.GNU-stack'
10 // CHECK: ('sh_name', 34) # '.note.GNU-'
11 // CHECK: ('sh_name', 45) # '-.note.GNU'