Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 3 of 3 for Shndx (0.04 sec)

  1. src/debug/elf/file.go

    		sym.Size = f.ByteOrder.Uint32(data[8:12])
    		sym.Info = data[12]
    		sym.Other = data[13]
    		sym.Shndx = f.ByteOrder.Uint16(data[14:16])
    		str, _ := getString(strdata, int(sym.Name))
    		symbols[i].Name = str
    		symbols[i].Info = sym.Info
    		symbols[i].Other = sym.Other
    		symbols[i].Section = SectionIndex(sym.Shndx)
    		symbols[i].Value = uint64(sym.Value)
    		symbols[i].Size = uint64(sym.Size)
    		i++
    		data = data[Sym32Size:]
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Apr 23 16:49:58 UTC 2024
    - 43.1K bytes
    - Viewed (0)
  2. src/debug/elf/elf.go

    func R_INFO32(sym, typ uint32) uint32 { return sym<<8 | typ }
    
    // ELF32 Symbol.
    type Sym32 struct {
    	Name  uint32
    	Value uint32
    	Size  uint32
    	Info  uint8
    	Other uint8
    	Shndx uint16
    }
    
    const Sym32Size = 16
    
    func ST_BIND(info uint8) SymBind { return SymBind(info >> 4) }
    func ST_TYPE(info uint8) SymType { return SymType(info & 0xF) }
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Apr 16 00:01:16 UTC 2024
    - 134.6K bytes
    - Viewed (0)
  3. src/cmd/link/internal/ld/elf.go

    			t = elf.ST_INFO(elf.STB_GLOBAL, elf.STT_FUNC)
    		} else {
    			t = elf.ST_INFO(elf.STB_GLOBAL, elf.STT_OBJECT)
    		}
    		d.AddUint8(t)
    		d.AddUint8(0)
    
    		/* shndx */
    		if st == sym.SDYNIMPORT {
    			d.AddUint16(target.Arch, uint16(elf.SHN_UNDEF))
    		} else {
    			d.AddUint16(target.Arch, 1)
    		}
    	}
    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