Home | History | Annotate | Download | only in bfd

Lines Matching defs:diff

1293    all the entries from diff.  On success we add those entries to the big
1808 /* A current_got that we constructing a DIFF against. */
1813 struct elf_m68k_got *diff;
1841 type = elf_m68k_update_got_entry_type (arg->diff,
1852 /* We didn't find the entry. Add entry1 to DIFF. */
1856 type = elf_m68k_update_got_entry_type (arg->diff,
1860 arg->diff->local_n_slots += elf_m68k_reloc_got_n_slots (type);
1864 /* Create an entry in DIFF. */
1868 entry = elf_m68k_get_got_entry (arg->diff, &entry1->key_, MUST_CREATE,
1883 Construct DIFF GOT holding the entries which should be added or updated
1891 struct elf_m68k_got *diff)
1898 arg_.diff = diff;
1904 diff->offset = 0;
1909 if ((big->n_slots[R_8] + arg_.diff->n_slots[R_8]
1911 || (big->n_slots[R_16] + arg_.diff->n_slots[R_16]
1930 /* Process a single entry from DIFF got. Add or update corresponding
1958 /* Merge data from DIFF to BIG. INFO is context where memory should be
1963 struct elf_m68k_got *diff,
1966 if (diff->entries != NULL)
1967 /* DIFF is not empty. Merge it into BIG GOT. */
1975 htab_traverse_noresize (diff->entries, elf_m68k_merge_gots_1, &arg_);
1980 big->n_slots[R_8] += diff->n_slots[R_8];
1981 big->n_slots[R_16] += diff->n_slots[R_16];
1982 big->n_slots[R_32] += diff->n_slots[R_32];
1983 big->local_n_slots += diff->local_n_slots;
1986 /* DIFF is empty. */
1988 BFD_ASSERT (diff->n_slots[R_8] == 0);
1989 BFD_ASSERT (diff->n_slots[R_16] == 0);
1990 BFD_ASSERT (diff->n_slots[R_32] == 0);
1991 BFD_ASSERT (diff->local_n_slots == 0);
2261 struct elf_m68k_got *diff;
2270 diff = NULL;
2273 /* Construct diff. */
2275 diff = &diff_;
2276 elf_m68k_init_got (diff);
2278 if (!elf_m68k_can_merge_gots (arg->current_got, got, arg->info, diff))
2280 if (diff->offset == 0)
2289 elf_m68k_clear_got (diff);
2291 diff = NULL;
2301 /* Diff of got against empty current_got is got itself. */
2313 diff = got;
2316 if (diff != NULL)
2318 if (!elf_m68k_merge_gots (arg->current_got, diff, arg->info))
2346 if (diff != NULL)
2347 elf_m68k_clear_got (diff);