Fixed some bugs.
[llvm/zpu.git] / test / MC / ELF / ident.s
blobf79458f345015d93f4978d9a6613c549ff346172
1 // RUN: llvm-mc -filetype=obj -triple x86_64-pc-linux-gnu %s -o - | elf-dump --dump-section-data | FileCheck %s
3 // CHECK: (('sh_name', 0x00000012) # '.comment'
4 // CHECK-NEXT: ('sh_type', 0x00000001)
5 // CHECK-NEXT: ('sh_flags', 0x00000030)
6 // CHECK-NEXT: ('sh_addr', 0x00000000)
7 // CHECK-NEXT: ('sh_offset', 0x00000040)
8 // CHECK-NEXT: ('sh_size', 0x0000000d)
9 // CHECK-NEXT: ('sh_link', 0x00000000)
10 // CHECK-NEXT: ('sh_info', 0x00000000)
11 // CHECK-NEXT: ('sh_addralign', 0x00000001)
12 // CHECK-NEXT: ('sh_entsize', 0x00000001)
13 // CHECK-NEXT: ('_section_data', '00666f6f 00626172 007a6564 00')
15 .ident "foo"
16 .ident "bar"
17 .ident "zed"