Don't allow mixing x64_32 with x86_64.
[deliverable/binutils-gdb.git] / ld / testsuite / ld-x86-64 / dwarfreloc1.s
CommitLineData
b2064611
JK
1 .file 1 "dwarfreloc1.c"
2 .comm i1,4,4
3 .section .debug_line,"",@progbits
4.Ldebug_line0:
5 .section .debug_info
6.Ldebug_info0:
7 .long .Ldebug_info_end - .Ldebug_info_start
8.Ldebug_info_start:
9 .value 0x2
10 .long .Ldebug_abbrev0
11 .byte 0x8
12
13 .uleb128 0x1 /* DW_TAG_compile_unit */
14 .long .LASF0 /* DW_AT_producer */
15 .byte 0x1 /* DW_AT_language */
16 .long .LASF1 /* DW_AT_name */
17 .long .LASF2 /* DW_AT_comp_dir */
18 .long .Ldebug_line0 /* DW_AT_stmt_list */
19
20 .uleb128 0x2 /* DW_TAG_variable */
21 .string "i1" /* DW_AT_name */
22 .byte 0x1 /* DW_AT_decl_file */
23 .byte 0x1 /* DW_AT_decl_line */
24 .long .dwarfreloc1.0.2 - .Ldebug_info0 /* DW_AT_type (DW_FORM_ref4) */
25 .byte 0x1 /* DW_AT_external */
26 .byte 0x9 /* DW_AT_location: length */
27 .byte 0x3 /* DW_AT_location: DW_OP_addr */
28 .quad i1 /* DW_AT_location: DW_OP_addr: address */
29
30 /* DWARF3 Page 224 (236/267)
31 <prefix>.<file-designator>.<gid-number>.<die-number> */
32 .globl .dwarfreloc1.0.2
33.dwarfreloc1.0.2:
34 .uleb128 0x3 /* DW_TAG_base_type */
35 .byte 0x4 /* DW_AT_byte_size */
36 .byte 0x5 /* DW_AT_encoding */
37 .string "int" /* DW_AT_name */
38
39 .byte 0x0
40.Ldebug_info_end:
41
42 .section .debug_abbrev
43.Ldebug_abbrev0:
44 .uleb128 0x1
45 .uleb128 0x11
46
47 .byte 0x1
48 .uleb128 0x25 /* DW_AT_producer */
49 .uleb128 0xe /* DW_FORM_strp */
50 .uleb128 0x13 /* DW_AT_language */
51 .uleb128 0xb /* DW_FORM_data1 */
52 .uleb128 0x3 /* DW_AT_name */
53 .uleb128 0xe /* DW_FORM_strp */
54 .uleb128 0x1b /* DW_AT_comp_dir */
55 .uleb128 0xe /* DW_FORM_strp */
56 .uleb128 0x10 /* DW_AT_stmt_list */
57 .uleb128 0x6 /* DW_FORM_data4 */
58 .byte 0x0
59 .byte 0x0
60
61 .uleb128 0x2
62 .uleb128 0x34 /* DW_TAG_variable */
63 .byte 0x0
64 .uleb128 0x3 /* DW_AT_name */
65 .uleb128 0x8 /* DW_FORM_string */
66 .uleb128 0x3a /* DW_AT_decl_file */
67 .uleb128 0xb /* DW_FORM_data1 */
68 .uleb128 0x3b /* DW_AT_decl_line */
69 .uleb128 0xb /* DW_FORM_data1 */
70 .uleb128 0x49 /* DW_AT_type */
71 .uleb128 0x13 /* DW_FORM_ref4 */
72 .uleb128 0x3f /* DW_AT_external */
73 .uleb128 0xc /* DW_FORM_flag */
74 .uleb128 0x2 /* DW_AT_location */
75 .uleb128 0xa /* DW_FORM_block1 */
76 .byte 0x0
77 .byte 0x0
78
79 .uleb128 0x3
80 .uleb128 0x24 /* DW_TAG_base_type */
81 .byte 0x0
82 .uleb128 0xb /* DW_AT_byte_size */
83 .uleb128 0xb /* DW_FORM_data1 */
84 .uleb128 0x3e /* DW_AT_encoding */
85 .uleb128 0xb /* DW_FORM_data1 */
86 .uleb128 0x3 /* DW_AT_name */
87 .uleb128 0x8 /* DW_FORM_string */
88 .byte 0x0
89 .byte 0x0
90
91 .byte 0x0
92
93 .section .debug_str,"MS",@progbits,1
94.LASF1:
95 .string "dwarfreloc1.c"
96.LASF0:
97 .string "GNU C 4.3.1 20080801 (Red Hat 4.3.1-6)"
98.LASF2:
99 .string "/"
100 .ident "GCC: (GNU) 4.3.1 20080801 (Red Hat 4.3.1-6)"
101 .section .note.GNU-stack,"",@progbits
This page took 0.117529 seconds and 4 git commands to generate.