/openbsd/gnu/usr.bin/binutils-2.17/gas/ |
H A D | write.c | 629 fixp = fixp->fx_next; in dump_section_relocs() 656 for (fixp = seginfo->fix_root; fixp; fixp = fixp->fx_next) in adjust_reloc_syms() 792 for (fixp = seginfo->fix_root; fixp; fixp = fixp->fx_next) in write_relocs() 800 for (fixp = seginfo->fix_root; fixp != (fixS *) NULL; fixp = fixp->fx_next) in write_relocs() 862 fixp->fx_file, fixp->fx_line, s); in write_relocs() 872 for (fixp = seginfo->fix_root; fixp != (fixS *) NULL; fixp = fixp->fx_next) in write_relocs() 910 if (fixp->fx_where + fixp->fx_size in write_relocs() 912 as_bad_where (fixp->fx_file, fixp->fx_line, in write_relocs() 934 fixp->fx_file, fixp->fx_line, s); in write_relocs() 2375 fprintf (stderr, "fix %lx %s:%d", (long) fixp, fixp->fx_file, fixp->fx_line); in print_fixup() [all …]
|
H A D | literal.c | 57 fixS *fixp; local 64 for (fixp = seginfo->frchainP->fix_root; 65 fixp != (fixS *) NULL; 66 fixp = fixp->fx_next, offset += size) 68 if (fixp->fx_addsy == sym && fixp->fx_offset == addend)
|
/openbsd/gnu/usr.bin/binutils/gas/config/ |
H A D | tc-msp430.c | 1353 fixS *fixp; in md_pcrel_from_section() 1361 return fixp->fx_frag->fr_address + fixp->fx_where; 1408 as_bad_where (fixp->fx_file, fixp->fx_line, 1428 where = fixp->fx_frag->fr_literal + fixp->fx_where; 1436 as_bad_where (fixp->fx_file, fixp->fx_line, 1444 as_bad_where (fixp->fx_file, fixp->fx_line, 1453 as_bad_where (fixp->fx_file, fixp->fx_line, 1458 as_bad_where (fixp->fx_file, fixp->fx_line, 1468 as_bad_where (fixp->fx_file, fixp->fx_line, 1488 fixp->fx_line, fixp->fx_r_type); [all …]
|
H A D | tc-mn10200.c | 1229 tc_gen_reloc (seg, fixp) in tc_gen_reloc() argument 1231 fixS *fixp; 1236 if (fixp->fx_subsy != NULL) 1241 as_bad_where (fixp->fx_file, fixp->fx_line, 1243 fixp->fx_addsy ? S_GET_NAME (fixp->fx_addsy) : "0", 1254 as_bad_where (fixp->fx_file, fixp->fx_line, 1259 reloc->address = fixp->fx_frag->fr_address + fixp->fx_where; 1287 md_pcrel_from (fixp) in md_pcrel_from() argument 1288 fixS *fixp; in md_pcrel_from() 1292 if (fixp->fx_addsy != (symbolS *) NULL && !S_IS_DEFINED (fixp->fx_addsy)) [all …]
|
H A D | tc-mn10300.c | 2294 fixS *fixp; 2302 as_bad_where (fixp->fx_file, fixp->fx_line, 2307 reloc->address = fixp->fx_frag->fr_address + fixp->fx_where; 2309 if (fixp->fx_subsy 2312 fixp->fx_offset -= S_GET_VALUE (fixp->fx_subsy); 2316 if (fixp->fx_addsy && fixp->fx_subsy) 2363 as_bad_where (fixp->fx_file, fixp->fx_line, 2368 char *fixpos = fixp->fx_where + fixp->fx_frag->fr_literal; 2371 - S_GET_VALUE (fixp->fx_subsy) + fixp->fx_offset); 2439 fixS *fixp; in md_pcrel_from() [all …]
|
H A D | tc-iq2000.c | 660 hi_fixup->fixp = fixP; 721 if (l->fixp->fx_next != NULL in iq2000_frob_file() 723 && l->fixp->fx_addsy == l->fixp->fx_next->fx_addsy in iq2000_frob_file() 724 && l->fixp->fx_offset == l->fixp->fx_next->fx_offset) in iq2000_frob_file() 743 && f->fx_addsy == l->fixp->fx_addsy in iq2000_frob_file() 755 * pf != l->fixp; in iq2000_frob_file() 759 * pf = l->fixp->fx_next; in iq2000_frob_file() 761 l->fixp->fx_next = f; in iq2000_frob_file() 763 seginfo->fix_root = l->fixp; in iq2000_frob_file() 765 prev->fx_next = l->fixp; in iq2000_frob_file() [all …]
|
H A D | tc-alpha.c | 1580 as_bad_where (fixp->fx_file, fixp->fx_line, 1733 for (fixp = seginfo->fix_root; fixp; fixp = next) 1742 as_bad_where (fixp->fx_file, fixp->fx_line, 1749 as_bad_where (fixp->fx_file, fixp->fx_line, 1756 as_bad_where (fixp->fx_file, fixp->fx_line, 1765 as_bad_where (fixp->fx_file, fixp->fx_line, 1802 for (fixp = seginfo->fix_root; fixp; fixp = next) 1815 as_bad_where (fixp->fx_file, fixp->fx_line, 1825 fixp = fixp->fx_next; 1845 as_bad_where (fixp->fx_file, fixp->fx_line, [all …]
|
H A D | tc-avr.c | 813 md_pcrel_from_section (fixp, sec) in md_pcrel_from_section() argument 814 fixS *fixp; in md_pcrel_from_section() 817 if (fixp->fx_addsy != (symbolS *) NULL 822 return fixp->fx_frag->fr_address + fixp->fx_where; 1041 tc_gen_reloc (seg, fixp) in tc_gen_reloc() argument 1043 fixS *fixp; 1052 reloc->address = fixp->fx_frag->fr_address + fixp->fx_where; 1056 as_bad_where (fixp->fx_file, fixp->fx_line, 1058 (int) fixp->fx_r_type); 1064 reloc->address = fixp->fx_offset; [all …]
|
H A D | tc-i370.c | 1232 fixS *fixp; in i370_elf_validate_fix() 1235 if (fixp->fx_done || fixp->fx_pcrel) 1265 as_bad_where (fixp->fx_file, fixp->fx_line, 2700 fixS *fixp; in md_pcrel_from_section() 2703 return fixp->fx_frag->fr_address + fixp->fx_where; 2898 tc_gen_reloc (seg, fixp) in tc_gen_reloc() argument 2900 fixS *fixp; 2908 reloc->address = fixp->fx_frag->fr_address + fixp->fx_where; 2912 as_bad_where (fixp->fx_file, fixp->fx_line, 2920 fixp->fx_addsy->bsym->name, [all …]
|
H A D | tc-pj.c | 562 tc_gen_reloc (section, fixp) in tc_gen_reloc() argument 564 fixS *fixp; 571 *rel->sym_ptr_ptr = symbol_get_bfdsym (fixp->fx_addsy); 572 rel->address = fixp->fx_frag->fr_address + fixp->fx_where; 574 r_type = fixp->fx_r_type; 575 rel->addend = fixp->fx_addnumber; 580 as_bad_where (fixp->fx_file, fixp->fx_line,
|
H A D | tc-m88k.c | 1313 tc_coff_fix2rtype (fixp) in tc_coff_fix2rtype() argument 1314 fixS *fixp; in tc_coff_fix2rtype() 1434 md_pcrel_from (fixp) in md_pcrel_from() argument 1435 fixS *fixp; in md_pcrel_from() 1443 return fixp->fx_frag->fr_address + fixp->fx_where - 2; 1449 return fixp->fx_frag->fr_address + fixp->fx_where; 1470 tc_gen_reloc (sec, fixp) in tc_gen_reloc() argument 1472 fixS *fixp; 1480 reloc->address = fixp->fx_frag->fr_address + fixp->fx_where; 1486 code = fixp->fx_r_type; [all …]
|
H A D | tc-m88k.h | 147 #define TC_COUNT_RELOC(fixp) ((fixp)->fx_addsy != NULL) argument 150 #define TC_COFF_FIX2RTYPE(fixp) tc_coff_fix2rtype (fixp) argument
|
H A D | tc-mips.h | 126 #define tc_fix_adjustable(fixp) mips_fix_adjustable (fixp) argument 148 #define TC_VALIDATE_FIX(fixp, this_segment, skip_label) \ argument 150 if (! mips_validate_fix ((fixp), (this_segment))) \
|
/openbsd/gnu/usr.bin/binutils/gas/ |
H A D | write.c | 740 fixp = fixp->fx_next; 767 for (fixp = seginfo->fix_root; fixp; fixp = fixp->fx_next) in adjust_reloc_syms() 902 for (fixp = seginfo->fix_root; fixp; fixp = fixp->fx_next) in write_relocs() 910 for (fixp = seginfo->fix_root; fixp != (fixS *) NULL; fixp = fixp->fx_next) in write_relocs() 949 if (fixp->fx_where + fixp->fx_size in write_relocs() 972 fixp->fx_file, fixp->fx_line, s); in write_relocs() 982 for (fixp = seginfo->fix_root; fixp != (fixS *) NULL; fixp = fixp->fx_next) in write_relocs() 1020 if (fixp->fx_where + fixp->fx_size in write_relocs() 1022 as_bad_where (fixp->fx_file, fixp->fx_line, in write_relocs() 1044 fixp->fx_file, fixp->fx_line, s); in write_relocs() [all …]
|
H A D | literal.c | 57 fixS *fixp; local 64 for (fixp = seginfo->frchainP->fix_root; 65 fixp != (fixS *) NULL; 66 fixp = fixp->fx_next, offset += size) 68 if (fixp->fx_addsy == sym && fixp->fx_offset == addend)
|
/openbsd/gnu/usr.bin/binutils-2.17/gas/config/ |
H A D | tc-xc16x.c | 325 tc_gen_reloc (asection *section ATTRIBUTE_UNUSED, fixS *fixp) in tc_gen_reloc() argument 330 if (fixp->fx_addsy && fixp->fx_subsy) in tc_gen_reloc() 332 if ((S_GET_SEGMENT (fixp->fx_addsy) != S_GET_SEGMENT (fixp->fx_subsy)) in tc_gen_reloc() 333 || S_GET_SEGMENT (fixp->fx_addsy) == undefined_section) in tc_gen_reloc() 335 as_bad_where (fixp->fx_file, fixp->fx_line, in tc_gen_reloc() 343 *rel->sym_ptr_ptr = symbol_get_bfdsym (fixp->fx_addsy); in tc_gen_reloc() 344 rel->address = fixp->fx_frag->fr_address + fixp->fx_where; in tc_gen_reloc() 345 rel->addend = fixp->fx_offset; in tc_gen_reloc() 347 r_type = fixp->fx_r_type; in tc_gen_reloc() 358 as_bad_where (fixp->fx_file, fixp->fx_line, in tc_gen_reloc()
|
H A D | tc-msp430.c | 1907 return fixp->fx_frag->fr_address + fixp->fx_where; in md_pcrel_from_section() 1978 as_bad_where (fixp->fx_file, fixp->fx_line, in md_apply_fix() 1991 if (!fixp->fx_addsy || (fixp->fx_addsy in md_apply_fix() 2011 as_bad_where (fixp->fx_file, fixp->fx_line, in md_apply_fix() 2019 as_bad_where (fixp->fx_file, fixp->fx_line, in md_apply_fix() 2029 as_bad_where (fixp->fx_file, fixp->fx_line, in md_apply_fix() 2034 as_bad_where (fixp->fx_file, fixp->fx_line, in md_apply_fix() 2044 as_bad_where (fixp->fx_file, fixp->fx_line, in md_apply_fix() 2064 fixp->fx_line, fixp->fx_r_type); in md_apply_fix() 2093 reloc->address = fixp->fx_frag->fr_address + fixp->fx_where; in tc_gen_reloc() [all …]
|
H A D | tc-avr.c | 985 return fixp->fx_frag->fr_address + fixp->fx_where; in md_pcrel_from_section() 1214 fixS *fixp) in tc_gen_reloc() argument 1218 if (fixp->fx_addsy && fixp->fx_subsy) in tc_gen_reloc() 1222 if ((S_GET_SEGMENT (fixp->fx_addsy) != S_GET_SEGMENT (fixp->fx_subsy)) in tc_gen_reloc() 1225 as_bad_where (fixp->fx_file, fixp->fx_line, in tc_gen_reloc() 1237 fixp->fx_addsy = NULL; in tc_gen_reloc() 1238 fixp->fx_subsy = NULL; in tc_gen_reloc() 1249 reloc->address = fixp->fx_frag->fr_address + fixp->fx_where; in tc_gen_reloc() 1253 as_bad_where (fixp->fx_file, fixp->fx_line, in tc_gen_reloc() 1255 (int) fixp->fx_r_type); in tc_gen_reloc() [all …]
|
H A D | tc-mn10200.c | 788 if (fixp->fx_subsy != NULL) in tc_gen_reloc() 790 if (S_GET_SEGMENT (fixp->fx_addsy) == S_GET_SEGMENT (fixp->fx_subsy) in tc_gen_reloc() 793 fixp->fx_offset -= S_GET_VALUE (fixp->fx_subsy); in tc_gen_reloc() 794 fixp->fx_subsy = NULL; in tc_gen_reloc() 800 as_bad_where (fixp->fx_file, fixp->fx_line, in tc_gen_reloc() 802 fixp->fx_addsy ? S_GET_NAME (fixp->fx_addsy) : "0", in tc_gen_reloc() 813 as_bad_where (fixp->fx_file, fixp->fx_line, in tc_gen_reloc() 815 (int) fixp->fx_r_type); in tc_gen_reloc() 818 reloc->address = fixp->fx_frag->fr_address + fixp->fx_where; in tc_gen_reloc() 821 reloc->addend = fixp->fx_offset; in tc_gen_reloc() [all …]
|
H A D | tc-iq2000.c | 540 hi_fixup->fixp = fixP; in iq2000_record_hi16() 594 if (l->fixp->fx_next != NULL in iq2000_frob_file() 596 && l->fixp->fx_addsy == l->fixp->fx_next->fx_addsy in iq2000_frob_file() 597 && l->fixp->fx_offset == l->fixp->fx_next->fx_offset) in iq2000_frob_file() 616 && f->fx_addsy == l->fixp->fx_addsy in iq2000_frob_file() 628 * pf != l->fixp; in iq2000_frob_file() 632 * pf = l->fixp->fx_next; in iq2000_frob_file() 634 l->fixp->fx_next = f; in iq2000_frob_file() 636 seginfo->fix_root = l->fixp; in iq2000_frob_file() 638 prev->fx_next = l->fixp; in iq2000_frob_file() [all …]
|
H A D | tc-mn10300.c | 2312 fixS *fixp; 2320 as_bad_where (fixp->fx_file, fixp->fx_line, 2325 reloc->address = fixp->fx_frag->fr_address + fixp->fx_where; 2327 if (fixp->fx_subsy 2330 fixp->fx_offset -= S_GET_VALUE (fixp->fx_subsy); 2334 if (fixp->fx_addsy && fixp->fx_subsy) 2381 as_bad_where (fixp->fx_file, fixp->fx_line, 2386 char *fixpos = fixp->fx_where + fixp->fx_frag->fr_literal; 2389 - S_GET_VALUE (fixp->fx_subsy) + fixp->fx_offset); 2457 fixS *fixp; in md_pcrel_from() [all …]
|
H A D | tc-alpha.c | 582 for (fixp = seginfo->fix_root; fixp; fixp = next) in alpha_adjust_relocs() 591 as_bad_where (fixp->fx_file, fixp->fx_line, in alpha_adjust_relocs() 598 as_bad_where (fixp->fx_file, fixp->fx_line, in alpha_adjust_relocs() 605 as_bad_where (fixp->fx_file, fixp->fx_line, in alpha_adjust_relocs() 614 as_bad_where (fixp->fx_file, fixp->fx_line, in alpha_adjust_relocs() 651 for (fixp = seginfo->fix_root; fixp; fixp = next) in alpha_adjust_relocs() 664 as_bad_where (fixp->fx_file, fixp->fx_line, in alpha_adjust_relocs() 673 fixp->fx_next = fixp->tc_fix_data.info->master; in alpha_adjust_relocs() 674 fixp = fixp->fx_next; in alpha_adjust_relocs() 694 as_bad_where (fixp->fx_file, fixp->fx_line, in alpha_adjust_relocs() [all …]
|
H A D | tc-i370.c | 1138 i370_elf_validate_fix (fixS *fixp, segT seg) in i370_elf_validate_fix() argument 1140 if (fixp->fx_done || fixp->fx_pcrel) in i370_elf_validate_fix() 1150 if (fixp->fx_r_type <= BFD_RELOC_UNUSED in i370_elf_validate_fix() 1151 && fixp->fx_r_type != BFD_RELOC_16_GOTOFF in i370_elf_validate_fix() 1169 as_bad_where (fixp->fx_file, fixp->fx_line, in i370_elf_validate_fix() 2463 return fixp->fx_frag->fr_address + fixp->fx_where; in md_pcrel_from_section() 2655 reloc->address = fixp->fx_frag->fr_address + fixp->fx_where; in tc_gen_reloc() 2659 as_bad_where (fixp->fx_file, fixp->fx_line, in tc_gen_reloc() 2663 reloc->addend = fixp->fx_addnumber; in tc_gen_reloc() 2667 fixp->fx_addsy->bsym->name, in tc_gen_reloc() [all …]
|
H A D | tc-m88k.h | 110 #define TC_COUNT_RELOC(fixp) ((fixp)->fx_addsy != NULL) argument 113 #define TC_COFF_FIX2RTYPE(fixp) tc_coff_fix2rtype (fixp) argument
|
H A D | tc-pj.c | 521 tc_gen_reloc (asection *section ATTRIBUTE_UNUSED, fixS *fixp) in tc_gen_reloc() argument 528 *rel->sym_ptr_ptr = symbol_get_bfdsym (fixp->fx_addsy); in tc_gen_reloc() 529 rel->address = fixp->fx_frag->fr_address + fixp->fx_where; in tc_gen_reloc() 531 r_type = fixp->fx_r_type; in tc_gen_reloc() 532 rel->addend = fixp->fx_addnumber; in tc_gen_reloc() 537 as_bad_where (fixp->fx_file, fixp->fx_line, in tc_gen_reloc()
|