Home
last modified time | relevance | path

Searched refs:SHT_NOBITS (Results 1 – 25 of 61) sorted by relevance

123

/freebsd/contrib/elftoolchain/libelf/
H A Dlibelf_chdr.c71 if (sh32->sh_type == SHT_NULL || sh32->sh_type == SHT_NOBITS) { in _libelf_getchdr()
87 if (sh64->sh_type == SHT_NULL || sh64->sh_type == SHT_NOBITS) { in _libelf_getchdr()
H A Delf_data.c97 elftype > ELF_T_LAST || (sh_type != SHT_NOBITS && in elf_getdata()
143 if (sh_type == SHT_NOBITS || sh_size == 0) { in elf_getdata()
260 if (sh_type != SHT_NOBITS && in elf_rawdata()
269 d->d_data.d_buf = (sh_type == SHT_NOBITS || sh_size == 0) ? NULL : in elf_rawdata()
H A Dlibelf_data.c56 case SHT_NOBITS: in _libelf_xlate_shtype()
/freebsd/contrib/elftoolchain/elfcopy/
H A Dpe.c153 if (sh.sh_type == SHT_NOBITS) in create_pe()
180 if (sh.sh_type != SHT_NOBITS) in create_pe()
213 if (sh.sh_type != SHT_NOBITS) { in create_pe()
H A Dbinary.c78 sh.sh_type == SHT_NOBITS || in create_binary()
104 sh.sh_type == SHT_NOBITS || in create_binary()
H A Dsegments.c78 s->type != SHT_NOBITS) in add_to_inseg_list()
301 if (seg->v_sec[i]->type != SHT_NOBITS) in adjust_addr()
541 if (s->type != SHT_NOBITS) in copy_phdr()
H A Dsections.c481 s->type = SHT_NOBITS; in create_scn()
921 case SHT_NOBITS: in section_type_alignment()
953 if (s->seg_tls != NULL && s->type == SHT_NOBITS && in resync_sections()
978 if (s->pseudo || (s->type != SHT_NOBITS && s->type != SHT_NULL)) in resync_sections()
1202 s->type == SHT_NOBITS && s->sz > 0) { in copy_shdr()
1364 if (s->type != SHT_NOBITS && s->type != SHT_NULL) in insert_sections()
H A Dascii.c127 sh.sh_type == SHT_NOBITS || in create_srec()
168 sh.sh_type == SHT_NOBITS || in create_srec()
433 sh.sh_type == SHT_NOBITS || in create_ihex()
/freebsd/contrib/llvm-project/llvm/lib/Target/XCore/
H A DXCoreTargetObjectFile.cpp23 BSSSection = Ctx.getELFSection(".dp.bss", ELF::SHT_NOBITS, in Initialize()
26 BSSSectionLarge = Ctx.getELFSection(".dp.bss.large", ELF::SHT_NOBITS, in Initialize()
67 return ELF::SHT_NOBITS; in getXCoreSectionType()
/freebsd/contrib/llvm-project/llvm/lib/MC/
H A DMCSectionELF.cpp147 else if (Type == ELF::SHT_NOBITS) in printSwitchToSection()
218 return getType() == ELF::SHT_NOBITS; in isVirtualSection()
/freebsd/contrib/llvm-project/llvm/lib/Target/M68k/
H A DM68kTargetObjectFile.cpp46 SmallBSSSection = getContext().getELFSection(".sbss", ELF::SHT_NOBITS, in Initialize()
/freebsd/contrib/llvm-project/llvm/lib/Target/Hexagon/
H A DHexagonTargetObjectFile.cpp121 getContext().getELFSection(".sbss", ELF::SHT_NOBITS, in Initialize()
375 return getContext().getELFSection(Name.str(), ELF::SHT_NOBITS, in selectSmallSectionForGlobal()
390 return getContext().getELFSection(Name.str(), ELF::SHT_NOBITS, in selectSmallSectionForGlobal()
/freebsd/contrib/llvm-project/llvm/lib/MC/MCParser/
H A DELFAsmParser.cpp102 return ParseSectionSwitch(".bss", ELF::SHT_NOBITS, in ParseSectionDirectiveBSS()
118 return ParseSectionSwitch(".tbss", ELF::SHT_NOBITS, in ParseSectionDirectiveTBSS()
642 Type = ELF::SHT_NOBITS; in ParseSectionArguments()
644 Type = ELF::SHT_NOBITS; in ParseSectionArguments()
657 Type = ELF::SHT_NOBITS; in ParseSectionArguments()
/freebsd/contrib/llvm-project/llvm/lib/ObjCopy/ELF/
H A DELFObjcopy.cpp113 if (Sec.Type == ELF::SHT_NOBITS && Type != ELF::SHT_NOBITS) in setSectionType()
128 if (Sec.Type == SHT_NOBITS && in setSectionFlagsAndType()
195 if (Sec.Type == SHT_NOBITS) in dumpSectionToFile()
659 Sec.Type = SHT_NOBITS; in handleArgs()
H A DELFObject.cpp171 if (Sec.Type != SHT_NOBITS) in visit()
1204 if (Sec.Type == SHT_NOBITS) { in sectionWithinSegment()
1735 case SHT_NOBITS: in makeSection()
1789 (Shdr.sh_type == SHT_NOBITS) ? (size_t)0 : Shdr.sh_size); in readSectionHeaders()
2107 if (Parent == nullptr || Sec.Type == SHT_NOBITS || Sec.Size == 0) in writeSegmentData()
2335 if (Sec->Type != SHT_NOBITS) in layoutSections()
2371 if (Sec->Type == SHT_NOBITS) { in layoutSectionsForOnlyKeepDebug()
2412 uint64_t Size = Sec->Type == SHT_NOBITS ? 0 : Sec->Size; in layoutSegmentsForOnlyKeepDebug()
2641 if (Sec.Type != SHT_NOBITS && Sec.Size > 0) in write()
2686 if (Sec.Type != SHT_NOBITS && Sec.Size > 0) in finalize()
[all …]
/freebsd/contrib/llvm-project/llvm/lib/Target/Lanai/
H A DLanaiTargetObjectFile.cpp34 SmallBSSSection = getContext().getELFSection(".sbss", ELF::SHT_NOBITS, in Initialize()
/freebsd/contrib/llvm-project/llvm/lib/Target/RISCV/
H A DRISCVTargetObjectFile.cpp33 SmallBSSSection = getContext().getELFSection(".sbss", ELF::SHT_NOBITS, in Initialize()
/freebsd/contrib/llvm-project/lld/ELF/
H A DWriter.cpp1002 if (osec.type == SHT_NOBITS) in getSectionRank()
1032 if (name == ".sdata" || (osec.type == SHT_NOBITS && name != ".sbss")) in getSectionRank()
1133 if (os->type != SHT_NOBITS) in setReservedSymbolSections()
2354 if ((sec->flags & SHF_TLS) && sec->type == SHT_NOBITS) in needsPtLoad()
2476 (script->hasSectionsCommand || sec->type == SHT_NOBITS || in createPhdrs()
2477 load->lastSec->type != SHT_NOBITS))) { in createPhdrs()
2644 if (os->type == SHT_NOBITS && in computeFileOffset()
2701 if (sec->type != SHT_NOBITS) in assignFileOffsets()
2730 if (sec->type == SHT_NOBITS) in assignFileOffsets()
2765 if (last->type != SHT_NOBITS) in setPhdrs()
[all …]
H A DOutputSections.cpp90 return type == SHT_NOBITS || type == SHT_PROGBITS || type == SHT_INIT_ARRAY || in canMergeToProgbits()
126 if (type != SHT_NOBITS) { in commitSection()
450 if (type == SHT_NOBITS) in writeTo()
759 relOsec->type == SHT_NOBITS in checkDynRelAddends()
H A DTarget.cpp102 if (!isec || !isec->getParent() || (isec->type & SHT_NOBITS)) in getErrorPlace()
/freebsd/contrib/elftoolchain/libdwarf/
H A Dlibdwarf_elf_init.c316 if (sh.sh_type == SHT_NOBITS) in _dwarf_elf_init()
372 if (sh.sh_type == SHT_NOBITS) in _dwarf_elf_init()
/freebsd/contrib/llvm-project/llvm/lib/Target/Mips/
H A DMipsTargetObjectFile.cpp52 SmallBSSSection = getContext().getELFSection(".sbss", ELF::SHT_NOBITS, in Initialize()
/freebsd/usr.sbin/kldxref/
H A Def_obj.c304 case SHT_NOBITS: in ef_obj_open()
385 case SHT_NOBITS: in ef_obj_open()
/freebsd/contrib/llvm-project/llvm/lib/Target/Hexagon/MCTargetDesc/
H A DHexagonMCELFStreamer.cpp109 SectionName, ELF::SHT_NOBITS, ELF::SHF_WRITE | ELF::SHF_ALLOC); in HexagonMCEmitCommonSymbol()
/freebsd/lib/libc/gen/
H A Dnlist.c282 (sh->sh_type == SHT_NOBITS ? N_BSS : N_UNDF); in elf_sym_to_nlist()

123