Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for ET_REL (0.29 sec)

  1. src/debug/elf/file_test.go

    		},
    		nil,
    		nil,
    	},
    	{
    		"testdata/compressed-32.obj",
    		FileHeader{ELFCLASS32, ELFDATA2LSB, EV_CURRENT, ELFOSABI_NONE, 0x0, binary.LittleEndian, ET_REL, EM_386, 0x0},
    		[]SectionHeader{
    			{"", SHT_NULL, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0},
    			{".text", SHT_PROGBITS, SHF_ALLOC | SHF_EXECINSTR, 0x0, 0x34, 0x17, 0x0, 0x0, 0x1, 0x0, 0x17},
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Sep 22 16:22:42 UTC 2023
    - 60.1K bytes
    - Viewed (0)
  2. src/cmd/link/internal/ld/elf.go

    	} else {
    		eh.Ident[elf.EI_DATA] = byte(elf.ELFDATA2LSB)
    	}
    	eh.Ident[elf.EI_VERSION] = byte(elf.EV_CURRENT)
    
    	if ctxt.LinkMode == LinkExternal {
    		eh.Type = uint16(elf.ET_REL)
    	} else if ctxt.BuildMode == BuildModePIE {
    		eh.Type = uint16(elf.ET_DYN)
    	} else {
    		eh.Type = uint16(elf.ET_EXEC)
    	}
    
    	if ctxt.LinkMode != LinkExternal {
    		eh.Entry = uint64(Entryvalue(ctxt))
    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