Home | History | Annotate | Download | only in config

Lines Matching refs:fragP

34    "fragP", to harmonize with the rest of the binutils code.  Other
519 fragP,
534 switch (fragP->fr_subtype)
548 if (fragP->fr_symbol == NULL
549 || S_GET_SEGMENT (fragP->fr_symbol) != absolute_section)
551 __FUNCTION__, (long) fragP->fr_symbol);
552 symbolP = fragP->fr_symbol;
565 __FUNCTION__, fragP->fr_subtype);
570 long as fragP->fr_symbol does not have its segment changed. */
572 this_state = fragP->fr_subtype;
606 fragP->fr_subtype = this_state;
625 md_estimate_size_before_relax (fragS *fragP, segT segment_type)
628 symbolS *symbolP = fragP->fr_symbol;
637 fragP->fr_subtype \
641 fragP->fr_subtype \
643 fragP->fr_var \
644 = md_cris_relax_table[fragP->fr_subtype].rlx_length; \
647 old_fr_fix = fragP->fr_fix;
649 switch (fragP->fr_subtype)
670 : 0) + fragP->fr_offset;
671 bfd_vma var_part_offset = fragP->fr_fix;
672 bfd_vma address_of_var_part = fragP->fr_address + var_part_offset;
675 fragP->fr_subtype
682 fragP->fr_subtype
684 fragP->fr_var
685 = md_cris_relax_table[fragP->fr_subtype].rlx_length;
702 fragP->fr_subtype
704 fragP->fr_var = md_cris_relax_table[fragP->fr_subtype].rlx_length;
706 else if (!symbol_resolved_p (fragP->fr_symbol))
713 fragP->fr_subtype
715 fragP->fr_var = md_cris_relax_table[fragP->fr_subtype].rlx_length;
722 ? S_GET_VALUE (symbolP) : 0) + fragP->fr_offset;
727 (fragP->fr_opcode)[0] = value;
744 (fragP->fr_opcode)[0] = BDAP_PC_LOW + pow2_of_size * 16;
747 (fragP->fr_opcode)[1] &= 0xF0;
748 (fragP->fr_opcode)[1] |= BDAP_INCR_HIGH;
751 fragP->fr_fix += 1 << pow2_of_size;
752 writep = fragP->fr_literal + old_fr_fix;
755 frag_wane (fragP);
781 fragP->fr_var = md_cris_relax_table[fragP->fr_subtype].rlx_length;
789 BAD_CASE (fragP->fr_subtype);
792 return fragP->fr_var + (fragP->fr_fix - old_fr_fix);
807 fragS *fragP)
822 /* This is part of *fragP. It contains all information about addresses
827 /* Where, in file space, is _var of *fragP? */
833 know (fragP->fr_type == rs_machine_dependent);
835 length_code = fragP->fr_subtype & STATE_LENGTH_MASK;
838 var_part_offset = fragP->fr_fix;
839 var_partp = fragP->fr_literal + var_part_offset;
840 opcodep = fragP->fr_opcode;
842 symbolP = fragP->fr_symbol;
843 target_address = (symbolP ? S_GET_VALUE (symbolP) : 0) + fragP->fr_offset;
844 address_of_var_part = fragP->fr_address + var_part_offset;
846 switch (fragP->fr_subtype)
879 gen_cond_branch_32 (fragP->fr_opcode, var_partp, fragP,
880 fragP->fr_symbol, (symbolS *) NULL,
881 fragP->fr_offset);
887 gen_cond_branch_32 (fragP->fr_opcode, var_partp, fragP,
888 fragP->fr_symbol, (symbolS *) NULL,
889 fragP->fr_offset);
895 gen_cond_branch_32 (fragP->fr_opcode, var_partp, fragP,
896 fragP->fr_symbol, (symbolS *) NULL,
897 fragP->fr_offset);
903 as_bad_where (fragP->fr_file, fragP->fr_line,
916 fix_new (fragP, var_partp - fragP->fr_literal, 4, symbolP,
917 fragP->fr_offset + 6, 1, BFD_RELOC_32_PCREL);
933 as_bad_where (fragP->fr_file, fragP->fr_line,
956 fix_new (fragP, var_partp - fragP->fr_literal, 4, fragP->fr_symbol,
957 fragP->fr_offset + 6, 1, BFD_RELOC_32_PCREL);
988 if (fragP->fr_symbol == NULL)
989 md_number_to_chars (var_partp, fragP->fr_offset, 4);
991 fix_new (fragP, var_partp - fragPfragP->fr_symbol,
992 fragP->fr_offset, 0, BFD_RELOC_32);
1000 as_bad_where (fragP->fr_file, fragP->fr_line,
1009 as_bad_where (fragP->fr_file, fragP->fr_line,
1015 BAD_CASE (fragP->fr_subtype);
1019 fragP->fr_fix += var_part_size;
1027 fragS *fragP ATTRIBUTE_UNUSED,
1095 as_bad_where (fragP->fr_file, fragP->fr_line,
1104 fragP Which frag the destination address operand
1110 fragS *fragP, symbolS *to_symbol)
1129 md_create_short_jump (storep, from_addr, to_addr, fragP,
1149 fix_new (fragP, storep + 2 - fragP->fr_literal, 4, to_symbol,
3350 fragP Pointer to the frag containing the instruction.
3357 gen_cond_branch_32 (char *opcodep, char *writep, fragS *fragP,
3388 as_warn_where (fragP->fr_file, fragP->fr_line,
3438 fix_new (fragP, writep + 4 - fragP->fr_literal, 4,
3449 as_bad_where (fragP->fr_file, fragP->fr_line,
3453 fix_new (fragP, writep + 4 - fragP->fr_literal, 4, add_symP,