/haiku-fatelf/src/bin/gdb/bfd/ |
H A D | coff-ia64.c | 49 (cache_ptr)->howto = howto_table + (dst)->r_type; 58 in_reloc_p(abfd, howto) 60 reloc_howto_type *howto ATTRIBUTE_UNUSED;
|
H A D | coff-ppc.c | 390 static bfd_boolean in_reloc_p PARAMS((bfd *abfd, reloc_howto_type *howto)); 996 static bfd_boolean in_reloc_p(abfd, howto) 998 reloc_howto_type *howto; 1001 (! howto->pc_relative) 1002 && (howto->type != IMAGE_REL_PPC_ADDR32NB) 1003 && (howto->type != IMAGE_REL_PPC_TOCREL16) 1004 && (howto->type != IMAGE_REL_PPC_IMGLUE) 1005 && (howto->type != IMAGE_REL_PPC_IFGLUE) 1006 && (howto->type != IMAGE_REL_PPC_SECREL) 1007 && (howto 1089 reloc_howto_type *howto = 0; local 1947 reloc_howto_type *howto; local 2005 reloc_howto_type *howto; local [all...] |
H A D | coff-tic80.c | 447 cache_ptr->howto = tic80_howto_table + i; 454 cache_ptr->howto = tic80_howto_table + 0; 479 return genrel.howto; 517 reloc_howto_type *howto; 544 howto = bfd_coff_rtype_to_howto (input_bfd, input_section, rel, h, 546 if (howto == NULL) 597 switch (howto->type) 608 rstat = _bfd_final_link_relocate (howto, input_bfd, input_section, 619 rstat = _bfd_final_link_relocate (howto, input_bfd, input_section, 632 rstat = _bfd_final_link_relocate (howto, input_bf 514 reloc_howto_type *howto; local [all...] |
H A D | nlm32-sparc.c | 149 rel->howto = NULL; 156 rel->howto = &nlm32_sparc_howto_table[index]; 161 fprintf (stderr, "%s: address = %08lx, addend = %08lx, type = %d, howto = %08lx\n", 162 __FUNCTION__, rel->address, rel->addend, type, rel->howto); 188 if (tmp->rightshift == rel->howto->rightshift 189 && tmp->size == rel->howto->size 190 && tmp->bitsize == rel->howto->bitsize 191 && tmp->pc_relative == rel->howto->pc_relative 192 && tmp->bitpos == rel->howto->bitpos 193 && tmp->src_mask == rel->howto [all...] |
H A D | aout-arm.c | 158 MY(put_reloc) (abfd, r_extern, r_index, value, howto, reloc) 163 reloc_howto_type *howto; 172 r_length = howto->size; 175 if (howto->type == 3 || howto->type == 7) 178 r_pcrel = howto->type & 4; /* PC Relative done? */ 179 r_neg = howto->type & 8; /* Negative relocation. */ 209 MY(relocatable_reloc) (howto, abfd, reloc, amount, r_addr) 210 reloc_howto_type *howto; 216 if (howto [all...] |
H A D | xcoff-target.h | 25 #define SELECT_RELOC(internal, howto) \ 27 internal.r_type = howto->type; \ 29 ((howto->complain_on_overflow == complain_overflow_signed \ 32 | (howto->bitsize - 1)); \
|
H A D | elf32-mcore.c | 269 if (! mcore_elf_howto_table [R_MCORE_PCRELIMM8BY4]) /* Initialize howto table if needed */ 275 /* Set the howto pointer for a RCE ELF reloc. */ 282 if (! mcore_elf_howto_table [R_MCORE_PCRELIMM8BY4]) /* Initialize howto table if needed */ 287 cache_ptr->howto = mcore_elf_howto_table [ELF32_R_TYPE (dst->r_info)]; 354 BFD_ASSERT (reloc_entry->howto != (reloc_howto_type *)0); 358 reloc_entry->howto->name, 359 reloc_entry->howto->type); 424 if (! mcore_elf_howto_table [R_MCORE_PCRELIMM8BY4]) /* Initialize howto table if needed */ 434 reloc_howto_type * howto; 453 howto 430 reloc_howto_type * howto; local [all...] |
H A D | coff-rs6000.c | 83 #define SELECT_RELOC(internal, howto) \ 85 internal.r_type = howto->type; \ 87 ((howto->complain_on_overflow == complain_overflow_signed \ 90 | (howto->bitsize - 1)); \ 1008 /* Default howto layout works most of the time */ 1009 relent->howto = &xcoff_howto_table[internal->r_type]; 1015 relent->howto = &xcoff_howto_table[0x1c]; 1017 relent->howto = &xcoff_howto_table[0x1d]; 1019 relent->howto = &xcoff_howto_table[0x1e]; 1027 if (relent->howto 3352 struct reloc_howto_struct howto; local [all...] |
H A D | elf32-openrisc.c | 243 /* Set the howto pointer for an OpenRISC ELF reloc. */ 255 cache_ptr->howto = & openrisc_elf_howto_table[r_type]; 262 openrisc_final_link_relocate (howto, input_bfd, input_section, contents, rel, 264 reloc_howto_type *howto; 273 switch (howto->type) 277 r = _bfd_final_link_relocate (howto, input_bfd, input_section, 283 r = _bfd_final_link_relocate (howto, input_bfd, input_section, 347 reloc_howto_type *howto; local 369 howto = openrisc_elf_howto_table + ELF32_R_TYPE (rel->r_info); 394 r = openrisc_final_link_relocate (howto, input_bf [all...] |
H A D | coff-arm.c | 176 x = ((x & ~howto->dst_mask) \ 177 | (((x & howto->src_mask) + diff) & howto->dst_mask)) 181 reloc_howto_type *howto = reloc_entry->howto; local 184 switch (howto->size) 563 in_reloc_p (abfd, howto) 565 reloc_howto_type * howto; 567 return !howto->pc_relative && howto 588 reloc_howto_type * howto; local 1218 reloc_howto_type * howto; local [all...] |
H A D | coff64-rs6000.c | 222 #define SELECT_RELOC(internal, howto) \ 224 internal.r_type = howto->type; \ 226 ((howto->complain_on_overflow == complain_overflow_signed \ 229 | (howto->bitsize - 1)); \ 1101 xcoff64_reloc_type_br (input_bfd, input_section, output_bfd, rel, sym, howto, 1108 struct reloc_howto_struct *howto; 1161 howto->complain_on_overflow = complain_overflow_dont; 1164 howto->pc_relative = TRUE; 1165 howto->src_mask &= ~3; 1166 howto 1205 struct reloc_howto_struct howto; local [all...] |
H A D | bout.c | 652 cache_ptr->howto = 0; 709 cache_ptr->howto = &howto_align_table[(raw[7] >> length_shift) & 3]; 727 if (cache_ptr->howto != 0) 731 cache_ptr->howto = &howto_reloc_callj; 736 cache_ptr->howto = &howto_reloc_pcrel13; 738 cache_ptr->howto = &howto_reloc_pcrel24; 743 cache_ptr->howto = &howto_reloc_abs32code; 745 cache_ptr->howto = &howto_reloc_abs32; 831 /* Find a type in the output format which matches the input howto - 834 /* FIXME: Need callj stuff here, and to check the howto entrie [all...] |
H A D | elf32-fr30.c | 269 && (! reloc_entry->howto->partial_inplace 315 && (! reloc_entry->howto->partial_inplace 378 /* Set the howto pointer for an FR30 ELF reloc. */ 390 cache_ptr->howto = & fr30_elf_howto_table [r_type]; 398 fr30_final_link_relocate (howto, input_bfd, input_section, contents, rel, 400 reloc_howto_type *howto; 411 switch (howto->type) 468 r = _bfd_final_link_relocate (howto, input_bfd, input_section, 533 reloc_howto_type *howto; 551 howto 528 reloc_howto_type *howto; local [all...] |
H A D | elf32-crx.c | 392 /* Retrieve a howto ptr using a BFD reloc_code. */ 408 /* Retrieve a howto ptr using an internal relocation entry. */ 416 cache_ptr->howto = &crx_elf_howto_table[r_type]; 422 crx_elf_final_link_relocate (reloc_howto_type *howto, bfd *input_bfd, argument 430 unsigned short r_type = howto->type; 474 if (howto->pc_relative) 488 check = Rvalue >> howto->rightshift; 491 overflow if howto->bitsize is the number of bits in 493 reloc_bits = (((1 << (howto->bitsize - 1)) - 1) << 1) | 1; 502 if (howto 815 reloc_howto_type *howto; local [all...] |
H A D | elf32-iq2000.c | 364 constants. Thus, the order that the howto records appear in the 407 iq2000_final_link_relocate (howto, input_bfd, input_section, contents, rel, relocation) 408 reloc_howto_type * howto; 415 return _bfd_final_link_relocate (howto, input_bfd, input_section, 421 /* Set the howto pointer for a IQ2000 ELF reloc. */ 435 cache_ptr->howto = & iq2000_elf_vtinherit_howto; 439 cache_ptr->howto = & iq2000_elf_vtentry_howto; 443 cache_ptr->howto = & iq2000_elf_howto_table [r_type]; 582 reloc_howto_type * howto; 601 howto 577 reloc_howto_type * howto; local [all...] |
H A D | elf32-arm.h | 1214 elf32_arm_final_link_relocate (reloc_howto_type * howto, argument 1227 unsigned long r_type = howto->type; 1247 if (r_type != howto->type) 1248 howto = elf32_arm_howto_from_type (r_type); 1275 addend = bfd_get_32 (input_bfd, hit_data) & howto->src_mask; 1277 if (addend & ((howto->src_mask + 1) >> 1)) 1280 signed_addend &= ~ howto->src_mask; 1329 return _bfd_final_link_relocate (howto, input_bfd, input_section, 1411 return _bfd_final_link_relocate (howto, input_bfd, input_section, 1485 value += (signed_addend << howto 1979 arm_add_to_rel(bfd * abfd, bfd_byte * address, reloc_howto_type * howto, bfd_signed_vma increment) argument 2078 reloc_howto_type * howto; local [all...] |
H A D | coff-i960.c | 310 (cache_ptr)->howto = howto_ptr; \ 394 reloc_howto_type *howto; local 418 case 17: howto = &howto_rellong; break; 419 case 25: howto = &howto_iprmed; break; 420 case 27: howto = &howto_optcall; break; 469 if (howto->type == R_OPTCALL && ! info->relocatable && symndx != -1) 536 if (howto->pc_relative) 538 rstat = _bfd_final_link_relocate (howto, input_bfd, input_section, 567 (info, name, howto->name, (bfd_vma) 0, input_bfd,
|
H A D | elf32-avr.c | 384 /* Set the howto pointer for an AVR ELF reloc. */ 396 cache_ptr->howto = &elf_avr_howto_table[r_type]; 488 avr_final_link_relocate (howto, input_bfd, input_section, 490 reloc_howto_type * howto; 501 switch (howto->type) 697 r = _bfd_final_link_relocate (howto, input_bfd, input_section, 732 reloc_howto_type * howto; local 745 howto = elf_avr_howto_table + ELF32_R_TYPE (rel->r_info); 770 r = avr_final_link_relocate (howto, input_bfd, input_section, 781 (info, name, howto [all...] |
H A D | elfarm-oabi.c | 352 /* Locate a reloc in the howto table. This function must be used 379 bfd_reloc->howto = & elf32_arm_howto_table[r_type]; 381 bfd_reloc->howto = find_howto (r_type);
|
H A D | syms.c | 1037 if (r->howto->dst_mask == 0) 1040 if (r->howto->rightshift != 0 1041 || r->howto->size != 2 1042 || r->howto->bitsize != 32 1043 || r->howto->pc_relative 1044 || r->howto->bitpos != 0 1045 || r->howto->dst_mask != 0xffffffff) 1056 val &= r->howto->src_mask;
|
H A D | elf64-mmix.c | 435 significant bits are set. The howto members reflect a simple GETA. */ 494 any of the two least significant bits are set. The howto members 570 stub; see R_MMIX_PUSHJ_STUBBABLE. The howto members reflect a simple 631 memory segments. The howto members reflect a trivial JMP. */ 923 mmix_elf_perform_relocation (isec, howto, datap, addr, value) 925 reloc_howto_type *howto; 938 switch (howto->type) 983 howto->bitsize, 1091 howto->bitsize, 1116 howto 1353 reloc_howto_type *howto; local [all...] |
H A D | i386lynx.c | 146 r_length = g->howto->size; /* Size as a power of two */ 147 r_pcrel = (int) g->howto->pc_relative; /* Relative to PC? */ 239 r_type = (unsigned int) g->howto->type; 362 cache_ptr->howto = aout_32_ext_howto_table + r_type; 392 cache_ptr->howto = aout_32_std_howto_table + r_length + 4 * r_pcrel; 393 /* FIXME-soon: Roll baserel, jmptable, relative bits into howto setting */
|
H A D | coff-mips.c | 370 this backend routine. It must fill in the howto field. */ 391 rptr->howto = &mips_howto_table[intern->r_type]; 412 bfd_perform_relocation, all the reloc types use this howto 735 /* Get the howto structure for a generic reloc type. */ 912 reloc_howto_type *howto; 959 howto = &mips_howto_table[int_rel.r_type]; 1112 if (howto->pc_relative) 1150 if (howto->pc_relative) 1161 r = _bfd_relocate_contents (howto, input_bfd, relocation, 1219 if (howto 906 reloc_howto_type *howto; local [all...] |
H A D | aout-cris.c | 167 r_type = (unsigned int) g->howto->type; 257 cache_ptr->howto = howto_table_ext + r_type;
|
H A D | coff-tic4x.c | 118 bfd/reloc.c) to map to the howto table entries. */ 150 /* Code to turn a r_type into a howto ptr, uses the above howto table. 165 internal->howto = tic4x_howto_table + i + bank; 197 return genrel.howto; 249 /* Fill in the relent->howto field from reloc->r_type. */
|