Search Options

Results per page
Sort
Preferred Languages
Advance

Results 41 - 50 of 212 for reloc (0.14 sec)

  1. src/cmd/link/internal/loadxcoff/ldxcoff.go

    			var rSize uint8
    			var rType objabi.RelocType
    			var rAdd int64
    			switch rx.Type {
    			default:
    				return errorf("section %s: unknown relocation of type 0x%x", sect.Name, rx.Type)
    			case xcoff.R_POS:
    				// Reloc the address of r.Sym
    				// Length should be 64
    				if rx.Length != 64 {
    					return errorf("section %s: relocation R_POS has length different from 64: %d", sect.Name, rx.Length)
    				}
    				rSize = 8
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Dec 14 17:22:18 UTC 2023
    - 6.2K bytes
    - Viewed (0)
  2. src/internal/xcoff/xcoff.go

    	Rsymndx uint32 // Index into symbol table
    	Rsize   uint8  // Sign and reloc bit len
    	Rtype   uint8  // Toc relocation type
    }
    
    type Reloc64 struct {
    	Rvaddr  uint64 // (virtual) address of reference
    	Rsymndx uint32 // Index into symbol table
    	Rsize   uint8  // Sign and reloc bit len
    	Rtype   uint8  // Toc relocation type
    }
    
    const (
    	R_POS = 0x00 // A(sym) Positive Relocation
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Feb 08 20:36:37 UTC 2023
    - 11.8K bytes
    - Viewed (0)
  3. src/cmd/link/internal/ld/asmb.go

    		asmbPlan9Sym(ctxt)
    	}
    	ctxt.Out.SeekSet(0)
    	writePlan9Header(ctxt.Out, thearch.Plan9Magic, Entryvalue(ctxt), thearch.Plan9_64Bit)
    }
    
    // sizeExtRelocs precomputes the size needed for the reloc records,
    // sets the size and offset for relocation records in each section,
    // and mmap the output buffer with the proper size.
    func sizeExtRelocs(ctxt *Link, relsize uint32) {
    	if relsize == 0 {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue May 02 09:22:56 UTC 2023
    - 5.4K bytes
    - Viewed (0)
  4. src/cmd/link/internal/ld/xcoff.go

    			relocs := ldr.Relocs(s)
    			sorted := make([]int, relocs.Count())
    			for i := 0; i < relocs.Count(); i++ {
    				sorted[i] = i
    			}
    			sort.Slice(sorted, func(i, j int) bool {
    				return relocs.At(sorted[i]).Off() < relocs.At(sorted[j]).Off()
    			})
    
    			for _, ri := range sorted {
    				r := relocs.At(ri)
    				rr, ok := extreloc(ctxt, ldr, s, r)
    				if !ok {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Dec 01 19:58:23 UTC 2023
    - 51.8K bytes
    - Viewed (0)
  5. src/cmd/link/internal/ld/deadcode.go

    // to mapinit symbols that are no longer reachable. It rewrites
    // the relocs to target a new no-op routine in the runtime.
    func (d *deadcodePass) mapinitcleanup() {
    	for _, idx := range d.pkginits {
    		relocs := d.ldr.Relocs(idx)
    		var su *loader.SymbolBuilder
    		for i := 0; i < relocs.Count(); i++ {
    			r := relocs.At(i)
    			rs := r.Sym()
    			if r.Weak() && r.Type().IsDirectCall() && !d.ldr.AttrReachable(rs) {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Jun 07 14:52:41 UTC 2024
    - 19K bytes
    - Viewed (0)
  6. src/cmd/link/internal/ld/dwarf.go

    				if d.ldr.IsDict(idx) {
    					// This is a dictionary, make sure that all types referenced by this dictionary are reachable
    					relocs := d.ldr.Relocs(idx)
    					for i := 0; i < relocs.Count(); i++ {
    						reloc := relocs.At(i)
    						if reloc.Type() == objabi.R_USEIFACE {
    							d.defgotype(reloc.Sym())
    						}
    					}
    				}
    			}
    			continue
    		}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Apr 02 16:25:18 UTC 2024
    - 72.4K bytes
    - Viewed (0)
  7. src/cmd/link/internal/ld/data.go

    func (st *relocSymState) relocsym(s loader.Sym, P []byte) {
    	ldr := st.ldr
    	relocs := ldr.Relocs(s)
    	if relocs.Count() == 0 {
    		return
    	}
    	target := st.target
    	syms := st.syms
    	nExtReloc := 0 // number of external relocations
    	for ri := 0; ri < relocs.Count(); ri++ {
    		r := relocs.At(ri)
    		off := r.Off()
    		siz := int32(r.Siz())
    		rs := r.Sym()
    		rt := r.Type()
    		weak := r.Weak()
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Jun 12 15:10:50 UTC 2024
    - 100.5K bytes
    - Viewed (0)
  8. src/cmd/internal/objfile/disasm.go

    		i := pc - d.textStart
    		text, size := d.disasm(code[i:], pc, lookup, d.byteOrder, gnuAsm)
    		file, line, _ := d.pcln.PCToLine(pc)
    		sep := "\t"
    		for len(relocs) > 0 && relocs[0].Addr < i+uint64(size) {
    			text += sep + relocs[0].Stringer.String(pc-start)
    			sep = " "
    			relocs = relocs[1:]
    		}
    		f(pc, uint64(size), file, line, text)
    		pc += uint64(size)
    	}
    }
    
    type lookupFunc = func(addr uint64) (sym string, base uint64)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Sep 20 02:13:02 UTC 2022
    - 10.5K bytes
    - Viewed (0)
  9. src/cmd/internal/obj/x86/asm6.go

    	var rel obj.Reloc
    
    	v := vaddr(ctxt, p, a, &rel)
    	if rel.Siz != 0 {
    		if rel.Siz != 4 {
    			ctxt.Diag("bad reloc")
    		}
    		r := obj.Addrel(cursym)
    		*r = rel
    		r.Off = int32(p.Pc + int64(ab.Len()))
    	}
    
    	ab.PutInt32(int32(v))
    }
    
    func vaddr(ctxt *obj.Link, p *obj.Prog, a *obj.Addr, r *obj.Reloc) int64 {
    	if r != nil {
    		*r = obj.Reloc{}
    	}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 15 15:44:14 UTC 2024
    - 146.9K bytes
    - Viewed (0)
  10. maven-core/src/test/java/org/apache/maven/project/PomConstructionTest.java

            assertEquals("reloc-gid", pom.getValue("distributionManagement/relocation/groupId"));
            assertEquals("reloc-aid", pom.getValue("distributionManagement/relocation/artifactId"));
            assertEquals("reloc-version", pom.getValue("distributionManagement/relocation/version"));
            assertEquals("project-reloc-msg", pom.getValue("distributionManagement/relocation/message"));
    
    Registered: Wed Jun 12 09:55:16 UTC 2024
    - Last Modified: Fri Apr 12 10:50:18 UTC 2024
    - 93.2K bytes
    - Viewed (0)
Back to top