Search Options

Results per page
Sort
Preferred Languages
Advance

Results 41 - 50 of 269 for relocs (0.14 sec)

  1. src/debug/pe/file.go

    		}
    		s.sr = io.NewSectionReader(r2, int64(s.SectionHeader.Offset), int64(s.SectionHeader.Size))
    		s.ReaderAt = s.sr
    		f.Sections[i] = s
    	}
    	for i := range f.Sections {
    		var err error
    		f.Sections[i].Relocs, err = readRelocs(&f.Sections[i].SectionHeader, sr)
    		if err != nil {
    			return nil, err
    		}
    	}
    
    	return f, nil
    }
    
    type nobitsSectionReader struct{}
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Oct 18 19:33:30 UTC 2023
    - 17.2K bytes
    - Viewed (0)
  2. src/cmd/internal/obj/objfile.go

    	}
    	// TODO: hashedrefs unused/unsupported for now
    
    	// Reloc indexes
    	h.Offsets[goobj.BlkRelocIdx] = w.Offset()
    	nreloc := uint32(0)
    	lists := [][]*LSym{ctxt.defs, ctxt.hashed64defs, ctxt.hasheddefs, ctxt.nonpkgdefs}
    	for _, list := range lists {
    		for _, s := range list {
    			w.Uint32(nreloc)
    			nreloc += uint32(len(s.R))
    		}
    	}
    	w.Uint32(nreloc)
    
    	// Symbol Info indexes
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 15 19:57:43 UTC 2024
    - 24K bytes
    - Viewed (0)
  3. 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)
  4. src/cmd/link/link_test.go

    	}
    
    	// Sift through the output; we should not be seeing any R_TLS_LE relocs.
    	scanner := bufio.NewScanner(bytes.NewReader(out))
    	for scanner.Scan() {
    		line := scanner.Text()
    		if strings.Contains(line, "R_TLS_LE") {
    			t.Errorf("objdump output contains unexpected R_TLS_LE reloc: %s", line)
    		}
    	}
    }
    
    const testStrictDupGoSrc = `
    package main
    func f()
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 24 20:26:02 UTC 2024
    - 43.5K bytes
    - Viewed (0)
  5. 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)
  6. src/internal/pkgbits/reloc.go

    David Chase <******@****.***> 1660068422 -0400
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Aug 10 22:22:48 UTC 2022
    - 835 bytes
    - Viewed (0)
  7. src/cmd/internal/obj/x86/asm6.go

    	nrelocs0 := len(s.R)
    	for {
    		// This loop continues while there are reasons to re-assemble
    		// whole block, like the presence of long forward jumps.
    		reAssemble := false
    		for i := range s.R[nrelocs0:] {
    			s.R[nrelocs0+i] = obj.Reloc{}
    		}
    		s.R = s.R[:nrelocs0] // preserve marker relocations generated by the compiler
    		s.P = s.P[:0]
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 15 15:44:14 UTC 2024
    - 146.9K 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. src/cmd/internal/goobj/objfile_test.go

    		t.Errorf("read Sym2 mismatch: got %v %v %v %v %v", s2.ABI(), s2.Type(), s2.Flag(), s2.Siz(), s2.Align())
    	}
    
    	b = b[SymSize:]
    	var r2 Reloc
    	r2.fromBytes(b)
    	if r2.Off() != 12 || r2.Siz() != 4 || r2.Type() != uint16(objabi.R_ADDR) || r2.Add() != 54321 || r2.Sym() != (SymRef{11, 22}) {
    		t.Errorf("read Reloc2 mismatch: got %v %v %v %v %v", r2.Off(), r2.Siz(), r2.Type(), r2.Add(), r2.Sym())
    	}
    
    	b = b[RelocSize:]
    	var a2 Aux
    	a2.fromBytes(b)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Nov 15 20:22:12 UTC 2022
    - 3K bytes
    - Viewed (0)
  10. 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)
Back to top