Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 30 for Reloc (0.04 sec)

  1. src/cmd/link/internal/ld/macho.go

    				continue
    			}
    			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))
    			}
    			if !thearch.Machoreloc1(ctxt.Arch, out, ldr, s, rr, int64(uint64(ldr.SymValue(s)+int64(r.Off()))-sect.Vaddr)) {
    				ldr.Errorf(s, "unsupported obj reloc %d (%s)/%d to %s", r.Type(), sym.RelocName(ctxt.Arch, r.Type()), r.Siz(), ldr.SymName(r.Sym()))
    			}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon May 20 15:32:53 UTC 2024
    - 43.9K bytes
    - Viewed (0)
  2. src/cmd/compile/internal/ssagen/pgen.go

    			continue
    		}
    		if _, ok := globalMapInitLsyms[tgt]; !ok {
    			continue
    		}
    		if base.Debug.WrapGlobalMapDbg > 1 {
    			fmt.Fprintf(os.Stderr, "=-= weakify fn %v reloc %d %+v\n", fn, i,
    				fn.LSym.R[i])
    		}
    		// set the R_WEAK bit, leave rest of reloc type intact
    		fn.LSym.R[i].Type |= objabi.R_WEAK
    	}
    }
    
    // StackOffset returns the stack location of a LocalSlot relative to the
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 15 15:44:14 UTC 2024
    - 13.1K bytes
    - Viewed (0)
  3. src/cmd/link/internal/ld/dwarf.go

    					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
    		}
    		// Skip file local symbols (this includes static tmps, stack
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Apr 02 16:25:18 UTC 2024
    - 72.4K bytes
    - Viewed (0)
  4. 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)
  5. 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)
  6. 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)
  7. 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)
  8. 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)
  9. 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)
  10. 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)
Back to top