| /freebsd-12.1/contrib/elftoolchain/elfcopy/ |
| H A D | sections.c | 385 if (ish.sh_type == SHT_REL || ish.sh_type == SHT_RELA) in create_scn() 578 (s->type == SHT_REL || s->type == SHT_RELA)) in copy_content() 600 (s->type == SHT_REL || s->type == SHT_RELA)) in copy_content() 741 if (s->type == SHT_REL) { in filter_reloc() 775 if (s->type == SHT_REL) in filter_reloc() 780 if (s->type == SHT_REL) in filter_reloc() 792 if (s->type == SHT_REL) in filter_reloc() 797 if (s->type == SHT_REL) in filter_reloc() 841 if (s->type == SHT_REL) in update_reloc() 1165 if (ish.sh_type == SHT_REL || ish.sh_type == SHT_RELA) in copy_shdr() [all …]
|
| H A D | symbols.c | 289 if (sh.sh_type != SHT_REL && sh.sh_type != SHT_RELA) in mark_reloc_symbols() 312 if (sh.sh_type == SHT_REL) { in mark_reloc_symbols() 616 ((s->type == SHT_REL) || (s->type == SHT_RELA))) in generate_symbols()
|
| /freebsd-12.1/contrib/elftoolchain/libelf/ |
| H A D | libelf_data.c | 64 case SHT_REL: in _libelf_xlate_shtype()
|
| /freebsd-12.1/stand/common/ |
| H A D | load_elf_obj.c | 290 case SHT_REL: in __elfN() 490 if (shdr[i].sh_type != SHT_RELA && shdr[i].sh_type != SHT_REL) in __elfN() 513 case SHT_REL: in __elfN()
|
| /freebsd-12.1/contrib/elftoolchain/libdwarf/ |
| H A D | libdwarf_elf_init.c | 156 if ((sh.sh_type != SHT_REL && sh.sh_type != SHT_RELA) || in _dwarf_elf_relocate() 178 if (sh.sh_type == SHT_REL) in _dwarf_elf_relocate()
|
| H A D | libdwarf_reloc.c | 355 drs->drs_addend ? SHT_RELA : SHT_REL, 0, 0, drs->drs_ref->ds_ndx, in _dwarf_reloc_section_finalize()
|
| /freebsd-12.1/contrib/llvm/include/llvm/Object/ |
| H A D | ELFObjectFile.h | 796 if (S->sh_type != ELF::SHT_RELA && S->sh_type != ELF::SHT_REL) in section_rel_end() 818 if (Type != ELF::SHT_REL && Type != ELF::SHT_RELA) in getRelocatedSection() 838 if (sec->sh_type == ELF::SHT_REL) in getRelocationSymbol() 855 if (sec->sh_type == ELF::SHT_REL) in getRelocationOffset() 864 if (sec->sh_type == ELF::SHT_REL) in getRelocationType() 893 assert(getRelSection(Rel)->sh_type == ELF::SHT_REL); in getRel()
|
| /freebsd-12.1/contrib/llvm/tools/llvm-objcopy/ELF/ |
| H A D | Object.h | 562 return S->Type == ELF::SHT_REL || S->Type == ELF::SHT_RELA; in classof() 598 return S->Type == ELF::SHT_REL || S->Type == ELF::SHT_RELA; in classof() 669 return S->Type == ELF::SHT_REL || S->Type == ELF::SHT_RELA; in classof()
|
| H A D | Object.cpp | 95 Sec.EntrySize = Sec.Type == SHT_REL ? sizeof(Elf_Rel) : sizeof(Elf_Rela); in visit() 598 if (Sec.Type == SHT_REL) in visit() 1043 case SHT_REL: in makeSection() 1150 if (RelSec->Type == SHT_REL) in readSectionHeaders()
|
| /freebsd-12.1/usr.sbin/kldxref/ |
| H A D | ef_obj.c | 428 case SHT_REL: in ef_obj_open() 565 case SHT_REL: in ef_obj_open()
|
| /freebsd-12.1/contrib/elftoolchain/elfdump/ |
| H A D | elfdump.c | 402 case SHT_REL: return "SHT_REL"; in sh_types() 1779 r.type = SHT_REL; in elf_print_rel() 1807 if ((s->type == SHT_REL || s->type == SHT_RELA) && in elf_print_reloc() 1817 if (s->type == SHT_REL) in elf_print_reloc() 1876 if (s->type != SHT_REL && s->type != SHT_RELA) in find_gotrel() 1892 if (s->type == SHT_REL) { in find_gotrel()
|
| /freebsd-12.1/contrib/llvm/tools/lld/ELF/ |
| H A D | MarkLive.cpp | 306 bool IsRel = (Sec->Type == SHT_REL || Sec->Type == SHT_RELA); in markLive()
|
| H A D | OutputSections.cpp | 307 if (!Config->CopyRelocs || (Type != SHT_RELA && Type != SHT_REL)) in finalize()
|
| H A D | InputSection.cpp | 396 if (!File || (Type != SHT_RELA && Type != SHT_REL)) in getRelocatedSection() 1053 if (Type == SHT_REL) { in writeTo()
|
| /freebsd-12.1/sys/kern/ |
| H A D | link_elf_obj.c | 274 case SHT_REL: in link_elf_link_preload() 418 case SHT_REL: in link_elf_link_preload() 650 case SHT_REL: in link_elf_load_file() 930 case SHT_REL: in link_elf_load_file()
|
| /freebsd-12.1/contrib/binutils/include/elf/ |
| H A D | common.h | 333 #define SHT_REL 9 /* Relocation entries, no addends */ macro
|
| /freebsd-12.1/contrib/binutils/bfd/ |
| H A D | elf.c | 744 || idx->shdr->sh_type == SHT_REL) in _bfd_elf_setup_sections() 2040 case SHT_REL: in bfd_section_from_shdr() 2049 != (bfd_size_type) (hdr->sh_type == SHT_REL in bfd_section_from_shdr() 2406 { STRING_COMMA_LEN (".rel"), -1, SHT_REL, 0 }, 2481 || (rela && spec[i].type == SHT_REL))) in _bfd_elf_get_special_section() 2744 rel_hdr->sh_type = use_rela_p ? SHT_RELA : SHT_REL; in _bfd_elf_init_reloc_shdr() 2847 case SHT_REL: in elf_fake_sections() 3262 case SHT_REL: in assign_section_numbers() 3276 if (d->this_hdr.sh_type == SHT_REL) in assign_section_numbers() 6647 && (elf_section_data (s)->this_hdr.sh_type == SHT_REL in _bfd_elf_get_dynamic_reloc_upper_bound() [all …]
|
| H A D | elfcode.h | 782 || i_shdrp[shindex].sh_type == SHT_REL) in elf_object_p() 877 if ((elf_section_data (s)->this_hdr.sh_type == SHT_REL in elf_object_p() 966 else if (rela_hdr->sh_type == SHT_REL) in elf_write_relocs()
|
| /freebsd-12.1/contrib/llvm/tools/lldb/source/Plugins/ObjectFile/ELF/ |
| H A D | ObjectFileELF.cpp | 158 if (type == DT_REL || type == SHT_REL) in ELFRelocation() 1796 case SHT_REL: in GetSectionType() 2597 assert(rel_hdr->sh_type == SHT_RELA || rel_hdr->sh_type == SHT_REL); in ParseTrampolineSymbols() 2760 assert(rel_hdr->sh_type == SHT_RELA || rel_hdr->sh_type == SHT_REL); in RelocateDebugSections() 2917 if (I->sh_type == SHT_RELA || I->sh_type == SHT_REL) { in RelocateSection() 3225 CASE_AND_STREAM(s, SHT_REL, kStrWidth); in DumpELFSectionHeader_sh_type()
|
| /freebsd-12.1/contrib/llvm/lib/Object/ |
| H A D | ELF.cpp | 241 STRINGIFY_ENUM_CASE(ELF, SHT_REL); in getELFSectionTypeName()
|
| /freebsd-12.1/contrib/llvm/tools/llvm-readobj/ |
| H A D | ELFDumper.cpp | 2283 if (PltRelSec->sh_type == ELF::SHT_REL) { in getPltSym() 2767 if (Sec.sh_type != ELF::SHT_REL && in printRelocations() 2801 case ELF::SHT_REL: in printRelocations() 2892 case SHT_REL: in getSectionTypeString() 3440 printRelocHeader(ELF::SHT_REL); in printDynamicRelocations() 3454 printRelocHeader(ELF::SHT_REL); in printDynamicRelocations() 3472 printRelocHeader(ELF::SHT_REL); in printDynamicRelocations() 4188 if (Sec.sh_type != ELF::SHT_REL && in printRelocations() 4213 case ELF::SHT_REL: in printRelocations()
|
| /freebsd-12.1/usr.bin/elfdump/ |
| H A D | elfdump.c | 335 case SHT_REL: return "SHT_REL"; in sh_types() 655 case SHT_REL: in main()
|
| /freebsd-12.1/contrib/llvm/lib/ObjectYAML/ |
| H A D | ELFYAML.cpp | 441 ECase(SHT_REL); in enumeration() 894 case ELF::SHT_REL: in mapping()
|
| /freebsd-12.1/contrib/llvm/include/llvm/BinaryFormat/ |
| H A D | ELF.h | 821 SHT_REL = 9, // Relocation entries; no explicit addends. enumerator
|
| /freebsd-12.1/cddl/contrib/opensolaris/tools/ctf/cvt/ |
| H A D | output.c | 568 if (shdr.sh_type == SHT_REL || shdr.sh_type == SHT_RELA) in write_file()
|