Home
last modified time | relevance | path

Searched refs:r_type (Results 1 – 25 of 512) sorted by relevance

12345678910>>...21

/netbsd-src/external/gpl3/binutils.old/dist/bfd/
H A Daout-cris.c148 unsigned int r_type; in MY() local
155 r_type = (unsigned int) g->howto->type; in MY()
193 if (r_type > 2) in MY()
197 abfd, r_type); in MY()
206 natptr->r_type[0] = in MY()
208 | (r_type << RELOC_EXT_BITS_TYPE_SH_LITTLE); in MY()
224 unsigned int r_type; in MY() local
234 r_extern = (0 != (bytes->r_type[0] & RELOC_EXT_BITS_EXTERN_LITTLE)); in MY()
236 r_type = ((bytes->r_type[0] & RELOC_EXT_BITS_TYPE_LITTLE) in MY()
239 if (r_type > 2) in MY()
[all …]
H A Dmach-o-x86-64.c143 switch (reloc.r_type) in bfd_mach_o_x86_64_canonicalize_one_reloc()
249 rinfo->r_type = BFD_MACH_O_X86_64_RELOC_UNSIGNED; in bfd_mach_o_x86_64_swap_reloc_out()
254 rinfo->r_type = BFD_MACH_O_X86_64_RELOC_UNSIGNED; in bfd_mach_o_x86_64_swap_reloc_out()
259 rinfo->r_type = BFD_MACH_O_X86_64_RELOC_SIGNED; in bfd_mach_o_x86_64_swap_reloc_out()
264 rinfo->r_type = BFD_MACH_O_X86_64_RELOC_SIGNED_1; in bfd_mach_o_x86_64_swap_reloc_out()
269 rinfo->r_type = BFD_MACH_O_X86_64_RELOC_SIGNED_2; in bfd_mach_o_x86_64_swap_reloc_out()
274 rinfo->r_type = BFD_MACH_O_X86_64_RELOC_SIGNED_4; in bfd_mach_o_x86_64_swap_reloc_out()
279 rinfo->r_type = BFD_MACH_O_X86_64_RELOC_BRANCH; in bfd_mach_o_x86_64_swap_reloc_out()
284 rinfo->r_type = BFD_MACH_O_X86_64_RELOC_SUBTRACTOR; in bfd_mach_o_x86_64_swap_reloc_out()
289 rinfo->r_type = BFD_MACH_O_X86_64_RELOC_SUBTRACTOR; in bfd_mach_o_x86_64_swap_reloc_out()
[all …]
H A Delf32-m32r.c1280 unsigned int r_type; in m32r_info_to_howto_rel() local
1282 r_type = ELF32_R_TYPE (dst->r_info); in m32r_info_to_howto_rel()
1283 if (r_type > (unsigned int) R_M32R_GNU_VTENTRY) in m32r_info_to_howto_rel()
1287 abfd, r_type); in m32r_info_to_howto_rel()
1291 cache_ptr->howto = &m32r_elf_howto_table[r_type]; in m32r_info_to_howto_rel()
1300 unsigned int r_type = ELF32_R_TYPE (dst->r_info); in m32r_info_to_howto() local
1302 if (r_type == (unsigned int) R_M32R_NONE in m32r_info_to_howto()
1303 || ((r_type > (unsigned int) R_M32R_GNU_VTENTRY) in m32r_info_to_howto()
1304 && (r_type < (unsigned int) R_M32R_max))) in m32r_info_to_howto()
1306 cache_ptr->howto = &m32r_elf_howto_table[r_type]; in m32r_info_to_howto()
[all …]
H A Delf64-x86-64.c251 elf_x86_64_rtype_to_howto (bfd *abfd, unsigned r_type) in elf_x86_64_rtype_to_howto() argument
255 if (r_type == (unsigned int) R_X86_64_32) in elf_x86_64_rtype_to_howto()
258 i = r_type; in elf_x86_64_rtype_to_howto()
262 else if (r_type < (unsigned int) R_X86_64_GNU_VTINHERIT in elf_x86_64_rtype_to_howto()
263 || r_type >= (unsigned int) R_X86_64_max) in elf_x86_64_rtype_to_howto()
265 if (r_type >= (unsigned int) R_X86_64_standard) in elf_x86_64_rtype_to_howto()
269 abfd, r_type); in elf_x86_64_rtype_to_howto()
273 i = r_type; in elf_x86_64_rtype_to_howto()
276 i = r_type - (unsigned int) R_X86_64_vt_offset; in elf_x86_64_rtype_to_howto()
277 BFD_ASSERT (x86_64_elf_howto_table[i].type == r_type); in elf_x86_64_rtype_to_howto()
[all …]
H A Delf32-z80.c34 bfd_reloc_code_real_type r_type; member
285 if (elf_z80_howto_table[i].r_type == code) in z80_reloc_type_lookup()
316 z80_rtype_to_howto (bfd *abfd, unsigned r_type) in z80_rtype_to_howto() argument
326 if (elf_z80_howto_table[i].howto.type == r_type) in z80_rtype_to_howto()
332 abfd, r_type); in z80_rtype_to_howto()
341 unsigned int r_type = ELF32_R_TYPE (dst->r_info); in z80_info_to_howto_rela() local
342 reloc_howto_type *howto = z80_rtype_to_howto (abfd, r_type); in z80_info_to_howto_rela()
353 z80_elf_final_link_relocate (unsigned long r_type, in z80_elf_final_link_relocate() argument
368 switch (r_type) in z80_elf_final_link_relocate()
377 howto = z80_rtype_to_howto (input_bfd, r_type); in z80_elf_final_link_relocate()
[all …]
H A Delf32-mcore.c344 unsigned int r_type; in mcore_elf_info_to_howto() local
350 r_type = ELF32_R_TYPE (dst->r_info); in mcore_elf_info_to_howto()
351 if (r_type >= R_MCORE_max) in mcore_elf_info_to_howto()
355 abfd, r_type); in mcore_elf_info_to_howto()
360 cache_ptr->howto = mcore_elf_howto_table [r_type]; in mcore_elf_info_to_howto()
423 enum elf_mcore_reloc_type r_type = (enum elf_mcore_reloc_type) ELF32_R_TYPE (rel->r_info); in mcore_elf_relocate_section() local
436 if ((unsigned) r_type >= (unsigned) R_MCORE_max in mcore_elf_relocate_section()
437 || ! mcore_elf_howto_table [(int)r_type]) in mcore_elf_relocate_section()
441 input_bfd, (int) r_type); in mcore_elf_relocate_section()
448 howto = mcore_elf_howto_table [(int) r_type]; in mcore_elf_relocate_section()
[all …]
H A Delfxx-sparc.c617 unsigned int r_type) in _bfd_sparc_elf_info_to_howto_ptr() argument
619 switch (r_type) in _bfd_sparc_elf_info_to_howto_ptr()
637 if (r_type >= (unsigned int) R_SPARC_max_std) in _bfd_sparc_elf_info_to_howto_ptr()
640 abfd, r_type); in _bfd_sparc_elf_info_to_howto_ptr()
644 return &_bfd_sparc_elf_howto_table[r_type]; in _bfd_sparc_elf_info_to_howto_ptr()
657 unsigned int r_type = SPARC_ELF_R_TYPE (dst->r_info); in _bfd_sparc_elf_info_to_howto() local
659 if ((cache_ptr->howto = _bfd_sparc_elf_info_to_howto_ptr (abfd, r_type)) == NULL) in _bfd_sparc_elf_info_to_howto()
1303 int r_type, int is_local) in sparc_elf_tls_transition() argument
1306 && r_type == R_SPARC_TLS_GD_HI22 in sparc_elf_tls_transition()
1311 return r_type; in sparc_elf_tls_transition()
[all …]
/netbsd-src/external/gpl3/binutils/dist/bfd/
H A Daout-cris.c148 unsigned int r_type; in MY() local
155 r_type = (unsigned int) g->howto->type; in MY()
193 if (r_type > 2) in MY()
197 abfd, r_type); in MY()
206 natptr->r_type[0] = in MY()
208 | (r_type << RELOC_EXT_BITS_TYPE_SH_LITTLE); in MY()
224 unsigned int r_type; in MY() local
234 r_extern = (0 != (bytes->r_type[0] & RELOC_EXT_BITS_EXTERN_LITTLE)); in MY()
236 r_type = ((bytes->r_type[0] & RELOC_EXT_BITS_TYPE_LITTLE) in MY()
239 if (r_type > 2) in MY()
[all …]
H A Dmach-o-x86-64.c143 switch (reloc.r_type) in bfd_mach_o_x86_64_canonicalize_one_reloc()
249 rinfo->r_type = BFD_MACH_O_X86_64_RELOC_UNSIGNED; in bfd_mach_o_x86_64_swap_reloc_out()
254 rinfo->r_type = BFD_MACH_O_X86_64_RELOC_UNSIGNED; in bfd_mach_o_x86_64_swap_reloc_out()
259 rinfo->r_type = BFD_MACH_O_X86_64_RELOC_SIGNED; in bfd_mach_o_x86_64_swap_reloc_out()
264 rinfo->r_type = BFD_MACH_O_X86_64_RELOC_SIGNED_1; in bfd_mach_o_x86_64_swap_reloc_out()
269 rinfo->r_type = BFD_MACH_O_X86_64_RELOC_SIGNED_2; in bfd_mach_o_x86_64_swap_reloc_out()
274 rinfo->r_type = BFD_MACH_O_X86_64_RELOC_SIGNED_4; in bfd_mach_o_x86_64_swap_reloc_out()
279 rinfo->r_type = BFD_MACH_O_X86_64_RELOC_BRANCH; in bfd_mach_o_x86_64_swap_reloc_out()
284 rinfo->r_type = BFD_MACH_O_X86_64_RELOC_SUBTRACTOR; in bfd_mach_o_x86_64_swap_reloc_out()
289 rinfo->r_type = BFD_MACH_O_X86_64_RELOC_SUBTRACTOR; in bfd_mach_o_x86_64_swap_reloc_out()
[all …]
H A Delf64-x86-64.c264 elf_x86_64_rtype_to_howto (bfd *abfd, unsigned r_type) in elf_x86_64_rtype_to_howto() argument
268 if (r_type == (unsigned int) R_X86_64_32) in elf_x86_64_rtype_to_howto()
271 i = r_type; in elf_x86_64_rtype_to_howto()
275 else if (r_type < (unsigned int) R_X86_64_GNU_VTINHERIT in elf_x86_64_rtype_to_howto()
276 || r_type >= (unsigned int) R_X86_64_max) in elf_x86_64_rtype_to_howto()
278 if (r_type >= (unsigned int) R_X86_64_standard) in elf_x86_64_rtype_to_howto()
282 abfd, r_type); in elf_x86_64_rtype_to_howto()
286 i = r_type; in elf_x86_64_rtype_to_howto()
289 i = r_type - (unsigned int) R_X86_64_vt_offset; in elf_x86_64_rtype_to_howto()
290 BFD_ASSERT (x86_64_elf_howto_table[i].type == r_type); in elf_x86_64_rtype_to_howto()
[all …]
H A Delf32-m32r.c1280 unsigned int r_type; in m32r_info_to_howto_rel() local
1282 r_type = ELF32_R_TYPE (dst->r_info); in m32r_info_to_howto_rel()
1283 if (r_type > (unsigned int) R_M32R_GNU_VTENTRY) in m32r_info_to_howto_rel()
1287 abfd, r_type); in m32r_info_to_howto_rel()
1291 cache_ptr->howto = &m32r_elf_howto_table[r_type]; in m32r_info_to_howto_rel()
1300 unsigned int r_type = ELF32_R_TYPE (dst->r_info); in m32r_info_to_howto() local
1302 if (r_type == (unsigned int) R_M32R_NONE in m32r_info_to_howto()
1303 || ((r_type > (unsigned int) R_M32R_GNU_VTENTRY) in m32r_info_to_howto()
1304 && (r_type < (unsigned int) R_M32R_max))) in m32r_info_to_howto()
1306 cache_ptr->howto = &m32r_elf_howto_table[r_type]; in m32r_info_to_howto()
[all …]
H A Delf32-z80.c34 bfd_reloc_code_real_type r_type; member
285 if (elf_z80_howto_table[i].r_type == code) in z80_reloc_type_lookup()
316 z80_rtype_to_howto (bfd *abfd, unsigned r_type) in z80_rtype_to_howto() argument
326 if (elf_z80_howto_table[i].howto.type == r_type) in z80_rtype_to_howto()
332 abfd, r_type); in z80_rtype_to_howto()
341 unsigned int r_type = ELF32_R_TYPE (dst->r_info); in z80_info_to_howto_rela() local
342 reloc_howto_type *howto = z80_rtype_to_howto (abfd, r_type); in z80_info_to_howto_rela()
353 z80_elf_final_link_relocate (unsigned long r_type, in z80_elf_final_link_relocate() argument
368 switch (r_type) in z80_elf_final_link_relocate()
377 howto = z80_rtype_to_howto (input_bfd, r_type); in z80_elf_final_link_relocate()
[all …]
H A Delf32-mcore.c344 unsigned int r_type; in mcore_elf_info_to_howto() local
350 r_type = ELF32_R_TYPE (dst->r_info); in mcore_elf_info_to_howto()
351 if (r_type >= R_MCORE_max) in mcore_elf_info_to_howto()
355 abfd, r_type); in mcore_elf_info_to_howto()
360 cache_ptr->howto = mcore_elf_howto_table [r_type]; in mcore_elf_info_to_howto()
423 enum elf_mcore_reloc_type r_type = (enum elf_mcore_reloc_type) ELF32_R_TYPE (rel->r_info); in mcore_elf_relocate_section() local
436 if ((unsigned) r_type >= (unsigned) R_MCORE_max in mcore_elf_relocate_section()
437 || ! mcore_elf_howto_table [(int)r_type]) in mcore_elf_relocate_section()
441 input_bfd, (int) r_type); in mcore_elf_relocate_section()
448 howto = mcore_elf_howto_table [(int) r_type]; in mcore_elf_relocate_section()
[all …]
H A Delfxx-sparc.c617 unsigned int r_type) in _bfd_sparc_elf_info_to_howto_ptr() argument
619 switch (r_type) in _bfd_sparc_elf_info_to_howto_ptr()
637 if (r_type >= (unsigned int) R_SPARC_max_std) in _bfd_sparc_elf_info_to_howto_ptr()
640 abfd, r_type); in _bfd_sparc_elf_info_to_howto_ptr()
644 return &_bfd_sparc_elf_howto_table[r_type]; in _bfd_sparc_elf_info_to_howto_ptr()
657 unsigned int r_type = SPARC_ELF_R_TYPE (dst->r_info); in _bfd_sparc_elf_info_to_howto() local
659 if ((cache_ptr->howto = _bfd_sparc_elf_info_to_howto_ptr (abfd, r_type)) == NULL) in _bfd_sparc_elf_info_to_howto()
1303 int r_type, int is_local) in sparc_elf_tls_transition() argument
1306 && r_type == R_SPARC_TLS_GD_HI22 in sparc_elf_tls_transition()
1311 return r_type; in sparc_elf_tls_transition()
[all …]
H A Delf32-tilepro.c780 unsigned int r_type = ELF32_R_TYPE (dst->r_info); in tilepro_info_to_howto_rela() local
782 if (r_type <= (unsigned int) R_TILEPRO_IMM16_X1_TLS_LE_HA) in tilepro_info_to_howto_rela()
783 cache_ptr->howto = &tilepro_elf_howto_table [r_type]; in tilepro_info_to_howto_rela()
784 else if (r_type - R_TILEPRO_GNU_VTINHERIT in tilepro_info_to_howto_rela()
788 = &tilepro_elf_howto_table2 [r_type - R_TILEPRO_GNU_VTINHERIT]; in tilepro_info_to_howto_rela()
793 abfd, r_type); in tilepro_info_to_howto_rela()
1297 tilepro_tls_translate_to_le (int r_type) in tilepro_tls_translate_to_le() argument
1299 switch (r_type) in tilepro_tls_translate_to_le()
1333 return r_type; in tilepro_tls_translate_to_le()
1337 tilepro_tls_translate_to_ie (int r_type) in tilepro_tls_translate_to_ie() argument
[all …]
/netbsd-src/external/gpl3/binutils.old/dist/gold/
H A Di386.cc571 get_reference_flags(unsigned int r_type);
578 const elfcpp::Rel<32, false>& reloc, unsigned int r_type,
587 const elfcpp::Rel<32, false>& reloc, unsigned int r_type,
597 unsigned int r_type,
607 unsigned int r_type,
611 possible_function_pointer_reloc(unsigned int r_type);
615 unsigned int r_type);
618 unsupported_reloc_local(Sized_relobj_file<32, false>*, unsigned int r_type);
621 unsupported_reloc_global(Sized_relobj_file<32, false>*, unsigned int r_type,
646 unsigned int r_type,
[all …]
H A Dpowerpc.cc731 unsigned int r_type, unsigned int r_sym, Address addend) in push_branch() argument
733 Branch_info info(ppc_object, data_shndx, r_offset, r_type, r_sym, addend); in push_branch()
735 if (r_type == elfcpp::R_POWERPC_REL14 in push_branch()
736 || r_type == elfcpp::R_POWERPC_REL14_BRTAKEN in push_branch()
737 || r_type == elfcpp::R_POWERPC_REL14_BRNTAKEN) in push_branch()
1327 unsigned int r_type, const Symbol* gsym) in maybe_skip_tls_get_addr_call() argument
1330 = ((r_type == elfcpp::R_POWERPC_REL24 in maybe_skip_tls_get_addr_call()
1331 || (size == 64 && r_type == elfcpp::R_PPC64_REL24_NOTOC) in maybe_skip_tls_get_addr_call()
1332 || r_type == elfcpp::R_PPC64_REL24_P9NOTOC in maybe_skip_tls_get_addr_call()
1333 || r_type == elfcpp::R_PPC_PLTREL24 in maybe_skip_tls_get_addr_call()
[all …]
H A Dmips.cc170 unsigned int r_type, bool target_is_16_bit_code) in relocation_needs_la25_stub() argument
180 switch (r_type) in relocation_needs_la25_stub()
228 hi16_reloc(int r_type) in hi16_reloc() argument
230 return (r_type == elfcpp::R_MIPS_HI16 in hi16_reloc()
231 || r_type == elfcpp::R_MIPS16_HI16 in hi16_reloc()
232 || r_type == elfcpp::R_MICROMIPS_HI16 in hi16_reloc()
233 || r_type == elfcpp::R_MIPS_PCHI16); in hi16_reloc()
237 lo16_reloc(int r_type) in lo16_reloc() argument
239 return (r_type == elfcpp::R_MIPS_LO16 in lo16_reloc()
240 || r_type == elfcpp::R_MIPS16_LO16 in lo16_reloc()
[all …]
H A Ds390.cc502 unsigned int r_type,
520 get_reference_flags(unsigned int r_type);
527 const elfcpp::Rela<size, true>& reloc, unsigned int r_type,
536 const elfcpp::Rela<size, true>& reloc, unsigned int r_type,
546 unsigned int r_type,
556 unsigned int r_type,
562 unsigned int r_type);
566 unsigned int r_type, Symbol*);
569 check_non_pic(Relobj*, unsigned int r_type);
572 possible_function_pointer_reloc(unsigned int r_type);
[all …]
H A Dx86_64.cc826 do_reloc_symbol_index(void*, unsigned int r_type) const in do_reloc_symbol_index()
828 gold_assert(r_type == elfcpp::R_X86_64_TLSDESC); in do_reloc_symbol_index()
834 do_reloc_addend(void* arg, unsigned int r_type, uint64_t addend) const;
938 unsigned int r_type,
996 get_reference_flags(unsigned int r_type);
1003 const elfcpp::Rela<size, false>& reloc, unsigned int r_type,
1012 const elfcpp::Rela<size, false>& reloc, unsigned int r_type,
1022 unsigned int r_type,
1032 unsigned int r_type,
1038 unsigned int r_type);
[all …]
/netbsd-src/external/gpl3/binutils/dist/gold/
H A Di386.cc571 get_reference_flags(unsigned int r_type);
578 const elfcpp::Rel<32, false>& reloc, unsigned int r_type,
587 const elfcpp::Rel<32, false>& reloc, unsigned int r_type,
597 unsigned int r_type,
607 unsigned int r_type,
611 possible_function_pointer_reloc(unsigned int r_type);
615 unsigned int r_type);
618 unsupported_reloc_local(Sized_relobj_file<32, false>*, unsigned int r_type);
621 unsupported_reloc_global(Sized_relobj_file<32, false>*, unsigned int r_type,
646 unsigned int r_type,
[all …]
H A Dpowerpc.cc749 unsigned int r_type, unsigned int r_sym, Address addend) in push_branch() argument
751 Branch_info info(ppc_object, data_shndx, r_offset, r_type, r_sym, addend); in push_branch()
753 if (r_type == elfcpp::R_POWERPC_REL14 in push_branch()
754 || r_type == elfcpp::R_POWERPC_REL14_BRTAKEN in push_branch()
755 || r_type == elfcpp::R_POWERPC_REL14_BRNTAKEN) in push_branch()
1349 unsigned int r_type, const Symbol* gsym) in maybe_skip_tls_get_addr_call() argument
1352 = ((r_type == elfcpp::R_POWERPC_REL24 in maybe_skip_tls_get_addr_call()
1353 || (size == 64 && r_type == elfcpp::R_PPC64_REL24_NOTOC) in maybe_skip_tls_get_addr_call()
1354 || r_type == elfcpp::R_PPC64_REL24_P9NOTOC in maybe_skip_tls_get_addr_call()
1355 || r_type == elfcpp::R_PPC_PLTREL24 in maybe_skip_tls_get_addr_call()
[all …]
H A Dx86_64.cc714 do_reloc_symbol_index(void*, unsigned int r_type) const in do_reloc_symbol_index()
716 gold_assert(r_type == elfcpp::R_X86_64_TLSDESC); in do_reloc_symbol_index()
722 do_reloc_addend(void* arg, unsigned int r_type, uint64_t addend) const;
826 unsigned int r_type,
884 get_reference_flags(unsigned int r_type);
891 const elfcpp::Rela<size, false>& reloc, unsigned int r_type,
900 const elfcpp::Rela<size, false>& reloc, unsigned int r_type,
910 unsigned int r_type,
920 unsigned int r_type,
926 unsigned int r_type);
[all …]
H A Ds390.cc502 unsigned int r_type,
520 get_reference_flags(unsigned int r_type);
527 const elfcpp::Rela<size, true>& reloc, unsigned int r_type,
536 const elfcpp::Rela<size, true>& reloc, unsigned int r_type,
546 unsigned int r_type,
556 unsigned int r_type,
562 unsigned int r_type);
566 unsigned int r_type, Symbol*);
569 check_non_pic(Relobj*, unsigned int r_type);
572 possible_function_pointer_reloc(unsigned int r_type);
[all …]
H A Dmips.cc170 unsigned int r_type, bool target_is_16_bit_code) in relocation_needs_la25_stub() argument
180 switch (r_type) in relocation_needs_la25_stub()
228 hi16_reloc(int r_type) in hi16_reloc() argument
230 return (r_type == elfcpp::R_MIPS_HI16 in hi16_reloc()
231 || r_type == elfcpp::R_MIPS16_HI16 in hi16_reloc()
232 || r_type == elfcpp::R_MICROMIPS_HI16 in hi16_reloc()
233 || r_type == elfcpp::R_MIPS_PCHI16); in hi16_reloc()
237 lo16_reloc(int r_type) in lo16_reloc() argument
239 return (r_type == elfcpp::R_MIPS_LO16 in lo16_reloc()
240 || r_type == elfcpp::R_MIPS16_LO16 in lo16_reloc()
[all …]

12345678910>>...21