Home | History | Annotate | Download | only in config

Lines Matching refs:fix

1511       /* An index into powerpc_operands is stored in struct fix
2098 unsigned int nbytes, fixS *fix)
2103 || fix == NULL
2104 || !(fix->fx_r_type == BFD_RELOC_32
2105 || fix->fx_r_type == BFD_RELOC_CTOR
2106 || fix->fx_r_type == BFD_RELOC_32_PCREL)
2116 if (fix != NULL)
2117 fix->fx_tcbit = 1;
5599 ppc_pe_fix_adjustable (fixS *fix)
5601 return fix->fx_r_type != BFD_RELOC_PPC_TOC16;
6187 ppc_fix_adjustable (fixS *fix)
6189 valueT val = resolve_symbol_value (fix->fx_addsy);
6190 segT symseg = S_GET_SEGMENT (fix->fx_addsy);
6201 && fix->fx_addsy != ppc_toc_csect
6221 fix->fx_addsy = sy;
6222 fix->fx_addnumber = val - ppc_toc_frag->fr_address;
6227 as_bad_where (fix->fx_file, fix->fx_line,
6232 tc = symbol_get_tc (fix->fx_addsy);
6252 fix->fx_offset += val - symbol_get_frag (csect)->fr_address;
6253 fix->fx_addsy = csect;
6261 && ! S_IS_EXTERNAL (fix->fx_addsy))
6263 symbolS *sy = symbol_get_frag (fix->fx_addsy)->fr_symbol;
6265 fix->fx_offset += val - resolve_symbol_value (sy);
6266 fix->fx_addsy = sy;
6278 ppc_force_relocation (fixS *fix)
6280 /* At this point fix->fx_addsy should already have been converted to
6283 if (fix->fx_pcrel
6284 && fix->fx_addsy != NULL
6285 && symbol_get_tc (fix->fx_addsy)->subseg != 0
6286 && ((symbol_get_frag (fix->fx_addsy)->fr_address
6287 > fix->fx_frag->fr_address)
6288 || (symbol_get_tc (fix->fx_addsy)->next != NULL
6289 && (symbol_get_frag (symbol_get_tc (fix->fx_addsy)->next)->fr_address
6290 <= fix->fx_frag->fr_address))))
6293 return generic_force_reloc (fix);
6310 ppc_force_relocation (fixS *fix)
6314 switch (fix->fx_r_type)
6329 if (fix->fx_addsy)
6331 asymbol *bfdsym = symbol_get_bfdsym (fix->fx_addsy);
6343 if (fix->fx_r_type >= BFD_RELOC_PPC_TLS
6344 && fix->fx_r_type <= BFD_RELOC_PPC64_DTPREL16_HIGHESTA)
6347 return generic_force_reloc (fix);
6351 ppc_fix_adjustable (fixS *fix)
6353 switch (fix->fx_r_type)
6365 if (fix->fx_addsy)
6367 asymbol *bfdsym = symbol_get_bfdsym (fix->fx_addsy);
6379 return (fix->fx_r_type != BFD_RELOC_16_GOTOFF
6380 && fix->fx_r_type != BFD_RELOC_LO16_GOTOFF
6381 && fix->fx_r_type != BFD_RELOC_HI16_GOTOFF
6382 && fix->fx_r_type != BFD_RELOC_HI16_S_GOTOFF
6383 && fix->fx_r_type != BFD_RELOC_PPC64_GOT16_DS
6384 && fix->fx_r_type != BFD_RELOC_PPC64_GOT16_LO_DS
6385 && fix->fx_r_type != BFD_RELOC_GPREL16
6386 && fix->fx_r_type != BFD_RELOC_VTABLE_INHERIT
6387 && fix->fx_r_type != BFD_RELOC_VTABLE_ENTRY
6388 && !(fix->fx_r_type >= BFD_RELOC_PPC_TLS
6389 && fix->fx_r_type <= BFD_RELOC_PPC64_DTPREL16_HIGHESTA));