Lines Matching refs:obj_datasec
303 || obj_datasec (abfd)->reloc_count > 0) in pdp11_aout_write_headers()
335 || obj_datasec (abfd)->reloc_count > 0) in pdp11_aout_write_headers()
340 || !NAME (aout, squirt_out_relocs) (abfd, obj_datasec (abfd))) in pdp11_aout_write_headers()
441 if (obj_datasec (abfd) == NULL && bfd_make_section (abfd, ".data") == NULL) in NAME()
533 obj_datasec (abfd)->size = execp->a_data; in NAME()
540 obj_datasec (abfd)->flags = in NAME()
563 obj_datasec (abfd)->vma = N_DATADDR (execp); in NAME()
568 obj_datasec (abfd)->filepos = N_DATOFF (execp); in NAME()
572 obj_datasec (abfd)->rel_filepos = N_DRELOFF (execp); in NAME()
666 obj_datasec (abfd) = NULL; in NAME()
817 if (!obj_datasec (abfd)->user_set_vma) in adjust_o_magic()
822 obj_datasec (abfd)->vma = vma; in adjust_o_magic()
825 vma = obj_datasec (abfd)->vma; in adjust_o_magic()
826 obj_datasec (abfd)->filepos = pos; in adjust_o_magic()
827 pos += obj_datasec (abfd)->size; in adjust_o_magic()
828 vma += obj_datasec (abfd)->size; in adjust_o_magic()
833 obj_datasec (abfd)->size += pad; in adjust_o_magic()
846 obj_datasec (abfd)->size += pad; in adjust_o_magic()
854 execp->a_data = obj_datasec (abfd)->size; in adjust_o_magic()
920 if (!obj_datasec(abfd)->user_set_vma) in adjust_z_magic()
924 obj_datasec(abfd)->vma = BFD_ALIGN (vma, adata(abfd).segment_size); in adjust_z_magic()
928 text_pad = (obj_datasec(abfd)->vma in adjust_z_magic()
933 obj_datasec (abfd)->filepos = (obj_textsec (abfd)->filepos in adjust_z_magic()
943 obj_datasec(abfd)->size in adjust_z_magic()
944 = align_power (obj_datasec(abfd)->size, in adjust_z_magic()
946 execp->a_data = BFD_ALIGN (obj_datasec(abfd)->size, in adjust_z_magic()
948 data_pad = execp->a_data - obj_datasec(abfd)->size; in adjust_z_magic()
952 obj_bsssec(abfd)->vma = (obj_datasec(abfd)->vma in adjust_z_magic()
953 + obj_datasec(abfd)->size); in adjust_z_magic()
962 == obj_datasec(abfd)->vma + obj_datasec(abfd)->size) in adjust_z_magic()
986 obj_datasec(abfd)->filepos = pos; in adjust_n_magic()
987 if (!obj_datasec(abfd)->user_set_vma) in adjust_n_magic()
988 obj_datasec(abfd)->vma = BFD_ALIGN (vma, adata(abfd).segment_size); in adjust_n_magic()
989 vma = obj_datasec(abfd)->vma; in adjust_n_magic()
992 vma += obj_datasec(abfd)->size; in adjust_n_magic()
994 obj_datasec(abfd)->size += pad; in adjust_n_magic()
995 pos += obj_datasec(abfd)->size; in adjust_n_magic()
1005 execp->a_data = obj_datasec(abfd)->size; in adjust_n_magic()
1060 obj_datasec(abfd)->vma, obj_datasec(abfd)->size, in NAME()
1061 obj_datasec(abfd)->alignment_power, in NAME()
1086 obj_datasec(abfd)->vma, obj_datasec(abfd)->size, in NAME()
1087 obj_datasec(abfd)->filepos, in NAME()
1110 else if (obj_datasec (abfd) == NULL in NAME()
1113 obj_datasec (abfd) = newsect; in NAME()
1148 && section != obj_datasec (abfd)) in NAME()
1164 if ((section == obj_datasec (abfd) in NAME()
1292 sec = obj_datasec (abfd); in translate_from_native_sym_flags()
1345 cache_ptr->symbol.section = obj_datasec (abfd); in translate_from_native_sym_flags()
1399 else if (sec == obj_datasec (abfd)) in translate_to_native_sym_flags()
1706 else if (output_section == obj_datasec (abfd)) in pdp11_aout_swap_reloc_out()
1758 cache_ptr->sym_ptr_ptr = obj_datasec (abfd)->symbol_ptr_ptr; \
1836 if (asect == obj_datasec (abfd)) in NAME()
2011 if (asect == obj_datasec (abfd)) in NAME()
2829 section = obj_datasec (abfd); in aout_link_add_symbols()
2969 else if (sec == obj_datasec (output_bfd)) in aout_link_write_other_symbol()
3088 else if (o == obj_datasec (flaginfo->output_bfd)) in aout_link_reloc_link_order()
3200 <= obj_datasec (flaginfo->output_bfd)->rel_filepos))); in aout_link_reloc_link_order()
3213 case RDATA: return obj_datasec (abfd); in aout_reloc_type_to_section()
3309 else if (output_section == obj_datasec (output_bfd)) in pdp11_aout_link_input_section()
3576 <= obj_datasec (flaginfo->output_bfd)->rel_filepos))); in aout_link_input_section()
3617 if (obj_datasec (input_bfd)->linker_mark) in aout_link_input_bfd()
3620 obj_datasec (input_bfd), in aout_link_input_bfd()
3716 sz = obj_datasec (sub)->size; in NAME()
3739 if (obj_datasec (abfd) != NULL) in NAME()
3740 drsize += (_bfd_count_link_order_relocs (obj_datasec (abfd) in NAME()
3766 obj_datasec (abfd)->rel_filepos = aout_info.dreloff; in NAME()
3936 obj_datasec (abfd)->reloc_count = in NAME()
3947 && obj_datasec (abfd)->reloc_count == 0) in NAME()
3953 (file_ptr) (obj_datasec (abfd)->filepos in NAME()
4152 symsec = obj_datasec (input_bfd); in aout_link_write_symbols()
4202 symsec = obj_datasec (input_bfd); in aout_link_write_symbols()
4246 else if (output_section == obj_datasec (output_bfd)) in aout_link_write_symbols()