Home
last modified time | relevance | path

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

12

/freebsd-13.1/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()
852 if (s->type == SHT_REL) in update_reloc()
904 case SHT_REL: in section_type_alignment()
[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-13.1/contrib/elftoolchain/libelf/
H A Dlibelf_data.c64 case SHT_REL: in _libelf_xlate_shtype()
/freebsd-13.1/contrib/elftoolchain/libdwarf/
H A Dlibdwarf_elf_init.c156 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 Dlibdwarf_reloc.c361 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 Dload_elf_obj.c323 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 DELFObjectFile.h961 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 DELF_x86_64.cpp264 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 DELF_riscv.cpp179 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 DOutputSections.cpp418 if (!config->copyRelocs || (type != SHT_RELA && type != SHT_REL)) in finalize()
544 assert(type == SHT_REL || type == SHT_RELA); in checkDynRelAddends()
H A DMarkLive.cpp385 bool isRel = (sec->type == SHT_REL || sec->type == SHT_RELA); in markLive()
H A DWriter.cpp694 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 DInputFiles.cpp646 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 DInputSection.cpp400 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 Def_obj.c428 case SHT_REL: in ef_obj_open()
565 case SHT_REL: in ef_obj_open()
/freebsd-13.1/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-13.1/contrib/llvm-project/llvm/tools/llvm-objcopy/ELF/
H A DELFObjcopy.cpp372 case SHT_REL: in replaceAndRemoveSections()
629 case SHT_REL: in handleArgs()
H A DObject.h749 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 Dlink_elf_obj.c412 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 DObjectFileELF.cpp130 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 DELFDump.cpp77 } else if ((*SecOrErr)->sh_type == ELF::SHT_REL) { in getRelocationValueString()
/freebsd-13.1/contrib/llvm-project/llvm/lib/Object/
H A DELF.cpp266 STRINGIFY_ENUM_CASE(ELF, SHT_REL); in getELFSectionTypeName()
/freebsd-13.1/usr.bin/elfdump/
H A Delfdump.c345 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 Doutput.c566 if (shdr.sh_type == SHT_REL || shdr.sh_type == SHT_RELA) in write_file()
/freebsd-13.1/sys/sys/
H A Delf_common.h422 #define SHT_REL 9 /* relocation section - no addends */ macro

12