Search Options

Results per page
Sort
Preferred Languages
Advance

Results 51 - 60 of 120 for kldsym (0.23 sec)

  1. src/cmd/link/internal/arm64/asm.go

    	case objabi.R_ARM64_GOTPCREL:
    		out.Write64(uint64(elf.R_AARCH64_ADR_GOT_PAGE) | uint64(elfsym)<<32)
    		out.Write64(uint64(r.Xadd))
    		out.Write64(uint64(sectoff + 4))
    		out.Write64(uint64(elf.R_AARCH64_LD64_GOT_LO12_NC) | uint64(elfsym)<<32)
    	case objabi.R_CALLARM64:
    		if siz != 4 {
    			return false
    		}
    		out.Write64(uint64(elf.R_AARCH64_CALL26) | uint64(elfsym)<<32)
    
    	}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Jan 30 20:09:45 UTC 2024
    - 47K bytes
    - Viewed (0)
  2. src/cmd/link/internal/ld/pe.go

    	// Add special runtime.text and runtime.etext symbols.
    	s := ldr.Lookup("runtime.text", 0)
    	if ldr.SymType(s) == sym.STEXT {
    		addsym(s)
    	}
    	s = ldr.Lookup("runtime.etext", 0)
    	if ldr.SymType(s) == sym.STEXT {
    		addsym(s)
    	}
    
    	// Add text symbols.
    	for _, s := range ctxt.Textp {
    		addsym(s)
    	}
    
    	shouldBeInSymbolTable := func(s loader.Sym) bool {
    		if ldr.AttrNotInSymbolTable(s) {
    			return false
    		}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Nov 09 19:01:27 UTC 2023
    - 48.8K bytes
    - Viewed (0)
  3. src/runtime/vdso_elf32.go

    // Use of this source code is governed by a BSD-style
    // license that can be found in the LICENSE file.
    
    //go:build linux && (386 || arm)
    
    package runtime
    
    // ELF32 structure definitions for use by the vDSO loader
    
    type elfSym struct {
    	st_name  uint32
    	st_value uint32
    	st_size  uint32
    	st_info  byte
    	st_other byte
    	st_shndx uint16
    }
    
    type elfVerdef struct {
    	vd_version uint16 /* Version revision */
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Oct 28 18:17:57 UTC 2021
    - 2.8K bytes
    - Viewed (0)
  4. src/cmd/compile/internal/ssagen/pgen.go

    }
    
    // globalMapInitLsyms records the LSym of each map.init.NNN outlined
    // map initializer function created by the compiler.
    var globalMapInitLsyms map[*obj.LSym]struct{}
    
    // RegisterMapInitLsym records "s" in the set of outlined map initializer
    // functions.
    func RegisterMapInitLsym(s *obj.LSym) {
    	if globalMapInitLsyms == nil {
    		globalMapInitLsyms = make(map[*obj.LSym]struct{})
    	}
    	globalMapInitLsyms[s] = struct{}{}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 15 15:44:14 UTC 2024
    - 13.1K bytes
    - Viewed (0)
  5. src/cmd/compile/internal/types/sym.go

    // allows using Sym pointer equality to test for Go identifier uniqueness when
    // handling selector expressions.
    //
    // Ideally, Sym should be used for representing Go language constructs,
    // while cmd/internal/obj.LSym is used for representing emitted artifacts.
    //
    // NOTE: In practice, things can be messier than the description above
    // for various reasons (historical, convenience).
    type Sym struct {
    	Linkname string // link name
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Jan 26 21:56:56 UTC 2023
    - 4.2K bytes
    - Viewed (0)
  6. src/cmd/compile/internal/ssa/rewrite.go

    func symIsRO(sym interface{}) bool {
    	lsym := sym.(*obj.LSym)
    	return lsym.Type == objabi.SRODATA && len(lsym.R) == 0
    }
    
    // symIsROZero reports whether sym is a read-only global whose data contains all zeros.
    func symIsROZero(sym Sym) bool {
    	lsym := sym.(*obj.LSym)
    	if lsym.Type != objabi.SRODATA || len(lsym.R) != 0 {
    		return false
    	}
    	for _, b := range lsym.P {
    		if b != 0 {
    			return false
    		}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Jun 07 19:02:52 UTC 2024
    - 64.2K bytes
    - Viewed (0)
  7. src/cmd/internal/obj/line_test.go

    package obj
    
    import (
    	"cmd/internal/src"
    	"fmt"
    	"testing"
    )
    
    func TestGetFileSymbolAndLine(t *testing.T) {
    	ctxt := new(Link)
    	ctxt.hash = make(map[string]*LSym)
    	ctxt.statichash = make(map[string]*LSym)
    
    	afile := src.NewFileBase("a.go", "a.go")
    	bfile := src.NewFileBase("b.go", "/foo/bar/b.go")
    	lfile := src.NewLinePragmaBase(src.MakePos(afile, 8, 1), "linedir", "linedir", 100, 1)
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Sep 01 15:52:41 UTC 2023
    - 1.2K bytes
    - Viewed (0)
  8. src/cmd/compile/internal/typecheck/syms.go

    // must follow the internal calling convention.
    func LookupRuntimeFunc(name string) *obj.LSym {
    	return LookupRuntimeABI(name, obj.ABIInternal)
    }
    
    // LookupRuntimeVar looks up a variable (or assembly function) name in package
    // runtime. If this is a function, it may have a special calling
    // convention.
    func LookupRuntimeVar(name string) *obj.LSym {
    	return LookupRuntimeABI(name, obj.ABI0)
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Aug 22 21:17:13 UTC 2023
    - 3.7K bytes
    - Viewed (0)
  9. src/cmd/internal/obj/x86/seh.go

    	b.off += 4
    }
    
    func (b *sehbuf) writecode(op, value uint8) {
    	b.write8(value<<4 | op)
    }
    
    // populateSeh generates the SEH unwind information for s.
    func populateSeh(ctxt *obj.Link, s *obj.LSym) (sehsym *obj.LSym) {
    	if s.NoFrame() {
    		return
    	}
    
    	// This implementation expects the following function prologue layout:
    	// - Stack split code (optional)
    	// - PUSHQ	BP
    	// - MOVQ	SP,	BP
    	//
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 15 14:41:10 UTC 2024
    - 4.6K bytes
    - Viewed (0)
  10. src/cmd/link/internal/ld/macho.go

    			if ldr.SymType(s) == sym.STEXT {
    				addsym(s)
    			}
    		}
    		for n := range Segtext.Sections[1:] {
    			s := ldr.Lookup(fmt.Sprintf("runtime.text.%d", n+1), 0)
    			if s != 0 {
    				addsym(s)
    			} else {
    				break
    			}
    		}
    		if !ctxt.DynlinkingGo() {
    			s := ldr.Lookup("runtime.etext", 0)
    			if ldr.SymType(s) == sym.STEXT {
    				addsym(s)
    			}
    		}
    	}
    
    	// Add text symbols.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon May 20 15:32:53 UTC 2024
    - 43.9K bytes
    - Viewed (0)
Back to top