Fixing r116753 r116756 r116777
[oota-llvm.git] / test / MC / ELF / section.s
1 // RUN: llvm-mc -filetype=obj -triple x86_64-pc-linux-gnu %s -o - | elf-dump  | FileCheck %s
2
3 // Test that these names are accepted.
4
5 .section        .note.GNU-stack,"",@progbits
6 .section        .note.GNU-,"",@progbits
7 .section        -.note.GNU,"",@progbits
8
9 // CHECK: ('sh_name', 0x00000012) # '.note.GNU-stack'
10 // CHECK: ('sh_name', 0x00000022) # '.note.GNU-'
11 // CHECK: ('sh_name', 0x0000002d) # '-.note.GNU'