6
6
xorl %eax ,%eax
7
7
Ltext_c:
8
8
xorl %eax ,%eax
9
- Ltext_d:
9
+ Ltext_d:
10
10
xorl %eax ,%eax
11
-
11
+
12
12
movl $(_text_a - _text_b), %eax
13
13
Ltext_expr_0 = _text_a - _text_b
14
14
movl $(Ltext_expr_0), %eax
@@ -30,9 +30,9 @@ _data_b:
30
30
.long 0
31
31
Ldata_c:
32
32
.long 0
33
- Ldata_d:
33
+ Ldata_d:
34
34
.long 0
35
-
35
+
36
36
.long _data_a - _data_b
37
37
Ldata_expr_0 = _data_a - _data_b
38
38
.long Ldata_expr_0
@@ -75,7 +75,7 @@ Ldata_expr_2 = Ldata_d - Ldata_c
75
75
// CHECK: ('offset', 324)
76
76
// CHECK: ('alignment', 0)
77
77
// CHECK: ('reloc_offset', 412)
78
- // CHECK: ('num_reloc', 7 )
78
+ // CHECK: ('num_reloc', 3 )
79
79
// CHECK: ('flags', 0x80000400)
80
80
// CHECK: ('reserved1', 0)
81
81
// CHECK: ('reserved2', 0)
@@ -85,21 +85,9 @@ Ldata_expr_2 = Ldata_d - Ldata_c
85
85
// CHECK: (('word-0', 0xa0000027),
86
86
// CHECK: ('word-1', 0x0)),
87
87
// CHECK: # Relocation 1
88
- // CHECK: (('word-0', 0xa400001d),
89
- // CHECK: ('word-1', 0x6)),
90
- // CHECK: # Relocation 2
91
- // CHECK: (('word-0', 0xa1000000),
92
- // CHECK: ('word-1', 0x4)),
93
- // CHECK: # Relocation 3
94
- // CHECK: (('word-0', 0xa4000013),
95
- // CHECK: ('word-1', 0x4)),
96
- // CHECK: # Relocation 4
97
- // CHECK: (('word-0', 0xa1000000),
98
- // CHECK: ('word-1', 0x2)),
99
- // CHECK: # Relocation 5
100
88
// CHECK: (('word-0', 0xa4000009),
101
89
// CHECK: ('word-1', 0x0)),
102
- // CHECK: # Relocation 6
90
+ // CHECK: # Relocation 2
103
91
// CHECK: (('word-0', 0xa1000000),
104
92
// CHECK: ('word-1', 0x2)),
105
93
// CHECK: ])
@@ -111,8 +99,8 @@ Ldata_expr_2 = Ldata_d - Ldata_c
111
99
// CHECK: ('size', 44)
112
100
// CHECK: ('offset', 367)
113
101
// CHECK: ('alignment', 0)
114
- // CHECK: ('reloc_offset', 468 )
115
- // CHECK: ('num_reloc', 7 )
102
+ // CHECK: ('reloc_offset', 436 )
103
+ // CHECK: ('num_reloc', 3 )
116
104
// CHECK: ('flags', 0x0)
117
105
// CHECK: ('reserved1', 0)
118
106
// CHECK: ('reserved2', 0)
@@ -122,21 +110,9 @@ Ldata_expr_2 = Ldata_d - Ldata_c
122
110
// CHECK: (('word-0', 0xa0000028),
123
111
// CHECK: ('word-1', 0x2b)),
124
112
// CHECK: # Relocation 1
125
- // CHECK: (('word-0', 0xa4000020),
126
- // CHECK: ('word-1', 0x37)),
127
- // CHECK: # Relocation 2
128
- // CHECK: (('word-0', 0xa1000000),
129
- // CHECK: ('word-1', 0x33)),
130
- // CHECK: # Relocation 3
131
- // CHECK: (('word-0', 0xa4000018),
132
- // CHECK: ('word-1', 0x33)),
133
- // CHECK: # Relocation 4
134
- // CHECK: (('word-0', 0xa1000000),
135
- // CHECK: ('word-1', 0x2f)),
136
- // CHECK: # Relocation 5
137
113
// CHECK: (('word-0', 0xa4000010),
138
114
// CHECK: ('word-1', 0x2b)),
139
- // CHECK: # Relocation 6
115
+ // CHECK: # Relocation 2
140
116
// CHECK: (('word-0', 0xa1000000),
141
117
// CHECK: ('word-1', 0x2f)),
142
118
// CHECK: ])
@@ -146,9 +122,9 @@ Ldata_expr_2 = Ldata_d - Ldata_c
146
122
// CHECK: # Load Command 1
147
123
// CHECK: (('command', 2)
148
124
// CHECK: ('size', 24)
149
- // CHECK: ('symoff', 524 )
125
+ // CHECK: ('symoff', 460 )
150
126
// CHECK: ('nsyms', 4)
151
- // CHECK: ('stroff', 572 )
127
+ // CHECK: ('stroff', 508 )
152
128
// CHECK: ('strsize', 36)
153
129
// CHECK: ('_string_data', '\x00_text_b\x00_data_b\x00_text_a\x00_data_a\x00\x00\x00\x00')
154
130
// CHECK: ('_symbols', [
0 commit comments