Lines Matching refs:fixp

619   fixS *fixp = seginfo->fix_root;  in dump_section_relocs()  local
621 if (!fixp) in dump_section_relocs()
625 while (fixp) in dump_section_relocs()
627 symbolS *s = fixp->fx_addsy; in dump_section_relocs()
629 fprintf (stream, " %08lx: type %d ", (unsigned long) fixp, in dump_section_relocs()
630 (int) fixp->fx_r_type); in dump_section_relocs()
638 fixp = fixp->fx_next; in dump_section_relocs()
765 fixS *fixp; in adjust_reloc_syms() local
772 for (fixp = seginfo->fix_root; fixp; fixp = fixp->fx_next) in adjust_reloc_syms()
773 if (fixp->fx_done) in adjust_reloc_syms()
776 else if (fixp->fx_addsy) in adjust_reloc_syms()
783 print_fixup (fixp); in adjust_reloc_syms()
786 sym = fixp->fx_addsy; in adjust_reloc_syms()
794 if (fixp->fx_subsy != NULL) in adjust_reloc_syms()
795 resolve_symbol_value (fixp->fx_subsy); in adjust_reloc_syms()
805 fixp->fx_offset += symbol_get_value_expression (sym)->X_add_number; in adjust_reloc_syms()
806 fixp->fx_addsy = newsym; in adjust_reloc_syms()
812 fixp->fx_offset += S_GET_VALUE (sym); in adjust_reloc_syms()
813 fixp->fx_addsy = symbol_get_value_expression (sym)->X_add_symbol; in adjust_reloc_syms()
819 if (S_FORCE_RELOC (fixp->fx_addsy, 1)) in adjust_reloc_syms()
826 if (! tc_fix_adjustable (fixp)) in adjust_reloc_syms()
866 && (fixp->fx_offset != 0 || fixp->fx_subsy != NULL)) in adjust_reloc_syms()
876 fixp->fx_offset += S_GET_VALUE (sym); in adjust_reloc_syms()
877 fixp->fx_addsy = section_symbol (S_GET_SEGMENT (sym)); in adjust_reloc_syms()
880 print_fixup (fixp); in adjust_reloc_syms()
1199 fixS *fixp; in write_relocs() local
1208 for (fixp = seginfo->fix_root; fixp; fixp = fixp->fx_next) in write_relocs()
1209 if (!fixp->fx_done) in write_relocs()
1237 for (fixp = seginfo->fix_root; fixp != (fixS *) NULL; fixp = fixp->fx_next) in write_relocs()
1248 if (fixp->fx_done) in write_relocs()
1251 fx_size = fixp->fx_size; in write_relocs()
1252 slack = TC_FX_SIZE_SLACK (fixp); in write_relocs()
1255 loc = fixp->fx_where + fx_size; in write_relocs()
1256 if (slack >= 0 && loc > fixp->fx_frag->fr_fix) in write_relocs()
1257 as_bad_where (fixp->fx_file, fixp->fx_line, in write_relocs()
1261 *reloc = tc_gen_reloc (sec, fixp); in write_relocs()
1263 reloc = tc_gen_reloc (sec, fixp); in write_relocs()
1280 install_reloc (sec, *reloc, fixp->fx_frag, in write_relocs()
1281 fixp->fx_file, fixp->fx_line); in write_relocs()
2840 print_fixup (fixS *fixp) in print_fixup() argument
2844 fprintf_vma (stderr, (bfd_vma)((bfd_hostptr_t) fixp)); in print_fixup()
2845 fprintf (stderr, " %s:%d",fixp->fx_file, fixp->fx_line); in print_fixup()
2846 if (fixp->fx_pcrel) in print_fixup()
2848 if (fixp->fx_pcrel_adjust) in print_fixup()
2849 fprintf (stderr, " pcrel_adjust=%d", fixp->fx_pcrel_adjust); in print_fixup()
2850 if (fixp->fx_im_disp) in print_fixup()
2853 fprintf (stderr, " im_disp=%d", fixp->fx_im_disp); in print_fixup()
2858 if (fixp->fx_tcbit) in print_fixup()
2860 if (fixp->fx_done) in print_fixup()
2862 fprintf (stderr, "\n size=%d frag=", fixp->fx_size); in print_fixup()
2863 fprintf_vma (stderr, (bfd_vma) ((bfd_hostptr_t) fixp->fx_frag)); in print_fixup()
2865 (long) fixp->fx_where, in print_fixup()
2866 (unsigned long) fixp->fx_offset, in print_fixup()
2867 (unsigned long) fixp->fx_addnumber); in print_fixup()
2868 fprintf (stderr, "\n %s (%d)", bfd_get_reloc_code_name (fixp->fx_r_type), in print_fixup()
2869 fixp->fx_r_type); in print_fixup()
2870 if (fixp->fx_addsy) in print_fixup()
2873 print_symbol_value_1 (stderr, fixp->fx_addsy); in print_fixup()
2876 if (fixp->fx_subsy) in print_fixup()
2879 print_symbol_value_1 (stderr, fixp->fx_subsy); in print_fixup()
2884 TC_FIX_DATA_PRINT (stderr, fixp); in print_fixup()