Lines Matching refs:reloc

506 	  bfd_reloc_code_real_type reloc = operand->default_reloc;  in emit_tilegx_instruction()  local
516 switch (reloc) \ in emit_tilegx_instruction()
519 reloc = BFD_RELOC_TILEGX_IMM16_X0_##suffix; \ in emit_tilegx_instruction()
522 reloc = BFD_RELOC_TILEGX_IMM16_X1_##suffix; \ in emit_tilegx_instruction()
637 switch (reloc) in emit_tilegx_instruction()
640 reloc = BFD_RELOC_TILEGX_JUMPOFF_X1_PLT; in emit_tilegx_instruction()
651 switch (reloc) in emit_tilegx_instruction()
654 reloc = BFD_RELOC_TILEGX_TLS_GD_CALL; in emit_tilegx_instruction()
665 switch (reloc) in emit_tilegx_instruction()
668 reloc = BFD_RELOC_TILEGX_IMM8_X0_TLS_GD_ADD; in emit_tilegx_instruction()
671 reloc = BFD_RELOC_TILEGX_IMM8_X1_TLS_GD_ADD; in emit_tilegx_instruction()
674 reloc = BFD_RELOC_TILEGX_IMM8_Y0_TLS_GD_ADD; in emit_tilegx_instruction()
677 reloc = BFD_RELOC_TILEGX_IMM8_Y1_TLS_GD_ADD; in emit_tilegx_instruction()
688 switch (reloc) in emit_tilegx_instruction()
691 reloc = BFD_RELOC_TILEGX_TLS_IE_LOAD; in emit_tilegx_instruction()
702 switch (reloc) in emit_tilegx_instruction()
705 reloc = BFD_RELOC_TILEGX_IMM8_X0_TLS_ADD; in emit_tilegx_instruction()
708 reloc = BFD_RELOC_TILEGX_IMM8_X1_TLS_ADD; in emit_tilegx_instruction()
711 reloc = BFD_RELOC_TILEGX_IMM8_Y0_TLS_ADD; in emit_tilegx_instruction()
714 reloc = BFD_RELOC_TILEGX_IMM8_Y1_TLS_ADD; in emit_tilegx_instruction()
774 reloc); in emit_tilegx_instruction()
1383 bfd_reloc_code_real_type reloc = BFD_RELOC_NONE; in tilegx_cons_fix_new() local
1391 reloc = BFD_RELOC_TILEGX_HW0; in tilegx_cons_fix_new()
1395 reloc = BFD_RELOC_TILEGX_HW1; in tilegx_cons_fix_new()
1399 reloc = BFD_RELOC_TILEGX_HW2; in tilegx_cons_fix_new()
1403 reloc = BFD_RELOC_TILEGX_HW3; in tilegx_cons_fix_new()
1407 reloc = BFD_RELOC_TILEGX_HW0_LAST; in tilegx_cons_fix_new()
1410 reloc = BFD_RELOC_TILEGX_HW1_LAST; in tilegx_cons_fix_new()
1413 reloc = BFD_RELOC_TILEGX_HW2_LAST; in tilegx_cons_fix_new()
1421 if (reloc != BFD_RELOC_NONE) in tilegx_cons_fix_new()
1439 reloc = BFD_RELOC_8; in tilegx_cons_fix_new()
1442 reloc = BFD_RELOC_16; in tilegx_cons_fix_new()
1445 reloc = BFD_RELOC_32; in tilegx_cons_fix_new()
1448 reloc = BFD_RELOC_64; in tilegx_cons_fix_new()
1452 reloc = BFD_RELOC_64; in tilegx_cons_fix_new()
1457 fixP = fix_new_exp (frag, where, nbytes, exp, 0, reloc); in tilegx_cons_fix_new()
1730 arelent *reloc; in tc_gen_reloc() local
1732 reloc = XNEW (arelent); in tc_gen_reloc()
1733 reloc->sym_ptr_ptr = XNEW (asymbol *); in tc_gen_reloc()
1734 *reloc->sym_ptr_ptr = symbol_get_bfdsym (fixp->fx_addsy); in tc_gen_reloc()
1735 reloc->address = fixp->fx_frag->fr_address + fixp->fx_where; in tc_gen_reloc()
1741 reloc->howto = bfd_reloc_type_lookup (stdoutput, fixp->fx_r_type); in tc_gen_reloc()
1742 if (reloc->howto == NULL) in tc_gen_reloc()
1750 if (!fixp->fx_pcrel != !reloc->howto->pc_relative) in tc_gen_reloc()
1754 fixp->fx_pcrel, reloc->howto->pc_relative); in tc_gen_reloc()
1756 gas_assert (!fixp->fx_pcrel == !reloc->howto->pc_relative); in tc_gen_reloc()
1758 reloc->addend = fixp->fx_offset; in tc_gen_reloc()
1760 return reloc; in tc_gen_reloc()