Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 50 for relocs (0.26 sec)

  1. src/debug/pe/section.go

    	if err != nil {
    		return nil, fmt.Errorf("fail to seek to %q section relocations: %v", sh.Name, err)
    	}
    	relocs := make([]Reloc, sh.NumberOfRelocations)
    	err = binary.Read(r, binary.LittleEndian, relocs)
    	if err != nil {
    		return nil, fmt.Errorf("fail to read section relocations: %v", err)
    	}
    	return relocs, nil
    }
    
    // SectionHeader is similar to [SectionHeader32] with Name
    // field replaced by Go string.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Oct 18 19:33:30 UTC 2023
    - 3.5K bytes
    - Viewed (0)
  2. src/cmd/internal/objfile/goobj.go

    		}
    
    		sym := Sym{
    			Name: name,
    			Addr: uint64(r.DataOff(i)),
    			Size: int64(osym.Siz()),
    			Code: code,
    		}
    
    		relocs := r.Relocs(i)
    		sym.Relocs = make([]Reloc, len(relocs))
    		for j := range relocs {
    			rel := &relocs[j]
    			sym.Relocs[j] = Reloc{
    				Addr: uint64(r.DataOff(i)) + uint64(rel.Off()),
    				Size: uint64(rel.Siz()),
    				Stringer: goobjReloc{
    					Off:  rel.Off(),
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Aug 15 15:39:57 UTC 2023
    - 7.8K bytes
    - Viewed (0)
  3. src/cmd/link/internal/ld/inittask.go

    	var q []loader.Sym
    	for _, p := range roots {
    		m[p] = 0
    		q = append(q, p)
    	}
    	for len(q) > 0 {
    		x := q[len(q)-1]
    		q = q[:len(q)-1]
    		relocs := ldr.Relocs(x)
    		n := relocs.Count()
    		ndeps := 0
    		for i := 0; i < n; i++ {
    			r := relocs.At(i)
    			if r.Type() != objabi.R_INITORDER {
    				continue
    			}
    			ndeps++
    			s := r.Sym()
    			edges = append(edges, edge{from: x, to: s})
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Jan 30 20:09:45 UTC 2024
    - 6.2K bytes
    - Viewed (0)
  4. src/cmd/link/internal/loadpe/seh.go

    	rels := ldr.Relocs(pdata)
    	if rels.Count()%3 != 0 {
    		return fmt.Errorf(".pdata symbol %q has invalid relocation count", ldr.SymName(pdata))
    	}
    	for i := 0; i < rels.Count(); i += 3 {
    		xrel := rels.At(i + 2)
    		handler := findHandlerInXDataAMD64(ldr, xrel.Sym(), xrel.Add())
    		if handler != 0 {
    			sb := ldr.MakeSymbolUpdater(rels.At(i).Sym())
    			r, _ := sb.AddRel(objabi.R_KEEP)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Nov 22 16:20:28 UTC 2023
    - 3.4K bytes
    - Viewed (0)
  5. src/cmd/link/internal/ld/seh.go

    			off = xdata.Size()
    			uwcache[name] = off
    			xdata.AddBytes(ldr.Data(uw))
    			// The SEH unwind data can contain relocations,
    			// make sure those are copied over.
    			rels := ldr.Relocs(uw)
    			for i := 0; i < rels.Count(); i++ {
    				r := rels.At(i)
    				rel, _ := xdata.AddRel(r.Type())
    				rel.SetOff(int32(off) + r.Off())
    				rel.SetSiz(r.Siz())
    				rel.SetSym(r.Sym())
    				rel.SetAdd(r.Add())
    			}
    		}
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Nov 09 19:01:27 UTC 2023
    - 2K bytes
    - Viewed (0)
  6. src/cmd/link/internal/loadxcoff/ldxcoff.go

    		// TODO(aix): Dwarf section relocation if needed
    		if sect.Type != xcoff.STYP_TEXT && sect.Type != xcoff.STYP_DATA {
    			continue
    		}
    		sb := l.MakeSymbolUpdater(sect.sym)
    		for _, rx := range sect.Relocs {
    			rSym := l.LookupOrCreateCgoExport(rx.Symbol.Name, 0)
    			if uint64(int32(rx.VirtualAddress)) != rx.VirtualAddress {
    				return errorf("virtual address of a relocation is too big: 0x%x", rx.VirtualAddress)
    			}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Dec 14 17:22:18 UTC 2023
    - 6.2K bytes
    - Viewed (0)
  7. src/cmd/link/internal/sym/reloc.go

    Jes Cok <******@****.***> 1693260993 +0000
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Aug 29 15:33:31 UTC 2023
    - 1.7K bytes
    - Viewed (0)
  8. src/cmd/link/internal/mips/obj.go

    			Linuxdynld:     "/lib/ld.so.1",
    			LinuxdynldMusl: musl,
    
    			Freebsddynld:   "XXX",
    			Openbsddynld:   "XXX",
    			Netbsddynld:    "XXX",
    			Dragonflydynld: "XXX",
    			Solarisdynld:   "XXX",
    
    			Reloc1:    elfreloc1,
    			RelocSize: 8,
    			SetupPLT:  elfsetupplt,
    
    			// Historically GNU ld creates a read-only
    			// .dynamic section.
    			DynamicReadOnly: true,
    		},
    	}
    
    	return arch, theArch
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Dec 14 17:22:18 UTC 2023
    - 3.3K bytes
    - Viewed (0)
  9. pkg/kubeapiserver/authorizer/reload.go

    	// kube-apiserver does report webhook metrics
    	webhookmetrics.WebhookMetrics
    	// kube-apiserver does report matchCondition metrics
    	cel.MatcherMetrics
    }
    
    // runReload starts checking the config file for changes and reloads the authorizer when it changes.
    // Blocks until ctx is complete.
    func (r *reloadableAuthorizerResolver) runReload(ctx context.Context) {
    	metrics.RegisterMetrics()
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Mar 04 19:01:15 UTC 2024
    - 9.3K bytes
    - Viewed (0)
  10. src/cmd/link/internal/mips/asm.go

    	}
    
    	return val, 0, false
    }
    
    func archrelocvariant(*ld.Target, *loader.Loader, loader.Reloc, sym.RelocVariant, loader.Sym, int64, []byte) int64 {
    	return -1
    }
    
    func extreloc(target *ld.Target, ldr *loader.Loader, r loader.Reloc, s loader.Sym) (loader.ExtReloc, bool) {
    	switch r.Type() {
    	case objabi.R_ADDRMIPS, objabi.R_ADDRMIPSU:
    		return ld.ExtrelocViaOuterSym(ldr, r, s), true
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Aug 23 05:58:20 UTC 2023
    - 5.5K bytes
    - Viewed (0)
Back to top