Home
last modified time | relevance | path

Searched refs:fixups (Results 1 – 25 of 116) sorted by relevance

12345

/toolchain/binutils/binutils-2.25/gas/
Dcgen.c90 static struct fixup fixups[GAS_CGEN_MAX_FIXUPS]; variable
113 fixups[num_fixups].exp = *expP;
114 fixups[num_fixups].opindex = opindex;
115 fixups[num_fixups].opinfo = opinfo;
181 memcpy (stored_fixups[i].fixup_chain, fixups,
182 sizeof (fixups[0]) * num_fixups);
197 memcpy (fixups, stored_fixups[i].fixup_chain,
230 stored_fixups[i].fixup_chain[tmp] = fixups [tmp];
231 fixups [tmp] = tmp_fixup;
582 if (CGEN_OPERAND_ATTR_VALUE (cgen_operand_lookup_by_num (gas_cgen_cpu_desc, fixups[i].opindex),
[all …]
Dcgen.h43 fixS * fixups[GAS_CGEN_MAX_FIXUPS]; member
/toolchain/binutils/binutils-2.25/gas/config/
Dtc-v850.c153 struct v850_fixup fixups[MAX_INSN_FIXUPS]; variable
2528 fixups[fc].exp = ex; in md_assemble()
2529 fixups[fc].opindex = *opindex_ptr; in md_assemble()
2530 fixups[fc].reloc = reloc; in md_assemble()
2599 fixups[fc].exp = ex; in md_assemble()
2600 fixups[fc].opindex = *opindex_ptr; in md_assemble()
2601 fixups[fc].reloc = reloc; in md_assemble()
2646 fixups[fc].exp = ex; in md_assemble()
2647 fixups[fc].opindex = *opindex_ptr; in md_assemble()
2648 fixups[fc].reloc = operand->default_reloc; in md_assemble()
[all …]
Dtc-d10v.c63 static Fixups *fixups; variable
296 fixups = &FixUps[0]; in md_begin()
549 if (fixups->fc >= MAX_INSN_FIXUPS) in build_insn()
555 fixups->fix[fixups->fc].reloc = BFD_RELOC_D10V_18; in build_insn()
567 fixups->fix[fixups->fc].reloc = in build_insn()
572 && (fixups->fix[fixups->fc].reloc == 0)) in build_insn()
576 if (fixups->fix[fixups->fc].reloc == BFD_RELOC_16 || in build_insn()
577 fixups->fix[fixups->fc].reloc == BFD_RELOC_D10V_18) in build_insn()
578 fixups->fix[fixups->fc].size = 2; in build_insn()
580 fixups->fix[fixups->fc].size = 4; in build_insn()
[all …]
Dtc-d30v.c80 static Fixups *fixups; variable
319 fixups = &FixUps[0]; in md_begin()
536 if (fixups->fc >= MAX_INSN_FIXUPS) in build_insn()
539 fixups->fix[fixups->fc].reloc = in build_insn()
541 fixups->fix[fixups->fc].size = 4; in build_insn()
542 fixups->fix[fixups->fc].exp = opers[i]; in build_insn()
543 fixups->fix[fixups->fc].operand = form->operands[i]; in build_insn()
544 if (fixups->fix[fixups->fc].reloc == BFD_RELOC_D30V_9_PCREL) in build_insn()
545 fixups->fix[fixups->fc].pcrel = RELOC_PCREL; in build_insn()
547 fixups->fix[fixups->fc].pcrel = op->reloc_flag; in build_insn()
[all …]
Dtc-rl78.c70 } fixups[2]; member
111 rl78_bytes.fixups[rl78_bytes.n_fixups].exp = exp; in rl78_fixup()
112 rl78_bytes.fixups[rl78_bytes.n_fixups].offset = offsetbits; in rl78_fixup()
113 rl78_bytes.fixups[rl78_bytes.n_fixups].nbits = nbits; in rl78_fixup()
114 rl78_bytes.fixups[rl78_bytes.n_fixups].type = type; in rl78_fixup()
115 rl78_bytes.fixups[rl78_bytes.n_fixups].reloc = exp.X_md; in rl78_fixup()
587 idx = rl78_bytes.fixups[i].offset / 8; in md_assemble()
588 rel = reloc_map [rl78_bytes.fixups[i].nbits / 8][(int) rl78_bytes.fixups[i].type]; in md_assemble()
590 if (rl78_bytes.fixups[i].reloc) in md_assemble()
591 rel = rl78_bytes.fixups[i].reloc; in md_assemble()
[all …]
Dtc-mn10300.c106 struct mn10300_fixup fixups[MAX_INSN_FIXUPS]; variable
1754 fixups[fc].exp = ex; in md_assemble()
1755 fixups[fc].opindex = *opindex_ptr; in md_assemble()
1756 fixups[fc].reloc = BFD_RELOC_UNUSED; in md_assemble()
1757 if (mn10300_check_fixup (& fixups[fc])) in md_assemble()
1916 opindex_converter.opindex = fixups[0].opindex; in md_assemble()
1918 fixups[0].exp.X_add_symbol, in md_assemble()
1919 fixups[0].exp.X_add_number, in md_assemble()
2063 operand = &mn10300_operands[fixups[i].opindex]; in md_assemble()
2064 if (fixups[i].reloc != BFD_RELOC_UNUSED in md_assemble()
[all …]
Dtc-mn10200.c85 struct mn10200_fixup fixups[MAX_INSN_FIXUPS]; variable
1102 fixups[fc].exp = ex; in md_assemble()
1103 fixups[fc].opindex = *opindex_ptr; in md_assemble()
1104 fixups[fc].reloc = BFD_RELOC_UNUSED; in md_assemble()
1202 opindex_converter.opindex = fixups[0].opindex; in md_assemble()
1204 fixups[0].exp.X_add_symbol, in md_assemble()
1205 fixups[0].exp.X_add_number, in md_assemble()
1247 operand = &mn10200_operands[fixups[i].opindex]; in md_assemble()
1248 if (fixups[i].reloc != BFD_RELOC_UNUSED) in md_assemble()
1255 fixups[i].reloc); in md_assemble()
[all …]
Dtc-s390.c1186 struct s390_fixup fixups[MAX_INSN_FIXUPS]; in md_gather_operands() local
1262 fixups[fc].exp = ex; in md_gather_operands()
1263 fixups[fc].opindex = *opindex_ptr; in md_gather_operands()
1264 fixups[fc].reloc = BFD_RELOC_UNUSED; in md_gather_operands()
1382 fixups[fc].exp = ex; in md_gather_operands()
1383 fixups[fc].opindex = *opindex_ptr; in md_gather_operands()
1384 fixups[fc].reloc = reloc; in md_gather_operands()
1511 fixups[fc].exp = ex; in md_gather_operands()
1512 fixups[fc].opindex = -1; in md_gather_operands()
1513 fixups[fc].reloc = reloc; in md_gather_operands()
[all …]
Dtc-alpha.c99 struct alpha_fixup fixups[MAX_INSN_FIXUPS]; member
1295 insn.fixups[0].reloc = BFD_RELOC_ALPHA_LITERAL; in load_expression()
1331 insn.fixups[0].reloc = BFD_RELOC_ALPHA_ELF_LITERAL; in load_expression()
1393 insn.fixups[insn.nfixups].reloc = BFD_RELOC_ALPHA_NOP; in load_expression()
1399 insn.fixups[insn.nfixups].exp.X_op = O_symbol; in load_expression()
1400 insn.fixups[insn.nfixups].exp.X_add_symbol = ensym; in load_expression()
1401 insn.fixups[insn.nfixups].exp.X_add_number = 0; in load_expression()
1402 insn.fixups[insn.nfixups].xtrasym = alpha_linkage_symbol; in load_expression()
1403 insn.fixups[insn.nfixups].procsym = alpha_evax_proc->symbol; in load_expression()
1425 insn.fixups[insn.nfixups].reloc = BFD_RELOC_ALPHA_LDA; in load_expression()
[all …]
Dtc-i370.c1904 struct i370_fixup fixups[MAX_INSN_FIXUPS]; in md_assemble() local
2174 fixups[fc].exp = ex; in md_assemble()
2175 fixups[fc].opindex = 0; in md_assemble()
2176 fixups[fc].reloc = reloc; in md_assemble()
2189 fixups[fc].exp = ex; in md_assemble()
2190 fixups[fc].opindex = *opindex_ptr; in md_assemble()
2191 fixups[fc].reloc = BFD_RELOC_UNUSED; in md_assemble()
2236 operand = &i370_operands[fixups[i].opindex]; in md_assemble()
2237 if (fixups[i].reloc != BFD_RELOC_UNUSED) in md_assemble()
2239 reloc_howto_type *reloc_howto = bfd_reloc_type_lookup (stdoutput, fixups[i].reloc); in md_assemble()
[all …]
Dtc-rx.c705 } fixups[2]; member
796 rx_bytes.fixups[rx_bytes.n_fixups].exp = exp; in rx_fixup()
797 rx_bytes.fixups[rx_bytes.n_fixups].offset = offsetbits; in rx_fixup()
798 rx_bytes.fixups[rx_bytes.n_fixups].nbits = nbits; in rx_fixup()
799 rx_bytes.fixups[rx_bytes.n_fixups].type = type; in rx_fixup()
800 rx_bytes.fixups[rx_bytes.n_fixups].reloc = exp.X_md; in rx_fixup()
1153 idx = rx_bytes.fixups[i].offset / 8; in md_assemble()
1154 rel = reloc_map [rx_bytes.fixups[i].nbits / 8][(int) rx_bytes.fixups[i].type]; in md_assemble()
1156 if (rx_bytes.fixups[i].reloc) in md_assemble()
1157 rel = rx_bytes.fixups[i].reloc; in md_assemble()
[all …]
Dtc-arc.c1446 struct arc_fixup fixups[MAX_FIXUPS]; in md_assemble() local
1522 fixups[fix_up_at].opindex = arc_operand_map[operand->fmt]; in md_assemble()
1686 fixups[fc].exp = exp; in md_assemble()
1712 fixups[fc].opindex = arc_operand_map[(int) *syn]; in md_assemble()
1856 if (arc_operands[fixups[i].opindex].flags & ARC_OPERAND_LIMM) in md_assemble()
1859 fixups[i].exp.X_add_number += arc_limm_fixup_adjust (insn); in md_assemble()
1860 op_type = fixups[i].opindex; in md_assemble()
1872 &fixups[i].exp, in md_assemble()
1877 op_type = get_arc_exp_reloc_type (0, fixups[i].opindex, in md_assemble()
1878 &fixups[i].exp, &exptmp); in md_assemble()
Dtc-m32r.c57 fixS *fixups[GAS_CGEN_MAX_FIXUPS]; member
1370 insn.fixups[i] = fi.fixups[i]; in md_assemble()
1397 prev_insn.fixups[i]->fx_frag = insn.frag; in md_assemble()
1399 insn.fixups[i]->fx_frag = prev_insn.frag; in md_assemble()
1407 prev_insn.fixups[i]->fx_where += 2; in md_assemble()
1409 insn.fixups[i]->fx_where -= 2; in md_assemble()
Dtc-ppc.c2633 struct ppc_fixup fixups[MAX_INSN_FIXUPS]; in md_assemble() local
2867 fixups[fc].reloc = toc_reloc; in md_assemble()
2868 fixups[fc].exp = ex; in md_assemble()
2869 fixups[fc].opindex = *opindex_ptr; in md_assemble()
3043 fixups[fc].exp = tls_exp; in md_assemble()
3044 fixups[fc].opindex = *opindex_ptr; in md_assemble()
3045 fixups[fc].reloc = reloc; in md_assemble()
3303 fixups[fc].exp = ex; in md_assemble()
3304 fixups[fc].opindex = *opindex_ptr; in md_assemble()
3305 fixups[fc].reloc = reloc; in md_assemble()
[all …]
Dtc-or1k.c47 fixS * fixups [GAS_CGEN_MAX_FIXUPS]; member
Dtc-fr30.c46 fixS * fixups [GAS_CGEN_MAX_FIXUPS]; member
Dtc-lm32.c49 fixS *fixups[GAS_CGEN_MAX_FIXUPS]; member
Dtc-ip2k.c48 fixS * fixups [GAS_CGEN_MAX_FIXUPS]; member
Dtc-xc16x.c54 fixS * fixups [GAS_CGEN_MAX_FIXUPS]; member
/toolchain/binutils/binutils-2.25/ld/testsuite/ld-spu/
Dfixup.d2 #ld: --emit-fixups
/toolchain/binutils/binutils-2.25/bfd/
Delf32-bfin.c1820 unsigned long fixups; member
1928 unsigned fixups, dynrelocs; member
2129 BFD_ASSERT (entry->fixups > 0); in _bfinfdpic_add_rofixup()
2130 entry->fixups--; in _bfinfdpic_add_rofixup()
3650 bfd_vma relocs = 0, fixups = 0; in _bfinfdpic_count_relocs_fixups() local
3660 fixups += entry->relocs32 + 2 * entry->relocsfdv; in _bfinfdpic_count_relocs_fixups()
3670 fixups += entry->relocsfd; in _bfinfdpic_count_relocs_fixups()
3679 fixups = - fixups; in _bfinfdpic_count_relocs_fixups()
3683 entry->fixups += fixups; in _bfinfdpic_count_relocs_fixups()
3685 dinfo->fixups += fixups; in _bfinfdpic_count_relocs_fixups()
[all …]
Delf32-frv.c904 unsigned long fixups; member
1075 unsigned fixups, dynrelocs; member
1283 BFD_ASSERT (entry->fixups > 0); in _frvfdpic_add_rofixup()
1284 entry->fixups--; in _frvfdpic_add_rofixup()
4504 bfd_vma relocs = 0, fixups = 0, tlsrets = 0; in _frvfdpic_count_relocs_fixups() local
4529 fixups += entry->relocs32 + 2 * entry->relocsfdv; in _frvfdpic_count_relocs_fixups()
4530 fixups += entry->relocstlsd; in _frvfdpic_count_relocs_fixups()
4544 fixups += entry->relocsfd; in _frvfdpic_count_relocs_fixups()
4553 fixups = - fixups; in _frvfdpic_count_relocs_fixups()
4558 entry->fixups += fixups; in _frvfdpic_count_relocs_fixups()
[all …]
/toolchain/binutils/binutils-2.25/ld/scripttempl/
Dia64vms.sc104 *(.fixups)
/toolchain/binutils/binutils-2.25/gas/doc/
Dinternals.texi451 @cindex internals, fixups
452 @cindex fixups
465 targets use other type codes to represent fixups that can not be described as
528 fixups are processed to produce the final contents.
560 verbatim (fixups aside). See below for specific values this field can have.
714 Pseudo-ops and instructions can also output fixups created by @code{fix_new} or
724 all the fixups (@code{fixup_segment}), resolves all the symbol values (using
863 create fixups as needed (@pxref{Fixups}). Targets which need to do special
1242 If defined, this macro allows control over whether fixups for a
1246 then the fixups will be converted into relocs, otherwise they will
[all …]

12345