Home
last modified time | relevance | path

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

12

/freebsd-11-stable/contrib/elftoolchain/elfcopy/
HDsections.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 …]
HDsymbols.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-11-stable/contrib/elftoolchain/libelf/
HDlibelf_data.c64 case SHT_REL: in _libelf_xlate_shtype()
/freebsd-11-stable/stand/common/
HDload_elf_obj.c283 case SHT_REL: in __elfN()
483 if (shdr[i].sh_type != SHT_RELA && shdr[i].sh_type != SHT_REL) in __elfN()
506 case SHT_REL: in __elfN()
/freebsd-11-stable/contrib/elftoolchain/libdwarf/
HDlibdwarf_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()
HDlibdwarf_reloc.c361 drs->drs_addend ? SHT_RELA : SHT_REL, 0, 0, drs->drs_ref->ds_ndx, in _dwarf_reloc_section_finalize()
/freebsd-11-stable/contrib/llvm-project/llvm/include/llvm/Object/
HDELFObjectFile.h832 if (S->sh_type != ELF::SHT_RELA && S->sh_type != ELF::SHT_REL) in section_rel_end()
854 if (Type != ELF::SHT_REL && Type != ELF::SHT_RELA) in getRelocatedSection()
874 if (sec->sh_type == ELF::SHT_REL) in getRelocationSymbol()
891 if (sec->sh_type == ELF::SHT_REL) in getRelocationOffset()
900 if (sec->sh_type == ELF::SHT_REL) in getRelocationType()
929 assert(getRelSection(Rel)->sh_type == ELF::SHT_REL); in getRel()
/freebsd-11-stable/usr.sbin/kldxref/
HDef_obj.c424 case SHT_REL: in ef_obj_open()
561 case SHT_REL: in ef_obj_open()
/freebsd-11-stable/contrib/elftoolchain/elfdump/
HDelfdump.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-11-stable/sys/kern/
HDlink_elf_obj.c272 case SHT_REL: in link_elf_link_preload()
416 case SHT_REL: in link_elf_link_preload()
644 case SHT_REL: in link_elf_load_file()
923 case SHT_REL: in link_elf_load_file()
/freebsd-11-stable/contrib/llvm-project/llvm/tools/llvm-objcopy/ELF/
HDObject.h733 return S->OriginalType == ELF::SHT_REL || S->OriginalType == ELF::SHT_RELA; in classof()
773 return S->OriginalType == ELF::SHT_REL || S->OriginalType == ELF::SHT_RELA; in classof()
849 return S->OriginalType == ELF::SHT_REL || S->OriginalType == ELF::SHT_RELA; in classof()
HDELFObjcopy.cpp469 case SHT_REL: in replaceAndRemoveSections()
655 case SHT_REL: in handleArgs()
HDObject.cpp105 Sec.EntrySize = Sec.Type == SHT_REL ? sizeof(Elf_Rel) : sizeof(Elf_Rela); in visit()
881 if (Sec.Type == SHT_REL) in visit()
1455 case SHT_REL: in makeSection()
1602 if (RelSec->Type == SHT_REL) in readSections()
/freebsd-11-stable/contrib/binutils/include/elf/
HDcommon.h333 #define SHT_REL 9 /* Relocation entries, no addends */ macro
/freebsd-11-stable/contrib/llvm-project/lld/ELF/
HDMarkLive.cpp370 bool isRel = (sec->type == SHT_REL || sec->type == SHT_RELA); in markLive()
HDOutputSections.cpp379 if (!config->copyRelocs || (type != SHT_RELA && type != SHT_REL)) in finalize()
HDInputSection.cpp399 if (!file || (type != SHT_RELA && type != SHT_REL)) in getRelocatedSection()
1126 if (type == SHT_REL) { in writeTo()
/freebsd-11-stable/contrib/binutils/bfd/
HDelf.c744 || 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()
2111 || elf_elfsections (abfd)[hdr->sh_info]->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()
[all …]
HDelfcode.h782 || 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-11-stable/contrib/llvm-project/lldb/source/Plugins/ObjectFile/ELF/
HDObjectFileELF.cpp126 if (type == DT_REL || type == SHT_REL) in ELFRelocation()
1618 case SHT_REL: in GetSectionType()
2482 assert(rel_hdr->sh_type == SHT_RELA || rel_hdr->sh_type == SHT_REL); in ParseTrampolineSymbols()
2645 assert(rel_hdr->sh_type == SHT_RELA || rel_hdr->sh_type == SHT_REL); in RelocateDebugSections()
2856 if (I->sh_type == SHT_RELA || I->sh_type == SHT_REL) { in RelocateSection()
3144 CASE_AND_STREAM(s, SHT_REL, kStrWidth); in DumpELFSectionHeader_sh_type()
/freebsd-11-stable/contrib/llvm-project/llvm/lib/Object/
HDELF.cpp240 STRINGIFY_ENUM_CASE(ELF, SHT_REL); in getELFSectionTypeName()
/freebsd-11-stable/contrib/llvm-project/llvm/tools/llvm-objdump/
HDELFDump.cpp74 } else if ((*SecOrErr)->sh_type != ELF::SHT_REL) { in getRelocationValueString()
/freebsd-11-stable/usr.bin/elfdump/
HDelfdump.c335 case SHT_REL: return "SHT_REL"; in sh_types()
659 case SHT_REL: in main()
/freebsd-11-stable/cddl/contrib/opensolaris/tools/ctf/cvt/
HDoutput.c568 if (shdr.sh_type == SHT_REL || shdr.sh_type == SHT_RELA) in write_file()
/freebsd-11-stable/sys/sys/
HDelf_common.h400 #define SHT_REL 9 /* relocation section - no addends */ macro

12