• Home
  • Raw
  • Download

Lines Matching refs:arg

1828   struct elf_m68k_can_merge_gots_arg *arg;  in elf_m68k_can_merge_gots_1()  local
1833 arg = (struct elf_m68k_can_merge_gots_arg *) _arg; in elf_m68k_can_merge_gots_1()
1835 entry2 = elf_m68k_get_got_entry (arg->big, &entry1->key_, SEARCH, NULL); in elf_m68k_can_merge_gots_1()
1840 type = elf_m68k_update_got_entry_type (arg->diff, in elf_m68k_can_merge_gots_1()
1855 type = elf_m68k_update_got_entry_type (arg->diff, in elf_m68k_can_merge_gots_1()
1859 arg->diff->local_n_slots += elf_m68k_reloc_got_n_slots (type); in elf_m68k_can_merge_gots_1()
1867 entry = elf_m68k_get_got_entry (arg->diff, &entry1->key_, MUST_CREATE, in elf_m68k_can_merge_gots_1()
1868 arg->info); in elf_m68k_can_merge_gots_1()
1871 arg->error_p = TRUE; in elf_m68k_can_merge_gots_1()
1936 struct elf_m68k_merge_gots_arg *arg; in elf_m68k_merge_gots_1() local
1940 arg = (struct elf_m68k_merge_gots_arg *) _arg; in elf_m68k_merge_gots_1()
1942 to = elf_m68k_get_got_entry (arg->big, &from->key_, FIND_OR_CREATE, in elf_m68k_merge_gots_1()
1943 arg->info); in elf_m68k_merge_gots_1()
1946 arg->error_p = TRUE; in elf_m68k_merge_gots_1()
2024 struct elf_m68k_finalize_got_offsets_arg *arg; in elf_m68k_finalize_got_offsets_1() local
2030 arg = (struct elf_m68k_finalize_got_offsets_arg *) _arg; in elf_m68k_finalize_got_offsets_1()
2042 if (arg->offset1[got_offset_size] + entry_size in elf_m68k_finalize_got_offsets_1()
2043 > arg->offset2[got_offset_size]) in elf_m68k_finalize_got_offsets_1()
2049 BFD_ASSERT (arg->offset2[got_offset_size] in elf_m68k_finalize_got_offsets_1()
2050 != arg->offset2[-(int) got_offset_size - 1]); in elf_m68k_finalize_got_offsets_1()
2053 arg->offset1[got_offset_size] = arg->offset1[-(int) got_offset_size - 1]; in elf_m68k_finalize_got_offsets_1()
2054 arg->offset2[got_offset_size] = arg->offset2[-(int) got_offset_size - 1]; in elf_m68k_finalize_got_offsets_1()
2057 BFD_ASSERT (arg->offset1[got_offset_size] + entry_size in elf_m68k_finalize_got_offsets_1()
2058 <= arg->offset2[got_offset_size]); in elf_m68k_finalize_got_offsets_1()
2062 entry->u.s2.offset = arg->offset1[got_offset_size]; in elf_m68k_finalize_got_offsets_1()
2063 arg->offset1[got_offset_size] += entry_size; in elf_m68k_finalize_got_offsets_1()
2070 h = arg->symndx2h[entry->key_.symndx]; in elf_m68k_finalize_got_offsets_1()
2083 ++arg->n_ldm_entries; in elf_m68k_finalize_got_offsets_1()
2223 elf_m68k_partition_multi_got_2 (struct elf_m68k_partition_multi_got_arg *arg) in elf_m68k_partition_multi_got_2() argument
2227 elf_m68k_finalize_got_offsets (arg->current_got, in elf_m68k_partition_multi_got_2()
2228 (elf_m68k_hash_table (arg->info) in elf_m68k_partition_multi_got_2()
2230 arg->symndx2h, in elf_m68k_partition_multi_got_2()
2231 &arg->offset, &n_ldm_entries); in elf_m68k_partition_multi_got_2()
2233 arg->n_slots += arg->current_got->n_slots[R_32]; in elf_m68k_partition_multi_got_2()
2235 if (!arg->info->shared) in elf_m68k_partition_multi_got_2()
2240 arg->slots_relas_diff += arg->current_got->local_n_slots; in elf_m68k_partition_multi_got_2()
2244 arg->slots_relas_diff += n_ldm_entries; in elf_m68k_partition_multi_got_2()
2246 BFD_ASSERT (arg->slots_relas_diff <= arg->n_slots); in elf_m68k_partition_multi_got_2()
2257 struct elf_m68k_partition_multi_got_arg *arg; in elf_m68k_partition_multi_got_1() local
2263 arg = (struct elf_m68k_partition_multi_got_arg *) _arg; in elf_m68k_partition_multi_got_1()
2271 if (arg->current_got != NULL) in elf_m68k_partition_multi_got_1()
2277 if (!elf_m68k_can_merge_gots (arg->current_got, got, arg->info, diff)) in elf_m68k_partition_multi_got_1()
2282 arg->error_p = TRUE; in elf_m68k_partition_multi_got_1()
2286 if (elf_m68k_hash_table (arg->info)->allow_multigot_p) in elf_m68k_partition_multi_got_1()
2303 arg->current_got = elf_m68k_create_empty_got (arg->info); in elf_m68k_partition_multi_got_1()
2304 if (arg->current_got == NULL) in elf_m68k_partition_multi_got_1()
2306 arg->error_p = TRUE; in elf_m68k_partition_multi_got_1()
2310 arg->current_got->offset = arg->offset; in elf_m68k_partition_multi_got_1()
2317 if (!elf_m68k_merge_gots (arg->current_got, diff, arg->info)) in elf_m68k_partition_multi_got_1()
2319 arg->error_p = TRUE; in elf_m68k_partition_multi_got_1()
2326 entry->got = arg->current_got; in elf_m68k_partition_multi_got_1()
2331 elf_m68k_partition_multi_got_2 (arg); in elf_m68k_partition_multi_got_1()
2334 arg->current_got = NULL; in elf_m68k_partition_multi_got_1()
2339 BFD_ASSERT (arg->error_p); in elf_m68k_partition_multi_got_1()
2348 return arg->error_p == FALSE ? 1 : 0; in elf_m68k_partition_multi_got_1()
2364 struct elf_m68k_partition_multi_got_arg *arg; in elf_m68k_init_symndx2h_1() local
2366 arg = (struct elf_m68k_partition_multi_got_arg *) _arg; in elf_m68k_init_symndx2h_1()
2368 BFD_ASSERT (arg->symndx2h[h->got_entry_key] == NULL); in elf_m68k_init_symndx2h_1()
2369 arg->symndx2h[h->got_entry_key] = h; in elf_m68k_init_symndx2h_1()