Home
last modified time | relevance | path

Searched refs:fixP (Results 1 – 23 of 23) sorted by relevance

/freebsd-12.1/contrib/binutils/gas/config/
H A Dtc-s390.c1505 fixS *fixP; local
1890 fixS *fixP; in tc_s390_fix_adjustable()
1997 fixS *fixP; in md_apply_fix()
2004 where = fixP->fx_frag->fr_literal + fixP->fx_where;
2007 as_bad_where (fixP->fx_file, fixP->fx_line,
2015 value += fixP->fx_frag->fr_address + fixP->fx_where;
2032 (offsetT) value, fixP->fx_file, fixP->fx_line);
2042 fixP->fx_size = 2;
2092 as_bad_where (fixP->fx_file, fixP->fx_line,
2095 as_bad_where (fixP->fx_file, fixP->fx_line,
[all …]
H A Dtc-ppc.c2772 fixS *fixP; in md_assemble() local
5605 value += fixP->fx_frag->fr_address + fixP->fx_where; in md_apply_fix()
5669 where = fixP->fx_frag->fr_literal + fixP->fx_where; in md_apply_fix()
5675 fixP->fx_file, fixP->fx_line); in md_apply_fix()
5756 as_bad_where (fixP->fx_file, fixP->fx_line, in md_apply_fix()
5759 as_bad_where (fixP->fx_file, fixP->fx_line, in md_apply_fix()
5832 as_bad_where (fixP->fx_file, fixP->fx_line, in md_apply_fix()
5837 as_bad_where (fixP->fx_file, fixP->fx_line, in md_apply_fix()
6035 if (!fixP->fx_pcrel && !fixP->fx_done) in md_apply_fix()
6051 as_bad_where (fixP->fx_file, fixP->fx_line, in md_apply_fix()
[all …]
H A Dtc-spu.c354 fixS *fixP; in md_assemble() local
956 char *place = fixP->fx_where + fixP->fx_frag->fr_literal; in md_apply_fix()
961 as_bad_where (fixP->fx_file, fixP->fx_line, _("expression too complex")); in md_apply_fix()
966 if (fixP->fx_pcrel) in md_apply_fix()
969 val += fixP->fx_frag->fr_address + fixP->fx_where; in md_apply_fix()
971 switch (fixP->fx_r_type) in md_apply_fix()
984 as_bad_where (fixP->fx_file, fixP->fx_line, in md_apply_fix()
997 if (fixP->fx_addsy == NULL && fixP->fx_pcrel == 0) in md_apply_fix()
999 fixP->fx_done = 1; in md_apply_fix()
1006 as_bad_where (fixP->fx_file, fixP->fx_line, in md_apply_fix()
[all …]
H A Dtc-sparc.c3282 as_bad_where (fixP->fx_file, fixP->fx_line,
3289 as_bad_where (fixP->fx_file, fixP->fx_line,
3296 as_bad_where (fixP->fx_file, fixP->fx_line,
3303 as_bad_where (fixP->fx_file, fixP->fx_line,
3310 as_bad_where (fixP->fx_file, fixP->fx_line,
3319 as_bad_where (fixP->fx_file, fixP->fx_line,
3330 as_bad_where (fixP->fx_file, fixP->fx_line,
3352 as_bad_where (fixP->fx_file, fixP->fx_line,
3376 as_bad_where (fixP->fx_file, fixP->fx_line,
3422 as_bad_where (fixP->fx_file, fixP->fx_line,
[all …]
H A Dtc-arc.c1259 return fixP->fx_frag->fr_address + fixP->fx_where + fixP->fx_size; in md_pcrel_from()
1302 where = fixP->fx_frag->fr_literal + fixP->fx_where; in md_apply_fix()
1308 fixP->fx_file, fixP->fx_line); in md_apply_fix()
1347 as_bad_where (fixP->fx_file, fixP->fx_line, in md_apply_fix()
1358 md_number_to_chars (fixP->fx_frag->fr_literal + fixP->fx_where, in md_apply_fix()
1362 md_number_to_chars (fixP->fx_frag->fr_literal + fixP->fx_where, in md_apply_fix()
1366 md_number_to_chars (fixP->fx_frag->fr_literal + fixP->fx_where, in md_apply_fix()
1375 md_number_to_chars (fixP->fx_frag->fr_literal + fixP->fx_where, in md_apply_fix()
1389 fixS *fixP) in tc_gen_reloc() argument
1397 reloc->address = fixP->fx_frag->fr_address + fixP->fx_where; in tc_gen_reloc()
[all …]
H A Dtc-cr16.c524 reloc->address = fixP->fx_frag->fr_address + fixP->fx_where; in tc_gen_reloc()
533 - S_GET_VALUE (fixP->fx_subsy) + fixP->fx_offset); in tc_gen_reloc()
557 as_bad_where (fixP->fx_file, fixP->fx_line, in tc_gen_reloc()
559 fixP->fx_addsy ? S_GET_NAME (fixP->fx_addsy) : "0", in tc_gen_reloc()
573 as_bad_where (fixP->fx_file, fixP->fx_line, in tc_gen_reloc()
709 char *buf = fixP->fx_frag->fr_literal + fixP->fx_where; in md_apply_fix()
710 fixP->fx_offset = 0; in md_apply_fix()
732 fixP->fx_done = 0; in md_apply_fix()
736 fixP->fx_done = 1; in md_apply_fix()
738 if (fixP->fx_pcrel == 1 in md_apply_fix()
[all …]
H A Dtc-mep.c1433 if (fixP->fx_addsy == 0) in mep_apply_fix()
1434 switch (fixP->fx_cgen.opinfo) in mep_apply_fix()
1464 return fixP->fx_where + fixP->fx_frag->fr_address; in md_pcrel_from_section()
1480 fixS *fixP) in md_cgen_lookup_reloc() argument
1514 fixP->fx_where += 2; in md_cgen_lookup_reloc()
1529 as_bad_where (fixP->fx_file, fixP->fx_line, in md_cgen_lookup_reloc()
1539 as_bad_where (fixP->fx_file, fixP->fx_line, in md_cgen_lookup_reloc()
1563 return fixP; in mep_cgen_record_fixup_exp()
1733 mep_fix_adjustable (fixS *fixP) in mep_fix_adjustable() argument
1746 reloc_type = fixP->fx_r_type; in mep_fix_adjustable()
[all …]
H A Dtc-alpha.c1616 fixS *fixP; in emit_insn() local
5183 valueT addr = fixP->fx_where + fixP->fx_frag->fr_address; in md_pcrel_from()
5209 char * const fixpos = fixP->fx_frag->fr_literal + fixP->fx_where; in md_apply_fix()
5228 - fixP->fx_frag->fr_address - fixP->fx_where); in md_apply_fix()
5267 if (fixP->fx_pcrel == 0 && fixP->fx_addsy == 0) in md_apply_fix()
5290 if (fixP->fx_pcrel == 0 && fixP->fx_addsy == 0) in md_apply_fix()
5299 if (fixP->fx_pcrel == 0 && fixP->fx_addsy == 0) in md_apply_fix()
5358 as_bad_where (fixP->fx_file, fixP->fx_line, in md_apply_fix()
5363 fixP->fx_file, fixP->fx_line); in md_apply_fix()
5368 if (fixP->fx_addsy != 0 || fixP->fx_pcrel != 0) in md_apply_fix()
[all …]
H A Dtc-score.c5219 fixP->fx_where += fixP->fx_frag->insn_addr; in score_validate_fix()
5277 char *buf = fixP->fx_frag->fr_literal + fixP->fx_where; in md_apply_fix()
5280 if (fixP->fx_addsy == 0 && !fixP->fx_pcrel) in md_apply_fix()
5343 as_bad_where (fixP->fx_file, fixP->fx_line, in md_apply_fix()
5360 as_bad_where (fixP->fx_file, fixP->fx_line, in md_apply_fix()
5390 as_bad_where (fixP->fx_file, fixP->fx_line, in md_apply_fix()
5414 as_bad_where (fixP->fx_file, fixP->fx_line, in md_apply_fix()
5424 if (fixP->fx_done || fixP->fx_pcrel) in md_apply_fix()
5436 if (fixP->fx_done || fixP->fx_pcrel) in md_apply_fix()
5448 if (fixP->fx_done || fixP->fx_pcrel) in md_apply_fix()
[all …]
H A Dtc-i386.c3827 fixS *fixP; in output_jump() local
5393 fixS *fixP; local
5588 fixS *fixP; in md_apply_fix()
5594 char *p = fixP->fx_where + fixP->fx_frag->fr_literal;
5598 if (fixP->fx_pcrel)
5638 value += fixP->fx_where + fixP->fx_frag->fr_address;
5654 value += fixP->fx_where + fixP->fx_frag->fr_address;
5706 fixP->fx_done = 0;
5716 fixP->fx_done = 0;
5728 fixP->fx_done = 1;
[all …]
H A Dtc-arm.c18134 as_bad_where (fixP->fx_file, fixP->fx_line, in md_apply_fix()
18346 as_bad_where (fixP->fx_file, fixP->fx_line, in md_apply_fix()
18376 as_bad_where (fixP->fx_file, fixP->fx_line, in md_apply_fix()
18406 as_bad_where (fixP->fx_file, fixP->fx_line, in md_apply_fix()
18410 as_bad_where (fixP->fx_file, fixP->fx_line, in md_apply_fix()
18461 as_bad_where (fixP->fx_file, fixP->fx_line, in md_apply_fix()
18474 as_bad_where (fixP->fx_file, fixP->fx_line, in md_apply_fix()
18487 as_bad_where (fixP->fx_file, fixP->fx_line, in md_apply_fix()
18513 as_bad_where (fixP->fx_file, fixP->fx_line, in md_apply_fix()
18538 as_bad_where (fixP->fx_file, fixP->fx_line, in md_apply_fix()
[all …]
H A Dtc-mep.h62 #define tc_fix_adjustable(fixP) mep_fix_adjustable (fixP) argument
H A Dtc-mips.c11959 valueT addr = fixP->fx_where + fixP->fx_frag->fr_address; 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()
12156 buf = (bfd_byte *) (fixP->fx_frag->fr_literal + fixP->fx_where); in md_apply_fix()
12158 assert (!fixP->fx_pcrel || fixP->fx_r_type == BFD_RELOC_16_PCREL_S2); in md_apply_fix()
12170 if (fixP->fx_addsy == NULL && !fixP->fx_pcrel && fixP->fx_tcbit == 0) in md_apply_fix()
12171 fixP->fx_done = 1; in md_apply_fix()
12263 as_bad_where (fixP->fx_file, fixP->fx_line, in md_apply_fix()
12273 as_bad_where (fixP->fx_file, fixP->fx_line, in md_apply_fix()
12310 fixP->fx_done = 0; in md_apply_fix()
[all …]
H A Dtc-cr16.h45 #define tc_fix_adjustable(fixP) 0 argument
/freebsd-12.1/contrib/binutils/gas/
H A Dcgen.c261 fixS *fixP; local
275 return fixP;
301 fixS *fixP; local
315 return fixP;
662 fixS *fixP; local
874 char *where = fixP->fx_frag->fr_literal + fixP->fx_where;
948 as_bad_where (fixP->fx_file, fixP->fx_line, "%s", errmsg);
977 as_bad_where (fixP->fx_file, fixP->fx_line,
1002 as_bad_where (fixP->fx_file, fixP->fx_line,
1032 as_bad_where (fixP->fx_file, fixP->fx_line,
[all …]
H A Dwrite.c147 fixS *fixP; in fix_new_internal() local
187 as_where (&fixP->fx_file, &fixP->fx_line); in fix_new_internal()
220 return fixP; in fix_new_internal()
870 for (; fixP; fixP = fixP->fx_next) in fixup_segment()
890 for (; fixP; fixP = fixP->fx_next) in fixup_segment()
937 fixP->fx_offset = (add_number + fixP->fx_dot_value in fixup_segment()
958 as_bad_where (fixP->fx_file, fixP->fx_line, in fixup_segment()
998 if (!fixP->fx_done && fixP->fx_addsy == NULL) in fixup_segment()
1021 if (!fixP->fx_bit_fixP && !fixP->fx_no_overflow && fixP->fx_size != 0) in fixup_segment()
1038 as_bad_where (fixP->fx_file, fixP->fx_line, in fixup_segment()
[all …]
H A Dobj.h25 void obj_emit_relocations (char **where, fixS * fixP,
H A DChangeLog-02032604 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.
H A DChangeLog-20062624 (md_apply_fix): New case BFD_RELOC_24, set fixP->fx_no_overflow to one.
H A DChangeLog-9697142 (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
H A DChangeLog-92952024 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.
H A DChangeLog-00015706 (md_apply_fix): Added cast from enum to int for fixP->fx_r_type.
/freebsd-12.1/contrib/binutils/gas/doc/
H A Dinternals.texi1242 @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),