Search Options

Results per page
Sort
Preferred Languages
Advance

Results 41 - 50 of 69 for Reloc (0.12 sec)

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

    					continue
    				}
    				if ldr.SymDynid(rr.Xsym) < 0 {
    					ctxt.Errorf(s, "reloc %d to non-coff symbol %s (outer=%s) %d", r.Type(), ldr.SymName(r.Sym()), ldr.SymName(rr.Xsym), ldr.SymType(r.Sym()))
    				}
    				if !thearch.PEreloc1(ctxt.Arch, ctxt.Out, ldr, s, rr, int64(uint64(ldr.SymValue(s)+int64(r.Off()))-base)) {
    					ctxt.Errorf(s, "unsupported obj reloc %v/%d to %s", r.Type(), r.Siz(), ldr.SymName(r.Sym()))
    				}
    			}
    		}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Nov 09 19:01:27 UTC 2023
    - 48.8K bytes
    - Viewed (0)
  4. src/cmd/link/internal/ld/xcoff.go

    	}
    
    	hdr.Lnsyms = int32(len(symtab))
    	hdr.Lrldoff = hdr.Lsymoff + uint64(24*hdr.Lnsyms) // 24 = sizeof one symbol
    	off := hdr.Lrldoff                                // current offset is the same of reloc offset
    
    	/* Reloc */
    	// Ensure deterministic order
    	sort.Slice(f.loaderReloc, func(i, j int) bool {
    		r1, r2 := f.loaderReloc[i], f.loaderReloc[j]
    		if r1.sym != r2.sym {
    			return r1.sym < r2.sym
    		}
    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/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)
  6. 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)
  7. 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)
  8. 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)
  9. 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)
  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