Search Options

Results per page
Sort
Preferred Languages
Advance

Results 51 - 60 of 73 for NReloc (0.3 sec)

  1. 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)
  2. src/cmd/link/internal/ld/data.go

    // linking is in effect, it may not be  possible to completely resolve
    // the address/offset for a symbol, in which case the goal is to lay
    // the groundwork for turning a given relocation into an external reloc
    // (to be applied by the external linker). For more on how relocations
    // work in general, see
    //
    //	"Linkers and Loaders", by John R. Levine (Morgan Kaufmann, 1999), ch. 7
    //
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Jun 12 15:10:50 UTC 2024
    - 100.5K bytes
    - Viewed (1)
  3. src/cmd/link/internal/ld/deadcode.go

    				// plugin. See #62430 for more details.
    				if d.ctxt.canUsePlugins && r.Type().IsDirectCall() {
    					convertWeakToStrong = true
    				}
    				if !convertWeakToStrong {
    					// skip this reloc
    					continue
    				}
    			}
    			t := r.Type()
    			switch t {
    			case objabi.R_METHODOFF:
    				if i+2 >= relocs.Count() {
    					panic("expect three consecutive R_METHODOFF relocs")
    				}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Jun 07 14:52:41 UTC 2024
    - 19K bytes
    - Viewed (0)
  4. src/cmd/internal/objfile/disasm.go

    		})
    		tw.Flush()
    	}
    	bw.Flush()
    }
    
    // Decode disassembles the text segment range [start, end), calling f for each instruction.
    func (d *Disasm) Decode(start, end uint64, relocs []Reloc, gnuAsm bool, f func(pc, size uint64, file string, line int, text string)) {
    	if start < d.textStart {
    		start = d.textStart
    	}
    	if end > d.textEnd {
    		end = d.textEnd
    	}
    	code := d.text[:end-d.textStart]
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Sep 20 02:13:02 UTC 2022
    - 10.5K bytes
    - Viewed (0)
  5. 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)
  6. 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)
  7. 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)
  8. src/cmd/link/internal/wasm/asm.go

    				case objabi.R_CALL:
    					writeSleb128(wfn, int64(len(hostImports))+ldr.SymValue(rs)>>16-funcValueOffset)
    				case objabi.R_WASMIMPORT:
    					writeSleb128(wfn, hostImportMap[rs])
    				default:
    					ldr.Errorf(fn, "bad reloc type %d (%s)", r.Type(), sym.RelocName(ctxt.Arch, r.Type()))
    					continue
    				}
    			}
    			wfn.Write(P[off:])
    		}
    
    		typ := uint32(0)
    		if sig, ok := wasmFuncTypes[ldr.SymName(fn)]; ok {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Jan 22 16:17:48 UTC 2024
    - 21.9K bytes
    - Viewed (0)
  9. src/cmd/link/internal/ld/elf.go

    			}
    			esr := ElfSymForReloc(ctxt, rr.Xsym)
    			if esr == 0 {
    				ldr.Errorf(s, "reloc %d (%s) to non-elf symbol %s (outer=%s) %d (%s)", r.Type(), sym.RelocName(ctxt.Arch, r.Type()), ldr.SymName(r.Sym()), ldr.SymName(rr.Xsym), ldr.SymType(r.Sym()), ldr.SymType(r.Sym()).String())
    			}
    			if !ldr.AttrReachable(rr.Xsym) {
    				ldr.Errorf(s, "unreachable reloc %d (%s) target %v", r.Type(), sym.RelocName(ctxt.Arch, r.Type()), ldr.SymName(rr.Xsym))
    			}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Apr 22 13:29:54 UTC 2024
    - 63.6K bytes
    - Viewed (0)
  10. src/cmd/link/internal/ld/lib.go

    	// are padded with zeros.
    	CodePad []byte
    
    	// Plan 9 variables.
    	Plan9Magic  uint32
    	Plan9_64Bit bool
    
    	Adddynrel func(*Target, *loader.Loader, *ArchSyms, loader.Sym, loader.Reloc, int) bool
    	Archinit  func(*Link)
    	// Archreloc is an arch-specific hook that assists in relocation processing
    	// (invoked by 'relocsym'); it handles target-specific relocation tasks.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue May 21 18:45:27 UTC 2024
    - 88.6K bytes
    - Viewed (0)
Back to top