Searched refs:r_type (Results 1 - 25 of 78) sorted by relevance

1234

/freebsd-9.3-release/contrib/llvm/include/llvm/CodeGen/
H A DMachORelocation.h31 uint8_t r_type; // if not 0, machine-specific relocation type. member in class:llvm::MachORelocation
39 ((r_type & 15) << 24) | (r_address & 0x00FFFFFF);
42 (r_extern << 4) | (r_type & 15);
51 r_extern(ext), r_type(type), r_scattered(scattered), r_value(value) {}
/freebsd-9.3-release/contrib/binutils/include/coff/
H A Dpowerpc.h53 char r_type[2]; member in struct:external_reloc
H A Dsh.h56 char r_type[2]; member in struct:external_reloc
64 char r_type[2]; member in struct:external_reloc
H A Dmipspe.h45 char r_type[2]; member in struct:external_reloc
H A Dx86_64.h52 char r_type[2]; member in struct:external_reloc
H A Di386.h66 char r_type[2]; member in struct:external_reloc
H A Darm.h109 char r_type[2]; member in struct:external_reloc
120 char r_type[2]; member in struct:external_reloc
H A Dia64.h83 char r_type[2]; member in struct:external_reloc
/freebsd-9.3-release/contrib/binutils/bfd/
H A Delf32-arc.c173 unsigned int r_type; local
175 r_type = ELF32_R_TYPE (dst->r_info);
176 BFD_ASSERT (r_type < (unsigned int) R_ARC_max);
177 cache_ptr->howto = &elf_arc_howto_table[r_type];
H A Daout-arm.c114 *r_extern = (0 != (rel->r_type[0] & RELOC_STD_BITS_EXTERN_BIG));
115 r_pcrel_done = (0 != (rel->r_type[0] & RELOC_STD_BITS_PCREL_BIG));
116 r_neg = (0 != (rel->r_type[0] & RELOC_ARM_BITS_NEG_BIG));
117 r_length = ((rel->r_type[0] & RELOC_STD_BITS_LENGTH_BIG)
125 *r_extern = (0 != (rel->r_type[0] & RELOC_STD_BITS_EXTERN_LITTLE));
126 r_pcrel_done = (0 != (rel->r_type[0] & RELOC_STD_BITS_PCREL_LITTLE));
127 r_neg = (0 != (rel->r_type[0] & RELOC_ARM_BITS_NEG_LITTLE));
128 r_length = ((rel->r_type[0] & RELOC_STD_BITS_LENGTH_LITTLE)
169 reloc->r_type[0] =
180 reloc->r_type[
[all...]
H A Dcoff-x86_64.c446 #define SELECT_RELOC(x,howto) { x.r_type = howto->type; }
452 ((dst)->r_type < ARRAY_SIZE (howto_table)) \
453 ? howto_table + (dst)->r_type \
492 if (ptr && howto_table[reloc.r_type].pc_relative) \
542 if (rel->r_type > ARRAY_SIZE (howto_table))
547 if (rel->r_type >= R_AMD64_PCRLONG_1 && rel->r_type <= R_AMD64_PCRLONG_5)
549 rel->r_vaddr += (bfd_vma)(rel->r_type-R_AMD64_PCRLONG);
550 rel->r_type = R_AMD64_PCRLONG;
552 howto = howto_table + rel->r_type;
[all...]
H A Dcoff-ppc.c777 (((r->r_type) & IMAGE_REL_PPC_TOCDEFN) == 0) \
1036 unsigned short r_type = EXTRACT_TYPE (rel->r_type);
1037 unsigned short r_flags = EXTRACT_FLAGS(rel->r_type);
1042 /* FIXME: check bounds on r_type */
1043 howto = ppc_coff_howto_table + r_type;
1062 if (r_type == IMAGE_REL_PPC_IMGLUE && h == 0)
1110 switch (r_type)
1114 (_("%B: unsupported relocation type 0x%02x"), input_bfd, r_type);
1648 unsigned short r_type
1029 unsigned short r_type = EXTRACT_TYPE (rel->r_type); local
1641 unsigned short r_type = EXTRACT_TYPE (rel->r_type); local
1815 unsigned short r_type = EXTRACT_TYPE (internal->r_type); local
1884 unsigned short r_type = EXTRACT_TYPE (rel->r_type); local
[all...]
H A Delfxx-sparc.c412 _bfd_sparc_elf_info_to_howto_ptr (unsigned int r_type) argument
414 switch (r_type)
426 if (r_type >= (unsigned int) R_SPARC_max_std)
429 (int) r_type);
430 r_type = R_SPARC_NONE;
432 return &_bfd_sparc_elf_howto_table[r_type];
445 unsigned int r_type = SPARC_ELF_R_TYPE (dst->r_info); local
447 cache_ptr->howto = _bfd_sparc_elf_info_to_howto_ptr (r_type);
1033 int r_type, int is_local)
1036 && r_type
1031 sparc_elf_tls_transition(struct bfd_link_info *info, bfd *abfd, int r_type, int is_local) argument
1104 unsigned int r_type; local
1573 unsigned int r_type; local
2500 int r_type, tls_type; local
[all...]
H A Dpe-mips.c338 #define SELECT_RELOC(x, howto) { x.r_type = howto->type; }
345 (cache_ptr)->howto = howto_table + (dst)->r_type;
376 if (ptr && howto_table[reloc.r_type].pc_relative) \
393 howto = howto_table + rel->r_type;
447 if (rel->r_type == MIPS_R_RVA)
525 reloc_dst->r_type = H_GET_16 (abfd, reloc_src->r_type);
530 switch (reloc_dst->r_type)
552 switch (reloc_src->r_type)
567 H_PUT_16 (abfd, MIPS_R_PAIR, reloc_dst->r_type);
[all...]
H A Dcoff-mips.c309 intern->r_type = ((ext->r_bits[3] & RELOC_BITS3_TYPE_BIG)
321 intern->r_type = (((ext->r_bits[3] & RELOC_BITS3_TYPE_LITTLE)
351 ext->r_bits[3] = (((intern->r_type << RELOC_BITS3_TYPE_SH_BIG)
360 ext->r_bits[3] = (((intern->r_type << RELOC_BITS3_TYPE_SH_LITTLE)
362 | ((intern->r_type >> RELOC_BITS3_TYPEHI_SH_LITTLE
378 if (intern->r_type > MIPS_R_PCREL16)
382 && (intern->r_type == MIPS_R_GPREL
383 || intern->r_type == MIPS_R_LITERAL))
388 if (intern->r_type == MIPS_R_IGNORE)
391 rptr->howto = &mips_howto_table[intern->r_type];
[all...]
H A Delf32-cr16.c471 unsigned int r_type = ELF32_R_TYPE (dst->r_info); local
473 BFD_ASSERT (r_type < (unsigned int) R_CR16_MAX);
474 cache_ptr->howto = &cr16_elf_howto_table[r_type];
492 unsigned short r_type = howto->type; local
496 switch (r_type)
585 if ((r_type == R_CR16_IMM4)
586 || (r_type == R_CR16_DISP4)
587 || (r_type == R_CR16_DISP8))
597 if (r_type == R_CR16_DISP16)
607 if (r_type
816 int r_type; local
[all...]
H A Dsunos.c1279 if ((rel->r_type[0] & RELOC_STD_BITS_EXTERN_BIG) == 0)
1284 if ((rel->r_type[0] & RELOC_STD_BITS_EXTERN_LITTLE) == 0)
1431 int r_type;
1440 r_extern = (0 != (rel->r_type[0] & RELOC_EXT_BITS_EXTERN_BIG));
1441 r_type = ((rel->r_type[0] & RELOC_EXT_BITS_TYPE_BIG)
1449 r_extern = (0 != (rel->r_type[0] & RELOC_EXT_BITS_EXTERN_LITTLE));
1450 r_type = ((rel->r_type[0] & RELOC_EXT_BITS_TYPE_LITTLE)
1467 if (r_type
1430 int r_type; local
2386 int r_type; local
[all...]
H A Delf64-alpha.c1089 unsigned r_type = ELF64_R_TYPE(dst->r_info);
1090 BFD_ASSERT (r_type < (unsigned int) R_ALPHA_max);
1091 cache_ptr->howto = &elf64_alpha_howto_table[r_type];
1095 #define alpha_got_entry_size(r_type) \
1096 (r_type == R_ALPHA_TLSGD || r_type == R_ALPHA_TLSLDM ? 16 : 8)
1660 unsigned long r_type, unsigned long r_symndx,
1697 && gotent->reloc_type == r_type
1716 gotent->reloc_type = r_type;
1723 entry_size = alpha_got_entry_size (r_type);
1085 unsigned r_type = ELF64_R_TYPE(dst->r_info); local
1651 get_got_entry(bfd *abfd, struct alpha_elf_link_hash_entry *h, unsigned long r_type, unsigned long r_symndx, bfd_vma r_addend) argument
1780 unsigned long r_symndx, r_type; local
2555 alpha_dynamic_entries_for_reloc(int r_type, int dynamic, int shared) argument
2919 elf64_alpha_relax_got_load(struct alpha_relax_info *info, bfd_vma symval, Elf_Internal_Rela *irel, unsigned long r_type) argument
3671 unsigned long r_type = ELF64_R_TYPE (irel->r_info); local
3945 unsigned long r_type; local
4098 unsigned long r_type; local
4743 long r_type; local
[all...]
H A Delf64-x86-64.c211 elf64_x86_64_rtype_to_howto (bfd *abfd, unsigned r_type) argument
215 if (r_type < (unsigned int) R_X86_64_GNU_VTINHERIT
216 || r_type >= (unsigned int) R_X86_64_max)
218 if (r_type >= (unsigned int) R_X86_64_standard)
221 abfd, (int) r_type);
222 r_type = R_X86_64_NONE;
224 i = r_type;
227 i = r_type - (unsigned int) R_X86_64_vt_offset;
228 BFD_ASSERT (x86_64_elf_howto_table[i].type == r_type);
272 unsigned r_type; local
715 elf64_x86_64_tls_transition(struct bfd_link_info *info, int r_type, int is_local) argument
763 unsigned int r_type; local
1191 unsigned int r_type; local
2068 unsigned int r_type; local
[all...]
/freebsd-9.3-release/contrib/binutils/gas/
H A Dwrite.h178 offsetT offset, int pcrel, bfd_reloc_code_real_type r_type);
181 bfd_reloc_code_real_type r_type);
/freebsd-9.3-release/crypto/openssh/openbsd-compat/
H A Dport-aix.h59 /* Some versions define r_type in the above headers, which causes a conflict */
60 #ifdef r_type
61 # undef r_type macro
/freebsd-9.3-release/libexec/rtld-elf/mips/
H A Dreloc.c78 * endian we have to byte swap that integer (r_type).
81 #define ELF_R_NXTTYPE_64_P(r_type) ((((r_type) >> 8) & 0xff) == R_TYPE(64))
89 #define ELF_R_NXTTYPE_64_P(r_type) (0)
191 Elf_Word r_symndx, r_type; local
196 r_type = ELF_R_TYPE(rel->r_info);
198 switch (r_type & 0xff) {
201 ELF_R_NXTTYPE_64_P(r_type)
207 assert(r_type == R_TYPE(REL32)
208 || r_type
384 Elf_Word r_symndx, r_type; local
[all...]
/freebsd-9.3-release/include/
H A Dres_update.h43 ns_type r_type; /*%< type number */ member in struct:ns_updrec
/freebsd-9.3-release/sys/cddl/contrib/opensolaris/uts/common/fs/zfs/sys/
H A Dzfs_rlock.h49 rl_type_t r_type; /* range type */ member in struct:rl
/freebsd-9.3-release/sys/cddl/contrib/opensolaris/uts/common/fs/zfs/
H A Dzfs_rlock.c130 if (new->r_type == RL_APPEND)
150 new->r_type = RL_WRITER; /* convert to writer */
170 new->r_type = RL_WRITER; /* convert possible RL_APPEND */
209 proxy->r_type = RL_READER;
238 rear->r_type = RL_READER;
263 rl->r_type = RL_READER;
376 if ((prev->r_type == RL_WRITER) || (prev->r_write_wanted)) {
399 if ((next->r_type == RL_WRITER) || (next->r_write_wanted)) {
439 new->r_type = type;
498 ASSERT(rl->r_type
[all...]

Completed in 364 milliseconds

1234