| /NextBSD/contrib/binutils/gas/config/ |
| HD | tc-s390.c | 1505 fixS *fixP; local 1517 fixP = fix_new_exp (frag_now, 1527 fixP->fx_no_overflow = 1; 1889 tc_s390_fix_adjustable (fixP) in tc_s390_fix_adjustable() argument 1890 fixS *fixP; in tc_s390_fix_adjustable() 1893 if ((S_GET_SEGMENT (fixP->fx_addsy)->flags & SEC_MERGE) != 0) 1896 if ( fixP->fx_r_type == BFD_RELOC_16_GOTOFF 1897 || fixP->fx_r_type == BFD_RELOC_32_GOTOFF 1898 || fixP->fx_r_type == BFD_RELOC_390_GOTOFF64 1899 || fixP->fx_r_type == BFD_RELOC_390_PLTOFF16 [all …]
|
| HD | tc-ppc.c | 2772 fixS *fixP; in md_assemble() local 2784 fixP = fix_new_exp (frag_now, in md_assemble() 2806 fixP->fx_no_overflow = 1; in md_assemble() 5596 md_apply_fix (fixS *fixP, valueT *valP, segT seg ATTRIBUTE_UNUSED) in md_apply_fix() argument 5601 if (fixP->fx_addsy != NULL) in md_apply_fix() 5604 if (fixP->fx_pcrel) in md_apply_fix() 5605 value += fixP->fx_frag->fr_address + fixP->fx_where; in md_apply_fix() 5608 fixP->fx_done = 1; in md_apply_fix() 5620 if (fixP->fx_addsy == (symbolS *) NULL) in md_apply_fix() 5621 fixP->fx_done = 1; in md_apply_fix() [all …]
|
| HD | tc-spu.c | 354 fixS *fixP; in md_assemble() local 366 fixP = fix_new_exp (frag_now, in md_assemble() 372 fixP->tc_fix_data.arg_format = insn.reloc_arg[i]; in md_assemble() 373 fixP->tc_fix_data.insn_tag = insn.tag; in md_assemble() 952 md_apply_fix (fixS *fixP, valueT *valP, segT seg ATTRIBUTE_UNUSED) in md_apply_fix() argument 956 char *place = fixP->fx_where + fixP->fx_frag->fr_literal; in md_apply_fix() 958 if (fixP->fx_subsy != (symbolS *) NULL) in md_apply_fix() 961 as_bad_where (fixP->fx_file, fixP->fx_line, _("expression too complex")); in md_apply_fix() 964 if (fixP->fx_addsy != NULL) in md_apply_fix() 966 if (fixP->fx_pcrel) in md_apply_fix() [all …]
|
| HD | tc-sparc.c | 2926 fixS *fixP = fix_new_exp (frag_now, /* Which frag. */ local 2936 fixP->fx_no_overflow = 1; 2938 fixP->tc_fix_data = the_insn->exp2.X_add_number; 3052 md_apply_fix (fixP, valP, segment) in md_apply_fix() argument 3053 fixS *fixP; in md_apply_fix() 3057 char *buf = fixP->fx_where + fixP->fx_frag->fr_literal; 3061 assert (fixP->fx_r_type < BFD_RELOC_UNUSED); 3063 fixP->fx_addnumber = val; /* Remember value for emit_reloc. */ 3067 if (fixP->fx_addsy != NULL) 3069 switch (fixP->fx_r_type) [all …]
|
| HD | tc-arc.c | 1256 md_pcrel_from (fixS *fixP) in md_pcrel_from() argument 1259 return fixP->fx_frag->fr_address + fixP->fx_where + fixP->fx_size; in md_pcrel_from() 1271 md_apply_fix (fixS *fixP, valueT * valP, segT seg) in md_apply_fix() argument 1275 if (fixP->fx_addsy == (symbolS *) NULL) in md_apply_fix() 1276 fixP->fx_done = 1; in md_apply_fix() 1278 else if (fixP->fx_pcrel) in md_apply_fix() 1281 if (S_GET_SEGMENT (fixP->fx_addsy) != seg) in md_apply_fix() 1282 value += md_pcrel_from (fixP); in md_apply_fix() 1286 if (fixP->fx_subsy != NULL) in md_apply_fix() 1287 as_bad_where (fixP->fx_file, fixP->fx_line, _("expression too complex")); in md_apply_fix() [all …]
|
| HD | tc-cr16.c | 517 tc_gen_reloc (asection *section ATTRIBUTE_UNUSED, fixS * fixP) in tc_gen_reloc() argument 523 *reloc->sym_ptr_ptr = symbol_get_bfdsym (fixP->fx_addsy); in tc_gen_reloc() 524 reloc->address = fixP->fx_frag->fr_address + fixP->fx_where; in tc_gen_reloc() 525 reloc->addend = fixP->fx_offset; in tc_gen_reloc() 527 if (fixP->fx_subsy != NULL) in tc_gen_reloc() 529 if (SWITCH_TABLE (fixP)) in tc_gen_reloc() 532 reloc->addend = (S_GET_VALUE (fixP->fx_addsy) in tc_gen_reloc() 533 - S_GET_VALUE (fixP->fx_subsy) + fixP->fx_offset); in tc_gen_reloc() 535 switch (fixP->fx_r_type) in tc_gen_reloc() 538 fixP->fx_r_type = BFD_RELOC_CR16_NUM8; in tc_gen_reloc() [all …]
|
| HD | tc-mep.c | 1429 mep_apply_fix (fixS *fixP, valueT *valP, segT seg ATTRIBUTE_UNUSED) in mep_apply_fix() argument 1433 if (fixP->fx_addsy == 0) in mep_apply_fix() 1434 switch (fixP->fx_cgen.opinfo) in mep_apply_fix() 1448 gas_cgen_md_apply_fix (fixP, valP, seg); in mep_apply_fix() 1452 md_pcrel_from_section (fixS *fixP, segT sec) in md_pcrel_from_section() argument 1454 if (fixP->fx_addsy != (symbolS *) NULL in md_pcrel_from_section() 1455 && (! S_IS_DEFINED (fixP->fx_addsy) in md_pcrel_from_section() 1456 || S_GET_SEGMENT (fixP->fx_addsy) != sec)) in md_pcrel_from_section() 1464 return fixP->fx_where + fixP->fx_frag->fr_address; in md_pcrel_from_section() 1480 fixS *fixP) in md_cgen_lookup_reloc() argument [all …]
|
| HD | tc-alpha.c | 1616 fixS *fixP; in emit_insn() local 1644 fixP = fix_new_exp (frag_now, f - frag_now->fr_literal, size, in emit_insn() 1664 fixP->fx_no_overflow = 1; in emit_insn() 1668 fixP->fx_no_overflow = 1; in emit_insn() 1669 fixP->fx_addsy = section_symbol (now_seg); in emit_insn() 1670 fixP->fx_offset = 0; in emit_insn() 1678 fixP->tc_fix_data.info = info; in emit_insn() 1682 fixP->fx_no_overflow = 1; in emit_insn() 1690 fixP->tc_fix_data.info = info; in emit_insn() 1691 info->slaves = fixP; in emit_insn() [all …]
|
| HD | tc-score.c | 5194 score_fix_adjustable (fixS * fixP) in score_fix_adjustable() argument 5196 if (fixP->fx_addsy == NULL) in score_fix_adjustable() 5201 && (S_IS_EXTERNAL (fixP->fx_addsy) || S_IS_WEAK (fixP->fx_addsy))) in score_fix_adjustable() 5205 else if (fixP->fx_r_type == BFD_RELOC_VTABLE_INHERIT in score_fix_adjustable() 5206 || fixP->fx_r_type == BFD_RELOC_VTABLE_ENTRY) in score_fix_adjustable() 5217 score_validate_fix (fixS *fixP) in score_validate_fix() argument 5219 fixP->fx_where += fixP->fx_frag->insn_addr; in score_validate_fix() 5223 md_pcrel_from (fixS * fixP) in md_pcrel_from() argument 5227 if (fixP->fx_addsy in md_pcrel_from() 5228 && (S_GET_SEGMENT (fixP->fx_addsy) == undefined_section) in md_pcrel_from() [all …]
|
| HD | tc-i386.c | 1589 tc_i386_fix_adjustable (fixS *fixP ATTRIBUTE_UNUSED) in tc_i386_fix_adjustable() 1598 && (S_GET_SEGMENT (fixP->fx_addsy)->flags & SEC_MERGE) != 0 in tc_i386_fix_adjustable() 1599 && fixP->fx_pcrel) in tc_i386_fix_adjustable() 1604 if (GOT_symbol && fixP->fx_subsy == GOT_symbol in tc_i386_fix_adjustable() 1605 && fixP->fx_r_type == BFD_RELOC_32_PCREL) in tc_i386_fix_adjustable() 1609 if (fixP->fx_r_type == BFD_RELOC_386_GOTOFF in tc_i386_fix_adjustable() 1610 || fixP->fx_r_type == BFD_RELOC_386_PLT32 in tc_i386_fix_adjustable() 1611 || fixP->fx_r_type == BFD_RELOC_386_GOT32 in tc_i386_fix_adjustable() 1612 || fixP->fx_r_type == BFD_RELOC_386_TLS_GD in tc_i386_fix_adjustable() 1613 || fixP->fx_r_type == BFD_RELOC_386_TLS_LDM in tc_i386_fix_adjustable() [all …]
|
| HD | tc-arm.c | 17568 md_pcrel_from_section (fixS * fixP, segT seg) in md_pcrel_from_section() argument 17570 offsetT base = fixP->fx_where + fixP->fx_frag->fr_address; in md_pcrel_from_section() 17577 if (fixP->fx_pcrel in md_pcrel_from_section() 17578 && ((fixP->fx_addsy && S_GET_SEGMENT (fixP->fx_addsy) != seg) in md_pcrel_from_section() 17579 || (arm_force_relocation (fixP) in md_pcrel_from_section() 17581 && !S_IS_EXTERNAL (fixP->fx_addsy) in md_pcrel_from_section() 17586 switch (fixP->fx_r_type) in md_pcrel_from_section() 17626 if (fixP->fx_pcrel in md_pcrel_from_section() 17627 && fixP->fx_addsy != NULL in md_pcrel_from_section() 17628 && (S_GET_SEGMENT (fixP->fx_addsy) == seg) in md_pcrel_from_section() [all …]
|
| HD | tc-mep.h | 62 #define tc_fix_adjustable(fixP) mep_fix_adjustable (fixP) argument
|
| HD | tc-mips.c | 11957 md_pcrel_from (fixS *fixP) in md_pcrel_from() argument 11959 valueT addr = fixP->fx_where + fixP->fx_frag->fr_address; in md_pcrel_from() 11960 switch (fixP->fx_r_type) in md_pcrel_from() 11968 if (fixP->fx_addsy && S_GET_SEGMENT (fixP->fx_addsy) != now_seg) in md_pcrel_from() 11969 as_bad_where (fixP->fx_file, fixP->fx_line, in md_pcrel_from() 12136 md_apply_fix (fixS *fixP, valueT *valP, segT seg ATTRIBUTE_UNUSED) in md_apply_fix() argument 12143 howto = bfd_reloc_type_lookup (stdoutput, fixP->fx_r_type); in md_apply_fix() 12147 assert (fixP->fx_size == 4 in md_apply_fix() 12148 || fixP->fx_r_type == BFD_RELOC_16 in md_apply_fix() 12149 || fixP->fx_r_type == BFD_RELOC_64 in md_apply_fix() [all …]
|
| HD | tc-cr16.h | 45 #define tc_fix_adjustable(fixP) 0 argument
|
| /NextBSD/contrib/binutils/gas/ |
| HD | cgen.c | 261 fixS *fixP; local 265 fixP = fix_new (frag, where, length / 8, symbol, offset, 270 fixP->fx_cgen.insn = insn; 271 fixP->fx_cgen.opinfo = opinfo; 272 fixP->fx_cgen.field = NULL; 273 fixP->fx_cgen.msb_field_p = 0; 275 return fixP; 301 fixS *fixP; local 305 fixP = fix_new_exp (frag, where, length / 8, exp, 310 fixP->fx_cgen.insn = insn; [all …]
|
| HD | write.c | 147 fixS *fixP; in fix_new_internal() local 151 fixP = obstack_alloc (¬es, sizeof (fixS)); in fix_new_internal() 153 fixP->fx_frag = frag; in fix_new_internal() 154 fixP->fx_where = where; in fix_new_internal() 155 fixP->fx_size = size; in fix_new_internal() 157 if (fixP->fx_size != size) in fix_new_internal() 162 fixP->fx_addsy = add_symbol; in fix_new_internal() 163 fixP->fx_subsy = sub_symbol; in fix_new_internal() 164 fixP->fx_offset = offset; in fix_new_internal() 165 fixP->fx_dot_value = dot_value; in fix_new_internal() [all …]
|
| HD | obj.h | 25 void obj_emit_relocations (char **where, fixS * fixP,
|
| HD | ChangeLog-0203 | 2604 by -S_GET_VALUE (fixP->fx_subsy). 6603 relocation types. Take fixP->fx_addnumber into account too. 6761 (shmedia_md_apply_fix): Hold original fixP->fx_r_type in 7062 assume fixP->fx_subsy is non-NULL.
|
| HD | ChangeLog-2006 | 2624 (md_apply_fix): New case BFD_RELOC_24, set fixP->fx_no_overflow to one.
|
| HD | ChangeLog-9697 | 142 (md_apply_fix): #ifndef BFD_ASSEMBLER code: Handle fixP->fx_size == 1. 4145 * config/tc-arm.c (md_apply_fix3): Also set fixP->fx_done if fx_addsy is
|
| HD | ChangeLog-9295 | 2024 clear the symbol fields of fixP. 2254 * write.c (fixup_segment): Pass fixP to TC_RELOC_RTSYM_LOC_FIXUP, 2255 not fixP->fx_r_type. 6593 (md_apply_fix): Set fixP->fx_done appropriately.
|
| HD | ChangeLog-0001 | 5706 (md_apply_fix): Added cast from enum to int for fixP->fx_r_type.
|
| /NextBSD/contrib/binutils/gas/doc/ |
| HD | internals.texi | 1242 @item TC_VALIDATE_FIX (@var{fixP}, @var{seg}, @var{skip}) 1245 It may be used to change the fixup in @code{struct fix *@var{fixP}} before 1249 @item md_apply_fix (@var{fixP}, @var{valP}, @var{seg}) 1253 object file. @code{struct fix *@var{fixP}} is the fixup @code{md_apply_fix} 1257 @code{MD_APPLY_SYM_VALUE}, plus @code{@var{fixP}->fx_offset} (symbol addend),
|