Lines Matching defs:stub_entry
3345 struct elf32_csky_stub_hash_entry *stub_entry;
3351 stub_entry = (struct elf32_csky_stub_hash_entry *) gen_entry;
3353 BFD_ASSERT (stub_entry->stub_type > csky_stub_none
3354 && stub_entry->stub_type < ARRAY_SIZE (stub_definitions));
3355 size = find_stub_size_and_template (stub_entry->stub_type,
3357 stub_entry->stub_size = size;
3358 stub_entry->stub_template = template_sequence;
3359 stub_entry->stub_template_size = template_size;
3362 stub_entry->stub_sec->size += size;
3376 struct elf32_csky_stub_hash_entry *stub_entry;
3383 stub_entry = csky_stub_hash_lookup (&htab->stub_hash_table, stub_name,
3385 if (stub_entry == NULL)
3392 stub_entry->stub_sec = stub_sec;
3393 stub_entry->stub_offset = 0;
3394 stub_entry->id_sec = link_sec;
3396 return stub_entry;
3501 struct elf32_csky_stub_hash_entry *stub_entry;
3630 stub_entry
3634 if (stub_entry != NULL)
3638 stub_entry->target_value = sym_value;
3641 stub_entry = elf32_csky_add_stub (stub_name, section,
3643 if (stub_entry == NULL)
3648 stub_entry->target_value = sym_value;
3649 stub_entry->target_section = sym_sec;
3650 stub_entry->stub_type = stub_type;
3651 stub_entry->h = hash;
3652 stub_entry->st_type = st_type;
3656 stub_entry->output_name =
3660 if (stub_entry->output_name == NULL)
3665 sprintf (stub_entry->output_name, STUB_ENTRY_NAME,
3704 struct elf32_csky_stub_hash_entry *stub_entry;
3721 stub_entry = (struct elf32_csky_stub_hash_entry *)gen_entry;
3726 if (stub_entry->target_section->output_section == NULL
3730 stub_entry->target_section);
3735 stub_sec = stub_entry->stub_sec;
3738 stub_entry->stub_offset = stub_sec->size;
3739 loc = stub_sec->contents + stub_entry->stub_offset;
3744 h = &stub_entry->h->elf;
3752 sym_value = (stub_entry->target_value
3753 + stub_entry->target_section->output_offset
3754 + stub_entry->target_section->output_section->vma);
3756 template_sequence = stub_entry->stub_template;
3757 template_size = stub_entry->stub_template_size;
3788 BFD_ASSERT (size == stub_entry->stub_size);
3801 outrel.r_offset = stub_entry->stub_offset + stub_reloc_offset[i];
3816 stub_entry->stub_offset + stub_reloc_offset[i],
3817 sym_value + stub_entry->target_addend,
4166 struct elf32_csky_stub_hash_entry *stub_entry;
4182 stub_entry = h->stub_cache;
4189 stub_entry = csky_stub_hash_lookup (&htab->stub_hash_table,
4192 h->stub_cache = stub_entry;
4196 return stub_entry;
4686 struct elf32_csky_stub_hash_entry *stub_entry = NULL;
4688 stub_entry = elf32_csky_get_stub_entry (input_section,
4693 stub_entry = elf32_csky_get_stub_entry (input_section,
4696 if (stub_entry != NULL)
4698 = (stub_entry->stub_offset
4699 + stub_entry->stub_sec->output_offset
4700 + stub_entry->stub_sec->output_section->vma);