Lines Matching refs:link_order

46 	struct bfd_link_order *link_order;  in build_link_order()  local
58 link_order = bfd_new_link_order (link_info.output_bfd, output_section); in build_link_order()
59 if (link_order == NULL) in build_link_order()
62 link_order->type = bfd_data_link_order; in build_link_order()
63 link_order->offset = statement->data_statement.output_offset; in build_link_order()
64 link_order->u.data.contents = (bfd_byte *) xmalloc (QUAD_SIZE); in build_link_order()
146 link_order->u.data.contents); in build_link_order()
158 (link_order->u.data.contents in build_link_order()
161 (link_order->u.data.contents in build_link_order()
164 link_order->size = QUAD_SIZE; in build_link_order()
168 link_order->u.data.contents); in build_link_order()
169 link_order->size = LONG_SIZE; in build_link_order()
173 link_order->u.data.contents); in build_link_order()
174 link_order->size = SHORT_SIZE; in build_link_order()
178 link_order->u.data.contents); in build_link_order()
179 link_order->size = BYTE_SIZE; in build_link_order()
184 link_order->u.data.size = link_order->size; in build_link_order()
192 struct bfd_link_order *link_order; in build_link_order() local
204 link_order = bfd_new_link_order (link_info.output_bfd, output_section); in build_link_order()
205 if (link_order == NULL) in build_link_order()
208 link_order->offset = rs->output_offset; in build_link_order()
209 link_order->size = bfd_get_reloc_size (rs->howto); in build_link_order()
211 link_order->u.reloc.p = (struct bfd_link_order_reloc *) in build_link_order()
214 link_order->u.reloc.p->reloc = rs->reloc; in build_link_order()
215 link_order->u.reloc.p->addend = rs->addend_value; in build_link_order()
219 link_order->type = bfd_section_reloc_link_order; in build_link_order()
221 link_order->u.reloc.p->u.section = rs->section; in build_link_order()
224 link_order->u.reloc.p->u.section = rs->section->output_section; in build_link_order()
225 link_order->u.reloc.p->addend += rs->section->output_offset; in build_link_order()
230 link_order->type = bfd_symbol_reloc_link_order; in build_link_order()
231 link_order->u.reloc.p->u.name = rs->name; in build_link_order()
246 struct bfd_link_order *link_order; in build_link_order() local
255 link_order = bfd_new_link_order (link_info.output_bfd, in build_link_order()
263 link_order->type = bfd_data_link_order; in build_link_order()
264 link_order->u.data.contents = (unsigned char *) ""; in build_link_order()
265 link_order->u.data.size = 1; in build_link_order()
269 link_order->type = bfd_indirect_link_order; in build_link_order()
270 link_order->u.indirect.section = i; in build_link_order()
273 link_order->size = i->size; in build_link_order()
274 link_order->offset = i->output_offset; in build_link_order()
283 struct bfd_link_order *link_order; in build_link_order() local
294 link_order = bfd_new_link_order (link_info.output_bfd, in build_link_order()
296 link_order->type = bfd_data_link_order; in build_link_order()
297 link_order->size = statement->padding_statement.size; in build_link_order()
298 link_order->offset = statement->padding_statement.output_offset; in build_link_order()
299 link_order->u.data.contents = statement->padding_statement.fill->data; in build_link_order()
300 link_order->u.data.size = statement->padding_statement.fill->size; in build_link_order()
407 struct bfd_link_order *l = s->map_head.link_order; in ds()
439 for (p = s->map_head.link_order; p; p = p->next) in sanity_check()
476 for (l = NULL, p = cursor->map_head.link_order; p != NULL; p = l->next) in split_sections()
517 n->map_head.link_order = p; in split_sections()
518 n->map_tail.link_order = cursor->map_tail.link_order; in split_sections()
519 cursor->map_tail.link_order = l; in split_sections()