Searched refs:rela (Results 1 - 25 of 36) sorted by relevance

12

/haiku-fatelf/src/system/runtime_loader/arch/ppc/
H A Darch_relocate.cpp54 if (image->rela) {
60 // printf("rela: type %d\n", ELF32_R_TYPE(image->rela[i].r_info));
/haiku-fatelf/src/system/runtime_loader/arch/x86_64/
H A Darch_relocate.cpp80 if (image->rela) {
81 status = relocate_rela(rootImage, image, image->rela, image->rela_len,
/haiku-fatelf/headers/private/kernel/boot/
H A Delf.h54 FixedWidthPointer<Elf32_Rela> rela; member in struct:preloaded_elf32_image
71 FixedWidthPointer<Elf64_Rela> rela; member in struct:preloaded_elf64_image
/haiku-fatelf/headers/private/kernel/
H A Delf_priv.h49 elf_rela* rela; member in struct:elf_image_info
/haiku-fatelf/src/bin/gdb/bfd/
H A Delf32-cris.c1046 will create a .rela.got relocation entry to
1081 s = bfd_get_section_by_name (dynobj, ".rela.got");
1260 BFD_ASSERT (strncmp (name, ".rela", 5) == 0
1431 Elf_Internal_Rela rela;
1461 srela = bfd_get_section_by_name (dynobj, ".rela.plt");
1507 /* Fill in the entry in the .rela.plt section. */
1508 rela.r_offset = (sgotplt->output_section->vma
1511 rela.r_info = ELF32_R_INFO (h->dynindx, R_CRIS_JUMP_SLOT);
1512 rela.r_addend = 0;
1514 bfd_elf32_swap_reloca_out (output_bfd, &rela, lo
1424 Elf_Internal_Rela rela; local
1543 Elf_Internal_Rela rela; local
1586 Elf_Internal_Rela rela; local
[all...]
H A Delf32-m68k.c487 srelgot = bfd_get_section_by_name (dynobj, ".rela.got");
490 srelgot = bfd_make_section (dynobj, ".rela.got");
657 BFD_ASSERT (strncmp (name, ".rela", 5) == 0
833 srelgot = bfd_get_section_by_name (dynobj, ".rela.got");
1013 /* We also need to make an entry in the .rela.plt section. */
1014 s = bfd_get_section_by_name (dynobj, ".rela.plt");
1063 .rela.bss section we are going to use. */
1068 srel = bfd_get_section_by_name (dynobj, ".rela.bss");
1126 /* We may have created entries in the .rela.got section.
1128 not actually use these entries. Reset the size of .rela
1774 Elf_Internal_Rela rela; local
1863 Elf_Internal_Rela rela; local
1909 Elf_Internal_Rela rela; local
[all...]
H A Delf32-vax.c375 0, 0, 0, 0, /* index into .rela.plt */
632 srelgot = bfd_get_section_by_name (dynobj, ".rela.got");
635 srelgot = bfd_make_section (dynobj, ".rela.got");
757 BFD_ASSERT (strncmp (name, ".rela", 5) == 0
1044 /* We also need to make an entry in the .rela.plt section. */
1046 s = bfd_get_section_by_name (dynobj, ".rela.plt");
1095 .rela.bss section we are going to use. */
1100 srel = bfd_get_section_by_name (dynobj, ".rela.bss");
1159 /* We may have created entries in the .rela.got and .got sections.
1161 not actually use these entries. Reset the size of .rela
1863 Elf_Internal_Rela rela; local
1929 Elf_Internal_Rela rela; local
1968 Elf_Internal_Rela rela; local
[all...]
H A Delf64-sparc.c390 Elf_Internal_Rela rela;
392 bfd_elf64_swap_reloca_in (abfd, native_relocs, &rela);
399 relent->address = rela.r_offset;
401 relent->address = rela.r_offset - asect->vma;
403 if (ELF64_R_SYM (rela.r_info) == 0)
409 ps = symbols + ELF64_R_SYM (rela.r_info) - 1;
419 relent->addend = rela.r_addend;
421 BFD_ASSERT (ELF64_R_TYPE_ID (rela.r_info) < (unsigned int) R_SPARC_max_std);
422 if (ELF64_R_TYPE_ID (rela.r_info) == R_SPARC_OLO10)
428 relent->addend = ELF64_R_TYPE_DATA (rela
388 Elf_Internal_Rela rela; local
2698 Elf_Internal_Rela rela; local
2753 Elf_Internal_Rela rela; local
2797 Elf_Internal_Rela rela; local
[all...]
H A Delf64-x86-64.c446 /* Create .got, .gotplt, and .rela.got sections in DYNOBJ, and set up
463 htab->srelgot = bfd_make_section (dynobj, ".rela.got");
474 /* Create .plt, .rela.plt, .got, .got.plt, .rela.got, .dynbss, and
475 .rela.bss sections in DYNOBJ, and set up shortcuts to them in our
491 htab->srelplt = bfd_get_section_by_name (dynobj, ".rela.plt");
494 htab->srelbss = bfd_get_section_by_name (dynobj, ".rela.bss");
878 if (strncmp (name, ".rela", 5) != 0
1326 /* We also need to make an entry in the .rela.plt section. */
1628 else if (strncmp (bfd_get_section_name (dynobj, s), ".rela",
2474 Elf_Internal_Rela rela; local
2557 Elf_Internal_Rela rela; local
2599 Elf_Internal_Rela rela; local
2632 elf64_x86_64_reloc_type_class(const Elf_Internal_Rela *rela) argument
[all...]
H A Delf64-mips.c2049 Elf64_Mips_Internal_Rela rela;
2056 &rela);
2060 &rela);
2075 type = (enum elf_mips_reloc_type) rela.r_type;
2078 type = (enum elf_mips_reloc_type) rela.r_type2;
2081 type = (enum elf_mips_reloc_type) rela.r_type3;
2099 if (rela.r_sym == 0)
2105 ps = symbols + rela.r_sym - 1;
2117 switch (rela.r_ssym)
2150 relent->address = rela
2044 Elf64_Mips_Internal_Rela rela; local
[all...]
H A Delfcode.h1264 Elf_Internal_Rela rela;
1267 elf_swap_reloca_in (abfd, native_relocs, &rela);
1269 elf_swap_reloc_in (abfd, native_relocs, &rela);
1276 relent->address = rela.r_offset;
1278 relent->address = rela.r_offset - asect->vma;
1280 if (ELF_R_SYM (rela.r_info) == 0)
1282 else if (ELF_R_SYM (rela.r_info) > symcount)
1286 abfd->filename, asect->name, i, ELF_R_SYM (rela.r_info));
1293 ps = symbols + ELF_R_SYM (rela.r_info) - 1;
1303 relent->addend = rela
1261 Elf_Internal_Rela rela; local
[all...]
H A Delf32-m32r.c1708 /* Create .got, .gotplt, and .rela.got sections in DYNOBJ, and set up
1728 htab->srelgot = bfd_make_section (dynobj, ".rela.got");
1799 bed->default_use_rela_p ? ".rela.plt" : ".rel.plt");
1824 strcpy (relname, ".rela");
1864 ? ".rela.bss" : ".rel.bss"));
2063 .rela.bss section we are going to use. */
2432 else if (strncmp (bfd_get_section_name (dynobj, s), ".rela", 5) == 0)
2450 output file. This is mostly to handle .rela.bss and
2451 .rela.plt. We must create both sections in
2922 When doing a dynamic link, we create a .rela
3308 Elf_Internal_Rela rela; local
3406 Elf_Internal_Rela rela; local
3452 Elf_Internal_Rela rela; local
[all...]
H A Delf32-s390.c786 /* Create .got, .gotplt, and .rela.got sections in DYNOBJ, and set up
805 htab->srelgot = bfd_make_section (dynobj, ".rela.got");
816 /* Create .plt, .rela.plt, .got, .got.plt, .rela.got, .dynbss, and
817 .rela.bss sections in DYNOBJ, and set up shortcuts to them in our
835 htab->srelplt = bfd_get_section_by_name (dynobj, ".rela.plt");
838 htab->srelbss = bfd_get_section_by_name (dynobj, ".rela.bss");
1265 if (strncmp (name, ".rela", 5) != 0
1785 /* We also need to make an entry in the .rela.plt section. */
2096 else if (strncmp (bfd_get_section_name (dynobj, s), ".rela",
3068 Elf_Internal_Rela rela; local
3207 Elf_Internal_Rela rela; local
3252 Elf_Internal_Rela rela; local
[all...]
H A Delf32-sparc.c722 /* Create .got and .rela.got sections in DYNOBJ, and set up
740 htab->srelgot = bfd_make_section (dynobj, ".rela.got");
751 /* Create .plt, .rela.plt, .got, .rela.got, .dynbss, and
752 .rela.bss sections in DYNOBJ, and set up shortcuts to them in our
770 htab->srelplt = bfd_get_section_by_name (dynobj, ".rela.plt");
773 htab->srelbss = bfd_get_section_by_name (dynobj, ".rela.bss");
1201 BFD_ASSERT (strncmp (name, ".rela", 5) == 0
1660 /* We also need to make an entry in the .rela.plt section. */
1962 if (strncmp (name, ".rela",
3061 Elf_Internal_Rela rela; local
3114 Elf_Internal_Rela rela; local
3159 Elf_Internal_Rela rela; local
[all...]
H A Delf64-s390.c739 /* Create .got, .gotplt, and .rela.got sections in DYNOBJ, and set up
758 htab->srelgot = bfd_make_section (dynobj, ".rela.got");
769 /* Create .plt, .rela.plt, .got, .got.plt, .rela.got, .dynbss, and
770 .rela.bss sections in DYNOBJ, and set up shortcuts to them in our
788 htab->srelplt = bfd_get_section_by_name (dynobj, ".rela.plt");
791 htab->srelbss = bfd_get_section_by_name (dynobj, ".rela.bss");
1230 if (strncmp (name, ".rela", 5) != 0
1757 /* We also need to make an entry in the .rela.plt section. */
2067 else if (strncmp (bfd_get_section_name (dynobj, s), ".rela",
3065 Elf_Internal_Rela rela; local
3150 Elf_Internal_Rela rela; local
3194 Elf_Internal_Rela rela; local
[all...]
H A Delf32-ppc.c2547 When doing a dynamic link, we create a .rela.<xxx>
2662 rel_name = ".rela.sdata";
2668 rel_name = ".rela.sdata2";
2798 htab->relgot = bfd_make_section (abfd, ".rela.got");
2810 /* We have to create .dynsbss and .rela.sbss here so that they get mapped
2812 to create .dynbss and .rela.bss). */
2841 htab->relbss = bfd_get_section_by_name (abfd, ".rela.bss");
2842 htab->relsbss = s = bfd_make_section (abfd, ".rela.sbss");
2849 htab->relplt = bfd_get_section_by_name (abfd, ".rela.plt");
2986 .rela
4435 Elf_Internal_Rela rela; local
4483 Elf_Internal_Rela rela; local
5776 ppc_elf_reloc_type_class(const Elf_Internal_Rela *rela) argument
[all...]
H A Delf32-xtensa.c439 /* Given an ELF "rela" relocation, find the corresponding howto and record
1093 /* Create ".rela.got". */
1094 s = bfd_make_section (dynobj, ".rela.got");
1305 /* Allocate space in ".rela.got" for literals that reference
1307 srelgot = bfd_get_section_by_name (dynobj, ".rela.got");
1315 ".rela.got" for R_XTENSA_RELATIVE relocs for literals that
1320 /* Allocate space in ".rela.plt" for literals that have PLT entries. */
1321 srelplt = bfd_get_section_by_name (dynobj, ".rela.plt");
1328 /* Allocate space in ".plt" to match the size of ".rela.plt". For
1331 literals, two corresponding entries in ".rela
2838 elf_xtensa_reloc_type_class(const Elf_Internal_Rela *rela) argument
4073 Elf_Internal_Rela rela; member in struct:r_reloc_struct
[all...]
H A Delf64-ppc.c3689 htab->relbrlt = bfd_make_section_anyway (dynobj, ".rela.branch_lt");
3698 /* Create .got and .rela.got sections in ABFD, and .got in dynobj if
3727 relgot = bfd_make_section (abfd, ".rela.got");
3752 htab->relplt = bfd_get_section_by_name (dynobj, ".rela.plt");
3755 htab->relbss = bfd_get_section_by_name (dynobj, ".rela.bss");
4615 if (strncmp (name, ".rela", 5) != 0
5579 .rela.bss section we are going to use. */
6674 /* We also need to make an entry in the .rela.plt section. */
7022 else if (strncmp (bfd_get_section_name (dynobj, s), ".rela", 5) == 0)
7027 output file. This is mostly to handle .rela
7390 Elf_Internal_Rela rela; local
10002 Elf_Internal_Rela rela; local
10035 Elf_Internal_Rela rela; local
10067 ppc64_elf_reloc_type_class(const Elf_Internal_Rela *rela) argument
[all...]
H A Delflink.c289 bed->default_use_rela_p ? ".rela.plt" : ".rel.plt");
326 ? ".rela.bss" : ".rel.bss"));
5615 Elf_Internal_Rela rela[1];
5632 if ((a->rela->r_info & a->u.sym_mask) < (b->rela->r_info & b->u.sym_mask))
5634 if ((a->rela->r_info & a->u.sym_mask) > (b->rela->r_info & b->u.sym_mask))
5636 if (a->rela->r_offset < b->rela->r_offset)
5638 if (a->rela
5605 Elf_Internal_Rela rela[1]; member in struct:elf_link_sort_rela
[all...]
H A Delf64-hppa.c524 BFD_ASSERT ((strncmp (srel_name, ".rela", 5) == 0
1396 .rela.dlt:
1402 .rela.plt:
1408 .rela.opd:
1430 s = bfd_make_section(abfd, ".rela.dlt");
1441 s = bfd_make_section(abfd, ".rela.plt");
1452 s = bfd_make_section(abfd, ".rela.data");
1463 s = bfd_make_section(abfd, ".rela.opd");
1659 /* We may have created entries in the .rela.got section.
1661 not actually use these entries. Reset the size of .rela
[all...]
/haiku-fatelf/src/system/runtime_loader/arch/x86/
H A Darch_relocate.cpp130 if (image->rela) {
136 // printf("rela: type %d\n", ELF32_R_TYPE(image->rela[i].r_info));
/haiku-fatelf/src/system/runtime_loader/arch/m68k/
H A Darch_relocate.cpp297 if (image->rela) {
298 status = relocate_rela(rootImage, image, image->rela, image->rela_len,
307 // printf("rela: type %d\n", ELF32_R_TYPE(image->rela[i].r_info));
/haiku-fatelf/headers/private/runtime_loader/
H A Druntime_loader.h109 elf_rela *rela; member in struct:image_t
/haiku-fatelf/src/system/boot/loader/
H A Delf.cpp418 if (image->rela) {
419 TRACE(("total %i rela relocs\n",
421 status = boot_arch_elf_relocate_rela(image, image->rela,
566 image->rela = 0;
594 image->rela = (RelaType*)Class::Map(d[i].d_un.d_ptr
/haiku-fatelf/src/system/boot/platform/bios_ia32/
H A Dlong.cpp250 fix_address(image->rela);

Completed in 303 milliseconds

12