- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 21 for isExternal (0.17 sec)
-
src/cmd/link/internal/mips64/asm.go
// This is used to populate the DT_MIPS_GOTSYM entry in the .dynamic // section. gotSymIndex uint64 ) func gentext(ctxt *ld.Link, ldr *loader.Loader) { if *ld.FlagD || ctxt.Target.IsExternal() { return } dynamic := ldr.MakeSymbolUpdater(ctxt.ArchSyms.Dynamic) ld.Elfwritedynent(ctxt.Arch, dynamic, elf.DT_MIPS_RLD_VERSION, 1) ld.Elfwritedynent(ctxt.Arch, dynamic, elf.DT_MIPS_BASE_ADDRESS, 0)
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed Aug 23 05:58:20 UTC 2023 - 11K bytes - Viewed (0) -
src/cmd/link/internal/arm/asm.go
return true } // Reread the reloc to incorporate any changes in type above. relocs := ldr.Relocs(s) r = relocs.At(rIdx) switch r.Type() { case objabi.R_CALLARM: 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 - 22.9K bytes - Viewed (0) -
tensorflow/compiler/mlir/tfr/passes/decompose.cc
// Find out the compose function auto compose_func_name = GetComposeFuncName(op->getName().getStringRef()); auto compose_func = table.lookup<TFRFuncOp>(compose_func_name); if (!compose_func || compose_func.isExternal()) { // There are no decomposition methods defined for this op, skip. return WalkResult::advance(); } // Make sure all the attributes are valid. An attribute is valid when it is
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Thu Apr 25 16:01:03 UTC 2024 - 14.6K bytes - Viewed (0) -
src/cmd/link/internal/ld/symtab.go
// mark all Go symbols local (not global) in the final executable. // But when we're dynamically linking, we need all those global symbols. if !ctxt.DynlinkingGo() && ctxt.IsExternal() && !ldr.AttrCgoExportStatic(x) && elfshnum != elf.SHN_UNDEF { bind = elf.STB_LOCAL } if ctxt.LinkMode == LinkExternal && elfshnum != elf.SHN_UNDEF { addr -= int64(xosect.Vaddr) }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed Sep 13 16:29:40 UTC 2023 - 29.2K bytes - Viewed (0) -
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) -
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) -
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) -
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) -
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) -
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)