Home
last modified time | relevance | path

Searched refs:SHT_NOBITS (Results 1 – 25 of 62) 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()
/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/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/Target/M68k/
H A DM68kTargetObjectFile.cpp46 SmallBSSSection = getContext().getELFSection(".sbss", ELF::SHT_NOBITS, in Initialize()
/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/lld/ELF/
H A DWriter.cpp722 ? (osec.type == SHT_NOBITS ? 1 : RF_LARGE_ALT) in getSectionRank()
729 if (osec.type == SHT_NOBITS) in getSectionRank()
759 if (name == ".sdata" || (osec.type == SHT_NOBITS && name != ".sbss")) in getSectionRank()
860 if (os->type != SHT_NOBITS && !isLarge(os)) in setReservedSymbolSections()
2140 if ((sec->flags & SHF_TLS) && sec->type == SHT_NOBITS) in needsPtLoad()
2264 (script->hasSectionsCommand || sec->type == SHT_NOBITS || in createPhdrs()
2265 load->lastSec->type != SHT_NOBITS)) { in createPhdrs()
2446 if (os->type == SHT_NOBITS && in computeFileOffset()
2463 return sec.type != SHT_NOBITS && (sec.flags & SHF_ALLOC) && sec.size > 0; in assignFileOffsetsBinary()
2503 if (sec->type != SHT_NOBITS) in assignFileOffsets()
[all …]
H A DOutputSections.cpp91 return type == SHT_NOBITS || type == SHT_PROGBITS || type == SHT_INIT_ARRAY || in canMergeToProgbits()
139 if (type != SHT_NOBITS) { in commitSection()
482 if (type == SHT_NOBITS) in writeTo()
901 relOsec->type == SHT_NOBITS in checkDynRelAddends()
H A DTarget.cpp103 if (!isec || !isec->getParent() || (isec->type & SHT_NOBITS)) in getErrorPlace()
/freebsd/contrib/llvm-project/llvm/include/llvm/MC/
H A DMCSectionELF.h62 type == ELF::SHT_NOBITS, Begin), in MCSectionELF()
/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()
197 if (Sec.Type == SHT_NOBITS) in dumpSectionToFile()
751 Sec.Type = SHT_NOBITS; in handleArgs()
H A DELFObject.cpp190 if (Sec.Type != SHT_NOBITS) in visit()
1230 if (Sec.Type == SHT_NOBITS) { in sectionWithinSegment()
1767 case SHT_NOBITS: in makeSection()
1821 (Shdr.sh_type == SHT_NOBITS) ? (size_t)0 : Shdr.sh_size); in readSectionHeaders()
2146 if (Parent == nullptr || Sec.Type == SHT_NOBITS || Sec.Size == 0) in writeSegmentData()
2383 if (Sec->Type != SHT_NOBITS) in layoutSections()
2419 if (Sec->Type == SHT_NOBITS) { in layoutSectionsForOnlyKeepDebug()
2460 uint64_t Size = Sec->Type == SHT_NOBITS ? 0 : Sec->Size; in layoutSegmentsForOnlyKeepDebug()
2689 if (Sec.Type != SHT_NOBITS && Sec.Size > 0) in write()
2734 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/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/contrib/llvm-project/llvm/lib/Target/RISCV/
H A DRISCVTargetObjectFile.cpp34 SmallBSSSection = getContext().getELFSection(".sbss", ELF::SHT_NOBITS, in Initialize()
/freebsd/contrib/llvm-project/llvm/lib/MC/
H A DMCSectionELF.cpp145 else if (Type == ELF::SHT_NOBITS) in printSwitchToSection()
/freebsd/lib/libkldelf/
H A Def_obj.c309 case SHT_NOBITS: in ef_obj_open()
390 case SHT_NOBITS: in ef_obj_open()
/freebsd/lib/libc/gen/
H A Dnlist.c282 (sh->sh_type == SHT_NOBITS ? N_BSS : N_UNDF); in elf_sym_to_nlist()
/freebsd/contrib/llvm-project/llvm/lib/Target/Hexagon/MCTargetDesc/
H A DHexagonMCELFStreamer.cpp111 SectionName, ELF::SHT_NOBITS, ELF::SHF_WRITE | ELF::SHF_ALLOC); in HexagonMCEmitCommonSymbol()

123