Searched refs:r_type (Results 1 - 25 of 139) sorted by path

123456

/haiku-fatelf/src/bin/gdb/bfd/
H A Daout-arm.c130 *r_extern = (0 != (rel->r_type[0] & RELOC_STD_BITS_EXTERN_BIG));
131 r_pcrel_done = (0 != (rel->r_type[0] & RELOC_STD_BITS_PCREL_BIG));
132 r_neg = (0 != (rel->r_type[0] & RELOC_ARM_BITS_NEG_BIG));
133 r_length = ((rel->r_type[0] & RELOC_STD_BITS_LENGTH_BIG)
141 *r_extern = (0 != (rel->r_type[0] & RELOC_STD_BITS_EXTERN_LITTLE));
142 r_pcrel_done = (0 != (rel->r_type[0] & RELOC_STD_BITS_PCREL_LITTLE));
143 r_neg = (0 != (rel->r_type[0] & RELOC_ARM_BITS_NEG_LITTLE));
144 r_length = ((rel->r_type[0] & RELOC_STD_BITS_LENGTH_LITTLE)
186 reloc->r_type[0] =
197 reloc->r_type[
[all...]
H A Daout-cris.c160 unsigned int r_type; local
167 r_type = (unsigned int) g->howto->type;
205 if (r_type > 2)
208 bfd_get_filename (abfd), r_type); local
217 natptr->r_type[0] =
219 | (r_type << RELOC_EXT_BITS_TYPE_SH_LITTLE);
236 unsigned int r_type; local
245 r_extern = (0 != (bytes->r_type[0] & RELOC_EXT_BITS_EXTERN_LITTLE));
246 r_type = ((bytes->r_type[
[all...]
H A Daout-ns32k.c177 *r_extern = (0 != (rel->r_type[0] & RELOC_STD_BITS_EXTERN_LITTLE));
178 *r_pcrel = (0 != (rel->r_type[0] & RELOC_STD_BITS_PCREL_LITTLE));
179 r_length = ((rel->r_type[0] & RELOC_STD_BITS_LENGTH_LITTLE)
181 r_ns32k_type = ((rel->r_type[0] & RELOC_STD_BITS_NS32K_TYPE_LITTLE)
211 reloc->r_type[0] =
H A Daout-tic30.c213 *r_extern = (0 != (relocs->r_type[0] & RELOC_STD_BITS_EXTERN_BIG));
214 r_pcrel_done = (0 != (relocs->r_type[0] & RELOC_STD_BITS_PCREL_BIG));
215 r_length = ((relocs->r_type[0] & RELOC_STD_BITS_LENGTH_BIG) >> RELOC_STD_BITS_LENGTH_SH_BIG);
220 *r_extern = (0 != (relocs->r_type[0] & RELOC_STD_BITS_EXTERN_LITTLE));
221 r_pcrel_done = (0 != (relocs->r_type[0] & RELOC_STD_BITS_PCREL_LITTLE));
222 r_length = ((relocs->r_type[0] & RELOC_STD_BITS_LENGTH_LITTLE) >> RELOC_STD_BITS_LENGTH_SH_LITTLE);
H A Daoutx.h2130 natptr->r_type[0] = ((r_extern ? RELOC_STD_BITS_EXTERN_BIG : 0)
2142 natptr->r_type[0] = ((r_extern ? RELOC_STD_BITS_EXTERN_LITTLE : 0)
2165 unsigned int r_type;
2172 r_type = (unsigned int) g->howto->type;
2211 natptr->r_type[0] = ((r_extern ? RELOC_EXT_BITS_EXTERN_BIG : 0)
2212 | (r_type << RELOC_EXT_BITS_TYPE_SH_BIG));
2219 natptr->r_type[0] = ((r_extern ? RELOC_EXT_BITS_EXTERN_LITTLE : 0)
2220 | (r_type << RELOC_EXT_BITS_TYPE_SH_LITTLE));
2281 unsigned int r_type;
2292 r_extern = (0 != (bytes->r_type[
2159 unsigned int r_type; variable
2275 unsigned int r_type; variable
[all...]
H A Dcoff-a29k.c91 unsigned short r_type; local
96 r_type = reloc_entry->howto->type;
109 if (r_type == R_IHIHALF)
117 if ((part1_consth_active) && (r_type != R_IHCONST))
127 switch (r_type)
144 /* FIXME: Should we change r_type to R_IABS. */
273 relent->howto = howto_table + reloc->r_type;
274 if (reloc->r_type == R_IHCONST)
305 if (reloc->r_type == R_IHIHALF)
359 if (symndx == -1 || rel->r_type
[all...]
H A Dcoff-alpha.c546 intern->r_type = ((ext->r_bits[0] & RELOC_BITS0_TYPE_LITTLE)
555 if (intern->r_type == ALPHA_R_LITUSE
556 || intern->r_type == ALPHA_R_GPDISP)
567 else if (intern->r_type == ALPHA_R_IGNORE)
592 if (intern->r_type == ALPHA_R_LITUSE
593 || intern->r_type == ALPHA_R_GPDISP)
598 else if (intern->r_type == ALPHA_R_IGNORE
619 ext->r_bits[0] = ((intern->r_type << RELOC_BITS0_TYPE_SH_LITTLE)
639 if (intern->r_type > ALPHA_R_GPVALUE)
642 switch (intern->r_type)
1512 int r_type; local
[all...]
H A Dcoff-apollo.c102 apollo_rtype2howto (internal, (relocentry)->r_type)
105 external.r_type = apollo_howto2rtype (internal);
H A Dcoff-arm.c573 (dst)->r_type < NUM_RELOCS \
574 ? aoutarm_std_reloc_howto + (dst)->r_type \
590 if (rel->r_type >= NUM_RELOCS)
593 howto = aoutarm_std_reloc_howto + rel->r_type;
595 if (rel->r_type == ARM_RVA32)
905 #define SELECT_RELOC(x,howto) { x.r_type = howto->type; }
1258 if (rel->r_type == ARM_26
1748 && (rel->r_type == ARM_32 || rel->r_type == ARM_RVA32))
2118 unsigned short r_type
2116 unsigned short r_type = rel->r_type; local
[all...]
H A Dcoff-h8300.c284 { x.r_type = select_reloc (howto); }
304 /* Code to turn a r_type into a howto ptr, uses the above howto table. */
309 switch (dst->r_type)
H A Dcoff-h8500.c82 #define SELECT_RELOC(x,howto) x.r_type = coff_h8500_select_reloc(howto)
96 /* Code to turn a r_type into a howto ptr, uses the above howto table. */
103 switch (dst->r_type)
H A Dcoff-i386.c346 #define SELECT_RELOC(x,howto) { x.r_type = howto->type; }
352 ((dst)->r_type < sizeof (howto_table) / sizeof (howto_table[0]) \
353 ? howto_table + (dst)->r_type \
390 if (ptr && howto_table[reloc.r_type].pc_relative) \
450 if (rel->r_type > sizeof (howto_table) / sizeof (howto_table[0]))
456 howto = howto_table + rel->r_type;
511 if (rel->r_type == R_IMAGEBASE
518 if (rel->r_type == R_SECREL32)
H A Dcoff-i860.c438 #define SELECT_RELOC(x,howto) { x.r_type = howto->type; }
444 ((dst)->r_type < sizeof (howto_table) / sizeof (howto_table[0]) \
445 ? howto_table + (dst)->r_type \
485 if (ptr && howto_table[reloc.r_type].pc_relative) \
506 if (rel->r_type > sizeof (howto_table) / sizeof (howto_table[0]))
512 howto = howto_table + rel->r_type;
590 if (dst->r_type == COFF860_R_PAIR)
593 cache_ptr->howto = howto_table + dst->r_type;
640 /* Fill in the cache_ptr->howto field from dst->r_type. */
H A Dcoff-i960.c94 if (ptr && (reloc.r_type == 25 || reloc.r_type == 27)) \
304 switch ((dst)->r_type) { \
416 switch (rel->r_type)
H A Dcoff-ia64.c49 (cache_ptr)->howto = howto_table + (dst)->r_type;
H A Dcoff-m68k.c204 m68k_rtype2howto(internal, (relocentry)->r_type)
207 external.r_type = m68k_howto2rtype (internal)
371 if (ptr && (reloc.r_type == R_PCRBYTE \
372 || reloc.r_type == R_PCRWORD \
373 || reloc.r_type == R_PCRLONG)) \
481 if (irel->r_type != R_RELLONG)
H A Dcoff-m88k.c236 /* Code to turn an external r_type into a pointer to an entry in the
243 if (dst->r_type >= R_PCR16L && dst->r_type <= R_VRT32)
245 cache_ptr->howto = howto_table + dst->r_type - R_PCR16L;
H A Dcoff-mcore.c329 (cache_ptr)->howto = mcore_coff_howto_table + (dst)->r_type;
342 if (rel->r_type >= NUM_ELEM (mcore_coff_howto_table))
345 howto = mcore_coff_howto_table + rel->r_type;
347 if (rel->r_type == IMAGE_REL_MCORE_RVA)
433 unsigned short r_type = rel->r_type;
514 switch (r_type)
518 input_bfd, r_type);
585 #define SELECT_RELOC(internal, howto) {internal.r_type = howto->type;}
426 unsigned short r_type = rel->r_type; local
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 Dcoff-or32.c98 unsigned short r_type; local
104 r_type = reloc_entry->howto->type;
117 if (r_type == R_IHIHALF)
126 if ((part1_consth_active) && (r_type != R_IHCONST))
136 switch (r_type)
155 /* FIXME: Should we change r_type to R_IABS. */
309 relent->howto = howto_table + reloc->r_type;
311 if (reloc->r_type == R_IHCONST)
337 if (reloc->r_type == R_IHIHALF)
392 if (symndx == -1 || rel->r_type
[all...]
H A Dcoff-ppc.c800 (((r->r_type) & IMAGE_REL_PPC_TOCDEFN) == 0) \
1038 unsigned short r_type;
1041 r_type = reloc_entry->howto->type;
1054 if (r_type == IMAGE_REL_PPC_REFHI)
1062 if ((part1_consth_active) && (r_type != IMAGE_REL_PPC_PAIR))
1120 unsigned short r_type = EXTRACT_TYPE (rel->r_type);
1121 unsigned short r_flags = EXTRACT_FLAGS(rel->r_type);
1126 /* FIXME: check bounds on r_type */
1127 howto = ppc_coff_howto_table + r_type;
1113 unsigned short r_type = EXTRACT_TYPE (rel->r_type); local
1725 unsigned short r_type = EXTRACT_TYPE (rel->r_type); local
1948 unsigned short r_type = EXTRACT_TYPE (internal->r_type); local
2017 unsigned short r_type = EXTRACT_TYPE (rel->r_type); local
[all...]
H A Dcoff-rs6000.c85 internal.r_type = howto->type; \
1005 if (internal->r_type > R_RBRC)
1009 relent->howto = &xcoff_howto_table[internal->r_type];
1014 if (R_BA == internal->r_type)
1016 else if (R_RBR == internal->r_type)
1018 else if (R_RBA == internal->r_type)
2709 dst->r_type = bfd_get_8 (abfd, src->r_type);
2723 bfd_put_8 (abfd, src->r_type, dst->r_type);
[all...]
H A Dcoff-sh.c431 howto = sh_coff_howtos + rel->r_type;
462 if (rel->r_type == R_SH_IMAGEBASE)
518 ((internal)->r_type < SH_COFF_HOWTO_COUNT \
519 ? &sh_coff_howtos[(internal)->r_type] \
540 if ((reloc).r_type == R_SH_SWITCH8 \
541 || (reloc).r_type == R_SH_SWITCH16 \
542 || (reloc).r_type == R_SH_SWITCH32 \
543 || (reloc).r_type == R_SH_USES \
544 || (reloc).r_type == R_SH_COUNT \
545 || (reloc).r_type
564 unsigned short r_type; local
[all...]
H A Dcoff-sparc.c185 BFD_ASSERT (dst->r_type < (unsigned int) R_SPARC_max);
186 cache_ptr->howto = &coff_sparc_howto_table[dst->r_type];
H A Dcoff-tic30.c94 #define SELECT_RELOC(x,howto) x.r_type = coff_tic30_select_reloc(howto)
106 /* Code to turn a r_type into a howto ptr, uses the above howto table. */
113 switch (dst->r_type)

Completed in 222 milliseconds

123456