Home
last modified time | relevance | path

Searched refs:fmt (Results 1 – 25 of 60) sorted by relevance

123

/toolchain/binutils/binutils-2.25/gas/
Dconfigure.tgt29 # fmt output format; identifies the config/obj-* files
37 fmt=
117 # Assign object format. Set fmt, em, and bfd_gas.
121 aarch64*-*-elf) fmt=elf;;
122 aarch64*-*-linux*) fmt=elf em=linux ;;
124 alpha-*-*vms*) fmt=evax ;;
125 alpha-*-osf*) fmt=ecoff ;;
126 alpha-*-linux*ecoff*) fmt=ecoff ;;
127 alpha-*-linux-*) fmt=elf em=linux ;;
128 alpha-*-netbsd*) fmt=elf em=nbsd ;;
[all …]
Dconfigure.ac508 obj_format=$fmt
518 case ${generic_target}-${fmt} in
647 fmt=elf file=mipself ;;
649 fmt=coff file=$em ;;
651 fmt=aout file=$em ;;
653 fmt=elf file=$em ;;
655 formats="$formats $fmt"
662 for fmt in $formats ; do
663 case $fmt in
672 extra_objects="$extra_objects obj-$fmt.o"
Ddw2gencfi.c1422 enum dwarf2_format fmt = DWARF2_FORMAT (now_seg); in output_cie() local
1433 if (eh_frame || fmt == dwarf2_format_32bit) in output_cie()
1437 if (fmt == dwarf2_format_64bit) in output_cie()
1447 if (fmt != dwarf2_format_32bit) in output_cie()
1543 enum dwarf2_format fmt = DWARF2_FORMAT (now_seg); in output_fde() local
1554 if (eh_frame || fmt == dwarf2_format_32bit) in output_fde()
1558 if (fmt == dwarf2_format_64bit) in output_fde()
/toolchain/binutils/binutils-2.25/libiberty/
Dfloatformat.c65 static int floatformat_always_valid (const struct floatformat *fmt,
69 floatformat_always_valid (const struct floatformat *fmt ATTRIBUTE_UNUSED, in floatformat_always_valid()
169 static int floatformat_i387_ext_is_valid (const struct floatformat *fmt,
173 floatformat_i387_ext_is_valid (const struct floatformat *fmt, const void *from) in floatformat_i387_ext_is_valid() argument
182 exponent = get_field (ufrom, fmt->byteorder, fmt->totalsize, in floatformat_i387_ext_is_valid()
183 fmt->exp_start, fmt->exp_len); in floatformat_i387_ext_is_valid()
184 int_bit = get_field (ufrom, fmt->byteorder, fmt->totalsize, in floatformat_i387_ext_is_valid()
185 fmt->man_start, 1); in floatformat_i387_ext_is_valid()
289 floatformat_ibm_long_double_is_valid (const struct floatformat *fmt, in floatformat_ibm_long_double_is_valid() argument
293 const struct floatformat *hfmt = fmt->split_half; in floatformat_ibm_long_double_is_valid()
[all …]
Dasprintf.c47 asprintf (char **buf, const char *fmt, ...) in asprintf() argument
51 va_start (ap, fmt); in asprintf()
52 status = vasprintf (buf, fmt, ap); in asprintf()
/toolchain/binutils/binutils-2.25/binutils/
Dunwind-ia64.c179 #define UNW_DEC_PROLOGUE(fmt, body, rlen, arg) \ argument
185 fmt, body ? "body" : "prologue", (unsigned long) rlen); \
189 #define UNW_DEC_PROLOGUE_GR(fmt, rlen, mask, grsave, arg) \ argument
223 fmt, maskstr, regname, (unsigned long) rlen); \
227 #define UNW_DEC_FR_MEM(fmt, frmask, arg) \ argument
233 printf ("\t%s:fr_mem(frmask=[%s])\n", fmt, frstr); \
237 #define UNW_DEC_GR_MEM(fmt, grmask, arg) \ argument
243 printf ("\t%s:gr_mem(grmask=[%s])\n", fmt, grstr); \
247 #define UNW_DEC_FRGR_MEM(fmt, grmask, frmask, arg) \ argument
254 printf ("\t%s:frgr_mem(grmask=[%s],frmask=[%s])\n", fmt, grstr, frstr); \
[all …]
Dwindres.c1375 int wr_printcomment (FILE *e, const char *fmt, ...) in wr_printcomment() argument
1385 if (fmt == NULL) in wr_printcomment()
1387 va_start (arg, fmt); in wr_printcomment()
1388 r += vfprintf (e, fmt, arg); in wr_printcomment()
1393 int wr_print (FILE *e, const char *fmt, ...) in wr_print() argument
1400 if (! fmt) in wr_print()
1402 va_start (arg, fmt); in wr_print()
1403 r += vfprintf (e, fmt, arg); in wr_print()
/toolchain/binutils/binutils-2.25/ld/
Dldmisc.c67 vfinfo (FILE *fp, const char *fmt, va_list arg, bfd_boolean is_warning) in vfinfo() argument
71 while (*fmt != '\0') in vfinfo()
73 const char *str = fmt; in vfinfo()
74 while (*fmt != '%' && *fmt != '\0') in vfinfo()
75 fmt++; in vfinfo()
76 if (fmt != str) in vfinfo()
77 if (fwrite (str, 1, fmt - str, fp)) in vfinfo()
82 if (*fmt == '%') in vfinfo()
84 fmt++; in vfinfo()
85 switch (*fmt++) in vfinfo()
[all …]
Dldmisc.h24 extern void vfinfo (FILE *fp, const char *fmt, va_list arg, bfd_boolean is_warning);
/toolchain/binutils/binutils-2.25/bfd/
Dxtensa-isa.c133 xtensa_format fmt; in xtensa_insnbuf_to_chars() local
151 fmt = xtensa_format_decode (isa, insn); in xtensa_insnbuf_to_chars()
152 if (fmt == XTENSA_UNDEFINED) in xtensa_insnbuf_to_chars()
155 byte_count = xtensa_format_length (isa, fmt); in xtensa_insnbuf_to_chars()
521 xtensa_format_name (xtensa_isa isa, xtensa_format fmt) in xtensa_format_name() argument
524 CHECK_FORMAT (intisa, fmt, NULL); in xtensa_format_name()
525 return intisa->formats[fmt].name; in xtensa_format_name()
533 int fmt; in xtensa_format_lookup() local
542 for (fmt = 0; fmt < intisa->num_formats; fmt++) in xtensa_format_lookup()
544 if (strcasecmp (fmtname, intisa->formats[fmt].name) == 0) in xtensa_format_lookup()
[all …]
Dbfd.c597 _bfd_default_error_handler (const char *fmt, ...) in _bfd_default_error_handler() argument
613 va_start (ap, fmt); in _bfd_default_error_handler()
614 new_fmt = fmt; in _bfd_default_error_handler()
618 avail -= strlen (fmt) + 1; in _bfd_default_error_handler()
622 p = fmt; in _bfd_default_error_handler()
633 len = strlen (fmt); in _bfd_default_error_handler()
634 memcpy (bufp, fmt, len + 1); in _bfd_default_error_handler()
641 len = p - fmt; in _bfd_default_error_handler()
642 memcpy (bufp, fmt, len); in _bfd_default_error_handler()
644 fmt = p + 2; in _bfd_default_error_handler()
Delf32-xtensa.c1922 xtensa_format fmt; in elf_xtensa_do_reloc() local
2024 fmt = xtensa_format_decode (isa, ibuff); in elf_xtensa_do_reloc()
2025 if (fmt == XTENSA_UNDEFINED) in elf_xtensa_do_reloc()
2031 xtensa_format_get_slot (isa, fmt, slot, ibuff, sbuff); in elf_xtensa_do_reloc()
2033 opcode = xtensa_opcode_decode (isa, fmt, slot, sbuff); in elf_xtensa_do_reloc()
2103 || xtensa_operand_set_field (isa, opcode, opnd, fmt, slot, in elf_xtensa_do_reloc()
2147 xtensa_format_set_slot (isa, fmt, slot, ibuff, sbuff); in elf_xtensa_do_reloc()
2155 vsprint_msg (const char *origmsg, const char *fmt, int arglen, ...) in vsprint_msg() argument
2170 len = orig_len + strlen (fmt) + arglen + 20; in vsprint_msg()
2180 vsprintf (message + orig_len, fmt, ap); in vsprint_msg()
[all …]
/toolchain/binutils/binutils-2.25/opcodes/
Dxtensa-dis.c142 xtensa_format fmt; in print_insn_xtensa() local
195 fmt = xtensa_format_decode (isa, insn_buffer); in print_insn_xtensa()
196 if (fmt == XTENSA_UNDEFINED in print_insn_xtensa()
197 || ((size = xtensa_format_length (isa, fmt)) > bytes_fetched)) in print_insn_xtensa()
203 nslots = xtensa_format_num_slots (isa, fmt); in print_insn_xtensa()
206 xtensa_format_get_slot (isa, fmt, n, insn_buffer, slot_buffer); in print_insn_xtensa()
207 if (xtensa_opcode_decode (isa, fmt, n, slot_buffer) in print_insn_xtensa()
233 xtensa_format_get_slot (isa, fmt, n, insn_buffer, slot_buffer); in print_insn_xtensa()
234 opc = xtensa_opcode_decode (isa, fmt, n, slot_buffer); in print_insn_xtensa()
252 (void) xtensa_operand_get_field (isa, opc, i, fmt, n, in print_insn_xtensa()
Dmsp430-dis.c67 if (opcode->fmt == 0) in msp430_nooperands()
145 int fmt; in msp430_singleoperand() local
153 if (opcode->fmt < 0) in msp430_singleoperand()
154 fmt = (- opcode->fmt) - 1; in msp430_singleoperand()
156 fmt = opcode->fmt; in msp430_singleoperand()
158 switch (fmt) in msp430_singleoperand()
378 int fmt; in msp430_doubleoperand() local
387 if (opcode->fmt < 0) in msp430_doubleoperand()
388 fmt = (- opcode->fmt) - 1; in msp430_doubleoperand()
390 fmt = opcode->fmt; in msp430_doubleoperand()
[all …]
Dtic6x-dis.c114 tic6x_field_from_fmt (const tic6x_insn_format *fmt, tic6x_insn_field_id field) in tic6x_field_from_fmt() argument
118 for (f = 0; f < fmt->num_fields; f++) in tic6x_field_from_fmt()
119 if (fmt->fields[f].field_id == field) in tic6x_field_from_fmt()
120 return &fmt->fields[f]; in tic6x_field_from_fmt()
309 const tic6x_insn_format *const fmt in print_insn_tic6x() local
337 if (fmt->num_bits != num_bits) in print_insn_tic6x()
339 if ((opcode & fmt->mask) != fmt->cst_bits) in print_insn_tic6x()
346 creg_field = tic6x_field_from_fmt (fmt, tic6x_field_creg); in print_insn_tic6x()
366 z_field = tic6x_field_from_fmt (fmt, tic6x_field_z); in print_insn_tic6x()
392 cc_field = tic6x_field_from_fmt (fmt, tic6x_field_cc); in print_insn_tic6x()
[all …]
Darc-opc.c360 if ('a' != operand->fmt) in insert_reg()
414 if ('a' == operand->fmt || ((insn & I(-1)) < I(2))) in insert_reg()
419 if ('a' != operand->fmt) in insert_reg()
435 switch (operand->fmt) in insert_reg()
1095 if ('a' != operand->fmt) in extract_reg()
1113 if ('a' != operand->fmt) in extract_reg()
1163 switch(operand->fmt) in extract_reg()
1607 arc_operand_map[arc_operands[i].fmt] = i; in arc_opcode_init_tables()
/toolchain/binutils/binutils-2.25/include/
Dxtensa-isa.h289 xtensa_format_name (xtensa_isa isa, xtensa_format fmt);
310 xtensa_format_encode (xtensa_isa isa, xtensa_format fmt, xtensa_insnbuf insn);
317 xtensa_format_length (xtensa_isa isa, xtensa_format fmt);
324 xtensa_format_num_slots (xtensa_isa isa, xtensa_format fmt);
331 xtensa_format_slot_nop_opcode (xtensa_isa isa, xtensa_format fmt, int slot);
339 xtensa_format_get_slot (xtensa_isa isa, xtensa_format fmt, int slot,
343 xtensa_format_set_slot (xtensa_isa isa, xtensa_format fmt, int slot,
362 xtensa_opcode_decode (xtensa_isa isa, xtensa_format fmt, int slot,
371 xtensa_opcode_encode (xtensa_isa isa, xtensa_format fmt, int slot,
488 xtensa_format fmt, int slot,
[all …]
Dfloatformat.h87 int (*is_valid) (const struct floatformat *fmt, const void *from);
150 floatformat_is_valid (const struct floatformat *fmt, const void *from);
Dbfdlink.h653 (const char *fmt, ...);
656 (const char *fmt, ...);
659 (const char *fmt, ...);
/toolchain/binutils/binutils-2.25/gas/config/
Dtc-xtensa.c2103 xtensa_format fmt; in get_invisible_operands() local
2114 for (fmt = 0; fmt < xtensa_isa_num_formats (isa); fmt++) in get_invisible_operands()
2116 for (slot = 0; slot < xtensa_format_num_slots (isa, fmt); slot++) in get_invisible_operands()
2118 if (xtensa_opcode_encode (isa, fmt, slot, slotbuf, opc) == 0) in get_invisible_operands()
2143 xtensa_operand_set_field (isa, opc, opnd, fmt, slot, slotbuf, val); in get_invisible_operands()
2152 xtensa_operand_get_field (isa, opc, opnd, fmt, slot, slotbuf, &val); in get_invisible_operands()
2559 xtensa_format fmt; in get_opcode_from_buf() local
2568 fmt = xtensa_format_decode (isa, insnbuf); in get_opcode_from_buf()
2569 if (fmt == XTENSA_UNDEFINED) in get_opcode_from_buf()
2572 if (slot >= xtensa_format_num_slots (isa, fmt)) in get_opcode_from_buf()
[all …]
Dtc-mips.c8544 macro_build (expressionS *ep, const char *name, const char *fmt, ...) in macro_build() argument
8555 va_start (args, fmt); in macro_build()
8559 mips16_macro_build (ep, name, fmt, &args); in macro_build()
8582 if (strcmp (fmt, amo->args) == 0 in macro_build()
8603 for (; *fmt; ++fmt) in macro_build()
8605 switch (*fmt) in macro_build()
8676 ? decode_micromips_operand (fmt) in macro_build()
8677 : decode_mips_operand (fmt)); in macro_build()
8686 if (*fmt == '+' || *fmt == 'm' || *fmt == '-' || *fmt == '`') in macro_build()
8687 ++fmt; in macro_build()
[all …]
Dbfin-lex.l341 char fmt = '\0'; variable
362 fmt = 'd';
370 fmt = 'h';
372 fmt = 'b';
374 fmt = 'f';
378 fmt = 'o';
394 fmt = *arg++;
400 switch (fmt)
Dtc-arc.c1287 if (operand->fmt == 'B') in md_apply_fix()
1294 else if (operand->fmt == 'J') in md_apply_fix()
1301 else if (operand->fmt == 'L') in md_apply_fix()
1496 if (operand->fmt == 0) in md_assemble()
1522 fixups[fix_up_at].opindex = arc_operand_map[operand->fmt]; in md_assemble()
1591 if (ext_suffix_p && arc_operands[suf->type].fmt == *syn) in md_assemble()
1613 if (arc_operands[suffix->type].fmt == *syn) in md_assemble()
1781 switch (arc_operands[insn_suffixes[i]->type].fmt) in md_assemble()
/toolchain/binutils/binutils-2.25/cpu/
Dcris.cpu1747 (define-pmacro (dni-bwd-attr name comment attr syntax fmt fsem timing)
1750 (.splice (.unsplice fmt) SIZE_BYTE)
1754 (.splice (.unsplice fmt) SIZE_WORD)
1758 (.splice (.unsplice fmt) SIZE_DWORD)
1763 (define-pmacro (dni-cdt-attr name comment attr syntax fmt semantics)
1765 (dni name comment attr syntax fmt semantics (cris-timing))
1768 (define-pmacro (dni-cdt-bwd-attr name comment attr syntax fmt fsem)
1771 (.splice (.unsplice fmt) SIZE_BYTE)
1774 (.splice (.unsplice fmt) SIZE_WORD)
1777 (.splice (.unsplice fmt) SIZE_DWORD)
[all …]
/toolchain/binutils/binutils-2.25/ld/testsuite/ld-plugin/
Dmain.c2 extern int printf (const char *fmt, ...);

123