/toolchain/binutils/binutils-2.27/gas/ |
D | write.c | 169 fixP->fx_subsy = sub_symbol; in fix_new_internal() 332 return S_FORCE_RELOC (fix->fx_addsy, fix->fx_subsy == NULL); in generic_force_reloc() 798 if (fixp->fx_subsy != NULL) in adjust_reloc_syms() 799 resolve_symbol_value (fixp->fx_subsy); in adjust_reloc_syms() 870 && (fixp->fx_offset != 0 || fixp->fx_subsy != NULL)) in adjust_reloc_syms() 930 if (fixP->fx_subsy != NULL) in fixup_segment() 931 symbol_mark_used_in_reloc (fixP->fx_subsy); in fixup_segment() 953 if (fixP->fx_subsy != NULL) in fixup_segment() 956 resolve_symbol_value (fixP->fx_subsy); in fixup_segment() 957 sub_symbol_segment = S_GET_SEGMENT (fixP->fx_subsy); in fixup_segment() [all …]
|
D | write.h | 81 symbolS *fx_subsy; member
|
/toolchain/binutils/binutils-2.27/gas/config/ |
D | tc-vax.h | 69 || ((FIX)->fx_subsy != NULL \ 70 && (S_GET_SEGMENT ((FIX)->fx_subsy) \
|
D | obj-macho.c | 1576 && fixP->fx_subsy != NULL in obj_mach_o_check_before_writing() 1578 || ! S_IS_DEFINED (fixP->fx_subsy))) in obj_mach_o_check_before_writing() 1581 segT sub_symbol_segment = S_GET_SEGMENT (fixP->fx_subsy); in obj_mach_o_check_before_writing() 1584 && S_IS_DEFINED (fixP->fx_subsy)) in obj_mach_o_check_before_writing() 1589 S_GET_NAME (fixP->fx_subsy), segment_name (sub_symbol_segment)); in obj_mach_o_check_before_writing() 1591 else if (! S_IS_DEFINED (fixP->fx_subsy) in obj_mach_o_check_before_writing() 1596 S_GET_NAME (fixP->fx_subsy), S_GET_NAME (fixP->fx_addsy), in obj_mach_o_check_before_writing() 1597 segment_name (add_symbol_segment), S_GET_NAME (fixP->fx_subsy)); in obj_mach_o_check_before_writing() 1603 S_GET_NAME (fixP->fx_addsy), S_GET_NAME (fixP->fx_subsy), in obj_mach_o_check_before_writing() 1604 S_GET_NAME (fixP->fx_addsy), S_GET_NAME (fixP->fx_subsy)); in obj_mach_o_check_before_writing() [all …]
|
D | tc-ip2k.c | 347 if (fix->fx_subsy && S_IS_DEFINED (fix->fx_subsy) in ip2k_force_relocation() 368 && ! 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 | 1267 if (fixp->fx_subsy in tc_gen_reloc() 1268 && S_GET_SEGMENT (fixp->fx_subsy) == absolute_section) in tc_gen_reloc() 1270 fixp->fx_offset -= S_GET_VALUE (fixp->fx_subsy); in tc_gen_reloc() 1271 fixp->fx_subsy = NULL; in tc_gen_reloc() 1281 && fixp->fx_subsy) in tc_gen_reloc() 1318 OPSYM (symbol_get_bfdsym (fixp->fx_subsy)); in tc_gen_reloc() 1435 if (f->fx_subsy && S_FORCE_RELOC (f->fx_subsy, 1)) in md_apply_fix()
|
D | tc-mn10200.c | 753 if (fixp->fx_subsy != NULL) in tc_gen_reloc() 755 if (S_GET_SEGMENT (fixp->fx_addsy) == S_GET_SEGMENT (fixp->fx_subsy) in tc_gen_reloc() 756 && S_IS_DEFINED (fixp->fx_subsy)) in tc_gen_reloc() 758 fixp->fx_offset -= S_GET_VALUE (fixp->fx_subsy); in tc_gen_reloc() 759 fixp->fx_subsy = NULL; in tc_gen_reloc() 771 S_GET_NAME (fixp->fx_subsy), in tc_gen_reloc()
|
D | tc-sh.h | 72 && (FIX)->fx_subsy != NULL \ 74 && S_GET_SEGMENT ((FIX)->fx_subsy) == text_section \
|
D | tc-arc.c | 831 fixP->fx_subsy = lab; in arc_extra_reloc() 2768 symbolS *fx_addsy, *fx_subsy; in md_apply_fix() local 2782 fx_subsy = fixP->fx_subsy; in md_apply_fix() 2790 if (fx_subsy in md_apply_fix() 2795 resolve_symbol_value (fx_subsy); in md_apply_fix() 2796 sub_symbol_segment = S_GET_SEGMENT (fx_subsy); in md_apply_fix() 2801 fx_offset -= S_GET_VALUE (fx_subsy); in md_apply_fix() 2802 fx_subsy = NULL; in md_apply_fix() 2810 S_GET_NAME (fx_subsy), in md_apply_fix() 2894 if (fixP->fx_subsy) in md_apply_fix() [all …]
|
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 | 2187 if (fixp->fx_subsy in tc_gen_reloc() 2188 && S_GET_SEGMENT (fixp->fx_subsy) == absolute_section) in tc_gen_reloc() 2190 fixp->fx_offset -= S_GET_VALUE (fixp->fx_subsy); in tc_gen_reloc() 2191 fixp->fx_subsy = NULL; in tc_gen_reloc() 2194 if (fixp->fx_addsy && fixp->fx_subsy) in tc_gen_reloc() 2199 ssec = S_GET_SEGMENT (fixp->fx_subsy); in tc_gen_reloc() 2214 reloc2->addend = - S_GET_VALUE (fixp->fx_subsy); in tc_gen_reloc() 2216 *reloc2->sym_ptr_ptr = symbol_get_bfdsym (fixp->fx_subsy); in tc_gen_reloc() 2239 - S_GET_VALUE (fixp->fx_subsy) + fixp->fx_offset); in tc_gen_reloc()
|
D | tc-msp430.c | 4015 if (fixp->fx_subsy != (symbolS *) NULL) in md_apply_fix() 4017 if (S_GET_SEGMENT (fixp->fx_subsy) == absolute_section) in md_apply_fix() 4019 value -= S_GET_VALUE (fixp->fx_subsy); in md_apply_fix() 4206 if (fixp->fx_subsy in tc_gen_reloc() 4207 && S_GET_SEGMENT (fixp->fx_subsy) == absolute_section) in tc_gen_reloc() 4209 fixp->fx_offset -= S_GET_VALUE (fixp->fx_subsy); in tc_gen_reloc() 4210 fixp->fx_subsy = NULL; in tc_gen_reloc() 4213 if (fixp->fx_addsy && fixp->fx_subsy) in tc_gen_reloc() 4218 ssec = S_GET_SEGMENT (fixp->fx_subsy); in tc_gen_reloc() 4236 && (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-rx.c | 2247 if (f->fx_subsy && S_FORCE_RELOC (f->fx_subsy, 1)) in md_apply_fix() 2439 if (fixp->fx_subsy in tc_gen_reloc() 2440 && S_GET_SEGMENT (fixp->fx_subsy) == absolute_section) in tc_gen_reloc() 2442 fixp->fx_offset -= S_GET_VALUE (fixp->fx_subsy); in tc_gen_reloc() 2443 fixp->fx_subsy = NULL; in tc_gen_reloc() 2453 && fixp->fx_subsy) in tc_gen_reloc() 2471 * 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-avr.c | 1273 sub_symbol_segment = S_GET_SEGMENT (fix->fx_subsy); in avr_validate_fix_sub() 1315 else if (linkrelax && fixP->fx_subsy) in md_apply_fix() 1344 fixP->fx_offset - S_GET_VALUE (fixP->fx_subsy); in md_apply_fix() 1347 fixP->fx_subsy = NULL; in md_apply_fix() 1350 if (fixP->fx_subsy != (symbolS *) NULL) in md_apply_fix() 1613 if (fixp->fx_subsy != NULL) in tc_gen_reloc()
|
D | tc-avr.h | 180 && FIXP->fx_subsy == NULL) \
|
D | tc-arc.h | 139 && FIXP->fx_subsy == NULL) \
|
D | tc-hppa.c | 1217 if (new_fix->fx_subsy in fix_new_hppa() 1218 && (strcmp (S_GET_NAME (new_fix->fx_subsy), "$global$") == 0 in fix_new_hppa() 1219 || strcmp (S_GET_NAME (new_fix->fx_subsy), "$segrel$") == 0 in fix_new_hppa() 1220 || strcmp (S_GET_NAME (new_fix->fx_subsy), "$PIC_pcrel$0") == 0 in fix_new_hppa() 1221 || strcmp (S_GET_NAME (new_fix->fx_subsy), "$tls_gdidx$") == 0 in fix_new_hppa() 1222 || strcmp (S_GET_NAME (new_fix->fx_subsy), "$tls_ldidx$") == 0 in fix_new_hppa() 1223 || strcmp (S_GET_NAME (new_fix->fx_subsy), "$tls_dtpoff$") == 0 in fix_new_hppa() 1224 || strcmp (S_GET_NAME (new_fix->fx_subsy), "$tls_ieoff$") == 0 in fix_new_hppa() 1225 || strcmp (S_GET_NAME (new_fix->fx_subsy), "$tls_leoff$") == 0)) in fix_new_hppa() 1226 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 | 3457 || fix->fx_subsy != NULL in sh_frob_section() 3496 || fscan->fx_subsy != NULL in sh_frob_section() 4017 val -= S_GET_VALUE (fixP->fx_subsy); in md_apply_fix() 4117 && (fixP->fx_subsy == NULL || S_IS_DEFINED (fixP->fx_addsy))) in md_apply_fix() 4215 if (fixP->fx_subsy) in md_apply_fix() 4216 val -= S_GET_VALUE (fixP->fx_subsy); in md_apply_fix() 4415 return fixP->fx_subsy ? fixP->fx_where + fixP->fx_frag->fr_address : 0; in md_pcrel_from_section() 4438 *rel->sym_ptr_ptr = symbol_get_bfdsym (fixp->fx_subsy); in tc_gen_reloc() 4439 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 | 6010 return fix->fx_subsy != NULL in nds32_force_relocation() 6013 if (fix->fx_subsy) in nds32_force_relocation() 6038 sub_symbol_segment = S_GET_SEGMENT (fix->fx_subsy); in nds32_validate_fix_sub() 6463 if (fixP->fx_subsy != (symbolS *) NULL) in nds32_apply_fix() 6533 value -= S_GET_VALUE (fixP->fx_subsy); in nds32_apply_fix() 6535 fixP->fx_subsy = NULL; in nds32_apply_fix()
|
D | tc-v850.c | 3445 if (fixP->fx_subsy != (symbolS *) NULL) in md_apply_fix() 3447 if (S_GET_SEGMENT (fixP->fx_subsy) == absolute_section) in md_apply_fix() 3448 value -= S_GET_VALUE (fixP->fx_subsy); in md_apply_fix()
|