Home
last modified time | relevance | path

Searched refs:SHT_RELA (Results 1 – 25 of 46) sorted by relevance

12

/freebsd/contrib/elftoolchain/libelf/
H A Dlibelf_data.c66 case SHT_RELA: in _libelf_xlate_shtype()
/freebsd/stand/common/
H A Dload_elf_obj.c314 case SHT_RELA: in __elfN()
515 if (shdr[i].sh_type != SHT_RELA && shdr[i].sh_type != SHT_REL) in __elfN()
525 case SHT_RELA: in __elfN()
/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()
736 if (s->type == SHT_RELA) \ in filter_reloc()
905 case SHT_RELA: in section_type_alignment()
1221 if (ish.sh_type == SHT_REL || ish.sh_type == SHT_RELA) in copy_shdr()
1432 if ((s->type == SHT_REL || s->type == SHT_RELA) && in update_shdr()
H A Dsymbols.c289 if (sh.sh_type != SHT_REL && sh.sh_type != SHT_RELA) in mark_reloc_symbols()
616 ((s->type == SHT_REL) || (s->type == SHT_RELA))) in generate_symbols()
/freebsd/lib/libkldelf/
H A Def_obj.c320 case SHT_RELA: in ef_obj_open()
425 case SHT_RELA: in ef_obj_open()
H A Def.c453 case SHT_RELA: in ef_parse_dynamic()
/freebsd/cddl/contrib/opensolaris/lib/libdtrace/common/
H A Ddt_link.c743 shp->sh_type = SHT_RELA; in dump_elf64()
1295 if (shdr_rel.sh_type != SHT_RELA && shdr_rel.sh_type != SHT_REL) in process_obj()
1368 if (shdr_rel.sh_type == SHT_RELA) { in process_obj()
1521 if (shdr_rel.sh_type == SHT_RELA) { in process_obj()
1663 if (shdr_rel.sh_type == SHT_RELA) { in process_obj()
/freebsd/contrib/elftoolchain/elfdump/
H A Delfdump.c400 case SHT_RELA: return "SHT_RELA"; in sh_types()
1714 if (r->type == SHT_RELA) in elf_print_rel_entry()
1730 if (r->type == SHT_RELA) in elf_print_rel_entry()
1751 r.type = SHT_RELA; in elf_print_rela()
1810 if ((s->type == SHT_REL || s->type == SHT_RELA) && in elf_print_reloc()
1879 if (s->type != SHT_REL && s->type != SHT_RELA) in find_gotrel()
/freebsd/contrib/llvm-project/llvm/lib/ExecutionEngine/JITLink/
H A DELF_x86.cpp152 if (RelSect.sh_type == ELF::SHT_RELA) in addRelocations()
H A DELFLinkGraphBuilder.h599 if (RelSect.sh_type != ELF::SHT_RELA) in forEachRelaRelocation()
/freebsd/contrib/llvm-project/llvm/include/llvm/Object/
H A DELFObjectFile.h1071 if (S->sh_type != ELF::SHT_RELA && S->sh_type != ELF::SHT_REL) in section_rel_end()
1090 if (Type != ELF::SHT_REL && Type != ELF::SHT_RELA && Type != ELF::SHT_CREL) in getRelocatedSection()
1163 if (getRelSection(Rel)->sh_type == ELF::SHT_RELA) in getRelocationAddend()
1183 assert(getRelSection(Rela)->sh_type == ELF::SHT_RELA); in getRela()
/freebsd/contrib/llvm-project/llvm/lib/MC/
H A DELFObjectWriter.cpp706 Rela ? ELF::SHT_RELA : ELF::SHT_REL, Flags, in createRelocationSection()
895 case ELF::SHT_RELA: in writeSectionHeader()
990 case ELF::SHT_RELA: in writeSectionHeaders()
/freebsd/sys/kern/
H A Dlink_elf_obj.c426 case SHT_RELA: in link_elf_link_preload()
596 case SHT_RELA: in link_elf_link_preload()
865 case SHT_RELA: in link_elf_load_file()
1191 case SHT_RELA: in link_elf_load_file()
/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()
H A Dlibdwarf_reloc.c369 drs->drs_addend ? SHT_RELA : SHT_REL, 0, 0, drs->drs_ref->ds_ndx, in _dwarf_reloc_section_finalize()
/freebsd/contrib/llvm-project/llvm/lib/Object/
H A DELF.cpp294 STRINGIFY_ENUM_CASE(ELF, SHT_RELA); in getELFSectionTypeName()
1001 if (Sec.sh_type != ELF::SHT_RELA && Sec.sh_type != ELF::SHT_REL && in getSectionAndRelocations()
/freebsd/contrib/llvm-project/lld/ELF/
H A DInputSection.h518 return type == llvm::ELF::SHT_RELA || type == llvm::ELF::SHT_CREL || in isStaticRelSecType()
H A DInputSection.cpp160 sec->type = SHT_RELA; in relsOrRelas()
185 assert(shdr.sh_type == SHT_RELA); in relsOrRelas()
1288 if (LLVM_UNLIKELY(type == SHT_RELA)) { in writeTo()
/freebsd/contrib/llvm-project/llvm/tools/llvm-objdump/
H A DELFDump.cpp118 } else if ((*SecOrErr)->sh_type == ELF::SHT_RELA) { in getRelocationValueString()
/freebsd/contrib/llvm-project/lldb/source/Plugins/ObjectFile/ELF/
H A DObjectFileELF.cpp138 else if (type == DT_RELA || type == SHT_RELA) in ELFRelocation()
1688 case SHT_RELA: in GetSectionType()
2604 assert(rel_hdr->sh_type == SHT_RELA || rel_hdr->sh_type == SHT_REL); in ParseTrampolineSymbols()
2897 assert(rel_hdr->sh_type == SHT_RELA || rel_hdr->sh_type == SHT_REL); in RelocateDebugSections()
3115 if (I->sh_type == SHT_RELA || I->sh_type == SHT_REL) { in RelocateSection()
3413 CASE_AND_STREAM(s, SHT_RELA, kStrWidth); in DumpELFSectionHeader_sh_type()
/freebsd/usr.bin/elfdump/
H A Delfdump.c337 case SHT_RELA: return "SHT_RELA"; in sh_types()
672 case SHT_RELA: in main()
/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/sys/arm64/linux/
H A Dlinux_sysvec.c559 case SHT_RELA: in linux_vdso_reloc()
/freebsd/contrib/llvm-project/llvm/lib/ObjCopy/ELF/
H A DELFObject.h888 return is_contained({ELF::SHT_REL, ELF::SHT_RELA, ELF::SHT_CREL}, in classof()
1020 return S->OriginalType == ELF::SHT_REL || S->OriginalType == ELF::SHT_RELA; in classof()
/freebsd/sys/sys/
H A Delf_common.h437 #define SHT_RELA 4 /* relocation section with addends */ macro

12