Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for getElfEhdr (0.08 sec)

  1. src/cmd/link/internal/ld/elf.go

    	e.shnum = elf.SectionIndex(ehdr.Shnum)
    	if ehdr.Shnum >= NSECT {
    		Errorf(nil, "too many shdrs")
    	} else {
    		shdr[ehdr.Shnum] = e
    		ehdr.Shnum++
    	}
    
    	return e
    }
    
    func getElfEhdr() *ElfEhdr {
    	return &ehdr
    }
    
    func elf64writehdr(out *OutBuf) uint32 {
    	out.Write(ehdr.Ident[:])
    	out.Write16(uint16(ehdr.Type))
    	out.Write16(uint16(ehdr.Machine))
    	out.Write32(uint32(ehdr.Version))
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Apr 22 13:29:54 UTC 2024
    - 63.6K bytes
    - Viewed (0)
Back to top