Home
last modified time | relevance | path

Searched refs:stdoutput (Results 1 – 25 of 35) sorted by relevance

12

/freebsd-12.1/contrib/binutils/gas/config/
H A Dobj-ecoff.c89 bfd_section_list_remove (stdoutput, sec); in ecoff_frob_file_before_fix()
94 bfd_set_section_vma (stdoutput, sec, addr); in ecoff_frob_file_before_fix()
95 addr += bfd_section_size (stdoutput, sec); in ecoff_frob_file_before_fix()
101 bfd_set_section_vma (stdoutput, secs[i], addr); in ecoff_frob_file_before_fix()
102 addr += bfd_section_size (stdoutput, secs[i]); in ecoff_frob_file_before_fix()
106 bfd_section_list_prepend (stdoutput, secs[i]); in ecoff_frob_file_before_fix()
142 = &ecoff_backend (stdoutput)->debug_swap; in ecoff_frob_file()
149 assert (ecoff_data (stdoutput) != 0); in ecoff_frob_file()
150 hdr = &ecoff_data (stdoutput)->debug_info.symbolic_header; in ecoff_frob_file()
157 ecoff_data (stdoutput)->debug_info.ptr = NULL; \ in ecoff_frob_file()
[all …]
H A Dobj-elf.c568 bed = get_elf_backend_data (stdoutput); in obj_elf_change_section()
569 ssect = (*bed->get_sec_type_attr) (stdoutput, sec); in obj_elf_change_section()
684 bfd_set_section_flags (stdoutput, sec, flags); in obj_elf_change_section()
1445 bfd_set_section_flags (stdoutput, in obj_elf_version()
1977 || !bfd_set_section_flags (stdoutput, s, flags) in elf_frob_file()
1978 || !bfd_set_section_alignment (stdoutput, s, 2)) in elf_frob_file()
1991 bfd_set_section_size (stdoutput, s, size); in elf_frob_file()
2096 know (!stdoutput->output_has_begun); in elf_frob_file_after_relocs()
2103 (stdoutput, sec, bfd_ecoff_debug_size (stdoutput, &debug, debug_swap)); in elf_frob_file_after_relocs()
2113 know (stdoutput->output_has_begun); in elf_frob_file_after_relocs()
[all …]
H A Dobj-aout.c128 if (bfd_section_size (stdoutput, text_section) != 0) in obj_aout_frob_file_before_fix()
129 x = bfd_set_section_contents (stdoutput, text_section, &b, (file_ptr) 0, in obj_aout_frob_file_before_fix()
131 else if (bfd_section_size (stdoutput, data_section) != 0) in obj_aout_frob_file_before_fix()
132 x = bfd_set_section_contents (stdoutput, data_section, &b, (file_ptr) 0, in obj_aout_frob_file_before_fix()
H A Dobj-coff.c185 s = bfd_make_debug_symbol (stdoutput, NULL, 0); in fetch_coff_debug_section()
492 bfd_set_section_flags (stdoutput, sec, in obj_coff_ident()
494 & bfd_applicable_section_flags (stdoutput))); in obj_coff_ident()
719 || (streq (bfd_get_section_name (stdoutput, in obj_coff_endef()
1463 bfd_map_over_sections (stdoutput, coff_adjust_section_syms, NULL); in coff_frob_file_after_relocs()
1606 oldflags = bfd_get_section_flags (stdoutput, sec); in obj_coff_section()
1622 if (! bfd_set_section_flags (stdoutput, sec, flags)) in obj_coff_section()
1624 bfd_section_name (stdoutput, sec), in obj_coff_section()
1671 bfd_set_section_size (stdoutput, sec, new_size); in coff_frob_section()
1727 bfd_h_put_16 (stdoutput, n_entries, (bfd_byte *) p + 6); in coff_frob_section()
[all …]
H A Dtc-ppc.c1392 bfd_set_private_flags (stdoutput, ppc_flags); in md_begin()
1453 bfd_set_section_flags (stdoutput, in ppc_cleanup()
1999 toc = bfd_get_section_by_name (stdoutput, ".toc"); in ppc_frob_file_before_adjust()
2001 && bfd_section_size (stdoutput, toc) > 0x10000) in ppc_frob_file_before_adjust()
4216 bfd_set_section_flags (stdoutput, pdata_section, in ppc_pdata()
4249 bfd_set_section_flags (stdoutput, ydata_section, in ppc_ydata()
4315 bfd_set_section_flags (stdoutput, rdata_section, in ppc_rdata()
4684 bfd_section_name (stdoutput, sec), in ppc_pe_section()
4688 bfd_set_section_alignment (stdoutput, sec, align); in ppc_pe_section()
5223 bfd_set_section_vma (stdoutput, sec, vma); in ppc_frob_section()
[all …]
H A Dtc-s390.c493 bfd_set_private_flags (stdoutput, s390_flags); in md_begin()
542 bfd_set_arch_mach (stdoutput, bfd_arch_s390, bfd_mach_s390_64); in s390_md_end()
544 bfd_set_arch_mach (stdoutput, bfd_arch_s390, bfd_mach_s390_31); in s390_md_end()
1125 && (reloc_howto = bfd_reloc_type_lookup (stdoutput, reloc)))
1508 reloc_howto = bfd_reloc_type_lookup (stdoutput, fixups[i].reloc);
1738 bfd_reloc_type_lookup (stdoutput, lpe->reloc);
1825 int align = bfd_get_section_alignment (stdoutput, seg);
2304 reloc->howto = bfd_reloc_type_lookup (stdoutput, code);
2311 reloc->howto = bfd_reloc_type_lookup (stdoutput, BFD_RELOC_32);
H A Dtc-cr16.c569 reloc->howto = bfd_reloc_type_lookup (stdoutput, fixP->fx_r_type); in tc_gen_reloc()
621 bfd_get_reloc_size (bfd_reloc_type_lookup (stdoutput, reloc)), in md_convert_frag()
715 bfd_put_8 (stdoutput, (unsigned char) val, buf); in md_apply_fix()
718 bfd_put_16 (stdoutput, val, buf); in md_apply_fix()
721 bfd_put_32 (stdoutput, val, buf); in md_apply_fix()
724 bfd_put_32 (stdoutput, val, buf); in md_apply_fix()
2218 && ((bfd_reloc_type_lookup (stdoutput, insn->rtype))->bitsize in assemble_insn()
2333 reloc_howto = bfd_reloc_type_lookup (stdoutput, insn->rtype); in print_insn()
H A Dtc-mips.c1874 bfd_set_gp_size (stdoutput, g_switch_value); in md_begin()
1912 bfd_set_section_flags (stdoutput, sec, flags); in md_begin()
1922 bfd_set_section_flags (stdoutput, sec, flags); in md_begin()
1946 (void) bfd_set_section_flags (stdoutput, sec, in md_begin()
12473 bfd_set_section_flags (stdoutput, seg, in s_change_sec()
12699 bfd_set_gp_size (stdoutput, 0); in s_option()
12992 bfd_set_gp_size (stdoutput, 0); in s_abicalls()
14522 syms = bfd_get_outsymbols (stdoutput); in mips_frob_file_after_relocs()
14523 count = bfd_get_symcount (stdoutput); in mips_frob_file_after_relocs()
14629 elf_elfheader (stdoutput)->e_flags |= ???; in mips_elf_final_processing()
[all …]
H A Dtc-mep.c456 bfd_default_set_arch_mach (stdoutput, bfd_arch_mep, mep_machine ()); in md_begin()
459 bfd_set_private_flags (stdoutput, MEP_CPU | MEP_CONFIG | library_flag); in md_begin()
1070 int align = bfd_get_section_alignment (stdoutput, segment); in md_section_align()
1223 && (bfd_get_section_flags (stdoutput, segment) & SEC_MEP_VLIW)) in md_estimate_size_before_relax()
1794 flagword applicable = bfd_applicable_section_flags (stdoutput); in mep_vtext_section()
1796 bfd_set_section_flags (stdoutput, vtext_section, in mep_vtext_section()
H A Dtc-arc.c193 if (!bfd_set_arch_mach (stdoutput, bfd_arch_arc, arc_mach_type)) in md_begin()
214 if (!bfd_set_arch_mach (stdoutput, bfd_arch_arc, mach)) in init_opcode_tables()
391 bfd_set_section_flags (stdoutput, arcext_section, in arc_set_ext_seg()
990 if (!bfd_set_arch_mach (stdoutput, bfd_arch_arc, mach)) in arc_option()
1065 int align = bfd_get_section_alignment (stdoutput, segment); in md_section_align()
1398 reloc->howto = bfd_reloc_type_lookup (stdoutput, fixP->fx_r_type); in tc_gen_reloc()
H A Dtc-sparc.c925 bfd_set_arch_mach (stdoutput, bfd_arch_sparc, mach); in sparc_md_end()
3588 if (bfd_get_section_flags (stdoutput, section) & SEC_DEBUGGING)
3598 reloc->howto = bfd_reloc_type_lookup (stdoutput, BFD_RELOC_LO10);
3600 reloc->howto = bfd_reloc_type_lookup (stdoutput, code);
3658 reloc->howto = bfd_reloc_type_lookup (stdoutput, BFD_RELOC_SPARC13);
3685 << (valueT) bfd_get_section_alignment (stdoutput, segment));
4393 elf_elfheader (stdoutput)->e_flags |= EF_SPARCV9_RMO; in sparc_elf_final_processing()
4396 elf_elfheader (stdoutput)->e_flags |= EF_SPARCV9_PSO; in sparc_elf_final_processing()
4403 elf_elfheader (stdoutput)->e_flags |= EF_SPARC_32PLUS; in sparc_elf_final_processing()
4405 elf_elfheader (stdoutput)->e_flags |= EF_SPARC_SUN_US1; in sparc_elf_final_processing()
[all …]
H A Dtc-alpha.c1146 bfd_set_section_alignment (stdoutput, new_sec, 4); in create_literal_section()
1147 bfd_set_section_flags (stdoutput, new_sec, in create_literal_section()
1635 = bfd_reloc_type_lookup (stdoutput, fixup->reloc); in emit_insn()
1970 = bfd_reloc_type_lookup (stdoutput, reloc); in assemble_insn()
3310 if (bfd_section_size (stdoutput, new_seg) > 0) in s_alpha_comm()
3312 if (bfd_section_size (stdoutput, new_seg) != temp) in s_alpha_comm()
3315 (long) bfd_section_size (stdoutput, new_seg), in s_alpha_comm()
3704 bfd_set_section_alignment (stdoutput, sec, 3); in s_alpha_stab()
4945 bfd_set_gp_size (stdoutput, g_switch_value); in md_begin()
4965 bfd_set_section_alignment (stdoutput, sec, 3); in md_begin()
[all …]
H A Dtc-score.c5263 int align = bfd_get_section_alignment (stdoutput, segment); in md_section_align()
5577 reloc->howto = bfd_reloc_type_lookup (stdoutput, code); in tc_gen_reloc()
5598 elf_elfheader (stdoutput)->e_flags |= EF_SCORE_FIXDEP; in score_elf_final_processing()
5602 elf_elfheader (stdoutput)->e_flags |= EF_SCORE_PIC; in score_elf_final_processing()
5841 if ((bfd_get_section_flags (stdoutput, now_seg) & SEC_CODE) != 0) in score_s_section()
5983 if ((bfd_get_section_flags (stdoutput, now_seg) & SEC_CODE) != 0) in s_score_ent()
6093 if ((bfd_get_section_flags (stdoutput, now_seg) & SEC_CODE) != 0) in s_score_end()
6430 if ((unsigned)temp <= bfd_get_gp_size (stdoutput)) in s_score_lcomm()
6623 bfd_set_arch_mach (stdoutput, TARGET_ARCH, 0); in md_begin()
6628 (void)bfd_set_section_alignment (stdoutput, pdr_seg, 2); in md_begin()
[all …]
/freebsd-12.1/contrib/binutils/gas/
H A Doutput-file.c29 bfd *stdoutput; variable
37 else if (!(stdoutput = bfd_openw (name, TARGET_FORMAT))) in output_file_create()
47 bfd_set_format (stdoutput, bfd_object); in output_file_create()
48 bfd_set_arch_mach (stdoutput, TARGET_ARCH, TARGET_MACH); in output_file_create()
50 stdoutput->flags |= BFD_TRADITIONAL_FORMAT; in output_file_create()
58 if (stdoutput == NULL) in output_file_close()
62 res = bfd_close (stdoutput); in output_file_close()
66 stdoutput = NULL; in output_file_close()
H A Dsubsegs.c70 (void) bfd_set_section_userdata (stdoutput, seg, seginfo); in subseg_change()
152 ? bfd_get_section_name (stdoutput, now_seg) in subseg_get()
162 secptr = bfd_make_section_old_way (stdoutput, segname); in subseg_get()
164 secptr = bfd_make_section_anyway (stdoutput, segname); in subseg_get()
172 (void) bfd_set_section_userdata (stdoutput, secptr, seginfo); in subseg_get()
265 return (bfd_get_section_flags (stdoutput, sec) & SEC_CODE) != 0; in subseg_text_p()
303 for (s = stdoutput->sections; s; s = s->next) in subsegs_print_statistics()
H A Das.c988 applicable = bfd_applicable_section_flags (stdoutput); in perform_an_assembly_pass()
989 bfd_set_section_flags (stdoutput, text_section, in perform_an_assembly_pass()
992 bfd_set_section_flags (stdoutput, data_section, in perform_an_assembly_pass()
995 bfd_set_section_flags (stdoutput, bss_section, applicable & SEC_ALLOC); in perform_an_assembly_pass()
1044 size = bfd_elf_obj_attr_size (stdoutput); in create_obj_attrs_section()
1047 name = get_elf_backend_data (stdoutput)->obj_attrs_section; in create_obj_attrs_section()
1052 = get_elf_backend_data (stdoutput)->obj_attrs_section_type; in create_obj_attrs_section()
1053 bfd_set_section_flags (stdoutput, s, SEC_READONLY | SEC_DATA); in create_obj_attrs_section()
1056 bfd_elf_set_obj_attr_contents (stdoutput, (bfd_byte *)p, size); in create_obj_attrs_section()
1136 assert (stdoutput != 0); in main()
[all …]
H A Dwrite.c471 md_convert_frag (stdoutput, sec, fragP); in cvt_frag_to_fill()
1088 s = bfd_install_relocation (stdoutput, reloc, in install_reloc()
1196 sympp = bfd_get_outsymbols (stdoutput); in write_relocs()
1197 nsyms = bfd_get_symcount (stdoutput); in write_relocs()
1232 bfd_set_reloc (stdoutput, sec, relocs, n); in write_relocs()
1282 x = bfd_set_section_contents (stdoutput, sec, in write_contents()
1302 x = bfd_set_section_contents (stdoutput, sec, in write_contents()
1334 (stdoutput, sec, buf, (file_ptr) offset, in write_contents()
1375 asympp = bfd_alloc (stdoutput, amt); in set_symtab()
1414 for (s = stdoutput->sections; s; s = s->next) in subsegs_finish()
[all …]
H A Ddwarf2dbg.c406 if (!(bfd_get_section_flags (stdoutput, now_seg) & SEC_CODE)) in dwarf2_emit_label()
1649 info_seg = bfd_get_section_by_name (stdoutput, ".debug_info"); in dwarf2_finish()
1658 sizeof_address = DWARF2_ADDR_SIZE (stdoutput); in dwarf2_finish()
1662 bfd_set_section_flags (stdoutput, line_seg, SEC_READONLY | SEC_DEBUGGING); in dwarf2_finish()
1694 bfd_set_section_flags (stdoutput, info_seg, in dwarf2_finish()
1696 bfd_set_section_flags (stdoutput, abbrev_seg, in dwarf2_finish()
1698 bfd_set_section_flags (stdoutput, aranges_seg, in dwarf2_finish()
1708 bfd_set_section_flags (stdoutput, ranges_seg, in dwarf2_finish()
H A Dread.c257 int n = (stdoutput->arch_info->bits_per_address - 1) / 8; in address_bytes()
2074 type = _bfd_elf_obj_attrs_arg_type (stdoutput, vendor, tag); in s_vendor_attribute()
2119 bfd_elf_add_obj_attr_compat (stdoutput, vendor, i, s); in s_vendor_attribute()
2122 bfd_elf_add_obj_attr_string (stdoutput, vendor, tag, s); in s_vendor_attribute()
2125 bfd_elf_add_obj_attr_int (stdoutput, vendor, tag, i); in s_vendor_attribute()
2231 flags = bfd_get_section_flags (stdoutput, now_seg); in s_linkonce()
2250 if (!bfd_set_section_flags (stdoutput, now_seg, flags)) in s_linkonce()
2272 if (size <= bfd_get_gp_size (stdoutput)) in bss_alloc()
2276 if (!bfd_set_section_flags (stdoutput, bss_seg, SEC_ALLOC)) in bss_alloc()
2749 if (!bfd_set_section_flags (stdoutput, seg, flags)) in s_mri_sect()
[all …]
H A Dsubsegs.h113 ((segment_info_type *) bfd_get_section_userdata (stdoutput, sec))
H A Das.h245 extern bfd *stdoutput;
293 #define segment_name(SEG) bfd_get_section_name (stdoutput, SEG)
H A Ddebug.c32 for (s = stdoutput->sections; s; s = s->next) in dmp_frags()
H A Dstabs.c110 bfd_set_section_flags (stdoutput, seg, SEC_READONLY | SEC_DEBUGGING); in get_stab_string_offset()
332 bfd_set_section_flags (stdoutput, seg, in s_stab_generic()
H A Decoff.c3573 && S_GET_VALUE (sym) <= bfd_get_gp_size (stdoutput)) in ecoff_frob_symbol()
3701 + bfd_get_section_vma (stdoutput, in ecoff_build_lineno()
3982 + bfd_get_section_vma (stdoutput, in ecoff_build_symbols()
4036 || s > bfd_get_gp_size (stdoutput)) in ecoff_build_symbols()
4051 <= bfd_get_gp_size (stdoutput))) in ecoff_build_symbols()
4138 (*swap_sym_out) (stdoutput, in ecoff_build_symbols()
4210 (*swap_sym_out) (stdoutput, &sym_ptr->ecoff_sym.asym, in ecoff_build_symbols()
4311 + bfd_get_section_vma (stdoutput, in ecoff_build_procs()
4327 (*swap_pdr_out) (stdoutput, &proc_ptr->pdr, pdr_out); in ecoff_build_procs()
4352 bigendian = bfd_big_endian (stdoutput); in ecoff_build_aux()
[all …]
H A Ddw2gencfi.c46 # define EH_FRAME_ALIGNMENT (bfd_get_arch_size (stdoutput) == 64 ? 3 : 2)
1027 return bfd_get_arch_size (stdoutput) == 64 ? 8 : 4; in encoding_size()
1323 bfd_set_section_flags (stdoutput, cfi_seg, in cfi_finish()

12