Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 3 of 3 for SHT_PROGBITS (0.1 sec)

  1. 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)
  2. 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)
  3. src/cmd/cgo/internal/testcarchive/carchive_test.go

    		return
    	}
    	defer ef.Close()
    
    	// Verify section types.
    	for _, sec := range ef.Sections {
    		want := elf.SHT_NULL
    		switch sec.Name {
    		case ".text", ".data":
    			want = elf.SHT_PROGBITS
    		case ".bss":
    			want = elf.SHT_NOBITS
    		case ".symtab":
    			want = elf.SHT_SYMTAB
    		case ".strtab":
    			want = elf.SHT_STRTAB
    		case ".init_array":
    			want = elf.SHT_INIT_ARRAY
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Oct 12 00:43:51 UTC 2023
    - 34.8K bytes
    - Viewed (0)
Back to top