Search Options

Results per page
Sort
Preferred Languages
Advance

Results 31 - 40 of 67 for isExternal (0.25 sec)

  1. src/cmd/link/internal/loong64/asm.go

    	return false
    }
    
    func archreloc(target *ld.Target, ldr *loader.Loader, syms *ld.ArchSyms, r loader.Reloc, s loader.Sym, val int64) (o int64, nExtReloc int, ok bool) {
    	rs := r.Sym()
    	if target.IsExternal() {
    		switch r.Type() {
    		default:
    			return val, 0, false
    		case objabi.R_LOONG64_ADDR_HI,
    			objabi.R_LOONG64_ADDR_LO:
    			// set up addend for eventual relocation via outer symbol.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Feb 27 17:26:07 UTC 2024
    - 7.5K bytes
    - Viewed (0)
  2. pkg/test/framework/components/echo/config.go

    func (c Config) DeepCopy() Config {
    	newc := c
    	newc.Cluster = nil
    	newc = copyInternal(newc).(Config)
    	newc.Cluster = c.Cluster
    	newc.Namespace = c.Namespace
    	return newc
    }
    
    func (c Config) IsExternal() bool {
    	return c.HostHeader() != c.ClusterLocalFQDN()
    }
    
    const (
    	defaultService   = "echo"
    	defaultVersion   = "v1"
    	defaultNamespace = "echo"
    	defaultDomain    = constants.DefaultClusterLocalDomain
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu May 09 12:26:52 UTC 2024
    - 18.2K bytes
    - Viewed (0)
  3. src/cmd/link/internal/arm64/asm.go

    	r = relocs.At(rIdx)
    
    	switch r.Type() {
    	case objabi.R_CALLARM64:
    		if targType != sym.SDYNIMPORT {
    			// nothing to do, the relocation will be laid out in reloc
    			return true
    		}
    		if target.IsExternal() {
    			// External linker will do this relocation.
    			return true
    		}
    		// Internal linking.
    		if r.Add() != 0 {
    			ldr.Errorf(s, "PLT call with non-zero addend (%v)", r.Add())
    		}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Jan 30 20:09:45 UTC 2024
    - 47K bytes
    - Viewed (0)
  4. src/cmd/link/internal/ppc64/asm.go

    	}
    	switch r.Type() {
    	case objabi.R_CALLPOWER:
    
    		// If branch offset is too far then create a trampoline.
    
    		if (ctxt.IsExternal() && ldr.SymSect(s) != ldr.SymSect(rs)) || (ctxt.IsInternal() && int64(int32(t<<6)>>6) != t) || ldr.SymValue(rs) == 0 || (*ld.FlagDebugTramp > 1 && ldr.SymPkg(s) != ldr.SymPkg(rs)) {
    			var tramp loader.Sym
    			for i := 0; ; i++ {
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Mar 19 20:54:08 UTC 2024
    - 63.7K bytes
    - Viewed (0)
  5. src/cmd/link/internal/ld/macho.go

    		sb = ctxt.loader.MakeSymbolUpdater(s)
    		sb.SetType(sym.SMACHOINDIRECTGOT)
    		sb.SetReachable(true)
    	}
    
    	// Add a dummy symbol that will become the __asm marker section.
    	if ctxt.IsExternal() {
    		s = ctxt.loader.LookupOrCreateSym(".llvmasm", 0)
    		sb = ctxt.loader.MakeSymbolUpdater(s)
    		sb.SetType(sym.SMACHO)
    		sb.SetReachable(true)
    		sb.AddUint8(0)
    	}
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon May 20 15:32:53 UTC 2024
    - 43.9K bytes
    - Viewed (0)
  6. src/cmd/link/internal/riscv64/asm.go

    	r = relocs.At(rIdx)
    
    	switch r.Type() {
    	case objabi.R_RISCV_CALL:
    		if targType != sym.SDYNIMPORT {
    			// nothing to do, the relocation will be laid out in reloc
    			return true
    		}
    		if target.IsExternal() {
    			// External linker will do this relocation.
    			return true
    		}
    		// Internal linking.
    		if r.Add() != 0 {
    			ldr.Errorf(s, "PLT reference with non-zero addend (%v)", r.Add())
    		}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Mar 01 08:06:08 UTC 2024
    - 22.8K bytes
    - Viewed (0)
  7. src/cmd/link/internal/x86/asm.go

    	}
    
    	// Reread the reloc to incorporate any changes in type above.
    	relocs := ldr.Relocs(s)
    	r = relocs.At(rIdx)
    
    	switch r.Type() {
    	case objabi.R_CALL,
    		objabi.R_PCREL:
    		if target.IsExternal() {
    			// External linker will do this relocation.
    			return true
    		}
    		addpltsym(target, ldr, syms, targ)
    		su := ldr.MakeSymbolUpdater(s)
    		su.SetRelocSym(rIdx, syms.PLT)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Aug 23 05:58:20 UTC 2023
    - 13.6K bytes
    - Viewed (0)
  8. src/cmd/link/internal/loader/symbolbuilder.go

    // the lookup tables and caches point to the new version, not the old
    // version.
    func (l *Loader) MakeSymbolUpdater(symIdx Sym) *SymbolBuilder {
    	if symIdx == 0 {
    		panic("can't update the null symbol")
    	}
    	if !l.IsExternal(symIdx) {
    		// Create a clone with the same name/version/kind etc.
    		l.cloneToExternal(symIdx)
    	}
    
    	// Construct updater and return.
    	sb := &SymbolBuilder{l: l, symIdx: symIdx}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Nov 08 15:25:19 UTC 2023
    - 13.9K bytes
    - Viewed (0)
  9. src/cmd/link/internal/amd64/asm.go

    	r = relocs.At(rIdx)
    
    	switch r.Type() {
    	case objabi.R_CALL:
    		if targType != sym.SDYNIMPORT {
    			// nothing to do, the relocation will be laid out in reloc
    			return true
    		}
    		if target.IsExternal() {
    			// External linker will do this relocation.
    			return true
    		}
    		// Internal linking, for both ELF and Mach-O.
    		// Build a PLT entry and change the relocation target to that entry.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Aug 23 05:58:20 UTC 2023
    - 21K bytes
    - Viewed (0)
  10. tensorflow/compiler/mlir/tfr/passes/raise_to_tf.cc

      // external func ops have the trailing underscore.
      std::string external_callee_name = call_op.getCallee().str().append("_");
      TFRFuncOp func = symbol_table_.lookup<TFRFuncOp>(external_callee_name);
      if (!func || !func.isExternal()) return failure();
      // Get the inputs and attributes. The attributes include these from the
      // argument list and also these derived from the inputs.
      SmallVector<Value, 4> inputs;
      NamedAttrList argument_attrs;
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 25 16:01:03 UTC 2024
    - 21.8K bytes
    - Viewed (0)
Back to top