Lines Matching refs:tab
14632 Elf32_gptab *tab; in _bfd_mips_elf_final_link() local
14705 tab = bfd_malloc (amt); in _bfd_mips_elf_final_link()
14706 if (tab == NULL) in _bfd_mips_elf_final_link()
14708 tab[0].gt_header.gt_current_g_value = elf_gp_size (abfd); in _bfd_mips_elf_final_link()
14709 tab[0].gt_header.gt_unused = 0; in _bfd_mips_elf_final_link()
14750 free (tab); in _bfd_mips_elf_final_link()
14762 if (tab[look].gt_entry.gt_g_value >= val) in _bfd_mips_elf_final_link()
14763 tab[look].gt_entry.gt_bytes += add; in _bfd_mips_elf_final_link()
14765 if (tab[look].gt_entry.gt_g_value == val) in _bfd_mips_elf_final_link()
14776 new_tab = bfd_realloc (tab, amt); in _bfd_mips_elf_final_link()
14779 free (tab); in _bfd_mips_elf_final_link()
14782 tab = new_tab; in _bfd_mips_elf_final_link()
14783 tab[c].gt_entry.gt_g_value = val; in _bfd_mips_elf_final_link()
14784 tab[c].gt_entry.gt_bytes = add; in _bfd_mips_elf_final_link()
14792 if (tab[look].gt_entry.gt_g_value < val in _bfd_mips_elf_final_link()
14794 || (tab[look].gt_entry.gt_g_value in _bfd_mips_elf_final_link()
14795 > tab[max].gt_entry.gt_g_value))) in _bfd_mips_elf_final_link()
14799 tab[c].gt_entry.gt_bytes += in _bfd_mips_elf_final_link()
14800 tab[max].gt_entry.gt_bytes; in _bfd_mips_elf_final_link()
14815 qsort (tab + 1, c - 1, sizeof (tab[0]), gptab_compare); in _bfd_mips_elf_final_link()
14822 free (tab); in _bfd_mips_elf_final_link()
14827 bfd_mips_elf32_swap_gptab_out (abfd, tab + j, ext_tab + j); in _bfd_mips_elf_final_link()
14828 free (tab); in _bfd_mips_elf_final_link()