Lines Matching refs:offset

300 #define VALID_DYNAMIC_NAME(offset)	((dynamic_strings != NULL) && (offset < dynamic_strings_length))
303 #define GET_DYNAMIC_NAME(offset) (dynamic_strings + offset)
312 get_data (void *var, FILE *file, long offset, size_t size, size_t nmemb,
320 if (fseek (file, archive_file_offset + offset, SEEK_SET))
323 archive_file_offset + offset, reason);
836 offset. */
906 bfd_vma offset;
913 offset = rels[i].r_offset;
955 printf ("%8.8lx %8.8lx ", _bfd_int64_low (offset), _bfd_int64_low (info));
957 printf ("%8.8lx %8.8lx ", offset, info);
966 _bfd_int64_high (offset),
967 _bfd_int64_low (offset),
974 offset, info);
3387 printf (_("\nThere are %d program headers, starting at offset "),
3599 /* Find the file offset corresponding to VMA by using the program headers. */
4029 printf (_("There are %d section headers, starting at offset 0x%lx:\n"),
4692 (_("\n'%s' relocation section at offset 0x%lx contains %ld bytes:\n"),
4735 printf (_(" at offset 0x%lx contains %lu entries:\n"),
4797 /* An absolute address consists of a section and an offset. If the
4798 section is NULL, the offset itself is the address, otherwise, the
4799 address equals to LOAD_ADDRESS(section) + offset. */
4804 bfd_vma offset;
4809 ? section_headers [(a).section].sh_addr + (a).offset \
4810 : (a).offset)
4839 bfd_vma *offset)
4850 && addr.offset >= sym->st_value
4851 && addr.offset - sym->st_value < dist)
4854 dist = addr.offset - sym->st_value;
4863 *offset = dist;
4867 *offset = addr.offset;
4879 bfd_vma offset;
4885 aux->strtab_size, tp->start, &procname, &offset);
4893 if (offset)
4894 printf ("+%lx", (unsigned long) offset);
4898 print_vma (tp->start.offset, PREFIX_HEX);
4900 print_vma (tp->end.offset, PREFIX_HEX);
4902 (unsigned long) (tp->info.offset - aux->seg_base));
4979 tep->start.offset = byte_get ((unsigned char *) tp + 0, 4);
4980 tep->end.offset = byte_get ((unsigned char *) tp + 4, 4);
4981 tep->info.offset = byte_get ((unsigned char *) tp + 8, 4);
4985 tep->start.offset = BYTE_GET ((unsigned char *) tp + 0);
4986 tep->end.offset = BYTE_GET ((unsigned char *) tp + 8);
4987 tep->info.offset = BYTE_GET ((unsigned char *) tp + 16);
4989 tep->start.offset += aux->seg_base;
4990 tep->end.offset += aux->seg_base;
4991 tep->info.offset += aux->seg_base;
5035 aux->table[i].start.offset += rp->r_addend + sym->st_value;
5039 aux->table[i].end.offset += rp->r_addend + sym->st_value;
5043 aux->table[i].info.offset += rp->r_addend + sym->st_value;
5168 printf (_(" at offset 0x%lx contains %lu entries:\n"),
5248 bfd_vma offset;
5253 &offset);
5261 if (offset)
5262 printf ("+%lx", (unsigned long) offset);
5266 print_vma (tp->start.offset, PREFIX_HEX);
5268 print_vma (tp->end.offset, PREFIX_HEX);
5365 tep->start.offset = byte_get ((unsigned char *) tp + 0, 4);
5366 tep->end.offset = byte_get ((unsigned char *) tp + 4, 4);
5370 tep->start.offset += aux->seg_base;
5371 tep->end.offset += aux->seg_base;
5448 aux->table[i].start.offset += sym->st_value + rp->r_addend;
5452 aux->table[i].end.offset += sym->st_value + rp->r_addend;
5508 printf (_(" at offset 0x%lx contains %lu entries:\n"),
5902 unsigned long offset;
5915 offset = offset_from_vma (file, entry->d_un.d_val, 0);
5918 str_tab_len = archive_file_size - offset;
5923 str_tab_len = ftell (file) - offset;
5933 dynamic_strings = get_data (NULL, file, offset, 1, str_tab_len,
5994 printf (_("\nDynamic section at offset 0x%lx contains %u entries:\n"),
6722 unsigned long offset;
6724 offset = offset_from_vma
6735 get_data (&evn, file, offset, sizeof (evn), 1,
6741 a_off = offset + ivn.vn_aux;
6769 offset += ivn.vn_next;
6779 unsigned long offset;
6781 offset = offset_from_vma
6787 get_data (&evd, file, offset, sizeof (evd), 1,
6793 offset += ivd.vd_next;
6806 offset - ivd.vd_next + ivd.vd_aux,
7219 unsigned long offset;
7223 offset = offset_from_vma
7227 get_data (&data, file, offset + si * sizeof (vers_data),
7249 offset = offset_from_vma
7257 get_data (&evn, file, offset, sizeof (evn), 1,
7263 vna_off = offset + ivn.vn_aux;
7285 offset += ivn.vn_next;
7311 unsigned long offset;
7313 offset = offset_from_vma
7322 get_data (&evd, file, offset, sizeof (evd),
7329 offset += ivd.vd_next;
7334 offset -= ivd.vd_next;
7335 offset += ivd.vd_aux;
7337 get_data (&evda, file, offset, sizeof (evda),
7606 printf (_("\nDynamic info segment at offset 0x%lx contains %d entries:\n"),
7848 warn (_("skipping relocation of unknown size against offset 0x%lx in section %s\n"),
7857 warn (_("skipping invalid relocation offset 0x%lx in section %s\n"),
8735 size_t offset;
8753 offset = cnt = 0;
8756 while (offset < sect->sh_size)
8760 eoption = (Elf_External_Options *) ((char *) eopt + offset);
8767 offset += option->size;
9306 process_corefile_note_segment (FILE *file, bfd_vma offset, bfd_vma length)
9315 pnotes = get_data (NULL, file, offset, 1, length, _("notes"));
9321 printf (_("\nNotes at offset 0x%08lx with length 0x%08lx:\n"),
9322 (unsigned long) offset, (unsigned long) length);
9336 inote.descpos = offset + (inote.descdata - (char *) pnotes);
9342 warn (_("corrupt note found at offset %lx into core notes\n"),
9815 error (_("%s: invalid archive string table offset %lu\n"), file_name, off);