1 // RUN: llvm-mc -filetype=obj -triple i686-pc-linux-gnu %s -o - | elf-dump | FileCheck %s
18 .size main, .Ltmp0-main
20 .type .L.str1,@object # @.str1
21 .section .rodata.str1.1,"aMS",@progbits,1
26 .type .L.str2,@object # @.str2
31 .section .note.GNU-stack,"",@progbits
33 // CHECK: ('e_indent[EI_CLASS]', 0x01)
34 // CHECK: ('e_indent[EI_DATA]', 0x01)
35 // CHECK: ('e_indent[EI_VERSION]', 0x01)
36 // CHECK: ('_sections', [
38 // CHECK: (('sh_name', 0x00000000) # ''
42 // CHECK: # '.rel.text'
44 // CHECK: ('_relocations', [
45 // CHECK: # Relocation 0
46 // CHECK: (('r_offset', 0x00000006)
47 // CHECK: ('r_type', 0x01)
49 // CHECK: # Relocation 1
50 // CHECK: (('r_offset', 0x0000000b)
51 // CHECK: ('r_type', 0x02)
53 // CHECK: # Relocation 2
54 // CHECK: (('r_offset', 0x00000012)
55 // CHECK: ('r_type', 0x01)
57 // CHECK: # Relocation 3
58 // CHECK: (('r_offset', 0x00000017)
59 // CHECK: ('r_type', 0x02)
63 // CHECK: ('st_bind', 0x0)
64 // CHECK: ('st_type', 0x3)
66 // CHECK: ('st_bind', 0x0)
67 // CHECK: ('st_type', 0x3)
69 // CHECK: ('st_bind', 0x0)
70 // CHECK: ('st_type', 0x3)
73 // CHECK: ('st_bind', 0x1)
74 // CHECK-NEXT: ('st_type', 0x2)
77 // CHECK: ('st_bind', 0x1)
78 // CHECK-NEXT: ('st_type', 0x0)