/haiku-fatelf/src/bin/gdb/bfd/ |
H A D | elf32-m68hc1x.h | 169 asection *sec, const Elf_Internal_Rela *relocs); 172 asection * sec, const Elf_Internal_Rela * relocs); 176 bfd_byte *contents, Elf_Internal_Rela *relocs,
|
H A D | elf32-d10v.c | 285 elf32_d10v_gc_sweep_hook (abfd, info, sec, relocs) 289 const Elf_Internal_Rela *relocs ATTRIBUTE_UNUSED; 295 /* Look through the relocs for a section during the first phase. 297 virtual table relocs for gc. */ 300 elf32_d10v_check_relocs (abfd, info, sec, relocs) 304 const Elf_Internal_Rela *relocs; 320 rel_end = relocs + sec->reloc_count; 321 for (rel = relocs; rel < rel_end; rel++) 425 contents, relocs, local_syms, local_sections) 431 Elf_Internal_Rela *relocs; [all...] |
H A D | elf32-mcore.c | 32 /* RELA relocs are used here... */ 341 /* Don't pretend we can deal with unsupported relocs. */ 368 The relocs are always passed as Rela structures; if the section 373 necessary, and (if using Rela relocs and generating a 396 contents, relocs, local_syms, local_sections) 402 Elf_Internal_Rela * relocs; 408 Elf_Internal_Rela * rel = relocs; 409 Elf_Internal_Rela * relend = relocs + input_section->reloc_count; 600 mcore_elf_gc_sweep_hook (abfd, info, sec, relocs) 604 const Elf_Internal_Rela * relocs ATTRIBUTE_UNUSE [all...] |
H A D | elf32-openrisc.c | 259 routines, but a few relocs, we have to do them ourselves. */ 296 The relocs are always passed as Rela structures; if the section 301 necessary, and (if using Rela relocs and generating a relocatable 323 contents, relocs, local_syms, local_sections) 329 Elf_Internal_Rela *relocs; 343 relend = relocs + input_section->reloc_count; 345 for (rel = relocs; rel < relend; rel++) 486 openrisc_elf_gc_sweep_hook (abfd, info, sec, relocs) 490 const Elf_Internal_Rela *relocs ATTRIBUTE_UNUSED; 495 /* Look through the relocs fo [all...] |
H A D | elf32-iq2000.c | 448 /* Look through the relocs for a section during the first phase. 450 virtual table relocs for gc. */ 453 iq2000_elf_check_relocs (abfd, info, sec, relocs) 457 const Elf_Internal_Rela *relocs; 474 rel_end = relocs + sec->reloc_count; 475 for (rel = relocs; rel < rel_end; rel++) 517 /* Note that we've changed relocs, otherwise if !info->keep_memory 518 we'll free the relocs and lose our changes. */ 519 (const Elf_Internal_Rela *) (elf_section_data (sec)->relocs) = relocs; [all...] |
H A D | i386lynx.c | 408 PTR relocs; 445 relocs = (PTR) bfd_alloc (abfd, reloc_size); 446 if (!relocs && reloc_size != 0) 452 if (bfd_bread (relocs, reloc_size, abfd) != reloc_size) 454 bfd_release (abfd, relocs); 461 register struct reloc_ext_external *rptr = (struct reloc_ext_external *) relocs; 473 register struct reloc_std_external *rptr = (struct reloc_std_external *) relocs; 485 bfd_release (abfd, relocs); 407 PTR relocs; variable
|
H A D | elf32-avr.c | 433 elf32_avr_gc_sweep_hook (abfd, info, sec, relocs) 437 const Elf_Internal_Rela *relocs ATTRIBUTE_UNUSED; 443 /* Look through the relocs for a section during the first phase. 445 virtual table relocs for gc. */ 448 elf32_avr_check_relocs (abfd, info, sec, relocs) 452 const Elf_Internal_Rela *relocs; 468 rel_end = relocs + sec->reloc_count; 469 for (rel = relocs; rel < rel_end; rel++) 485 routines, but a few relocs, we have to do them ourselves. */ 708 contents, relocs, local_sym [all...] |
H A D | elf32-fr30.c | 395 routines, but a few relocs, we have to do them ourselves. */ 482 The relocs are always passed as Rela structures; if the section 487 necessary, and (if using Rela relocs and generating a relocatable 509 contents, relocs, local_syms, local_sections) 515 Elf_Internal_Rela *relocs; 529 relend = relocs + input_section->reloc_count; 531 for (rel = relocs; rel < relend; rel ++) 676 fr30_elf_gc_sweep_hook (abfd, info, sec, relocs) 680 const Elf_Internal_Rela *relocs ATTRIBUTE_UNUSED; 685 /* Look through the relocs fo [all...] |
H A D | nlm32-i386.c | 164 /* NetWare only supports two kinds of relocs. We should check 166 relocs uses a special_function which does not affect what we do 202 /* NetWare only supports absolute internal relocs. */ 222 /* PC relative relocs on NetWare must be pcrel_offset. */ 239 into a NetWare i386 module. That means that the relocs from the 240 source file have to be mapped into relocs that apply to the target 242 it a chance to rework the relocs. 272 byte relocs here, so we insist on having 4 bytes. */ 311 pc_relative relocs accordingly. We are going to change the 349 bfd_size_type rcount; /* number of relocs */ [all...] |
H A D | elf32-crx.c | 601 irel = elf_section_data (sec)->relocs; 609 /* Adjust all the relocs. */ 610 for (irel = elf_section_data (sec)->relocs; irel < irelend; irel++) 629 for (irel = elf_section_data (sec)->relocs; irel < irelend; irel++) 773 if (elf_section_data (input_section)->relocs != internal_relocs) 786 && elf_section_data (input_section)->relocs != internal_relocs) 796 bfd_byte *contents, Elf_Internal_Rela *relocs, 810 rel = relocs; 811 relend = relocs + input_section->reloc_count; 937 this section does not have relocs, o 794 elf32_crx_relocate_section(bfd *output_bfd, struct bfd_link_info *info, bfd *input_bfd, asection *input_section, bfd_byte *contents, Elf_Internal_Rela *relocs, Elf_Internal_Sym *local_syms, asection **local_sections) argument [all...] |
H A D | aout-tic30.c | 198 tic30_aout_reloc_howto (abfd, relocs, r_index, r_extern, r_pcrel) 200 struct reloc_std_external *relocs; 212 *r_index = ((relocs->r_index[0] << 16) | (relocs->r_index[1] << 8) | relocs->r_index[2]); 213 *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); 219 *r_index = ((relocs->r_index[2] << 16) | (relocs [all...] |
H A D | elf-m10200.c | 333 contents, relocs, local_syms, local_sections) 339 Elf_Internal_Rela *relocs; 353 rel = relocs; 354 relend = relocs + input_section->reloc_count; 478 might make the code simpler if we had different relocs for 501 this section does not have relocs, or if this is not a 601 contents, the section relocs, and the BFD symbol table. We 632 /* Note that we've changed the relocs, section contents, etc. */ 633 elf_section_data (sec)->relocs = internal_relocs; 685 /* Note that we've changed the relocs, sectio [all...] |
H A D | elf32-i370.c | 286 Elf_Internal_Rela *relocs, Elf_Internal_Sym *local_syms, 553 only if there were actually SDAREL relocs for that symbol. */ 647 bfd_boolean relocs; 692 relocs = FALSE; 742 relocs = TRUE; 755 to copy relocs into the output file. */ 815 if (relocs) 873 /* Look through the relocs for a section during the first phase, and 882 i370_elf_check_relocs (abfd, info, sec, relocs) 886 const Elf_Internal_Rela *relocs; 639 bfd_boolean relocs; local [all...] |
H A D | elf32-msp430.c | 252 const Elf_Internal_Rela * relocs ATTRIBUTE_UNUSED) 258 /* Look through the relocs for a section during the first phase. 260 virtual table relocs for gc. */ 264 asection * sec, const Elf_Internal_Rela * relocs) 281 rel_end = relocs + sec->reloc_count; 282 for (rel = relocs; rel < rel_end; rel++) 298 routines, but a few relocs, we have to do them ourselves. */ 427 Elf_Internal_Rela * relocs, 438 relend = relocs + input_section->reloc_count; 440 for (rel = relocs; re 263 elf32_msp430_check_relocs(bfd * abfd, struct bfd_link_info * info, asection * sec, const Elf_Internal_Rela * relocs) argument 422 elf32_msp430_relocate_section(bfd * output_bfd ATTRIBUTE_UNUSED, struct bfd_link_info * info, bfd * input_bfd, asection * input_section, bfd_byte * contents, Elf_Internal_Rela * relocs, Elf_Internal_Sym * local_syms, asection ** local_sections) argument [all...] |
H A D | elf32-h8300.c | 221 /* This structure is used to map BFD reloc codes to H8 ELF relocs. */ 228 /* An array mapping BFD reloc codes to H8 ELF relocs. */ 287 /* Special handling for H8/300 relocs. 403 bfd_byte *contents, Elf_Internal_Rela *relocs, 417 rel = relocs; 418 relend = relocs + input_section->reloc_count; 675 this section does not have relocs, or if this is not a 697 /* Walk through the relocs looking for relaxing opportunities. */ 781 contents, the section relocs, and the BFD symbol table. We 810 /* Note that we've changed the relocs, sectio 400 elf32_h8_relocate_section(bfd *output_bfd, struct bfd_link_info *info, bfd *input_bfd, asection *input_section, bfd_byte *contents, Elf_Internal_Rela *relocs, Elf_Internal_Sym *local_syms, asection **local_sections) argument [all...] |
H A D | nlm32-sparc.c | 203 /* Netware wants a list of relocs for each address. 234 /* Mangle relocs for SPARC NetWare. We can just use the standard 235 SPARC relocs. */ 256 bfd_size_type rcount; /* Number of relocs. */ 288 /* Next, start reading in the relocs. */ 294 sym -> relocs = nlm_relocs; 352 nlm_sparc_write_external (abfd, count, sym, relocs) 356 struct reloc_and_sec *relocs; 374 if (! nlm_sparc_write_reloc (abfd, relocs[i].sec, relocs[ [all...] |
H A D | hp300hpux.c | 147 free_cached_info routine which assumes that the relocs and symtabs 326 /* Write out the symbols, and then the relocs. We must write out 331 /* Skip the relocs to where we want to put the symbols. */ 730 PTR relocs; local 769 relocs = (PTR) bfd_alloc (abfd, reloc_size); 770 if (!relocs && reloc_size != 0) 776 if (bfd_bread (relocs, reloc_size, abfd) != reloc_size) 778 bfd_release (abfd, relocs); 783 rptr = (struct hp300hpux_reloc *) relocs; 793 bfd_release (abfd, relocs); [all...] |
H A D | nlm32-ppc.c | 641 /* Mangle PowerPC NLM relocs for output. */ 662 bfd_size_type rcount; /* number of relocs */ 689 sym -> relocs = nlm_relocs; 898 nlm_powerpc_write_external (abfd, count, sym, relocs) 902 struct reloc_and_sec *relocs; 924 if (! nlm_powerpc_write_import (abfd, relocs[i].sec, relocs[i].rel)) 927 if (! nlm_powerpc_write_reloc (abfd, relocs[i].sec, 928 relocs[i].rel, indx))
|
H A D | elf32-m68k.c | 248 /* The m68k linker needs to keep track of the number of relocs that it 250 can discard PC relative relocs if it doesn't need them when linking 254 /* This structure keeps track of the number of PC relative relocs we have 263 /* Number of relocs copied in this section. */ 273 /* Number of PC relative relocs copied for this symbol. */ 410 /* Look through the relocs for a section during the first phase, and 415 elf_m68k_check_relocs (abfd, info, sec, relocs) 419 const Elf_Internal_Rela *relocs; 443 rel_end = relocs + sec->reloc_count; 444 for (rel = relocs; re 1107 bfd_boolean relocs; local [all...] |
H A D | elf64-mmix.c | 88 /* Number of BPO-relocs in this section. */ 112 which BPO relocs were found. Used to create an index after reloc 117 into the other members. Is FALSE only for BPO relocs in a GC:ed 126 linker; using the same hook as for usual with BPO relocs does not 131 BPO-relocs. */ 135 sorted_indexes. Valid after the check.*relocs functions are called 136 for all incoming sections. It includes the number of BPO relocs in 144 /* The number of linker-allocated GREGs resulting from BPO relocs. 689 when relaxation has done all it can do, these relocs are used. For 1084 If so, we fall through to the bit-fiddling relocs [all...] |
H A D | elf32-xstormy16.c | 415 xstormy16_elf_check_relocs (abfd, info, sec, relocs) 419 const Elf_Internal_Rela *relocs; 437 relend = relocs + sec->reloc_count; 438 for (rel = relocs; rel < relend; ++rel) 761 The relocs are always passed as Rela structures; if the section 766 necessary, and (if using Rela relocs and generating a relocatable 788 contents, relocs, local_syms, local_sections) 794 Elf_Internal_Rela * relocs; 810 relend = relocs + input_section->reloc_count; 817 for (rel = relocs; re [all...] |
H A D | elf32-cris.c | 607 too) needs to keep track of the number of relocs that it decides to 609 PC relative relocs if it doesn't need them when linking with 613 /* This structure keeps track of the number of PC relative relocs we have 622 /* Number of relocs copied in this section. */ 632 /* Number of PC relative relocs copied for this symbol. */ 756 /* Check that the 16-bit GOT relocs are positive. */ 788 contents, relocs, local_syms, local_sections) 794 Elf_Internal_Rela *relocs; 815 relend = relocs + input_section->reloc_count; 827 for (rel = relocs; re 2660 bfd_boolean relocs; local [all...] |
H A D | elf32-dlx.c | 323 /* ELF relocs are against symbols. If we are producing relocatable 519 /* Look through the relocs for a section during the first phase. 521 virtual table relocs for gc. */ 524 elf32_dlx_check_relocs (abfd, info, sec, relocs) 528 const Elf_Internal_Rela *relocs; 544 rel_end = relocs + sec->reloc_count; 545 for (rel = relocs; rel < rel_end; rel++)
|
H A D | elf32-sh-symbian.c | 421 and magle the relocs to allow for symbol renaming. */ 429 Elf_Internal_Rela * relocs, 558 for (rel = relocs, relend = relocs + input_section->reloc_count; 569 /* Ignore unused relocs. */ 577 /* Ignore relocs against local symbols. */ 610 contents, relocs, local_syms, local_sections); 424 sh_symbian_relocate_section(bfd * output_bfd, struct bfd_link_info * info, bfd * input_bfd, asection * input_section, bfd_byte * contents, Elf_Internal_Rela * relocs, Elf_Internal_Sym * local_syms, asection ** local_sections) argument
|
H A D | elf32-vax.c | 378 /* The VAX linker needs to keep track of the number of relocs that it 380 can discard PC relative relocs if it doesn't need them when linking 384 /* This structure keeps track of the number of PC relative relocs we have 393 /* Number of relocs copied in this section. */ 403 /* Number of PC relative relocs copied for this symbol. */ 562 /* Look through the relocs for a section during the first phase, and 567 elf_vax_check_relocs (abfd, info, sec, relocs) 571 const Elf_Internal_Rela *relocs; 593 rel_end = relocs + sec->reloc_count; 594 for (rel = relocs; re 1139 bfd_boolean relocs; local [all...] |