Search Options

Results per page
Sort
Preferred Languages
Advance

Results 51 - 60 of 212 for reloc (0.05 sec)

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

    	var hostImports []*wasmFunc
    	hostImportMap := make(map[loader.Sym]int64)
    	for _, fn := range ctxt.Textp {
    		relocs := ldr.Relocs(fn)
    		for ri := 0; ri < relocs.Count(); ri++ {
    			r := relocs.At(ri)
    			if r.Type() == objabi.R_WASMIMPORT {
    				if lsym, ok := ldr.WasmImportSym(fn); ok {
    					wi := readWasmImport(ldr, lsym)
    					hostImportMap[fn] = int64(len(hostImports))
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Jan 22 16:17:48 UTC 2024
    - 21.9K bytes
    - Viewed (0)
  2. src/cmd/internal/obj/sym.go

    	fninfo := fsym.Func()
    	pc := &fninfo.Pcln
    	if flag&traverseAux == 0 {
    		// NB: should it become necessary to walk aux sym reloc references
    		// without walking the aux syms themselves, this can be changed.
    		panic("should not be here")
    	}
    	for _, d := range pc.Funcdata {
    		if d != nil {
    			fn(fsym, d)
    		}
    	}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 15 14:41:10 UTC 2024
    - 14.1K bytes
    - Viewed (0)
  3. src/cmd/link/internal/ld/elf.go

    			continue
    		}
    		if ldr.SymValue(s) >= int64(eaddr) {
    			break
    		}
    
    		// Compute external relocations on the go, and pass to
    		// ELF.Reloc1 to stream out.
    		relocs := ldr.Relocs(s)
    		for ri := 0; ri < relocs.Count(); ri++ {
    			r := relocs.At(ri)
    			rr, ok := extreloc(ctxt, ldr, s, r)
    			if !ok {
    				continue
    			}
    			if rr.Xsym == 0 {
    				ldr.Errorf(s, "missing xsym in relocation")
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Apr 22 13:29:54 UTC 2024
    - 63.6K bytes
    - Viewed (0)
  4. src/cmd/link/internal/loadmacho/ldmacho.go

    }
    
    func macholoadrel(m *ldMachoObj, sect *ldMachoSect) int {
    	if sect.rel != nil || sect.nreloc == 0 {
    		return 0
    	}
    	rel := make([]ldMachoRel, sect.nreloc)
    	m.f.MustSeek(m.base+int64(sect.reloff), 0)
    	buf, _, err := m.f.Slice(uint64(sect.nreloc * 8))
    	if err != nil {
    		return -1
    	}
    	for i := uint32(0); i < sect.nreloc; i++ {
    		r := &rel[i]
    		p := buf[i*8:]
    		r.addr = m.e.Uint32(p)
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 12 18:45:57 UTC 2022
    - 19.1K bytes
    - Viewed (0)
  5. src/cmd/internal/obj/link.go

    // It represents Go symbols in a flat pkg+"."+name namespace.
    type LSym struct {
    	Name string
    	Type objabi.SymKind
    	Attribute
    
    	Size   int64
    	Gotype *LSym
    	P      []byte
    	R      []Reloc
    
    	Extra *interface{} // *FuncInfo, *VarInfo, *FileInfo, or *TypeInfo, if present
    
    	Pkg    string
    	PkgIdx int32
    	SymIdx int32
    }
    
    // A FuncInfo contains extra fields for STEXT symbols.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 15 19:57:43 UTC 2024
    - 33.1K bytes
    - Viewed (0)
  6. src/cmd/link/internal/loadpe/ldpe.go

    	arch := importSymsState.arch
    	keeprelocneeded := make(map[loader.Sym]loader.Sym)
    	for _, s := range importSymsState.secSyms {
    		isText := ldr.SymType(s) == sym.STEXT
    		relocs := ldr.Relocs(s)
    		for i := 0; i < relocs.Count(); i++ {
    			r := relocs.At(i)
    			rs := r.Sym()
    			if ldr.SymType(rs) == sym.SDYNIMPORT {
    				// Tag the symbol for later stub generation.
    				ldr.SetPlt(rs, CreateImportStubPltToken)
    				continue
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Dec 18 20:26:46 UTC 2023
    - 26.5K bytes
    - Viewed (0)
  7. src/cmd/link/internal/ld/lib.go

    	return ldr.SymValue(s)
    }
    
    func (ctxt *Link) callgraph() {
    	if !*FlagC {
    		return
    	}
    
    	ldr := ctxt.loader
    	for _, s := range ctxt.Textp {
    		relocs := ldr.Relocs(s)
    		for i := 0; i < relocs.Count(); i++ {
    			r := relocs.At(i)
    			rs := r.Sym()
    			if rs == 0 {
    				continue
    			}
    			if r.Type().IsDirectCall() && ldr.SymType(rs) == sym.STEXT {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue May 21 18:45:27 UTC 2024
    - 88.6K bytes
    - Viewed (0)
  8. src/debug/pe/file_test.go

    				{0x0, 0x0},
    				{0x0, 0x0},
    				{0x0, 0x0},
    				{0x0, 0x0},
    				{0x0, 0x0},
    			}},
    		sections: []*SectionHeader{
    			{".setup", 0x41e0, 0x200, 0x41e0, 0x200, 0x0, 0x0, 0x0, 0x0, 0x60500020},
    			{".reloc", 0x20, 0x43e0, 0x20, 0x43e0, 0x0, 0x0, 0x0, 0x0, 0x42100040},
    			{".text", 0x7bc390, 0x4400, 0x7bc390, 0x4400, 0x0, 0x0, 0x0, 0x0, 0x60500020},
    			{".bss", 0x168f870, 0x7c0790, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0xc8000080},
    		},
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon May 01 02:25:16 UTC 2023
    - 22.3K bytes
    - Viewed (0)
  9. src/cmd/go/go_test.go

    			t.Error("PIE must have PIE flag, but not")
    		}
    	case "windows":
    		f, err := pe.Open(obj)
    		if err != nil {
    			t.Fatal(err)
    		}
    		defer f.Close()
    		if f.Section(".reloc") == nil {
    			t.Error(".reloc section is not present")
    		}
    		if (f.FileHeader.Characteristics & pe.IMAGE_FILE_RELOCS_STRIPPED) != 0 {
    			t.Error("IMAGE_FILE_RELOCS_STRIPPED flag is set")
    		}
    		var dc uint16
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 01:00:11 UTC 2024
    - 81.1K bytes
    - Viewed (0)
  10. src/cmd/vendor/golang.org/x/tools/internal/stdlib/manifest.go

    		{"RegsAMD64.R9", Field, 0},
    		{"RegsAMD64.SI", Field, 0},
    		{"RegsAMD64.SP", Field, 0},
    		{"Reloc", Type, 10},
    		{"Reloc.Addr", Field, 10},
    		{"Reloc.Extern", Field, 10},
    		{"Reloc.Len", Field, 10},
    		{"Reloc.Pcrel", Field, 10},
    		{"Reloc.Scattered", Field, 10},
    		{"Reloc.Type", Field, 10},
    		{"Reloc.Value", Field, 10},
    		{"RelocTypeARM", Type, 10},
    		{"RelocTypeARM64", Type, 10},
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Apr 02 02:20:05 UTC 2024
    - 534.2K bytes
    - Viewed (0)
Back to top