• Home
  • Raw
  • Download

Lines Matching refs:PRIV

337 #define PRIV(name) PRIV2(abfd,name)  macro
472 struct vms_eihd *eihd = (struct vms_eihd *)PRIV (recrd.rec); in _bfd_vms_slurp_eihd()
485 PRIV (symvva) = symvva; in _bfd_vms_slurp_eihd()
489 PRIV (ident) = bfd_getl32 (eihd->ident); in _bfd_vms_slurp_eihd()
490 PRIV (matchctl) = eihd->matchctl; in _bfd_vms_slurp_eihd()
524 eisd = (struct vms_eisd *)(PRIV (recrd.rec) + offset); in _bfd_vms_slurp_eisd()
622 unsigned char *p = PRIV (recrd.rec) + offset; in _bfd_vms_slurp_eihs()
651 PRIV (dst_section) = section; in _bfd_vms_slurp_eihs()
730 if (PRIV (recrd.file_format) == FF_UNKNOWN) in maybe_adjust_record_pointer_for_object()
732 if (PRIV (recrd.rec)[0] == PRIV (recrd.rec)[4] in maybe_adjust_record_pointer_for_object()
733 && PRIV (recrd.rec)[1] == PRIV (recrd.rec)[5]) in maybe_adjust_record_pointer_for_object()
734 PRIV (recrd.file_format) = FF_FOREIGN; in maybe_adjust_record_pointer_for_object()
736 PRIV (recrd.file_format) = FF_NATIVE; in maybe_adjust_record_pointer_for_object()
740 if (PRIV (recrd.file_format) == FF_FOREIGN) in maybe_adjust_record_pointer_for_object()
741 PRIV (recrd.rec) += VMS_OBJECT_ADJUSTMENT; in maybe_adjust_record_pointer_for_object()
756 if (PRIV (recrd.file_format) == FF_FOREIGN && (bfd_tell (abfd) & 1)) in _bfd_vms_get_object_record()
758 if (bfd_bread (PRIV (recrd.buf), 1, abfd) != 1) in _bfd_vms_get_object_record()
766 if (bfd_bread (PRIV (recrd.buf), test_len, abfd) != test_len) in _bfd_vms_get_object_record()
773 PRIV (recrd.rec) = PRIV (recrd.buf); in _bfd_vms_get_object_record()
779 type = bfd_getl16 (PRIV (recrd.rec)); in _bfd_vms_get_object_record()
782 PRIV (recrd.rec), PRIV (recrd.rec_size), type)); in _bfd_vms_get_object_record()
798 PRIV (recrd.rec_size) = bfd_getl16 (PRIV (recrd.rec) + 2); in vms_get_remaining_object_record()
800 if (PRIV (recrd.rec_size) == 0) in vms_get_remaining_object_record()
807 if (PRIV (recrd.rec_size) > EOBJ__C_MAXRECSIZ) in vms_get_remaining_object_record()
814 to_read = PRIV (recrd.rec_size); in vms_get_remaining_object_record()
815 if (PRIV (recrd.file_format) == FF_FOREIGN) in vms_get_remaining_object_record()
819 if (to_read > PRIV (recrd.buf_size)) in vms_get_remaining_object_record()
821 PRIV (recrd.buf) in vms_get_remaining_object_record()
822 = (unsigned char *) bfd_realloc (PRIV (recrd.buf), to_read); in vms_get_remaining_object_record()
823 if (PRIV (recrd.buf) == NULL) in vms_get_remaining_object_record()
825 PRIV (recrd.buf_size) = to_read; in vms_get_remaining_object_record()
833 if (bfd_bread (PRIV (recrd.buf) + read_so_far, to_read, abfd) != to_read) in vms_get_remaining_object_record()
840 PRIV (recrd.rec) = PRIV (recrd.buf); in vms_get_remaining_object_record()
844 PRIV (recrd.rec_size))); in vms_get_remaining_object_record()
846 return PRIV (recrd.rec_size); in vms_get_remaining_object_record()
859 vms_rec = PRIV (recrd.rec); in _bfd_vms_slurp_ehdr()
871 PRIV (hdr_data).hdr_b_strlvl = vms_rec[6]; in _bfd_vms_slurp_ehdr()
872 PRIV (hdr_data).hdr_l_arch1 = bfd_getl32 (vms_rec + 8); in _bfd_vms_slurp_ehdr()
873 PRIV (hdr_data).hdr_l_arch2 = bfd_getl32 (vms_rec + 12); in _bfd_vms_slurp_ehdr()
874 PRIV (hdr_data).hdr_l_recsiz = bfd_getl32 (vms_rec + 16); in _bfd_vms_slurp_ehdr()
875 PRIV (hdr_data).hdr_t_name = _bfd_vms_save_counted_string (vms_rec + 20); in _bfd_vms_slurp_ehdr()
877 PRIV (hdr_data).hdr_t_version =_bfd_vms_save_counted_string (ptr); in _bfd_vms_slurp_ehdr()
879 PRIV (hdr_data).hdr_t_date = _bfd_vms_save_sized_string (ptr, 17); in _bfd_vms_slurp_ehdr()
883 PRIV (hdr_data).hdr_c_lnm = in _bfd_vms_slurp_ehdr()
884 _bfd_vms_save_sized_string (vms_rec, PRIV (recrd.rec_size - 6)); in _bfd_vms_slurp_ehdr()
888 PRIV (hdr_data).hdr_c_src = in _bfd_vms_slurp_ehdr()
889 _bfd_vms_save_sized_string (vms_rec, PRIV (recrd.rec_size - 6)); in _bfd_vms_slurp_ehdr()
893 PRIV (hdr_data).hdr_c_ttl = in _bfd_vms_slurp_ehdr()
894 _bfd_vms_save_sized_string (vms_rec, PRIV (recrd.rec_size - 6)); in _bfd_vms_slurp_ehdr()
1050 if (PRIV (gsd_sym_count) >= PRIV (max_sym_count)) in add_symbol_entry()
1052 if (PRIV (max_sym_count) == 0) in add_symbol_entry()
1054 PRIV (max_sym_count) = 128; in add_symbol_entry()
1055 PRIV (syms) = bfd_malloc in add_symbol_entry()
1056 (PRIV (max_sym_count) * sizeof (struct vms_symbol_entry *)); in add_symbol_entry()
1060 PRIV (max_sym_count) *= 2; in add_symbol_entry()
1061 PRIV (syms) = bfd_realloc in add_symbol_entry()
1062 (PRIV (syms), in add_symbol_entry()
1063 (PRIV (max_sym_count) * sizeof (struct vms_symbol_entry *))); in add_symbol_entry()
1065 if (PRIV (syms) == NULL) in add_symbol_entry()
1069 PRIV (syms)[PRIV (gsd_sym_count)++] = sym; in add_symbol_entry()
1107 PRIV (recrd.rec) += 8; /* Skip type, size, align pad. */ in _bfd_vms_slurp_egsd()
1108 PRIV (recrd.rec_size) -= 8; in _bfd_vms_slurp_egsd()
1113 while (PRIV (recrd.rec_size) > 0) in _bfd_vms_slurp_egsd()
1115 vms_rec = PRIV (recrd.rec); in _bfd_vms_slurp_egsd()
1187 if (PRIV (section_count) >= PRIV (section_max)) in _bfd_vms_slurp_egsd()
1189 if (PRIV (section_max) == 0) in _bfd_vms_slurp_egsd()
1190 PRIV (section_max) = 16; in _bfd_vms_slurp_egsd()
1192 PRIV (section_max) *= 2; in _bfd_vms_slurp_egsd()
1193 PRIV (sections) = bfd_realloc_or_free in _bfd_vms_slurp_egsd()
1194 (PRIV (sections), PRIV (section_max) * sizeof (asection *)); in _bfd_vms_slurp_egsd()
1195 if (PRIV (sections) == NULL) in _bfd_vms_slurp_egsd()
1199 PRIV (sections)[PRIV (section_count)] = section; in _bfd_vms_slurp_egsd()
1200 PRIV (section_count)++; in _bfd_vms_slurp_egsd()
1237 entry->section = PRIV (sections)[bfd_getl32 (esdf->psindx)]; in _bfd_vms_slurp_egsd()
1241 PRIV (norm_sym_count)++; in _bfd_vms_slurp_egsd()
1245 PRIV (sections)[bfd_getl32 (esdf->ca_psindx)]; in _bfd_vms_slurp_egsd()
1271 entry->section = PRIV (sections)[bfd_getl32 (egst->psindx)]; in _bfd_vms_slurp_egsd()
1279 PRIV (norm_sym_count)++; in _bfd_vms_slurp_egsd()
1299 PRIV (recrd.rec_size) -= gsd_size; in _bfd_vms_slurp_egsd()
1300 PRIV (recrd.rec) += gsd_size; in _bfd_vms_slurp_egsd()
1303 if (PRIV (gsd_sym_count) > 0) in _bfd_vms_slurp_egsd()
1317 (unsigned long)val, reloc, PRIV (stackptr))); in _bfd_vms_push()
1319 PRIV (stack[PRIV (stackptr)]).value = val; in _bfd_vms_push()
1320 PRIV (stack[PRIV (stackptr)]).reloc = reloc; in _bfd_vms_push()
1321 PRIV (stackptr)++; in _bfd_vms_push()
1322 if (PRIV (stackptr) >= STACKSIZE) in _bfd_vms_push()
1325 (*_bfd_error_handler) (_("Stack overflow (%d) in _bfd_vms_push"), PRIV (stackptr)); in _bfd_vms_push()
1335 if (PRIV (stackptr) == 0) in _bfd_vms_pop()
1341 PRIV (stackptr)--; in _bfd_vms_pop()
1342 *val = PRIV (stack[PRIV (stackptr)]).value; in _bfd_vms_pop()
1343 *rel = PRIV (stack[PRIV (stackptr)]).reloc; in _bfd_vms_pop()
1359 sec = PRIV (sections)[sect]; in image_set_ptr()
1371 PRIV (image_section) = NULL; in image_set_ptr()
1372 PRIV (image_offset) = 0; in image_set_ptr()
1375 PRIV (image_offset) = sec->output_offset + vma; in image_set_ptr()
1376 PRIV (image_section) = sec->output_section; in image_set_ptr()
1380 PRIV (image_offset) = vma; in image_set_ptr()
1381 PRIV (image_section) = sec; in image_set_ptr()
1392 PRIV (image_offset) += offset; in image_inc_ptr()
1403 if (loc + 1 > PRIV (dst_ptr_offsets_count)) in dst_define_location()
1405 PRIV (dst_ptr_offsets) = bfd_realloc (PRIV (dst_ptr_offsets), in dst_define_location()
1407 PRIV (dst_ptr_offsets_count) = loc + 1; in dst_define_location()
1410 PRIV (dst_ptr_offsets)[loc] = PRIV (image_offset); in dst_define_location()
1420 PRIV (image_offset) = PRIV (dst_ptr_offsets)[loc]; in dst_restore_location()
1430 return PRIV (dst_ptr_offsets)[loc]; in dst_retrieve_location()
1440 (long)PRIV (image_offset)); in image_write()
1444 if (PRIV (image_section)->contents != NULL) in image_write()
1446 asection *sec = PRIV (image_section); in image_write()
1447 file_ptr off = PRIV (image_offset); in image_write()
1461 PRIV (image_offset) += size; in image_write()
1622 (info, name, abfd, PRIV (image_section), PRIV (image_offset), TRUE)) in _bfd_vms_get_value()
1672 asection *sec = PRIV (sections)[rel & RELC_MASK]; in alpha_vms_fix_sec_rel()
1700 PRIV (recrd.rec) += ETIR__C_HEADER_SIZE; in _bfd_vms_slurp_etir()
1701 PRIV (recrd.rec_size) -= ETIR__C_HEADER_SIZE; in _bfd_vms_slurp_etir()
1703 ptr = PRIV (recrd.rec); in _bfd_vms_slurp_etir()
1704 length = PRIV (recrd.rec_size); in _bfd_vms_slurp_etir()
1760 if ((unsigned int) psect >= PRIV (section_count)) in _bfd_vms_slurp_etir()
2264 asection *section = PRIV (dst_section); in vms_slurp_debug()
2279 PRIV (dst_section) = section; in vms_slurp_debug()
2282 PRIV (image_section) = section; in vms_slurp_debug()
2283 PRIV (image_offset) = section->size; in vms_slurp_debug()
2288 section->size = PRIV (image_offset); in vms_slurp_debug()
2324 struct vms_eeom *eeom = (struct vms_eeom *) PRIV (recrd.rec); in _bfd_vms_slurp_eeom()
2328 PRIV (eom_data).eom_l_total_lps = bfd_getl32 (eeom->total_lps); in _bfd_vms_slurp_eeom()
2329 PRIV (eom_data).eom_w_comcod = bfd_getl16 (eeom->comcod); in _bfd_vms_slurp_eeom()
2330 if (PRIV (eom_data).eom_w_comcod > 1) in _bfd_vms_slurp_eeom()
2337 PRIV (eom_data).eom_has_transfer = FALSE; in _bfd_vms_slurp_eeom()
2338 if (PRIV (recrd.rec_size) > 10) in _bfd_vms_slurp_eeom()
2340 PRIV (eom_data).eom_has_transfer = TRUE; in _bfd_vms_slurp_eeom()
2341 PRIV (eom_data).eom_b_tfrflg = eeom->tfrflg; in _bfd_vms_slurp_eeom()
2342 PRIV (eom_data).eom_l_psindx = bfd_getl32 (eeom->psindx); in _bfd_vms_slurp_eeom()
2343 PRIV (eom_data).eom_l_tfradr = bfd_getl32 (eeom->tfradr); in _bfd_vms_slurp_eeom()
2345 abfd->start_address = PRIV (eom_data).eom_l_tfradr; in _bfd_vms_slurp_eeom()
2414 PRIV (recrd.file_format) = FF_UNKNOWN; in vms_initialize()
2417 PRIV (stack) = bfd_alloc (abfd, amt); in vms_initialize()
2418 if (PRIV (stack) == NULL) in vms_initialize()
2470 PRIV (recrd.buf) = buf; in alpha_vms_object_p()
2471 PRIV (recrd.buf_size) = test_len; in alpha_vms_object_p()
2474 PRIV (recrd.rec) = buf; in alpha_vms_object_p()
2489 PRIV (recrd.rec_size) = bfd_getl32 (buf + EIHD__L_SIZE); in alpha_vms_object_p()
2492 if (PRIV (recrd.rec_size) == 0) in alpha_vms_object_p()
2493 PRIV (recrd.rec_size) = sizeof (struct vms_eihd); in alpha_vms_object_p()
2495 if (PRIV (recrd.rec_size) > PRIV (recrd.buf_size)) in alpha_vms_object_p()
2497 buf = bfd_realloc_or_free (buf, PRIV (recrd.rec_size)); in alpha_vms_object_p()
2501 PRIV (recrd.buf) = NULL; in alpha_vms_object_p()
2504 PRIV (recrd.buf) = buf; in alpha_vms_object_p()
2505 PRIV (recrd.buf_size) = PRIV (recrd.rec_size); in alpha_vms_object_p()
2509 remaining = PRIV (recrd.rec_size) - test_len; in alpha_vms_object_p()
2525 PRIV (recrd.rec) = buf; in alpha_vms_object_p()
2547 if (bfd_getl16 (PRIV (recrd.rec)) <= EOBJ__C_MAXRECTYP in alpha_vms_object_p()
2548 && bfd_getl16 (PRIV (recrd.rec) + 2) <= EOBJ__C_MAXRECSIZ) in alpha_vms_object_p()
2555 type = bfd_getl16 (PRIV (recrd.rec)); in alpha_vms_object_p()
2577 if (PRIV (recrd.buf)) in alpha_vms_object_p()
2578 free (PRIV (recrd.buf)); in alpha_vms_object_p()
2592 struct vms_rec_wr *recwr = &PRIV (recwr); in _bfd_vms_write_emh()
2626 struct vms_rec_wr *recwr = &PRIV (recwr); in _bfd_vms_write_lmn()
2644 struct vms_rec_wr *recwr = &PRIV (recwr); in _bfd_vms_write_eeom()
2651 _bfd_vms_output_long (recwr, PRIV (vms_linkage_index + 1) >> 1); in _bfd_vms_write_eeom()
2701 PRIV (file_pos) += VMS_BLOCK_SIZE - 1; in alpha_vms_file_position_block()
2702 PRIV (file_pos) -= (PRIV (file_pos) % VMS_BLOCK_SIZE); in alpha_vms_file_position_block()
2738 if (PRIV (gbl_eisd_head) == NULL) in alpha_vms_append_extra_eisd()
2739 PRIV (gbl_eisd_head) = eisd; in alpha_vms_append_extra_eisd()
2741 PRIV (gbl_eisd_tail)->next = eisd; in alpha_vms_append_extra_eisd()
2742 PRIV (gbl_eisd_tail) = eisd; in alpha_vms_append_extra_eisd()
2842 if (PRIV (eisd_head) == NULL) in alpha_vms_create_eisd_for_section()
2843 PRIV (eisd_head) = eisd; in alpha_vms_create_eisd_for_section()
2845 PRIV (eisd_tail)->next = eisd; in alpha_vms_create_eisd_for_section()
2846 PRIV (eisd_tail) = eisd; in alpha_vms_create_eisd_for_section()
2870 PRIV (file_pos) = EIHD__C_LENGTH; in alpha_vms_write_exec()
2907 eiha = (struct vms_eiha *)((char *) &eihd + PRIV (file_pos)); in alpha_vms_write_exec()
2908 bfd_putl32 (PRIV (file_pos), eihd.activoff); in alpha_vms_write_exec()
2909 PRIV (file_pos) += sizeof (struct vms_eiha); in alpha_vms_write_exec()
2913 bfd_putl64 (PRIV (transfer_address[0]), eiha->tfradr1); in alpha_vms_write_exec()
2914 bfd_putl64 (PRIV (transfer_address[1]), eiha->tfradr2); in alpha_vms_write_exec()
2915 bfd_putl64 (PRIV (transfer_address[2]), eiha->tfradr3); in alpha_vms_write_exec()
2916 bfd_putl64 (PRIV (transfer_address[3]), eiha->tfradr4); in alpha_vms_write_exec()
2920 eihi = (struct vms_eihi *)((char *) &eihd + PRIV (file_pos)); in alpha_vms_write_exec()
2921 bfd_putl32 (PRIV (file_pos), eihd.imgidoff); in alpha_vms_write_exec()
2922 PRIV (file_pos) += sizeof (struct vms_eihi); in alpha_vms_write_exec()
2953 dst = PRIV (dst_section); in alpha_vms_write_exec()
2957 eihs = (struct vms_eihs *)((char *) &eihd + PRIV (file_pos)); in alpha_vms_write_exec()
2958 bfd_putl32 (PRIV (file_pos), eihd.symdbgoff); in alpha_vms_write_exec()
2959 PRIV (file_pos) += sizeof (struct vms_eihs); in alpha_vms_write_exec()
2979 if (PRIV (eisd_tail)) in alpha_vms_write_exec()
2980 PRIV (eisd_tail)->next = PRIV (gbl_eisd_head); in alpha_vms_write_exec()
2982 PRIV (eisd_head) = PRIV (gbl_eisd_head); in alpha_vms_write_exec()
2983 if (PRIV (gbl_eisd_tail)) in alpha_vms_write_exec()
2984 PRIV (eisd_tail) = PRIV (gbl_eisd_tail); in alpha_vms_write_exec()
2986 first_eisd = PRIV (eisd_head); in alpha_vms_write_exec()
3003 file_ptr room = VMS_BLOCK_SIZE - (PRIV (file_pos) % VMS_BLOCK_SIZE); in alpha_vms_write_exec()
3006 if (PRIV (file_pos) < VMS_BLOCK_SIZE && room > 2) in alpha_vms_write_exec()
3011 eisd->file_pos = PRIV (file_pos); in alpha_vms_write_exec()
3012 PRIV (file_pos) += eisd->u.eisd.eisdsize; in alpha_vms_write_exec()
3022 PRIV (file_pos) += EISD__K_LENEND; in alpha_vms_write_exec()
3025 bfd_putl32 (PRIV (file_pos), eihd.size); in alpha_vms_write_exec()
3026 bfd_putl32 ((PRIV (file_pos) + VMS_BLOCK_SIZE - 1) / VMS_BLOCK_SIZE, in alpha_vms_write_exec()
3039 sec->filepos = PRIV (file_pos); in alpha_vms_write_exec()
3044 PRIV (file_pos) += sec->size; in alpha_vms_write_exec()
3059 if (PRIV (gsd_sym_count) != 0) in alpha_vms_write_exec()
3062 gst_filepos = PRIV (file_pos); in alpha_vms_write_exec()
3064 bfd_putl32 ((PRIV (gsd_sym_count) + 4) / 5 + 4, eihs->gstsize); in alpha_vms_write_exec()
3130 struct vms_rec_wr *recwr = &PRIV (recwr); in alpha_vms_write_exec()
3147 for (i = 0; i < PRIV (gsd_sym_count); i++) in alpha_vms_write_exec()
3149 struct vms_symbol_entry *sym = PRIV (syms)[i]; in alpha_vms_write_exec()
3204 struct vms_rec_wr *recwr = &PRIV (recwr); in _bfd_vms_write_egsd()
3427 struct vms_rec_wr *recwr = &PRIV (recwr); in _bfd_vms_write_ehdr()
3486 struct vms_rec_wr *recwr = &PRIV (recwr); in end_etir_record()
3494 struct vms_rec_wr *recwr = &PRIV (recwr); in start_etir_or_etbt_record()
3539 struct vms_rec_wr *recwr = &PRIV (recwr); in sto_imm()
3582 if (_bfd_vms_output_check (&PRIV (recwr), checklen) < 0) in etir_output_check()
3614 struct vms_rec_wr *recwr = &PRIV (recwr); in _bfd_vms_write_etir()
3620 PRIV (vms_linkage_index) = 0; in _bfd_vms_write_etir()
3827 if (rptr->addend > PRIV (vms_linkage_index)) in _bfd_vms_write_etir()
3828 PRIV (vms_linkage_index) = rptr->addend; in _bfd_vms_write_etir()
4494 void *dst = PRIV (dst_section)->contents; in build_module_list()
4500 parse_module (abfd, module, PRIV (dst_section)->contents, -1); in build_module_list()
4524 unsigned int modbeg = PRIV (dst_section)->filepos + module->modbeg; in module_find_nearest_line()
4599 if (PRIV (dst_section) == NULL) in _bfd_vms_find_nearest_line()
4603 if (PRIV (modules) == NULL) in _bfd_vms_find_nearest_line()
4605 PRIV (modules) = build_module_list (abfd); in _bfd_vms_find_nearest_line()
4606 if (PRIV (modules) == NULL) in _bfd_vms_find_nearest_line()
4610 for (module = PRIV (modules); module; module = module->next) in _bfd_vms_find_nearest_line()
4698 abfd, PRIV (gsd_sym_count))); in alpha_vms_get_symtab_upper_bound()
4700 return (PRIV (gsd_sym_count) + 1) * sizeof (asymbol *); in alpha_vms_get_symtab_upper_bound()
4715 if (PRIV (csymbols) == NULL) in alpha_vms_canonicalize_symtab()
4717 PRIV (csymbols) = (asymbol **) bfd_alloc in alpha_vms_canonicalize_symtab()
4718 (abfd, PRIV (gsd_sym_count) * sizeof (asymbol *)); in alpha_vms_canonicalize_symtab()
4721 for (i = 0; i < PRIV (gsd_sym_count); i++) in alpha_vms_canonicalize_symtab()
4723 struct vms_symbol_entry *e = PRIV (syms)[i]; in alpha_vms_canonicalize_symtab()
4729 bfd_release (abfd, PRIV (csymbols)); in alpha_vms_canonicalize_symtab()
4730 PRIV (csymbols) = NULL; in alpha_vms_canonicalize_symtab()
4734 PRIV (csymbols)[i] = sym; in alpha_vms_canonicalize_symtab()
4740 for (i = 0; i < PRIV (gsd_sym_count); i++) in alpha_vms_canonicalize_symtab()
4741 symbols[i] = PRIV (csymbols)[i]; in alpha_vms_canonicalize_symtab()
4745 return PRIV (gsd_sym_count); in alpha_vms_canonicalize_symtab()
4758 if (PRIV (reloc_done)) in alpha_vms_slurp_relocs()
4760 PRIV (reloc_done) = TRUE; in alpha_vms_slurp_relocs()
4792 begin = PRIV (recrd.rec) + 4; in alpha_vms_slurp_relocs()
4793 end = PRIV (recrd.rec) + PRIV (recrd.rec_size); in alpha_vms_slurp_relocs()
4972 if (cur_psect < 0 || cur_psect > (int)PRIV (section_count)) in alpha_vms_slurp_relocs()
4978 sec = PRIV (sections)[cur_psect]; in alpha_vms_slurp_relocs()
5019 for (j = 0; j < PRIV (gsd_sym_count); j++) in alpha_vms_slurp_relocs()
5020 if (PRIV (syms)[j]->namelen == symlen in alpha_vms_slurp_relocs()
5021 && memcmp (PRIV (syms)[j]->name, cur_sym, symlen) == 0) in alpha_vms_slurp_relocs()
5023 sym = &PRIV (csymbols)[j]; in alpha_vms_slurp_relocs()
5037 PRIV (sections)[cur_psidx]->symbol_ptr_ptr; in alpha_vms_slurp_relocs()
5464 syms = (asymbol *) bfd_malloc (PRIV (norm_sym_count) * sizeof (asymbol)); in alpha_vms_get_synthetic_symtab()
5469 for (i = 0; i < PRIV (gsd_sym_count); i++) in alpha_vms_get_synthetic_symtab()
5471 struct vms_symbol_entry *e = PRIV (syms)[i]; in alpha_vms_get_synthetic_symtab()
7838 dst_section = PRIV (dst_section); in alpha_vms_read_sections_content()
7869 PRIV (image_section) = cur_section; in alpha_vms_read_sections_content()
7870 PRIV (image_offset) = cur_offset; in alpha_vms_read_sections_content()
7872 cur_section = PRIV (image_section); in alpha_vms_read_sections_content()
7873 cur_offset = PRIV (image_offset); in alpha_vms_read_sections_content()
7879 PRIV (image_section) = dst_section; in alpha_vms_read_sections_content()
7880 PRIV (image_offset) = dst_offset; in alpha_vms_read_sections_content()
7882 dst_offset = PRIV (image_offset); in alpha_vms_read_sections_content()
8036 for (i = 0; i < PRIV (gsd_sym_count); i++) in alpha_vms_link_add_object_symbols()
8038 struct vms_symbol_entry *e = PRIV (syms)[i]; in alpha_vms_link_add_object_symbols()
8085 PRIV (shr_index) = VEC_COUNT (alpha_vms_link_hash (info)->shrlibs) - 1; in alpha_vms_link_add_object_symbols()
8625 BFD_ASSERT (PRIV (syms) == NULL); in alpha_vms_bfd_final_link()
8674 PRIV (transfer_address[i++]) = 0xffffffff00000340ULL; /* SYS$IMGACT */ in alpha_vms_bfd_final_link()
8677 PRIV (transfer_address[i++]) = in alpha_vms_bfd_final_link()
8679 PRIV (transfer_address[i++]) = bfd_get_start_address (abfd); in alpha_vms_bfd_final_link()
8681 PRIV (transfer_address[i++]) = 0; in alpha_vms_bfd_final_link()
8721 BFD_ASSERT (PRIV (dst_section) == NULL); in alpha_vms_bfd_final_link()
8727 PRIV (dst_section) = dst; in alpha_vms_bfd_final_link()
8923 PRIV (recwr.buf) = bfd_alloc (abfd, MAX_OUTREC_SIZE); in alpha_vms_mkobject()
8924 if (PRIV (recwr.buf) == NULL) in alpha_vms_mkobject()
8959 if (PRIV (recrd.buf) != NULL) in vms_close_and_cleanup()
8960 free (PRIV (recrd.buf)); in vms_close_and_cleanup()
8962 if (PRIV (sections) != NULL) in vms_close_and_cleanup()
8963 free (PRIV (sections)); in vms_close_and_cleanup()