/toolchain/binutils/binutils-2.25/gas/ |
D | write.c | 170 fixP->fx_subsy = sub_symbol; in fix_new_internal() 333 return S_FORCE_RELOC (fix->fx_addsy, fix->fx_subsy == NULL); in generic_force_reloc() 794 if (fixp->fx_subsy != NULL) in adjust_reloc_syms() 795 resolve_symbol_value (fixp->fx_subsy); in adjust_reloc_syms() 866 && (fixp->fx_offset != 0 || fixp->fx_subsy != NULL)) in adjust_reloc_syms() 926 if (fixP->fx_subsy != NULL) in fixup_segment() 927 symbol_mark_used_in_reloc (fixP->fx_subsy); in fixup_segment() 949 if (fixP->fx_subsy != NULL) in fixup_segment() 952 resolve_symbol_value (fixP->fx_subsy); in fixup_segment() 953 sub_symbol_segment = S_GET_SEGMENT (fixP->fx_subsy); in fixup_segment() [all …]
|
D | write.h | 81 symbolS *fx_subsy; member
|
D | cgen.c | 885 if (fixP->fx_subsy != (symbolS *) NULL)
|
/toolchain/binutils/binutils-2.25/gas/config/ |
D | tc-vax.h | 69 || ((FIX)->fx_subsy != NULL \ 70 && (S_GET_SEGMENT ((FIX)->fx_subsy) \
|
D | obj-macho.c | 1588 && fixP->fx_subsy != NULL in obj_mach_o_check_before_writing() 1590 || ! S_IS_DEFINED (fixP->fx_subsy))) in obj_mach_o_check_before_writing() 1593 segT sub_symbol_segment = S_GET_SEGMENT (fixP->fx_subsy); in obj_mach_o_check_before_writing() 1596 && S_IS_DEFINED (fixP->fx_subsy)) in obj_mach_o_check_before_writing() 1601 S_GET_NAME (fixP->fx_subsy), segment_name (sub_symbol_segment)); in obj_mach_o_check_before_writing() 1603 else if (! S_IS_DEFINED (fixP->fx_subsy) in obj_mach_o_check_before_writing() 1608 S_GET_NAME (fixP->fx_subsy), S_GET_NAME (fixP->fx_addsy), in obj_mach_o_check_before_writing() 1609 segment_name (add_symbol_segment), S_GET_NAME (fixP->fx_subsy)); in obj_mach_o_check_before_writing() 1615 S_GET_NAME (fixP->fx_addsy), S_GET_NAME (fixP->fx_subsy), in obj_mach_o_check_before_writing() 1616 S_GET_NAME (fixP->fx_addsy), S_GET_NAME (fixP->fx_subsy)); in obj_mach_o_check_before_writing() [all …]
|
D | tc-ip2k.c | 364 if (fix->fx_subsy && S_IS_DEFINED (fix->fx_subsy) in ip2k_force_relocation() 385 && ! fixP->fx_subsy) in ip2k_apply_fix()
|
D | tc-sparc.h | 121 || ((FIX)->fx_subsy != NULL \ 122 && (S_GET_SEGMENT ((FIX)->fx_subsy) \
|
D | tc-rl78.c | 1167 if (fixp->fx_subsy in tc_gen_reloc() 1168 && S_GET_SEGMENT (fixp->fx_subsy) == absolute_section) in tc_gen_reloc() 1170 fixp->fx_offset -= S_GET_VALUE (fixp->fx_subsy); in tc_gen_reloc() 1171 fixp->fx_subsy = NULL; in tc_gen_reloc() 1181 && fixp->fx_subsy) in tc_gen_reloc() 1208 OPSYM (symbol_get_bfdsym (fixp->fx_subsy)); in tc_gen_reloc() 1320 if (f->fx_subsy && S_FORCE_RELOC (f->fx_subsy, 1)) in md_apply_fix()
|
D | tc-sh.h | 72 && (FIX)->fx_subsy != NULL \ 74 && S_GET_SEGMENT ((FIX)->fx_subsy) == text_section \
|
D | tc-mn10200.c | 756 if (fixp->fx_subsy != NULL) in tc_gen_reloc() 758 if (S_GET_SEGMENT (fixp->fx_addsy) == S_GET_SEGMENT (fixp->fx_subsy) in tc_gen_reloc() 759 && S_IS_DEFINED (fixp->fx_subsy)) in tc_gen_reloc() 761 fixp->fx_offset -= S_GET_VALUE (fixp->fx_subsy); in tc_gen_reloc() 762 fixp->fx_subsy = NULL; in tc_gen_reloc() 774 S_GET_NAME (fixp->fx_subsy), in tc_gen_reloc()
|
D | tc-xc16x.c | 286 if (fixp->fx_addsy && fixp->fx_subsy) in tc_gen_reloc() 288 if ((S_GET_SEGMENT (fixp->fx_addsy) != S_GET_SEGMENT (fixp->fx_subsy)) in tc_gen_reloc()
|
D | tc-mn10300.c | 2188 if (fixp->fx_subsy in tc_gen_reloc() 2189 && S_GET_SEGMENT (fixp->fx_subsy) == absolute_section) in tc_gen_reloc() 2191 fixp->fx_offset -= S_GET_VALUE (fixp->fx_subsy); in tc_gen_reloc() 2192 fixp->fx_subsy = NULL; in tc_gen_reloc() 2195 if (fixp->fx_addsy && fixp->fx_subsy) in tc_gen_reloc() 2200 ssec = S_GET_SEGMENT (fixp->fx_subsy); in tc_gen_reloc() 2215 reloc2->addend = - S_GET_VALUE (fixp->fx_subsy); in tc_gen_reloc() 2217 *reloc2->sym_ptr_ptr = symbol_get_bfdsym (fixp->fx_subsy); in tc_gen_reloc() 2240 - S_GET_VALUE (fixp->fx_subsy) + fixp->fx_offset); in tc_gen_reloc()
|
D | tc-msp430.c | 3297 if (fixp->fx_subsy != (symbolS *) NULL) in md_apply_fix() 3299 if (S_GET_SEGMENT (fixp->fx_subsy) == absolute_section) in md_apply_fix() 3301 value -= S_GET_VALUE (fixp->fx_subsy); in md_apply_fix() 3488 if (fixp->fx_subsy in tc_gen_reloc() 3489 && S_GET_SEGMENT (fixp->fx_subsy) == absolute_section) in tc_gen_reloc() 3491 fixp->fx_offset -= S_GET_VALUE (fixp->fx_subsy); in tc_gen_reloc() 3492 fixp->fx_subsy = NULL; in tc_gen_reloc() 3495 if (fixp->fx_addsy && fixp->fx_subsy) in tc_gen_reloc() 3500 ssec = S_GET_SEGMENT (fixp->fx_subsy); in tc_gen_reloc() 3518 && (fixp->fx_addsy != fixp->fx_subsy) in tc_gen_reloc() [all …]
|
D | tc-cr16.c | 470 && (fix)->fx_subsy != NULL \ 472 S_GET_SEGMENT ((fix)->fx_subsy) \ 527 || ((fixP->fx_subsy) in tc_gen_reloc() 528 && (S_GET_SEGMENT (fixP->fx_subsy) == absolute_section))) in tc_gen_reloc() 537 if (fixP->fx_subsy != NULL) in tc_gen_reloc() 543 - S_GET_VALUE (fixP->fx_subsy) + fixP->fx_offset); in tc_gen_reloc() 573 S_GET_NAME (fixP->fx_subsy), in tc_gen_reloc()
|
D | tc-avr.c | 1267 sub_symbol_segment = S_GET_SEGMENT (fix->fx_subsy); in avr_validate_fix_sub() 1309 else if (linkrelax && fixP->fx_subsy) in md_apply_fix() 1338 fixP->fx_offset - S_GET_VALUE (fixP->fx_subsy); in md_apply_fix() 1340 fixP->fx_subsy = NULL; in md_apply_fix() 1343 if (fixP->fx_subsy != (symbolS *) NULL) in md_apply_fix() 1605 if (fixp->fx_subsy != NULL) in tc_gen_reloc()
|
D | tc-avr.h | 178 && FIXP->fx_subsy == NULL) \
|
D | tc-rx.c | 2216 if (f->fx_subsy && S_FORCE_RELOC (f->fx_subsy, 1)) in md_apply_fix() 2408 if (fixp->fx_subsy in tc_gen_reloc() 2409 && S_GET_SEGMENT (fixp->fx_subsy) == absolute_section) in tc_gen_reloc() 2411 fixp->fx_offset -= S_GET_VALUE (fixp->fx_subsy); in tc_gen_reloc() 2412 fixp->fx_subsy = NULL; in tc_gen_reloc() 2422 && fixp->fx_subsy) in tc_gen_reloc() 2440 * reloc[1]->sym_ptr_ptr = symbol_get_bfdsym (fixp->fx_subsy); in tc_gen_reloc()
|
D | tc-crx.c | 283 && (fix)->fx_subsy != NULL \ 285 S_GET_SEGMENT ((fix)->fx_subsy) \ 317 if (fixP->fx_subsy != NULL) in tc_gen_reloc() 323 - S_GET_VALUE (fixP->fx_subsy) + fixP->fx_offset); in tc_gen_reloc() 350 S_GET_NAME (fixP->fx_subsy), in tc_gen_reloc()
|
D | tc-hppa.c | 1247 if (new_fix->fx_subsy in fix_new_hppa() 1248 && (strcmp (S_GET_NAME (new_fix->fx_subsy), "$global$") == 0 in fix_new_hppa() 1249 || strcmp (S_GET_NAME (new_fix->fx_subsy), "$segrel$") == 0 in fix_new_hppa() 1250 || strcmp (S_GET_NAME (new_fix->fx_subsy), "$PIC_pcrel$0") == 0 in fix_new_hppa() 1251 || strcmp (S_GET_NAME (new_fix->fx_subsy), "$tls_gdidx$") == 0 in fix_new_hppa() 1252 || strcmp (S_GET_NAME (new_fix->fx_subsy), "$tls_ldidx$") == 0 in fix_new_hppa() 1253 || strcmp (S_GET_NAME (new_fix->fx_subsy), "$tls_dtpoff$") == 0 in fix_new_hppa() 1254 || strcmp (S_GET_NAME (new_fix->fx_subsy), "$tls_ieoff$") == 0 in fix_new_hppa() 1255 || strcmp (S_GET_NAME (new_fix->fx_subsy), "$tls_leoff$") == 0)) in fix_new_hppa() 1256 new_fix->fx_subsy = NULL; in fix_new_hppa() [all …]
|
D | tc-spu.c | 870 else if (fixp->fx_subsy) in tc_gen_reloc() 871 *reloc->sym_ptr_ptr = symbol_get_bfdsym (fixp->fx_subsy); in tc_gen_reloc() 954 if (fixP->fx_subsy != (symbolS *) NULL) in md_apply_fix()
|
D | tc-sh.c | 3456 || fix->fx_subsy != NULL in sh_frob_section() 3495 || fscan->fx_subsy != NULL in sh_frob_section() 4016 val -= S_GET_VALUE (fixP->fx_subsy); in md_apply_fix() 4116 && (fixP->fx_subsy == NULL || S_IS_DEFINED (fixP->fx_addsy))) in md_apply_fix() 4214 if (fixP->fx_subsy) in md_apply_fix() 4215 val -= S_GET_VALUE (fixP->fx_subsy); in md_apply_fix() 4414 return fixP->fx_subsy ? fixP->fx_where + fixP->fx_frag->fr_address : 0; in md_pcrel_from_section() 4437 *rel->sym_ptr_ptr = symbol_get_bfdsym (fixp->fx_subsy); in tc_gen_reloc() 4438 rel->addend = rel->address - S_GET_VALUE(fixp->fx_subsy); in tc_gen_reloc()
|
D | tc-xstormy16.c | 480 if (fixP->fx_subsy != (symbolS *) NULL) in xstormy16_md_apply_fix()
|
D | tc-nds32.c | 5938 return fix->fx_subsy != NULL in nds32_force_relocation() 5941 if (fix->fx_subsy) in nds32_force_relocation() 5966 sub_symbol_segment = S_GET_SEGMENT (fix->fx_subsy); in nds32_validate_fix_sub() 6358 if (fixP->fx_subsy != (symbolS *) NULL) in nds32_apply_fix() 6428 value -= S_GET_VALUE (fixP->fx_subsy); in nds32_apply_fix() 6430 fixP->fx_subsy = NULL; in nds32_apply_fix()
|
D | tc-v850.c | 3431 if (fixP->fx_subsy != (symbolS *) NULL) in md_apply_fix() 3433 if (S_GET_SEGMENT (fixP->fx_subsy) == absolute_section) in md_apply_fix() 3434 value -= S_GET_VALUE (fixP->fx_subsy); in md_apply_fix()
|
D | tc-h8300.c | 2224 if (fixp->fx_addsy && fixp->fx_subsy) in tc_gen_reloc() 2226 if ((S_GET_SEGMENT (fixp->fx_addsy) != S_GET_SEGMENT (fixp->fx_subsy)) in tc_gen_reloc()
|