Home | History | Annotate | Download | only in bfd

Lines Matching defs:stub_entry

3343   struct elf32_csky_stub_hash_entry *stub_entry;
3349 stub_entry = (struct elf32_csky_stub_hash_entry *) gen_entry;
3351 BFD_ASSERT (stub_entry->stub_type > csky_stub_none
3352 && stub_entry->stub_type < ARRAY_SIZE (stub_definitions));
3353 size = find_stub_size_and_template (stub_entry->stub_type,
3355 stub_entry->stub_size = size;
3356 stub_entry->stub_template = template_sequence;
3357 stub_entry->stub_template_size = template_size;
3360 stub_entry->stub_sec->size += size;
3374 struct elf32_csky_stub_hash_entry *stub_entry;
3381 stub_entry = csky_stub_hash_lookup (&htab->stub_hash_table, stub_name,
3383 if (stub_entry == NULL)
3390 stub_entry->stub_sec = stub_sec;
3391 stub_entry->stub_offset = 0;
3392 stub_entry->id_sec = link_sec;
3394 return stub_entry;
3500 struct elf32_csky_stub_hash_entry *stub_entry;
3629 stub_entry
3633 if (stub_entry != NULL)
3637 stub_entry->target_value = sym_value;
3640 stub_entry = elf32_csky_add_stub (stub_name, section,
3642 if (stub_entry == NULL)
3647 stub_entry->target_value = sym_value;
3648 stub_entry->target_section = sym_sec;
3649 stub_entry->stub_type = stub_type;
3650 stub_entry->h = hash;
3651 stub_entry->st_type = st_type;
3655 stub_entry->output_name =
3659 if (stub_entry->output_name == NULL)
3664 sprintf (stub_entry->output_name, STUB_ENTRY_NAME,
3703 struct elf32_csky_stub_hash_entry *stub_entry;
3720 stub_entry = (struct elf32_csky_stub_hash_entry *)gen_entry;
3725 if (stub_entry->target_section->output_section == NULL
3729 stub_entry->target_section);
3734 stub_sec = stub_entry->stub_sec;
3737 stub_entry->stub_offset = stub_sec->size;
3738 loc = stub_sec->contents + stub_entry->stub_offset;
3743 h = &stub_entry->h->elf;
3751 sym_value = (stub_entry->target_value
3752 + stub_entry->target_section->output_offset
3753 + stub_entry->target_section->output_section->vma);
3755 template_sequence = stub_entry->stub_template;
3756 template_size = stub_entry->stub_template_size;
3787 BFD_ASSERT (size == stub_entry->stub_size);
3800 outrel.r_offset = stub_entry->stub_offset + stub_reloc_offset[i];
3815 stub_entry->stub_offset + stub_reloc_offset[i],
3816 sym_value + stub_entry->target_addend,
4164 struct elf32_csky_stub_hash_entry *stub_entry;
4180 stub_entry = h->stub_cache;
4187 stub_entry = csky_stub_hash_lookup (&htab->stub_hash_table,
4190 h->stub_cache = stub_entry;
4194 return stub_entry;
4684 struct elf32_csky_stub_hash_entry *stub_entry = NULL;
4686 stub_entry = elf32_csky_get_stub_entry (input_section,
4691 stub_entry = elf32_csky_get_stub_entry (input_section,
4694 if (stub_entry != NULL)
4696 = (stub_entry->stub_offset
4697 + stub_entry->stub_sec->output_offset
4698 + stub_entry->stub_sec->output_section->vma);