Lines Matching refs:fixp
1370 tc_gen_reloc (asection *section, fixS *fixp) in tc_gen_reloc() argument
1381 hppa_fixp = (struct hppa_fix_struct *) fixp->tc_fix_data; in tc_gen_reloc()
1382 if (fixp->fx_addsy == 0) in tc_gen_reloc()
1391 *reloc->sym_ptr_ptr = symbol_get_bfdsym (fixp->fx_addsy); in tc_gen_reloc()
1398 if (fixp->fx_r_type == (bfd_reloc_code_real_type) R_HPPA_COMPLEX in tc_gen_reloc()
1399 && fixp->fx_pcrel) in tc_gen_reloc()
1401 fixp->fx_r_type = R_HPPA_PCREL_CALL; in tc_gen_reloc()
1402 fixp->fx_offset += 8; in tc_gen_reloc()
1406 fixp->fx_r_type, in tc_gen_reloc()
1409 fixp->fx_subsy != NULL, in tc_gen_reloc()
1410 symbol_get_bfdsym (fixp->fx_addsy)); in tc_gen_reloc()
1414 as_bad_where (fixp->fx_file, fixp->fx_line, _("Cannot handle fixup")); in tc_gen_reloc()
1429 switch (fixp->fx_r_type) in tc_gen_reloc()
1465 fixp->fx_offset); in tc_gen_reloc()
1476 reloc->addend = fixp->fx_offset; in tc_gen_reloc()
1481 *reloc->sym_ptr_ptr = symbol_get_bfdsym (fixp->fx_addsy); in tc_gen_reloc()
1484 reloc->address = fixp->fx_frag->fr_address + fixp->fx_where; in tc_gen_reloc()
1497 *relocs[i]->sym_ptr_ptr = symbol_get_bfdsym (fixp->fx_addsy); in tc_gen_reloc()
1501 relocs[i]->address = fixp->fx_frag->fr_address + fixp->fx_where; in tc_gen_reloc()
1515 relocs[0]->address = fixp->fx_frag->fr_address + fixp->fx_where; in tc_gen_reloc()
1518 *relocs[1]->sym_ptr_ptr = symbol_get_bfdsym (fixp->fx_addsy); in tc_gen_reloc()
1522 relocs[1]->address = fixp->fx_frag->fr_address + fixp->fx_where; in tc_gen_reloc()
1525 *relocs[2]->sym_ptr_ptr = symbol_get_bfdsym (fixp->fx_subsy); in tc_gen_reloc()
1529 relocs[2]->address = fixp->fx_frag->fr_address + fixp->fx_where; in tc_gen_reloc()
1536 relocs[3]->address = fixp->fx_frag->fr_address + fixp->fx_where; in tc_gen_reloc()
1543 relocs[4]->address = fixp->fx_frag->fr_address + fixp->fx_where; in tc_gen_reloc()
1590 relocs[i]->addend = fixp->fx_offset; in tc_gen_reloc()
1594 relocs[i]->addend = fixp->fx_offset; in tc_gen_reloc()
8397 hppa_fix_adjustable (fixS *fixp) in hppa_fix_adjustable() argument
8404 hppa_fix = (struct hppa_fix_struct *) fixp->tc_fix_data; in hppa_fix_adjustable()
8410 code = elf_hppa_reloc_final_type (stdoutput, fixp->fx_r_type, in hppa_fix_adjustable()
8452 if (fixp->fx_addsy in hppa_fix_adjustable()
8453 && fixp->fx_subsy in hppa_fix_adjustable()
8507 if (fixp->fx_addsy != 0 && S_IS_FUNCTION (fixp->fx_addsy)) in hppa_fix_adjustable()
8518 hppa_force_relocation (struct fix *fixp) in hppa_force_relocation() argument
8522 hppa_fixp = (struct hppa_fix_struct *) fixp->tc_fix_data; in hppa_force_relocation()
8524 if (fixp->fx_r_type == (int) R_HPPA_ENTRY in hppa_force_relocation()
8525 || fixp->fx_r_type == (int) R_HPPA_EXIT in hppa_force_relocation()
8526 || fixp->fx_r_type == (int) R_HPPA_BEGIN_BRTAB in hppa_force_relocation()
8527 || fixp->fx_r_type == (int) R_HPPA_END_BRTAB in hppa_force_relocation()
8528 || fixp->fx_r_type == (int) R_HPPA_BEGIN_TRY in hppa_force_relocation()
8529 || fixp->fx_r_type == (int) R_HPPA_END_TRY in hppa_force_relocation()
8530 || (fixp->fx_addsy != NULL && fixp->fx_subsy != NULL in hppa_force_relocation()
8535 if (fixp->fx_r_type == (int) R_PARISC_GNU_VTINHERIT in hppa_force_relocation()
8536 || fixp->fx_r_type == (int) R_PARISC_GNU_VTENTRY) in hppa_force_relocation()
8540 gas_assert (fixp->fx_addsy != NULL); in hppa_force_relocation()
8544 if (S_FORCE_RELOC (fixp->fx_addsy, 1)) in hppa_force_relocation()
8550 if (fixp->fx_pcrel in hppa_force_relocation()
8551 && arg_reloc_stub_needed (symbol_arg_reloc_info (fixp->fx_addsy), in hppa_force_relocation()
8556 if (fixp->fx_r_type == (int) R_HPPA_PCREL_CALL) in hppa_force_relocation()
8558 long pc = md_pcrel_from (fixp); in hppa_force_relocation()
8561 distance = fixp->fx_offset + S_GET_VALUE (fixp->fx_addsy) - pc - 8; in hppa_force_relocation()
8583 if (fixp->fx_r_type == (int) R_HPPA_ABS_CALL) in hppa_force_relocation()