Home
last modified time | relevance | path

Searched refs:SHT_REL (Results 1 – 25 of 47) sorted by relevance

12

/freebsd/contrib/elftoolchain/elfcopy/
H A Dsections.c388 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()
813 s->sz = gelf_fsize(ecp->eout, (s->type == SHT_REL ? ELF_T_REL : in filter_reloc()
852 if (s->type == SHT_REL) in update_reloc()
[all …]
H A Dsymbols.c289 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/contrib/elftoolchain/libelf/
H A Dlibelf_data.c64 case SHT_REL: in _libelf_xlate_shtype()
/freebsd/stand/common/
H A Dload_elf_obj.c318 case SHT_REL: in __elfN()
520 if (shdr[i].sh_type != SHT_RELA && shdr[i].sh_type != SHT_REL) in __elfN()
543 case SHT_REL: in __elfN()
/freebsd/contrib/elftoolchain/libdwarf/
H A Dlibdwarf_elf_init.c157 if ((sh.sh_type != SHT_REL && sh.sh_type != SHT_RELA) || in _dwarf_elf_relocate()
186 if (sh.sh_type == SHT_REL) in _dwarf_elf_relocate()
H A Dlibdwarf_reloc.c361 drs->drs_addend ? SHT_RELA : SHT_REL, 0, 0, drs->drs_ref->ds_ndx, in _dwarf_reloc_section_finalize()
/freebsd/lib/libkldelf/
H A Def_obj.c317 case SHT_REL: in ef_obj_open()
416 case SHT_REL: in ef_obj_open()
H A Def.c436 case SHT_REL: in ef_parse_dynamic()
/freebsd/contrib/llvm-project/llvm/include/llvm/Object/
H A DELFObjectFile.h1066 if (S->sh_type != ELF::SHT_RELA && S->sh_type != ELF::SHT_REL) in section_rel_end()
1085 if (Type != ELF::SHT_REL && Type != ELF::SHT_RELA && Type != ELF::SHT_CREL) in getRelocatedSection()
1107 else if (sec->sh_type == ELF::SHT_REL) in getRelocationSymbol()
1126 if (sec->sh_type == ELF::SHT_REL) in getRelocationOffset()
1137 if (sec->sh_type == ELF::SHT_REL) in getRelocationType()
1168 assert(getRelSection(Rel)->sh_type == ELF::SHT_REL); in getRel()
/freebsd/contrib/elftoolchain/elfdump/
H A Delfdump.c405 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/contrib/llvm-project/llvm/lib/ExecutionEngine/JITLink/
H A DELF_x86_64.cpp113 if (RelSect.sh_type == ELF::SHT_REL) in addRelocations()
H A DELF_ppc64.cpp211 if (RelSect.sh_type == ELF::SHT_REL) in addSingleRelocation()
212 return make_error<StringError>("No SHT_REL in valid " + in addSingleRelocation()
H A DELFLinkGraphBuilder.h648 if (RelSect.sh_type != ELF::SHT_REL) in forEachRelRelocation()
/freebsd/sys/kern/
H A Dlink_elf_obj.c416 case SHT_REL: in link_elf_link_preload()
586 case SHT_REL: in link_elf_link_preload()
854 case SHT_REL: in link_elf_load_file()
1165 case SHT_REL: in link_elf_load_file()
/freebsd/contrib/llvm-project/llvm/lib/Object/
H A DELF.cpp297 STRINGIFY_ENUM_CASE(ELF, SHT_REL); in getELFSectionTypeName()
957 if (Sec.sh_type != ELF::SHT_RELA && Sec.sh_type != ELF::SHT_REL) in getSectionAndRelocations()
/freebsd/contrib/llvm-project/lld/ELF/
H A DOutputSections.cpp125 if (type == SHT_REL) { in commitSection()
664 if (relSec->type == SHT_REL) { in relToCrel()
H A DInputSection.h496 type == llvm::ELF::SHT_REL; in isStaticRelSecType()
/freebsd/contrib/llvm-project/lldb/source/Plugins/ObjectFile/ELF/
H A DObjectFileELF.cpp135 if (type == DT_REL || type == SHT_REL) in ELFRelocation()
1724 case SHT_REL: in GetSectionType()
2640 assert(rel_hdr->sh_type == SHT_RELA || rel_hdr->sh_type == SHT_REL); in ParseTrampolineSymbols()
2933 assert(rel_hdr->sh_type == SHT_RELA || rel_hdr->sh_type == SHT_REL); in RelocateDebugSections()
3138 if (I->sh_type == SHT_RELA || I->sh_type == SHT_REL) { in RelocateSection()
3432 CASE_AND_STREAM(s, SHT_REL, kStrWidth); in DumpELFSectionHeader_sh_type()
/freebsd/contrib/llvm-project/llvm/tools/llvm-objdump/
H A DELFDump.cpp115 } else if ((*SecOrErr)->sh_type == ELF::SHT_REL) { in getRelocationValueString()
/freebsd/contrib/llvm-project/llvm/lib/ObjCopy/ELF/
H A DELFObject.cpp129 Sec.EntrySize = Sec.Type == SHT_REL ? sizeof(Elf_Rel) : sizeof(Elf_Rela); in visit()
891 case SHT_REL: in getNamePrefix()
992 } else if (Sec.Type == SHT_REL) { in visit()
1709 case SHT_REL: in makeSection()
1897 } else if (RelSec->Type == SHT_REL) { in readSections()
H A DELFObject.h884 return is_contained({ELF::SHT_REL, ELF::SHT_RELA, ELF::SHT_CREL}, in classof()
1016 return S->OriginalType == ELF::SHT_REL || S->OriginalType == ELF::SHT_RELA; in classof()
/freebsd/usr.bin/elfdump/
H A Delfdump.c342 case SHT_REL: return "SHT_REL"; in sh_types()
675 case SHT_REL: in main()
/freebsd/sys/arm64/linux/
H A Dlinux_sysvec.c552 case SHT_REL: in linux_vdso_reloc()
/freebsd/cddl/contrib/opensolaris/tools/ctf/cvt/
H A Doutput.c566 if (shdr.sh_type == SHT_REL || shdr.sh_type == SHT_RELA) in write_file()
/freebsd/contrib/llvm-project/llvm/lib/MC/
H A DELFObjectWriter.cpp703 Rela ? ELF::SHT_RELA : ELF::SHT_REL, Flags, in createRelocationSection()
890 case ELF::SHT_REL: in writeSection()

12