Home | History | Annotate | Download | only in bfd

Lines Matching refs:hdr_info

476   struct eh_frame_hdr_info *hdr_info;
484 hdr_info = &htab->eh_info;
928 hdr_info->table = FALSE;
992 HDR_INFO is the .eh_frame_hdr information and COOKIE describes the
997 struct eh_frame_hdr_info *hdr_info,
1092 if (hdr_info->cies == NULL)
1094 hdr_info->cies = htab_try_create (1, cie_hash, cie_eq, free);
1095 if (hdr_info->cies == NULL)
1098 loc = htab_find_slot_with_hash (hdr_info->cies, cie, cie->hash, INSERT);
1138 struct eh_frame_hdr_info *hdr_info;
1151 hdr_info = &elf_hash_table (info)->eh_info;
1188 hdr_info->table = FALSE;
1194 hdr_info->fde_count++;
1195 ent->u.fde.cie_inf = find_merged_cie (abfd, info, sec, hdr_info,
1227 struct eh_frame_hdr_info *hdr_info;
1231 hdr_info = &htab->eh_info;
1233 if (hdr_info->cies != NULL)
1235 htab_delete (hdr_info->cies);
1236 hdr_info->cies = NULL;
1239 sec = hdr_info->hdr_sec;
1244 if (hdr_info->table)
1245 sec->size += 4 + hdr_info->fde_count * 8;
1280 struct eh_frame_hdr_info *hdr_info;
1283 hdr_info = &htab->eh_info;
1284 if (hdr_info->hdr_sec == NULL)
1287 if (bfd_is_abs_section (hdr_info->hdr_sec->output_section)
1291 hdr_info->hdr_sec->flags |= SEC_EXCLUDE;
1292 hdr_info->hdr_sec = NULL;
1296 hdr_info->table = TRUE;
1398 struct eh_frame_hdr_info *hdr_info;
1414 hdr_info = &htab->eh_info;
1416 if (hdr_info->table && hdr_info->array == NULL)
1417 hdr_info->array = (struct eh_frame_array_ent *)
1418 bfd_malloc (hdr_info->fde_count * sizeof(*hdr_info->array));
1419 if (hdr_info->array == NULL)
1420 hdr_info = NULL;
1600 BFD_ASSERT (hdr_info == NULL);
1647 if (hdr_info)
1654 hdr_info->array[hdr_info->array_count].initial_loc = address;
1655 hdr_info->array[hdr_info->array_count].range
1657 hdr_info->array[hdr_info->array_count++].fde
1785 struct eh_frame_hdr_info *hdr_info;
1790 hdr_info = &htab->eh_info;
1791 sec = hdr_info->hdr_sec;
1801 if (hdr_info->array && hdr_info->array_count == hdr_info->fde_count)
1802 size += 4 + hdr_info->fde_count * 8;
1821 if (hdr_info->array && hdr_info->array_count == hdr_info->fde_count)
1839 bfd_put_32 (abfd, hdr_info->fde_count, contents + EH_FRAME_HDR_SIZE);
1840 qsort (hdr_info->array, hdr_info->fde_count,
1841 sizeof (*hdr_info->array), vma_compare);
1842 for (i = 0; i < hdr_info->fde_count; i++)
1846 val = hdr_info->array[i].initial_loc - sec->output_section->vma;
1849 && (hdr_info->array[i].initial_loc
1855 val = hdr_info->array[i].fde - sec->output_section->vma;
1858 && (hdr_info->array[i].fde
1865 && (hdr_info->array[i].initial_loc
1866 < (hdr_info->array[i - 1].initial_loc
1867 + hdr_info->array[i - 1].range)))
1871 i - 1, hdr_info->array[i - 1].fde,
1872 i, hdr_info->array[i].fde);
1883 if (hdr_info->array != NULL)
1884 free (hdr_info->array);