| /freebsd-13.1/contrib/elftoolchain/elfcopy/ |
| H A D | sections.c | 388 if (ish.sh_type == SHT_REL || ish.sh_type == SHT_RELA) in create_scn() 589 (s->type == SHT_REL || s->type == SHT_RELA)) in copy_content() 611 (s->type == SHT_REL || s->type == SHT_RELA)) in copy_content() 752 if (s->type == SHT_REL) { in filter_reloc() 786 if (s->type == SHT_REL) in filter_reloc() 791 if (s->type == SHT_REL) in filter_reloc() 803 if (s->type == SHT_REL) in filter_reloc() 808 if (s->type == SHT_REL) in filter_reloc() 852 if (s->type == SHT_REL) in update_reloc() 904 case SHT_REL: in section_type_alignment() [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-13.1/contrib/elftoolchain/libelf/ |
| H A D | libelf_data.c | 64 case SHT_REL: in _libelf_xlate_shtype()
|
| /freebsd-13.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 | 361 drs->drs_addend ? SHT_RELA : SHT_REL, 0, 0, drs->drs_ref->ds_ndx, in _dwarf_reloc_section_finalize()
|
| /freebsd-13.1/stand/common/ |
| H A D | load_elf_obj.c | 323 case SHT_REL: in __elfN() 523 if (shdr[i].sh_type != SHT_RELA && shdr[i].sh_type != SHT_REL) in __elfN() 546 case SHT_REL: in __elfN()
|
| /freebsd-13.1/contrib/llvm-project/llvm/include/llvm/Object/ |
| H A D | ELFObjectFile.h | 961 if (S->sh_type != ELF::SHT_RELA && S->sh_type != ELF::SHT_REL) in section_rel_end() 980 if (Type != ELF::SHT_REL && Type != ELF::SHT_RELA) in getRelocatedSection() 1000 if (sec->sh_type == ELF::SHT_REL) in getRelocationSymbol() 1017 if (sec->sh_type == ELF::SHT_REL) in getRelocationOffset() 1026 if (sec->sh_type == ELF::SHT_REL) in getRelocationType() 1055 assert(getRelSection(Rel)->sh_type == ELF::SHT_REL); in getRel()
|
| /freebsd-13.1/contrib/llvm-project/llvm/lib/ExecutionEngine/JITLink/ |
| H A D | ELF_x86_64.cpp | 264 if (SecRef.sh_type != ELF::SHT_RELA && SecRef.sh_type != ELF::SHT_REL) in addRelocations() 267 if (SecRef.sh_type == ELF::SHT_REL) in addRelocations()
|
| H A D | ELF_riscv.cpp | 179 if (SecRef.sh_type != ELF::SHT_RELA && SecRef.sh_type != ELF::SHT_REL) in addRelocations()
|
| /freebsd-13.1/contrib/llvm-project/lld/ELF/ |
| H A D | OutputSections.cpp | 418 if (!config->copyRelocs || (type != SHT_RELA && type != SHT_REL)) in finalize() 544 assert(type == SHT_REL || type == SHT_RELA); in checkDynRelAddends()
|
| H A D | MarkLive.cpp | 385 bool isRel = (sec->type == SHT_REL || sec->type == SHT_RELA); in markLive()
|
| H A D | Writer.cpp | 694 if (isec->type == SHT_REL) in markUsedLocalSymbols() 810 if (isec->type == SHT_REL || isec->type == SHT_RELA) in addSectionSymbols() 2986 if (sec->type == SHT_REL || sec->type == SHT_RELA) in writeSections() 2990 if (sec->type != SHT_REL && sec->type != SHT_RELA) in writeSections() 2996 if (sec->type == SHT_REL || sec->type == SHT_RELA) in writeSections()
|
| H A D | InputFiles.cpp | 646 case SHT_REL: in initializeSections() 667 if (sec.sh_type == SHT_REL || sec.sh_type == SHT_RELA) in initializeSections() 946 case SHT_REL: { in createInputSection()
|
| H A D | InputSection.cpp | 400 if (!file || (type != SHT_RELA && type != SHT_REL)) in getRelocatedSection() 1251 if (type == SHT_REL) { in writeTo()
|
| /freebsd-13.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-13.1/contrib/elftoolchain/elfdump/ |
| H A D | elfdump.c | 405 case SHT_REL: return "SHT_REL"; in sh_types() 1782 r.type = SHT_REL; in elf_print_rel() 1810 if ((s->type == SHT_REL || s->type == SHT_RELA) && in elf_print_reloc() 1820 if (s->type == SHT_REL) in elf_print_reloc() 1879 if (s->type != SHT_REL && s->type != SHT_RELA) in find_gotrel() 1895 if (s->type == SHT_REL) { in find_gotrel()
|
| /freebsd-13.1/contrib/llvm-project/llvm/tools/llvm-objcopy/ELF/ |
| H A D | ELFObjcopy.cpp | 372 case SHT_REL: in replaceAndRemoveSections() 629 case SHT_REL: in handleArgs()
|
| H A D | Object.h | 749 return S->OriginalType == ELF::SHT_REL || S->OriginalType == ELF::SHT_RELA; in classof() 790 return S->OriginalType == ELF::SHT_REL || S->OriginalType == ELF::SHT_RELA; in classof() 870 return S->OriginalType == ELF::SHT_REL || S->OriginalType == ELF::SHT_RELA; in classof()
|
| /freebsd-13.1/sys/kern/ |
| H A D | link_elf_obj.c | 412 case SHT_REL: in link_elf_link_preload() 581 case SHT_REL: in link_elf_link_preload() 825 case SHT_REL: in link_elf_load_file() 1137 case SHT_REL: in link_elf_load_file()
|
| /freebsd-13.1/contrib/llvm-project/lldb/source/Plugins/ObjectFile/ELF/ |
| H A D | ObjectFileELF.cpp | 130 if (type == DT_REL || type == SHT_REL) in ELFRelocation() 1636 case SHT_REL: in GetSectionType() 2499 assert(rel_hdr->sh_type == SHT_RELA || rel_hdr->sh_type == SHT_REL); in ParseTrampolineSymbols() 2662 assert(rel_hdr->sh_type == SHT_RELA || rel_hdr->sh_type == SHT_REL); in RelocateDebugSections() 2883 if (I->sh_type == SHT_RELA || I->sh_type == SHT_REL) { in RelocateSection() 3177 CASE_AND_STREAM(s, SHT_REL, kStrWidth); in DumpELFSectionHeader_sh_type()
|
| /freebsd-13.1/contrib/llvm-project/llvm/tools/llvm-objdump/ |
| H A D | ELFDump.cpp | 77 } else if ((*SecOrErr)->sh_type == ELF::SHT_REL) { in getRelocationValueString()
|
| /freebsd-13.1/contrib/llvm-project/llvm/lib/Object/ |
| H A D | ELF.cpp | 266 STRINGIFY_ENUM_CASE(ELF, SHT_REL); in getELFSectionTypeName()
|
| /freebsd-13.1/usr.bin/elfdump/ |
| H A D | elfdump.c | 345 case SHT_REL: return "SHT_REL"; in sh_types() 678 case SHT_REL: in main()
|
| /freebsd-13.1/cddl/contrib/opensolaris/tools/ctf/cvt/ |
| H A D | output.c | 566 if (shdr.sh_type == SHT_REL || shdr.sh_type == SHT_RELA) in write_file()
|
| /freebsd-13.1/sys/sys/ |
| H A D | elf_common.h | 422 #define SHT_REL 9 /* relocation section - no addends */ macro
|