Home
last modified time | relevance | path

Searched refs:seginfo (Results 1 – 25 of 27) sorted by relevance

12

/toolchain/binutils/binutils-2.25/gas/
Dsubsegs.c60 segment_info_type *seginfo = seg_info (seg); in subseg_change() local
64 if (! seginfo) in subseg_change()
66 seginfo = (segment_info_type *) xcalloc (1, sizeof (*seginfo)); in subseg_change()
67 seginfo->bfd_section = seg; in subseg_change()
68 bfd_set_section_userdata (stdoutput, seg, seginfo); in subseg_change()
78 segment_info_type *seginfo; in subseg_set_rest() local
90 seginfo = seg_info (seg); in subseg_set_rest()
94 for (frcP = *(lastPP = &seginfo->frchainP); in subseg_set_rest()
148 segment_info_type *seginfo; in subseg_get() local
164 seginfo = seg_info (secptr); in subseg_get()
[all …]
Dliteral.c57 segment_info_type *seginfo = seg_info (sec); local
64 if (seginfo->frchainP)
65 for (fixp = seginfo->frchainP->fix_root;
92 offset = seginfo->literal_pool_size;
93 seginfo->literal_pool_size += size;
Dwrite.c536 segment_info_type *seginfo = seg_info (sec); in relax_seg() local
539 if (seginfo && seginfo->frchainP in relax_seg()
540 && relax_segment (seginfo->frchainP->frch_root, sec, info->pass)) in relax_seg()
549 segment_info_type *seginfo; in size_seg() local
555 seginfo = seg_info (sec); in size_seg()
556 if (seginfo && seginfo->frchainP) in size_seg()
558 for (fragp = seginfo->frchainP->frch_root; fragp; fragp = fragp->fr_next) in size_seg()
560 for (fragp = seginfo->frchainP->frch_root; in size_seg()
575 if (size > 0 && ! seginfo->bss) in size_seg()
591 fragS *last = seginfo->frchainP->frch_last; in size_seg()
[all …]
DChangeLog-92953994 attribute, set the "bss" field in the appropriate seginfo structure.
4494 (coff_adjust_section_syms): Ignore sections with no seginfo.
5768 * subsegs.c (subseg_change): Clear seginfo after allocating it.
5769 (subseg_get): Pass actual size of seginfo to memset.
6438 (subseg_get): Clear newly allocated seginfo, set its pointer slots
7164 * literal.c (add_to_literal_pool): Use seginfo->frchainP, which
7256 frchain_now, not seginfo.
8447 frag for a segment in the seginfo structure.
9081 * write.c (write_contents): Don't crash if seginfo is NULL.
10583 (subseg_new) [BFD_ASSEMBLER]: Initialize all seginfo fields.
DChangeLog-20061657 (subseg_set_rest): Likewise. Add new frchain structs to seginfo
DChangeLog-20051216 * subsegs.c (subseg_change): Move declaration of seginfo to before
/toolchain/binutils/binutils-2.25/gas/config/
Dtc-sh64.c351 segment_info_type *seginfo; in sh64_max_mem_for_rs_align_code() local
353 seginfo = seg_info (now_seg); in sh64_max_mem_for_rs_align_code()
368 && seginfo != NULL in sh64_max_mem_for_rs_align_code()
369 && seginfo->tc_segment_info_data.mode_start_symbol != NULL in sh64_max_mem_for_rs_align_code()
372 (seginfo->tc_segment_info_data.mode_start_symbol))) in sh64_max_mem_for_rs_align_code()
419 segment_info_type *seginfo; in shmedia_frob_section_type() local
420 seginfo = seg_info (sec); in shmedia_frob_section_type()
429 if (seginfo && sh64_abi == sh64_abi_32) in shmedia_frob_section_type()
434 if (seginfo->tc_segment_info_data.emitted_ranges != 0) in shmedia_frob_section_type()
436 else if (seginfo->tc_segment_info_data.contents_type == CRT_SH5_ISA32) in shmedia_frob_section_type()
[all …]
Dobj-evax.c145 segment_info_type *seginfo; in evax_frob_file_before_adjust() local
149 seginfo = seg_info (alpha_link_section); in evax_frob_file_before_adjust()
161 fixtail = seginfo->fix_tail; in evax_frob_file_before_adjust()
184 seginfo->fix_tail = fixtail; in evax_frob_file_before_adjust()
Dtc-tic6x.c1029 segment_info_type *seginfo = seg_info (now_seg); in tic6x_cons_align() local
1033 tic6x_free_label_list (seginfo->tc_segment_info_data.label_list); in tic6x_cons_align()
1034 seginfo->tc_segment_info_data.label_list = NULL; in tic6x_cons_align()
1035 seginfo->tc_segment_info_data.execute_packet_frag = NULL; in tic6x_cons_align()
1036 seginfo->tc_segment_info_data.last_insn_lsb = NULL; in tic6x_cons_align()
1037 seginfo->tc_segment_info_data.spmask_addr = NULL; in tic6x_cons_align()
1038 seginfo->tc_segment_info_data.func_units_used = 0; in tic6x_cons_align()
3130 segment_info_type *seginfo; in md_assemble() local
3189 seginfo = seg_info (now_seg); in md_assemble()
3190 this_insn_label_list = seginfo->tc_segment_info_data.label_list; in md_assemble()
[all …]
Dtc-iq2000.c586 segment_info_type * seginfo; in iq2000_frob_file() local
604 seginfo = seg_info (l->seg); in iq2000_frob_file()
611 for (f = seginfo->fix_root; f != NULL; f = f->fx_next) in iq2000_frob_file()
626 for (pf = &seginfo->fix_root; in iq2000_frob_file()
635 seginfo->fix_root = l->fixp; in iq2000_frob_file()
Dtc-mmix.c3403 segment_info_type *seginfo = seg_info (seg); in mmix_md_relax_frag() local
3407 if (fragP == seginfo->tc_segment_info_data.last_stubfrag) in mmix_md_relax_frag()
3408 seginfo->tc_segment_info_data.nstubs = 0; in mmix_md_relax_frag()
3420 segment_info_type *seginfo = seg_info (seg); in mmix_md_relax_frag() local
3421 fragS *lastfrag = seginfo->frchainP->frch_last; in mmix_md_relax_frag()
3435 + PUSHJ_MAX_LEN * seginfo->tc_segment_info_data.nstubs) in mmix_md_relax_frag()
3441 seginfo->tc_segment_info_data.nstubs++; in mmix_md_relax_frag()
3445 if (fragP == seginfo->tc_segment_info_data.last_stubfrag) in mmix_md_relax_frag()
3446 seginfo->tc_segment_info_data.nstubs = 0; in mmix_md_relax_frag()
3455 segment_info_type *seginfo = seg_info (seg); in mmix_md_relax_frag() local
[all …]
Dobj-macho.c1577 segment_info_type *seginfo = seg_info (sec); in obj_mach_o_check_before_writing() local
1579 if (seginfo == NULL) in obj_mach_o_check_before_writing()
1584 for (frchp = seginfo->frchainP; frchp != NULL; frchp = frchp->frch_next) in obj_mach_o_check_before_writing()
1639 segment_info_type *seginfo = seg_info (sec); in obj_mach_o_set_subsections() local
1646 if (seginfo == NULL) in obj_mach_o_set_subsections()
1650 for (chain = seginfo->frchainP; chain != NULL; chain = chain->frch_next) in obj_mach_o_set_subsections()
Dtc-mep.c1943 segment_info_type * seginfo; in mep_frob_file() local
1961 seginfo = seg_info (l->seg); in mep_frob_file()
1968 for (f = seginfo->fix_root; f != NULL; f = f->fx_next) in mep_frob_file()
1983 for (pf = &seginfo->fix_root; in mep_frob_file()
1992 seginfo->fix_root = l->fixp; in mep_frob_file()
Dtc-xtensa.c4893 segment_info_type *seginfo; in xtensa_mark_frags_for_org() local
4902 seginfo = seg_info (sec); in xtensa_mark_frags_for_org()
4903 if (seginfo && seginfo->frchainP) in xtensa_mark_frags_for_org()
4905 fragS *last_fragP = seginfo->frchainP->frch_root; in xtensa_mark_frags_for_org()
4906 for (fragP = seginfo->frchainP->frch_root; fragP; in xtensa_mark_frags_for_org()
4938 segment_info_type *seginfo; in xtensa_find_unmarked_state_frags() local
4947 seginfo = seg_info (sec); in xtensa_find_unmarked_state_frags()
4948 if (seginfo && seginfo->frchainP) in xtensa_find_unmarked_state_frags()
4951 for (fragP = seginfo->frchainP->frch_root; fragP; in xtensa_find_unmarked_state_frags()
4990 segment_info_type *seginfo = seg_info (sec); in xtensa_find_unaligned_branch_targets() local
[all …]
Dtc-sh.c3394 segment_info_type *seginfo; in sh_count_relocs() local
3398 seginfo = seg_info (sec); in sh_count_relocs()
3399 if (seginfo == NULL) in sh_count_relocs()
3403 for (fix = seginfo->fix_root; fix != NULL; fix = fix->fx_next) in sh_count_relocs()
3420 segment_info_type *seginfo; in sh_frob_section() local
3423 seginfo = seg_info (sec); in sh_frob_section()
3424 if (seginfo == NULL) in sh_frob_section()
3427 for (fix = seginfo->fix_root; fix != NULL; fix = fix->fx_next) in sh_frob_section()
3442 for (fix = seginfo->fix_root; fix != NULL; fix = fix->fx_next) in sh_frob_section()
3469 for (fscan = seginfo->fix_root; in sh_frob_section()
Dtc-m32r.c2007 segment_info_type *seginfo; in m32r_frob_file() local
2025 seginfo = seg_info (l->seg); in m32r_frob_file()
2032 for (f = seginfo->fix_root; f != NULL; f = f->fx_next) in m32r_frob_file()
2048 for (pf = &seginfo->fix_root; in m32r_frob_file()
2057 seginfo->fix_root = l->fixp; in m32r_frob_file()
Dobj-coff.c1481 segment_info_type *seginfo = seg_info (sec); in coff_adjust_section_syms() local
1486 if (seginfo == NULL) in coff_adjust_section_syms()
1496 fixS *fixp = seginfo->fix_root; in coff_adjust_section_syms()
Dtc-alpha.c624 segment_info_type *seginfo = seg_info (sec); in alpha_adjust_relocs() local
633 if (seginfo == NULL) in alpha_adjust_relocs()
637 if (! seginfo->fix_root) in alpha_adjust_relocs()
642 prevP = &seginfo->fix_root; in alpha_adjust_relocs()
643 for (fixp = seginfo->fix_root; fixp; fixp = next) in alpha_adjust_relocs()
712 for (fixp = seginfo->fix_root; fixp; fixp = next) in alpha_adjust_relocs()
3382 segment_info_type *seginfo = seg_info (alpha_link_section); in add_to_link_pool() local
3393 if (seginfo->frchainP) in add_to_link_pool()
3394 for (fixp = seginfo->frchainP->fix_root; in add_to_link_pool()
Dtc-nds32.c6067 segment_info_type *seginfo = seg_info (sec); in nds32_insert_leb128_fixes() local
6072 for (fragP = seginfo->frchainP->frch_root; in nds32_insert_leb128_fixes()
6096 segment_info_type *seginfo; in nds32_insert_relax_entry() local
6102 seginfo = seg_info (sec); in nds32_insert_relax_entry()
6103 if (!seginfo || !symbol_rootP || !subseg_text_p (sec) || sec->size == 0) in nds32_insert_relax_entry()
6107 for (fixp = seginfo->fix_root; fixp; fixp = fixp->fx_next) in nds32_insert_relax_entry()
6116 fragP = seginfo->frchainP->frch_root; in nds32_insert_relax_entry()
Dtc-frv.c1652 segment_info_type *seginfo = seg_info (sec); in frv_frob_file_section() local
1675 for (fixp = seginfo->fix_root; fixp; fixp = fixp->fx_next) in frv_frob_file_section()
Dtc-aarch64.c6864 segment_info_type *seginfo = seg_info (sec); in check_mapping_symbols() local
6867 if (seginfo == NULL || seginfo->frchainP == NULL) in check_mapping_symbols()
6870 for (fragp = seginfo->frchainP->frch_root; in check_mapping_symbols()
Dtc-ia64.c4737 segment_info_type *seginfo = seg_info (now_seg); in dot_byteorder() local
4741 if (seginfo->tc_segment_info_data.endian == 0) in dot_byteorder()
4742 seginfo->tc_segment_info_data.endian = default_big_endian ? 1 : 2; in dot_byteorder()
4743 byteorder = seginfo->tc_segment_info_data.endian == 1; in dot_byteorder()
4746 seginfo->tc_segment_info_data.endian = byteorder ? 1 : 2; in dot_byteorder()
Dtc-tic54x.c257 segment_info_type *seginfo = seg_info (seg); in frag_prev() local
260 for (fragp = seginfo->frchainP->frch_root; fragp; fragp = fragp->fr_next) in frag_prev()
Dtc-mips.c14819 segment_info_type *seginfo; in mips_frob_file() local
14837 seginfo = seg_info (l->seg); in mips_frob_file()
14849 for (pos = &seginfo->fix_root; *pos != NULL; pos = &(*pos)->fx_next) in mips_frob_file()
Dtc-arm.c23646 segment_info_type *seginfo = seg_info (sec); in check_mapping_symbols() local
23649 if (seginfo == NULL || seginfo->frchainP == NULL) in check_mapping_symbols()
23652 for (fragp = seginfo->frchainP->frch_root; in check_mapping_symbols()

12