Home
last modified time | relevance | path

Searched refs:reloc_type (Results 1 – 25 of 69) sorted by relevance

123

/toolchain/binutils/binutils-2.25/gas/
Dliteral.c55 bfd_reloc_code_real_type reloc_type; local
80 reloc_type = BFD_RELOC_32;
83 reloc_type = BFD_RELOC_64;
89 reloc_type);
Dcgen.c377 bfd_reloc_code_real_type reloc_type; local
449 reloc_type = md_cgen_lookup_reloc (0, operand, & dummy_fixup);
452 && reloc_type == BFD_RELOC_RELC
474 if (reloc_type == BFD_RELOC_RELC
503 (reloc_type == BFD_RELOC_RELC) ?
893 bfd_reloc_code_real_type reloc_type; local
963 reloc_type = md_cgen_lookup_reloc (insn, operand, fixP);
965 if (reloc_type == BFD_RELOC_RELC)
977 if (reloc_type != BFD_RELOC_NONE)
978 fixP->fx_r_type = reloc_type;
/toolchain/binutils/binutils-2.25/gas/config/
Dtc-m32r.c1896 m32r_record_hi16 (int reloc_type, in m32r_record_hi16() argument
1902 gas_assert (reloc_type == BFD_RELOC_M32R_HI16_SLO in m32r_record_hi16()
1903 || reloc_type == BFD_RELOC_M32R_HI16_ULO); in m32r_record_hi16()
2136 bfd_reloc_code_real_type reloc_type; in m32r_fix_adjustable() local
2145 reloc_type = md_cgen_lookup_reloc (insn, operand, fixP); in m32r_fix_adjustable()
2148 reloc_type = fixP->fx_r_type; in m32r_fix_adjustable()
2160 && (reloc_type == BFD_RELOC_M32R_24 in m32r_fix_adjustable()
2161 || reloc_type == BFD_RELOC_M32R_26_PCREL in m32r_fix_adjustable()
2162 || reloc_type == BFD_RELOC_M32R_HI16_SLO in m32r_fix_adjustable()
2163 || reloc_type == BFD_RELOC_M32R_HI16_ULO in m32r_fix_adjustable()
[all …]
Dtc-epiphany.c936 bfd_reloc_code_real_type reloc_type; in md_convert_frag() local
940 reloc_type = md_cgen_lookup_reloc (fragP->fr_cgen.insn, operand, NULL); in md_convert_frag()
948 reloc_type, in md_convert_frag()
1037 bfd_reloc_code_real_type reloc_type; in epiphany_fix_adjustable() local
1046 reloc_type = md_cgen_lookup_reloc (insn, operand, fixP); in epiphany_fix_adjustable()
1049 reloc_type = fixP->fx_r_type; in epiphany_fix_adjustable()
1062 && (reloc_type == BFD_RELOC_EPIPHANY_SIMM24 in epiphany_fix_adjustable()
1063 || reloc_type == BFD_RELOC_EPIPHANY_SIMM8 in epiphany_fix_adjustable()
1064 || reloc_type == BFD_RELOC_EPIPHANY_HIGH in epiphany_fix_adjustable()
1065 || reloc_type == BFD_RELOC_EPIPHANY_LOW)) in epiphany_fix_adjustable()
Dtc-rx.c1737 int reloc_type, reloc_adjust; in md_convert_frag() local
1808 reloc_type = BFD_RELOC_NONE; in md_convert_frag()
1825 reloc_type = keep_reloc ? BFD_RELOC_8_PCREL : BFD_RELOC_NONE; in md_convert_frag()
1838 reloc_type = keep_reloc ? BFD_RELOC_16_PCREL : BFD_RELOC_NONE; in md_convert_frag()
1851 reloc_type = keep_reloc ? BFD_RELOC_24_PCREL : BFD_RELOC_NONE; in md_convert_frag()
1862 reloc_type = keep_reloc ? BFD_RELOC_8_PCREL : BFD_RELOC_NONE; in md_convert_frag()
1873 reloc_type = keep_reloc ? BFD_RELOC_16_PCREL : BFD_RELOC_NONE; in md_convert_frag()
1889 reloc_type = keep_reloc ? BFD_RELOC_24_PCREL : BFD_RELOC_NONE; in md_convert_frag()
1900 reloc_type = keep_reloc ? BFD_RELOC_8_PCREL : BFD_RELOC_NONE; in md_convert_frag()
1911 reloc_type = keep_reloc ? BFD_RELOC_16_PCREL : BFD_RELOC_NONE; in md_convert_frag()
[all …]
Dtc-metag.c178 enum bfd_reloc_code_real reloc_type; member
191 enum bfd_reloc_code_real reloc_type; member
675 addr->reloc_type = BFD_RELOC_METAG_GETSET_GOT; in parse_imm_addr()
681 addr->reloc_type = BFD_RELOC_METAG_TLS_IE; in parse_imm_addr()
687 addr->reloc_type = BFD_RELOC_METAG_GETSET_GOTOFF; in parse_imm_addr()
690 addr->reloc_type = BFD_RELOC_METAG_GETSETOFF; in parse_imm_addr()
987 insn->reloc_type = addr->reloc_type; in copy_addr_reloc()
1003 addr.reloc_type = BFD_RELOC_UNUSED; in parse_get_set()
1148 addr.reloc_type = BFD_RELOC_UNUSED; in parse_get_set_ext()
1406 addr.reloc_type = BFD_RELOC_UNUSED; in parse_mget_mset()
[all …]
Dtc-nios2.c128 bfd_reloc_code_real_type reloc_type; member
1278 bfd_reloc_code_real_type reloc_type; member
1311 nios2_insn_reloc_new (bfd_reloc_code_real_type reloc_type, unsigned int pcrel) in nios2_insn_reloc_new() argument
1323 retval->reloc_type = reloc_type; in nios2_insn_reloc_new()
1395 bfd_reloc_code_real_type reloc_type, in nios2_assemble_expression() argument
1412 reloc_type = nios2_special_reloc[i].reloc_type; in nios2_assemble_expression()
1419 if (reloc_type == BFD_RELOC_NIOS2_LO16) in nios2_assemble_expression()
1420 reloc_type = BFD_RELOC_NIOS2_PCREL_LO; in nios2_assemble_expression()
1421 if (reloc_type == BFD_RELOC_NIOS2_HIADJ16) in nios2_assemble_expression()
1422 reloc_type = BFD_RELOC_NIOS2_PCREL_HA; in nios2_assemble_expression()
[all …]
Dtc-iq2000.c530 iq2000_record_hi16 (int reloc_type, in iq2000_record_hi16() argument
536 gas_assert (reloc_type == BFD_RELOC_HI16); in iq2000_record_hi16()
736 bfd_reloc_code_real_type reloc_type; in iq2000_fix_adjustable() local
744 reloc_type = md_cgen_lookup_reloc (insn, operand, fixP); in iq2000_fix_adjustable()
747 reloc_type = fixP->fx_r_type; in iq2000_fix_adjustable()
760 if ( reloc_type == BFD_RELOC_VTABLE_INHERIT in iq2000_fix_adjustable()
761 || reloc_type == BFD_RELOC_VTABLE_ENTRY) in iq2000_fix_adjustable()
Dtc-rl78.c965 int reloc_type, reloc_adjust; in md_convert_frag() local
1002 reloc_type = BFD_RELOC_NONE; in md_convert_frag()
1024 reloc_type = keep_reloc ? BFD_RELOC_16_PCREL : BFD_RELOC_NONE; in md_convert_frag()
1041 reloc_type = keep_reloc ? BFD_RELOC_16_PCREL : BFD_RELOC_NONE; in md_convert_frag()
1058 reloc_type = keep_reloc ? BFD_RELOC_16_PCREL : BFD_RELOC_NONE; in md_convert_frag()
1075 reloc_type = keep_reloc ? BFD_RELOC_16_PCREL : BFD_RELOC_NONE; in md_convert_frag()
1092 reloc_type = keep_reloc ? BFD_RELOC_16_PCREL : BFD_RELOC_NONE; in md_convert_frag()
1107 reloc_type = fix->fx_r_type; in md_convert_frag()
1116 fix->fx_r_type = reloc_type; in md_convert_frag()
1118 switch (reloc_type) in md_convert_frag()
Dtc-xstormy16.c488 bfd_reloc_code_real_type reloc_type; in xstormy16_md_apply_fix() local
529 reloc_type = md_cgen_lookup_reloc (insn, operand, fixP); in xstormy16_md_apply_fix()
530 if (reloc_type != BFD_RELOC_NONE) in xstormy16_md_apply_fix()
531 fixP->fx_r_type = reloc_type; in xstormy16_md_apply_fix()
Dtc-frv.c1525 bfd_reloc_code_real_type reloc_type; in frv_fix_adjustable() local
1532 reloc_type = md_cgen_lookup_reloc (insn, operand, fixP); in frv_fix_adjustable()
1535 reloc_type = fixP->fx_r_type; in frv_fix_adjustable()
1538 if ( reloc_type == BFD_RELOC_VTABLE_INHERIT in frv_fix_adjustable()
1539 || reloc_type == BFD_RELOC_VTABLE_ENTRY in frv_fix_adjustable()
1540 || reloc_type == BFD_RELOC_FRV_GPREL12 in frv_fix_adjustable()
1541 || reloc_type == BFD_RELOC_FRV_GPRELU12) in frv_fix_adjustable()
1595 bfd_reloc_code_real_type reloc_type = BFD_RELOC_CTOR; in frv_pic_ptr() local
1605 reloc_type = BFD_RELOC_FRV_FUNCDESC; in frv_pic_ptr()
1615 reloc_type = BFD_RELOC_FRV_TLSMOFF; in frv_pic_ptr()
[all …]
Daout_gnu.h38 enum reloc_type enum
339 enum reloc_type r_type;
354 typedef enum i860_reloc_type reloc_type; typedef
Dtc-arc.c1196 int reloc_type; in arc_cons_fix_new() local
1200 reloc_type = get_arc_exp_reloc_type (1, BFD_RELOC_32, exp, &exptmp); in arc_cons_fix_new()
1202 (enum bfd_reloc_code_real) reloc_type); in arc_cons_fix_new()
1841 int op_type, reloc_type; in md_assemble() local
1866 reloc_type = BFD_RELOC_32; in md_assemble()
1868 reloc_type = BFD_RELOC_ARC_B26; in md_assemble()
1871 reloc_type = get_arc_exp_reloc_type (1, reloc_type, in md_assemble()
1879 reloc_type = op_type + (int) BFD_RELOC_UNUSED; in md_assemble()
1887 (bfd_reloc_code_real_type) reloc_type); in md_assemble()
Dtc-mn10300.c2466 int reloc_type; in mn10300_parse_name() local
2507 reloc_type = BFD_RELOC_32_GOTOFF; in mn10300_parse_name()
2509 reloc_type = BFD_RELOC_MN10300_GOT32; in mn10300_parse_name()
2511 reloc_type = BFD_RELOC_32_PLT_PCREL; in mn10300_parse_name()
2513 reloc_type = BFD_RELOC_MN10300_TLS_GD; in mn10300_parse_name()
2515 reloc_type = BFD_RELOC_MN10300_TLS_LD; in mn10300_parse_name()
2517 reloc_type = BFD_RELOC_MN10300_TLS_LDO; in mn10300_parse_name()
2519 reloc_type = BFD_RELOC_MN10300_TLS_GOTIE; in mn10300_parse_name()
2521 reloc_type = BFD_RELOC_MN10300_TLS_IE; in mn10300_parse_name()
2523 reloc_type = BFD_RELOC_MN10300_TLS_LE; in mn10300_parse_name()
[all …]
/toolchain/binutils/binutils-2.25/binutils/
Dreadelf.c10576 unsigned int reloc_type = get_reloc_type (reloc->r_info); in target_specific_reloc_handling() local
10585 switch (reloc_type) in target_specific_reloc_handling()
10619 byte_put (start + reloc->r_offset, value, reloc_type == 1 ? 4 : 2); in target_specific_reloc_handling()
10639 switch (reloc_type) in target_specific_reloc_handling()
10656 byte_put (start + reloc->r_offset, value, reloc_type == 1 ? 4 : 2); in target_specific_reloc_handling()
10686 is_32bit_abs_reloc (unsigned int reloc_type) in is_32bit_abs_reloc() argument
10692 return reloc_type == 1; /* R_386_32. */ in is_32bit_abs_reloc()
10694 return reloc_type == 1; /* R_68K_32. */ in is_32bit_abs_reloc()
10696 return reloc_type == 1; /* R_860_32. */ in is_32bit_abs_reloc()
10698 return reloc_type == 2; /* R_960_32. */ in is_32bit_abs_reloc()
[all …]
/toolchain/binutils/binutils-2.25/gold/
Daarch64-reloc-property.cc144 AArch64_reloc_property::Reloc_type reloc_type = arp->reloc_type(); in reloc_name_in_error_message() local
145 gold_assert(reloc_type == AArch64_reloc_property::RT_STATIC in reloc_name_in_error_message()
149 switch (reloc_type) in reloc_name_in_error_message()
Darm-reloc-property.cc308 Arm_reloc_property::Reloc_type reloc_type = arp->reloc_type(); in reloc_name_in_error_message() local
309 gold_assert(reloc_type == Arm_reloc_property::RT_STATIC in reloc_name_in_error_message()
313 switch (reloc_type) in reloc_name_in_error_message()
Dehframe.cc579 unsigned int reloc_type) in add_ehframe_input_section() argument
601 reloc_type, pcontents, in add_ehframe_input_section()
642 unsigned int reloc_type, in do_add_ehframe_input_section() argument
653 if (!relocs.initialize(object, reloc_shndx, reloc_type)) in do_add_ehframe_input_section()
1227 unsigned int reloc_type);
1241 unsigned int reloc_type);
1255 unsigned int reloc_type);
1269 unsigned int reloc_type);
Dcopy-relocs.h99 Copy_reloc_entry(Symbol* sym, unsigned int reloc_type, in Copy_reloc_entry()
104 : sym_(sym), reloc_type_(reloc_type), relobj_(relobj), in Copy_reloc_entry()
Ddwarf_reader.cc47 unsigned int reloc_shndx, unsigned int reloc_type) in do_initialize() argument
49 this->reloc_type_ = reloc_type; in do_initialize()
51 reloc_type); in do_initialize()
363 unsigned int reloc_type = 0; in read_ranges_table() local
366 reloc_type = object->section_type(i); in read_ranges_table()
367 if ((reloc_type == elfcpp::SHT_REL in read_ranges_table()
368 || reloc_type == elfcpp::SHT_RELA) in read_ranges_table()
378 this->ranges_reloc_mapper_->initialize(reloc_shndx, reloc_type); in read_ranges_table()
379 this->reloc_type_ = reloc_type; in read_ranges_table()
534 unsigned int reloc_type = 0; in read_section() local
[all …]
Daarch64-reloc-property.h92 reloc_type() const in reloc_type() function
200 && (arp->reloc_type() == AArch64_reloc_property::RT_STATIC) in get_implemented_static_reloc_property()
Ddwarf_reader.h57 initialize(unsigned int reloc_shndx, unsigned int reloc_type) in initialize() argument
58 { return this->do_initialize(reloc_shndx, reloc_type); } in initialize()
122 do_initialize(unsigned int reloc_shndx, unsigned int reloc_type);
697 unsigned int reloc_type) in Dwarf_info_reader() argument
700 reloc_type_(reloc_type), abbrev_shndx_(0), string_shndx_(0), in Dwarf_info_reader()
/toolchain/binutils/binutils-2.25/include/aout/
Dadobe.h258 enum reloc_type enum
310 enum reloc_type r_type; /* relocation type */
Daout64.h442 enum reloc_type enum
506 enum reloc_type r_type; /* Relocation type. */
/toolchain/binutils/binutils-2.25/bfd/
Delf64-alpha.c127 unsigned char reloc_type; member
1706 && gotent->reloc_type == r_type in get_got_entry()
1725 gotent->reloc_type = r_type; in get_got_entry()
2199 && gi->reloc_type == gs->reloc_type in elf64_alpha_copy_indirect_symbol()
2283 && ae->reloc_type == be->reloc_type in elf64_alpha_can_merge_gots()
2287 total += alpha_got_entry_size (be->reloc_type); in elf64_alpha_can_merge_gots()
2362 && ae->reloc_type == be->reloc_type in elf64_alpha_merge_gots()
2372 total += alpha_got_entry_size (be->reloc_type); in elf64_alpha_merge_gots()
2413 *plge += alpha_got_entry_size (gotent->reloc_type); in elf64_alpha_calc_got_offsets_for_symbol()
2460 got_offset += alpha_got_entry_size (gotent->reloc_type); in elf64_alpha_calc_got_offsets()
[all …]

123