Home | History | Annotate | Download | only in bfd

Lines Matching full:gregdata

1151 	struct bpo_greg_section_info *gregdata;
1185 gregdata = mmix_elf_section_data (bpo_greg_section)->bpo.greg;
1186 bpo_index = gregdata->bpo_reloc_indexes[bpodata->bpo_index++];
1191 if (value != gregdata->reloc_request[bpo_index].value)
1198 (unsigned long) (gregdata->reloc_request[bpo_index].value
1200 (unsigned long) gregdata->reloc_request[bpo_index].value);
1208 gregdata->reloc_request[bpo_index].regindex
1212 gregdata->reloc_request[bpo_index].offset,
1849 struct bpo_greg_section_info *gregdata = NULL;
1905 gregdata = (struct bpo_greg_section_info *)
1907 if (gregdata == NULL)
1910 = gregdata;
1912 else if (gregdata == NULL)
1913 gregdata
1930 = gregdata->n_max_bpo_relocs;
1937 gregdata->n_max_bpo_relocs++;
1941 gregdata->n_bpo_relocs
1942 = gregdata->n_max_bpo_relocs;
2319 struct bpo_greg_section_info *gregdata;
2345 gregdata = mmix_elf_section_data (bpo_gregs_section)->bpo.greg;
2346 if (gregdata == NULL)
2349 n_gregs = gregdata->n_bpo_relocs;
2350 gregdata->n_allocated_bpo_gregs = n_gregs;
2354 gregdata->n_remaining_bpo_relocs_this_relaxation_round = n_gregs;
2365 gregdata->reloc_request
2368 * gregdata->n_max_bpo_relocs);
2370 gregdata->bpo_reloc_indexes
2373 gregdata->n_max_bpo_relocs
2379 for (i = 0; i < gregdata->n_max_bpo_relocs; i++)
2382 gregdata->reloc_request[i].bpo_reloc_no = i;
2398 struct bpo_greg_section_info *gregdata;
2423 gregdata = mmix_elf_section_data (bpo_gregs_section)->bpo.greg;
2424 if (gregdata == NULL)
2427 n_gregs = gregdata->n_allocated_bpo_gregs;
2435 accounted for and the rest of gregdata is probably inconsistent.
2438 if (gregdata->n_remaining_bpo_relocs_this_relaxation_round
2439 != gregdata->n_bpo_relocs)
2444 gregdata->n_remaining_bpo_relocs_this_relaxation_round,
2445 gregdata->n_bpo_relocs);
2450 if (gregdata->reloc_request[i].regindex != lastreg)
2452 bfd_put_64 (bpo_greg_owner, gregdata->reloc_request[i].value,
2454 lastreg = gregdata->reloc_request[i].regindex;
2498 struct bpo_greg_section_info *gregdata;
2513 gregdata = mmix_elf_section_data (bpo_gregs_section)->bpo.greg;
2514 if (gregdata == NULL)
2524 n_allocated_bpo_gregs: %u\n", gregdata->n_bpo_relocs,
2525 gregdata->n_max_bpo_relocs,
2526 gregdata->n_remaining_bpo_relocs_this_relaxation_round,
2527 gregdata->n_allocated_bpo_gregs);
2529 if (gregdata->reloc_request)
2530 for (i = 0; i < gregdata->n_max_bpo_relocs; i++)
2533 (gregdata->bpo_reloc_indexes != NULL
2534 ? gregdata->bpo_reloc_indexes[i] : (size_t) -1),
2535 gregdata->reloc_request[i].bpo_reloc_no,
2536 gregdata->reloc_request[i].valid,
2538 (unsigned long) (gregdata->reloc_request[i].value >> 32),
2539 (unsigned long) gregdata->reloc_request[i].value,
2540 gregdata->reloc_request[i].regindex,
2541 gregdata->reloc_request[i].offset);
2564 struct bpo_greg_section_info *gregdata;
2596 gregdata = mmix_elf_section_data (bpo_gregs_section)->bpo.greg;
2600 gregdata = NULL;
2718 && gregdata != NULL)
2720 gregdata->n_remaining_bpo_relocs_this_relaxation_round--;
2787 gregdata->reloc_request[gregdata->bpo_reloc_indexes[bpono]].value
2789 gregdata->reloc_request[gregdata->bpo_reloc_indexes[bpono++]].valid = TRUE;
2790 gregdata->n_remaining_bpo_relocs_this_relaxation_round--;
2797 if (gregdata != NULL
2798 && gregdata->n_remaining_bpo_relocs_this_relaxation_round == 0)
2805 gregdata->n_remaining_bpo_relocs_this_relaxation_round
2806 = gregdata->n_bpo_relocs;
2808 qsort (gregdata->reloc_request,
2809 gregdata->n_max_bpo_relocs,
2817 for (i = 0; i < gregdata->n_max_bpo_relocs; i++)
2818 if (gregdata->bpo_reloc_indexes[gregdata->reloc_request[i].bpo_reloc_no]
2821 gregdata->bpo_reloc_indexes[gregdata->reloc_request[i].bpo_reloc_no]
2828 for (i = 0, regindex = 0, prev_base = gregdata->reloc_request[0].value;
2829 i < gregdata->n_bpo_relocs;
2832 if (gregdata->reloc_request[i].value > prev_base + 255)
2835 prev_base = gregdata->reloc_request[i].value;
2837 gregdata->reloc_request[i].regindex = regindex;
2838 gregdata->reloc_request[i].offset
2839 = gregdata->reloc_request[i].value - prev_base;
2846 if (gregdata->n_allocated_bpo_gregs != regindex + 1)
2848 gregdata->n_allocated_bpo_gregs = regindex + 1;