Lines Matching refs:hsh

1153       struct elf32_nios2_stub_hash_entry *hsh;  in stub_hash_newfunc()  local
1156 hsh = (struct elf32_nios2_stub_hash_entry *) entry; in stub_hash_newfunc()
1157 hsh->stub_sec = NULL; in stub_hash_newfunc()
1158 hsh->stub_offset = 0; in stub_hash_newfunc()
1159 hsh->target_value = 0; in stub_hash_newfunc()
1160 hsh->target_section = NULL; in stub_hash_newfunc()
1161 hsh->stub_type = nios2_stub_none; in stub_hash_newfunc()
1162 hsh->hh = NULL; in stub_hash_newfunc()
1163 hsh->id_sec = NULL; in stub_hash_newfunc()
1256 struct elf32_nios2_stub_hash_entry *hsh; in nios2_get_stub_entry() local
1275 hsh = hh->hsh_cache; in nios2_get_stub_entry()
1285 hsh = nios2_stub_hash_lookup (&htab->bstab, in nios2_get_stub_entry()
1289 hh->hsh_cache = hsh; in nios2_get_stub_entry()
1294 return hsh; in nios2_get_stub_entry()
1308 struct elf32_nios2_stub_hash_entry *hsh; in nios2_add_stub() local
1353 hsh = nios2_stub_hash_lookup (&htab->bstab, stub_name, in nios2_add_stub()
1355 if (hsh == NULL) in nios2_add_stub()
1363 hsh->stub_sec = stub_sec; in nios2_add_stub()
1364 hsh->stub_offset = 0; in nios2_add_stub()
1365 hsh->id_sec = link_sec; in nios2_add_stub()
1366 return hsh; in nios2_add_stub()
1638 struct elf32_nios2_stub_hash_entry *hsh in nios2_build_one_stub() local
1640 asection *stub_sec = hsh->stub_sec; in nios2_build_one_stub()
1644 hsh->stub_offset = stub_sec->size; in nios2_build_one_stub()
1646 switch (hsh->stub_type) in nios2_build_one_stub()
1656 sym_value = (hsh->target_value in nios2_build_one_stub()
1657 + hsh->target_section->output_offset in nios2_build_one_stub()
1658 + hsh->target_section->output_section->vma in nios2_build_one_stub()
1659 + hsh->addend); in nios2_build_one_stub()
1662 hsh->stub_offset, 3); in nios2_build_one_stub()
1663 nios2_elf32_install_imm16 (stub_sec, hsh->stub_offset, in nios2_build_one_stub()
1665 nios2_elf32_install_imm16 (stub_sec, hsh->stub_offset + 4, in nios2_build_one_stub()
1682 struct elf32_nios2_stub_hash_entry *hsh in nios2_size_one_stub() local
1685 switch (hsh->stub_type) in nios2_size_one_stub()
1689 hsh->stub_sec->size += 12; in nios2_size_one_stub()
1832 struct elf32_nios2_stub_hash_entry *hsh; in nios2_elf32_size_stubs() local
1946 hsh = nios2_stub_hash_lookup (&htab->bstab, in nios2_elf32_size_stubs()
1949 if (hsh != NULL) in nios2_elf32_size_stubs()
1956 hsh = nios2_add_stub (stub_name, section, htab, stub_type); in nios2_elf32_size_stubs()
1957 if (hsh == NULL) in nios2_elf32_size_stubs()
1962 hsh->target_value = sym_value; in nios2_elf32_size_stubs()
1963 hsh->target_section = sym_sec; in nios2_elf32_size_stubs()
1964 hsh->stub_type = stub_type; in nios2_elf32_size_stubs()
1965 hsh->hh = hh; in nios2_elf32_size_stubs()
1966 hsh->addend = irela->r_addend; in nios2_elf32_size_stubs()
2970 struct elf32_nios2_stub_hash_entry *hsh; in nios2_elf32_relocate_section() local
2972 hsh = nios2_get_stub_entry (input_section, sec, in nios2_elf32_relocate_section()
2974 if (hsh == NULL) in nios2_elf32_relocate_section()
2980 dest = (hsh->stub_offset in nios2_elf32_relocate_section()
2981 + hsh->stub_sec->output_offset in nios2_elf32_relocate_section()
2982 + hsh->stub_sec->output_section->vma); in nios2_elf32_relocate_section()