Changed elf-dump to output hex format by default.
[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', 0x12) # '.note.GNU-stack'
10 // CHECK: ('sh_name', 0x22) # '.note.GNU-'
11 // CHECK: ('sh_name', 0x2d) # '-.note.GNU'