Lines Matching refs:fixp
2576 nios2_force_relocation (fixS *fixp) in nios2_force_relocation() argument
2578 if (fixp->fx_r_type == BFD_RELOC_VTABLE_INHERIT in nios2_force_relocation()
2579 || fixp->fx_r_type == BFD_RELOC_VTABLE_ENTRY in nios2_force_relocation()
2580 || fixp->fx_r_type == BFD_RELOC_NIOS2_ALIGN) in nios2_force_relocation()
2583 return generic_force_reloc (fixp); in nios2_force_relocation()
2588 nios2_fix_adjustable (fixS *fixp) in nios2_fix_adjustable() argument
2590 if (fixp->fx_addsy == NULL) in nios2_fix_adjustable()
2596 && (S_IS_EXTERNAL (fixp->fx_addsy) || S_IS_WEAK (fixp->fx_addsy))) in nios2_fix_adjustable()
2599 if (fixp->fx_r_type == BFD_RELOC_VTABLE_INHERIT in nios2_fix_adjustable()
2600 || fixp->fx_r_type == BFD_RELOC_VTABLE_ENTRY) in nios2_fix_adjustable()
2604 if (symbol_get_bfdsym (fixp->fx_addsy)->flags & BSF_FUNCTION) in nios2_fix_adjustable()
2608 if (fixp->fx_r_type == BFD_RELOC_NIOS2_GOT16 in nios2_fix_adjustable()
2609 || fixp->fx_r_type == BFD_RELOC_NIOS2_CALL16 in nios2_fix_adjustable()
2610 || fixp->fx_r_type == BFD_RELOC_NIOS2_GOTOFF_LO in nios2_fix_adjustable()
2611 || fixp->fx_r_type == BFD_RELOC_NIOS2_GOTOFF_HA in nios2_fix_adjustable()
2612 || fixp->fx_r_type == BFD_RELOC_NIOS2_TLS_GD16 in nios2_fix_adjustable()
2613 || fixp->fx_r_type == BFD_RELOC_NIOS2_TLS_LDM16 in nios2_fix_adjustable()
2614 || fixp->fx_r_type == BFD_RELOC_NIOS2_TLS_LDO16 in nios2_fix_adjustable()
2615 || fixp->fx_r_type == BFD_RELOC_NIOS2_TLS_IE16 in nios2_fix_adjustable()
2616 || fixp->fx_r_type == BFD_RELOC_NIOS2_TLS_LE16 in nios2_fix_adjustable()
2617 || fixp->fx_r_type == BFD_RELOC_NIOS2_TLS_DTPMOD in nios2_fix_adjustable()
2618 || fixp->fx_r_type == BFD_RELOC_NIOS2_TLS_DTPREL in nios2_fix_adjustable()
2619 || fixp->fx_r_type == BFD_RELOC_NIOS2_TLS_TPREL in nios2_fix_adjustable()
2620 || fixp->fx_r_type == BFD_RELOC_NIOS2_GOTOFF in nios2_fix_adjustable()
2621 || fixp->fx_r_type == BFD_RELOC_NIOS2_GOT_LO in nios2_fix_adjustable()
2622 || fixp->fx_r_type == BFD_RELOC_NIOS2_GOT_HA in nios2_fix_adjustable()
2623 || fixp->fx_r_type == BFD_RELOC_NIOS2_CALL_LO in nios2_fix_adjustable()
2624 || fixp->fx_r_type == BFD_RELOC_NIOS2_CALL_HA in nios2_fix_adjustable()
2649 tc_gen_reloc (asection *section ATTRIBUTE_UNUSED, fixS *fixp) in tc_gen_reloc() argument
2653 *reloc->sym_ptr_ptr = symbol_get_bfdsym (fixp->fx_addsy); in tc_gen_reloc()
2655 reloc->address = fixp->fx_frag->fr_address + fixp->fx_where; in tc_gen_reloc()
2656 reloc->addend = fixp->fx_offset; /* fixp->fx_addnumber; */ in tc_gen_reloc()
2658 if (fixp->fx_pcrel) in tc_gen_reloc()
2660 switch (fixp->fx_r_type) in tc_gen_reloc()
2663 fixp->fx_r_type = BFD_RELOC_16_PCREL; in tc_gen_reloc()
2666 fixp->fx_r_type = BFD_RELOC_NIOS2_PCREL_LO; in tc_gen_reloc()
2669 fixp->fx_r_type = BFD_RELOC_NIOS2_PCREL_HA; in tc_gen_reloc()
2676 reloc->howto = bfd_reloc_type_lookup (stdoutput, fixp->fx_r_type); in tc_gen_reloc()
2679 as_bad_where (fixp->fx_file, fixp->fx_line, in tc_gen_reloc()
2681 bfd_get_reloc_code_name (fixp->fx_r_type)); in tc_gen_reloc()