| /netbsd/src/external/gpl3/binutils/dist/gas/ |
| D | write.c | 162 fixP->fx_subsy = sub_symbol; in fix_new_internal() 324 return S_FORCE_RELOC (fix->fx_addsy, fix->fx_subsy == NULL); in generic_force_reloc() 810 if (fixp->fx_subsy != NULL) in adjust_reloc_syms() 811 resolve_symbol_value (fixp->fx_subsy); in adjust_reloc_syms() 886 && (fixp->fx_offset != 0 || fixp->fx_subsy != NULL)) in adjust_reloc_syms() 913 S_GET_NAME (fixp->fx_subsy)); in as_bad_subtract() 952 if (fixP->fx_subsy != NULL) in fixup_segment() 953 symbol_mark_used_in_reloc (fixP->fx_subsy); in fixup_segment() 977 if (fixP->fx_subsy != NULL) in fixup_segment() 981 resolve_symbol_value (fixP->fx_subsy); in fixup_segment() [all …]
|
| D | write.h | 101 symbolS *fx_subsy; member
|
| /netbsd/src/external/gpl3/binutils/dist/gas/config/ |
| D | tc-vax.h | 71 || ((FIX)->fx_subsy != NULL \ 72 && (S_GET_SEGMENT ((FIX)->fx_subsy) \
|
| D | obj-macho.c | 1578 && fixP->fx_subsy != NULL in obj_mach_o_check_before_writing() 1580 || ! S_IS_DEFINED (fixP->fx_subsy))) in obj_mach_o_check_before_writing() 1583 segT sub_symbol_segment = S_GET_SEGMENT (fixP->fx_subsy); in obj_mach_o_check_before_writing() 1586 && S_IS_DEFINED (fixP->fx_subsy)) in obj_mach_o_check_before_writing() 1591 S_GET_NAME (fixP->fx_subsy), segment_name (sub_symbol_segment)); in obj_mach_o_check_before_writing() 1593 else if (! S_IS_DEFINED (fixP->fx_subsy) in obj_mach_o_check_before_writing() 1598 S_GET_NAME (fixP->fx_subsy), S_GET_NAME (fixP->fx_addsy), in obj_mach_o_check_before_writing() 1599 segment_name (add_symbol_segment), S_GET_NAME (fixP->fx_subsy)); in obj_mach_o_check_before_writing() 1605 S_GET_NAME (fixP->fx_addsy), S_GET_NAME (fixP->fx_subsy), in obj_mach_o_check_before_writing() 1606 S_GET_NAME (fixP->fx_addsy), S_GET_NAME (fixP->fx_subsy)); in obj_mach_o_check_before_writing() [all …]
|
| D | tc-loongarch.c | 1434 && fixP->fx_addsy && fixP->fx_subsy in md_apply_fix() 1435 && (sub_segment = S_GET_SEGMENT (fixP->fx_subsy)) in md_apply_fix() 1437 && S_GET_VALUE (fixP->fx_subsy) in md_apply_fix() 1441 fixP->fx_subsy = NULL; in md_apply_fix() 1445 if (fixP->fx_addsy && fixP->fx_subsy) in md_apply_fix() 1448 fixP->fx_next->fx_addsy = fixP->fx_subsy; in md_apply_fix() 1449 fixP->fx_next->fx_subsy = NULL; in md_apply_fix() 1451 fixP->fx_subsy = NULL; in md_apply_fix() 1483 fixP->fx_next->fx_addsy = fixP->fx_subsy; in md_apply_fix() 1484 fixP->fx_next->fx_subsy = NULL; in md_apply_fix() [all …]
|
| D | tc-ft32.c | 555 if (linkrelax && fixP->fx_subsy) in md_apply_fix() 578 fixP->fx_offset - S_GET_VALUE (fixP->fx_subsy); in md_apply_fix() 581 fixP->fx_subsy = NULL; in md_apply_fix() 585 if (fixP->fx_subsy != (symbolS *) NULL) in md_apply_fix() 749 sub_symbol_segment = S_GET_SEGMENT (fix->fx_subsy); in ft32_validate_fix_sub()
|
| D | tc-ip2k.c | 348 if (fix->fx_subsy && S_IS_DEFINED (fix->fx_subsy) in ip2k_force_relocation() 369 && ! fixP->fx_subsy) in ip2k_apply_fix()
|
| D | tc-loongarch.h | 81 || S_GET_VALUE (FIX->fx_subsy) \ 84 && ((S_GET_SEGMENT (FIX->fx_subsy)->flags & SEC_CODE) == 0)))))
|
| D | tc-sparc.h | 102 || ((FIX)->fx_subsy != NULL \ 103 && (S_GET_SEGMENT ((FIX)->fx_subsy) \
|
| D | tc-rl78.c | 1253 if (fixp->fx_subsy in tc_gen_reloc() 1254 && S_GET_SEGMENT (fixp->fx_subsy) == absolute_section) in tc_gen_reloc() 1256 fixp->fx_offset -= S_GET_VALUE (fixp->fx_subsy); in tc_gen_reloc() 1257 fixp->fx_subsy = NULL; in tc_gen_reloc() 1267 && fixp->fx_subsy) in tc_gen_reloc() 1304 OPSYM (symbol_get_bfdsym (fixp->fx_subsy)); in tc_gen_reloc() 1421 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 | 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()
|
| 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-ppc.h | 302 && (FIX)->fx_addsy && (FIX)->fx_subsy \ 303 && (S_GET_VALUE (fixP->fx_addsy) < S_GET_VALUE (fixP->fx_subsy))))
|
| D | tc-msp430.c | 4463 if (fixp->fx_subsy != (symbolS *) NULL) in md_apply_fix() 4465 if (S_GET_SEGMENT (fixp->fx_subsy) == absolute_section) in md_apply_fix() 4467 value -= S_GET_VALUE (fixp->fx_subsy); in md_apply_fix() 4654 if (fixp->fx_subsy in tc_gen_reloc() 4655 && S_GET_SEGMENT (fixp->fx_subsy) == absolute_section) in tc_gen_reloc() 4657 fixp->fx_offset -= S_GET_VALUE (fixp->fx_subsy); in tc_gen_reloc() 4658 fixp->fx_subsy = NULL; in tc_gen_reloc() 4661 if (fixp->fx_addsy && fixp->fx_subsy) in tc_gen_reloc() 4666 ssec = S_GET_SEGMENT (fixp->fx_subsy); in tc_gen_reloc() 4684 && (fixp->fx_addsy != fixp->fx_subsy) in tc_gen_reloc() [all …]
|
| D | tc-rx.c | 2268 if (f->fx_subsy && S_FORCE_RELOC (f->fx_subsy, 1)) in md_apply_fix() 2462 if (fixp->fx_subsy in tc_gen_reloc() 2463 && S_GET_SEGMENT (fixp->fx_subsy) == absolute_section) in tc_gen_reloc() 2465 fixp->fx_offset -= S_GET_VALUE (fixp->fx_subsy); in tc_gen_reloc() 2466 fixp->fx_subsy = NULL; in tc_gen_reloc() 2476 && fixp->fx_subsy) in tc_gen_reloc() 2494 * reloc[1]->sym_ptr_ptr = symbol_get_bfdsym (fixp->fx_subsy); in tc_gen_reloc()
|
| D | tc-arc.c | 958 fixP->fx_subsy = lab; in arc_extra_reloc() 2922 symbolS *fx_addsy, *fx_subsy; in md_apply_fix() local 2936 fx_subsy = fixP->fx_subsy; in md_apply_fix() 2944 if (fx_subsy in md_apply_fix() 2949 resolve_symbol_value (fx_subsy); in md_apply_fix() 2950 sub_symbol_segment = S_GET_SEGMENT (fx_subsy); in md_apply_fix() 2955 fx_offset -= S_GET_VALUE (fx_subsy); in md_apply_fix() 2956 fx_subsy = NULL; in md_apply_fix() 3045 if (fixP->fx_subsy) in md_apply_fix() 3047 = (S_GET_VALUE (fixP->fx_subsy) in md_apply_fix() [all …]
|
| D | tc-pru.h | 128 && FIXP->fx_subsy == NULL) \
|
| D | tc-pru.c | 524 sub_symbol_segment = S_GET_SEGMENT (fix->fx_subsy); in pru_validate_fix_sub() 702 else if (linkrelax && fixP->fx_subsy) in md_apply_fix() 717 + fixP->fx_offset - S_GET_VALUE (fixP->fx_subsy); in md_apply_fix() 751 fixP->fx_subsy = NULL; in md_apply_fix() 754 if (fixP->fx_subsy != (symbolS *) NULL) in md_apply_fix()
|
| D | tc-cr16.c | 480 && (fix)->fx_subsy != NULL \ 486 && S_GET_SEGMENT ((fix)->fx_addsy) == S_GET_SEGMENT ((fix)->fx_subsy)) 536 || ((fixP->fx_subsy) in tc_gen_reloc() 537 && (S_GET_SEGMENT (fixP->fx_subsy) == absolute_section))) in tc_gen_reloc() 546 if (fixP->fx_subsy != NULL) in tc_gen_reloc() 552 - S_GET_VALUE (fixP->fx_subsy) + fixP->fx_offset); 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-sh.c | 2921 || fix->fx_subsy != NULL in sh_frob_section() 2960 || fscan->fx_subsy != NULL in sh_frob_section() 3450 val -= S_GET_VALUE (fixP->fx_subsy); in md_apply_fix() 3550 && (fixP->fx_subsy == NULL || S_IS_DEFINED (fixP->fx_addsy))) in md_apply_fix() 3642 if (fixP->fx_subsy) in md_apply_fix() 3643 val -= S_GET_VALUE (fixP->fx_subsy); in md_apply_fix() 3827 return fixP->fx_subsy ? fixP->fx_where + fixP->fx_frag->fr_address : 0; in md_pcrel_from_section() 3850 *rel->sym_ptr_ptr = symbol_get_bfdsym (fixp->fx_subsy); in tc_gen_reloc() 3851 rel->addend = rel->address - S_GET_VALUE(fixp->fx_subsy); in tc_gen_reloc()
|
| D | tc-crx.c | 259 && (fix)->fx_subsy != NULL \ 261 S_GET_SEGMENT ((fix)->fx_subsy) \ 293 if (fixP->fx_subsy != NULL) in tc_gen_reloc() 299 - S_GET_VALUE (fixP->fx_subsy) + fixP->fx_offset); in tc_gen_reloc()
|