- Sort Score
- Result 10 results
- Languages All
Results 1 - 6 of 6 for SHT_PROGBITS (0.15 sec)
-
src/cmd/link/internal/ld/elf.go
} if elf.Machine(eh.Machine) == elf.EM_PPC64 { sh := elfshname(".glink") sh.Type = uint32(elf.SHT_PROGBITS) sh.Flags = uint64(elf.SHF_ALLOC + elf.SHF_EXECINSTR) sh.Addralign = 4 shsym(sh, ldr, ldr.Lookup(".glink", 0)) } sh = elfshname(".plt") sh.Type = uint32(elf.SHT_PROGBITS) sh.Flags = uint64(elf.SHF_ALLOC + elf.SHF_EXECINSTR) if elf.Machine(eh.Machine) == elf.EM_X86_64 {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon Apr 22 13:29:54 UTC 2024 - 63.6K bytes - Viewed (0) -
src/cmd/link/internal/loadelf/ldelf.go
if err != nil { // TODO(dfc) should this return an error? log.Printf("%s: %v", pn, err) } if found { ehdrFlags = newEhdrFlags } } if (sect.type_ != elf.SHT_PROGBITS && sect.type_ != elf.SHT_NOBITS) || sect.flags&elf.SHF_ALLOC == 0 { continue } if sect.type_ != elf.SHT_NOBITS { if err := elfmap(elfobj, sect); err != nil {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri Feb 16 15:12:12 UTC 2024 - 33.9K bytes - Viewed (0) -
src/cmd/link/internal/ld/elf_test.go
// List of interesting sections. Here "interesting" means progbits/dynamic // and loadable (has an address), nonzero size. secs := []*elf.Section{} for _, s := range elfFile.Sections { if s.Type != elf.SHT_PROGBITS && s.Type != elf.SHT_DYNAMIC { continue } if s.Addr == 0 || s.Size == 0 { continue } secs = append(secs, s) } secOverlaps := func(s1, s2 *elf.Section) bool { st1 := s1.Addr
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri May 10 13:44:07 UTC 2024 - 16.6K bytes - Viewed (0) -
src/debug/elf/elf.go
func (i SectionIndex) GoString() string { return stringName(uint32(i), shnStrings, true) } // Section type. type SectionType uint32 const ( SHT_NULL SectionType = 0 /* inactive */ SHT_PROGBITS SectionType = 1 /* program defined information */ SHT_SYMTAB SectionType = 2 /* symbol table section */ SHT_STRTAB SectionType = 3 /* string table section */
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue Apr 16 00:01:16 UTC 2024 - 134.6K bytes - Viewed (0) -
src/cmd/link/internal/ld/lib.go
} } func readelfsymboldata(ctxt *Link, f *elf.File, sym *elf.Symbol) []byte { data := make([]byte, sym.Size) sect := f.Sections[sym.Section] if sect.Type != elf.SHT_PROGBITS && sect.Type != elf.SHT_NOTE { Errorf(nil, "reading %s from non-data section", sym.Name) } n, err := sect.ReadAt(data, int64(sym.Value-sect.Addr)) if uint64(n) != sym.Size {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue May 21 18:45:27 UTC 2024 - 88.6K bytes - Viewed (0) -
src/cmd/vendor/golang.org/x/tools/internal/stdlib/manifest.go
{"SHT_LOUSER", Const, 0}, {"SHT_MIPS_ABIFLAGS", Const, 17}, {"SHT_NOBITS", Const, 0}, {"SHT_NOTE", Const, 0}, {"SHT_NULL", Const, 0}, {"SHT_PREINIT_ARRAY", Const, 0}, {"SHT_PROGBITS", Const, 0}, {"SHT_REL", Const, 0}, {"SHT_RELA", Const, 0}, {"SHT_SHLIB", Const, 0}, {"SHT_STRTAB", Const, 0}, {"SHT_SYMTAB", Const, 0}, {"SHT_SYMTAB_SHNDX", Const, 0},
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue Apr 02 02:20:05 UTC 2024 - 534.2K bytes - Viewed (0)